/* ============================================================
   MYTHOPOEIC — Worn Mythology: Allegory on the body
   ============================================================ */

:root {
  /* Palette — Deep Night (default) */
  --bg: #0e0b08;
  --bg-soft: #17120d;
  --bg-card: #1b140e;
  --ink: #ece3d2;         /* warm cream */
  --ink-soft: #b9ad97;
  --ink-dim: #85785f;
  --rule: #2a2118;
  --bronze: #b88449;      /* warm bronze */
  --bronze-light: #d9aa70;
  --teal: #4a7e86;        /* oxidized teal-blue accent */
  --teal-deep: #2f575c;

  --serif: "Cormorant Garamond", "EB Garamond", Garamond, "Times New Roman", serif;
  --sans: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --maxw: 1440px;
  --gutter: clamp(20px, 4vw, 64px);
}

/* Palette — Bone & Ink */
[data-palette="bone"] {
  --bg: #efe8db;
  --bg-soft: #e5dbc7;
  --bg-card: #dcd0b8;
  --ink: #1a140c;
  --ink-soft: #554a39;
  --ink-dim: #8a7d65;
  --rule: #cdbfa4;
  --bronze: #8a5a2a;
  --bronze-light: #b88449;
  --teal: #2f575c;
  --teal-deep: #1e3a3f;
}

/* Palette — Desert */
[data-palette="desert"] {
  --bg: #2a1f15;
  --bg-soft: #362819;
  --bg-card: #3e2e1d;
  --ink: #f3e6cc;
  --ink-soft: #c9b391;
  --ink-dim: #8a745a;
  --rule: #4a3723;
  --bronze: #d08f48;
  --bronze-light: #e9b57c;
  --teal: #6b8a7a;
  --teal-deep: #3e584c;
}

