/* ======================================
   SELF-HOSTED TYPEFACES
   Geist Sans for everything, Geist Mono for eyebrow labels.
   Served from assets/fonts - no third-party request.
====================================== */
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-400-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-600-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-700-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Sans";
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url("assets/fonts/geist-sans-latin-800-normal.woff2") format("woff2");
}
@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("assets/fonts/geist-mono-latin-600-normal.woff2") format("woff2");
}

:root {
  --font-sans: "Geist Sans", system-ui, -apple-system, Segoe UI, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
}

:root {
  --static-white: #ffffff;
  --static-black: #000000;

  /* blue */
  --scheme-blue-50: #eef6ff;
  --scheme-blue-100: #daecff;
  --scheme-blue-200: #b7daff;
  --scheme-blue-300: #86c1ff;
  --scheme-blue-400: #45a4ff;
  --scheme-blue-500: #0089ea;
  --scheme-blue-600: #0069b5;
  --scheme-blue-700: #005392;
  --scheme-blue-800: #003e6f;
  --scheme-blue-900: #00284b;
  --scheme-blue-950: #00162d;
  /* aqua (only -400/-600 are used, via --data-aqua) */
  --scheme-aqua-400: #30b5b6;
  --scheme-aqua-600: #007677;
  /* magenta (only -400/-600 are used, via --data-magenta) */
  --scheme-magenta-400: #da71d8;
  --scheme-magenta-600: #a220a2;
  /* pink (only -400/-600 are used, via --data-pink) */
  --scheme-pink-400: #ec6eab;
  --scheme-pink-600: #b31972;
  /* yellow (only -400/-600 are used, via --data-yellow) */
  --scheme-yellow-400: #bc9e00;
  --scheme-yellow-600: #7a6500;
  /* orange */
  --scheme-orange-50: #fff2ea;
  --scheme-orange-100: #ffe4d0;
  --scheme-orange-200: #fbcba8;
  --scheme-orange-300: #f2aa72;
  --scheme-orange-400: #e4852d;
  --scheme-orange-500: #c66b00;
  --scheme-orange-600: #995100;
  --scheme-orange-700: #7b4000;
  --scheme-orange-800: #5d2f00;
  --scheme-orange-900: #3e1d00;
  --scheme-orange-950: #250e00;
  /* red */
  --scheme-red-50: #fff2f0;
  --scheme-red-100: #ffe2de;
  --scheme-red-200: #ffc6be;
  --scheme-red-300: #ff9e93;
  --scheme-red-400: #f57166;
  --scheme-red-500: #e44740;
  --scheme-red-600: #bc1c1f;
  --scheme-red-700: #9b040f;
  --scheme-red-800: #770007;
  --scheme-red-900: #500003;
  --scheme-red-950: #310001;
  /* moss (only -400/-600 are used, via --data-moss) */
  --scheme-moss-400: #8cad61;
  --scheme-moss-600: #51740c;
  /* green (only -400/-600 are used, via --data-green) */
  --scheme-green-400: #56b961;
  --scheme-green-600: #007d25;
  /* emerald (only -400/-600 are used, via --data-emerald) */
  --scheme-emerald-400: #3eb988;
  --scheme-emerald-600: #007a54;
  /* cyan (only -400/-600 are used, via --data-cyan) */
  --scheme-cyan-400: #14b2cf;
  --scheme-cyan-600: #007387;
  /* violet (only -400/-600 are used, via --data-violet) */
  --scheme-violet-400: #a986fe;
  --scheme-violet-600: #7340cc;
  /* indigo (only -400/-600 are used, via --data-indigo) */
  --scheme-indigo-400: #7f97ff;
  --scheme-indigo-600: #4454d5;
  /* gray */
  --scheme-gray-50: #f4f5f6;
  --scheme-gray-100: #e8eaec;
  --scheme-gray-200: #d3d6da;
  --scheme-gray-300: #b8bcc2;
  --scheme-gray-400: #9ba0a8;
  --scheme-gray-500: #80878f;
  --scheme-gray-600: #61676f;
  --scheme-gray-700: #4d5259;
  --scheme-gray-800: #393d43;
  --scheme-gray-900: #24272b;
  --scheme-gray-950: #131518;
}

/* ==========================================================
   TIER 2 - SEMANTIC ALIASES  (light is the base)
   ========================================================== */
