/* Eki Ogunbor — site stylesheet
   Layout concept: a fashion-magazine issue. Ivory pages, aubergine type,
   plum "feature spreads" that interrupt the flow, asymmetric image/text pairs,
   and one bold moment: the Four Worlds contents index on the homepage. */

:root {
  --aubergine: #35103D;
  --plum: #210A29;
  --ivory: #F7F3EB;
  --paper: #FFFFFF;
  --ink: #191719;
  --muted: #5E5462;
  --gold: #C8A66A;
  --line: rgba(53, 16, 61, .16);
  --line-dark: rgba(247, 243, 235, .18);
  --error: #A1262F;

  --display: "Cormorant Garamond", "Cormorant", Georgia, "Times New Roman", serif;
  --body: "Jost", "Helvetica Neue", Arial, sans-serif;

  --step-0: 1.0625rem;
  --step-1: 1.3rem;
  --step-2: clamp(1.6rem, 1.2rem + 1.4vw, 2.2rem);
  --step-3: clamp(2.2rem, 1.5rem + 2.6vw, 3.4rem);
  --step-4: clamp(2.8rem, 1.6rem + 4.6vw, 5.4rem);
  --step-5: clamp(3.4rem, 1.8rem + 7vw, 8rem);

  --wrap: 1280px;
  --gutter: max(20px, env(safe-area-inset-left, 0px));
  --gutter-r: max(20px, env(safe-area-inset-right, 0px));
  --section: clamp(4.5rem, 3rem + 6vw, 9rem);
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  font-weight: 350;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; height: auto; }
figure { margin: 0; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -.01em;
  margin: 0;
  text-wrap: balance;
  color: var(--aubergine);
}
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; }
p { margin: 0; text-wrap: pretty; }
:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }

.skip {
  position: absolute; left: -999px; top: 8px; z-index: 100;
  background: var(--aubergine); color: var(--ivory); padding: .6rem 1rem;
}
.skip:focus { left: 8px; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter-r);
}
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.dark { background: var(--plum); color: var(--ivory); }
.dark h1, .dark h2, .dark h3, .dark h4 { color: var(--ivory); }
.dark .muted { color: rgba(247, 243, 235, .72); }
.aub { background: var(--aubergine); color: var(--ivory); }
.aub h1, .aub h2, .aub h3 { color: var(--ivory); }
.paper { background: var(--paper); }

.eyebrow {
  font-family: var(--body);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--aubergine);
  display: inline-flex; align-items: center; gap: .8rem;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: var(--gold); }
.dark .eyebrow, .aub .eyebrow { color: var(--gold); }
.muted { color: var(--muted); }
.lead { font-size: var(--step-1); line-height: 1.6; font-weight: 300; max-width: 38ch; }
.prose { max-width: 66ch; display: grid; gap: 1.25rem; }
.prose p { font-size: var(--step-0); }
.stack { display: grid; gap: 1.5rem; align-content: start; }
.stack-sm { display: grid; gap: .75rem; align-content: start; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 48px; padding: .8rem 1.6rem;
  font-family: var(--body); font-size: .82rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; text-decoration: none;
  border: 1px solid var(--aubergine); background: var(--aubergine); color: var(--ivory);
  cursor: pointer; transition: background .25s, color .25s, border-color .25s;
}
.btn:hover { background: var(--plum); border-color: var(--plum); }
.btn--ghost { background: transparent; color: var(--aubergine); }
.btn--ghost:hover { background: var(--aubergine); color: var(--ivory); }
.dark .btn, .aub .btn { background: var(--ivory); color: var(--aubergine); border-color: var(--ivory); }
.dark .btn:hover, .aub .btn:hover { background: var(--gold); border-color: var(--gold); color: var(--plum); }
.dark .btn--ghost, .aub .btn--ghost { background: transparent; color: var(--ivory); }
.dark .btn--ghost:hover, .aub .btn--ghost:hover { background: var(--ivory); color: var(--aubergine); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; }
.link {
  font-size: .82rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  text-decoration: none; border-bottom: 1px solid var(--gold); padding-bottom: 3px;
  color: var(--aubergine); display: inline-block; justify-self: start;
}
.dark .link, .aub .link { color: var(--ivory); }
.link:hover { color: var(--gold); }

