@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-italic-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: italic;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-italic-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-normal-latin-ext.woff2) format("woff2");
  unicode-range:
    U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304,
    U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB,
    U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(/assets/fonts/open-sans-normal-latin.woff2) format("woff2");
  unicode-range:
    U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212,
    U+2215, U+FEFF, U+FFFD;
}

/* Shared palette, foundation, and compatibility aliases for migrated tools. */
:root {
  color-scheme: dark;
  --bg: #0c1009;
  --ink: #f4f5ec;
  --muted: #b4bca7;
  --accent: #95bf47;
  --line: #374229;
  --button: #95bf47;
  --surface: #191b19;
  --tile: #354226;
  --deep: #1a2313;
  --star: #e7edce;
  --button-ink: #101807;
  --button-hover: #aed464;
  --button-pressed: #85ad3e;
  --tile-border: #839d5166;
  --strong-border: #627d3d;
  --glow-shadow: rgba(127, 160, 66, 0.12);
  --light: rgba(127, 160, 66, 0.19);
  --light-dim: rgba(127, 160, 66, 0.07);
  --orbit: #95bf4720;
  --edge: #95bf4729;
  --color-bg: var(--bg);
  --color-bg-card: var(--surface);
  --color-bg-card-hover: #22281e;
  --color-text: var(--ink);
  --color-text-body: var(--ink);
  --color-text-secondary: var(--muted);
  --color-text-muted: var(--muted);
  --color-green: var(--accent);
  --color-green-bright: #aed464;
  --color-green-glow: var(--glow-shadow);
  --color-green-dim: #95bf4714;
  --color-cyan: var(--accent);
  --color-cyan-dim: #95bf4714;
  --color-cyan-glow: var(--glow-shadow);
  --color-teal: var(--accent);
  --color-amber: #e2b764;
  --color-amber-dim: #e2b76414;
  --color-border: #ffffff1a;
  --font-display: var(--font);
  --font-mono: ui-monospace, SFMono-Regular, Consolas, monospace;
  --fw-regular: 400;
  --fw-semibold: 600;
  --fw-bold: 600;
  --fw-extrabold: 600;
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --container-max: 1100px;
  --container-padding: 20px;
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-padding-top: 24px;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  isolation: isolate;
  -webkit-font-smoothing: antialiased;
}
h1,
h2,
h3,
h4,
p {
  margin: 0;
}
h1,
h2,
h3,
h4 {
  overflow-wrap: break-word;
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
a,
button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}
[hidden] {
  display: none;
}
::selection {
  background: var(--accent);
  color: var(--bg);
}
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 5px;
}
.skip {
  position: fixed;
  left: 20px;
  top: -100px;
  z-index: 200;
  background: var(--accent);
  color: var(--bg);
  padding: 12px;
}
.skip:focus {
  top: 12px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.space {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  overflow: hidden;
  background-image: url("/assets/site/stars.svg");
  background-size: 1440px 1000px;
}
.space__light {
  position: absolute;
  top: -100px;
  right: -400px;
  width: 1050px;
  height: 1000px;
  background: radial-gradient(
    ellipse,
    var(--light),
    var(--light-dim) 42%,
    transparent 68%
  );
  opacity: 0.55;
}
.header,
.hero,
.site-footer {
  width: min(1250px, calc(100% - 40px));
  margin-inline: auto;
}
.container {
  width: min(var(--container-max), 100%);
  margin-inline: auto;
}
main {
  flex: 1;
  min-width: 0;
}
.content-page {
  width: min(1100px, calc(100% - 40px));
  margin-inline: auto;
  padding-block: 56px 80px;
}
.header {
  min-height: 84px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  padding-block: 12px 4px;
}
.brand {
  display: flex;
  align-items: center;
  min-height: 44px;
  flex-shrink: 0;
}
.brand__image {
  width: 160px;
  height: auto;
}
.header nav {
  display: flex;
  align-items: center;
  width: 100%;
  justify-content: space-between;
  gap: 16px;
}
.header nav a {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  gap: 13px;
}
.header nav a:hover,
.header nav [aria-current] {
  color: var(--accent);
}
.header .nav-call {
  padding-inline: 13px;
  border: 1px solid #95bf4759;
  border-radius: 7px;
  background: #95bf470f;
  color: var(--ink);
}
.header .nav-call:hover {
  background: #95bf471f;
  border-color: #95bf4780;
}
.nav-call svg {
  width: 17px;
  height: 17px;
  color: var(--accent);
}
.site-footer {
  margin-top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 4px 28px;
  padding-block: 14px;
  border-top: 1px solid #ffffff17;
  color: #a4aaa0;
}
.site-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0 22px;
}
.site-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.site-footer a:hover {
  color: var(--ink);
}
.hero-screen {
  display: flex;
  flex-direction: column;
  min-height: 100svh;
}
@media (min-width: 480px) {
  .header {
    flex-wrap: nowrap;
    padding-block: 0;
  }
  .header nav {
    width: auto;
    gap: 22px;
  }
}
@media (min-width: 650px) {
  :root {
    --container-padding: 40px;
  }
  .header,
  .hero,
  .site-footer {
    width: min(1250px, calc(100% - 80px));
  }
  .header {
    min-height: 100px;
  }
  .brand__image {
    width: 215px;
  }
  .header nav {
    gap: 28px;
  }
  .header .nav-call {
    padding-inline: 16px;
  }
  .content-page {
    width: min(1100px, calc(100% - 80px));
    padding-block: 80px 100px;
  }
}
@media (min-width: 1100px) {
  .header {
    margin-top: 14px;
    min-height: 86px;
  }
  .brand__image {
    width: 240px;
  }
  .header nav {
    gap: 36px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .tool {
    animation: none;
  }
}

/* Reusable actions, fields, cards, and notices. */
.button,
.btn,
.guide-optin__submit,
.lp-card__cta,
.cert-actions__btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  min-height: 52px;
  padding: 15px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  background: var(--accent);
  color: var(--button-ink);
  font-size: var(--type-ui);
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  transition:
    background 0.18s,
    box-shadow 0.18s;
}
.button:hover,
.btn:hover,
.guide-optin__submit:hover,
.lp-card__cta:hover {
  background: var(--button-hover);
  box-shadow: 0 6px 30px var(--glow-shadow);
}
.button svg {
  width: 20px;
  height: 20px;
}
.btn--secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.results-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 44px;
  color: var(--ink);
}
.results-link svg {
  width: 16px;
  height: 16px;
  color: var(--muted);
}
.results-link:hover {
  color: var(--accent);
}
.form {
  display: grid;
  gap: 20px;
}
.form__group {
  min-width: 0;
}
.form__label {
  display: block;
  margin-bottom: 8px;
  font-size: var(--type-small);
  font-weight: 600;
}
.form__optional {
  color: var(--muted);
  font-weight: 400;
}
input:not([type="hidden"]):not([type="range"]):not([type="checkbox"]):not(
    [type="radio"]
  ),
