@charset "utf-8";
/* ==========================================================================
   Maaweell — Travel Creator, Storyteller, Content Producer
   Single stylesheet. Mobile-first. CSS Grid + Flexbox only.
   Palette sampled from the client's own photography (see 1. Tokens).
   ========================================================================== */

/* ==========================================================================
   1. Tokens
   Colour derived by quantising all 11 source photographs. The dominant
   masses are neutral near-black (#242424, 13.4%), floodlit pitch green
   (#486C24 / #6C9024, ~12%) and desaturated red-brown (#482424). The ink is
   therefore shifted very slightly green so it sits *under* the photography
   instead of fighting it; sand is cooled for the same reason.
   ========================================================================== */
:root{
  /* Ground + ink */
  --ink:        #141715;
  --ink-soft:   #1F2420;
  --ink-raised: #272D28;
  --bone:       #F7F6F2;
  --bone-dim:   #EBE8E1;
  --sand:       #D8D3C6;

  /* Accents — brass is a highlight, never a theme. Max 3 per screen. */
  --brass:      #B5854A;
  --brass-lift: #CE9C5C;
  --brass-deep: #83602F;  /* brass for light grounds: 5.3:1 on bone */
  --ink-muted:  #5C554A;  /* secondary text on light grounds: 6.9:1 on bone */
  --sea:        #1E4B52;

  /* Hairlines */
  --rule-dark:  rgba(216, 211, 198, .18);
  --rule-light: rgba(20, 23, 21, .15);

  /* Type families */
  --display: "Bodoni Moda", Didot, "Bodoni MT", "Iowan Old Style", Georgia, serif;
  --ui: "Inter Tight", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;

  /* Fluid type scale — 13 / 15 / 17 / 21 / 28 / 40 / 64 / 96 at the top end */
  --fs-xs:   clamp(12px, 0.70rem + 0.16vw, 13px);
  --fs-sm:   clamp(13px, 0.76rem + 0.22vw, 15px);
  --fs-base: clamp(16px, 0.95rem + 0.16vw, 17px);
  --fs-md:   clamp(17px, 0.98rem + 0.42vw, 21px);
  --fs-lg:   clamp(21px, 1.14rem + 0.86vw, 28px);
  --fs-xl:   clamp(27px, 1.34rem + 1.72vw, 40px);
  --fs-2xl:  clamp(36px, 1.62rem + 3.55vw, 64px);
  --fs-3xl:  clamp(44px, 1.72rem + 6.25vw, 96px);

  /* 8px spacing scale */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 40px;
  --s5: clamp(44px, 5vw, 64px);
  --s6: clamp(60px, 8vw, 96px);
  --s7: clamp(76px, 11vw, 140px);

  /* Shell */
  --container: 1320px;
  --gutter: 20px;
  --header-h: 68px;

  /* Motion */
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-wipe:     cubic-bezier(0.65, 0, 0.35, 1);
  --reveal-dur: 700ms;
}

@media (min-width: 768px){
  :root{ --gutter: 24px; --header-h: 84px; }
}

/* ==========================================================================
   2. Reset + base
   ========================================================================== */
*,*::before,*::after{ box-sizing: border-box; }

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

html, body{
  overflow-x: hidden;
  max-width: 100%;
}