/* Header */
body::before {
  content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px);
  z-index: 60; background: var(--ivory);
}
.site-header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50;
  background: rgba(247, 243, 235, .94);
  backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 78px; }
.brand { display: block; width: 138px; flex: none; }
.brand img { width: 100%; }
.nav { display: flex; align-items: center; gap: 2rem; }
.nav > ul { list-style: none; display: flex; gap: 1.9rem; margin: 0; padding: 0; }
.nav a, .nav button.navlink {
  font-family: var(--body); font-size: .8rem; font-weight: 450; letter-spacing: .15em;
  text-transform: uppercase; text-decoration: none; color: var(--ink);
  background: none; border: 0; padding: .4rem 0; cursor: pointer;
}
.nav a:hover, .nav a[aria-current="page"], .nav .navlink:hover { color: var(--aubergine); }
.nav a[aria-current="page"] { border-bottom: 1px solid var(--gold); }
.has-sub { position: relative; }
.navlink::after { content: " ▾"; font-size: .6rem; color: var(--gold); }
.sub {
  position: absolute; top: 100%; left: -1.2rem; min-width: 210px;
  list-style: none; margin: 0; padding: .8rem 0;
  background: var(--paper); border: 1px solid var(--line);
  opacity: 0; visibility: hidden; transform: translateY(6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}
.has-sub:hover .sub, .has-sub:focus-within .sub, .has-sub.open .sub { opacity: 1; visibility: visible; transform: none; }
.sub a { display: block; padding: .55rem 1.2rem; letter-spacing: .12em; }
.sub a:hover { background: var(--ivory); }
.nav .btn { min-height: 42px; padding: .6rem 1.2rem; color: var(--ivory); background: var(--aubergine); border: 1px solid var(--aubergine); }
.nav .btn:hover { background: var(--plum); color: var(--ivory); }
.nav .guide-link { color: var(--aubergine); font-weight: 500; }
.menu-toggle {
  display: none; background: none; border: 1px solid var(--line); width: 46px; height: 46px;
  cursor: pointer; color: var(--aubergine); align-items: center; justify-content: center;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  display: block; width: 20px; height: 1.5px; background: currentColor; position: relative; content: "";
  transition: transform .25s;
}
.menu-toggle span::before { position: absolute; top: -6px; }
.menu-toggle span::after { position: absolute; top: 6px; }
.menu-toggle[aria-expanded="true"] span { background: transparent; }
.menu-toggle[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1060px) {
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: var(--ivory); }
  .menu-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: calc(78px + env(safe-area-inset-top, 0px)) 0 0 0;
    background: var(--ivory); flex-direction: column; align-items: stretch; gap: 0;
    padding: 1.5rem var(--gutter-r) 2.5rem var(--gutter);
    overflow-y: auto; opacity: 0; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s; visibility: hidden; pointer-events: none;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav > ul { flex-direction: column; gap: 0; }
  .nav > ul > li { border-bottom: 1px solid var(--line); }
  .nav a, .nav button.navlink { display: block; width: 100%; text-align: left; padding: 1.05rem 0; font-size: .92rem; }
  .sub { position: static; opacity: 1; visibility: visible; transform: none; border: 0; padding: 0 0 .8rem 1rem; background: none; display: none; min-width: 0; }
  .has-sub.open .sub { display: block; }
  .sub a { padding: .55rem 0; }
  .nav .btn { margin-top: 1.5rem; }
  .nav .guide-link { margin-top: 1rem; }
}