* { box-sizing: border-box; }
html, body {
  margin: 0; padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body { overflow-x: hidden; }

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* -------- Type scale -------- */
.display {
  font-family: var(--serif);
  font-weight: 300;
  line-height: 1.02;
  letter-spacing: -0.005em;
}
.display em { font-style: italic; }
.italic { font-style: italic; }
.eyebrow {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 400;
}
h1,h2,h3,h4 { margin: 0; font-weight: 300; }
p { margin: 0; line-height: 1.65; color: var(--ink-soft); }

/* -------- Container -------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 var(--gutter); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 22px var(--gutter);
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 32px;
  transition: background .4s ease, backdrop-filter .4s ease;
}
.nav.scrolled {
  background: color-mix(in oklab, var(--bg) 88%, transparent);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rule);
}
.nav-left, .nav-right {
  display: flex;
  gap: 36px;
  align-items: center;
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
}
.nav-right { justify-content: flex-end; }
.nav a { transition: color .2s ease; position: relative; }
.nav a:hover { color: var(--bronze-light); }
.nav-brand {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 400;
}
.nav-brand .dot {
  display: inline-block;
  width: 5px; height: 5px;
  background: var(--bronze);
  border-radius: 50%;
  margin: 0 10px 4px;
  vertical-align: middle;
}
.nav-icon {
  width: 14px; height: 14px;
  stroke: currentColor; fill: none; stroke-width: 1.2;
  display: inline-block; vertical-align: middle;
  margin-right: 8px;
}
.nav-cart-count {
  display: inline-block;
  font-size: 10px;
  opacity: .6;
  margin-left: 4px;
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 720px;
  overflow: hidden;
  color: var(--ink);
}
.hero-media {
  position: absolute; inset: 0;
  z-index: 0;
}
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover;
  object-position: center;
}
.hero-media::after {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(1200px 600px at 20% 80%, rgba(0,0,0,.55), transparent 70%),
    linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.15) 40%, rgba(0,0,0,.75) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  height: 100%;
  display: flex;
  align-items: center;
  padding-bottom: 120px;
}
.hero[data-layout="lower-left"] .hero-inner {
  align-items: flex-start;
  padding-top: 22vh;
}
.hero-inner .wrap { width: 100%; }
.hero-eyebrow {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  color: var(--ink-soft);
}
.hero-eyebrow::before {
  content: ""; width: 48px; height: 1px; background: var(--bronze);
}
.hero-title {
  font-size: clamp(48px, 7.4vw, 116px);
  max-width: 14ch;
  color: var(--ink);
  margin-bottom: 28px;
  text-shadow: 0 2px 40px rgba(0,0,0,.4);
  font-weight: 400;
}
.hero-title .line { display: block; }
.hero-sub {
  max-width: 44ch;
  font-size: 16px;
  color: var(--ink-soft);
  margin-bottom: 44px;
  font-style: italic;
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.4;
}
.hero-ctas {
  display: flex; gap: 18px; flex-wrap: wrap;
  align-items: center;
}

/* Hero alt layout (centered) */
.hero[data-layout="centered"] .hero-inner {
  align-items: center;
  text-align: center;
  padding-bottom: 0;
}
.hero[data-layout="centered"] .hero-title {
  margin-left: auto; margin-right: auto;
}
.hero[data-layout="centered"] .hero-title .line-2 { padding-left: 0; }
.hero[data-layout="centered"] .hero-sub { margin-left: auto; margin-right: auto; }
.hero[data-layout="centered"] .hero-eyebrow { justify-content: center; }
.hero[data-layout="centered"] .hero-eyebrow::before { display: none; }
.hero[data-layout="centered"] .hero-ctas { justify-content: center; }

/* Hero alt layout (split) */
.hero[data-layout="split"] .hero-inner {
  align-items: center;
  padding-bottom: 0;
}
.hero[data-layout="split"] .hero-inner .wrap {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero[data-layout="split"] .hero-media::after {
  background: linear-gradient(90deg, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 60%, rgba(0,0,0,.3) 100%);
}
.hero[data-layout="split"] .hero-title {
  font-size: clamp(48px, 6.5vw, 104px);
}
.hero[data-layout="split"] .hero-side {
  display: block;
}
.hero:not([data-layout="split"]) .hero-side { display: none; }
.hero-side-card {
  background: color-mix(in oklab, var(--bg-card) 70%, transparent);
  border: 1px solid var(--rule);
  padding: 40px;
  backdrop-filter: blur(10px);
}
.hero-side-card .eyebrow { margin-bottom: 14px; }
.hero-side-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 36px;
  margin-bottom: 12px;
  color: var(--ink);
}

/* Collections strip inside the hero */
.hero-collections {
  position: absolute;
  left: 0; right: 0; bottom: 60px;
  z-index: 3;
  padding: 0 var(--gutter);
}
.hero-collections-label {
  text-align: center;
  margin-bottom: 22px;
  color: rgba(255,255,255,.78);
  font-size: 10px;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}
.hero-collections-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
}
.hero-col-card {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(255,255,255,.08);
}
.hero-col-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
  filter: brightness(.82) saturate(.95);
}
.hero-col-card:hover img { transform: scale(1.05); filter: brightness(.95) saturate(1);}
.hero-col-card .bg {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,.85));
  pointer-events: none;
}
.hero-col-card .meta {
  position: absolute;
  left: 0; right: 0; bottom: 14px;
  text-align: center;
  color: #fff;
}
.hero-col-card .name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 400;
  margin-bottom: 4px;
}
.hero-col-card .words {
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(255,255,255,.75);
}
.hero-collections-all {
  text-align: center;
  margin-top: 20px;
}
.hero-collections-all a {
  color: rgba(255,255,255,.85);
  font-size: 10px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(255,255,255,.3);
  padding-bottom: 4px;
}
.hero-collections-all a:hover { color: var(--bronze-light); border-bottom-color: var(--bronze); }

