/* Woertink Digital Agency, shared styles.
   Palette taken from the official site (woertinkdigitalagency.nl theme presets).
   Motion lives in assets/js/motion.js; everything here renders fine without it. */

@font-face {
  font-family: "Archivo";
  src: url("../fonts/archivo-var.woff2") format("woff2");
  font-weight: 600 800;
  font-stretch: 100% 125%;
  font-display: swap;
}
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-500.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("../fonts/poppins-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  /* Official colours */
  --ink: #0A0C11;          /* background */
  --ink-2: #12151c;        /* raised surface, derived from --ink */
  --ink-3: #1a1e27;
  --line: #323438;         /* border-default-color */
  --text: #ffffff;         /* foreground */
  --muted: #abadb3;        /* body-text */
  --primary: #2292b1;      /* primary */
  --patrick: #1b3385;      /* patrick-blue */
  --teal: #25c5c9;         /* blue-green */
  --paper: #fbfbfb;        /* color-light */
  --ice: #8ccbff;          /* top of the logo's globe gradient */

  --gradient: linear-gradient(100deg, var(--primary) 0%, var(--teal) 100%);

  --font-display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --font-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

  --fs-display: clamp(2.75rem, 7vw, 5.5rem);
  --fs-h1: clamp(2rem, 3.6vw, 3.1rem);
  --fs-h2: clamp(1.5rem, 2.4vw, 2.15rem);
  --fs-h3: clamp(1.075rem, 1.3vw, 1.2rem);
  --fs-lead: clamp(1rem, 1.1vw, 1.125rem);
  --fs-body: 1rem;
  --fs-small: 0.9rem;

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 1180px;
  --section: clamp(3.5rem, 7vw, 6rem);
  --header-h: 68px;

  /* Radius system: pill for controls, 14px for media and panels, 6px for small surfaces */
  --radius-s: 6px;
  --radius-m: 14px;
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --ease-spring: cubic-bezier(.34, 1.56, .64, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }

body {
  margin: 0;
  background: var(--ink);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
::selection { background: var(--patrick); color: var(--text); }
:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; border-radius: 2px; }

.icon { width: 1.15em; height: 1.15em; flex: none; fill: currentColor; }

h1, h2, h3, h4 {
  color: var(--text);
  font-family: var(--font-display);
  font-stretch: 112%;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h3 { font-stretch: 105%; font-size: var(--fs-h3); line-height: 1.2; letter-spacing: -0.01em; }
p { margin: 0; max-width: 62ch; text-wrap: pretty; }
p + p { margin-top: 1em; }

.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }
.section--tight { padding-block: calc(var(--section) * .6); }
.section--rule { border-top: 1px solid var(--line); }
.lead { font-size: var(--fs-lead); color: var(--muted); line-height: 1.6; }
.h2 { font-size: var(--fs-h2); }
.display { font-size: var(--fs-display); line-height: .9; letter-spacing: -0.04em; }

.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 1rem; top: -100px; z-index: 200;
  background: var(--paper); color: var(--ink); padding: .75rem 1rem; border-radius: var(--radius-s);
  font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

/* ---------- Motion states (set by the inline head script; motion.js removes them) ---------- */
.motion [data-split], .motion [data-reveal], .motion [data-stagger] > *, .motion [data-clip],
.motion .hero__title .line__in, .motion .hero__row, .motion .viewfinder, .motion [data-steps] > li { visibility: hidden; }
.motion-ready [data-split], .motion-ready [data-reveal], .motion-ready [data-stagger] > *, .motion-ready [data-clip],
.motion-ready .hero__title .line__in, .motion-ready .hero__row, .motion-ready .viewfinder, .motion-ready [data-steps] > li { visibility: visible; }
.line { display: block; overflow: hidden; padding-bottom: .08em; margin-bottom: -.08em; }
.line__in { display: block; will-change: transform; }

/* Cross-document page transitions (Chrome, Edge, Safari 18+); other browsers just navigate. */
@view-transition { navigation: auto; }
::view-transition-old(root) { animation: vt-out .35s var(--ease-out) both; }
::view-transition-new(root) { animation: vt-in .55s var(--ease-out) both; }
.site-header { view-transition-name: header; }
@keyframes vt-out { to { opacity: 0; transform: translateY(-24px); filter: blur(4px); } }
@keyframes vt-in { from { opacity: 0; transform: translateY(32px); } }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-old(root), ::view-transition-new(root) { animation: none; }
}

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden; isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: .6rem;
  min-height: 44px; padding: .65rem 1.2rem;
  border-radius: 999px; border: 1px solid transparent;
  font: 600 .925rem/1 var(--font-body); white-space: nowrap;
  text-decoration: none; cursor: pointer; background: transparent; color: var(--text);
  transition: border-color .25s, color .25s, transform .2s var(--ease-out);
  touch-action: manipulation;
}
.btn > * { position: relative; z-index: 1; }
.btn:active { transform: scale(.97); }
.btn .icon { width: 16px; height: 16px; }
.btn--primary { background: var(--gradient); color: var(--ink); }
/* Fill wipes in from below on hover: feedback that the button is live */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: 0; border-radius: inherit;
  transform: translateY(101%); transition: transform .45s var(--ease-out);
}
.btn--primary::before { background: linear-gradient(100deg, #6fe0e3, var(--ice)); }
.btn--ghost { border-color: var(--line); }
.btn--ghost::before { background: var(--ink-3); }
.btn--ghost:hover { border-color: var(--primary); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light::before { background: var(--teal); }
.btn:hover::before { transform: translateY(0); }

.text-link {
  color: var(--text); font-weight: 500; text-decoration: none;
  background: linear-gradient(var(--teal), var(--teal)) left bottom / 100% 2px no-repeat;
  padding-bottom: 3px; transition: background-size .35s var(--ease-out), color .2s;
}
.text-link:hover { color: var(--teal); background-size: 0% 2px; background-position: right bottom; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 12, 17, .82);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, transform .45s var(--ease-out);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header.is-hidden { transform: translateY(-100%); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: var(--header-h); }

.brand { display: inline-flex; align-items: center; text-decoration: none; flex: none; }
.brand img { width: 140px; height: auto; }

.nav { display: flex; align-items: center; gap: .25rem; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: .15rem; }
.nav a:not(.btn) {
  position: relative; display: inline-flex; align-items: center; min-height: 44px; padding: 0 .85rem;
  color: var(--muted); text-decoration: none; font-weight: 500; font-size: .925rem; transition: color .2s;
}
.nav a:not(.btn)::after {
  content: ""; position: absolute; left: .85rem; right: .85rem; bottom: 8px; height: 2px; background: var(--teal);
  transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease-out);
}
.nav a:not(.btn):hover { color: var(--text); }
.nav a:not(.btn):hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--text); }
.nav .btn { margin-left: .75rem; min-height: 40px; padding-inline: 1rem; font-size: .875rem; }