/* Hero (home) */
.hero { position: relative; background: var(--plum); color: var(--ivory); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.05fr .95fr; align-items: stretch; min-height: min(86vh, 860px); }
.hero-copy { display: grid; align-content: center; gap: 2rem; padding-block: 5rem; position: relative; z-index: 2; }
.hero-mark { width: min(340px, 70%); }
.hero h1 { color: var(--ivory); font-size: var(--step-4); font-weight: 400; }
.hero h1 em { color: var(--gold); }
.hero p { max-width: 40ch; font-size: var(--step-1); font-weight: 300; color: rgba(247,243,235,.82); }
.hero-photo { position: relative; margin: 0 calc(-1 * var(--gutter-r)) 0 0; }
.hero-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 15%; }
.hero-photo::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--plum) 0%, rgba(33,10,41,0) 28%);
}
.hero-caption {
  position: absolute; right: 1.2rem; bottom: 1.2rem; z-index: 2;
  font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247,243,235,.7);
  writing-mode: vertical-rl;
}
.worlds-strip {
  display: flex; flex-wrap: wrap; gap: .4rem 1.6rem; font-size: .78rem; letter-spacing: .24em;
  text-transform: uppercase; color: var(--gold);
}
@media (max-width: 860px) {
  .hero .wrap { grid-template-columns: 1fr; min-height: 0; }
  .hero-photo { order: -1; margin-inline: calc(-1 * var(--gutter)) calc(-1 * var(--gutter-r)); aspect-ratio: 4/4.3; max-width: none; }
  .hero-photo::after { background: linear-gradient(0deg, var(--plum) 0%, rgba(33,10,41,0) 40%); }
  .hero-copy { padding-block: 0 4rem; margin-top: -3rem; }
  .hero-mark { display: none; }
}

/* Page hero (interior) */
.page-hero { padding-block: clamp(3.5rem, 2rem + 5vw, 7rem) clamp(2.5rem, 2rem + 3vw, 4.5rem); border-bottom: 1px solid var(--line); }
.page-hero .wrap { display: grid; grid-template-columns: 1.3fr .7fr; gap: 3rem; align-items: end; }
.page-hero h1 { font-size: var(--step-5); font-weight: 400; }
.page-hero .wrap > .lead { justify-self: end; }
.page-hero--image .wrap { grid-template-columns: 1fr 1fr; align-items: center; }
.page-hero--image figure { margin: 0; }
.page-hero--image img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
@media (max-width: 860px) {
  .page-hero .wrap, .page-hero--image .wrap { grid-template-columns: 1fr; gap: 1.8rem; }
  .page-hero .wrap > .lead { justify-self: start; }
}

/* Split feature (image + text, asymmetric) */
.split { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.split--rev { grid-template-columns: 7fr 5fr; }
.split--rev .split-media { order: 2; }
.split-media { margin: 0; position: relative; }
.split-media img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.split-media figcaption { font-size: .78rem; color: var(--muted); margin-top: .7rem; letter-spacing: .04em; }
.split-media--offset::before {
  content: ""; position: absolute; inset: 1.4rem -1.4rem -1.4rem 1.4rem; border: 1px solid var(--gold); z-index: -1;
}
.split h2 { font-size: var(--step-3); }
@media (max-width: 860px) {
  .split, .split--rev { grid-template-columns: 1fr; }
  .split--rev .split-media { order: 0; }
  .split-media--offset::before { inset: .8rem -.6rem -.8rem .8rem; }
}

/* Signature note */
.note-sign { width: 150px; margin-top: .6rem; }

/* Four worlds index (the bold moment) */
.worlds { background: var(--paper); }
.worlds-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; flex-wrap: wrap; margin-bottom: 3rem; }
.worlds-head h2 { font-size: var(--step-3); max-width: 16ch; }
.worlds-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(2rem, 1rem + 3vw, 5rem); align-items: start; }
.worlds-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.world-item a {
  display: grid; grid-template-columns: 1fr auto; gap: .3rem 1.5rem; align-items: baseline;
  padding: 1.6rem 0; border-bottom: 1px solid var(--line); text-decoration: none;
}
.world-item .w-name {
  font-family: var(--display); font-size: var(--step-5); line-height: .95; color: var(--aubergine);
  font-weight: 400; transition: transform .35s, color .35s; display: block;
}
.world-item .w-desc { grid-column: 1 / -1; color: var(--muted); max-width: 52ch; font-size: .98rem; }
.world-item .w-go { font-size: .75rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.world-item a:hover .w-name, .world-item a:focus-visible .w-name, .world-item.active .w-name { font-style: italic; transform: translateX(.6rem); }
.worlds-media { position: sticky; top: 110px; margin: 0; }
.worlds-media img {
  width: 100%; aspect-ratio: 4/5; object-fit: cover; position: absolute; inset: 0;
  opacity: 0; transition: opacity .45s;
}
.worlds-media img.on { opacity: 1; position: relative; }
.worlds-media figcaption {
  margin-top: .8rem; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted);
}
.world-thumb { display: none; }
@media (max-width: 860px) {
  .worlds-grid { grid-template-columns: 1fr; }
  .worlds-media { display: none; }
  .world-item a { grid-template-columns: 96px 1fr; align-items: center; }
  .world-thumb { display: block; width: 96px; aspect-ratio: 4/5; object-fit: cover; grid-row: span 3; }
  .world-item .w-name { font-size: var(--step-3); }
  .world-item .w-desc { grid-column: 2; font-size: .92rem; }
  .world-item .w-go { grid-column: 2; }
}

