/* ═══════════════════════════════════════════════════════════════════════
   Alanna Barberio — AB Media
   Brief: clean and simple, bright, elemental colours (water blue, earth
   green, air yellow, fire red) and space kept subtle — a low-key vibe.
   So: paper-white ground, quiet type, and space expressed as hairline
   orbits rather than a dark starfield.
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Self-hosted webfonts ───────────────────────────────────────────────
   Newsreader + Hanken Grotesk, served from assets/fonts/ rather than
   fonts.googleapis.com. Both are variable fonts, so each file is declared
   once with a weight RANGE instead of one block per weight. Both are OFL.
   ──────────────────────────────────────────────────────────────────────── */

/* latin */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Hanken Grotesk';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url(../fonts/hanken-grotesk-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/newsreader-normal-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/newsreader-normal-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/newsreader-italic-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* latin-ext */
@font-face {
  font-family: 'Newsreader';
  font-style: italic;
  font-weight: 200 800;
  font-display: swap;
  src: url(../fonts/newsreader-italic-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}


/* ─── Tokens ───────────────────────────────────────────────────────────── */
:root {
  /* Paper. Warm near-white so the photographs sit on something, not on glare. */
  --paper:      #FBFAF7;
  --paper-alt:  #F4F2EC;
  --paper-deep: #EDEAE1;

  /* Ink carries a trace of blue-black — the only place the night sky shows up. */
  --ink:        #1B2029;
  --ink-soft:   #39414E;
  --muted:      #616978;
  --line:       #E3DFD5;
  --line-soft:  #EDEAE2;
  /* The monogram's letters. Softer than --ink so the banded disc
     reads as a body rather than as a backdrop behind black type. */
  --mark-letter: #3C434E;

  /* The four elements. The plain value is for graphics (dots, rings, rules);
     the -ink value is darkened to stay legible as text on paper. */
  --water:      #4A90B8;  --water-ink: #2C6E93;
  --earth:      #5E9B72;  --earth-ink: #3F6B40;
  --air:        #E0A92E;  --air-ink:   #8A6A16;
  --fire:       #C4553F;  --fire-ink:  #A83C27;

  /* Per-section accent; each <section> overrides these two inline. */
  --accent:     var(--water);
  --accent-ink: var(--water-ink);

  --serif: 'Newsreader', Georgia, 'Times New Roman', serif;
  --sans:  'Hanken Grotesk', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --gutter: clamp(20px, 5vw, 72px);
  --measure: 1180px;

  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  /* Anchors land below the sticky header rather than under it. */
  scroll-padding-top: 88px;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  /* No overflow-x here on purpose: setting it computes overflow-y to `auto`,
     which turns <body> into a scroll container and quietly breaks the sticky
     header. The only things that overflow are the orbit fields, and both of
     their sections clip themselves. */
}

h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; letter-spacing: -0.015em; }
p  { margin: 0; }
ul, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }

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

:focus-visible {
  outline: 2px solid var(--accent-ink);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 13px;
  border-radius: 999px;
  transition: top .2s var(--ease);
}
.skip-link:focus { top: 16px; }

.container {
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}


/* ─── Header ───────────────────────────────────────────────────────────── */
#site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease), background .3s var(--ease);
}
#site-header.is-scrolled {
  border-bottom-color: var(--line);
  background: color-mix(in srgb, var(--paper) 93%, transparent);
}

/* Shared logo geometry: referenced by <use>, never rendered on its own. */
.logo-defs { position: absolute; width: 0; height: 0; overflow: hidden; }

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand-mark { color: var(--ink); flex: none; }
.brand-name {
  font-family: var(--serif);
  font-size: 20px;
  letter-spacing: 0.005em;
  white-space: nowrap;
}

.nav { display: flex; align-items: center; gap: clamp(14px, 2.4vw, 32px); }
.nav-link {
  position: relative;
  padding: 10px 2px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  transition: color .2s var(--ease);
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 4px;
  height: 1px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-link:hover { color: var(--ink); }
.nav-link:hover::after,
.nav-link.is-active::after { transform: scaleX(1); }
.nav-link.is-active { color: var(--ink); }

.nav-cta {
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink);
  transition: background .25s var(--ease), color .25s var(--ease);
}
.nav-cta:hover { background: var(--ink); color: var(--paper); }


