/* ==========================================================================
   Koncal Web — Design tokens
   ========================================================================== */

:root {
  --color-navy: #12213a;
  --color-navy-soft: #1c3050;
  --color-white: #f2f4f5;
  --color-paper: #ffffff;
  --color-orange: #f0631a;
  --color-orange-dark: #c94e10;
  --color-steel: #4e7290;
  --color-steel-dark: #395670;
  --color-yellow: #f5b700;
  --color-gray: #4a5058;
  --color-border: #d8dcdc;
  --color-border-dashed: #b9c2c2;
  --color-border-dark: rgba(242, 244, 245, 0.16);

  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "Work Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SFMono-Regular", "Cascadia Code", Consolas, "Liberation Mono", monospace;

  --container-max: 1160px;
  --section-pad-y: clamp(64px, 9vw, 112px);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
  --dur: 220ms;

  --call-bar-height: 60px;
}

/* ==========================================================================
   Reset
   ========================================================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-navy);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
}

img,
svg {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin: 0;
}

input,
textarea,
select {
  font: inherit;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   Focus states — visible everywhere, no exceptions
   ========================================================================== */

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--color-orange);
  outline-offset: 3px;
  border-radius: 2px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  background: var(--color-orange);
  color: var(--color-navy);
  font-weight: 700;
  padding: 12px 18px;
  border-radius: var(--radius-sm);
  z-index: 1000;
  transition: top var(--dur) var(--ease);
}

.skip-link:focus {
  top: 12px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 20px;
}

@media (min-width: 640px) {
  .container {
    padding-inline: 32px;
  }
}

@media (min-width: 1080px) {
  .container {
    padding-inline: 40px;
  }
}

.section {
  position: relative;
  padding-block: var(--section-pad-y);
  overflow: hidden;
}

.section--light {
  --section-bg: var(--color-white);
  background: var(--color-white);
  color: var(--color-navy);
}

.section--paper {
  --section-bg: var(--color-paper);
  background: var(--color-paper);
  color: var(--color-navy);
}

.section--dark {
  --section-bg: var(--color-navy);
  background: var(--color-navy);
  color: var(--color-white);
}

.section--dark .body-text {
  color: rgba(242, 244, 245, 0.78);
}

/* sparse blueprint dot-grid, dark sections only */
.section--dark::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 244, 245, 0.14) 1px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.section > .container {
  position: relative;
}

.section-head {
  max-width: 640px;
  margin-bottom: 44px;
}

.section-head--center {
  margin-inline: auto;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-orange-dark);
  margin-bottom: 14px;
}

.section--dark .eyebrow {
  color: var(--color-yellow);
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: currentColor;
  flex-shrink: 0;
}

.status-dot {
  animation: pulse 2.2s var(--ease) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .status-dot {
    animation: none;
  }
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.35; }
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.02;
  color: var(--color-navy);
}

.section--dark h1,
.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-white);
}

