/* ==========================================================================
   Velocube — site.css
   One stylesheet for the whole site. Dark premium system: near-black base,
   hairline borders, warm off-white type, orange used sparingly, grain
   texture, and a serif italic accent face for editorial detail.
   ========================================================================== */

/* ---- Design tokens ---- */
:root {
  --bg: #0a0908;
  --surface: #131110;
  --surface-2: #1a1613;
  --border: rgba(244, 241, 236, 0.09);
  --border-strong: rgba(244, 241, 236, 0.17);
  --border-brighter: rgba(244, 241, 236, 0.28);

  --text: #f4f1ec;
  --text-dim: #a49c91;
  --text-faint: #6f685e;

  --orange: #ff5c1a;
  --orange-bright: #ff8b4d;
  --orange-deep: #c2410c;
  --orange-glow: rgba(255, 92, 26, 0.16);

  --font-display: "Clash Display", "Segoe UI", Arial, sans-serif;
  --font-body: "Switzer", "Segoe UI", Arial, sans-serif;
  --font-serif: "Boska", Georgia, "Times New Roman", serif;

  --container: 74rem;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --radius: 10px;
  --radius-lg: 18px;
  --header-h: 4.5rem;

  --section-pad: clamp(4.5rem, 9vw, 7.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---- Reset / base ---- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--header-h) + 1rem);
  -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* Fixed grain overlay — a small tactile detail that separates a designed
   surface from a flat template. Kept extremely subtle and non-interactive. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

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

a {
  color: var(--orange-bright);
  text-decoration: none;
}

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

ul,
ol {
  list-style: none;
}

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

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

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

::selection {
  background: var(--orange);
  color: #0c0b0a;
}

/* ---- Typography ---- */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.02em;
  text-wrap: balance;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(2.75rem, 6.8vw, 4.9rem);
}

h2 {
  font-size: clamp(1.9rem, 4.2vw, 3rem);
}

h3 {
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  font-weight: 600;
  line-height: 1.25;
}

p {
  text-wrap: pretty;
}

.text-dim {
  color: var(--text-dim);
}

.accent {
  color: var(--orange);
}

/* Serif italic accent — used sparingly inside headlines for an editorial,
   designed-by-hand feel rather than a single uniform display weight. */
.serif-accent {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0;
  color: var(--orange);
}

/* ---- Layout helpers ---- */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

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

.section-rule {
  border-top: 1px solid var(--border);
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.75rem, 5.5vw, 4.5rem);
}

.section-head p {
  color: var(--text-dim);
  margin-top: 1.25rem;
  font-size: clamp(1.05rem, 1.6vw, 1.15rem);
}

/* Numbered eyebrow: a small bracketed index mark instead of a plain
   uppercase label — reads as a designed system, not a template default. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 1.4rem;
}

.eyebrow .idx {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.75rem;
  height: 1.75rem;
  padding-inline: 0.4rem;
  border: 1px solid var(--border-strong);
  border-radius: 4px;
  font-family: var(--font-display);
  font-size: 0.7rem;
  letter-spacing: 0.02em;
  color: var(--orange-bright);
}

.eyebrow::after {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  padding: 0.85rem 1.75rem;
  border-radius: 6px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9375rem;
  letter-spacing: 0.02em;
  line-height: 1.2;
  text-align: center;
  position: relative;
  transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.25s var(--ease), box-shadow 0.25s;
}

.btn-primary {
  background: linear-gradient(155deg, var(--orange-bright), var(--orange) 55%, var(--orange-deep));
  color: #170b04;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(255, 92, 26, 0.32);
}

.btn-ghost {
  border: 1px solid var(--border-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.02);
}

.btn-ghost:hover {
  border-color: var(--orange);
  color: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.35);
}

/* Inline text link with arrow */
.arrow-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.975rem;
  color: var(--orange-bright);
  border-bottom: 1px solid transparent;
  padding-bottom: 0.15rem;
  transition: border-color 0.25s;
}

.arrow-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.arrow-link:hover {
  border-color: var(--orange);
}

.arrow-link:hover::after {
  transform: translateX(4px);
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  padding: 0.75rem 1.25rem;
  background: var(--orange);
  color: #0c0b0a;
  font-weight: 600;
  border-radius: 0 0 var(--radius) var(--radius);
}

.skip-link:focus {
  top: 0;
  color: #0c0b0a;
}

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}

.site-header::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange-deep) 20%, var(--orange) 50%, var(--orange-deep) 80%, transparent);
  opacity: 0.55;
}

.site-header.scrolled {
  background: rgba(10, 9, 8, 0.86);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom-color: var(--border);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--text);
}

.brand:hover {
  color: var(--text);
}

.brand img {
  width: 2rem;
  height: auto;
  flex: none;
}

.brand-word {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1;
}

.brand-word .bw-velo {
  color: var(--orange);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(0.9rem, 2vw, 1.75rem);
}

.nav-menu a:not(.btn) {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.5rem 0.15rem;
  transition: color 0.2s;
}

.nav-menu a:not(.btn):hover {
  color: var(--text);
}

.nav-menu a[aria-current="page"] {
  color: var(--text);
  box-shadow: inset 0 -2px 0 0 var(--orange);
}

.nav-menu .btn {
  min-height: 2.6rem;
  padding: 0.55rem 1.25rem;
  font-size: 0.875rem;
}

.nav-toggle {
  display: none;
  position: relative;
  z-index: 120;
  width: 2.75rem;
  height: 2.75rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border-radius: 8px;
}

