/* =========================================================
   MATAN LALO — TATTOOS
   Palette: black & grey ink. No accent hue by design —
   he tattoos in black & grey, the site works in black & grey.
   Warm stone (statues) against cold graphite (ink).
   ========================================================= */

:root{
  --ink:      #0B0B0C;   /* undiluted black */
  --graphite: #16171A;   /* raised surface, cool */
  --wash:     #3A3B40;   /* mid grey wash */
  --stone:    #A8A29B;   /* marble / statue, warm */
  --bone:     #E8E4DE;   /* aged plaster — text */
  --skin:     #C9B8A8;   /* hairlines only, very sparing */

  --rule: color-mix(in srgb, var(--stone) 22%, transparent);
  --wa:   #20c967;       /* WhatsApp green — used only for WhatsApp actions */

  --f-disp:  "Frank Ruhl Libre", "Times New Roman", serif;      /* Hebrew display */
  --f-latin: "Bodoni Moda", "Frank Ruhl Libre", serif;          /* Latin display */
  --f-body:  "Heebo", system-ui, -apple-system, sans-serif;     /* body / UI */

  --pad: clamp(1.25rem, 5vw, 6rem);
  --max: 1440px;
  --ease: cubic-bezier(.22,1,.36,1);
}

*,*::before,*::after{ box-sizing:border-box; }

html{ -webkit-text-size-adjust:100%; }

body{
  margin:0;
  background:var(--ink);
  color:var(--bone);
  font-family:var(--f-body);
  font-weight:300;
  font-size:clamp(.95rem,.9rem + .25vw,1.05rem);
  line-height:1.75;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
}

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

/* Photography sits in his medium: desaturated, cool, low-key. */
.hero__bg img,
.story__plate img,
.course__slab img,
.tile img{
  filter:grayscale(.72) contrast(1.06) brightness(.92);
  transition:filter .9s var(--ease), transform 1.2s var(--ease);
}
.tile:hover img{ filter:grayscale(.2) contrast(1.1) brightness(1); transform:scale(1.03); }

a{ color:inherit; }

.skip{
  position:absolute; inset-inline-start:-9999px; top:0; z-index:999;
  background:var(--bone); color:var(--ink); padding:.7rem 1.1rem;
}
.skip:focus{ inset-inline-start:0; }

:where(a,button,summary,input,textarea):focus-visible{
  outline:2px solid var(--skin); outline-offset:3px; border-radius:2px;
}

/* ---------- shared type ---------- */
.h-display{
  font-family:var(--f-disp);
  font-weight:400;
  font-size:clamp(2.4rem,1.2rem + 5.4vw,6rem);
  line-height:.98;
  letter-spacing:-.015em;
  margin:0 0 1.4rem;
  color:var(--bone);
}
.indent{ display:inline-block; margin-inline-start:clamp(1.5rem,7vw,7rem); }

.eyebrow{
  font-family:var(--f-body);
  font-size:.68rem; font-weight:400;
  letter-spacing:.32em;
  text-transform:uppercase;
  color:var(--stone);
  margin:0 0 1.6rem;
  display:flex; align-items:center; gap:.9rem;
}
.eyebrow::after{ content:""; flex:1; height:1px; background:var(--rule); }

.lede{ font-family:var(--f-disp); font-size:clamp(1.15rem,1rem + .7vw,1.6rem); color:var(--bone); line-height:1.5; margin:0 0 1.6rem; }

p{ color:color-mix(in srgb, var(--bone) 68%, var(--ink)); margin:0 0 1.1rem; max-width:52ch; }

.link{ color:var(--stone); text-decoration:none; border-bottom:1px solid var(--rule); padding-bottom:.15rem; transition:color .4s, border-color .4s; }
.link:hover{ color:var(--bone); border-color:var(--skin); }

/* ---------- buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  font-family:var(--f-body); font-size:.82rem; font-weight:400;
  letter-spacing:.12em; text-decoration:none;
  padding:1rem 1.9rem; border-radius:999px;
  transition:background .45s var(--ease), color .45s var(--ease), border-color .45s var(--ease);
}
.btn--solid{ background:var(--bone); color:var(--ink); border:1px solid var(--bone); }
.btn--solid:hover{ background:transparent; color:var(--bone); }
.btn--ghost{ background:transparent; color:var(--bone); border:1px solid var(--rule); }
.btn--ghost:hover{ border-color:var(--bone); }
.btn--wa{ background:var(--wa); color:#04150b; border:1px solid var(--wa); font-weight:500; }
.btn--wa:hover{ background:#2fe27a; border-color:#2fe27a; color:#031108; }
.btn--wa svg{ width:1.15em; height:1.15em; margin-inline-end:.6em; fill:currentColor; }
.btn--wide{ width:100%; margin:.4rem 0 1.6rem; }

/* =========================================================
   GEOMETRIC ACCENTS — sparse hairline marks that echo the
   armature and his geometric tattoo language. Purely decorative.
   ========================================================= */
.geo{ position:absolute; z-index:0; pointer-events:none; color:var(--stone); opacity:.34; }
.geo--square{ width:clamp(46px,6vw,92px); aspect-ratio:1; border:1px solid currentColor; }
.geo--rect{ width:clamp(24px,3vw,42px); height:clamp(96px,15vw,190px); border:1px solid currentColor; }
.geo--diamond{ width:clamp(38px,5vw,74px); aspect-ratio:1; border:1px solid currentColor; rotate:45deg; }
.geo--bracket{ width:clamp(38px,5vw,66px); aspect-ratio:1; border-inline-start:1px solid currentColor; border-block-start:1px solid currentColor; }
/* small registration cross, like the compass points */
.geo--plus{ width:15px; height:15px; opacity:.6; color:var(--skin); }
.geo--plus::before, .geo--plus::after{
  content:""; position:absolute; background:currentColor;
  inset-block-start:50%; inset-inline-start:50%; translate:-50% -50%;
}
.geo--plus::before{ width:15px; height:1px; }
.geo--plus::after{ width:1px; height:15px; }
/* a hollow dot, second compass motif */
.geo--dot{ width:10px; height:10px; border:1px solid var(--skin); border-radius:50%; opacity:.6; }

