/* ============================================================
   SOCIAL ONYX — Reputation Protection
   Editorial pixel-craft system. Light paper, black ink,
   pixel colour only where the data lives.
   ============================================================ */

:root {
  --paper: #fafafa;
  --paper-2: #f2f2f0;
  --ink: #0a0a0a;
  --ink-2: #3d3d3d;
  --muted: #8c8c8c;
  --faint: #c9c9c9;
  --line: #e4e4e2;

  --navy: #12203f;
  --blue: #3b5bdb;
  --blue-l: #5c7cfa;
  --yellow: #fcc419;
  --red: #f03e3e;
  --lime: #d8f035;

  --grid: 8px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.55;
  overflow-x: hidden;
  position: relative;
  cursor: default;
}

/* faint engineering grid across the whole page */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(10, 10, 10, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(10, 10, 10, 0.028) 1px, transparent 1px);
  background-size: 40px 40px;
}

::selection { background: var(--yellow); color: var(--ink); }

a { color: inherit; text-decoration: none; }
ul { list-style: none; }
canvas { display: block; }

main, header, footer, section { position: relative; z-index: 1; }

.wrap {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 40px;
}
@media (max-width: 720px) { .wrap { padding: 0 22px; } }

/* ---------------- typography ---------------- */
h1, h2, h3, h4 {
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
}

.display {
  font-size: clamp(3rem, 9.5vw, 8.6rem);
  text-transform: uppercase;
  line-height: 0.94;
}

.h2 {
  font-size: clamp(1.9rem, 3.6vw, 3.3rem);
  line-height: 1.06;
  letter-spacing: -0.03em;
}

.h3 {
  font-size: clamp(1.25rem, 1.9vw, 1.7rem);
  letter-spacing: -0.025em;
}

.label {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.body-lg { font-size: 1.06rem; line-height: 1.6; }
.body    { font-size: 0.97rem; line-height: 1.62; color: var(--ink-2); }
.body-sm { font-size: 0.88rem; line-height: 1.6; color: var(--ink-2); }
.dim     { color: var(--muted); }

.mono {
  font-family: "JetBrains Mono", ui-monospace, "SF Mono", Menlo, monospace;
  font-variant-numeric: tabular-nums;
}

/* ---------------- section divider ---------------- */
.divider { padding: 26px 0 6px; }
.divider-row {
  display: flex;
  align-items: center;
  gap: 22px;
}
.divider-line {
  flex: 1;
  height: 1px;
  background: var(--line);
}
.divider-mark {
  display: flex;
  gap: 3px;
  flex-shrink: 0;
}
.divider-mark i {
  display: block;
  width: 11px;
  height: 11px;
}
.divider-mark .c-blue   { background: var(--blue); }
.divider-mark .c-red    { background: var(--red); }
.divider-mark .c-yellow { background: var(--yellow); }
.divider-mark .c-green  { background: #22a06b; }

@media (max-width: 720px) {
  .divider { padding: 14px 0 0; }
  .divider-row { gap: 14px; }
  .divider-mark i { width: 9px; height: 9px; }
}

/* ---------------- top bar ---------------- */
.topbar {
  padding: 22px 0;
  position: relative;
  z-index: 20;
}
.topbar-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
}
.mark { width: 30px; flex-shrink: 0; }
.brand-name {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.02em;
}
.topbar-right {
  display: flex;
  align-items: center;
  gap: 22px;
}
.status { display: inline-flex; align-items: center; gap: 8px; }
.status .dot {
  width: 7px; height: 7px;
  background: #22a06b;
  display: inline-block;
  animation: blink 2.2s steps(1) infinite;
}
@keyframes blink { 0%, 70% { opacity: 1; } 71%, 100% { opacity: 0.25; } }
.btn-sm { padding: 11px 20px; font-size: 13.5px; }
@media (max-width: 720px) {
  .status { display: none; }
}

/* ---------------- hero ---------------- */
.hero { padding: 30px 0 70px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 70px;
  align-items: center;
}
@media (max-width: 1080px) {
  .hero-grid { grid-template-columns: 1fr 350px; gap: 40px; }
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "JetBrains Mono", monospace;
  font-size: 10.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  border: 1px solid var(--line);
  background: #fff;
  padding: 8px 15px 8px 11px;
  margin-bottom: 26px;
  clip-path: polygon(
    5px 0, calc(100% - 5px) 0, 100% 5px, 100% calc(100% - 5px),
    calc(100% - 5px) 100%, 5px 100%, 0 calc(100% - 5px), 0 5px
  );
}
.eyebrow svg { width: 13px; height: 13px; flex-shrink: 0; }

.hero-title {
  font-size: clamp(2.9rem, 7vw, 6.2rem);
  margin-bottom: 26px;
}

/* the interactive word */
.scramble {
  cursor: pointer;
  position: relative;
  display: inline-block;
  transition: color 0.3s;
}
.scramble.is-live { color: var(--blue); }
.scramble::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0.06em;
  height: 5px;
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0 8px, transparent 8px 16px);
  opacity: 0;
  transition: opacity 0.3s;
}
.scramble:hover::after { opacity: 1; }

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--ink-2);
  max-width: 500px;
  margin-bottom: 34px;
}
.hero-sub strong { color: var(--ink); font-weight: 600; }

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 17px 30px;
  font-size: 1rem;
  font-weight: 500;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  transition: border-color 0.35s, transform 0.35s var(--ease);
  clip-path: polygon(
    8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px
  );
}
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-3px); }

