/* ==========================================================================
   Intrepid Media  |  site.css  |  September 2026
   Grey ground, black type. Black panels for Approach and the footer.
   Lime as objects: the raven's eye and spark, the band, the eye, highlights, the footer lockup band.
   Brand standard by K2; tokens below are the only colours on the site.
   ========================================================================== */

:root {
  --lime:  #E6FD71;
  --paper: #E9E9E9;
  --white: #FFFFFF;
  --black: #000000;
  --deep:  #0F0F0F;

  --ink:      var(--black);
  --ink-dim:  rgba(0, 0, 0, 0.82);
  --rule:     rgba(0, 0, 0, 0.14);

  /* Final kit: Span Compressed Bold and Degular Display Semibold.
     Regular feature statements follow the lighter website application in Kit.png. */
  --font-display: "span-compressed", "span", Georgia, "Times New Roman", serif;
  --font-head:    "degular-display", "degular", "Helvetica Neue", Arial, sans-serif;
  --font-body:    "degular", "degular-text", "Helvetica Neue", Arial, sans-serif;

  /* small, body, and lead sizes grow with the viewport: 14.4, 17, and 20 px on a phone; 16, 19, and 22 px at 1440 */
  --step--1: clamp(1rem, 0.94rem + 0.25vw, 1.0625rem);
  --step-0:  clamp(1.0625rem, 1rem + 0.32vw, 1.1875rem);
  --step-1:  clamp(1.25rem, 1.15rem + 0.35vw, 1.375rem);
  --step-2:  clamp(1.6rem, 2.4vw, 2.2rem);
  --step-3:  clamp(2rem, 3.6vw, 3.4rem);
  --step-4:  clamp(2.4rem, 4.6vw, 4.4rem);

  --measure: 60ch;
  --gutter:  clamp(1.25rem, 3.5vw, 2.5rem);
  --wrap:    1320px;
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { color-scheme: light; scroll-behavior: smooth; scroll-padding-block: 6rem; -webkit-text-size-adjust: 100%; }
html.is-loading { overflow: hidden; scrollbar-gutter: stable; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: var(--lime);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.18em;
}
a:hover, a:focus-visible { text-decoration-thickness: 3px; }
/* focus: black on the grey ground, lime on the black panels, so the ring always clears 3:1 */
:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.approach :focus-visible, .site-footer :focus-visible { outline-color: var(--lime); }
.skip { position: absolute; left: var(--gutter); top: -200px; z-index: 40; padding: 0.6rem 1rem; background: var(--black); color: var(--paper); font-family: var(--font-head); text-decoration: none; }
.skip:focus { top: 1rem; }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }
h1, h2, h3 { margin: 0; font-family: var(--font-head); font-weight: 600; line-height: 1.08; letter-spacing: -0.01em; }

.display { font-family: var(--font-display); font-weight: 700; letter-spacing: 0.005em; text-transform: uppercase; line-height: 0.92; }
.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }

/* placeholders for stills and copy; remove the class when the real thing goes in */
.ph {
  display: block; overflow: hidden; background: rgba(0,0,0,0.075);
  position: relative;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: auto 0 0 0;
  padding: 0.6rem 0.8rem;
  font-family: var(--font-head); font-weight: 500; font-size: 0.78rem; color: rgba(0,0,0,0.7);
}
mark.todo { background: var(--lime); color: var(--ink); padding: 0 0.25em; }
mark.hi { background: linear-gradient(transparent 69%, var(--lime) 69%, var(--lime) 92%, transparent 92%); color: inherit; padding: 0; -webkit-box-decoration-break: clone; box-decoration-break: clone; }

/* --------------------------------------------------------------------------
   Preloader
   -------------------------------------------------------------------------- */
