/* ==================================================================
   Redesign showcase — platform chrome.

   The chrome stays quiet on purpose: neutral paper, one accent, no
   gradients or decorative motion. The client websites inside the
   comparison frame are the only thing on the page allowed to be loud.
   ================================================================== */

:root {
  --bg:        #F7F7F5;
  --card:      #FFFFFF;
  --ink:       #111111;
  --ink-2:     #777777;
  --ink-3:     #9A9A97;
  --line:      #E5E4E0;
  --line-soft: #EEEDEA;
  --accent:    #3B49DF;
  --accent-ink:#2C38B8;
  --accent-bg: #EEF0FF;

  --font: "Inter", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, monospace;

  --page: 1180px;
  --wide: 1440px;
  --gutter: clamp(20px, 4vw, 44px);
  --r: 14px;
  --r-lg: 20px;
  --shadow: 0 1px 2px rgb(17 17 17 / 0.04), 0 12px 32px -16px rgb(17 17 17 / 0.16);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

*, *::before, *::after { box-sizing: border-box; }

/* author `display` rules outrank the UA sheet's [hidden] rule */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "cv02", "cv03", "cv04", "cv11";
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { margin: 0; font-weight: 560; letter-spacing: -0.028em; line-height: 1.08; }
h1 { font-size: clamp(2.5rem, 1.6rem + 4.2vw, 4.5rem); letter-spacing: -0.038em; }
h2 { font-size: clamp(1.75rem, 1.35rem + 1.9vw, 2.75rem); letter-spacing: -0.032em; }
h3 { font-size: clamp(1.125rem, 1.03rem + 0.45vw, 1.375rem); letter-spacing: -0.022em; }
h4 { font-size: 1rem; letter-spacing: -0.015em; }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { margin: 0; padding: 0; list-style: none; }

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

.page { width: 100%; max-width: var(--page); margin-inline: auto; padding-inline: var(--gutter); }
.page--wide { max-width: var(--wide); }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 14px;
}

.lede { font-size: clamp(1.0625rem, 1rem + 0.3vw, 1.25rem); line-height: 1.5; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-2); }
.small { font-size: 0.875rem; }

.section { padding-block: clamp(48px, 7vw, 96px); }
.section--tight { padding-block: clamp(32px, 4vw, 56px); }
.rule { border: 0; border-top: 1px solid var(--line); margin: 0; }

/* ---------- buttons ------------------------------------------------ */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.011em;
  line-height: 1;
  cursor: pointer;
  transition: background-color .16s var(--ease), border-color .16s var(--ease),
              color .16s var(--ease), transform .16s var(--ease);
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--ink); color: #fff; }
.btn--primary:hover { background: #000; }

.btn--accent { background: var(--accent); color: #fff; }
.btn--accent:hover { background: var(--accent-ink); }

.btn--ghost { background: var(--card); color: var(--ink); border-color: var(--line); }
.btn--ghost:hover { border-color: var(--ink-3); }

.btn svg { width: 15px; height: 15px; }

.tlink {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.9375rem;
  font-weight: 550;
  color: var(--ink);
  transition: gap .16s var(--ease), color .16s var(--ease);
}
.tlink:hover { color: var(--accent); gap: 11px; }
.tlink svg { width: 14px; height: 14px; }

/* ---------- site header --------------------------------------------- */

.sheader {
  position: sticky;
  top: 0;
  z-index: 70;
  background: rgb(247 247 245 / 0.82);
  backdrop-filter: saturate(1.5) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s var(--ease);
}
.sheader[data-stuck] { border-bottom-color: var(--line); }

.sheader__inner { display: flex; align-items: center; gap: 24px; min-height: 64px; }

.brand { display: inline-flex; align-items: center; gap: 9px; font-weight: 600; letter-spacing: -0.026em; font-size: 1.0625rem; }

.brand__mark {
  display: grid;
  place-items: center;
  width: 26px;
  height: 26px;
  border-radius: 7px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.04em;
}

.snav { display: flex; align-items: center; gap: 22px; margin-inline-start: auto; font-size: 0.9375rem; }
.snav a { color: var(--ink-2); transition: color .16s var(--ease); }
.snav a:hover, .snav a[aria-current] { color: var(--ink); }

@media (max-width: 700px) {
  .snav a:not(.btn) { display: none; }
}

/* ---------- hero ------------------------------------------------------ */

.hero { padding-block: clamp(48px, 7vw, 96px) clamp(28px, 4vw, 48px); }
.hero h1 { max-width: 16ch; }
.hero .lede { margin-top: 22px; }

.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }

.hero__note {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 26px;
  font-size: 0.875rem;
  color: var(--ink-3);
}
.hero__note span { display: inline-flex; align-items: center; gap: 7px; }
.hero__note svg { width: 14px; height: 14px; color: var(--accent); }

/* ---------- comparison component -------------------------------------- */

.rc {
  --split: 50%;
  --gap: 0px;
}

.rc__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
}