/* Marquee under hero */
.hero-marquee {
  position: absolute; bottom: 0; left: 0; right: 0;
  z-index: 3;
  border-top: 1px solid color-mix(in oklab, var(--ink-soft) 20%, transparent);
  border-bottom: 1px solid color-mix(in oklab, var(--ink-soft) 20%, transparent);
  padding: 14px 0;
  overflow: hidden;
  background: color-mix(in oklab, var(--bg) 55%, transparent);
  backdrop-filter: blur(6px);
  font-size: 11px;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
.hero-marquee-track {
  display: flex; gap: 60px;
  animation: marquee 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.hero-marquee-track span { display: inline-flex; align-items: center; gap: 60px; }
.hero-marquee-track .sep { color: var(--bronze); }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 28px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--ink-soft);
  background: transparent;
  cursor: pointer;
  transition: all .3s ease;
  font-weight: 400;
}
.btn:hover {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}
.btn--primary {
  background: var(--bronze);
  border-color: var(--bronze);
  color: #1a120a;
}
.btn--primary:hover {
  background: var(--bronze-light);
  border-color: var(--bronze-light);
  color: #1a120a;
}
.btn--ghost {
  border-color: transparent;
  padding-left: 0; padding-right: 0;
  border-bottom: 1px solid var(--ink-soft);
  padding-bottom: 10px; padding-top: 10px;
}
.btn--ghost:hover {
  background: transparent;
  color: var(--bronze-light);
  border-color: var(--bronze-light);
}
.btn-arrow {
  width: 22px; height: 8px;
  position: relative;
  transition: transform .3s ease;
}
.btn-arrow::before {
  content: "";
  position: absolute; left: 0; top: 50%;
  width: 100%; height: 1px;
  background: currentColor;
}
.btn-arrow::after {
  content: "";
  position: absolute; right: 0; top: 50%;
  width: 6px; height: 6px;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section {
  padding: clamp(80px, 12vh, 160px) 0;
  position: relative;
}
.section--soft { background: var(--bg-soft); }
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 72px;
  flex-wrap: wrap;
}
.section-head h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  max-width: 18ch;
  line-height: 1.05;
}
.section-head .eyebrow { margin-bottom: 18px; display: block; }
.section-head p { max-width: 40ch; }

/* ============================================================
   COLLECTIONS GRID (home)
   ============================================================ */
.collections {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.collection-card {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg-card);
  border: 1px solid var(--rule);
}
.collection-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), filter .6s ease;
  filter: brightness(.75) saturate(.9);
}
.collection-card:hover img {
  transform: scale(1.06);
  filter: brightness(.95) saturate(1);
}
.collection-card-content {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 28px;
  background: linear-gradient(180deg, transparent 30%, rgba(0,0,0,.75) 100%);
  color: #fff;
}
.collection-card-name {
  font-family: var(--serif);
  font-style: italic;
  font-size: 28px;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: 400;
}
.collection-card-words {
  font-size: 10px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255,255,255,.7);
}
.collection-card-index {
  position: absolute;
  top: 20px; left: 20px;
  font-family: var(--mono);
  font-size: 10px;
  color: rgba(255,255,255,.8);
  letter-spacing: 0.2em;
}

/* ============================================================
   SPLIT STORY BLOCK
   ============================================================ */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
  min-height: 640px;
}
.split-media {
  position: relative; overflow: hidden;
  background: var(--bg-card);
}
.split-media img, .split-media video {
  width: 100%; height: 100%; object-fit: cover;
  filter: brightness(.85);
}
.split-body {
  padding: clamp(40px, 7vw, 110px);
  display: flex; flex-direction: column;
  justify-content: center;
  background: var(--bg-soft);
}
.split-body .eyebrow { margin-bottom: 24px; }
.split-body h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 60px);
  margin-bottom: 28px;
  line-height: 1.05;
  color: var(--ink);
}
.split-body p { margin-bottom: 18px; max-width: 48ch; }
.split-body .btn { margin-top: 32px; align-self: flex-start; }