.nav-toggle span {
  display: block;
  width: 1.5rem;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

@media (max-width: 900px) {
  .nav-toggle {
    display: flex;
  }

  /* The header sets backdrop-filter, which makes it the containing block
     for position:fixed descendants — so `inset: 0` here would size the
     menu to the 72px header rather than the viewport, clipping most of
     the links. The header is pinned at the viewport's top-left, so
     explicit viewport units give us the full-screen overlay we want.
     dvh follows mobile browsers' collapsing address bar. */
  .nav-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 110;
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: calc(var(--header-h) + 1.5rem) clamp(1.5rem, 6vw, 2.5rem)
      max(2.5rem, env(safe-area-inset-bottom));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    background: rgba(10, 9, 8, 0.97);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
  }

  .nav-menu a:not(.btn) {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.6rem;
    color: var(--text);
    padding: 0.65rem 0;
    border-bottom: 1px solid var(--border);
    width: 100%;
  }

  .nav-menu a[aria-current="page"] {
    color: var(--orange-bright);
    box-shadow: none;
  }

  .nav-menu .btn {
    margin-top: 1.25rem;
    width: 100%;
    min-height: 3.25rem;
  }

  .nav-menu.open {
    opacity: 1;
    visibility: visible;
  }

  body.nav-open {
    overflow: hidden;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}

/* ==========================================================================
   Page hero (subpages) + home hero
   ========================================================================== */
.page-hero {
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  top: -40%;
  right: -15%;
  width: 42rem;
  height: 42rem;
  background: radial-gradient(circle, var(--orange-glow), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
}

.page-hero p.lede {
  color: var(--text-dim);
  font-size: clamp(1.1rem, 1.8vw, 1.25rem);
  max-width: 40rem;
  margin-top: 1.5rem;
}

.page-hero .hero-ctas {
  margin-top: 2.25rem;
}

/* Home hero */
.home-hero {
  padding-top: calc(var(--header-h) + clamp(4rem, 9vw, 7rem));
  padding-bottom: clamp(3.5rem, 7vw, 6rem);
  position: relative;
  overflow: hidden;
}

.home-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 25%, transparent 70%);
  mask-image: radial-gradient(ellipse 85% 75% at 50% 20%, #000 25%, transparent 70%);
  opacity: 0.7;
  pointer-events: none;
}

.home-hero::after {
  content: "";
  position: absolute;
  top: -30%;
  left: 50%;
  transform: translateX(-50%);
  width: 56rem;
  height: 34rem;
  background: radial-gradient(ellipse, var(--orange-glow), transparent 65%);
  pointer-events: none;
}

.home-hero .container {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: center;
}

.home-hero h1 .accent {
  color: var(--orange);
}

.home-hero .lede {
  color: var(--text-dim);
  font-size: clamp(1.1rem, 1.8vw, 1.3rem);
  max-width: 36rem;
  margin-top: 1.6rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.4rem;
}

.hero-note {
  margin-top: 1.5rem;
  font-size: 0.9375rem;
  color: var(--text-faint);
}

/* Hero visual: the mascot sits inside a framed panel with corner brackets
   and a caption strip, like a plate in a printed spec sheet rather than a
   floating cutout illustration. */
.hero-frame {
  position: relative;
  background:
    radial-gradient(ellipse at 50% 15%, rgba(255, 92, 26, 0.12), transparent 60%),
    #000;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.hero-frame::before,
.hero-frame::after,
.corner-brackets .b-tl,
.corner-brackets .b-tr,
.corner-brackets .b-bl,
.corner-brackets .b-br {
  content: "";
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  border-color: var(--orange-bright);
  opacity: 0.6;
  pointer-events: none;
}

.hero-frame::before {
  top: 0.85rem;
  left: 0.85rem;
  border-top: 1.5px solid var(--orange-bright);
  border-left: 1.5px solid var(--orange-bright);
}

.hero-frame::after {
  top: 0.85rem;
  right: 0.85rem;
  border-top: 1.5px solid var(--orange-bright);
  border-right: 1.5px solid var(--orange-bright);
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 1 / 1.05;
  object-fit: cover;
  object-position: 50% 14%;
}

.hero-frame figcaption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.9rem 1.25rem;
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.02);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-faint);
}

.hero-frame figcaption .accent {
  color: var(--orange-bright);
}

@media (max-width: 900px) {
  .home-hero .container {
    grid-template-columns: 1fr;
  }

  .hero-frame img {
    aspect-ratio: 1 / 0.8;
    object-position: 50% 20%;
  }
}

/* ==========================================================================
   Capability marquee — a moving strip beneath the hero, not a static list
   ========================================================================== */
.marquee {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: var(--surface);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: clamp(2rem, 5vw, 3.5rem);
  padding-block: 1.1rem;
  animation: marquee 34s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: clamp(2rem, 5vw, 3.5rem);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  color: var(--text-dim);
  white-space: nowrap;
}

.marquee-track span::after {
  content: "";
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

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

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* ==========================================================================
   Shared components
   ========================================================================== */

/* Corner-bracket cards — replaces the flat uniform tile grid with a card
   that reveals a frame on hover, like a viewfinder locking onto a subject.
   Used sparingly, not for every grid on the site. */
.bracket-grid {
  display: grid;
  gap: 1.25rem;
}

.bracket-grid.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.bracket-grid.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.bracket-grid.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.bracket-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2rem);
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease);
}

.bracket-card::before,
.bracket-card::after {
  content: "";
  position: absolute;
  width: 0.85rem;
  height: 0.85rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.bracket-card::before {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid var(--orange);
  border-left: 1.5px solid var(--orange);
  transform: translate(4px, 4px);
}

.bracket-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid var(--orange);
  border-right: 1.5px solid var(--orange);
  transform: translate(-4px, -4px);
}

.bracket-card:hover {
  border-color: var(--border-strong);
  background: var(--surface-2);
  transform: translateY(-2px);
}

.bracket-card:hover::before,
.bracket-card:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

a.bracket-card {
  display: block;
  color: var(--text);
}

a.bracket-card:hover {
  color: var(--text);
}

.bracket-card .t-label {
  display: block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.9rem;
}

.bracket-card h3 {
  font-size: 1.1rem;
}

.bracket-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 0.55rem;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .bracket-grid.cols-3,
  .bracket-grid.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .bracket-grid.cols-2,
  .bracket-grid.cols-3,
  .bracket-grid.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* Fact strip — big serif numerals, masthead-style rules instead of cards */
.fact-strip {
  border-top: 1px solid var(--border-strong);
  border-bottom: 1px solid var(--border);
}

.fact-strip .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.fact {
  padding: clamp(1.75rem, 4vw, 2.75rem) clamp(1rem, 2.5vw, 2rem);
  border-left: 1px solid var(--border);
}

.fact:first-child {
  border-left: 0;
  padding-left: 0;
}

.fact-num {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.6rem, 5.5vw, 4rem);
  line-height: 1;
  color: var(--text);
}

.fact-num .accent {
  color: var(--orange);
}

.fact p:last-child {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-dim);
  max-width: 16rem;
}

@media (max-width: 800px) {
  .fact-strip .container {
    grid-template-columns: 1fr;
  }

  .fact {
    border-left: 0;
    border-top: 1px solid var(--border);
    padding-inline: 0;
  }

  .fact:first-child {
    border-top: 0;
  }

  .fact p:last-child {
    max-width: none;
  }
}

/* Numbered service entries (services page) */
.svc-group {
  margin-bottom: clamp(3rem, 6vw, 4.5rem);
}

.svc-group-title {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--orange-bright);
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-strong);
  margin-bottom: 0;
  font-family: var(--font-body);
}

.svc-entry {
  display: grid;
  grid-template-columns: 4rem minmax(0, 0.9fr) minmax(0, 1.5fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.6rem, 3vw, 2.2rem) 0;
  border-bottom: 1px solid var(--border);
  transition: background 0.25s;
}

.svc-entry:hover {
  background: linear-gradient(90deg, rgba(255, 92, 26, 0.04), transparent 40%);
}

.svc-entry .num {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.35rem;
  color: var(--orange);
  padding-top: 0.1rem;
}

.svc-entry h3 {
  font-size: clamp(1.15rem, 2vw, 1.35rem);
}

.svc-entry p {
  color: var(--text-dim);
  font-size: 0.995rem;
}

@media (max-width: 800px) {
  .svc-entry {
    grid-template-columns: 3rem 1fr;
    row-gap: 0.4rem;
  }

  .svc-entry p {
    grid-column: 2;
  }
}

/* Split feature band (pricing advantage, management teaser) */
.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}

.split .panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
}

.split .panel::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.75rem;
  width: 2.5rem;
  height: 2px;
  background: var(--orange);
}