/* thin these out on small screens so they never crowd the content */
@media (max-width:640px){
  .geo--rect, .geo--bracket{ display:none; }
  .geo{ opacity:.26; }
}
@media (prefers-reduced-motion:reduce){ .geo[data-depth]{ transform:none !important; } }

/* =========================================================
   NAV
   ========================================================= */
.nav{
  position:fixed; inset-block-start:0; inset-inline:0; z-index:100;
  display:flex; align-items:center; justify-content:space-between;
  padding:1.35rem var(--pad);
  transition:background .5s, padding .5s, border-color .5s;
  border-bottom:1px solid transparent;
}
/* The frosted blur lives on a pseudo-element, NOT on .nav itself: an element
   with backdrop-filter becomes the containing block for its position:fixed
   children, which would collapse the full-screen mobile menu down to the
   height of the nav bar once the page is scrolled. */
.nav::before{
  content:""; position:absolute; inset:0; z-index:-1;
  opacity:0; pointer-events:none;
  backdrop-filter:blur(14px);
  transition:opacity .5s var(--ease);
}
.nav.is-stuck::before{ opacity:1; }
.nav.is-stuck{
  background:color-mix(in srgb, var(--ink) 82%, transparent);
  padding-block:.9rem;
  border-bottom-color:var(--rule);
}
.nav__mark{ font-family:var(--f-latin); font-size:1.15rem; letter-spacing:.18em; text-decoration:none; color:var(--bone); }
.nav__links{ display:flex; gap:clamp(1rem,2.4vw,2.4rem); }
.nav__links a{ font-size:.82rem; text-decoration:none; color:color-mix(in srgb,var(--bone) 62%,var(--ink)); transition:color .35s; }
.nav__links a:hover{ color:var(--bone); }
.nav__cta{
  display:inline-flex; align-items:center; gap:.5rem;
  font-size:.78rem; font-weight:500; letter-spacing:.08em; text-decoration:none;
  background:var(--wa); color:#04150b;
  border:1px solid var(--wa); border-radius:999px; padding:.6rem 1.25rem;
  transition:background .4s, border-color .4s;
}
.nav__cta:hover{ background:#2fe27a; border-color:#2fe27a; }
.nav__cta-ic{ width:1.05em; height:1.05em; fill:currentColor; }

.nav__lang{
  background:transparent; border:1px solid var(--rule); border-radius:999px;
  color:var(--bone); font-family:var(--f-body); font-size:.72rem; letter-spacing:.14em;
  padding:.45rem .75rem; cursor:pointer; min-width:2.6rem;
  transition:border-color .35s, color .35s;
}
.nav__lang:hover{ border-color:var(--bone); }
.nav__dot{ width:6px; height:6px; border-radius:50%; background:var(--skin); }

/* burger — desktop hides it entirely */
.nav__burger{
  display:none; position:relative; z-index:2;
  width:44px; height:44px; padding:0;
  background:transparent; border:0; cursor:pointer;
}
.nav__burger span{
  position:absolute; inset-inline:11px; height:1px; background:var(--bone);
  transition:translate .4s var(--ease), rotate .4s var(--ease), opacity .3s;
}
.nav__burger span:nth-child(1){ top:19px; }
.nav__burger span:nth-child(2){ top:25px; }

@media (max-width:820px){
  .nav{ gap:.5rem; }
  .nav__burger{ display:block; }
  .nav__cta{ margin-inline-start:auto; }

  .nav__links{
    position:fixed; inset:0; z-index:1;
    flex-direction:column; justify-content:center; align-items:center;
    gap:1.6rem;
    background:color-mix(in srgb, var(--ink) 97%, transparent);
    backdrop-filter:blur(18px);
    opacity:0; visibility:hidden;
    transition:opacity .45s var(--ease), visibility 0s linear .45s;
  }
  .nav__links a{
    font-family:var(--f-disp); font-size:1.9rem;
    color:var(--bone);
    translate:0 14px; opacity:0;
    transition:translate .5s var(--ease), opacity .5s var(--ease);
  }

  body.menu-open{ overflow:hidden; }
  body.menu-open .nav__links{ opacity:1; visibility:visible; transition:opacity .45s var(--ease), visibility 0s; }
  body.menu-open .nav__links a{ translate:0 0; opacity:1; }
  body.menu-open .nav__links a:nth-child(1){ transition-delay:.06s; }
  body.menu-open .nav__links a:nth-child(2){ transition-delay:.12s; }
  body.menu-open .nav__links a:nth-child(3){ transition-delay:.18s; }
  body.menu-open .nav__links a:nth-child(4){ transition-delay:.24s; }
  body.menu-open .nav__links a:nth-child(5){ transition-delay:.30s; }

  body.menu-open .nav__burger span:nth-child(1){ top:22px; rotate:45deg; }
  body.menu-open .nav__burger span:nth-child(2){ top:22px; rotate:-45deg; }
  body.menu-open .nav__cta{ opacity:0; pointer-events:none; }
}

/* =========================================================
   ARMATURE — the signature.
   Compass-and-straightedge construction lines: the geometry
   that sits under his geometric work, drifting behind the page.
   ========================================================= */
.armature{
  position:absolute; z-index:0; pointer-events:none;
  color:var(--stone); opacity:.10;
  width:min(150vh,150vw); aspect-ratio:1;
  inset-block-start:50%; inset-inline-start:50%;
  translate:50% -50%;              /* RTL-safe centring */
  will-change:transform;
}
.armature svg{ width:100%; height:100%; }
.armature--low{ opacity:.09; width:min(110vh,120vw); }

/* =========================================================
   HERO
   ========================================================= */
.hero{
  position:relative; min-height:100svh;
  display:flex; flex-direction:column;
  padding:clamp(5.5rem,13vh,9rem) var(--pad) 0;
  overflow:hidden;
}
/* full-screen statue behind the wordmark; overscan top/bottom so the
   scroll drift never exposes an edge */
.hero__bg{
  position:absolute; inset:-12% 0; z-index:0; margin:0;
  will-change:transform;
}
.hero__bg img{ width:100%; height:100%; object-fit:cover; object-position:50% 28%; }
/* scrim: a strong black fade down from the top so the headline reads,
   easing into the statue, then darkening again at the bottom for the CTAs */
.hero::after{
  content:""; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:
    linear-gradient(to bottom,
      rgba(11,11,12,.96) 0%,
      rgba(11,11,12,.82) 14%,
      rgba(11,11,12,.34) 38%,
      rgba(11,11,12,.34) 60%,
      rgba(11,11,12,.9) 100%);
}
.hero__inner{
  position:relative; z-index:2;
  width:100%; max-width:var(--max); margin-inline:auto;
  flex:1; display:flex; flex-direction:column;
}

/* Full-bleed wordmark. The plate crosses it, so the name reads
   through and around the image rather than beside it. */
.hero__name{
  font-family:var(--f-latin);
  font-weight:400;
  direction:ltr;
  text-align:center;
  /* fitted to the content box: "MATAN LALO" in Bodoni Moda
     measures ~6.22x its font-size, so 6.4 leaves safe slack */
  font-size:min( calc((100vw - 2 * var(--pad)) / 6.4), 14rem );
  line-height:.9;
  letter-spacing:-.015em;
  margin:0;
  position:relative; z-index:1;
  pointer-events:none;
  white-space:nowrap;
}
/* padding + matching negative margin gives descenders room to sit
   inside the mask without changing where the line actually lands */
.lineMask{ display:block; overflow:hidden; padding-block-end:.14em; margin-block-end:-.14em; }
.lineMask__i{ display:block; }

.hero__he{
  text-align:center;
  font-size:clamp(.72rem,.66rem + .25vw,.86rem);
  letter-spacing:.34em;
  color:var(--stone);
  margin:clamp(.7rem,1.8vh,1.4rem) 0 0;
  position:relative; z-index:3;
}

.hero__foot{
  position:relative; z-index:3;
  margin-block-start:auto;
  padding-block-end:clamp(2.5rem,7vh,4.5rem);
  max-width:32ch;
}
.hero__disc{ font-family:var(--f-disp); font-size:clamp(1.05rem,.95rem + .5vw,1.4rem); color:var(--bone); margin:0 0 .3rem; }
.hero__place{ font-size:.8rem; letter-spacing:.14em; color:var(--stone); margin:0 0 clamp(1.1rem,2.6vh,1.8rem); }
.hero__acts{ display:flex; flex-wrap:wrap; gap:.6rem; }
/* hero CTAs run at half the standard button size */
.hero__acts .btn{ padding:.5rem .95rem; font-size:.66rem; letter-spacing:.1em; }

.hero__scroll{
  position:absolute; inset-block-end:1.6rem; inset-inline-end:var(--pad); z-index:3;
  display:flex; align-items:center; gap:.7rem;
  font-size:.66rem; letter-spacing:.3em; color:var(--stone);
}
.hero__scroll i{ display:block; width:1px; height:32px; background:linear-gradient(var(--stone),transparent); }

@media (max-width:760px){
  .hero__foot{ max-width:none; margin-block-start:auto; padding-block-end:clamp(2rem,6vh,3rem); }
  .hero__scroll{ display:none; }
}

/* =========================================================
   STORY — the artist. Portrait in an arch mount beside the text,
   the armature drawing itself behind both.
   ========================================================= */
.story{ position:relative; overflow:hidden; padding:clamp(6rem,15vw,13rem) var(--pad); }
.story__inner{ position:relative; z-index:2; max-width:var(--max); margin-inline:auto; }

.story__grid{
  display:grid; grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);
  gap:clamp(2rem,6vw,5.5rem); align-items:center;
}