/* ============================================================
   PILLARS (Crafted with Intention)
   ============================================================ */
.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  text-align: center;
}
.pillar-icon {
  width: 48px; height: 48px;
  margin: 0 auto 24px;
  color: var(--bronze);
}
.pillar h4 {
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: 14px;
  font-weight: 500;
}
.pillar p { font-size: 14px; line-height: 1.6; }
.pillars-divider {
  text-align: center;
  margin-bottom: 80px;
}
.pillars-divider .eyebrow {
  display: inline-block;
  padding: 0 24px;
  position: relative;
}
.pillars-divider .eyebrow::before,
.pillars-divider .eyebrow::after {
  content: "";
  position: absolute; top: 50%;
  width: 120px; height: 1px;
  background: var(--rule);
}
.pillars-divider .eyebrow::before { right: 100%; }
.pillars-divider .eyebrow::after { left: 100%; }

/* ============================================================
   FEATURED PIECE
   ============================================================ */
.featured {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: center;
}
.featured-media {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-card);
  position: relative;
}
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-media::before {
  content: "";
  position: absolute; inset: 20px;
  border: 1px solid rgba(255,255,255,.12);
  z-index: 2;
  pointer-events: none;
}
.featured-body .eyebrow { margin-bottom: 20px; display: block; }
.featured-body h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(44px, 5vw, 80px);
  margin-bottom: 28px;
  line-height: 1.02;
}
.featured-body .price {
  font-family: var(--serif);
  font-size: 22px;
  color: var(--bronze-light);
  margin-bottom: 24px;
  letter-spacing: 0.04em;
}
.featured-body p { margin-bottom: 16px; max-width: 46ch; }
.featured-meta {
  display: flex;
  gap: 40px;
  margin: 40px 0;
  padding: 24px 0;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
}
.featured-meta div { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-soft); }
.featured-meta strong { display: block; color: var(--ink); margin-bottom: 6px; letter-spacing: 0.1em; font-weight: 400; font-family: var(--serif); font-style: italic; font-size: 18px; text-transform: none; }

/* ============================================================
   JOURNAL
   ============================================================ */
.journal {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
.journal-card { cursor: pointer; }
.journal-card .img {
  aspect-ratio: 4/3;
  overflow: hidden;
  margin-bottom: 20px;
  background: var(--bg-card);
}
.journal-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1);
}
.journal-card:hover img { transform: scale(1.05); }
.journal-card .kicker {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 10px;
}
.journal-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 26px;
  line-height: 1.15;
  margin-bottom: 10px;
  color: var(--ink);
}
.journal-card .read {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft);
  display: inline-block;
  border-bottom: 1px solid var(--rule);
  padding-bottom: 4px;
  margin-top: 8px;
}

/* ============================================================
   NEWSLETTER / CTA
   ============================================================ */
