/* ==========================================================================
   Quetzal Corp LLC-FZ
   Static site. No build step, no libraries.
   Motion runs on CSS scroll-driven animations, gated by [data-motion] which
   the inline head script sets only when the browser supports
   `animation-timeline` and the visitor has not asked for reduced motion.
   Without it every section simply renders in its final state.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
:root {
  /* Palette. Crimson is taken from the Quetzal mark itself (#cc2029). */
  --ink:        #0C0A0A;
  --ink-raised: #151111;
  --ink-line:   #251E1E;
  --crimson:    #CC2029;
  --crimson-lo: #8E1219;
  --bone:       #F2EDE7;
  --stone:      #948A82;

  --fg:         var(--bone);
  --fg-quiet:   var(--stone);
  --bg:         var(--ink);

  /* Type */
  --display: "Bricolage Grotesque", ui-sans-serif, system-ui, sans-serif;
  --text:    "Instrument Sans", ui-sans-serif, system-ui, sans-serif;

  /* Measure + rhythm */
  --gutter: clamp(20px, 5vw, 92px);
  --spine:  clamp(0px, 4vw, 64px);   /* room reserved for the ledger rule */
  --bay:    clamp(72px, 11vh, 150px); /* vertical section padding */
  --maxw:   1420px;

  --ease-out:  cubic-bezier(.22, 1, .36, 1);
  --ease-soft: cubic-bezier(.33, .66, .66, 1);
}

/* --------------------------------------------------------------------------
   2. Reset
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: clamp(15px, .55vw + 13.6px, 17px);
  line-height: 1.6;
  font-synthesis-weight: none;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1; }
p  { margin: 0; }
ul, ol, dl, dd { margin: 0; padding: 0; }
li { list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
b { font-weight: 600; }

:focus-visible {
  outline: 2px solid var(--crimson);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip {
  position: fixed; top: 10px; left: 10px; z-index: 200;
  padding: 10px 16px;
  background: var(--crimson); color: #fff;
  font-size: 14px; font-weight: 600;
  transform: translateY(-160%);
  transition: transform .2s var(--ease-out);
}
.skip:focus-visible { transform: none; }

::selection { background: var(--crimson); color: #fff; }

/* Shared section heading */
.h-sec {
  font-size: clamp(34px, 5.2vw, 76px);
  font-weight: 700;
  letter-spacing: -.035em;
  line-height: .95;
}

/* --------------------------------------------------------------------------
   3. The ledger — a fixed crimson spine tracking reading progress.
      This is the page's structural device: one firm, read top to bottom.
   -------------------------------------------------------------------------- */
.ledger {
  position: fixed;
  top: 0; bottom: 0;
  left: calc(var(--gutter) / 2);
  width: 1px;
  background: var(--ink-line);
  z-index: 40;
  pointer-events: none;
}
.ledger__fill {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, var(--crimson), var(--crimson-lo));
  transform-origin: 50% 0;
  transform: scaleY(0);
}
[data-motion] .ledger__fill {
  animation: ledger-run linear both;
  animation-timeline: scroll(root block);
}
@keyframes ledger-run { to { transform: scaleY(1); } }

@media (max-width: 860px) { .ledger { display: none; } }

/* --------------------------------------------------------------------------
   4. Top bar
   -------------------------------------------------------------------------- */
.topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 60;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 16px var(--gutter) 16px calc(var(--gutter) / 2 + var(--spine));
  background: color-mix(in srgb, var(--ink) 72%, transparent);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .3s var(--ease-soft), background .3s var(--ease-soft);
}
.topbar[data-stuck] {
  border-bottom-color: var(--ink-line);
  background: color-mix(in srgb, var(--ink) 92%, transparent);
}
.topbar__mark img { width: 128px; height: auto; }

.topbar__nav {
  display: flex;
  gap: clamp(18px, 2.2vw, 36px);
  margin-left: auto;
  font-size: 14px;
  letter-spacing: .005em;
}
.topbar__nav a {
  color: var(--fg-quiet);
  position: relative;
  padding-block: 4px;
  transition: color .22s var(--ease-soft);
}
.topbar__nav a::after {
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--crimson);
  transform: scaleX(0); transform-origin: 0 50%;
  transition: transform .3s var(--ease-out);
}
.topbar__nav a:hover { color: var(--fg); }
.topbar__nav a:hover::after { transform: scaleX(1); }

