/* ========================================================================
   Arcaya Theme — Component Styles
   All section-specific styles beyond the base design tokens.
   ======================================================================== */

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.wrap {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 64px);
}

.section {
  padding-block: clamp(64px, 8vw, 120px);
}

.sec-cream { background: var(--bg); }
.sec-dark  { background: #1C1F1C; color: var(--fg-on-dark); }
.sec-deep  { background: #141816; color: var(--fg-on-dark); }

.sec-dark p,  .sec-dark .lede  { color: rgba(245,241,234,0.72); }
.sec-deep p,  .sec-deep .lede  { color: rgba(245,241,234,0.72); }
.sec-dark h1, .sec-dark h2, .sec-dark h3,
.sec-deep h1, .sec-deep h2, .sec-deep h3 { color: var(--fg-on-dark); }
.sec-dark .eyebrow, .sec-deep .eyebrow { color: rgba(245,241,234,0.44); }

/* ============================================================
   TYPOGRAPHY COMPONENTS
   ============================================================ */

.display {
  font-size: clamp(36px, 5vw, 72px);
  font-weight: 300;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg-on-dark);
}

.h-lg {
  font-size: clamp(28px, 3.5vw, 46px);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.h-lg.cream { color: var(--arc-ink-700); }

.lede {
  font-size: clamp(15px, 1.8vw, 18px);
  line-height: 1.65;
  color: var(--fg-2);
}

.eyebrow {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  display: block;
  width: 24px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
  flex-shrink: 0;
}
.eyebrow--center::before { display: none; }

.accent { color: var(--arc-warning); }
.brass-ink { color: var(--arc-warning); font-weight: 500; }

.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--arc-warning);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: gap var(--dur-fast) var(--ease-soft);
}
.link-arrow:hover { gap: 10px; }
.link-arrow svg { width: 16px; height: 16px; }

/* ============================================================
   BUTTONS
   ============================================================ */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  border: 1px solid transparent;
  transition: background var(--dur-fast), color var(--dur-fast), border-color var(--dur-fast), transform var(--dur-fast);
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn svg { width: 16px; height: 16px; flex-shrink: 0; }

.btn--brass {
  background: var(--arc-warning);
  color: #fff;
  border-color: var(--arc-warning);
}
.btn--brass:hover { background: #9a6c2a; border-color: #9a6c2a; }

.btn--ink {
  background: var(--arc-ink-900);
  color: #fff;
  border-color: var(--arc-ink-900);
}
.btn--ink:hover { background: #111; }

.btn--ghost-dark {
  background: transparent;
  color: rgba(245,241,234,0.7);
  border-color: rgba(245,241,234,0.25);
}
.btn--ghost-dark:hover { color: #fff; border-color: rgba(245,241,234,0.5); }

.btn--ghost-ink {
  background: transparent;
  color: var(--arc-ink-700);
  border-color: var(--arc-ink-300);
}
.btn--ghost-ink:hover { border-color: var(--arc-ink-700); }

.btn--sm { padding: 9px 18px; font-size: 13px; }
.btn--link { background: none; border: 0; padding: 0; color: var(--arc-warning); font-weight: 500; }

/* ============================================================
   NAV
   ============================================================ */

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: transparent;
  transition: background var(--dur-base), box-shadow var(--dur-base);
}
.nav.is-stuck {
  background: rgba(20, 24, 22, 0.96);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 32px;
  height: 68px;
  padding-inline: clamp(20px, 4vw, 56px);
  max-width: 1400px;
  margin-inline: auto;
}
.nav__brand {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  gap: 2px;
  flex-shrink: 0;
}
.nav__mark {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: #F5F1EA;
  line-height: 1;
}
.nav__by {
  font-size: 10px;
  letter-spacing: 0.08em;
  color: var(--arc-warning);
  line-height: 1;
  opacity: 0.85;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-inline: auto;
}
.nav__link {
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: rgba(245,241,234,0.55);
  text-decoration: none;
  transition: color var(--dur-fast);
}
.nav__link:hover,
.nav__link--active { color: #F5F1EA; }
.nav__cta { margin-left: auto; }

/* Mobile nav */
.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 4px;
  margin-left: auto;
}
.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: rgba(245,241,234,0.7);
  transition: transform var(--dur-fast);
}

@media (max-width: 800px) {
  .nav__hamburger { display: flex; }
  .nav__links {
    position: fixed;
    inset: 68px 0 0 0;
    background: rgba(20,24,22,0.98);
    flex-direction: column;
    align-items: flex-start;
    padding: 32px clamp(20px,5vw,56px);
    gap: 24px;
    transform: translateX(100%);
    transition: transform var(--dur-base);
    overflow-y: auto;
  }
  .nav__links.is-open { transform: translateX(0); }
  .nav__link { font-size: 18px; }
  .nav__cta { display: none; }
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  padding-block: clamp(96px, 12vw, 160px);
}
.hero__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.hero__kicker { margin-bottom: 16px; }
.hero__display { margin-block: 20px 28px; color: var(--fg-on-dark); }
.hero__lede { max-width: 580px; }
.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}