h1 {
  font-size: clamp(2.6rem, 5.2vw + 1rem, 4.9rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(2rem, 2.6vw + 1rem, 3.1rem);
}

h3 {
  font-size: clamp(1.3rem, 1vw + 1rem, 1.6rem);
}

.lede {
  font-size: clamp(1.05rem, 0.4vw + 1rem, 1.25rem);
  color: var(--color-gray);
  max-width: 52ch;
}

.section--dark .lede {
  color: rgba(242, 244, 245, 0.78);
}

.body-text {
  color: var(--color-gray);
  max-width: 60ch;
}

strong {
  font-weight: 700;
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  transition: transform var(--dur) var(--ease), background var(--dur) var(--ease), border-color var(--dur) var(--ease);
  text-decoration: none;
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn--primary {
  background: var(--color-orange);
  color: var(--color-navy);
}

.btn--primary:hover {
  background: #ff7326;
}

.btn--outline-dark {
  border-color: var(--color-navy);
  color: var(--color-navy);
}

.btn--outline-dark:hover {
  background: var(--color-navy);
  color: var(--color-white);
}

.btn--outline-light {
  border-color: var(--color-border-dark);
  color: var(--color-white);
}

.btn--outline-light:hover {
  background: rgba(242, 244, 245, 0.1);
  border-color: var(--color-white);
}

.btn--block {
  width: 100%;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
}

/* ==========================================================================
   Header
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(242, 244, 245, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 14px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.5rem;
  letter-spacing: -0.01em;
  color: var(--color-navy);
  white-space: nowrap;
}

.logo__mark {
  width: 34px;
  height: 34px;
  flex-shrink: 0;
}

.nav {
  display: none;
  align-items: center;
  gap: 32px;
}

.nav__links {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.95rem;
}

.nav__links a {
  text-decoration: none;
  color: var(--color-navy);
  padding-block: 4px;
  border-bottom: 2px solid transparent;
  transition: border-color var(--dur) var(--ease);
}

.nav__links a:hover {
  border-color: var(--color-orange);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.header-actions .btn {
  display: none;
}

@media (min-width: 480px) {
  .header-actions .btn {
    display: inline-flex;
  }
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
}

.nav-toggle:hover {
  background: rgba(18, 33, 58, 0.06);
}

.nav-toggle__icon,
.nav-toggle__icon::before,
.nav-toggle__icon::after {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-navy);
  position: relative;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle__icon::before,
.nav-toggle__icon::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle__icon::before {
  top: -7px;
}

.nav-toggle__icon::after {
  top: 7px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::before {
  top: 0;
  transform: rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle__icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  gap: 2px;
  padding: 8px 20px 20px;
  border-bottom: 1px solid var(--color-border);
  background: var(--color-white);
}

.mobile-menu.is-open {
  display: flex;
}

.mobile-menu a {
  padding: 12px 4px;
  text-decoration: none;
  font-weight: 600;
  color: var(--color-navy);
  border-bottom: 1px solid var(--color-border);
}

.mobile-menu a:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .nav {
    display: flex;
  }
  .nav-toggle {
    display: none;
  }
  .mobile-menu {
    display: none !important;
  }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding-top: clamp(56px, 8vw, 104px);
  padding-bottom: clamp(56px, 8vw, 96px);
}

.hero__inner {
  max-width: 780px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 500;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  color: var(--color-gray);
  padding: 8px 14px;
  border-radius: 999px;
  margin-bottom: 26px;
}

.hero__badge .status-dot {
  color: var(--color-orange);
}

.hero h1 {
  margin-bottom: 22px;
}

.hero__sub {
  margin-bottom: 30px;
}

.hero .btn-row {
  margin-bottom: 14px;
}

.hero__note {
  font-size: 0.9rem;
  color: var(--color-gray);
}

/* ==========================================================================
   Problem — diagnostic checklist
   ========================================================================== */

.checklist {
  display: grid;
  gap: 2px;
  background: var(--color-border);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 28px;
}

.checklist__item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: var(--color-paper);
  padding: 20px 22px;
}

.checklist__icon {
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  color: var(--color-orange-dark);
  margin-top: 2px;
}

.checklist__text {
  font-size: 1.02rem;
  color: var(--color-navy);
}

.problem__punch {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 1.6vw + 1rem, 2rem);
  max-width: 20ch;
  line-height: 1.15;
}

.problem__punch em {
  font-style: normal;
  color: var(--color-orange-dark);
}

/* ==========================================================================
   Showcase — scroll-driven range of design directions

   Four panes stack inside one phone. Scroll progress (--p, 0->1) is split
   into three transitions; each pane slides up over the one before it.
   Every pane is deliberately built from its OWN palette and typeface —
   none of them reuse the Koncal Web tokens, because the whole point of the
   section is that no two builds look alike.
   ========================================================================== */

.showcase {
  --p: 0;
  position: relative;
  background: var(--color-navy);
  color: var(--color-white);
}

/* Tall enough for the four panes to read, short enough that a visitor
   in a hurry isn't stuck scrolling through it. */
.showcase__track { height: 340vh; }

.showcase__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  min-height: 580px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.showcase__sticky::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(242, 244, 245, 0.14) 1px, transparent 1.5px);
  background-size: 28px 28px;
  pointer-events: none;
}