/* Arch-framed portrait: a stone mount with the image inset inside it,
   so the border reads as a cut opening. */
.story__portrait{
  position:relative; margin:0;
  width:min(420px,100%); margin-inline:auto;
  aspect-ratio:1120/1400;
  will-change:transform, opacity;
}
.story__arch{
  position:absolute; inset:0;
  border-radius:999px 999px 6px 6px;
  background:linear-gradient(170deg,
    color-mix(in srgb, var(--stone) 34%, var(--ink)),
    color-mix(in srgb, var(--stone) 12%, var(--ink)));
  box-shadow:0 50px 110px -34px rgba(0,0,0,.95);
}
.story__plate{
  position:absolute; inset:clamp(9px,1.2vw,16px);
  overflow:hidden;
  border-radius:999px 999px 4px 4px;
}
.story__plate img{ width:100%; height:100%; object-fit:cover; object-position:50% 22%; }

.story__h{ margin:0; }
.story__body .lede{ margin-bottom:1.8rem; }
.sig{ font-family:var(--f-latin); font-size:.74rem; letter-spacing:.34em; color:var(--stone); margin-top:2.2rem; }

.armature--story{ opacity:.13; width:min(105vh,95vw); }

@media (max-width:860px){
  .story__grid{ grid-template-columns:1fr; gap:clamp(2.5rem,7vw,3.5rem); }
  .story__portrait{ width:min(340px,82%); }
}