textarea,
select {
  width: 100%;
  min-height: 48px;
  padding: 12px 14px;
  border: 1px solid #58624f;
  border-radius: 7px;
  background: var(--bg);
  color: var(--ink);
  font-size: max(1rem, var(--type-body));
  line-height: 1.5;
}
textarea {
  resize: vertical;
}
input::placeholder,
textarea::placeholder {
  color: #a3ad98;
}
label {
  cursor: pointer;
}
.form__hint,
.form__note {
  font-size: var(--type-small);
  color: var(--muted);
}
input[type="checkbox"],
input[type="radio"],
input[type="range"] {
  accent-color: var(--accent);
}
.notice,
.content-cta {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--surface);
}
.content-cta {
  margin-top: 48px;
}
.content-cta p {
  margin-block: 16px 24px;
}
.eyebrow {
  font-size: var(--type-caption);
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
@media (min-width: 1100px) {
  .button,
  .btn {
    padding: 17px 26px;
    gap: 30px;
  }
}

/* Olive reviews wall. Shared site styles supply navigation, type, and footer. */
.reviews-page {
  --bg2: #171d12;
  --ink2: #b4bca7;
  --mute: #909a85;
  --green: var(--accent);
  --sans: var(--font);
  --mono: ui-monospace, SFMono-Regular, monospace;
  -webkit-font-smoothing: antialiased;
}
.reviews-page .space {
  position: fixed;
}
.reviews-page .space__light {
  top: -260px;
  right: -320px;
  opacity: 0.6;
}
.reviews-page .header {
  position: relative;
  z-index: 2;
}
.reviews-page .header nav [aria-current="page"] {
  color: var(--accent);
}
.reviews-main {
  width: min(1250px, calc(100% - 40px));
  margin-inline: auto;
}
.head {
  text-align: center;
  padding: 65px 0 55px;
}
.reviews-eyebrow {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  color: var(--muted);
}
.head h1 {
  color: #fff;
  margin: 0;
  font-size: clamp(42px, 6.4vw, 84px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.05em;
  text-wrap: balance;
}
.head__description {
  margin-top: 24px;
  font-size: 17px;
  color: var(--ink);
}
.head__total {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}
.head__total span {
  color: var(--ink);
}
.stage {
  position: relative;
}
.rail {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  min-height: 74px;
  margin-bottom: 24px;
  padding: 15px 0;
  background: rgba(12, 16, 9, 0.94);
  backdrop-filter: blur(14px);
  border-block: 1px solid #ffffff15;
}
.rail__progress {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 11px;
  color: var(--muted);
}
.count {
  font-size: 23px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.04em;
}
.label {
  display: none;
  color: var(--mute);
  font-size: 11px;
}
.wall-sortwrap {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  min-width: 0;
  align-items: center;
  flex-shrink: 0;
  gap: 8px;
}
.wall-sort__label {
  font-size: var(--type-small);
  color: var(--muted);
  white-space: nowrap;
}
.wall-sort {
  display: inline-flex;
  flex-wrap: wrap;
  max-width: 100%;
  flex-shrink: 0;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg);
}
.wall-sort__btn {
  min-height: 34px;
  padding: 5px 14px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font: inherit;
  font-size: var(--type-small);
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}
.wall-sort__btn[aria-pressed="true"] {
  background: var(--accent);
  color: var(--button-ink);
  font-weight: 600;
}
.wall-sort__btn[aria-pressed="false"]:hover {
  color: var(--ink);
}
.grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 22px 14px;
  align-items: stretch;
}
.t {
  min-width: 0;
  cursor: pointer;
  scroll-margin-top: 100px;
  padding: 9px 9px 16px;
  background: #161c13;
  border: 1px solid #ffffff12;
  border-radius: 12px;
  transition:
    border-color 0.2s,
    background 0.2s;
}
.t .im {
  position: relative;
  aspect-ratio: 4/3;
  border: 1px solid #ffffff0d;
  border-radius: 7px;
  overflow: hidden;
  background: #22281e;
}
.t img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: left top;
  display: block;
  transition: transform 0.25s;
}
.t:hover {
  background: #1c2417;
  border-color: #95bf4759;
}
.t:hover img {
  transform: scale(1.025);
}
.t h3 {
  display: block;
  margin: 14px 4px 0;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-wrap: pretty;
}
.t > span {
  display: block;
  margin: 7px 4px 0;
  font-size: 11px;
  line-height: 1.5;
  color: var(--muted);
}
.t:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.t.v .im::after {
  content: "▶";
  position: absolute;
  left: 10px;
  bottom: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  padding-left: 2px;
  font-size: 11px;
  color: #fff;
  background: #0c1009c9;
  border: 1px solid #ffffff5c;
  backdrop-filter: blur(4px);
}
.t.top-win {
  border-color: #ab8c4d77;
  background: #201f14;
}
.t.top-win .im {
  border-color: #b8964e99;
}
.t.top-win h3 {
  color: #ecd49c;
}
.t.top-win:hover {
  border-color: #d1b16c;
  box-shadow: 0 4px 24px #ac852010;
}
/* Wall already sorted by Top wins → the win highlight is redundant noise.
   Render those cards in the default style and hide the badge. */
