/* MONO VE – v26b draft: subtle parallax, desktop with a mouse only (see end of file + assets/js/parallax.js). v25: bio blocks identical top + spacing. v23 notes: page now scrolls. Hero gets a short intro under MONO (phones: centred under Sign up); new bio section below
   (Darren's black and white photo, ROOCHI (left) / DARREN (right) bios placed on his guides: cap tops on his guide, ~14.1% of the photo height, left edges at 7.7% and 71.3% of its width (Darren, 11 Nov)).
   v18 draft: phones only: 30% black overlay over the photo; MONO VE + Sign up group centred in the frame (midpoint at 50% of 100svh). Desktop/tablet unchanged from v16.
   v16: phones get MONO VE + Sign up as one stacked group, centred between the frame top and her hair.
   v15: phones get Darren's new portrait; wordmark in the top third, Sign up in the bottom third.
   v14: phone wordmark 15% smaller. v13: phones get their own portrait photo, MONO VE on one line with Sign up centred underneath.
   v12: one screen, nothing to scroll. v12: smaller Sign up button, set further right of VE (side-by-side layout only). */
@font-face{font-family:"Montserrat";font-style:italic;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-400-italic.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:400;font-display:swap;src:url(../fonts/montserrat-latin-400-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:600;font-display:swap;src:url(../fonts/montserrat-latin-600-normal.woff2) format("woff2")}
@font-face{font-family:"Montserrat";font-style:normal;font-weight:500;font-display:swap;src:url(../fonts/montserrat-latin-500-normal.woff2) format("woff2")}

:root{
  --cream:#FDFCE8;   /* Darren 2026-11-11: one cream across the homepage */
  --green:#25351C;
  --orange:#D05722;
  --butter:#E8C97B;      /* focus ring on dark photo / green panel */
  --hedge:#251E17;       /* sampled from the top of the hedge, fills any band the photo does not cover */
  --bio-cream:var(--cream);
  --font:"Montserrat",system-ui,-apple-system,"Segoe UI",Arial,sans-serif;
}
*,*::before,*::after{box-sizing:border-box}
html,body{margin:0}
html{background:var(--hedge)}
body{background:var(--hedge);color:var(--cream);font-family:var(--font);font-weight:400;-webkit-font-smoothing:antialiased;-webkit-text-size-adjust:100%}
img{display:block;max-width:none}

.sr{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}
.skip{position:absolute;left:1rem;top:1rem;z-index:20;padding:.75rem 1rem;background:var(--cream);color:var(--green);font-weight:500;text-decoration:none;transform:translateY(-200%)}
.skip:focus{transform:none}
:focus-visible{outline:3px solid var(--butter);outline-offset:3px}

/* ---------- Hero: the whole site ---------- */
/* Height is 100svh minus 2px so the photo (not the h1) stays the LCP element; the 2px shows the hedge colour. */
.hero{
  position:relative;height:calc(100vh - 2px);height:calc(100svh - 2px);min-height:18rem;
  overflow:hidden;container-type:size;background:var(--hedge);

  /* Landscape stage = the 2400x1437 photo, sized like object-fit:cover, centred. */
  --S:max(100cqw,167.01cqh);
  --Sh:calc(var(--S) / 1.67014);
  --ox:calc((100cqw - var(--S)) / 2);
  --oy:calc((100cqh - var(--Sh)) / 2);
  --g:clamp(1rem,4cqw,3rem);
  --xm:calc(var(--ox) + var(--S) * .415);   /* right ink edge of MONO: 41.5% of the photo */
  --xv:calc(var(--ox) + var(--S) * .585);   /* left edge of VE: 58.5% of the photo */
  --ty:calc(var(--oy) + var(--Sh) * .485);  /* top of the letters: hip height */
  --R:calc(100cqw - var(--g) - var(--xv));  /* room right of VE */
  /* Montserrat 400 at .14em tracking: MONO ink = 3.70em, VE ink = 1.425em, E cap-middle = .375em (measured) below the line box top (line-height .75). */
  /* Side-by-side layout (v12): button ~22% smaller than v11 and set further from the E (gap .55em of the wordmark, was .22em). */
  --fs:min(var(--S) * .08, (var(--xm) - var(--g)) / 3.70, (var(--R) - 6.25rem) / 1.975, var(--R) / 3.1);
  --fb:clamp(.75rem,var(--fs) * .1092,1.27rem);   /* button text size (v11: fs * .14) */
  --bw-k:8.4;                                    /* button width in button-text ems; see HERO_BUTTON_LABEL */
  --bw:calc(var(--fb) * var(--bw-k));
  --bh:clamp(2.5rem,var(--fs) * .3744,4.3rem);   /* v11: fs * .48 */
  --gap:max(1.25rem,var(--fs) * .55);
  --vy:var(--ty);                                /* top of the VE line */
  --vx:var(--xv);                                /* left of VE */
}
.stage{position:absolute;left:var(--ox);top:var(--oy);width:var(--S);height:var(--Sh)}
.stage picture,.stage img{width:100%;height:100%}
.stage img{object-fit:cover}

.wordmark{
  position:absolute;inset:0;margin:0;pointer-events:none;
  font-weight:400;font-size:var(--fs);line-height:.75;letter-spacing:.14em;text-transform:uppercase;white-space:nowrap;
  color:var(--cream);text-shadow:0 0 .35em rgba(20,16,10,.35);
}
.wordmark span{position:absolute;top:var(--ty)}
.m1{right:calc(100cqw - var(--xm));margin-right:-.196em}
.m2{top:var(--vy)!important;left:var(--vx)}

/* Sign up: square, immediately right of VE, vertically centred on the cap-height middle of the E. */
.cta{
  position:absolute;
  left:calc(var(--vx) + var(--fs) * 1.425 + var(--gap));
  top:calc(var(--vy) + var(--fs) * .375);
  transform:translateY(-50%);
  display:flex;align-items:center;justify-content:center;
  width:var(--bw);height:var(--bh);padding:0 .5em;border:1px solid var(--cream);border-radius:0;
  background:var(--cream);color:var(--green);   /* touch screens (no hover): stays filled so it reads over her white outfit */
  font-family:var(--font);font-weight:500;font-size:var(--fb);letter-spacing:.12em;text-transform:uppercase;text-decoration:none;white-space:nowrap;
  transition:background-color .2s,color .2s;
}
/* Darren 2026-11-12: on mouse devices it's outline-only at rest and fills on hover or keyboard focus */
@media (hover:hover) and (pointer:fine){
  .cta{background:transparent;color:var(--cream)}
  .cta:hover,.cta:focus-visible{background:var(--cream);color:var(--green)}
}
.cta:focus-visible{outline-offset:4px}

/* Intro (v23): small paragraph under MONO, left edge on the M. No shadow. */
.intro{
  position:absolute;margin:0;
  left:calc(var(--xm) - var(--fs) * 3.70);
  top:calc(var(--ty) + var(--fs) * .75 + max(1rem,var(--fs) * .32));
  width:max(12.5rem,var(--fs) * 3.70);   /* MONO ink width: never reaches Roochi */
  font-weight:400;font-size:max(14px,1.0413cqw);line-height:1.6;letter-spacing:0;   /* same rule as the bio text */
  color:var(--cream);text-shadow:none;
}

/* ---------- Portrait phones (v17): 30% black overlay; wordmark + Sign up as one stacked group at the exact centre of the frame ---------- */
/* Photo (3199x5688, used as graded): full-bleed cover, object-position 50% 30%.
   Group = MONO VE letters (cap ink ~.70em tall, ink top ~.018em below the line box top) + gap (.6 x letter height) + button.
   Group's vertical midpoint = 50% of 100svh (the hero is 100svh - 2px, so add the 2px back). Sizes as v16. */
@media (max-aspect-ratio: 2/3){
  body,.hero{background:#1E2414}          /* only shows in the 2px LCP gap at the very bottom; matches the grass */
  .hero{
    --g:clamp(1.25rem,6.5cqw,2.5rem);
    --LW:5.675;                            /* line ink width in em: MONO 3.70 + gap .55 + VE 1.425 */
    --fs:calc(min((100cqw - 2 * var(--g)) / var(--LW), 7.4cqh, 6rem) * .85);   /* same size as v14-v16 */
    --fb:clamp(.8125rem,var(--fs) * .2,1.125rem);
    --bh:clamp(2.75rem,var(--fs) * .72,3.5rem);
    --gap:calc(var(--fs) * .42);           /* .6 x the letter height (.70em) */
    --GH:calc(var(--fs) * .70 + var(--gap) + var(--bh));      /* group height: letter top to button bottom */
    --sp:calc((100cqh + 2px - var(--GH)) / 2);                /* top of the letters */
    --ty:calc(var(--sp) - var(--fs) * .018);                  /* line box top so the letter ink starts at --sp */
    --vy:var(--ty);
    --x0:calc(50cqw - var(--fs) * var(--LW) / 2);
    --vx:calc(var(--x0) + var(--fs) * 4.25);
  }
  .stage{inset:0;width:auto;height:auto}
  .stage img{object-position:50% 30%}
  .stage::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.30);pointer-events:none}   /* Darren: 30% black over the whole photo */
  .wordmark{text-shadow:none}   /* Darren: no glow or shadow on phones */
  .m1{right:auto;left:calc(var(--x0) - .115em);margin:0}
  .cta{
    left:calc(50cqw - var(--bw) / 2);
    top:calc(var(--sp) + var(--fs) * .70 + var(--gap));
    transform:none;
  }
  /* v23: intro centred in the lower part of the frame, on the dark grass below her feet (keeps it off her white outfit);
     the MONO VE + Sign up group itself stays dead centre. Short screens: directly under Sign up instead. */
  .intro{
    left:50%;transform:translateX(-50%);top:auto;
    bottom:calc(2.25rem + env(safe-area-inset-bottom,0px));
    width:min(19.5rem,100cqw - 2 * var(--g));
    line-height:1.6;text-align:center;
  }
}
@media (max-aspect-ratio: 2/3) and (max-height: 40rem){
  .intro{bottom:auto;top:calc(var(--sp) + var(--fs) * .70 + var(--gap) + var(--bh) + 1.5rem)}
}