.newsletter {
  background: var(--bg);
  padding: 100px 0;
  text-align: center;
  border-top: 1px solid var(--rule);
  border-bottom: 1px solid var(--rule);
  position: relative;
  overflow: hidden;
}
.newsletter::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(800px 400px at 50% 50%, color-mix(in oklab, var(--bronze) 10%, transparent), transparent 70%);
}
.newsletter-inner { position: relative; z-index: 1; max-width: 620px; margin: 0 auto; padding: 0 var(--gutter);}
.newsletter .eyebrow { margin-bottom: 20px; display: block; }
.newsletter h2 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(36px, 4vw, 56px);
  margin-bottom: 20px;
  line-height: 1.1;
}
.newsletter p { margin-bottom: 32px; }
.newsletter-form {
  display: flex; gap: 0;
  max-width: 460px; margin: 0 auto;
  border-bottom: 1px solid var(--ink-soft);
}
.newsletter-form input {
  flex: 1;
  background: transparent; border: 0;
  padding: 16px 0;
  color: var(--ink);
  font-family: var(--sans);
  font-size: 14px;
  outline: none;
}
.newsletter-form input::placeholder { color: var(--ink-dim); }
.newsletter-form button {
  background: transparent; border: 0;
  color: var(--ink); cursor: pointer;
  font-family: var(--sans); font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  padding: 16px 0 16px 16px;
}
.newsletter-form button:hover { color: var(--bronze-light); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  padding: 80px 0 40px;
  border-top: 1px solid var(--rule);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 80px;
}
.footer-brand .mark {
  font-family: var(--serif);
  font-style: italic;
  font-size: 24px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  color: var(--ink);
}
.footer-brand p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 28ch;
}
.footer h5 {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink); margin-bottom: 20px; font-weight: 500;
}
.footer ul { list-style: none; margin: 0; padding: 0; }
.footer li { margin-bottom: 10px; }
.footer a {
  font-size: 13px; color: var(--ink-soft);
  transition: color .2s ease;
}
.footer a:hover { color: var(--bronze-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 32px;
  border-top: 1px solid var(--rule);
  font-size: 11px;
  color: var(--ink-dim);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  flex-wrap: wrap;
  gap: 20px;
}
.footer-bottom a { color: var(--ink-dim); margin-left: 28px; }
.footer-bottom a:hover { color: var(--bronze-light); }
.footer-wink {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px dashed var(--rule);
  display: flex;
  justify-content: center;
  text-align: center;
}
.footer-wink small {
  font-family: var(--serif);
  font-style: italic;
  font-size: 13px;
  color: var(--ink-dim);
  max-width: 58ch;
  letter-spacing: 0.02em;
  line-height: 1.6;
}
.footer-wink small a {
  color: var(--bronze-light);
  border-bottom: 1px solid var(--bronze);
  padding-bottom: 2px;
  margin-left: 4px;
}

/* ============================================================
   COLLECTION / PRODUCT / LOOKBOOK / WORLD PAGE BASICS
   ============================================================ */
.page-header {
  padding: 180px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--rule);
  position: relative;
}
.page-header .eyebrow { display: block; margin-bottom: 24px; }
.page-header h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(56px, 8vw, 120px);
  line-height: 1;
  margin-bottom: 24px;
}
.page-header p {
  font-family: var(--serif);
  font-size: 20px;
  font-style: italic;
  max-width: 48ch;
  margin: 0 auto;
}

/* ----- Collection filter bar ----- */
.filter-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--rule);
  margin-bottom: 64px;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  flex-wrap: wrap;
  gap: 20px;
}
.filter-chips { display: flex; gap: 24px; flex-wrap: wrap; }
.filter-chips button {
  background: transparent; border: 0;
  color: var(--ink-soft); cursor: pointer;
  font: inherit; letter-spacing: inherit; text-transform: inherit;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
  transition: all .2s ease;
}
.filter-chips button:hover { color: var(--ink); }
.filter-chips button.active {
  color: var(--bronze-light);
  border-bottom-color: var(--bronze);
}
.filter-meta { display: flex; gap: 24px; }

/* ----- Product grid ----- */
.products {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 32px;
}
.product-card { cursor: pointer; }
.product-card .img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--bg-card);
  position: relative;
  margin-bottom: 18px;
}
.product-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .9s cubic-bezier(.2,.6,.2,1), opacity .4s ease;
}
.product-card:hover img { transform: scale(1.04); }
.product-card .img::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 70%, rgba(0,0,0,.5));
  opacity: 0; transition: opacity .3s;
}
.product-card:hover .img::after { opacity: 1; }
.product-card .tag {
  position: absolute; top: 16px; left: 16px; z-index: 2;
  font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--ink);
  background: color-mix(in oklab, var(--bg) 80%, transparent);
  padding: 5px 10px;
  border: 1px solid color-mix(in oklab, var(--ink-soft) 40%, transparent);
}
.product-card .col {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bronze-light);
  margin-bottom: 6px;
}
.product-card h3 {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  margin-bottom: 6px;
  color: var(--ink);
}
.product-card .price {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.1em;
  color: var(--ink-soft);
}

