/* Pinned. One stylesheet, organised by layer: tokens, base, layout, components, sections, pages, motion. */

/* ---------- Fonts (self-hosted) ---------- */
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-700-normal.woff2") format("woff2"); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Schibsted Grotesk"; src: url("../assets/fonts/schibsted-grotesk-latin-800-normal.woff2") format("woff2"); font-weight: 800; font-style: normal; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-400-italic.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-500-italic.woff2") format("woff2"); font-weight: 500; font-style: italic; font-display: swap; }
@font-face { font-family: "Bodoni Moda"; src: url("../assets/fonts/bodoni-moda-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }

/* ---------- Tokens ---------- */
:root {
  --ink: #1b2218;
  --ink-2: #222b1e;
  --ink-3: #2e3829;
  --cream: #f1e6d1;
  --cream-2: #e8dbc1;
  --accent: #f5f769;
  --accent-press: #e3e54f;
  --error-on-cream: #9b2c1f;
  --error-on-ink: #ffb4a3;

  --sans: "Schibsted Grotesk", "Helvetica Neue", sans-serif;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", serif;

  --fs-display: clamp(2.5rem, 6vw, 5.6rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.9rem);
  --fs-h3: clamp(1.6rem, 2.8vw, 2.5rem);
  --fs-serif-lead: clamp(1.5rem, 2.6vw, 2.35rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;
  --fs-label: 0.75rem;

  --gutter: clamp(1rem, 4vw, 3.5rem);
  --frame: clamp(8px, 1vw, 14px);
  --radius: clamp(14px, 1.6vw, 22px);
  --section: clamp(5rem, 11vw, 10rem);
  --max: 1440px;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --header-h: 72px;

  /* z-index scale */
  --z-header: 20;
  --z-menu: 30;
  --z-skip: 40;
  --z-grain: 50;
}

/* Section themes set foreground, muted, line and focus colours. */
.theme-ink { --bg: var(--ink); --fg: var(--cream); --muted: #bdbca5; --line: rgb(241 230 209 / 0.16); --focus: var(--accent); --err: var(--error-on-ink); background: var(--bg); color: var(--fg); }
.theme-ink-2 { --bg: var(--ink-2); --fg: var(--cream); --muted: #bdbca5; --line: rgb(241 230 209 / 0.16); --focus: var(--accent); --err: var(--error-on-ink); background: var(--bg); color: var(--fg); }
.theme-cream { --bg: var(--cream); --fg: var(--ink); --muted: #535b48; --line: rgb(27 34 24 / 0.18); --focus: var(--ink); --err: var(--error-on-cream); background: var(--bg); color: var(--fg); }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--header-h) + 1rem); }
body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--fs-body);
  line-height: 1.6;
  background: var(--ink);
  color: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
}
img, svg, video { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3, h4, p, ul, ol, figure, blockquote, dl, dd { margin: 0; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 0.22em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
::selection { background: var(--accent); color: var(--ink); }
:focus-visible { outline: 2px solid var(--focus, var(--accent)); outline-offset: 3px; border-radius: 4px; }
html { scrollbar-color: var(--ink-3) var(--ink); }
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb { background: var(--ink-3); border-radius: 10px; border: 2px solid var(--ink); }

/* Film grain: fixed, non-interactive, never on a scrolling layer. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: var(--z-grain);
  pointer-events: none;
  opacity: 0.07;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

.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: fixed; left: 1rem; top: 1rem; z-index: var(--z-skip); padding: 0.75rem 1rem; background: var(--accent); color: var(--ink); font-weight: 700; border-radius: 999px; transform: translateY(-160%); transition: transform 0.2s var(--ease-out); }
.skip-link:focus { transform: none; }

.icon { width: 1.1em; height: 1.1em; flex: none; }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: var(--section); }

/* ---------- Type ---------- */
.display { font-family: var(--sans); font-weight: 800; font-size: var(--fs-display); line-height: 0.92; letter-spacing: -0.02em; text-transform: uppercase; text-wrap: balance; }
.h2 { font-family: var(--sans); font-weight: 800; font-size: var(--fs-h2); line-height: 0.95; letter-spacing: -0.015em; text-transform: uppercase; text-wrap: balance; }
.h3 { font-family: var(--sans); font-weight: 800; font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.01em; text-transform: uppercase; }
.serif { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.01em; }
.serif-lead { font-family: var(--serif); font-style: italic; font-size: var(--fs-serif-lead); line-height: 1.15; letter-spacing: -0.01em; text-wrap: balance; }
.lede { font-size: clamp(1rem, 1.2vw, 1.125rem); max-width: 60ch; color: var(--muted); }
.label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }

/* ---------- Buttons ---------- */
.btn {
  --btn-fg: var(--fg, var(--cream));
  display: inline-flex; align-items: center; gap: 0.75rem;
  min-height: 48px; padding: 0.8rem 0.9rem 0.8rem 1.4rem;
  border: 1px solid currentColor; border-radius: 999px;
  background: transparent; color: var(--btn-fg);
  font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: background-color 0.35s var(--ease-out), color 0.35s var(--ease-out), border-color 0.35s var(--ease-out), transform 0.15s var(--ease-out);
}
.btn__dot { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: currentColor; transition: transform 0.45s var(--ease-out); }
.btn__dot .icon { width: 14px; height: 14px; color: var(--bg, var(--ink)); }
.btn:hover .btn__dot, .btn:focus-visible .btn__dot { transform: rotate(45deg); }
.btn:hover { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.btn:hover .btn__dot .icon { color: var(--fg); }
.btn:hover .btn__dot { background: var(--bg); }
.btn:active { transform: translateY(1px) scale(0.98); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; transform: none; }

/* Solid: accent on dark ground, ink on cream ground. */
.theme-ink .btn--solid, .theme-ink-2 .btn--solid, .hero .btn--solid, .cta .btn--solid { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.theme-ink .btn--solid .btn__dot, .theme-ink-2 .btn--solid .btn__dot, .hero .btn--solid .btn__dot, .cta .btn--solid .btn__dot { background: var(--ink); }
.theme-ink .btn--solid .btn__dot .icon, .theme-ink-2 .btn--solid .btn__dot .icon, .hero .btn--solid .btn__dot .icon, .cta .btn--solid .btn__dot .icon { color: var(--accent); }
.theme-ink .btn--solid:hover, .theme-ink-2 .btn--solid:hover, .hero .btn--solid:hover, .cta .btn--solid:hover { background: var(--cream); border-color: var(--cream); color: var(--ink); }
.theme-cream .btn--solid { background: var(--ink); color: var(--accent); border-color: var(--ink); }
.theme-cream .btn--solid .btn__dot { background: var(--accent); }
.theme-cream .btn--solid .btn__dot .icon { color: var(--ink); }
.theme-cream .btn--solid:hover { background: var(--ink-3); border-color: var(--ink-3); color: var(--accent); }
.theme-cream .btn--solid:hover .btn__dot { background: var(--accent); }
.theme-cream .btn--solid:hover .btn__dot .icon { color: var(--ink); }

.text-link { display: inline-flex; align-items: center; gap: 0.5rem; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding-block: 0.5rem; background: linear-gradient(currentColor, currentColor) left bottom / 100% 1px no-repeat; transition: background-size 0.4s var(--ease-out); }
.text-link:hover { background-size: 30% 1px; }
.text-link .icon { transition: transform 0.4s var(--ease-out); }
.text-link:hover .icon { transform: translate(2px, -2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: var(--z-header);
  height: var(--header-h);
  color: var(--cream);
  transition: background-color 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-inline: calc(var(--gutter) + var(--frame)); }
.site-header.is-solid { background: rgb(27 34 24 / 0.94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.site-header.is-hidden { transform: translateY(-100%); }
.wordmark { display: inline-flex; align-items: baseline; text-decoration: none; line-height: 1; font-size: 1.6rem; white-space: nowrap; }
.wordmark__a { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -0.02em; }
.wordmark__b { font-family: var(--sans); font-weight: 800; letter-spacing: -0.04em; }
.wordmark__r { font-size: 0.4em; align-self: flex-start; margin-left: 0.15em; font-weight: 500; }
.primary-nav { display: none; }
.primary-nav ul { display: flex; align-items: center; gap: clamp(1.25rem, 2.4vw, 2.5rem); }
.primary-nav a:not(.btn) { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; text-decoration: none; padding-block: 0.6rem; background: linear-gradient(currentColor, currentColor) left calc(100% - 0.35rem) / 0 1px no-repeat; transition: background-size 0.35s var(--ease-out); }
.primary-nav a:not(.btn):hover, .primary-nav a[aria-current="page"] { background-size: 100% 1px; }
.primary-nav .btn { min-height: 42px; padding-block: 0.55rem; }
.menu-toggle { display: inline-grid; place-items: center; width: 48px; height: 48px; border: 1px solid rgb(241 230 209 / 0.5); border-radius: 50%; background: transparent; color: inherit; transition: background-color 0.3s var(--ease-out); }
.menu-toggle:hover { background: rgb(241 230 209 / 0.12); }
.menu-toggle .icon { width: 22px; height: 22px; }
@media (min-width: 900px) {
  .primary-nav { display: block; }
  .menu-toggle { display: none; }
}

/* Mobile menu (dialog) */
.menu {
  position: fixed; inset: 0; z-index: var(--z-menu);
  width: 100%; max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; border: 0;
  background: var(--ink); color: var(--cream);
}
.menu::backdrop { background: rgb(27 34 24 / 0.6); }
.menu__inner { min-height: 100dvh; display: flex; flex-direction: column; padding: 0 var(--gutter) 2rem; }
.menu__top { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; }
.menu nav { flex: 1; display: flex; align-items: center; }
.menu nav ul { display: grid; gap: 0.25rem; }
.menu nav a { font-weight: 800; font-size: clamp(2.6rem, 12vw, 4.5rem); line-height: 1; text-transform: uppercase; letter-spacing: -0.02em; text-decoration: none; display: block; padding-block: 0.3rem; }
.menu nav a:hover, .menu nav a[aria-current="page"] { color: var(--accent); }
.menu__foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; align-items: center; justify-content: space-between; padding-top: 1.5rem; border-top: 1px solid rgb(241 230 209 / 0.16); }
.menu[open] .menu nav li { animation: rise 0.6s var(--ease-out) backwards; }

/* ---------- Hero ---------- */
.hero { position: relative; height: 100svh; min-height: 560px; padding: var(--frame); background: var(--ink); }
.hero__frame { position: relative; height: 100%; border-radius: var(--radius); overflow: hidden; isolation: isolate; color: var(--cream); }
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgb(27 34 24 / 0.55) 0%, rgb(27 34 24 / 0) 26%, rgb(27 34 24 / 0) 42%, rgb(27 34 24 / 0.82) 100%); }
.hero__content { position: absolute; left: 0; right: 0; bottom: 0; padding: var(--gutter); padding-bottom: clamp(2rem, 6vh, 4.5rem); display: grid; gap: 1.5rem; }
.hero__title { max-width: 18ch; }
.hero__title span { display: block; }
.hero__serif { font-size: clamp(1.6rem, 3.2vw, 2.9rem); line-height: 1.1; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 0.5rem; }

/* ---------- Definition ---------- */
.define { padding-block: clamp(6rem, 14vw, 12rem); }
.define__grid { display: grid; gap: 2rem; }
.define__word { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(4.5rem, 15vw, 12rem); line-height: 0.9; letter-spacing: -0.035em; padding-bottom: 0.08em; }
.define__meta { display: flex; gap: 1.25rem; font-size: var(--fs-small); color: var(--muted); }
.define__text { font-size: clamp(1.15rem, 1.7vw, 1.5rem); line-height: 1.5; max-width: 34ch; }
.define__text em { font-family: var(--serif); font-size: 1.12em; }
@media (min-width: 900px) {
  .define__grid { grid-template-columns: 1.25fr 1fr; align-items: end; column-gap: 4rem; }
  .define__body { padding-bottom: 1.4rem; }
}

/* ---------- Clients ---------- */
.clients__head { display: flex; justify-content: center; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.clients__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: var(--fs-serif-lead); }
.logo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.logo-grid > li { display: grid; place-items: center; aspect-ratio: 16 / 9; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 1.25rem; }
.logo-grid img { height: 40px; width: auto; max-width: 78%; object-fit: contain; filter: grayscale(1) brightness(0) invert(0.92) sepia(0.15); opacity: 0.85; transition: opacity 0.3s var(--ease-out); }
.logo-grid a:hover img, .logo-grid li:hover img { opacity: 1; }
.logo-slot { display: grid; place-items: center; width: 70%; max-width: 160px; height: 44px; border: 1px dashed rgb(241 230 209 / 0.3); border-radius: 999px; color: var(--muted); font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
@media (min-width: 640px) { .logo-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (min-width: 1024px) { .logo-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); } }

/* ---------- Work accordion (signature) ---------- */
.work__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; margin-bottom: clamp(2rem, 4vw, 3.5rem); flex-wrap: wrap; }
.reel { display: flex; gap: 10px; height: clamp(440px, 74vh, 760px); }
.reel__item { position: relative; flex: 1 1 0; min-width: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink-3); transition: flex-grow 0.8s var(--ease-out); }
.reel__item.is-active { flex-grow: 5.5; }
.reel__link { position: absolute; inset: 0; display: block; color: var(--cream); text-decoration: none; }
.reel__link:focus-visible { outline-offset: -4px; border-radius: var(--radius); }
.reel__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 1.2s var(--ease-out), filter 0.8s var(--ease-out); filter: saturate(0.6) brightness(0.62); }
.reel__item.is-active .reel__img { transform: scale(1); filter: none; }
.reel__shade { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgb(27 34 24 / 0.85)); opacity: 0; transition: opacity 0.6s var(--ease-out); }
.reel__item.is-active .reel__shade { opacity: 1; }
.reel__caption { position: absolute; left: 0; right: 0; bottom: 0; padding: clamp(1.25rem, 2.5vw, 2.25rem); display: grid; gap: 0.5rem; opacity: 0; transform: translateY(14px); transition: opacity 0.5s var(--ease-out), transform 0.6s var(--ease-out); }
.reel__item.is-active .reel__caption { opacity: 1; transform: none; transition-delay: 0.25s; }
.reel__client { font-family: var(--serif); font-style: italic; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.05; }
.reel__title { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: clamp(1.1rem, 1.5vw, 1.4rem); line-height: 1.1; }
.reel__meta { display: flex; align-items: center; gap: 0.6rem; color: var(--accent); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; margin-top: 0.4rem; }
.reel__tab { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%) rotate(180deg); writing-mode: vertical-rl; font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; white-space: nowrap; transition: opacity 0.3s var(--ease-out); }
.reel__item.is-active .reel__tab { opacity: 0; }

/* Phone and small tablet: swipeable cards, every caption visible. */
@media (max-width: 899px) {
  .reel { height: auto; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scrollbar-width: none; }
  .reel::-webkit-scrollbar { display: none; }
  .reel__item, .reel__item.is-active { flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
  .reel__img { transform: none; filter: none; }
  .reel__shade, .reel__caption { opacity: 1; transform: none; }
  .reel__tab { display: none; }
}

/* Skeleton for loading lists */
.skeleton { background: linear-gradient(100deg, rgb(241 230 209 / 0.06) 30%, rgb(241 230 209 / 0.12) 50%, rgb(241 230 209 / 0.06) 70%) 0 0 / 300% 100%; animation: shimmer 1.6s linear infinite; border-radius: var(--radius); }
.theme-cream .skeleton { background-image: linear-gradient(100deg, rgb(27 34 24 / 0.05) 30%, rgb(27 34 24 / 0.1) 50%, rgb(27 34 24 / 0.05) 70%); }
.state-note { padding: 2.5rem; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); display: grid; gap: 1rem; justify-items: start; }
.state-note strong { color: var(--fg); font-weight: 700; }

/* ---------- Statement over image ---------- */
.statement { position: relative; padding: var(--frame); background: var(--ink-2); }
.statement__frame { position: relative; min-height: clamp(520px, 90vh, 880px); border-radius: var(--radius); overflow: hidden; isolation: isolate; display: grid; align-items: end; color: var(--cream); }
.statement__frame img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.statement__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgb(27 34 24 / 0.86) 0%, rgb(27 34 24 / 0.35) 60%, rgb(27 34 24 / 0.1) 100%); }
.statement__body { padding: var(--gutter); padding-block: clamp(3rem, 8vw, 6rem); display: grid; gap: 1.5rem; max-width: 46rem; }
.statement__body p:not(.serif-lead) { color: #e2dac6; max-width: 48ch; }

/* ---------- Services ---------- */
.services__grid { display: grid; gap: 3rem; }
.service { display: grid; gap: 0.9rem; padding-bottom: clamp(2rem, 4vw, 3rem); border-bottom: 1px solid var(--line); }
.service + .service { padding-top: clamp(1rem, 2vw, 1.5rem); }
.service__tag { font-family: var(--serif); font-style: italic; font-size: clamp(1.15rem, 1.6vw, 1.4rem); color: var(--muted); }
.service ul { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.6rem; }
.service li { font-size: var(--fs-small); padding: 0.35rem 0.85rem; border: 1px solid var(--line); border-radius: 999px; }
.services__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.services__media img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 900px) {
  .services__grid { grid-template-columns: 1fr 0.85fr; gap: clamp(3rem, 7vw, 7rem); align-items: start; }
  .services__media { position: sticky; top: calc(var(--header-h) + 1.5rem); aspect-ratio: auto; height: calc(100vh - var(--header-h) - 3rem); }
}