body{
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font-family: var(--ui);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body.is-locked{
  overflow: hidden;
  touch-action: none;
}

h1,h2,h3,h4,p,figure,blockquote,ul,ol,dl,dd{ margin: 0; }

/* Keep a lone short word off the last line of running text. Browsers without
   support simply wrap as before. */
p, li, dd{ text-wrap: pretty; }
ul,ol{ padding: 0; list-style: none; }

img,svg,video{ display: block; max-width: 100%; }
img{ height: auto; background-color: var(--ink-soft); }

a{ color: inherit; text-decoration: none; }

button,input,select,textarea{
  font: inherit;
  color: inherit;
  margin: 0;
}

button{
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

::selection{ background: var(--brass); color: var(--ink); }

/* Focus — visible brass ring on every interactive element. */
:focus-visible{
  outline: 2px solid var(--brass-lift);
  outline-offset: 3px;
  border-radius: 2px;
}
:focus:not(:focus-visible){ outline: none; }

.skip-link{
  position: absolute;
  left: var(--gutter);
  top: -100px;
  z-index: 300;
  padding: 12px 20px;
  background: var(--bone);
  color: var(--ink);
  font-size: var(--fs-sm);
  font-weight: 600;
  transition: top 200ms var(--ease-out-expo);
}
.skip-link:focus{ top: 12px; }

.visually-hidden{
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   3. Typography
   Sentence case everywhere. No tracked-out eyebrow labels.
   ========================================================================== */
.display{
  font-family: var(--display);
  font-weight: 600;
  font-optical-sizing: auto;
  line-height: 0.98;
  letter-spacing: -0.012em;
  text-wrap: balance;
}

.d-3xl{ font-size: var(--fs-3xl); line-height: 0.95; }
.d-2xl{ font-size: var(--fs-2xl); line-height: 0.98; }
.d-xl { font-size: var(--fs-xl);  line-height: 1.02; }
.d-lg { font-size: var(--fs-lg);  line-height: 1.08; }

.lede{
  font-size: var(--fs-md);
  line-height: 1.5;
  color: var(--sand);
  max-width: 60ch;
}

.body-copy{
  max-width: 68ch;
  color: var(--sand);
}
.body-copy + .body-copy{ margin-top: var(--s3); }

.light-section .body-copy,
.light-section .lede{ color: #4A443B; }

/* Structural marker — a count, a year, a place. Never decorative. */
.marker{
  font-size: var(--fs-xs);
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
  color: var(--brass);
}

.meta{
  font-size: var(--fs-sm);
  color: var(--sand);
}
.light-section .meta{ color: #5C554A; }

/* Bodoni Moda's plus sign is a hairline that looks broken next to heavy
   numerals, so it is set in the bold sans wherever a figure carries one. */
.plus{
  font-family: var(--ui);
  font-weight: 600;
  font-size: 0.72em;
  vertical-align: 0.12em;
  margin-left: 0.04em;
}

/* Category tag — the only place --sea is used. */
.tag{
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: 600;
  line-height: 1;
  padding: 6px 10px;
  background: var(--sea);
  color: var(--bone);
}

.lightbox__cat{ margin-bottom: 10px; }
.lightbox__place{ margin-top: 8px; }

/* ==========================================================================
   4. Layout
   ========================================================================== */
.container{
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section{ padding-block: var(--s7); }
.section--tight{ padding-block: var(--s6); }

.light-section{
  background: var(--bone);
  color: var(--ink);
}
.soft-section{ background: var(--ink-soft); }

/* Components below were coloured for dark grounds. On bone, sand text measured
   1.38:1 and brass 3.03:1, so light sections get their own tones. */
.light-section .marker{ color: var(--brass-deep); }
.light-section .figure__label,
.light-section .property__city,
.light-section .step p{ color: var(--ink-muted); }
.light-section .figure,
.light-section .figures{ border-color: var(--rule-light); }
.light-section .property-index,
.light-section .property{ border-color: var(--rule-light); }
.light-section .process__track::before{ background: var(--rule-light); }
.light-section .step::before{ background: var(--bone); }
@media (hover: hover) and (pointer: fine){
  .light-section .property:hover .property__city{ color: var(--brass-deep); }
}

.rule{
  height: 1px;
  background: var(--rule-dark);
  border: 0;
}
.light-section .rule{ background: var(--rule-light); }

/* Section opener — headline left, supporting text on an offset column. */
.opener{
  display: grid;
  gap: var(--s3);
  margin-bottom: var(--s6);
}
@media (min-width: 900px){
  .opener{
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    gap: var(--s5);
    align-items: end;
  }
  .opener--wide{ grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); }
}

/* ==========================================================================
   5. Buttons
   Primary fill wipes from the left behind the label. Never a colour fade.
   ========================================================================== */
.btn{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 13px 26px;
  border-radius: 3px;              /* rounding is reserved for controls */
  font-size: var(--fs-sm);
  font-weight: 600;
  letter-spacing: 0.01em;
  text-align: center;
  overflow: hidden;
  isolation: isolate;
  transition: color 320ms var(--ease-wipe), border-color 320ms var(--ease-wipe);
}

.btn::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 320ms var(--ease-wipe);
}


/* Primary — brass on ink */
.btn--primary{
  background: var(--brass);
  color: var(--ink);
}
.btn--primary::before{ background: var(--bone); }

/* Secondary — hairline that fills */
.btn--secondary{
  background: transparent;
  color: var(--bone);
  border: 1px solid var(--rule-dark);
}
.btn--secondary::before{ background: var(--bone); }

.light-section .btn--secondary{
  color: var(--ink);
  border-color: var(--rule-light);
}
.light-section .btn--secondary::before{ background: var(--ink); }

@media (hover: hover) and (pointer: fine){
  .btn:hover::before{ transform: scaleX(1); }
  .btn--primary:hover{ color: var(--ink); }
  .btn--secondary:hover{ color: var(--ink); border-color: var(--bone); }
  .light-section .btn--secondary:hover{ color: var(--bone); border-color: var(--ink); }
}

.btn-row{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
}

/* Text link with a brass rule that draws in */
.link-draw{
  position: relative;
  display: inline-block;
  padding-bottom: 3px;
  font-weight: 500;
}
.link-draw::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 380ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine){
  .link-draw:hover::after{ transform: scaleX(1); }
}
.link-draw:focus-visible::after{ transform: scaleX(1); }

/* A link that stands on its own line is a control, not prose — give it a
   full tap target. Links inside a sentence stay inline (WCAG 2.5.8 exempts
   them) so they do not disturb the line box around them. */
.link-standalone{
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}

/* ==========================================================================
   6. Header
   ========================================================================== */
.site-header{
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 120;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 300ms var(--ease-out-expo),
              border-color 300ms var(--ease-out-expo),
              -webkit-backdrop-filter 300ms var(--ease-out-expo),
              backdrop-filter 300ms var(--ease-out-expo);
}

.site-header.is-stuck{
  background: rgba(20, 23, 21, .92);
  border-bottom-color: var(--rule-dark);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  backdrop-filter: saturate(140%) blur(14px);
}

.header-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s3);
  padding-block: 18px;
  transition: padding-block 300ms var(--ease-out-expo);
}
@media (min-width: 768px){
  .header-inner{ padding-block: 26px; }
}
.site-header.is-stuck .header-inner{ padding-block: 13px; }

.wordmark{
  display: inline-flex;
  align-items: center;
  min-height: 44px;                /* tap target */
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(22px, 1.1rem + 1.1vw, 30px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--bone);
  transform-origin: left center;
  transition: transform 300ms var(--ease-out-expo);
}
.site-header.is-stuck .wordmark{ transform: scale(.88); }

.nav-desktop{ display: none; }
@media (min-width: 1024px){
  .nav-desktop{
    display: flex;
    align-items: center;
    gap: var(--s4);
  }
}

.nav-list{
  display: flex;
  align-items: center;
  gap: var(--s4);
}

.nav-link{
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 44px;                /* tap target */
  padding: 6px 0;
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--sand);
  transition: color 260ms var(--ease-out-expo);
}
.nav-link::after{
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 1px;
  background: var(--brass);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 340ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine){
  .nav-link:hover{ color: var(--bone); }
  .nav-link:hover::after{ transform: scaleX(1); }
}
.nav-link[aria-current="page"]{ color: var(--bone); }
.nav-link[aria-current="page"]::after{ transform: scaleX(1); }

.nav-cta{
  min-height: 44px;                /* tap target */
  padding: 10px 20px;
}