.showcase__inner {
  position: relative;
  display: grid;
  gap: clamp(18px, 4vw, 56px);
  grid-template-columns: 1fr;
  align-items: center;
  justify-items: center;
  text-align: center;
}

@media (min-width: 900px) {
  .showcase__inner {
    grid-template-columns: 1fr auto;
    text-align: left;
    justify-items: start;
  }
}

.showcase__copy { max-width: 30rem; }

.showcase__copy h2 {
  color: var(--color-white);
  margin-bottom: 14px;
}

.showcase__copy .lede {
  color: rgba(242, 244, 245, 0.78);
  margin-inline: auto;
}

@media (min-width: 900px) {
  .showcase__copy .lede { margin-inline: 0; }
}

/* --- caption + dots --- */

.showcase__meta {
  margin-top: 26px;
  display: flex;
  align-items: center;
  gap: 18px;
  justify-content: center;
}

@media (min-width: 900px) {
  .showcase__meta { justify-content: flex-start; }
}

.showcase__labels {
  position: relative;
  flex: 1;
  min-height: 46px;
  max-width: 22rem;
}

.showcase__label {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
  font-size: 0.85rem;
  color: rgba(242, 244, 245, 0.6);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  pointer-events: none;
}

.showcase__label b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-white);
  letter-spacing: 0.01em;
}

.showcase__label.is-active {
  opacity: 1;
  transform: none;
}

.showcase__dots {
  display: flex;
  gap: 7px;
  flex-shrink: 0;
}

.showcase__dots span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(242, 244, 245, 0.28);
  transition: background var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.showcase__dots span.is-active {
  background: var(--color-orange);
  transform: scale(1.35);
}

.showcase__note {
  margin-top: 22px;
  font-size: 0.85rem;
  color: rgba(242, 244, 245, 0.5);
}

.showcase__note a { color: rgba(242, 244, 245, 0.8); }

/* Below the side-by-side breakpoint the copy stacks on top of the phone,
   so keep the pinned column clear of the fixed call bar. */
@media (max-width: 899px) {
  .showcase__sticky { padding-bottom: var(--call-bar-height); }
}

/* Stacked layout: the copy and the phone share one screen's height, so trim
   the copy back to what's load-bearing and let the phone have the rest.
   The note is supplementary — the labels carry the point. */
@media (max-width: 899px) {
  .showcase__copy h2 { font-size: clamp(1.6rem, 6vw, 2.1rem); }
  .showcase__copy .lede { font-size: 0.95rem; }
  .showcase__meta { margin-top: 16px; }
  .showcase__note { display: none; }
}

/* --- phone --- */

/* Width is capped by the space actually left over vertically, so the phone
   can never overflow the pinned viewport on short screens. 0.47 ~= 9/19,
   the phone's aspect ratio; the subtracted px is the stacked copy above it. */
.phone {
  position: relative;
  width: min(clamp(180px, 54vw, 286px), calc((100vh - 340px) * 0.47));
  aspect-ratio: 9 / 19;
  background: #0a1424;
  border: 3px solid #26364f;
  border-radius: 34px;
  padding: 8px;
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.45);
  flex-shrink: 0;
}

/* Side-by-side from here up, so the copy no longer eats vertical space. */
@media (min-width: 900px) {
  .phone {
    width: min(clamp(220px, 26vw, 300px), calc((100vh - 130px) * 0.47));
  }
}

.phone__notch {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 86px;
  height: 17px;
  background: #0a1424;
  border-radius: 0 0 12px 12px;
  z-index: 6;
}

.phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  background: #fff;
}

/* Each pane slides up to cover the previous one.
   --i is the pane index; the clamp keeps it parked at 0% once it has
   arrived and at 100% before its turn. */
.pane {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translateY(clamp(0%, calc((var(--i) - var(--p) * 3) * 100%), 100%));
  box-shadow: 0 -18px 34px rgba(0, 0, 0, 0.22);
  display: flex;
  flex-direction: column;
}

/* ---------- 1. Electrical: charcoal + vivid yellow, condensed ---------- */

.pane--elec {
  background: #17171a;
  color: #f2f2f0;
  font-family: var(--font-body);
}

.pe-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 14px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.pe-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.06em;
  color: #ffd400;
}

.pe-tag {
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.12em;
  border: 1px solid #ffd400;
  color: #ffd400;
  padding: 2px 6px;
  border-radius: 3px;
}

.pe-body { padding: 16px 14px; flex: 1; }

.pe-kicker {
  font-family: var(--font-mono);
  font-size: 7px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(242, 242, 240, 0.55);
}

.pe-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 30px;
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 8px 0 14px;
}

.pe-btn {
  background: #ffd400;
  color: #17171a;
  font-weight: 800;
  font-size: 10.5px;
  text-align: center;
  padding: 11px;
  border-radius: 2px;
  letter-spacing: 0.02em;
}

.pe-grid {
  margin-top: 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.pe-grid span {
  background: #17171a;
  font-family: var(--font-mono);
  font-size: 7.5px;
  letter-spacing: 0.04em;
  padding: 9px 7px;
  color: rgba(242, 242, 240, 0.8);
}

/* ---------- 2. Plumbing: white + royal blue, rounded, friendly ---------- */

.pane--plumb {
  background: #ffffff;
  color: #0f172a;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

.pp-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 22px 16px 12px;
  font-weight: 700;
  font-size: 11px;
  color: #1d4ed8;
}

.pp-mark {
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: #1d4ed8;
  flex-shrink: 0;
}

.pp-body { padding: 10px 16px 16px; flex: 1; }

.pp-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.pp-sub {
  font-size: 9.5px;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 14px;
}

.pp-cta {
  background: #1d4ed8;
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
  text-align: center;
  padding: 12px;
  border-radius: 999px;
}

.pp-cards {
  margin-top: 12px;
  display: grid;
  gap: 8px;
}

.pp-card {
  background: #eff6ff;
  border: 1px solid #dbeafe;
  border-radius: 12px;
  padding: 10px 12px;
  font-size: 9.5px;
  font-weight: 600;
  color: #1e3a8a;
}

/* ---------- 3. Roofing: forest green + cream, serif, premium ---------- */

.pane--roof {
  background: #143a2a;
  color: #f2ece0;
  font-family: Georgia, "Times New Roman", serif;
}

.pr-top {
  padding: 24px 16px 14px;
  text-align: center;
  font-size: 10px;
  letter-spacing: 0.28em;
  color: #cbb994;
  border-bottom: 1px solid rgba(242, 236, 224, 0.18);
}

.pr-body { padding: 20px 16px; flex: 1; text-align: center; }

.pr-title {
  font-size: 21px;
  line-height: 1.2;
  margin-bottom: 10px;
}

.pr-sub {
  font-size: 9.5px;
  line-height: 1.6;
  color: rgba(242, 236, 224, 0.72);
  margin-bottom: 18px;
  font-style: italic;
}

.pr-btn {
  border: 1px solid #cbb994;
  color: #cbb994;
  font-family: Georgia, serif;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
  padding: 11px;
}

.pr-rule {
  height: 1px;
  background: rgba(242, 236, 224, 0.18);
  margin: 18px 0 10px;
}

.pr-foot {
  font-size: 8px;
  letter-spacing: 0.14em;
  color: rgba(242, 236, 224, 0.6);
  text-transform: uppercase;
}

/* ---------- 4. HVAC: off-white + teal, geometric minimal ---------- */

.pane--hvac {
  background: #f7f7f4;
  color: #0f2e2b;
  font-family: var(--font-body);
}

.ph-top {
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 22px 16px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #0d7d72;
}

.ph-mark {
  width: 13px;
  height: 13px;
  border: 3px solid #0d7d72;
  border-radius: 50%;
  flex-shrink: 0;
}

.ph-body { padding: 12px 16px 16px; flex: 1; }

.ph-temp {
  font-size: 52px;
  font-weight: 300;
  letter-spacing: -0.05em;
  line-height: 1;
  color: #0d7d72;
  margin-bottom: 6px;
}

.ph-temp span { font-size: 26px; vertical-align: super; }

.ph-title {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

.ph-btn {
  background: #0d7d72;
  color: #fff;
  font-weight: 700;
  font-size: 10.5px;
  text-align: center;
  padding: 12px;
  border-radius: 6px;
}

.ph-row {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
}

.ph-row span {
  font-size: 9.5px;
  font-weight: 600;
  padding: 9px 0;
  border-bottom: 1px solid #e2e2dc;
  color: #3d5a56;
}

.ph-row span:last-child { border-bottom: 0; }

/* --- static fallback: no JS, or reduced motion ---
   Shows the four panes as a simple stack instead of a scroll effect. --- */

.showcase.is-static .showcase__track { height: auto; }

.showcase.is-static .showcase__sticky {
  position: static;
  height: auto;
  min-height: 0;
  padding-block: var(--section-pad-y);
}

.showcase.is-static .pane {
  transform: none;
  box-shadow: none;
}

/* only the last pane is visible in the stack; the labels collapse to one */
.showcase.is-static .pane:not(:last-child) { display: none; }
.showcase.is-static .showcase__labels { display: none; }
.showcase.is-static .showcase__dots { display: none; }

@media (prefers-reduced-motion: reduce) {
  .showcase__track { height: auto; }
  .showcase__sticky {
    position: static;
    height: auto;
    min-height: 0;
    padding-block: var(--section-pad-y);
  }
  .pane { transform: none; box-shadow: none; }
  .pane:not(:last-child) { display: none; }
  .showcase__labels { display: none; }
  .showcase__dots { display: none; }
}

/* ==========================================================================
   Feature grid (What You Get)
   ========================================================================== */

.feature-grid {
  display: grid;
  gap: 20px;
  grid-template-columns: 1fr;
  margin-bottom: 32px;
}

@media (min-width: 640px) {
  .feature-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: var(--color-navy-soft);
  border: 1px solid var(--color-border-dark);
  border-radius: var(--radius-md);
  padding: 26px;
}

.feature-card__icon {
  width: 30px;
  height: 30px;
  color: var(--color-yellow);
  margin-bottom: 16px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-size: 1.3rem;
}

.feature-card p {
  color: rgba(242, 244, 245, 0.78);
  font-size: 0.98rem;
}

.pricing-note {
  border-top: 1px solid var(--color-border-dark);
  padding-top: 24px;
  color: rgba(242, 244, 245, 0.78);
  max-width: 60ch;
}

.pricing-note strong {
  color: var(--color-white);
}

/* ==========================================================================
   Assurance strip (ownership)
   ========================================================================== */

.assurance {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: rgba(240, 99, 26, 0.09);
  border: 1px solid rgba(240, 99, 26, 0.35);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-bottom: 28px;
}

.assurance__icon {
  width: 30px;
  height: 30px;
  flex-shrink: 0;
  color: var(--color-orange);
  margin-top: 2px;
}

.assurance h3 {
  font-size: 1.35rem;
  margin-bottom: 8px;
  color: var(--color-white);
}

.assurance p {
  color: rgba(242, 244, 245, 0.82);
  max-width: 62ch;
  font-size: 0.98rem;
}

/* ==========================================================================
   FAQ — native <details>, no JS
   ========================================================================== */

.faq {
  border-top: 1px solid var(--color-border);
  max-width: 780px;
}

.faq__item {
  border-bottom: 1px solid var(--color-border);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  list-style: none;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.1rem, 0.6vw + 1rem, 1.35rem);
  color: var(--color-navy);
  transition: color var(--dur) var(--ease);
}

.faq__item summary::-webkit-details-marker { display: none; }

.faq__item summary:hover { color: var(--color-orange-dark); }

.faq__item summary::after {
  content: "";
  flex-shrink: 0;
  width: 13px;
  height: 13px;
  border-right: 2.5px solid var(--color-orange);
  border-bottom: 2.5px solid var(--color-orange);
  transform: rotate(45deg) translate(-2px, -2px);
  transition: transform var(--dur) var(--ease);
}

.faq__item[open] summary::after {
  transform: rotate(225deg) translate(-2px, -2px);
}

.faq__answer {
  padding: 0 4px 24px;
}

.faq__answer p {
  color: var(--color-gray);
  max-width: 66ch;
}

/* ==========================================================================
   Ticket card — signature component
   ========================================================================== */

.ticket-grid {
  display: grid;
  gap: 28px;
  grid-template-columns: 1fr;
}

@media (min-width: 720px) {
  .ticket-grid--4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1080px) {
  .ticket-grid--4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .ticket-grid--2 {
    grid-template-columns: repeat(2, 1fr);
  }
}

.ticket {
  position: relative;
  background: var(--color-paper);
  border-radius: var(--radius-md);
  box-shadow: 0 1px 0 rgba(18, 33, 58, 0.04);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
}

.ticket__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 20px;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray);
}

.ticket__tag {
  font-weight: 600;
  color: var(--color-navy);
}

.ticket__status {
  padding: 3px 9px;
  border-radius: 999px;
  font-weight: 600;
  background: rgba(78, 114, 144, 0.14);
  color: var(--color-steel-dark);
}

.ticket__status--live {
  background: rgba(240, 99, 26, 0.14);
  color: var(--color-orange-dark);
}

.ticket__status--progress {
  background: rgba(245, 183, 0, 0.22);
  color: #8a6300;
}

.ticket__divider {
  position: relative;
  height: 0;
  border-top: 2px dashed var(--color-border-dashed);
}

.ticket__divider::before,
.ticket__divider::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--section-bg, var(--color-white));
  transform: translateY(-50%);
}

.ticket__divider::before {
  left: -10px;
}

.ticket__divider::after {
  right: -10px;
}

.ticket__body {
  padding: 22px 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ticket__number {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--color-border);
  line-height: 1;
}

.ticket__body h3 {
  font-size: 1.2rem;
}

.ticket__body p {
  font-size: 0.95rem;
  color: var(--color-gray);
}

.ticket__body h3 a {
  color: inherit;
  text-decoration: none;
}

.ticket__body h3 a:hover {
  text-decoration: underline;
}

.ticket__links {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-top: 10px;
}