/* ---------- Bio section (v23) ---------- */
/* Desktop: the section IS the photo (2497x1379 after trimming the top 7 rows), so every position is a % of the photo and scales with it.
   Body text = 26px on the photo's native 2497px width (1.0413% of the width), never under 13px. */
.bio{
  position:relative;width:100%;aspect-ratio:2497/1379;overflow:hidden;container-type:inline-size;
  background:#141414;color:var(--bio-cream);
  --bf:max(14px,1.0413cqw);   /* secondary text (bios + hero intro): 26px at 2497px, min 14px */
  --hf:max(18px,1.3216cqw);   /* headings: Montserrat SemiBold, 33px at 2497px, min 18px (same ratio as the 14px body minimum) */
  --capoff:.2635;             /* paragraph line box top -> cap top, in em (line-height 1.21) */
  --gapc:calc(var(--bf) * 1.1);   /* heading cap bottom -> paragraph cap top, same for both blocks */
  --hx:0em;                   /* optical nudge: measured 0-0.25px heading vs paragraph ink at 4x, so none needed */
}
.bio-photo,.bio-photo img{position:absolute;inset:0;width:100%;height:100%}
.bio-photo img{object-fit:cover}
/* Gentle darkening of the tree/sky band only, for legibility; fades out above both heads. */
.bio-photo::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(to bottom,rgba(0,0,0,.38) 0%,rgba(0,0,0,.34) 24%,rgba(0,0,0,0) 40%)}
.bio-person{position:absolute;top:calc(14.33% - var(--hf) * .1585);z-index:1}   /* .1585em = line box top to cap top (Montserrat, line-height 1) */
.bio-roochi{left:7.7%}    /* Darren 11 Nov: Roochi reads first, on the left */
.bio-darren{left:71.3%}
.bio h2{
  margin:0 0 calc(var(--gapc) - var(--hf) * .1415 - var(--bf) * var(--capoff));   /* .1415em = cap baseline -> line box bottom */
  margin-left:var(--hx);
  font-weight:600;font-size:var(--hf);line-height:1;letter-spacing:.2em;text-transform:uppercase;
  color:var(--bio-cream);
}
.bio p{
  margin:0;width:22em;   /* longest line in Darren's crop = 553px at 26px = 21.3em */
  font-weight:400;font-size:var(--bf);line-height:1.21;letter-spacing:0;
}
.bio em{font-style:italic;font-weight:400}
.bio .l{display:block;white-space:nowrap}   /* desktop: Darren's line breaks from his crop */