/* Hamburger — two lines morphing to a close mark */
.menu-toggle{
  position: relative;
  z-index: 210;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-right: -12px;
  border-radius: 3px;
}
@media (min-width: 1024px){ .menu-toggle{ display: none; } }

.menu-toggle__box{
  position: relative;
  width: 26px;
  height: 12px;
}
.menu-toggle__bar{
  position: absolute;
  left: 0;
  width: 26px;
  height: 1.5px;
  background: var(--bone);
  transition: transform 250ms var(--ease-out-expo);
}
.menu-toggle__bar:nth-child(1){ top: 0; }
.menu-toggle__bar:nth-child(2){ bottom: 0; }

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1){
  transform: translateY(5.25px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2){
  transform: translateY(-5.25px) rotate(-45deg);
}

/* ==========================================================================
   7. Mobile menu — transform + opacity only
   ========================================================================== */
.menu-overlay{
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--ink);
  transform: translateY(-101%);
  opacity: 0;
  visibility: hidden;
  transition: transform 240ms var(--ease-wipe),
              opacity 180ms linear,
              visibility 0s linear 240ms;
}
.menu-overlay.is-open{
  transform: translateY(0);
  opacity: 1;
  visibility: visible;
  transition: transform 240ms var(--ease-wipe),
              opacity 160ms linear,
              visibility 0s;
}
@media (min-width: 1024px){ .menu-overlay{ display: none; } }

.menu-panel{
  padding-inline: var(--gutter);
  padding-block: var(--s5);
}

.menu-list{
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: var(--s5);
}

.menu-list a{
  display: block;
  padding: 10px 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(34px, 9vw, 52px);
  line-height: 1.12;
  color: var(--bone);
  opacity: 0;
  transform: translateY(18px);
}
.menu-overlay.is-open .menu-list a{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 320ms var(--ease-out-expo) calc(var(--i, 0) * 60ms),
              transform 420ms var(--ease-out-expo) calc(var(--i, 0) * 60ms);
}
.menu-list a[aria-current="page"]{ color: var(--brass); }

.menu-foot{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s3);
  align-items: center;
  padding-top: var(--s3);
  border-top: 1px solid var(--rule-dark);
}
.menu-foot .meta{ font-size: var(--fs-sm); }

/* ==========================================================================
   8. Image frames
   Editorial: near-zero radius. Depth from contrast and spacing, not shadow.
   ========================================================================== */
.frame{
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  border-radius: 0;
}
.frame > img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 900ms var(--ease-out-expo);
}
.frame.is-visible > img{ transform: scale(1); }

@media (hover: hover) and (pointer: fine){
  a.frame:hover > img,
  button.frame:hover > img{ transform: scale(1.06); transition-duration: 1200ms; }

}

/* Aspect ratios — the assets are vertical because he shoots vertical. */
.ar-23 { aspect-ratio: 2 / 3; }
.ar-34 { aspect-ratio: 3 / 4; }

/* ==========================================================================
   9. Scroll reveal
   Default state is VISIBLE. The reveal only exists when JS is running,
   so the page reads perfectly with JavaScript disabled.
   ========================================================================== */
.js .reveal{
  opacity: 0;
  transform: translateY(24px);
}
.js .reveal.is-visible{
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--reveal-dur) var(--ease-out-expo) calc(var(--i, 0) * 70ms),
              transform var(--reveal-dur) var(--ease-out-expo) calc(var(--i, 0) * 70ms);
}

/* Headline clip-mask — the recurring signature motion. */
.mask{ overflow: hidden; display: block; }
.js .mask > span{
  display: block;
  transform: translateY(104%);
}
.js .mask.is-visible > span,
.js .is-visible .mask > span{
  transform: translateY(0);
  transition: transform 900ms var(--ease-out-expo) calc(var(--i, 0) * 70ms);
}

/* ==========================================================================
   10. Hero
   Desktop: type on an offset column, tall 9:16 frame alongside — the source
   is 1280px wide, so constraining it to a column keeps it sharp rather than
   upscaling a vertical photo across a 1920px band.
   Mobile: the same frame goes full-bleed, where 9:16 is native.
   ========================================================================== */
/* Mobile + tablet: the portrait gets a strip of its own above the type.
   The strip is sized from the viewport WIDTH, not from leftover height:
   on a real iPhone, Safari's bars leave ~657px, and a leftover-height strip
   shrank to its minimum and cut his face off at the eyes.

   Measured on the profile photo (1086 x 1448): hair top y=335, goatee ends y=860.
   The image is width-fitted, so 1 source px = 100vw/1086 = 0.09208vw.
     - object-position pins the hair top 18px below the strip's top edge:
         18px - 335 x 0.09208vw = 18px - 30.85vw
     - the strip ends at source y=920 plus 44px for the name to sit on:
         18px + (920 - 335) x 0.09208vw + 44px = 62px + 53.87vw
   On taller screens the strip grows and shows more of the camera below. */
.hero{
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: var(--ink);
}

.hero__media{
  position: relative;
  z-index: 0;
  flex: 1 0 auto;
  height: calc(62px + 53.87vw);
  max-height: calc(18px + 102vw);   /* never taller than the fitted photo */
  overflow: hidden;
}
.hero__media img{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% calc(18px - 30.85vw);
  transform: scale(1.08);
  transform-origin: 50% 20%;
}
.is-loaded .hero__media img{
  transform: scale(1);
  transition: transform 1800ms var(--ease-out-expo);
}
.hero__media::after{
  content: "";
  position: absolute;
  inset: 0;
  background:
    /* a dark ground for the name, starting just below his chin */
    linear-gradient(to top,
      rgba(20,23,21,.97) 0,
      rgba(20,23,21,.84) 38px,
      rgba(20,23,21,0) 64px),
    /* Dark corners behind the header name (left) and menu icon (right).
       Corners rather than a full-width band, because his face sits between
       them: a band dark enough for the name over the stadium lights would
       also dim his forehead. */
    radial-gradient(farthest-side at 0 0,
      rgba(20,23,21,.92) 0%,
      rgba(20,23,21,.85) 55%,
      rgba(20,23,21,0) 100%) top left / 55% 150px no-repeat,
    radial-gradient(farthest-side at 100% 0,
      rgba(20,23,21,.85) 0%,
      rgba(20,23,21,.70) 45%,
      rgba(20,23,21,0) 100%) top right / 24% 120px no-repeat,
    /* and a light wash across the very top, over his hair only */
    linear-gradient(to bottom,
      rgba(20,23,21,.45) 0,
      rgba(20,23,21,0) 56px);
}