/* ---------- Testimonials ---------- */
.voices__grid { display: grid; gap: 2.5rem; align-items: center; }
.voices__quote { display: grid; gap: 2rem; }
.voices__quote blockquote p { font-size: clamp(1.15rem, 1.8vw, 1.6rem); line-height: 1.45; max-width: 36ch; }
.voices__cite { font-style: normal; display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.75rem; }
.voices__cite strong { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: 1.6rem; }
.voices__cite span { color: var(--muted); font-size: var(--fs-small); }
.voices__controls { display: flex; align-items: center; gap: 0.75rem; }
.round-btn { display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: inherit; transition: background-color 0.3s var(--ease-out), border-color 0.3s var(--ease-out), transform 0.15s; }
.round-btn:hover { border-color: var(--fg); }
.round-btn:active { transform: scale(0.95); }
.round-btn:disabled { opacity: 0.35; cursor: not-allowed; }
.voices__count { font-variant-numeric: tabular-nums; font-size: var(--fs-small); color: var(--muted); min-width: 4ch; }
.voices__media { border-radius: var(--radius); overflow: hidden; aspect-ratio: 5 / 4; background: var(--ink-3); }
.voices__media img { width: 100%; height: 100%; object-fit: cover; }
.voices__placeholder { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 900px) { .voices__grid { grid-template-columns: 1.1fr 1fr; gap: clamp(3rem, 7vw, 7rem); } }

