/* ============================================================
   SIGNALHÄUS — signalhaus.au
   Editorial design system, built on Brand System v2.0.
   No frameworks. ~5KB of vanilla JS for motion + the score tool.
   ============================================================ */

/* ---------------------------------------------------- fonts */
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-var.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../fonts/Newsreader-Italic-var.woff2") format("woff2-variations");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-var.woff2") format("woff2-variations");
  font-weight: 100 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Regular.woff2") format("woff2");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "IBM Plex Mono";
  src: url("../fonts/IBMPlexMono-Medium.woff2") format("woff2");
  font-weight: 500; font-style: normal; font-display: swap;
}

/* --------------------------------------------------- tokens */
:root {
  --plum-ink:  #2E1C29;
  --plum-900:  #3C2637;
  --plum-700:  #4A2F43;
  --plum:      #5B3A52;
  --plum-300:  #8B6B7E;
  --plum-100:  #D7C8D1;
  --plum-050:  #F0E8EC;
  --moss-900:  #3A431F;
  --moss-700:  #525E3A;   /* the only moss for text on light fields */
  --moss:      #6B7B4E;   /* graphics only on light fields */
  --moss-300:  #9AA782;   /* accent on plum — graphics only */
  --moss-100:  #D9DFCB;
  --champ-700: #CFC0A8;
  --champ:     #E7DCCB;
  --champ-300: #F0E9DD;
  --ivory:     #F8F6F2;
  --white:     #FFFFFF;
  --graph-900: #242424;
  --graph-700: #333333;
  --graph:     #424242;
  --graph-400: #6B6560;

  --serif: "Newsreader", Georgia, serif;
  --sans:  "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --mono:  "IBM Plex Mono", "Courier New", monospace;

  --measure: 62ch;
  --gutter: clamp(20px, 5vw, 72px);
  --maxw: 1280px;
  /* the signal slash is held at 70° → skew of −20° */
  --slash-skew: -20deg;
  --ease: cubic-bezier(0.22, 0.61, 0.21, 1);
}

/* ---------------------------------------------------- reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--sans);
  font-size: 17px; line-height: 1.62;
  color: var(--graph);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--plum-100); color: var(--plum-ink); }
:focus-visible { outline: 2px solid var(--plum); outline-offset: 3px; }
.f-plum :focus-visible, .f-moss :focus-visible, .site-foot :focus-visible,
.scorebar :focus-visible { outline-color: var(--champ); }

/* ----------------------------------------------- typography */
.display, h1 {
  font-family: var(--serif);
  font-weight: 300;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2.6rem, 6.4vw, 4.6rem);
  line-height: 0.98;
  letter-spacing: -0.018em;
  color: var(--plum);
  text-wrap: balance;
}
h2 {
  font-family: var(--serif);
  font-weight: 350;
  font-variation-settings: "opsz" 44;
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
  line-height: 1.04;
  letter-spacing: -0.008em;
  color: var(--plum);
  text-wrap: balance;
}
h3 {
  font-family: var(--serif);
  font-weight: 420;
  font-variation-settings: "opsz" 28;
  font-size: 1.35rem;
  line-height: 1.18;
  color: var(--plum-900);
}
p  { max-width: var(--measure); }
.lead {
  font-size: 1.22rem; line-height: 1.5;
  color: var(--graph-700);
  max-width: 54ch;
}
.serif-em { font-family: var(--serif); font-style: italic; font-weight: 380; }
/* slash-angled emphasis underline (static by default; animated when motion allowed) */
.uline { position: relative; }
.uline::after {
  content: ""; position: absolute; left: 0.04em; bottom: 0.02em;
  height: 0.085em; width: 96%; background: var(--moss);
  transform: skewX(var(--slash-skew));
}

/* mono label — the system voice */
.lab {
  font-family: var(--mono); font-weight: 500;
  font-size: 0.72rem; letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--moss-700);
}
.lab--graph { color: var(--graph-400); }
/* On plum, reverse copy is champagne or ivory (brand rule 4).
   Moss 300 on plum is a GRAPHICS-only accent — never text. */
.lab--rev   { color: var(--champ); }
.lab--champ { color: var(--champ); }

/* ------------------------------------------------ the slash */
.slash {
  display: inline-block;
  width: 0.34em; height: 1.05em;
  background: var(--moss);
  transform: skewX(var(--slash-skew));
  vertical-align: -0.12em;
}
.slash--sm { width: 8px; height: 26px; }
.slash--rule {
  display: flex; align-items: center; gap: 18px;
  margin-bottom: 2rem;
}
.slash--rule::after {
  content: ""; flex: 1; height: 1px; background: var(--champ-700);
}

/* the umlaut, alive — two dots that pulse like a signal */
.sig-dots { display: inline-flex; gap: 7px; vertical-align: middle; margin-right: 12px; }
.sig-dots i {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--plum); display: block;
}
.f-plum .sig-dots i { background: var(--moss-300); }

/* ----------------------------------------------- structure */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }
section { padding-block: clamp(3.2rem, 8vw, 6.5rem); position: relative; }
section > .wrap { position: relative; z-index: 1; }
.f-ivory { background: var(--ivory); }

/* ---- the slashed page: sections join along rising diagonal seams ---- */
.cut {
  margin-top: -3.2vw;
  clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%);
  padding-top: calc(clamp(3.2rem, 8vw, 6.5rem) + 3.2vw);
}
.cut--r {
  clip-path: polygon(0 0, 100% 3.2vw, 100% 100%, 0 100%);
}
.site-foot {
  margin-top: -3.2vw;
  clip-path: polygon(0 3.2vw, 100% 0, 100% 100%, 0 100%);
  padding-top: 3.2vw;
}