.loader {
  position: fixed; inset: 0; z-index: 100;
  color: var(--lime);
  display: none; align-items: center; justify-content: center;
  opacity: 1; transition: opacity 450ms ease;
}
.loader::before {
  content: ""; position: absolute; inset: 0; background: var(--black);
  opacity: 1; transition: opacity 550ms cubic-bezier(.22,.68,.18,1);
}
.loader.is-travelling::before { opacity: 0; }
.is-loading .loader, .loader.is-done { display: flex; }
.loader.is-done { opacity: 0; pointer-events: none; }
.no-js .loader { display: none; }
.loader-mark { position: relative; display: grid; width: clamp(84px, 10vw, 140px); transform-origin: top left; }
.loader-mark > * { grid-area: 1 / 1; }
.loader .loader-mark svg { display: block; width: 100%; height: auto; overflow: visible; }
.loader-fill { clip-path: inset(var(--loader-remaining, 100%) 0 0); }
.loader-fill svg { color: var(--lime); }
.loader-outline, .loader-eye-outline { color: #FFFFFF; transition: opacity 160ms ease; }
/* Fine eye tracing disappears precisely where the original lime artwork fills. */
.loader-eye-outline { clip-path: inset(0 0 calc(100% - var(--loader-remaining, 100%)) 0); }
.loader-arrival { opacity: 0; }
.loader.is-travelling .loader-outline, .loader.is-travelling .loader-eye-outline { opacity: 0; }
.loader.is-travelling .loader-fill { opacity: 0; transition: opacity 390ms linear 260ms; }
.loader.is-travelling .loader-arrival { opacity: 1; transition: opacity 390ms linear 260ms; }
/* The same bird occupies both positions; only one is visible during the handoff. */
.is-loading.is-logo-travelling .site-header--landing .brand { visibility: hidden; }
.loader-outline svg path, .loader-eye-outline svg path {
  fill: none; stroke: currentColor; stroke-width: 1.25px;
  stroke-linejoin: round; vector-effect: non-scaling-stroke;
}
.loader-eye-outline svg path { stroke-width: 0.5px; }
@media (prefers-reduced-motion: reduce) {
  .is-loading .loader, .loader.is-done { display: none; }
}

/* --------------------------------------------------------------------------
   Header: the raven is the logo
   -------------------------------------------------------------------------- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 30; color: var(--ink); pointer-events: none; }
.site-header .wrap { position: relative; display: flex; align-items: flex-start; justify-content: space-between; padding-top: 1.5rem; }
.site-header a, .site-header button, .site-header nav { pointer-events: auto; }
.brand { color: var(--ink); text-decoration: none; }
.brand svg { height: clamp(64px, 8vw, 100px); width: auto; transition: height 240ms ease; }
.header-art { display: grid; }
.header-art > * { grid-area: 1 / 1; }
.header-contrast-layer { pointer-events: none; clip-path: inset(0 0 100% 0); }
.brand .header-contrast-layer { color: var(--lime); }
.brand .spark { fill: currentColor; }
.brand .eye { fill: var(--lime); }
.brand .header-contrast-layer .eye { fill: var(--black); }
.brand .spark { opacity: 0; transform-origin: center; animation: spark-in 900ms cubic-bezier(.2,.7,.2,1) 300ms forwards; }
@keyframes spark-in { 0% { opacity: 0; transform: scale(0.6); } 55% { opacity: 1; transform: scale(1.06); } 100% { opacity: 1; transform: scale(1); } }
.header-actions { display: flex; align-items: center; gap: 2.4rem; }
.header-links { display: flex; gap: 2.4rem; }
.header-links a { font-family: var(--font-head); font-size: clamp(1.3rem, 2.4vw, 1.8rem); text-decoration: none; }
.header-links a:hover { text-decoration: underline; }
.site-header.is-scrolled .brand svg { height: 34px; }
.site-header.is-scrolled .brand { padding: 5px; margin: -5px; }
.site-header.is-scrolled .header-links { display: none; }
.site-header .brand:focus-visible, .site-header .nav-toggle:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 3px var(--paper); }
.nav-toggle { display: grid; place-items: center; appearance: none; background: none; border: 0; color: var(--ink); cursor: pointer; padding: 12px; margin: -4px -12px 0 0; min-width: 44px; min-height: 44px; }
.menu-lines { display: grid; gap: 5px; width: 24px; padding: 5px 0; }
.menu-lines.header-contrast-layer { color: var(--lime); }
.menu-line { display: block; height: 1px; background: currentColor; transition: transform 180ms ease, opacity 180ms ease; }
.nav-toggle.is-open .menu-line:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle.is-open .menu-line:nth-child(2) { opacity: 0; }
.nav-toggle.is-open .menu-line:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }
.site-nav { display: none; position: absolute; right: 0; top: 5rem; width: min(25rem, 100%); max-height: calc(100dvh - 6rem); overflow-y: auto; background: var(--paper); color: var(--ink); border: 0; border-radius: 12px; box-shadow: 0 0 20px 12px rgba(233,233,233,.95); padding: 1rem 1.5rem; }
.site-nav.is-open { display: block; }
.site-nav ul { list-style: none; margin: 0; padding: 0; }
.site-nav li + li { border-top: 1px solid var(--rule); }
.site-nav a { display: block; padding: 0.8rem 0; font-family: var(--font-head); font-size: 1.5rem; text-decoration: none; }
.site-nav a:hover { text-decoration: underline; }
@media (forced-colors: active) {
  .header-contrast-layer { display: none; }
  .site-header .brand, .site-header .nav-toggle { color: CanvasText; background: Canvas; }
  .site-header .brand:focus-visible, .site-header .nav-toggle:focus-visible { outline-color: Highlight; box-shadow: none; }
  /* Forced colors drop author backgrounds, so draw each menu line as a border instead of a filled box. */
  .menu-line { height: 0; background: none; border-top: 1px solid CanvasText; }
  .site-nav { background: Canvas; color: CanvasText; border: 1px solid CanvasText; box-shadow: none; }
}
.no-js .site-header { position: static; }
.no-js .site-header .wrap { flex-wrap: wrap; gap: 1.5rem; }
.no-js .header-actions { display: none; }
.no-js .hero { padding-top: 3rem; }
.no-js .nav-toggle { display: none; }
.no-js .site-nav { display: block; position: static; max-height: none; overflow: visible; width: auto; padding: 0; border: 0; background: transparent; box-shadow: none; }
.no-js .site-nav ul { display: flex; flex-wrap: wrap; gap: 1rem; }
.no-js .site-nav li { border: 0; }
.no-js .header-links { display: none; }
@media (max-width: 720px) { .header-links { display: none; } .brand svg { height: 62px; } .site-header .wrap { padding-top: 1rem; } .site-nav { top: 4.5rem; } }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { position: relative; padding: 9.5rem 0 2rem; }
.hero .wrap { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); grid-template-rows: auto 1fr; gap: 3rem 0; min-height: calc(100svh - 11.5rem); }
.hero-heading { grid-column: 3 / 11; min-width: 0; }
.hero-support { margin-top: 1.5rem; max-width: 55ch; font-size: var(--step-1); line-height: 1.5; }
.statement { font-family: var(--font-body); font-size: clamp(1.55rem, 2.65vw, 2.55rem); font-weight: 400; line-height: 1.22; letter-spacing: 0; max-width: 42ch; }
.statement strong { font-family: var(--font-head); font-weight: 600; }
.hero-foot { grid-column: 1 / 13; display: flex; justify-content: space-between; align-items: end; align-self: end; gap: 2rem; }
.hero-tag { color: var(--ink-dim); font-size: var(--step--1); line-height: 1.5; }
@media (max-width: 720px) {
  .hero { padding: 8rem 0 2rem; }
  .hero .wrap { min-height: calc(90svh - 10rem); }
  .hero-heading { grid-column: 1 / 13; }
  .statement { font-family: var(--font-body); font-size: clamp(1.55rem, 5.5vw, 2rem); max-width: 32ch; }
}

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */
.section { padding: clamp(3.5rem, 7vh, 6rem) 0; scroll-margin-top: 5rem; }
.section-heading { font-weight: 600; font-size: var(--step-3); max-width: 22ch; margin-bottom: 2.2rem; }
.section-heading-small { font-size: var(--step-1); font-weight: 600; color: var(--ink-dim); margin: 3.5rem 0 1rem; }