/* ─── Orbits ───────────────────────────────────────────────────────────────
   The one piece of "space" on the page, and now the only motion in Contact.
   Hairline ellipses with four planets in the elemental colours, drifting
   slowly enough that you notice it only if you sit still. Opt-out via
   prefers-reduced-motion.

   Single centred variant: the hero used to carry an off-canvas right-hand
   version, but the grass loop lives there now — two moving systems in one
   hero competed — so the hero-specific positioning is gone with it. */
.orbit-field {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  inset-inline-start: 50%;
  top: 50%;
  width: min(620px, 92vw);
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  opacity: 0.75;
}
.orbit-svg { width: 100%; height: 100%; overflow: visible; }

.orbit-ring ellipse {
  fill: none;
  stroke: var(--ink);
  stroke-width: 1;
  opacity: 0.13;
  vector-effect: non-scaling-stroke;
}
.orbit-ring {
  transform-box: view-box;
  transform-origin: 50% 50%;
  animation: orbit-spin linear infinite;
}
.orbit-ring-1 { animation-duration: 150s; }
.orbit-ring-2 { animation-duration: 104s; animation-direction: reverse; }
.orbit-ring-3 { animation-duration: 188s; }
.orbit-ring-4 { animation-duration: 74s;  animation-direction: reverse; }

@keyframes orbit-spin { to { transform: rotate(360deg); } }

.planet { opacity: 0.9; }
.planet-water { fill: var(--water); }
.planet-earth { fill: var(--earth); }
.planet-air   { fill: var(--air); }
.planet-fire  { fill: var(--fire); }


/* ─── Hero ─────────────────────────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 11vw, 136px) 0 clamp(60px, 8.5vw, 104px);
}

/* ─── Hero background loop ─────────────────────────────────────────────────
   The wash sits on the wrapper, not the <video>, so the reduced-motion case
   can swap the element for its poster as a background image and inherit the
   identical treatment.

   --hero-video-wash is the one number worth touching: how present the footage
   is. Much above 0.2 and the page stops being the bright, restrained thing it
   was briefed as; much below 0.10 and the motion disappears entirely.
   brightness() lifts the backlit footage's dark patches toward paper so type
   contrast survives; saturate() pulls the gold back toward the site palette. */
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background-position: center;
  background-size: cover;
  opacity: var(--hero-video-wash, 0.20);
  /* Keep most of the gold. Pulling saturation and contrast harder than this
     turns the footage silver, which fights the warm paper instead of sitting
     in it — the opacity blend is already doing the softening. */
  filter: saturate(0.88) brightness(1.08) contrast(0.96);
  /* Without this the loop ends on hard horizontal edges and reads as a band
     across the hero. Fades into paper at both ends, which also hands the
     sticky header a clean surface to sit on. */
  -webkit-mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 68%, transparent 100%);
          mask-image: linear-gradient(to bottom, transparent 0%, #000 15%, #000 68%, transparent 100%);
}
.hero-video video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Keeps the headline on clean paper — the footage is backlit and carries dark
   out-of-focus patches that would otherwise sit under the type. */
.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    var(--paper) 0%,
    color-mix(in srgb, var(--paper) 88%, transparent) 34%,
    color-mix(in srgb, var(--paper) 40%, transparent) 62%,
    transparent 82%
  );
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: var(--measure);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 26px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--muted);
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent);
  flex: none;
}

.hero-title {
  font-size: clamp(2.7rem, 7.4vw, 5.5rem);
  line-height: 1.02;
  max-width: 15ch;
}
.hero-title em { font-style: italic; color: var(--water-ink); }

.hero-lead {
  margin-top: 30px;
  max-width: 54ch;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 38px; }

.btn {
  display: inline-block;
  padding: 15px 30px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  transition: background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
}
.btn-solid { background: var(--ink); color: var(--paper); }
.btn-solid:hover { background: var(--water-ink); }
.btn-quiet { border-color: var(--line); color: var(--ink); }
.btn-quiet:hover { border-color: var(--ink); }

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px clamp(18px, 3vw, 38px);
  margin-top: clamp(44px, 7vw, 76px);
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.hero-meta span { display: inline-flex; align-items: center; gap: 9px; }