/* ---- ghost folio numerals behind numbered sections ---- */
.ghost-no {
  position: absolute; top: -0.04em;
  font-family: var(--serif); font-weight: 200;
  font-size: clamp(11rem, 26vw, 24rem); line-height: 0.8;
  color: var(--plum); opacity: 0.05;
  pointer-events: none; user-select: none; z-index: 0;
  font-variant-numeric: tabular-nums;
}
.ghost-no--l { left: -0.05em; }
.ghost-no--r { right: -0.03em; }
.f-plum .ghost-no, .f-moss .ghost-no { color: var(--ivory); opacity: 0.05; }

/* ---- typographic interludes ---- */
.interlude { padding-block: clamp(3.5rem, 9vw, 7.5rem); overflow: hidden; }
.interlude p {
  font-family: var(--serif); font-weight: 250;
  font-variation-settings: "opsz" 72;
  font-size: clamp(2.8rem, 8.6vw, 8rem);
  line-height: 0.96; letter-spacing: -0.02em;
  color: var(--plum); max-width: none;
}
.interlude p em {
  font-style: italic; font-weight: 300; color: var(--moss-700);
  display: block; margin-left: 12vw;
}
.rule { border: 0; border-top: 1px solid var(--champ-700); }

.split {
  display: grid; gap: 2.5rem var(--gutter);
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
}
.split--rev { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); }
@media (max-width: 860px) { .split, .split--rev { grid-template-columns: 1fr; } }

/* numbered editorial entries */
.entry {
  display: grid; gap: 1rem 2.5rem;
  grid-template-columns: 110px minmax(0, 1fr);
  padding-block: 1.9rem;
  border-top: 1px solid var(--champ-700);
  transition: background 200ms var(--ease);
}
.entry:last-child { border-bottom: 1px solid var(--champ-700); }
.entry:hover { background: color-mix(in srgb, var(--champ-300) 55%, transparent); }
.f-plum .entry:hover { background: color-mix(in srgb, var(--plum-700) 55%, transparent); }
.entry__no {
  font-family: var(--serif); font-weight: 200;
  font-size: 2.6rem; line-height: 1;
  color: var(--plum-300);
  font-variant-numeric: tabular-nums;
}
.entry h3 { margin-bottom: 0.35rem; }
.entry p  { color: var(--graph-700); }
.entry .q {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: 1.12rem; color: var(--moss-700);
  margin-bottom: 0.45rem;
}
@media (max-width: 640px) {
  .entry { grid-template-columns: 1fr; padding-block: 1.5rem; }
  .entry__no { font-size: 1.9rem; }
}
.f-plum .entry__no { color: var(--plum-100); }
/* the industry habit, crossed out above our answer */
.f-plum .them { color: var(--plum-100); }
.them {
  font-family: var(--serif); font-style: italic; font-weight: 320;
  font-size: 1.02rem; color: var(--plum-100);
  text-decoration: line-through;
  text-decoration-color: var(--moss-300); text-decoration-thickness: 1.5px;
  margin-bottom: 0.4rem; opacity: 0.85;
}

