/* ==========================================================================
   The Best Fruit: site styles
   Palette and motifs are drawn from the tentative poster: amber fog,
   oxblood night, citrus fruit, a gold hairline frame with rounded corners,
   and the tree trunk that splits the frame.
   Typography is the site's own and deliberately separate from the poster:
   Bebas Neue for display (carried over from the original site) and
   Work Sans for text and UI. Retained from the original site: the gold
   accent #e4b456, outlined gold emphasis inside headings, the 7px gold
   rule on light sections, and grayscale headshots that warm on hover.
   ========================================================================== */

/* ───────── Fonts (self-hosted, SIL OFL) ───────── */
@font-face { font-family: "Bebas Neue"; src: url("../fonts/bebas-neue.woff2") format("woff2"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans.woff2") format("woff2"); font-weight: 300 700; font-style: normal; font-display: swap; }
@font-face { font-family: "Work Sans"; src: url("../fonts/work-sans-italic.woff2") format("woff2"); font-weight: 300 700; font-style: italic; font-display: swap; }

/* ───────── Tokens ───────── */
:root {
  /* night side of the poster */
  --night: #0e0807;
  --umber: #171009;
  --oxblood: #2a0f0b;
  --ember: #4a1a10;
  /* the fog */
  --haze: #c9a877;
  --mist: #e9dcc4;
  --paper: #f3ebdd;
  --parch: #efe5d3;
  --parch-2: #e5d5ba;
  --ink: #23150e;
  --ink-soft: #5c4636;
  /* accents */
  --gold: #c8a15a;
  --gold-line: rgba(200, 161, 90, .55);
  --citrus: #e4b456;      /* UI accent: the original site's gold */
  --citrus-hi: #efc56c;
  --fruit: #ec962f;       /* ripe fruit in the story trunk */
  --leaf: #55652f;
  --bark: #3b2a1f;
  --faint: rgba(243, 235, 221, .14);
  --muted: rgba(243, 235, 221, .72);

  --f-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --f-sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --r: 14px;
  --r-lg: 22px;
  --nav-h: 72px;
  --ease: cubic-bezier(.22, .8, .2, 1);
  --ease-in-out: cubic-bezier(.65, 0, .35, 1);
}

/* ───────── Base ───────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--night); color: var(--paper);
  font-family: var(--f-sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility;
  overflow-x: clip;
}
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
p { margin: 0 0 1em; }
h1, h2, h3 { margin: 0; font-weight: 400; }
cite { font-style: italic; }
button, input { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--citrus); outline-offset: 3px; border-radius: 6px; }

.wrap { width: min(100% - 2 * var(--gutter), var(--wrap)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--citrus); color: var(--night); padding: 10px 16px; border-radius: 999px; font-weight: 600; text-decoration: none; transition: top .2s; }
.skip:focus { top: 12px; }
.ico { width: 1.1em; height: 1.1em; flex: none; }
/* Donate glyph (Font Awesome Pro "hands holding dollar", solid; inline under andtechgroup's Font Awesome commercial license). Wider than the 24px set, so a touch larger. */
.ico--donate { width: 1.32em; height: 1.32em; margin-left: -2px; }

.eyebrow {
  margin: 0 0 14px; font-family: var(--f-sans); font-size: 12.5px; font-weight: 600;
  letter-spacing: .24em; text-transform: uppercase; color: var(--haze);
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.h2 {
  font-family: var(--f-display); font-weight: 400;
  font-size: clamp(48px, 6.4vw, 92px); line-height: .92; letter-spacing: .01em; text-wrap: balance;
}
/* Outlined gold emphasis, carried over from the original site's h2 em */
.outline, .h2 em {
  font-style: normal; color: transparent;
  -webkit-text-stroke: 1.5px var(--citrus); paint-order: stroke fill;
}
@supports not (-webkit-text-stroke: 1px #000) { .outline, .h2 em { color: var(--citrus); } }

.section {
  --sec-pt: clamp(80px, 12vw, 150px);
  position: relative; padding: var(--sec-pt) 0 clamp(80px, 12vw, 150px);
  /* Anchor jumps land on the section heading, not the top of its padding:
     a negative scroll margin cancels the top padding, leaving --anchor-gap
     between the fixed nav and the heading (html scroll-padding clears the nav). */
  --anchor-gap: 28px;
  scroll-margin-top: calc(var(--anchor-gap) - var(--sec-pt));
}
.section__head { margin-bottom: clamp(36px, 5vw, 60px); }
.section__head--center { text-align: center; }
.section__head--center .eyebrow { justify-content: center; }
.section__head--center .eyebrow::after { content: ""; width: 28px; height: 1px; background: currentColor; opacity: .7; }

.textlink {
  display: inline-flex; align-items: center; gap: 6px; font-size: 14px; color: var(--muted);
  text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px;
  transition: color .3s, text-decoration-color .3s;
}
.textlink:hover { color: var(--paper); text-decoration-color: var(--citrus); }
.textlink .ico { width: .95em; height: .95em; }

/* ───────── Frame: the poster's rounded gold hairline ───────── */
.frame { position: relative; border-radius: var(--r); overflow: hidden; isolation: isolate; }
.frame::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: 3;
  border: 1px solid var(--gold-line);
  box-shadow: inset 0 0 0 5px rgba(14, 8, 7, .0), inset 0 0 40px rgba(14, 8, 7, .25);
}

/* ───────── Buttons ───────── */
.btn {
  --bg: transparent; --fg: var(--paper); --bd: transparent;
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 0 24px; border-radius: 999px; border: 1px solid var(--bd);
  background: var(--bg); color: var(--fg); overflow: hidden; isolation: isolate;
  font-family: var(--f-sans); font-size: 15px; font-weight: 600; letter-spacing: .02em;
  text-decoration: none; cursor: pointer;
  transition: transform .35s var(--ease), background-color .35s, border-color .35s, box-shadow .35s, color .35s;
}
.btn::before { /* gloss sweep */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform .8s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:hover::before { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn--citrus { --bg: var(--citrus); --fg: #1d0e05; box-shadow: 0 10px 30px -10px rgba(228, 180, 86, .65); }
.btn--citrus:hover { --bg: var(--citrus-hi); box-shadow: 0 16px 40px -12px rgba(228, 180, 86, .8); }
.btn--ghost { --bd: rgba(243, 235, 221, .38); }
.btn--ghost:hover { --bg: rgba(243, 235, 221, .08); --bd: var(--paper); }
.btn--ghost .ico { transition: transform .35s var(--ease); }
.btn--ghost:hover .ico { transform: translateX(4px); }
.btn--light { --bg: var(--paper); --fg: var(--ink); }
.btn--light:hover { --bg: #fff; }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--lg { min-height: 56px; padding: 0 32px; font-size: 16px; }

/* ───────── Nav ───────── */
.nav {
  position: fixed; inset: 0 0 auto; z-index: 50; height: var(--nav-h);
  transition: background-color .5s, border-color .5s, backdrop-filter .5s;
  border-bottom: 1px solid transparent;
}
.nav.is-solid {
  background: rgba(14, 8, 7, .74); border-bottom-color: var(--faint);
  -webkit-backdrop-filter: blur(14px) saturate(1.2); backdrop-filter: blur(14px) saturate(1.2);
}
.nav__inner { height: 100%; width: min(100% - 2 * var(--gutter), 1320px); margin-inline: auto; display: flex; align-items: center; gap: 28px; }
.nav__mark { font-family: var(--f-display); font-size: 30px; line-height: 1; letter-spacing: .03em; text-decoration: none; color: var(--paper); margin-right: auto; white-space: nowrap; padding-top: 3px; }
.nav__mark span { color: var(--citrus); }
.nav__links { display: flex; gap: 4px; }
.nav__links a {
  position: relative; padding: 8px 12px; font-size: 14px; font-weight: 500; letter-spacing: .04em;
  text-decoration: none; color: var(--muted); transition: color .3s;
}
.nav__links a::after {
  content: ""; position: absolute; left: 12px; right: 12px; bottom: 3px; height: 1px; background: var(--citrus);
  transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease);
}
.nav__links a:hover, .nav__links a[aria-current="true"] { color: var(--paper); }
.nav__links a:hover::after, .nav__links a[aria-current="true"]::after { transform: scaleX(1); }
.nav__toggle { display: none; }

@media (max-width: 860px) {
  .nav__inner { gap: 12px; }
  .nav__toggle {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%;
    background: rgba(243, 235, 221, .08); border: 1px solid var(--faint); cursor: pointer;
  }
  .nav__toggle .ico { width: 20px; height: 20px; grid-area: 1 / 1; transition: opacity .3s, transform .4s var(--ease); }
  .nav__toggle .ico--close { opacity: 0; transform: rotate(-90deg); }
  .nav__toggle[aria-expanded="true"] .ico--open { opacity: 0; transform: rotate(90deg); }
  .nav__toggle[aria-expanded="true"] .ico--close { opacity: 1; transform: none; }
  .nav__links {
    position: absolute; top: calc(100% - 1px); left: 0; right: 0; flex-direction: column; gap: 0;
    padding: 8px var(--gutter) 20px; background: var(--night); border-bottom: 1px solid var(--faint);
    visibility: hidden; opacity: 0; transform: translateY(-8px);
    transition: opacity .35s, transform .45s var(--ease), visibility 0s .45s;
  }
  .nav.is-open { background: rgba(14, 8, 7, .96); }
  .nav.is-open .nav__links { visibility: visible; opacity: 1; transform: none; transition: opacity .35s, transform .45s var(--ease); }
  .nav__links a { padding: 14px 0; font-size: 17px; border-bottom: 1px solid var(--faint); }
  .nav__links a::after { display: none; }
  html:not(.js) .nav__links { position: static; visibility: visible; opacity: 1; transform: none; flex-direction: row; background: none; border: 0; padding: 0; }
}
@media (max-width: 420px) { .nav__cta span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; } .nav__cta { padding: 0 12px; } }

/* ───────── Fog layers ───────── */
.fog {
  position: absolute; inset: -20% -30%; pointer-events: none; z-index: 1;
  background:
    radial-gradient(40% 30% at 25% 60%, rgba(214, 180, 130, .22), transparent 70%),
    radial-gradient(35% 25% at 70% 40%, rgba(233, 220, 196, .14), transparent 70%),
    radial-gradient(50% 30% at 50% 85%, rgba(201, 168, 119, .18), transparent 70%);
  filter: blur(20px); mix-blend-mode: screen; opacity: .9;
  animation: fog-drift 38s ease-in-out infinite alternate;
}
.fog--b { animation-duration: 52s; animation-direction: alternate-reverse; opacity: .6; transform: scaleX(-1); }
@keyframes fog-drift {
  from { translate: -6% 0; }
  to   { translate: 6% -3%; }
}

/* ───────── Hero ───────── */
.hero {
  position: relative; min-height: 100svh; display: grid; grid-template-rows: 1fr auto;
  padding-top: var(--nav-h); overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .55; filter: sepia(.35) saturate(1.1) brightness(.85); }
.hero__shade {
  position: absolute; inset: 0; z-index: 2;
  background:
    radial-gradient(120% 90% at 70% 40%, transparent 30%, rgba(14, 8, 7, .65) 75%),
    linear-gradient(90deg, rgba(14, 8, 7, .92) 0%, rgba(14, 8, 7, .55) 45%, rgba(42, 15, 11, .35) 100%),
    linear-gradient(180deg, rgba(14, 8, 7, .3) 0%, transparent 30%, transparent 60%, var(--night) 100%);
}
.hero__inner {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center;
  gap: clamp(32px, 6vw, 80px); padding: clamp(32px, 6vh, 72px) 0 clamp(24px, 4vh, 48px);
}
.hero__copy { min-width: 0; }
/* Outlined gold eyebrow: echoes the original site's outlined "An Independent Film".
   Set in Bebas at display size; a stroke this thin is illegible at eyebrow size. */
.hero__eyebrow {
  margin-bottom: clamp(10px, 1.6vh, 16px); gap: 16px;
  font-family: var(--f-display); font-weight: 400; font-size: clamp(28px, 3vw, 44px); line-height: 1;
  letter-spacing: .08em; color: transparent; -webkit-text-stroke: 1px var(--citrus);
}
.hero__eyebrow::before { width: 44px; height: 1.5px; background: var(--citrus); opacity: 1; }
@supports not (-webkit-text-stroke: 1px #000) { .hero__eyebrow { color: var(--citrus); } }

.lockup { display: grid; justify-items: start; margin: 0 0 clamp(18px, 3vh, 30px); font-family: var(--f-display); font-weight: 400; }
.lockup__line {
  display: block; font-size: clamp(92px, 12vw, 172px); line-height: .84; letter-spacing: .005em;
  color: var(--paper); text-shadow: 0 8px 40px rgba(14, 8, 7, .55);
}
.hero__logline {
  font-family: var(--f-sans); font-weight: 300;
  font-size: clamp(22px, 2.2vw, 30px); line-height: 1.3; letter-spacing: -.01em; max-width: 17.5em; text-wrap: balance; margin-bottom: 12px; color: var(--paper);
}
.hero__genre { color: var(--muted); max-width: 34em; margin-bottom: 32px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.hero__poster { margin: 0; justify-self: center; width: min(100%, 400px); perspective: 1200px; }
.frame--poster {
  border-radius: 16px; transform-style: preserve-3d;
  transform: rotateY(var(--ry, -6deg)) rotateX(var(--rx, 2deg));
  transition: transform .9s var(--ease);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(0, 0, 0, .6), 0 0 120px -20px rgba(201, 168, 119, .35);
}
.frame--poster::after { border-color: var(--gold); box-shadow: inset 0 0 0 6px rgba(14, 8, 7, .35); }
.frame--poster img { width: 100%; height: auto; }
.frame--poster::before { /* sheen that follows the pointer */
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none; mix-blend-mode: soft-light;
  background: radial-gradient(60% 50% at var(--mx, 30%) var(--my, 20%), rgba(255, 240, 210, .55), transparent 70%);
}

.laurels {
  list-style: none; margin: 0 auto; padding: 0 0 clamp(28px, 5vh, 52px);
  display: flex; flex-wrap: wrap; justify-content: space-around; gap: clamp(12px, 3vw, 40px);
  align-items: center; border-top: 1px solid var(--faint); padding-top: clamp(20px, 3vh, 32px);
}
/* any number of laurels (admin-managed): four per row on desktop, two on small screens */
.laurels li { display: grid; place-items: center; flex: 0 1 calc((100% - 3 * clamp(12px, 3vw, 40px)) / 4); min-width: 0; }
.laurels a { display: block; border-radius: 8px; }
.laurels img { width: min(100%, 168px); opacity: .92; transition: opacity .4s, transform .5s var(--ease); }
.laurels img:hover { opacity: 1; transform: translateY(-3px); }

/* Hero entrance */
.js .hero__eyebrow, .js .lockup__line, .js .hero__logline, .js .hero__genre, .js .hero__actions, .js .hero__poster, .js .laurels li {
  animation: rise 1.1s var(--ease) both;
}
.js .lockup__line { animation: lift 1.2s var(--ease) both; }
.js .lockup__line + .lockup__line { animation-delay: .14s; }
.js .hero__eyebrow { animation-delay: .1s; }

.js .hero__logline { animation-delay: .7s; }
.js .hero__genre { animation-delay: .85s; }
.js .hero__actions { animation-delay: 1s; }
.js .hero__poster { animation: poster-in 1.6s var(--ease) .5s both; }
.js .laurels li:nth-child(1) { animation-delay: 1.6s; }
.js .laurels li:nth-child(2) { animation-delay: 1.7s; }
.js .laurels li:nth-child(3) { animation-delay: 1.8s; }
.js .laurels li:nth-child(4) { animation-delay: 1.9s; }
@keyframes rise { from { opacity: 0; transform: translateY(18px); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes lift { from { opacity: 0; transform: translateY(.18em); clip-path: inset(0 0 100% 0); } to { opacity: 1; transform: none; clip-path: inset(-.1em -.1em -.2em -.1em); } }
@keyframes poster-in { from { opacity: 0; transform: translateY(40px) scale(.96); filter: blur(10px); } to { opacity: 1; transform: none; filter: none; } }

@media (max-width: 900px) {
  .hero__inner { grid-template-columns: minmax(0, 1fr); text-align: left; padding-top: 28px; }
  .hero__poster { width: min(64%, 300px); justify-self: start; order: -1; }
  .frame--poster { --ry: 0deg; --rx: 0deg; }
  .laurels { row-gap: 8px; }
  .laurels li { flex-basis: calc((100% - clamp(12px, 3vw, 40px)) / 2); }
  .laurels img { width: min(100%, 150px); }
}
@media (max-width: 560px) {
  .hero__poster { display: none; }
  .hero__inner { padding-top: 40px; }
  .hero__actions .btn { flex: 1 1 auto; }
}

/* ───────── Trailer ───────── */
.trailer { --sec-pt: clamp(64px, 9vw, 110px); }
.frame--video { aspect-ratio: 16 / 9; background: #000; box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 140px -40px rgba(228, 180, 86, .25); }
.trailer__video { width: 100%; height: 100%; object-fit: cover; }
.trailer__play {
  position: absolute; inset: 0; z-index: 2; display: grid; place-content: center; justify-items: center; gap: 16px;
  border: 0; cursor: pointer; color: var(--paper);
  background: radial-gradient(60% 60% at 50% 50%, rgba(14, 8, 7, .1), rgba(14, 8, 7, .55)), url("../images/trailer-poster.webp") center / cover no-repeat;
  transition: opacity .6s var(--ease), visibility 0s .6s;
}
.trailer__play-disc {
  position: relative; display: grid; place-items: center; width: clamp(72px, 9vw, 104px); aspect-ratio: 1;
  border-radius: 50%; background: var(--citrus); color: #1d0e05;
  box-shadow: 0 20px 50px -10px rgba(228, 180, 86, .7);
  transition: transform .5s var(--ease), background-color .3s;
}
.trailer__play-disc .ico { width: 36%; height: 36%; margin-left: 6%; }
.trailer__play-disc::before, .trailer__play-disc::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid rgba(228, 180, 86, .7);
  animation: ripple 2.8s var(--ease) infinite;
}
.trailer__play-disc::after { animation-delay: 1.4s; }
@keyframes ripple { from { transform: scale(1); opacity: .9; } to { transform: scale(1.9); opacity: 0; } }
.trailer__play:hover .trailer__play-disc { transform: scale(1.08); background: var(--citrus-hi); }
.trailer__play-label { font-size: 14px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; text-shadow: 0 2px 12px rgba(0, 0, 0, .7); }
.trailer__dur { margin-left: 8px; opacity: .7; font-variant-numeric: tabular-nums; }
.is-playing .trailer__play { opacity: 0; visibility: hidden; }
.trailer__meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 12px 28px; margin-top: 18px; }
.credits { font-size: 14px; color: var(--muted); }
.credits summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 8px; text-decoration: underline; text-decoration-color: var(--faint); text-underline-offset: 4px; }
.credits summary::-webkit-details-marker { display: none; }
.credits summary::before { content: "+"; display: inline-grid; place-items: center; width: 18px; height: 18px; border-radius: 50%; border: 1px solid var(--faint); font-size: 13px; line-height: 1; transition: transform .35s var(--ease); }
.credits[open] summary::before { transform: rotate(45deg); }
.credits ul { margin: 10px 0 0; padding: 0 0 0 26px; }

/* ───────── Story: the trunk ───────── */
.story { background: var(--parch); color: var(--ink); overflow: clip; border-top: 7px solid var(--citrus); }
.story::before { /* amber mist */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 85% 10%, rgba(201, 168, 119, .45), transparent 70%),
    radial-gradient(50% 40% at 0% 100%, rgba(201, 168, 119, .35), transparent 70%);
}
.story .eyebrow { color: #8a6533; }
/* the 7px gold rule sits inside these sections; trim it from the anchor gap so every heading lands at the same height */
.story, .team { --anchor-gap: 21px; }
/* outline on parchment needs a deeper bronze to hold contrast */
.story .h2 em, .team .h2 em { -webkit-text-stroke: 1.75px #93601f; }
.story__grid { position: relative; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 7vw, 110px); }
.story__sticky { position: sticky; top: calc(var(--nav-h) + 40px); }
.story__lead { margin-top: 28px; font-weight: 300; font-size: clamp(20px, 1.9vw, 25px); line-height: 1.4; color: var(--ink-soft); max-width: 18em; }

.trunk { --grow: 0; position: relative; list-style: none; margin: 0; padding: 8px 0 0 64px; counter-reset: beat; }
.trunk::before, .trunk::after { content: ""; position: absolute; left: 21px; top: 0; bottom: 0; width: 3px; border-radius: 3px; }
.trunk::before { background: linear-gradient(180deg, rgba(59, 42, 31, .08), rgba(59, 42, 31, .28) 12%, rgba(59, 42, 31, .28) 88%, rgba(59, 42, 31, .04)); }
.trunk::after {
  background: linear-gradient(180deg, var(--leaf), var(--bark) 30%, var(--bark) 80%, #8a6533);
  transform-origin: top; transform: scaleY(var(--grow)); transition: transform .2s linear;
}
.beat { position: relative; padding-bottom: clamp(32px, 4vw, 52px); }
.beat:last-child { padding-bottom: 0; }
.beat p { margin: 0; font-size: clamp(17px, 1.4vw, 19.5px); line-height: 1.75; color: var(--ink); }
.beat:first-child p::first-letter { float: left; font-family: var(--f-display); font-size: 4.6em; line-height: .78; padding: .08em .08em 0 0; color: #a8742a; }
.beat em { font-style: italic; font-weight: 500; }
.beat__fruit {
  /* centre the fruit on the trunk line and on the first line of text (half of the 1.75 line height) */
  position: absolute; left: -64px; width: 46px; height: 46px; display: grid; place-items: center;
  font-size: clamp(17px, 1.4vw, 19.5px); top: calc(.875em - 23px);
}
.beat__fruit::before { /* fruit */
  content: ""; width: 18px; height: 18px; border-radius: 50%;
  background: radial-gradient(circle at 35% 30%, #a2b062, var(--leaf) 70%);
  box-shadow: 0 0 0 5px var(--parch), 0 0 0 6px rgba(59, 42, 31, .18);
  transform: scale(.7); transition: transform .9s var(--ease), background 1.2s, box-shadow 1.2s;
}
.beat.is-ripe .beat__fruit::before {
  transform: scale(1); background: radial-gradient(circle at 35% 30%, #ffd08a, var(--fruit) 55%, #c26a14);
  box-shadow: 0 0 0 5px var(--parch), 0 0 0 6px rgba(228, 180, 86, .35), 0 6px 18px rgba(228, 180, 86, .45);
}
.js .beat p { opacity: .35; transition: opacity .9s var(--ease); }
.js .beat.is-ripe p { opacity: 1; }

@media (max-width: 900px) {
  .story__grid { grid-template-columns: minmax(0, 1fr); }
  .story__sticky { position: static; }
  .trunk { padding-left: 48px; }
  .trunk::before, .trunk::after { left: 13px; }
  .beat__fruit { left: -48px; width: 30px; }
}

/* ───────── Acclaim ───────── */
.acclaim {
  background: radial-gradient(80% 70% at 50% 0%, var(--ember), var(--oxblood) 45%, var(--night) 100%);
  overflow: hidden; isolation: isolate;
}
.acclaim .fog { z-index: -1; opacity: .5; }
.acclaim .h2 em { font-size: .77em; }
.quotes { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(20px, 3vw, 36px); }
.quote__source { margin-top: 16px; font-family: var(--f-sans); font-size: 12px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--haze); }
.quote blockquote {
  position: relative; height: 100%; margin: 0; padding: 56px clamp(22px, 2.4vw, 34px) 34px;
  border-radius: var(--r-lg); background: linear-gradient(180deg, rgba(243, 235, 221, .06), rgba(243, 235, 221, .015));
  border: 1px solid rgba(200, 161, 90, .28); text-align: center;
  transition: border-color .5s, transform .6s var(--ease), background .5s;
}
.quote blockquote:hover { border-color: var(--gold-line); transform: translateY(-4px); }
.quote blockquote::before {
  content: "\201C"; position: absolute; top: 4px; left: 50%; transform: translateX(-50%);
  font-family: var(--f-display); font-size: 96px; line-height: 1; color: var(--citrus);
}
.quote p { margin: 0; font-family: var(--f-display); font-size: clamp(25px, 2.2vw, 31px); line-height: 1.12; letter-spacing: .01em; color: var(--paper); }
.quote:nth-child(2) { transition-delay: .12s; }
.quote:nth-child(3) { transition-delay: .24s; }
@media (max-width: 860px) { .quotes { grid-template-columns: minmax(0, 1fr); gap: 40px; } }

/* ───────── Team (tabs) ───────── */
.team { background: linear-gradient(180deg, var(--parch) 0%, #eadcc4 100%); color: var(--ink); border-top: 7px solid var(--citrus); }
.team .eyebrow { color: #8a6533; }
.team__ui { display: grid; grid-template-columns: minmax(0, 300px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.team__list { position: relative; display: grid; gap: 4px; padding-left: 14px; }
.team__list::before { content: ""; position: absolute; left: 0; top: 6px; bottom: 6px; width: 1px; background: rgba(59, 42, 31, .18); }
.team__indicator {
  position: absolute; left: -1px; top: 0; width: 3px; height: var(--h, 0px); border-radius: 3px; background: var(--citrus);
  transform: translateY(var(--y, 0px)); transition: transform .55s var(--ease), height .55s var(--ease);
}
.member {
  display: grid; grid-template-columns: 52px minmax(0, 1fr); align-items: center; gap: 14px; width: 100%;
  padding: 10px 14px 10px 10px; border: 1px solid transparent; border-radius: 16px; background: transparent;
  text-align: left; cursor: pointer; transition: background-color .35s, border-color .35s, box-shadow .35s;
}
.member:hover { background: rgba(255, 255, 255, .35); }
.member[aria-selected="true"] { background: rgba(255, 252, 245, .78); border-color: rgba(200, 161, 90, .45); box-shadow: 0 10px 30px -18px rgba(59, 42, 31, .55); }
.member__thumb {
  width: 52px; height: 52px; border-radius: 50%; object-fit: cover;
  filter: grayscale(.9) sepia(.25) contrast(1.05); box-shadow: 0 0 0 2px var(--parch), 0 0 0 3px rgba(59, 42, 31, .2);
  transition: filter .6s, box-shadow .5s;
}
.member[aria-selected="true"] .member__thumb, .member:hover .member__thumb { filter: none; }
.member[aria-selected="true"] .member__thumb { box-shadow: 0 0 0 2px #fffaf0, 0 0 0 3.5px var(--citrus); }
.member__text { display: grid; min-width: 0; }
.member__name { font-family: var(--f-display); font-size: 25px; line-height: 1; letter-spacing: .01em; color: var(--ink); }
.member__role { font-size: 11.5px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); margin-top: 3px; }

.team__panels { position: relative; min-width: 0; }
.bio {
  --bio-h: 470px;
  /* Photo column is sized explicitly from the panel height. An `auto` column whose
     width comes from aspect-ratio + height:100% resolves in Chromium (which re-runs
     track sizing once the row height is known) but not in Safari, which falls back
     to the image's intrinsic 720px width and crushes the text column. */
  --bio-photo-w: calc((var(--bio-h) - 50px) * .8); /* (height - 2*24px padding - 2px border) at 4:5 */
  display: grid; grid-template-columns: var(--bio-photo-w) minmax(0, 1fr); gap: clamp(22px, 3vw, 36px);
  height: var(--bio-h); padding: 24px; border-radius: var(--r-lg);
  background: #fbf6ec; border: 1px solid rgba(200, 161, 90, .35);
  box-shadow: 0 40px 80px -50px rgba(59, 42, 31, .6);
}
.bio + .bio { margin-top: 24px; } /* no-JS: all bios stacked, full length */
html:not(.js) .team__list { display: none; }
html:not(.js) .team__ui { grid-template-columns: minmax(0, 1fr); }
html:not(.js) .bio { height: auto; }
html:not(.js) .bio__scroll { overflow: visible; -webkit-mask-image: none; mask-image: none; }
html:not(.js) .trailer__play { display: none; }
.js .bio + .bio { margin-top: 0; }
.js .bio[hidden] { display: none; }
.bio__photo { width: 100%; aspect-ratio: 4 / 5; align-self: start; border-radius: 16px; background: var(--parch-2); }
.bio__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.bio__body { display: flex; flex-direction: column; min-width: 0; min-height: 0; padding-top: 6px; }
.bio .eyebrow { margin-bottom: 8px; }
.bio__name { font-family: var(--f-display); font-size: clamp(42px, 4vw, 58px); line-height: .95; letter-spacing: .01em; margin-bottom: 16px; color: var(--ink); }
.bio__scroll {
  flex: 1 1 auto; min-height: 0; overflow-y: auto; padding-right: 14px; margin-right: -6px;
  font-size: 16px; line-height: 1.7; color: #3b2a1f;
  scrollbar-width: thin; scrollbar-color: rgba(59, 42, 31, .35) transparent;
  --fade-top: 0px; --fade-bot: 0px;
  -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bot)), transparent 100%);
          mask-image: linear-gradient(180deg, transparent 0, #000 var(--fade-top), #000 calc(100% - var(--fade-bot)), transparent 100%);
}
.bio__scroll.can-up { --fade-top: 36px; }
.bio__scroll.can-down { --fade-bot: 56px; }
.bio__scroll p:last-child { margin-bottom: 0; }
.bio__scroll:focus-visible { outline-offset: 4px; }
.bio__links { display: flex; flex-wrap: wrap; gap: 6px 22px; margin-top: 14px; }
.bio__link { color: #6a4f3a; text-decoration-color: rgba(59, 42, 31, .3); }
.bio__link .ico--down { transform: rotate(90deg); }

/* Work samples (Elfsight Vimeo Gallery) inside the bio scroll region.
   Elfsight class names are generated; target them only with [class*="..."]. */
.bio__media { margin-top: 28px; padding-top: 22px; border-top: 1px solid rgba(200, 161, 90, .4); scroll-margin-top: 8px; }
.bio__media-title { margin: 0 0 14px; font-family: var(--f-sans); font-size: 12.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: #8a6533; }
.bio__media [class*="elfsight-app-"] { min-height: 220px; font-family: var(--f-sans); }
.bio__media [class*="vimeo-gallery-inner"] { background: transparent !important; padding: 0 !important; }
.bio__media [class*="vimeo-gallery-header-content-container"] { display: none !important; } /* name and Follow button duplicate the panel heading */
.bio__media [class*="vimeo-gallery-video-card-image"] { border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(200, 161, 90, .35); }
.bio__media [class*="vimeo-gallery-video-card-name"] { font-family: var(--f-sans) !important; font-size: 14px !important; font-weight: 600 !important; color: var(--ink) !important; }
/* The gallery's video popup is appended to <body>; lift it above the fixed nav (z-index 50). */
[class*="vimeo-gallery-popup-container"] { z-index: 1000 !important; }
.bio__link:hover { color: var(--ink); }

/* panel entrance */
.bio.is-entering { animation: bio-in .6s var(--ease) both; }
.bio.is-entering .bio__photo img { animation: photo-in .9s var(--ease) both; }
.bio.is-entering .bio__body > * { animation: rise .7s var(--ease) both; }
.bio.is-entering .bio__body > :nth-child(2) { animation-delay: .06s; }
.bio.is-entering .bio__body > :nth-child(3) { animation-delay: .12s; }
.bio.is-entering .bio__body > :nth-child(4) { animation-delay: .18s; }
@keyframes bio-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes photo-in { from { clip-path: inset(100% 0 0 0); transform: scale(1.08); } to { clip-path: inset(0); transform: none; } }

@media (max-width: 1100px) {
  .bio { --bio-h: 440px; grid-template-columns: minmax(0, 200px) minmax(0, 1fr); }
}
@media (max-width: 860px) {
  .team__ui { grid-template-columns: minmax(0, 1fr); }
  .team__list {
    display: flex; gap: 8px; padding: 4px 2px 14px; margin: 0 calc(-1 * var(--gutter)); padding-inline: var(--gutter);
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent);
  }
  .team__list::-webkit-scrollbar { display: none; }
  .team__list::before, .team__indicator { display: none; }
  .member { flex: 0 0 auto; width: auto; grid-template-columns: 40px auto; gap: 10px; padding: 6px 16px 6px 6px; border-radius: 999px; scroll-snap-align: start; border-color: rgba(59, 42, 31, .15); }
  .member__thumb { width: 40px; height: 40px; }
  .member__name { font-size: 20px; white-space: nowrap; padding-top: 2px; }
  .member__role { display: none; }
  /* bio: natural height, no inner scroll on small screens */
  .bio { height: auto; grid-template-columns: 112px minmax(0, 1fr); column-gap: 18px; row-gap: 0; padding: 18px; }
  .bio__body { display: contents; }
  .bio__photo { grid-column: 1; grid-row: 1 / span 2; width: 112px; height: auto; }
  .bio .eyebrow { grid-column: 2; grid-row: 1; align-self: end; letter-spacing: .16em; font-size: 11px; }
  .bio .eyebrow::before { display: none; }
  .bio__name { grid-column: 2; grid-row: 2; align-self: start; font-size: 40px; margin: 0; }
  .bio__scroll { grid-column: 1 / -1; grid-row: 3; margin: 20px 0 0; padding: 0; overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .bio__links { grid-column: 1 / -1; grid-row: 4; }
}

/* ───────── Team: mobile switcher, member sheet, "Up next" ─────────
   Built by main.js from the tabs. Hidden above 860px. */
.bio__next, .switcher { display: none; }
.ico--flip { transform: scaleX(-1); }
.ico--up { transform: rotate(-90deg); }

@media (max-width: 860px) {
  .team__panels { scroll-margin-top: 16px; }

  .bio__next {
    grid-column: 1 / -1; grid-row: 5; display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px;
    margin-top: 22px; padding: 12px 14px 12px 12px; border: 1px solid rgba(200, 161, 90, .45); border-radius: 16px;
    background: rgba(255, 255, 255, .55); text-align: left; cursor: pointer; transition: background-color .3s, border-color .3s;
  }
  .bio__next:hover, .bio__next:active { background: #fff; border-color: var(--gold); }
  .bio__next-thumb { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; filter: grayscale(.85) sepia(.2); }
  .bio__next-text { display: grid; min-width: 0; }
  .bio__next-label { font-size: 11px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: #8a6533; }
  .bio__next-name { font-family: var(--f-display); font-size: 24px; line-height: 1.05; color: var(--ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bio__next .ico { width: 20px; height: 20px; color: #8a6533; }

  .switcher {
    position: fixed; z-index: 40; left: var(--gutter); right: var(--gutter);
    bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    display: grid; grid-template-columns: 44px minmax(0, 1fr) 44px; align-items: center; gap: 4px;
    padding: 6px; border-radius: 999px; color: var(--paper);
    background: rgba(14, 8, 7, .9); border: 1px solid rgba(228, 180, 86, .45);
    -webkit-backdrop-filter: blur(12px) saturate(1.2); backdrop-filter: blur(12px) saturate(1.2);
    box-shadow: 0 18px 40px -12px rgba(14, 8, 7, .65);
    transform: translateY(calc(100% + 24px)); opacity: 0; visibility: hidden; pointer-events: none;
    transition: transform .5s var(--ease), opacity .35s, visibility 0s .5s;
  }
  .switcher.is-shown { transform: none; opacity: 1; visibility: visible; pointer-events: auto; transition: transform .5s var(--ease), opacity .35s; }
  .switcher__step {
    display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 0; cursor: pointer;
    background: rgba(243, 235, 221, .08); color: var(--citrus); transition: background-color .25s;
  }
  .switcher__step:active { background: rgba(228, 180, 86, .25); }
  .switcher__step .ico { width: 20px; height: 20px; }
  .switcher__current {
    display: grid; grid-template-columns: 36px minmax(0, 1fr) 18px; align-items: center; gap: 10px; min-width: 0; height: 44px;
    padding: 0 8px 0 4px; border: 0; border-radius: 999px; background: transparent; text-align: left; cursor: pointer;
  }
  .switcher__thumb { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 1.5px var(--citrus); }
  .switcher__text { display: grid; min-width: 0; line-height: 1; }
  .switcher__name { font-family: var(--f-display); font-size: 21px; letter-spacing: .02em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding-top: 2px; }
  .switcher__count { margin-top: 3px; font-size: 10.5px; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }
  .switcher__current > .ico { width: 18px; height: 18px; color: var(--citrus); }
}

/* Member sheet (native <dialog>, top layer) */
html.sheet-open { overflow: hidden; }
.sheet {
  margin: auto 0 0; width: 100%; max-width: 100%; max-height: min(80vh, 640px); padding: 0; border: 0;
  border-radius: 22px 22px 0 0; background: var(--parch); color: var(--ink);
  box-shadow: 0 -20px 60px rgba(14, 8, 7, .45);
  transform: translateY(100%); transition: transform .45s var(--ease);
}
.sheet.is-open { transform: none; }
.sheet::backdrop { background: rgba(14, 8, 7, .6); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.sheet__panel { padding: 10px var(--gutter) calc(18px + env(safe-area-inset-bottom, 0px)); border-top: 7px solid var(--citrus); border-radius: inherit; }
.sheet__panel::before { content: ""; display: block; width: 40px; height: 4px; margin: 4px auto 10px; border-radius: 4px; background: rgba(59, 42, 31, .25); }
.sheet__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.sheet__title { font-family: var(--f-display); font-size: 32px; line-height: 1; letter-spacing: .01em; }
.sheet__close { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; border: 1px solid rgba(59, 42, 31, .2); background: transparent; cursor: pointer; }
.sheet__close .ico { width: 20px; height: 20px; }
.sheet__list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.sheet__item {
  display: grid; grid-template-columns: 48px minmax(0, 1fr) 22px; align-items: center; gap: 14px; width: 100%;
  padding: 8px 10px; border: 1px solid transparent; border-radius: 16px; background: transparent; text-align: left; cursor: pointer;
}
.sheet__item:active { background: rgba(255, 255, 255, .6); }
.sheet__item[aria-current="true"] { background: #fbf6ec; border-color: rgba(200, 161, 90, .5); }
.sheet__thumb { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; filter: grayscale(.85) sepia(.2); }
.sheet__item[aria-current="true"] .sheet__thumb { filter: none; box-shadow: 0 0 0 2px #fbf6ec, 0 0 0 3.5px var(--citrus); }
.sheet__text { display: grid; min-width: 0; }
.sheet__name { font-family: var(--f-display); font-size: 24px; line-height: 1.05; color: var(--ink); }
.sheet__role { margin-top: 2px; font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--ink-soft); }
.sheet__check { width: 22px; height: 22px; color: #a8742a; opacity: 0; }
.sheet__item[aria-current="true"] .sheet__check { opacity: 1; }

/* ───────── Support ───────── */
.support { background: radial-gradient(70% 80% at 0% 50%, var(--oxblood), var(--night) 70%); overflow: hidden; }
.support__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(40px, 7vw, 100px); align-items: center; }
.support__text { max-width: 30em; color: var(--muted); font-size: 18px; margin: 24px 0 34px; }
.signup { padding: clamp(24px, 3.4vw, 44px); background: linear-gradient(180deg, rgba(243, 235, 221, .06), rgba(243, 235, 221, .02)); border-radius: var(--r-lg); }
.signup__title { font-family: var(--f-display); font-size: clamp(44px, 4vw, 56px); line-height: .95; letter-spacing: .01em; margin-bottom: 10px; }
.signup__intro { color: var(--muted); }
.signup__intro a { color: var(--paper); text-underline-offset: 3px; text-decoration-color: var(--citrus); }
.signup__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; }
.field__label { font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.field input {
  width: 100%; min-width: 0; height: 50px; padding: 0 16px; border-radius: 12px; font: inherit; font-size: 16px;
  color: var(--paper); background: rgba(243, 235, 221, .06); border: 1px solid var(--faint);
  transition: border-color .3s, background-color .3s, box-shadow .3s;
}
.field input:hover { border-color: rgba(243, 235, 221, .3); }
.field input:focus { outline: none; border-color: var(--citrus); background: rgba(243, 235, 221, .09); box-shadow: 0 0 0 4px rgba(228, 180, 86, .18); }
.field input[aria-invalid="true"] { border-color: #e07a5f; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.signup .btn { margin-top: 6px; width: 100%; }
.signup .btn:disabled { opacity: .6; cursor: progress; transform: none; }
/* ALTCHA spam check, themed to the card */
.signup__check {
  display: block; margin: 2px 0 12px;
  --altcha-max-width: 100%;
  --altcha-border-radius: 12px;
  --altcha-border-width: 1px;
  --altcha-border-color: var(--faint);
  --altcha-color-base: rgba(243, 235, 221, .04);
  --altcha-color-base-content: var(--paper);
  --altcha-color-neutral: rgba(243, 235, 221, .35);
  --altcha-color-neutral-content: var(--paper);
  --altcha-color-primary: var(--citrus);
  --altcha-color-primary-content: #1d0e05;
  --altcha-color-success: var(--citrus);
  --altcha-color-success-content: #1d0e05;
  --altcha-color-error: #e07a5f;
  --altcha-checkbox-border-color: rgba(243, 235, 221, .45);
  --altcha-input-background-color: rgba(243, 235, 221, .08);
  --altcha-spinner-color: var(--citrus);
  --altcha-shadow: none;
  font-family: var(--f-sans); font-size: 14px;
}
.signup__check:not(:defined) { min-height: 54px; border: 1px solid var(--faint); border-radius: 12px; }
.signup__status { min-height: 1.6em; margin: 12px 0 0; font-size: 14px; color: var(--haze); }
.signup__fine { margin: 6px 0 0; font-size: 12.5px; line-height: 1.6; color: rgba(243, 235, 221, .5); }
@media (max-width: 860px) {
  .support__grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 480px) { .signup__row { grid-template-columns: minmax(0, 1fr); gap: 0; } }

/* ───────── Scroll reveal ───────── */
.js .reveal { opacity: 0; transform: translateY(28px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; filter: none; }

/* ───────── Reduced motion ───────── */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .fog { animation: none; }
  .js .reveal { opacity: 1; transform: none; filter: none; }
  .frame--poster { --ry: 0deg; --rx: 0deg; }
}

/* ───────── ATG branding footer (shared house block) ─────────
   Portable: set the three --atg-foot-* tokens per site; nothing else changes. */
.atg-foot {
  --atg-foot-fg: var(--paper, #fff);
  --atg-foot-muted: rgba(255, 255, 255, .69);
  --atg-foot-line: var(--faint, rgba(255, 255, 255, .14));
  text-align: center; color: var(--atg-foot-fg);
  border-top: 1px solid var(--atg-foot-line);
  padding: clamp(36px, 6vh, 56px) 16px calc(clamp(28px, 5vh, 44px) + var(--dock-space, 0px));
  transition: padding .5s ease;
}
.atg-foot__copy { margin: 0; font-size: clamp(15px, 1vw + 8px, 18px); font-weight: 500; }
.atg-foot__credit {
  margin: 2.25vh 0 0; font-family: system-ui, sans-serif; font-size: 90%; font-weight: 400;
  text-transform: lowercase; color: #eee;
}
.atg-foot__brand { display: inline-block; margin-left: .14rem; text-transform: lowercase; }
.atg-foot__brand a { color: var(--atg-foot-fg); text-decoration: none; }
.atg-foot__brand a:hover { text-decoration: underline; text-underline-offset: 3px; }
.atg-foot__brand::after {
  /* external-link mark as a masked SVG so it takes the text colour; swap to FA ("\f14c") on sites that load the kit */
  content: ""; display: inline-block; width: .74em; height: .74em; margin-left: .3rem; vertical-align: -.04em;
  background-color: currentColor; opacity: .85;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 4h6v6'/%3E%3Cpath d='M20 4l-8.5 8.5'/%3E%3Cpath d='M19 14.5V19a1.5 1.5 0 0 1-1.5 1.5h-12A1.5 1.5 0 0 1 4 19V7a1.5 1.5 0 0 1 1.5-1.5H10'/%3E%3C/svg%3E") center / contain no-repeat;
}
.atg-foot__brand b { font-weight: 700; }
.atg-foot__tag-link { display: inline-block; margin-top: 1.5vh; border-radius: 50%; }
.atg-foot__tag {
  display: inline-block; vertical-align: middle; border-radius: 50%;
  filter: grayscale(100%); transform: scale(1);
  transition: filter 1s ease-in-out, transform 1s ease-in-out;
}
.atg-foot__tag-link:hover .atg-foot__tag,
.atg-foot__tag-link:focus-visible .atg-foot__tag { filter: grayscale(0%); transform: scale(1.25); }
.atg-foot__tag-link:focus-visible { outline: 2px solid var(--atg-foot-fg); outline-offset: 6px; }