.hero-stats {
  display: flex;
  gap: 44px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}
.hstat { display: flex; flex-direction: column; gap: 5px; }
.hstat-num {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--blue);
}

/* ---------------- hero right / phone ---------------- */
.hero-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}
.phone-hint { text-align: center; }

.phone {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 9 / 18.6;
  background: var(--navy);
  border-radius: 42px;
  padding: 9px;
  box-shadow:
    0 40px 80px -30px rgba(18, 32, 63, 0.5),
    0 0 0 1px rgba(10, 10, 10, 0.06);
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: #fff;
  border-radius: 34px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

/* status bar */
.phone-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 20px 7px;
  font-size: 11px;
  font-weight: 600;
  color: var(--ink);
  flex-shrink: 0;
}
.phone-notch {
  width: 74px; height: 18px;
  background: var(--navy);
  border-radius: 0 0 11px 11px;
  margin-top: -13px;
}
.phone-icons { display: flex; align-items: flex-end; gap: 2px; }
.phone-icons .bar { display: block; width: 3px; background: var(--ink); }
.phone-icons .b1 { height: 4px; }
.phone-icons .b2 { height: 7px; }
.phone-icons .b3 { height: 10px; }
.phone-icons .batt {
  width: 16px; height: 9px;
  border: 1.5px solid var(--ink);
  margin-left: 5px;
  position: relative;
}
.phone-icons .batt::after {
  content: "";
  position: absolute;
  inset: 1.5px;
  right: 5px;
  background: var(--ink);
}

/* tabs */
.phone-tabs {
  display: flex;
  position: relative;
  border-bottom: 1px solid var(--line);
  padding: 0 8px;
  flex-shrink: 0;
}
.ptab {
  flex: 1;
  background: none;
  border: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  padding: 13px 2px 12px;
  cursor: pointer;
  transition: color 0.3s;
}
.ptab.is-active { color: var(--ink); }
.ptab-underline {
  position: absolute;
  bottom: -1px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.45s var(--ease), width 0.45s var(--ease);
}

/* body */
.phone-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.phone-body::-webkit-scrollbar { display: none; }

.pscreen { display: none; padding: 16px 16px 26px; }
.pscreen.is-active { display: block; animation: screen-in 0.45s var(--ease); }
@keyframes screen-in {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}