.section-label { font-weight: 600; font-family: var(--font-head); font-size: var(--step-1); margin: 0 0 1.6rem; }

/* --------------------------------------------------------------------------
   Portfolio: photographic covers open full poster galleries
   -------------------------------------------------------------------------- */
.work { padding-top: 2rem; padding-bottom: 1.5rem; }
.collection-cover { display: block; list-style: none; cursor: pointer; }
.collection-cover::-webkit-details-marker { display: none; }
.collection-cover::marker { content: ''; }
.collection-cover:focus-visible { outline-offset: 6px; }
.collection-photo { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; max-height: 58svh; object-fit: cover; object-position: 50% 60%; }
.collection-photo-apple { aspect-ratio: 1600 / 670; max-height: 44svh; object-position: 50% 40%; }
.collection-caption { display: grid; grid-template-columns: minmax(0,1fr) auto 24px; align-items: center; gap: 1.5rem; padding: 1.15rem 0; border-bottom: 1px solid var(--rule); }
.collection-action { font-family: var(--font-head); font-weight: 500; font-size: var(--step-2); }
.collection-action > span { background: linear-gradient(var(--lime),var(--lime)) no-repeat left 90% / 0 24%; transition: background-size 220ms ease; }
.collection-cover:hover .collection-action > span, .collection-cover:focus-visible .collection-action > span { background-size: 100% 24%; }
.collection-meta { color: var(--ink-dim); font-size: var(--step--1); }
.collection-plus { width: 22px; height: 22px; position: relative; }
.collection-plus::before, .collection-plus::after { content: ''; position: absolute; top: 10px; left: 0; width: 22px; border-top: 2px solid currentColor; }
.collection-plus::after { transform: rotate(90deg); transition: transform 180ms ease; }
.collection-detail[open] > .collection-cover .collection-plus::after { transform: rotate(0); }
.collection-detail .when-open { display: none; }
.collection-detail[open] > .collection-cover .when-open { display: inline; }
.collection-detail[open] > .collection-cover .when-closed { display: none; }
.collection-content { padding-top: 3.5rem; }
.collection-collapse { display: block; min-height: 44px; margin-top: 3rem; }
.no-js .collection-collapse { display: none; }
.tiles { display: grid; grid-template-columns: repeat(12,minmax(0,1fr)); gap: 4rem 1.5rem; align-items: start; }
.tile { scroll-margin-top: 6rem; min-width: 0; }
.tile-a, .tile-d { grid-column: span 5; }
.tile-b, .tile-c { grid-column: span 7; }
.tile-wide { grid-column: 1 / -1; }
.work-image:focus-visible { outline: 3px solid var(--black); outline-offset: 3px; box-shadow: 0 0 0 3px var(--white); }
.work-image { display: block; width: 100%; padding: 0; border: 0; background: transparent; text-align: left; cursor: pointer; color: inherit; }
.still { width: 100%; }
.tile .still { height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.tile-a .still { aspect-ratio: 4 / 3; }
.tile-wide .still { aspect-ratio: 21 / 9; }
.media-nyquis { background: rgba(0,0,0,.12); }
.media-familiagrove { background: rgba(0,0,0,.06); }
.media-booksy { background: var(--black); object-position: 50% 20%; }
.media-yoshi { object-position: center; background: rgba(0,0,0,.09); }
.media-tacobell { background: rgba(0,0,0,.16); }
.tile .caption { padding-top: 1.2rem; }
.tile .caption h3 { font-size: var(--step-2); margin-bottom: .4rem; }
.tile .sub { margin-bottom: 1rem; }
.tile p { font-size: var(--step--1); color: var(--ink-dim); }
.tile .caption .work-toggle { min-height: 44px; }
.tile-wide .caption { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.work-cursor { display: none; pointer-events: none; position: fixed; left: 0; top: 0; z-index: 60; width: 68px; height: 68px; margin: 0; align-items: center; justify-content: center; background: var(--lime); color: var(--black); border-radius: 50%; font-size: 14px; font-weight: 400; }
@media (hover:hover) and (pointer:fine) and (prefers-reduced-motion:no-preference) { .work-cursor.is-active { display: flex; } }
@media (max-width: 720px) {
  .collection-caption { grid-template-columns: minmax(0,1fr) 22px; gap: .4rem 1rem; }
  .collection-action { font-size: var(--step-1); }
  .collection-meta { grid-column: 1; grid-row: 2; }
  .collection-plus { grid-column: 2; grid-row: 1 / 3; }
  .collection-photo { aspect-ratio: 4 / 3; max-height: none; }
  .collection-photo-apple { aspect-ratio: 16 / 9; }
  .collection-content { padding-top: 2.5rem; }
  .tiles { grid-template-columns: 1fr; gap: 3rem; }
  .tile-a, .tile-b, .tile-c, .tile-d, .tile-wide { grid-column: 1; }
  .tile-wide .caption { display: block; }
  .tile-wide .still { aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-motion: reduce) { .collection-action > span, .collection-plus::after { transition: none; } }

/* --------------------------------------------------------------------------
   Earlier work: compact list
   -------------------------------------------------------------------------- */
.work-list { list-style: none; margin: 0; padding: 0; }
.project {
  display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 7fr) minmax(0, 2fr);
  gap: 0.6rem 2rem; padding: 1.2rem 0; border-top: 1px solid var(--rule);
}
.project:last-child { border-bottom: 1px solid var(--rule); }
.project .kind { font-family: var(--font-head); font-weight: 400; color: var(--ink-dim); font-size: var(--step--1); padding-top: 0.25rem; }
.project h3 { font-size: var(--step-1); font-weight: 600; margin-bottom: 0.3rem; }
.project p { font-size: var(--step--1); color: var(--ink-dim); }
.project .link { justify-self: end; align-self: start; font-family: var(--font-head); font-weight: 500; white-space: nowrap; padding-top: 0.2rem; }
.project .panel { grid-column: 1 / -1; }
@media (max-width: 720px) { .project { grid-template-columns: 1fr; gap: 0.3rem; } .project .link { justify-self: start; } }

/* Apple series share the same accessible film viewer as Selected work. */
.tile-ocean .still { aspect-ratio: 128 / 45; object-position: 50% 50%; }
@media (max-width: 720px) { .tile-ocean .still { aspect-ratio: 16 / 9; } }
.apple-work { padding-top: 1rem; padding-bottom: 0; }
.apple-work > .band-wrap { margin-top: 3rem; }
.apple-intro { display: grid; grid-template-columns: 1fr 2fr; gap: 2rem; padding: 1rem 0 1.5rem; }
.apple-intro p { color: var(--ink-dim); max-width: 55ch; }
.apple-series + .apple-series { margin-top: 3rem; }
.apple-series-content { padding: .5rem 0 2rem; }
.apple-series .section-label { margin-bottom: .6rem; }
.apple-series-description { color: var(--ink-dim); font-size: var(--step--1); margin-bottom: 1.5rem; }
.apple-film-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 2rem 1.2rem; }
.apple-film-grid-two { grid-template-columns: repeat(2,minmax(0,1fr)); }
.apple-film .still { aspect-ratio: 1440 / 604; height: auto; object-fit: cover; }
#apple-creativity .still { aspect-ratio: 2048 / 858; }
.apple-film-caption { padding-top: 1rem; display: flex; flex-wrap: wrap; gap: .75rem 1rem; justify-content: space-between; align-items: baseline; }
.apple-film-caption h3 { font-size: var(--step-1); }
.apple-film-caption .link { min-height: 44px; padding: .4rem 0; }
@media (max-width: 720px) { .apple-intro, .apple-film-grid, .apple-film-grid-two { grid-template-columns: 1fr; } .apple-intro { gap: .25rem; } .apple-intro .section-heading { margin-bottom: 1rem; } }

/* shared: toggle button and video panel */
button.link {
  appearance: none; background: none; border: 0; cursor: pointer; padding: 0; color: inherit; font: inherit;
  font-family: var(--font-head); font-weight: 500;
  text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; text-underline-offset: 0.18em;
}
button.link:hover, button.link:focus-visible { text-decoration-thickness: 3px; }
.panel { padding-top: 1rem; }
.tabs { display: flex; flex-wrap: wrap; gap: 0 1.4rem; margin-bottom: 0.8rem; border-bottom: 1px solid var(--rule); }
.tab {
  appearance: none; background: none; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px;
  padding: 0.4rem 0 0.6rem; color: var(--ink-dim); cursor: pointer; font-family: var(--font-head); font-weight: 500; font-size: var(--step--1);
}
.tab:hover, .tab.is-active { color: var(--ink); }
.tab.is-active { border-bottom-color: var(--ink); background: linear-gradient(transparent 65%,var(--lime) 65%,var(--lime) 84%,transparent 84%); font-weight: 600; }
.frame { aspect-ratio: 16 / 9; width: 100%; background: var(--black); position: relative; }
.frame iframe { width: 100%; height: 100%; border: 0; display: block; }
.frame-note { position: absolute; inset: 0; display: grid; place-items: center; color: var(--paper); font-family: var(--font-head); }

/* --------------------------------------------------------------------------
   Film viewer: a large player over a dimmed, frosted page
   -------------------------------------------------------------------------- */
html.is-viewing-film { overflow: hidden; }
html.is-viewing-film body { position: fixed; top: var(--film-scroll-offset,0); width: 100%; overflow: hidden; }
html.is-viewing-film .work-cursor { display: none !important; }
html.is-viewing-film .band-track { animation-play-state: paused; }
.film-viewer {
  --viewer-gap: clamp(8px,1.2vw,20px);
  box-sizing: border-box; width: calc(100vw - 2 * var(--viewer-gap));
  height: calc(100vh - 2 * var(--viewer-gap)); height: calc(100dvh - 2 * var(--viewer-gap));
  max-width: none; max-height: none; margin: auto;
  padding: clamp(8px,1vw,14px); border: 1px solid rgba(233,233,233,.4);
  border-radius: 12px; background: rgba(15,15,15,.88); color: var(--paper);
  box-shadow: 0 24px 80px rgba(0,0,0,.45), inset 0 1px 0 rgba(233,233,233,.2);
  overflow: hidden;
}
.film-viewer[open] { display: flex; flex-direction: column; gap: 8px; }
.film-viewer::backdrop { background: rgba(0,0,0,.48); -webkit-backdrop-filter: blur(16px) saturate(.6); backdrop-filter: blur(16px) saturate(.6); }
.film-viewer-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex: none; }
.film-viewer-header h2 { min-width: 0; margin: 0; font-size: clamp(1.2rem,2vw,1.65rem); line-height: 1.15; }
.film-close { display: inline-flex; align-items: center; justify-content: center; gap: .6rem; flex: none; min-height: 44px; padding: .4rem .8rem; border: 1px solid rgba(233,233,233,.65); border-radius: 6px; background: rgba(233,233,233,.06); color: var(--paper); font: inherit; font-size: 1rem; cursor: pointer; }
.film-close span[aria-hidden] { font-size: 1.6rem; line-height: 1; }
.film-close:hover { background: rgba(233,233,233,.15); }
.film-viewer :focus-visible { outline: 3px solid var(--lime); outline-offset: 3px; }
.film-keyboard-help { display: none; flex: none; margin: 0; font-size: 1rem; line-height: 1.35; color: var(--paper); }
.film-viewer.is-keyboard-navigation .film-keyboard-help { display: block; }
.film-viewer-content { flex: 1; min-height: 0; min-width: 0; overflow-y: auto; overscroll-behavior-y: contain; }
.film-viewer .panel { display: flex; flex-direction: column; height: 100%; padding: 0; margin: 0; min-width: 0; min-height: 0; }
.film-viewer .panel[hidden] { display: none; }
.film-viewer .tabs { flex: none; flex-wrap: nowrap; min-width: 0; gap: 1.2rem; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: thin; margin: 0 0 8px; padding: 3px 3px 0; border-color: rgba(233,233,233,.3); }
.film-viewer .tab { flex: none; min-height: 44px; color: var(--paper); padding: .5rem .15rem; font-size: 1rem; white-space: nowrap; }
.film-viewer .tab:hover { color: var(--lime); }
.film-viewer .tab:focus-visible { outline-offset: -3px; }
.film-viewer .tab.is-active { color: var(--lime); border-bottom-color: var(--lime); background: none; }
.film-stage { flex: 1; min-height: 112px; min-width: 0; display: grid; place-items: center; container-type: size; }
.film-viewer .frame { width: 100%; height: 100%; aspect-ratio: auto; }
@supports (width: 1cqw) {
  .film-viewer .frame { width: min(100cqw,calc(100cqh * 16 / 9)); height: auto; aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .film-viewer { padding-top: max(8px,env(safe-area-inset-top)); padding-bottom: max(8px,env(safe-area-inset-bottom)); }
  .film-viewer-header h2 { font-size: 1.2rem; }
  .film-viewer .tabs { gap: 1rem; }
}
@media (max-aspect-ratio: 1 / 1) {
  .film-viewer { height: fit-content; max-height: calc(100dvh - 2 * var(--viewer-gap)); }
  .film-viewer-content { flex: 0 1 auto; }
  .film-viewer .panel { height: auto; }
  .film-stage { flex: none; aspect-ratio: 16 / 9; }
}
@media (prefers-reduced-transparency: reduce) {
  .film-viewer { background: var(--black); }
  .film-viewer::backdrop { background: rgba(0,0,0,.88); -webkit-backdrop-filter: none; backdrop-filter: none; }
}

/* --------------------------------------------------------------------------
   Lime band
   -------------------------------------------------------------------------- */
.band-wrap { position: relative; background: var(--lime); }
.band { position: relative; display: block; width: 100%; appearance: none; border: 0; border-radius: 0; margin: 0; background: var(--lime); color: var(--ink); overflow: hidden; padding: 1.1rem 0; font: inherit; text-align: left; cursor: grab; touch-action: pan-y pinch-zoom; user-select: none; -webkit-user-select: none; }
.band:disabled { cursor: default; opacity: 1; }
.band:focus-visible { outline-offset: -5px; }
.band-track { display: flex; align-items: center; gap: 2.6rem; padding-right: 2.6rem; width: max-content; animation: band-scroll 42s linear infinite; }
.band-track span { font-family: var(--font-head); font-weight: 400; font-size: var(--step-2); white-space: nowrap; }
.band-track svg { height: 2rem; width: auto; flex: none; }
@keyframes band-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.band.is-paused .band-track, .band.is-scrubbing .band-track, .band:focus-visible .band-track { animation-play-state: paused; }
.band.is-scrubbing { cursor: grabbing; }
@media (hover: hover) and (pointer: fine) {
  .band-wrap:hover .band-track { animation-play-state: paused; }
}
.no-js .band-track { animation: none; }
@media (prefers-reduced-motion: reduce) {
  .band-track { animation-play-state: paused; }
  .brand .spark { animation: none; opacity: 1; }
  .will-reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* --------------------------------------------------------------------------
   Approach on black
   -------------------------------------------------------------------------- */
.approach { background: var(--black); color: var(--paper); padding-top: clamp(3.5rem,7vw,7rem); }
.approach a { color: var(--lime); text-decoration-color: var(--lime); }
.approach-feature { display: grid; grid-template-columns: minmax(0,4fr) minmax(0,7fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.approach-portrait { height: auto; object-fit: cover; aspect-ratio: 4 / 5; background: rgba(233,233,233,.15); color: var(--paper); }
.approach-portrait::after { color: var(--paper); }
.approach-portrait .media-mark { width: 60%; height: 60%; left: 20%; top: 25%; opacity: .3; }
.portrait-orbit { position: absolute; top: 11%; left: 10%; width: 25%; aspect-ratio: 1; border: 1px solid var(--lime); border-radius: 50%; }
.approach .section-heading { font-family: var(--font-body); font-weight: 400; font-size: clamp(2.75rem,5.7vw,5.8rem); line-height: .98; color: var(--paper); margin-bottom: 2.2rem; }
.approach .section-label { color: rgba(233,233,233,.9); }
.approach-intro { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,3fr); gap: 2rem; }
.approach-icon { color: var(--lime); }
.approach-icon svg { width: 100%; max-height: 140px; }
.approach-intro p { font-size: var(--step-0); color: rgba(233,233,233,.9); }
.field-note { display: inline-block; margin-top: .4rem; }
.edge { list-style: none; margin: 4rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 1.5rem; }
.edge li { border-top: 1px solid rgba(233,233,233,.2); padding-top: 1rem; }
.edge .num { display: block; color: var(--lime); font-size: var(--step--1); margin-bottom: 1rem; }
.edge h3 { color: var(--paper); font-size: var(--step-1); font-weight: 600; margin-bottom: .5rem; }
.edge p { color: rgba(233,233,233,.9); font-size: var(--step--1); }
.eye-stage { padding: clamp(5rem,12vw,10rem) 0 2rem; display: flex; flex-direction: column; align-items: center; gap: 2rem; }
.eye-live { width: min(60%,560px); color: var(--lime); }
.eye-live svg { width: 100%; height: auto; transform-origin: 50% 50%; }
.eye-live.is-blinking svg { animation: eye-blink 280ms cubic-bezier(.45,0,.55,1) 1; }
@keyframes eye-blink { 0%,100% { transform: scaleY(1); } 43%,55% { transform: scaleY(.035); } }
.eye-caption { color: rgba(233,233,233,.9); font-size: var(--step--1); letter-spacing: .02em; }
@media (max-width: 900px) { .approach-intro { grid-template-columns: 1fr; } .approach-icon { display: none; } .edge { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.5rem; } }
@media (max-width: 600px) { .approach-feature { grid-template-columns: 1fr; } .approach-portrait { width: 70%; } .approach .section-heading { font-family: var(--font-body); font-weight: 400; font-size: clamp(3rem,12vw,4.5rem); } .eye-live { width: 75%; } }

/* --------------------------------------------------------------------------
   What we do
   -------------------------------------------------------------------------- */
.services > .wrap > .section-heading { font-size: var(--step-1); font-weight: 600; }
.service-list { list-style: none; margin: 0; padding: 0; }
.service-list > li { border-top: 1px solid var(--rule); }
.service-list > li:last-child { border-bottom: 1px solid var(--rule); }
.service-detail > summary { list-style: none; cursor: pointer; display: grid; width: 100%; min-height: 5.5rem; grid-template-columns: 2rem 4rem minmax(0,1.2fr) minmax(0,1fr) 1rem; gap: 1.5rem; align-items: center; padding: 1.5rem 0; touch-action: manipulation; }
.service-detail > summary > * { min-width: 0; }
.service-detail > summary::-webkit-details-marker { display: none; }
.service-detail .num { font-size: var(--step--1); color: var(--ink-dim); }
.service-detail .icon { height: 3rem; color: var(--ink); pointer-events: none; }
.service-detail .icon svg { width: 100%; height: 100%; }
.service-title { font-family: var(--font-head); font-size: clamp(1.5rem,2.5vw,2.4rem); font-weight: 600; line-height: 1.08; text-decoration: underline; text-decoration-color: transparent; text-decoration-thickness: .18em; text-underline-offset: .08em; text-decoration-skip-ink: none; transition: text-decoration-color 180ms ease; }
.service-summary { font-size: var(--step--1); color: var(--ink-dim); line-height: 1.4; }
.service-plus { width: 16px; height: 16px; position: relative; justify-self: end; pointer-events: none; }
.service-plus::before,.service-plus::after { content: ''; position: absolute; background: currentColor; top: 7px; width: 16px; height: 1px; }
.service-plus::after { transform: rotate(90deg); transition: transform 160ms ease; }
.service-detail[open] .service-plus::after { transform: rotate(0); }
.service-detail[open] .service-title, .service-detail > summary:focus-visible .service-title { text-decoration-color: var(--lime); }
.service-icon-stroke { stroke-dasharray: 1; stroke-dashoffset: 0; }
@keyframes service-icon-trace { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@media (prefers-reduced-motion: no-preference) {
  .service-detail > summary:focus-visible .service-icon-stroke { animation: service-icon-trace 520ms ease-out 1 both; }
}
@media (hover: hover) and (pointer: fine) {
  .service-detail > summary:hover .service-title { text-decoration-color: var(--lime); }
}
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .service-detail > summary:hover .service-icon-stroke { animation: service-icon-trace 520ms ease-out 1 both; }
}
@media (prefers-reduced-motion: reduce) {
  .service-icon-stroke { animation: none !important; stroke-dashoffset: 0; }
  .service-title { transition: none; }
}
.service-content { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,2fr); gap: 3rem; padding: 1rem 2.5rem 3rem 7.5rem; }
.service-visual { background: rgba(0,0,0,.045); padding: 2rem; display: grid; place-items: center; aspect-ratio: 4 / 3; align-self: start; }
.service-visual.service-photos { display: grid; padding: 0; background: transparent; aspect-ratio: auto; gap: .75rem; }
.service-photo { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; }
.service-visual svg { width: 70%; height: 100%; max-height: 180px; }
.service-body h3 { font-size: var(--step-2); margin-bottom: 1rem; }
.service-body p,.service-body ul { font-size: var(--step--1); color: var(--ink-dim); }
.service-body ul { padding-left: 1.1rem; margin: 1.3rem 0; }
.service-body li { padding: .15rem 0; }
.service-body a { display: inline-block; padding: .5rem 0; }
@media (max-width: 900px) { .service-detail > summary { grid-template-columns: 1.5rem 3rem minmax(0,1fr) 1rem; gap: 1rem; } .service-summary { grid-column: 3; } .service-plus { grid-column: 4; grid-row: 1; } .service-content { padding-left: 6.5rem; grid-template-columns: 1fr; } .service-visual { display: none; } }
@media (max-width: 600px) { .service-detail > summary { grid-template-columns: 1.5rem minmax(0,1fr) 1rem; } .service-detail .icon { display: none; } .service-summary { grid-column: 2; } .service-plus { grid-column: 3; } .service-content { padding: .5rem 0 2rem 2.5rem; gap: 1rem; } }

/* --------------------------------------------------------------------------
   About
   -------------------------------------------------------------------------- */
.about-statement { font-family: var(--font-body); font-size: clamp(2.25rem,4vw,4.2rem); max-width: 25ch; font-weight: 400; line-height: 1.12; margin-bottom: 3.5rem; }
.about-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(2rem,5vw,5rem); align-items: start; }
.about-copy p { color: var(--ink-dim); }
.about-stills { position: relative; padding-bottom: 20%; }
.about-stills .photo { height: auto; object-fit: cover; border: 10px solid var(--white); }
.about-stills .photo-a { object-position: 50% 32%; width: 64%; aspect-ratio: 4 / 5; }
.about-stills .photo-b { width: 59%; aspect-ratio: 4 / 3; position: absolute; right: 0; bottom: 0; }
.figures { list-style: none; margin: 4rem 0 0; padding: 2rem 0 0; border-top: 1px solid var(--rule); display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1.5rem; }
.figures strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: var(--step-4); line-height: 1; }
.figures .plus { color: var(--ink); background: linear-gradient(transparent 69%,var(--lime) 69%,var(--lime) 92%,transparent 92%); }
.figures span:not(.plus) { font-size: var(--step--1); color: var(--ink-dim); }
@media (max-width: 720px) { .about-grid { grid-template-columns: 1fr; } .about-statement { margin-bottom: 2.5rem; } .about-copy { margin-top: 1rem; } .figures { gap: 1rem; } .figures strong { font-size: 2.6rem; } }