.rc__seg {
  display: inline-flex;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
}

.rc__segbtn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 14px;
  border: 0;
  border-radius: 8px;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 550;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  cursor: pointer;
  white-space: nowrap;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.rc__segbtn:hover { color: var(--ink); }
.rc__segbtn[aria-selected="true"],
.rc__segbtn[aria-pressed="true"] { background: var(--ink); color: #fff; }

.rc__seg--icon { margin-inline-start: auto; }

/* reveal snaps: compare mode only, where a divider position means something */
.rc__snap { display: none; }
.rc[data-mode="compare"] .rc__snap { display: inline-flex; }
.rc__ico { display: inline-flex; }
.rc__ico svg { width: 16px; height: 16px; }

.rc__pages { display: inline-flex; align-items: center; }

.rc__select {
  min-height: 40px;
  padding: 8px 34px 8px 14px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23777' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 11px center / 13px;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--ink);
  cursor: pointer;
  appearance: none;
}

.rc__vh {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

.rc__stage {
  position: relative;
  border-radius: var(--r-lg);
  background: var(--line-soft);
  overflow: hidden;
  transition: height .28s var(--ease);
}

.rc__scaler {
  transform-origin: top left;
  transition: transform .28s var(--ease);
}

.rc__viewport {
  position: relative;
  overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--line-soft);
}

.rc__frame {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #fff;
  transition: opacity .24s var(--ease);
}

.rc__frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
  display: block;
}

/* Labels, divider and scroll layer sit in the stage, not in the scaled
   viewport — inside the scaler a 0.6 zoom would shrink them too. */
.rc__tag {
  position: absolute;
  top: 14px;
  z-index: 7;
  padding: 5px 11px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  pointer-events: none;
  backdrop-filter: blur(6px);
}
.rc__tag--before { inset-inline-start: 14px; background: rgb(17 17 17 / 0.72); color: #fff; }
.rc__tag--after { inset-inline-end: 14px; background: rgb(59 73 223 / 0.92); color: #fff; }

.rc[data-mode="split"] .rc__tag--after {
  inset-inline-start: calc(50% + var(--gap) / 2 + 14px);
  inset-inline-end: auto;
}
.rc[data-mode="explore"][data-side="after"] .rc__tag--before,
.rc[data-mode="explore"][data-side="before"] .rc__tag--after { display: none; }
.rc[data-mode="explore"] .rc__tag--after { inset-inline-start: 14px; inset-inline-end: auto; }

/* -- compare -- */

.rc[data-mode="compare"] .rc__frame iframe { pointer-events: none; }
.rc[data-mode="compare"] .rc__frame[data-side="after"] { clip-path: inset(0 0 0 var(--split)); }

/* A genuine scroll container: native scrollbar, native momentum, and the
   browser's own hand-off to the page once it reaches either end. */
.rc__catch {
  position: absolute;
  inset: 0;
  z-index: 6;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgb(17 17 17 / 0.3) transparent;
}
.rc__catch:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }
.rc__catch::-webkit-scrollbar { width: 12px; }
.rc__catch::-webkit-scrollbar-track { background: transparent; }
.rc__catch::-webkit-scrollbar-thumb {
  background: rgb(17 17 17 / 0.28);
  border: 3px solid transparent;
  border-radius: 100px;
  background-clip: content-box;
}
.rc__catch::-webkit-scrollbar-thumb:hover { background: rgb(17 17 17 / 0.46); background-clip: content-box; }

.rc__spacer { width: 1px; }

/* 28px of grab area behind a 2px line — the old 2px target was the problem. */
.rc__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: var(--split);
  z-index: 8;
  width: 28px;
  margin-inline-start: -14px;
  cursor: ew-resize;
  touch-action: none;
}