.topbar__cta {
  font-size: 14px; font-weight: 600;
  padding: 9px 18px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  transition: border-color .25s var(--ease-soft), background .25s var(--ease-soft);
}
.topbar__cta:hover { border-color: var(--crimson); background: color-mix(in srgb, var(--crimson) 14%, transparent); }

@media (max-width: 860px) {
  .topbar { padding-inline: var(--gutter); gap: 14px; }
  .topbar__nav { display: none; }
  .topbar__cta { margin-left: auto; padding: 8px 14px; font-size: 13px; }
}

/* --------------------------------------------------------------------------
   5. Buttons
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center;
  padding: 13px 26px;
  border-radius: 999px;
  font-size: 15px; font-weight: 600;
  border: 1px solid transparent;
  transition: transform .25s var(--ease-out), background .25s var(--ease-soft),
              border-color .25s var(--ease-soft), color .25s var(--ease-soft);
}
.btn:hover { transform: translateY(-2px); }
.btn--solid { background: var(--crimson); color: #fff; }
.btn--solid:hover { background: #E02630; }
.btn--line { border-color: color-mix(in srgb, var(--bone) 26%, transparent); color: var(--fg); }
.btn--line:hover { border-color: var(--bone); background: color-mix(in srgb, var(--bone) 8%, transparent); }

/* --------------------------------------------------------------------------
   6. HERO — the one bold moment.
      A crimson field opens from a horizon line; the wordmark is dealt apart.
   -------------------------------------------------------------------------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--gutter) 34px calc(var(--gutter) / 2 + var(--spine));
  overflow: clip;
}

/* The crimson field. Starts as a thin band at the baseline of the title and
   opens upward+outward as the hero is scrolled through. */
.hero__field {
  position: absolute;
  z-index: 0;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  background:
    radial-gradient(76% 58% at 88% 18%,
      color-mix(in srgb, var(--crimson) 46%, transparent) 0%,
      color-mix(in srgb, var(--crimson-lo) 26%, transparent) 40%,
      transparent 70%),
    radial-gradient(120% 80% at 6% 108%,
      color-mix(in srgb, var(--crimson) 58%, transparent) 0%,
      color-mix(in srgb, var(--crimson-lo) 28%, transparent) 44%,
      transparent 74%);
  transform-origin: 50% 100%;
}
[data-motion] .hero__field {
  animation: hero-field linear both;
  animation-timeline: view(block);
  animation-range: cover 0% cover 100%;
}
@keyframes hero-field {
  0%   { transform: scaleY(.06); opacity: .55; }
  48%  { transform: scaleY(1);   opacity: 1; }
  100% { transform: scaleY(1.3); opacity: .22; }
}

/* A fine grain so the crimson field never reads as flat CSS gradient. */
.hero::after {
  content: "";
  position: absolute; inset: 0; z-index: 1;
  pointer-events: none;
  opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)' opacity='.34'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--maxw);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .82fr);
  grid-template-areas:
    "place place"
    "title title"
    "lede  acts";
  column-gap: clamp(24px, 4vw, 72px);
  align-items: end;
}
.hero__place { grid-area: place; }
.hero__title { grid-area: title; }
.hero__lede  { grid-area: lede; }
.hero__acts  { grid-area: acts; }

@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "place" "title" "lede" "acts";
  }
}

.hero__place {
  display: flex; align-items: center; gap: 9px;
  font-size: 14px;
  color: color-mix(in srgb, var(--bone) 80%, transparent);
  margin-bottom: clamp(18px, 3vh, 34px);
}
.hero__pin {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--crimson);
  box-shadow: 0 0 0 0 color-mix(in srgb, var(--crimson) 70%, transparent);
}
@media (prefers-reduced-motion: no-preference) {
  .hero__pin { animation: pin 2.8s var(--ease-soft) infinite; }
}
@keyframes pin {
  0%, 100% { box-shadow: 0 0 0 0 color-mix(in srgb, var(--crimson) 65%, transparent); }
  55%      { box-shadow: 0 0 0 9px transparent; }
}

/* The wordmark. Each letter is its own span so it can be dealt apart. */
.hero__title {
  font-size: clamp(52px, 13.4vw, 196px);
  font-weight: 800;
  letter-spacing: -.055em;
  line-height: .86;
  margin-bottom: clamp(30px, 5vh, 60px);
}
/* Lines are not clipped: a clip box tight enough to hide the travelling
   letters also slices the Q tail and the p stem. The letters instead fade
   as they rise, which reads as the same reveal and keeps descenders whole. */
