/* ==========================================================================
   Sands of the Keys — SOTK-20260710-091841 (revision 2, client feedback pass)
   Punchier teal (anchored to the supplied script-logo teal), Barlow display
   (self-hosted, SIL OFL), tighter type, motion with reduced-motion support.
   No remote requests at runtime: fonts are bundled in assets/fonts.
   ========================================================================== */

@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 500; font-display: swap; src: url('../assets/fonts/barlow-500.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 600; font-display: swap; src: url('../assets/fonts/barlow-600.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/barlow-700.woff2') format('woff2'); }
@font-face { font-family: 'Barlow'; font-style: normal; font-weight: 800; font-display: swap; src: url('../assets/fonts/barlow-800.woff2') format('woff2'); }

:root {
  /* Teal family — logo teal (~#00ABAB) kept for the wordmark; site accents punchier */
  --punch: #00c2b8;         /* punchy teal — surfaces, accents (use ink text on it) */
  --punch-soft: #d7f5f2;    /* pale punch wash */
  --teal: #068c86;          /* mid teal — borders, hovers, large text */
  --teal-deep: #056360;     /* accessible teal — links, buttons w/ white text */
  --ink: #0e2226;           /* deep ink */
  --ink-soft: #40585d;
  --paper: #fbfaf7;
  --sand: #f2ede2;
  --line: #ddd6c8;
  --white: #ffffff;
  --alert: #9a5b00;
  --alert-bg: #fdf3e3;
  --focus: #056360;

  --font-display: 'Barlow', 'Avenir Next', 'Segoe UI', Arial, sans-serif;
  --font-body: 'Avenir Next', Avenir, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, system-ui, sans-serif;

  --max: 1140px;
  --radius: 8px;
  --shadow: 0 10px 30px rgba(14,34,38,.12);
  --ease: cubic-bezier(.22,.61,.36,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal-deep); }
a:hover { color: var(--teal); }

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

.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: .7rem 1.2rem; z-index: 200; }
.skip-link:focus { left: 0; color: #fff; }

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

/* ---------- Typography ---------- */
h1, h2, h3 { font-family: var(--font-display); line-height: 1.1; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 4.2vw, 3rem); font-weight: 700; }
h2 { font-size: clamp(1.45rem, 2.6vw, 2rem); font-weight: 600; }
h3 { font-size: 1.2rem; font-weight: 600; }
p { margin: 0 0 .9em; }
.lede { font-size: 1.1rem; line-height: 1.5; color: var(--ink-soft); max-width: 60ch; }
.kicker {
  font-family: var(--font-display); font-size: .8rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase; color: var(--teal);
  display: block; margin-bottom: .6rem;
}

/* ---------- Icons ---------- */
.ic { width: 1.5em; height: 1.5em; stroke: currentColor; fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: -0.35em; flex-shrink: 0; }
.ic-lg { width: 2.2rem; height: 2.2rem; }
.icon-chip {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 10px; background: var(--punch-soft); color: var(--teal-deep);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; font-family: var(--font-display); font-weight: 600;
  font-size: 1rem; letter-spacing: .01em; text-decoration: none; text-align: center;
  padding: .8rem 1.5rem; border-radius: var(--radius); border: 2px solid transparent;
  cursor: pointer; min-height: 48px;
}
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: var(--teal); color: #fff; }
.btn-punch { background: var(--punch); color: var(--ink); }
.btn-punch:hover { background: #00d4c9; color: var(--ink); }
.btn-secondary { background: transparent; color: var(--teal-deep); border-color: var(--teal); }
.btn-secondary:hover { background: var(--punch-soft); color: var(--teal-deep); }
.btn-ink { background: var(--ink); color: #fff; }
.btn-ink:hover { background: #000; color: #fff; }
.btn[aria-disabled="true"], .btn:disabled { background: var(--line); color: var(--ink-soft); border-color: transparent; cursor: not-allowed; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.1rem; }

/* ---------- Top bar (Are you paying too much?) ---------- */
.topbar { background: var(--punch); color: var(--ink); position: relative; z-index: 60; }
.topbar-inner {
  max-width: var(--max); margin: 0 auto; padding: .45rem 1.25rem;
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
}
.topbar p { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: .95rem; }
.btn-topbar {
  font-family: var(--font-display); font-weight: 700; font-size: .92rem;
  background: var(--ink); color: #fff; border: 0; border-radius: 999px;
  padding: .45rem 1.15rem; cursor: pointer; min-height: 36px;
}
.btn-topbar:hover { background: #000; }
@media (max-width: 640px) { .topbar p { display: none; } }

/* ---------- Header ---------- */
.site-header {
  background: var(--white); box-shadow: 0 1px 8px rgba(14,34,38,.07);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  display: flex; align-items: center; gap: 1rem;
  min-height: 70px; max-width: none; margin: 0 auto; padding: .5rem 1.25rem;
}
.brand { display: flex; align-items: center; text-decoration: none; margin-right: auto; flex-shrink: 0; }
.brand > span { display: flex; flex-direction: column; align-items: center; }
.brand img { height: 34px; width: auto; max-width: none; }
.brand .brand-sub {
  display: block; font-family: var(--font-display); font-size: .66rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--ink-soft); margin-top: 3px; font-weight: 600; text-align: center; width: 100%;
}
.header-phone { font-family: var(--font-display); font-weight: 700; text-decoration: none; color: var(--ink); white-space: nowrap; font-size: 1.02rem; padding: .5rem .25rem; }
.header-phone:hover { color: var(--teal-deep); }
.header-phone .ph-label { display: block; font-size: .64rem; font-weight: 700; color: var(--teal); letter-spacing: .1em; text-transform: uppercase; }
.header-cta { white-space: nowrap; }

.nav-toggle {
  display: none; background: none; border: 2px solid var(--ink); border-radius: var(--radius);
  padding: .5rem .8rem; font: inherit; font-family: var(--font-display); font-weight: 700; cursor: pointer; color: var(--ink);
  min-height: 44px;
}

.site-nav ul { list-style: none; display: flex; gap: 0; margin: 0; padding: 0; align-items: center; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-family: var(--font-display); font-weight: 600; font-size: .95rem;
  padding: .55rem .55rem; display: block; white-space: nowrap; position: relative;
}
.site-nav a::after {
  content: ""; position: absolute; left: .55rem; right: .55rem; bottom: .25rem; height: 3px;
  background: var(--punch); border-radius: 2px; transform: scaleX(0); transform-origin: left;
}
.site-nav a:hover { color: var(--teal-deep); }
.site-nav a:hover::after, .site-nav a[aria-current="page"]::after { transform: scaleX(1); }
.site-nav a[aria-current="page"] { color: var(--teal-deep); }
.site-nav .nav-divider { width: 1px; height: 26px; background: var(--line); margin: 0 .25rem; }
.site-nav .nav-group-label { display: none; }
@media (min-width: 1241px) { .site-nav .nav-contact-group, .site-nav .nav-cta-mobile { display: none; } }

@media (max-width: 1430px) { .header-cta { display: none; } }
@media (max-width: 1240px) {
  .nav-toggle { display: block; }
  .site-nav {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--white); border-bottom: 1px solid var(--line);
    box-shadow: 0 12px 24px rgba(14,34,38,.14);
    max-height: calc(100vh - 70px); overflow-y: auto;
  }
  .site-nav.open { display: block; }
  .site-nav ul { flex-direction: column; align-items: stretch; padding: .75rem 1.25rem 1.5rem; gap: 0; }
  .site-nav a { padding: .85rem .5rem; font-size: 1.08rem; border-bottom: 1px solid var(--sand); }
  .site-nav a::after { display: none; }
  .site-nav .nav-divider { display: none; }
  .site-nav .nav-group-label {
    display: block; font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .16em;
    text-transform: uppercase; color: var(--teal); padding: 1rem .5rem .25rem;
  }
  .site-nav .nav-cta-mobile { margin-top: 1rem; }
}
@media (max-width: 560px) {
  .header-inner { gap: .6rem; padding: .5rem 1rem; min-height: 58px; }
  .brand img { height: 25px; }
  .brand .brand-sub { display: none; }
  .header-phone { font-size: .95rem; }
  .header-phone .ph-label { display: none; }
}
@media (max-width: 400px) {
  .header-inner { gap: .4rem; padding: .5rem .75rem; }
  .brand img { height: 22px; }
  .nav-toggle { padding: .45rem .6rem; }
  .header-phone { font-size: .9rem; }
}
@media (max-width: 364px) {
  .header-phone .ph-num { display: none; }
  .header-phone .ph-label { display: inline; font-size: .9rem; }
}

/* ---------- Hero (video) ---------- */
.hero { position: relative; background: var(--ink); color: #fff; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-media video, .hero-media img {
  width: 100%; height: 100%; object-fit: cover; object-position: 72% center;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(9,26,30,.93) 0%, rgba(9,26,30,.82) 34%, rgba(9,26,30,.35) 62%, rgba(9,26,30,.18) 100%);
}
.hero-content {
  position: relative; max-width: var(--max); margin: 0 auto;
  padding: 4.5rem 1.25rem 4.75rem; display: grid; grid-template-columns: minmax(0,-webkit-min-content) 1fr; grid-template-columns: minmax(0,600px) 1fr; gap: 2rem;
  min-height: 560px; align-items: center;
}
.hero h1 { color: #fff; margin-bottom: .4em; }
.hero .lede { color: #dcebe9; }
.hero-fact { font-size: .92rem; color: #b8d2cf; margin-top: 1.1rem; }
.hero-fact a { color: #fff; }
.hero .kicker { color: var(--punch); }

/* Powered-by plaque overlay */
.hero-plaque {
  position: relative; justify-self: center; align-self: center;
  background: rgba(255,255,255,.88); border: 1px solid rgba(255,255,255,.7); border-radius: 14px;
  padding: 1.35rem 2rem 1.2rem; text-align: center; box-shadow: var(--shadow);
  opacity: 0; backdrop-filter: blur(2px);
}
.hero-plaque .powered-by {
  font-family: var(--font-display); font-weight: 700; color: var(--ink);
  font-size: 1.05rem; letter-spacing: .04em; margin: 0 0 .35rem;
}
.hero-plaque img { width: min(320px, 60vw); height: auto; margin: 0 auto; }
@media (prefers-reduced-motion: no-preference) {
  .hero-plaque { animation: plaque-in 1.2s var(--ease) 2s forwards; }
  @keyframes plaque-in { from { opacity: 0; transform: translateY(14px) scale(.97); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) { .hero-plaque { opacity: 1; } }

@media (max-width: 880px) {
  .hero-content { grid-template-columns: 1fr; min-height: 0; padding: 3rem 1.25rem; }
  .hero-plaque { margin-top: .75rem; padding: 1rem 1.25rem .9rem; }
  .hero-media video, .hero-media img { object-position: 78% center; }
}

/* ---------- Fast action routes ---------- */
.actions { background: var(--ink); color: #fff; }
.actions-inner { max-width: var(--max); margin: 0 auto; padding: 2rem 1.25rem 2.4rem; }
.actions h2 { color: #9fc9c5; font-size: .92rem; font-family: var(--font-display); letter-spacing: .18em; text-transform: uppercase; margin-bottom: 1.1rem; font-weight: 700; }
.action-routes { display: grid; grid-template-columns: 1fr 1fr 1.2fr; gap: 1rem; }
.action {
  display: block; text-decoration: none; border-radius: var(--radius);
  padding: 1.3rem 1.3rem 1.35rem; border: 1px solid rgba(255,255,255,.16);
  font: inherit; text-align: left; color: #fff;
}
button.action { width: 100%; cursor: pointer; }
.action h3 { margin-bottom: .3rem; font-size: 1.3rem; display: flex; align-items: center; gap: .55rem; }
.action p { margin: 0; font-size: .92rem; line-height: 1.45; color: #cfe3e1; }
.action .go { display: inline-block; margin-top: .8rem; font-family: var(--font-display); font-weight: 700; font-size: .92rem; }
.action-sales { background: var(--punch); color: var(--ink); border-color: var(--punch); }
.action-sales p { color: #08403c; }
.action-sales h3 { font-size: 1.45rem; }
.action-sales:hover { background: #00d4c9; color: var(--ink); }
.action-meters, .action-cost { background: rgba(255,255,255,.07); }
.action-meters:hover, .action-cost:hover { background: rgba(255,255,255,.15); color: #fff; }
.action .tag {
  display: inline-block; font-family: var(--font-display); font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; margin-bottom: .5rem; opacity: .85;
}
@media (max-width: 880px) { .action-routes { grid-template-columns: 1fr; } }

/* ---------- Sections ---------- */
.section { padding: 3.25rem 0; }
.section-alt { background: var(--sand); }
.section-white { background: var(--white); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 2.75rem; align-items: center; }
.split .media { border-radius: var(--radius); overflow: hidden; }
.split .media figcaption { font-size: .8rem; color: var(--ink-soft); padding-top: .5rem; }
@media (max-width: 880px) { .split { grid-template-columns: 1fr; gap: 1.5rem; } }

/* Feature grid — borderless, whitespace-led (replaces the old ruled rows) */
.proof-list {
  list-style: none; margin: 1.5rem 0 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1.6rem 2.25rem;
}
.proof-list li { display: block; }
.proof-list .proof-k {
  display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.02rem;
  color: var(--teal-deep); margin-bottom: .25rem;
}
.proof-list .proof-k::after {
  content: ""; display: block; width: 1.6rem; height: 3px; border-radius: 2px;
  background: var(--punch); margin-top: .45rem;
}
.proof-list .proof-v { display: block; color: var(--ink-soft); font-size: .94rem; line-height: 1.55; }
/* narrow columns (split layouts) stay single-column for rhythm */
.split .proof-list { grid-template-columns: 1fr 1fr; }
@media (max-width: 620px) { .split .proof-list { grid-template-columns: 1fr; } }

/* Category rows — soft cards, no rules */
.cat-row {
  display: grid; grid-template-columns: 64px 1fr auto; gap: 1.4rem; align-items: center;
  padding: 1.5rem 1.6rem; margin-bottom: 1rem; border-radius: 12px;
  background: var(--white); box-shadow: 0 1px 2px rgba(14,34,38,.05);
}
.section-white .cat-row { background: var(--paper); box-shadow: none; }
.cat-row .icon-chip { width: 3.4rem; height: 3.4rem; }
.cat-row h3 { font-size: 1.35rem; margin-bottom: .25rem; }
.cat-row p { margin: 0; color: var(--ink-soft); max-width: 56ch; font-size: .96rem; }
.cat-row .cat-link { white-space: nowrap; }
@media (max-width: 880px) {
  .cat-row { grid-template-columns: 48px 1fr; }
  .cat-row .cat-link { grid-column: 2; justify-self: start; }
}

/* Featured machines */
.featured-scroller {
  display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
  gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: .25rem .25rem 1rem;
  -webkit-overflow-scrolling: touch;
}
.featured-scroller::-webkit-scrollbar { height: 8px; }
.featured-scroller::-webkit-scrollbar-thumb { background: var(--line); border-radius: 4px; }
.machine-card {
  scroll-snap-align: start; background: var(--paper);
  border-radius: 12px; padding: 1.1rem; text-decoration: none; color: var(--ink);
  display: flex; flex-direction: column; box-shadow: 0 1px 3px rgba(14,34,38,.06);
}
.machine-card .machine-img {
  background: var(--sand); border-radius: 6px; padding: .9rem; margin-bottom: .8rem;
  display: flex; align-items: center; justify-content: center; aspect-ratio: 1/.85;
}
.machine-card img { max-height: 100%; width: auto; object-fit: contain; }
.machine-card h3 { font-size: 1.02rem; margin: 0 0 .15rem; }
.machine-card .machine-type { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--teal); }
.machine-card .go { margin-top: auto; padding-top: .6rem; font-family: var(--font-display); font-weight: 700; font-size: .9rem; color: var(--teal-deep); }

/* ---------- Product cards ---------- */
.model-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 1.25rem; margin-top: 1.4rem; }
.model {
  background: var(--white); border-radius: 12px; box-shadow: 0 1px 3px rgba(14,34,38,.07);
  padding: 1.4rem; display: flex; flex-direction: column;
}
.model .model-img {
  background: var(--sand); border-radius: 6px; margin: -0.4rem -0.4rem .9rem;
  padding: 1rem; display: flex; align-items: center; justify-content: center; height: 210px;
}
.model .model-img img { max-height: 100%; width: auto; object-fit: contain; }
.model h3 { font-size: 1.12rem; margin-bottom: .2rem; }
.model .model-type { font-family: var(--font-display); font-size: .74rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); margin-bottom: .6rem; }
.model ul { margin: 0 0 .9rem; padding-left: 1.1rem; color: var(--ink-soft); font-size: .92rem; }
.model li { margin-bottom: .15rem; }
.model p { color: var(--ink-soft); font-size: .92rem; }
.model .btn { margin-top: auto; }

/* Trusted strip */
.trusted-names { display: flex; flex-wrap: wrap; gap: .6rem 2rem; margin: 1.1rem 0 .75rem; padding: 0; list-style: none; align-items: center; }
.trusted-names li { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: var(--ink-soft); }
.note-pending {
  font-size: .82rem; color: var(--alert); background: var(--alert-bg);
  border: 1px solid #ecd9b8; border-radius: var(--radius); padding: .45rem .75rem; display: inline-block;
}
.chambers { display: flex; gap: 1.25rem; align-items: center; flex-wrap: wrap; margin-top: .9rem; }
.chambers img { height: 64px; width: auto; border-radius: 4px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: 12px; box-shadow: 0 1px 3px rgba(14,34,38,.07); padding: 1.75rem; max-width: 640px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 1.1rem; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }

label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .92rem; margin-bottom: .3rem; }
.hint { font-family: var(--font-body); font-weight: 400; color: var(--ink-soft); font-size: .82rem; }
input[type="text"], input[type="tel"], input[type="email"], input[type="number"], select, textarea {
  width: 100%; font: inherit; padding: .75rem .85rem; border: 1.5px solid #b4ad9e;
  border-radius: var(--radius); background: #fff; color: var(--ink); min-height: 46px;
}
textarea { min-height: 100px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--focus); outline-offset: 1px; border-color: var(--focus); }
.field-error { color: #a4262c; font-size: .84rem; margin-top: .25rem; display: none; }
.field.invalid .field-error { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: #a4262c; }

fieldset { border: 0; border-radius: var(--radius); background: var(--paper); padding: 1rem 1.1rem 1.1rem; margin: 0 0 .9rem; }
legend { font-family: var(--font-display); font-weight: 600; padding: 0 .35rem 0 0; float: left; margin-bottom: .6rem; width: 100%; }
fieldset > *:first-of-type { clear: both; }

.form-status { display: none; margin-top: 1.1rem; }
.form-status.show { display: block; }
.form-success {
  background: var(--punch-soft); border: 1px solid var(--teal); border-radius: var(--radius);
  padding: .9rem 1.1rem; color: var(--teal-deep); font-weight: 600; font-size: .95rem;
}
.demo-note {
  font-size: .82rem; color: var(--alert); background: var(--alert-bg);
  border: 1px solid #ecd9b8; border-radius: var(--radius); padding: .55rem .85rem; margin: 0 0 1.1rem;
}

/* ---------- Calculator overlay ---------- */
.calc-overlay {
  position: fixed; inset: 0; z-index: 100; display: none;
  align-items: flex-start; justify-content: center; overflow-y: auto;
  background: rgba(10,26,30,.62); padding: 3vh 1rem 5vh;
}
.calc-overlay.open { display: flex; }
.calc-modal {
  background: var(--paper); border-radius: 14px; box-shadow: 0 24px 64px rgba(0,0,0,.35);
  width: min(680px, 100%); padding: 2rem 2rem 1.75rem; position: relative;
}
.calc-close {
  position: absolute; top: .9rem; right: .9rem; background: var(--sand); border: 0; border-radius: 999px;
  width: 40px; height: 40px; font-size: 1.15rem; font-weight: 700; cursor: pointer; color: var(--ink);
  line-height: 1;
}
.calc-close:hover { background: var(--line); }
.calc-modal h2 { margin-bottom: .25rem; }
.calc-modal .calc-sub { color: var(--ink-soft); font-size: .95rem; margin-bottom: 1.25rem; }
.calc-step { margin-bottom: 1.2rem; }
.calc-step h3 { margin-bottom: .55rem; font-size: 1.02rem; }
.radio-row { display: flex; flex-wrap: wrap; gap: .5rem; }
.radio-pill { position: relative; }
.radio-pill input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.radio-pill span {
  display: inline-block; padding: .6rem 1.05rem; border: 2px solid var(--line);
  border-radius: 999px; font-family: var(--font-display); font-weight: 600; font-size: .95rem; cursor: pointer; background: #fff;
}
.radio-pill input:checked + span { border-color: var(--teal); background: var(--punch-soft); color: var(--teal-deep); }
.radio-pill input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.calc-vol-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .9rem; }
@media (max-width: 560px) { .calc-vol-grid { grid-template-columns: 1fr; } }

.calc-result { border-top: 2px solid var(--ink); margin-top: 1.25rem; padding-top: 1.25rem; display: none; }
.calc-result.show { display: block; }
.calc-figures { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: .8rem; margin: .9rem 0; }
.calc-figure { background: var(--sand); border-radius: var(--radius); padding: .85rem 1rem; }
.calc-figure.calc-figure-hero { background: var(--punch); color: var(--ink); }
.calc-figure .cf-label { font-family: var(--font-display); font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); display: block; }
.calc-figure-hero .cf-label { color: #06423e; }
.calc-figure .cf-value { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: var(--teal-deep); }
.calc-figure-hero .cf-value { color: var(--ink); }
.assumptions { font-size: .85rem; color: var(--ink-soft); margin-top: .5rem; }
.assumptions summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.assumptions table { border-collapse: collapse; margin: .7rem 0; width: 100%; }
.assumptions th, .assumptions td { text-align: left; padding: .35rem .5rem; border-bottom: 1px solid var(--line); font-size: .82rem; }

.calc-lead { margin-top: 1.1rem; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.2rem; }
.calc-lead h3 { margin-bottom: .3rem; }
.calc-lead p { font-size: .92rem; color: var(--ink-soft); }
.calc-lead .lead-grid { display: grid; grid-template-columns: 1fr 1fr auto; gap: .7rem; align-items: end; }
@media (max-width: 640px) { .calc-lead .lead-grid { grid-template-columns: 1fr; } }

/* ---------- Contact routes ---------- */
.contact-routes { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1.1rem; margin: 1.25rem 0 1.75rem; }
.route { background: var(--white); border-radius: 12px; box-shadow: 0 1px 3px rgba(14,34,38,.07); padding: 1.35rem; }
.route h3 { margin-bottom: .35rem; display: flex; align-items: center; gap: .5rem; }
.route p { font-size: .92rem; color: var(--ink-soft); }

/* ---------- Page head ---------- */
.page-head { background: var(--white); padding: 2.75rem 0 2.25rem; }
.page-head p { max-width: 68ch; }
.breadcrumb { font-size: .84rem; margin-bottom: .9rem; color: var(--ink-soft); }
.breadcrumb a { color: var(--ink-soft); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--teal-deep); color: #fff; padding: 2.75rem 0; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe8e6; }
.cta-band .btn-primary { background: var(--punch); color: var(--ink); }
.cta-band .btn-primary:hover { background: #00d4c9; }
.cta-band .btn-secondary { border-color: #fff; color: #fff; }
.cta-band .btn-secondary:hover { background: rgba(255,255,255,.14); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c5d4d6; padding: 2.75rem 0 1.9rem; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h3 { color: var(--punch); font-size: .86rem; font-family: var(--font-display); letter-spacing: .14em; text-transform: uppercase; }
.site-footer a { color: #e6efee; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { padding: .2rem 0; }
.footer-calc-link { background: none; border: 0; padding: .2rem 0; font: inherit; color: #e6efee; text-decoration: underline; cursor: pointer; }
.footer-legal { border-top: 1px solid rgba(255,255,255,.15); margin-top: 1.9rem; padding-top: 1.1rem; font-size: .82rem; color: #93a9ac; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr; } }

.founder-quote {
  border-left: 4px solid var(--punch); padding: .4rem 0 .4rem 1.35rem; margin: 1.25rem 0;
  font-family: var(--font-display); font-size: 1.28rem; font-weight: 500; line-height: 1.4; color: var(--ink);
}
.founder-quote cite { display: block; font-family: var(--font-body); font-size: .88rem; font-style: normal; font-weight: 400; color: var(--ink-soft); margin-top: .5rem; }

.small { font-size: .85rem; color: var(--ink-soft); }
.mb-0 { margin-bottom: 0; }

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .btn, .action, .machine-card, .model, .site-nav a::after, .btn-topbar, .calc-close {
    transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s ease, color .2s ease;
  }
  .btn:hover, .btn-topbar:hover { transform: translateY(-2px); box-shadow: 0 8px 18px rgba(14,34,38,.18); }
  .action:hover, .machine-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
  .model:hover { box-shadow: var(--shadow); }

  /* Reveals only when JS is present (html.js set inline in <head>) */
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
  .js .reveal.in { opacity: 1; transform: none; }

  .btn-topbar { animation: topbar-pulse 3.2s ease-in-out infinite; }
  @keyframes topbar-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(14,34,38,.32); }
    45% { box-shadow: 0 0 0 9px rgba(14,34,38,0); }
    60% { box-shadow: 0 0 0 0 rgba(14,34,38,0); }
  }

  .calc-overlay.open .calc-modal { animation: modal-in .3s var(--ease); }
  @keyframes modal-in { from { opacity: 0; transform: translateY(16px) scale(.98); } to { opacity: 1; transform: none; } }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