/* ----- Product detail ----- */
.pdp {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 64px;
  padding-top: 140px;
}
.pdp-gallery {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 20px;
}
.pdp-thumbs {
  display: flex; flex-direction: column; gap: 12px;
}
.pdp-thumbs button {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  padding: 0;
  aspect-ratio: 1;
  overflow: hidden; cursor: pointer;
  transition: border-color .2s ease;
}
.pdp-thumbs button.active { border-color: var(--bronze); }
.pdp-thumbs button img { width: 100%; height: 100%; object-fit: cover; }
.pdp-main {
  aspect-ratio: 4/5;
  background: var(--bg-card);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--rule);
}
.pdp-main img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
  opacity: 0; transition: opacity .5s ease;
}
.pdp-main img.active { opacity: 1; }
.pdp-info { padding: 20px 0 0; }
.pdp-info .col-line {
  display: flex; align-items: center; gap: 14px;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--bronze-light); margin-bottom: 20px;
}
.pdp-info .col-line::before { content: ""; width: 32px; height: 1px; background: var(--bronze); }
.pdp-info h1 {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.02;
  margin-bottom: 20px;
}
.pdp-info .price-line {
  font-family: var(--serif);
  font-size: 26px;
  color: var(--ink); margin-bottom: 32px;
  display: flex; align-items: center; gap: 14px;
}
.pdp-info .price-line .sym {
  color: var(--bronze-light);
  font-style: italic;
}
.pdp-info .desc {
  font-family: var(--serif);
  font-size: 18px;
  font-style: italic;
  color: var(--ink-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}
.pdp-info .blurb { margin-bottom: 40px; }
.pdp-opts {
  display: grid; gap: 24px;
  margin-bottom: 40px;
}
.pdp-opt .label {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px;
  display: flex; justify-content: space-between;
}
.pdp-opt .label span { color: var(--ink); }
.pdp-swatches { display: flex; gap: 10px; }
.pdp-swatches button {
  width: 40px; height: 40px; border-radius: 50%;
  border: 1px solid var(--rule); cursor: pointer; padding: 2px;
  transition: all .2s;
}
.pdp-swatches button.active { border-color: var(--bronze); box-shadow: 0 0 0 2px var(--bg), 0 0 0 3px var(--bronze); }
.pdp-swatches button i {
  display: block; width: 100%; height: 100%; border-radius: 50%;
}
.pdp-sizes { display: flex; gap: 8px; flex-wrap: wrap; }
.pdp-sizes button {
  min-width: 48px; padding: 12px 14px;
  border: 1px solid var(--rule);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  font-family: var(--mono); font-size: 12px;
  transition: all .2s;
}
.pdp-sizes button:hover { border-color: var(--ink-soft); }
.pdp-sizes button.active { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.pdp-cta { display: flex; gap: 12px; margin-bottom: 40px; }
.pdp-cta .btn--primary { flex: 1; justify-content: center; }
.pdp-cta .heart {
  width: 54px; height: 54px;
  border: 1px solid var(--ink-soft);
  background: transparent; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: var(--ink);
}
.pdp-cta .heart:hover { border-color: var(--bronze); color: var(--bronze-light); }
.accordion { border-top: 1px solid var(--rule); }
.accordion details {
  border-bottom: 1px solid var(--rule);
  padding: 20px 0;
}
.accordion summary {
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 11px; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--ink);
}
.accordion summary::-webkit-details-marker { display: none; }
.accordion summary::after { content: "+"; font-size: 20px; color: var(--ink-soft); transition: transform .3s; }
.accordion details[open] summary::after { content: "−"; }
.accordion .ac-body { padding-top: 20px; font-size: 14px; line-height: 1.7; color: var(--ink-soft); }
.accordion .ac-body p + p { margin-top: 10px; }

/* ----- Lookbook ----- */
.lb-intro { max-width: 760px; margin: 0 auto; text-align: center; padding: 80px var(--gutter); }
.lb-intro p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.lb-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-auto-rows: 140px;
  gap: 16px;
  padding: 0 var(--gutter) 140px;
}
.lb-grid .tile { position: relative; overflow: hidden; background: var(--bg-card); border: 1px solid var(--rule); }
.lb-grid .tile img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.9); transition: filter .5s, transform .9s cubic-bezier(.2,.6,.2,1); }
.lb-grid .tile:hover img { filter: brightness(1.05); transform: scale(1.03); }
.lb-grid .tile-caption {
  position: absolute; bottom: 16px; left: 16px; right: 16px;
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  color: #fff;
  display: flex; justify-content: space-between;
  opacity: 0; transition: opacity .3s;
  text-shadow: 0 1px 6px rgba(0,0,0,.7);
}
.lb-grid .tile:hover .tile-caption { opacity: 1; }
.lb-grid .tile-number {
  position: absolute; top: 16px; left: 16px;
  font-family: var(--mono); font-size: 10px;
  color: rgba(255,255,255,.85); letter-spacing: 0.2em;
}
/* tile spans */
.lb-grid .t-lg { grid-column: span 8; grid-row: span 4; }
.lb-grid .t-md { grid-column: span 4; grid-row: span 3; }
.lb-grid .t-sm { grid-column: span 4; grid-row: span 2; }
.lb-grid .t-tall { grid-column: span 5; grid-row: span 5; }
.lb-grid .t-wide { grid-column: span 7; grid-row: span 3; }
.lb-grid .t-sq { grid-column: span 4; grid-row: span 4; }

