/* ==========================================================================
   Marketing — nav, footer, home signature sections, interior pages
   ========================================================================== */

/* --- Nav ----------------------------------------------------------------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 800;
  padding-top: var(--safe-t);
  transition: transform .6s var(--ease-out), background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled { background: rgba(14, 13, 11, .55); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); border-color: var(--line); }
.nav.is-hidden { transform: translateY(-110%); }
.menu-open .nav { transform: none; background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; }
.nav__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; padding-inline: var(--gutter); max-width: 1680px; margin: 0 auto; }
.nav__brand { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.nav__mark { font-family: var(--serif); font-style: italic; font-size: 1.9rem; line-height: 1; letter-spacing: -.02em; }
.nav__sub { font-family: var(--mono); font-size: .5625rem; letter-spacing: .16em; text-transform: uppercase; line-height: 1.25; color: var(--text-2); padding-left: 10px; border-left: 1px solid var(--line-2); }
.nav__links { display: flex; gap: 6px; }
.nav__link { position: relative; display: inline-flex; padding: 10px 14px; font-size: .875rem; font-weight: 600; color: var(--text-2); overflow: hidden; border-radius: 99px; }
.nav__link span { display: inline-block; position: relative; transition: transform .5s var(--ease-out), color .3s; }
.nav__link span::after { content: attr(data-text); position: absolute; left: 0; top: calc(100% + 14px); color: var(--amber); }
.nav__link:hover span { transform: translateY(calc(-100% - 14px)); }
.nav__link.is-active { color: var(--text); }
.nav__link.is-active::before { content: ""; position: absolute; left: 50%; bottom: 4px; width: 4px; height: 4px; margin-left: -2px; border-radius: 50%; background: var(--amber); }
.nav__actions { display: flex; align-items: center; gap: 10px; position: relative; z-index: 2; }
.nav__burger { display: none; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line-2); position: relative; }
.nav__burger span { position: absolute; left: 15px; right: 15px; height: 1.5px; background: var(--bone); transition: transform .5s var(--ease-out), top .5s var(--ease-out); }
.nav__burger span:first-child { top: 19px; }
.nav__burger span:last-child { top: 27px; }
.nav__burger[aria-expanded="true"] span:first-child { top: 23px; transform: rotate(45deg); }
.nav__burger[aria-expanded="true"] span:last-child { top: 23px; transform: rotate(-45deg); }
@media (max-width: 960px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .nav__login span { display: none; }
  .nav__login { width: 48px; height: 48px; padding: 0; min-height: 48px; }
}

/* Mobile menu */
.mmenu {
  position: fixed; inset: 0; z-index: 790;
  background: var(--ink);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: calc(100px + var(--safe-t)) var(--gutter) calc(24px + var(--safe-b));
  clip-path: circle(0% at calc(100% - 40px) 36px);
  visibility: hidden;
}
.menu-open .mmenu { visibility: visible; }
.reduced.menu-open .mmenu { clip-path: none; }
.mmenu__bg { position: absolute; inset: 0; z-index: -1; opacity: .28; }
.mmenu__bg video { width: 100%; height: 100%; object-fit: cover; }
.mmenu__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ink) 0%, rgba(14,13,11,.5) 50%, var(--ink) 100%); }
.mmenu__links { display: grid; gap: 2px; }
.mmenu__link { display: flex; align-items: baseline; gap: 16px; overflow: hidden; padding: 4px 0; }
.mmenu__num { font-family: var(--mono); font-size: .7rem; color: var(--amber); width: 22px; }
.mmenu__txt { font-family: var(--serif); font-size: clamp(2.8rem, 12vw, 5rem); line-height: 1; display: inline-block; letter-spacing: -.02em; }
.mmenu__link:hover .mmenu__txt, .mmenu__link:focus-visible .mmenu__txt { font-style: italic; color: var(--amber); }
.mmenu__foot { display: grid; gap: 16px; }
.mmenu__meta { display: flex; justify-content: space-between; gap: 12px; font-size: .8125rem; color: var(--text-2); flex-wrap: wrap; }
.mmenu__meta a { min-height: 44px; display: inline-flex; align-items: center; }
@media (min-width: 961px) { .mmenu { display: none; } }

/* --- Sections ------------------------------------------------------------ */
.section { padding-block: var(--section); position: relative; }
.section + .section { padding-top: calc(var(--section) * .5); }
.section-head { display: grid; grid-template-columns: 1fr auto; align-items: end; gap: 24px 48px; margin-bottom: clamp(40px, 6vw, 88px); }
.section-head .eyebrow { grid-column: 1 / -1; }
.section-head h2 { max-width: 14ch; }
@media (max-width: 700px) { .section-head { grid-template-columns: 1fr; } }