/* =========================================================
   VERSE — type-only statement, hairline rules top and bottom
   ========================================================= */
.verse{
  position:relative;
  padding:clamp(5rem,12vw,9rem) var(--pad);
  border-block:1px solid var(--rule);
}
.verse__inner{ position:relative; z-index:2; max-width:var(--max); margin-inline:auto; }
.verse__h{ max-width:16ch; }
.verse__p{ max-width:46ch; font-size:1.02rem; }

/* =========================================================
   FILM — a real moment from a session, portrait video
   ========================================================= */
.film{ position:relative; max-width:var(--max); margin-inline:auto; padding:clamp(5rem,11vw,9rem) var(--pad); }
.film__inner{
  display:grid; grid-template-columns:minmax(0,1fr) auto;
  gap:clamp(2rem,6vw,6rem); align-items:center;
}
.film__text{ max-width:34ch; }
.film .h-display{ font-size:clamp(1.9rem,1.4rem + 2.4vw,3.6rem); }

.film__frame{
  position:relative; margin:0;
  width:min(360px,78vw); aspect-ratio:9/16;
  overflow:hidden; border-radius:4px;
  background:#000;
  box-shadow:0 40px 90px -34px rgba(0,0,0,.95);
}
.film__frame video{
  width:100%; height:100%; object-fit:cover;
  filter:grayscale(.35) contrast(1.04);
}
/* small sound toggle — playback itself is automatic on scroll */
.film__sound{
  position:absolute; z-index:2;
  inset-block-end:.9rem; inset-inline-end:.9rem;
  width:44px; height:44px; padding:0;
  display:grid; place-items:center;
  border:1px solid color-mix(in srgb,var(--bone) 45%,transparent);
  border-radius:50%; cursor:pointer;
  color:var(--bone);
  background:color-mix(in srgb,var(--ink) 45%,transparent);
  backdrop-filter:blur(4px);
  transition:background .35s var(--ease), border-color .35s var(--ease);
}
.film__sound:hover{ background:color-mix(in srgb,var(--ink) 20%,transparent); border-color:var(--bone); }
.film__ic{ width:20px; height:20px; fill:currentColor; }
.film__ic--sound{ display:none; }
.film.has-sound .film__ic--muted{ display:none; }
.film.has-sound .film__ic--sound{ display:block; }

@media (max-width:760px){
  .film__inner{ grid-template-columns:1fr; gap:clamp(2rem,7vw,3rem); }
  .film__text{ max-width:none; order:1; }
  .film__frame{ order:2; margin-inline:auto; }
}

/* =========================================================
   WORK REVEAL — sticky stage. Scattered work draws together,
   the centre piece opens, and the gallery is behind it.
   ========================================================= */
.reveal{ position:relative; height:300vh; }
.reveal__stage{
  position:sticky; inset-block-start:0; z-index:3;
  height:100svh; overflow:hidden;
  display:grid; place-items:center;
  background:var(--ink);
}
/* slow-turning geometric backdrop, echoing his tattoos */
.reveal__geo{
  position:absolute; z-index:0; pointer-events:none;
  inset-block-start:50%; inset-inline-start:50%;
  translate:50% -50%;                       /* RTL-safe centring */
  width:min(150vh,150vw); aspect-ratio:1;
  color:var(--stone); opacity:.12;
  will-change:rotate;
  animation:geospin 120s linear infinite;   /* slow ambient turn */
}
.reveal__geo svg{ width:100%; height:100%; }
@keyframes geospin{ to{ rotate:360deg; } }

.reveal__collage{
  position:relative; z-index:1;
  width:min(1160px, 92vw); height:min(720px, 78svh);
}
/* .cg is the positioned carrier (the scene scrubs its transform/opacity);
   .cg__f is the frame that floats continuously on its own transform, so
   the two never fight. */
.cg{
  position:absolute; margin:0;
  will-change:transform, opacity;
}
.cg__f{
  position:absolute; inset:0; overflow:hidden;
  border-radius:3px; background:var(--graphite);
  box-shadow:0 30px 80px -24px rgba(0,0,0,.95);
}
.cg__f img{ width:100%; height:100%; object-fit:cover; }

/* Scattered pieces: match the photo's own 2:3 ratio so the whole tattoo
   shows (no crop), drop the frame, and feather the edges into the black
   so they read as floating fragments rather than hard rectangles. */