.site-header:not(.is-stuck) .menu-toggle__bar{
  box-shadow: 0 1px 6px rgba(20,23,21,.55);
}

.hero__inner{
  position: relative;
  z-index: 1;
  flex: none;
  width: 100%;
  /* the name rides up onto the bottom 44px of the photo strip */
  margin-top: calc(-44px - var(--s3));
  padding-top: var(--s3);
  /* the scroll cue lives in the space this reserves, below the buttons */
  padding-bottom: calc(var(--s2) + 68px);
}

/* Keep the header legible over the stadium lights before the bar turns solid. */
.site-header:not(.is-stuck) .wordmark{
  text-shadow: 0 1px 14px rgba(20,23,21,.6);
}

.hero__col{ max-width: 660px; }

.hero__name{
  font-weight: 700;
  font-size: clamp(52px, 15vw, 168px);
  line-height: 0.86;
  letter-spacing: -0.028em;
  margin-bottom: 10px;
}

.hero__sub{
  font-size: var(--fs-md);
  font-weight: 700;
  line-height: 1.3;               /* stays tight if it wraps on a narrow phone */
  color: var(--bone);
  margin-bottom: 12px;
}

.hero__say{
  font-size: var(--fs-base);
  font-weight: 500;
  line-height: 1.5;
  color: var(--bone);
  max-width: 46ch;
  margin-bottom: 18px;
}

.hero__stats{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1) var(--s3);
  padding-block: 12px;
  margin-bottom: 18px;
  border-top: 1px solid var(--rule-dark);
  border-bottom: 1px solid var(--rule-dark);
}
.hero__stat{
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--sand);
}
.hero__stat b{
  display: block;
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1;
  color: var(--bone);
  margin-bottom: 4px;
}

/* Orchestrated load — the site's one big motion moment. */
.js .hero__cue{
  opacity: 0;
  transform: translateY(20px);
}
.js.is-loaded .hero__cue{
  opacity: 1;
  transform: translateY(0);
  transition: opacity 900ms var(--ease-out-expo) calc(200ms + var(--i, 0) * 90ms),
              transform 900ms var(--ease-out-expo) calc(200ms + var(--i, 0) * 90ms);
}
.js .hero__name .mask > span{ transform: translateY(106%); }
.js.is-loaded .hero__name .mask > span{
  transform: translateY(0);
  transition: transform 1100ms var(--ease-out-expo) 150ms;
}

.scroll-cue{
  position: absolute;
  left: 50%;
  bottom: 18px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transform: translateX(-50%);
  font-size: var(--fs-xs);
  color: var(--sand);
  opacity: 1;
  transition: opacity 400ms linear;
}
.scroll-cue.is-hidden{ opacity: 0; }
.scroll-cue__track{
  width: 1px;
  height: 26px;
  background: var(--rule-dark);
  overflow: hidden;
}
@media (min-width: 1024px){
  .scroll-cue__track{ height: 44px; }
}
.scroll-cue__track::after{
  content: "";
  display: block;
  width: 1px;
  height: 14px;
  background: var(--brass);
  animation: cue 2000ms var(--ease-wipe) infinite;
}
@keyframes cue{
  0%   { transform: translateY(-14px); }
  60%  { transform: translateY(46px); }
  100% { transform: translateY(46px); }
}

@media (min-width: 1024px){
  .hero{
    flex-direction: row;
    align-items: center;
  }
  .hero__media{
    position: absolute;
    inset: 0 0 0 auto;
    width: 42%;
    height: auto;
    max-height: none;
    flex: none;
  }
  .hero__media img{
    object-position: 50% 26%;
    transform-origin: 50% 50%;
  }
  .hero__media::after{
    background:
      linear-gradient(to bottom,
        rgba(20,23,21,.72) 0%,
        rgba(20,23,21,.18) 30%,
        rgba(20,23,21,0) 55%),
      linear-gradient(to right,
      rgba(20,23,21,1) 0%,
      rgba(20,23,21,.55) 22%,
      rgba(20,23,21,.10) 55%,
      rgba(20,23,21,.22) 100%);
  }
  .hero__inner{
    margin-top: 0;
    padding-top: calc(var(--header-h) + var(--s4));
    padding-bottom: var(--s5);
  }
  .hero__name{
    font-size: clamp(88px, 12.4vw, 160px);
    margin-bottom: var(--s3);
  }
  .hero__sub{ margin-bottom: var(--s2); }
  .hero__say{ margin-bottom: var(--s4); line-height: 1.55; }
  .hero__stats{
    gap: var(--s2) var(--s3);
    padding-block: var(--s3);
    margin-bottom: var(--s4);
  }
  .hero__col{ max-width: 54%; }
  .site-header:not(.is-stuck) .wordmark{ text-shadow: none; }
  .site-header:not(.is-stuck) .menu-toggle__bar{ box-shadow: none; }
  .scroll-cue{
    left: var(--gutter);
    transform: none;
    align-items: flex-start;
  }
  .container > .scroll-cue{ left: 0; }
}

@media (min-width: 1440px){
  .hero__media{ width: 38%; }
}

/* ==========================================================================
   11. Showreel
   ========================================================================== */