/* Page hero (inner pages) */
.phero { padding-block: clamp(80px, 10vw, 140px); }
.phero--solo .phero__grid { max-width: 760px; }
.phero__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.phero__kicker { margin-bottom: 16px; }
.phero__display { margin-block: 20px 28px; color: var(--fg-on-dark); }
.phero__lede { max-width: 580px; }
.phero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 36px; }

/* Notes hero */
.nhero { padding-block: clamp(80px, 10vw, 140px); }
.nhero__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 48px;
}
.nhero__count {
  font-size: clamp(56px, 8vw, 96px);
  font-weight: 200;
  letter-spacing: -0.02em;
  color: var(--fg-on-dark);
  line-height: 1;
}
.nhero__count .u { color: var(--arc-warning); }
.nhero__countlbl { font-size: 13px; color: rgba(245,241,234,0.55); line-height: 1.5; margin-top: 8px; }
@media (max-width: 640px) {
  .nhero__grid { grid-template-columns: 1fr; }
  .nhero__aside { display: none; }
}

/* ============================================================
   STATS BAR
   ============================================================ */

.stats-bar { padding-block: clamp(40px, 5vw, 64px); }
.stats-bar__inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.stat__n {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 200;
  color: var(--fg-on-dark);
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat__u { color: var(--arc-warning); font-size: 0.65em; }
.stat__l { font-size: 13px; color: rgba(245,241,234,0.5); margin-top: 6px; }
@media (max-width: 640px) {
  .stats-bar__inner { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SECHEAD
   ============================================================ */

.sechead { margin-bottom: clamp(40px, 5vw, 64px); }
.sechead .eyebrow { margin-bottom: 16px; }
.sechead .h-lg { margin-top: 12px; }
.sechead__lede { max-width: 580px; margin-top: 16px; }

/* ============================================================
   PROBLEM CARDS
   ============================================================ */

.problem__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}
.pcard {
  background: var(--bg-raised);
  padding: 28px 24px;
}
.pcard__n {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 10px;
}
.pcard__b { font-size: 14px; line-height: 1.6; color: var(--fg-2); }

.problem__pullquote {
  margin-top: 40px;
  font-size: clamp(18px, 2.4vw, 24px);
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg-2);
}
@media (max-width: 600px) {
  .problem__cards { grid-template-columns: 1fr; }
}

/* ============================================================
   SYSTEM / NOT NOT
   ============================================================ */

.system__notnot {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.notnot__col {
  padding: 32px 28px;
}
.notnot__col--bad { background: rgba(255,255,255,0.04); }
.notnot__col--good { background: rgba(192, 138, 62, 0.12); }
.notnot__label {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.4);
  margin-bottom: 20px;
}
.notnot__row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: rgba(245,241,234,0.7);
  padding-block: 8px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  list-style: none;
}
.notnot__row svg { width: 15px; height: 15px; flex-shrink: 0; margin-top: 2px; }
.notnot__row--no svg { color: rgba(245,241,234,0.3); }
.notnot__row--yes svg { color: var(--arc-warning); }
@media (max-width: 600px) {
  .system__notnot { grid-template-columns: 1fr; }
}