/* stars */
.stars {
  display: inline-flex;
  gap: 2px;
  font-style: normal;
}
.stars i {
  width: 9px; height: 9px;
  background: var(--faint);
  display: block;
  clip-path: polygon(50% 0, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.stars i.on { background: var(--yellow); }
.stars-lg i { width: 15px; height: 15px; }

/* business header */
.biz {
  display: flex;
  gap: 12px;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.biz-avatar {
  width: 42px; height: 42px;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 600;
  flex-shrink: 0;
}
.biz-meta strong { font-size: 14px; display: block; letter-spacing: -0.02em; }
.biz-rating {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  margin-top: 3px;
}
.biz-rating b { font-size: 12px; }

.phint { display: block; margin: 14px 0 10px; font-size: 9px; }

/* review list */
.rlist { display: flex; flex-direction: column; gap: 9px; }
.rev {
  border: 1px solid var(--line);
  padding: 11px 12px 12px;
  cursor: pointer;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}
.rev:hover { transform: translateX(2px); border-color: var(--faint); }
.rev-top {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 5px;
}
.rev-who { font-size: 11.5px; font-weight: 600; }
.rev-when { font-size: 10px; color: var(--muted); }
.rev p { font-size: 11.5px; line-height: 1.45; color: var(--ink-2); margin-top: 6px; }

.rev-flag {
  display: none;
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  margin-top: 9px;
  padding: 4px 7px;
}
.rev.is-flagged .rev-flag { display: inline-block; }
.rev.is-flagged[data-kind="bad"] {
  border-color: var(--red);
  background: rgba(240, 62, 62, 0.05);
}
.rev.is-flagged[data-kind="bad"] .rev-flag { background: var(--red); color: #fff; }
.rev.is-flagged[data-kind="good"],
.rev.is-flagged[data-kind="ok"] {
  border-color: #22a06b;
  background: rgba(34, 160, 107, 0.05);
}
.rev.is-flagged[data-kind="good"] .rev-flag,
.rev.is-flagged[data-kind="ok"] .rev-flag { background: #22a06b; color: #fff; }

/* audit screen */
.scan { margin-bottom: 18px; }
.scan-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 8px;
}
.scan-pct { font-size: 12px; font-weight: 600; }
.scan-track { height: 6px; background: var(--paper-2); overflow: hidden; }
.scan-fill {
  display: block;
  height: 100%;
  width: 0%;
  background: repeating-linear-gradient(90deg,
    var(--blue) 0 6px, var(--blue-l) 6px 12px);
}

.alist { display: flex; flex-direction: column; gap: 7px; }
.arow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), border-color 0.4s;
}
.arow.in { opacity: 1; transform: none; }
.arow-name { font-size: 11.5px; line-height: 1.35; }
.arow-tag {
  font-family: "JetBrains Mono", monospace;
  font-size: 8.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 7px;
  flex-shrink: 0;
  color: #fff;
}
.arow[data-verdict="yes"] .arow-tag { background: var(--red); }
.arow[data-verdict="no"] .arow-tag { background: var(--faint); color: var(--ink); }
.arow.in[data-verdict="yes"] { border-color: rgba(240, 62, 62, 0.35); }

.averdict {
  margin-top: 16px;
  padding: 14px;
  background: var(--paper-2);
}
.averdict strong { font-size: 14px; display: block; margin-bottom: 4px; }
.averdict p { font-size: 10.5px; color: var(--muted); line-height: 1.45; }

/* removal screen */
.case-card {
  border: 1px solid var(--red);
  background: rgba(240, 62, 62, 0.05);
  padding: 12px;
  margin-bottom: 18px;
  transition: opacity 0.5s steps(6), transform 0.5s steps(6), filter 0.5s;
}
.case-card p { font-size: 11.5px; color: var(--ink-2); margin-top: 6px; line-height: 1.45; }
.case-card.gone {
  opacity: 0;
  transform: scale(0.9) translateY(-6px);
  filter: blur(1px);
}

.csteps { display: flex; flex-direction: column; gap: 2px; }
.cstep {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 11px 2px;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
}
.cstep .cmono { margin-left: auto; font-size: 10px; color: var(--muted); }
.cbox {
  width: 15px; height: 15px;
  border: 1.5px solid var(--faint);
  flex-shrink: 0;
  position: relative;
  transition: background 0.3s, border-color 0.3s;
}
.cstep.done .cbox { background: #22a06b; border-color: #22a06b; }
.cstep.done .cbox::after {
  content: "";
  position: absolute;
  left: 3px; top: 5px;
  width: 7px; height: 3.5px;
  border-left: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(-45deg);
}
.cstep.active .cbox { border-color: var(--blue); animation: pulse-box 1s steps(2) infinite; }
@keyframes pulse-box { 50% { background: var(--blue); } }

.cbill {
  margin-top: 18px;
  padding: 14px;
  background: var(--navy);
  color: #fff;
}
.cbill .label { color: var(--yellow); display: block; margin-bottom: 5px; }
.cbill strong { font-size: 13px; font-weight: 500; }

/* result screen */
.rhead { text-align: center; padding: 10px 0 20px; }
.rbig {
  font-size: 3.6rem;
  letter-spacing: -0.05em;
  line-height: 1;
  margin: 8px 0 12px;
  color: var(--blue);
}
.rbars { display: flex; flex-direction: column; gap: 12px; margin-bottom: 20px; }
.rbar { display: flex; align-items: center; gap: 10px; font-size: 11px; }
.rbar .label { width: 44px; flex-shrink: 0; }
.rbar-track { flex: 1; height: 10px; background: var(--paper-2); }
.rbar-track i {
  display: block;
  height: 100%;
  background: var(--faint);
  width: 0;
}
.rbar.is-after .rbar-track i {
  background: repeating-linear-gradient(90deg,
    var(--yellow) 0 6px, #ffd84d 6px 12px);
  transition: width 1.3s var(--ease);
}

.rsum { display: flex; flex-direction: column; }
.rsum li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  font-size: 11.5px;
  color: var(--ink-2);
}
.rsum li b { color: var(--ink); font-size: 12.5px; }

/* ---------------- phone on mobile: frame off, content only ---------------- */
@media (max-width: 900px) {
  .phone {
    max-width: 100%;
    aspect-ratio: auto;
    height: 66vh;
    min-height: 460px;
    background: transparent;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
  }
  .phone-screen {
    border-radius: 0;
    border: 1px solid var(--line);
  }
  .phone-status { display: none; }
  .hero-right { align-items: stretch; }
}

@media (max-width: 560px) {
  .topbar { padding: 16px 0; }
  .btn-sm { padding: 9px 14px; font-size: 12px; }
  .brand-name { font-size: 14px; }
  .hero { padding: 16px 0 50px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn,
  .hero-actions .btn-ghost {
    flex: 1 1 100%;
    justify-content: center;
    padding: 15px 20px;
  }
  .hero-stats { gap: 0; }
  .hstat { flex: 1 1 33%; }
  .hstat .label { font-size: 9px; letter-spacing: 0.14em; }
}


/* ---------------- sections ---------------- */
section { padding: 130px 0; }
@media (max-width: 720px) { section { padding: 80px 0; } }

.section-lede {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
  font-size: clamp(1.4rem, 2.7vw, 2.35rem);
  letter-spacing: -0.03em;
  line-height: 1.24;
}

/* two-column editorial: heading left, prose right */
.editorial {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}
@media (max-width: 900px) {
  .editorial { grid-template-columns: 1fr; gap: 30px; }
}
.editorial-head .label { display: block; margin-top: 18px; }
.editorial-body > p + p { margin-top: 18px; }

/* ---------------- steps row ---------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 34px;
  margin-top: 56px;
}
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); gap: 28px; } }
@media (max-width: 520px) { .steps { grid-template-columns: 1fr; } }

.step-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}
.step-num {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: #fff;
  background: var(--navy);
  padding: 4px 6px;
  line-height: 1;
  /* pixel-notched corners */
  clip-path: polygon(
    3px 0, calc(100% - 3px) 0, calc(100% - 3px) 3px, 100% 3px,
    100% calc(100% - 3px), calc(100% - 3px) calc(100% - 3px),
    calc(100% - 3px) 100%, 3px 100%, 3px calc(100% - 3px),
    0 calc(100% - 3px), 0 3px, 3px 3px
  );
}
.step-title { font-size: 1.02rem; letter-spacing: -0.02em; }
.step p { font-size: 0.88rem; color: var(--ink-2); line-height: 1.58; }

.step.is-dim .step-num { background: var(--faint); }
.step.is-dim .step-title, .step.is-dim p { color: var(--muted); }

/* ---------------- chart canvases ---------------- */
.chart {
  width: 100%;
  height: 300px;
  margin: 60px 0 0;
}
.chart-tall { height: 380px; }
@media (max-width: 720px) { .chart, .chart-tall { height: 200px; } }

.chart-wrap { position: relative; margin: 0; }
.chart-hint {
  display: block;
  text-align: center;
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.4s var(--ease);
}
.chart-wrap:hover .chart-hint { opacity: 0.75; }
/* on touch there is no hover, so keep the hint visible */
@media (hover: none) {
  .chart-hint { opacity: 0.6; }
}

/* ---------------- funnel ---------------- */
.funnel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 60px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .funnel { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .funnel { grid-template-columns: 1fr; } }

.funnel-cell {
  padding: 26px 24px 30px;
  border-right: 1px solid var(--line);
  position: relative;
  transition: background 0.4s var(--ease);
}
.funnel-cell:last-child { border-right: none; }
.funnel-cell:hover { background: var(--paper-2); }
.funnel-cell .label { display: block; margin-bottom: 14px; }
.funnel-cell h4 { font-size: 1.5rem; margin-bottom: 6px; letter-spacing: -0.03em; }
.funnel-cell p { font-size: 0.85rem; color: var(--muted); }

.funnel-bar {
  height: 8px;
  display: flex;
  gap: 2px;
  margin-bottom: 20px;
}
.funnel-bar i { flex: 1; background: var(--faint); }
.funnel-cell[data-tone="cool"] .funnel-bar i:nth-child(-n+3) { background: var(--blue); }
.funnel-cell[data-tone="warn"] .funnel-bar i:nth-child(-n+3) { background: var(--yellow); }
.funnel-cell[data-tone="hot"]  .funnel-bar i:nth-child(-n+3) { background: var(--red); }

/* ---------------- industries ---------------- */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 44px;
}
.chip {
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 15px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-2);
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s, border-color 0.35s;
  clip-path: polygon(
    4px 0, calc(100% - 4px) 0, 100% 4px, 100% calc(100% - 4px),
    calc(100% - 4px) 100%, 4px 100%, 0 calc(100% - 4px), 0 4px
  );
}
.chip:hover {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
  transform: translateY(-3px);
}

/* ---------------- stat row ---------------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 64px;
  border-top: 1px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
@media (max-width: 700px) { .stats { grid-template-columns: 1fr; } }
.stat {
  padding: 30px 26px 34px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: none; }
.stat .num {
  font-size: clamp(2.4rem, 4.4vw, 3.6rem);
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 10px;
}
.stat .num em { font-style: normal; color: var(--blue); }
.stat p { font-size: 0.87rem; color: var(--muted); }

/* ---------------- faces (remove vs leave) ---------------- */
.faces {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 70px;
  border-top: 1px solid var(--line);
}
@media (max-width: 760px) { .faces { grid-template-columns: 1fr; } }

.face-col {
  padding: 54px 40px 46px;
  text-align: center;
  border-right: 1px solid var(--line);
  transition: background 0.5s var(--ease);
}
.face-col:last-child { border-right: none; }
.face-col:hover { background: var(--paper-2); }
@media (max-width: 760px) {
  .face-col { border-right: none; border-bottom: 1px solid var(--line); }
}

.face-canvas {
  width: 120px;
  height: 120px;
  margin: 0 auto 22px;
}
.face-col .label { display: block; margin-bottom: 16px; }
.face-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-width: 330px;
  margin: 0 auto;
}
.face-list li {
  font-size: 0.88rem;
  color: var(--ink-2);
  padding-bottom: 9px;
  border-bottom: 1px solid var(--line);
}
.face-list li:last-child { border-bottom: none; }