.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 999px;
  background: transparent; border: 1px solid var(--line); color: var(--text); cursor: pointer;
  align-items: center; justify-content: center;
}
.nav-toggle .icon { width: 22px; height: 22px; }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

@media (max-width: 1020px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; z-index: 49; height: calc(100dvh - var(--header-h));
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0;
    padding: 1rem var(--gutter) 2rem; background: var(--ink); overflow-y: auto;
    clip-path: inset(0 0 100% 0); visibility: hidden;
    transition: clip-path .5s var(--ease-out), visibility 0s linear .5s;
  }
  .nav.is-open { clip-path: inset(0 0 0 0); visibility: visible; transition: clip-path .55s var(--ease-out); }
  .nav ul { flex-direction: column; gap: 0; }
  .nav a:not(.btn) {
    display: flex; min-height: 56px; padding: 0; border-bottom: 1px solid var(--line);
    font-family: var(--font-display); font-stretch: 105%; font-weight: 700; font-size: 1.3rem; color: var(--text);
  }
  .nav a:not(.btn)::after { display: none; }
  .nav a:not(.btn):hover, .nav a[aria-current="page"] { color: var(--teal); }
  .nav .btn { margin: 1.75rem 0 0; }
  .nav li { opacity: 0; transform: translateY(16px); transition: opacity .3s, transform .5s var(--ease-out); }
  .nav.is-open li { opacity: 1; transform: none; }
  .nav.is-open li:nth-child(2) { transition-delay: .04s; } .nav.is-open li:nth-child(3) { transition-delay: .08s; }
  .nav.is-open li:nth-child(4) { transition-delay: .12s; } .nav.is-open li:nth-child(5) { transition-delay: .16s; }
}
@media (prefers-reduced-motion: reduce) { .nav, .nav li { transition: none !important; } }

/* ---------- Intro bumper (motion graphic, homepage, once per session) ---------- */
.intro {
  position: fixed; inset: 0; z-index: 300; background: var(--ink);
  display: grid; place-items: center; cursor: pointer;
}
.intro__stage { display: grid; justify-items: center; gap: 1.5rem; }
.intro__globe { width: clamp(96px, 12vw, 140px); height: auto; overflow: visible; }
.intro__word { width: clamp(200px, 22vw, 280px); }
.intro__skip {
  position: absolute; right: var(--gutter); bottom: 2rem; background: none; border: 1px solid var(--line);
  color: var(--muted); border-radius: 999px; min-height: 40px; padding: 0 1rem; font: 500 .875rem var(--font-body); cursor: pointer;
}
.intro__skip:hover { color: var(--text); border-color: var(--teal); }

/* ---------- Globe motion graphic (built in motion.js from the logo's mark) ---------- */
.globe { display: block; width: 100%; height: auto; overflow: visible; }