.grid.sort-top .t.top-win {
  background: #161c13;
  border: 1px solid #ffffff12;
  box-shadow: none;
}
.grid.sort-top .t.top-win:hover {
  background: #1c2417;
  border-color: #95bf4759;
  box-shadow: none;
}
.grid.sort-top .t.top-win h3 {
  color: var(--ink);
}
.grid.sort-top .t.top-win .im {
  border-color: #ffffff0d;
}
.grid.sort-top .t .top-win-badge {
  display: none;
}
.top-win-badge,
.t .top-win-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 6px 8px;
  border: 1px solid #e2b76470;
  border-radius: 5px;
  background: #211c12f0;
  color: #f2d596;
  font: 600 10px/1 var(--font);
  white-space: nowrap;
}
.top-win-badge svg {
  width: 11px;
  height: 11px;
  fill: currentColor;
  stroke: none;
  flex: none;
}
.t .top-win-badge {
  position: absolute;
  top: 7px;
  left: 7px;
}
.end {
  margin: 36px 0 0;
  text-align: center;
  font-size: 12px;
  color: var(--muted);
}
.reviews-cta {
  margin: 72px auto 88px;
  padding: 60px 28px 64px;
  text-align: center;
  max-width: 720px;
  border: 1px solid #ffffff14;
  border-radius: 22px;
  background:
    radial-gradient(130% 150% at 50% 0%, rgba(149, 191, 71, 0.1), transparent 62%),
    var(--surface);
}
.reviews-cta .reviews-eyebrow {
  color: var(--accent);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.reviews-cta h2 {
  margin: 16px 0 20px;
  font-size: var(--type-section);
  font-weight: 600;
  line-height: var(--leading-title);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.reviews-cta > p:not(.reviews-eyebrow) {
  margin: 0 auto;
  max-width: 48ch;
  font-size: 16px;
  line-height: 1.8;
  color: var(--muted);
}
.reviews-cta > p:not(.reviews-eyebrow) + p:not(.reviews-eyebrow) {
  margin-top: 14px;
}
.reviews-cta .button {
  margin-top: 32px;
  min-width: 190px;
}
@media (min-width: 380px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .t h3 {
    font-size: 13px;
  }
}
@media (min-width: 650px) {
  .reviews-main {
    width: min(1250px, calc(100% - 80px));
  }
  .head {
    padding: 85px 0 65px;
  }
  .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px 16px;
  }
  .label {
    display: block;
    margin-left: 12px;
  }
  .rail__progress {
    font-size: 12px;
  }
  .t h3 {
    font-size: 14px;
  }
  .reviews-cta {
    padding: 76px 48px 80px;
  }
}
@media (min-width: 1000px) {
  .head__description {
    font-size: 19px;
  }
  .grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
  .head {
    padding: 95px 0 75px;
  }
}
@media (min-width: 1200px) {
  .grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .t,
  .t img {
    transition: none;
  }
}

/* ---------- viewer: readable from the first second ---------- */
.viewer {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(9, 13, 7, 0.98);
  display: none;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: minmax(0, 1fr) 64px;
  backdrop-filter: blur(10px);
}
.viewer.open {
  display: grid;
}
/* the stage scrolls; tall screenshots start at the top at reading width, short ones sit centered */
.v-stage {
  overflow: auto;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 60px 32px 24px;
  overscroll-behavior: contain;
  min-height: 0;
}
.v-stage img {
  margin: auto;
  display: block;
  width: min(100%, 920px);
  height: auto;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
  cursor: zoom-in;
  background: #fff;
}
.v-stage.zoom {
  display: block;
}
.v-stage.zoom img {
  width: min(1500px, var(--image-width, 1500px));
  max-width: none;
  margin: 0 auto;
  cursor: zoom-out;
}
.v-stage img.small {
  width: auto;
  max-width: 100%;
}
.v-stage video {
  margin: auto;
  display: block;
  max-width: 100%;
  max-height: calc(100dvh - 160px);
  border-radius: 10px;
  background: #000;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}
.v-controls {
  grid-column: 1;
  grid-row: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 8px 20px;
  border-top: 1px solid var(--line);
  background: var(--bg);
}
.v-controls button {
  border: 1px solid var(--line);
  background: var(--bg2);
  color: var(--ink);
  border-radius: 8px;
  padding: 10px 16px;
  font: 500 13px var(--font);
  cursor: pointer;
  min-height: 44px;
}
.v-controls button:hover {
  border-color: var(--accent);
}
.v-controls span {
  font: 400 11px var(--mono);
  color: var(--ink2);
  min-width: 70px;
  text-align: center;
}
.viewer :focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.v-close {
  position: absolute;
  top: 14px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.v-close:hover {
  background: var(--accent);
  color: #07090f;
}

/* mobile */
@media (max-width: 900px) {
  .viewer {
    grid-template-columns: 1fr;
    grid-template-rows: minmax(0, 1fr) 64px;
  }
  .v-stage {
    padding: 60px 12px 16px;
  }
  .v-controls {
    grid-row: 2;
    gap: 12px;
    padding: 8px 12px;
  }
  .v-close {
    background: var(--bg2);
  }
}
@media (prefers-reduced-motion: reduce) {
  .t .im,
  .t img {
    transition: none;
  }
}

/* Fullscreen editorial controls appear only with ?tag=1. */
.viewer.tagging {
  grid-template-rows: minmax(0, 1fr) 116px;
}
.tagging .v-controls {
  flex-wrap: wrap;
  gap: 8px 24px;
  align-content: center;
}
.tag-tools {
  flex-basis: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}
.tag-tools #tagWin {
  border-color: #b8964e;
  color: #f2d596;
  min-width: 170px;
}
.tag-tools #tagWin[aria-pressed="true"] {
  background: #f2d596;
  color: #211c12;
}
.tag-tools #tagWin:disabled {
  opacity: 0.55;
  cursor: wait;
}
.tag-tools #tagStatus {
  font: 400 11px/1.4 var(--font);
  min-width: 0;
  text-align: left;
  max-width: 180px;
}
@media (max-width: 900px) {
  .viewer.tagging {
    grid-template-rows: minmax(0, 1fr) 116px;
  }
  .tagging .v-controls {
    gap: 8px 12px;
  }
  .tag-tools {
    gap: 10px;
  }
}