/* --- Preloader ----------------------------------------------------------- */
.preloader {
  position: fixed; inset: 0; z-index: 9600;
  background: var(--ink);
  display: grid; grid-template-rows: auto 1fr auto auto;
  padding: calc(24px + var(--safe-t)) var(--gutter) calc(32px + var(--safe-b));
}
.preloader__top { display: flex; justify-content: space-between; }
.preloader__count { align-self: end; display: flex; align-items: flex-start; overflow: hidden; line-height: .8; font-size: clamp(7rem, 30vw, 26rem); letter-spacing: -.04em; padding-top: .06em; }
.preloader__num { display: inline-block; font-variant-numeric: tabular-nums; }
.preloader__pct { font-size: .25em; font-style: italic; color: var(--amber); margin-top: .2em; margin-left: .1em; }
.preloader__line { height: 1px; background: var(--bone-12); margin: 20px 0 16px; position: relative; overflow: hidden; }
.preloader__line span { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.preloader__caption { font-size: 1.25rem; color: var(--text-2); display: flex; justify-content: space-between; gap: 16px; }
.preloader__caption em { color: var(--amber); }
.is-loading { overflow: hidden; }

/* --- Hero ---------------------------------------------------------------- */
.hero { position: relative; height: 100vh; height: 100svh; min-height: 560px; overflow: hidden; background: #0a0806; }
.hero__canvas, .hero__fallback { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__canvas { z-index: 1; transform-origin: 50% 60%; }
.hero__fallback { z-index: 0; }
.hero__vignette { position: absolute; inset: 0; z-index: 2; pointer-events: none; opacity: .55;
  background: radial-gradient(110% 85% at 50% 42%, transparent 35%, rgba(14,13,11,.55) 70%, rgba(14,13,11,.97) 100%), linear-gradient(180deg, rgba(14,13,11,.55) 0%, transparent 25%, transparent 55%, rgba(14,13,11,.9) 100%); }
.hero__glow { position: absolute; inset: 0; z-index: 2; pointer-events: none; background: radial-gradient(40% 30% at 62% 44%, rgba(232,163,61,.18), transparent 70%); mix-blend-mode: screen; }
.hero__content { position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; padding-bottom: clamp(28px, 6vh, 64px); padding-top: 110px; max-width: 1680px; will-change: transform, filter, opacity; }
.hero__eyebrow { margin-bottom: clamp(16px, 3vh, 32px); }
.hero__title { font-size: clamp(3.6rem, 12vw, 13rem); line-height: .84; letter-spacing: -.03em; word-spacing: .14em; display: grid; }
.hero__line { display: block; }
.hero__line--indent { padding-left: 18%; }
.hero__line--right { text-align: right; padding-right: 2%; }
.hero__line em { color: var(--amber); }
.hero__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; margin-top: clamp(24px, 4vh, 48px); flex-wrap: wrap; }
.hero__lede { max-width: 38ch; color: var(--bone-80); font-size: var(--fs-lead); }
.hero__ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.hero__meta { position: absolute; z-index: 3; top: 96px; right: var(--gutter); display: grid; gap: 4px; text-align: right; font-size: .6875rem; letter-spacing: .12em; color: var(--bone-60); text-transform: uppercase; }
.hero__meta b { color: var(--amber); font-weight: 500; }
.hero__scroll { position: absolute; z-index: 3; left: 50%; bottom: 18px; transform: translateX(-50%); display: grid; justify-items: center; gap: 8px; font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--bone-60); }
.hero__scroll-line { width: 1px; height: 44px; background: var(--bone-20); position: relative; overflow: hidden; }
.hero__scroll-line::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: var(--amber); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { to { top: 110%; } }
@media (max-width: 760px) {
  .hero__line--indent { padding-left: 10%; }
  .hero__scroll { display: none; }
  .hero__ctas .btn { flex: 1; }
  .hero__ctas { width: 100%; }
  .hero__meta { top: 88px; }
}

/* --- Story (circle reveal + scrub 2) ------------------------------------ */
.story { position: relative; height: 100vh; height: 100svh; overflow: hidden; background: var(--ink); }
.story__intro { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; gap: 20px; z-index: 1; padding: var(--gutter); }
.story__intro-title { font-size: clamp(3.5rem, 13vw, 12rem); }
.story__intro .eyebrow { justify-self: center; }
.story__reveal { position: absolute; inset: 0; z-index: 2; clip-path: circle(9% at 50% 50%); will-change: clip-path; }
.story__canvas { width: 100%; height: 100%; }
.story__reveal::before { content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; background: linear-gradient(90deg, rgba(14,13,11,.8) 0%, rgba(14,13,11,.25) 45%, transparent 70%), linear-gradient(0deg, rgba(14,13,11,.75), transparent 45%); }
.story__lines { position: absolute; z-index: 4; left: 0; right: 0; bottom: clamp(48px, 12vh, 140px); pointer-events: none; }
.story__line { position: absolute; bottom: 0; left: var(--gutter); max-width: 13ch; font-size: clamp(2.6rem, 6.4vw, 6.5rem); line-height: .95; letter-spacing: -.025em; opacity: 0; }
.story__line em { color: var(--amber); }
.story__tag { position: absolute; z-index: 4; top: calc(96px + var(--safe-t)); left: var(--gutter); display: flex; align-items: center; gap: 12px; padding: 8px 16px 8px 8px; border-radius: 99px; font-size: .8125rem; opacity: 0; }
.story__tag img { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.story__tag b { font-weight: 700; }
.story__counter { position: absolute; z-index: 4; right: var(--gutter); bottom: clamp(48px, 12vh, 140px); display: grid; gap: 10px; justify-items: end; }
.story__ticks { display: flex; gap: 6px; }
.story__ticks span { width: 28px; height: 2px; background: var(--bone-20); position: relative; overflow: hidden; border-radius: 2px; }
.story__ticks span i { position: absolute; inset: 0; background: var(--amber); transform: scaleX(0); transform-origin: left; }
.story__num { font-family: var(--mono); font-size: .75rem; color: var(--bone-60); letter-spacing: .1em; }
@media (max-width: 760px) {
  .story__line { max-width: 11ch; right: var(--gutter); }
  .story__counter { bottom: auto; top: calc(104px + var(--safe-t)); }
  .story__tag { top: calc(96px + var(--safe-t)); }
  .story__counter .story__num { display: none; }
}

/* --- Journey (horizontal film strip) ------------------------------------ */
.journey { position: relative; background: var(--ink); overflow: hidden; }
.journey__pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(20px, 4vh, 44px); padding: calc(80px + var(--safe-t)) 0 32px; }
.journey__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; max-width: none; }
.journey__head h2 { font-size: clamp(2.2rem, 5vw, 5rem); max-width: 16ch; }
.journey__head p.muted { max-width: 34ch; font-size: .9375rem; }
.journey__track { display: flex; gap: clamp(16px, 3vw, 40px); padding-inline: var(--gutter); will-change: transform; width: max-content; }
.frame {
  position: relative; flex: none;
  --fh: min(62vh, 600px);
  --fp: clamp(14px, 1.6vw, 22px);
  width: min(78vw, 980px);
  height: var(--fh);
  display: grid;
  /* explicit 9:16 film column — never collapses, whatever the overlay content */
  grid-template-columns: calc((var(--fh) - 2 * var(--fp)) * 9 / 16) minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr);
  gap: clamp(20px, 3vw, 48px);
  padding: var(--fp);
  background: var(--char);
  border: 1px solid var(--line);
  border-radius: 28px;
}
.frame__film {
  position: relative; width: 100%; height: 100%; border-radius: 18px; overflow: hidden; background: #000;
}
.frame__film > img.frame__poster { z-index: 0; }
.frame__film video { z-index: 1; }
.frame__film video, .frame__film img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.frame__film::before, .frame__film::after {
  content: ""; position: absolute; top: 0; bottom: 0; width: 14px; z-index: 3;
  background: repeating-linear-gradient(180deg, transparent 0 10px, rgba(14,13,11,.85) 10px 18px, transparent 18px 24px);
  opacity: .9;
}
.frame__film::before { left: 6px; mask: linear-gradient(90deg, #000 60%, transparent); }
.frame__film::after { right: 6px; }
.frame__shade { position: absolute; inset: 0; z-index: 2; background: linear-gradient(180deg, rgba(14,13,11,.35), transparent 30%, transparent 60%, rgba(14,13,11,.75)); }
.frame__code { position: absolute; z-index: 4; top: 12px; left: 28px; right: 28px; display: flex; justify-content: space-between; font-family: var(--mono); font-size: .5625rem; letter-spacing: .14em; color: var(--bone-80); text-transform: uppercase; }
.frame__overlay { position: absolute; z-index: 4; left: 26px; right: 26px; bottom: 16px; }
.frame__text { display: flex; flex-direction: column; justify-content: space-between; padding: clamp(8px, 1vw, 16px) clamp(4px, 1vw, 16px) clamp(8px, 1vw, 16px) 0; min-width: 0; }
.frame__num { font-family: var(--serif); font-size: clamp(5rem, 11vw, 11rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--bone-40); letter-spacing: -.04em; }
.frame__title { font-family: var(--serif); font-size: clamp(2.4rem, 4.6vw, 4.5rem); line-height: .95; margin: 12px 0 14px; }
.frame__title em { color: var(--amber); }
.frame__body { color: var(--text-2); max-width: 36ch; font-size: clamp(.9375rem, 1.1vw, 1.05rem); }
.frame__meta { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .06em; color: var(--text-3); }
.frame__meta b { color: var(--amber); font-weight: 500; }
.journey__progress { display: grid; gap: 14px; max-width: none; }
.journey__rail { height: 1px; background: var(--bone-12); position: relative; }
.journey__fill { position: absolute; inset: 0; background: var(--amber); transform-origin: left; transform: scaleX(0); }
.journey__fill::after { content: ""; position: absolute; right: -4px; top: -3.5px; width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 12px var(--amber); }
.journey__ticks { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.journey__ticks li { font-family: var(--mono); font-size: .6875rem; letter-spacing: .08em; color: var(--text-3); text-transform: uppercase; transition: color .4s; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.journey__ticks li.is-active { color: var(--amber); }
/* mini UI overlays inside film frames */
.ov-rec { display: flex; align-items: center; justify-content: space-between; font-family: var(--mono); font-size: .75rem; }
.ov-rec__dot { display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; border-radius: 99px; background: rgba(14,13,11,.6); backdrop-filter: blur(8px); }
.ov-rec__dot::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--ember); animation: blink 1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .2; } }
.ov-shutter { width: 54px; height: 54px; border-radius: 50%; border: 3px solid var(--bone); display: grid; place-items: center; }
.ov-shutter::after { content: ""; width: 20px; height: 20px; border-radius: 5px; background: var(--ember); }
.ov-card { padding: 10px 12px; border-radius: 14px; background: rgba(18,17,13,.72); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border: 1px solid var(--bone-12); font-size: .75rem; display: grid; gap: 8px; }
.ov-card .row { --gap: 8px; }
.ov-card .mono { font-size: .625rem; color: var(--text-2); }
.ov-card .conf { font-size: .7rem; }
.ov-chip { display: inline-flex; align-items: center; gap: 6px; padding: 4px 9px; border-radius: 99px; font-size: .6875rem; font-weight: 700; background: var(--amber); color: var(--ink); }
.ov-chip svg { width: 12px; height: 12px; }
/* Phones: vertical stack with gutters (no horizontal pin) */
@media (max-width: 767px) {
  .journey__pin { height: auto; padding: clamp(88px, 11vw, 160px) 0 24px; gap: 28px; }
  .journey__head h2 { font-size: 2.4rem; }
  .journey__track { flex-direction: column; width: auto; padding-inline: var(--gutter); gap: 18px; transform: none !important; }
  .frame { width: 100%; height: auto; grid-template-columns: 1fr; grid-template-rows: auto auto; gap: 16px; padding: 12px; }
  .frame__film { height: auto; aspect-ratio: 4 / 5; }
  .frame__num { font-size: 3.5rem; position: absolute; top: 22px; right: 22px; z-index: 5; -webkit-text-stroke: 1px var(--bone-60); }
  .frame__title { font-size: 2.2rem; margin: 0 0 8px; }
  .frame__text { padding: 0 6px 8px; }
  .frame__body { font-size: .9375rem; }
  .frame__meta { margin-top: 12px; padding-top: 12px; }
  .journey__progress { display: none; }
}
@media (max-height: 700px) and (min-width: 768px) { .frame { --fh: 58vh; } }

/* --- Phone showcase ------------------------------------------------------ */
.pshow { position: relative; background: radial-gradient(60% 50% at 70% 50%, rgba(232,163,61,.09), transparent 70%), var(--ink); }
.pshow__pin { height: 100vh; height: 100svh; display: grid; grid-template-columns: 1fr minmax(300px, 420px); align-items: center; gap: clamp(32px, 6vw, 120px); padding-top: 80px; padding-bottom: 32px; }
.pshow__copy h2 { margin: 18px 0 28px; max-width: 12ch; }
.pshow__steps { display: grid; gap: 4px; margin-bottom: 32px; counter-reset: s; }
.pshow__step { position: relative; padding: 18px 0 18px 56px; border-top: 1px solid var(--line); transition: opacity .5s; opacity: .35; }
.pshow__step:last-child { border-bottom: 1px solid var(--line); }
.pshow__step.is-active { opacity: 1; }
.pshow__step::before { counter-increment: s; content: "0" counter(s); position: absolute; left: 0; top: 20px; font-family: var(--mono); font-size: .75rem; color: var(--amber); }
.pshow__step::after { content: ""; position: absolute; left: 0; top: -1px; height: 1px; width: 0; background: var(--amber); transition: width .8s var(--ease-out); }
.pshow__step.is-active::after { width: 100%; }
.pshow__step h3 { font-family: var(--serif); font-size: clamp(1.6rem, 2.4vw, 2.2rem); line-height: 1; margin-bottom: 6px; }
.pshow__step p { color: var(--text-2); font-size: .9375rem; max-width: 42ch; }

.phone-wrap { perspective: 1400px; display: grid; justify-items: center; }
.phone {
  position: relative;
  height: min(78vh, 760px);
  width: auto;
  max-width: 100%;
  aspect-ratio: 9 / 19.3;
  border-radius: 58px;
  padding: 12px;
  background: linear-gradient(145deg, #3a352c, #14120e 40%, #2a261f 70%, #0e0d0b);
  box-shadow: 0 0 0 1.5px #4a443a, inset 0 0 0 1.5px #000, 0 60px 120px -30px rgba(0,0,0,.9), 0 30px 60px -30px rgba(232,163,61,.25);
  transform-style: preserve-3d;
}
.phone::before, .phone::after { content: ""; position: absolute; width: 4px; border-radius: 2px; background: #2a261f; }
.phone::before { left: -4px; top: 22%; height: 9%; box-shadow: 0 70px 0 #2a261f; }
.phone::after { right: -4px; top: 28%; height: 13%; }
.phone__screen { position: relative; width: 100%; height: 100%; border-radius: 46px; overflow: hidden; background: var(--ink); isolation: isolate; }
.phone__island { position: absolute; top: 11px; left: 50%; width: 31%; height: 30px; margin-left: -15.5%; background: #000; border-radius: 20px; z-index: 30; }
.phone__glare { position: absolute; inset: 0; z-index: 29; pointer-events: none; background: linear-gradient(115deg, rgba(255,255,255,.08) 0%, transparent 30%, transparent 70%, rgba(255,255,255,.03)); border-radius: inherit; }
.pscreen { position: absolute; top: 0; left: 0; width: 330px; height: 100%; transform-origin: 0 0; overflow: hidden; background: var(--ink); font-size: 12px; line-height: 1.4; }
.pscreen + .pscreen { clip-path: inset(100% 0 0 0); }
.ps-status { display: flex; justify-content: space-between; align-items: center; padding: 16px 26px 0; height: 46px; font-weight: 700; font-size: 12px; }
.ps-status__icons { display: flex; gap: 5px; align-items: center; }
.ps-status__icons svg { width: 14px; height: 14px; }
.ps-body { padding: 10px 16px 90px; display: grid; gap: 12px; }
.ps-hello { font-family: var(--serif); font-size: 30px; line-height: 1; margin-top: 6px; }
.ps-hello em { color: var(--amber); }
.ps-hh { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; color: var(--text-2); padding: 5px 10px; border: 1px solid var(--line-2); border-radius: 99px; width: max-content; }
.ps-hh svg { width: 12px; height: 12px; }
.ps-dog { position: relative; border-radius: 22px; overflow: hidden; aspect-ratio: 4 / 4.4; }
.ps-dog img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ps-dog::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(14,13,11,.9)); }
.ps-dog__info { position: absolute; left: 14px; right: 14px; bottom: 12px; z-index: 2; display: flex; justify-content: space-between; align-items: flex-end; }
.ps-dog__name { font-family: var(--serif); font-size: 34px; line-height: .9; }
.ps-dog__meta { font-size: 10px; color: var(--bone-80); font-family: var(--mono); }
.ps-card { padding: 12px; border-radius: 16px; background: var(--char); border: 1px solid var(--line); display: grid; gap: 6px; }
.ps-card__label { font-family: var(--mono); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.ps-card__title { font-weight: 700; font-size: 12.5px; }
.ps-tabbar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 58px; border-radius: 22px; display: flex; justify-content: space-around; align-items: center; background: rgba(23,21,15,.85); backdrop-filter: blur(10px); border: 1px solid var(--line); z-index: 5; }
.ps-tabbar span { display: grid; justify-items: center; gap: 2px; font-size: 8.5px; color: var(--text-3); font-weight: 600; }
.ps-tabbar span.on { color: var(--amber); }
.ps-tabbar svg { width: 17px; height: 17px; }
.ps-top { display: flex; align-items: center; gap: 10px; padding: 0 16px; }
.ps-top svg { width: 18px; height: 18px; }
.ps-cover { height: 150px; position: relative; margin-top: -46px; }
.ps-cover img { width: 100%; height: 100%; object-fit: cover; }
.ps-cover::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,.5), transparent 40%, var(--ink)); }
.ps-title { font-family: var(--serif); font-size: 40px; line-height: .9; margin-top: -34px; position: relative; padding: 0 16px; }
.ps-tl { position: relative; display: grid; gap: 14px; padding-left: 18px; }
.ps-tl::before { content: ""; position: absolute; left: 4px; top: 6px; bottom: 6px; width: 1px; background: var(--line-2); }
.ps-tl__item { position: relative; display: grid; gap: 6px; }
.ps-tl__item::before { content: ""; position: absolute; left: -18px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 3px var(--ink); }
.ps-tl__date { font-family: var(--mono); font-size: 9.5px; color: var(--amber); letter-spacing: .06em; }
.ps-thumb { display: flex; gap: 8px; align-items: center; padding: 6px; border-radius: 12px; background: var(--char); border: 1px solid var(--line); }
.ps-thumb img { width: 64px; height: 40px; border-radius: 8px; object-fit: cover; }
.ps-thumb b { font-size: 11px; display: block; }
.ps-thumb small { font-size: 9.5px; color: var(--text-3); font-family: var(--mono); }
.ps-tags { display: flex; gap: 5px; flex-wrap: wrap; }
.ps-tags .tag { height: 20px; font-size: 9.5px; padding: 0 7px; gap: 5px; }
.ps-tags .tag::before { width: 5px; height: 5px; }
.ps-video { margin-top: -46px; aspect-ratio: 16 / 10; position: relative; background: #000; }
.ps-video video { width: 100%; height: 100%; object-fit: cover; }
.ps-video__bar { position: absolute; left: 10px; right: 10px; bottom: 10px; height: 3px; background: var(--bone-20); border-radius: 3px; }
.ps-video__bar i { position: absolute; inset: 0 auto 0 0; width: 38%; background: var(--amber); border-radius: inherit; }
.ps-video__bar span { position: absolute; top: -3px; width: 9px; height: 9px; margin-left: -4px; border-radius: 50%; background: var(--bone); border: 2px solid var(--ink); }
.ps-h { font-family: var(--serif); font-size: 26px; line-height: 1; }
.ps-note { padding: 10px 12px; border-left: 2px solid var(--amber); background: var(--amber-12); border-radius: 0 12px 12px 0; font-size: 11px; color: var(--bone-80); }
.ps-ts { display: grid; gap: 4px; }
.ps-ts div { display: flex; gap: 10px; align-items: center; padding: 7px 10px; border-radius: 10px; background: var(--char); border: 1px solid var(--line); font-size: 11px; }
.ps-ts div.on { border-color: var(--amber); background: var(--amber-12); }
.ps-ts b { font-family: var(--mono); color: var(--amber); font-weight: 500; font-size: 10px; }
@media (max-width: 900px) {
  .pshow__pin { grid-template-columns: 1fr; grid-template-rows: auto 1fr; gap: 16px; padding-top: calc(84px + var(--safe-t)); align-content: start; }
  .pshow__copy h2 { margin: 8px 0 0; font-size: 2.3rem; }
  .pshow__copy .eyebrow, .pshow__copy .link-arrow { display: none; }
  .pshow__steps { position: relative; min-height: 76px; margin: 10px 0 0; }
  .pshow__step { position: absolute; inset: 0; padding: 0 0 0 36px; border: 0 !important; opacity: 0; }
  .pshow__step::before { top: 2px; }
  .pshow__step::after { display: none; }
  .pshow__step.is-active { opacity: 1; }
  .pshow__step h3 { font-size: 1.4rem; }
  .pshow__step p { font-size: .8125rem; }
  .pshow__copy { order: 2; }
  .phone-wrap { order: 1; height: 100%; min-height: 0; align-items: center; }
  .phone { height: min(56vh, 560px); width: auto; border-radius: 44px; padding: 9px; }
  .phone__screen { border-radius: 36px; }
}

/* --- Marquee ------------------------------------------------------------- */
.marquee { padding-block: clamp(64px, 10vw, 140px); overflow: hidden; border-block: 1px solid var(--line); background: var(--ink); position: relative; }
.marquee__row { display: flex; width: max-content; white-space: nowrap; will-change: transform; }
.marquee__row + .marquee__row { margin-top: clamp(4px, 1vw, 12px); }
.marquee__inner { display: flex; flex: none; will-change: transform; }
.marquee__item { display: inline-flex; align-items: center; gap: clamp(20px, 3vw, 48px); padding-right: clamp(20px, 3vw, 48px); font-family: var(--serif); font-size: clamp(3.5rem, 10vw, 10.5rem); line-height: 1.05; letter-spacing: -.03em; }
.marquee__row--b .marquee__item { font-style: italic; color: transparent; -webkit-text-stroke: 1px var(--bone-40); }
.marquee__item:hover { color: var(--amber); -webkit-text-stroke-color: var(--amber); }
.marquee__sep { width: clamp(16px, 2vw, 28px); height: clamp(16px, 2vw, 28px); color: var(--amber); flex: none; }
.marquee__sep svg { width: 100%; height: 100%; }

/* --- Guide cards (academy) ---------------------------------------------- */
.guide-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: clamp(16px, 2vw, 28px); }
.gcard { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 10px 10px 22px; border-radius: 28px; background: var(--char); border: 1px solid var(--line); transition: border-color .4s, transform .6s var(--ease-out), background .4s; }
.gcard:hover { border-color: var(--bone-20); background: var(--char-2); }
.gcard__media { position: relative; aspect-ratio: 4 / 3.2; border-radius: 20px; overflow: hidden; background: #000; }
.gcard__media img, .gcard__media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), opacity .6s; }
.gcard__media video { opacity: 0; }
.gcard.is-previewing .gcard__media video { opacity: 1; }
.gcard:hover .gcard__media img, .gcard:hover .gcard__media video { transform: scale(1.06); }
.gcard__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(14,13,11,.6)); }
.gcard__badges { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 2; display: flex; justify-content: space-between; gap: 8px; }
.gcard__badges .badge { background: rgba(14,13,11,.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.gcard__play { position: absolute; z-index: 2; right: 14px; bottom: 14px; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--bone); color: var(--ink); transform: scale(.7); opacity: 0; transition: all .5s var(--ease-out); }
.gcard__play svg { width: 16px; height: 16px; fill: currentColor; }
.gcard:hover .gcard__play { transform: scale(1); opacity: 1; }
.gcard__body { padding: 0 12px; display: grid; gap: 10px; }
.gcard__meta { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-family: var(--mono); font-size: .6875rem; color: var(--text-3); letter-spacing: .06em; }
.gcard__title { font-family: var(--serif); font-size: clamp(1.9rem, 2.6vw, 2.5rem); line-height: 1; letter-spacing: -.015em; }
.gcard__title em { color: var(--amber); }
.gcard__sub { color: var(--text-2); font-size: .9375rem; }
.gcard--draft { opacity: .75; }
.gcard--draft .gcard__title::after { content: " — soon"; font-style: italic; color: var(--text-3); font-size: .6em; }

/* --- Privacy ------------------------------------------------------------- */
.privacy { padding-bottom: clamp(56px, 7vw, 104px); }
.privacy__grid { display: grid; grid-template-columns: minmax(280px, 1fr) 1.15fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.privacy__art { position: relative; aspect-ratio: 1; max-width: 480px; width: 100%; justify-self: center; }
.privacy__art svg { width: 100%; height: 100%; overflow: visible; }
.privacy__art .draw { fill: none; stroke: var(--amber); stroke-width: 1.2; stroke-linecap: round; stroke-linejoin: round; }
.privacy__art .draw--faint { stroke: var(--bone-20); stroke-width: 1; }
.privacy__art .draw--bone { stroke: var(--bone); stroke-width: 1.5; }
.privacy__label { position: absolute; font-family: var(--mono); font-size: .625rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-2); padding: 6px 10px; border: 1px solid var(--line-2); border-radius: 99px; background: rgba(14,13,11,.8); }
.privacy__copy h2 { margin: 18px 0 24px; }
.ladder { margin-top: 28px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.ladder li { display: grid; grid-template-columns: 44px 1fr auto; gap: 16px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line); }
.ladder__icon { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line-2); color: var(--amber); }
.ladder__icon svg { width: 18px; height: 18px; }
.ladder li:first-child .ladder__icon { background: var(--amber); color: var(--ink); border-color: var(--amber); }
.ladder h3 { font-family: var(--sans); font-size: 1rem; font-weight: 700; line-height: 1.3; }
.ladder p { font-size: .875rem; color: var(--text-2); }
.ladder .mono { font-size: .6875rem; color: var(--text-3); letter-spacing: .08em; }
@media (max-width: 900px) { .privacy__grid { grid-template-columns: 1fr; } .privacy__art { max-width: 360px; } .ladder li { grid-template-columns: 44px 1fr; } .ladder .mono { grid-column: 2; } }