/* ---------------- callout ---------------- */
.callout {
  margin-top: 56px;
  padding: 32px 36px;
  background: var(--navy);
  color: #fff;
  display: flex;
  gap: 26px;
  align-items: flex-start;
  clip-path: polygon(
    8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px
  );
}
@media (max-width: 620px) { .callout { flex-direction: column; gap: 14px; padding: 26px 24px; } }
.callout .label { color: var(--yellow); flex-shrink: 0; padding-top: 4px; }
.callout p { font-size: 1rem; line-height: 1.55; }
.callout strong { font-weight: 600; }

/* ---------------- pricing ---------------- */
.price-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 760px) { .price-grid { grid-template-columns: 1fr; } }

.price {
  border: 1px solid var(--line);
  background: #fff;
  padding: 36px 34px 34px;
  position: relative;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.price:hover { transform: translateY(-5px); border-color: var(--ink); }
.price .tag {
  display: inline-block;
  font-family: "JetBrains Mono", monospace;
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 11px;
  margin-bottom: 26px;
  color: #fff;
}
.price[data-tone="recent"] .tag { background: var(--yellow); color: var(--ink); }
.price[data-tone="older"] .tag { background: var(--blue); }

.price .amount {
  font-size: clamp(3.2rem, 6.5vw, 4.8rem);
  letter-spacing: -0.05em;
  line-height: 1;
  display: flex;
  align-items: baseline;
  gap: 6px;
}
.price .amount span { font-size: 0.9rem; letter-spacing: 0; color: var(--muted); }
.price .amount i { font-style: normal; font-size: 0.45em; }

.price ul { margin-top: 26px; }
.price li {
  font-size: 0.9rem;
  color: var(--ink-2);
  padding: 12px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 12px;
}
.price li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--ink);
  margin-top: 8px;
  flex-shrink: 0;
}