.ticket__link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--color-orange-dark);
  text-decoration: none;
}

.ticket__link--muted {
  color: var(--color-gray);
  font-weight: 600;
}

.ticket__link:hover {
  text-decoration: underline;
}

.ticket--muted {
  opacity: 0.88;
}

.ticket--muted .ticket__body h3 {
  color: var(--color-gray);
}

/* ==========================================================================
   Proof section
   ========================================================================== */

.proof__intro {
  margin-bottom: 40px;
}

/* ==========================================================================
   About — founder placeholder
   ========================================================================== */

.about {
  display: grid;
  gap: 32px;
  grid-template-columns: 1fr;
  align-items: start;
}

@media (min-width: 860px) {
  .about {
    grid-template-columns: 0.9fr 1.1fr;
  }
}

.founder-note {
  position: relative;
  border: 1px solid var(--color-border);
  border-left: 4px solid var(--color-orange);
  border-radius: var(--radius-md);
  padding: 28px 30px;
  background: var(--color-paper);
}

.founder-note p {
  font-size: 1.02rem;
  color: var(--color-gray);
  margin-bottom: 14px;
}

.founder-note p:first-child {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--color-navy);
}

.founder-note p:last-child {
  margin-bottom: 0;
}

.about-facts {
  display: grid;
  gap: 18px;
}

.about-fact {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.about-fact__icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--color-orange-dark);
  margin-top: 2px;
}

.about-fact p {
  color: var(--color-gray);
  font-size: 0.98rem;
}

.about-fact strong {
  color: var(--color-navy);
}

/* ==========================================================================
   Contact
   ========================================================================== */

.contact-grid {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1.1fr;
  }
}

.contact-direct {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border-dark);
  background: var(--color-navy-soft);
  text-decoration: none;
  color: var(--color-white);
  transition: transform var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.contact-card:hover {
  transform: translateY(-2px);
  border-color: var(--color-orange);
}

.contact-card__icon {
  width: 26px;
  height: 26px;
  flex-shrink: 0;
  color: var(--color-orange);
}

.contact-card__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(242, 244, 245, 0.6);
  margin-bottom: 3px;
}

.contact-card__value {
  font-weight: 700;
  font-size: 1.15rem;
}

.contact-form {
  background: var(--color-paper);
  border-radius: var(--radius-md);
  padding: 28px;
  color: var(--color-navy);
}