/* ------------------------------------------------- surfaces */
.f-champ  { background: var(--champ); }
.f-champ3 { background: var(--champ-300); }
.f-white  { background: var(--white); }
.f-plum   { background: linear-gradient(160deg, var(--plum) 20%, var(--plum-900) 100%); color: var(--champ); }
.f-plum h2, .f-plum .display { color: var(--ivory); }
.f-plum p { color: var(--champ); }
.f-plum .rule { border-color: var(--plum-700); }
/* deep moss field — ivory/moss-100 text only (both ≥7.9:1 on moss-900) */
.f-moss { background: linear-gradient(160deg, var(--moss-900) 30%, #2F3719 100%); color: var(--moss-100); }
.f-moss h2, .f-moss h3, .f-moss .display { color: var(--ivory); }
.f-moss p { color: var(--moss-100); }
.f-moss .lab { color: var(--moss-100); }
.f-moss .slash--rule::after { background: var(--moss-700); }
.f-moss .alink { color: var(--moss-100); border-color: var(--moss-700); }
.f-moss .alink:hover { color: var(--ivory); border-color: var(--moss-300); }
.f-moss .sig-dots i { background: var(--moss-300); }
/* white cards sitting on the moss field keep their light-field colours */
.f-moss .tier h3 { color: var(--plum-900); }
.f-moss .tier p:not(.tier__flag) { color: var(--graph-700); }
.f-moss .tier .who { color: var(--plum-700); }
.f-moss .tier .alink { color: var(--moss-700); border-color: var(--champ-700); }
.f-moss .tier .alink:hover { color: var(--plum); border-color: var(--plum-300); }

/* advantage pillars on the moss field */
.pillar-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
@media (max-width: 980px) { .pillar-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }
.pillar {
  border: 1px solid rgba(217, 223, 203, 0.28);
  padding: 1.5rem 1.5rem 1.4rem;
  transition: border-color 200ms var(--ease), transform 200ms var(--ease);
}
.pillar:hover { border-color: var(--moss-300); transform: translateY(-3px); }
.pillar .pno {
  font-family: var(--serif); font-weight: 200; font-size: 2rem;
  color: var(--moss-300); font-variant-numeric: tabular-nums;
}
.pillar h3 { margin: 0.6rem 0 0; font-size: 1.45rem; }
.pillar p {
  font-size: 0.9rem; color: var(--moss-100);
  border-top: 1px solid rgba(217, 223, 203, 0.28);
  margin-top: 0.85rem; padding-top: 0.85rem;
}

/* ---------------------------------------------------- table */
.tbl { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
.tbl th {
  font-family: var(--mono); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--graph-400);
  text-align: left; padding: 0.65rem 1rem 0.65rem 0;
  border-bottom: 1px solid var(--graph-400);
}
.tbl td {
  padding: 0.8rem 1rem 0.8rem 0;
  border-bottom: 1px solid var(--tbl-line, var(--champ-700));
  vertical-align: top;
}
.tbl td:first-child { color: var(--plum-900); font-weight: 600; }
.tbl .num { font-variant-numeric: tabular-nums; white-space: nowrap; }
.tbl-scroll { overflow-x: auto; }
.tbl-scroll .tbl { min-width: 560px; }

/* price figure */
.price {
  font-family: var(--serif); font-weight: 300;
  font-variation-settings: "opsz" 60;
  font-size: clamp(2rem, 4.5vw, 3.1rem);
  line-height: 1; color: var(--plum);
  font-variant-numeric: tabular-nums;
}
.price small {
  font-family: var(--mono); font-size: 0.68rem;
  letter-spacing: 0.2em; color: var(--graph-400);
  display: block; margin-top: 0.55rem; text-transform: uppercase;
}

/* -------------------------------------------------- buttons */
.btn {
  display: inline-block; position: relative; overflow: hidden;
  font-family: var(--mono); font-weight: 500;
  font-size: 0.74rem; letter-spacing: 0.22em; text-transform: uppercase;
  text-decoration: none; cursor: pointer;
  padding: 1.05em 1.9em;
  background: var(--plum); color: var(--ivory);
  border: 1px solid var(--plum);
  transition: background 180ms var(--ease), transform 180ms var(--ease);
}
.btn:hover { background: var(--plum-900); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }
.f-plum .btn { background: var(--ivory); color: var(--plum); border-color: var(--ivory); }
.f-plum .btn:hover { background: var(--champ); border-color: var(--champ); }
.cta-row { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

/* arrow-link: arrow nudges on hover */
.alink {
  font-family: var(--mono); font-weight: 500;
  font-size: 0.74rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--moss-700); text-decoration: none;
  border-bottom: 1px solid var(--champ-700);
  padding-bottom: 3px;
}
.alink:hover { color: var(--plum); border-color: var(--plum-300); }
.alink .ar { display: inline-block; transition: transform 200ms var(--ease); }
.alink:hover .ar { animation: none; transform: translateX(5px); }
.f-plum .alink { color: var(--champ); border-color: var(--plum-700); }
.f-plum .alink:hover { color: var(--ivory); border-color: var(--plum-300); }

/* --------------------------------------------------- header */
.site-head {
  background: var(--ivory);
  border-bottom: 1px solid var(--champ-700);
  position: sticky; top: 0; z-index: 40;
}
.site-head .wrap {
  display: flex; align-items: center; gap: 2rem;
  min-height: 74px;
}
.site-head__logo { flex: 0 0 auto; }
/* 46px tall → ~239px wide: at the brand's 240px screen floor,
   umlaut dots ~2.5px — above the 2px reproduction floor. */
.site-head__logo img { height: 46px; width: auto; }
.site-nav { margin-left: auto; display: flex; align-items: center; gap: 1.9rem; }
.site-nav a:not(.btn) {
  font-family: var(--mono); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--graph); text-decoration: none;
  padding-block: 0.4em;
  border-bottom: 2px solid transparent;
  transition: color 160ms var(--ease);
}
.site-nav a:not(.btn):hover { color: var(--plum); }
.site-nav a[aria-current="page"] { color: var(--plum); border-bottom-color: var(--moss); }
.site-nav .btn { padding: 0.85em 1.4em; }

/* mobile nav — checkbox hack; checkbox stays focusable */
.nav-toggle-box { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }
.nav-toggle-box:focus-visible + .nav-toggle { outline: 2px solid var(--plum); outline-offset: 3px; }
@media (min-width: 981px) { .nav-toggle-box { display: none; } }
.nav-toggle {
  display: none; margin-left: auto;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--plum);
  cursor: pointer; padding: 0.6em 0;
  -webkit-user-select: none; user-select: none;
}
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 74px;
    background: var(--ivory);
    border-bottom: 1px solid var(--champ-700);
    flex-direction: column; align-items: flex-start;
    padding: 1.2rem var(--gutter) 1.6rem; gap: 1.1rem;
  }
  .nav-toggle-box:checked ~ .site-nav { display: flex; }
}

/* --------------------------------------------------- footer */
.site-foot { background: var(--plum-ink); color: var(--champ); }
.site-foot .sig-dots i { background: var(--moss-300); }
.site-foot__grid {
  display: grid; gap: 2.5rem var(--gutter);
  grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 2fr) minmax(0, 2fr);
  padding-block: 3.6rem 2.6rem;
}
@media (max-width: 1240px) { .site-foot__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .site-foot__grid { grid-template-columns: 1fr; } }
/* 59px tall → ~240px wide (descriptor lockup 4.07:1) — at the floor. */
.site-foot__logo img { height: 59px; width: auto; }
.site-foot a { color: var(--champ); text-decoration: none; border-bottom: 1px solid var(--plum-300); }
.site-foot a:hover { color: var(--ivory); }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: 0.55rem; }
.site-foot__base {
  display: flex; flex-wrap: wrap; gap: 1rem 2rem;
  justify-content: space-between; align-items: center;
  padding-block: 1.4rem;
  border-top: 1px solid var(--plum-700);
}