/* --- Community teaser ---------------------------------------------------- */
.community { overflow: hidden; }
.community__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 100px); align-items: center; }
.community__copy h2 { margin: 18px 0 24px; }
.community__copy .badge { margin-top: 24px; }
.community__feed { position: relative; height: clamp(480px, 60vw, 640px); }
.cpost { position: absolute; width: min(300px, 70%); padding: 10px; border-radius: 24px; background: var(--char); border: 1px solid var(--line-2); box-shadow: var(--shadow-2); }
.cpost__head { display: flex; align-items: center; gap: 10px; padding: 4px 4px 10px; }
.cpost__head b { font-size: .875rem; display: block; line-height: 1.2; }
.cpost__head small { font-size: .7rem; color: var(--text-3); font-family: var(--mono); }
.cpost__img { aspect-ratio: 4 / 3.4; border-radius: 16px; overflow: hidden; }
.cpost__img img { width: 100%; height: 100%; object-fit: cover; }
.cpost__text { font-size: .875rem; padding: 10px 4px 4px; }
.cpost__foot { display: flex; gap: 14px; padding: 6px 4px 2px; font-size: .75rem; color: var(--text-3); font-family: var(--mono); }
.cpost__foot span { display: inline-flex; align-items: center; gap: 5px; }
.cpost__foot svg { width: 14px; height: 14px; }
.cpost:nth-child(1) { left: 0; top: 8%; transform: rotate(-6deg); z-index: 1; }
.cpost:nth-child(2) { left: 28%; top: 0; transform: rotate(3deg); z-index: 3; }
.cpost:nth-child(3) { right: 0; top: 22%; transform: rotate(8deg); z-index: 2; }
.cpost:nth-child(4) { left: 14%; top: 44%; transform: rotate(-3deg); z-index: 4; }
.community__soon { position: absolute; z-index: 6; left: 50%; top: 50%; transform: translate(-50%, -50%) rotate(-8deg); padding: 14px 28px; border-radius: 99px; background: var(--amber); color: var(--ink); font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 3vw, 2.4rem); white-space: nowrap; box-shadow: 0 20px 50px -10px rgba(232,163,61,.5); }
@media (max-width: 900px) { .community__grid { grid-template-columns: 1fr; } .community__feed { height: 560px; } .cpost { width: 62%; } }