/* Wide Trustpilot captures are cropped flush to their text; add a white inset. */
.t img.wide-review {
  padding: 6px;
  background: #fff;
}
.v-stage img.wide-review {
  padding: 16px;
  border: 1px solid #dedee3;
}
@media (max-width: 720px) {
  .v-stage img.wide-review {
    padding: 12px;
  }
}

/* Main archive: larger outcome-first cards. Comparison pages retain their layouts. */
.reviews-large-cards .grid {
  grid-template-columns: minmax(0, 1fr);
  gap: 22px;
}
.reviews-large-cards .t {
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #151b12;
}
.reviews-large-cards .t > h3 {
  margin: 0;
  padding: 21px 21px 19px;
  min-height: 94px;
  font-size: 21px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.03em;
}
.reviews-large-cards .t .im {
  margin: 0 10px;
  border-radius: 5px;
  aspect-ratio: 4/3;
}
.reviews-large-cards .t > span {
  margin: 0;
  padding: 14px 21px 18px;
  font-size: 11px;
  line-height: 1.5;
}
.reviews-large-cards .t.top-win {
  background: #1c1e13;
}
@media (min-width: 650px) {
  .reviews-large-cards .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 20px;
  }
}
@media (min-width: 1100px) {
  .reviews-large-cards .grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .reviews-large-cards .t > h3 {
    font-size: 22px;
    min-height: 98px;
  }
}