.hero__word { display: block; }
.hero__word > span { display: inline-block; will-change: transform; }
.hero__word--two { color: color-mix(in srgb, var(--bone) 46%, transparent); }

[data-motion] .hero__word > span {
  animation: deal .95s var(--ease-out) both;
  animation-delay: calc(var(--d, 0) * 42ms);
}
@keyframes deal {
  from { transform: translate3d(0, 46%, 0); opacity: 0; }
  to   { transform: none; opacity: 1; }
}
.hero__word > span:nth-child(1) { --d: 0 } .hero__word > span:nth-child(2) { --d: 1 }
.hero__word > span:nth-child(3) { --d: 2 } .hero__word > span:nth-child(4) { --d: 3 }
.hero__word > span:nth-child(5) { --d: 4 } .hero__word > span:nth-child(6) { --d: 5 }
.hero__word > span:nth-child(7) { --d: 6 }
.hero__word--two > span:nth-child(1) { --d: 7 } .hero__word--two > span:nth-child(2) { --d: 8 }
.hero__word--two > span:nth-child(3) { --d: 9 } .hero__word--two > span:nth-child(4) { --d: 10 }

.hero__lede {
  max-width: 54ch;
  font-size: clamp(16px, 1.15vw, 20px);
  line-height: 1.55;
  color: color-mix(in srgb, var(--bone) 88%, transparent);
}

.hero__acts {
  display: flex; flex-wrap: wrap; gap: 12px;
  margin-top: clamp(26px, 4vh, 44px);
}

/* Facts rail across the foot of the hero */
.hero__facts {
  position: relative; z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  margin-top: clamp(34px, 6vh, 72px);
  border-top: 1px solid color-mix(in srgb, var(--bone) 20%, transparent);
  gap: 0;
}
.hero__facts > div {
  padding: 18px 22px 2px 0;
}
.hero__facts > div + div {
  padding-left: 24px;
  border-left: 1px solid color-mix(in srgb, var(--bone) 14%, transparent);
}
.hero__facts dt {
  font-size: 13px;
  color: color-mix(in srgb, var(--bone) 62%, transparent);
  margin-bottom: 5px;
}
.hero__facts dd {
  font-family: var(--display);
  font-size: clamp(16px, 1.5vw, 23px);
  font-weight: 500;
  letter-spacing: -.02em;
}
@media (max-width: 720px) {
  .hero__facts { grid-template-columns: 1fr; }
  .hero__facts > div { padding: 15px 0; border-top: 1px solid color-mix(in srgb, var(--bone) 14%, transparent); }
  .hero__facts > div:first-child { border-top: 0; }
  .hero__facts > div + div { padding-left: 0; }
}

/* --------------------------------------------------------------------------
   7. POSITION — statement lines closing in from alternate sides
   -------------------------------------------------------------------------- */
.position {
  padding: calc(var(--bay) * 1.5) var(--gutter) var(--bay) calc(var(--gutter) / 2 + var(--spine));
}
.position__stack {
  max-width: 19ch;
  font-family: var(--display);
  font-size: clamp(30px, 6.4vw, 92px);
  font-weight: 500;
  letter-spacing: -.04em;
  line-height: 1.02;
}
.position__stack > span { display: block; }
.position__stack > span:nth-child(2) { color: var(--crimson); }

[data-motion] .position { view-timeline: --pos block; }
[data-motion] .position__stack > span {
  animation: linear both;
  animation-timeline: --pos;
}
[data-motion] .position__stack > span:nth-child(odd)  { animation-name: close-left; }
[data-motion] .position__stack > span:nth-child(even) { animation-name: close-right; }
[data-motion] .position__stack > span:nth-child(1) { animation-range: cover 6vh  cover 74vh; }
[data-motion] .position__stack > span:nth-child(2) { animation-range: cover 12vh cover 80vh; }
[data-motion] .position__stack > span:nth-child(3) { animation-range: cover 18vh cover 86vh; }
[data-motion] .position__stack > span:nth-child(4) { animation-range: cover 24vh cover 92vh; }

@keyframes close-left  { from { transform: translateX(-16vw); opacity: 0 } to { transform: none; opacity: 1 } }
@keyframes close-right { from { transform: translateX( 16vw); opacity: 0 } to { transform: none; opacity: 1 } }

