/* Copperline Studio
   Concept: the studio as a camera. The opener is a viewfinder, featured work runs
   along a film strip, grading settings read like a colour panel, and copper is the
   one colour used for action and emphasis. One typeface, Archivo: wide and bold for
   headlines, narrow light italic in copper for the accent words.
   A fine grain sits over everything like film stock.
   Deliberately single theme (dark). */
:root {
  --bg: #0A0A0B;
  --bg-2: #101012;
  --card: #151517;
  --card-2: #1C1C1F;
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.16);
  --ink: #F4F3EF;
  --ink-2: #C4C3BD;
  --muted: #8B8A84;
  --accent: #E8793F;
  --accent-2: #F2A577;
  --on-accent: #1A0D05;
  --grad: var(--accent);
  --photo-ink: #F7F5F0;
  --error: #FF8A73;
  --rec: #FF5A43;
  /* Polished copper, for type that should catch the light. Starts and ends on the same tone so it loops. */
  --sheen: linear-gradient(100deg, #A9532A 0%, #E8793F 26%, #FFD3AE 45%, #F2A577 55%, #E8793F 74%, #A9532A 100%);

  --display: "Archivo", "Helvetica Neue", Arial, system-ui, sans-serif;
  --sans: "Archivo", "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;

  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1rem;
  --t-lg: 1.25rem;
  --t-xl: clamp(1.5rem, 2.2vw, 2rem);
  --t-2xl: clamp(2.4rem, 5vw, 4.6rem);

  --r-xl: 6px;
  --r-lg: 4px;
  --r-md: 3px;

  --gutter: max(16px, env(safe-area-inset-left, 0px));
  --gutter-r: max(16px, env(safe-area-inset-right, 0px));
  --maxw: 1360px;
  --section: clamp(4.5rem, 10vw, 8.5rem);
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --header-h: 64px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--sans); font-size: var(--t-md); line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
}
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
img { display: block; max-width: 100%; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 650; font-stretch: 112%; line-height: 1; letter-spacing: -0.035em; text-wrap: balance; }
h2 { font-size: var(--t-2xl); }
h3 { font-size: var(--t-xl); letter-spacing: -0.025em; line-height: 1.05; }
p { margin: 0; }
a { color: inherit; }
button { font: inherit; color: inherit; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent-2); outline-offset: 3px; border-radius: 2px; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -80px; z-index: 300; padding: 10px 16px; border-radius: 3px; background: var(--ink); color: var(--bg); }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(var(--maxw) + 2 * 40px); margin-inline: auto; padding-left: var(--gutter); padding-right: var(--gutter-r); }
@media (min-width: 800px) { .wrap { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: max(40px, env(safe-area-inset-right, 0px)); } }
.label { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
.label::before { content: ""; flex: none; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid var(--accent); }
.section-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 3rem; margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.section-aside { color: var(--muted); font-size: var(--t-sm); max-width: 36ch; }
.chip { display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start; font-size: 0.6875rem; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); white-space: nowrap; }
.chip-glass { padding: 0.3rem 0.55rem; border-radius: 2px; background: rgba(10, 10, 10, 0.72); color: var(--photo-ink); }

/* The last word of each headline, set narrow, light and italic by main.js, against the wide bold headline */
.it { font-family: var(--display); font-style: italic; font-weight: 400; font-stretch: 78%; letter-spacing: -0.03em; color: var(--accent-2); padding-right: 0.06em; }

/* Section numbers, counted by CSS so hidden sections drop out of the sequence */
main { counter-reset: sec; }
main > section:not(.hero):not(.statement) { counter-increment: sec; }
main > section h2[id$="-title"]::after {
  content: "(" counter(sec, decimal-leading-zero) ")"; display: inline-block; vertical-align: top; margin: 0.25em 0 0 0.6em;
  font: 500 var(--t-xs)/1 var(--sans); font-stretch: 100%; letter-spacing: 0.1em; color: var(--muted);
}

/* Reveal on scroll. main.js adds .reveal-on only when motion is welcome, so content never hides without it.
   Fill mode is backwards, so once the reveal ends each element's own hover transforms take over again. */