/* Story cards */
.stories { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 3rem 2rem; }
.story-card { display: grid; gap: 1rem; align-content: start; }
.story-card a.story-img { display: block; overflow: hidden; }
.story-card img { width: 100%; aspect-ratio: 4/5; object-fit: cover; transition: transform .6s; }
.story-card:hover img { transform: scale(1.03); }
.story-meta { display: flex; gap: .9rem; flex-wrap: wrap; align-items: center; font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.story-meta .cat { color: var(--aubergine); font-weight: 500; text-decoration: none; }
.dark .story-meta, .dark .story-meta .cat { color: var(--gold); }
.story-card h3 { font-size: var(--step-2); line-height: 1.1; }
.story-card h3 a { text-decoration: none; }
.story-card h3 a:hover { color: var(--plum); text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 5px; }
.story-card p { color: var(--muted); font-size: .98rem; }
.story-card--feature { grid-column: 1 / -1; grid-template-columns: 1.4fr 1fr; gap: clamp(2rem, 1rem + 3vw, 4rem); align-items: center; }
.story-card--feature img { aspect-ratio: 3/2; object-position: 50% 20%; }
.story-card--feature h3 { font-size: var(--step-3); }
@media (max-width: 960px) { .stories { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .stories { grid-template-columns: 1fr; }
  .story-card--feature { grid-column: auto; grid-template-columns: 1fr; }
}
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 3rem; }
.section-head h2 { font-size: var(--step-3); }

/* Route panels (work with eki) */
.routes { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); border-top: 1px solid var(--line-dark); }
.route { padding: 2.4rem 2rem 2.4rem 0; display: grid; gap: 1rem; align-content: start; border-bottom: 1px solid var(--line-dark); }
.route + .route { padding-left: 2rem; border-left: 1px solid var(--line-dark); }
.route h3 { font-size: var(--step-2); }
.route p { color: rgba(247,243,235,.76); font-size: .98rem; }
.routes--light { border-color: var(--line); }
.routes--light .route { border-color: var(--line); }
.routes--light .route p { color: var(--muted); }
@media (max-width: 860px) {
  .routes { grid-template-columns: 1fr; }
  .route + .route { padding-left: 0; border-left: 0; }
  .route { padding-right: 0; }
}

/* Big route cards on hub page */
.hub { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.hub-card { position: relative; display: block; text-decoration: none; color: var(--ivory); overflow: hidden; min-height: 560px; background: var(--plum); }
.hub-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s; opacity: .78; }
.hub-card:hover img { transform: scale(1.03); }
.hub-card .hub-copy {
  position: absolute; inset: auto 0 0 0; padding: 2.4rem; display: grid; gap: .9rem;
  background: linear-gradient(0deg, rgba(33,10,41,.94) 0%, rgba(33,10,41,.6) 70%, rgba(33,10,41,0) 100%);
}
.hub-card h2 { color: var(--ivory); font-size: var(--step-3); }
.hub-card p { color: rgba(247,243,235,.84); max-width: 42ch; }
@media (max-width: 860px) { .hub { grid-template-columns: 1fr; } .hub-card { min-height: 460px; } }

