/* ============================================================
   Ingvar Steinberg — site.css
   Monochrome / chiaroscuro luxury system. v1
   ============================================================ */

:root{
  --ink:#000000;
  --ink-raise:#0A0A0B;
  --white:#ECE7DE;
  --white-soft:#D9D2C6;
  --stone:#8E887C;
  --stone-dim:#5C5852;
  --gold:#C2A878;
  --line:rgba(236,231,222,0.14);
  --line-soft:rgba(236,231,222,0.08);
  --line-gold:rgba(194,168,120,0.55);

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

  --wrap:1680px;
  --gutter:clamp(1.4rem,5vw,4.5rem);
}

*{margin:0;padding:0;box-sizing:border-box}
html{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility;scroll-behavior:smooth;color-scheme:dark}
body{background:var(--ink);color:var(--white);font-family:var(--serif);font-size:18px;line-height:1.6;overflow-x:hidden}
img{max-width:100%;display:block}
a{color:inherit}
::selection{background:var(--gold);color:var(--ink)}
a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible{outline:1px solid var(--gold);outline-offset:5px}

.wrap{max-width:var(--wrap);margin:0 auto;padding-inline:var(--gutter)}
main,.site-foot{position:relative;z-index:1} /* keep content above the receding hero portrait */

/* ---------- shared eyebrow / labels ---------- */
.eyebrow{font-family:var(--sans);font-weight:300;font-size:clamp(.6rem,.85vw,.72rem);
  letter-spacing:.5em;text-transform:uppercase;color:var(--gold);
  display:flex;align-items:center;gap:1rem}
.eyebrow::before{content:"";width:clamp(28px,4vw,54px);height:1px;background:var(--line-gold);flex:none}
.eyebrow--center{justify-content:center}
.eyebrow--center::after{content:"";width:clamp(28px,4vw,54px);height:1px;background:var(--line-gold);flex:none}

/* ============================================================
   TOP NAV (shared)
   ============================================================ */
.site-nav{position:absolute;top:0;left:0;right:0;z-index:20}
.site-nav__inner{max-width:var(--wrap);margin:0 auto;padding:clamp(1.4rem,3.4vw,2.4rem) var(--gutter);
  display:flex;align-items:center;justify-content:space-between}
.brand{display:flex;align-items:center;gap:.85rem;text-decoration:none}
.brand__mark{font-family:var(--display);font-size:1.35rem;letter-spacing:.06em;line-height:1;color:var(--white)}
.brand__rule{width:34px;height:1px;background:var(--line-gold)}
.brand__name{font-family:var(--sans);font-weight:400;font-size:.62rem;letter-spacing:.42em;
  text-transform:uppercase;color:var(--stone)}
.nav-links{display:flex;gap:clamp(1.3rem,2.6vw,2.9rem);font-family:var(--sans);font-weight:300;
  font-size:.68rem;letter-spacing:.26em;text-transform:uppercase;align-items:center}
.nav-links a{color:var(--stone);text-decoration:none;position:relative;padding-bottom:4px;transition:color .5s}
.nav-links a::after{content:"";position:absolute;left:0;bottom:0;width:0;height:1px;background:var(--gold);transition:width .5s ease}
.nav-links a:hover,.nav-links a[aria-current="page"]{color:var(--white)}
.nav-links a:hover::after,.nav-links a[aria-current="page"]::after{width:100%}
.nav-toggle{display:none;background:none;border:0;cursor:pointer;flex-direction:column;gap:5px;padding:6px}
.nav-toggle span{display:block;width:24px;height:1px;background:var(--white)}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn{font-family:var(--sans);font-weight:400;font-size:.74rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--ink);background:var(--white);text-decoration:none;display:inline-block;
  padding:1.05rem 2.3rem;position:relative;overflow:hidden;transition:color .55s}
.btn span{position:relative;z-index:1}
.btn::before{content:"";position:absolute;inset:0;background:var(--gold);transform:translateY(101%);
  transition:transform .55s cubic-bezier(.6,0,.2,1);z-index:0}