:root {
  /* surfaces + text */
  --bg: var(--scheme-gray-50);
  --bg-alt: var(--scheme-gray-100);
  --surface: var(--static-white);
  --surface-2: var(--scheme-gray-100);
  --border: var(--scheme-gray-200);
  --border-strong: var(--scheme-gray-300);
  --text: var(--scheme-gray-900);
  --text-muted: var(--scheme-gray-600);
  /* brand */
  --accent: var(--scheme-indigo-600);
  --accent-hover: color-mix(in srgb, var(--scheme-indigo-600) 85%, black);
  --accent-ink: var(--static-white);
  --accent-subtle: color-mix(in srgb, var(--scheme-indigo-600) 8%, white);
  --accent-subtle-2: color-mix(in srgb, var(--scheme-indigo-600) 16%, white);
  --accent-border: color-mix(in srgb, var(--scheme-indigo-600) 30%, white);
  --accent-muted: var(--scheme-indigo-400);
  --accent-warm: var(--scheme-orange-600);
  /* ambient background gradient */
  --gradient-tint: color-mix(in srgb, var(--scheme-blue-400) 30%, transparent);
  /* categorical data palette */
  --data-blue: var(--scheme-blue-600);
  --data-aqua: var(--scheme-aqua-600);
  --data-magenta: var(--scheme-magenta-600);
  --data-pink: var(--scheme-pink-600);
  --data-yellow: var(--scheme-yellow-600);
  --data-orange: var(--scheme-orange-600);
  --data-red: var(--scheme-red-600);
  --data-moss: var(--scheme-moss-600);
  --data-green: var(--scheme-green-600);
  --data-emerald: var(--scheme-emerald-600);
  --data-cyan: var(--scheme-cyan-600);
  --data-violet: var(--scheme-violet-600);
  --data-indigo: var(--scheme-indigo-600);
  --data-gray: var(--scheme-gray-600);
  --data-contrast: var(--static-black);
}

/* Note: every page hardcodes data-theme="dark" on <html>, so this attribute
   selector is the only dark-mode rule that ever needs to apply; there's no
   "system preference, no explicit choice" state to also handle. */
:root[data-theme="dark"] {
  /* surfaces + text */
  --bg: var(--scheme-gray-950);
  --bg-alt: var(--scheme-gray-900);
  --surface: var(--scheme-gray-900);
  --surface-2: var(--scheme-gray-800);
  --border: var(--scheme-gray-800);
  --border-strong: var(--scheme-gray-700);
  --text: var(--scheme-gray-100);
  --text-muted: var(--scheme-gray-400);
  /* brand */
  --accent: var(--scheme-blue-400);
  --accent-hover: var(--scheme-blue-300);
  --accent-ink: var(--scheme-gray-950);
  --accent-subtle: var(--scheme-blue-950);
  --accent-subtle-2: var(--scheme-blue-900);
  --accent-border: var(--scheme-blue-800);
  --accent-muted: var(--scheme-blue-700);
  --accent-warm: var(--scheme-orange-400);
  /* ambient background gradient */
  --gradient-tint: color-mix(in srgb, var(--scheme-blue-400) 16%, transparent);
  /* categorical data palette */
  --data-blue: var(--scheme-blue-400);
  --data-aqua: var(--scheme-aqua-400);
  --data-magenta: var(--scheme-magenta-400);
  --data-pink: var(--scheme-pink-400);
  --data-yellow: var(--scheme-yellow-400);
  --data-orange: var(--scheme-orange-400);
  --data-red: var(--scheme-red-400);
  --data-moss: var(--scheme-moss-400);
  --data-green: var(--scheme-green-400);
  --data-emerald: var(--scheme-emerald-400);
  --data-cyan: var(--scheme-cyan-400);
  --data-violet: var(--scheme-violet-400);
  --data-indigo: var(--scheme-indigo-400);
  --data-gray: var(--scheme-gray-400);
  --data-contrast: var(--static-white);
}

:root {
  --radius: 14px;
  --radius-sm: 8px;
  --radius-pill: 100px;
  --nav-bg: color-mix(in srgb, var(--bg) 82%, transparent);
}