/* Collaborations (names in type) */
.collab-groups { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 2.5rem; }
.collab-group h3 { font-family: var(--body); font-size: .78rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.collab-group ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .25rem; }
.collab-group li { font-family: var(--display); font-size: var(--step-1); color: var(--aubergine); line-height: 1.35; }
@media (max-width: 860px) { .collab-groups { grid-template-columns: repeat(2, minmax(0,1fr)); } }

/* Milestones / timeline */
.timeline { list-style: none; margin: 0; padding: 0; display: grid; }
.timeline li { display: grid; grid-template-columns: 7rem 1fr; gap: 2rem; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.dark .timeline li { border-color: var(--line-dark); }
.timeline .yr { font-family: var(--display); font-size: var(--step-2); color: var(--gold); line-height: 1; font-variant-numeric: lining-nums tabular-nums; }
.timeline h3 { font-size: var(--step-1); font-family: var(--body); font-weight: 500; color: inherit; letter-spacing: .01em; margin-bottom: .3rem; }
.dark .timeline h3 { color: var(--ivory); }
.timeline p { color: var(--muted); font-size: .98rem; max-width: 60ch; }
.dark .timeline p { color: rgba(247,243,235,.72); }
@media (max-width: 560px) { .timeline li { grid-template-columns: 1fr; gap: .4rem; } }

/* Pull quote */
.pull { border-left: 1px solid var(--gold); padding-left: clamp(1.2rem, 1rem + 2vw, 2.5rem); }
.pull blockquote { margin: 0; font-family: var(--display); font-style: italic; font-size: var(--step-3); line-height: 1.12; color: var(--aubergine); text-wrap: balance; }
.dark .pull blockquote { color: var(--ivory); }
.pull cite { display: block; margin-top: 1rem; font-style: normal; font-size: .78rem; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

/* Lists of themes / types */
.index-list { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.index-list li { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: 2rem; padding-block: 1.8rem; border-top: 1px solid var(--line); }
.index-list li:last-child { border-bottom: 1px solid var(--line); }
.index-list h3 { font-size: var(--step-2); }
.index-list p { color: var(--muted); }
.dark .index-list li { border-color: var(--line-dark); }
.dark .index-list p { color: rgba(247,243,235,.74); }
@media (max-width: 760px) { .index-list li { grid-template-columns: 1fr; gap: .6rem; } }

.tags { display: flex; flex-wrap: wrap; gap: .5rem; }
.tag { border: 1px solid var(--line); padding: .35rem .9rem; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--aubergine); }
.dark .tag { border-color: var(--line-dark); color: var(--ivory); }

/* Bio box */
.bio-box { background: var(--paper); border: 1px solid var(--line); padding: clamp(1.5rem, 1rem + 2vw, 2.8rem); display: grid; gap: 1.2rem; }
.bio-box p.bio-text { font-size: 1rem; }
.copy-status { font-size: .85rem; color: var(--aubergine); min-height: 1.4em; }

/* Forms */
.form { display: grid; gap: 1.3rem; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 1.3rem 1.5rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 640px) { .form-grid { grid-template-columns: 1fr; } }
.field { display: grid; gap: .45rem; min-width: 0; }
.field label, .field legend {
  font-size: .76rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase; color: var(--aubergine);
}
.field label .opt { color: var(--muted); font-weight: 400; letter-spacing: .06em; text-transform: none; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  background: var(--paper); border: 1px solid rgba(53,16,61,.28); border-radius: 0;
  padding: .85rem 1rem; min-height: 50px; transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--aubergine); box-shadow: 0 0 0 3px rgba(200,166,106,.35); }
.field .hint { font-size: .85rem; color: var(--muted); }
.field .err { font-size: .85rem; color: var(--error); min-height: 0; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--error); }
.check { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; align-items: start; font-size: .95rem; color: var(--muted); }
.check input { width: 20px; height: 20px; margin-top: .2rem; accent-color: var(--aubergine); }
.check.invalid { color: var(--error); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { font-size: .95rem; min-height: 1.2em; }
.form-status.error { color: var(--error); }
.btn[aria-busy="true"] { opacity: .7; cursor: progress; }
.form-success { display: grid; gap: 1rem; padding: 2.2rem; border: 1px solid var(--gold); background: var(--paper); }
.form-success h3 { font-size: var(--step-2); }
.dark .field label, .aub .field label { color: var(--gold); }
.dark .field input, .aub .field input { background: rgba(247,243,235,.06); color: var(--ivory); border-color: rgba(247,243,235,.3); }
.dark .check, .aub .check { color: rgba(247,243,235,.78); }
.dark .form-success, .aub .form-success { background: rgba(247,243,235,.06); }
.privacy-note { font-size: .85rem; color: var(--muted); max-width: 60ch; }
.dark .privacy-note, .aub .privacy-note { color: rgba(247,243,235,.66); }
.privacy-note a { color: inherit; }

/* Form layout with aside */
.form-layout { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: start; }
@media (max-width: 900px) { .form-layout { grid-template-columns: 1fr; } }

/* Guide feature */
.guide { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 4vw, 6rem); align-items: center; }
.guide-cover { margin: 0; }
.guide-cover img { width: 100%; max-width: 520px; margin-inline: auto; }
.guide h2 { font-size: var(--step-4); }
.inline-form { display: grid; grid-template-columns: 1fr 1fr auto; gap: .8rem; align-items: start; }
.inline-form .field label { position: absolute; left: -9999px; }
@media (max-width: 760px) { .guide, .inline-form { grid-template-columns: 1fr; } }
.checklist { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.checklist li { display: grid; grid-template-columns: 1.4rem 1fr; gap: .8rem; }
.checklist li::before { content: "✦"; color: var(--gold); font-size: .9rem; padding-top: .2rem; }

/* Journal tools */
.journal-tools { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; margin-bottom: 3rem; padding-bottom: 1.5rem; border-bottom: 1px solid var(--line); }
.filters { display: flex; flex-wrap: wrap; gap: .4rem; }
.filters button, .filters a {
  background: none; border: 1px solid transparent; padding: .5rem 1rem; cursor: pointer;
  font: inherit; font-size: .78rem; font-weight: 500; letter-spacing: .16em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
}
.filters [aria-pressed="true"], .filters [aria-current="page"] { border-color: var(--aubergine); color: var(--aubergine); }
.search { position: relative; min-width: min(320px, 100%); }
.search input { width: 100%; font: inherit; border: 0; border-bottom: 1px solid var(--aubergine); background: transparent; padding: .6rem 0; min-height: 44px; }
.search input:focus { outline: none; border-color: var(--gold); }
.empty { padding: 3rem 0; color: var(--muted); font-size: 1.1rem; }

/* Article */
.article-hero { padding-block: clamp(3rem, 2rem + 4vw, 6rem) 2.5rem; }
.article-hero .wrap { max-width: 980px; display: grid; gap: 1.6rem; }
.article-hero h1 { font-size: var(--step-5); font-weight: 400; }
.article-hero .dek { font-size: var(--step-1); color: var(--muted); max-width: 46ch; font-weight: 300; }
.article-cover { max-width: 1180px; margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
.article-cover img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: 50% 25%; }
.article-cover figcaption { font-size: .8rem; color: var(--muted); margin-top: .7rem; }
.article-body { max-width: 720px; margin-inline: auto; padding: 3.5rem var(--gutter-r) 2rem var(--gutter); display: grid; gap: 1.5rem; }
.article-body p { font-size: 1.14rem; line-height: 1.85; }
.article-body p:first-of-type::first-letter {
  font-family: var(--display); float: left; font-size: 4.6rem; line-height: .8; padding: .35rem .6rem 0 0; color: var(--aubergine);
}
.article-body .pull { margin-block: 1.5rem; }
.article-foot { max-width: 720px; margin-inline: auto; padding: 0 var(--gutter-r) 3rem var(--gutter); display: grid; gap: 2rem; }
.author { display: grid; grid-template-columns: 84px 1fr; gap: 1.2rem; align-items: center; padding-block: 2rem; border-block: 1px solid var(--line); }
.author img { width: 84px; height: 84px; object-fit: cover; border-radius: 50%; object-position: 50% 20%; }
.share { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.share a, .share button { font: inherit; font-size: .76rem; letter-spacing: .14em; text-transform: uppercase; border: 1px solid var(--line); padding: .5rem .9rem; background: none; color: var(--aubergine); cursor: pointer; text-decoration: none; }

/* Press list */
.press-list { list-style: none; margin: 0; padding: 0; }
.press-list li { display: grid; grid-template-columns: 9rem minmax(0,1fr) auto; gap: 2rem; align-items: baseline; padding-block: 1.6rem; border-top: 1px solid var(--line); }
.press-list li:last-child { border-bottom: 1px solid var(--line); }
.press-list .kind { font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
.press-list h3 { font-size: var(--step-2); }
.press-list p { color: var(--muted); font-size: .96rem; margin-top: .3rem; }
@media (max-width: 760px) { .press-list li { grid-template-columns: 1fr; gap: .4rem; } }

.placeholder-box {
  border: 1px dashed rgba(53,16,61,.35); padding: 2rem; display: grid; gap: .6rem; color: var(--muted); background: rgba(255,255,255,.5);
}
.placeholder-box strong { color: var(--aubergine); font-weight: 500; }

/* Contact route cards */
.contact-routes { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); border-top: 1px solid var(--line); }
.contact-routes a, .contact-routes div { padding: 2rem 1.5rem 2rem 0; display: grid; gap: .7rem; align-content: start; text-decoration: none; border-bottom: 1px solid var(--line); }
.contact-routes > * + * { padding-left: 1.5rem; border-left: 1px solid var(--line); }
.contact-routes h3 { font-size: var(--step-2); }
.contact-routes p { color: var(--muted); font-size: .96rem; }
.contact-routes a:hover h3 { font-style: italic; }
@media (max-width: 900px) { .contact-routes { grid-template-columns: 1fr 1fr; } .contact-routes > *:nth-child(3) { padding-left: 0; border-left: 0; } }
@media (max-width: 560px) { .contact-routes { grid-template-columns: 1fr; } .contact-routes > * + * { padding-left: 0; border-left: 0; } }
.copy-line { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }
.copy-line code { font-family: var(--body); font-size: 1.1rem; color: var(--aubergine); user-select: all; }
.copy-line button { font: inherit; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; background: none; border: 1px solid var(--line); padding: .4rem .8rem; cursor: pointer; color: var(--aubergine); }

/* Newsletter band */
.newsletter .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center; }
.newsletter h2 { font-size: var(--step-3); }
@media (max-width: 860px) { .newsletter .wrap { grid-template-columns: 1fr; } }

/* Footer */
.site-footer { background: var(--plum); color: rgba(247,243,235,.78); padding-block: 5rem 2rem; padding-bottom: calc(2rem + env(safe-area-inset-bottom, 0px)); }
.footer-top { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 2.5rem; padding-bottom: 3.5rem; border-bottom: 1px solid var(--line-dark); }
.footer-brand img { width: 220px; }
.footer-brand p { margin-top: 1.2rem; max-width: 34ch; font-size: .95rem; }
.site-footer h4 { font-family: var(--body); font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .55rem; }
.site-footer a { text-decoration: none; color: rgba(247,243,235,.82); font-size: .95rem; }
.site-footer a:hover { color: var(--gold); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; padding-top: 1.8rem; font-size: .82rem; color: rgba(247,243,235,.55); }
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }

/* Reveal motion: content is visible at rest; JS adds a gentle rise only when allowed */
.reveal-ready .reveal { transform: translateY(16px); transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.reveal-ready .reveal.in { transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal-ready .reveal { opacity: 1; transform: none; }
}

.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; } .center { text-align: center; }

/* Touch-friendly targets on phones and tablets */
@media (max-width: 1060px), (pointer: coarse) {
  .link { padding-block: .85rem .55rem; }
  .filters button, .filters a, .share a, .share button, .copy-line button { min-height: 44px; display: inline-flex; align-items: center; }
  .article-hero .eyebrow { min-height: 44px; }
  .check { padding-block: .3rem; }
  .check input { width: 24px; height: 24px; }
  .privacy-note a, .check a { display: inline-block; padding-block: .5rem; margin-block: -.5rem; }
  .site-footer a { display: inline-block; padding-block: .45rem; }
  .site-footer ul { gap: .1rem; }
}
@media (max-width: 560px) {
  .btn-row .btn { flex: 1 1 100%; }
  .inline-form .btn { width: 100%; }
  .section-head { margin-bottom: 2rem; }
  .bio-box .btn, .hub-copy .link { width: auto; }
}

/* Watch: homepage video feature */
.video-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(1.5rem, 1rem + 2vw, 3rem); align-items: start; }
.player { display: grid; gap: 1.2rem; min-width: 0; }
.player-frame { position: relative; aspect-ratio: 16 / 9; background: #000; overflow: hidden; }
.player-frame img, .player-frame video, .player-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border: 0; }
.player-poster { object-position: 50% 25%; opacity: .78; transition: opacity .4s, transform .8s; }
.player-frame:hover .player-poster { opacity: .9; transform: scale(1.02); }
.player-play {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: clamp(72px, 9vw, 104px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid rgba(247,243,235,.7); background: rgba(33,10,41,.45);
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  cursor: pointer; display: grid; place-items: center; transition: background .25s, border-color .25s, transform .25s;
}
.player-play span { width: 0; height: 0; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent var(--ivory); margin-left: 5px; }
.player-play:hover { background: var(--gold); border-color: var(--gold); transform: translate(-50%, -50%) scale(1.06); }
.player-play:hover span { border-left-color: var(--plum); }
.player-note { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: .9rem 1.2rem; background: rgba(33,10,41,.85); color: var(--ivory); font-size: .95rem; }
.player-caption { display: grid; gap: .4rem; }
.player-caption h3 { font-size: var(--step-2); color: var(--ivory); }
.vkind { font-size: .72rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }
.video-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line-dark); }
.vthumb {
  width: 100%; display: grid; grid-template-columns: 112px minmax(0,1fr); gap: 1rem; align-items: center;
  padding: 1rem 0; background: none; border: 0; border-bottom: 1px solid var(--line-dark);
  color: var(--ivory); text-align: left; cursor: pointer; font: inherit;
}
.vthumb img { width: 112px; aspect-ratio: 16 / 10; object-fit: cover; object-position: 50% 25%; opacity: .7; transition: opacity .25s; }
.vthumb-text { display: grid; gap: .3rem; min-width: 0; }
.vtitle { font-family: var(--display); font-size: 1.2rem; line-height: 1.2; }
.vthumb:hover img, .vthumb.is-active img { opacity: 1; }
.vthumb.is-active .vtitle { font-style: italic; }
.vthumb.is-active { box-shadow: inset 2px 0 0 var(--gold); padding-left: 1rem; }
@media (max-width: 900px) {
  .video-grid { grid-template-columns: 1fr; }
  .vthumb { grid-template-columns: 96px minmax(0,1fr); }
  .vthumb img { width: 96px; }
}

[hidden] { display: none !important; }

/* External nav links (Nosak Group, KISARA) */
.nav a.ext .ext-mark { color: var(--gold); font-size: .7rem; }
@media (min-width: 1061px) and (max-width: 1500px) {
  .nav { gap: 1.3rem; }
  .nav > ul { gap: 1.15rem; }
  .nav a, .nav button.navlink { font-size: .74rem; letter-spacing: .12em; }
  .brand { width: 118px; }
}

.nav a, .nav button.navlink, .nav .btn { white-space: nowrap; }
@media (min-width: 1061px) { .nav > ul { align-items: center; } }

/* Footer credit */
.footer-bottom .sep { margin-inline: .5rem; opacity: .5; }
.footer-bottom a.credit { color: rgba(247,243,235,.82); font-size: inherit; text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
.footer-bottom a.credit:hover { color: var(--gold); }
.sub a.ext .ext-mark { color: var(--gold); font-size: .7rem; }
.footer-bottom .credit-line { white-space: nowrap; }
.footer-bottom a.credit { display: inline; padding: 0; margin: 0; }
@media (max-width: 560px) { .footer-bottom .sep { display: none; } .footer-bottom .credit-line { display: block; margin-top: .3rem; } }