@keyframes reveal { from { opacity: 0; translate: 0 32px; } to { opacity: 1; translate: none; } }
.reveal-on [data-reveal]:not([data-reveal="kids"]):not(.in), .reveal-on [data-reveal="kids"]:not(.in) > * { opacity: 0; }
.reveal-on [data-reveal]:not([data-reveal="kids"]).in, .reveal-on [data-reveal="kids"].in > * { animation: reveal 1s var(--ease) backwards; }
.reveal-on [data-reveal="kids"].in > :nth-child(2) { animation-delay: 0.07s; }
.reveal-on [data-reveal="kids"].in > :nth-child(3) { animation-delay: 0.14s; }
.reveal-on [data-reveal="kids"].in > :nth-child(4) { animation-delay: 0.21s; }
.reveal-on [data-reveal="kids"].in > :nth-child(5) { animation-delay: 0.28s; }
.reveal-on [data-reveal="kids"].in > :nth-child(n+6) { animation-delay: 0.35s; }
/* While the editor is open the page re-renders on every keystroke, so show everything at once */
.cms-open [data-reveal], .cms-open [data-reveal="kids"] > * { opacity: 1 !important; animation: none !important; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem; min-height: 50px; padding: 0 1.5rem;
  border-radius: 3px; border: 1px solid var(--line-2); background: transparent; color: var(--ink);
  font-size: var(--t-sm); font-weight: 600; letter-spacing: 0.01em; text-decoration: none; cursor: pointer;
  transition: transform 0.25s var(--ease), background-color 0.25s, color 0.25s, box-shadow 0.3s;
}
.btn::after { content: "→"; transition: transform 0.25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn:hover::after { transform: translateX(3px); }
.btn-light, .btn-dark { background: var(--accent); border: 0; color: var(--on-accent); }
.btn-light:hover, .btn-dark:hover { background: var(--accent-2); }
.btn-ghost { min-height: 44px; padding: 0 0.25rem; border: 0; color: var(--photo-ink); text-decoration: underline; text-decoration-color: rgba(247, 245, 240, 0.4); text-underline-offset: 6px; }
.btn-ghost:hover { text-decoration-color: var(--accent); }
.btn:disabled { opacity: 0.6; cursor: progress; transform: none; }
.text-btn { min-height: 36px; padding: 0 0.25rem; border: 0; background: none; color: var(--accent-2); font-size: var(--t-xs); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.text-btn:hover { color: var(--ink); }
.pill-link { display: inline-flex; align-items: center; gap: 0.4rem; align-self: flex-start; min-height: 40px; font-size: var(--t-sm); font-weight: 500; text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 5px; transition: color 0.2s, text-decoration-color 0.2s; }
.pill-link::after { content: "→"; transition: transform 0.25s var(--ease); }
.pill-link:hover { color: var(--accent-2); text-decoration-color: currentColor; }
.pill-link:hover::after { transform: translateX(3px); }

/* ---------- Header: plain bar ---------- */
.site-header { position: fixed; left: 0; right: 0; top: 0; z-index: 50; padding-top: env(safe-area-inset-top, 0px); background: var(--bg); border-bottom: 1px solid transparent; transition: border-color 0.3s; }
.site-header.is-solid { border-bottom-color: var(--line); }
.nav-pill {
  min-height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0 calc(max(10px, env(safe-area-inset-right, 0px)) + clamp(18px, 4vw, 56px)) 0 calc(max(10px, env(safe-area-inset-left, 0px)) + clamp(18px, 4vw, 56px));
}
.wordmark { display: inline-flex; align-items: center; gap: 0.55rem; text-decoration: none; font-family: var(--display); font-weight: 700; font-stretch: 118%; font-size: 1.05rem; letter-spacing: -0.02em; }
/* The mark is a lens ring that turns as the page scrolls (main.js sets --spin) */
.wordmark::before {
  content: ""; width: 20px; height: 20px; border-radius: 50%;
  background: conic-gradient(from var(--spin, 0deg), var(--accent) 0 25%, #FFD3AE 0 32%, var(--accent-2) 0 50%, #A9532A 0 75%, var(--accent) 0);
  -webkit-mask: radial-gradient(circle, transparent 0 4px, #000 4.5px); mask: radial-gradient(circle, transparent 0 4px, #000 4.5px);
}
.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav a { text-decoration: none; text-underline-offset: 8px; font-size: var(--t-sm); color: var(--ink-2); padding: 0.5rem 0.85rem; transition: color 0.2s; }
.nav a:hover { color: var(--ink); text-decoration: underline; text-decoration-color: var(--line-2); }
.nav a[aria-current="true"] { color: var(--ink); text-decoration: underline; text-decoration-color: var(--accent); }
.nav .nav-cta { margin-left: 0.6rem; padding: 0.65rem 1.1rem; border-radius: 3px; background: var(--accent); color: var(--on-accent); font-weight: 600; text-decoration: none; transition: background-color 0.2s; }
.nav .nav-cta:hover, .nav .nav-cta[aria-current="true"] { background: var(--accent-2); color: var(--on-accent); text-decoration: none; }
.menu-btn { display: none; min-height: 42px; padding: 0 1.1rem; border-radius: 3px; border: 0; background: rgba(255, 255, 255, 0.1); font-size: var(--t-sm); font-weight: 500; cursor: pointer; }
@media (max-width: 900px) {
  .menu-btn { display: block; position: relative; z-index: 2; }
  .nav {
    position: fixed; inset: 0; z-index: 1; flex-direction: column; justify-content: center; align-items: stretch; gap: 0.3rem;
    padding: 90px var(--gutter-r) 40px var(--gutter); background: var(--bg);
    opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
  }
  .nav a { font-family: var(--display); font-weight: 650; font-stretch: 112%; font-size: clamp(2rem, 9vw, 3rem); letter-spacing: -0.03em; color: var(--ink); padding: 0.3rem 0; background: none !important; }
  .nav .nav-cta { margin: 1.2rem 0 0; text-align: center; font-size: 1.1rem; font-family: var(--sans); font-stretch: 100%; letter-spacing: 0; padding: 1rem; background: var(--grad) !important; }
  .site-header.menu-open .nav { opacity: 1; visibility: visible; }
}

/* ---------- Hero ---------- */
.hero { padding: calc(env(safe-area-inset-top, 0px) + var(--header-h)) max(10px, env(safe-area-inset-right, 0px)) 0 max(10px, env(safe-area-inset-left, 0px)); }
.hero-frame { position: relative; height: clamp(560px, calc(100svh - var(--header-h) - 10px), 980px); border-radius: var(--r-xl); overflow: hidden; background: #0C0C0D; color: var(--photo-ink); isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  clip-path: circle(0% at var(--at, 50% 50%)); transform: scale(1.08);
  transition: clip-path 1.7s cubic-bezier(0.76, 0, 0.18, 1), transform 9s cubic-bezier(0.2, 0.6, 0.2, 1);
}
.hero-media img.on { clip-path: circle(150% at var(--at, 50% 50%)); transform: scale(1); }
.hero-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(to top, rgba(6, 6, 7, 0.86) 0%, rgba(6, 6, 7, 0.35) 45%, rgba(6, 6, 7, 0.1) 70%), linear-gradient(to right, rgba(6, 6, 7, 0.5), rgba(6, 6, 7, 0) 65%), linear-gradient(to bottom, rgba(6, 6, 7, 0.5), rgba(6, 6, 7, 0) 20%); }

/* Viewfinder overlay: frame corners, REC light, timecode, local time and a focus box on each slide's focus point */
.vf { position: absolute; inset: 0; z-index: 2; pointer-events: none; color: var(--photo-ink); }
.vf-c { position: absolute; width: 30px; height: 30px; border: 0 solid rgba(247, 245, 240, 0.7); }
.vf-c.tl { left: 18px; top: 18px; border-width: 1.5px 0 0 1.5px; }
.vf-c.tr { right: 18px; top: 18px; border-width: 1.5px 1.5px 0 0; }
.vf-c.bl { left: 18px; bottom: 18px; border-width: 0 0 1.5px 1.5px; }
.vf-c.br { right: 18px; bottom: 18px; border-width: 0 1.5px 1.5px 0; }
.vf-top { position: absolute; left: 64px; right: 64px; top: 26px; display: flex; align-items: center; gap: 1.4rem; font-size: 0.6875rem; font-weight: 500; line-height: 1; letter-spacing: 0.16em; text-transform: uppercase; font-variant-numeric: tabular-nums; color: rgba(247, 245, 240, 0.86); }
.vf-rec { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; }
.vf-rec i { width: 8px; height: 8px; border-radius: 50%; background: var(--rec); box-shadow: 0 0 12px var(--rec); animation: blink 1.4s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0.15; } }
.vf-clock { margin-left: auto; }
.vf-focus {
  --l: 12px; position: absolute; left: 50%; top: 50%; width: 84px; height: 60px; translate: -50% -50%;
  color: rgba(247, 245, 240, 0.8); transition: left 1.5s var(--ease), top 1.5s var(--ease);
  background:
    linear-gradient(currentColor 0 0) left top / var(--l) 1.5px, linear-gradient(currentColor 0 0) left top / 1.5px var(--l),
    linear-gradient(currentColor 0 0) right top / var(--l) 1.5px, linear-gradient(currentColor 0 0) right top / 1.5px var(--l),
    linear-gradient(currentColor 0 0) left bottom / var(--l) 1.5px, linear-gradient(currentColor 0 0) left bottom / 1.5px var(--l),
    linear-gradient(currentColor 0 0) right bottom / var(--l) 1.5px, linear-gradient(currentColor 0 0) right bottom / 1.5px var(--l);
  background-repeat: no-repeat;
}
.vf-focus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 4px; height: 4px; margin: -2px 0 0 -2px; border-radius: 50%; background: currentColor; }
.vf-focus.lock { animation: lock 1.8s var(--ease) both; }
@keyframes lock {
  0%, 35% { scale: 1.45; opacity: 0.35; color: rgba(247, 245, 240, 0.8); }
  65% { scale: 0.94; opacity: 1; }
  100% { scale: 1; opacity: 1; color: var(--accent-2); }
}

.hero-content {
  position: relative; z-index: 3; height: 100%; display: flex; flex-direction: column; justify-content: flex-end; gap: clamp(1.25rem, 2.5vw, 2rem);
  padding: 0 clamp(18px, 4vw, 56px) clamp(1.5rem, 3.5vw, 3rem);
}
.hero-chip { display: inline-flex; align-items: center; gap: 0.75rem; align-self: flex-start; font-size: var(--t-xs); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(247, 245, 240, 0.85); animation: fade 0.8s 0.2s both; }
.dot { flex: none; width: 9px; height: 9px; border-radius: 50%; border: 2px solid var(--accent); }
@keyframes fade { from { opacity: 0; } to { opacity: 1; } }
.hero-title { font-size: clamp(2.2rem, 5vw, 4.6rem); font-weight: 600; line-height: 0.98; letter-spacing: -0.04em; }
.hero-title .ln { display: block; overflow: hidden; padding-bottom: 0.1em; margin-bottom: -0.1em; }
.hero-title .ln > span { display: inline-block; animation: rise 1.1s cubic-bezier(0.2, 0.75, 0.15, 1) both; }
.hero-title .ln:nth-child(1) > span { animation-delay: 0.35s; }
.hero-title .ln:nth-child(2) > span { animation-delay: 0.48s; }
.hero-title .ln:nth-child(3) > span { animation-delay: 0.61s; }
@keyframes rise { from { transform: translateY(105%); } to { transform: none; } }
.hero-title .ln.ln-word { padding-bottom: 0.04em; margin-bottom: -0.04em; }
.hero-title .ln-word { font-size: clamp(2.6rem, 11vw, 10.5rem); font-style: italic; font-weight: 300; font-stretch: 75%; line-height: 0.92; letter-spacing: -0.045em; }
.hero-word {
  display: inline-block; line-height: 1.08; padding: 0 0.14em 0.06em 0;
  background: var(--sheen); background-size: 200% 100%; -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: sheen 8s linear infinite;
}
.hero-word.in { animation: word-in 0.9s cubic-bezier(0.2, 0.75, 0.15, 1) both, sheen 8s linear infinite; }
@keyframes word-in { from { transform: translateY(100%); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes sheen { from { background-position: 0% 0; } to { background-position: 200% 0; } }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, auto); align-items: end; gap: 1.25rem 2.5rem; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1.75rem; }
.hero-caption { display: flex; align-items: center; gap: 1.25rem; justify-self: end; padding-top: 0.75rem; border-top: 1px solid rgba(247, 245, 240, 0.25); }
.hero-caption-text { font-size: var(--t-xs); color: rgba(247, 245, 240, 0.78); max-width: 34ch; line-height: 1.4; }
.hero-caption-text em { font-style: normal; font-weight: 600; color: var(--photo-ink); }
.hero-pager { display: flex; gap: 6px; }
.hero-pager button { position: relative; width: 34px; height: 6px; padding: 0; border: 0; border-radius: 3px; background: rgba(255, 255, 255, 0.22); cursor: pointer; overflow: hidden; transition: width 0.4s var(--ease); }
.hero-pager button span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.hero-pager button i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad); }
.hero-pager button[aria-current="true"] { width: 54px; }
@media (max-width: 760px) {
  .hero-frame { min-height: 540px; max-height: 820px; }
  .hero-content { padding-top: 32px; }
  .hero-title { font-size: min(8.4vw, 2.6rem); }
  .hero-foot { grid-template-columns: minmax(0, 1fr); }
  .hero-caption { justify-self: stretch; flex-direction: column; align-items: stretch; gap: 0.7rem; }
  .hero-caption-text { max-width: none; }
  .vf-c { width: 20px; height: 20px; }
  .vf-c.tl, .vf-c.tr { top: 12px; } .vf-c.bl, .vf-c.br { bottom: 12px; }
  .vf-c.tl, .vf-c.bl { left: 12px; } .vf-c.tr, .vf-c.br { right: 12px; }
  .vf-top { left: 40px; right: 40px; top: 17px; gap: 0.9rem; font-size: 0.625rem; }
  .vf-focus { display: none; }
}