/* OS Grid */
.os-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-top: 48px;
}
.os-cell {
  background: var(--bg);
  padding: 20px 18px;
}
.os-cell__step { font-size: 10px; color: var(--fg-4); letter-spacing: 0.08em; margin-bottom: 8px; }
.os-cell__t { font-size: 13px; font-weight: 500; color: var(--fg-1); margin-bottom: 6px; }
.os-cell__d { font-size: 12px; color: var(--fg-3); line-height: 1.5; }
.os-footer { margin-top: 36px; }
.os-footer p { font-size: 14px; line-height: 1.7; color: var(--fg-2); max-width: 640px; }

@media (max-width: 900px) {
  .os-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .os-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ============================================================
   SERVES CARDS
   ============================================================ */

.serves__cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.scard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}
.scard__title {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(245,241,234,0.4);
  margin-bottom: 10px;
}
.scard__sub { font-size: 17px; font-weight: 500; color: var(--fg-on-dark); margin-bottom: 10px; }
.scard__body { font-size: 14px; color: rgba(245,241,234,0.6); line-height: 1.6; }
@media (max-width: 600px) {
  .serves__cards { grid-template-columns: 1fr; }
}

/* ============================================================
   STORY / TIMELINE
   ============================================================ */

.story__head { margin-bottom: 56px; }
.story__lede { max-width: 600px; margin-top: 20px; color: rgba(245,241,234,0.65); }
.story__timeline { display: flex; flex-direction: column; gap: 0; }
.tl-row {
  display: grid;
  grid-template-columns: 120px 1fr 1fr;
  gap: 24px 32px;
  padding-block: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  align-items: start;
}
.tl-era {
  font-size: 22px;
  font-weight: 200;
  color: var(--fg-on-dark);
  letter-spacing: -0.01em;
}
.tl-era span {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  color: rgba(245,241,234,0.4);
  margin-top: 4px;
  text-transform: uppercase;
}
.tl-quote { font-size: 14px; font-style: italic; color: rgba(245,241,234,0.6); line-height: 1.65; }
.tl-lesson { font-size: 14px; color: rgba(245,241,234,0.65); line-height: 1.65; }
@media (max-width: 700px) {
  .tl-row { grid-template-columns: 1fr; gap: 12px; }
}

/* Foshan block */
.foshan { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: start; margin-top: 64px; }
.foshan__t { font-size: clamp(22px, 3vw, 32px); font-weight: 300; color: var(--fg-on-dark); line-height: 1.25; margin-top: 16px; margin-bottom: 16px; }
.foshan__b { font-size: 15px; color: rgba(245,241,234,0.65); line-height: 1.7; max-width: 520px; }
.foshan__img img { width: 280px; height: 320px; object-fit: cover; border-radius: var(--radius-md); }
@media (max-width: 800px) {
  .foshan { grid-template-columns: 1fr; }
  .foshan__img { display: none; }
}

/* ============================================================
   NOTES GRID (home preview)
   ============================================================ */

.notes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
@media (max-width: 900px) { .notes-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .notes-grid { grid-template-columns: 1fr; } }

/* ============================================================
   NOTE CARDS (archive)
   ============================================================ */

.nindex {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 32px;
}
@media (max-width: 900px) { .nindex { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .nindex { grid-template-columns: 1fr; } }

.ncard {
  display: flex;
  flex-direction: column;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  text-decoration: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
  cursor: pointer;
}
.ncard:hover {
  border-color: var(--arc-taupe-200);
  box-shadow: var(--shadow-2);
  transform: translateY(-2px);
}
.ncard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; }
.ncard__cat { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--arc-warning); }
.ncard__num { font-size: 12px; color: var(--fg-4); }
.ncard__t { font-size: 16px; font-weight: 500; color: var(--fg-1); line-height: 1.4; margin-bottom: 10px; flex-grow: 1; }
.ncard__b { font-size: 13px; color: var(--fg-3); line-height: 1.6; margin-bottom: 16px; }
.ncard__meta { display: flex; align-items: center; justify-content: space-between; font-size: 12px; color: var(--fg-4); margin-top: auto; }
.ncard__read { color: var(--arc-warning); display: flex; align-items: center; gap: 4px; }
.ncard__read svg { width: 14px; height: 14px; }