/* ---------- Journal teaser and list ---------- */
.journal__head { display: flex; align-items: end; justify-content: space-between; gap: 2rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.journal-feature { display: grid; gap: 2rem; }
.post-lead { display: grid; gap: 1.25rem; text-decoration: none; }
.post-lead__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--cream-2); }
.post-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.post-lead:hover .post-lead__img img { transform: scale(1.03); }
.post-lead__title { font-weight: 800; text-transform: uppercase; letter-spacing: -0.015em; font-size: clamp(1.6rem, 2.8vw, 2.6rem); line-height: 1; text-wrap: balance; }
.post-meta { display: flex; gap: 1rem; font-size: var(--fs-small); color: var(--muted); }
.post-rows { display: grid; align-content: start; }
.post-row { display: grid; grid-template-columns: 1fr auto; gap: 1rem 1.5rem; align-items: center; padding-block: 1.5rem; border-top: 1px solid var(--line); text-decoration: none; }
.post-row:last-child { border-bottom: 1px solid var(--line); }
.post-row__title { font-family: var(--serif); font-style: italic; font-size: clamp(1.35rem, 2vw, 1.85rem); line-height: 1.12; }
.post-row__img { width: clamp(84px, 9vw, 128px); aspect-ratio: 1; border-radius: 12px; overflow: hidden; background: var(--cream-2); }
.post-row__img img { width: 100%; height: 100%; object-fit: cover; }
.post-row__text { display: grid; gap: 0.5rem; }
.post-row:hover .post-row__title { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; }
@media (min-width: 900px) { .journal-feature { grid-template-columns: 1.35fr 1fr; gap: clamp(2.5rem, 5vw, 5rem); } }