.reel{
  position: relative;
  overflow: hidden;
  background: var(--ink-soft);
  aspect-ratio: 4 / 5;
}
@media (min-width: 768px){ .reel{ aspect-ratio: 16 / 9; } }

.reel img,
.reel iframe,
.reel video{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}
.reel img{ object-position: 50% 34%; }

.reel__veil{
  position: absolute;
  inset: 0;
  background: rgba(20,23,21,.42);
  transition: background-color 500ms var(--ease-out-expo);
}

.reel__play{
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(247,246,242,.55);
  border-radius: 50%;
  color: var(--bone);
  transform: translate(-50%, -50%);
  transition: background-color 400ms var(--ease-out-expo),
              border-color 400ms var(--ease-out-expo),
              color 400ms var(--ease-out-expo);
}
.reel__play svg{ margin-left: 4px; }
@media (hover: hover) and (pointer: fine){
  .reel__play:hover{
    background: var(--brass);
    border-color: var(--brass);
    color: var(--ink);
  }
  .reel:hover .reel__veil{ background: rgba(20,23,21,.30); }
}

.reel__note{
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: var(--s3);
  background: linear-gradient(to top, rgba(20,23,21,.88), rgba(20,23,21,0));
  font-size: var(--fs-sm);
  color: var(--sand);
}

.reel-caption{
  margin-top: var(--s3);
  font-size: var(--fs-sm);
  color: var(--sand);
}

/* ==========================================================================
   12. Focus list — hairline rows, not cards
   ========================================================================== */
.focus-list{ border-top: 1px solid var(--rule-dark); }
.light-section .focus-list{ border-top-color: var(--rule-light); }

.focus-list li{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s2);
  align-items: baseline;
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule-dark);
}
.light-section .focus-list li{ border-bottom-color: var(--rule-light); }

.focus-list h3{
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.1;
}

/* ==========================================================================
   13. Work grid + filters
   Mixed aspect ratios give the masonry feel without true masonry, so
   filtering reflows predictably instead of jumping.
   ========================================================================== */
.filters{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
  margin-bottom: var(--s4);
}

.filter{
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--rule-dark);
  border-radius: 999px;              /* rounding reserved for controls */
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--sand);
  transition: color 260ms var(--ease-out-expo),
              border-color 260ms var(--ease-out-expo),
              background-color 260ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine){
  .filter:hover{ color: var(--bone); border-color: var(--sand); }
}
.filter[aria-pressed="true"]{
  background: var(--bone);
  border-color: var(--bone);
  color: var(--ink);
}

.work-grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--s2);
}
@media (min-width: 600px){ .work-grid{ gap: var(--s3); } }
@media (min-width: 900px){
  .work-grid{ grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

.tile{
  position: relative;
  display: block;
  width: 100%;
  /* One portrait ratio for every tile so the grid forms a clean lattice.
     Mixed ratios left each row as tall as its tallest tile, which read as
     ragged gaps rather than masonry. The variety comes from the pictures. */
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: var(--ink-soft);
  text-align: left;
  opacity: 1;
  transform: scale(1);
  transition: opacity 250ms var(--ease-out-expo),
              transform 250ms var(--ease-out-expo);
}
.tile.is-hiding{ opacity: 0; transform: scale(.96); }
.tile[hidden]{ display: none; }

.tile img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--op, 50% 42%);
  transform: scale(1.04);
  transition: transform 900ms var(--ease-out-expo);
}
.tile.is-visible img{ transform: scale(1); }

.tile__body{
  position: absolute;
  inset: auto 0 0 0;
  z-index: 2;
  /* the top padding is the gradient's run-up, not decoration */
  padding: 56px var(--s2) var(--s2);
  background: linear-gradient(to top,
    rgba(20,23,21,.96) 0%,
    rgba(20,23,21,.92) 45%,
    rgba(20,23,21,.76) 66%,
    rgba(20,23,21,.40) 85%,
    rgba(20,23,21,0) 100%);
  transform: translateY(8px);
  opacity: 0;
  transition: opacity 400ms var(--ease-out-expo),
              transform 400ms var(--ease-out-expo);
}
.tile__body h3{
  font-size: var(--fs-sm);
  font-weight: 600;
  color: var(--bone);
  line-height: 1.3;
}
.tile__body p{
  font-size: var(--fs-xs);
  color: var(--sand);
  margin-top: 2px;
}

/* Touch: no hover to get stuck on — the caption is simply always shown. */
.tile__body{ opacity: 1; transform: translateY(0); }
@media (hover: hover) and (pointer: fine){
  .tile__body{ opacity: 0; transform: translateY(8px); }
  .tile:hover .tile__body,
  .tile:focus-visible .tile__body{ opacity: 1; transform: translateY(0); }
  .tile:hover img,
  .tile:focus-visible img{ transform: scale(1.06); transition-duration: 1200ms; }
}


/* ==========================================================================
   13b. Video grid + video cards
   Full-width stacked cards on mobile, two columns on desktop.
   Each card has a 16:9 player on top and editorial text below.
   ========================================================================== */
.video-grid{
  display: grid;
  gap: var(--s5);
}
@media (min-width: 900px){
  .video-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--s4);
  }
}

.video-card{
  background: var(--ink-soft);
  border: 1px solid var(--rule-dark);
  overflow: hidden;
  transition: border-color 400ms var(--ease-out-expo),
              transform 400ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine){
  .video-card:hover{
    border-color: var(--brass);
    transform: translateY(-4px);
  }
}

.video-card__player{
  position: relative;
  aspect-ratio: 16 / 9;
  background: #0C0E0D;
  overflow: hidden;
}
.video-card__player video{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.video-card__body{
  padding: var(--s3);
}
@media (min-width: 600px){
  .video-card__body{ padding: var(--s3) var(--s4) var(--s4); }
}

.video-card__tags{
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--s2);
}

.video-card__title{
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.video-card__desc{
  font-size: var(--fs-sm);
  line-height: 1.6;
  color: var(--sand);
  margin-bottom: var(--s2);
  max-width: 52ch;
}

.video-card__meta{
  padding-top: var(--s2);
  border-top: 1px solid var(--rule-dark);
  font-size: var(--fs-xs);
  color: var(--sand);
}


/* ==========================================================================
   14. Lightbox
   ========================================================================== */
.lightbox{
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  height: 100dvh;       /* track Safari's bars so the caption never sits under them */
  z-index: 300;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  background: rgb(12, 14, 13);   /* solid: the page behind must not show through */
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-out-expo), visibility 0s linear 240ms;
}
.lightbox.is-open{
  opacity: 1;
  visibility: visible;
  transition: opacity 240ms var(--ease-out-expo), visibility 0s;
}

.lightbox__bar{
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s2);
  padding: var(--s1) var(--gutter);
  border-bottom: 1px solid var(--rule-dark);
}

.lightbox__count{
  font-size: var(--fs-sm);
  font-variant-numeric: tabular-nums;
  color: var(--sand);
}

.lightbox__close{
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 3px;
  color: var(--bone);
  transition: color 240ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine){
  .lightbox__close:hover{ color: var(--brass); }
}

.lightbox__stage{
  position: relative;
  min-height: 0;
  overflow: hidden;
}

/* The picture is pinned to the stage and scaled to fit INSIDE it.
   It used to rely on max-height: 100%, but that percentage was measured
   against a grid cell with no fixed height, so browsers ignored it and drew
   the photo at full size, cropped by the screen and covering the caption. */
.lightbox__img{
  position: absolute;
  top: 10px;
  left: var(--gutter);
  width: calc(100% - 2 * var(--gutter));
  height: calc(100% - 20px);
  max-width: none;
  object-fit: contain;
  background: transparent;           /* no grey box around the letterboxing */
  opacity: 1;
  transition: opacity 200ms linear;
}
@media (min-width: 768px){
  /* keep the photo clear of the arrow buttons */
  .lightbox__img{
    top: var(--s3);
    left: 88px;
    width: calc(100% - 176px);
    height: calc(100% - 2 * var(--s3));
  }
}
.lightbox__img.is-swapping{ opacity: 0; }

.lightbox__nav{
  position: absolute;
  top: 50%;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--rule-dark);
  border-radius: 50%;
  background: rgba(20,23,21,.62);
  color: var(--bone);
  transform: translateY(-50%);
  transition: background-color 240ms var(--ease-out-expo),
              border-color 240ms var(--ease-out-expo);
}
.lightbox__nav--prev{ left: 8px; }
.lightbox__nav--next{ right: 8px; }
@media (min-width: 768px){
  .lightbox__nav--prev{ left: var(--s3); }
  .lightbox__nav--next{ right: var(--s3); }
}
@media (hover: hover) and (pointer: fine){
  .lightbox__nav:hover{ background: var(--brass); border-color: var(--brass); color: var(--ink); }
}

.lightbox__foot{
  padding: var(--s2) var(--gutter) var(--s3);
  border-top: 1px solid var(--rule-dark);
}
.lightbox__foot h3{
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.1;
  margin-bottom: 6px;
}
.lightbox__foot p{
  font-size: var(--fs-sm);
  color: var(--sand);
  max-width: 62ch;
}
.lightbox__place{
  margin-top: 8px;
  font-size: var(--fs-xs);
  color: var(--brass);
}

/* Wide screens, and phones held sideways: the caption moves into a column
   beside the photo, so a portrait photo can use the full height instead of
   sharing it with a caption band that is mostly empty space. */
@media (min-width: 1024px), (min-width: 700px) and (max-height: 560px){
  .lightbox{
    grid-template-columns: minmax(0, 1fr) clamp(280px, 26vw, 380px);
    grid-template-rows: auto minmax(0, 1fr);
  }
  .lightbox__stage{
    grid-column: 1;
    grid-row: 2;
  }
  .lightbox__foot{
    grid-column: 2;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    min-height: 0;
    overflow-y: auto;
    padding: var(--s4) var(--s4) var(--s5);
    border-top: 0;
    border-left: 1px solid var(--rule-dark);
  }
}

/* ==========================================================================
   15. Trusted by
   Text wordmarks only — no fabricated logo files.
   ========================================================================== */
.trusted{ overflow: hidden; }

.trusted__track{
  display: flex;
  gap: var(--s4);
  width: max-content;
  animation: marquee 46s linear infinite;
}
.trusted:hover .trusted__track,
.trusted:focus-within .trusted__track,
.trusted__track.is-paused{ animation-play-state: paused; }

@keyframes marquee{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); }
}

.trusted__name{
  flex: none;
  font-size: var(--fs-md);
  font-weight: 500;
  color: var(--sand);
  white-space: nowrap;
}

/* Above 900px it becomes a static, wrapping index instead of a marquee. */
@media (min-width: 900px){
  .trusted__track{
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0;
    width: 100%;
    animation: none;
  }
  .trusted__name{
    padding-block: var(--s2);
    border-bottom: 1px solid var(--rule-dark);
    white-space: normal;
  }
  .trusted__track .trusted__name:nth-child(n + 14){ display: none; }
}

/* ==========================================================================
   16. Closing CTA
   ========================================================================== */
.closing{
  display: grid;
  gap: var(--s4);
  align-items: center;
}
@media (min-width: 900px){
  .closing{
    grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
    gap: var(--s6);
  }
}
.closing__media{ max-width: 460px; }

/* ==========================================================================
   17. Counters (about)
   ========================================================================== */
.figures{
  display: grid;
  gap: var(--s4);
  border-top: 1px solid var(--rule-dark);
}
@media (min-width: 700px){
  .figures{ grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--s3); }
}
.figure{
  padding-top: var(--s3);
  border-bottom: 1px solid var(--rule-dark);
  padding-bottom: var(--s3);
}
@media (min-width: 700px){
  .figure{ border-bottom: 0; }
}
.figure__num{
  display: block;
  font-family: var(--display);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}
.figure__label{
  display: block;
  margin-top: var(--s1);
  font-size: var(--fs-sm);
  color: var(--sand);
}

/* ==========================================================================
   18. Services index + process
   ========================================================================== */
.lead-service{
  display: grid;
  gap: var(--s3);
  padding-bottom: var(--s5);
  border-bottom: 1px solid var(--brass);
}
@media (min-width: 900px){
  .lead-service{
    grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
    gap: var(--s6);
    align-items: start;
  }
}

.service-row{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s2);
  align-items: start;
  padding-block: var(--s4);
  border-bottom: 1px solid var(--rule-dark);
  transition: transform 420ms var(--ease-out-expo);
}
@media (min-width: 900px){
  .service-row{
    grid-template-columns: 64px minmax(0, 4fr) minmax(0, 6fr);
    gap: var(--s4);
    align-items: baseline;
  }
}
@media (hover: hover) and (pointer: fine){
  .service-row:hover{ transform: translateX(6px); }
}

.service-row h3{
  font-family: var(--display);
  font-size: var(--fs-xl);
  font-weight: 600;
  line-height: 1.04;
}
.service-row p{
  grid-column: 2 / -1;
  margin-top: var(--s1);
  color: var(--sand);
  max-width: 56ch;
}
@media (min-width: 900px){
  .service-row p{ grid-column: 3; margin-top: 0; }
}

/* Process — horizontal on desktop, vertical on mobile, line draws on scroll */
.process{ position: relative; }

.process__track{
  position: relative;
  display: grid;
  gap: var(--s4);
  padding-left: 34px;
}
@media (min-width: 900px){
  .process__track{
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: var(--s3);
    padding-left: 0;
    padding-top: 46px;
  }
}

/* The rail the progress line runs along */
.process__track::before,
.process__track::after{
  content: "";
  position: absolute;
  background: var(--rule-dark);
}
.process__track::before{
  left: 5px; top: 6px; bottom: 6px;
  width: 1px;
}
.process__track::after{
  left: 5px; top: 6px;
  width: 1px;
  height: calc(100% - 12px);
  background: var(--brass);
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 1600ms var(--ease-wipe);
}
.process.is-visible .process__track::after{ transform: scaleY(1); }

@media (min-width: 900px){
  .process__track::before{
    left: 0; right: 0; top: 5px; bottom: auto;
    width: auto; height: 1px;
  }
  .process__track::after{
    left: 0; right: 0; top: 5px;
    width: auto; height: 1px;
    transform: scaleX(0);
    transform-origin: left center;
  }
  .process.is-visible .process__track::after{ transform: scaleX(1); }
}

.step{ position: relative; }
.step::before{
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 11px;
  height: 11px;
  border: 1px solid var(--brass);
  border-radius: 50%;
  background: var(--ink);
  transform: translateX(0);
}
@media (min-width: 900px){
  .step::before{ left: 0; top: -46px; }
}
.step h3{
  font-family: var(--display);
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.08;
  margin-bottom: 6px;
}
.step p{
  font-size: var(--fs-sm);
  color: var(--sand);
}

/* Two-column hairline list (why work with me, hotel deliverables) */
.pair-list{
  display: grid;
  gap: 0;
  border-top: 1px solid var(--rule-dark);
}
@media (min-width: 700px){
  .pair-list{ grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: var(--s5); }
}
.light-section .pair-list{ border-top-color: var(--rule-light); }

.pair-list li{
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule-dark);
  font-size: var(--fs-md);
}
.light-section .pair-list li{ border-bottom-color: var(--rule-light); }

/* ==========================================================================
   19. Hotels — the property index
   No hospitality photography exists yet, so this page is built type-first.
   ========================================================================== */
.property-index{ border-top: 1px solid var(--rule-dark); }

.property{
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: var(--s2);
  align-items: baseline;
  padding-block: var(--s4);
  border-bottom: 1px solid var(--rule-dark);
  transition: transform 420ms var(--ease-out-expo);
}
@media (min-width: 900px){
  .property{
    grid-template-columns: 64px minmax(0, 7fr) minmax(0, 4fr);
    gap: var(--s4);
  }
}
@media (hover: hover) and (pointer: fine){
  .property:hover{ transform: translateX(8px); }
  .property:hover .property__city{ color: var(--brass); }
}

.property__name{
  font-family: var(--display);
  font-size: clamp(26px, 4.4vw, 46px);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.01em;
}
.property__city{
  grid-column: 2 / -1;
  margin-top: 6px;
  font-size: var(--fs-sm);
  color: var(--sand);
  transition: color 320ms var(--ease-out-expo);
}
@media (min-width: 900px){
  .property__city{ grid-column: 3; margin-top: 0; text-align: right; }
}

.notice{
  padding: var(--s3);
  border-left: 1px solid var(--brass);
  background: var(--ink-soft);
  font-size: var(--fs-sm);
  color: var(--sand);
}
.light-section .notice{
  background: var(--bone-dim);
  color: #4A443B;
}

/* ==========================================================================
   20. Contact form
   ========================================================================== */
.contact-grid{
  display: grid;
  gap: var(--s6);
}
@media (min-width: 1000px){
  .contact-grid{
    grid-template-columns: minmax(0, 7fr) minmax(0, 4fr);
    gap: var(--s7);
    align-items: start;
  }
}

.form-grid{
  display: grid;
  gap: var(--s3);
}
@media (min-width: 700px){
  .form-grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .field--full{ grid-column: 1 / -1; }
}

.field label{
  display: block;
  margin-bottom: 8px;
  font-size: var(--fs-sm);
  font-weight: 500;
}
.field .req{ color: var(--brass); }

.field input,
.field select,
.field textarea{
  width: 100%;
  min-height: 50px;
  padding: 13px 14px;
  background: var(--ink-soft);
  border: 1px solid var(--rule-dark);
  border-radius: 3px;
  color: var(--bone);
  font-size: var(--fs-base);
  transition: border-color 240ms var(--ease-out-expo),
              background-color 240ms var(--ease-out-expo);
}
.field textarea{ min-height: 150px; resize: vertical; }

.field select{
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23D8D3C6' stroke-width='1.4'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.field input:focus,
.field select:focus,
.field textarea:focus{
  border-color: var(--brass);
  background: var(--ink-raised);
}

.field input::placeholder,
.field textarea::placeholder{ color: rgba(216,211,198,.42); }

.field-error{
  display: none;
  margin-top: 7px;
  font-size: var(--fs-sm);
  color: var(--brass-lift);
}
.field.has-error .field-error{ display: block; }
.field.has-error input,
.field.has-error select,
.field.has-error textarea{ border-color: var(--brass-lift); }

/* Honeypot — off-screen, never display:none (bots skip hidden fields) */
.hp-field{
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-status{
  margin-top: var(--s3);
  padding: var(--s3);
  border-left: 1px solid var(--brass);
  background: var(--ink-soft);
  font-size: var(--fs-sm);
}
.form-status[hidden]{ display: none; }

.form-done h2{
  font-family: var(--display);
  font-size: var(--fs-xl);
  font-weight: 400;
  line-height: 1.04;
  margin-bottom: var(--s2);
}

/* Direct contact */
.handles{ border-top: 1px solid var(--rule-dark); }
.handle{
  display: flex;
  align-items: center;
  gap: var(--s2);
  padding-block: var(--s3);
  border-bottom: 1px solid var(--rule-dark);
  min-height: 60px;
}
.handle svg{ flex: none; color: var(--sand); transition: color 260ms var(--ease-out-expo); }
.handle__name{ font-weight: 500; }
.handle__at{ font-size: var(--fs-sm); color: var(--sand); }
@media (hover: hover) and (pointer: fine){
  .handle:hover svg{ color: var(--brass); }
}

/* ==========================================================================
   21. Footer
   ========================================================================== */
.site-footer{
  background: var(--ink);
  border-top: 1px solid var(--rule-dark);
  padding-block: var(--s6) var(--s4);
}

.footer-word{
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(52px, 13vw, 150px);
  line-height: 0.88;
  letter-spacing: -0.028em;
  margin-bottom: var(--s2);
}

.footer-tag{
  font-size: var(--fs-sm);
  color: var(--sand);
  margin-bottom: var(--s5);
}

.footer-grid{
  display: grid;
  gap: var(--s4);
  padding-block: var(--s4);
  border-top: 1px solid var(--rule-dark);
}
@media (min-width: 800px){
  .footer-grid{
    grid-template-columns: minmax(0, 1fr) auto;
    gap: var(--s5);
    align-items: start;
  }
}

.socials{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s1);
}
.social{
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--rule-dark);
  border-radius: 3px;
  color: var(--sand);
  transition: color 260ms var(--ease-out-expo),
              border-color 260ms var(--ease-out-expo);
}
@media (hover: hover) and (pointer: fine){
  .social:hover{ color: var(--brass); border-color: var(--brass); }
}

.footer-note{
  font-size: var(--fs-sm);
  color: var(--sand);
  margin-bottom: var(--s2);
}

.footer-mail{
  font-family: var(--display);
  font-weight: 600;
  font-size: var(--fs-lg);
  line-height: 1.1;
}

.footer-base{
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2) var(--s4);
  justify-content: space-between;
  padding-top: var(--s3);
  border-top: 1px solid var(--rule-dark);
  font-size: var(--fs-xs);
  color: var(--sand);
}

/* ==========================================================================
   22. Page transition veil
   ========================================================================== */
.veil{
  position: fixed;
  inset: 0;
  z-index: 400;
  background: var(--bone);
  transform: scaleY(0);
  transform-origin: bottom center;
  pointer-events: none;
  visibility: hidden;
}
.veil.is-out{
  visibility: visible;
  transform: scaleY(1);
  transform-origin: bottom center;
  transition: transform 180ms var(--ease-wipe);
}
.veil.is-in{
  visibility: visible;
  transform: scaleY(0);
  transform-origin: top center;
  transition: transform 220ms var(--ease-wipe);
}

/* ==========================================================================
   23. 404
   ========================================================================== */
.error-page{
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding-block: calc(var(--header-h) + var(--s6)) var(--s6);
  text-align: left;
}
.error-code{
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(88px, 26vw, 260px);
  line-height: 0.82;
  letter-spacing: -0.04em;
  color: var(--ink-raised);
  margin-bottom: var(--s3);
}

/* ==========================================================================
   24. Parallax (one band, desktop only)
   Transform is applied inline by JS, which also refuses to run below 900px
   and under reduced motion — so no override is needed here.
   ========================================================================== */
[data-parallax]{ will-change: transform; }

/* ==========================================================================
   25. Utilities
   ========================================================================== */

.mt-2{ margin-top: var(--s2); }
.mt-3{ margin-top: var(--s3); }
.mt-4{ margin-top: var(--s4); }
.mt-5{ margin-top: var(--s5); }

.page-head{
  padding-top: calc(var(--header-h) + var(--s6));
  padding-bottom: var(--s6);
}

.measure{ max-width: 68ch; }

/* ==========================================================================
   26. Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }

  *,
  *::before,
  *::after{
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
    scroll-behavior: auto !important;
  }

  .js .reveal{ opacity: 1; transform: none; }
  .js .mask > span{ transform: none; }
  .js .hero__cue{ opacity: 1; transform: none; }
  .js .hero__name .mask > span{ transform: none; }
  .hero__media img{ transform: none; }
  .frame > img,
  .tile img{ transform: none; }
  .trusted__track{ animation: none; }
  .scroll-cue__track::after{ animation: none; }
  .process__track::after{ transform: none; }
  .veil{ display: none; }
}