.split h2 {
  font-size: clamp(1.7rem, 3.6vw, 2.5rem);
}

.split p {
  color: var(--text-dim);
  margin-top: 1.1rem;
}

.split .arrow-link,
.split .btn {
  margin-top: 1.75rem;
}

@media (max-width: 800px) {
  .split {
    grid-template-columns: 1fr;
  }
}

/* Checklist rows (management page, panels) */
.check-list li {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  padding: 0.7rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.975rem;
}

.check-list li:last-child {
  border-bottom: 0;
}

.check-list li::before {
  content: "";
  flex: none;
  width: 0.45rem;
  height: 0.45rem;
  background: var(--orange);
  transform: translateY(-2px);
}

/* Price cards (pricing page) */
.price-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.price-card {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2rem);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 0.25s, transform 0.25s var(--ease);
}

.price-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--orange), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.price-card:hover {
  border-color: rgba(255, 92, 26, 0.45);
  transform: translateY(-3px);
}

.price-card:hover::before {
  opacity: 1;
}

.price-card .p-name {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
}

.price-card .p-amount {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(2.2rem, 4.4vw, 2.9rem);
  line-height: 1;
  color: var(--orange);
  margin-top: 0.9rem;
}

.price-card .p-amount small {
  font-size: 0.4em;
  font-style: normal;
  font-family: var(--font-body);
  color: var(--text-dim);
  font-weight: 500;
}

.price-card .p-desc {
  color: var(--text-dim);
  font-size: 0.95rem;
  margin-top: 0.9rem;
}

.price-card ul {
  margin-top: 1.1rem;
  border-top: 1px solid var(--border);
}

.price-card ul li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
  color: var(--text-dim);
  display: flex;
  gap: 0.65rem;
  align-items: baseline;
}

.price-card ul li::before {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--orange);
  transform: translateY(-2px);
}

.price-card ul li:last-child {
  border-bottom: 0;
}

.estimate-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-bright);
  border: 1px solid rgba(255, 92, 26, 0.35);
  border-radius: 4px;
  padding: 0.2rem 0.55rem;
  margin-bottom: 1rem;
  width: fit-content;
}

@media (max-width: 900px) {
  .price-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .price-grid {
    grid-template-columns: 1fr;
  }
}

/* Simple rate rows (add-ons) */
.rate-list {
  border-top: 1px solid var(--border-strong);
}

.rate-row {
  display: flex;
  align-items: baseline;
  gap: 0.9rem;
  padding: 1.05rem 0;
  border-bottom: 1px solid var(--border);
}

.rate-row h3 {
  font-size: 1.05rem;
  flex: none;
}

.rate-row .note {
  color: var(--text-faint);
  font-size: 0.9rem;
}

.rate-row .leader {
  flex: 1;
  border-bottom: 1px dotted var(--border-strong);
  transform: translateY(-0.3rem);
  min-width: 1.5rem;
}

.rate-row .rate {
  flex: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--orange-bright);
  white-space: nowrap;
}

.rate-row .rate small {
  font-size: 0.75em;
  color: var(--text-dim);
}

/* Role cards (careers) */
.role {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 1.5rem;
  overflow: hidden;
}

.role::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: linear-gradient(180deg, var(--orange), transparent);
}

.role-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.role-head h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.role-head .role-type {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange-bright);
}

.role-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.role-cols h3 {
  font-size: 0.78125rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-dim);
  font-family: var(--font-body);
  margin-bottom: 0.75rem;
}

.role-cols ul li {
  padding: 0.45rem 0;
  font-size: 0.975rem;
  color: var(--text-dim);
  display: flex;
  gap: 0.7rem;
  align-items: baseline;
}

.role-cols ul li::before {
  content: "";
  flex: none;
  width: 0.4rem;
  height: 0.4rem;
  background: var(--orange);
  transform: translateY(-2px);
}

.role .role-growth {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.975rem;
}

.role .role-growth strong {
  color: var(--text);
}

@media (max-width: 700px) {
  .role-cols {
    grid-template-columns: 1fr;
  }
}

/* Apply / info panel */
.info-panel {
  position: relative;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  overflow: hidden;
}

.info-panel::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 3px;
  background: var(--orange);
}

.info-panel h2,
.info-panel h3 {
  font-size: clamp(1.25rem, 2.4vw, 1.6rem);
}

.info-panel p {
  color: var(--text-dim);
  margin-top: 0.8rem;
}

.info-panel a:not(.btn) {
  color: var(--orange-bright);
  font-weight: 500;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: start;
}

.contact-aside > p {
  color: var(--text-dim);
  max-width: 28rem;
}

.contact-list {
  margin-top: 2rem;
  border-top: 1px solid var(--border-strong);
  max-width: 24rem;
}

.contact-list li {
  border-bottom: 1px solid var(--border);
}

.contact-list a {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 1rem 0;
  color: var(--text);
  font-weight: 500;
  transition: color 0.2s;
}

.contact-list a:hover {
  color: var(--orange-bright);
}

.contact-list svg {
  width: 1.2rem;
  height: 1.2rem;
  color: var(--orange);
  flex: none;
}

.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: clamp(1.75rem, 4vw, 2.75rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem 1.6rem;
}

.honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-dim);
}

.field .req {
  color: var(--orange);
}

.field input,
.field select,
.field textarea {
  border: 1px solid var(--border-strong);
  border-radius: 6px;
  background: var(--bg);
  padding: 0.7rem 0.9rem;
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.6;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 92, 26, 0.18);
}

.field select {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23ff8b4d' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  padding-right: 2.4rem;
}

.contact-form .btn {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0.25rem;
}

.form-status {
  grid-column: 1 / -1;
  font-size: 0.95rem;
  display: none;
}

.form-status.ok {
  display: block;
  color: #57c274;
}

.form-status.err {
  display: block;
  color: #e5695f;
}

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

  .contact-form {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.cta-band {
  border-top: 1px solid var(--border);
  position: relative;
  background: var(--surface);
  padding-block: clamp(4rem, 8vw, 6.5rem);
  text-align: center;
  overflow: hidden;
}

.cta-band::before {
  content: "";
  position: absolute;
  bottom: -60%;
  left: 50%;
  transform: translateX(-50%);
  width: 44rem;
  height: 30rem;
  background: radial-gradient(ellipse, var(--orange-glow), transparent 70%);
  pointer-events: none;
}

.cta-band .container {
  position: relative;
}

.cta-band h2 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
}

.cta-band p {
  color: var(--text-dim);
  max-width: 34rem;
  margin: 1.25rem auto 0;
}

.cta-band .hero-ctas {
  justify-content: center;
  margin-top: 2.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding-top: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  padding-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.footer-brand p {
  color: var(--text-dim);
  margin-top: 1rem;
  max-width: 24rem;
  font-size: 0.95rem;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-faint);
  margin-bottom: 1.1rem;
  font-family: var(--font-body);
}

.footer-col li {
  margin-bottom: 0.5rem;
}

.footer-col a {
  color: var(--text-dim);
  font-weight: 500;
  font-size: 0.95rem;
  display: inline-flex;
  align-items: center;
  min-height: 1.9rem;
}