/* Featured note */
.feat {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  text-decoration: none;
  transition: box-shadow var(--dur-base);
  cursor: pointer;
}
.feat:hover { box-shadow: var(--shadow-lift); }
.feat__img { position: relative; aspect-ratio: 4/3; overflow: hidden; }
.feat__img img { width: 100%; height: 100%; object-fit: cover; }
.feat__flag { position: absolute; top: 16px; left: 16px; background: var(--arc-warning); color: #fff; font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; padding: 4px 10px; border-radius: var(--radius-pill); }
.feat__body { padding: 36px 32px; background: var(--bg-raised); display: flex; flex-direction: column; }
.feat__cat { font-size: 10px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--arc-warning); margin-bottom: 14px; }
.feat__t { font-size: clamp(18px, 2.4vw, 26px); font-weight: 500; color: var(--fg-1); line-height: 1.3; margin-bottom: 14px; }
.feat__b { font-size: 14px; color: var(--fg-2); line-height: 1.65; flex-grow: 1; }
.feat__meta { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--fg-4); margin-top: 24px; }
.feat__read { margin-left: auto; color: var(--arc-warning); font-weight: 500; display: flex; align-items: center; gap: 4px; }
@media (max-width: 700px) {
  .feat { grid-template-columns: 1fr; }
}

/* Note filter */
.nfilter { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-bottom: 32px; }
.nfilter__count { margin-left: auto; font-size: 12px; color: var(--fg-4); }
.chip {
  display: inline-flex;
  align-items: center;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  font-weight: 400;
  color: var(--fg-3);
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  text-decoration: none;
  transition: background var(--dur-fast), color var(--dur-fast);
}
.chip:hover, .chip.is-active {
  background: var(--arc-ink-900);
  color: #fff;
  border-color: var(--arc-ink-900);
}

/* ============================================================
   WORK CTA SECTION (home)
   ============================================================ */

.work-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.wcard {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  text-decoration: none;
  transition: background var(--dur-fast), border-color var(--dur-fast);
  cursor: pointer;
}
.wcard:hover { background: rgba(255,255,255,0.09); border-color: rgba(255,255,255,0.18); }
.wcard__icon { color: var(--arc-warning); margin-bottom: 14px; }
.wcard__icon i, .wcard__icon svg { width: 22px; height: 22px; display: block; }
.wcard__title { font-size: 15px; font-weight: 500; color: var(--fg-on-dark); margin-bottom: 8px; }
.wcard__body { font-size: 13px; color: rgba(245,241,234,0.55); line-height: 1.6; }
.work-cta { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 48px; }

@media (max-width: 700px) {
  .work-cards { grid-template-columns: 1fr; }
}

/* ============================================================
   PATHWAY ROUTER (Work With Me)
   ============================================================ */

.router {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 48px;
}
.rcard {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  cursor: pointer;
  text-align: left;
  transition: background var(--dur-fast), border-color var(--dur-fast);
  font-family: var(--font-sans);
  color: inherit;
}
.rcard:hover, .rcard.is-active {
  background: rgba(192,138,62,0.1);
  border-color: rgba(192,138,62,0.4);
}
.rcard__ic { color: var(--arc-warning); margin-bottom: 12px; }
.rcard__ic i, .rcard__ic svg { width: 20px; height: 20px; display: block; }
.rcard__who { font-size: 14px; font-weight: 600; color: var(--fg-on-dark); margin-bottom: 8px; }
.rcard__b { font-size: 13px; color: rgba(245,241,234,0.55); line-height: 1.55; margin-bottom: 14px; }
.rcard__cta { font-size: 13px; color: var(--arc-warning); display: flex; align-items: center; gap: 5px; font-weight: 500; }
.rcard__cta svg { width: 14px; height: 14px; }