/* ---------- CTA ---------- */
.cta { padding: var(--frame); background: var(--ink); }
.cta__frame { position: relative; min-height: clamp(460px, 78vh, 760px); border-radius: var(--radius); overflow: hidden; isolation: isolate; display: grid; place-items: center; text-align: center; color: var(--cream); padding: var(--gutter); }
.cta__frame img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; }
.cta__frame::after { content: ""; position: absolute; inset: 0; z-index: -1; background: rgb(27 34 24 / 0.58); }
.cta__body { display: grid; gap: 2rem; justify-items: center; }
.cta__title { font-family: var(--serif); font-style: italic; font-weight: 400; font-size: clamp(2.6rem, 6.5vw, 5.75rem); line-height: 1.02; letter-spacing: -0.025em; text-wrap: balance; padding-bottom: 0.08em; }
.cta__title b { font-family: var(--sans); font-style: normal; font-weight: 800; text-transform: uppercase; letter-spacing: -0.02em; font-size: 0.86em; }

/* ---------- Footer ---------- */
.site-footer { padding-top: clamp(4rem, 8vw, 7rem); padding-bottom: 2rem; }
.footer__top { display: grid; gap: 3rem; padding-bottom: clamp(3rem, 6vw, 5rem); }
.footer__col h2 { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 1rem; }
.footer__col ul { display: grid; gap: 0.4rem; }
.footer__col a { text-decoration: none; font-size: 1.05rem; }
.footer__col a:hover { color: var(--accent); }
.footer__lead { font-family: var(--serif); font-style: italic; font-size: var(--fs-serif-lead); line-height: 1.15; max-width: 18ch; }
.footer__mail { display: inline-block; margin-top: 1.25rem; font-weight: 700; font-size: clamp(1.1rem, 1.8vw, 1.5rem); text-decoration: none; background: linear-gradient(var(--accent), var(--accent)) left bottom / 100% 2px no-repeat; padding-bottom: 0.15rem; }
.socials { display: flex; gap: 0.6rem; }
.socials a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out); }
.socials a:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.footer__mark { font-size: clamp(5rem, 22vw, 21rem); line-height: 0.8; display: flex; align-items: baseline; white-space: nowrap; overflow: hidden; padding-bottom: 0.06em; }
.footer__mark .wordmark__a { letter-spacing: -0.04em; }
.footer__base { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--fs-small); color: var(--muted); }
@media (min-width: 900px) { .footer__top { grid-template-columns: 1.6fr 1fr 1fr 1fr; } }