.cg:not(.cg--hero) .cg__f{
  background:transparent; box-shadow:none; border-radius:0; overflow:visible;
  -webkit-mask-image:radial-gradient(ellipse 68% 84% at 50% 50%, #000 34%, transparent 90%);
  mask-image:radial-gradient(ellipse 68% 84% at 50% 50%, #000 34%, transparent 90%);
}
.cg:not(.cg--hero) .cg__f img{ object-fit:contain; }

/* Scattered organically around the centre — x is staggered per piece so
   same-side photos never stack into a strip. Small, whole, feathered. */
.cg--1{ inset-inline-start:2%;  inset-block-start:3%;   width:15%; aspect-ratio:2/3; }
.cg--7{ inset-inline-start:21%; inset-block-start:15%;  width:12%; aspect-ratio:2/3; }
.cg--3{ inset-inline-end:3%;    inset-block-start:0;    width:15%; aspect-ratio:2/3; }
.cg--5{ inset-inline-start:7%;  inset-block-start:40%;  width:13%; aspect-ratio:2/3; }
.cg--6{ inset-inline-end:6%;    inset-block-start:36%;  width:14%; aspect-ratio:2/3; }
.cg--2{ inset-inline-start:15%; inset-block-end:1%;     width:15%; aspect-ratio:2/3; }
.cg--8{ inset-inline-end:21%;   inset-block-end:13%;    width:12%; aspect-ratio:2/3; }
.cg--4{ inset-inline-end:14%;   inset-block-end:2%;     width:15%; aspect-ratio:2/3; }

/* per-piece float character (amount + timing), so they drift
   independently around the centre rather than in lockstep */
.cg--1 .cg__f{ --fx:10px;  --fy:-12px; --fr:1deg;   animation-duration:8s;  animation-delay:-1s; }
.cg--2 .cg__f{ --fx:-9px;  --fy:11px;  --fr:-.8deg; animation-duration:10s; animation-delay:-3s; }
.cg--3 .cg__f{ --fx:8px;   --fy:10px;  --fr:.9deg;  animation-duration:9s;  animation-delay:-2s; }
.cg--4 .cg__f{ --fx:-11px; --fy:-9px;  --fr:-1deg;  animation-duration:11s; animation-delay:-5s; }
.cg--5 .cg__f{ --fx:-12px; --fy:8px;   --fr:.7deg;  animation-duration:9.5s;animation-delay:-4s; }
.cg--6 .cg__f{ --fx:12px;  --fy:-10px; --fr:-.6deg; animation-duration:8.5s;animation-delay:-1.5s; }
.cg--7 .cg__f{ --fx:6px;   --fy:13px;  --fr:1deg;   animation-duration:10.5s;animation-delay:-6s; }
.cg--8 .cg__f{ --fx:-8px;  --fy:-13px; --fr:.8deg;  animation-duration:9.5s;animation-delay:-2.5s; }
.cg:not(.cg--hero) .cg__f{ animation-name:cgfloat; animation-timing-function:ease-in-out; animation-iteration-count:infinite; }

@keyframes cgfloat{
  0%,100%{ transform:translate(0,0) rotate(0deg); }
  50%{ transform:translate(var(--fx,8px), var(--fy,-10px)) rotate(var(--fr,1deg)); }
}
@media (prefers-reduced-motion:reduce){
  .cg:not(.cg--hero) .cg__f{ animation:none; }
  .reveal__geo{ display:none; }
}

/* The piece that opens. Centred with inset+margin, never with the CSS
   `translate` property — GSAP scales it via `transform`, and the two
   stack, which would throw the zoom off centre. */
.cg--hero{
  inset:0; margin:auto;
  width:34%; aspect-ratio:3/4;
  z-index:4;
}
/* Darkens the opened image as it fills the screen, so the emblem and
   label read cleanly against near-black instead of a busy photo.
   Driven by the scene timeline (opacity 0 -> 1). */
.cg__veil{
  position:absolute; inset:0; z-index:1;
  background:var(--ink);
  opacity:0; pointer-events:none;
}

.reveal__emblem{
  position:absolute; z-index:5;
  inset:0; margin:auto;
  width:clamp(190px,21vw,290px); height:clamp(190px,21vw,290px);
  display:grid; place-items:center;
  color:var(--bone);
  opacity:0; pointer-events:none;
  text-shadow:0 2px 18px rgba(0,0,0,.85);
}
.reveal__emblem svg{ position:absolute; inset:0; width:100%; height:100%; opacity:.75; }
.reveal__label{
  position:relative;
  font-size:clamp(.68rem,.62rem + .2vw,.8rem);
  letter-spacing:.28em; line-height:1.9; text-align:center;
}

/* No JS / reduced motion: the scene collapses to a plain collage
   and the tall scroll track shrinks so nothing feels broken. */
.no-motion .reveal, html:not(.js) .reveal{ height:auto; }
.no-motion .reveal__stage, html:not(.js) .reveal__stage{ position:static; height:auto; padding:4rem 0; }
.no-motion .reveal__emblem, html:not(.js) .reveal__emblem{ display:none; }

@media (max-width:760px){
  .reveal{ height:240vh; }
  .reveal__collage{ width:94vw; height:74svh; }
  .cg--hero{ width:48%; }
  .cg--1{ width:30%; } .cg--2{ width:29%; } .cg--3{ width:31%; }
  .cg--4{ width:29%; } .cg--5{ width:25%; } .cg--6{ width:26%; }
  .cg--7{ width:25%; } .cg--8{ width:26%; }
  .reveal__geo{ opacity:.16; }
}
@media (prefers-reduced-motion:reduce){
  .reveal{ height:auto; }
  .reveal__stage{ position:static; height:auto; padding:4rem 0; }
  .reveal__emblem{ display:none; }
}

/* =========================================================
   WORK — staggered mosaic, tiles drift at their own speed
   ========================================================= */
.work{ max-width:var(--max); margin-inline:auto; padding:clamp(5rem,11vw,9rem) var(--pad); }

/* The gallery is pulled up under the reveal's last screen, so when the
   zoomed piece dissolves the grid is already sitting behind it — the
   scene opens into the gallery instead of cutting to black. */
html.js:not(.no-motion) .work{ position:relative; z-index:1; margin-block-start:-100svh; }
@media (prefers-reduced-motion:reduce){
  html.js .work{ margin-block-start:0; }
}
.work__head{ margin-bottom:clamp(2.5rem,5vw,4rem); }
.work__sub{ max-width:44ch; }

/* Masonry (CSS multi-column) so tiles of different heights pack tight
   with no gaps — the previous grid left empty cells where spans didn't
   line up. Desktop layers a subtle scatter + scroll drift on top; that
   transform is purely visual and never reopens the gaps. */
.grid{
  columns:3;
  column-gap:clamp(.5rem,1vw,.9rem);
}
@media (min-width:1240px){ .grid{ columns:4; } }
@media (max-width:768px){ .grid{ columns:2; } }
@media (max-width:420px){ .grid{ column-gap:.45rem; } }

.tile{
  position:relative; break-inside:avoid;
  width:100%; margin:0 0 clamp(.5rem,1vw,.9rem);
  background:var(--graphite); cursor:zoom-in;
  --sx:0px; --sy:0px; --py:0px; --rot:0deg;
  transform:translate3d(var(--sx), calc(var(--sy) + var(--py)), 0) rotate(var(--rot));
  will-change:transform;
}
@media (max-width:420px){ .tile{ margin-bottom:.45rem; } }

/* subtle scatter + depth stacking, desktop only (cycles every five) */
@media (min-width:769px){
  .tile:nth-child(5n+1){ --sx:0px;   --sy:-12px; --rot:-.5deg; z-index:4; }
  .tile:nth-child(5n+2){ --sx:-15px; --sy:14px;  --rot:.5deg;  z-index:2; }
  .tile:nth-child(5n+3){ --sx:13px;  --sy:-8px;  --rot:.7deg;  z-index:5; }
  .tile:nth-child(5n+4){ --sx:-10px; --sy:11px;  --rot:-.4deg; z-index:3; }
  .tile:nth-child(5n+5){ --sx:17px;  --sy:-14px; --rot:.5deg;  z-index:6; }
}
@media (max-width:768px){ .tile{ transform:none !important; } }

.tile__in{
  position:relative; overflow:hidden;
  box-shadow:0 22px 55px -24px rgba(0,0,0,.9);
  transition:box-shadow .6s var(--ease);
  transform-origin:50% 50%;
}
.tile img{ width:100%; height:auto; display:block; }

.tile:hover{ z-index:20; }
.tile:hover .tile__in,
.tile:focus-visible .tile__in{ box-shadow:0 44px 100px -26px rgba(0,0,0,.98); }

/* zoom affordance — a drawn cross, same hairline language as the armature */
.tile__zoom{
  position:absolute; z-index:2;
  inset-block-start:.8rem; inset-inline-end:.8rem;
  width:26px; height:26px;
  opacity:0; scale:.8;
  transition:opacity .45s var(--ease), scale .45s var(--ease);
}
.tile__zoom::before, .tile__zoom::after{
  content:""; position:absolute; background:var(--bone);
  inset-block-start:50%; inset-inline-start:50%;
  translate:-50% -50%;
}
.tile__zoom::before{ width:13px; height:1px; }
.tile__zoom::after{ width:1px; height:13px; }
.tile:hover .tile__zoom, .tile:focus-visible .tile__zoom{ opacity:.9; scale:1; }

.work__more{ margin-top:2.5rem; max-width:none; }

/* =========================================================
   LIGHTBOX
   ========================================================= */
.lb{
  position:fixed; inset:0; z-index:200;
  display:grid; place-items:center;
  padding:clamp(1rem,5vw,4rem);
  background:color-mix(in srgb, var(--ink) 96%, transparent);
  backdrop-filter:blur(20px);
}
.lb[hidden]{ display:none; }
.lb__stage{ margin:0; max-width:min(92vw,900px); max-height:86vh; display:flex; flex-direction:column; gap:.9rem; }
.lb__img{
  max-width:100%; max-height:78vh; object-fit:contain;
  border-radius:3px; background:var(--graphite);
  box-shadow:0 50px 120px -30px rgba(0,0,0,.95);
}
.lb__cap{
  display:flex; justify-content:flex-end; align-items:center; gap:1rem;
  font-size:.74rem; letter-spacing:.18em; color:var(--stone);
}
.lb__count{ font-family:var(--f-latin); letter-spacing:.2em; }

.lb__close, .lb__nav{
  position:absolute; z-index:2;
  width:52px; height:52px; padding:0;
  background:transparent; border:1px solid var(--rule); border-radius:50%;
  cursor:pointer; transition:border-color .35s, background .35s;
}
.lb__close:hover, .lb__nav:hover{ border-color:var(--bone); background:color-mix(in srgb,var(--bone) 8%,transparent); }
.lb__close{ inset-block-start:clamp(1rem,3vw,2rem); inset-inline-end:clamp(1rem,3vw,2rem); }
.lb__close::before, .lb__close::after{
  content:""; position:absolute; top:50%; left:50%;
  width:15px; height:1px; background:var(--bone);
  transform:translate(-50%,-50%) rotate(45deg);
}
.lb__close::after{ transform:translate(-50%,-50%) rotate(-45deg); }

/* RTL: earlier work sits to the right, later work to the left,
   so prev takes the start (right) edge and next the end (left). */
.lb__nav{ inset-block-start:50%; translate:0 -50%; }
.lb__nav--prev{ inset-inline-start:clamp(.5rem,2vw,2rem); }
.lb__nav--next{ inset-inline-end:clamp(.5rem,2vw,2rem); }
.lb__nav::before{
  content:""; position:absolute; top:50%; left:50%;
  width:11px; height:11px;
  border-left:1px solid var(--bone); border-top:1px solid var(--bone);
}
.lb__nav--prev::before{ translate:-30% -50%; rotate:-45deg; }  /* points left  */
.lb__nav--next::before{ translate:-70% -50%; rotate:135deg; }  /* points right */

@media (max-width:600px){
  .lb__nav{ inset-block-start:auto; inset-block-end:1rem; translate:none; }
  .lb__nav--prev{ inset-inline-start:calc(50% + .5rem); }
  .lb__nav--next{ inset-inline-end:calc(50% + .5rem); }
  .lb__stage{ max-height:78vh; }
  .lb__img{ max-height:64vh; }
}

/* =========================================================
   TRUST
   ========================================================= */
.trust{ position:relative; max-width:var(--max); margin-inline:auto; padding:clamp(5rem,11vw,9rem) var(--pad); }
.trust__p{ max-width:52ch; }

.figures{
  display:flex; flex-wrap:wrap; gap:clamp(2rem,7vw,6rem);
  margin:clamp(2.5rem,5vw,4rem) 0;
  padding-block:2.2rem;
  border-block:1px solid var(--rule);
}
.figures__i dt{ font-family:var(--f-latin); font-size:clamp(2.4rem,1.5rem + 3vw,4rem); line-height:1; color:var(--bone); }
.figures__i dd{ margin:.6rem 0 0; font-size:.8rem; letter-spacing:.1em; color:var(--stone); max-width:22ch; }

/* =========================================================
   REVIEWS — its own section right after the gallery, so the
   scene zooms out straight into the testimonials.
   ========================================================= */
.reviews{ max-width:var(--max); margin-inline:auto; padding:clamp(4rem,9vw,7rem) var(--pad) clamp(5rem,11vw,9rem); }

/* Reviews: one shot held above the words, swapping as each review
   comes up — the picture belongs to the story being told. */
.says{ margin-top:0; }

.says__media{
  position:sticky; inset-block-start:0;
  height:clamp(220px,38svh,420px);
  margin-inline:calc(-1 * var(--pad));
  overflow:hidden; background:var(--graphite);
}
.shot{
  position:absolute; inset:0; margin:0;
  opacity:0; transition:opacity .9s var(--ease);
}
.shot img{ width:100%; height:100%; object-fit:cover; }
.shot.is-on{ opacity:1; }
.says__media::after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(to bottom, rgba(11,11,12,.55), transparent 30%, transparent 62%, var(--ink));
}

.says__list{ list-style:none; margin:0; padding:0; }
.say{
  padding-block:clamp(3rem,9vh,6rem);
  max-width:60ch; margin-inline:auto;
  border-block-end:1px solid var(--rule);
}
.say:last-child{ border-block-end:0; }
.say__who{ font-size:.78rem; letter-spacing:.26em; color:var(--bone); margin:0 0 .6rem; }
.say__stars{ color:var(--skin); letter-spacing:.2em; font-size:.78rem; margin:0 0 1.2rem; }
.say blockquote{
  margin:0; font-family:var(--f-disp);
  font-size:clamp(1.05rem,.98rem + .45vw,1.45rem); line-height:1.65;
  color:color-mix(in srgb,var(--bone) 84%,var(--ink));
}

/* =========================================================
   COURSE
   ========================================================= */
/* Vertical layout: the two stacked images sit above the text. */
/* Desktop: images (the stacked pair) sit on the right, beside the text.
   Mobile: single column, images on top, text below. */
.course{
  position:relative;
  display:grid; grid-template-columns:1fr 1fr;
  gap:clamp(2rem,5vw,5rem); align-items:center;
  max-width:var(--max); margin-inline:auto;
  padding:clamp(4rem,10vw,9rem) var(--pad);
}
.course .h-display{ font-size:clamp(1.9rem,1.4rem + 2.4vw,3.6rem); }

/* Two plain rectangles, one stacked over the other and offset —
   no arch, no rounding. */
.course__stack{
  position:relative;
  width:100%; max-width:460px; margin-inline:auto;
  height:clamp(380px,36vw,560px);
}
.course__slab{ position:absolute; margin:0; overflow:hidden; will-change:transform; }
.course__slab img{ width:100%; height:100%; object-fit:cover; }
.course__slab--a{
  inset-inline-start:0; inset-block-start:0;
  width:62%; aspect-ratio:3/4;
}
.course__slab--b{
  inset-inline-end:0; inset-block-start:22%;
  width:54%; aspect-ratio:3/4;
  z-index:2;
  box-shadow:0 30px 80px -18px rgba(0,0,0,.95);
}
.course__text{ max-width:52ch; }

@media (max-width:860px){
  .course{ grid-template-columns:1fr; gap:clamp(2.5rem,7vw,3.5rem); }
  .course__stack{ height:clamp(360px,66vw,520px); }
}
.course__latin{ font-family:var(--f-latin); font-size:.74rem; letter-spacing:.36em; color:var(--stone); margin:0 0 1.2rem; }

.ticks{ list-style:none; margin:0 0 2rem; padding:0; }
.ticks li{ position:relative; padding-inline-start:1.6rem; margin-bottom:.7rem; color:color-mix(in srgb,var(--bone) 72%,var(--ink)); font-size:.95rem; }
.ticks li::before{
  content:""; position:absolute; inset-inline-start:0; inset-block-start:.75em;
  width:.7rem; height:1px; background:var(--skin);
}

/* =========================================================
   FAQ
   ========================================================= */
.faq{
  position:relative;
  max-width:var(--max); margin-inline:auto;
  padding:clamp(5rem,11vw,9rem) var(--pad);
  display:grid; grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);
  gap:clamp(2rem,6vw,5rem); align-items:start;
}
.faq__list{ border-block-start:1px solid var(--rule); }
.qa{ border-block-end:1px solid var(--rule); }
.qa summary{
  list-style:none; cursor:pointer;
  font-family:var(--f-disp); font-size:clamp(1.05rem,1rem + .35vw,1.35rem);
  color:var(--bone); padding:1.5rem 0;
  display:flex; align-items:center; justify-content:space-between; gap:1rem;
  transition:color .35s;
}
.qa summary::-webkit-details-marker{ display:none; }
.qa summary::after{
  content:"+"; font-family:var(--f-body); font-weight:300; font-size:1.4rem;
  color:var(--stone); transition:rotate .45s var(--ease), color .35s;
}
.qa[open] summary::after{ rotate:45deg; color:var(--bone); }
.qa summary:hover{ color:var(--skin); }
.qa__a{ padding-bottom:1.6rem; }
.qa__a p{ margin:0; font-size:.95rem; }

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