.rnote {
  display: flex;
  gap: 14px;
  margin-top: 36px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.04);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.08);
}
.rnote svg { width: 20px; height: 20px; flex-shrink: 0; margin-top: 2px; color: rgba(245,241,234,0.4); }
.rnote p { font-size: 13px; color: rgba(245,241,234,0.55); line-height: 1.65; }
.rnote a { color: var(--arc-warning); }

@media (max-width: 800px) {
  .router { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .router { grid-template-columns: 1fr; }
}

/* ============================================================
   CONTACT FORM
   ============================================================ */

.wform { display: flex; flex-direction: column; gap: 20px; max-width: 720px; }
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.frow--1 { grid-template-columns: 1fr; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.field input, .field textarea {
  width: 100%;
  padding: 12px 14px;
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--fg-1);
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast);
  outline: none;
  appearance: none;
}
.field input:focus, .field textarea:focus {
  border-color: var(--arc-warning);
  box-shadow: 0 0 0 3px rgba(192,138,62,0.15);
}
.field textarea { min-height: 120px; resize: vertical; line-height: 1.6; }
.field-file {
  display: block;
  padding: 12px 14px;
  border: 1px dashed var(--line);
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--fg-3);
  cursor: pointer;
  transition: border-color var(--dur-fast);
  text-align: center;
}
.field-file:hover { border-color: var(--arc-warning); color: var(--arc-warning); }

.wform__sel { display: flex; flex-direction: column; gap: 10px; }
.wform__sellbl { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-3); }
.wform__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.wchip {
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  font-size: 12px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  cursor: pointer;
  color: var(--fg-3);
  font-family: var(--font-sans);
  transition: background var(--dur-fast), color var(--dur-fast);
}
.wchip:hover, .wchip.is-active {
  background: var(--arc-ink-900);
  color: #fff;
  border-color: var(--arc-ink-900);
}

.wform__extra {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.wform__extra-lbl { font-size: 12px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-4); }

.wform__consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--fg-3);
  cursor: pointer;
}
.wform__consent input { width: 16px; height: 16px; margin-top: 2px; flex-shrink: 0; accent-color: var(--arc-warning); }

.wform__submit { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.wform__sent { font-size: 14px; color: var(--arc-success); font-weight: 500; }

@media (max-width: 600px) {
  .frow { grid-template-columns: 1fr; }
}

/* ============================================================
   PGRID (What Happens Next)
   ============================================================ */

.pgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.pgrid__item {
  padding: 28px 24px;
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-md);
}
.pgrid__k { font-size: 32px; font-weight: 200; color: var(--arc-warning); letter-spacing: -0.01em; margin-bottom: 16px; }
.pgrid__t { font-size: 17px; font-weight: 500; color: var(--fg-on-dark); margin-bottom: 10px; }
.pgrid__b { font-size: 14px; color: rgba(245,241,234,0.6); line-height: 1.6; }
@media (max-width: 700px) { .pgrid { grid-template-columns: 1fr; } }

/* ============================================================
   SUBSCRIBE SECTION
   ============================================================ */

.subscribe__inner { max-width: 560px; margin-inline: auto; text-align: center; }
.subscribe__t { font-size: clamp(28px, 3.6vw, 44px); color: var(--fg-on-dark); margin-top: 16px; }
.subscribe__b { color: rgba(245,241,234,0.6); margin-top: 14px; }
.subscribe__form {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  justify-content: center;
}
.subscribe__input {
  flex: 1;
  min-width: 200px;
  padding: 12px 16px;
  font-family: var(--font-sans);
  font-size: 15px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: var(--radius-sm);
  color: #fff;
  outline: none;
}
.subscribe__input::placeholder { color: rgba(245,241,234,0.35); }
.subscribe__input:focus { border-color: var(--arc-warning); }
.subscribe__note { font-size: 12px; color: rgba(245,241,234,0.35); margin-top: 14px; }

/* ============================================================
   START HERE PATHS
   ============================================================ */