/* Services band: a marquee of everything the studio does, alternating wide bold and narrow italic */
.band { overflow: hidden; padding: clamp(1.25rem, 2.6vw, 2rem) 0; border-bottom: 1px solid var(--line); }
.band-track { display: flex; width: max-content; animation: marquee calc(var(--n, 10) * 3.6s) linear infinite; }
.band:hover .band-track { animation-play-state: paused; }
.band-run { display: flex; flex: none; align-items: baseline; }
.band-item { display: inline-flex; align-items: center; font-family: var(--display); font-weight: 700; font-stretch: 118%; font-size: clamp(2rem, 5.4vw, 4.8rem); line-height: 1.15; letter-spacing: -0.045em; color: var(--ink); white-space: nowrap; }
.band-item.o { font-style: italic; font-weight: 300; font-stretch: 75%; letter-spacing: -0.035em; color: var(--accent-2); }
.band-item::after { content: ""; flex: none; width: 0.38em; height: 0.38em; margin: 0 0.6em; border-radius: 50%; border: 0.08em solid var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Statement ---------- */
.statement { padding-block: var(--section); }
.statement-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.statement-grid .label { grid-column: 1 / span 3; align-self: start; padding-top: 0.6rem; }
.statement-body { grid-column: 4 / -1; }
.statement-text { font-family: var(--display); font-weight: 550; font-stretch: 108%; font-size: clamp(1.7rem, 3.4vw, 3.1rem); line-height: 1.12; letter-spacing: -0.035em; color: var(--ink); max-width: 30ch; }
/* Each word starts dim and lights up as the paragraph scrolls past (main.js adds .lit) */
.statement-text .w { color: #4A4945; transition: color 0.45s; }
.statement-text .w.lit { color: var(--ink); }
.statement-text .hl { font-style: italic; font-weight: 400; font-stretch: 82%; letter-spacing: -0.035em; }
.statement-text .hl .w.lit { color: var(--accent-2); }
.cms-open .statement-text .w { color: var(--ink); }
.cms-open .statement-text .hl .w { color: var(--accent-2); }
.facts { margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem 2rem; }
.facts div { padding-top: 1rem; border-top: 1px solid var(--line-2); }
.facts dt { font-size: var(--t-xs); text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }
.facts dd { margin: 0.45rem 0 0; color: var(--ink); font-weight: 500; }
@media (max-width: 860px) {
  .statement-grid { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .statement-grid .label, .statement-body { grid-column: auto; }
  .facts { grid-template-columns: minmax(0, 1fr); }
}

/* ---------- Services bento ---------- */
.services { padding-bottom: var(--section); }
.bento { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 14px; }
.svc-card {
  position: relative; display: flex; flex-direction: column; min-width: 0; border-radius: var(--r-xl); overflow: hidden;
  background: var(--card); border: 1px solid var(--line);
  transform: perspective(1100px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition: transform 0.6s var(--ease), border-color 0.3s, box-shadow 0.4s;
}
.svc-card:hover { border-color: var(--line-2); transition: transform 0.15s linear, border-color 0.3s, box-shadow 0.4s; }
/* A copper glow that follows the pointer (main.js sets --mx and --my) */
.svc-card::before { content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(232, 121, 63, 0.16), transparent 60%); opacity: 0; transition: opacity 0.4s; }
.svc-card:hover::before { opacity: 1; }
.svc-n { position: absolute; right: 14px; top: 14px; z-index: 2; padding: 0.35rem 0.5rem; border-radius: 2px; background: rgba(10, 10, 10, 0.62); color: var(--photo-ink); font-size: 0.6875rem; font-weight: 500; line-height: 1; letter-spacing: 0.12em; font-variant-numeric: tabular-nums; }
.svc-card.flat .svc-n { background: none; color: rgba(26, 13, 5, 0.7); }
.s7 { grid-column: span 7; } .s5 { grid-column: span 5; } .s4 { grid-column: span 4; } .s6 { grid-column: span 6; }
.svc-media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; max-width: 100%; }
.s7 .svc-media, .s5 .svc-media { aspect-ratio: 16 / 9; }
.svc-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--card), rgba(21, 21, 23, 0) 45%); }
.svc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.svc-card:hover .svc-media img { transform: scale(1.05); }
.svc-body { position: relative; z-index: 2; display: flex; flex-direction: column; gap: 0.75rem; padding: 0.4rem 1.5rem 1.5rem; flex: 1; }
.svc-card.no-img .svc-body { padding-top: 1.75rem; }
.svc-body h3 { font-size: clamp(1.6rem, 2.4vw, 2.3rem); }
.s7 .svc-body h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.svc-line { color: var(--ink-2); font-size: var(--t-sm); max-width: 44ch; }
.svc-includes { list-style: none; margin: 0.25rem 0 0.75rem; padding: 0; }
.svc-includes li { position: relative; padding: 0.45rem 0 0.45rem 1.1rem; border-top: 1px solid var(--line); font-size: var(--t-sm); color: var(--ink-2); }
.svc-includes li::before { content: ""; position: absolute; left: 0; top: calc(0.45rem + 0.8em - 2.5px); width: 5px; height: 5px; border-radius: 50%; background: var(--accent); }
.svc-body .pill-link { margin-top: auto; }
/* Services without a photo become solid copper or paper blocks, ringed with fine contour lines */
.svc-art { display: none; }
.svc-card.flat { background: repeating-radial-gradient(circle at 104% 112%, transparent 0 26px, rgba(26, 13, 5, 0.16) 26px 27.5px), var(--accent); border-color: var(--accent); color: var(--on-accent); }
.svc-card.flat.alt { background: repeating-radial-gradient(circle at 104% 112%, transparent 0 26px, rgba(26, 13, 5, 0.1) 26px 27.5px), var(--ink); border-color: var(--ink); }
.svc-card.flat::before { background: radial-gradient(440px circle at var(--mx, 50%) var(--my, 0%), rgba(255, 255, 255, 0.22), transparent 60%); }
.svc-card.flat h3 { font-size: clamp(2rem, 3.4vw, 3.2rem); }
.svc-card.flat .chip, .svc-card.flat .svc-line, .svc-card.flat .svc-includes li { color: rgba(26, 13, 5, 0.82); }
.svc-card.flat .svc-includes li { border-top-color: rgba(26, 13, 5, 0.2); }
.svc-card.flat .svc-includes li::before { background: var(--on-accent); }
.svc-card.flat .pill-link { text-decoration-color: rgba(26, 13, 5, 0.4); }
.svc-card.flat .pill-link:hover { color: var(--on-accent); text-decoration-color: currentColor; }
.svc-card.flat:hover { border-color: var(--accent); }
.svc-card.flat.alt:hover { border-color: var(--ink); }
.svc-card.flat :focus-visible { outline-color: var(--on-accent); }
@media (max-width: 1000px) { .s7, .s5, .s6, .s4 { grid-column: span 6; } }
@media (max-width: 640px) { .bento > * { grid-column: 1 / -1; } }