/* Keep all three statistics inside their columns on the narrowest phones. */
@media (max-width: 360px) { .figures strong { font-size: 2.2rem; } }

/* --------------------------------------------------------------------------
   Questions
   -------------------------------------------------------------------------- */
.faq-list details { border-top: 1px solid var(--rule); }
.faq-list details:last-child { border-bottom: 1px solid var(--rule); }
.faq-list summary { cursor: pointer; list-style: none; position: relative; font-family: var(--font-head); font-weight: 600; font-size: var(--step-1); padding: 0.9rem 2.2rem 0.9rem 0; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 0.2rem; top: 0.7rem; font-size: 1.4em; line-height: 1; font-weight: 300; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { padding: 0 0 1rem; color: var(--ink-dim); }

/* --------------------------------------------------------------------------
   Footer on black, lockup band in lime
   -------------------------------------------------------------------------- */
.site-footer { background: var(--black); color: var(--paper); padding-top: clamp(3.5rem, 8vh, 6rem); scroll-margin-top: 5rem; }
.foot-label { font-family: var(--font-head); font-size: var(--step--1); color: var(--lime); margin-bottom: 0.6rem; }
.foot-heading { font-family: var(--font-body); color: var(--paper); font-size: clamp(3.25rem,7.8vw,8rem); font-weight: 400; line-height: .98; letter-spacing: -.025em; max-width: 12ch; margin-bottom: 2rem; }
.foot-mail { overflow-wrap: anywhere; max-width: 100%; display: inline-block; font-family: var(--font-head); font-weight: 400; font-size: var(--step-2); color: var(--lime); text-decoration: none; margin-bottom: 3rem; }
.foot-mail:hover { text-decoration: underline; }
.foot-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem; align-items: start; padding-bottom: 3rem; font-size: var(--step--1); }
.foot-cols ul { list-style: none; margin: 0; padding: 0; }
.foot-cols li { margin-bottom: 0.4rem; color: rgba(233,233,233,.9); }
.foot-cols a { overflow-wrap: anywhere; text-decoration: none; color: var(--paper); }
.foot-cols a:hover { text-decoration: underline; }
.foot-legal { color: rgba(233,233,233,.9); grid-column: -2; align-self: end; justify-self: end; text-align: right; max-width: none; }
.foot-band { background: var(--lime); color: var(--ink); padding: 2.5vw 3vw 1.2vw; }
.foot-band svg { width: 100%; height: auto; }
@media (max-width: 720px) { .foot-cols { grid-template-columns: 1fr 1fr; } .foot-legal { grid-column: 1 / -1; justify-self: start; text-align: left; } }

