/* ============================================================
   SamsVisuals — foundation
   Warm light editorial world. The photograph carries the color;
   the ivory ground keeps everything bright and alive.
   Placeholder tokens are marked; retune once brand is set.
   ============================================================ */

/* ---- Tokens ------------------------------------------------ */
:root {
  /* Ground — warm ivory, never clinical white */
  --ground:      #f5f1e9;
  --ground-2:    #efe9dc;
  --ground-3:    #e7dfcd;

  /* Ink — warm near-black */
  --ink:         #1c1913;
  --ink-2:       rgba(28, 25, 19, 0.66);
  --ink-3:       rgba(28, 25, 19, 0.50);

  /* Warm bronze accent — PLACEHOLDER; swap for brand later */
  --accent:      #9a7433;
  --accent-soft: rgba(154, 116, 51, 0.45);

  /* Near-black for primary buttons (on the light ground) */
  --btn:         #1c1913;
  --btn-ink:     #f5f1e9;

  /* Light text for elements that sit OVER photos (theme-independent) */
  --on-photo:    #f4f1ea;
  --on-photo-2:  rgba(244, 241, 234, 0.78);

  --line:        rgba(28, 25, 19, 0.14);
  --line-strong: rgba(28, 25, 19, 0.26);

  /* Type */
  --display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --ui:      "Archivo", system-ui, -apple-system, Segoe UI, sans-serif;

  /* Motion */
  --ease-cine: cubic-bezier(0.66, 0, 0.13, 1);
  --ease-out:  cubic-bezier(0.16, 1, 0.3, 1);

  --pad: clamp(1.25rem, 4vw, 3rem);
}

/* ---- Reset ------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--ui);
  font-weight: 400;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip; /* clip, not hidden — keeps position:sticky working */
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1 { margin: 0; font-weight: 400; }

/* Themed browser surfaces */
::selection { background: var(--accent); color: #17130c; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 2px; }
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ground-2); }
::-webkit-scrollbar-thumb { background: #cbbfa6; border-radius: 999px; border: 2px solid var(--ground-2); }
::-webkit-scrollbar-thumb:hover { background: #b8a882; }
html { scrollbar-color: #cbbfa6 var(--ground-2); }

/* While the intro plays, lock the page at the top */
body.is-loading { overflow: hidden; height: 100vh; }

/* ---- Film grain (global) ----------------------------------- */
.grain {
  position: fixed;
  inset: -50%;
  width: 200%;
  height: 200%;
  z-index: 100;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: soft-light;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 160px 160px;
  animation: grain-shift 5s steps(5) infinite;
}
@keyframes grain-shift {
  0%   { transform: translate(0, 0); }
  20%  { transform: translate(-4%, 3%); }
  40%  { transform: translate(3%, -4%); }
  60%  { transform: translate(-3%, -2%); }
  80%  { transform: translate(4%, 2%); }
  100% { transform: translate(0, 0); }
}

/* ============================================================
   SITE NAV
   ============================================================ */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1rem, 2.4vw, 1.6rem) var(--pad);
  pointer-events: none;
  /* No boxed bar. White chrome + difference blend auto-inverts against
     whatever is behind: light over the dark hero, dark over the ivory ground. */
  mix-blend-mode: difference;
}
.site-nav > * { pointer-events: auto; }

.brand {
  font-family: var(--display);
  font-size: clamp(1.1rem, 1.7vw, 1.4rem);
  letter-spacing: 0.02em;
  color: #f4f1ea;
  /* Hidden until the intro wordmark lands here; then it appears in a single
     frame as the wordmark is hidden the same instant (no fade, no double). */
  opacity: 0;
}
body.logo-ready .brand { opacity: 1; }

.site-nav__links {
  display: flex;
  gap: clamp(1.25rem, 2.6vw, 2.4rem);
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: 0.15s;
}
body.revealed .site-nav__links { opacity: 1; transform: none; }

.site-nav__links a {
  position: relative;
  color: #cbc6bc;
  padding-bottom: 3px;
  transition: color 0.35s var(--ease-out);
}
.site-nav__links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: #f4f1ea;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}
.site-nav__links a:hover,
.site-nav__links a:focus-visible { color: #f4f1ea; }
.site-nav__links a:hover::after,
.site-nav__links a:focus-visible::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero__media { position: absolute; inset: 0; z-index: 0; background: var(--ground); }

/* Featured background video */
.hero__video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 0;
  opacity: 0; transition: opacity 1.2s var(--ease-out);
}
body.revealed .hero__video { opacity: 1; }
.hero.has-video .hero__placeholder,
.hero.has-video .hero__photo { display: none; }

/* The real photo lives here — Ken Burns keeps it alive */
.hero__photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transform: scale(1.06);
  opacity: 0;
  transition: opacity 1.2s var(--ease-out);
}
body.revealed .hero__photo { opacity: 1; }
.hero.has-image .hero__photo { animation: ken-burns 26s ease-in-out infinite alternate; }
.hero.has-image .hero__placeholder { display: none; }
@keyframes ken-burns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.16) translate(-1.5%, -1.5%); }
}