/* --- CTA ----------------------------------------------------------------- */
.cta { position: relative; min-height: 100vh; min-height: 100svh; display: grid; align-items: center; overflow: hidden; }
.cta__bg { position: absolute; inset: -10% 0; z-index: 0; }
.cta__bg video, .cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 70% at 50% 50%, rgba(14,13,11,.35), rgba(14,13,11,.92)), linear-gradient(180deg, var(--ink), transparent 25%, transparent 75%, var(--ink)); }
.cta__inner { position: relative; z-index: 2; display: grid; gap: 28px; justify-items: start; padding-block: 140px; }
.cta__title { font-size: clamp(4rem, 13vw, 13rem); line-height: .84; letter-spacing: -.04em; }
.cta__row { display: flex; align-items: center; gap: clamp(24px, 4vw, 64px); flex-wrap: wrap; width: 100%; justify-content: space-between; }
.cta__row p { max-width: 36ch; color: var(--bone-80); font-size: var(--fs-lead); }
.cta-btn { position: relative; width: clamp(170px, 18vw, 230px); aspect-ratio: 1; border-radius: 50%; background: var(--amber); color: var(--ink); display: grid; place-items: center; text-align: center; font-weight: 800; font-size: 1.05rem; line-height: 1.15; transition: background .4s, box-shadow .4s; box-shadow: 0 30px 70px -20px rgba(232,163,61,.6); }
.cta-btn:hover { background: var(--bone); }
.cta-btn__ring { position: absolute; inset: 8px; animation: spinSlow 18s linear infinite; }
.cta-btn__ring text { font-family: var(--mono); font-size: 7.2px; letter-spacing: .32em; text-transform: uppercase; fill: var(--ink); }
.cta-btn .magnet-inner { display: grid; justify-items: center; gap: 6px; }
.cta-btn .magnet-inner svg { width: 26px; height: 26px; }
@keyframes spinSlow { to { transform: rotate(360deg); } }