/* --------------------------------------------------------------------------
   8. HOLDINGS
   -------------------------------------------------------------------------- */
.holdings {
  padding: var(--bay) var(--gutter) var(--bay) calc(var(--gutter) / 2 + var(--spine));
  border-top: 1px solid var(--ink-line);
}
.holdings__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(40px, 7vh, 80px);
}
.holdings__note, .practice__note {
  max-width: 44ch;
  color: var(--fg-quiet);
}
@media (max-width: 860px) {
  .holdings__head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
}

.holding {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) clamp(120px, 17vw, 230px);
  gap: clamp(18px, 3.4vw, 54px);
  align-items: center;
  padding: clamp(28px, 4.4vh, 50px) 0;
  border-top: 1px solid var(--ink-line);
}
.holding:last-child { border-bottom: 1px solid var(--ink-line); }

/* Crimson wash that wipes in behind the row on hover */
.holding::before {
  content: "";
  position: absolute;
  inset: 0 calc(var(--gutter) * -0.5);
  background: linear-gradient(90deg,
    color-mix(in srgb, var(--crimson) 15%, transparent),
    transparent 62%);
  opacity: 0;
  transition: opacity .4s var(--ease-soft);
  pointer-events: none;
}
.holding:hover::before, .holding:focus-within::before { opacity: 1; }

.holding__idx {
  font-family: var(--display);
  font-size: clamp(13px, 1vw, 15px);
  font-weight: 500;
  color: var(--crimson);
  padding-top: 6px;
  align-self: start;
  font-variant-numeric: tabular-nums;
}
.holding__body { position: relative; }
.holding__name {
  font-size: clamp(26px, 3.6vw, 52px);
  letter-spacing: -.035em;
  margin-bottom: 6px;
}
.holding__kind {
  font-size: 14px;
  color: var(--crimson);
  margin-bottom: 14px;
}
.holding__text { max-width: 58ch; color: var(--fg-quiet); }

.holding__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.holding__tags li {
  font-size: 12.5px;
  padding: 5px 12px;
  border: 1px solid var(--ink-line);
  border-radius: 999px;
  color: color-mix(in srgb, var(--bone) 72%, transparent);
}

.holding__plate {
  position: relative;
  aspect-ratio: 16 / 10;
  display: grid; place-items: center;
  padding: clamp(16px, 1.6vw, 26px);
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 4px;
  overflow: hidden;
  transition: border-color .45s var(--ease-soft), background .45s var(--ease-soft);
}
.holding:hover .holding__plate {
  border-color: color-mix(in srgb, var(--crimson) 46%, var(--ink-line));
  background: color-mix(in srgb, var(--crimson) 8%, var(--ink-raised));
}
/* Dark-on-white PNG artwork: invert so the mark reads light on the dark plate. */
.holding__plate img {
  max-height: 86%;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) invert(1) contrast(1.05);
  opacity: .8;
  transition: opacity .45s var(--ease-soft), transform .5s var(--ease-out);
}
.holding:hover .holding__plate img { opacity: 1; transform: scale(1.04); }

/* The Quetzal mark is already white on its own crimson plate: leave it alone. */
.holding__plate img[src$=".svg"] { filter: none; opacity: .96; }

/* Postfusion's artwork is already white on a black plate, so inverting it
   would flip it to black on white. It needs no correction. */
.holding__plate--dark img { filter: none; opacity: .9; }

/* Each row is pushed in as it enters */
[data-motion] .holding {
  animation: push-in linear both;
  animation-timeline: view(block);
  animation-range: cover 4vh cover 44vh;
}
@keyframes push-in {
  from { transform: translateY(30px); opacity: 0 }
  to   { transform: none; opacity: 1 }
}

@media (max-width: 860px) {
  .holding { grid-template-columns: auto minmax(0, 1fr); align-items: start; }
  .holding__plate { grid-column: 2; max-width: 190px; margin-top: 20px; }
}

/* --------------------------------------------------------------------------
   9. PRACTICE
   -------------------------------------------------------------------------- */
.practice {
  padding: var(--bay) var(--gutter) var(--bay) calc(var(--gutter) / 2 + var(--spine));
  border-top: 1px solid var(--ink-line);
}
.practice__head {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(36px, 6vh, 68px);
}
@media (max-width: 860px) {
  .practice__head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
}

.prow {
  display: grid;
  grid-template-columns: clamp(96px, 12vw, 160px) minmax(0, 1fr) minmax(0, 1.15fr);
  grid-template-areas: "step name text";
  gap: clamp(16px, 3vw, 48px);
  align-items: start;
  padding: clamp(24px, 3.4vh, 40px) 0;
  border-top: 1px solid var(--ink-line);
  transition: opacity .5s var(--ease-soft);
}
.prow:last-child { border-bottom: 1px solid var(--ink-line); }
.prow__step {
  grid-area: step;
  font-size: 13px;
  color: var(--fg-quiet);
  padding-top: 9px;
}
.prow__name {
  grid-area: name;
  font-size: clamp(21px, 2.3vw, 34px);
  font-weight: 500;
  letter-spacing: -.028em;
}
.prow__text {
  grid-area: text;
  max-width: 54ch;
  color: var(--fg-quiet);
  padding-top: 6px;
}

/* Rows dim until they are the one being read */
[data-motion] .prow {
  animation: row-focus linear both;
  animation-timeline: view(block);
  animation-range: cover 10vh cover 90vh;
}
@keyframes row-focus {
  0%   { opacity: .28 }
  35%, 65% { opacity: 1 }
  100% { opacity: .28 }
}

@media (max-width: 1100px) {
  .prow {
    grid-template-columns: clamp(96px, 12vw, 160px) minmax(0, 1fr);
    grid-template-areas: "step name" ".    text";
    row-gap: 10px;
  }
}
@media (max-width: 720px) {
  .prow {
    grid-template-columns: 1fr;
    grid-template-areas: "step" "name" "text";
    row-gap: 8px;
  }
  .prow__step { padding-top: 0; }
  .prow__text { padding-top: 0; }
}

/* --------------------------------------------------------------------------
   10. CLIENTS marquee
   -------------------------------------------------------------------------- */
.clients {
  padding: calc(var(--bay) * .72) 0;
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
}
.clients__label {
  padding-inline: var(--gutter) var(--gutter);
  padding-left: calc(var(--gutter) / 2 + var(--spine));
  font-size: 14px;
  color: var(--fg-quiet);
  margin-bottom: 34px;
}
.clients__belt {
  mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent);
}
.clients__track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .clients__track { animation: belt 36s linear infinite; }
  .clients:hover .clients__track { animation-play-state: paused; }
}
@keyframes belt { to { transform: translateX(-50%); } }

.clients__set {
  display: flex;
  align-items: center;
  gap: clamp(44px, 7vw, 110px);
  padding-right: clamp(44px, 7vw, 110px);
}
/* The client logos are dark artwork on opaque white plates, not transparent
   PNGs. Inverting turns the mark light and the white field black, so it sits
   on the dark page; grayscale first keeps the inverted hues neutral. */
.clients__set img {
  height: clamp(26px, 3vw, 40px);
  width: auto;
  object-fit: contain;
  filter: grayscale(1) invert(1) contrast(1.05);
  opacity: .62;
  transition: opacity .35s var(--ease-soft);
}
.clients__set img:hover { opacity: 1; }

/* --------------------------------------------------------------------------
   11. PARTNERS
   -------------------------------------------------------------------------- */
.partners {
  padding: var(--bay) var(--gutter) var(--bay) calc(var(--gutter) / 2 + var(--spine));
  border-top: 1px solid var(--ink-line);
}
.partners__head { margin-bottom: clamp(32px, 5vh, 58px); }
.partners__pair {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
}
.partner {
  background: var(--ink);
  padding: clamp(26px, 3.6vw, 48px);
  transition: background .4s var(--ease-soft);
}
.partner:hover { background: var(--ink-raised); }
.partner__logo { height: 48px; margin-bottom: 26px; }
/* Dark-on-white artwork: invert rather than brighten. */
.partner__logo img {
  height: 100%; width: auto; object-fit: contain;
  filter: grayscale(1) invert(1) contrast(1.05);
  opacity: .82;
  transition: opacity .35s var(--ease-soft);
}
.partner:hover .partner__logo img { opacity: 1; }
.partner__name {
  font-size: clamp(20px, 2vw, 28px);
  letter-spacing: -.028em;
  margin-bottom: 5px;
}
.partner__role { font-size: 14px; color: var(--crimson); margin-bottom: 16px; }
.partner__text { color: var(--fg-quiet); max-width: 50ch; }

/* --------------------------------------------------------------------------
   12. VOICES
   -------------------------------------------------------------------------- */
.voices {
  padding: var(--bay) 0 var(--bay) 0;
  border-top: 1px solid var(--ink-line);
  overflow: hidden;
}
.voices__head,
.lead-voice {
  padding-right: var(--gutter);
  padding-left: calc(var(--gutter) / 2 + var(--spine));
}
.voices__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(16px, 4vw, 70px);
  align-items: end;
  margin-bottom: clamp(38px, 6vh, 70px);
}
.voices__note { max-width: 42ch; color: var(--fg-quiet); }
@media (max-width: 860px) {
  .voices__head { grid-template-columns: 1fr; align-items: start; gap: 18px; }
}

/* Lead quote: the one that carries weight. */
.lead-voice {
  margin: 0 0 clamp(40px, 6vh, 72px);
  max-width: min(100%, 880px);
}
.lead-voice__quote {
  margin: 0 0 26px;
  font-family: var(--display);
  font-size: clamp(23px, 3.1vw, 44px);
  font-weight: 500;
  letter-spacing: -.03em;
  line-height: 1.16;
  text-wrap: balance;
}
.lead-voice__quote em {
  font-style: normal;
  color: var(--crimson);
}
.lead-voice__by { display: flex; align-items: center; gap: 14px; }
.lead-voice__avatar {
  flex: none;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  border: 1px solid color-mix(in srgb, var(--crimson) 50%, var(--ink-line));
  background: color-mix(in srgb, var(--crimson) 12%, transparent);
  font-size: 14px; font-weight: 600;
  letter-spacing: .02em;
}
.lead-voice__who { display: flex; flex-direction: column; gap: 1px; font-size: 14.5px; }
.lead-voice__who span { color: var(--fg-quiet); }

/* The remaining quotes stream past, echoing the client belt above. */
.voices__belt {
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.voices__track { display: flex; width: max-content; }
@media (prefers-reduced-motion: no-preference) {
  .voices__track { animation: belt 64s linear infinite; }
  .voices:hover .voices__track,
  .voices:focus-within .voices__track { animation-play-state: paused; }
}
.voices__set { display: flex; }
.voices__set > li { display: flex; }

.voice {
  margin: 0 clamp(12px, 1.4vw, 20px) 0 0;
  width: clamp(290px, 27vw, 400px);
  padding: clamp(22px, 2.2vw, 30px);
  background: var(--ink-raised);
  border: 1px solid var(--ink-line);
  border-radius: 3px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: border-color .4s var(--ease-soft), background .4s var(--ease-soft);
}
.voice:hover {
  border-color: color-mix(in srgb, var(--crimson) 52%, var(--ink-line));
  background: color-mix(in srgb, var(--crimson) 7%, var(--ink-raised));
}
.voice blockquote {
  margin: 0;
  font-size: clamp(15px, 1vw, 16.5px);
  line-height: 1.55;
  color: color-mix(in srgb, var(--bone) 88%, transparent);
}
.voice figcaption {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--ink-line);
  font-size: 13.5px;
  display: flex; flex-direction: column; gap: 2px;
}
.voice figcaption span { color: var(--fg-quiet); }

/* --------------------------------------------------------------------------
   13. CONTACT
   -------------------------------------------------------------------------- */
.contact {
  padding: calc(var(--bay) * 1.2) var(--gutter) var(--bay) calc(var(--gutter) / 2 + var(--spine));
  border-top: 1px solid var(--ink-line);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(36px, 5vw, 90px);
}
@media (max-width: 960px) { .contact { grid-template-columns: 1fr; } }

.contact__title {
  font-size: clamp(42px, 7vw, 104px);
  letter-spacing: -.045em;
  line-height: .9;
  margin-bottom: 24px;
}
.contact__text { max-width: 40ch; color: var(--fg-quiet); margin-bottom: 26px; }
.contact__mail {
  display: inline-block;
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 28px);
  font-weight: 500;
  letter-spacing: -.025em;
  color: var(--crimson);
  border-bottom: 1px solid color-mix(in srgb, var(--crimson) 42%, transparent);
  padding-bottom: 3px;
  transition: border-color .3s var(--ease-soft);
}
.contact__mail:hover { border-bottom-color: var(--crimson); }