.rc__divider::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  margin-inline-start: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(17 17 17 / 0.08), 0 2px 14px rgb(17 17 17 / 0.22);
}

.rc[data-dragging] .rc__divider,
.rc[data-dragging] .rc__frame[data-side="after"] { transition: none; }
.rc[data-dragging] { cursor: ew-resize; user-select: none; }

/* --grip-y follows the visible slice of the stage, --grip-dx keeps the
   handle off the edges when the divider is pushed all the way across. */
.rc__grip {
  position: absolute;
  top: var(--grip-y, 50%);
  left: 50%;
  margin-inline-start: var(--grip-dx, 0px);
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  transform: translate(-50%, -50%);
  border-radius: 100px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 2px 10px rgb(17 17 17 / 0.2), 0 0 0 1px rgb(17 17 17 / 0.06);
  transition: transform .18s var(--ease), box-shadow .18s var(--ease);
}
.rc__divider:hover .rc__grip,
.rc__divider:focus-visible .rc__grip {
  transform: translate(-50%, -50%) scale(1.09);
  box-shadow: 0 4px 18px rgb(17 17 17 / 0.28), 0 0 0 1px rgb(17 17 17 / 0.08);
}
.rc__grip svg { width: 22px; height: 22px; }

/* -- split -- */

.rc[data-mode="split"] .rc__frame[data-side="before"] { inset-inline-end: calc(50% + var(--gap) / 2); }
.rc[data-mode="split"] .rc__frame[data-side="after"] { inset-inline-start: calc(50% + var(--gap) / 2); }
.rc[data-mode="split"] .rc__viewport { background: var(--bg); }
.rc[data-mode="split"] .rc__frame { border-radius: var(--r); }

/* -- explore -- */

.rc[data-mode="explore"][data-side="after"] .rc__frame[data-side="before"] { opacity: 0; pointer-events: none; }
.rc[data-mode="explore"][data-side="before"] .rc__frame[data-side="after"] { opacity: 0; pointer-events: none; }

.rc__toggle {
  position: absolute;
  left: 50%;
  bottom: 16px;
  z-index: 9;
  display: inline-flex;
  gap: 3px;
  padding: 3px;
  transform: translateX(-50%);
  border-radius: 100px;
  background: rgb(17 17 17 / 0.78);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgb(17 17 17 / 0.24);
}

.rc__togglebtn {
  min-height: 36px;
  padding: 8px 18px;
  border: 0;
  border-radius: 100px;
  background: none;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 550;
  color: rgb(255 255 255 / 0.7);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.rc__togglebtn:hover { color: #fff; }
.rc__togglebtn.is-on { background: #fff; color: var(--ink); }

/* -- loading -- */

.rc[data-loading] .rc__stage::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  z-index: 10;
  height: 2px;
  width: 40%;
  background: var(--accent);
  animation: rc-load 1s var(--ease) infinite;
}

@keyframes rc-load {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(350%); }
}

.rc__hint {
  margin: 14px 0 0;
  font-size: 0.875rem;
  color: var(--ink-3);
}

@media (max-width: 700px) {
  .rc__bar { gap: 8px; }
  .rc__seg--icon { margin-inline-start: 0; }
  .rc__devlabel { display: none; }
  .rc__segbtn { padding: 7px 11px; }
}

/* ---------- stats strip ------------------------------------------------ */

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
}