/* ---------------- platform cards ---------------- */
.platforms {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) { .platforms { grid-template-columns: 1fr; } }

.platform {
  border: 1px solid var(--line);
  background: #fff;
  padding: 30px 28px 28px;
  transition: transform 0.45s var(--ease), border-color 0.45s;
}
.platform:hover { transform: translateY(-5px); border-color: var(--ink); }
.platform h3 { font-size: 1.5rem; margin-bottom: 8px; letter-spacing: -0.03em; }
.platform > p { font-size: 0.89rem; color: var(--ink-2); min-height: 62px; }

.spec {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  font-size: 0.85rem;
}
.spec dt { color: var(--muted); font-family: "JetBrains Mono", monospace; font-size: 10.5px; letter-spacing: 0.1em; text-transform: uppercase; padding-top: 2px; }
.spec dd { font-weight: 500; text-align: right; }

.pills { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 22px; }
.pill {
  font-family: "JetBrains Mono", monospace;
  font-size: 9.5px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 9px;
  color: #fff;
  clip-path: polygon(
    3px 0, calc(100% - 3px) 0, 100% 3px, 100% calc(100% - 3px),
    calc(100% - 3px) 100%, 3px 100%, 0 calc(100% - 3px), 0 3px
  );
}
.pill.blue { background: var(--blue); }
.pill.red { background: var(--red); }
.pill.navy { background: var(--navy); }
.pill.yellow { background: var(--yellow); color: var(--ink); }
.pill.lime { background: var(--lime); color: var(--ink); }