/* ---------- Featured work: horizontal gallery on a film strip ---------- */
.hs { position: relative; }
.hs-sticky { padding-block: var(--section) 0; }
.hs.pinned .hs-sticky { position: sticky; top: 0; height: 100vh; height: 100svh; padding: 88px 0 24px; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.hs-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 1rem 2rem; margin-bottom: clamp(1.25rem, 3vh, 2.25rem); }
.hs-progress { display: flex; align-items: center; gap: 1rem; font-size: var(--t-xs); letter-spacing: 0.1em; color: var(--muted); font-variant-numeric: tabular-nums; }
.hs-bar { position: relative; width: clamp(120px, 16vw, 220px); height: 4px; border-radius: 3px; background: rgba(255, 255, 255, 0.1); overflow: hidden; }
.hs-bar i { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--grad); border-radius: 3px; }
.hs-viewport { overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
.hs-viewport::-webkit-scrollbar { display: none; }
.hs.pinned .hs-viewport { overflow: visible; }
.hs-track {
  --ph: clamp(220px, calc(100svh - 440px), 600px); --edge: 1.5rem; --strip: 18px;
  position: relative; display: flex; align-items: flex-start; gap: clamp(14px, 2vw, 24px); width: max-content;
  padding: calc(var(--strip) + 12px) var(--gutter-r) 0.5rem var(--gutter); will-change: transform;
}
@media (min-width: 800px) { .hs-track { padding-left: max(40px, env(safe-area-inset-left, 0px)); padding-right: 30vw; } }
/* Sprocket holes run the length of the track, so they travel with the frames */
.hs-track::before, .hs.pinned .hs-track::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: var(--strip); pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='18'%3E%3Crect x='8' y='4' width='12' height='10' rx='2.5' fill='%230A0A0B'/%3E%3C/svg%3E") 0 0 / 28px 18px repeat-x, #19191C;
}
.hs.pinned .hs-track::after { top: calc(var(--strip) + 12px + var(--edge) + 0.9rem + var(--ph) + 10px); }
.hs.pinned .hs-text { padding-top: calc(var(--strip) + 6px); }
.hs-edge { display: flex; align-items: center; justify-content: space-between; gap: 1rem; height: var(--edge); margin: 0; padding-inline: 4px; font-size: 0.625rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); font-variant-numeric: tabular-nums; }
.hs-intro { flex: none; width: min(80vw, 320px); height: var(--ph); margin-top: calc(var(--edge) + 0.9rem); display: flex; flex-direction: column; justify-content: space-between; gap: 2rem; padding-top: 1.25rem; border-top: 1px solid var(--line-2); scroll-snap-align: start; }
.hs-intro-text { font-family: var(--display); font-style: italic; font-weight: 400; font-stretch: 85%; font-size: clamp(1.5rem, 2.2vw, 2rem); line-height: 1.12; letter-spacing: -0.03em; }
.hs-hint { font-size: var(--t-xs); letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); display: flex; align-items: center; gap: 0.75rem; }
.hs-hint::after { content: "→"; color: var(--accent); }
.hs-panel { flex: none; width: max(340px, calc(var(--ph) * var(--ar))); display: grid; gap: 0.9rem; scroll-snap-align: start; }
.hs-figure { position: relative; margin: 0; padding: 0; border: 0; border-radius: var(--r-xl); background: var(--card); overflow: hidden; cursor: zoom-in; display: block; height: var(--ph); }
.hs-figure img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.hs-figure:hover img { transform: scale(1.04); }
.hs-figure::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(6, 6, 7, 0.8), rgba(6, 6, 7, 0) 45%); pointer-events: none; }
.hs-num { position: absolute; left: 16px; top: 16px; z-index: 1; }
.hs-dur { position: absolute; right: 16px; top: 16px; z-index: 1; font-variant-numeric: tabular-nums; }
.hs-overlay { position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; display: grid; gap: 0.2rem; text-align: left; color: var(--photo-ink); }
.hs-overlay b { font-family: var(--display); font-weight: 650; font-stretch: 112%; font-size: clamp(1.5rem, 2.4vw, 2.3rem); line-height: 1; letter-spacing: -0.035em; }
.hs-overlay span { font-size: var(--t-sm); color: rgba(247, 245, 240, 0.75); }
.play { position: absolute; left: 50%; top: 50%; z-index: 1; width: 78px; height: 78px; margin: -39px 0 0 -39px; border-radius: 50%; background: rgba(10, 10, 10, 0.55); border: 1px solid rgba(255, 255, 255, 0.5); transition: transform 0.4s var(--ease), background-color 0.3s; }
.play::after { content: ""; position: absolute; left: 32px; top: 26px; border: 13px solid transparent; border-left: 19px solid var(--photo-ink); border-right: 0; }
.hs-figure:hover .play { transform: scale(1.1); background: var(--accent); border-color: var(--accent); }
.hs-text { display: grid; gap: 0.35rem; padding-inline: 6px; }
.hs-text p { color: var(--ink-2); font-size: var(--t-sm); max-width: 52ch; }
.hs-text .hs-deliver { font-size: var(--t-xs); color: var(--muted); }
.hs-deliver::before { content: "Delivered · "; color: var(--accent); }
.hs-end { flex: none; width: min(80vw, 320px); height: var(--ph); margin-top: calc(var(--edge) + 0.9rem); display: flex; flex-direction: column; justify-content: flex-end; gap: 0.75rem; padding: 1.75rem; border-radius: var(--r-xl); background: var(--accent); color: var(--on-accent); text-decoration: none; scroll-snap-align: start; transition: background-color 0.25s; }
.hs-end:hover { background: var(--accent-2); }
.hs-end b { font-family: var(--display); font-weight: 700; font-stretch: 115%; font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1; letter-spacing: -0.04em; }
.hs-end span { font-size: var(--t-sm); font-weight: 500; }
.hs:not(.pinned) .hs-track { --ph: auto; }
.hs:not(.pinned) .hs-intro { display: none; }
.hs:not(.pinned) .hs-panel { width: min(84vw, 560px); }
.hs:not(.pinned) .hs-figure { height: auto; aspect-ratio: 4 / 3; max-width: 100%; }
.hs:not(.pinned) .hs-end { height: auto; min-height: 220px; align-self: stretch; }