.stats__item { padding: 24px clamp(16px, 2vw, 28px); }
.stats__item + .stats__item { border-inline-start: 1px solid var(--line); }

.stats__value { font-size: clamp(1.375rem, 1.2rem + 0.8vw, 1.875rem); font-weight: 600; letter-spacing: -0.032em; }
.stats__label { margin-top: 5px; font-size: 0.875rem; color: var(--ink-2); line-height: 1.4; }

@media (max-width: 780px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stats__item:nth-child(3) { border-inline-start: 0; }
  .stats__item:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* ---------- changes ------------------------------------------------------ */

.changes {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.changes__list { display: grid; gap: 2px; position: sticky; top: 84px; }

.changes__btn {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 12px;
  align-items: baseline;
  width: 100%;
  padding: 13px 14px;
  border: 0;
  border-radius: 10px;
  background: none;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 550;
  letter-spacing: -0.012em;
  color: var(--ink-2);
  text-align: start;
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease);
}
.changes__btn:hover { background: var(--card); color: var(--ink); }
.changes__btn[aria-current] { background: var(--ink); color: #fff; }
.changes__btn[aria-current] .changes__n { color: rgb(255 255 255 / 0.55); }

.changes__n { font-family: var(--mono); font-size: 0.75rem; color: var(--ink-3); letter-spacing: 0; }

.changes__panel {
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  padding: clamp(22px, 3vw, 34px);
}

.changes__title { margin-bottom: 20px; }

.changes__ba { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(18px, 2.5vw, 32px); }

.changes__col h4 {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
  font-size: 0.6875rem;
  font-weight: 650;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}
.changes__col p { font-size: 0.9375rem; color: var(--ink-2); line-height: 1.6; }

.dot { width: 7px; height: 7px; border-radius: 100px; }
.dot--before { background: var(--ink-3); }
.dot--after { background: var(--accent); }

@media (max-width: 860px) {
  .changes { grid-template-columns: 1fr; }
  .changes__list {
    position: static;
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: thin;
  }
  .changes__btn { width: auto; flex: none; grid-template-columns: auto auto; border: 1px solid var(--line); background: var(--card); }
  .changes__ba { grid-template-columns: 1fr; gap: 20px; }
}

/* ---------- case library ------------------------------------------------- */

.libhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px;
  margin-bottom: clamp(20px, 2.5vw, 32px); }
.libcount { font-size: 0.875rem; color: var(--ink-3); white-space: nowrap; margin: 0; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(22px, 3vw, 34px); }
.chip {
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card);
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 550;
  color: var(--ink-2);
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.chip:hover { border-color: var(--ink-3); color: var(--ink); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .55; margin-inline-start: 5px; }

.libempty { color: var(--ink-2); padding: 32px 0; }

.work { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2vw, 28px); }

.pcard {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  background: var(--card);
  overflow: hidden;
  transition: border-color .2s var(--ease), box-shadow .2s var(--ease), transform .2s var(--ease);
}
.pcard:hover { border-color: var(--ink-3); box-shadow: var(--shadow); transform: translateY(-2px); }

/* Two full-width previews stacked; the redesign is clipped to --rev and
   sweeps across on hover, so the card itself performs the before/after. */
.pcard__shot { position: relative; aspect-ratio: 16 / 10; background: var(--line-soft); overflow: hidden; }
.pcard__side { position: absolute; inset: 0; overflow: hidden; }
.pcard__side--after { clip-path: inset(0 0 0 var(--rev, 50%)); transition: clip-path .55s var(--ease); }
.pcard:hover .pcard__side--after,
.pcard:focus-within .pcard__side--after { clip-path: inset(0 0 0 8%); }

.pcard__side iframe {
  width: 1280px;
  height: var(--th, 800px);
  border: 0;
  transform: scale(var(--ts, .28));
  transform-origin: top left;
  pointer-events: none;
}

.pcard__seam {
  position: absolute;
  top: 0; bottom: 0;
  left: var(--rev, 50%);
  width: 2px;
  margin-inline-start: -1px;
  background: #fff;
  box-shadow: 0 0 0 1px rgb(17 17 17 / .1);
  transition: left .55s var(--ease);
  pointer-events: none;
}
.pcard:hover .pcard__seam, .pcard:focus-within .pcard__seam { left: 8%; }