/* ---------- Home hero: viewfinder ---------- */
.hero { padding-top: clamp(2rem, 5vw, 4rem); }
.viewfinder { position: relative; aspect-ratio: 16 / 9; max-height: 62vh; width: 100%; border-radius: var(--radius-m); overflow: hidden; background: #000; }
.viewfinder__media { position: absolute; inset: 0; will-change: transform; }
.viewfinder video, .viewfinder__media > img { width: 100%; height: 100%; object-fit: cover; }
.viewfinder::after {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: linear-gradient(180deg, rgba(10,12,17,.4) 0%, rgba(10,12,17,0) 24%);
}
.viewfinder--page { aspect-ratio: 16 / 10; max-height: none; }
.viewfinder--page::after { background: linear-gradient(180deg, rgba(10,12,17,.35) 0%, rgba(10,12,17,0) 25%); }

.crop { position: absolute; width: clamp(18px, 2vw, 28px); aspect-ratio: 1; z-index: 2; pointer-events: none; border: 0 solid var(--teal); }
.crop--tl { top: 18px; left: 18px; border-top-width: 2px; border-left-width: 2px; }
.crop--tr { top: 18px; right: 18px; border-top-width: 2px; border-right-width: 2px; }
.crop--bl { bottom: 18px; left: 18px; border-bottom-width: 2px; border-left-width: 2px; }
.crop--br { bottom: 18px; right: 18px; border-bottom-width: 2px; border-right-width: 2px; }

/* REC + running timecode, synced to the video (motion graphic) */
.rec {
  position: absolute; z-index: 3; top: 20px; left: calc(18px + clamp(18px, 2vw, 28px) + 10px);
  display: inline-flex; align-items: center; gap: .6rem; color: var(--text);
  font: 500 .78rem/1 var(--font-body); font-variant-numeric: tabular-nums; letter-spacing: .02em;
  text-shadow: 0 1px 6px rgba(0,0,0,.5);
}
.rec__dot { width: 8px; height: 8px; border-radius: 50%; background: #ff4d4f; box-shadow: 0 0 0 3px rgba(255,77,79,.25); }
.rec.is-paused .rec__dot { background: var(--muted); box-shadow: none; animation: none; }
@media (prefers-reduced-motion: no-preference) { .rec__dot { animation: blink 1.2s steps(2, jump-none) infinite; } }
@keyframes blink { 50% { opacity: .25; } }
.rec__bar { position: absolute; z-index: 3; left: 0; bottom: 0; height: 2px; width: 100%; background: var(--gradient); transform-origin: left; transform: scaleX(0); }

.reel-controls { position: absolute; top: 14px; right: calc(18px + clamp(18px, 2vw, 28px) + 8px); z-index: 3; display: flex; gap: .5rem; }
.reel-btn {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 34px; padding: 0 .75rem;
  border-radius: 999px; border: 1px solid rgba(255,255,255,.28);
  background: rgba(10,12,17,.55); color: var(--text); font: 500 .8rem/1 var(--font-body);
  cursor: pointer; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); transition: border-color .2s;
}
.reel-btn:hover { border-color: var(--teal); }
.reel-btn .icon { width: 14px; height: 14px; }
.reel-btn .i-play, .reel-btn .i-sound { display: none; }
.reel-btn[aria-pressed="true"] .i-pause, .reel-btn[aria-pressed="true"] .i-muted { display: none; }
.reel-btn[aria-pressed="true"] .i-play, .reel-btn[aria-pressed="true"] .i-sound { display: block; }

.hero__text { margin-bottom: clamp(1.75rem, 3.5vw, 2.75rem); }
.hero__title { font-size: clamp(2rem, 4.2vw, 3.6rem); line-height: 1.04; letter-spacing: -0.025em; }
@media (min-width: 761px) { .hero__title .line__in { white-space: nowrap; } }
.hero__row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1.25rem 3rem; align-items: center; margin-top: clamp(1.25rem, 2vw, 1.75rem); }
.hero__row .lead { max-width: 46ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
@media (max-width: 760px) {
  .hero__row { grid-template-columns: 1fr; }
  .viewfinder { border-radius: var(--radius-s); }
  .reel-controls { top: 12px; right: 12px; }
  .reel-btn [data-label] { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .reel-btn { width: 36px; padding: 0; justify-content: center; }
  .crop--tr { display: none; }
  .rec { top: 22px; left: 24px; }
  .crop--tl { display: none; }
}

/* ---------- Intro split + contact sheet ---------- */
.split { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2rem, 6vw, 6rem); align-items: start; }
.split > .stack > * + * { margin-top: 1.25rem; }
@media (min-width: 861px) { .sticky-col { position: sticky; top: calc(var(--header-h) + 2rem); } }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }

.contact-sheet { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; }
.contact-sheet figure { margin: 0; overflow: hidden; border-radius: var(--radius-s); background: var(--ink-2); }
.contact-sheet img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 16/10; transform: scale(1.12); }
.contact-sheet figure:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.contact-sheet figure:nth-child(1) img { aspect-ratio: auto; }
.contact-sheet figure:nth-child(2), .contact-sheet figure:nth-child(3) { grid-column: span 2; }
.contact-sheet figure:nth-child(4), .contact-sheet figure:nth-child(5) { grid-column: span 3; }

.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.checks li { position: relative; padding-left: 2rem; color: var(--text); }
.checks li::before {
  content: ""; position: absolute; left: 0; top: .32em; width: 1.15rem; height: 1.15rem; border-radius: 50%;
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230A0C11' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 72% no-repeat;
}
.checks--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.1rem 2.5rem; }
@media (max-width: 640px) { .checks--2 { grid-template-columns: 1fr; } }

/* ---------- Section head: headline with its explainer stacked below ---------- */
.section-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); max-width: 60ch; }
.section-head > * + * { margin-top: 1rem; }

/* ---------- Services index ---------- */
.services { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.service {
  position: relative; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: center;
  padding: clamp(1.1rem, 1.8vw, 1.5rem) clamp(.5rem, 1.2vw, 1rem);
  border-bottom: 1px solid var(--line); text-decoration: none; color: var(--muted); overflow: hidden;
}
/* A gradient wash rises from the bottom of the hovered row */
.service::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(0deg, rgba(34,146,177,.18), rgba(34,146,177,0));
  transform: scaleY(0); transform-origin: bottom; transition: transform .5s var(--ease-out);
}
.service:hover::before, .service:focus-visible::before { transform: scaleY(1); }
.service__name {
  font-family: var(--font-display); font-stretch: 100%; font-weight: 700; font-size: clamp(1.3rem, 2.2vw, 1.85rem);
  color: var(--text); line-height: 1.05; letter-spacing: -0.02em;
  transition: font-stretch .6s var(--ease-out), color .3s, letter-spacing .6s var(--ease-out);
}
/* Signature: the wide WOERTINK wordmark width is the hover state */
.service:hover .service__name, .service:focus-visible .service__name { font-stretch: 112%; color: var(--teal); }
.service__go {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--text);
  transition: background-color .3s, border-color .3s, color .3s, transform .5s var(--ease-spring);
}
.service__go .icon { width: 16px; height: 16px; }
.service:hover .service__go { background: var(--gradient); border-color: transparent; color: var(--ink); transform: rotate(45deg); }
@media (max-width: 760px) {
  .service { grid-template-columns: 1fr auto; }
  .service__desc { grid-column: 1 / -1; grid-row: 2; }
  .service__go { width: 36px; height: 36px; }
}