/* --- Footer -------------------------------------------------------------- */
.footer { position: relative; background: var(--ink); border-top: 1px solid var(--line); overflow: hidden; padding-top: clamp(64px, 8vw, 120px); }
.footer__top { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; }
.footer__intro { display: grid; gap: 22px; justify-items: start; align-content: start; }
.footer__big { font-size: clamp(2.2rem, 4vw, 3.8rem); line-height: 1; max-width: 14ch; }
.footer__big em { color: var(--amber); }
.footer__cols { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer__h { font-family: var(--mono); font-size: .6875rem; font-weight: 500; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 14px; }
.footer__cols li a { display: inline-flex; min-height: 36px; align-items: center; color: var(--text-2); font-size: .9375rem; transition: color .3s, transform .4s var(--ease-out); }
.footer__cols li a:hover { color: var(--amber); transform: translateX(4px); }
.footer__wordmark { font-family: var(--serif); font-style: italic; font-size: clamp(7rem, 31vw, 34rem); line-height: .78; letter-spacing: -.05em; text-align: center; color: var(--bone); margin-top: clamp(40px, 6vw, 80px); overflow: hidden; padding-bottom: .04em; user-select: none; white-space: nowrap; }
.footer__wordmark span { display: inline-block; background: linear-gradient(180deg, var(--bone) 30%, rgba(232,163,61,.85)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__base { display: flex; justify-content: space-between; align-items: center; gap: 12px 24px; flex-wrap: wrap; padding-block: 24px calc(24px + var(--safe-b)); border-top: 1px solid var(--line); font-size: .75rem; color: var(--text-2); }
.footer__top-btn { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 650; }
.footer__top-btn svg { width: 16px; height: 16px; }
.footer__top-btn:hover { color: var(--amber); }
@media (max-width: 860px) { .footer__top { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .footer__cols { grid-template-columns: 1fr 1fr; } }

/* ==========================================================================
   Interior pages
   ========================================================================== */
.phero { position: relative; padding-top: calc(150px + var(--safe-t)); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.phero__title { font-size: clamp(3.6rem, 11vw, 11rem); line-height: .86; letter-spacing: -.04em; margin: 22px 0 28px; opacity: 0; }
.phero__row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px 48px; flex-wrap: wrap; }
.phero__glow { position: absolute; right: -10%; top: -20%; width: 60vw; height: 60vw; border-radius: 50%; background: radial-gradient(circle, rgba(232,163,61,.14), transparent 60%); pointer-events: none; z-index: -1; }
[data-split] { opacity: 0; }
.no-js [data-split], .reduced [data-split] { opacity: 1; }

/* About */
.about-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(32px, 6vw, 96px); align-items: end; }
.about-portrait { position: relative; aspect-ratio: 4 / 5; border-radius: 32px; overflow: hidden; }
.about-portrait img, .about-portrait video { width: 100%; height: 115%; object-fit: cover; }
.about-portrait__cap { position: absolute; left: 16px; bottom: 16px; right: 16px; z-index: 2; display: flex; justify-content: space-between; font-family: var(--mono); font-size: .625rem; letter-spacing: .12em; text-transform: uppercase; color: var(--bone-80); }
.about-story { display: grid; grid-template-columns: 220px 1fr; gap: clamp(24px, 5vw, 80px); }
.about-story__aside { position: sticky; top: 120px; align-self: start; }
.about-story__body { display: grid; gap: 28px; }
.about-story__body .big { font-family: var(--serif); font-size: clamp(2rem, 3.6vw, 3.4rem); line-height: 1.05; max-width: 22ch; }
.about-story__body .big em { color: var(--amber); }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: 28px; overflow: hidden; }
.value { background: var(--ink); padding: clamp(24px, 3vw, 44px); display: grid; gap: 16px; align-content: start; min-height: 300px; transition: background .5s; }
.value:hover { background: var(--char); }
.value__n { font-family: var(--mono); font-size: .75rem; color: var(--amber); }
.value h3 { font-size: clamp(2rem, 3vw, 2.8rem); }
.value p { color: var(--text-2); }
.gallery { display: grid; grid-template-columns: 1.2fr .8fr 1fr; gap: 16px; height: clamp(320px, 42vw, 620px); }
.gallery > div { border-radius: 24px; overflow: hidden; position: relative; }
.gallery > div:nth-child(2) { margin-top: 15%; }
.gallery img, .gallery video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 860px) {
  .about-hero, .about-story { grid-template-columns: 1fr; }
  .about-story__aside { position: static; }
  .values { grid-template-columns: 1fr; }
  .value { min-height: 0; }
  .gallery { grid-template-columns: 1fr 1fr; height: auto; }
  .gallery > div { aspect-ratio: 3 / 4; }
  .gallery > div:nth-child(2) { margin-top: 0; }
  .gallery > div:nth-child(3) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
}

/* Academy */
.filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin-bottom: 32px; }
.filters__label { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); margin-right: 8px; }
.academy-bar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 16px; }
.academy-bar .input-icon { width: min(100%, 320px); }
.feature-guide { display: grid; grid-template-columns: 1.3fr 1fr; gap: 0; border-radius: 32px; overflow: hidden; background: var(--char); border: 1px solid var(--line); margin-bottom: clamp(48px, 6vw, 88px); }
.feature-guide__media { position: relative; min-height: 420px; }
.feature-guide__media video, .feature-guide__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.feature-guide__body { padding: clamp(28px, 4vw, 56px); display: grid; gap: 20px; align-content: center; }
.feature-guide__body h2 { font-size: clamp(3rem, 5.5vw, 5.5rem); }
.technique-index { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 0; border-top: 1px solid var(--line); }
.tindex { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 22px 8px 22px 0; border-bottom: 1px solid var(--line); align-items: start; }
.tindex__icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: color-mix(in srgb, var(--tc) 14%, transparent); color: var(--tc); }
.tindex__icon svg { width: 20px; height: 20px; }
.tindex h3 { font-family: var(--serif); font-size: 1.6rem; line-height: 1.05; }
.tindex p { font-size: .875rem; color: var(--text-2); }
@media (max-width: 860px) { .feature-guide { grid-template-columns: 1fr; } .feature-guide__media { min-height: 280px; } }