.btn:hover{color:var(--ink)}
.btn:hover::before{transform:translateY(0)}
.btn-ghost{font-family:var(--sans);font-weight:300;font-size:.74rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--white);text-decoration:none;display:inline-flex;align-items:center;gap:.7rem;transition:color .5s}
.btn-ghost .arw{width:22px;height:1px;background:var(--gold);display:inline-block;transition:width .45s}
.btn-ghost:hover{color:var(--gold)}
.btn-ghost:hover .arw{width:38px}

/* ============================================================
   HERO (home)
   ============================================================ */
.hero{position:relative;width:100%;min-height:100vh;min-height:100svh;overflow:hidden;isolation:isolate}
.hero__portrait{position:absolute;inset:0;z-index:0;
  background-image:url("../img/hero-landscape.jpg");
  background-repeat:no-repeat;background-position:right center;background-size:cover;
  opacity:0;animation:portraitIn 2.4s cubic-bezier(.16,.6,.2,1) .15s forwards}
.hero__veil{position:absolute;inset:0;z-index:1;pointer-events:none;
  background:
    linear-gradient(90deg,#000 0%,#000 26%,rgba(0,0,0,.92) 40%,rgba(0,0,0,.55) 56%,rgba(0,0,0,.12) 72%,rgba(0,0,0,0) 88%),
    linear-gradient(0deg,rgba(0,0,0,.85) 0%,rgba(0,0,0,0) 24%),
    radial-gradient(120% 90% at 82% 42%,rgba(0,0,0,0) 40%,rgba(0,0,0,.5) 100%)}
.hero__grain{position:absolute;inset:0;z-index:2;pointer-events:none;opacity:.05;mix-blend-mode:screen;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E")}
.hero__frame{position:relative;z-index:3;min-height:100vh;min-height:100svh;
  display:grid;grid-template-rows:auto 1fr auto;
  padding:clamp(1.4rem,3.4vw,2.6rem) var(--gutter);max-width:var(--wrap);margin:0 auto}
/* nav overlaps hero on home — reset absolute positioning inside frame */
.hero .site-nav{position:static}
.hero .site-nav__inner{padding-inline:0}

.hero__stage{display:flex;flex-direction:column;justify-content:center;max-width:min(64ch,60vw)}
.hero__eyebrow{margin-bottom:clamp(1.3rem,2.6vw,2.1rem);opacity:0;animation:fadeUp 1.1s ease .7s forwards}
.hero__title{font-family:var(--display);font-weight:400;line-height:.94;
  font-size:clamp(3rem,7.6vw,7.4rem);letter-spacing:-.01em;color:var(--white)}
.hero__title .line{display:block;overflow:hidden;padding:.08em .18em .22em;margin:-.08em -.18em -.22em}
.hero__title .line span{display:block;transform:translateY(115%);
  animation:riseIn 1.35s cubic-bezier(.16,.7,.16,1) forwards}
.hero__title .line:nth-child(1) span{animation-delay:.9s}
.hero__title .line:nth-child(2) span{animation-delay:1.05s;font-style:italic;color:var(--white-soft)}
.hero__thesis{font-family:var(--serif);font-weight:400;color:var(--white-soft);
  font-size:clamp(1.15rem,1.9vw,1.7rem);line-height:1.45;max-width:34ch;
  margin-top:clamp(1.5rem,3vw,2.4rem);opacity:0;animation:fadeUp 1.2s ease 1.55s forwards}
.hero__thesis em{font-style:italic;color:var(--white)}
.hero__langs{font-family:var(--sans);font-weight:300;font-size:.66rem;letter-spacing:.34em;
  text-transform:uppercase;color:var(--stone);margin-top:clamp(1.3rem,2.5vw,1.9rem);
  opacity:0;animation:fadeUp 1.2s ease 1.75s forwards}
.hero__langs i{color:var(--stone-dim);font-style:normal;margin:0 .55rem}
.hero__actions{display:flex;align-items:center;gap:clamp(1.5rem,3vw,2.6rem);flex-wrap:wrap;
  margin-top:clamp(2.1rem,4vw,3rem);opacity:0;animation:fadeUp 1.2s ease 1.95s forwards}
.hero__base{display:flex;align-items:flex-end;justify-content:space-between;gap:2rem;
  opacity:0;animation:fadeUp 1.2s ease 2.2s forwards}
.stable-tease{max-width:52ch}
.stable-tease__label{font-family:var(--sans);font-weight:300;font-size:.6rem;letter-spacing:.42em;
  text-transform:uppercase;color:var(--stone);margin-bottom:.7rem;display:flex;align-items:center;gap:.8rem}
.stable-tease__label::before{content:"";width:20px;height:1px;background:var(--line)}
.stable-tease__names{font-family:var(--display);font-size:clamp(.9rem,1.5vw,1.15rem);letter-spacing:.08em;color:#BEB6A8}
.stable-tease__names b{font-weight:500;color:var(--white)}
.stable-tease__names i{font-style:normal;color:var(--stone-dim);margin:0 .5rem;font-size:.8em}
.hero__copyright{font-family:var(--sans);font-weight:300;font-size:.6rem;letter-spacing:.12em;
  color:var(--stone-dim);margin-top:1.1rem;line-height:1.6}
.hero__scroll{font-family:var(--sans);font-weight:300;font-size:.58rem;letter-spacing:.34em;text-transform:uppercase;
  color:var(--stone);display:flex;flex-direction:column;align-items:center;gap:.9rem;flex:none;white-space:nowrap;text-decoration:none}
.hero__scroll-line{width:1px;height:44px;background:linear-gradient(var(--line-gold),transparent);position:relative;overflow:hidden}
.hero__scroll-line::after{content:"";position:absolute;top:-44px;left:0;width:1px;height:44px;background:var(--gold);animation:scrollDot 2.6s ease-in-out infinite}
.hero__stamp{position:absolute;z-index:3;right:clamp(1.6rem,4.2vw,3.4rem);top:50%;transform:translateY(-50%);
  display:flex;flex-direction:column;align-items:center;gap:1.1rem;opacity:0;animation:fadeIn 1.6s ease 2.4s forwards}
.hero__stamp .rule{width:1px;height:clamp(60px,13vh,120px);background:linear-gradient(var(--line-gold),transparent)}
.hero__stamp .rule--b{background:linear-gradient(transparent,var(--line-gold))}
.hero__stamp .num{writing-mode:vertical-rl;font-family:var(--display);font-size:.95rem;letter-spacing:.5em;color:var(--gold)}
.hero__stamp .cap{writing-mode:vertical-rl;font-family:var(--sans);font-weight:300;font-size:.54rem;letter-spacing:.42em;text-transform:uppercase;color:var(--stone)}

/* ============================================================
   INNER PAGE HEADER (method/about/contact)
   ============================================================ */
.page-head{position:relative;padding-top:clamp(8rem,16vh,12rem);padding-bottom:clamp(3rem,7vw,6rem);
  border-bottom:1px solid var(--line-soft)}
.page-head__eyebrow{margin-bottom:clamp(1.4rem,3vw,2rem)}
.page-head__title{font-family:var(--display);font-weight:400;line-height:.98;letter-spacing:-.01em;
  font-size:clamp(2.6rem,6.5vw,5.4rem);color:var(--white);max-width:16ch}
.page-head__title em{font-style:italic;color:var(--white-soft)}
.page-head__lead{font-family:var(--serif);font-size:clamp(1.15rem,1.7vw,1.55rem);line-height:1.5;
  color:var(--white-soft);max-width:52ch;margin-top:clamp(1.6rem,3vw,2.2rem)}

/* ============================================================
   GENERIC SECTIONS
   ============================================================ */
.section{padding-block:clamp(4rem,9vw,8rem)}
.section--tight{padding-block:clamp(3rem,6vw,5rem)}
.section + .section{border-top:1px solid var(--line-soft)}
.section__head{max-width:60ch;margin-bottom:clamp(2.4rem,5vw,4rem)}
.section__title{font-family:var(--display);font-weight:400;font-size:clamp(1.9rem,3.6vw,3.1rem);
  line-height:1.05;letter-spacing:-.01em;color:var(--white);margin-top:1.4rem}
.section__title em{font-style:italic;color:var(--white-soft)}
.prose{max-width:64ch;font-family:var(--serif);font-size:clamp(1.1rem,1.5vw,1.32rem);line-height:1.65;color:var(--white-soft)}
.prose p + p{margin-top:1.4em}
.prose strong{color:var(--white);font-weight:500}
.prose em{font-style:italic;color:var(--white)}
.lead{font-size:clamp(1.3rem,2vw,1.7rem);line-height:1.5;color:var(--white)}

/* editorial two-column */
.split{display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vw,4.5rem)}
@media(min-width:900px){.split{grid-template-columns:0.9fr 1.1fr;align-items:start}}
.split__aside .eyebrow{margin-bottom:1.3rem}
.split__aside-title{font-family:var(--display);font-weight:400;font-size:clamp(1.7rem,3vw,2.6rem);line-height:1.05;color:var(--white)}

/* discipline / craft list */
.crafts{display:grid;grid-template-columns:1fr;gap:0;border-top:1px solid var(--line-soft)}
@media(min-width:760px){.crafts{grid-template-columns:1fr 1fr}}
.craft{padding:clamp(1.8rem,3.5vw,2.6rem) 0;border-bottom:1px solid var(--line-soft)}
@media(min-width:760px){.craft:nth-child(odd){padding-right:clamp(1.5rem,3vw,3rem);border-right:1px solid var(--line-soft)}
  .craft:nth-child(even){padding-left:clamp(1.5rem,3vw,3rem)}}
.craft__no{font-family:var(--sans);font-weight:300;font-size:.62rem;letter-spacing:.4em;color:var(--gold);text-transform:uppercase}
.craft__name{font-family:var(--display);font-weight:400;font-size:clamp(1.4rem,2.4vw,2rem);color:var(--white);margin:.7rem 0 .6rem}
.craft__desc{font-family:var(--serif);font-size:1.1rem;line-height:1.55;color:var(--stone);max-width:44ch}

/* ensemble cards (read-only content) */
.ensemble{display:grid;grid-template-columns:1fr;gap:1px;background:var(--line-soft);border:1px solid var(--line-soft)}
@media(min-width:700px){.ensemble{grid-template-columns:1fr 1fr}}
.act{background:var(--ink);padding:clamp(1.8rem,3.5vw,2.8rem)}
.act__top{display:flex;align-items:baseline;justify-content:space-between;gap:1rem;margin-bottom:1.1rem}
.act__name{font-family:var(--display);font-weight:400;font-size:clamp(1.5rem,2.6vw,2.1rem);color:var(--white)}
.act__state{font-family:var(--sans);font-weight:300;font-size:.56rem;letter-spacing:.28em;text-transform:uppercase;
  color:var(--stone);border:1px solid var(--line);padding:.35rem .7rem;white-space:nowrap;align-self:center}
.act__state--dev{color:var(--gold);border-color:var(--line-gold)}
.act__role{font-family:var(--sans);font-weight:300;font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);margin-bottom:.9rem}
.act__desc{font-family:var(--serif);font-size:1.08rem;line-height:1.55;color:var(--stone);max-width:46ch}
.act__voice{font-family:var(--sans);font-weight:300;font-size:.62rem;letter-spacing:.1em;color:var(--stone-dim);margin-top:1.1rem;padding-top:1.1rem;border-top:1px solid var(--line-soft)}

/* numbered process steps */
.steps{counter-reset:step;border-top:1px solid var(--line-soft)}
.step{display:grid;grid-template-columns:auto 1fr;gap:clamp(1.4rem,3vw,3rem);
  padding:clamp(2rem,4vw,3.2rem) 0;border-bottom:1px solid var(--line-soft)}
.step__no{font-family:var(--display);font-weight:400;font-size:clamp(1.6rem,3vw,2.4rem);color:var(--gold);line-height:1}
.step__no::before{counter-increment:step;content:counter(step,decimal-leading-zero)}
.step__title{font-family:var(--display);font-weight:400;font-size:clamp(1.3rem,2.2vw,1.8rem);color:var(--white);margin-bottom:.7rem}
.step__body{font-family:var(--serif);font-size:1.12rem;line-height:1.6;color:var(--white-soft);max-width:56ch}
.step__body em{color:var(--white);font-style:italic}

/* pull stat row */
.stats{display:grid;grid-template-columns:repeat(2,1fr);gap:clamp(1.5rem,4vw,3rem)}
@media(min-width:760px){.stats{grid-template-columns:repeat(4,1fr)}}
.stat__n{font-family:var(--display);font-weight:400;font-size:clamp(2.2rem,4.5vw,3.6rem);color:var(--white);line-height:1}
.stat__l{font-family:var(--sans);font-weight:300;font-size:.62rem;letter-spacing:.24em;text-transform:uppercase;color:var(--stone);margin-top:.8rem;line-height:1.5}

/* ---------- FAQ (GEO/VEO) ---------- */
.faq{border-top:1px solid var(--line-soft);max-width:78ch}
.faq__item{border-bottom:1px solid var(--line-soft)}
.faq__q{list-style:none;cursor:pointer;color:var(--white);
  font-family:var(--display);font-weight:400;font-size:clamp(1.2rem,2vw,1.6rem);
  padding:clamp(1.4rem,3vw,2rem) 2.5rem clamp(1.4rem,3vw,2rem) 0;position:relative;line-height:1.25}
.faq__q::-webkit-details-marker{display:none}
.faq__q::after{content:"+";position:absolute;right:0;top:50%;transform:translateY(-50%);color:var(--gold);
  font-family:var(--sans);font-weight:300;font-size:1.4rem;transition:transform .4s}
.faq__item[open] .faq__q::after{content:"\2013"}
.faq__a{font-family:var(--serif);font-size:1.12rem;line-height:1.65;color:var(--stone);
  padding-bottom:clamp(1.6rem,3vw,2.2rem);max-width:66ch}
.faq__a strong{color:var(--white-soft);font-weight:500}

/* ---------- contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr;gap:clamp(2.5rem,6vw,5rem)}
@media(min-width:900px){.contact-grid{grid-template-columns:1.1fr .9fr}}
.field{margin-bottom:1.6rem}
.field label{display:block;font-family:var(--sans);font-weight:300;font-size:.62rem;letter-spacing:.28em;
  text-transform:uppercase;color:var(--stone);margin-bottom:.7rem}
.field input,.field select,.field textarea{width:100%;background:transparent;border:0;border-bottom:1px solid var(--line);
  color:var(--white);font-family:var(--serif);font-size:1.15rem;padding:.7rem 0;transition:border-color .4s}
.field input::placeholder,.field textarea::placeholder{color:var(--stone-dim)}
.field input:focus,.field select:focus,.field textarea:focus{outline:none;border-color:var(--gold)}
.field select{appearance:none;cursor:pointer}
.field select option{background:var(--ink);color:var(--white)}
.field textarea{resize:vertical;min-height:120px}
.form-note{font-family:var(--sans);font-weight:300;font-size:.62rem;letter-spacing:.06em;color:var(--stone-dim);margin-top:1.4rem;line-height:1.7}
.contact-aside dt{font-family:var(--sans);font-weight:300;font-size:.62rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);margin-top:2rem}
.contact-aside dd{font-family:var(--serif);font-size:1.2rem;color:var(--white);margin-top:.6rem}
.contact-aside dd a{color:var(--white);text-decoration:none;border-bottom:1px solid var(--line-gold);transition:color .4s}
.contact-aside dd a:hover{color:var(--gold)}
.contact-aside p{font-family:var(--serif);color:var(--stone);margin-top:.5rem;font-size:1.02rem;line-height:1.55}

/* ---------- CTA band ---------- */
.cta-band{text-align:center;padding-block:clamp(5rem,11vw,9rem)}
.cta-band__title{font-family:var(--display);font-weight:400;font-size:clamp(2rem,4.5vw,3.6rem);
  line-height:1.05;color:var(--white);max-width:22ch;margin:1.6rem auto clamp(2rem,4vw,2.8rem)}
.cta-band__title em{font-style:italic;color:var(--white-soft)}

/* ============================================================
   FOOTER (shared)
   ============================================================ */
.site-foot{border-top:1px solid var(--line-soft);padding-block:clamp(3rem,6vw,5rem)}
.foot-grid{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2.5rem;align-items:flex-start}
.foot-brand .brand__mark{font-size:1.6rem}
.foot-brand p{font-family:var(--serif);color:var(--stone);max-width:34ch;margin-top:1.2rem;font-size:1.05rem;line-height:1.55}
.foot-nav{display:flex;flex-direction:column;gap:.9rem;font-family:var(--sans);font-weight:300;font-size:.68rem;
  letter-spacing:.26em;text-transform:uppercase}
.foot-nav a{color:var(--stone);text-decoration:none;transition:color .4s}
.foot-nav a:hover{color:var(--white)}
.foot-ensemble{font-family:var(--display);font-size:1rem;letter-spacing:.08em;color:#BEB6A8;max-width:24ch;line-height:1.9}
.foot-ensemble .lbl{font-family:var(--sans);font-weight:300;font-size:.58rem;letter-spacing:.42em;
  text-transform:uppercase;color:var(--stone);display:block;margin-bottom:.9rem}
.foot-ensemble i{font-style:normal;color:var(--stone-dim);margin:0 .4rem}
.foot-bar{max-width:var(--wrap);margin:clamp(2.5rem,5vw,4rem) auto 0;padding-top:2rem;
  border-top:1px solid var(--line-soft);display:flex;flex-wrap:wrap;justify-content:space-between;gap:1rem;
  font-family:var(--sans);font-weight:300;font-size:.6rem;letter-spacing:.1em;color:var(--stone-dim);line-height:1.7}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes portraitIn{from{opacity:0}to{opacity:1}}
@keyframes riseIn{to{transform:translateY(0)}}
@keyframes fadeUp{from{opacity:0;transform:translateY(22px)}to{opacity:1;transform:translateY(0)}}
@keyframes fadeIn{to{opacity:1}}
@keyframes scrollDot{0%{top:-44px}55%{top:44px}100%{top:44px}}
@keyframes scrollDotH{0%{left:-44px}55%{left:44px}100%{left:44px}}

/* scroll-reveal (JS-driven) */
.reveal{opacity:0;transform:translateY(26px);transition:opacity 1s ease,transform 1s cubic-bezier(.16,.7,.16,1)}
.reveal.in{opacity:1;transform:none}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media(max-width:900px){
  .hero__portrait{background-image:url("../img/hero-portrait.jpg");background-position:top center;background-size:112% auto}
  .hero__veil{background:
    linear-gradient(0deg,#000 0%,#000 34%,rgba(0,0,0,.82) 48%,rgba(0,0,0,.35) 66%,rgba(0,0,0,0) 86%),
    linear-gradient(180deg,rgba(0,0,0,.5) 0%,rgba(0,0,0,0) 22%)}
  .hero__stage{max-width:none;justify-content:flex-end;padding-bottom:.5rem}
  .hero__stamp{display:none}
  .hero__base{flex-direction:column;align-items:flex-start;gap:1.6rem}
  .hero__scroll{flex-direction:row;align-self:center}
  .hero__scroll-line{width:44px;height:1px;background:linear-gradient(90deg,var(--line-gold),transparent)}
  .hero__scroll-line::after{top:0;left:-44px;width:44px;height:1px;animation:scrollDotH 2.6s ease-in-out infinite}
  .nav-links{position:fixed;inset:0;z-index:30;background:rgba(0,0,0,.97);flex-direction:column;justify-content:center;
    align-items:center;gap:2.2rem;font-size:1rem;transform:translateY(-100%);transition:transform .5s cubic-bezier(.6,0,.2,1)}
  .nav-links.open{transform:none}
  .nav-toggle{display:flex;z-index:31;position:relative}
  .foot-grid{flex-direction:column}
}
@media(max-width:520px){
  body{font-size:17px}
  .hero__thesis{font-size:1.12rem}
  .hero__actions{gap:1.3rem}
  .btn{padding:.95rem 1.7rem}
}

@media(prefers-reduced-motion:reduce){
  *{animation:none!important;scroll-behavior:auto!important}
  .hero__portrait{opacity:1}
  .hero__title .line span{transform:none}
  .hero__eyebrow,.hero__thesis,.hero__langs,.hero__actions,.hero__base,.hero__stamp{opacity:1}
  .reveal{opacity:1;transform:none}
}

/* ============================================================
   HERO SCROLL DOCK (home) — portrait zooms out to top-right
   Driven by --p (0=full-bleed, 1=docked) set from scroll in site.js.
   Desktop only; disabled on mobile & reduced-motion.
   ============================================================ */
:root{--p:0}
@media(min-width:1024px){
  main{padding-right:clamp(160px,20vw,300px)} /* reserve clearance for docked portrait */
  body.docked #heroPortrait{
    position:fixed;top:0;right:0;left:auto;bottom:auto;width:100vw;height:100vh;z-index:0;
    --mx:clamp(20px,2.4vw,44px);
    --my:clamp(20px,2.4vw,44px);
    transform-origin:100% 0;
    transform:translate(calc(var(--p) * var(--mx) * -1), calc(var(--p) * var(--my)))
              scale(calc(1 - var(--p) * 0.76));
    will-change:transform;transition:none}
  body.docked .hero__veil{opacity:calc(1 - var(--p));transition:none}
  body.docked .hero__grain{opacity:calc(.05 * (1 - var(--p)))}
  body.docked .hero__frame{opacity:calc(1 - var(--p)*1.5)}
  body.docked.docked-full .hero__frame{pointer-events:none}
  body.docked .hero__stamp{opacity:calc((1 - var(--p)*1.6))}
}
/* small "home" hint ring on the docked thumb */
#heroPortrait::after{content:"";position:absolute;inset:0;border-radius:inherit;pointer-events:none}

/* ============================================================
   BACKGROUND MELODY TOGGLE (all pages)
   ============================================================ */
.music-toggle{position:fixed;z-index:60;right:clamp(18px,2.4vw,34px);bottom:clamp(18px,2.4vw,34px);
  width:52px;height:52px;border-radius:50%;border:1px solid var(--line);
  background:rgba(0,0,0,.55);backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);
  display:flex;align-items:center;justify-content:center;cursor:pointer;
  color:var(--stone);transition:color .4s,border-color .4s,background .4s;padding:0}
.music-toggle:hover{color:var(--white);border-color:var(--line-gold)}
.music-toggle.playing{color:var(--gold);border-color:var(--line-gold)}
.music-toggle svg{width:20px;height:20px;display:block}
.music-toggle .slash{stroke:currentColor;stroke-width:1.4;opacity:1;transition:opacity .3s}
.music-toggle.playing .slash{opacity:0}
/* equaliser bars appear when playing */
.music-toggle .eq{display:none}
.music-toggle.playing .eq{display:block}
.music-toggle .eq rect{fill:var(--gold);transform-origin:bottom;animation:eqbar 1s ease-in-out infinite}
.music-toggle .eq rect:nth-child(2){animation-delay:.18s}
.music-toggle .eq rect:nth-child(3){animation-delay:.36s}
.music-toggle.playing .note{opacity:0}
.music-toggle .note{transition:opacity .3s}
@keyframes eqbar{0%,100%{transform:scaleY(.35)}50%{transform:scaleY(1)}}
@media(prefers-reduced-motion:reduce){.music-toggle .eq rect{animation:none;transform:scaleY(.7)}}

/* reserve is dropped on reduced motion (no dock) */
@media(prefers-reduced-motion:reduce){main{padding-right:0}}

/* footer legal links */
.foot-legal{display:flex;flex-wrap:wrap;gap:1.3rem;font-family:var(--sans);font-weight:300;
  font-size:.6rem;letter-spacing:.18em;text-transform:uppercase}
.foot-legal a{color:var(--stone);text-decoration:none;transition:color .4s}
.foot-legal a:hover{color:var(--white)}

/* legal document prose */
.legal{max-width:70ch}
.legal h2{font-family:var(--display);font-weight:400;font-size:clamp(1.4rem,2.4vw,2rem);color:var(--white);
  margin:clamp(2.2rem,4vw,3rem) 0 1rem;letter-spacing:-.01em}
.legal h2:first-child{margin-top:0}
.legal p,.legal li{font-family:var(--serif);font-size:1.12rem;line-height:1.65;color:var(--white-soft)}
.legal p+p{margin-top:1rem}
.legal ul{margin:1rem 0 0;padding-left:1.2rem}
.legal li{margin-bottom:.5rem}
.legal a{color:var(--gold);text-decoration:none;border-bottom:1px solid var(--line-gold)}
.legal strong{color:var(--white);font-weight:500}
.legal .updated{font-family:var(--sans);font-weight:300;font-size:.66rem;letter-spacing:.2em;
  text-transform:uppercase;color:var(--stone);margin-bottom:2.5rem}