.swatch {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  flex: none;
}
.swatch-water { background: var(--water); }
.swatch-earth { background: var(--earth); }
.swatch-air   { background: var(--air); }
.swatch-fire  { background: var(--fire); }


/* ─── Section shell ────────────────────────────────────────────────────── */
.section { position: relative; padding: clamp(66px, 10vw, 124px) 0; }
.section-alt { background: var(--paper-alt); }

/* A hairline between sections that share the paper colour. */
.section + .section:not(.section-alt) { border-top: 1px solid var(--line-soft); }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: clamp(24px, 5vw, 64px);
  flex-wrap: wrap;
  margin-bottom: clamp(38px, 6vw, 68px);
}
.eyebrow-dot { margin-bottom: 18px; }

.section-title {
  font-size: clamp(2.05rem, 4.7vw, 3.5rem);
  line-height: 1.06;
}
.section-title em { font-style: italic; color: var(--accent-ink); }

.section-desc {
  max-width: 38ch;
  font-size: 15px;
  line-height: 1.75;
  color: var(--muted);
}


/* ─── Work ─────────────────────────────────────────────────────────────── */
.work-rows { display: flex; flex-direction: column; gap: clamp(16px, 2.6vw, 30px); }
.work-row  { display: grid; gap: clamp(16px, 2.6vw, 30px); }

.shot { margin: 0; display: flex; flex-direction: column; }

.shot-btn {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  margin: 0;
  background: var(--paper-deep);
  cursor: zoom-in;
  overflow: hidden;
  border-radius: 3px;
  -webkit-tap-highlight-color: transparent;
}
.shot-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform .7s var(--ease), filter .5s var(--ease);
}
.shot-btn:hover .shot-img,
.shot-btn:focus-visible .shot-img { transform: scale(1.022); }

.shot figcaption {
  display: flex;
  align-items: baseline;
  gap: 12px;
  margin-top: 13px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}
.shot-num {
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
}


/* ─── Film ─────────────────────────────────────────────────────────────── */
.reel-grid { display: grid; gap: clamp(16px, 2.6vw, 28px); }

.reel { display: flex; flex-direction: column; margin: 0; }

.reel-media {
  position: relative;
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  aspect-ratio: 16 / 9;
  padding: 28px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
  overflow: hidden;
}
.section-alt .reel-media { background: color-mix(in srgb, var(--paper) 72%, var(--paper-alt)); }

/* A real <video> dropped in later fills the frame edge to edge. */
.reel-video { width: 100%; height: 100%; object-fit: cover; background: var(--ink); }
.reel:not(.reel-empty) .reel-media { padding: 0; }

.reel-glyph { width: 76px; height: 76px; overflow: visible; }
.reel-glyph ellipse {
  fill: none;
  stroke: var(--accent);
  stroke-width: 1.4;
  opacity: 0.55;
}
.reel-glyph-core { fill: none; stroke: var(--accent); stroke-width: 1.4; opacity: 0.9; }
.reel-glyph-play { fill: var(--accent); }

.reel-status {
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
  text-align: center;
}

.reel-meta { margin-top: 14px; }
.reel-title { font-size: 1.4rem; line-height: 1.2; }
.reel-note {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Booking note: a short bar under the two slots, not a third empty box. */
.reel-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px clamp(24px, 4vw, 56px);
  margin-top: clamp(16px, 2.6vw, 28px);
  padding: clamp(20px, 2.4vw, 26px) clamp(20px, 2.6vw, 32px);
  border: 1px dashed color-mix(in srgb, var(--accent) 42%, var(--line));
  border-radius: 3px;
  background: color-mix(in srgb, var(--accent) 5%, var(--paper));
}
.reel-blurb { max-width: 62ch; font-size: 15px; line-height: 1.7; color: var(--ink-soft); }

.link-accent {
  display: inline-block;
  padding-bottom: 2px;
  border-bottom: 1px solid color-mix(in srgb, var(--accent-ink) 40%, transparent);
  font-size: 13px;
  letter-spacing: 0.06em;
  color: var(--accent-ink);
  transition: border-color .25s var(--ease);
}
.link-accent:hover { border-bottom-color: var(--accent-ink); }