/* ---------- Inner page header ---------- */
.page-head { padding-top: calc(var(--header-h) + clamp(4rem, 10vw, 8rem)); padding-bottom: clamp(3rem, 6vw, 5rem); }
.page-head__title { display: grid; gap: 0.75rem; }
.page-head__title .serif { font-size: var(--fs-serif-lead); text-transform: none; display: block; }
.page-head .lede { margin-top: 1.5rem; }

/* ---------- Work index ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.chip { min-height: 44px; padding: 0.55rem 1.1rem; border: 1px solid var(--line); border-radius: 999px; background: transparent; font-size: var(--fs-small); font-weight: 500; transition: background-color 0.3s var(--ease-out), color 0.3s var(--ease-out), border-color 0.3s var(--ease-out); }
.chip:hover { border-color: var(--fg); }
.chip[aria-pressed="true"] { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.work-grid { display: grid; gap: clamp(2.5rem, 5vw, 4.5rem) clamp(1rem, 2.5vw, 2rem); grid-template-columns: 1fr; }
.work-card { display: grid; gap: 1rem; text-decoration: none; align-content: start; }
.work-card__img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 3; background: var(--ink-3); }
.work-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out); }
.work-card:hover .work-card__img img { transform: scale(1.035); }
.work-card__row { display: flex; justify-content: space-between; align-items: start; gap: 1rem; }
.work-card__client { font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2vw, 1.9rem); line-height: 1.1; }
.work-card__title { font-weight: 800; text-transform: uppercase; letter-spacing: -0.01em; font-size: 1.05rem; line-height: 1.15; margin-top: 0.25rem; }
.work-card__type { color: var(--muted); font-size: var(--fs-small); white-space: nowrap; }
.work-card .icon { color: var(--accent); width: 1.4rem; height: 1.4rem; transition: transform 0.4s var(--ease-out); }
.work-card:hover .icon { transform: translateX(4px); }
@media (min-width: 768px) {
  .work-grid { grid-template-columns: repeat(12, 1fr); }
  .work-card { grid-column: span 6; }
  .work-card:nth-child(5n + 1) { grid-column: span 7; }
  .work-card:nth-child(5n + 2) { grid-column: span 5; margin-top: clamp(4rem, 10vw, 9rem); }
  .work-card:nth-child(5n + 2) .work-card__img { aspect-ratio: 4 / 5; }
  .work-card:nth-child(5n + 3) { grid-column: 3 / span 8; }
  .work-card:nth-child(5n + 3) .work-card__img { aspect-ratio: 16 / 8; }
}

/* ---------- Journal index ---------- */
.journal-list { display: grid; }
.journal-list .post-row { grid-template-columns: auto 1fr auto; padding-block: clamp(1.5rem, 3vw, 2.25rem); }
.journal-list .post-row__img { width: clamp(96px, 14vw, 200px); aspect-ratio: 4 / 3; }
.journal-list .post-row__title { font-size: clamp(1.5rem, 3vw, 2.6rem); }
.journal-list .post-row .icon { width: 1.6rem; height: 1.6rem; transition: transform 0.4s var(--ease-out); }
.journal-list .post-row:hover .icon { transform: translate(3px, -3px); }
@media (max-width: 639px) { .journal-list .post-row { grid-template-columns: 1fr; } .journal-list .post-row__img { width: 100%; } .journal-list .post-row .icon { display: none; } }

