/* ==========================================================
   potera | landing page
   Type and artwork scale from the 1440px design.
   Spacing uses responsive ranges with readable mobile floors.
   ========================================================== */

@font-face {
  font-family: "Post";
  src: url(assets/e2dccc73e263.woff2) format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Denim";
  src: url(assets/720b0022f1f0.woff2) format("woff2");
  font-weight: 300 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --black: #121212;
  --white: #F8F8F8;
  --black-50: rgba(18, 18, 18, .5);
  --white-50: rgba(248, 248, 248, .5);

  /* 1 design pixel. Stops growing at 1440px wide. */
  --s: calc(min(100vw, 1440px) / 1440);
  --gutter: max(20px, calc(50 * var(--s)));
  --space-sm: clamp(12px, 1.25vw, 18px);
  --space-md: clamp(20px, 2.22vw, 32px);
  --space-lg: clamp(32px, 3.61vw, 52px);
  --space-xl: clamp(48px, 5.28vw, 76px);
  --space-2xl: clamp(64px, 7.22vw, 104px);
  --nav-height: calc(clamp(52px, 4.86vw, 70px) + env(safe-area-inset-top, 0px));

  --serif: "Post", Georgia, "Times New Roman", serif;
  --sans: "Denim", "Helvetica Neue", Arial, sans-serif;
}

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

body {
  margin: 0;
  background: var(--black);
  color: var(--black);
  font-family: var(--serif);
  /* Post's "TW" styles = low contrast. Denim ignores this axis. */
  font-variation-settings: "CNTR" 0;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul, dl, dd, figure { margin: 0; padding: 0; }
ul { list-style: none; }
a { color: inherit; }
button, input { font: inherit; color: inherit; }

.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-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 100;
  background: var(--black); color: var(--white); padding: 8px 14px; border-radius: 99px;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }

.container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding-inline: var(--gutter);
}

.section--light { background: var(--white); color: var(--black); }
.section--dark  { background: var(--black); color: var(--white); }

/* ---------- section labels: "--> what_we_do" ---------- */
.label {
  font-family: var(--serif);
  font-weight: 400;
  font-size: max(22px, calc(40 * var(--s)));
  line-height: 1.3;
  letter-spacing: -0.06em;
}
.label__dim { opacity: .5; }

/* ---------- nav ---------- */
.nav {
  position: fixed;
  z-index: 50;
  inset: 0 0 auto;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: calc(env(safe-area-inset-top, 0px) + clamp(4px, .83vw, 12px));
  padding-inline: calc(max(0px, (100% - 1440px) / 2) + var(--gutter) + min(1.1vw, 16px));
  border-bottom: 2px solid var(--black);
  background: rgba(248, 248, 248, .3);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--black);
  transition: color .25s, border-color .25s, background-color .25s;
}
.nav[data-theme="dark"] {
  border-color: var(--white);
  background: rgba(18, 18, 18, .3);
  color: var(--white);
}
.nav__logo { display: block; width: max(70px, calc(89 * var(--s))); }
.nav__logo svg { width: 100%; height: auto; }

.nav__links { display: flex; gap: 4px; }
.pill {
  display: block;
  padding: max(3px, calc(3 * var(--s))) max(10px, calc(10 * var(--s))) max(4px, calc(4 * var(--s)));
  border: 2px solid;
  border-radius: 31px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: max(15px, calc(18 * var(--s)));
  line-height: 1;
  letter-spacing: -0.04em;
  text-decoration: none;
  transition: background-color .2s;
}
.nav { --pill-bg: var(--black); --pill-fg: var(--white); }
.nav[data-theme="dark"] { --pill-bg: var(--white); --pill-fg: var(--black); }
.pill {
  background: transparent;
  border-color: transparent;
  color: var(--pill-bg);
  transition: background-color .2s, color .2s, border-color .2s;
}
.pill:hover { border-color: var(--pill-bg); }
/* the section you're in: text flips colour, and the liquid fill (.nav__blob) slides under it */
.pill[aria-current="true"] { color: var(--pill-fg); }
.pill[aria-current="true"]:hover { border-color: transparent; }
.nav__links { position: relative; }
.nav__links li { position: relative; z-index: 1; }
.nav__blob {
  position: absolute;
  z-index: 0;
  top: 0;
  bottom: 0;
  left: 0;
  width: 0;
  border-radius: 31px;
  background: var(--pill-bg);
  transform-origin: center;
  opacity: 0;
  pointer-events: none;
  transition: background-color .25s;
}