.form-row {
  display: grid;
  gap: 16px;
  margin-bottom: 16px;
}

@media (min-width: 520px) {
  .form-row--split {
    grid-template-columns: 1fr 1fr;
  }
}

.field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-navy);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 1rem;
  background: var(--color-white);
  color: var(--color-navy);
  transition: border-color var(--dur) var(--ease);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--color-orange);
}

.field textarea {
  min-height: 110px;
  resize: vertical;
}

.form-note {
  font-size: 0.82rem;
  color: var(--color-gray);
  margin-top: 12px;
}

.form-success {
  background: var(--color-paper);
  border-radius: var(--radius-md);
  padding: 40px 28px;
  color: var(--color-navy);
  text-align: center;
  border-top: 4px solid var(--color-orange);
}

.form-success:focus { outline: none; }

.form-success h3 { margin-bottom: 10px; }

.form-success p {
  color: var(--color-gray);
  max-width: 34ch;
  margin-inline: auto;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--color-navy);
  color: rgba(242, 244, 245, 0.7);
  padding-block: 44px calc(44px + var(--call-bar-height));
}

@media (min-width: 900px) {
  .site-footer {
    padding-bottom: 44px;
  }
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  border-bottom: 1px solid var(--color-border-dark);
  padding-bottom: 28px;
  margin-bottom: 20px;
}

.footer-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--color-white);
  text-decoration: none;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-size: 0.92rem;
}

.footer-links a {
  text-decoration: none;
  color: rgba(242, 244, 245, 0.75);
}

.footer-links a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.82rem;
}

/* ==========================================================================
   Mobile call bar
   ========================================================================== */

.call-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  height: var(--call-bar-height);
  padding-inline: 14px;
  background: var(--color-orange);
  border-top: 2px solid var(--color-orange-dark);
}

.call-bar a {
  text-decoration: none;
  color: var(--color-navy);
}

.call-bar__call {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1rem;
  height: 100%;
}

.call-bar__icon {
  width: 20px;
  height: 20px;
}

.call-bar__demo {
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.88rem;
  border-left: 1.5px solid rgba(18, 33, 58, 0.25);
  padding-left: 14px;
}

@media (min-width: 900px) {
  .call-bar {
    display: none;
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */

[data-reveal] {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 600ms var(--ease), transform 600ms var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ==========================================================================
   Case study page
   ========================================================================== */

.cs-hero {
  padding-top: clamp(48px, 7vw, 88px);
}

.cs-hero__back {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--color-gray);
  margin-bottom: 24px;
}

.cs-hero__back:hover {
  color: var(--color-navy);
}

.cs-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 32px;
}

.cs-meta__item {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  padding: 7px 14px;
  color: var(--color-gray);
}

.cs-body {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr;
}

@media (min-width: 860px) {
  .cs-body {
    grid-template-columns: 1.3fr 0.9fr;
  }
}

.cs-body h2 {
  font-size: clamp(1.5rem, 1.4vw + 1rem, 2rem);
  margin-top: 32px;
  margin-bottom: 12px;
}

.cs-body h2:first-child {
  margin-top: 0;
}

.cs-body p {
  color: var(--color-gray);
  margin-bottom: 14px;
}

.cs-facts {
  align-self: start;
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 24px;
  display: grid;
  gap: 18px;
}

.cs-fact dt {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray);
  margin-bottom: 4px;
}

.cs-fact dd {
  margin: 0;
  font-weight: 700;
  color: var(--color-navy);
}

.cs-frame {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-navy);
  margin: 32px 0 8px;
}

.cs-frame__bar {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 16px;
  background: var(--color-navy-soft);
}

.cs-frame__dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(242, 244, 245, 0.25);
}

.cs-frame__url {
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: rgba(242, 244, 245, 0.6);
}

.cs-frame__body {
  padding: 56px 24px;
  text-align: center;
  color: rgba(242, 244, 245, 0.85);
}

.cs-frame__body h3 {
  color: var(--color-white);
}

.cs-frame__body p {
  color: rgba(242, 244, 245, 0.6);
  font-size: 0.9rem;
  margin-top: 8px;
}