.start-path { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line); }
.start-path:last-child { border-bottom: 0; margin-bottom: 0; }
.start-path__label { font-size: 12px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 20px; }
.start-path__links { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.start-link {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 18px;
  background: var(--bg-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--dur-fast), box-shadow var(--dur-fast), transform var(--dur-fast);
}
.start-link:hover {
  border-color: var(--arc-warning);
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}
.start-link__t { font-size: 15px; font-weight: 500; color: var(--fg-1); }
.start-link__d { font-size: 13px; color: var(--fg-3); margin-top: 3px; }
.start-link > div { flex: 1; }
.start-link svg { width: 16px; height: 16px; color: var(--fg-4); flex-shrink: 0; }
@media (max-width: 600px) {
  .start-path__links { grid-template-columns: 1fr; }
}

/* ============================================================
   SUMMARY TABLE (Investor Brief)
   ============================================================ */

.summary { border: 1px solid var(--line); border-radius: var(--radius-md); overflow: hidden; }
.summary__row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--line);
  align-items: start;
}
.summary__row:last-child { border-bottom: 0; }
.summary__k { font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--fg-4); }
.summary__v { font-size: 14px; color: var(--fg-2); line-height: 1.65; }
@media (max-width: 600px) {
  .summary__row { grid-template-columns: 1fr; gap: 6px; }
}

/* Check lists */
.check-list { list-style: none; padding: 0; margin: 0; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-block: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 14px;
  color: rgba(245,241,234,0.7);
}
.check-list--no li::before {
  content: '✕';
  color: rgba(245,241,234,0.25);
  flex-shrink: 0;
  font-size: 11px;
}
.check-list--yes li::before {
  content: '✓';
  color: var(--arc-warning);
  flex-shrink: 0;
  font-weight: 600;
}

/* Two-up layout */
.twoup { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.twoup p { font-size: 15px; line-height: 1.7; }
.twoup p + p { margin-top: 14px; }
@media (max-width: 700px) { .twoup { grid-template-columns: 1fr; } }

/* ============================================================
   NOTE SINGLE PAGE
   ============================================================ */

.note-hero { padding-block: clamp(64px, 8vw, 100px); }
.note-hero__inner { max-width: 760px; }
.note-hero__title { font-size: clamp(24px, 4vw, 44px); font-weight: 400; color: var(--fg-on-dark); line-height: 1.2; margin-top: 16px; }
.note-hero__meta { display: flex; gap: 10px; font-size: 13px; color: rgba(245,241,234,0.45); margin-top: 16px; }

.note-image { padding-block: 0; }
.note-image__img { width: 100%; max-height: 480px; object-fit: cover; border-radius: var(--radius-md); }

.note-body { display: grid; grid-template-columns: 1fr; }
.note-content {
  max-width: 720px;
  font-size: 16px;
  line-height: 1.8;
  color: var(--fg-2);
}
.note-content p { margin-block: 1em; }
.note-content h2 { font-size: 24px; margin-top: 2em; margin-bottom: 0.5em; }
.note-content h3 { font-size: 19px; margin-top: 1.6em; margin-bottom: 0.4em; }
.note-content blockquote {
  border-left: 3px solid var(--arc-warning);
  margin: 1.5em 0;
  padding: 12px 20px;
  background: var(--bg-card);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  color: var(--fg-1);
  font-style: italic;
}

.note-nav__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.note-nav__prev, .note-nav__next {
  padding: 20px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: border-color var(--dur-fast);
}
.note-nav__prev:hover, .note-nav__next:hover { border-color: var(--arc-warning); }
.note-nav__dir { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--fg-4); margin-bottom: 6px; }
.note-nav__t { font-size: 14px; font-weight: 500; color: var(--fg-1); line-height: 1.35; }
.note-nav__next { text-align: right; }

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer { background: var(--arc-cream-200); border-top: 1px solid var(--line); }
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  padding-block: 64px;
}
.footer__wordmark {
  font-size: 14px;
  font-weight: 300;
  letter-spacing: 0.22em;
  color: var(--arc-ink-900);
  text-decoration: none;
  display: block;
}
.footer__tagline {
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--arc-warning);
  margin-top: 6px;
}
.footer__desc { font-size: 13px; color: var(--fg-3); line-height: 1.65; margin-top: 14px; max-width: 240px; }
.footer__col-title {
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
  margin-bottom: 16px;
}
.footer__links { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.footer__links a, .footer__links span { font-size: 14px; color: var(--fg-3); text-decoration: none; transition: color var(--dur-fast); }
.footer__links a:hover { color: var(--fg-1); }

.footer__bottom {
  border-top: 1px solid var(--line);
  padding-block: 20px;
}
.footer__bottom-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer__copy { font-size: 12px; color: var(--fg-4); }
.footer__legal { display: flex; gap: 20px; }
.footer__legal a { font-size: 12px; color: var(--fg-4); text-decoration: none; }
.footer__legal a:hover { color: var(--fg-2); }

@media (max-width: 900px) {
  .footer__inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer__inner { grid-template-columns: 1fr; gap: 32px; }
}

/* ============================================================
   SCROLL REVEAL ANIMATIONS
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.52s var(--ease-soft), transform 0.52s var(--ease-soft);
}
.reveal.is-in {
  opacity: 1;
  transform: none;
}
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ============================================================
   WORDPRESS CORE COMPATIBILITY
   ============================================================ */

.alignwide  { margin-inline: -48px; }
.alignfull  { margin-inline: calc(-1 * clamp(20px,5vw,64px)); }
.alignleft  { float: left; margin: 0 24px 16px 0; }
.alignright { float: right; margin: 0 0 16px 24px; }
.aligncenter { display: block; margin-inline: auto; }

.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 12px; color: var(--fg-4); margin-top: 6px; text-align: center; }

img { max-width: 100%; height: auto; display: block; }

/* Search form */
.search-form { display: flex; gap: 8px; margin-top: 24px; }
.search-field {
  flex: 1;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  font-family: var(--font-sans);
  font-size: 15px;
  background: var(--bg-raised);
  outline: none;
}
.search-field:focus { border-color: var(--arc-warning); }
.search-submit { background: var(--arc-warning); color: #fff; border: 0; padding: 12px 20px; border-radius: var(--radius-sm); cursor: pointer; font-family: var(--font-sans); font-size: 14px; }

/* Pagination */
.nav-links { display: flex; justify-content: center; gap: 8px; margin-top: 48px; }
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  color: var(--fg-2);
  text-decoration: none;
  border: 1px solid var(--line);
  transition: background var(--dur-fast);
}
.page-numbers.current { background: var(--arc-ink-900); color: #fff; border-color: var(--arc-ink-900); }
.page-numbers:hover:not(.current) { background: var(--bg-card); }

/* ============================================================
   NAV FIXES — ensure nav is always visible and clickable
   ============================================================ */

/* Nav is on top of hero sections */
.site-header {
  position: relative;
  z-index: 200;
}

/* When nav is inside the dark hero, float above it */
.nav {
  position: relative;
  z-index: 200;
}

/* Fix: make nav position sticky properly */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  transition: background var(--dur-base, 240ms), box-shadow var(--dur-base, 240ms);
}

/* Nav links must always be clickable */
.nav__links a,
.nav__brand,
.nav__cta {
  position: relative;
  z-index: 201;
}

/* Fix nav__inner to use full width properly */
.nav__inner {
  max-width: 100%;
  padding-inline: clamp(20px, 4vw, 56px);
}

/* Ensure hamburger button is visible on mobile */
@media (max-width: 800px) {
  .nav__cta { display: none !important; }
  .nav__hamburger {
    display: flex !important;
    z-index: 202;
    margin-left: auto;
    order: 3;
  }
  .nav__links {
    order: 4;
  }
  .nav__brand {
    order: 1;
    flex: 1;
  }
}

/* ============================================================
   SITE WRAPPER FIX
   ============================================================ */
.site-wrapper {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.site-main {
  flex: 1;
}