/* Guide detail */
.guide-hero { position: relative; min-height: 92vh; min-height: 92svh; display: grid; align-items: end; overflow: hidden; padding-top: 140px; }
.guide-hero__media { position: absolute; inset: 0; z-index: 0; }
.guide-hero__media img { width: 100%; height: 115%; object-fit: cover; }
.guide-hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(14,13,11,.5) 0%, transparent 30%, rgba(14,13,11,.6) 65%, var(--ink) 100%), linear-gradient(90deg, rgba(14,13,11,.6), transparent 60%); }
.guide-hero__inner { position: relative; z-index: 2; padding-bottom: clamp(32px, 6vh, 72px); }
.guide-hero h1 { font-size: clamp(4rem, 13vw, 13rem); line-height: .84; letter-spacing: -.045em; margin: 20px 0 22px; }
.guide-hero__meta { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.crumbs { display: flex; gap: 8px; font-family: var(--mono); font-size: .6875rem; letter-spacing: .1em; text-transform: uppercase; color: var(--text-2); flex-wrap: wrap; }
.crumbs a:hover { color: var(--amber); }
.guide-layout { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: clamp(32px, 6vw, 110px); padding-block: clamp(48px, 7vw, 100px); }
.toc { position: sticky; top: 110px; align-self: start; display: grid; gap: 4px; }
.toc__title { font-family: var(--mono); font-size: .6875rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); margin-bottom: 10px; }
.toc a { position: relative; display: flex; align-items: center; gap: 10px; min-height: 36px; font-size: .875rem; color: var(--text-3); transition: color .3s; }
.toc a::before { content: ""; width: 14px; height: 1px; background: currentColor; transition: width .4s var(--ease-out), background .3s; }
.toc a:hover { color: var(--text); }
.toc a.is-active { color: var(--bone); }
.toc a.is-active::before { width: 28px; background: var(--amber); }
.toc__progress { margin-top: 16px; }
.gsec { padding-bottom: clamp(48px, 6vw, 88px); margin-bottom: clamp(48px, 6vw, 88px); border-bottom: 1px solid var(--line); scroll-margin-top: 110px; }
.gsec:last-child { border-bottom: 0; }
.gsec__n { font-family: var(--mono); font-size: .75rem; color: var(--amber); letter-spacing: .1em; }
.gsec h2 { font-size: clamp(2.6rem, 5vw, 4.6rem); margin: 12px 0 24px; }
.gsec > p, .gsec__body p { font-size: clamp(1.05rem, 1.3vw, 1.25rem); color: var(--bone-80); max-width: 60ch; line-height: 1.65; }
.steps { display: grid; gap: 0; counter-reset: st; margin-top: 12px; }
.steps li { display: grid; grid-template-columns: clamp(64px, 8vw, 120px) 1fr; gap: 20px; padding: 26px 0; border-top: 1px solid var(--line); align-items: baseline; }
.steps__n { font-family: var(--serif); font-size: clamp(3rem, 6vw, 5.5rem); line-height: .8; color: transparent; -webkit-text-stroke: 1px var(--amber); }
.steps p { font-size: clamp(1.05rem, 1.4vw, 1.3rem); max-width: 50ch; }
.mistakes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 12px; }
.mistakes li { display: flex; gap: 14px; align-items: flex-start; padding: 20px; border-radius: 20px; background: var(--ember-15); border: 1px solid rgba(200,85,61,.25); font-weight: 600; }
.mistakes svg { color: var(--ember-hi); width: 20px; height: 20px; flex: none; margin-top: 2px; }
.homework { display: grid; grid-template-columns: 1fr auto; gap: 24px 48px; padding: clamp(24px, 3.5vw, 48px); border-radius: 32px; background: linear-gradient(135deg, rgba(232,163,61,.12), rgba(232,163,61,.02)); border: 1px solid rgba(232,163,61,.25); align-items: start; }
.homework__list { display: grid; }
.homework__list .check { border-bottom: 1px solid var(--line); padding: 16px 0; font-size: 1.05rem; }
.homework__side { display: grid; justify-items: center; gap: 14px; text-align: center; }
.homework__done { font-family: var(--serif); font-style: italic; color: var(--amber); font-size: 1.4rem; min-height: 1.4em; }
@media (max-width: 640px) { .homework { grid-template-columns: 1fr; } .homework__side { grid-row: 1; justify-items: start; grid-template-columns: auto 1fr; align-items: center; text-align: left; } }
.related { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); gap: 16px; }
@media (max-width: 960px) {
  .guide-layout { grid-template-columns: 1fr; }
  .toc { position: sticky; top: 76px; z-index: 5; display: flex; gap: 6px; overflow-x: auto; padding: 10px 0; background: rgba(14,13,11,.9); -webkit-backdrop-filter: var(--blur); backdrop-filter: var(--blur); margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; border-bottom: 1px solid var(--line); }
  .toc::-webkit-scrollbar { display: none; }
  .toc__title, .toc__progress { display: none; }
  .toc a { flex: none; padding: 0 12px; border: 1px solid var(--line-2); border-radius: 99px; white-space: nowrap; }
  .toc a::before { display: none; }
  .toc a.is-active { background: var(--bone); color: var(--ink); border-color: var(--bone); }
  .nav.is-hidden ~ main .toc { top: 0; }
}