/* ---------- Article ---------- */
.article-head { padding-top: calc(var(--header-h) + clamp(3rem, 8vw, 6rem)); }
.article-head .wrap { display: grid; gap: 1.5rem; }
.article-title { font-weight: 800; text-transform: uppercase; font-size: clamp(2.2rem, 5.2vw, 4.75rem); line-height: 0.95; letter-spacing: -0.02em; max-width: 18ch; text-wrap: balance; }
.article-cover { margin-top: clamp(2rem, 5vw, 4rem); border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 8; background: var(--cream-2); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 68ch; margin-inline: auto; padding-block: clamp(3rem, 7vw, 6rem); font-size: 1.125rem; line-height: 1.7; }
.prose > * + * { margin-top: 1.25em; }
.prose h2 { font-weight: 800; text-transform: uppercase; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.1; letter-spacing: -0.01em; margin-top: 2.2em; }
.prose blockquote { font-family: var(--serif); font-style: italic; font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.25; padding-left: 1.5rem; border-left: 1px solid var(--fg); }
.prose figure img { border-radius: 12px; width: 100%; }
.prose figcaption { margin-top: 0.6rem; font-size: var(--fs-small); color: var(--muted); }
.prose a { text-decoration-color: var(--fg); }
.prose .post-tip { padding: 1rem 1.25rem; border-radius: 12px; background: color-mix(in srgb, var(--fg) 6%, transparent); }
.prose .post-steps { padding-left: 1.4em; }
.prose .post-steps li + li { margin-top: 0.5em; }
.prose .post-steps li::marker { font-weight: 800; }
.article-foot { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; padding-top: 2rem; border-top: 1px solid var(--line); max-width: 68ch; margin-inline: auto; }

/* ---------- Contact ---------- */
.contact__grid { display: grid; gap: clamp(3rem, 6vw, 6rem); }
.contact__aside { display: grid; gap: 2rem; align-content: start; }
.contact__aside img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
.contact__aside dl { display: grid; gap: 1.25rem; }
.contact__aside dt { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); }
.contact__aside dd { font-size: 1.15rem; margin-top: 0.25rem; }
.contact__aside dd a { text-decoration: none; background: linear-gradient(var(--fg), var(--fg)) left bottom / 100% 1px no-repeat; }
@media (min-width: 900px) { .contact__grid { grid-template-columns: 0.8fr 1.2fr; } }
.contact__whatsapp { justify-self: start; max-width: 100%; }
.contact__whatsapp > .icon { width: 20px; height: 20px; margin-left: -0.35rem; flex: none; }