/* Phones and small tablets: photo on top, both bios stacked underneath on black (faces never covered). */
@media (max-width: 74.99rem){
  .bio{aspect-ratio:auto;--capoff:.4585}   /* line-height 1.6 */
  .bio-photo{position:relative;display:block;height:auto;aspect-ratio:1424/1379}
  .bio-photo img{position:absolute}
  .bio-photo::after{background:linear-gradient(to bottom,rgba(20,20,20,0) 70%,#141414 100%)}
  .bio-person{position:static;padding:2.5rem clamp(1.5rem,7vw,2.5rem) 0;max-width:34rem;margin:0 auto}   /* v25: same 2.5rem space above ROOCHI and DARREN */
  .bio-darren{padding-bottom:3.5rem}
  .bio p{width:auto;line-height:1.6}
  .bio .l{display:inline;white-space:normal}
}
/* Tablets / small laptops (40-75rem): full landscape photo, then the two bios side by side underneath. */
@media (min-width: 40rem) and (max-width: 74.99rem){
  .bio{display:grid;grid-template-columns:1fr 1fr;column-gap:clamp(1.5rem,5vw,4rem);padding:0 clamp(2rem,6vw,4rem)}
  .bio-photo{grid-column:1 / -1;width:auto;margin:0 calc(-1 * clamp(2rem,6vw,4rem));aspect-ratio:2497/1379}
  .bio-person{padding:2.5rem 0 3.5rem;max-width:none;margin:0}
}

/* ---------- v26b parallax (preview): desktop with a mouse, 1200px+ only ----------
   Only the two image layers are moved (by assets/js/parallax.js, translate3d). The bios fade/rise in together from one class
   on .bio, and end at transform:none so the text renders crisp. Nothing is hidden unless the script has started (html.pfx).
   Phones, tablets and touch devices: none of this applies; they render exactly like v25b. */
@media (min-width: 75rem) and (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference){
  .stage,.bio-photo img{will-change:transform}
  html.pfx .bio-person{transition:opacity .9s cubic-bezier(.22,.61,.36,1),transform .9s cubic-bezier(.22,.61,.36,1)}
  html.pfx .bio:not(.is-in) .bio-person{opacity:0;transform:translateY(24px)}
}

/* ---------- Sign-up dialog ---------- */
.signup{
  padding:0;border:0;margin:auto;background:transparent;color:var(--cream);
  width:min(30rem,calc(100vw - 2rem));max-width:none;max-height:calc(100svh - 2rem);overflow:auto;overscroll-behavior:contain;
}
.signup::backdrop{background:rgba(14,12,9,.62)}
.signup[open]{animation:pop .18s ease-out}
@keyframes pop{from{opacity:0;transform:translateY(.5rem)}to{opacity:1;transform:none}}
/* No-JS fallback: the button's #signup link opens the panel with :target; the close link (#) shuts it. */
html:not(.js) .signup:target{display:block;position:fixed;inset:0;z-index:10;height:fit-content;box-shadow:0 0 0 100vmax rgba(14,12,9,.62)}

.panel{position:relative;background:var(--green);border:1px solid rgba(253,252,232,.28);border-radius:0;padding:clamp(2.75rem,8vw,3.25rem) clamp(1.25rem,6vw,2.25rem) clamp(1.5rem,6vw,2.25rem)}
.close{position:absolute;top:.25rem;right:.25rem;width:2.75rem;height:2.75rem;display:flex;align-items:center;justify-content:center;color:var(--cream);text-decoration:none;font-size:1.75rem;line-height:1;border-radius:0}
.close:hover{color:var(--butter)}
.signup-title{margin:0 0 1.25rem;font-weight:500;font-size:clamp(1.125rem,4.6vw,1.375rem);line-height:1.3;letter-spacing:.01em}
.signup-form{display:flex;flex-wrap:wrap;gap:.625rem}
.signup-form input{
  flex:1 1 12rem;min-width:0;height:3rem;padding:0 .875rem;border:1px solid var(--cream);border-radius:0;
  background:var(--cream);color:var(--green);font:500 1rem/1 var(--font);
}
.signup-form input::placeholder{color:#55644A;opacity:1}
.signup-form button{
  flex:0 0 auto;height:3rem;padding:0 1.5rem;border:1px solid var(--cream);border-radius:0;
  background:transparent;color:var(--cream);cursor:pointer;
  font:500 .875rem/1 var(--font);letter-spacing:.12em;text-transform:uppercase;transition:background-color .2s,color .2s;
}
.signup-form button:hover{background:var(--cream);color:var(--green)}
.status{margin:1rem 0 0;font-size:.9375rem;line-height:1.45}
.status:empty{display:none}

@media (prefers-reduced-motion: reduce){
  *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
}
@media (forced-colors: active){
  .cta,.signup-form button,.signup-form input,.panel{border:1px solid CanvasText}
}
@media (max-width: 30rem){.signup-form button{flex:1 1 100%}}