/* ---------- All work ---------- */
.index-section { padding-block: var(--section); }
.tabs { display: flex; flex-wrap: wrap; gap: 6px; }
.tab { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 40px; padding: 0 0.95rem; border-radius: 3px; border: 1px solid var(--line); background: var(--card); color: var(--ink-2); font-size: var(--t-sm); cursor: pointer; transition: background-color 0.2s, color 0.2s, border-color 0.2s; }
.tab sup { font-size: 0.6875rem; top: 0; padding: 0 0.4rem; border-radius: 3px; background: rgba(255, 255, 255, 0.08); line-height: 1.5; font-variant-numeric: tabular-nums; }
.tab:hover { color: var(--ink); border-color: var(--line-2); }
.tab[aria-pressed="true"] { background: var(--ink); color: var(--bg); border-color: var(--ink); }
.tab[aria-pressed="true"] sup { background: rgba(0, 0, 0, 0.12); }
.justified { display: flex; flex-wrap: wrap; gap: 12px; }
.tile { position: relative; flex: none; padding: 0; border: 0; border-radius: var(--r-lg); background: var(--card); overflow: hidden; cursor: zoom-in; animation: tile-in 0.7s var(--ease) both; }
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.badge { position: absolute; right: 12px; top: 12px; z-index: 1; padding: 0.25rem 0.6rem; border-radius: 3px; font-size: 0.6875rem; font-weight: 500; color: var(--photo-ink); background: rgba(10, 10, 10, 0.72); font-variant-numeric: tabular-nums; }
.tile-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 3rem 1.1rem 1rem; text-align: left;
  background: linear-gradient(to top, rgba(6, 6, 7, 0.85), rgba(6, 6, 7, 0)); color: var(--photo-ink);
  opacity: 0; transform: translateY(8px); transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}