/* ---------- Process timeline (the steps are a real sequence) ---------- */
.timeline { position: relative; margin-top: clamp(2rem, 4vw, 3rem); }
.timeline__ruler {
  height: 28px; border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, var(--line) 1px, transparent 1px), linear-gradient(90deg, rgba(50,52,56,.55) 1px, transparent 1px);
  background-size: 25% 100%, 5% 40%; background-position: 0 0, 0 100%; background-repeat: repeat-x;
}
.timeline__track { list-style: none; margin: 14px 0 0; padding: 0; display: grid; grid-template-columns: 2fr 3fr 4fr 3fr; gap: 6px; }
.clip {
  position: relative; padding: 1.15rem 1.1rem 1.25rem; border-radius: var(--radius-s); min-height: 160px; overflow: hidden;
  background: rgba(34,146,177,.06); border: 1px solid rgba(34,146,177,.28); border-left: 3px solid var(--primary);
  transition: background-color .4s, border-color .4s;
}
/* "Rendered" fill that the playhead drives */
.clip::before {
  content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(37,197,201,.22), rgba(34,146,177,.08));
  transform: scaleX(var(--fill, 0)); transform-origin: left;
}
.clip { isolation: isolate; }
.clip.is-active { border-color: rgba(37,197,201,.6); border-left-color: var(--teal); }
.clip h3 { margin-bottom: .6rem; }
.clip p { font-size: var(--fs-small); line-height: 1.6; }
.playhead { position: absolute; top: 0; bottom: 0; left: 0; width: 2px; background: var(--teal); z-index: 2; pointer-events: none; will-change: transform; }
.playhead::before { content: ""; position: absolute; top: 0; left: -6px; width: 14px; height: 12px; background: var(--teal); clip-path: polygon(0 0, 100% 0, 50% 100%); }
@media (max-width: 860px) {
  .timeline__ruler, .playhead { display: none; }
  .timeline__track { grid-template-columns: 1fr; }
  .clip { min-height: 0; --fill: 1; }
}