.footer-col a:hover {
  color: var(--orange-bright);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding-block: 1.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-faint);
  font-size: 0.875rem;
}

@media (max-width: 800px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Scroll reveal
   ========================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  transition-delay: var(--reveal-delay, 0s);
}

[data-reveal].revealed {
  opacity: 1;
  transform: none;
}

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

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ==========================================================================
   Home page — light theme
   Modeled on Deputy.com and Grammarly.com: white surfaces, bold rounded
   sans headlines, solid-fill rounded buttons, icon-topped feature cards,
   a trust bar, and clean pricing-preview cards. Scoped to body.home-theme
   so the rest of the site keeps the dark editorial system.
   ========================================================================== */
body.home-theme {
  --hbg: #ffffff;
  --hbg-soft: #f6f4f1;
  --htext: #14120f;
  --htext-dim: #5c584f;
  --htext-faint: #8b8579;
  --hborder: rgba(20, 18, 15, 0.09);
  --hborder-strong: rgba(20, 18, 15, 0.16);
  --hshadow-sm: 0 1px 2px rgba(20, 18, 15, 0.04);
  --hshadow-md: 0 12px 28px rgba(20, 18, 15, 0.07);
  --hradius-card: 20px;
  --hradius-btn: 10px;

  /* Re-map the base tokens too, so reused components (split panels,
     info panels, check-lists) flip to the light palette automatically
     instead of needing a light-mode override for every selector. */
  --bg: var(--hbg);
  --surface: #ffffff;
  --surface-2: var(--hbg-soft);
  --border: var(--hborder);
  --border-strong: var(--hborder-strong);
  --text: var(--htext);
  --text-dim: var(--htext-dim);
  --text-faint: var(--htext-faint);

  background: var(--hbg);
  color: var(--htext);
}

body.home-theme::before {
  display: none;
}

/* ---- Header: solid white bar, no blur trick needed ---- */
body.home-theme .site-header {
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid transparent;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

body.home-theme .site-header::before {
  opacity: 0.85;
}

body.home-theme .site-header.scrolled {
  background: rgba(255, 255, 255, 0.96);
  border-bottom-color: var(--hborder);
  box-shadow: var(--hshadow-sm);
}

body.home-theme .brand-word .bw-cube,
body.home-theme .brand {
  color: var(--htext);
}

body.home-theme .nav-menu a:not(.btn) {
  color: var(--htext-dim);
}

body.home-theme .nav-menu a:not(.btn):hover {
  color: var(--htext);
}

body.home-theme .nav-menu a[aria-current="page"] {
  color: var(--htext);
}

body.home-theme .nav-toggle span {
  background: var(--htext);
}

/* Client Login: a quiet secondary entry point that must not compete with
   the orange Get a Quote CTA next to it. */
.nav-menu .nav-login {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
}

.nav-menu .nav-login::before {
  content: "";
  width: 1rem;
  height: 1rem;
  flex: none;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4'/%3E%3Cpolyline points='10 17 15 12 10 7'/%3E%3Cline x1='15' y1='12' x2='3' y2='12'/%3E%3C/svg%3E") center / contain no-repeat;
}

body.home-theme .nav-menu .nav-login {
  color: var(--htext-dim);
}

body.home-theme .nav-menu .nav-login:hover {
  color: var(--orange-deep);
}

@media (max-width: 900px) {
  body.home-theme .nav-menu {
    background: rgba(255, 255, 255, 0.98);
  }

  body.home-theme .nav-menu a:not(.btn) {
    color: var(--htext);
    border-bottom-color: var(--hborder);
  }
}

/* ---- Buttons: solid fill, modest radius, no gradients — matches both
   reference sites' plain, confident CTA style ---- */
body.home-theme .btn-primary {
  background: var(--orange);
  color: #fff;
  border-radius: var(--hradius-btn);
  box-shadow: none;
}

body.home-theme .btn-primary:hover {
  background: var(--orange-deep);
  box-shadow: 0 8px 20px rgba(255, 92, 26, 0.25);
}

body.home-theme .btn-ghost {
  border: 1px solid var(--hborder-strong);
  background: #fff;
  color: var(--htext);
  border-radius: var(--hradius-btn);
}

body.home-theme .btn-ghost:hover {
  border-color: var(--htext);
  box-shadow: none;
}

body.home-theme .arrow-link {
  color: var(--orange-deep);
}

body.home-theme .arrow-link:hover {
  border-color: var(--orange-deep);
}

/* ---- Hero: big bold plain headline, soft color blobs, no serif accent —
   both reference sites lean on weight and size, not mixed type ---- */
.light-hero {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 6rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  overflow: hidden;
  text-align: center;
}

.light-hero::before {
  content: "";
  position: absolute;
  top: -18rem;
  left: 50%;
  transform: translateX(-50%);
  width: 62rem;
  height: 42rem;
  background:
    radial-gradient(38% 46% at 32% 62%, rgba(255, 92, 26, 0.16), transparent 100%),
    radial-gradient(30% 38% at 70% 40%, rgba(255, 139, 77, 0.14), transparent 100%);
  filter: blur(10px);
  pointer-events: none;
}

.light-hero .container {
  position: relative;
}

.light-hero .hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #fff;
  border: 1px solid var(--hborder-strong);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--htext-dim);
  box-shadow: var(--hshadow-sm);
  margin-bottom: 1.75rem;
}

.light-hero .hero-tag .dot {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}

.light-hero h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--htext);
  max-width: 46rem;
  margin-inline: auto;
}

.light-hero .lede {
  color: var(--htext-dim);
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  max-width: 34rem;
  margin: 1.4rem auto 0;
}

.light-hero .hero-ctas {
  justify-content: center;
  margin-top: 2.25rem;
}

.light-hero .hero-note {
  color: var(--htext-faint);
}

.light-hero .hero-note a {
  color: var(--orange-deep);
  font-weight: 600;
}

/* Product-style preview panel beneath the hero — a framed screenshot-like
   plate, the way Deputy and Grammarly show product UI under the fold */
.hero-showcase {
  position: relative;
  margin-top: clamp(3rem, 6vw, 4.5rem);
  background: linear-gradient(155deg, #17130f, #060504);
  border-radius: clamp(18px, 3vw, 28px);
  overflow: hidden;
  box-shadow: var(--hshadow-md);
}

.hero-showcase .showcase-bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-showcase .showcase-bar .dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  flex: none;
}

.hero-showcase .showcase-url {
  margin-left: 0.75rem;
  padding: 0.3rem 0.9rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.75rem;
  font-family: var(--font-body);
}

/* Abstract mock webpage — stands in for a product screenshot without
   depicting any real interface. */
.showcase-screen {
  padding: clamp(1.5rem, 4vw, 2.25rem);
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-logo {
  width: 1.5rem;
  height: 1.5rem;
  border-radius: 6px;
  background: linear-gradient(155deg, var(--orange-bright), var(--orange));
  flex: none;
}

.mock-link {
  width: 2.75rem;
  height: 0.5rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
}

.mock-btn {
  margin-left: auto;
  width: 4rem;
  height: 1.5rem;
  border-radius: 6px;
  background: var(--orange);
  flex: none;
}

.mock-hero {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  padding-bottom: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: clamp(1.5rem, 4vw, 2.25rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-line {
  height: 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
}

.mock-line.lg {
  width: 78%;
  height: 1.15rem;
}

.mock-line.md {
  width: 60%;
}

.mock-line.sm {
  width: 42%;
  background: rgba(255, 255, 255, 0.09);
}

.mock-cta {
  margin-top: 0.6rem;
  width: 7rem;
  height: 2rem;
  border-radius: 8px;
  background: linear-gradient(155deg, var(--orange-bright), var(--orange));
}

.mock-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.mock-card {
  height: 4rem;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.mock-card:nth-child(2) {
  border-color: rgba(255, 92, 26, 0.35);
}

/* ---- Trust bar — pill row echoing Deputy's capability strip / Grammarly's
   "Trusted by..." line ---- */
.trust-bar {
  border-top: 1px solid var(--hborder);
  border-bottom: 1px solid var(--hborder);
  background: var(--hbg-soft);
}

.trust-bar .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding-block: 1.5rem;
}

.trust-bar .trust-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--htext-faint);
  margin-right: 0.5rem;
}

.trust-bar .pill {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid var(--hborder-strong);
  border-radius: 999px;
  padding: 0.45rem 1.05rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--htext);
}

/* ---- Light section head ---- */
.light-theme-section .section-head {
  text-align: center;
  margin-inline: auto;
}

body.home-theme .eyebrow {
  color: var(--htext-faint);
}

body.home-theme .eyebrow .idx {
  border-color: var(--hborder-strong);
  color: var(--orange-deep);
}

body.home-theme .section-head p {
  color: var(--htext-dim);
}

body.home-theme h2 {
  color: var(--htext);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* ---- Feature cards: icon badge, heading, copy, "Learn more" link —
   the Deputy "Tackle today's challenges" pattern ---- */
.feature-grid-light {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.feature-grid-light.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-card-light {
  background: #fff;
  border: 1px solid var(--hborder);
  border-radius: var(--hradius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  box-shadow: var(--hshadow-sm);
  transition: box-shadow 0.3s var(--ease), transform 0.3s var(--ease), border-color 0.3s;
}

.feature-card-light:hover {
  box-shadow: var(--hshadow-md);
  transform: translateY(-3px);
  border-color: var(--hborder-strong);
}

.feature-card-light .icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 12px;
  background: linear-gradient(155deg, var(--orange-bright), var(--orange));
  color: #fff;
  margin-bottom: 1.4rem;
}

.feature-card-light .icon-badge svg {
  width: 1.4rem;
  height: 1.4rem;
}

.feature-card-light h3 {
  color: var(--htext);
  font-size: 1.15rem;
}

.feature-card-light p {
  color: var(--htext-dim);
  font-size: 0.95rem;
  margin-top: 0.65rem;
  line-height: 1.65;
}

.feature-card-light .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--orange-deep);
}

.feature-card-light .card-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.feature-card-light:hover .card-link::after {
  transform: translateX(3px);
}

/* ==========================================================================
   Notable Projects — dark case-study band
   Deliberately breaks from the light theme surrounding it: a premium,
   near-black portfolio strip (agency-brochure territory) so the proof
   points read as a designed showcase, not another light card grid.
   Self-contained tokens because body.home-theme remaps --bg/--surface/etc
   to the light palette; this section needs the original dark values
   regardless of theme context. ========================================== */
.notable-band {
  --np-bg: #080706;
  --np-surface: #131110;
  --np-surface-2: #1a1613;
  --np-border: rgba(244, 241, 236, 0.09);
  --np-border-strong: rgba(244, 241, 236, 0.18);
  --np-text: #f4f1ec;
  --np-text-dim: #a49c91;
  --np-text-faint: #6f685e;

  position: relative;
  background: var(--np-bg);
  padding-block: var(--section-pad);
  overflow: hidden;
}

.notable-glow {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(48rem 26rem at 15% 0%, rgba(255, 92, 26, 0.1), transparent 65%),
    radial-gradient(40rem 24rem at 100% 100%, rgba(255, 139, 77, 0.06), transparent 60%);
}

.notable-band .container {
  position: relative;
}

.notable-head {
  max-width: 40rem;
  margin-bottom: clamp(2.75rem, 5.5vw, 4rem);
}

.notable-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--np-text-dim);
  margin-bottom: 1.25rem;
}

.notable-eyebrow::before {
  content: "";
  width: 2.25rem;
  height: 1px;
  background: linear-gradient(90deg, var(--orange), transparent);
}

.notable-band .notable-head h2 {
  color: var(--np-text);
  font-size: clamp(1.9rem, 4vw, 2.75rem);
}

.notable-head h2 .serif-accent {
  color: var(--orange-bright);
}

.notable-head > p {
  color: var(--np-text-dim);
  margin-top: 1.1rem;
  font-size: clamp(1.02rem, 1.5vw, 1.1rem);
}

.notable-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.notable-card {
  position: relative;
  display: block;
  background: var(--np-surface);
  border: 1px solid var(--np-border);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 2.5vw, 1.85rem);
  color: var(--np-text);
  transition: border-color 0.3s, background 0.3s, transform 0.35s var(--ease), box-shadow 0.35s;
}

.notable-card:hover {
  color: var(--np-text);
  border-color: var(--np-border-strong);
  background: var(--np-surface-2);
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(0, 0, 0, 0.35);
}

.notable-card::before,
.notable-card::after {
  content: "";
  position: absolute;
  width: 0.9rem;
  height: 0.9rem;
  opacity: 0;
  transition: opacity 0.3s, transform 0.3s var(--ease);
}

.notable-card::before {
  top: -1px;
  left: -1px;
  border-top: 1.5px solid var(--orange);
  border-left: 1.5px solid var(--orange);
  transform: translate(4px, 4px);
}

.notable-card::after {
  bottom: -1px;
  right: -1px;
  border-bottom: 1.5px solid var(--orange);
  border-right: 1.5px solid var(--orange);
  transform: translate(-4px, -4px);
}

.notable-card:hover::before,
.notable-card:hover::after {
  opacity: 1;
  transform: translate(0, 0);
}

.notable-index {
  display: block;
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.1rem;
  color: var(--orange);
  opacity: 0.85;
  margin-bottom: 1.1rem;
}

.notable-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 12px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 1.1rem;
  margin-bottom: 1.35rem;
  overflow: hidden;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.28);
}

.notable-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.notable-card h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
  color: var(--np-text);
}

.notable-tag {
  font-size: 0.8rem;
  color: var(--np-text-faint);
  margin-top: 0.4rem;
}

.notable-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--orange-bright);
  margin-top: 1.25rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--np-border);
  width: 100%;
}

.notable-link::after {
  content: "→";
  transition: transform 0.25s var(--ease);
}

.notable-card:hover .notable-link::after {
  transform: translateX(4px);
}