/* --------------------------------------------------------------------------
   Essay page (boyd.html)
   -------------------------------------------------------------------------- */
.essay { padding: 8rem 0 4rem; }
.essay .wrap { max-width: 760px; }
.essay h1 { font-size: var(--step-3); margin-bottom: 1.6rem; }
.essay h2 { font-size: var(--step-2); font-weight: 600; margin: 2.4rem 0 0.8rem; }
.essay p { max-width: var(--measure); }
.essay .figures { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 2rem 0; padding: 1.4rem 0; border-bottom: 1px solid var(--rule); }
.essay .figures strong { font-size: var(--step-3); }
.essay .figures span { color: var(--ink-dim); font-size: var(--step--1); }
.essay .note { color: var(--ink-dim); font-size: var(--step--1); font-style: italic; }
.essay ul { padding-left: 1.2rem; color: var(--ink-dim); max-width: var(--measure); }
.essay li { margin-bottom: 0.4rem; }
.essay .back { display: inline-block; margin-bottom: 2rem; font-family: var(--font-head); font-weight: 500; }
@media (max-width: 560px) { .essay .figures { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
  .eye-live.is-blinking svg { animation: none; }
  .work-cursor { display: none !important; }
  .loader { display: none; }
}


/* Complete desktop pages use minimum heights, never fixed clipped containers.
   Smaller viewports, touch pointers, and reduced motion keep ordinary scrolling. */
@media (min-width: 1000px) and (min-height: 700px) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  html[data-section-scroll] { scroll-padding-block: 0; }
  html[data-section-scroll] .scroll-section { min-height: 100svh; scroll-margin-top: 0; }
  html[data-section-scroll] .section.scroll-section { padding-top: 6rem; padding-bottom: 3rem; }
  html[data-section-scroll] .section.apple-work { display: flex; flex-direction: column; padding-bottom: 0; }
  html[data-section-scroll] .apple-work > .wrap { flex: 1; padding-bottom: 2.5rem; }
  html[data-section-scroll] .apple-work > .band-wrap { flex-shrink: 0; margin-top: 0; }
  html[data-section-scroll] .approach { padding: 0; scroll-margin-top: 0; }
  html[data-section-scroll] .approach-page { padding: 6rem 0 3rem; display: flex; flex-direction: column; justify-content: center; }
  html[data-section-scroll] .approach-page .edge { margin-top: 0; }
  html[data-section-scroll] .approach-page .eye-stage { padding-top: 3rem; padding-bottom: 0; }
  html[data-section-scroll] .approach-page .eye-live { width: min(44%,440px); }
  html[data-section-scroll] .about-statement { font-size: clamp(2.25rem,4.4vh,4rem); margin-bottom: 1.5rem; }
  html[data-section-scroll] .about-stills { width: min(100%,420px); margin-inline: auto; padding-bottom: 15%; }
  html[data-section-scroll] .figures { margin-top: 1.5rem; padding-top: 1.5rem; }
  html[data-section-scroll] .site-footer { padding-top: 5.75rem; display: flex; flex-direction: column; }
  html[data-section-scroll] .site-footer > .wrap { flex: 1; }
  html[data-section-scroll] .foot-mail { margin-bottom: 2rem; }
  html[data-section-scroll] .foot-cols { padding-bottom: 2rem; }
  html[data-section-scroll] .foot-band { margin-top: auto; }
  html[data-section-scroll] .foot-band svg { max-height: 20vh; }
}