/* ---------- logo lockup (hero + footer) ---------- */
.lockup { width: 100%; height: auto; overflow: visible; }
.lockup use, .lockup__tag { fill: currentColor; }
.lockup__tag { font-family: var(--serif); font-weight: 300; font-size: 80px; letter-spacing: -0.04em; }
.lockup__line { stroke: currentColor; stroke-width: 2.5; }

/* ---------- hero ---------- */
.hero {
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  padding-top: calc(var(--nav-height) + var(--space-lg));
  padding-bottom: var(--space-md);
}

/* ---------- big statements (what we believe / do / different / contact) ---------- */
.statement {
  font-family: var(--sans);
  font-weight: 400;
  font-size: max(32px, calc(90 * var(--s)));
  line-height: 1.08;
  letter-spacing: -0.04em;
}
.statement em {
  font-family: var(--serif);
  font-style: normal;
  font-weight: 300;
}
.statement--center { text-align: center; max-width: calc(1184 * var(--s) + 2px); margin-inline: auto; }

/* ---------- who we are + what we believe ---------- */
.about { padding-block: var(--space-xl) var(--space-2xl); }
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  align-items: baseline;
  column-gap: var(--space-md);
}
.split__body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: max(18px, calc(40 * var(--s)));
  line-height: 1.24;
}
.believe { margin-top: var(--space-xl); }
.believe .statement { margin-top: var(--space-md); }

/* ---------- what we do ---------- */
.what {
  position: relative;
  overflow: hidden;
  padding-block: var(--space-xl) max(40px, calc(74 * var(--s)));
}
/* the dark hill rising into the bottom of this section */
.what::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(-522 * var(--s));
  width: calc(2122 * var(--s));
  height: calc(802 * var(--s));
  translate: -50% 0;
  border-radius: 50%;
  background: var(--black);
  pointer-events: none;
}
.what .container { position: relative; z-index: 1; }
.what .statement { margin-top: var(--space-lg); }
.what .statement > span { display: block; text-wrap: balance; }
.what .statement > br { display: none; }

.offer {
  margin: max(56px, calc(112 * var(--s))) auto 0;
  width: calc(1181 * var(--s));
  max-width: 100%;
  display: grid;
  grid-template-columns: minmax(0, calc(612 * var(--s))) minmax(0, calc(410 * var(--s)));
  justify-content: space-between;
  padding: max(18px, calc(21 * var(--s))) max(20px, calc(53 * var(--s))) max(28px, calc(89 * var(--s))) max(20px, calc(40 * var(--s)));
  /* stroke only on the right (1) and bottom (3), as in the design */
  border: 0 solid var(--white);
  border-right-width: 1px;
  border-bottom-width: 3px;
  border-radius: max(18px, calc(30 * var(--s)));
  background: var(--black);
  color: var(--white);
}
.offer__mark {
  display: block;
  font-family: var(--sans);
  font-size: max(20px, calc(40 * var(--s)));
  line-height: 1.16;
}
.offer__text {
  margin-top: max(10px, calc(21 * var(--s)));
  padding-left: calc(24 * var(--s));
  font-family: var(--sans);
  font-size: max(18px, calc(40 * var(--s)));
  line-height: 1.16;
}
.offer__list { margin-top: max(16px, calc(68 * var(--s))); }
.offer__list li {
  border-top: 1px solid var(--white);
  padding-bottom: max(14px, calc(36 * var(--s)));
  font-weight: 300;
  font-size: max(17px, calc(30 * var(--s)));
  line-height: max(30px, calc(52 * var(--s)));
  letter-spacing: -0.04em;
}
.offer__list li:last-child { padding-bottom: 0; }
.offer__list li span { margin-right: .2em; }