/* Placeholder treatment — rich enough that the reveal still reads cinematic */
.hero__placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  text-align: center;
  color: var(--ink-3);
  background:
    radial-gradient(120% 90% at 50% 18%, rgba(201,169,120,0.10), transparent 55%),
    radial-gradient(140% 120% at 72% 108%, rgba(70,74,92,0.30), transparent 60%),
    linear-gradient(200deg, #17171c 0%, #101015 46%, #0a0a0c 100%);
  animation: sheen 14s ease-in-out infinite alternate;
}
@keyframes sheen {
  from { background-position: 0% 0%, 0% 0%, 0 0; }
  to   { background-position: 0% 0%, 6% -4%, 0 0; }
}
.hero__placeholder .aperture {
  width: clamp(58px, 8vw, 92px);
  color: var(--accent);
  opacity: 0.8;
  animation: breathe 6s ease-in-out infinite;
}
.hero__placeholder .aperture svg { width: 100%; height: 100%; }
@keyframes breathe {
  0%, 100% { transform: rotate(0deg) scale(1); opacity: 0.7; }
  50%      { transform: rotate(30deg) scale(1.04); opacity: 0.95; }
}
.hero__placeholder-label {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 3.6vw, 2.4rem);
  color: var(--on-photo);
  letter-spacing: 0.01em;
}
.hero__placeholder-note {
  margin: 0;
  font-size: 0.7rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.6);
}

.hero__vignette {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    radial-gradient(120% 100% at 50% 42%, transparent 46%, rgba(0,0,0,0.34) 78%, rgba(0,0,0,0.62) 100%),
    linear-gradient(to top, rgba(0,0,0,0.72) 0%, rgba(0,0,0,0.18) 34%, transparent 60%);
}

/* Hero foot — caption + scroll cue */
.hero__foot {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  padding: var(--pad);
  padding-bottom: clamp(1.5rem, 4vh, 2.6rem);
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.9s var(--ease-out) 0.2s, transform 0.9s var(--ease-out) 0.2s;
}
body.revealed .hero__foot { opacity: 1; transform: none; }

.hero__content { max-width: 42ch; }
.hero__headline {
  margin: 0 0 1rem;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.4rem, 6vw, 5rem); line-height: 0.98; letter-spacing: -0.02em;
  color: var(--on-photo); text-wrap: balance;
}
.hero__sub {
  margin: 0 0 1.8rem; max-width: 36ch;
  font-size: clamp(0.95rem, 1.3vw, 1.1rem); line-height: 1.5; color: var(--on-photo-2);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.8rem; }

/* Hero CTAs — over the video, so theme-independent light/near-black */
.btn-solid, .btn-outline {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.85rem 1.55rem; border-radius: 999px;
  font-family: var(--ui); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  transition: background 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.btn-solid { background: var(--on-photo); color: #16150f; }
.btn-solid svg { width: 17px; transition: transform 0.3s var(--ease-out); }
.btn-solid:hover { background: #fff; }
.btn-solid:hover svg { transform: translateX(3px); }
.btn-outline { background: rgba(244,241,234,0.06); color: var(--on-photo); border: 1px solid rgba(244,241,234,0.5); }
.btn-outline:hover { border-color: var(--on-photo); background: rgba(244,241,234,0.14); }

.scroll-cue {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  color: var(--on-photo-2);
  transition: color 0.35s var(--ease-out);
}
.scroll-cue:hover, .scroll-cue:focus-visible { color: var(--on-photo); }
.scroll-cue__label {
  font-size: 0.64rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
}
.scroll-cue__track {
  position: relative;
  width: 1px;
  height: 46px;
  background: rgba(244, 241, 234, 0.4);
  overflow: hidden;
}
.scroll-cue__dot {
  position: absolute;
  top: 0; left: 50%;
  width: 3px; height: 12px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--accent);
  animation: scroll-fall 2.1s var(--ease-cine) infinite;
}
@keyframes scroll-fall {
  0%   { transform: translateY(-14px); opacity: 0; }
  30%  { opacity: 1; }
  70%  { opacity: 1; }
  100% { transform: translateY(46px); opacity: 0; }
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  position: relative;
  background: linear-gradient(to bottom, var(--ground) 0%, var(--ground-2) 40%, var(--ground) 100%);
  border-top: 1px solid var(--line);
  padding-bottom: clamp(5rem, 12vh, 9rem);
}

/* Large watermark section index, set into the left margin (not an eyebrow) */
.about__index {
  position: absolute;
  top: clamp(2.4rem, 6vh, 4rem);
  left: max(calc(var(--pad) - 0.1em), 0.6rem);
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--ink-3);
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

/* ---- A · Opening statement ---- */
.about__intro {
  padding: clamp(6rem, 16vh, 13rem) var(--pad) clamp(3rem, 8vh, 6rem);
  max-width: 1400px;
  margin-inline: auto;
}
.about__statement {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--ink);
  max-width: 15ch;
  text-wrap: balance;
}
.about__statement em { font-style: italic; color: var(--accent); }

.about__lede {
  margin-top: clamp(2.5rem, 6vh, 4.5rem);
  margin-left: auto;
  max-width: 44ch;
  display: flex;
  gap: 1.4rem;
}
.about__rule {
  flex: none;
  width: 40px;
  height: 1px;
  margin-top: 0.7em;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.about__rule--v { width: 1px; height: 60px; background: linear-gradient(var(--accent-soft), transparent); }
.about__lede p {
  margin: 0;
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.7;
  color: var(--ink-2);
}

/* ---- B · Scroll reveal ---- */
.reveal {
  position: relative;
  height: 260vh;      /* ~160vh of scroll travel + one viewport */
  width: 100%;
}
.reveal__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
}
.reveal__frame {
  position: absolute;
  inset: 0;
  background: #000;
  /* Initial centered window; JS animates toward full-bleed on scroll */
  clip-path: polygon(25% 25%, 75% 25%, 75% 75%, 25% 75%);
  will-change: clip-path;
}
.reveal__media {
  position: absolute;
  inset: 0;
  background-size: 160%;
  background-position: center;
  will-change: background-size;
}
.reveal__caption {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 var(--pad);
  pointer-events: none;
  mix-blend-mode: difference; /* legible over the opening image, no scrim needed */
}
.reveal__line {
  margin: 0;
  font-family: var(--display);
  font-style: italic;
  font-size: clamp(1.7rem, 4.6vw, 3.4rem);
  line-height: 1.15;
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
  text-wrap: balance;
}
.reveal__hint {
  display: inline-block;
  margin-top: 1.6rem;
  font-family: var(--ui);
  font-size: 0.62rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0.7;
}

/* ---- Our Legacy (text-forward, no portrait) ---- */
.about__legacy {
  max-width: 1100px; margin: clamp(4.5rem, 11vh, 8rem) auto 0; padding: 0 var(--pad);
}
.about__pull {
  margin: 0 0 clamp(2rem, 5vh, 3.4rem); max-width: 20ch;
  font-family: var(--display); font-style: italic;
  font-size: clamp(1.7rem, 3.6vw, 3rem); line-height: 1.2; color: var(--ink); text-wrap: balance;
}
.about__legacy-body {
  display: grid; grid-template-columns: 1fr; gap: clamp(1.2rem, 3vw, 2.6rem);
  max-width: 62ch; margin-left: auto;
}
@media (min-width: 720px) { .about__legacy-body { grid-template-columns: 1fr 1fr; max-width: none; } }
.about__legacy-body p {
  margin: 0; font-size: clamp(0.98rem, 1.15vw, 1.06rem); line-height: 1.75; color: var(--ink-2);
}
.about__cta {
  display: inline-flex; align-items: center; gap: 0.6rem; margin-top: clamp(2rem, 5vh, 3.2rem);
  font-family: var(--ui); font-size: 0.7rem; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ink); padding-bottom: 4px; border-bottom: 1px solid var(--accent);
  transition: gap 0.3s var(--ease-out);
}
.about__cta svg { width: 18px; transition: transform 0.3s var(--ease-out); }
.about__cta:hover { gap: 0.9rem; }
.about__cta:hover svg { transform: translateX(3px); }

/* ---- Timeline ---- */
.about__timeline {
  list-style: none; margin: clamp(4rem, 10vh, 7rem) auto 0; padding: 0 var(--pad);
  max-width: 1100px; display: grid; gap: clamp(1.4rem, 3vw, 2.4rem);
}
@media (min-width: 720px) { .about__timeline { grid-template-columns: repeat(3, 1fr); } }
.about__milestone { padding-top: 1.4rem; border-top: 1px solid var(--line); }
.about__year { display: block; font-family: var(--display); font-size: clamp(2.4rem, 5vw, 3.6rem); color: var(--accent); line-height: 1; }
.about__milestone p { margin: 0.8rem 0 0; font-size: 0.98rem; line-height: 1.55; color: var(--ink-2); max-width: 28ch; }

/* ---- Selected frames ---- */
.about__frames { max-width: 1280px; margin: clamp(4rem, 10vh, 7rem) auto 0; padding: 0 var(--pad); }
.about__frames-title { margin: 0 0 1.6rem; font-family: var(--ui); font-size: 0.66rem; font-weight: 600; letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent); }
.about__frames-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: clamp(0.8rem, 1.6vw, 1.4rem); }
@media (min-width: 720px) { .about__frames-grid { grid-template-columns: repeat(4, 1fr); } }
.about__frame { margin: 0; }
.about__frame-media { display: block; aspect-ratio: 3 / 4; border-radius: 12px; }
.about__frame-cap { display: flex; flex-direction: column; gap: 0.2rem; padding: 0.8rem 0 0; }
.about__frame-name { font-family: var(--display); font-size: 1.05rem; color: var(--ink); }
.about__frame-cat { font-size: 0.6rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   PLACEHOLDER FRAME — shared image stand-in
   ============================================================ */
.frame-ph {
  position: relative;
  margin: 0;
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 32% 20%, rgba(201,169,120,0.12), transparent 55%),
    radial-gradient(150% 130% at 78% 112%, rgba(74,78,98,0.34), transparent 60%),
    linear-gradient(205deg, #191920 0%, #101015 48%, #0a0a0c 100%);
}
/* Centered aperture mark */
.frame-ph::after {
  content: "";
  position: absolute;
  top: 50%; left: 50%;
  width: clamp(38px, 5vw, 60px);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.65;
  background: no-repeat center / contain
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100' fill='none' stroke='%23c9a978' stroke-width='1.3'%3E%3Ccircle cx='50' cy='50' r='40' opacity='0.45'/%3E%3Cpath d='M64 50 57 62.99 43 62.99 36 50 43 37.01 57 37.01Z' opacity='0.8'/%3E%3Cg opacity='0.4'%3E%3Cpath d='M64 50 72.96 82.76'/%3E%3Cpath d='M57 62.99 33.08 86.24'/%3E%3Cpath d='M43 62.99 10.16 53.48'/%3E%3Cpath d='M36 50 27.04 17.24'/%3E%3Cpath d='M43 37.01 66.92 13.76'/%3E%3Cpath d='M57 37.01 89.84 46.52'/%3E%3C/g%3E%3C/svg%3E");
}
/* Corner label */
.frame-ph::before {
  content: "Placeholder";
  position: absolute;
  left: 0.9rem; bottom: 0.8rem;
  z-index: 1;
  font-family: var(--ui);
  font-size: 0.56rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(244, 241, 234, 0.5);
}
/* Real image supplied → hide the placeholder furniture */
.frame-ph.has-image::before,
.frame-ph.has-image::after { display: none; }

/* Faint scaffolding cue on placeholder elements (dev affordance) */
[data-placeholder] { position: relative; }

/* ============================================================
   INTRO OVERLAY — cinematic load sequence
   ============================================================ */
@property --iris {
  syntax: "<percentage>";
  inherits: false;
  initial-value: 0%;
}

.intro {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: grid;
  place-items: center;
  background: transparent;
}

/* Opaque layer that the aperture opens a hole in to reveal the hero */
.intro__backdrop {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: #f5f1e9; /* warm-white intro that opens into the site */
  --iris: 0%;
  /* Hole grows from a true zero radius (no dot at the start): the transparent
     stop trails the black edge, so at --iris:0% the layer is fully opaque. */
  -webkit-mask: radial-gradient(circle at 50% 46%, transparent calc(var(--iris) - 7%), #000 var(--iris));
          mask: radial-gradient(circle at 50% 46%, transparent calc(var(--iris) - 7%), #000 var(--iris));
  transition: --iris 1.5s var(--ease-cine);
}

.intro__stage {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.4rem;
  padding: 2rem;
  transition: opacity 0.8s var(--ease-out);
}

.intro__aperture {
  width: clamp(40px, 6vw, 62px);
  color: var(--accent);
  opacity: 0;
  transform: rotate(-40deg) scale(0.7);
  transition: opacity 1s var(--ease-out), transform 1.6s var(--ease-cine);
}
.intro__aperture svg { width: 100%; height: 100%; }

.intro__wordmark {
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(2.6rem, 9vw, 6rem);
  line-height: 1;
  letter-spacing: 0.02em;
  color: #1c1913;
  /* Start: out of focus + dilated tracking */
  opacity: 0;
  filter: blur(18px);
  letter-spacing: 0.34em;
  transform: scale(1.04);
  transition:
    opacity 1.1s var(--ease-out),
    filter 1.3s var(--ease-cine),
    letter-spacing 1.5s var(--ease-cine),
    transform 1.6s var(--ease-cine);
  will-change: transform, filter, opacity;
}

.intro__rule {
  width: min(340px, 62vw);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 1.1s var(--ease-cine);
}

.intro__sub {
  margin: 0;
  font-size: clamp(0.66rem, 1.4vw, 0.8rem);
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: rgba(28, 25, 19, 0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

/* ---- Intro states (driven by JS) ---- */
/* 1 — the name pulls into focus */
.intro.step-name .intro__aperture { opacity: 0.85; transform: rotate(0deg) scale(1); }
.intro.step-name .intro__wordmark {
  opacity: 1;
  filter: blur(0);
  letter-spacing: 0.02em;
  transform: scale(1);
}
/* 2 — the rule draws + sublabel arrives */
.intro.step-rule .intro__rule { transform: scaleX(1); }
.intro.step-rule .intro__sub { opacity: 1; transform: none; }

/* 3 — aperture opens onto the work */
.intro.step-reveal .intro__backdrop { --iris: 160%; }
.intro.step-reveal .intro__aperture,
.intro.step-reveal .intro__rule,
.intro.step-reveal .intro__sub { opacity: 0; transition-duration: 0.5s; }
/* The wordmark's flight to the nav is a transform set in JS (FLIP) */
.intro.step-reveal .intro__wordmark {
  transition: transform 1.1s var(--ease-cine);
}
.intro.step-done .intro__wordmark { opacity: 0; }
.intro.step-done { pointer-events: none; }

.intro__skip {
  position: absolute;
  z-index: 3;
  top: clamp(1rem, 2.4vw, 1.6rem);
  right: var(--pad);
  padding: 0.5rem 0.2rem;
  background: none;
  border: none;
  color: rgba(28, 25, 19, 0.5);
  font-family: var(--ui);
  font-size: 0.64rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 0.3s var(--ease-out);
}
.intro__skip:hover, .intro__skip:focus-visible { color: #1c1913; }
.intro.step-reveal .intro__skip { opacity: 0; pointer-events: none; transition: opacity 0.4s; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 720px) {
  .contact__card { width: 100%; }
}

@media (max-width: 680px) {
  .site-nav__links { gap: 1.1rem; font-size: 0.64rem; letter-spacing: 0.16em; }
  .hero__foot { flex-direction: column; align-items: flex-start; gap: 1.6rem; }
  .scroll-cue { align-self: center; }
  .hero__actions { width: 100%; }

  .about__index { display: none; }
  .about__lede { margin-left: 0; }
  .reveal { height: 220vh; }
  .about__strip { grid-auto-columns: 78%; }
}

/* ============================================================
   REDUCED MOTION — skip the cinema, present the hero directly
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .grain { animation: none; }
  .hero__photo { animation: none; transform: scale(1.02); }
  .hero__placeholder { animation: none; }
  .hero__placeholder .aperture { animation: none; }
  .scroll-cue__dot { animation: none; opacity: 1; top: 8px; }

  /* Reveal: collapse the tall scroll section, show the frame full-bleed */
  .reveal { height: auto; }
  .reveal__sticky { position: relative; }
  .reveal__frame { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%) !important; }
  .reveal__media { background-size: 100% !important; }
  .reveal__caption { opacity: 1 !important; }

  .hero__media { transform: none !important; }

  /* Testimonials: stop the marquee, let it scroll by hand */
  .reviews__track { animation: none !important; width: auto; }
  .reviews__row { overflow-x: auto; }
}

/* ============================================================
   NAV — interior pages: chrome visible immediately (no intro)
   ============================================================ */
.work-page .brand,
.work-page .site-nav__links { opacity: 1 !important; transform: none !important; }
.site-nav__links a[aria-current="page"] { color: #f4f1ea; }
.site-nav__links a[aria-current="page"]::after { transform: scaleX(1); }

/* ============================================================
   WORK CARD — shared (homepage preview + work.html)
   Card anatomy mirrors the reference, in the gallery-dark world.
   ============================================================ */
.work-card { position: relative; }
.work-card__media {
  position: relative;
  display: block;
  aspect-ratio: 3 / 2;
  border-radius: 14px;
  overflow: hidden;
  isolation: isolate;
  transition: transform 0.6s var(--ease-out);
}
.work-card__media:hover { transform: translateY(-4px); }
.work-card--feature .work-card__media { aspect-ratio: 16 / 9; border-radius: 18px; }

/* Media-type chips, top-left */
.work-card__icons { position: absolute; top: 0.8rem; left: 0.8rem; z-index: 3; display: flex; gap: 0.4rem; }
.work-card__icon {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 9px;
  color: var(--on-photo);
  background: rgba(18,16,12,0.42);
  border: 1px solid rgba(244,241,234,0.22);
  backdrop-filter: blur(6px);
}
.work-card__icon svg { width: 16px; height: 16px; }

/* Tag pills, bottom-left */
.work-card__pills { position: absolute; left: 0.8rem; bottom: 0.8rem; z-index: 3; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.pill {
  padding: 0.32rem 0.72rem;
  border-radius: 999px;
  font-size: 0.56rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--on-photo);
  background: rgba(18,16,12,0.42);
  border: 1px solid rgba(244,241,234,0.22);
  backdrop-filter: blur(6px);
}

/* DETAILS button, bottom-right */
.work-card__details {
  position: absolute; right: 0.8rem; bottom: 0.8rem; z-index: 3;
  padding: 0.44rem 0.95rem;
  border-radius: 999px;
  font-size: 0.58rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--on-photo);
  background: rgba(18,16,12,0.7);
  border: 1px solid rgba(244,241,234,0.2);
  backdrop-filter: blur(6px);
  transition: background 0.3s var(--ease-out), transform 0.3s var(--ease-out);
}
.work-card__media:hover .work-card__details { background: var(--accent); color: #fff; border-color: transparent; }
.work-card__media:hover .work-card__details { transform: translateY(-2px); }

/* Feature overlay title */
.work-card__overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 0.5rem; text-align: center; padding: 2rem;
  background: radial-gradient(120% 90% at 50% 60%, rgba(0,0,0,0.5), transparent 70%);
}
.work-card__couple {
  font-size: 0.6rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--accent);
}
.work-card__title { margin: 0; font-family: var(--display); font-weight: 400; color: var(--ink); }
.work-card__title--over { font-size: clamp(1.6rem, 4vw, 3rem); color: #fff; }

/* Below-image meta (grid cards) */
.work-card__meta {
  display: flex; flex-direction: column; align-items: center; gap: 0.35rem;
  padding: 1.1rem 0 0; text-align: center;
}
.work-card__meta .work-card__couple { color: var(--ink-3); }
.work-card__meta .work-card__title { font-size: clamp(1.15rem, 1.8vw, 1.5rem); color: var(--accent); }

/* ============================================================
   SELECTED WORKS — homepage section
   ============================================================ */
.works {
  padding: clamp(5rem, 12vh, 9rem) var(--pad) clamp(4rem, 10vh, 7rem);
  max-width: 1280px;
  margin-inline: auto;
}
.works__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: clamp(2rem, 5vh, 3.5rem); }
.works__title { margin: 0; font-family: var(--display); font-weight: 400; font-size: clamp(2.2rem, 5.5vw, 4rem); line-height: 0.98; letter-spacing: -0.02em; color: var(--ink); }
.works__viewall {
  display: inline-flex; align-items: center; gap: 0.55rem; flex: none;
  font-size: 0.68rem; letter-spacing: 0.24em; text-transform: uppercase; color: var(--ink-2);
  padding-bottom: 4px; border-bottom: 1px solid var(--line);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out);
}
.works__viewall svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.works__viewall:hover { color: var(--ink); border-color: var(--accent); }
.works__viewall:hover svg { transform: translateX(4px); }
.works__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(0.9rem, 2vw, 1.6rem); margin-top: clamp(0.9rem, 2vw, 1.6rem); }

/* ============================================================
   WORK PAGE (work.html)
   ============================================================ */
.work-top { position: relative; padding: clamp(7rem, 16vh, 11rem) var(--pad) 0; text-align: center; }
.work-watermark {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(3.4rem, 16vw, 14rem); line-height: 0.86; letter-spacing: -0.02em;
  color: var(--ink); opacity: 0.07; user-select: none;
  will-change: transform;
}
.work-filters {
  position: relative; z-index: 2;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 0.6rem;
  margin-top: clamp(1.5rem, 4vh, 3rem);
}
.filter { position: relative; }
.filter__select {
  appearance: none; -webkit-appearance: none;
  background: rgba(243,239,232,0.04);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0.6rem 2.3rem 0.6rem 1rem;
  color: var(--ink-2);
  font-family: var(--ui); font-size: 0.72rem; letter-spacing: 0.06em;
  cursor: pointer;
  transition: border-color 0.3s var(--ease-out), color 0.3s var(--ease-out);
}
.filter__select:hover { border-color: var(--line-strong); color: var(--ink); }
.filter__select option { color: #17171b; background: #f3efe8; }
.filter__chevron { position: absolute; right: 0.85rem; top: 50%; transform: translateY(-50%); width: 13px; color: var(--ink-3); pointer-events: none; }
.filter__chevron svg { width: 100%; }
.work-filters__actions { display: flex; gap: 0.5rem; margin-left: 0.3rem; }
.filter-btn {
  border-radius: 999px; padding: 0.62rem 1.4rem;
  font-family: var(--ui); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; border: 1px solid var(--line); background: transparent; color: var(--ink-2);
  transition: color 0.3s var(--ease-out), background 0.3s var(--ease-out), border-color 0.3s;
}
.filter-btn:hover { color: var(--ink); border-color: var(--line-strong); }
.filter-btn--apply { background: var(--btn); color: var(--btn-ink); border-color: var(--btn); font-weight: 600; }
.filter-btn--apply:hover { background: #000; color: var(--btn-ink); }

.work-gallery { max-width: 1280px; margin: clamp(2.5rem, 6vh, 4rem) auto 0; padding: 0 var(--pad); }
.work-grid { margin-top: clamp(0.9rem, 2vw, 1.6rem); }
.work-card.is-hidden { display: none; }
.work-card.card-in { animation: card-up 0.6s var(--ease-out) both; }
@keyframes card-up { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.work-loadmore { display: flex; flex-direction: column; align-items: center; gap: 1.2rem; margin: clamp(3.5rem, 9vh, 6rem) 0 clamp(4rem, 10vh, 7rem); }
.loadmore-btn {
  width: clamp(108px, 12vw, 132px); aspect-ratio: 1; border-radius: 50%;
  border: 1px solid var(--line); background: rgba(243,239,232,0.03); color: var(--ink);
  font-family: var(--ui); font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  cursor: pointer; transition: background 0.35s var(--ease-out), border-color 0.35s var(--ease-out), color 0.35s;
}
.loadmore-btn:hover { background: var(--accent); border-color: var(--accent); color: #17130c; }
.loadmore-btn[hidden] { display: none; }
.work-empty { margin: 0; font-size: 0.8rem; letter-spacing: 0.06em; color: var(--ink-3); }

/* ============================================================
   CONTACT / ENQUIRY — compact panel: video beside a tight form
   ============================================================ */
.contact {
  position: relative; overflow: hidden;
  min-height: 100svh; display: flex; align-items: center;
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
}

/* Full-bleed video background (placeholder for now) */
.contact__bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
  background:
    radial-gradient(120% 90% at 30% 20%, rgba(201,169,120,0.12), transparent 55%),
    radial-gradient(150% 130% at 78% 112%, rgba(74,78,98,0.34), transparent 60%),
    linear-gradient(205deg, #191920 0%, #101015 48%, #0a0a0c 100%);
}
.contact__bg video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* Gentle scrim: darken the left where the card sits, feather a vignette. */
.contact__bg::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(90deg, rgba(12,11,9,0.4) 0%, rgba(12,11,9,0.12) 45%, transparent 70%),
    radial-gradient(120% 100% at 50% 50%, transparent 55%, rgba(12,11,9,0.3) 100%);
}

/* Enquiry card — sits on the left over the video */
.contact__card {
  position: relative; z-index: 1;
  width: min(460px, 100%); margin-right: auto;
  background: rgba(248, 245, 239, 0.97);
  border-radius: 22px;
  padding: clamp(1.8rem, 3vw, 2.8rem);
  color: #16150f;
  box-shadow: 0 40px 90px -45px rgba(0,0,0,0.55);
  -webkit-backdrop-filter: blur(2px); backdrop-filter: blur(2px);
}
.contact__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 4.4vw, 3.2rem); line-height: 0.98; letter-spacing: -0.02em;
  color: #16150f;
}
.contact__sub {
  margin: 1rem 0 1.8rem; max-width: 40ch;
  font-size: clamp(0.94rem, 1.1vw, 1.02rem); line-height: 1.6; color: rgba(22,21,15,0.66);
}

.contact__form { display: flex; flex-direction: column; gap: 1.25rem; }

.field { position: relative; }
.field__input {
  width: 100%; border: none; border-bottom: 1px solid rgba(22,21,15,0.22);
  background: transparent; border-radius: 0;
  padding: 0.5rem 0 0.6rem; font-family: var(--ui); font-size: 1rem; color: #16150f;
  transition: border-color 0.3s var(--ease-out);
}
.field__input:focus { outline: none; border-color: #16150f; }
.field__label {
  position: absolute; left: 0; top: 0.55rem; pointer-events: none;
  font-size: 1rem; color: rgba(22,21,15,0.5);
  transition: transform 0.2s var(--ease-out), font-size 0.2s var(--ease-out), color 0.2s;
}
.field__input:focus + .field__label,
.field__input:not(:placeholder-shown) + .field__label {
  transform: translateY(-1.3rem); font-size: 0.68rem; letter-spacing: 0.08em; color: rgba(22,21,15,0.55);
}

/* Selects */
.field--select { display: flex; flex-direction: column; }
.field__label--static { position: static; top: auto; transform: none; font-size: 0.95rem; color: #16150f; margin-bottom: 0.4rem; pointer-events: auto; }
.field__select {
  appearance: none; -webkit-appearance: none;
  border: none; border-bottom: 1px solid rgba(22,21,15,0.22); background: transparent; border-radius: 0;
  padding: 0.3rem 1.6rem 0.6rem 0; font-family: var(--ui); font-size: 1rem; color: #16150f; cursor: pointer;
}
.field__select:focus { outline: none; border-color: #16150f; }
.field__chevron { position: absolute; right: 0; bottom: 0.5rem; width: 18px; color: rgba(22,21,15,0.55); pointer-events: none; }
.field__chevron svg { width: 100%; }

/* Consent */
.consent { display: flex; gap: 0.7rem; align-items: flex-start; cursor: pointer; font-size: 0.86rem; line-height: 1.5; color: rgba(22,21,15,0.72); }
.consent input { position: absolute; opacity: 0; width: 0; height: 0; }
.consent__box { flex: none; width: 20px; height: 20px; border: 1px solid rgba(22,21,15,0.4); border-radius: 5px; margin-top: 0.1rem; position: relative; transition: background 0.2s, border-color 0.2s; }
.consent input:checked + .consent__box { background: var(--accent); border-color: var(--accent); }
.consent input:checked + .consent__box::after {
  content: ""; position: absolute; left: 6px; top: 2px; width: 5px; height: 10px;
  border: solid #17130c; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.consent input:focus-visible + .consent__box { outline: 2px solid var(--accent); outline-offset: 2px; }
.consent__text a { text-decoration: underline; text-underline-offset: 2px; color: #16150f; }

/* Send button */
.btn-enquiry {
  display: inline-flex; align-items: center; gap: 0.9rem; align-self: flex-start;
  background: #141414; color: #fff; border: none;
  border-radius: 999px; padding: 0.5rem 0.5rem 0.5rem 1.5rem;
  font-family: var(--ui); font-size: 0.95rem; cursor: pointer;
  transition: background 0.3s var(--ease-out);
}
.btn-enquiry:hover { background: #000; }
.btn-enquiry__arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: #141414; display: grid; place-items: center; transition: transform 0.3s var(--ease-out); }
.btn-enquiry__arrow svg { width: 18px; }
.btn-enquiry:hover .btn-enquiry__arrow { transform: translateX(3px); }
.contact__status { margin: 0; font-size: 0.82rem; color: rgba(22,21,15,0.7); min-height: 1em; }
.contact__status.is-error { color: #9a2b2b; }

/* ============================================================
   TESTIMONIALS — two-row marquee of placeholder reviews
   ============================================================ */
.reviews { padding: clamp(4rem, 10vh, 7rem) 0; overflow: hidden; }
.reviews__head { max-width: 1100px; margin: 0 auto clamp(2.5rem, 6vh, 4rem); padding: 0 var(--pad); }
.reviews__title {
  margin: 0; font-family: var(--display); font-weight: 400;
  font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.0; letter-spacing: -0.02em; color: var(--ink);
  text-wrap: balance;
}
.reviews__sub { margin: 1.1rem 0 0; max-width: 46ch; font-size: clamp(0.96rem, 1.1vw, 1.05rem); line-height: 1.6; color: var(--ink-2); }

.reviews__row {
  position: relative; display: flex; overflow: hidden;
  margin-bottom: clamp(0.8rem, 1.6vw, 1.4rem);
  -webkit-mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
          mask: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.reviews__track {
  display: flex; flex-wrap: nowrap; gap: clamp(0.8rem, 1.6vw, 1.4rem);
  width: max-content; padding-right: clamp(0.8rem, 1.6vw, 1.4rem);
  animation: marquee 46s linear infinite;
  will-change: transform;
}
.reviews__track--rev { animation-direction: reverse; animation-duration: 54s; }
.reviews__row:hover .reviews__track { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.review-card {
  flex: 0 0 auto; width: clamp(260px, 30vw, 340px); margin: 0;
  display: flex; flex-direction: column; justify-content: space-between; gap: 1.4rem;
  padding: clamp(1.4rem, 2vw, 1.9rem);
  background: #fbf8f1; border: 1px solid var(--line); border-radius: 16px;
  box-shadow: 0 20px 50px -40px rgba(28,25,19,0.4);
}
.review-card__quote {
  margin: 0; font-family: var(--display); font-style: italic;
  font-size: clamp(1.05rem, 1.4vw, 1.28rem); line-height: 1.4; color: var(--ink); text-wrap: pretty;
}
.review-card__by { display: flex; flex-direction: column; gap: 0.15rem; }
.review-card__name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
.review-card__role { font-size: 0.62rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-3); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--ground-2);
  border-top: 1px solid var(--line);
  padding: clamp(3rem, 8vh, 6rem) var(--pad) clamp(1.6rem, 4vh, 2.4rem);
}

/* Enquire CTA (replaces the newsletter box) */
.footer-cta {
  max-width: 1280px; margin: 0 auto clamp(3rem, 8vh, 6rem);
  display: grid; grid-template-columns: 1fr; gap: 0;
  background: var(--ground);
  border: 1px solid var(--line);
  border-radius: 22px; overflow: hidden;
  box-shadow: 0 30px 70px -50px rgba(28,25,19,0.4);
}
@media (min-width: 820px) { .footer-cta { grid-template-columns: 1fr 1fr; } }
.footer-cta__media { min-height: 260px; border-radius: 0; }
.footer-cta__body {
  padding: clamp(1.8rem, 4vw, 3.4rem);
  display: flex; flex-direction: column; align-items: flex-start; justify-content: center;
}
.footer-cta__title {
  margin: 0;
  font-family: var(--display); font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.6rem); line-height: 0.98; letter-spacing: -0.02em;
  color: var(--ink);
}
.footer-cta__sub {
  margin: 1rem 0 1.8rem; max-width: 38ch;
  font-size: clamp(0.96rem, 1.1vw, 1.05rem); line-height: 1.6; color: var(--ink-2);
}
.footer-cta__btn { align-self: flex-start; }

/* Columns */
.footer-grid {
  max-width: 1280px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr; gap: clamp(2rem, 4vw, 3rem);
  padding-bottom: clamp(2.5rem, 6vh, 4rem);
  border-bottom: 1px solid var(--line);
}
@media (min-width: 720px) { .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1.2fr; } }

.footer-brand__mark { font-family: var(--display); font-size: 1.5rem; letter-spacing: 0.02em; color: var(--ink); }
.footer-brand__tag { margin: 1rem 0 1.6rem; max-width: 34ch; font-size: 0.94rem; line-height: 1.6; color: var(--ink-2); }
.footer-social { display: flex; gap: 0.7rem; }
.footer-social a {
  width: 40px; height: 40px; display: grid; place-items: center; border-radius: 50%;
  border: 1px solid var(--line-strong); color: var(--ink-2);
  transition: color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.3s;
}
.footer-social a svg { width: 18px; height: 18px; }
.footer-social a:hover { color: var(--ink); border-color: var(--accent); transform: translateY(-3px); }

.footer-col { display: flex; flex-direction: column; gap: 0.85rem; }
.footer-col__title {
  margin: 0 0 0.5rem;
  font-family: var(--ui); font-size: 0.64rem; font-weight: 600;
  letter-spacing: 0.28em; text-transform: uppercase; color: var(--accent);
}
.footer-col a, .footer-col__note { font-size: 0.98rem; color: var(--ink-2); transition: color 0.3s var(--ease-out); }
.footer-col a:hover { color: var(--ink); }

.footer-bar {
  max-width: 1280px; margin: 0 auto; padding-top: clamp(1.4rem, 3vh, 2rem);
  display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between;
  font-size: 0.82rem; color: var(--ink-3);
}
.footer-bar__legal { display: flex; gap: 1.6rem; }
.footer-bar__legal a { color: var(--ink-3); transition: color 0.3s var(--ease-out); }
.footer-bar__legal a:hover { color: var(--ink); }
.footer-bar__credit {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--ink-3); opacity: 0.75; transition: opacity 0.3s var(--ease-out);
}
.footer-bar__credit:hover { opacity: 1; }
.footer-bar__credit img { height: 20px; width: auto; display: block; }

/* ---- Responsive: works, work page, contact ---- */
@media (max-width: 900px) {
  .works__grid { grid-template-columns: 1fr; }
  .work-grid.works__grid { grid-template-columns: 1fr; }
}
@media (max-width: 680px) {
  .works__head { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .work-filters { justify-content: flex-start; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; scrollbar-width: none; }
  .work-filters::-webkit-scrollbar { display: none; }
  .filter, .filter__select { flex: none; }
  .work-card--feature .work-card__media { aspect-ratio: 4 / 5; }
  .work-card__title--over { font-size: clamp(1.5rem, 7vw, 2.2rem); }
}