/* ======================================
   RESET & BASE
====================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font-sans);
  background-color: var(--bg);
  background-image: radial-gradient(
    ellipse 130% 85% at 50% -8%,
    var(--gradient-tint) 0%,
    transparent 62%
  );
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}

/* ======================================
   TYPE SCALE
====================================== */
.display {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(2.75rem, 7.5vw, 5.5rem);
  line-height: 1;
  letter-spacing: -0.035em;
  text-wrap: balance;
}
.h1 {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.8rem, 3.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.025em;
  text-wrap: balance;
}
.h2 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.2;
  letter-spacing: -0.015em;
}
.label {
  font-size: 0.73rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.lead {
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  color: var(--text-muted);
  line-height: 1.75;
}

/* ======================================
   LAYOUT
====================================== */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 28px;
}
.section {
  padding: 96px 0;
}
.section-bg {
  background: var(--accent-subtle);
}
.section-head {
  margin-bottom: 56px;
}
.section-head .label {
  margin-bottom: 14px;
  display: block;
}

/* ======================================
   UTILITIES
====================================== */
/* headline highlight: brand accent color */
.accent {
  color: var(--accent);
}
.accent-warm {
  color: var(--accent-warm);
}

/* ======================================
   BUTTONS
====================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition:
    opacity 0.18s,
    transform 0.18s,
    border-color 0.18s,
    color 0.18s;
}
.btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border: 1.5px solid var(--accent);
}
.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
  transform: translateY(-1px);
}
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-1px);
}
.btn-sm {
  padding: 9px 18px;
  font-size: 0.85rem;
}

/* ======================================
   NAV
====================================== */
nav {
  position: fixed;
  top: 16px;
  left: 50%;
  z-index: 200;
  width: calc(100% - 32px);
  max-width: 1160px;
  padding: 14px 0;
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  transform: translateX(-50%);
  transition:
    top 0.3s ease,
    width 0.3s ease,
    max-width 0.3s ease,
    border-radius 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}
nav.cs-scrolled {
  top: 0;
  width: 100%;
  max-width: none;
  border-radius: 0;
  border-color: transparent;
  border-bottom-color: var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  font-family: var(--font-sans);
  font-weight: 700;
  /* integer px + integer line-height: keeps the glyph baseline on a whole
     pixel row, which a fractional 19.2px/30.72px box did not */
  font-size: 20px;
  line-height: 32px;
  /* no negative tracking: at nav size it crowds the narrow "s" between o and t */
  letter-spacing: 0;
  color: var(--text);
}
.nav-logo .dot {
  color: var(--accent);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 40px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
  transition: color 0.2s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -4px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  transition: right 0.2s;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a:hover::after {
  right: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-cta {
  font-family: var(--font-sans);
  font-weight: 700;
  white-space: nowrap;
}

/* Hamburger menu toggle (mobile only, see RESPONSIVE section) */
.cs-toggle {
  display: none;
}
.cs-toggle-line,
.cs-toggle-line::before,
.cs-toggle-line::after {
  width: 1.5rem;
  height: 2px;
  background-color: var(--accent-ink);
  border-radius: 2px;
  transition:
    transform 0.3s,
    top 0.3s,
    opacity 0.3s;
}
.cs-toggle-line {
  position: relative;
}
.cs-toggle-line::before,
.cs-toggle-line::after {
  content: "";
  position: absolute;
  left: 0;
}
.cs-toggle-line::before {
  top: -6px;
}
.cs-toggle-line::after {
  top: 6px;
}
#cs-navigation.cs-active .cs-toggle-line {
  background-color: transparent;
}
#cs-navigation.cs-active .cs-toggle-line::before {
  top: 0;
  transform: rotate(45deg);
}
#cs-navigation.cs-active .cs-toggle-line::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Theme toggle */
.theme-toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  padding: 0;
  border-radius: 50%;
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text-muted);
  cursor: pointer;
  transition:
    color 0.18s,
    border-color 0.18s;
}
.theme-toggle:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.theme-toggle:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.theme-toggle svg {
  width: 16px;
  height: 16px;
}

/* Show the icon for the theme you would switch TO */
.icon-sun {
  display: none;
}
.icon-moon {
  display: block;
}
:root[data-theme="dark"] .icon-sun {
  display: block;
}
:root[data-theme="dark"] .icon-moon {
  display: none;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .icon-sun {
    display: block;
  }
  :root:not([data-theme="light"]) .icon-moon {
    display: none;
  }
}

/* ======================================
   HERO
====================================== */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  align-items: center;
  gap: 56px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 620px;
}
.hero-headline {
  font-size: clamp(2.25rem, 4.2vw, 3.5rem);
  margin-bottom: 26px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 44px;
}