@media (max-width: 900px) {
  .notable-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 560px) {
  .notable-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .feature-grid-light,
  .feature-grid-light.cols-4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .feature-grid-light,
  .feature-grid-light.cols-4 {
    grid-template-columns: 1fr;
  }
}

/* ---- Service mini-cards (homepage "What we can build" grid) — a more
   colorful, iconography-forward variant of feature-card-light with a
   gradient top edge, a glowing icon badge, and a circular hover arrow. ---- */
.svc-mini {
  position: relative;
  overflow: hidden;
  padding-top: calc(clamp(1.75rem, 3vw, 2.25rem) + 4px);
  border-color: rgba(255, 92, 26, 0.14);
}

.svc-mini::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--orange-bright), var(--orange) 55%, var(--orange-deep));
}

.svc-mini .icon-badge {
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 11px;
  margin-bottom: 1.15rem;
  box-shadow: 0 8px 18px rgba(255, 92, 26, 0.28);
  transition: transform 0.3s var(--ease);
}

.svc-mini .icon-badge svg {
  width: 1.35rem;
  height: 1.35rem;
}

.svc-mini h3 {
  font-size: 1.05rem;
}

.svc-mini p {
  font-size: 0.9rem;
  padding-right: 1.5rem;
}

.svc-mini .go-arrow {
  position: absolute;
  right: 1.1rem;
  bottom: 1.1rem;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 1px solid var(--hborder-strong);
  display: grid;
  place-items: center;
  color: var(--htext-faint);
  background: #fff;
  transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.3s var(--ease);
}

.svc-mini .go-arrow svg {
  width: 0.9rem;
  height: 0.9rem;
}

.svc-mini:hover {
  border-color: rgba(255, 92, 26, 0.4);
}

.svc-mini:hover .icon-badge {
  transform: scale(1.08) rotate(-4deg);
}

.svc-mini:hover .go-arrow {
  background: var(--orange);
  border-color: var(--orange);
  color: #fff;
  transform: rotate(-45deg);
}

/* ---- "Why choose" cards — a plain orange stroke around each box. ---- */
.why-card {
  border: 1.5px solid rgba(255, 92, 26, 0.4);
}

.why-card:hover {
  border-color: var(--orange);
  box-shadow: 0 8px 20px rgba(255, 92, 26, 0.12);
}

/* ---- Stat band: bold oversized numeral statement, Grammarly's "17x ROI"
   pattern, on a soft off-white field ---- */
.stat-band {
  background: var(--hbg-soft);
  border-top: 1px solid var(--hborder);
  border-bottom: 1px solid var(--hborder);
  text-align: center;
}

.stat-band .stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3.5rem, 9vw, 6.5rem);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--orange);
}

.stat-band p {
  max-width: 34rem;
  margin: 1.25rem auto 0;
  color: var(--htext-dim);
  font-size: 1.1rem;
}

.stat-band p strong {
  color: var(--htext);
}

/* ---- Pricing preview cards — Grammarly's Free / Pro / Enterprise pattern,
   adapted to Starter / Business / Platform ---- */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
  align-items: stretch;
}

.plan-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--hborder-strong);
  border-radius: var(--hradius-card);
  padding: clamp(1.75rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  box-shadow: var(--hshadow-sm);
  transition: box-shadow 0.3s, transform 0.3s var(--ease);
}

.plan-card:hover {
  box-shadow: var(--hshadow-md);
  transform: translateY(-3px);
}

.plan-card.featured {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 92, 26, 0.12), var(--hshadow-md);
}

.plan-card .plan-badge {
  position: absolute;
  top: -0.85rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  white-space: nowrap;
}

.plan-card .plan-eyebrow {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--htext-faint);
}

.plan-card .plan-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--htext);
  margin-top: 0.4rem;
}

.plan-card .plan-price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.1rem, 4vw, 2.6rem);
  color: var(--htext);
  margin-top: 1.1rem;
}

.plan-card .plan-price small {
  font-size: 0.45em;
  font-weight: 500;
  color: var(--htext-dim);
}

.plan-card .plan-desc {
  color: var(--htext-dim);
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

.plan-card ul {
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--hborder);
  flex: 1;
}

.plan-card ul li {
  display: flex;
  align-items: baseline;
  gap: 0.6rem;
  padding: 0.4rem 0;
  font-size: 0.9rem;
  color: var(--htext-dim);
}

.plan-card ul li::before {
  content: "✓";
  color: var(--orange);
  font-weight: 700;
  flex: none;
}

.plan-card .btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (max-width: 900px) {
  .plan-grid {
    grid-template-columns: 1fr;
    max-width: 26rem;
    margin-inline: auto;
  }
}

/* ---- Closing panel: solid brand-color band, matches Deputy's colored
   section blocks rather than the dark site's radial-glow band ---- */
.light-theme .cta-band,
body.home-theme .cta-band {
  background: linear-gradient(155deg, var(--orange-bright), var(--orange) 60%, var(--orange-deep));
  border-top: 0;
}

body.home-theme .cta-band::before {
  display: none;
}

body.home-theme .cta-band h2,
body.home-theme .cta-band p {
  color: #fff;
}

body.home-theme .cta-band p {
  opacity: 0.92;
}

body.home-theme .cta-band .btn-primary {
  background: #fff;
  color: var(--orange-deep);
}

body.home-theme .cta-band .btn-primary:hover {
  background: var(--hbg-soft);
  box-shadow: none;
}

body.home-theme .cta-band .btn-ghost {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.55);
  color: #fff;
}

body.home-theme .cta-band .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

/* Reused dark-system components (split panels, info panels) get a card
   shadow on white so they read as raised, not flat-on-flat. */
body.home-theme .split .panel {
  box-shadow: var(--hshadow-sm);
  border-radius: var(--hradius-card);
}

body.home-theme .info-panel {
  box-shadow: var(--hshadow-sm);
}

/* Footer stays on the dark system for contrast under a light page —
   mirrors Deputy's own dark footer beneath a light site. */

/* ==========================================================================
   Shared light-theme building blocks used across the reconstructed pages
   ========================================================================== */

/* Reused .role cards read as raised on white */
body.home-theme .role {
  box-shadow: var(--hshadow-sm);
}

/* ---- Services filter: a plain underline tab row, no pill chips ---- */
.svc-filter {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--hborder);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.filter-tab {
  position: relative;
  padding: 0.9rem 0.2rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: var(--htext-faint);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.filter-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.filter-tab:hover {
  color: var(--htext);
}

.filter-tab[aria-selected="true"] {
  color: var(--htext);
}

.filter-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.svc-mini.is-hidden {
  display: none;
}

/* ---- FAQ accordion (native details), light ---- */
.faq-list {
  max-width: 46rem;
  margin-inline: auto;
  border-top: 1px solid var(--hborder);
}

.faq-item {
  border-bottom: 1px solid var(--hborder);
}

.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--htext);
  transition: color 0.2s;
}

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

.faq-item summary::after {
  content: "+";
  flex: none;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--orange);
  transition: transform 0.3s var(--ease);
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item summary:hover {
  color: var(--orange-deep);
}

.faq-item .faq-body {
  padding: 0 0 1.5rem;
  color: var(--htext-dim);
  max-width: 44rem;
}