/* ─── About ────────────────────────────────────────────────────────────── */
.about-grid { display: grid; gap: clamp(40px, 6vw, 76px); }

.prose { margin-top: 30px; max-width: 62ch; }
.prose p + p { margin-top: 1.15em; }
.prose p { color: var(--ink-soft); line-height: 1.8; }
.prose-pull {
  margin-top: 1.4em !important;
  padding-left: 22px;
  border-left: 2px solid var(--accent);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.32rem;
  line-height: 1.5;
  color: var(--ink) !important;
}

.signature {
  margin-top: 32px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--ink);
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 18px clamp(30px, 5vw, 62px);
  margin-top: 34px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.fact dt {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.fact dd {
  margin-top: 6px;
  font-family: var(--serif);
  font-size: 1.22rem;
}

.about-portrait { align-self: start; }
.portrait-frame {
  position: relative;
  padding: 11px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 3px;
}
.portrait-img { width: 100%; height: auto; border-radius: 1px; }
.portrait-caption {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 14px;
  color: var(--muted);
}


/* ─── Contact ──────────────────────────────────────────────────────────── */
.contact { overflow: hidden; }
.contact-inner { position: relative; z-index: 1; }

.contact-title {
  font-size: clamp(2.2rem, 5.6vw, 4.3rem);
  line-height: 1.04;
  max-width: 16ch;
}
.contact-title em { font-style: italic; color: var(--accent-ink); }

.contact-lead {
  margin-top: 24px;
  max-width: 48ch;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.75;
  color: var(--ink-soft);
}

.contact-email {
  display: inline-block;
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.3rem, 3.4vw, 2.5rem);
  line-height: 1.25;
  word-break: break-word;
  transition: border-color .25s var(--ease), color .25s var(--ease);
}
.contact-email:hover { border-bottom-color: var(--accent-ink); color: var(--accent-ink); }

.contact-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px clamp(22px, 4vw, 46px);
  margin-top: 36px;
}


/* ─── Footer ───────────────────────────────────────────────────────────── */
#site-footer { border-top: 1px solid var(--line); background: var(--paper); }
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 30px;
  padding-block: clamp(34px, 5vw, 54px);
}
.footer-mark {
  color: var(--ink);
  width: min(290px, 100%);
  height: auto;
}
/* What the front band knocks out to, so the ring reads as passing in front of
   the planet. Set here as a CSS property rather than as an SVG fill=""
   attribute: var() is unreliable inside presentation attributes, and a CSS rule
   also outranks the literal fallback left on the elements. Same for the rules
   below. */
.footer-mark .mark-bg { fill: var(--paper); }
/* The banded disc is a light object in every context, so its letters stay ink
   rather than following currentColor — paper letters on light bands vanish.
   The header mark carries the same banding, so it needs the same rule. */
/* fill accepts a colour after the url(), used if the gradient reference ever
   fails to resolve — so --mark-letter stays the single place the letter colour
   is written, and is what the ramp averages to. */