/* ----- World / lore ----- */
.world-intro {
  min-height: 70vh;
  display: flex; align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 120px;
}
.world-intro .wrap { position: relative; z-index: 2; max-width: 820px; }
.world-intro .eyebrow { display: block; margin-bottom: 32px; }
.world-intro h1 {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(52px, 7vw, 104px);
  line-height: 1.02;
  margin-bottom: 32px;
}
.world-intro p {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.world-bg {
  position: absolute; inset: 0;
  z-index: 0;
}
.world-bg video, .world-bg img { width: 100%; height: 100%; object-fit: cover; }
.world-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 0%, var(--bg) 90%),
    linear-gradient(180deg, var(--bg) 0%, transparent 30%, transparent 70%, var(--bg) 100%);
}

.chapter {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 0; min-height: 560px;
  border-top: 1px solid var(--rule);
}
.chapter.reverse .chapter-media { order: 2; }
.chapter-media { background: var(--bg-card); overflow: hidden; position: relative; }
.chapter-media img { width: 100%; height: 100%; object-fit: cover; }
.chapter-body {
  padding: clamp(40px, 7vw, 100px);
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg-soft);
}
.chapter-num {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.28em;
  color: var(--bronze-light); margin-bottom: 24px;
}
.chapter-body h2 {
  font-family: var(--serif); font-style: italic;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.02; margin-bottom: 28px;
}
.chapter-body p { margin-bottom: 18px; max-width: 52ch; font-size: 16px;}
.chapter-body blockquote {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  color: var(--ink);
  border-left: 1px solid var(--bronze);
  padding-left: 24px; margin: 30px 0 0;
  line-height: 1.4;
  max-width: 40ch;
}