/* ----------------------------------------- the hero mark (S/H seal) */
.hero__mark {
  position: absolute; z-index: 1;
  right: clamp(4%, 8vw, 10%);
  top: 50%; transform: translateY(-50%);
  width: clamp(150px, 15vw, 215px); height: auto;
}
.hero__mark .mk-tile { fill: var(--plum); }
.hero__mark .mk-letter {
  font-family: var(--serif); font-weight: 320;
  font-variation-settings: "opsz" 72;
  fill: var(--ivory); font-size: 150px; letter-spacing: 6px;
}
.hero__mark .mk-slash { fill: var(--moss-300); }
.hero__mark .mk-dot { fill: var(--moss-300); }
.hero__mark .mk-rule { stroke: var(--plum-300); stroke-width: 3; }
@media (max-width: 1120px) { .hero__mark { display: none; } }
@media (prefers-reduced-motion: no-preference) {
  .hero__mark {
    opacity: 0;
    animation: mark-in 0.9s var(--ease) forwards 0.6s;
  }
  @keyframes mark-in {
    from { opacity: 0; transform: translateY(calc(-50% + 22px)); }
    to   { opacity: 1; transform: translateY(-50%); }
  }
  .hero__mark .mk-dot { transform-origin: center; transform-box: fill-box; }
  .hero__mark .mk-dot { animation: dot-pulse 2.8s var(--ease) infinite 1.6s; }
  .hero__mark .mk-dot:last-of-type { animation-delay: 1.95s; }
}

/* ------------------------------------------------ hero band */
.hero {
  padding-block: clamp(4rem, 11vw, 8rem); position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--ivory) 55%, var(--champ-300) 100%);
}
.hero .lead { margin-top: 1.8rem; }
.hero .cta-row { margin-top: 2.6rem; }
.hero__slash {
  position: absolute; top: -12%; right: 6%;
  width: clamp(56px, 9vw, 130px); height: 130%;
  background: var(--moss-100);
  transform: skewX(var(--slash-skew));
  z-index: 0; will-change: transform;
}
.hero__slash--b {
  width: clamp(18px, 3vw, 44px);
  right: calc(6% + clamp(80px, 12vw, 175px));
  background: var(--champ);
  opacity: 0.75;
}
/* the 70° wipe — a slash-angled sheet that sweeps the hero on load,
   revealing the headline in its wake */
.hero__wipe {
  position: absolute; top: -12%; bottom: -12%; left: -30%;
  width: 55%;
  background: var(--moss-100);
  transform: skewX(var(--slash-skew)) translateX(-140%);
  z-index: 2; pointer-events: none; opacity: 0;
}

/* the word verdict — new / more / right */
.wcycle { display: inline-grid; }
.wcycle .w { grid-area: 1 / 1; position: relative; white-space: nowrap; }
/* static + reduced-motion default: only the verdict shows */
.wcycle .w1, .wcycle .w2 { display: none; }
.hero > .wrap { position: relative; z-index: 1; }
/* faint editorial column grid behind the hero */
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: 0;
  background: repeating-linear-gradient(90deg,
    transparent 0 calc(100% / 6 - 1px),
    rgba(207, 192, 168, 0.30) calc(100% / 6 - 1px) calc(100% / 6));
  pointer-events: none;
}
/* rotated spine marker */
.spine {
  position: absolute; z-index: 1;
  left: max(8px, calc((100vw - var(--maxw)) / 2 - 3.2rem));
  top: 50%; transform: translateY(-50%);
  writing-mode: vertical-rl;
  font-family: var(--mono); font-weight: 500;
  font-size: 0.58rem; letter-spacing: 0.34em; text-transform: uppercase;
  color: var(--graph-400); opacity: 0.75;
}
@media (max-width: 1120px) { .spine { display: none; } }
@media (max-width: 640px) { .hero__slash { right: -10%; opacity: 0.6; } }

/* ------------------------------------------------- marquee */
.mq {
  overflow: hidden; padding-block: 1.1rem;
  border-top: 1px solid var(--champ-700);
  border-bottom: 1px solid var(--champ-700);
  background: var(--champ-300);
}
.mq__track {
  display: flex; width: max-content;
  animation: mq 36s linear infinite;
}
.mq:hover .mq__track { animation-play-state: paused; }
.mq__item {
  margin-right: 3.2rem;
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-variation-settings: "opsz" 40;
  font-size: clamp(1.3rem, 2.4vw, 1.9rem);
  color: var(--plum-700); white-space: nowrap;
  display: flex; align-items: center; gap: 3.2rem;
}
.mq__item .slash { height: 0.9em; }
@keyframes mq { to { transform: translateX(-50%); } }