/* ======================================
   HERO PHONE MOCKUP
   A small-business site drawn in CSS, no image assets.
====================================== */
.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}
.phone {
  position: relative;
  width: min(268px, 82%);
  aspect-ratio: 9 / 18.5;
  padding: 11px;
  background: var(--surface-2);
  border: 1.5px solid var(--border-strong);
  border-radius: 40px;
  box-shadow:
    0 2px 0 var(--border) inset,
    0 32px 64px -18px rgba(15, 23, 42, 0.35);
}
/* side buttons */
.phone::before,
.phone::after {
  content: "";
  position: absolute;
  left: -3.5px;
  width: 3.5px;
  border-radius: 4px 0 0 4px;
  background: var(--border-strong);
}
.phone::before {
  top: 19%;
  height: 5.5%;
}
.phone::after {
  top: 27%;
  height: 9%;
}
.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 29px;
  overflow: hidden;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  gap: 9px;
  padding: 22px 13px 14px;
}
/* never let the mock content squash when the frame gets shorter */
.phone-screen > * {
  flex: none;
}
/* dynamic island - always near-black, like real hardware */
.phone-screen::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 15px;
  border-radius: 100px;
  background: #0a0c0f;
}
/* home indicator */
.phone-screen::after {
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 3.5px;
  border-radius: 100px;
  background: var(--text);
  opacity: 0.28;
}
.mini-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.mini-logo {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text);
  white-space: nowrap;
}
.mini-burger {
  display: flex;
  flex-direction: column;
  gap: 2.5px;
}
.mini-burger span {
  display: block;
  width: 12px;
  height: 1.5px;
  border-radius: 2px;
  background: var(--text-muted);
}
.mini-band {
  height: 62px;
  border-radius: 7px;
  background-color: var(--accent-subtle);
  background-image: linear-gradient(
    135deg,
    var(--accent-subtle-2),
    var(--accent-subtle)
  );
  background-size: cover;
  background-position: center;
  border: 1px solid var(--accent-border);
}
.mini-heading {
  margin: 0;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text);
}
.mini-copy {
  margin: 0;
  font-size: 8.5px;
  line-height: 1.4;
  color: var(--text-muted);
}
.mini-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 9px;
  font-weight: 700;
  margin-top: 3px;
}
.mini-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 3px;
}
.mini-card {
  border: 1px solid var(--border);
  border-radius: 7px;
  background: var(--surface);
  padding: 8px 7px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.mini-card-title {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text);
}
.mini-card-sub {
  font-size: 7px;
  color: var(--text-muted);
}
.mini-rows {
  display: flex;
  align-items: stretch;
  gap: 10px;
  margin-top: 4px;
}
.mini-rows-list {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 7px;
}
.mini-rows-photo {
  flex: none;
  width: 120px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background-color: var(--surface-2);
  background-size: cover;
  background-position: center;
}
.mini-row {
  display: flex;
  align-items: center;
}
.mini-row div {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mini-row-title {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text);
}
.mini-row-sub {
  font-size: 7px;
  color: var(--text-muted);
}
.mini-cta {
  margin-top: 6px;
  padding: 13px 10px;
  border-radius: 7px;
  border: 1px solid var(--accent-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  background-image:
    linear-gradient(0deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url("assets/ember-and-oak-pizza.jpg");
  background-size: cover, 105%;
  background-position: center;
  background-repeat: no-repeat;
}
.mini-cta-text {
  font-size: 8px;
  font-weight: 600;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
.mini-cta .mini-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 5px 12px;
  border-radius: 100px;
  background: var(--accent);
  color: var(--accent-ink);
  font-size: 7.5px;
  font-weight: 700;
}
.mini-foot {
  margin-top: auto;
  margin-bottom: 10px;
  padding: 11px 10px;
  border-radius: 7px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 5px;
  align-items: center;
}
.mini-foot-text {
  font-size: 8.5px;
  font-weight: 700;
  color: var(--text);
}
.mini-foot-sub {
  font-size: 7px;
  color: var(--text-muted);
}

/* ======================================
   MARQUEE TICKER
====================================== */
.ticker {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--surface);
  overflow: hidden;
}
.ticker-track {
  display: flex;
  width: max-content;
  animation: ticker-scroll 24s linear infinite;
}
@keyframes ticker-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track {
    animation: none;
    overflow-x: auto;
  }
}
.ticker-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 40px;
  white-space: nowrap;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.03em;
}
.ticker-sep {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.6;
  flex-shrink: 0;
}