.tile-cap b { display: block; font-family: var(--display); font-weight: 650; font-stretch: 110%; font-size: 1.15rem; letter-spacing: -0.025em; line-height: 1.15; }
.tile-cap span { font-size: var(--t-xs); color: rgba(247, 245, 240, 0.75); }
.tile:hover img, .tile:focus-visible img { transform: scale(1.04); }
.tile:hover .tile-cap, .tile:focus-visible .tile-cap { opacity: 1; transform: none; }
@media (hover: none) { .tile-cap { opacity: 1; transform: none; padding-top: 2rem; } .tile-cap b { font-size: 1rem; } }
@keyframes tile-in { from { opacity: 0.001; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- Video editing: grade slider ---------- */
.process { padding-bottom: var(--section); }
.process-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.process-text { grid-column: 1 / span 4; display: grid; gap: 1rem; align-content: start; }
.process-text h2 { font-size: clamp(2rem, 3.6vw, 3.2rem); }
.process-text > p:not(.label) { color: var(--ink-2); max-width: 40ch; }
.adjust { margin: 0.5rem 0 0; display: grid; }
.adjust div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.55rem 0; border-top: 1px solid var(--line); font-size: var(--t-xs); }
.adjust div:last-child { border-bottom: 1px solid var(--line); }
.adjust dt { color: var(--muted); }
.adjust dd { margin: 0; display: flex; align-items: center; justify-content: flex-end; gap: 0.8rem; font-variant-numeric: tabular-nums; font-weight: 500; text-align: right; }
/* Number chips get a centre zero slider, filled right for plus and left for minus */
.meter { position: relative; flex: none; width: 76px; height: 3px; border-radius: 2px; background: var(--line-2); }
.meter::before { content: ""; position: absolute; left: 50%; top: -3px; bottom: -3px; width: 1px; background: var(--muted); }
.meter::after { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: calc(var(--v, 0) * 50%); border-radius: 2px; background: var(--accent); transition: width 1.2s var(--ease) 0.3s; }
.meter.neg::after { left: auto; right: 50%; }
.reveal-on .process-text:not(.in) .meter::after { width: 0; }
.compare { grid-column: 5 / -1; position: relative; margin: 0; aspect-ratio: 3 / 2; max-width: 100%; border-radius: var(--r-xl); overflow: hidden; background: #111; user-select: none; touch-action: pan-y; }
.compare img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.compare-raw { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.compare-line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; margin-left: -1px; background: var(--photo-ink); pointer-events: none; }
.compare-knob { position: absolute; top: 50%; left: 0; width: 52px; height: 52px; transform: translate(-50%, -50%); border-radius: 50%; background: var(--grad); box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); }
.compare-knob::before, .compare-knob::after { content: ""; position: absolute; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: solid var(--on-accent); border-width: 0 0 2px 2px; }
.compare-knob::before { left: 13px; transform: rotate(45deg); }
.compare-knob::after { right: 13px; transform: rotate(-135deg); }
.compare-tag { position: absolute; top: 14px; padding: 0.3rem 0.75rem; border-radius: 3px; font-size: var(--t-xs); font-weight: 500; color: var(--photo-ink); background: rgba(10, 10, 10, 0.72); pointer-events: none; }
.tag-raw { left: 14px; } .tag-final { right: 14px; }
.compare-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.compare:has(.compare-range:focus-visible) .compare-knob { outline: 2px solid var(--photo-ink); outline-offset: 4px; }
@media (max-width: 960px) {
  .process-grid { grid-template-columns: minmax(0, 1fr); }
  .process-text, .compare { grid-column: auto; }
}

/* ---------- Graphic design ---------- */
.design { padding-bottom: var(--section); }
.design-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); padding-top: 12px; }
/* Pieces are taped up like prints on the studio wall, and straighten when you look at them */
.dz { position: relative; margin: 0; display: grid; gap: 0.9rem; rotate: -1.6deg; transition: rotate 0.6s var(--ease), transform 0.6s var(--ease); }
.dz:nth-child(2n) { rotate: 1.2deg; }
.dz:nth-child(3n) { rotate: -0.6deg; }
.dz:hover { rotate: 0deg; transform: translateY(-6px); }
.dz::before { content: ""; position: absolute; z-index: 2; left: 50%; top: -11px; width: 92px; height: 24px; margin-left: -46px; rotate: -3deg; background: rgba(244, 241, 234, 0.2); box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2); pointer-events: none; }
.dz:nth-child(2n)::before { rotate: 4deg; }
.dz figcaption { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; padding-top: 0.75rem; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.dz figcaption b { font-weight: 600; }
.dz figcaption span { color: var(--muted); font-size: var(--t-xs); text-align: right; }
.art { position: relative; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--r-lg); overflow: hidden; padding: 9%; container-type: inline-size; transition: transform 0.6s var(--ease); }
@media (max-width: 900px) { .design-grid { grid-template-columns: minmax(0, 1fr); } .dz { max-width: 480px; } }