.pcard__tags { position: absolute; top: 12px; left: 12px; right: 12px; z-index: 3;
  display: flex; justify-content: space-between; pointer-events: none; }
.ptag { padding: 4px 10px; border-radius: 100px; font-size: 10px; font-weight: 700;
  letter-spacing: .09em; text-transform: uppercase; backdrop-filter: blur(6px); }
.ptag--b { background: rgb(17 17 17 / .74); color: #fff; }
.ptag--a { background: rgb(59 73 223 / .92); color: #fff; }

.pcard__body { padding: 20px 22px 22px; display: grid; gap: 8px; }
.pcard__meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 0.8125rem; color: var(--ink-3); }
.pcard__meta b { color: var(--ink-2); font-weight: 550; }
.pcard__cta { margin-top: 10px; }
.pcard__demo { font-size: 0.6875rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: var(--ink-3); border: 1px solid var(--line); border-radius: 100px; padding: 3px 9px; }

@media (max-width: 780px) { .work { grid-template-columns: 1fr; }
  .libhead { flex-direction: column; align-items: flex-start; gap: 12px; } }

/* ---------- project header ------------------------------------------------- */

.phead { padding-block: clamp(32px, 4vw, 56px) clamp(20px, 3vw, 32px); }

.phead__top { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 20px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 100px;
  background: var(--card);
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ink-2);
}
.pill--accent { background: var(--accent-bg); border-color: transparent; color: var(--accent-ink); font-weight: 550; }

.back { display: inline-flex; align-items: center; gap: 7px; font-size: 0.875rem; color: var(--ink-2); }
.back:hover { color: var(--ink); }
.back svg { width: 14px; height: 14px; }

/* ---------- safety note ------------------------------------------------------ */

.note {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: var(--r);
  background: var(--card);
  font-size: 0.875rem;
  color: var(--ink-2);
  line-height: 1.55;
}
.note svg { flex: none; width: 17px; height: 17px; margin-top: 2px; color: var(--accent); }
.note b { color: var(--ink); font-weight: 600; }

/* ---------- cta ---------------------------------------------------------------- */

.cta {
  border-radius: var(--r-lg);
  background: var(--ink);
  color: #fff;
  padding: clamp(36px, 5vw, 64px);
  text-align: center;
}
.cta h2 { color: #fff; }
.cta p { margin: 16px auto 28px; color: rgb(255 255 255 / 0.66); max-width: 46ch; }
.cta .btn--ghost { background: transparent; color: #fff; border-color: rgb(255 255 255 / 0.26); }
.cta .btn--ghost:hover { border-color: #fff; }

.cta__actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* A mailto button is useless to anyone without a desktop mail client, so the
   address is also here in plain text to copy. */
.cta__mail { margin: 22px 0 0; font-size: 0.875rem; color: rgb(255 255 255 / 0.5); }
.cta__mail a {
  color: rgb(255 255 255 / 0.9);
  border-bottom: 1px solid rgb(255 255 255 / 0.3);
  padding-bottom: 1px;
  transition: border-color .16s var(--ease);
}
.cta__mail a:hover { border-bottom-color: #fff; }

.sfooter a { border-bottom: 1px solid var(--line); padding-bottom: 1px; }
.sfooter a:hover { color: var(--ink); border-bottom-color: var(--ink-3); }

/* ---------- footer -------------------------------------------------------------- */

.sfooter { border-top: 1px solid var(--line); padding-block: 36px 44px; margin-top: clamp(48px, 7vw, 96px); }
.sfooter__inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; font-size: 0.875rem; color: var(--ink-3); }
.sfooter a:hover { color: var(--ink); }

/* ---------- reveal --------------------------------------------------------------- */

.reveal { opacity: 0; transform: translateY(12px); transition: opacity .55s var(--ease), transform .55s var(--ease); }
.reveal[data-in] { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }
