/* BrailleGo! – Hunt Robotics
   Palette: white, Hunt purple, Hunt red, black. */
:root {
  --purple: #1A0033;      /* Hunt Robotics chip */
  --purple-2: #2A1145;    /* raised surface on purple */
  --red: #FF2700;         /* Hunt Robotics letters */
  --red-deep: #DB2000;    /* red behind white text */
  --red-text: #C42000;    /* red text on white */
  --black: #0A0A0A;
  --white: #FFFFFF;
  --grey-50: #F6F6F7;     /* section background */
  --grey-100: #ECECEE;
  --line: #E3E3E6;
  --ink: #0A0A0A;
  --muted: #55555C;
  --on-dark: #FFFFFF;
  --on-dark-muted: #C9C2D4;

  --font: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, sans-serif;
  --wrap: 74rem;
  --gutter: clamp(1.15rem, 4vw, 2.5rem);
  --radius: 14px;
  --shadow: 0 1px 2px rgba(10,10,10,.05), 0 10px 30px -14px rgba(26,0,51,.22);
  --shadow-lg: 0 30px 60px -28px rgba(0,0,0,.6);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 5.5rem; }

body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font);
  font-size: 1.125rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
svg { display: block; }
a { color: var(--red-text); text-underline-offset: .22em; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3 { margin: 0 0 .75rem; line-height: 1.1; letter-spacing: -.02em; color: inherit; }
h2 { font-size: clamp(1.9rem, 4vw, 2.75rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em; }
p { margin: 0 0 1rem; max-width: 64ch; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }

.skip { position: absolute; left: -999px; top: 0; }
.skip:focus { left: 1rem; top: 1rem; z-index: 100; padding: .6rem 1rem; background: var(--red-deep); color: #fff; border-radius: 8px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Shared icon tile */
.step-icon, .case-icon {
  display: grid; place-items: center; flex: none;
  width: 2.75rem; height: 2.75rem; border-radius: 10px;
  background: var(--grey-50); border: 1px solid var(--line);
}
.step-icon svg, .case-icon svg {
  width: 1.4rem; height: 1.4rem; fill: none; stroke: var(--purple);
  stroke-width: 2; stroke-linecap: round; stroke-linejoin: round;
}

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 4.5rem; }
.brand { display: flex; align-items: center; gap: .9rem; color: var(--purple); text-decoration: none; }
.brand-logo { height: 104px; width: auto; margin: .35rem 0; transition: height .25s ease, margin .25s ease; }
.nav.scrolled .brand-logo { height: 52px; margin: 0; }
@media (prefers-reduced-motion: reduce) { .brand-logo { transition: none; } }
.brand-name { font-weight: 800; font-size: 1.2rem; padding-left: .9rem; border-left: 1px solid var(--line); }
/* Main menu with drop-downs */
.main-nav { display: flex; align-items: center; gap: .4rem; }
.menu { display: flex; align-items: center; gap: .15rem; list-style: none; margin: 0; padding: 0; }
.dd { position: relative; }
.dd-btn {
  display: flex; align-items: center; gap: .3rem;
  font: inherit; font-size: .98rem; font-weight: 600; color: var(--ink);
  background: none; border: 0; cursor: pointer;
  padding: .55rem .8rem; border-radius: 8px;
}
.dd-btn:hover, .dd.open .dd-btn { color: var(--red-text); background: var(--grey-50); }
.dd-btn.is-current { color: var(--red-text); }
.chev { width: 1rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s ease; }
.dd.open .chev { transform: rotate(180deg); }
.dd-list {
  position: absolute; top: calc(100% + .35rem); left: 0; min-width: 15rem;
  list-style: none; margin: 0; padding: .4rem;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  box-shadow: 0 18px 40px -18px rgba(26,0,51,.35);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .15s ease, transform .15s ease, visibility 0s linear .15s;
}
.dd-list::before { content: ""; position: absolute; left: 0; right: 0; top: -.5rem; height: .5rem; }
.dd.open .dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease; }
@media (hover: hover) and (min-width: 861px) {
  .dd:hover .dd-list { opacity: 1; visibility: visible; transform: none; transition: opacity .15s ease, transform .15s ease; }
  .dd:hover .chev { transform: rotate(180deg); }
}
.dd-list a {
  display: block; padding: .55rem .75rem; border-radius: 8px;
  color: var(--ink); text-decoration: none; font-size: .98rem; font-weight: 500; white-space: nowrap;
}
.dd-list a:hover, .dd-list a:focus-visible { background: var(--grey-50); color: var(--red-text); }
.dd-list a[aria-current="page"] { color: var(--red-text); font-weight: 700; }
.nav a.nav-cta { display: inline-block; background: var(--red-deep); color: #fff; font-weight: 700; margin-left: .4rem; padding: .6rem 1.1rem; border-radius: 999px; text-decoration: none; font-size: .98rem; white-space: nowrap; }
.nav a.nav-cta:hover { background: var(--purple); color: #fff; }

.menu-toggle {
  display: none; align-items: center; gap: .5rem;
  font: inherit; font-weight: 700; font-size: .95rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 999px;
  padding: .5rem .9rem; cursor: pointer;
}
.menu-icon, .menu-icon::before, .menu-icon::after {
  display: block; width: 1.1rem; height: 2px; background: var(--ink); border-radius: 2px;
  transition: transform .2s ease, background-color .2s ease;
}
.menu-icon { position: relative; }
.menu-icon::before, .menu-icon::after { content: ""; position: absolute; left: 0; }
.menu-icon::before { top: -6px; }
.menu-icon::after { top: 6px; }
.nav.menu-open .menu-icon { background: transparent; }
.nav.menu-open .menu-icon::before { transform: translateY(6px) rotate(45deg); }
.nav.menu-open .menu-icon::after { transform: translateY(-6px) rotate(-45deg); }

/* Phones and small tablets: one menu button opens all the groups */
@media (max-width: 860px) {
  .menu-toggle { display: inline-flex; }
  .menu-panel {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(26,0,51,.35);
    max-height: calc(100vh - 100%); overflow-y: auto;
    display: none;
  }
  .nav.menu-open .menu-panel { display: block; }
  .menu { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; padding: 1rem var(--gutter) 1.25rem; max-width: var(--wrap); margin: 0 auto; align-items: start; }
  .dd-btn { padding: .3rem .75rem; font-size: .85rem; font-weight: 700; color: var(--red-text); pointer-events: none; background: none !important; }
  .chev { display: none; }
  .dd-list { position: static; opacity: 1; visibility: visible; transform: none; border: 0; box-shadow: none; padding: 0; min-width: 0; transition: none; }
  .dd-list::before { display: none; }
  .dd-list a { white-space: normal; padding: .5rem .75rem; }
}
@media (max-width: 640px) { .menu { grid-template-columns: 1fr; gap: .5rem; } }
@media (max-width: 420px) {
  .brand-logo { height: 76px; } .nav.scrolled .brand-logo { height: 42px; }
  .brand-name { display: none; }
  .nav a.nav-cta { padding: .5rem .85rem; font-size: .9rem; margin-left: 0; }
  .menu-toggle { padding: .5rem .75rem; }
}
@media (prefers-reduced-motion: reduce) { .chev, .dd-list, .menu-icon, .menu-icon::before, .menu-icon::after { transition: none; } }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(52rem 32rem at 95% -5%, rgba(255,39,0,.28), transparent 60%),
    var(--purple);
  color: var(--on-dark);
  padding: clamp(2.25rem, 5vw, 3.75rem) 0 clamp(2.25rem, 4vw, 3.25rem);
}
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.06) 1.4px, transparent 1.8px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(115deg, transparent 35%, #000 80%);
  mask-image: linear-gradient(115deg, transparent 35%, #000 80%);
}
.hero > .wrap { position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2.5rem, 5vw, 4.5rem); align-items: center; }
@media (max-width: 920px) { .hero-grid { grid-template-columns: 1fr; } }

/* Braille strip */
.paper {
  display: inline-block; max-width: 100%;
  background: #fff; border-radius: 8px;
  padding: clamp(.7rem, 1.6vw, .95rem) clamp(.85rem, 2vw, 1.2rem);
  margin-bottom: 1.5rem;
}
.cells {
  display: flex; align-items: center; justify-content: center;
  gap: calc(var(--dot) * 1.15); --dot: min(11px, 1.9vw);
  transition: gap .3s ease .2s;
  height: calc(var(--dot) * 4);
}
/* Each slot holds one Braille cell and the letter it stands for, stacked in the same spot */
.slot {
  display: grid; place-items: center; --step: 55ms;
  grid-template-columns: minmax(0, 1fr);
  width: calc(var(--dot) * 2.5);
  transition: width .3s ease; transition-delay: calc(var(--i) * 30ms);
}
.cells.as-text { gap: 0; }
.cells.as-text .slot { width: var(--lw, calc(var(--dot) * 2.2)); transition-delay: calc(var(--i) * var(--step) + 140ms); }
.cells.as-text .slot.blank { width: 0; }
.slot > * { grid-area: 1 / 1; }
.cell { display: grid; grid-template-columns: repeat(2, var(--dot)); grid-auto-rows: var(--dot); gap: calc(var(--dot) * .5); }
.dot { border-radius: 50%; }
.dot.on { background: var(--purple); }
.dot.off { background: var(--grey-100); }
.letter {
  font-weight: 800; color: var(--purple); line-height: 1;
  font-size: calc(var(--dot) * 3.5);
  opacity: 0; transform: scale(.3);
  transition: opacity .15s ease, transform .15s ease;
  transition-delay: calc(var(--i) * 35ms);
}

/* Braille state: dots emboss column by column */
.js .cells:not(.as-text) .dot.on { animation: press .3s ease-out both; animation-delay: var(--d); }
@keyframes press {
  0%   { transform: scale(0); background: var(--red); }
  70%  { transform: scale(1.15); background: var(--red); }
  100% { transform: scale(1); }
}

/* Text state: each cell shrinks away and its letter pops in, left to right */
.cells.as-text .cell {
  opacity: 0; transform: scale(.3);
  transition: opacity .2s ease, transform .2s ease;
  transition-delay: calc(var(--i) * var(--step));
}
.cells.as-text .letter {
  opacity: 1; transform: none;
  animation: press-text .32s ease-out both;
  animation-delay: calc(var(--i) * var(--step) + 90ms);
}
@keyframes press-text {
  0%   { transform: scale(0); color: var(--red); }
  70%  { transform: scale(1.15); color: var(--red); }
  100% { transform: scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  .js .cells .dot.on, .cells.as-text .letter { animation: none; }
  .cell, .letter, .slot, .cells, .brand-logo { transition: none !important; }
}

.hero h1 { font-size: clamp(3.4rem, 9vw, 6.6rem); font-weight: 800; letter-spacing: -.045em; line-height: .92; color: #fff; margin-bottom: 1rem; }
.tagline {
  display: inline-block; margin-bottom: 1.1rem;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); font-weight: 700; color: #fff;
  padding-bottom: .3rem; border-bottom: 3px solid var(--red);
}
.lede { color: var(--on-dark-muted); font-size: 1.18rem; max-width: 34em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }

.hero-visual { position: relative; }
.hero-photo { border-radius: 16px; overflow: hidden; background: #E9E9EB; box-shadow: var(--shadow-lg); }
.hero-photo img { width: 100%; aspect-ratio: 1400 / 946; object-fit: cover; }
.hero-photo-wrap { position: relative; }
.badge {
  position: absolute; left: -1rem; bottom: -1.75rem;
  display: flex; align-items: center; gap: .9rem;
  background: #fff; color: var(--ink);
  border-radius: 12px; padding: .75rem 1.1rem .75rem .9rem;
  box-shadow: 0 18px 40px -16px rgba(0,0,0,.55);
  max-width: min(26rem, 92%);
}
.badge-logo { height: 32px; width: auto; flex: none; }
.badge strong { display: block; font-size: 1rem; line-height: 1.25; }
.badge span { display: block; font-size: .88rem; color: var(--muted); line-height: 1.35; }
@media (max-width: 920px) { .badge { left: .75rem; } }
@media (max-width: 480px) { .badge { position: static; margin-top: 1rem; max-width: none; } }

.award { margin-top: 2.75rem; }
.award-text p { margin: 0 0 .4rem; font-size: .84rem; font-style: italic; line-height: 1.5; color: var(--on-dark-muted); max-width: none; }
.award-text p:last-child { margin-bottom: 0; }
.award-text a { color: #fff; font-weight: 700; text-decoration-color: var(--red); text-decoration-thickness: 2px; }
.award-text a:hover { color: var(--red); }
@media (max-width: 480px) { .award { margin-top: 1rem; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  white-space: nowrap; text-decoration: none; font-weight: 700;
  padding: .85rem 1.35rem; border-radius: 999px; line-height: 1.2;
  border: 2px solid transparent;
  transition: background-color .15s, border-color .15s, color .15s;
}
.btn-primary { background: var(--red-deep); color: #fff; }
.btn-primary:hover { background: #fff; color: var(--purple); }
.btn-ghost { color: #fff; border-color: rgba(255,255,255,.45); }
.btn-ghost:hover { border-color: #fff; background: rgba(255,255,255,.08); }
.btn-dark { background: #fff; color: var(--purple); }
.btn-dark:hover { background: var(--red-deep); color: #fff; }
.btn-large { font-size: 1.1rem; padding: 1rem 1.6rem; }
@media (max-width: 420px) { .btn { white-space: normal; } }

/* ---------- Headline figures ---------- */
.figures {
  list-style: none; margin: clamp(3rem, 5vw, 3.75rem) 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 1.25rem; align-items: stretch;
}
.fig { border-radius: 16px; padding: 1.25rem 1.6rem 1.35rem; }
.fig-label { display: block; font-size: 1rem; font-weight: 700; opacity: .85; }
.fig strong { display: block; font-size: clamp(2.8rem, 6.5vw, 4.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin: .25rem 0 .4rem; }
.fig-note { display: block; font-size: 1rem; opacity: .85; }
.fig-rival { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.2); color: #fff; }
.fig-rival strong { color: rgba(255,255,255,.75); }
.fig-red { background: var(--red-deep); color: #fff; box-shadow: 0 24px 50px -24px rgba(255,39,0,.8); }
.fig-vs {
  align-self: center;
  width: 3.25rem; height: 3.25rem; border-radius: 50%;
  display: grid; place-items: center;
  background: #fff; color: var(--purple); font-weight: 800; font-size: 1.05rem;
}
@media (max-width: 640px) {
  .figures { grid-template-columns: 1fr; gap: .75rem; }
  .fig-vs { justify-self: center; width: 2.75rem; height: 2.75rem; }
}

/* ---------- Sections ---------- */
.section { padding: clamp(2.75rem, 5vw, 4rem) 0; }
.section-tint { background: var(--grey-50); }
.section-dark { background: var(--purple); color: var(--on-dark); }
.section-head { margin-bottom: clamp(1.25rem, 2.5vw, 1.75rem); }
.section-head p { font-size: 1.15rem; color: var(--muted); max-width: 46em; }
.section-head p:last-child { margin-bottom: 0; }

/* ---------- Problem / solution ---------- */
.big-stat {
  font-size: clamp(1.55rem, 3.4vw, 2.4rem); line-height: 1.25; font-weight: 300; letter-spacing: -.02em;
  max-width: 28em; margin: 0 0 clamp(1.5rem, 3vw, 2.25rem);
}
.big-stat span { font-weight: 800; color: var(--red-text); }
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.ps-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(1.3rem, 2.5vw, 1.8rem); box-shadow: var(--shadow);
  border-top: 4px solid var(--purple);
}
.ps-problem { border-top-color: var(--red); }
.ps-card h2 { font-size: clamp(1.5rem, 2.8vw, 2rem); }
.ps-card p { color: var(--muted); margin-bottom: 0; }
.ps-tag { display: inline-block; margin-bottom: .7rem; font-size: .9rem; font-weight: 700; color: var(--purple); }
.ps-problem .ps-tag { color: var(--red-text); }
@media (max-width: 820px) { .ps-grid { grid-template-columns: 1fr; } }

.origin {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  margin-top: 1.5rem; padding: clamp(1.5rem, 3.5vw, 2.25rem) clamp(1.25rem, 4vw, 3rem);
  background: #fff; border: 1px solid var(--line); border-top: 4px solid #E6007E;
  border-radius: var(--radius); box-shadow: var(--shadow);
}
.origin img { height: 64px; width: auto; margin-bottom: 1.1rem; }
.origin-text { display: flex; flex-direction: column; align-items: center; }
.origin p { margin: 0 auto; color: var(--muted); max-width: 46rem; font-size: 1.08rem; }
.origin-text .btn { margin-top: 1.25rem; }
.btn-small { padding: .65rem 1.3rem; font-size: 1rem; }
.origin .btn-primary:hover { background: var(--purple); color: #fff; }

/* ---------- How to use ---------- */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.step {
  counter-increment: step; position: relative;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem; box-shadow: var(--shadow);
}
.step::before {
  content: counter(step);
  position: absolute; top: 1.15rem; right: 1.15rem;
  width: 1.9rem; height: 1.9rem; border-radius: 50%;
  display: grid; place-items: center; font-weight: 800; font-size: .95rem;
  background: var(--red-deep); color: #fff;
}
.step .step-icon { margin-bottom: .8rem; }
.step h3 { margin-bottom: .35rem; }
.step p { color: var(--muted); font-size: 1rem; margin: 0; }
@media (max-width: 1000px) { .steps { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 720px) { .steps { grid-template-columns: 1fr 1fr; } }

/* ---------- Try it ---------- */
.try {
  position: relative; overflow: hidden;
  background:
    radial-gradient(40rem 26rem at 0% 100%, rgba(255,39,0,.25), transparent 60%),
    var(--purple);
  color: #fff;
}
.try-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (max-width: 880px) { .try-grid { grid-template-columns: 1fr; } }
.try-head { max-width: 30rem; }
.try-head h2 { color: #fff; }
.try-head p { margin: 0; font-size: 1.15rem; color: var(--on-dark-muted); }
.try-panel {
  background: #fff; color: var(--ink);
  border-radius: 18px; padding: clamp(1.25rem, 3vw, 1.75rem);
  box-shadow: var(--shadow-lg);
}
.try-label { display: block; font-weight: 700; margin-bottom: .5rem; }
.try-input {
  width: 100%; font: inherit; font-size: 1.3rem; font-weight: 500;
  padding: .8rem 1rem; border: 1px solid #CFCFD4; border-radius: 10px;
  background: var(--grey-50); color: var(--ink);
}
.try-input:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,39,0,.2); background: #fff; }
.try-sheet {
  margin-top: 1rem; min-height: 6rem;
  background: #fff; border: 1px dashed #CFCFD4; border-radius: 10px;
  padding: 1.1rem; overflow-x: auto;
}
.try-cells { display: flex; flex-wrap: wrap; gap: 1rem 2.2rem; --tdot: 12px; }
.tword { display: flex; gap: .9rem; flex-wrap: wrap; }
.tcell { display: flex; flex-direction: column; align-items: center; gap: .4rem; }
.tcell .cell { --dot: var(--tdot); }
.tcell .dot.on { background: var(--purple); }
.tcell .dot.off { background: var(--grey-100); }
.tcell small { font-size: .78rem; color: var(--muted); min-height: 1em; font-weight: 700; }
.tcell.space { width: calc(var(--tdot) * 2.5); }
.tcell.pop .dot.on { animation: tpop .25s ease-out; }
@keyframes tpop { from { transform: scale(0); background: var(--red); } }
@media (prefers-reduced-motion: reduce) { .tcell.pop .dot.on { animation: none; } }
.try-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin: 1rem 0 0; }
.try-stats div { background: var(--grey-50); border-radius: 10px; padding: .65rem .9rem; }
.try-stats dt { font-size: .88rem; color: var(--muted); }
.try-stats dd { margin: 0; font-size: 1.55rem; font-weight: 800; color: var(--purple); }
.try-stats div:last-child dd { color: var(--red-text); }
@media (max-width: 480px) { .try-input { font-size: 1.1rem; padding: .75rem .85rem; } .try-cells { --tdot: 9px; gap: .9rem 1.4rem; } .tword { gap: .5rem; } .try-stats dd { font-size: 1.3rem; } .try-stats dt { font-size: .8rem; } .try-stats div { padding: .5rem .7rem; } }

/* ---------- Build reel ---------- */
.build { overflow: hidden; }
.reel {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  padding: .25rem 0 1.25rem;
}
.reel-track { display: flex; gap: 1rem; width: max-content; animation: reel 38s linear infinite; }
@keyframes reel { to { transform: translateX(calc(-50% - .5rem)); } }
.reel figure {
  margin: 0; flex: none; position: relative;
  width: 13rem; height: 17rem;
  border-radius: var(--radius); overflow: hidden;
  background: var(--grey-50); box-shadow: var(--shadow);
}
.reel figure.wide { width: 22rem; }
.reel figure.narrow { width: 9rem; }
.reel img { width: 100%; height: 100%; object-fit: cover; }
.reel .paper-bg { border: 1px solid var(--line); }
.reel .paper-bg img { object-fit: contain; background: #fff; padding: .5rem .5rem 3rem; }
.reel .dark-bg img { object-fit: contain; background: var(--purple); padding: .5rem .5rem 3rem; }
.reel figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 1.75rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(10,10,10,.82));
  color: #fff; font-size: .95rem; font-weight: 700;
}
.reel figcaption::before {
  content: ""; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%;
  background: var(--red); margin-right: .45rem; vertical-align: .1em;
}
@media (max-width: 560px) { .reel figure { width: 10.5rem; height: 13.5rem; } .reel figure.wide { width: 17rem; } .reel figure.narrow { width: 7rem; } }
@media (prefers-reduced-motion: reduce) {
  .reel { overflow-x: auto; -webkit-mask-image: none; mask-image: none; padding-left: var(--gutter); }
  .reel-track { animation: none; }
  .reel-track > [aria-hidden] { display: none; }
}

/* ---------- Price ---------- */
.price-card {
  background: #fff; border: 1px solid var(--line); border-radius: 18px;
  padding: clamp(1.3rem, 3vw, 2rem); box-shadow: var(--shadow);
}
.price-card h2 { margin-bottom: 1.25rem; }
.bars { list-style: none; margin: 0; padding: 0; display: grid; gap: .9rem; }
.bars li { display: grid; grid-template-columns: minmax(12rem, 18rem) 1fr; gap: 1.5rem; align-items: center; }
.bar-label { font-weight: 700; font-size: 1.08rem; line-height: 1.3; }
.bar-label small { display: block; font-weight: 400; font-size: .92rem; color: var(--muted); }
.bar { display: block; position: relative; height: 2.9rem; background: var(--grey-50); border-radius: 8px; overflow: hidden; }
.bar > span {
  position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); min-width: max-content;
  display: flex; align-items: center; justify-content: flex-end; padding: 0 1rem;
  background: var(--purple); color: #fff; font-weight: 800; font-size: 1.1rem; border-radius: 8px;
}
.ours .bar > span { background: var(--red-deep); }
.ours .bar-label { color: var(--red-text); font-size: 1.2rem; }
@media (max-width: 700px) { .bars li { grid-template-columns: 1fr; gap: .4rem; } }

.cases { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; }
.case {
  display: flex; gap: 1.1rem; align-items: flex-start;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.2rem 1.4rem; box-shadow: var(--shadow);
}
.case h3 { margin-bottom: .3rem; }
.case p { margin: 0; color: var(--muted); }
.case .case-icon svg { stroke: var(--red-text); }
@media (max-width: 760px) { .cases { grid-template-columns: 1fr; } }

/* ---------- Quotes ---------- */
.quotes { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 1.25rem; margin-top: 1.25rem; align-items: stretch; }
.quotes figure {
  margin: 0; border-radius: var(--radius); padding: 1.4rem 1.5rem;
  display: flex; flex-direction: column;
  background: var(--purple-2); border: 1px solid rgba(255,255,255,.1); color: #fff;
}
.quotes figure::before {
  content: "\201C"; font-size: 3.25rem; line-height: .7; font-weight: 800;
  display: block; margin-bottom: .2rem; color: var(--red);
}
.quotes blockquote { margin: 0 0 1rem; flex: 1; }
.quotes blockquote p { font-size: 1.1rem; margin: 0; }
.quotes figcaption { font-size: .93rem; line-height: 1.45; color: var(--on-dark-muted); }
.quotes figcaption strong { display: block; font-size: 1.03rem; color: #fff; }
.quotes .q-feature { background: var(--red-deep); border-color: transparent; }
.quotes .q-feature::before { color: #fff; }
.q-feature blockquote p { font-size: clamp(1.3rem, 2.3vw, 1.65rem); line-height: 1.3; font-weight: 500; }
.quotes .q-feature figcaption { color: rgba(255,255,255,.9); }
@media (max-width: 960px) { .quotes { grid-template-columns: 1fr 1fr; } .q-feature { grid-column: span 2; } }
@media (max-width: 640px) { .quotes { grid-template-columns: 1fr; } .q-feature { grid-column: auto; } }

/* ---------- Files ---------- */
.files-panel {
  position: relative; overflow: hidden;
  display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center;
  border-radius: 22px;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  background:
    radial-gradient(36rem 22rem at 100% 0%, rgba(255,39,0,.4), transparent 60%),
    var(--purple);
  color: #fff;
}
.files-panel::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(circle, rgba(255,255,255,.07) 1.4px, transparent 1.8px);
  background-size: 22px 22px;
}
.files-panel > * { position: relative; }
.files-text h2 { color: #fff; font-size: clamp(2.1rem, 4.5vw, 3.1rem); }
.files-text p { font-size: 1.15rem; margin-bottom: 1.5rem; color: var(--on-dark-muted); }
.repo-card {
  display: block; text-decoration: none; color: var(--ink);
  background: #fff; border-radius: 14px; padding: 1.3rem 1.4rem;
  box-shadow: var(--shadow-lg); transition: transform .2s;
}
.repo-card:hover { transform: translateY(-3px); }
.repo-name { display: flex; align-items: center; gap: .55rem; font-size: 1.08rem; color: var(--muted); padding-bottom: .9rem; border-bottom: 1px solid var(--line); }
.repo-name b { color: var(--ink); }
.repo-list { list-style: none; padding: 0; margin: .8rem 0 0; }
.repo-list li { padding: .4rem 0 .4rem 1.8rem; position: relative; font-weight: 500; }
.repo-list li::before {
  content: ""; position: absolute; left: 0; top: .78rem;
  width: 1rem; height: .78rem; border-radius: 2px 3px 3px 3px; background: var(--purple);
}
.repo-list li.r-red::before { background: var(--red); }
@media (max-width: 860px) { .files-panel { grid-template-columns: 1fr; } }
@media (prefers-reduced-motion: reduce) { .repo-card { transition: none; } }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: minmax(14rem, .65fr) 1.4fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: start; }
.team-photo { margin: 0; }
.team-photo img { border-radius: 16px; width: 100%; aspect-ratio: 1 / 1; object-fit: cover; box-shadow: var(--shadow); }
.team-photo figcaption { margin-top: .7rem; font-size: .95rem; color: var(--muted); }
.team-lede { font-size: 1.15rem; color: var(--muted); }
.people { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin: 1.25rem 0 .9rem; }
.person { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; box-shadow: var(--shadow); }
.person h3 { margin-bottom: .35rem; display: flex; align-items: baseline; gap: .5rem; }
.person h3 span { font-size: .85rem; font-weight: 700; color: #fff; background: var(--purple); border-radius: 999px; padding: .05rem .5rem; }
.person p { margin: 0; font-size: 1rem; color: var(--muted); }
.contact-links { list-style: none; margin: .9rem 0 0; padding: .8rem 0 0; border-top: 1px solid var(--line); display: grid; gap: .4rem; }
.contact-links a {
  display: inline-flex; align-items: center; gap: .55rem;
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: .98rem;
  overflow-wrap: anywhere;
}
.contact-links a:hover { color: var(--red-text); text-decoration: underline; }
.contact-links svg { width: 1.15rem; height: 1.15rem; flex: none; fill: none; stroke: var(--red-text); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.contact-links a[href*="linkedin"] svg { color: #0A66C2; }
.contact-note { color: var(--muted); font-size: 1rem; margin: 0 0 1.5rem; }
.next { border-left: 4px solid var(--red); padding: .25rem 0 .25rem 1.25rem; }
.next p { color: var(--muted); margin: 0; }
@media (max-width: 560px) { .people { grid-template-columns: 1fr; } }
@media (max-width: 800px) { .team-grid { grid-template-columns: 1fr; } .team-photo { max-width: 20rem; } }

/* ---------- Zagreb / STEMpura ---------- */
.zagreb-grid { display: grid; grid-template-columns: minmax(16rem, .8fr) 1.2fr; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; }
.zagreb-photo { margin: 0; }
.zagreb-photo img { width: 100%; border-radius: 16px; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 40%; box-shadow: var(--shadow); }
.zagreb-photo figcaption { margin-top: .7rem; font-size: .95rem; color: var(--muted); }
.stempura-link { display: inline-block; }
.stempura-logo { height: 110px; width: auto; margin: 0 0 1rem -.5rem; }
.zagreb-text p { color: var(--muted); }
.zagreb-text p:last-child { margin-bottom: 0; }
@media (max-width: 800px) { .zagreb-grid { grid-template-columns: 1fr; } .zagreb-photo { max-width: 26rem; order: 2; } }

/* ---------- Logos ---------- */
.supporters { padding: clamp(2.25rem, 4vw, 3rem) 0; border-top: 1px solid var(--line); }
.supporters h2 { font-size: 1.05rem; font-weight: 700; color: var(--muted); text-align: center; letter-spacing: 0; margin-bottom: 1.25rem; }
.logo-row { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; max-width: 58rem; }
.logo-row a { display: grid; place-items: center; width: 100%; height: 100%; }
.logo-row li {
  display: grid; place-items: center; height: 7rem; padding: 1rem 1.25rem;
  border: 1px solid var(--line); border-radius: var(--radius); background: #fff;
}
.logo-row img { max-height: 4.75rem; max-width: 100%; width: auto; height: auto; object-fit: contain; }
@media (max-width: 560px) { .logo-row { grid-template-columns: 1fr; } .logo-row li { height: 6rem; } }

.logo-fallback {
  display: inline-grid; place-items: center; text-align: center;
  font-weight: 800; font-size: 1.05rem; line-height: 1.2; color: var(--purple);
  border: 1px dashed var(--line); border-radius: 8px; padding: .6rem .9rem; flex: none;
}

/* ---------- Footer ---------- */
.footer { background: var(--black); color: #A9A9B0; font-size: .98rem; }
.footer-dots { height: 4px; background: var(--red); }
.footer-inner { display: grid; grid-template-columns: minmax(12rem, 1fr) 3fr; gap: 2rem 3rem; padding-top: 2.25rem; padding-bottom: 2rem; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; }
.footer-brand strong { display: block; color: #fff; font-size: 1.1rem; }
.footer-brand span { font-size: .92rem; }
.footer-logo { width: 40px; height: auto; margin-top: .7rem; background: #fff; border-radius: 8px; padding: 4px; box-sizing: content-box; }
.footer-braille { margin: 1rem 0 0; font-size: 1.1rem; letter-spacing: .1em; color: rgba(255,255,255,.25); }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem 2rem; }
.footer-group h2 { font-size: .9rem; font-weight: 700; color: var(--red); letter-spacing: 0; margin: 0 0 .6rem; }
.footer-group ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .45rem; }
.footer a { color: #fff; text-decoration: none; }
.footer a:hover, .footer a[aria-current="page"] { color: var(--red); }
.copy { grid-column: 1 / -1; max-width: none; margin: 0; padding-top: 1.25rem; border-top: 1px solid rgba(255,255,255,.12); font-size: .9rem; }
.copy a { text-decoration: underline; }
@media (max-width: 860px) { .footer-inner { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .footer-nav { grid-template-columns: 1fr 1fr; } }

/* ---------- Licence chips (home page files panel) ---------- */
.lic-chips { list-style: none; margin: 1.5rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.lic-chips a {
  display: inline-flex; flex-direction: column; text-decoration: none; line-height: 1.25;
  padding: .5rem .85rem; border-radius: 10px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.22); color: #fff;
}
.lic-chips a:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.lic-chips small { font-size: .8rem; color: var(--on-dark-muted); }
.lic-chips b { font-size: .98rem; }
.lic-summary { margin: 1rem 0 0; font-size: 1rem !important; }
.lic-summary a { color: #fff; font-weight: 700; }

/* ---------- Licence page ---------- */
.page-head {
  background:
    radial-gradient(44rem 26rem at 100% 0%, rgba(255,39,0,.28), transparent 60%),
    var(--purple);
  color: #fff; padding: clamp(2.25rem, 5vw, 3.5rem) 0;
}
.page-head h1 { font-size: clamp(2.4rem, 6vw, 4rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; color: #fff; }
.page-head .lede { margin: 0; }
.crumb { font-size: .95rem; color: var(--on-dark-muted); margin-bottom: 1rem; }
.crumb a { color: #fff; }

.lic-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.lic-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--purple);
  border-radius: var(--radius); padding: 1.3rem 1.4rem; box-shadow: var(--shadow);
}
.lic-card.lic-red { border-top-color: var(--red); }
.lic-card.lic-black { border-top-color: var(--black); }
.lic-kind { font-size: .9rem; font-weight: 700; color: var(--purple); }
.lic-red .lic-kind { color: var(--red-text); }
.lic-card h3 { font-size: 1.55rem; font-weight: 800; margin: .3rem 0 .2rem; }
.lic-full { font-size: .95rem; color: var(--muted); margin-bottom: .9rem; }
.lic-card ul { margin: 0 0 1.1rem; padding-left: 1.15rem; flex: 1; }
.lic-card li { margin-bottom: .25rem; }
.lic-link { font-weight: 700; }
@media (max-width: 900px) { .lic-grid { grid-template-columns: 1fr; } }

.cm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.cm { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.3rem 1.5rem; box-shadow: var(--shadow); }
.cm h3 { font-size: 1.35rem; }
.cm ul { list-style: none; margin: 0; padding: 0; }
.cm li { position: relative; padding: .4rem 0 .4rem 2rem; }
.cm li::before {
  content: ""; position: absolute; left: 0; top: .62rem;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--purple) no-repeat center / .75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2 5 8.5l4.5-5' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cm-must li::before {
  background-color: var(--red-deep);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 6h6M6 3l3 3-3 3' fill='none' stroke='white' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
.cm-note { margin: 1.1rem 0 0; color: var(--muted); }
@media (max-width: 780px) { .cm-grid { grid-template-columns: 1fr; } }

.narrow-col { max-width: 52rem; }
.credit { position: relative; margin: 0; }
.credit pre {
  margin: 0; white-space: pre-wrap; word-break: break-word;
  font: 500 1rem/1.6 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  background: var(--grey-50); border: 1px solid var(--line); border-left: 4px solid var(--red);
  border-radius: 10px; padding: 1rem 5.5rem 1rem 1.2rem;
}
.copy-btn {
  position: absolute; top: .7rem; right: .7rem;
  font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer;
  padding: .4rem .85rem; border-radius: 999px; border: 0;
  background: var(--purple); color: #fff;
}
.copy-btn:hover { background: var(--red-deep); }
@media (max-width: 480px) { .credit pre { padding-right: 1.2rem; padding-top: 3rem; } }

.safety { margin: 0; padding-left: 1.2rem; }
.safety li { margin-bottom: .6rem; }

.more-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem 2.5rem; }
.more-grid p { color: var(--muted); }
.more-grid code { font-size: .92em; background: var(--grey-50); padding: .05rem .3rem; border-radius: 4px; }
@media (max-width: 900px) { .more-grid { grid-template-columns: 1fr; } }
.fineprint { font-size: .95rem; color: var(--muted); margin: 1.5rem 0 0; padding-top: 1.25rem; border-top: 1px solid var(--line); max-width: none; }
.copy a { color: #fff; text-decoration: underline; text-underline-offset: .2em; }

/* ---------- Contributor stories ---------- */
.nav a[aria-current="page"] { color: var(--red-text); }
.btn-outline { color: var(--purple); border-color: var(--purple); }
.btn-outline:hover { background: var(--purple); color: #fff; }

.submit-panel {
  display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(1.5rem, 4vw, 3rem);
  background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--red);
  border-radius: 18px; padding: clamp(1.4rem, 3.5vw, 2.25rem); box-shadow: var(--shadow);
}
.submit-text p { color: var(--muted); }
.submit-text .btn { margin-top: .5rem; }
.submit-note { font-size: .92rem; margin: .8rem 0 0; }
.submit-checklist { background: var(--grey-50); border-radius: var(--radius); padding: 1.2rem 1.4rem; }
.submit-checklist h3 { margin-bottom: .7rem; }
.submit-checklist .ticks li { font-size: 1rem; margin-bottom: .45rem; }
@media (max-width: 820px) { .submit-panel { grid-template-columns: 1fr; } }

.story-list { display: grid; gap: 1.25rem; }
.story {
  display: grid; grid-template-columns: minmax(14rem, .9fr) 1.4fr; overflow: hidden;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow);
}
.story:not(:has(.story-photos)) { grid-template-columns: 1fr; }
.story-photos { display: grid; gap: 2px; align-content: start; background: #fff; }
.story-photos.multi { grid-template-columns: 1fr 1fr; }
.story-photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--grey-50); }
.story-photos.multi img:first-child { grid-column: 1 / -1; }
.story-photos.multi img:not(:first-child) { aspect-ratio: 1 / 1; }
.story-photos.multi img:last-child:nth-child(even) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.story-body { padding: 1.3rem 1.5rem 1.5rem; }
.story-body h3 { font-size: 1.4rem; margin-bottom: .3rem; }
.story-meta { font-size: .93rem; color: var(--muted); margin-bottom: .9rem; }
.story-body p:not(.story-meta) { color: var(--muted); }
.story-tags { list-style: none; margin: 0 0 .6rem; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.story-tags li { font-size: .82rem; font-weight: 700; color: var(--purple); background: var(--grey-50); border: 1px solid var(--line); border-radius: 999px; padding: .1rem .6rem; }
.story-link { font-weight: 700; }
@media (max-width: 720px) { .story { grid-template-columns: 1fr; } }

.story-empty {
  text-align: center; padding: clamp(2rem, 5vw, 3rem) 1.5rem;
  border: 1px dashed #CFCFD4; border-radius: 18px; background: var(--grey-50);
}
.story-empty p { color: var(--muted); margin: 0 auto 1.25rem; }
@media (max-width: 380px) { .try-cells { --tdot: 8px; } .tword { gap: .4rem; } }

/* Build your own: stories button */
.files-stories { grid-column: 1 / -1; display: flex; justify-content: center; padding-top: .5rem; }
.files-stories .btn-primary { box-shadow: 0 14px 30px -14px rgba(0,0,0,.6); }


/* Logo row: WRO in the middle on wider screens; phones keep the HTML order (STEMpura second) */
@media (min-width: 561px) {
  .logo-row li:nth-child(2) { order: 3; }
  .logo-row li:nth-child(3) { order: 2; }
}

/* Team heading with the Hunt Robotics chip */
.team-h { display: flex; align-items: center; gap: .6rem; }
.team-h-logo { height: 1.1em; width: auto; flex: none; }

/* Build your own: single column with two buttons */
.files-panel { grid-template-columns: 1fr; }
.files-text { max-width: 46rem; }
.files-actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.award-text a { white-space: normal; }
#build { padding-bottom: 0; }
#files { padding-top: clamp(1.25rem, 2.5vw, 2rem); }

/* The header is fixed, so the page starts below it. Its shrinking no longer moves the page. */
:root { --nav-h: 116px; }
@media (max-width: 420px) { :root { --nav-h: 88px; } }
body { padding-top: var(--nav-h); }
html { overflow-anchor: none; }

/* Build report: short version */
.submit-panel .ticks { margin-bottom: 0; }
.rnib-section .origin { margin-top: 0; }
.btn-soon { cursor: default; opacity: .85; }
.btn-soon:hover { background: #fff; color: var(--purple); }

/* Contact / build report form */
.submit-panel { align-items: start; }
.submit-text .submit-checklist { margin-top: 1.25rem; }
.contact-form { display: grid; gap: 1rem; }
.field { display: grid; gap: .35rem; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field label { font-weight: 700; font-size: .98rem; }
.field .opt { font-weight: 400; color: var(--muted); }
.contact-form input[type="text"], .contact-form input[type="email"], .contact-form input[type="url"],
.contact-form select, .contact-form textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .7rem .85rem; border: 1px solid #CFCFD4; border-radius: 10px; background: #fff;
}
.contact-form textarea { resize: vertical; min-height: 8rem; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(255,39,0,.18);
}
.contact-form [aria-invalid="true"] { border-color: var(--red-text); }
.check { display: flex; gap: .6rem; align-items: flex-start; font-size: .95rem; color: var(--muted); }
.check input { margin-top: .3rem; width: 1.05rem; height: 1.05rem; accent-color: var(--red-deep); flex: none; }
.contact-form .btn { justify-self: start; }
.contact-form .btn[disabled] { opacity: .6; cursor: wait; }
.form-status { margin: 0; font-weight: 700; min-height: 1.5em; }
.form-status.ok { color: #1E7A3C; }
.form-status.err { color: var(--red-text); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.contact-cta { margin: 0; color: var(--muted); }
.contact-cta a { font-weight: 700; }
@media (max-width: 560px) { .field-row { grid-template-columns: 1fr; } }
.contact-form .btn-primary:hover, .submit-panel .btn-primary:hover { background: var(--purple); color: #fff; }
.contact-form.is-off .field, .contact-form.is-off .check, .contact-form.is-off .btn { opacity: .55; }
.contact-form.is-off .form-status { color: var(--ink); font-weight: 600; }
.form-off-links { margin: 0; font-weight: 700; }