/* "A note from Jan" letter-card intro: portrait + headline, then the note. */
.reviews-intro {
  width: min(760px, 100%);
  margin-inline: auto;
  padding: 44px 0 52px;
}
.reviews-letter__card {
  padding: clamp(28px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 18px;
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(149, 191, 71, 0.08), transparent 60%),
    var(--surface);
  box-shadow: 0 40px 90px -55px rgba(0, 0, 0, 0.9);
}
.reviews-letter__head {
  display: flex;
  align-items: center;
  gap: 22px;
  margin-bottom: 26px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.reviews-letter__avatar {
  flex-shrink: 0;
  width: 132px;
  height: 132px;
  border-radius: 50%;
  border: 1px solid var(--line);
  overflow: hidden;
  background: var(--bg);
}
.reviews-note__avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  transform: scale(1.05);
  transform-origin: 50% 28%;
}
.reviews-intro h1 {
  margin: 0;
  color: var(--ink);
  font-size: var(--type-section);
  font-weight: 600;
  line-height: var(--leading-title);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
.reviews-note__body {
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
  text-wrap: pretty;
}
.reviews-note__body p + p {
  margin-top: 18px;
}
.reviews-note__body ul {
  margin: 12px 0 0;
  padding-left: 22px;
  display: grid;
  gap: 8px;
}
.reviews-note__body li {
  padding-left: 4px;
}
.reviews-note__body li::marker {
  color: var(--accent);
}
.reviews-note__body ul + p {
  margin-top: 18px;
}
.reviews-note__body mark {
  padding: 0 5px;
  border-radius: 4px;
  background: rgba(149, 191, 71, 0.16);
  color: var(--accent);
  font-weight: 600;
}
.reviews-note__body strong {
  font-weight: 600;
  color: var(--ink);
}
.reviews-note__sign {
  margin: 24px 0 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--ink);
}
.reviews-with-intro .head {
  scroll-margin-top: 30px;
}
.reviews-with-intro .head h2 {
  color: #fff;
  margin: 0;
  font-size: var(--type-section);
  font-weight: 600;
  line-height: var(--leading-title);
  letter-spacing: -0.03em;
  text-wrap: balance;
}
@media (max-width: 560px) {
  .reviews-letter__head {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
  .reviews-letter__avatar {
    margin: 0 auto;
  }
  .reviews-note__body br {
    display: none;
  }
}

/* Approved #6: same surface, crisp green edge and a restrained halo. */
.reviews-hybrid .t {
  position: relative;
}
.reviews-hybrid .t > h3 {
  padding-top: 40px;
}
.reviews-hybrid .t.top-win,
.reviews-hybrid .t.top-win:hover {
  background: #151b12;
  border: 1px solid #a6ce64;
  box-shadow: 0 0 20px rgba(149, 191, 71, 0.12);
}
.reviews-hybrid .t.top-win h3 {
  color: var(--ink);
}
.reviews-hybrid .t.top-win .im {
  border-color: #ffffff0d;
}
.reviews-hybrid .t .top-win-badge {
  position: absolute;
  top: 10px;
  right: 12px;
  left: auto;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  margin: 0;
  padding: 5px 8px;
  border: 1px solid #95bf4766;
  border-radius: 999px;
  background: #1a2513f5;
  color: #bddd8b;
  font: 600 9px/1 var(--font);
  letter-spacing: 0.015em;
}
.reviews-hybrid .top-win-badge svg {
  width: 9px;
  height: 9px;
}
/* Native modal: browser-managed focus containment and Escape handling. */
.viewer {
  margin: 0;
  width: 100%;
  max-width: none;
  height: 100dvh;
  max-height: none;
  padding: 0;
  border: 0;
  color: var(--ink);
}
.viewer[open] {
  display: grid;
}
.viewer::backdrop {
  background: #090d07fa;
}
.dialog-open {
  overflow: hidden;
}
.review-dialog__title {
  position: absolute;
  top: 18px;
  left: 24px;
  right: 84px;
  font-size: var(--type-small);
  line-height: 1.4;
  font-weight: 600;
}
.v-controls button:disabled {
  opacity: 0.4;
  cursor: default;
}
.t h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.t {
  position: relative;
}
.t:has(a:focus-visible) {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.t h3 a:focus-visible {
  outline: 0;
}
.v-stage.zoom img {
  width: min(1500px, 150vw);
}

/*
 * Approved site typography. Load after component/layout CSS.
 * This file owns the shared type scale and approved Home, About, and Results roles.
 * New components should reuse a role below or its --type-* token, never add a one-off size.
 */

:root {
  --font: "Open Sans", Arial, sans-serif;
  /* Fluid sizes respect the reader's base font size; ranges assume 16px. */
  --type-page: clamp(2.25rem, 1.75rem + 2.5vw, 3.5rem); /* 36–56px */
  --type-section: clamp(1.75rem, 1.375rem + 1.5vw, 2.5rem); /* 28–40px */
  --type-subheading: clamp(1.375rem, 1.25rem + 0.75vw, 1.75rem); /* 22–28px */
  --type-card: 1.25rem; /* 20px */
  --type-body: clamp(1rem, 0.95rem + 0.25vw, 1.125rem); /* 16–18px */
  --type-ui: clamp(0.875rem, 0.825rem + 0.25vw, 1rem); /* 14–16px */
  --type-small: 0.875rem; /* 14px */
  --type-caption: 0.75rem; /* 12px */

  --leading-title: 1.2;
  --leading-subheading: 1.35;
  --leading-body: 1.75;
  --leading-ui: 1.5;
  --weight-body: 400;
  --weight-heading: 600;
  --tracking-heading: -0.012em;
}

body {
  font-family: var(--font);
  font-size: var(--type-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
}

/* Heading levels describe structure. Role classes let new components reuse the scale. */
.type-page-title,
.about-intro h1,
.reviews-intro__heading h1,
.head h1 {
  font-size: var(--type-page);
  line-height: var(--leading-title);
}
.type-section-title,
.about h2,
.reviews-with-intro .head h2,
.reviews-cta h2 {
  font-size: var(--type-section);
  line-height: var(--leading-title);
}
.type-subheading,
.story-chapter h3,
.timeline-years .story-chapter h3,
.story-year,
.booking h2 {
  font-size: var(--type-subheading);
  line-height: var(--leading-subheading);
}
.type-card-title,
.story-invitation h3,
.reviews-page .t h3,
.reviews-large-cards .t > h3 {
  font-size: var(--type-card);
  line-height: var(--leading-subheading);
}
.type-page-title,
.type-section-title,
.type-subheading,
.type-card-title,
.about-intro h1,
.about h2,
.about .section-heading__question,
.story-chapter h3,
.story-year,
.story-invitation h3,
.reviews-intro__heading h1,
.head h1,
.reviews-with-intro .head h2,
.reviews-cta h2,
.reviews-page .t h3,
.reviews-large-cards .t > h3,
.booking h2 {
  font-weight: var(--weight-heading);
  letter-spacing: var(--tracking-heading);
  word-spacing: normal;
  text-wrap: balance;
}
.reviews-page .t h3 {
  text-wrap: pretty;
}

/* All reading text shares one size and rhythm, including quotes and closing CTAs. */
.type-body,
.section-heading__description,
.about-page .member-quote blockquote,
.story-chapter__copy > p:not(.story-chapter__era),
.story-invitation p,
.purpose__copy,
.reviews-intro__heading p,
.reviews-intro__copy,
.head__description,
.reviews-cta > p:not(.reviews-eyebrow),
.booking > p {
  font-size: var(--type-body);
  font-weight: var(--weight-body);
  line-height: var(--leading-body);
  letter-spacing: normal;
  word-spacing: normal;
}

/* Names, attribution, dates, and supporting notes sit one step below body copy. */
.type-small,
.about-page .member-quote figcaption,
.head__total,
.reviews-page .t > span,
.story-date-note,
.quote-placeholder-note,
.booking__notice {
  font-size: var(--type-small);
  line-height: var(--leading-ui);
  letter-spacing: normal;
}

/* UI is consistent between pages and independent of the hero display size. */
.type-ui,
.header nav a,
.button,
.results-link,
.about-results,
.story-invitation a,
.v-controls button {
  font-size: var(--type-ui);
  font-weight: var(--weight-heading);
  line-height: var(--leading-ui);
  letter-spacing: normal;
}
.header nav a {
  font-weight: 500;
}

/* Captions and compact controls: never shrink ordinary reading text to this role. */
.type-caption,
.site-footer,
.eyebrow,
.reviews-eyebrow,
.story-chapter__era,
.story-photo figcaption,
.transformation-photo figcaption,
.freemote-photo figcaption,
.mission-photo figcaption,
.rail__progress,
.wall-order,
.label,
.end,
.v-controls span,
.tag-tools #tagStatus,
.top-win-badge,
.reviews-page .t .top-win-badge {
  font-family: var(--font);
  font-size: var(--type-caption);
  line-height: var(--leading-ui);
}
.count {
  font-size: var(--type-card);
  font-weight: var(--weight-heading);
  line-height: var(--leading-title);
  letter-spacing: var(--tracking-heading);
}

/* The homepage display and illustrative artwork are deliberate exceptions. */
.hero h1 {
  font-size: clamp(28px, 7.2vw, 56px);
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -0.012em;
  word-spacing: 0.035em;
}
.hero h1 .hero__role {
  word-spacing: inherit;
}
.project-card__heading,
.project-card .project-card__amount,
.code-card__file,
.code-card code {
  font-family: var(--font);
}
.keep-word {
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (min-width: 650px) {
  .hero h1 {
    font-size: clamp(27px, 3.95vw, 56px);
  }
}
@media (min-width: 1000px) {
  .about-intro {
    max-width: 1100px;
  }
  /* Preserve the intended two-line quote, but allow wrapping when text is enlarged. */
  .about-intro__line {
    display: block;
  }
}
@media (min-width: 1100px) {
  .hero h1 {
    font-size: clamp(44px, 4vw, 58px);
    max-width: 640px;
  }
}