/* ======================================
   SERVICES
====================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}
@media (min-width: 901px) {
  .services-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}
.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  position: relative;
  overflow: hidden;
  transition:
    border-color 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
}
:root[data-theme="light"] .service-card {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .service-card:hover {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}
.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 0.22s;
}
.service-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
}
.service-card:hover::after {
  opacity: 1;
}
.service-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
}
.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}
.service-card .h2 {
  margin-bottom: 10px;
}
.service-card .desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.7;
}
.feature-list {
  list-style: none;
  margin-top: 22px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.feature-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.feature-list li svg {
  width: 15px;
  height: 15px;
  color: var(--accent);
  flex-shrink: 0;
}

/* ======================================
   PROCESS
====================================== */
.process-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.process-step {
  background: var(--surface);
  padding: 44px 36px;
}
.step-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 2.5rem;
  letter-spacing: -0.04em;
  color: var(--border);
  line-height: 1;
  margin-bottom: 22px;
  transition: color 0.2s;
}
.process-step:hover .step-num {
  color: var(--accent-muted);
}
.process-step .h2 {
  margin-bottom: 10px;
}
.process-step p {
  color: var(--text-muted);
  font-size: 0.93rem;
  line-height: 1.7;
}

/* ======================================
   WORK GRID
====================================== */
.work-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  align-items: start;
  gap: 14px;
}
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition:
    transform 0.22s ease,
    border-color 0.22s ease,
    box-shadow 0.22s ease;
  cursor: pointer;
}
:root[data-theme="light"] .work-card {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
:root[data-theme="light"] .work-card:hover {
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}
.work-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent);
}
.work-card:nth-child(1) {
  grid-column: span 7;
}
.work-card:nth-child(2) {
  grid-column: span 5;
}
.work-card:nth-child(3) {
  grid-column: span 5;
}
.work-card:nth-child(4) {
  grid-column: span 7;
}
.work-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--surface-2);
  overflow: hidden;
}
/* wide (7-col) cards get a shorter aspect ratio so their total height matches the 5-col card beside them */
.work-card:nth-child(1) .work-thumb,
.work-card:nth-child(4) .work-thumb {
  aspect-ratio: 2.51/1;
}
.work-thumb canvas {
  width: 100%;
  height: 100%;
  display: block;
}
.work-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  display: block;
}
.work-meta {
  padding: 18px 22px;
}
.work-tag {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 5px;
}
.work-name {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: -0.01em;
  color: var(--text);
}

/* ======================================
   TESTIMONIALS
====================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 14px;
}
.testimonial {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
}
.stars {
  display: flex;
  gap: 4px;
  margin-bottom: 18px;
}
.star {
  color: var(--accent-warm);
  font-size: 0.95rem;
}
.quote {
  font-size: 1.02rem;
  line-height: 1.72;
  color: var(--text);
  font-style: italic;
  margin-bottom: 26px;
}
.author {
  display: flex;
  align-items: center;
  gap: 14px;
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--accent);
  flex-shrink: 0;
}
.author-name {
  font-weight: 600;
  font-size: 0.93rem;
  color: var(--text);
}
.author-co {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ======================================
   SPEED INSIGHTS
====================================== */
.insight-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 32px;
}
.insight-list li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.insight-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--accent-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.insight-icon svg {
  width: 20px;
  height: 20px;
  color: var(--accent);
}
.insight-list p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
  padding-top: 8px;
}
.speed-visual {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.stat-row {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}
.stat-num {
  display: block;
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  letter-spacing: -0.02em;
}
.stat-label {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}
.speed-mockup {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
:root[data-theme="light"] .speed-mockup {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.speed-tabs {
  display: flex;
  gap: 24px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 14px;
  margin-bottom: 22px;
}
.speed-tab {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}
.speed-tab.is-active {
  color: var(--accent);
}
.speed-badges {
  display: flex;
  justify-content: space-between;
  margin-bottom: 24px;
}
.speed-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}
.badge-ring {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 3px solid var(--data-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--data-green);
}
.badge-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
}
.speed-gauge-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 22px;
}
.speed-gauge {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  border: 5px solid var(--data-green);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.gauge-num {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  color: var(--data-green);
}
.gauge-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
}
.speed-metrics {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px 20px;
}
.metric {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}
.metric b {
  color: var(--text);
  margin-left: auto;
}
.metric-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--data-green);
  flex-shrink: 0;
}