.form { display: grid; gap: 1.75rem; }
.form__row { display: grid; gap: 1.75rem; }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 0.5rem; }
.field label, .field legend { font-size: var(--fs-small); font-weight: 700; }
.field .opt { font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 0.8rem 1rem;
  background: rgb(255 255 255 / 0.4); border: 1px solid rgb(27 34 24 / 0.38); border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s, background-color 0.2s;
}
.field textarea { min-height: 170px; resize: vertical; }
.field select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 256 256'%3E%3Cpath fill='%231b2218' d='M213.66,101.66l-80,80a8,8,0,0,1-11.32,0l-80-80A8,8,0,0,1,53.66,90.34L128,164.69l74.34-74.35a8,8,0,0,1,11.32,11.32Z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 1rem center; background-size: 16px; padding-right: 2.75rem; }
.field input::placeholder, .field textarea::placeholder { color: #5f6655; opacity: 1; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgb(27 34 24 / 0.22); background: rgb(255 255 255 / 0.7); }
.field [aria-invalid="true"] { border-color: var(--err); box-shadow: 0 0 0 1px var(--err); }
.field__hint { font-size: var(--fs-small); color: var(--muted); }
.field__error { font-size: var(--fs-small); color: var(--err); font-weight: 500; display: flex; gap: 0.4rem; align-items: center; }
.field__error:empty { display: none; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.5rem; }
.form__status { font-size: var(--fs-small); }
.form__status[data-tone="error"] { color: var(--err); font-weight: 500; }
.btn.is-loading .btn__dot { animation: spin 0.9s linear infinite; }
.form-done { display: grid; gap: 1.25rem; align-self: start; align-content: start; justify-items: start; padding: clamp(2rem, 4vw, 3rem); border: 1px solid var(--line); border-radius: var(--radius); }
.form-done:focus { outline: none; }

/* ---------- 404 ---------- */
.notfound { min-height: 100svh; display: grid; align-content: center; gap: 1.5rem; }

/* ---------- Motion ---------- */
@keyframes rise { from { opacity: 0; transform: translateY(0.6em); } to { opacity: 1; transform: none; } }
@keyframes settle { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes frame-in { from { clip-path: inset(6% 6% 6% 6% round var(--radius)); } to { clip-path: inset(0 0 0 0 round var(--radius)); } }
@keyframes shimmer { to { background-position: -300% 0; } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: no-preference) {
  /* One authored moment: the hero frame opens like a shutter, then the words land. */
  .hero__frame { animation: frame-in 1.4s var(--ease-out) both; }
  .hero__media img { animation: settle 2.4s var(--ease-out) both; }
  .hero__title span, .hero__serif, .hero__actions { animation: rise 1s var(--ease-out) backwards; }
  .hero__title span:nth-child(1) { animation-delay: 0.45s; }
  .hero__title span:nth-child(2) { animation-delay: 0.55s; }
  .hero__serif { animation-delay: 0.75s; }
  .hero__actions { animation-delay: 0.9s; }

  /* Scroll reveals, only when JS has confirmed it can reveal them. */
  .js [data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out), transform 1.1s var(--ease-out); transition-delay: calc(var(--i, 0) * 90ms); }
  .js [data-reveal].is-in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
.work-card__link { display: grid; gap: 1rem; text-decoration: none; }
.work-card:hover .work-card__img img { transform: scale(1.035); }
.work-card:hover .icon { transform: translateX(4px); }
.skeleton--block { height: 320px; }
.work-card__end { display: flex; gap: 0.75rem; align-items: center; }
.voices__ph { height: 100%; display: grid; place-items: center; }
.hero-sentinel { position: absolute; left: 0; right: 0; bottom: 0; height: 1px; pointer-events: none; }
.post-rows li:nth-child(2) .post-row { --i: 1; }
.post-rows li:nth-child(3) .post-row { --i: 2; }
.footer__col .socials { display: flex; }
.footer__col address { font-style: normal; font-size: 1.05rem; }
.define__word { margin-bottom: 0.75rem; }
.article-head .text-link, .notfound .text-link { justify-self: start; }
.footer__phone { margin-top: 0.75rem; }
.footer__phone a { color: var(--muted); text-decoration: none; font-weight: 500; }
.footer__phone a:hover, .footer__phone a:focus-visible { color: var(--fg); }

/* ---------- Project page ---------- */
.project-head { padding-top: calc(var(--header-h) + clamp(2.5rem, 6vw, 5rem)); padding-bottom: clamp(2rem, 4vw, 3rem); }
.project-head .wrap { display: grid; gap: 0.75rem; }
.project-head .text-link { justify-self: start; margin-bottom: clamp(1rem, 3vw, 2rem); }
.project-head__client { font-family: var(--serif); font-style: italic; font-size: var(--fs-serif-lead); line-height: 1.1; }
.project-head__client:empty { display: none; }
.project-head__title { font-weight: 800; text-transform: uppercase; font-size: var(--fs-display); line-height: 0.92; letter-spacing: -0.02em; text-wrap: balance; }
.project-head__meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.5rem; }
.project-head__meta span { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; padding: 0.45rem 0.9rem; border: 1px solid var(--line); border-radius: 999px; }

.project-stage { padding: 0 var(--frame); }
.player { position: relative; aspect-ratio: 16 / 9; max-height: calc(100svh - var(--header-h) - 2rem); width: 100%; margin-inline: auto; border-radius: var(--radius); overflow: hidden; background: var(--ink-2); isolation: isolate; }
.player__skeleton { position: absolute; inset: 0; }
.player__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out), filter 0.8s var(--ease-out); }
.player::after { content: ""; position: absolute; inset: 0; z-index: 0; background: rgb(27 34 24 / 0.28); pointer-events: none; transition: background-color 0.6s var(--ease-out); }
.player.is-playing::after { content: none; }
.player__play { position: absolute; inset: 0; z-index: 1; display: grid; place-content: center; justify-items: center; gap: 1rem; border: 0; background: none; color: var(--cream); }
.player__dot { display: grid; place-items: center; width: clamp(76px, 8vw, 112px); aspect-ratio: 1; border-radius: 50%; background: var(--accent); color: var(--ink); transition: transform 0.5s var(--ease-out); }
.player__dot .icon { width: 36%; height: 36%; margin-left: 6%; }
.player__label { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; }
.player__play:hover .player__dot, .player__play:focus-visible .player__dot { transform: scale(1.08); }
.player__play:hover ~ .player__poster, .player:hover .player__poster { transform: scale(1.02); }
.player__play:focus-visible { outline: none; }
.player__play:focus-visible .player__dot { outline: 2px solid var(--cream); outline-offset: 4px; }
.player__frame { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.project-info__grid { display: grid; gap: clamp(2.5rem, 5vw, 5rem); }
.project-about { display: grid; gap: 1.25rem; align-content: start; max-width: 62ch; font-size: 1.125rem; line-height: 1.7; }
.project-about__lead { font-family: var(--serif); font-style: italic; font-size: var(--fs-serif-lead); line-height: 1.2; }
.project-about .text-link { justify-self: start; margin-top: 0.5rem; }
.project-facts { display: grid; align-content: start; }
.project-facts > div { display: grid; grid-template-columns: 7rem 1fr; gap: 1rem; padding-block: 1rem; border-top: 1px solid var(--line); }
.project-facts > div:last-child { border-bottom: 1px solid var(--line); }
.project-facts dt { font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); padding-top: 0.2rem; }
.project-facts dd { font-size: 1.05rem; }
@media (min-width: 900px) { .project-info__grid { grid-template-columns: 1.5fr 1fr; } }