/* =========================================================
   CONTACT
   ========================================================= */
.contact{ position:relative; overflow:hidden; padding:clamp(5rem,12vw,10rem) var(--pad); }
.contact__inner{ position:relative; z-index:2; max-width:var(--max); margin-inline:auto; }
.contact__h{ max-width:18ch; }
.contact__p{ max-width:46ch; }

.assure{ list-style:none; display:flex; flex-wrap:wrap; gap:.6rem 1.8rem; margin:0 0 3rem; padding:0; }
.assure li{ font-size:.8rem; letter-spacing:.1em; color:var(--stone); position:relative; padding-inline-start:1.3rem; }
.assure li::before{ content:"✓"; position:absolute; inset-inline-start:0; color:var(--skin); }

.contact__cols{
  display:grid; grid-template-columns:minmax(0,1.3fr) minmax(0,.7fr);
  gap:clamp(1.5rem,4vw,3.5rem); align-items:start;
}
@media (max-width:860px){ .contact__cols{ grid-template-columns:1fr; } }

.form{ display:grid; gap:1.1rem; }
.hp{ position:absolute; inset-inline-start:-9999px; }
.field{ display:grid; gap:.45rem; }
.field label{ font-size:.76rem; letter-spacing:.14em; color:var(--stone); }
/* transparent fields — they sit straight on the page, no grey panel */
.field input, .field textarea{
  font-family:var(--f-body); font-size:.95rem; font-weight:300; color:var(--bone);
  background:transparent; border:1px solid var(--rule); border-radius:2px;
  padding:.85rem 1rem; width:100%; resize:vertical;
  transition:border-color .35s;
}
.field input:focus, .field textarea:focus{ border-color:var(--stone); }