/* ---------- Content & digital ---------- */
.digital { padding-bottom: var(--section); overflow: hidden; }
.digital-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; align-items: start; }
.digital-text { grid-column: 1 / span 7; display: grid; gap: 1.1rem; align-content: start; }
.digital-text h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.digital-text > p:not(.label) { color: var(--ink-2); max-width: 50ch; }
.ticks { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; }
.ticks li { display: grid; grid-template-columns: 6.5rem minmax(0, 1fr); gap: 1rem; padding: 0.75rem 0; border-top: 1px solid var(--line); font-size: var(--t-sm); }
.ticks li:last-child { border-bottom: 1px solid var(--line); }
.ticks b { font-weight: 600; }
.ticks span { color: var(--muted); }
/* A real handset, floating over copper contour rings */
.phone-stage { grid-column: 8 / -1; position: relative; display: grid; place-items: center; padding: 2rem 0; }
.phone-stage::before {
  content: ""; position: absolute; left: 50%; top: 50%; width: 140%; aspect-ratio: 1; translate: -50% -50%; border-radius: 50%; pointer-events: none;
  background: repeating-radial-gradient(circle, rgba(232, 121, 63, 0.2) 0 1px, transparent 1px 36px);
  -webkit-mask: radial-gradient(circle, #000 20%, transparent 68%); mask: radial-gradient(circle, #000 20%, transparent 68%);
}
.phone {
  position: relative; z-index: 1; width: min(100%, 350px); padding: 11px; border-radius: 48px; background: #1A1A1D; border: 1px solid var(--line-2);
  box-shadow: 0 50px 90px -40px rgba(0, 0, 0, 0.9), inset 0 0 0 2px #0E0E10;
  rotate: -4deg; transition: rotate 0.7s var(--ease); animation: float 7s ease-in-out infinite;
}
.phone:hover { rotate: 0deg; }
.phone::before { content: ""; position: absolute; z-index: 2; left: 50%; top: 22px; width: 88px; height: 24px; margin-left: -44px; border-radius: 12px; background: #0A0A0B; }
@keyframes float { 50% { translate: 0 -12px; } }
.phone-screen { border-radius: 38px; background: #F4F1EA; color: #161615; padding: 3.4rem 1.3rem 1.3rem; display: flex; flex-direction: column; gap: 0.9rem; }
.phone-top { display: flex; justify-content: space-between; font-size: 0.8125rem; font-weight: 700; }
.phone-top span:last-child { color: #5F5E58; font-weight: 400; }
.cal { list-style: none; margin: 0; padding: 0; display: grid; }
.cal li { display: grid; grid-template-columns: 2.6rem minmax(0, 1fr); grid-template-rows: auto auto; gap: 0.2rem 0.6rem; padding: 0.7rem 0; border-top: 1px solid rgba(22, 22, 21, 0.12); }
.cal .d { grid-row: 1 / span 2; font-size: 0.75rem; font-weight: 600; color: #5F5E58; padding-top: 0.1rem; }
.cal .t { justify-self: start; font-size: 0.625rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; padding: 1px 6px; border-radius: 2px; }
.cal .reel { background: #FFE1D2; color: #9A3412; }
.cal .story { background: #DCE6F7; color: #1E3A8A; }
.cal .carousel { background: #E5EED6; color: #3F6212; }
.cal .ad { background: #F6E7C3; color: #854D0E; }
.cal .c { font-size: 0.875rem; line-height: 1.35; color: #2a2a28; }
.phone-foot { padding-top: 0.75rem; border-top: 1px solid rgba(22, 22, 21, 0.12); font-size: 0.75rem; color: #5F5E58; }
@media (max-width: 960px) {
  .digital-grid { grid-template-columns: minmax(0, 1fr); }
  .digital-text, .phone-stage { grid-column: auto; }
  .ticks li { grid-template-columns: minmax(0, 1fr); gap: 0.15rem; }
}

/* ---------- Process steps ---------- */
.steps-section { padding-bottom: var(--section); }
/* A timeline: one rule across all five steps, drawn in copper when the list scrolls in */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 2.25rem 1.75rem; }
.steps::before, .steps::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 1px; background: var(--line-2); }
.steps::after { background: var(--accent); transform-origin: left; transition: scale 2s var(--ease) 0.2s; }
.reveal-on .steps:not(.in)::after { scale: 0 1; }
.steps li { position: relative; display: grid; gap: 0.6rem; align-content: start; padding-top: 1.4rem; }
.steps li::before { content: ""; position: absolute; left: 0; top: -4px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 1px solid var(--accent); transition: background-color 0.3s; }
.steps li:hover::before { background: var(--accent); }
.step-n { font-family: var(--display); font-style: italic; font-weight: 300; font-stretch: 75%; font-size: 4.4rem; line-height: 0.9; letter-spacing: -0.04em; color: var(--accent-2); margin-bottom: 0.2rem; font-variant-numeric: tabular-nums; transition: translate 0.4s var(--ease); }
.steps li:hover .step-n { translate: 6px 0; }
.steps h3 { font-size: clamp(1.4rem, 1.8vw, 1.7rem); }
.steps p { font-size: var(--t-sm); color: var(--ink-2); }
@media (max-width: 1060px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps::before, .steps::after { display: none; }
  .steps li { border-top: 1px solid var(--line-2); }
}
@media (max-width: 560px) { .steps { grid-template-columns: minmax(0, 1fr); } }

/* ---------- FAQ ---------- */
.faq { padding-bottom: var(--section); }
.faq-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.faq-head { grid-column: 1 / span 4; display: grid; gap: 1rem; align-content: start; }
.faq-list { grid-column: 6 / -1; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; padding: 1.3rem 0; cursor: pointer; font-family: var(--display); font-weight: 550; font-stretch: 106%; font-size: clamp(1.05rem, 1.5vw, 1.3rem); letter-spacing: -0.015em; transition: color 0.2s; }
.faq summary:hover { color: var(--accent-2); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; border: 1px solid var(--line-2); font-size: 1.2rem; line-height: 1; transition: transform 0.3s var(--ease), border-color 0.3s, color 0.3s; }
.faq details[open] summary::after { transform: rotate(45deg); border-color: var(--accent); color: var(--accent); }
.faq details p { color: var(--ink-2); font-size: var(--t-sm); max-width: 62ch; padding: 0 3rem 1.4rem 0; }
@media (max-width: 900px) {
  .faq-grid { grid-template-columns: minmax(0, 1fr); }
  .faq-head, .faq-list { grid-column: auto; }
}

/* ---------- Booking ---------- */
.contact { padding-bottom: var(--section); }
.contact-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2rem; }
.contact-intro { grid-column: 1 / span 5; display: grid; gap: 1.1rem; align-content: start; padding-right: 1rem; }
.contact-intro h2 { font-size: clamp(2rem, 3.8vw, 3.4rem); }
.contact-intro > p:not(.label):not(.contact-meta) { color: var(--ink-2); }
.contact-line { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1rem; margin-top: 0.5rem; }
.contact-email { font-family: var(--display); font-weight: 600; font-stretch: 108%; font-size: clamp(1.3rem, 2.2vw, 1.8rem); letter-spacing: -0.02em; user-select: all; overflow-wrap: anywhere; }
.contact-meta { font-size: var(--t-sm); color: var(--muted); }
.form { grid-column: 6 / -1; display: grid; gap: 1rem; padding: clamp(1.1rem, 2.5vw, 1.75rem); border-radius: var(--r-xl); background: var(--card); border: 1px solid var(--line); border-top: 2px solid var(--accent); }
.form-top { display: flex; justify-content: space-between; gap: 1rem; padding-bottom: 0.9rem; border-bottom: 1px solid var(--line); font-size: 0.6875rem; font-weight: 600; line-height: 1; letter-spacing: 0.18em; text-transform: uppercase; color: var(--accent-2); font-variant-numeric: tabular-nums; }
.form-top span:last-child { color: var(--muted); }
.row-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.field { display: grid; gap: 0.4rem; min-width: 0; }
.field label { font-size: var(--t-xs); font-weight: 500; color: var(--ink-2); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 0.7rem 0.95rem; border-radius: var(--r-md); border: 1px solid var(--line);
  background: var(--card-2); color: var(--ink); font: 400 var(--t-md)/1.4 var(--sans); transition: border-color 0.2s, box-shadow 0.2s;
}
.field select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 2.2rem;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 18px) 52%, calc(100% - 13px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }
.field select option { background: var(--card-2); color: var(--ink); }
.field textarea { resize: vertical; min-height: 120px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent); }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); }
.field [aria-invalid="true"] { border-color: var(--error); }
.err { font-size: var(--t-xs); color: var(--error); }
.err:empty { display: none; }
.light-note { padding: 1rem 1.1rem 0.6rem; border-radius: var(--r-md); background: var(--card-2); border: 1px solid var(--line); display: grid; gap: 0.7rem; }
.light-head { font-size: var(--t-sm); color: var(--ink-2); }
.light-head strong { color: var(--accent-2); font-weight: 600; }
.light-times { margin: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.light-times dt { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); }
.light-times dd { margin: 0.2rem 0 0; font-variant-numeric: tabular-nums; font-size: var(--t-sm); font-weight: 500; }
.light-arc { width: 100%; height: auto; display: block; }
.light-arc .horizon { stroke: var(--line-2); stroke-width: 1; }
.light-arc .curve { fill: none; stroke: var(--ink); stroke-width: 1.5; }
.light-arc .gold { fill: var(--accent); opacity: 0.3; }
.light-arc .tick { fill: var(--muted); font-family: var(--sans); font-size: 10px; }
.light-arc .sun { fill: var(--accent-2); filter: drop-shadow(0 0 6px var(--accent)); }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form-status { font-size: var(--t-sm); color: var(--ink-2); max-width: 46ch; outline: none; }
.form-status.ok::before { content: "✓ "; color: var(--accent-2); }
@media (max-width: 960px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .contact-intro, .form { grid-column: auto; }
}
@media (max-width: 560px) {
  .row-2 { grid-template-columns: minmax(0, 1fr); }
  .light-times { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* ---------- Footer ---------- */
.site-footer { overflow: hidden; }
.footer-cta {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem 2rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0; border-top: 1px solid var(--line-2); border-bottom: 1px solid var(--line); margin-bottom: clamp(3rem, 6vw, 4.5rem);
}
.footer-lede { font-family: var(--display); font-weight: 750; font-stretch: 118%; font-size: clamp(2.2rem, 5.4vw, 4.8rem); line-height: 0.95; letter-spacing: -0.05em; }
.footer-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem 2rem; }
.footer-col { display: grid; gap: 0.6rem; align-content: start; font-size: var(--t-sm); grid-column: span 2; }
.footer-svc { grid-column: 6 / span 4; }
.footer-nav { grid-column: 11 / span 2; }
.footer-nav a { text-decoration: none; color: var(--ink-2); }
.footer-nav a:hover { color: var(--accent-2); }
.footer-muted { color: var(--muted); }
/* The name, as wide as the page (main.js sizes it). Copper sweeps across it on hover. */
.footer-mark { margin: clamp(3rem, 7vw, 5.5rem) 0 0; white-space: nowrap; font-family: var(--display); font-weight: 800; font-stretch: 125%; line-height: 0.82; letter-spacing: -0.06em; user-select: none; }
.footer-mark span {
  display: inline-block; padding: 0 0.04em 0.06em 0;
  background: linear-gradient(100deg, #A9532A 0%, #E8793F 12%, #FFD3AE 22%, #E8793F 32%, #2C2C31 46%, #1C1C20 100%);
  background-size: 260% 100%; background-position: 100% 0; -webkit-background-clip: text; background-clip: text; color: transparent;
  transition: background-position 1.6s var(--ease);
}
.footer-mark:hover span { background-position: 0% 0; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 0.75rem 2rem; margin-top: clamp(1.5rem, 3vw, 2.5rem); padding-block: 1.25rem; border-top: 1px solid var(--line); font-size: var(--t-xs); color: var(--muted); }
.footer-base a { text-decoration: none; }
.footer-base a:hover { color: var(--ink); }
@media (max-width: 860px) {
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-col, .footer-svc, .footer-nav { grid-column: auto; }
  .footer-svc { grid-column: 1 / -1; }
}

/* ---------- Film grain over everything ---------- */
.grain { position: fixed; inset: 0; z-index: 90; overflow: hidden; pointer-events: none; }
.grain::before {
  content: ""; position: absolute; inset: -60px; opacity: 0.08;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.6 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 0.8s steps(4) infinite;
}
@keyframes grain { 25% { transform: translate(-28px, 18px); } 50% { transform: translate(22px, -34px); } 75% { transform: translate(-40px, -12px); } }
@media (hover: none) { .grain::before { animation: none; } }
.cms-open .grain { display: none; }

/* ---------- View cursor ---------- */
.cursor { display: none; }
@media (hover: hover) and (pointer: fine) {
  .cursor { display: block; position: fixed; left: 0; top: 0; z-index: 160; pointer-events: none; will-change: transform; }
  .cursor span {
    display: grid; place-items: center; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%;
    background: var(--accent); color: var(--on-accent); font-size: 0.6875rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase;
    transform: scale(0); transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  .cursor.on span { transform: scale(1); }
  .has-cursor [data-cursor], .has-cursor [data-cursor] * { cursor: none; }
}

/* ---------- Viewer ---------- */
.viewer {
  position: fixed; inset: 0; z-index: 200; background: rgba(6, 6, 7, 0.97); color: var(--photo-ink);
  display: grid; grid-template-rows: auto minmax(0, 1fr) auto;
  padding: env(safe-area-inset-top, 0px) env(safe-area-inset-right, 0px) env(safe-area-inset-bottom, 0px) env(safe-area-inset-left, 0px);
  animation: fade 0.3s var(--ease);
}
.viewer-top { display: flex; align-items: center; gap: 0.5rem; padding: 0 max(16px, 2vw); min-height: 68px; }
.viewer-count { flex: 1; font-size: var(--t-xs); letter-spacing: 0.08em; color: rgba(247, 245, 240, 0.6); font-variant-numeric: tabular-nums; }
.viewer-btn { min-height: 40px; padding: 0 1rem; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.14); background: rgba(255, 255, 255, 0.06); font-size: var(--t-sm); cursor: pointer; }
.viewer-btn:hover { background: rgba(255, 255, 255, 0.12); }
.viewer-btn[aria-pressed="true"] { background: var(--photo-ink); color: #111; }
.viewer-stage { position: relative; display: grid; place-items: center; min-height: 0; padding: 0 max(76px, 6vw); overflow: hidden; }
.viewer-stage img { max-width: 100%; max-height: 100%; object-fit: contain; border-radius: var(--r-lg); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease); cursor: zoom-in; }
.viewer-stage.zoom img { transform: scale(2.1); cursor: zoom-out; border-radius: 0; }
.viewer.details-open .viewer-stage, .viewer.details-open .viewer-bottom { margin-right: min(380px, 100%); }
.viewer-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; display: grid; place-items: center; border-radius: 50%; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); cursor: pointer; color: var(--photo-ink); transition: background-color 0.2s; }
.viewer-arrow:hover { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.viewer-arrow svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.viewer-arrow.prev { left: max(12px, 1vw); } .viewer-arrow.next { right: max(12px, 1vw); }
.viewer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0.75rem 2rem; padding: 1rem max(16px, 2vw) 1.4rem; }
.viewer-title h2 { font-size: clamp(1.4rem, 2.4vw, 2rem); }
.viewer-title p { font-size: var(--t-sm); color: rgba(247, 245, 240, 0.7); margin-top: 0.3rem; }
.viewer-watch { padding: 0.75rem 1.25rem; border-radius: 3px; background: var(--grad); color: var(--on-accent); text-decoration: none; font-size: var(--t-sm); font-weight: 600; }
.viewer-details {
  position: absolute; right: 12px; top: 68px; bottom: 12px; width: min(360px, calc(100% - 24px)); padding: 1.5rem;
  border-radius: var(--r-xl); background: #18181A; border: 1px solid rgba(255, 255, 255, 0.1);
  overflow-y: auto; display: grid; gap: 1.1rem; align-content: start;
}
.viewer-series { justify-self: start; padding: 0.3rem 0.75rem; border-radius: 3px; border: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.6875rem; letter-spacing: 0.08em; text-transform: uppercase; color: rgba(247, 245, 240, 0.8); }
.viewer-note { font-size: 1.05rem; line-height: 1.55; color: rgba(247, 245, 240, 0.9); }
.viewer-dl { margin: 0; display: grid; }
.viewer-dl div { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 0; border-top: 1px solid rgba(255, 255, 255, 0.1); font-size: var(--t-sm); }
.viewer-dl dt { color: rgba(247, 245, 240, 0.55); }
.viewer-dl dd { margin: 0; text-align: right; }
@media (max-width: 720px) {
  .viewer.details-open .viewer-stage, .viewer.details-open .viewer-bottom { margin-right: 0; }
  .viewer-stage { padding: 0 8px; }
  .viewer-arrow { top: auto; bottom: 10px; transform: none; background: rgba(10, 10, 10, 0.6); }
  .viewer-details { top: auto; max-height: 55%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .band-track { animation: none; width: auto; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter) var(--gutter-r); }
  .band-run { flex: 1 1 auto; flex-wrap: wrap; row-gap: 0.2rem; }
  .band-dup { display: none; }
  .band-item, .band-item.o { font-size: clamp(1.3rem, 3vw, 2.4rem); }
  .grain::before, .phone { animation: none; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

/* ---------- Content-driven extras ---------- */
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.contact-list { list-style: none; margin: 0.5rem 0 0; padding: 0; display: grid; gap: 6px; }
.contact-list li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.7rem 1rem; border-radius: var(--r-md); background: var(--card); border: 1px solid var(--line); font-size: var(--t-sm); }
.contact-list span { color: var(--muted); }
.contact-list b { font-weight: 500; text-align: right; }
.contact-list a { color: var(--accent-2); text-decoration: none; font-weight: 500; }
.socials { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 0.4rem; }
.socials a { padding: 0.3rem 0.75rem; border-radius: 3px; border: 1px solid var(--line-2); font-size: var(--t-xs); text-decoration: none; color: var(--ink-2); }
.socials a:hover { color: var(--on-accent); background: var(--grad); border-color: transparent; }
.footer-links { display: flex; gap: 1.25rem; }
.admin-link { opacity: 0.6; }
.art-img { padding: 0; background: var(--card-2); }
.art-img img { width: 100%; height: 100%; object-fit: cover; }