/* ------------------------------------------------ flip cards */
.pcard.pcard--flip {
  background: transparent; border: none; padding: 0;
  perspective: 1400px;
}
.pcard.pcard--flip::before { display: none; }
.pcard.pcard--flip:hover { transform: none; box-shadow: none; }
.flip-inner {
  position: relative; display: block; min-height: 335px; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.65s var(--ease);
}
.pcard--flip:hover .flip-inner,
.pcard--flip:focus-visible .flip-inner { transform: rotateY(180deg); }
.flip-face {
  position: absolute; inset: 0; display: block;
  backface-visibility: hidden; -webkit-backface-visibility: hidden;
  padding: 1.9rem 1.9rem 1.7rem;
}
.flip-front {
  background: var(--white); border: 1px solid var(--champ-700);
}
.flip-front::after {
  content: ""; position: absolute; top: 0; left: 0;
  width: 34%; height: 3px; background: var(--moss);
}
.flip-back {
  transform: rotateY(180deg);
  background: linear-gradient(160deg, var(--plum), var(--plum-900));
  border: 1px solid var(--plum-900);
  color: var(--champ);
  display: flex; flex-direction: column;
  padding: 1.5rem 1.7rem 1.4rem;
  overflow: hidden;
}
.flip-back .ticks { color: var(--champ); font-size: 0.88rem; margin-top: 0.55rem; }
.flip-back .ticks li {
  border-color: var(--plum-700);
  padding: 0.36rem 0 0.36rem 1.25rem;
}
.flip-back .ticks li::before { background: var(--moss-300); top: 0.62em; height: 12px; }
.flip-back .alink {
  color: var(--champ); border-color: var(--plum-300);
  margin-top: auto; align-self: flex-start; padding-bottom: 2px;
}
@media (prefers-reduced-motion: reduce) {
  .flip-inner { transition: none; }   /* flip still works, instantly */
}

/* -------------------------------------------- product cards */
.pgrid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 780px) { .pgrid { grid-template-columns: 1fr; } }
.pcard {
  position: relative; display: block; text-decoration: none;
  background: var(--white); border: 1px solid var(--champ-700);
  padding: 1.9rem 1.9rem 1.7rem;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.pcard::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 0; height: 3px; background: var(--moss);
  transition: width 260ms var(--ease);
}
.pcard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(46, 28, 41, 0.10); }
.pcard:hover::before { width: 100%; }
.pcard h3 { margin-bottom: 0.3rem; }
.pcard .q { font-family: var(--serif); font-style: italic; color: var(--plum-700); margin-bottom: 1rem; }
.pcard .price { font-size: 1.75rem; }
.pcard .lab--graph { position: absolute; top: 1.9rem; right: 1.9rem; }

/* ----------------------------------------------- tier cards */
.tgrid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
}
@media (max-width: 980px) { .tgrid { grid-template-columns: 1fr; } }
.tier {
  background: var(--white); border: 1px solid var(--champ-700);
  padding: 0 1.7rem 1.7rem; display: flex; flex-direction: column;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.tier:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(46, 28, 41, 0.10); }
.tier__flag {
  align-self: stretch; text-align: center;
  font-family: var(--mono); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.22em; text-transform: uppercase;
  margin: 0 -1.7rem 1.5rem; padding: 0.6em 0;
  background: var(--champ-300); color: var(--moss-700);
}
.tier--hi { border-color: var(--plum); }
.tier--hi .tier__flag { background: var(--plum); color: var(--ivory); }
.tier h3 { font-size: 1.5rem; }
.tier .price { font-size: 1.9rem; margin-top: 0.7rem; }
.tier .who {
  font-family: var(--serif); font-style: italic; color: var(--plum-700);
  margin: 0.9rem 0 0.4rem;
}
/* grouped scope inside tier cards */
.tgroup {
  font-family: var(--mono); font-weight: 500;
  font-size: 0.64rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--moss-700);
  margin-top: 1.4rem; padding-bottom: 0.45rem;
  border-bottom: 1px solid var(--champ-700);
}
.tier .ticks { margin-top: 0.35rem; }
.ticks .sub { color: var(--graph-400); font-size: 0.86rem; }
.ticks .sub::before { background: var(--champ-700); }

.ticks { list-style: none; margin-top: 1.1rem; font-size: 0.93rem; color: var(--graph-700); }
.ticks li {
  padding: 0.5rem 0 0.5rem 1.5rem; position: relative;
  border-top: 1px solid var(--champ-300);
}
.ticks li::before {
  content: ""; position: absolute; left: 2px; top: 0.78em;
  width: 5px; height: 14px; background: var(--moss);
  transform: skewX(var(--slash-skew));
}
.tier .cta-row { margin-top: auto; padding-top: 1.5rem; }


/* ------------------------------------------------ score tool */
/* editorial rows — same voice as the eleven-surfaces entries, no boxes */
.qrow {
  display: grid; gap: 0.6rem 2.5rem;
  grid-template-columns: 110px minmax(0, 1fr);
  padding-block: 1.9rem;
  border-top: 1px solid var(--champ-700);
  transition: background 200ms var(--ease);
}
.qrow:last-of-type { border-bottom: 1px solid var(--champ-700); }
.qrow:hover { background: color-mix(in srgb, var(--champ-300) 55%, transparent); }
.qrow__no {
  font-family: var(--serif); font-weight: 200;
  font-size: 2.6rem; line-height: 1;
  color: var(--plum-300); font-variant-numeric: tabular-nums;
}
.qrow h3 { margin-bottom: 0.2rem; }
.qrow .q {
  font-family: var(--serif); font-style: italic; font-weight: 380;
  font-size: 1.12rem; color: var(--moss-700); margin-bottom: 0.9rem;
}
@media (max-width: 640px) {
  .qrow { grid-template-columns: 1fr; padding-block: 1.5rem; }
  .qrow__no { font-size: 1.9rem; }
}
.scale { display: flex; gap: 1.4rem; flex-wrap: wrap; align-items: baseline; }
.scale input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.scale label {
  font-family: var(--serif); font-weight: 300; font-size: 1.3rem;
  color: var(--graph-400); cursor: pointer;
  padding: 0.1em 0.35em 0.25em;
  border-bottom: 2px solid var(--champ-700);
  transition: color 140ms var(--ease), border-color 140ms var(--ease);
}
.scale label:hover { color: var(--plum); border-color: var(--plum-300); }
.scale input:checked + label {
  color: var(--plum); font-weight: 500;
  border-bottom: 3px solid var(--moss);
}
.scale input:focus-visible + label { outline: 2px solid var(--plum); outline-offset: 2px; }
.scale-key { display: flex; justify-content: space-between; max-width: 300px;
  font-family: var(--mono); font-size: 0.62rem; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--graph-400); margin-top: 0.6rem; }