/* ---------------- marquee: big black type, travelling shine ---------------- */
.ticker {
  overflow: hidden;
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 40px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
@media (max-width: 720px) { .ticker { padding: 38px 0; margin: 20px 0; } }

.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 26s linear infinite;
}

.ticker-item {
  font-size: clamp(2.6rem, 8vw, 7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.045em;
  white-space: nowrap;
  padding-right: 0.45em;

  /* the shine: a pale band sweeping through otherwise black type */
  background-image: linear-gradient(
    100deg,
    var(--ink) 0%, var(--ink) 38%,
    #9ea3ad 47%, #d6d9de 50%, #9ea3ad 53%,
    var(--ink) 62%, var(--ink) 100%
  );
  background-size: 250% 100%;
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: ticker-shine 4.2s linear infinite;
}

@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }   /* items are duplicated, so this loops seamlessly */
}
/* both ends of the ramp are ink, so the loop restarts invisibly */
@keyframes ticker-shine {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
  .ticker-item {
    animation: none;
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
}

/* ---------------- button ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ink);
  color: #fff;
  font-size: 1rem;
  font-weight: 500;
  padding: 17px 34px;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.35s var(--ease), background 0.35s;
  clip-path: polygon(
    8px 0, calc(100% - 8px) 0, 100% 8px, 100% calc(100% - 8px),
    calc(100% - 8px) 100%, 8px 100%, 0 calc(100% - 8px), 0 8px
  );
}
.btn:hover { transform: translateY(-3px); background: var(--navy); }

/* ---------------- contact ---------------- */
.closing { padding-bottom: 120px; }
.contact-grid { gap: 70px; align-items: start; }
@media (max-width: 900px) { .contact-grid { gap: 44px; } }

.contact-meta {
  margin-top: 30px;
  border-top: 1px solid var(--line);
}
.cmeta-row {
  display: flex;
  gap: 18px;
  align-items: baseline;
  padding: 13px 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.cmeta-row .label { width: 78px; flex-shrink: 0; }
.cmeta-row a { border-bottom: 1px solid var(--faint); }
.cmeta-row a:hover { border-color: var(--ink); }

/* --- form --- */
.cform {
  background: #fff;
  border: 1px solid var(--line);
  padding: 34px;
}
@media (max-width: 560px) { .cform { padding: 22px; } }

.cform-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
@media (max-width: 560px) { .cform-row { grid-template-columns: 1fr; } }

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}
.field .label { color: var(--muted); }

.field input,
.field select,
.field textarea {
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 13px 14px;
  width: 100%;
  transition: border-color 0.25s, background 0.25s;
}
.field textarea { resize: vertical; min-height: 104px; line-height: 1.5; }
.field input::placeholder,
.field textarea::placeholder { color: var(--faint); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--ink);
  background: #fff;
}
.field input:user-invalid { border-color: var(--red); }