/* ---------- what makes us different ---------- */
.diff { padding-block: var(--space-xl) var(--space-2xl); }
.diff__statement { margin-top: var(--space-md); }
.diff__old { color: var(--white-50); text-decoration-thickness: .06em; }
.changes {
  margin-top: var(--space-lg);
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--space-sm);
}
.change {
  padding: var(--space-sm) var(--space-sm) var(--space-md);
  border: 1px solid var(--white);
  border-radius: 15px;
}
.change__art {
  position: relative;
  aspect-ratio: 218 / 214;
  border-radius: 15px;
  background: var(--black) center / cover no-repeat;
  display: grid;
  place-items: center;
}
/* the glass icons are part of each card image (rendered with the Figma glass settings) */
.change__old, .change__new {
  font-weight: 300;
  font-size: max(16px, calc(28 * var(--s)));
  line-height: 1.12;
  letter-spacing: -0.04em;
}
.change__old { margin-top: var(--space-sm); color: var(--white-50); min-height: 2lh; }
.change__old s { text-decoration-thickness: .06em; }
.change__new { margin-top: .55em; }

/* ---------- work ---------- */
.work { padding-block: var(--space-xl); }
.work .label { margin-bottom: clamp(32px, 4.65vw, 67px); }
.case + .case { margin-top: clamp(32px, 4.65vw, 67px); }

.case {
  --case-inset: clamp(18px, 3.2vw, 46px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) calc(416 * var(--s));
  grid-template-rows: auto 1fr;
  grid-template-areas: "head media" "stats media";
  column-gap: calc(114 * var(--s));
  padding-inline-start: var(--case-inset);
  border: 2px solid var(--black);
  border-radius: clamp(16px, 1.4vw, 20px);
  overflow: hidden;
}

.case__head { grid-area: head; padding-top: calc(60 * var(--s)); }
.stats { grid-area: stats; }
.carousel { grid-area: media; }

.case__meta { display: flex; align-items: center; gap: 8px max(14px, calc(26 * var(--s))); flex-wrap: wrap; }
.tag {
  display: inline-block;
  padding: max(4px, calc(5 * var(--s))) max(10px, calc(11 * var(--s)));
  border: 1px solid currentColor;
  border-radius: 33px;
  font-weight: 500;
  font-size: max(14px, calc(20 * var(--s)));
  line-height: 1.3;
  letter-spacing: -0.04em;
}
.brands { display: flex; align-items: center; gap: calc(9 * var(--s)); }
.brand-logo {
  display: block;
  background: var(--black);
  -webkit-mask: var(--logo) center / contain no-repeat;
  mask: var(--logo) center / contain no-repeat;
}
.brand-logo--truly { height: max(16px, calc(22 * var(--s))); aspect-ratio: 400 / 172; }
.brand-logo--tea   { height: max(18px, calc(26 * var(--s))); aspect-ratio: 391 / 200; }
.brand-img--karama { height: max(12px, calc(16 * var(--s))); width: auto; display: block; }
.brands__divider { width: 1px; height: max(20px, calc(28 * var(--s))); background: var(--black); }

.case__title {
  margin-top: clamp(18px, 2.15vw, 31px);
  font-family: var(--sans);
  font-weight: 600;
  font-size: max(32px, calc(60 * var(--s)));
  line-height: 1.16;
  letter-spacing: -0.04em;
}
.case__body {
  margin-top: clamp(16px, 2.5vw, 36px);
  font-weight: 300;
  font-size: max(17px, calc(26 * var(--s)));
  line-height: 1.3;
  letter-spacing: -0.04em;
}