.footer-mark .mark-letter,
.brand-mark  .mark-letter { fill: url(#ab-letter-grad) var(--mark-letter); }
/* Her four elements. Each ring carries one, and each planet rides the ring of
   its own colour, so the two read as a single orbital system. */
.footer-mark .pl-water { fill: var(--water); }
.footer-mark .pl-earth { fill: var(--earth); }
.footer-mark .pl-air   { fill: var(--air); }
.footer-mark .pl-fire  { fill: var(--fire); }
.footer-mark .rg-water { stroke: var(--water); }
.footer-mark .rg-earth { stroke: var(--earth); }
.footer-mark .rg-air   { stroke: var(--air); }
.footer-mark .rg-fire  { stroke: var(--fire); }
.footer-mark-name {
  font-family: var(--sans);
  font-weight: 600;
  letter-spacing: 3.4px;
}
.footer-tag {
  margin-top: 14px;
  font-family: var(--serif);
  font-style: italic;
  font-size: 15px;
  color: var(--muted);
}

.footer-right { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.footer-swatches { display: flex; gap: 7px; }
.footer-copy { font-size: 13px; color: var(--muted); }
.footer-top {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
  border-bottom: 1px solid transparent;
  transition: color .2s var(--ease), border-color .2s var(--ease);
}
.footer-top:hover { color: var(--ink); border-bottom-color: var(--ink); }


/* ─── Lightbox ─────────────────────────────────────────────────────────── */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(16px, 4vw, 52px);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s var(--ease), visibility .3s var(--ease);
}
.lightbox.is-open { opacity: 1; visibility: visible; }
body.lightbox-open { overflow: hidden; }

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  max-height: 100%;
}
.lightbox-img {
  max-width: 100%;
  max-height: calc(100vh - 150px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  background: var(--ink);
}
.lightbox-caption {
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--paper) 70%, transparent);
  text-align: center;
}
.lightbox-close {
  position: absolute;
  top: clamp(12px, 2.5vw, 26px);
  right: clamp(12px, 2.5vw, 26px);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  padding: 0;
  border: 1px solid color-mix(in srgb, var(--paper) 28%, transparent);
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  cursor: pointer;
  transition: background .25s var(--ease), border-color .25s var(--ease);
}
.lightbox-close:hover {
  background: color-mix(in srgb, var(--paper) 14%, transparent);
  border-color: color-mix(in srgb, var(--paper) 55%, transparent);
}
.lightbox :focus-visible { outline-color: var(--paper); }


/* ─── Reveal on scroll ─────────────────────────────────────────────────── */
[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
/* (With scripting off, a <noscript> block in the head un-hides these.) */


/* ═══ Layout from 760px up ═══════════════════════════════════════════════
   Below this the page is a single honest column and every photograph keeps
   its natural shape. From here the work rows become grids: only the lead
   photo in a row carries an aspect-ratio, and its neighbours stretch to
   match, so rows stay flush without hard-coded heights. */
@media (min-width: 760px) {
  .work-row-7-5    { grid-template-columns: 7fr 5fr; }
  .work-row-thirds { grid-template-columns: repeat(3, 1fr); }
  .work-row-5-7    { grid-template-columns: 5fr 7fr; }

  .shot-lead .shot-btn { flex: 0 0 auto; aspect-ratio: var(--ar, 3 / 2); }
  .shot:not(.shot-lead) .shot-btn { flex: 1 1 auto; min-height: 0; }
  .shot-img { position: absolute; inset: 0; width: 100%; height: 100%; }

  .reel-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1001px) {
  .about-grid { grid-template-columns: minmax(0, 1fr) 400px; align-items: start; }
}
/* The film grid stays two columns at every width above 760px — one slot per
   reel, with the booking note as a bar beneath rather than a third box. */

@media (max-width: 759px) {
  .orbit-ring ellipse { opacity: 0.1; }
  .orbit-field { opacity: 0.6; }

  /* Narrow hero: the type spans the full width, so a left-to-right scrim
     protects nothing. Veil the whole frame evenly instead, and take the
     footage down a notch since it sits directly behind the copy. */
  .hero-video { --hero-video-wash: 0.15; }
  .hero-scrim {
    background: linear-gradient(
      to bottom,
      color-mix(in srgb, var(--paper) 72%, transparent),
      color-mix(in srgb, var(--paper) 58%, transparent)
    );
  }
}

/* The header wordmark is the first thing to go when space runs out. */
@media (max-width: 620px) {
  .brand-name { display: none; }
  .nav { gap: 16px; }
  .nav-cta { padding: 10px 16px; }
  html { scroll-padding-top: 72px; }
}

@media (max-width: 480px) {
  .nav-link { font-size: 11px; letter-spacing: 0.1em; }
  .nav-cta  { font-size: 11px; letter-spacing: 0.1em; }
}


/* ─── Reduced motion ───────────────────────────────────────────────────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .orbit-ring { animation: none; }
  [data-reveal] { opacity: 1; transform: none; transition: none; }

  /* CSS cannot pause a video, so drop the element and put its own poster on
     the wrapper. Same wash, same framing, no motion. */
  .hero-video video { display: none; }
  .hero-video { background-image: url(../video/hero-grass-poster.webp); }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}