/* Blog */
.post-feature { display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(24px, 4vw, 64px); align-items: center; margin-bottom: clamp(64px, 8vw, 120px); }
.post-feature__img { aspect-ratio: 4 / 3; border-radius: 32px; overflow: hidden; }
.post-feature__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.post-feature:hover .post-feature__img img { transform: scale(1.04); }
.post-feature h2 { font-size: clamp(2.6rem, 5vw, 4.8rem); margin: 18px 0; }
.post-list { border-top: 1px solid var(--line); }
.post-row { display: grid; grid-template-columns: 120px 1fr 200px; gap: 24px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--line); position: relative; }
.post-row__date { font-family: var(--mono); font-size: .75rem; color: var(--text-3); letter-spacing: .06em; }
.post-row h3 { font-size: clamp(1.8rem, 3vw, 2.8rem); line-height: 1.02; transition: color .3s; }
.post-row p { color: var(--text-2); font-size: .9375rem; margin-top: 8px; }
.post-row__img { aspect-ratio: 4 / 3; border-radius: 16px; overflow: hidden; }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out); }
.post-row:hover h3 { color: var(--amber); }
.post-row:hover .post-row__img img { transform: scale(1.08); }
@media (max-width: 760px) { .post-feature { grid-template-columns: 1fr; } .post-row { grid-template-columns: 1fr 96px; } .post-row__date { grid-column: 1 / -1; } }