/* symbols grid */
.symbols {
  padding: 140px 0;
}
.symbols-grid {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 48px;
  margin-top: 72px;
}
.symbol {
  text-align: center;
  padding: 40px 24px;
  border: 1px solid var(--rule);
  background: var(--bg-card);
  transition: border-color .3s;
}
.symbol:hover { border-color: var(--bronze); }
.symbol-glyph {
  font-family: var(--serif);
  font-size: 56px;
  color: var(--bronze-light);
  margin-bottom: 20px;
  font-style: italic;
}
.symbol h4 {
  font-family: var(--serif); font-style: italic;
  font-size: 22px;
  margin-bottom: 10px; color: var(--ink);
}
.symbol p { font-size: 13px; line-height: 1.6; }

/* ============================================================
   TWEAKS PANEL (simple; local)
   ============================================================ */
.tweaks-panel {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 280px;
  background: color-mix(in oklab, var(--bg) 94%, transparent);
  border: 1px solid var(--rule);
  color: var(--ink);
  padding: 18px;
  z-index: 100;
  backdrop-filter: blur(10px);
  font-family: var(--sans);
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
  display: none;
}
.tweaks-panel.open { display: block; }
.tweaks-panel h6 {
  font-size: 10px; letter-spacing: 0.28em; text-transform: uppercase;
  margin: 0 0 14px; color: var(--ink-soft); font-weight: 500;
  display: flex; justify-content: space-between; align-items: center;
}
.tweaks-panel h6 button {
  background: none; border: 0; color: var(--ink-soft); cursor: pointer;
  font-size: 16px; line-height: 1;
}
.tweaks-row { margin-bottom: 16px; }
.tweaks-row label {
  display: block;
  font-size: 10px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 8px;
}
.tweaks-swatches { display: flex; gap: 8px; }
.tweaks-swatches button {
  flex: 1;
  padding: 8px 4px;
  background: transparent;
  border: 1px solid var(--rule);
  color: var(--ink-soft);
  font-size: 9px; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer;
  font-family: var(--sans);
  transition: all .2s;
}
.tweaks-swatches button.active { border-color: var(--bronze); color: var(--bronze-light); }
.tweaks-radio { display: flex; flex-direction: column; gap: 4px; }
.tweaks-radio button {
  text-align: left;
  background: transparent; border: 0;
  color: var(--ink-soft); cursor: pointer;
  padding: 8px 10px;
  font-size: 11px; letter-spacing: 0.1em;
  font-family: var(--sans);
  border-left: 2px solid transparent;
  transition: all .2s;
}
.tweaks-radio button.active {
  color: var(--ink);
  border-left-color: var(--bronze);
  background: color-mix(in oklab, var(--bronze) 10%, transparent);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .collections { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .journal { grid-template-columns: repeat(2, 1fr); }
  .products { grid-template-columns: repeat(2, 1fr); }
  .featured { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .pdp { grid-template-columns: 1fr; padding-top: 120px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .symbols-grid { grid-template-columns: repeat(2, 1fr); }
  .chapter { grid-template-columns: 1fr; }
  .chapter.reverse .chapter-media { order: 0; }
}
@media (max-width: 680px) {
  .collections { grid-template-columns: 1fr; }
  .journal, .products, .pillars { grid-template-columns: 1fr; }
  .nav-left, .nav-right { display: none; }
  .nav { grid-template-columns: 1fr; text-align: center; }
  .pdp-gallery { grid-template-columns: 1fr; }
  .pdp-thumbs { flex-direction: row; }
  .lb-grid .t-lg, .lb-grid .t-md, .lb-grid .t-sm,
  .lb-grid .t-tall, .lb-grid .t-wide, .lb-grid .t-sq {
    grid-column: span 12; grid-row: span 3;
  }
  .footer-grid { grid-template-columns: 1fr; }
  .symbols-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 56px !important; }
  .hero-title .line-2 { padding-left: 0 !important; }
}

/* reveal animation */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 1s ease, transform 1s cubic-bezier(.2,.6,.2,1); }
.reveal.in { opacity: 1; transform: none; }