.check{ display:flex; gap:.7rem; align-items:flex-start; font-size:.8rem; color:color-mix(in srgb,var(--bone) 58%,var(--ink)); line-height:1.55; cursor:pointer; }
.check input{ margin-block-start:.3rem; accent-color:var(--skin); flex:none; }
.form .btn{ justify-self:start; margin-top:.6rem; }

/* no grey panel — the contact details sit on the page, a hairline
   on the inline-start edge just separates them from the form */
.card{ background:transparent; border:0; padding:0; }
@media (min-width:861px){
  .card{ padding-inline-start:clamp(1.5rem,3vw,2.5rem); border-inline-start:1px solid var(--rule); }
}
.card__k{ font-size:.68rem; letter-spacing:.3em; color:var(--stone); margin:1.6rem 0 .5rem; }
.card__k:first-child{ margin-top:0; }
.card__big{ font-family:var(--f-latin); font-size:clamp(1.4rem,1.2rem + 1vw,1.9rem); color:var(--bone); text-decoration:none; display:block; direction:ltr; }
.card__addr{ font-size:.9rem; margin:0; }
.card__addr span{ color:var(--stone); font-size:.8rem; }

/* =========================================================
   FOOT
   ========================================================= */
.foot{
  border-block-start:1px solid var(--rule);
  padding:3rem var(--pad);
  display:flex; flex-wrap:wrap; gap:1rem; justify-content:space-between; align-items:center;
  max-width:var(--max); margin-inline:auto;
}
.foot__mark{ font-family:var(--f-latin); font-size:1rem; letter-spacing:.4em; color:var(--bone); margin:0; }
.foot__c{ font-size:.76rem; color:var(--stone); margin:0; }

/* =========================================================
   MOTION — everything below is enhancement only
   ========================================================= */
/* The wordmark is revealed letter by letter, so it is held hidden until
   the characters have been split and parked below their mask. */
.js .hero .lineMask__i{ opacity:0; }
.ch{ display:inline-block; will-change:transform; }

/* failsafe: if GSAP never arrives (CDN blocked, offline) or motion is
   reduced, the wordmark must still be visible */
.js.no-motion .hero .lineMask__i{ opacity:1; }

@media (prefers-reduced-motion:reduce){
  *,*::before,*::after{ animation-duration:.001ms !important; transition-duration:.001ms !important; }
  .js .hero .lineMask__i{ opacity:1; }
  .armature{ display:none; }
}

/* =========================================================
   Phone vertical rhythm — placed last so it overrides the
   desktop-scale section padding (which uses the `padding`
   shorthand in each section's base rule).
   ========================================================= */
@media (max-width:700px){
  .story, .verse, .film, .work, .reviews, .trust, .course, .faq, .contact{
    padding-block:clamp(2.4rem, 8vw, 4rem);
  }
  .figures{ margin-block:clamp(1.4rem, 5vw, 2.4rem); }
}