.stats {
  align-self: end;
  min-height: calc(110 * var(--s));
  margin-block: var(--space-md) calc(68 * var(--s));
  display: grid;
  grid-template-columns: minmax(0, calc(205 * var(--s))) minmax(0, max-content);
  gap: clamp(20px, 4.65vw, 67px);
  align-content: start;
}
.stat {
  min-width: 0;
  border-top: 1px solid currentColor;
  padding-top: max(8px, calc(10 * var(--s)));
}
.stat dt {
  font-family: var(--sans);
  font-weight: 600;
  font-size: max(24px, calc(40 * var(--s)));
  line-height: 1.05;
  letter-spacing: -0.04em;
}
.stat--wide { max-width: calc(303 * var(--s)); }
.stat--wide dd { max-width: calc(268 * var(--s)); }
.stat dd {
  margin-top: max(6px, calc(10 * var(--s)));
  font-weight: 300;
  font-size: max(13px, calc(20 * var(--s)));
  line-height: 1.25;
  letter-spacing: -0.04em;
}

/* ---------- carousel ---------- */
.carousel {
  --card-w: calc(336 * var(--s));
  --card-h: calc(var(--card-w) * 595 / 336);
  --peek-start: calc(115 * var(--s));
  --peek-end: calc(103 * var(--s));
  position: relative;
  display: grid;
  grid-template-columns: var(--card-w) 1fr;
  align-items: start;
}
.carousel__track {
  position: relative;
  height: calc(var(--card-h) + var(--peek-start) + var(--peek-end));
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scrollbar-width: none;
  display: flex;
  flex-direction: column;
  gap: calc(16 * var(--s));
  padding-block: var(--peek-start) var(--peek-end);
  scroll-padding-top: var(--peek-start);
  outline-offset: -4px;
}
.carousel__track::-webkit-scrollbar { display: none; }

.slide {
  position: relative;
  flex: 0 0 auto;
  width: var(--card-w);
  aspect-ratio: 336 / 595;
  border-radius: max(18px, calc(30 * var(--s)));
  overflow: hidden;
  scroll-snap-align: start;
  background: rgba(18, 18, 18, .08);
  cursor: pointer;
}
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 3px solid var(--black);
  opacity: 0;
  transition: opacity .25s;
  pointer-events: none;
}
.slide.is-active { cursor: default; }
.slide__controls {
  position: absolute;
  z-index: 2;
  inset-inline: max(10px, calc(14 * var(--s)));
  bottom: max(10px, calc(14 * var(--s)));
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) 34px;
  align-items: center;
  gap: 4px;
  padding-inline: 2px;
  border-radius: 999px;
  background: rgba(18, 18, 18, .68);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  color: var(--white);
  visibility: hidden;
}
.slide.is-active .slide__controls { visibility: visible; }
.slide__play,
.slide__sound {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
}
.slide__play svg, .slide__sound svg { width: 18px; height: 18px; }
.slide__timeline {
  position: relative;
  display: grid;
  align-items: center;
  min-width: 0;
}
.slide__timeline::before,
.slide__timeline::after {
  content: "";
  position: absolute;
  inset-inline: 5px;
  height: 3px;
  border-radius: 999px;
  pointer-events: none;
}
.slide__timeline::before { background: var(--white-50); }
.slide__timeline::after {
  background: var(--white);
  transform: scaleX(var(--progress, 0));
  transform-origin: left;
}
.slide__seek {
  position: relative;
  z-index: 1;
  appearance: none;
  width: 100%;
  height: 32px;
  margin: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  touch-action: none;
}
.slide__seek:disabled { opacity: .5; cursor: default; }
.slide__seek::-webkit-slider-runnable-track { height: 10px; background: transparent; }
.slide__seek::-moz-range-track { height: 10px; background: transparent; }
.slide__seek::-webkit-slider-thumb {
  appearance: none;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--white);
}
.slide__seek::-moz-range-thumb {
  width: 10px;
  height: 10px;
  border: 0;
  border-radius: 50%;
  background: var(--white);
}
.slide__play[aria-pressed="false"] .ico-play,
.slide__play[aria-pressed="true"] .ico-pause { display: none; }
.slide__sound[aria-pressed="false"] .snd-on,
.slide__sound[aria-pressed="true"] .snd-off { display: none; }
.slide.is-active::after { opacity: 1; }