/* ---------- Full-bleed film feature ---------- */
.feature { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(1.75rem, 5vw, 4.5rem); align-items: center; }
.feature__media { position: relative; display: block; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 16/9; background: #000; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.feature__media:hover img { opacity: .85; }
.play-badge {
  position: absolute; left: 50%; top: 50%; translate: -50% -50%; width: 64px; aspect-ratio: 1; border-radius: 50%;
  background: var(--gradient); color: var(--ink); display: grid; place-items: center; transition: transform .3s var(--ease-out);
}
.play-badge .icon { width: 40%; height: 40%; margin-left: 6%; }
.feature__media:hover .play-badge { transform: scale(1.08); }
.feature__body > * + * { margin-top: 1.1rem; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }
.credit { font-size: var(--fs-small); }
.credit strong { color: var(--text); font-weight: 500; }

/* ---------- Clients: compact logo strip, same tile for every logo ---------- */
.clients-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.5rem 3rem; align-items: center; }
.clients-band__text p { margin-top: .5rem; font-size: var(--fs-small); max-width: 32ch; }
.h3 { font-size: var(--fs-h3); }
.clients { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.clients a, .clients__tile {
  display: grid; place-items: center; height: 88px; padding: .75rem 1.25rem; border-radius: var(--radius-s);
  background: var(--paper); text-decoration: none; transition: box-shadow .25s, transform .25s var(--ease-out);
}
.clients img { max-height: 56px; max-width: 100%; width: auto; object-fit: contain; transition: filter .3s, opacity .3s; }
/* This logo is white-on-transparent, so it is inverted to read on the light tile */
.clients img.is-light-logo { filter: invert(1); }
.clients a:hover, .clients a:focus-visible { transform: translateY(-2px); box-shadow: 0 0 0 2px var(--primary); }
/* With a mouse the logos rest in grey and come to colour on hover; touch screens always show colour */
@media (hover: hover) and (pointer: fine) {
  .clients img { filter: grayscale(1); opacity: .7; }
  .clients img.is-light-logo { filter: invert(1) grayscale(1); }
  .clients a:hover img, .clients a:focus-visible img, .clients__tile:hover img { filter: none; opacity: 1; }
  .clients a:hover img.is-light-logo, .clients a:focus-visible img.is-light-logo { filter: invert(1); }
}
@media (max-width: 860px) { .clients-band { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .clients { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .clients a, .clients__tile { height: 72px; padding: .6rem .8rem; } .clients img { max-height: 44px; } }

/* ---------- CTA band with live globe ---------- */
.cta {
  position: relative; overflow: hidden; border-radius: var(--radius-m); isolation: isolate;
  padding: clamp(2rem, 4.5vw, 3.5rem) clamp(1.5rem, 4vw, 3.5rem);
  background: linear-gradient(120deg, var(--patrick) 0%, #142665 60%, #0f1b46 100%);
  display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr) clamp(110px, 12vw, 150px); gap: 2rem 3.5rem; align-items: center;
}
/* Spotlight follows the pointer: --mx/--my are set by motion.js */
.cta::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(420px circle at var(--mx, 85%) var(--my, 10%), rgba(37,197,201,.22), rgba(37,197,201,0) 60%);
}
.cta__globe { grid-column: 3; grid-row: 1; width: 100%; pointer-events: none; }
.cta h2 { font-size: var(--fs-h2); max-width: 18ch; }
.cta p { color: #d6dcf0; margin-top: 1rem; }
.cta__contact { display: grid; gap: .75rem; justify-items: start; }
.cta__line { color: var(--text); font-weight: 500; text-decoration: none; font-size: 1rem; display: inline-flex; align-items: center; gap: .65rem; min-height: 44px; }
.cta__line:hover { color: var(--teal); }
.cta__line .icon { width: 20px; height: 20px; color: var(--teal); }
.cta .btn { margin-top: .5rem; }
@media (max-width: 1000px) { .cta { grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); } .cta__globe { display: none; } }
@media (max-width: 760px) { .cta { grid-template-columns: 1fr; } }

/* ---------- Page hero (subpages) ---------- */
.page-hero { padding-top: clamp(2rem, 4.5vw, 3.75rem); padding-bottom: clamp(2rem, 4.5vw, 3.75rem); }
.page-hero__grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: clamp(2rem, 5vw, 5rem); align-items: center; }
.page-hero h1 { font-size: var(--fs-h1); max-width: 16ch; }
.page-hero h1.display { font-size: var(--fs-display); max-width: none; }
.page-hero .lead { margin-top: 1.5rem; }
.page-hero .hero__actions { margin-top: 2rem; }
.crumb { display: inline-flex; gap: .5rem; align-items: center; margin-bottom: 1.5rem; font-size: var(--fs-small); }
.crumb a { text-decoration: none; }
.crumb a:hover { color: var(--text); }
.crumb .icon { width: 14px; height: 14px; opacity: .6; }
@media (max-width: 860px) { .page-hero__grid { grid-template-columns: 1fr; } }

/* Browser frame around a real screenshot */
.frame-browser { margin: 0; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; transform-style: preserve-3d; }
.frame-browser__bar { display: flex; align-items: center; gap: 6px; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.frame-browser__bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--line); }
.frame-browser__url { margin-left: 10px; flex: 1; height: 24px; border-radius: 999px; background: var(--ink-3); display: flex; align-items: center; padding: 0 12px; font-size: .78rem; overflow: hidden; white-space: nowrap; }
.frame-browser img { width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.frame-browser figcaption, .shop-demo figcaption { padding: .85rem 1rem; font-size: .875rem; border-top: 1px solid var(--line); }

/* Working mini product page (webshop) */
.shop-demo { margin: 0; border-radius: var(--radius-m); border: 1px solid var(--line); background: var(--ink-2); overflow: hidden; }
.shop-demo__media { aspect-ratio: 16/10; overflow: hidden; }
.shop-demo__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.shop-demo__body { padding: 1.25rem; display: grid; gap: 1rem; }
.shop-demo__top { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; flex-wrap: wrap; }
.shop-demo__title { font-size: 1.3rem; font-stretch: 112%; }
.shop-demo__cart { font-size: .875rem; }
.shop-demo__cart [data-cart-count] { display: inline-grid; place-items: center; min-width: 1.6rem; height: 1.6rem; border-radius: 999px; background: var(--ink-3); color: var(--text); font-weight: 600; font-variant-numeric: tabular-nums; }
.shop-demo__price { color: var(--text); font-weight: 600; font-size: 1.15rem; }
.shop-demo__sizes { border: 0; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.shop-demo__sizes legend { float: left; margin-right: .75rem; font-size: .9rem; }
.shop-demo__sizes label { position: relative; }
.shop-demo__sizes input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.shop-demo__sizes span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 .5rem; border-radius: var(--radius-s); border: 1px solid var(--line); color: var(--text); font-weight: 500; transition: border-color .2s, background-color .2s; }
.shop-demo__sizes input:checked + span { border-color: var(--teal); background: rgba(37,197,201,.12); }
.shop-demo__sizes input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.shop-demo__add.is-added { background: var(--paper); }

/* ---------- iPhone 14-style device (social) ---------- */
.device-wrap { margin: 0; display: grid; justify-items: center; gap: 1rem; }
.device-wrap figcaption { font-size: .875rem; text-align: center; max-width: 30ch; }
.iphone {
  --w: min(290px, 78vw);
  position: relative; width: var(--w); aspect-ratio: 71.5 / 146.7;
  border-radius: calc(var(--w) * .165); padding: calc(var(--w) * .038);
  background: #0b0c0f;
  /* Aluminium band around the glass */
  box-shadow: 0 0 0 2px #3a3f48, 0 0 0 3px #1c1f25, 0 30px 70px rgba(4, 7, 12, .65), inset 0 0 0 1px #24272e;
}
.iphone__btn { position: absolute; width: 3px; background: #3a3f48; border-radius: 2px; }
.iphone__btn--action { left: -5px; top: 17%; height: 4.5%; }
.iphone__btn--up { left: -5px; top: 25%; height: 8.5%; }
.iphone__btn--down { left: -5px; top: 35.5%; height: 8.5%; }
.iphone__btn--power { right: -5px; top: 28%; height: 13%; }
.iphone__screen {
  position: relative; height: 100%; overflow: hidden; background: #fff; color: #111;
  border-radius: calc(var(--w) * .13);
  display: grid; grid-template-rows: auto 1fr; font-family: var(--font-body);
}
/* The iPhone 14 has a notch, not a Dynamic Island */
.iphone__notch {
  position: absolute; z-index: 3; left: 50%; top: 0; translate: -50% 0;
  width: 44%; height: calc(var(--w) * .085); background: #0b0c0f;
  border-radius: 0 0 calc(var(--w) * .055) calc(var(--w) * .055);
}
.iphone__status {
  display: flex; justify-content: space-between; align-items: center;
  height: calc(var(--w) * .1); padding: 0 calc(var(--w) * .075) 0 calc(var(--w) * .09);
  font-size: calc(var(--w) * .045); font-weight: 600;
}
.iphone__sys { display: inline-flex; gap: 3px; }
.iphone__sys .icon { width: calc(var(--w) * .05); height: calc(var(--w) * .05); }
.iphone__home { position: absolute; left: 50%; bottom: 6px; translate: -50% 0; width: 36%; height: 4px; border-radius: 4px; background: #111; }

.post { display: flex; flex-direction: column; min-height: 0; font-size: calc(var(--w) * .043); line-height: 1.4; padding-bottom: 18px; }
.post__head { display: flex; align-items: center; gap: 8px; padding: 6px 10px; }
.post__avatar { width: calc(var(--w) * .1); height: calc(var(--w) * .1); border-radius: 50%; background: #0b0c0f; object-fit: contain; padding: 2px;
  box-shadow: 0 0 0 1.5px #fff, 0 0 0 3px var(--teal); }
.post__who { display: grid; line-height: 1.2; min-width: 0; flex: 1; }
.post__who strong { font-size: .95em; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post__who span { font-size: .8em; color: #666; }
.post__follow {
  border: 0; border-radius: 8px; padding: 5px 10px; min-height: 28px; cursor: pointer;
  background: var(--primary); color: #fff; font: 600 .85em/1 var(--font-body); transition: background-color .2s, color .2s;
}
.post__follow[aria-pressed="true"] { background: #efefef; color: #111; }
.post__media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #ddd; cursor: pointer; user-select: none; -webkit-user-select: none; touch-action: manipulation; }
.post__media img { width: 100%; height: 100%; object-fit: cover; object-position: 45% center; pointer-events: none; }
.post__burst { position: absolute; left: 50%; top: 50%; translate: -50% -50%; color: #fff; width: 30%; opacity: 0; pointer-events: none; filter: drop-shadow(0 4px 12px rgba(0,0,0,.35)); }
.post__burst .icon { width: 100%; height: auto; }
.post__actions { display: flex; align-items: center; gap: 2px; padding: 4px 4px 0; }
.post__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border: 0; background: none; color: #111; padding: 0; border-radius: 50%;
}
button.post__icon { cursor: pointer; }
.post__icon .icon { width: 22px; height: 22px; }
.post__save { margin-left: auto; }
.post__icon .i-on { display: none; }
.post__icon[aria-pressed="true"] .i-off { display: none; }
.post__icon[aria-pressed="true"] .i-on { display: block; }
.post__like[aria-pressed="true"] { color: #ff3040; }
.post__likes { padding: 0 12px; font-weight: 600; font-size: .92em; }
.post__caption { padding: 2px 12px 0; font-size: .92em; }
.post__caption strong { font-weight: 600; }
.post__time { padding: 2px 12px 0; font-size: .72em; color: #888; }
.iphone :focus-visible { outline: 2px solid var(--primary); outline-offset: 1px; }

/* ---------- About: homepage teaser and the Over page ---------- */
.about-teaser { display: grid; grid-template-columns: clamp(140px, 16vw, 200px) minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
.about-teaser__photo { margin: 0; border-radius: var(--radius-m); overflow: hidden; aspect-ratio: 4 / 5; background: var(--ink-2); }
.about-teaser__photo img { width: 100%; height: 100%; object-fit: cover; }
.about-teaser__text > * + * { margin-top: 1rem; }
.about-teaser__text p { max-width: 56ch; }
@media (max-width: 560px) {
  .about-teaser { grid-template-columns: 110px minmax(0, 1fr); align-items: start; gap: 1.25rem; }
  .about-teaser .h2 { font-size: 1.3rem; }
}

.about-hero { grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); }
.about-photo { position: relative; margin: 0; width: 100%; max-width: 420px; justify-self: end; aspect-ratio: 4 / 5; border-radius: var(--radius-m); overflow: hidden; background: #c9cbcf; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-photo .crop { border-color: var(--patrick); }
.prose-flow > * + * { margin-top: 1.25rem; }
.mission {
  margin-top: 2rem !important; padding: 1.1rem 0 1.1rem 1.25rem; border-left: 3px solid var(--teal);
  color: var(--text); font-family: var(--font-display); font-stretch: 105%; font-weight: 600;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem); line-height: 1.35; max-width: 40ch;
}
.mission strong { color: var(--teal); font-weight: 700; }
@media (max-width: 860px) { .about-hero { grid-template-columns: 1fr; } .about-photo { justify-self: start; max-width: 360px; } }

/* ---------- Steps (subpages): a progress line draws across as you scroll ---------- */
.steps { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.steps::before { content: ""; position: absolute; top: -1px; left: 0; right: 0; height: 2px; background: var(--gradient); transform: scaleX(var(--progress, 1)); transform-origin: left; }
.steps li { padding: 1.75rem 1.5rem 0 0; position: relative; }
.steps__num {
  display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; margin-bottom: 1rem;
  border: 1px solid var(--primary); color: var(--teal); font: 600 .875rem/1 var(--font-body); background: var(--ink);
}
.steps h3 { margin-bottom: .5rem; }
.steps p { font-size: var(--fs-small); }
@media (max-width: 900px) { .steps { grid-template-columns: 1fr 1fr; gap: 2rem 0; } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

/* ---------- Use cases: asymmetric grid with one image cell and one accent cell ---------- */
.uses { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.uses li { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; background: var(--ink); }
.uses h3 { margin-bottom: .5rem; }
.uses p { font-size: var(--fs-small); }
.uses__wide { grid-column: span 2; grid-row: span 2; padding: 0 !important; overflow: hidden; display: grid; grid-template-rows: 1fr auto; }
.uses__wide img { width: 100%; height: 100%; object-fit: cover; min-height: 220px; }
.uses__wide div { padding: 1.75rem; }
.uses__accent { background: linear-gradient(140deg, var(--patrick), #12245e) !important; border-color: transparent !important; }
.uses__accent p { color: #d6dcf0; }
@media (max-width: 860px) { .uses { grid-template-columns: 1fr; } .uses__wide { grid-column: auto; grid-row: auto; } }

/* ---------- FAQ (height animated by main.js) ---------- */
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem;
  padding: 1.15rem 0; min-height: 52px; color: var(--text); font-weight: 500; font-size: 1.025rem; transition: color .2s;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; flex: none; width: 28px; height: 28px; border-radius: 50%; border: 1px solid var(--line);
  background: linear-gradient(var(--teal), var(--teal)) center / 12px 2px no-repeat, linear-gradient(var(--teal), var(--teal)) center / 2px 12px no-repeat;
  transition: transform .45s var(--ease-spring), background-color .3s;
}
.faq details[open] summary::after { transform: rotate(135deg); background-color: rgba(37,197,201,.12); }
.faq summary:hover { color: var(--teal); }
.faq__body { overflow: hidden; }
.faq__body p { padding-bottom: 1.5rem; }

/* ---------- Films ---------- */
.film-hero { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem; align-items: end; }
.leader { width: clamp(96px, 11vw, 140px); aspect-ratio: 1; }
@media (max-width: 700px) { .film-hero { grid-template-columns: 1fr; } .leader { width: 110px; } }
.film { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.5rem, 4vw, 3.5rem); align-items: start; }
.film + .film { margin-top: clamp(3.5rem, 8vw, 6rem); padding-top: clamp(3.5rem, 8vw, 6rem); border-top: 1px solid var(--line); }
.film__player { border-radius: var(--radius-m); overflow: hidden; background: #000; aspect-ratio: 16/9; }
.film__player video { width: 100%; height: 100%; object-fit: contain; background: #000; }
.film__player iframe { display: block; width: 100%; height: 100%; border: 0; }
/* Poster + play button that swaps in the YouTube player on click */
.yt { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #000; cursor: pointer; }
.yt img { width: 100%; height: 100%; object-fit: cover; transition: opacity .3s; }
.yt:hover img { opacity: .85; }
.yt:hover .play-badge { transform: scale(1.08); }
.yt:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
.film__note { margin-top: .75rem; font-size: .85rem; }
.film h2 { font-size: clamp(1.4rem, 2.2vw, 1.9rem); }
.film__meta { margin: 1.25rem 0 0; display: grid; gap: .75rem; font-size: var(--fs-small); }
.film__meta dd { margin: 0; color: var(--text); }
.film__site { margin-top: 1.5rem; }
@media (max-width: 860px) { .film { grid-template-columns: 1fr; } }

/* Behind-the-scenes: photos in a strip of film with sprocket holes */
.bts { grid-column: 1 / -1; margin-top: clamp(1.75rem, 3.5vw, 2.75rem); }
.bts__head { display: flex; align-items: center; gap: .75rem; margin-bottom: 1.25rem; cursor: default; }
.clapper { width: 38px; height: auto; flex: none; overflow: visible; }
.clapper__stick { transform-box: fill-box; transform-origin: 3px 9.5px; }

.filmstrip {
  --hole: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='26' height='12'%3E%3Crect x='7' y='2' width='12' height='8' rx='2' fill='%23cfd2d8'/%3E%3C/svg%3E");
  position: relative; max-width: 780px; padding: 26px 12px; background: #050608;
  border-radius: 6px; box-shadow: inset 0 0 0 1px #1c1f26, 0 24px 50px rgba(4, 7, 12, .45);
  overflow: hidden; will-change: transform;
}
/* Rows of sprocket holes along the top and bottom edge */
.filmstrip::before, .filmstrip::after {
  content: ""; position: absolute; left: 0; right: 0; height: 12px; opacity: .55;
  background: var(--hole) repeat-x; background-size: 26px 12px;
}
.filmstrip::before { top: 7px; }
.filmstrip::after { bottom: 7px; }
.bts__grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.bts__item { position: relative; display: block; border-radius: 3px; overflow: hidden; aspect-ratio: 3 / 4; background: #111; cursor: zoom-in; }
.bts__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.bts__item::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.08); border-radius: inherit; pointer-events: none; }
.bts__item:hover img { transform: scale(1.05); }
.bts__item:focus-visible { outline: 2px solid var(--teal); outline-offset: 3px; }
@media (max-width: 560px) {
  .filmstrip { padding: 20px 8px; }
  .filmstrip::before { top: 4px; } .filmstrip::after { bottom: 4px; }
  .bts__grid { gap: 6px; }
}

/* Photo viewer (native dialog: Esc closes, focus is trapped by the browser) */
.lightbox { padding: 0; border: 0; background: transparent; max-width: min(92vw, 1000px); max-height: 92vh; overflow: visible; }
.lightbox::backdrop { background: rgba(5, 8, 14, .88); }
.lightbox img { display: block; max-width: min(92vw, 1000px); max-height: 84vh; width: auto; height: auto; border-radius: var(--radius-s); }
.lightbox__caption { margin-top: .75rem; color: var(--muted); font-size: .9rem; text-align: center; max-width: 60ch; margin-inline: auto; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,.25); background: rgba(10,12,17,.7); color: var(--text); cursor: pointer;
}
.lightbox__btn:hover { border-color: var(--teal); }
.lightbox__btn .icon { width: 20px; height: 20px; }
.lightbox__close { top: -54px; right: 0; }
.lightbox__prev { left: -56px; top: 42%; }
.lightbox__next { right: -56px; top: 42%; }
.lightbox__prev .icon { transform: scaleX(-1); }
@media (max-width: 900px) { .lightbox__prev { left: 8px; } .lightbox__next { right: 8px; } }
.film-roles { list-style: none; padding: 0; margin: 1.75rem 0 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.film-roles li { border: 1px solid var(--line); border-radius: 999px; padding: .45rem 1rem; color: var(--text); font-size: var(--fs-small); }

/* ---------- Contact form ---------- */
.contact-section { padding-top: clamp(2.5rem, 5vw, 4rem); }
.form { display: grid; gap: 1.25rem; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
@media (max-width: 640px) { .form__row { grid-template-columns: 1fr; } }
.topics { border: 0; padding: 0; margin: 0 0 .5rem; }
.topics legend { color: var(--text); font-weight: 500; margin-bottom: .75rem; }
.topics__list { display: flex; flex-wrap: wrap; gap: .5rem; }
.topics label { position: relative; }
.topics input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.topics span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1.1rem; border-radius: 999px; border: 1px solid var(--line); color: var(--text); transition: background-color .25s, border-color .25s, color .25s, transform .3s var(--ease-spring); }
.topics input:checked + span { background: var(--gradient); color: var(--ink); border-color: transparent; font-weight: 600; }
.topics input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 3px; }
.topics label:active span { transform: scale(.95); }
.field { display: grid; gap: .45rem; }
.field label { color: var(--text); font-weight: 500; font-size: .975rem; }
.field label .opt { color: var(--muted); font-weight: 400; }
.field input, .field textarea {
  width: 100%; min-height: 52px; padding: .8rem 1rem; border-radius: var(--radius-s);
  background: var(--ink-2); color: var(--text); border: 1px solid var(--line); font: 400 1rem/1.5 var(--font-body);
  transition: border-color .2s, box-shadow .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field textarea:hover { border-color: #4a4d53; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(37,197,201,.25); }
.field [aria-invalid="true"] { border-color: #ff6b6b; }
.field__hint { font-size: .875rem; }
.field__error { color: #ff8a8a; font-size: .9rem; }
.field__error:empty { display: none; }
.form__note { font-size: var(--fs-small); }
.form__status { color: var(--teal); font-weight: 500; }
.form__status:empty { display: none; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: clamp(2rem, 6vw, 5rem); align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.75rem; display: grid; gap: 1.5rem; background: var(--ink-2); }
.contact-card h2 { font-size: 1.35rem; font-stretch: 115%; }
.contact-card dl { margin: 0; display: grid; gap: 1.1rem; }
.contact-card dt { font-size: var(--fs-small); }
.contact-card dd { margin: .15rem 0 0; }
.contact-card dd a { color: var(--text); text-decoration: none; font-weight: 500; font-size: 1.1rem; }
.contact-card dd a:hover { color: var(--teal); }

/* ---------- Prose (privacy) ---------- */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.5rem; font-stretch: 112%; margin: 2.5rem 0 .75rem; }
.prose ul { padding-left: 1.2rem; }
.prose li + li { margin-top: .35rem; }
.prose a { color: var(--text); text-decoration-color: var(--primary); text-underline-offset: 4px; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3rem, 6vw, 4.5rem) 2rem; margin-top: var(--section); }
.footer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; text-decoration: none;
  padding-bottom: clamp(2rem, 4vw, 3rem); margin-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line);
}
.footer-cta__text {
  font-family: var(--font-display); font-weight: 700; font-stretch: 100%; color: var(--text);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem); line-height: 1.05; letter-spacing: -0.025em;
  transition: font-stretch .7s var(--ease-out), color .3s;
}
.footer-cta:hover .footer-cta__text { color: var(--teal); }
.footer-cta__go { flex: none; width: clamp(44px, 5vw, 64px); aspect-ratio: 1; border-radius: 50%; display: grid; place-items: center; background: var(--gradient); color: var(--ink); transition: transform .6s var(--ease-spring); }
.footer-cta__go .icon { width: 42%; height: 42%; }
.footer-cta:hover .footer-cta__go { transform: rotate(45deg); }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .8fr) minmax(0, 1.5fr) minmax(0, .8fr); gap: 2rem 3rem; }
.footer-grid h2 { font-family: var(--font-body); font-stretch: 100%; font-size: .975rem; font-weight: 600; letter-spacing: 0; color: var(--text); margin-bottom: 1rem; }
.footer-grid ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .15rem; }
.footer-grid a { text-decoration: none; display: inline-flex; align-items: center; gap: .55rem; min-height: 36px; max-width: 100%; font-size: .95rem; overflow-wrap: anywhere; transition: color .2s; }
.footer-grid a:hover { color: var(--text); }
.footer-grid .icon { width: 18px; height: 18px; }
.footer-brand img { width: 160px; margin-bottom: 1rem; }
.footer-brand p { max-width: 34ch; font-size: var(--fs-small); }
.footer-insta {
  display: inline-flex !important; align-items: center; gap: .75rem; margin-top: 1.25rem; padding: .55rem 1rem .55rem .55rem;
  border: 1px solid var(--line); border-radius: 999px; text-decoration: none; transition: border-color .25s, background-color .25s;
}
.footer-insta:hover { border-color: var(--primary); background: var(--ink-2); }
.footer-insta__icon {
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
}
.footer-grid .footer-insta__icon .icon { width: 20px; height: 20px; }
.footer-insta__text { display: grid; line-height: 1.25; }
.footer-insta__text strong { color: var(--text); font-weight: 600; font-size: .9rem; }
.footer-insta__text span { font-size: .8rem; }
.footer-bottom { margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1rem; font-size: .875rem; }
.footer-bottom a { text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}