/* --------------------------------------------- audience grid */
.aud-grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 640px) { .aud-grid { grid-template-columns: 1fr; } }
.aud {
  position: relative; background: var(--ivory);
  border: 1px solid var(--champ-700);
  padding: 1.2rem 1.3rem 1.1rem 1.55rem;
  transition: transform 200ms var(--ease), border-color 200ms var(--ease);
}
.aud::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0;
  width: 5px; background: var(--moss);
  transform: skewX(var(--slash-skew)); transform-origin: top;
}
.aud:hover { transform: translateY(-3px); border-color: var(--plum-300); }
.aud h3 { font-size: 1.18rem; margin-bottom: 0.25rem; }
.aud p { font-size: 0.88rem; color: var(--graph-400); }

/* ------------------------------------------- worked example */
.case {
  display: grid; gap: 0.6rem 2.5rem;
  grid-template-columns: 150px minmax(0, 1fr);
  padding-block: 1.7rem;
  border-top: 1px solid var(--champ-700);
}
.case:last-of-type { border-bottom: 1px solid var(--champ-700); }
.case__tag {
  font-family: var(--mono); font-weight: 500; font-size: 0.66rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--moss-700); padding-top: 0.45rem; line-height: 1.7;
}
.case h3 { margin-bottom: 0.3rem; }
.case p { color: var(--graph-700); font-size: 0.95rem; }
@media (max-width: 640px) { .case { grid-template-columns: 1fr; } }

/* ------------------------- endorsements — the moving strip */
.tmq { overflow: hidden; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); }
.tmq__track {
  display: flex; width: max-content;
  animation: mq 48s linear infinite;
  padding-block: 0.6rem;   /* room for hover lift */
}
.tmq:hover .tmq__track { animation-play-state: paused; }
.tmq .testi { width: clamp(280px, 30vw, 430px); flex: none; margin-right: 1.4rem; }
@media (prefers-reduced-motion: reduce) {
  .tmq { overflow-x: auto; }
  .tmq__track { animation: none; }
}
.testi {
  background: var(--white); border: 1px solid var(--champ-700);
  padding: 1.9rem 1.9rem 1.6rem;
  display: flex; flex-direction: column;
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
}
.testi:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(46, 28, 41, 0.10); }
.testi blockquote {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-variation-settings: "opsz" 32;
  font-size: 1.28rem; line-height: 1.35; color: var(--plum-700);
}
.testi footer { margin-top: auto; padding-top: 1.3rem; }
.testi cite {
  display: block; font-style: normal; font-size: 0.88rem;
  color: var(--graph-700); font-weight: 600;
}
.testi .lab--graph { display: block; margin-top: 0.4rem; }
/* named engagement card — plum, distinct from quote cards */
.testi--case { background: linear-gradient(160deg, var(--plum), var(--plum-900)); border-color: var(--plum-900); }
.testi--case blockquote { color: var(--ivory); font-style: normal; }
.testi--case cite { color: var(--champ); }
.testi--case .lab { color: var(--champ); }

/* ----------------------------- scope expansions — the menu */
.menu { border-top: 1px solid var(--champ-700); }
.menu-row {
  position: relative;
  display: grid; gap: 0.2rem 2.5rem;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: baseline;
  padding: 1.2rem 0.6rem 1.1rem 0.9rem;
  border-bottom: 1px solid var(--champ-700);
  transition: background 200ms var(--ease), padding-left 200ms var(--ease);
}
.menu-row::before {
  content: ""; position: absolute; left: 0; top: 1.3rem; bottom: 1.2rem;
  width: 5px; background: var(--moss);
  transform: skewX(var(--slash-skew)) scaleY(0); transform-origin: top;
  transition: transform 220ms var(--ease);
}
.menu-row:hover { background: color-mix(in srgb, var(--champ-300) 60%, transparent); padding-left: 1.5rem; }
.menu-row:hover::before { transform: skewX(var(--slash-skew)) scaleY(1); }
.menu-row h3 { font-family: var(--sans); font-weight: 600; font-size: 1.06rem; color: var(--plum-900); }
.menu-row .unit {
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--graph-400); display: block; margin-top: 0.3rem;
}
.menu-row .mprice {
  font-family: var(--serif); font-weight: 300; font-size: 1.65rem;
  color: var(--plum); font-variant-numeric: tabular-nums; white-space: nowrap;
}
@media (max-width: 560px) {
  .menu-row { grid-template-columns: 1fr; }
  .menu-row .mprice { justify-self: start; }
}

/* --------------------------------------------- footer extras */
.qr-box { display: flex; gap: 1rem; align-items: center; margin-top: 1.4rem; }
.qr-box img {
  width: 92px; height: 92px; background: var(--ivory);
  padding: 8px; flex: none;
}
.qr-box .lab--rev { font-size: 0.62rem; line-height: 1.8; }
.socials { list-style: none; }
.socials li { margin-bottom: 0.55rem; }

.scorebar {
  position: sticky; bottom: 0; z-index: 30;
  background: var(--plum); color: var(--champ);
  border-top: 1px solid var(--plum-700);
}
.scorebar .wrap {
  display: flex; align-items: center; gap: 1.6rem;
  padding-block: 0.85rem; flex-wrap: wrap;
}
.scorebar .total {
  font-family: var(--serif); font-size: 1.55rem; color: var(--ivory);
  font-variant-numeric: tabular-nums;
}
.scorebar .meter {
  flex: 1; min-width: 120px; height: 4px; background: var(--plum-700);
  overflow: hidden;
}
.scorebar .meter i {
  display: block; height: 100%; width: 0%;
  background: var(--moss-300);
  transition: width 300ms var(--ease);
}
.scorebar .btn {
  padding: 0.75em 1.3em;
  background: var(--ivory); color: var(--plum); border-color: var(--ivory);
}
.scorebar .btn:hover { background: var(--champ); border-color: var(--champ); }
.scorebar .btn[disabled] { opacity: 0.45; pointer-events: none; }

#result[hidden] { display: none; }
.weak { border-left: 3px solid var(--moss); padding-left: 1.3rem; margin-top: 1.4rem; }
.weak h3 { margin-bottom: 0.2rem; }

/* ------------------------------------------------ utilities */
.mt1 { margin-top: 0.5rem; }  .mt2 { margin-top: 1rem; }
.mt3 { margin-top: 1.6rem; }  .mt4 { margin-top: 2.4rem; }
.mt5 { margin-top: 3.4rem; }
.stack > * + * { margin-top: 1.1rem; }
.grid2 { display: grid; gap: 1.6rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
@media (max-width: 640px) { .grid2 { grid-template-columns: 1fr; } }
.small { font-size: 0.86rem; color: var(--graph-400); }
.foot-note {
  font-size: 0.86rem; color: var(--graph-400);
  border-left: 2px solid var(--champ-700);
  padding-left: 1.1rem; max-width: 58ch;
}
.pull {
  font-family: var(--serif); font-weight: 300; font-style: italic;
  font-variation-settings: "opsz" 40;
  font-size: clamp(1.5rem, 3vw, 2.1rem); line-height: 1.25;
  color: var(--plum-700); max-width: 30ch;
}
.sr-only {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--plum); color: var(--ivory);
  padding: 0.8em 1.2em; z-index: 100;
  font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.15em;
}
.skip:focus { left: 0; }

/* forms */
.form-grid { display: grid; gap: 1.4rem; max-width: 560px; }
.field label {
  display: block;
  font-family: var(--mono); font-weight: 500;
  font-size: 0.7rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--graph-400); margin-bottom: 0.5rem;
}
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--sans); font-size: 1rem;
  color: var(--graph); background: var(--white);
  border: 1px solid var(--champ-700); padding: 0.85em 1em;
  border-radius: 0;
  transition: border-color 160ms var(--ease);
}
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--plum-300); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--plum); outline-offset: 1px;
}

/* --------------------------------------------------- motion */
/* hero line reveal: each line masked, rises in */
.hl { display: block; overflow: hidden; }
.hl > span { display: block; }
/* narrow phones: fixed display lines must wrap naturally */
@media (max-width: 560px) {
  h1 br, .display br { display: none; }
  .display, h1 { font-size: clamp(1.9rem, 8.8vw, 2.4rem); }
  .hl { display: inline; overflow: visible; }
  .hl > span { display: inline; }
}

@media (prefers-reduced-motion: no-preference) {
  @media (min-width: 561px) {
    .hl > span {
      transform: translateY(112%);
      animation: hl-up 0.75s var(--ease) forwards;
    }
    .hl:nth-child(2) > span { animation-delay: 0.09s; }
    .hl:nth-child(3) > span { animation-delay: 0.18s; }
  }
  @keyframes hl-up { to { transform: translateY(0); } }

  /* ------ hero choreography ------ */
  /* 1 · the 70° wipe sweeps across while the lines rise */
  .hero__wipe {
    opacity: 1;
    animation: wipe-sweep 1.25s cubic-bezier(0.6, 0, 0.3, 1) forwards;
  }
  @keyframes wipe-sweep {
    0%   { transform: skewX(var(--slash-skew)) translateX(-140%); opacity: 1; }
    88%  { opacity: 1; }
    100% { transform: skewX(var(--slash-skew)) translateX(340%); opacity: 0; }
  }

  /* 2 · background slashes slide into position */
  .hero__slash { animation: slash-in 1s var(--ease) backwards; }
  .hero__slash--b { animation-delay: 0.12s; }
  @keyframes slash-in {
    from { opacity: 0; transform: skewX(var(--slash-skew)) translateX(22%); }
  }

  /* 3 · kicker: tracking settles from loose to set */
  .hero .lab {
    animation: lab-in 0.9s var(--ease) backwards 0.1s;
  }
  @keyframes lab-in {
    from { opacity: 0; letter-spacing: 0.5em; }
  }

  /* 4 · the word verdict: new → struck → more → struck → right */
  .wcycle .w1, .wcycle .w2 { display: inline-block; }
  .wcycle .w1 { animation: w-exit 0.35s var(--ease) forwards 1.75s; }
  .wcycle .w2 {
    opacity: 0; transform: translateY(58%);
    animation: w-enter 0.35s var(--ease) forwards 1.82s,
               w-exit  0.35s var(--ease) forwards 2.95s;
  }
  .wcycle .w3 {
    opacity: 0; transform: translateY(58%);
    animation: w-enter 0.45s var(--ease) forwards 3.05s;
  }
  .wcycle .w1::after, .wcycle .w2::after {
    content: ""; position: absolute; left: -2%; top: 0.5em;
    height: 0.07em; width: 0; background: var(--moss-700);
    transform: rotate(-3.5deg);
  }
  .wcycle .w1::after { animation: strike-in 0.28s var(--ease) forwards 1.25s; }
  .wcycle .w2::after { animation: strike-in 0.28s var(--ease) forwards 2.42s; }
  @keyframes w-enter { to { opacity: 1; transform: none; } }
  @keyframes w-exit  { to { opacity: 0; transform: translateY(-52%); } }
  @keyframes strike-in { to { width: 104%; } }

  /* 5 · the verdict earns its underline last */
  .uline::after {
    width: 0;
    animation: uline-in 0.55s var(--ease) forwards;
    animation-delay: 3.6s;
  }
  @keyframes uline-in { to { width: 96%; } }

  /* scroll reveal — armed only once site.js has run (html.js) */
  html.js .rv {
    opacity: 0; transform: translateY(20px);
    transition: opacity 0.65s var(--ease), transform 0.65s var(--ease);
    transition-delay: var(--rvd, 0s);
  }
  html.js .rv.in { opacity: 1; transform: none; }

  /* tick markers draw in when their list reveals */
  .rv .ticks li::before { transform: skewX(var(--slash-skew)) scaleY(0); transform-origin: bottom; }
  .rv.in .ticks li::before {
    animation: tick-in 0.45s var(--ease) forwards;
  }
  .rv.in .ticks li:nth-child(2)::before { animation-delay: 0.06s; }
  .rv.in .ticks li:nth-child(3)::before { animation-delay: 0.12s; }
  .rv.in .ticks li:nth-child(4)::before { animation-delay: 0.18s; }
  .rv.in .ticks li:nth-child(5)::before { animation-delay: 0.24s; }
  .rv.in .ticks li:nth-child(6)::before { animation-delay: 0.30s; }
  .rv.in .ticks li:nth-child(7)::before { animation-delay: 0.36s; }
  .rv.in .ticks li:nth-child(8)::before { animation-delay: 0.42s; }
  @keyframes tick-in { to { transform: skewX(var(--slash-skew)) scaleY(1); } }

  /* idle affordance: arrows nudge every few seconds */
  .alink .ar { animation: ar-nudge 3.4s var(--ease) infinite 1.6s; }
  @keyframes ar-nudge {
    0%, 12%, 100% { transform: translateX(0); }
    6% { transform: translateX(5px); }
  }

  /* the umlaut pulse */
  .sig-dots i { animation: dot-pulse 2.8s var(--ease) infinite; }
  .sig-dots i:nth-child(2) { animation-delay: 0.35s; }
  @keyframes dot-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    12%      { transform: scale(1.55); opacity: 0.75; }
    24%      { transform: scale(1); opacity: 1; }
  }
}
@media (prefers-reduced-motion: reduce) {
  .mq__track { animation: none; }
  html { scroll-behavior: auto; }
}

@media print {
  .site-head, .site-foot, .btn, .hero__slash, .hero__wipe, .hero__mark,
  .mq, .tmq, .scorebar, .ghost-no { display: none; }
  body { background: #fff; }
  .rv { opacity: 1 !important; transform: none !important; }
  .f-plum, .f-moss, .f-plum *, .f-moss * {
    color: #242424 !important; background: none !important;
    border-color: #999 !important;
  }
  .cut, .cut--r { clip-path: none; margin-top: 0; }
}


/* --------------------------------------- per-page signatures */
/* The Standard: poster-scale index numerals */
.pg-eleven-surfaces .entry__no {
  font-size: clamp(3.2rem, 6vw, 5.4rem);
  color: var(--plum-100); margin-top: -0.1em;
}
.pg-eleven-surfaces .entry { grid-template-columns: 150px minmax(0, 1fr); }
@media (max-width: 640px) {
  .pg-eleven-surfaces .entry { grid-template-columns: 1fr; }
  .pg-eleven-surfaces .entry__no { font-size: 2.6rem; }
}
/* Services: the worked example becomes a noded timeline */
.case { border-left: 2px solid var(--champ-700); padding-left: 2rem; margin-left: 0.3rem; }
.case:last-of-type { border-bottom: none; }
.case__tag { position: relative; }
.case__tag::before {
  content: ""; position: absolute; left: calc(-2rem - 7px); top: 0.55rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--moss); border: 2px solid var(--champ-300);
}


/* ------------------------------------------------- the team */
.team-grid {
  display: grid; gap: 1.4rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
@media (max-width: 980px) { .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .team-grid { grid-template-columns: 1fr; } }
.tcard {
  background: var(--white); border: 1px solid var(--champ-700);
  transition: transform 220ms var(--ease), box-shadow 220ms var(--ease);
  display: flex; flex-direction: column;
}
.tcard:hover { transform: translateY(-4px); box-shadow: 0 14px 34px rgba(46, 28, 41, 0.10); }
.tcard img { width: 100%; aspect-ratio: 1; display: block; border-bottom: 1px solid var(--champ-700); }
.tcard__body { padding: 1.4rem 1.5rem 1.5rem; display: flex; flex-direction: column; flex: 1; }
.tcard h3 { font-size: 1.3rem; }
.tcard .role { display: block; margin: 0.35rem 0 0.75rem; }
.tcard p { font-size: 0.92rem; color: var(--graph-700); }
.tcard .owns {
  margin-top: auto; padding-top: 1rem;
  font-family: var(--mono); font-size: 0.64rem; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--moss-700);
}
.founder-row {
  display: grid; gap: 2.5rem var(--gutter);
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  align-items: center;
}
@media (max-width: 860px) { .founder-row { grid-template-columns: 1fr; } }
.founder-row img { width: 100%; max-width: 340px; border: 1px solid var(--champ-700); }