.carousel__controls {
  grid-column: 2;
  justify-self: start;
  margin-left: calc(21 * var(--s));
  margin-top: calc(var(--peek-start) + 18 * var(--s));
  height: calc(var(--card-h) - 36 * var(--s));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
}
.carousel__arrow {
  display: grid;
  place-items: center;
  width: 36px; height: 36px;
  margin: -6px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--black);
  opacity: .5;
  cursor: pointer;
  transition: opacity .2s;
}
.carousel__arrow svg { width: max(18px, calc(24 * var(--s))); }
.carousel__arrow:hover { opacity: 1; }
.carousel__arrow:disabled { opacity: .15; cursor: default; }

.carousel__dots { display: flex; flex-direction: column; gap: 5px; }
.carousel__dots button {
  width: clamp(7px, .7vw, 10px);
  height: clamp(7px, .7vw, 10px);
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--black);
  opacity: .25;
  cursor: pointer;
  transition: opacity .2s;
}
.carousel__dots button[aria-selected="true"] { opacity: 1; }

/* ---------- contact ---------- */
.contact { padding-top: var(--space-xl); }
.contact__heading { margin-top: var(--space-lg); }
.madlib {
  margin: var(--space-md) auto 0;
  width: calc(877 * var(--s));
  max-width: 100%;
  display: flex;
  flex-direction: column;
  padding: var(--space-md) clamp(16px, 2.78vw, 40px);
  border: 2px solid var(--white);
  background: var(--white);
  color: var(--black);
}
.madlib .madlib__status { color: var(--black-50); }
.madlib__text {
  font-weight: 300;
  font-size: max(18px, calc(30 * var(--s)));
  line-height: 1.4;
}
.madlib__line { display: block; }
.madlib__line + .madlib__line { margin-top: .25em; }
.madlib__field {
  --underline-color: var(--black-50);
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: var(--underline-color);
  text-decoration-thickness: max(2px, .07em);
  text-decoration-skip-ink: auto;
  text-underline-offset: .15em;
  outline: none;
}
.madlib__field[data-empty]::before {
  content: attr(data-placeholder);
  color: var(--black-50);
}
/* An empty inline editor has no text run for the browser to draw a caret in. */
.madlib__field[data-empty]:focus {
  position: relative;
  caret-color: transparent;
}
.madlib__field[data-empty]:focus::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .13em;
  inline-size: 1px;
  block-size: 1em;
  background: currentColor;
  pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) {
  .madlib__field[data-empty]:focus::after { animation: madlib-caret 1s step-end infinite; }
}
@keyframes madlib-caret { 50% { opacity: 0; } }
.madlib__field:focus,
.madlib__field[aria-invalid="true"] { --underline-color: var(--black); }
.madlib__field[aria-invalid="true"] { text-decoration-style: dashed; }