.desks {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: var(--ink-line);
  border: 1px solid var(--ink-line);
  align-self: start;
}
@media (max-width: 560px) { .desks { grid-template-columns: 1fr; } }
.desk { background: var(--ink); padding: clamp(20px, 2vw, 28px); }
.desk h3 {
  font-size: 14px; font-weight: 600; font-family: var(--text);
  color: var(--crimson);
  margin-bottom: 9px;
}
.desk p { font-size: 14.5px; color: var(--fg-quiet); line-height: 1.55; }
.desk a { border-bottom: 1px solid transparent; transition: color .25s, border-color .25s; }
.desk a:hover { color: var(--fg); border-bottom-color: color-mix(in srgb, var(--bone) 40%, transparent); }

/* --------------------------------------------------------------------------
   14. FOOTER
   -------------------------------------------------------------------------- */
.foot {
  border-top: 1px solid var(--ink-line);
  padding: var(--bay) var(--gutter) 28px calc(var(--gutter) / 2 + var(--spine));
  overflow: clip;
}
/* Footer: brand + tagline + socials on the left, section links on the right.
   Contact details live in the contact section above and are not repeated. */
.foot__cols {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding-bottom: clamp(44px, 7vh, 80px);
}
@media (max-width: 640px) {
  .foot__cols { grid-template-columns: 1fr; gap: 32px; }
}

.foot__tagline {
  max-width: 38ch;
  color: var(--fg-quiet);
  margin-bottom: 24px;
}

.foot__social { display: flex; gap: 10px; }
.foot__social a {
  display: grid;
  place-items: center;
  width: 40px; height: 40px;
  border: 1px solid var(--ink-line);
  border-radius: 50%;
  color: var(--fg-quiet);
  transition: color .25s var(--ease-soft), border-color .25s var(--ease-soft),
              background .25s var(--ease-soft), transform .25s var(--ease-out);
}
.foot__social svg { width: 17px; height: 17px; fill: currentColor; }
.foot__social a:hover {
  color: #fff;
  border-color: var(--crimson);
  background: var(--crimson);
  transform: translateY(-2px);
}

.foot__title {
  font-family: var(--text);
  font-size: 14px;
  font-weight: 600;
  color: var(--crimson);
  margin-bottom: 14px;
}
.foot__col { display: flex; flex-direction: column; align-items: flex-start; gap: 9px; }
.foot__link {
  font-size: 14.5px;
  color: var(--fg-quiet);
  border-bottom: 1px solid transparent;
  transition: color .25s var(--ease-soft), border-color .25s var(--ease-soft);
}
.foot__link:hover {
  color: var(--fg);
  border-bottom-color: color-mix(in srgb, var(--bone) 40%, transparent);
}

.foot__mark { margin-bottom: clamp(34px, 6vh, 64px); }
.foot__mark img {
  width: 100%;
  max-width: 1100px;
  height: auto;
  opacity: .22;
}
[data-motion] .foot__mark img {
  animation: foot-rise linear both;
  animation-timeline: view(block);
  animation-range: cover 0% cover 86%;
}
@keyframes foot-rise {
  from { opacity: 0; transform: translateY(26px) }
  to   { opacity: .22; transform: none }
}

.foot__bar {
  display: flex; flex-wrap: wrap; gap: 14px;
  align-items: center; justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--ink-line);
  font-size: 13.5px;
  color: var(--fg-quiet);
}
.foot__links { display: flex; gap: 22px; }
.foot__links a { transition: color .25s var(--ease-soft); }
.foot__links a:hover { color: var(--fg); }

/* --------------------------------------------------------------------------
   15. Reduced motion — belt and braces.
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
  .clients__track,
  .voices__track { animation: none; }

  /* With the belt stopped, the quotes must not sit off-screen unreachable:
     wrap them into a grid, inside the section's normal side padding, and
     drop the duplicate set. */
  .voices__belt {
    mask-image: none; -webkit-mask-image: none;
    padding-right: var(--gutter);
    padding-left: calc(var(--gutter) / 2 + var(--spine));
  }
  .voices__track { width: auto; flex-wrap: wrap; }
  .voices__set { flex-wrap: wrap; gap: 14px; }
  .voices__set > li { flex: 1 1 300px; }
  .voices__set[aria-hidden="true"] { display: none; }
  .voice { margin-right: 0; width: auto; }
}