.stills__title { color: var(--muted); margin-bottom: 1.5rem; }
.stills__grid { display: grid; gap: clamp(8px, 1vw, 14px); grid-template-columns: 1fr; }
.stills__item { border-radius: calc(var(--radius) * 0.7); overflow: hidden; aspect-ratio: 16 / 9; background: var(--ink-3); }
.stills__item img { width: 100%; height: 100%; object-fit: cover; }
@media (min-width: 640px) { .stills__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stills__grid { grid-template-columns: repeat(3, 1fr); } }

.next-wrap { padding: 0 var(--frame) var(--frame); background: var(--ink); }
.next-project { position: relative; display: grid; align-items: end; min-height: clamp(320px, 52vh, 520px); border-radius: var(--radius); overflow: hidden; isolation: isolate; color: var(--cream); text-decoration: none; }
.next-project img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; filter: saturate(0.7) brightness(0.6); transition: transform 1.2s var(--ease-out), filter 0.8s var(--ease-out); }
.next-project::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, rgb(27 34 24 / 0.85)); }
.next-project:hover img { transform: scale(1.03); filter: none; }
.next-project__body { display: grid; gap: 0.5rem; padding: var(--gutter); }
.next-project__body .label { color: var(--accent); }
.next-project__client { font-family: var(--serif); font-style: italic; font-size: var(--fs-serif-lead); line-height: 1.1; }
.next-project__title { display: flex; align-items: center; gap: 1rem; font-weight: 800; text-transform: uppercase; font-size: var(--fs-h3); line-height: 1; letter-spacing: -0.02em; }
.next-project__title .icon { width: 0.8em; height: 0.8em; color: var(--accent); transition: transform 0.4s var(--ease-out); }
.next-project:hover .next-project__title .icon { transform: translateX(6px); }
.next-project:focus-visible { outline-offset: -4px; }

/* ---------- Home background loop ---------- */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1.2s var(--ease-out); }
.hero__media.has-video .hero__video { opacity: 1; }
/* A 16:9 Vimeo frame scaled to cover the hero, like object-fit: cover. */
.hero__media { overflow: hidden; container-type: size; }
.hero__video--embed { inset: auto; top: 50%; left: 50%; width: max(100cqw, 177.78cqh); height: max(100cqh, 56.25cqw); transform: translate(-50%, -50%); border: 0; pointer-events: none; }
.hero__pause { position: absolute; right: var(--gutter); top: calc(var(--header-h) + 1rem); z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgb(241 230 209 / 0.4); background: rgb(27 34 24 / 0.35); color: var(--cream); }
.hero__pause:hover { background: var(--accent); color: var(--ink); border-color: var(--accent); }
.hero__pause .icon { width: 16px; height: 16px; }
.hero__pause[aria-pressed="false"] .icon:last-child, .hero__pause[aria-pressed="true"] .icon:first-child { display: none; }

/* ---------- Logo (Pinned Studios, from the brand file) ---------- */
.wordmark .logo { width: auto; height: 58px; aspect-ratio: 418 / 143; color: var(--cream); }
.footer__mark .logo { width: auto; height: 58px; aspect-ratio: 418 / 143; color: var(--cream); }
.footer__mark { display: block; font-size: 0; overflow: visible; padding: 0; margin-top: 0.5rem; }
@media (max-width: 639px) { .footer__mark .logo { height: 46px; } }
@media (max-width: 639px) { .wordmark .logo { height: 46px; } }

/* Phones: logos become one swipeable row that runs to the screen edges. */
@media (max-width: 639px) {
  .logo-grid {
    grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 44%;
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: none;
    margin-inline: calc(var(--gutter) * -1); padding-inline: var(--gutter); scroll-padding-inline: var(--gutter);
    border-left: 0;
  }
  .logo-grid::-webkit-scrollbar { display: none; }
  .logo-grid > li { scroll-snap-align: start; }
  .logo-grid > li:first-child { border-left: 1px solid var(--line); }
  .logo-grid:focus-visible { outline-offset: -2px; }
}
.clients__hint { display: none; }
@media (max-width: 639px) { .clients__hint { display: flex; align-items: center; gap: 0.5rem; margin-top: 1rem; color: var(--muted); font-size: var(--fs-label); font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; } }
