/* ==========================================================================
   DANIEL ROMI KADOSH — Couture, Tel Aviv
   Black-ground editorial. Gold sampled from the DRK monogram.
   Hand-written CSS. No framework.
   ========================================================================== */

:root{
  /* Ground — true black, deliberately not a tinted near-black */
  --noir:#000000;
  --onyx:#121212;          /* panel elevation on black */
  --ivory:#FFFFFF;         /* the lit sections — pure white against true black */
  --ivory-2:#F0EFEC;

  /* Gold — sampled from the logo bevel */
  --gold:#C2A24F;
  --gold-lt:#E3CF95;
  --gold-dk:#6E5822;

  /* Text */
  --chalk:#F5F2EC;
  --dust:#8C887F;          /* shared with the sibling sites */
  --dust-dk:#5A574F;

  --line:#2A2621;          /* hairline on black */
  --line-lt:#DCDAD4;       /* hairline on white */

  --display:'Italiana', 'Didot', 'Times New Roman', serif;
  --sans:'Jost', system-ui, -apple-system, sans-serif;

  --maxw:1560px;
  --gut:clamp(1.25rem, 4vw, 5rem);

  --ease:cubic-bezier(.22,1,.36,1);
  --ease-io:cubic-bezier(.65,0,.35,1);

  --z-nav:60; --z-fab:50; --z-loader:90;
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{
  -webkit-text-size-adjust:100%;
  color-scheme:dark;                     /* correct scrollbars + form chrome */
  scroll-behavior:smooth;
}
/* The nav is fixed; without this an in-page link lands under it. */
[id]{scroll-margin-top:6rem}
body{
  font-family:var(--sans);
  font-weight:300;
  background:var(--noir);
  color:var(--chalk);
  line-height:1.7;
  font-size:clamp(16px,1.02vw,17px);
  overflow-x:hidden;
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
img{display:block;max-width:100%}
a,button{touch-action:manipulation;-webkit-tap-highlight-color:rgba(194,162,79,.22)}
a{color:inherit;text-decoration:none}
button{font:inherit;color:inherit;background:none;border:none;cursor:pointer}
ul{list-style:none}
::selection{background:var(--gold);color:#000}
:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px}

.skip{
  position:absolute;inset-inline-start:.75rem;top:-100px;z-index:100;
  background:var(--gold);color:#000;padding:.9rem 1.4rem;
  font-size:.78rem;letter-spacing:.16em;text-transform:uppercase;
  transition:top 220ms var(--ease);
}
.skip:focus{top:.75rem}


/* ---------- Type ---------- */
.display{font-family:var(--display);font-weight:400;line-height:1.04;letter-spacing:.01em}
h1,h2,h3{font-family:var(--display);font-weight:400;line-height:1.06;letter-spacing:.01em;text-wrap:balance}
h2{font-size:clamp(2.1rem,4.6vw,4rem)}
h3{font-size:clamp(1.4rem,2vw,1.9rem)}
p{max-width:62ch}
.lede{font-size:clamp(1.05rem,1.35vw,1.25rem);color:var(--dust);font-weight:200;line-height:1.85}
.gold{color:var(--gold)}

/* ---------- Layout ---------- */
.wrap{max-width:var(--maxw);margin-inline:auto;padding-inline:var(--gut)}
.section{padding-block:clamp(6rem,14vh,12rem);position:relative}
.rule{height:1px;background:var(--line);border:0}

/* Ground inversion — the "house lights up" section.
   The ivory lives on the section, not on <body>. Driving it from a scroll
   class meant this section's dark-on-light text sat on a black ground
   whenever the class was off — unreadable. A section that owns its own
   ground is always correct, and still reads as a lighting change on scroll. */
.lit{background:var(--ivory);color:#14120E}
.lit .lede{color:#5A574F}
.lit .rule{background:var(--line-lt)}

/* On white, --gold drops to 2.4:1 and --dust to 3.5:1 — both fail. The lit
   sections use the deep gold and a dark warm grey instead. */
.lit .stat__n{color:var(--gold-dk)}          /* 6.8:1 */
.lit .stat__l{color:#5A574F}                 /* 7.2:1 */
.lit .gold{color:var(--gold-dk)}
.lit .statement__aside{border-inline-start-color:var(--line-lt)}
.lit .hero__years{color:var(--gold-dk)}

/* ==========================================================================
   LOADER
   ========================================================================== */
.loader{
  position:fixed;inset:0;z-index:var(--z-loader);
  background:var(--noir);
  display:grid;place-items:center;
  transition:opacity 800ms var(--ease), visibility 800ms;
}
.loader.done{opacity:0;visibility:hidden;pointer-events:none}
.loader__mark{
  font-family:var(--display);
  font-size:clamp(2.6rem,7vw,5rem);
  letter-spacing:.24em;
  color:var(--gold);
  text-indent:.24em;
  opacity:0;
  animation:markIn 1500ms var(--ease) forwards;
}
@keyframes markIn{
  0%{opacity:0;letter-spacing:.5em}
  100%{opacity:1;letter-spacing:.24em}
}

/* ==========================================================================
   NAV
   ========================================================================== */
.nav{
  position:fixed;inset-inline:0;top:0;z-index:var(--z-nav);
  display:flex;align-items:center;justify-content:space-between;
  gap:1.5rem;
  padding:1.35rem var(--gut);
  transition:border-color 500ms var(--ease), padding 500ms var(--ease);
  border-bottom:1px solid transparent;
}

/* The blurred bar lives on a pseudo-element, NOT on .nav itself.
   backdrop-filter makes an element a containing block for its position:fixed
   descendants — with it on .nav, the full-screen mobile menu collapsed into
   the 71px nav bar the moment the nav went sticky, dropping the links on top
   of the wordmark. Same trap applies to transform, filter and will-change:
   never put any of them on .nav while the menu is a fixed child. */
.nav::before{
  content:"";position:absolute;inset:0;z-index:-1;
  background:rgba(0,0,0,.86);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
  opacity:0;
  transition:opacity 500ms var(--ease);
}
.nav.is-stuck::before{opacity:1}
.nav.is-stuck{
  border-bottom-color:var(--line);
  padding-block:.85rem;
}
.nav__brand{display:flex;align-items:center;gap:.85rem;min-height:44px}
.nav__logo{height:38px;width:auto;transition:height 500ms var(--ease)}
.nav.is-stuck .nav__logo{height:30px}
.nav__word{
  font-family:var(--sans);font-weight:300;
  font-size:.74rem;letter-spacing:.34em;text-transform:uppercase;
  color:var(--chalk);white-space:nowrap;
}
.nav__links{display:flex;align-items:center;gap:clamp(1rem,2.4vw,2.4rem)}
.nav__link{
  font-size:.76rem;letter-spacing:.22em;text-transform:uppercase;font-weight:300;
  color:var(--chalk);opacity:.78;
  display:inline-flex;align-items:center;min-height:44px;
  position:relative;transition:opacity 250ms var(--ease), color 250ms var(--ease);
}
.nav__link::after{
  content:"";position:absolute;left:0;right:0;bottom:11px;height:1px;
  background:var(--gold);transform:scaleX(0);transform-origin:right;
  transition:transform 380ms var(--ease);
}
.nav__link:hover,.nav__link:focus-visible{opacity:1;color:var(--gold-lt)}
.nav__link:hover::after,.nav__link:focus-visible::after{transform:scaleX(1);transform-origin:left}
.nav__cta{
  font-size:.72rem;letter-spacing:.2em;text-transform:uppercase;
  border:1px solid var(--gold-dk);color:var(--gold-lt);
  padding:.85rem 1.4rem;min-height:44px;display:inline-flex;align-items:center;
  transition:background-color 300ms var(--ease), color 300ms var(--ease), border-color 300ms var(--ease);
}
.nav__cta:hover,.nav__cta:focus-visible{background:var(--gold);color:#000;border-color:var(--gold)}
.nav__burger{display:none}

/* ==========================================================================
   HERO — crossfading plates
   ========================================================================== */
.hero{position:relative;height:100svh;min-height:600px;overflow:hidden;background:var(--noir)}
.hero__stage{position:absolute;inset:0}
.hero__plate{
  position:absolute;inset:0;
  opacity:0;
  transition:opacity 1200ms var(--ease-io);
  will-change:opacity;
}
.hero__plate.is-on{opacity:1}
.hero__plate video,.hero__plate img{
  width:100%;height:100%;object-fit:cover;
  transform:scale(1.06);
}
.hero__scrim{
  position:absolute;inset:0;
  background:
    linear-gradient(to bottom, rgba(0,0,0,.72) 0%, rgba(0,0,0,.30) 34%, rgba(0,0,0,.46) 66%, rgba(0,0,0,.88) 100%),
    radial-gradient(120% 80% at 50% 45%, rgba(0,0,0,0) 30%, rgba(0,0,0,.55) 100%);
}
.hero__inner{
  position:relative;height:100%;
  display:flex;flex-direction:column;justify-content:flex-end;
  /* Leaves room for the WhatsApp pill, which is fixed in the bottom-start
     corner and would otherwise sit on top of the hero meta line. */
  padding-bottom:clamp(7.5rem,14vh,10rem);
}
.hero__eyebrow{
  font-size:.72rem;letter-spacing:.42em;text-transform:uppercase;
  color:var(--gold);font-weight:300;margin-bottom:1.6rem;
}
.hero__title{
  font-family:var(--display);
  font-size:clamp(2.9rem,10.5vw,9.5rem);
  line-height:.96;letter-spacing:.02em;
  text-transform:uppercase;
}
.hero__title span{display:block;overflow:hidden;padding-block-end:.06em}
.hero__title i{display:block;font-style:normal}
.hero.is-ready .hero__title i{
  transform:translateY(0);
  transition:transform 1400ms var(--ease);
}
.hero.is-ready .hero__title span:nth-child(2) i{transition-delay:120ms}
.hero__meta{
  margin-top:2.2rem;display:flex;flex-wrap:wrap;align-items:baseline;
  gap:.9rem clamp(1.5rem,4vw,3.5rem);
  border-top:1px solid var(--line);padding-top:1.5rem;
}
.hero__years{
  font-family:var(--display);font-size:clamp(2rem,3.4vw,3rem);
  color:var(--gold);line-height:1;
}
.hero__years small{font-family:var(--sans);font-size:.72rem;letter-spacing:.28em;
  text-transform:uppercase;color:var(--dust);display:block;margin-top:.6rem;font-weight:300}
.hero__note{color:#B4AFA4;font-size:.95rem;max-width:34ch;font-weight:300}

/* Centred: the WhatsApp pill owns the start corner and the sound toggle the end. */
.hero__scroll{
  position:absolute;bottom:1.6rem;left:50%;transform:translateX(-50%);
  display:flex;flex-direction:column;align-items:center;gap:.7rem;
  font-size:.66rem;letter-spacing:.28em;text-transform:uppercase;color:var(--dust);
}
.hero__scroll i{display:block;width:1px;height:44px;background:linear-gradient(var(--gold),transparent);
  animation:drip 2400ms var(--ease-io) infinite}
@keyframes drip{
  0%{transform:scaleY(0);transform-origin:top}
  50%{transform:scaleY(1);transform-origin:top}
  51%{transform:scaleY(1);transform-origin:bottom}
  100%{transform:scaleY(0);transform-origin:bottom}
}

/* ==========================================================================
   REVEALS
   ========================================================================== */
/* Hidden states are scoped to .js: with JavaScript off, nothing is clipped
   away and the whole page reads normally. */
.js .curtain{clip-path:inset(0 0 100% 0);transition:clip-path 1400ms var(--ease)}
.js .curtain.is-open{clip-path:inset(0 0 0 0)}
.js .rise{opacity:0;transform:translateY(26px);transition:opacity 900ms var(--ease), transform 900ms var(--ease)}
.js .rise.is-in{opacity:1;transform:none}

/* The hero headline slides up only once JS has confirmed it can drive it. */
.js .hero__title i{transform:translateY(105%)}

/* ==========================================================================
   STATEMENT
   ========================================================================== */
.statement{display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vw,5rem);align-items:start}
@media(min-width:900px){.statement{grid-template-columns:minmax(0,7fr) minmax(0,5fr)}}
.statement__body p + p{margin-top:1.4rem}
.statement__aside{border-inline-start:1px solid var(--line);padding-inline-start:clamp(1.5rem,3vw,2.5rem)}
.stat + .stat{margin-top:2.2rem}
.stat__n{font-family:var(--display);font-size:clamp(2.2rem,3.6vw,3.2rem);color:var(--gold);line-height:1}
.stat__l{font-size:.74rem;letter-spacing:.24em;text-transform:uppercase;color:var(--dust);margin-top:.5rem}

/* ==========================================================================
   COLLECTIONS
   ========================================================================== */
.sec-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;
  gap:1.5rem;margin-bottom:clamp(2.5rem,5vw,4.5rem)}
.sec-head p{color:var(--dust);max-width:46ch}

/* The gallery runs wider than the 1560 the rest of the page sits in, and on a
   phone it goes to the page edge. Three things make a photograph bigger without
   changing how many sit in a row: a wider container, a narrower gap, and a
   taller frame — all three are used here. */
.wrap--gallery{
  --gallery-bleed:clamp(.75rem,1.8vw,2.25rem);
  /* max-width is a border box, so this holds ~1830px of photograph. The
     client's files are 1040x1400 — a wider grid than this would start
     upscaling them on a retina screen. If he ever sends larger originals,
     this number is the one to raise. */
  max-width:1920px;
  padding-inline:var(--gallery-bleed);
}

.looks{display:grid;gap:clamp(.5rem,.9vw,1.1rem);grid-template-columns:repeat(2,1fr)}
@media(min-width:820px){.looks{grid-template-columns:repeat(12,1fr)}}
.look{position:relative;overflow:hidden;background:var(--onyx);display:block}
.look img{width:100%;height:100%;object-fit:cover;transition:transform 1600ms var(--ease)}
.look:hover img,.look:focus-visible img{transform:scale(1.045)}

/* Editorial spans — an opening pair at two weights, then a disciplined run of
   three per row. Every gown is shot portrait, so no slot crops to landscape:
   a 16/10 tile would cut the skirt off a full-length dress. */
@media(min-width:820px){
  .look--a{grid-column:span 7;aspect-ratio:4/5}          /* opening feature */
  .look--b{grid-column:span 5;aspect-ratio:3/4;align-self:end}
  .look--c{grid-column:span 4;aspect-ratio:3/4}          /* the run */
}
/* Phone: still two per row, but each tile is a third taller than a 3/4 frame
   and the grid runs edge to edge. A full-length gown needs the height. */
@media(max-width:819px){
  .look{aspect-ratio:2/3}
  .looks{margin-inline:calc(var(--gallery-bleed) * -1)}   /* out to the screen edge */
}

/* ==========================================================================
   ABOUT PAGE
   ========================================================================== */
.about__grid{display:grid;grid-template-columns:1fr;gap:clamp(2rem,5vw,4.5rem);align-items:center}
@media(min-width:900px){.about__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr)}}
/* 2/3 matches the supplied portrait, so nothing is cropped off the top of the
   frame — the DRK Atelier sign behind him is part of the picture. */
.about__portrait{position:relative;aspect-ratio:2/3;overflow:hidden;background:var(--onyx)}
.about__portrait video,.about__portrait img{width:100%;height:100%;object-fit:cover;object-position:center top}
.about__intro .lede{max-width:52ch}
.about__intro .lede + .lede{margin-top:1.3rem}

.figures{
  display:grid;gap:clamp(1.5rem,3vw,2.5rem);
  grid-template-columns:repeat(2,1fr);
  border-top:1px solid var(--line);
  padding-top:clamp(2rem,4vw,3rem);
  margin-top:clamp(3rem,7vw,5.5rem);
}
@media(min-width:820px){.figures{grid-template-columns:repeat(4,1fr)}}
.figure__n{
  font-family:var(--display);color:var(--gold);
  font-size:clamp(2.6rem,5vw,4.2rem);line-height:1;
  font-variant-numeric:tabular-nums;
}
/* The plus after 35 is set in the sans, not in Italiana. Italiana draws its
   plus as two hairlines that all but vanish next to the thick numerals — the
   client could barely see it. Jost at 500 gives it an even, solid stroke, and
   raising it slightly keeps it reading as a suffix rather than a maths sign. */
.plus{
  font-family:var(--sans);
  font-weight:500;
  font-size:.46em;
  vertical-align:.42em;
  margin-inline-start:.1em;
  letter-spacing:0;
}
.figure__l{font-size:.76rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dust);margin-top:.7rem}

/* ==========================================================================
   RED CARPET
   ========================================================================== */
.carpet__list{border-top:1px solid var(--line);margin-top:clamp(2rem,4vw,3.5rem)}
/* One column at every width: the name, then its line of small type directly
   underneath it. The descriptor used to sit hard right on wide screens, which
   left the two lists looking half-right-half-left depending on the device —
   the client asked for everything on the left, and this is that. */
.carpet__row{
  padding-block:clamp(1.2rem,2.2vw,1.8rem);
  border-bottom:1px solid var(--line);
}
.carpet__ev{font-size:clamp(1.15rem,2.2vw,1.75rem);font-family:var(--display);line-height:1.15}
.carpet__no{
  font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dust);
  margin-top:.5rem;max-width:none;
}
.carpet__cap{
  font-size:.72rem;letter-spacing:.28em;text-transform:uppercase;color:var(--gold);
  margin-top:clamp(2.5rem,5vw,4rem);
}
.carpet__cap + .carpet__list{margin-top:1.2rem}

/* ==========================================================================
   THEY FLY IN
   The one band that is allowed to shout. Onyx ground + a gold wash so it
   separates from the true-black sections either side of it.
   ========================================================================== */
.claim{
  position:relative;overflow:hidden;
  background:var(--onyx);
  border-block:1px solid var(--line);
  padding-block:clamp(4.5rem,11vw,9rem);
}
.claim::before{
  content:'';position:absolute;inset:0;pointer-events:none;
  background:radial-gradient(120% 92% at 50% 0%, rgba(194,162,79,.17), transparent 64%);
}
.claim__wrap{position:relative;text-align:center}
.claim__eyebrow{font-size:.74rem;letter-spacing:.34em;text-transform:uppercase;color:var(--gold)}
.claim__h{
  font-size:clamp(2.5rem,8.2vw,6.4rem);line-height:1.02;letter-spacing:-.005em;
  margin-top:clamp(1.1rem,2.4vw,1.9rem);
}
.claim__h em{font-style:normal;color:var(--gold)}
.claim__p{
  max-width:58ch;margin-inline:auto;
  margin-top:clamp(1.6rem,3vw,2.4rem);
  font-size:clamp(1rem,1.35vw,1.2rem);
}
.claim__marks{
  list-style:none;display:grid;gap:1px;
  background:var(--line);border:1px solid var(--line);
  margin-top:clamp(2.5rem,5vw,4rem);
}
@media(min-width:820px){.claim__marks{grid-template-columns:repeat(3,1fr)}}
.claim__marks li{
  background:var(--onyx);padding:clamp(1.1rem,2vw,1.5rem);
  font-size:.74rem;letter-spacing:.2em;text-transform:uppercase;color:var(--dust);
}

/* ==========================================================================
   ATELIER (lit section)
   ========================================================================== */
.atelier__grid{display:grid;gap:clamp(1.5rem,3vw,3rem);grid-template-columns:1fr}
@media(min-width:900px){.atelier__grid{grid-template-columns:minmax(0,5fr) minmax(0,7fr);align-items:center}}
.atelier__media{position:relative;aspect-ratio:4/5;overflow:hidden;background:var(--ivory-2)}
.atelier__media video{width:100%;height:100%;object-fit:cover}
.steps{margin-top:clamp(1.5rem,3vw,2.5rem)}
.step{display:grid;grid-template-columns:auto 1fr;gap:1.2rem;padding-block:1.35rem;
  border-top:1px solid var(--line-lt)}
.step__n{font-family:var(--display);color:var(--gold-dk);font-size:1.1rem}
.step h3{font-size:1.15rem;margin-bottom:.35rem}
.step p{font-size:.95rem;color:#5A574F;max-width:52ch}

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact{text-align:center}
.contact__title{font-size:clamp(2.4rem,7vw,6rem);text-transform:uppercase;letter-spacing:.03em}
.contact p{margin-inline:auto}
.contact__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:1rem;margin-top:2.5rem}
.btn{
  display:inline-flex;align-items:center;justify-content:center;
  min-height:52px;padding:0 2.2rem;
  font-size:.76rem;letter-spacing:.24em;text-transform:uppercase;font-weight:300;
  border:1px solid var(--gold-dk);color:var(--gold-lt);
  transition:background-color 320ms var(--ease), color 320ms var(--ease), border-color 320ms var(--ease);
}
.btn:hover,.btn:focus-visible{background:var(--gold);color:#000;border-color:var(--gold)}
.btn--solid{background:var(--gold);color:#000;border-color:var(--gold)}
.btn--solid:hover,.btn--solid:focus-visible{background:var(--gold-lt);border-color:var(--gold-lt)}
.contact__lines{margin-top:3rem;display:flex;flex-wrap:wrap;justify-content:center;
  align-items:center;gap:.2rem 2.5rem;color:var(--dust);font-size:.9rem}
.contact__lines a,.contact__lines span{
  display:inline-flex;align-items:center;min-height:44px;   /* touch target */
}
.contact__lines a{transition:color 250ms var(--ease)}
.contact__lines a:hover{color:var(--gold-lt)}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer{border-top:1px solid var(--line);padding-block:3rem;background:var(--noir);color:var(--chalk)}
.footer__in{display:flex;flex-wrap:wrap;gap:1.5rem;justify-content:space-between;align-items:center}
.footer__logo{height:52px;width:auto;opacity:.9}
/* --dust-dk only reaches 2.9:1 on black; small text needs 4.5:1. */
.footer small{color:var(--dust);font-size:.76rem;letter-spacing:.1em}
.footer__social{display:flex;gap:.4rem}
.footer__social a{width:44px;height:44px;display:grid;place-items:center;color:var(--dust);
  transition:color 250ms var(--ease)}
.footer__social a:hover{color:var(--gold-lt)}
.footer__social svg{width:19px;height:19px}

/* ---------- WhatsApp pill ----------
   Matches the Yekutiel Ravid site: same pill, same tracking, same green mark,
   same white panel rising on hover. His sits on white paper, so the near-black
   pill separates on its own; here the ground is black, so it carries a gold
   hairline to hold its edge. */
.social-fabs{
  position:fixed;z-index:var(--z-fab);
  inset-inline-start:calc(var(--gut) + env(safe-area-inset-left));
  bottom:calc(2rem + env(safe-area-inset-bottom));
  display:flex;flex-direction:column-reverse;align-items:flex-start;gap:.7rem;
  transition:opacity 400ms var(--ease-io), transform 400ms var(--ease-io);
}
/* Steps aside at the footer, where the contact details are already on screen. */
.social-fabs--hidden{opacity:0;transform:translateY(1rem);pointer-events:none}
.social-fab{
  display:inline-flex;align-items:center;gap:.6rem;
  min-height:48px;padding:1rem 1.8rem;border-radius:40px;
  font-family:var(--sans);font-size:.7rem;font-weight:300;
  letter-spacing:.24em;text-transform:uppercase;
  background:#0B0B0B;color:var(--chalk);
  border:1px solid var(--gold-dk);
  box-shadow:0 10px 30px rgba(0,0,0,.55);
  position:relative;overflow:hidden;
  isolation:isolate;   /* so the rising panel sits above the pill's own fill */
  transition:color 500ms var(--ease), border-color 400ms var(--ease),
             box-shadow 400ms var(--ease-io), transform 400ms var(--ease-io);
}
.social-fab::before{
  content:"";position:absolute;inset:0;background:var(--chalk);
  transform:translateY(101%);transition:transform 500ms var(--ease);z-index:-1;
}
.social-fab:hover,.social-fab:focus-visible{
  color:#000;border-color:var(--chalk);transform:translateY(-2px);
  box-shadow:0 14px 34px rgba(0,0,0,.6);
}
.social-fab:hover::before,.social-fab:focus-visible::before{transform:translateY(0)}
.social-fab__icon{width:15px;height:15px;flex:none;color:#25D366}

@media(max-width:640px){
  .social-fabs{inset-inline-start:calc(1.1rem + env(safe-area-inset-left));
    bottom:calc(1.1rem + env(safe-area-inset-bottom));gap:.6rem}
  .social-fab{padding:.85rem 1.4rem;font-size:.64rem}
  .social-fab__icon{width:13px;height:13px}
}

/* ---------- Sound toggle ---------- */
.music-toggle{
  position:fixed;z-index:var(--z-fab);
  inset-inline-end:calc(var(--gut) + env(safe-area-inset-right));
  bottom:calc(2rem + env(safe-area-inset-bottom));
  width:48px;height:48px;border-radius:50%;
  display:grid;place-items:center;
  background:#0B0B0B;color:var(--gold);
  border:1px solid var(--gold-dk);
  box-shadow:0 10px 30px rgba(0,0,0,.55);
  transition:color 300ms var(--ease), border-color 300ms var(--ease), transform 300ms var(--ease-io);
}
.music-toggle:hover,.music-toggle:focus-visible{
  color:var(--gold-lt);border-color:var(--gold);transform:translateY(-2px);
}
.music-toggle__icon{width:18px;height:18px}
.music-toggle .wave{transition:opacity 200ms var(--ease)}
.music-toggle .mute-x{opacity:0;transition:opacity 200ms var(--ease)}
.music-toggle.is-muted{color:var(--dust)}
.music-toggle.is-muted .wave{opacity:0}
.music-toggle.is-muted .mute-x{opacity:1}
@media(max-width:640px){
  .music-toggle{inset-inline-end:calc(1.1rem + env(safe-area-inset-right));
    bottom:calc(1.1rem + env(safe-area-inset-bottom));width:44px;height:44px}
  .music-toggle__icon{width:16px;height:16px}
}

/* ---------- Progress rail ---------- */
.rail{position:fixed;top:0;inset-inline-start:0;height:2px;width:100%;
  transform:scaleX(0);transform-origin:left;background:var(--gold);z-index:var(--z-nav)}

/* ==========================================================================
   MOBILE NAV
   ========================================================================== */
@media(max-width:860px){
  .nav__links{
    /* Solid, not .97 — the two white sections ghosted through the last 3%. */
    position:fixed;inset:0;background:var(--noir);
    flex-direction:column;justify-content:center;gap:.5rem;
    transform:translateY(-100%);transition:transform 600ms var(--ease);
  }
  .nav__links.is-open{transform:none}
  .nav__link{font-size:1.05rem;letter-spacing:.24em;min-height:56px}
  .nav__cta{display:none}
  /* The three bars are absolutely centred on the same point and offset from
     there, so the open state is an exact X. Laying them out in flow and
     guessing the gap in the transform left them 19px apart — a "›", not a
     cross — because the real row spacing was 9.7px, not the 7px assumed. */
  .nav__burger{display:block;position:relative;width:44px;height:44px;z-index:2}
  .nav__burger span{
    position:absolute;left:50%;top:50%;
    width:24px;height:1px;background:var(--chalk);
    transform:translate(-50%,-50%);
    transition:transform 400ms var(--ease), opacity 300ms var(--ease);
  }
  .nav__burger span:nth-child(1){transform:translate(-50%,-50%) translateY(-7px)}
  .nav__burger span:nth-child(3){transform:translate(-50%,-50%) translateY(7px)}
  .nav__burger.is-open span:nth-child(1){transform:translate(-50%,-50%) rotate(45deg)}
  .nav__burger.is-open span:nth-child(2){opacity:0}
  .nav__burger.is-open span:nth-child(3){transform:translate(-50%,-50%) rotate(-45deg)}
}

/* ==========================================================================
   REDUCED MOTION
   ========================================================================== */
@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{
    animation-duration:.01ms !important;animation-iteration-count:1 !important;
    transition-duration:.01ms !important;scroll-behavior:auto !important;
  }
  .js .curtain{clip-path:none}
  .js .rise{opacity:1;transform:none}
  .js .hero__title i{transform:none}
}