.btn-block { width: 100%; justify-content: center; margin-top: 8px; }
.btn:disabled { opacity: 0.55; cursor: not-allowed; transform: none; }

/* honeypot — Formspree's documented _gotcha field. Hidden from people,
   still submitted, so bots that fill every input get rejected. */
.cform-hp { display: none; }

.cform-status {
  font-size: 0.88rem;
  margin-top: 14px;
  display: none;
}
.cform-status.show { display: block; }
.cform-status.ok  { color: #17794f; }
.cform-status.err { color: var(--red); }

.cform-fine {
  font-size: 0.8rem;
  color: var(--muted);
  margin-top: 12px;
  text-align: center;
}

/* ---------------- footer ---------------- */
footer {
  border-top: 1px solid var(--line);
  padding: 60px 0 44px;
}
.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
  padding-top: 26px;
}

/* --- design credit --- */
.credit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  width: fit-content;
  margin: 0 auto 50px;
  padding: 4px 6px 10px;
  position: relative;
  isolation: isolate;
}
.credit-kicker {
  transition: color 0.35s var(--ease), letter-spacing 0.35s var(--ease);
}
.credit:hover .credit-kicker {
  color: var(--ink);
  letter-spacing: 0.3em;
}

.credit-name {
  font-size: clamp(1.9rem, 4.2vw, 3.2rem);
  font-weight: 500;
  letter-spacing: -0.04em;
  line-height: 1.05;

  /* black by default; a shine sweeps through it on hover */
  background-image: linear-gradient(
    100deg,
    var(--ink) 0%, var(--ink) 40%,
    #9ea3ad 48%, #e2e5ea 50%, #9ea3ad 52%,
    var(--ink) 60%, var(--ink) 100%
  );
  background-size: 250% 100%;
  /* stay inside 0–100%: past that the gradient leaves the text box and,
     with no-repeat, nothing paints at all */
  background-position: 100% 0;
  background-repeat: no-repeat;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.credit:hover .credit-name {
  animation: credit-shine 1.5s linear infinite;
}
/* both ends of the ramp are ink, so the loop restarts invisibly */
@keyframes credit-shine {
  from { background-position: 100% 0; }
  to   { background-position: 0% 0; }
}

/* four-colour pixel underline that draws out from the centre */
.credit::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  height: 5px;
  width: 0;
  transform: translateX(-50%);
  background: repeating-linear-gradient(
    90deg,
    var(--blue) 0 7px, transparent 7px 10px,
    var(--red) 10px 17px, transparent 17px 20px,
    var(--yellow) 20px 27px, transparent 27px 30px,
    #22a06b 30px 37px, transparent 37px 40px
  );
  transition: width 0.5s var(--ease);
}
.credit:hover::after { width: 100%; }

.credit-arrow {
  position: absolute;
  top: 12px;
  right: -26px;
  width: 17px;
  height: 17px;
  color: var(--muted);
  opacity: 0;
  transform: translate(-6px, 6px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), color 0.35s;
}
.credit:hover .credit-arrow {
  opacity: 1;
  transform: none;
  color: var(--ink);
}

@media (max-width: 560px) {
  .credit { margin-bottom: 36px; }
  .credit-arrow { right: -20px; width: 14px; height: 14px; }
}

@media (prefers-reduced-motion: reduce) {
  .credit:hover .credit-name { animation: none; }
  .credit-name {
    -webkit-text-fill-color: var(--ink);
    color: var(--ink);
  }
}

/* ---------------- reveal ---------------- */
.rv {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
.rv.in { opacity: 1; transform: none; }
.rv-1 { transition-delay: 0.07s; }
.rv-2 { transition-delay: 0.14s; }
.rv-3 { transition-delay: 0.21s; }

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}