/* ==========================================================================
   Per-page hero variants
   Every page opens with its own hero so the pages never feel interchangeable.
   Home keeps .light-hero + .hero-showcase; the five below are unique.
   ========================================================================== */

/* Shared hero scaffolding for the split-style variants */
.hero-split,
.hero-panel,
.hero-editorial,
.hero-contact {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3rem, 7vw, 5rem));
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  overflow: hidden;
}

.hero-split .container,
.hero-panel .container,
.hero-editorial .container,
.hero-contact .container {
  position: relative;
  display: grid;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}

.hero-split h1,
.hero-panel h1,
.hero-editorial h1,
.hero-contact h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--htext);
}

.hero-split .lede,
.hero-panel .lede,
.hero-editorial .lede,
.hero-contact .lede {
  color: var(--htext-dim);
  font-size: clamp(1.05rem, 1.7vw, 1.2rem);
  margin-top: 1.3rem;
  max-width: 32rem;
}

.hero-split .hero-ctas,
.hero-panel .hero-ctas,
.hero-editorial .hero-ctas,
.hero-contact .hero-ctas {
  margin-top: 2rem;
}

/* ---- Services: copy left, icon mosaic right ---- */
.hero-split::before {
  content: "";
  position: absolute;
  top: -14rem;
  right: -10rem;
  width: 42rem;
  height: 36rem;
  background: radial-gradient(40% 45% at 50% 50%, rgba(255, 92, 26, 0.14), transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-split .container {
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
}

.hero-mosaic {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
}

.mosaic-tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--hborder);
  border-radius: 14px;
  color: var(--orange);
  box-shadow: var(--hshadow-sm);
  transition: transform 0.3s var(--ease);
}

.mosaic-tile:hover {
  transform: translateY(-3px);
}

.mosaic-tile svg {
  width: 1.5rem;
  height: 1.5rem;
}

.mosaic-tile.accent {
  background: linear-gradient(155deg, var(--orange-bright), var(--orange));
  border-color: transparent;
  color: #fff;
  box-shadow: 0 8px 20px rgba(255, 92, 26, 0.28);
}

/* ---- Pricing: centered on a tinted band with a ghost currency mark ---- */
.hero-figure {
  position: relative;
  padding-top: calc(var(--header-h) + clamp(3.5rem, 8vw, 5.5rem));
  padding-bottom: clamp(3rem, 6vw, 4.5rem);
  background: var(--hbg-soft);
  border-bottom: 1px solid var(--hborder);
  overflow: hidden;
  text-align: center;
}

.hero-figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--hborder) 1px, transparent 1px),
    linear-gradient(90deg, var(--hborder) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 70% 75% at 50% 40%, #000 20%, transparent 78%);
  mask-image: radial-gradient(ellipse 70% 75% at 50% 40%, #000 20%, transparent 78%);
  pointer-events: none;
}

.hero-figure .ghost-figure {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(14rem, 34vw, 28rem);
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 92, 26, 0.13);
  white-space: nowrap;
  user-select: none;
  pointer-events: none;
}

.hero-figure .container {
  position: relative;
}

.hero-figure h1 {
  font-weight: 700;
  letter-spacing: -0.025em;
  color: var(--htext);
  max-width: 42rem;
  margin-inline: auto;
}

.hero-figure .lede {
  color: var(--htext-dim);
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  max-width: 34rem;
  margin: 1.4rem auto 0;
}

.hero-figure .hero-ctas {
  justify-content: center;
  margin-top: 2.1rem;
}

/* ---- Management: copy left, live status panel right ---- */
.hero-panel::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 40rem;
  height: 34rem;
  background: radial-gradient(42% 46% at 50% 50%, rgba(255, 92, 26, 0.13), transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-panel .container {
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
}

.status-panel {
  background: #fff;
  border: 1px solid var(--hborder);
  border-radius: var(--hradius-card);
  box-shadow: var(--hshadow-md);
  overflow: hidden;
}

.status-panel .sp-head {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--hborder);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--htext-dim);
}

.status-panel .sp-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 3px rgba(34, 197, 94, 0.16);
  flex: none;
}

.sp-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--hborder);
  font-size: 0.9rem;
}

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

.sp-row .sp-label {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--htext-dim);
}

.sp-row .sp-label svg {
  width: 1rem;
  height: 1rem;
  color: var(--orange);
  flex: none;
}

.sp-row .sp-value {
  font-weight: 600;
  color: var(--htext);
}

.sp-row .sp-value.ok {
  color: #15803d;
}

/* ---- Careers: editorial, orange rule, open roles beside the headline ---- */
.hero-editorial::before {
  content: "";
  position: absolute;
  top: -12rem;
  left: -10rem;
  width: 40rem;
  height: 34rem;
  background: radial-gradient(42% 46% at 50% 50%, rgba(255, 92, 26, 0.13), transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-editorial .container {
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.8fr);
}

.hero-editorial .hero-copy {
  border-left: 3px solid var(--orange);
  padding-left: clamp(1.25rem, 2.5vw, 2rem);
}

.roles-list {
  border-top: 1px solid var(--hborder-strong);
}

.roles-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hborder);
}

.roles-list .rl-name {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--htext);
}

.roles-list .rl-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--orange-deep);
}

/* ---- Contact: copy left, direct-contact card right ---- */
.hero-contact::before {
  content: "";
  position: absolute;
  top: -12rem;
  right: -8rem;
  width: 38rem;
  height: 32rem;
  background: radial-gradient(42% 46% at 50% 50%, rgba(255, 92, 26, 0.13), transparent 100%);
  filter: blur(8px);
  pointer-events: none;
}

.hero-contact .container {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.quick-contact {
  background: #fff;
  border: 1px solid var(--hborder);
  border-radius: var(--hradius-card);
  box-shadow: var(--hshadow-md);
  padding: 0.5rem clamp(1.25rem, 2.5vw, 1.75rem);
}

.quick-contact a {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--hborder);
  color: var(--htext);
  font-weight: 500;
  transition: color 0.2s;
}

.quick-contact a:last-child {
  border-bottom: 0;
}

.quick-contact a:hover {
  color: var(--orange-deep);
}

.quick-contact svg {
  width: 1.15rem;
  height: 1.15rem;
  color: var(--orange);
  flex: none;
}

@media (max-width: 900px) {
  .hero-split .container,
  .hero-panel .container,
  .hero-editorial .container,
  .hero-contact .container {
    grid-template-columns: 1fr;
  }

  .hero-mosaic {
    max-width: 20rem;
  }

  .hero-figure .ghost-figure {
    font-size: 18rem;
  }
}

/* ==========================================================================
   Plan card flair: a wiping gradient edge and a faint wash on hover
   ========================================================================== */
.plan-card > * {
  position: relative;
  z-index: 1;
}

.plan-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  border-radius: var(--hradius-card) var(--hradius-card) 0 0;
  background: linear-gradient(90deg, var(--orange-bright), var(--orange) 55%, var(--orange-deep));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease);
}