.madlib__status {
  min-height: calc(1lh + var(--space-sm));
  padding-top: var(--space-sm);
  font-size: max(14px, calc(18 * var(--s)));
  line-height: 1.3;
  color: var(--white-50);
}
.madlib__send {
  margin-top: 6px;
  width: 100%;
  height: max(46px, calc(51 * var(--s)));
  border: 0;
  background: var(--black);
  color: #EFEFEF;
  font-weight: 500;
  font-size: max(18px, calc(30 * var(--s)));
  letter-spacing: -0.04em;
  cursor: pointer;
  transition: background-color .2s;
}
.madlib__send:hover { background: #2c2c2c; }

.contact__email {
  display: grid;
  justify-items: center;
  gap: clamp(16px, 2.8vw, 40px);
  margin-top: clamp(64px, 16vw, 240px);
  text-align: center;
  font-size: clamp(20px, 2.1vw, 30px);
  line-height: 1.2;
  letter-spacing: -0.04em;
}
.contact__email-label { font-size: inherit; font-weight: 400; }
.contact__email-link {
  display: inline-flex;
  align-items: center;
  gap: .5em;
  max-width: 100%;
  font-family: var(--sans);
  font-weight: 400;
  text-decoration: none;
}
.contact__email-link span {
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-underline-offset: .15em;
}
.contact__email-link svg { width: 1em; flex: 0 0 auto; }

/* ---------- footer ---------- */
.footer { padding-block: clamp(64px, 14vw, 208px) calc(env(safe-area-inset-bottom, 0px) + var(--space-xl)); }

/* ---------- liquid logo (GPU canvas over the big logos) ---------- */
.lockup-wrap { position: relative; }
/* the canvas reaches past the logo so the liquid can spill; never let it widen the page */
.hero, .footer { overflow-x: clip; }
.liquid-canvas { position: absolute; pointer-events: none; }

/* ==========================================================
   Tablet and phone
   ========================================================== */
@media (max-width: 900px) {
  .hero { min-height: min(74svh, 780px); }
  .split { grid-template-columns: 1fr; row-gap: var(--space-sm); }
  .split__body { max-width: 32em; }

  .statement { line-height: 1.12; }

  .statement--center { max-width: none; }

  .offer { width: 100%; grid-template-columns: 1fr; padding-bottom: 28px; }
  .madlib { width: min(100%, 640px); }
  .offer__text { padding-left: 0; }
  .offer__list { margin-top: 28px; }

  /* the five cards stack, each one a row: image on the left, the old way and the potera way beside it */
  .changes {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }
  .change {
    display: grid;
    grid-template-columns: clamp(76px, 15vw, 112px) 1fr;
    align-items: center;
    column-gap: var(--space-md);
    padding: var(--space-sm);
  }
  .change__art { grid-row: 1 / span 2; }
  .change__old { margin-top: 0; min-height: 0; align-self: end; }
  .change__new { align-self: start; }

  /* Keep the media inside each card when it stacks under the case copy. */
  .case {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto;
    grid-template-areas: "head" "stats" "media";
    padding: 0 0 var(--space-md);
  }
  .case__head {
    max-width: 40em;
    padding: var(--space-md) var(--case-inset) 0;
  }
  .stats {
    min-height: 0;
    margin-block: var(--space-md) 0;
    padding-inline: var(--case-inset);
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr);
    gap: var(--space-sm);
  }
  .stat--wide, .stat--wide dd { max-width: none; }
  .carousel {
    --card-w: min(62vw, 300px);
    grid-template-columns: minmax(0, 1fr);
    margin-top: var(--space-lg);
  }
  .carousel__track {
    height: auto;
    scroll-padding-top: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    flex-direction: row;
    gap: var(--space-sm);
    padding-block: 4px;
    padding-inline: calc((100% - var(--card-w)) / 2);
  }
  .carousel__controls {
    justify-self: center;
    margin-left: 0;
    height: auto;
    margin-top: var(--space-sm);
    flex-direction: row;
    align-self: auto;
    grid-column: auto;
    gap: 20px;
  }
  .slide { scroll-snap-align: center; }
  .carousel__arrow { rotate: -90deg; }
  .carousel__dots { flex-direction: row; }

}

@media (max-width: 520px) {
  .hero { min-height: 68svh; }
  .label { letter-spacing: -0.05em; }
  .statement { font-size: max(28px, 8.4vw); }
  .split__body { line-height: 1.3; }
  .nav__links { gap: 3px; }
  .pill { padding-inline: 8px; }
}