/* Article */
.article-hero { padding-top: calc(150px + var(--safe-t)); }
.article-hero h1 { font-size: clamp(3rem, 7.5vw, 7.5rem); line-height: .9; letter-spacing: -.035em; margin: 22px 0; max-width: 16ch; opacity: 0; }
.article-cover { aspect-ratio: 21 / 9; border-radius: 32px; overflow: hidden; margin-block: clamp(32px, 5vw, 64px); }
.article-cover img { width: 100%; height: 120%; object-fit: cover; }
.prose { max-width: 680px; margin-inline: auto; display: grid; gap: 24px; font-size: clamp(1.05rem, 1.25vw, 1.2rem); line-height: 1.75; color: var(--bone-80); }
.prose h2 { font-size: clamp(2rem, 3.6vw, 3rem); color: var(--bone); margin-top: 24px; }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.15; color: var(--amber); border-left: 1px solid var(--amber); padding-left: 24px; margin: 16px 0; }
.prose ul { display: grid; gap: 10px; padding-left: 0; }
.prose ul li { position: relative; padding-left: 28px; }
.prose ul li::before { content: ""; position: absolute; left: 0; top: .8em; width: 14px; height: 1px; background: var(--amber); }
.prose .dropcap::first-letter { font-family: var(--serif); float: left; font-size: 5.2em; line-height: .78; padding: 6px 12px 0 0; color: var(--amber); }
.read-progress { position: fixed; top: 0; left: 0; right: 0; height: 2px; z-index: 900; background: var(--amber); transform-origin: left; transform: scaleX(0); }

/* FAQ */
.faq-layout { display: grid; grid-template-columns: 280px 1fr; gap: clamp(32px, 6vw, 100px); }
.faq-aside { position: sticky; top: 120px; align-self: start; display: grid; gap: 20px; }
.faq-cat { margin-bottom: 64px; }
.faq-cat h2 { font-family: var(--mono); font-size: .75rem; letter-spacing: .14em; text-transform: uppercase; color: var(--amber); margin-bottom: 8px; line-height: 1.4; }
@media (max-width: 860px) { .faq-layout { grid-template-columns: 1fr; } .faq-aside { position: static; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 6vw, 100px); align-items: start; }
.contact-info { display: grid; gap: 28px; position: sticky; top: 120px; }
.contact-info dl { display: grid; gap: 18px; }
.contact-info dt { font-family: var(--mono); font-size: .6875rem; letter-spacing: .12em; text-transform: uppercase; color: var(--text-3); }
.contact-info dd { font-family: var(--serif); font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; }
.contact-info dd a:hover { color: var(--amber); }
.form-card { padding: clamp(24px, 3.5vw, 48px); border-radius: 32px; background: var(--char); border: 1px solid var(--line); position: relative; overflow: hidden; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.chip-set { display: flex; flex-wrap: wrap; gap: 8px; }
.form-success { display: grid; justify-items: start; gap: 18px; padding: 24px 0; }
.form-success h2 { font-size: clamp(2.6rem, 5vw, 4.4rem); }
.success-mark { width: 88px; height: 88px; }
.success-mark circle { fill: none; stroke: var(--amber); stroke-width: 2; stroke-dasharray: 280; stroke-dashoffset: 280; animation: drawIn 1s var(--ease-out) forwards; }
.success-mark path { fill: none; stroke: var(--bone); stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 60; stroke-dashoffset: 60; animation: drawIn .6s var(--ease-out) .6s forwards; }
@keyframes drawIn { to { stroke-dashoffset: 0; } }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } .contact-info { position: static; } }
@media (max-width: 560px) { .form-grid { grid-template-columns: 1fr; } }

/* Login */
.login { min-height: 100vh; min-height: 100svh; display: grid; grid-template-columns: 1.1fr 1fr; }
.login__media { position: relative; overflow: hidden; }
.login__media video, .login__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.login__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent 50%, var(--ink)), linear-gradient(0deg, rgba(14,13,11,.8), transparent 50%); }
.login__quote { position: absolute; z-index: 2; left: var(--gutter); bottom: 48px; right: 30%; font-family: var(--serif); font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: .95; }
.login__quote em { color: var(--amber); }
.login__panel { display: grid; align-content: center; padding: calc(110px + var(--safe-t)) var(--gutter) 48px; }
.login__card { width: min(100%, 460px); display: grid; gap: 24px; }
.login__card h1 { font-size: clamp(3rem, 6vw, 5.2rem); line-height: .9; }
.login__state { display: grid; gap: 18px; }
.mail-art { width: 96px; height: 96px; border-radius: 28px; display: grid; place-items: center; background: var(--amber-12); border: 1px solid rgba(232,163,61,.3); color: var(--amber); position: relative; }
.mail-art svg { width: 40px; height: 40px; }
.mail-art::after { content: ""; position: absolute; top: -4px; right: -4px; width: 18px; height: 18px; border-radius: 50%; background: var(--ember); border: 3px solid var(--ink); animation: pulse 1.6s infinite; color: var(--ember); }
.login__fine { font-size: .8125rem; color: var(--text-3); display: flex; gap: 10px; align-items: flex-start; }
.login__fine svg { width: 16px; height: 16px; flex: none; margin-top: 2px; }
@media (max-width: 900px) {
  .login { grid-template-columns: 1fr; }
  .login__media { position: fixed; inset: 0; opacity: .35; }
  .login__media::after { background: linear-gradient(180deg, rgba(14,13,11,.4), var(--ink) 75%); }
  .login__quote { display: none; }
  .login__panel { position: relative; z-index: 2; }
}

/* Reduced motion overrides for pinned sections */
.reduced .hero, .reduced .story { height: auto; min-height: 100vh; }
.reduced .story__reveal { clip-path: none; position: relative; height: 100vh; }
.reduced .story__intro { display: none; }
.reduced .story__line { position: relative; opacity: 1; margin-bottom: 16px; }
.reduced .story__lines { position: relative; bottom: auto; padding: 48px var(--gutter); }
.reduced .story__tag { opacity: 1; }
.reduced .journey__pin { height: auto; }
.reduced .journey__track { flex-direction: column; width: auto; padding-inline: var(--gutter); }
.reduced .frame { width: 100%; }
.reduced .pshow__pin { height: auto; padding-block: 120px; }
.reduced .pscreen + .pscreen { display: none; }
.reduced .pshow__step { opacity: 1; position: relative; }
.reduced .preloader { display: none; }

/* Keep descenders visible inside SplitText line masks */
:is(h1, h2, h3, p, blockquote) > [class*="-mask"] { padding-bottom: .16em; margin-bottom: -.16em; }