.plan-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(180deg, rgba(255, 92, 26, 0.055), transparent 48%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.plan-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 38px rgba(20, 18, 15, 0.1);
}

.plan-card:hover::before {
  transform: scaleX(1);
}

.plan-card:hover::after {
  opacity: 1;
}

.plan-card.featured::before {
  transform: scaleX(1);
}

.plan-card.featured::after {
  opacity: 0.55;
}

/* ==========================================================================
   Footer accents (all pages)
   ========================================================================== */
.site-footer {
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--orange-deep) 15%, var(--orange) 50%, var(--orange-deep) 85%, transparent);
}

.footer-col h4 {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.footer-col h4::before {
  content: "";
  width: 1rem;
  height: 2px;
  border-radius: 2px;
  background: var(--orange);
  flex: none;
}

body.home-theme .footer-bottom {
  position: relative;
  border-top-color: transparent;
}

body.home-theme .footer-bottom::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 92, 26, 0.4), transparent);
}

/* ---- Interactive billing-term selector: underline tabs above the plan
   grid, consistent with the services filter. Picking a term live-updates
   every price on the page carrying a data-base-price attribute. ---- */
.term-selector {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem clamp(1.25rem, 3vw, 2.25rem);
  border-bottom: 1px solid var(--hborder);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.term-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.8rem 0.3rem 0.95rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(0.9rem, 1.6vw, 1.02rem);
  color: var(--htext-faint);
  background: none;
  border: 0;
  cursor: pointer;
  transition: color 0.2s;
}

.term-tab .tt-save {
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  color: var(--orange-deep);
  opacity: 0.75;
}

.term-tab::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform 0.25s var(--ease);
}

.term-tab:hover {
  color: var(--htext);
}

.term-tab[aria-selected="true"] {
  color: var(--htext);
}

.term-tab[aria-selected="true"]::after {
  transform: scaleX(1);
}

.td-label {
  color: var(--htext-dim);
  font-size: 0.925rem;
  margin-top: clamp(1.5rem, 3vw, 2rem);
  text-align: center;
}

/* Price update animation + savings line */
.plan-price.price-tick {
  animation: priceTick 0.35s var(--ease);
}

@keyframes priceTick {
  0% {
    opacity: 0.2;
    transform: translateY(6px);
  }
  100% {
    opacity: 1;
    transform: none;
  }
}

.plan-save {
  min-height: 1.3rem;
  font-size: 0.85rem;
  color: var(--htext-dim);
  margin-top: 0.35rem;
}

.plan-save .was {
  text-decoration: line-through;
  color: var(--htext-faint);
  margin-right: 0.45rem;
}

.plan-save .save-amt {
  color: var(--orange-deep);
  font-weight: 600;
}

.rate.price-tick {
  animation: priceTick 0.35s var(--ease);
}

/* ---- Monthly / add-on rate rows, light ---- */
body.home-theme .rate-list {
  border-top: 1px solid var(--hborder-strong);
}

body.home-theme .rate-row {
  border-bottom: 1px solid var(--hborder);
}

body.home-theme .rate-row .note {
  color: var(--htext-faint);
}

body.home-theme .rate-row .leader {
  border-bottom-color: var(--hborder-strong);
}

/* On narrow screens the dotted-leader layout runs past the viewport, so the
   name and price share the first line and the note wraps beneath. */
@media (max-width: 700px) {
  .rate-row {
    flex-wrap: wrap;
    gap: 0.35rem 0.9rem;
  }

  .rate-row h3 {
    flex: 1 1 auto;
  }

  .rate-row .leader {
    display: none;
  }

  .rate-row .rate {
    margin-left: auto;
  }

  .rate-row .note {
    flex: 1 1 100%;
  }
}

/* ==========================================================================
   Mobile optimization
   Comfortable tap targets, cleaner touch feedback, and safeguards against
   long unbroken strings (emails, URLs) forcing horizontal scroll.
   ========================================================================== */

/* Remove the default blue-grey flash on tap; :active states below give
   clearer, on-brand feedback instead. */
a,
button,
.btn,
summary,
[role="tab"] {
  -webkit-tap-highlight-color: transparent;
}

/* Long emails and URLs must never push the layout sideways on a 320px screen. */
body {
  overflow-wrap: break-word;
}

@media (max-width: 900px) {
  /* ---- Tap targets ----
     WCAG 2.5.5 asks for 44x44. Standalone navigation and CTA links were
     sitting at 22-30px, which is a real miss on a phone. Inline links
     inside prose keep their natural size (they're exempt, and inflating
     them would wreck line spacing). */
  .footer-col a,
  .contact-list a,
  .footer-bottom a {
    min-height: 44px;
  }

  .footer-col li {
    margin-bottom: 0.15rem;
  }

  .arrow-link,
  .card-link,
  .text-link,
  .brand {
    min-height: 44px;
    padding-block: 0.35rem;
  }

  /* Phone numbers sitting inline in a sentence are one of the most-tapped
     things on a phone. Padding grows the hit area without disturbing the
     surrounding line box the way a min-height would. */
  a[href^="tel:"],
  a[href^="mailto:"] {
    padding: 0.5rem 0.15rem;
    margin: -0.5rem -0.15rem;
  }

  /* Buttons: full-width stacking reads better than orphaned half-width
     buttons, and guarantees a generous target. */
  .btn {
    min-height: 3rem;
  }

  .hero-ctas .btn,
  .cta-band .btn {
    flex: 1 1 100%;
  }

  /* ---- Touch feedback ----
     Phones have no hover, so hover-only affordances never fire. Give a
     visible pressed state instead. */
  .btn:active {
    transform: scale(0.985);
  }

  .bracket-card:active,
  .feature-card-light:active,
  .svc-mini:active,
  .price-card:active,
  .plan-card:active {
    transform: translateY(-1px) scale(0.995);
  }

  /* Card hover lifts are meaningless on touch and can leave a card stuck
     in a raised state after a tap. */
  .feature-card-light:hover,
  .svc-mini:hover,
  .price-card:hover,
  .plan-card:hover,
  .bracket-card:hover {
    transform: none;
  }

  /* ---- Readability ---- */
  .section-head p,
  .view-sub,
  .lede {
    text-wrap: pretty;
  }

  /* Tables that can't shrink get their own scroll container rather than
     dragging the whole page sideways. */
  .rate-list,
  .data-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 600px) {
  /* Tighter gutters buy back meaningful width on small phones. */
  :root {
    --gutter: 1.15rem;
  }

  /* Stop oversized display type from overflowing at 320px. */
  h1 {
    font-size: clamp(2.1rem, 9vw, 3rem);
  }

  h2 {
    font-size: clamp(1.65rem, 6.5vw, 2.2rem);
  }

  /* Respect notched devices so the footer isn't under the home indicator. */
  .site-footer {
    padding-bottom: env(safe-area-inset-bottom);
  }

  /* Filter tab rows scroll horizontally instead of wrapping into a
     cramped multi-line block. */
  .svc-filter {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    justify-content: flex-start;
  }

  .svc-filter::-webkit-scrollbar {
    display: none;
  }

  .filter-tab {
    white-space: nowrap;
    flex: none;
  }
}