/* ======================================
   CTA
====================================== */
.cta-section {
  background: var(--surface);
  border-top: 1px solid var(--border);
}
.cta-inner {
  text-align: center;
  max-width: 620px;
  margin: 0 auto;
}
.cta-inner .display {
  margin-bottom: 18px;
}
.cta-inner .lead {
  margin: 0 auto 40px;
}
.cta-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ======================================
   FOOTER
====================================== */
footer {
  padding: 44px 0;
  border-top: 1px solid var(--border);
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}
.footer-links a {
  font-size: 0.83rem;
  color: var(--text-muted);
  transition: color 0.18s;
}
.footer-links a:hover {
  color: var(--text);
}
.footer-socials {
  display: flex;
  gap: 14px;
  list-style: none;
}
.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  opacity: 0.85;
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.footer-socials a:hover {
  opacity: 1;
  transform: translateY(-2px);
}
.social-icon {
  width: 20px;
  height: 20px;
}
/* Default (dark theme): show the white "negative" mark; light theme swaps in the color mark */
.social-icon-original {
  display: none;
}
.social-icon-negative {
  display: block;
}
:root[data-theme="light"] .social-icon-original {
  display: block;
}
:root[data-theme="light"] .social-icon-negative {
  display: none;
}
.footer-copy {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ======================================
   CONTACT PAGE
====================================== */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.contact-details {
  list-style: none;
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.contact-detail {
  display: flex;
  align-items: center;
  gap: 16px;
}
.contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.contact-icon svg {
  width: 18px;
  height: 18px;
}
.contact-detail-label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 2px;
}
.contact-detail-value {
  font-size: 0.9rem;
  color: var(--text-muted);
  transition: color 0.18s;
}
a.contact-detail-value:hover {
  color: var(--accent);
}
.contact-form-card {
  background: var(--accent-subtle);
  border: 1px solid var(--accent-border);
  border-radius: var(--radius);
  padding: 40px;
}
.contact-form {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.form-field label {
  display: block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 0.9rem;
  resize: vertical;
}
.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--text-muted);
}
.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-consent {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-muted);
}
.form-consent input {
  width: 18px;
  height: 18px;
}
.contact-submit {
  width: 100%;
  justify-content: center;
}
@media (max-width: 860px) {
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

/* ======================================
   PRICING  (pricing.html only)
====================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: stretch;
  gap: 24px;
  margin-top: 56px;
}
.pricing-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}
:root[data-theme="light"] .pricing-card {
  border-color: transparent;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
}
.pricing-card-name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.02em;
  margin-bottom: 28px;
}
.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 32px;
  flex: 1;
}
.pricing-features li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.4;
}
.pricing-features li svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.pricing-features li.is-included svg {
  color: var(--accent);
}
.pricing-features li.is-excluded {
  color: var(--text-muted);
  opacity: 0.55;
}
.pricing-features li.is-excluded svg {
  color: var(--text-muted);
}
.pricing-price {
  margin-bottom: 24px;
}
.pricing-price .amount {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: 2.4rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.pricing-price .period {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-left: 8px;
}
.pricing-cta {
  width: 100%;
  justify-content: center;
}

/* Featured (middle) plan - fixed dark-navy card in both themes, like a spotlight */
.pricing-card.is-featured {
  background: var(--scheme-blue-950);
  border-color: var(--scheme-blue-950);
  box-shadow: 0 20px 48px -16px rgba(0, 10, 30, 0.5);
}
.pricing-card.is-featured .pricing-card-name,
.pricing-card.is-featured .pricing-price .amount {
  color: var(--static-white);
}
.pricing-card.is-featured .pricing-features li {
  color: var(--scheme-gray-100);
}
.pricing-card.is-featured .pricing-features li.is-included svg {
  color: var(--scheme-blue-400);
}
.pricing-card.is-featured .pricing-features li.is-excluded {
  color: var(--scheme-gray-400);
}
.pricing-card.is-featured .pricing-features li.is-excluded svg {
  color: var(--scheme-gray-500);
}
.pricing-card.is-featured .pricing-price .period {
  color: var(--scheme-blue-200);
}
.pricing-card.is-featured .btn-primary {
  background: var(--scheme-blue-400);
  border-color: var(--scheme-blue-400);
  color: var(--scheme-blue-950);
}
.pricing-card.is-featured .btn-primary:hover {
  background: var(--scheme-blue-300);
  border-color: var(--scheme-blue-300);
}
@media (min-width: 901px) {
  .pricing-card.is-featured {
    transform: translateY(-12px);
  }
}

/* ======================================
   CALENDAR EMBED  (contact.html only)
====================================== */
.calendar-embed {
  margin-top: 40px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  /* Google's scheduler only renders on a white canvas, so pin this card
     to light in both themes instead of letting it sit on a dark surface */
  background: #ffffff;
  color-scheme: light;
}
.calendar-embed iframe {
  display: block;
  width: 100%;
  height: 700px;
  border: 0;
}
@media (max-width: 640px) {
  .calendar-embed iframe {
    height: 620px;
  }
}

/* ======================================
   BACK TO TOP BUTTON
====================================== */
.back-to-top {
  position: fixed;
  right: clamp(16px, 3vw, 32px);
  bottom: clamp(16px, 3vw, 32px);
  z-index: 190;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
  background: var(--accent);
  color: var(--accent-ink);
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0.25s,
    background-color 0.18s ease,
    color 0.18s ease,
    border-color 0.18s ease;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--accent-ink);
}
.back-to-top:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
.back-to-top:active {
  transform: translateY(1px);
}
.back-to-top svg {
  width: 18px;
  height: 18px;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .back-to-top {
    transition:
      opacity 0.01ms,
      visibility 0.01ms;
    transform: none;
  }
  .back-to-top.is-visible,
  .back-to-top:active {
    transform: none;
  }
}

/* ======================================
   RESPONSIVE
====================================== */
@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .phone {
    width: min(268px, 62%);
  }
  .process-steps {
    grid-template-columns: 1fr;
  }
  .work-card:nth-child(n) {
    grid-column: span 12;
  }
  .speed-metrics {
    grid-template-columns: 1fr;
  }
  .speed-badges {
    flex-wrap: wrap;
    row-gap: 16px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-card.is-featured {
    transform: none;
  }
}
@media only screen and (max-width: 1023px) {
  .nav-inner {
    position: relative;
  }
  #cs-navigation .cs-toggle {
    z-index: 10;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: var(--radius-sm);
    margin: 0 0 0 auto;
    background-color: var(--accent);
    height: 3rem;
    width: 3rem;
    transition:
      transform 0.6s,
      background-color 0.3s;
    cursor: pointer;
  }
  .nav-links {
    position: absolute;
    top: calc(100% + 14px);
    left: 0;
    right: 0;
    z-index: 100;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition:
      opacity 0.25s,
      transform 0.25s,
      visibility 0.25s;
  }
  #cs-navigation.cs-active .nav-links {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li {
    width: 100%;
  }
  .nav-links a {
    display: block;
    padding: 14px 20px;
    border-bottom: 1px solid var(--border);
  }
  .nav-links a::after {
    display: none;
  }
  .nav-links li:last-child a {
    border-bottom: none;
  }
}
@media (max-width: 640px) {
  .nav-cta {
    display: none;
  }
  .section {
    padding: 64px 0;
  }
  .hero {
    padding: 100px 0 64px;
    min-height: auto;
  }
  .hero-grid {
    gap: 40px;
  }
  .phone {
    width: min(210px, 66%);
  }
  /* shorter frame on small screens - drop the list rows so nothing squashes */
  .mini-rows {
    display: none;
  }
  .hero-actions {
    flex-direction: column;
  }
  .hero-actions .btn {
    justify-content: center;
  }
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* eyebrow labels pick up the mono face */
.label,
.work-tag {
  font-family: var(--font-mono);
}

/* ======================================
   CONTACT FORM - status message + honeypot
====================================== */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
  border: 1px solid var(--border);
}
.form-status.is-ok {
  color: var(--data-green);
  border-color: color-mix(in srgb, var(--data-green) 40%, transparent);
  background: color-mix(in srgb, var(--data-green) 10%, transparent);
}
.form-status.is-err {
  color: var(--data-red);
  border-color: color-mix(in srgb, var(--data-red) 40%, transparent);
  background: color-mix(in srgb, var(--data-red) 10%, transparent);
}
