/* ==========================================================================
   GD Digital — main stylesheet (shared by the homepage and legal pages)

   1. Font
   2. Design tokens (edit colors, radius, spacing here)
   3. Base
   4. Layout helpers
   5. Buttons & shared components
   6. Header & navigation
   7. Hero
   8. Trust strip & statement
   9. Services
   10. Approach
   11. Process
   12. CTA band
   13. Contact & form
   14. Footer
   15. Legal pages
   16. Motion
   ========================================================================== */

/* 1. Font — Instrument Sans (SIL Open Font License), self-hosted */
@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

/* 2. Design tokens */
:root {
  /* Colors */
  --bg: #f6f6f2;            /* page background (warm off-white) */
  --surface: #ffffff;       /* cards, header, form */
  --surface-soft: #fbfbf8;  /* inputs, subtle fills */
  --ink: #161815;           /* headings */
  --text: #3d413b;          /* body text */
  --muted: #62675f;         /* secondary text */
  --line: #e3e4dd;          /* borders */
  --line-strong: #cfd2c8;

  --accent: #1d6b43;        /* brand green: links, icons, highlights */
  --accent-hover: #185a38;
  --accent-deep: #123b27;   /* primary buttons, CTA panel */
  --accent-soft: #e5f0e8;   /* icon tiles, pills */
  --accent-mint: #bfe3ca;   /* highlights on dark backgrounds */

  --error: #b42318;
  --error-soft: #fdeceb;

  --footer-bg: #111311;

  /* Type */
  --font: "Instrument Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;

  /* Shape & depth */
  --radius-sm: 10px;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow-sm: 0 1px 2px rgba(22, 24, 21, 0.05);
  --shadow: 0 1px 2px rgba(22, 24, 21, 0.04), 0 10px 30px -14px rgba(22, 24, 21, 0.16);
  --shadow-lg: 0 2px 6px rgba(22, 24, 21, 0.04), 0 30px 70px -30px rgba(22, 24, 21, 0.28);

  /* Layout */
  --container: 1180px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 72px;
  --section-y: clamp(4.5rem, 3rem + 5vw, 7.5rem);
}

/* 3. Base */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  margin: 0;
  color: var(--ink);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -0.028em;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.6rem, 1.5rem + 4.4vw, 4.75rem);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

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

h3 {
  font-size: 1.25rem;
  line-height: 1.3;
  letter-spacing: -0.015em;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

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

img {
  height: auto;
}

a {
  color: var(--accent);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

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

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

::selection {
  background: var(--accent-mint);
  color: var(--ink);
}

.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--ink);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
}

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

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

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

.container-narrow {
  max-width: calc(780px + var(--gutter) * 2);
}

.section {
  padding-block: var(--section-y);
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(2.5rem, 2rem + 2vw, 3.75rem);
  text-align: center;
}

.section-head h2 {
  margin-top: 1.1rem;
}

.section-head p:not(.eyebrow) {
  margin-top: 1.1rem;
  font-size: 1.15rem;
  color: var(--muted);
}

/* 5. Buttons & shared components */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.42rem 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.eyebrow-dot {
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 50px;
  padding: 0.8rem 1.4rem;
  border: 1px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.005em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.btn svg {
  flex: none;
  width: 18px;
  height: 18px;
  transition: transform 0.2s ease;
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--accent-deep);
  color: #fff;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.12) inset, 0 6px 16px -8px rgba(18, 59, 39, 0.6);
}

.btn-primary:hover {
  background: var(--accent);
  color: #fff;
}

.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}

.btn-secondary:hover {
  color: var(--ink);
  border-color: var(--ink);
}

.btn-light {
  background: #fff;
  color: var(--accent-deep);
}

.btn-light:hover {
  background: var(--accent-mint);
  color: var(--accent-deep);
}

.btn-light:focus-visible {
  outline-color: #fff;
}

.btn-sm {
  min-height: 42px;
  padding: 0.6rem 1.05rem;
  font-size: 0.95rem;
  border-radius: 10px;
}

.btn[disabled] {
  opacity: 0.7;
  cursor: progress;
}

.icon-tile {
  display: grid;
  place-items: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--accent-soft);
  color: var(--accent);
}

.icon-tile svg {
  width: 24px;
  height: 24px;
}

/* 6. Header & navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 246, 242, 0.86);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, background-color 0.25s ease;
}

.site-header.is-scrolled,
.site-header.menu-open {
  background: rgba(246, 246, 242, 0.96);
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--header-h);
}

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

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

.brand img {
  width: auto;
  height: 34px;
}

.brand-name {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  white-space: nowrap;
}

.brand-name span {
  font-weight: 500;
  color: var(--muted);
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.nav-list {
  display: flex;
  gap: 0.25rem;
  list-style: none;
}

.nav-list a {
  display: block;
  padding: 0.5rem 0.9rem;
  border-radius: 8px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.nav-list a:hover {
  color: var(--ink);
  background: rgba(22, 24, 21, 0.05);
}

.nav-list a.is-active {
  color: var(--ink);
  background: rgba(22, 24, 21, 0.06);
}

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  margin-right: -6px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  cursor: pointer;
}

.nav-toggle-icon {
  position: relative;
  width: 18px;
  height: 12px;
}

.nav-toggle-icon::before,
.nav-toggle-icon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
  transition: transform 0.25s ease, top 0.25s ease;
}

.nav-toggle-icon::before {
  top: 1px;
}

.nav-toggle-icon::after {
  top: 9px;
}

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

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

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

  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 0.75rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 24px 40px -24px rgba(22, 24, 21, 0.25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  }

  .primary-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
  }

  .nav-list {
    flex-direction: column;
    gap: 0;
  }

  .nav-list a {
    padding: 0.95rem 0.25rem;
    border-radius: 0;
    border-bottom: 1px solid var(--line);
    font-size: 1.15rem;
  }

  .nav-list a:hover,
  .nav-list a.is-active {
    background: transparent;
  }

  .primary-nav .btn {
    width: 100%;
    min-height: 52px;
  }

  /* Without JavaScript, show the links inline instead of a menu. */
  html:not(.js) .nav-toggle,
  html:not(.js) .primary-nav .btn {
    display: none;
  }

  html:not(.js) .primary-nav {
    position: static;
    padding: 0;
    border: 0;
    box-shadow: none;
    background: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  html:not(.js) .nav-list {
    flex-direction: row;
  }

  html:not(.js) .nav-list a {
    padding: 0.5rem;
    border: 0;
    font-size: 0.95rem;
  }
}

@media (max-width: 380px) {
  .brand-name {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
}

/* 7. Hero */
.hero {
  position: relative;
  padding-block: clamp(3rem, 1.5rem + 5vw, 6rem) clamp(3.5rem, 2rem + 4vw, 5.5rem);
  overflow: hidden;
}

/* Faint layout grid behind the hero */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(22, 24, 21, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(22, 24, 21, 0.055) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 70% 65% at 72% 35%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 65% at 72% 35%, #000 20%, transparent 75%);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.02fr);
  align-items: center;
  gap: clamp(2.5rem, 5vw, 4.5rem);
}

.hero-copy h1 {
  margin-top: 1.5rem;
}

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

.hero-lead {
  max-width: 34em;
  margin-top: 1.6rem;
  font-size: clamp(1.1rem, 1rem + 0.35vw, 1.25rem);
  line-height: 1.6;
  color: var(--text);
}

.hero-lead + .hero-lead {
  margin-top: 0.8rem;
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2.25rem;
}

.hero-kicker {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  max-width: 30em;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.98rem;
}

.hero-kicker svg {
  flex: none;
  width: 20px;
  height: 20px;
  margin-top: 0.15rem;
  color: var(--accent);
}

.hero-kicker strong {
  color: var(--ink);
  font-weight: 600;
}

/* Hero visual: a browser window previewing a website, with small design cards */
.hero-visual {
  position: relative;
  padding: 2.25rem 2.5rem 3.25rem 1.5rem;
  animation: rise-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}

.mock-browser {
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
}

.mock-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-bottom: 1px solid var(--line);
  background: var(--surface-soft);
}

.mock-dots {
  display: flex;
  gap: 6px;
}

.mock-dots i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #dfe0d9;
}

.mock-url {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-inline: auto;
  padding: 0.28rem 0.9rem;
  border-radius: 999px;
  background: #efefea;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.3;
}

.mock-url svg {
  width: 11px;
  height: 11px;
}

.mock-bar-spacer {
  width: 42px;
}

.mock-page {
  padding: 1.1rem 1.25rem 1.35rem;
}

.mock-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.mock-logo {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--ink);
}

.mock-links {
  display: flex;
  gap: 0.6rem;
  margin-left: auto;
}

.mock-links i,
.mock-line {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #e8e9e3;
}

.mock-links i {
  width: 32px;
}

.mock-brand-line {
  width: 56px;
  background: #cfd2c8;
}

.mock-pill {
  width: 54px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-deep);
}

.mock-hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 1.1rem;
  margin-top: 1.5rem;
}

.mock-tag {
  display: block;
  width: 44%;
  height: 12px;
  margin-bottom: 0.8rem;
  border-radius: 999px;
  background: var(--accent-soft);
}

.mock-title {
  display: block;
  height: 14px;
  margin-bottom: 0.45rem;
  border-radius: 5px;
  background: var(--ink);
}

.mock-hero-text .mock-line {
  margin-top: 0.55rem;
}

.w-95 { width: 95%; }
.w-80 { width: 80%; }
.w-70 { width: 70%; }
.w-60 { width: 60%; }
.w-50 { width: 50%; }

.mock-cta {
  display: flex;
  gap: 0.45rem;
  margin-top: 1rem;
}

.mock-cta i {
  width: 56px;
  height: 20px;
  border-radius: 6px;
  background: var(--accent-deep);
}

.mock-cta i + i {
  background: transparent;
  border: 1px solid var(--line-strong);
}

.mock-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4 / 3.3;
  border-radius: 12px;
  background: linear-gradient(165deg, #e2eee5 0%, #f1f5ef 100%);
}

.mock-image::before {
  content: "";
  position: absolute;
  top: 16%;
  right: 16%;
  width: 26%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--accent-mint);
}

.mock-image::after {
  content: "";
  position: absolute;
  left: -20%;
  right: -20%;
  bottom: -38%;
  height: 72%;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
  box-shadow: 60px -30px 0 -10px rgba(18, 59, 39, 0.35);
}

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

.mock-card {
  padding: 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
}

.mock-card b {
  display: block;
  width: 20px;
  height: 20px;
  margin-bottom: 0.65rem;
  border-radius: 6px;
  background: var(--accent-soft);
}

.mock-card .mock-line {
  height: 6px;
  margin-top: 0.4rem;
}

.mock-card .mock-line:first-of-type {
  background: #cfd2c8;
}

.float-card {
  position: absolute;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
  font-size: 0.78rem;
  line-height: 1.35;
  color: var(--text);
  animation: drift 7s ease-in-out infinite;
}

.float-label {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.float-steps {
  top: 0;
  right: 0;
  width: 188px;
  padding: 0.85rem 0.95rem;
}

.float-steps ul {
  display: grid;
  gap: 0.45rem;
  list-style: none;
}

.float-steps li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 500;
  color: var(--ink);
}

.step-check {
  display: grid;
  place-items: center;
  flex: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
}

.step-check svg {
  width: 10px;
  height: 10px;
}

.step-check.is-current {
  background: transparent;
  border: 2px solid var(--accent);
}

.step-check.is-next {
  background: transparent;
  border: 2px solid var(--line-strong);
}

.float-steps li.is-muted {
  color: var(--muted);
}

.float-palette {
  left: 0;
  bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding: 0.8rem 0.95rem;
  animation-delay: -2.5s;
}

.swatches {
  display: flex;
}

.swatches i {
  width: 22px;
  height: 22px;
  margin-right: -5px;
  border: 2px solid var(--surface);
  border-radius: 50%;
}

.type-sample {
  padding-left: 0.9rem;
  border-left: 1px solid var(--line);
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1;
}

.float-phone {
  right: 0.75rem;
  bottom: 0;
  width: 96px;
  padding: 5px;
  border: 0;
  border-radius: 20px;
  background: var(--ink);
  box-shadow: var(--shadow-lg);
  animation-delay: -4.5s;
}

.phone-screen {
  display: grid;
  gap: 5px;
  padding: 12px 8px 14px;
  border-radius: 15px;
  background: var(--surface);
}

.phone-screen .mock-line {
  height: 5px;
}

.phone-screen .mock-title {
  height: 8px;
  margin: 2px 0 0;
}

.phone-img {
  height: 44px;
  margin-top: 4px;
  border-radius: 7px;
  background: linear-gradient(165deg, var(--accent-mint), var(--accent-soft));
}

.phone-btn {
  width: 60%;
  height: 12px;
  margin-top: 3px;
  border-radius: 4px;
  background: var(--accent-deep);
}

@media (max-width: 1080px) and (min-width: 961px) {
  .float-steps {
    width: 170px;
  }
}

@media (max-width: 960px) {
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-copy {
    max-width: 680px;
  }

  .hero-visual {
    width: 100%;
    max-width: 640px;
    margin-inline: auto;
  }
}

@media (max-width: 560px) {
  .eyebrow {
    letter-spacing: 0.1em;
    font-size: 0.7rem;
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .hero-visual {
    padding: 1.75rem 0.75rem 2.75rem 0;
  }

  .mock-page {
    padding: 0.85rem 0.9rem 1rem;
  }

  .mock-links {
    display: none;
  }

  .mock-pill {
    margin-left: auto;
  }

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

  .mock-cards .mock-card:nth-child(3) {
    display: none;
  }

  .float-steps {
    width: 150px;
    padding: 0.7rem 0.75rem;
    font-size: 0.72rem;
  }

  .float-palette {
    left: -0.25rem;
    bottom: 0.25rem;
    gap: 0.65rem;
    padding: 0.6rem 0.7rem;
  }

  .swatches i {
    width: 18px;
    height: 18px;
  }

  .type-sample {
    padding-left: 0.65rem;
    font-size: 1.2rem;
  }

  .float-phone {
    right: 0;
    width: 78px;
  }

  .phone-img {
    height: 32px;
  }
}

/* 8. Trust strip & statement */
.trust-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.trust-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.5rem 1.5rem;
}

.trust-list li + li {
  border-left: 1px solid var(--line);
}

.trust-list .icon-tile {
  width: 40px;
  height: 40px;
  border-radius: 10px;
}

.trust-list .icon-tile svg {
  width: 20px;
  height: 20px;
}

.trust-list strong {
  display: block;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.35;
}

.trust-list span {
  display: block;
  margin-top: 0.2rem;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

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

  .trust-list li:nth-child(3) {
    border-left: 0;
  }

  .trust-list li:nth-child(n + 3) {
    border-top: 1px solid var(--line);
  }
}

@media (max-width: 560px) {
  .trust-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .trust-list li + li {
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .trust-list li {
    padding: 1.2rem 1.25rem;
  }
}

.statement {
  padding-block: var(--section-y) 0;
}

.statement-text {
  max-width: 23em;
  color: var(--ink);
  font-size: clamp(1.6rem, 1rem + 2.3vw, 2.7rem);
  font-weight: 500;
  line-height: 1.22;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.statement-text span {
  color: #858a82;
}

/* 9. Services */
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.85rem 1.75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--line-strong);
  box-shadow: var(--shadow);
}

.card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
}

.card-num {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.06em;
}

.service-card h3 {
  font-size: 1.4rem;
}

.service-card > p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.check-list {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  list-style: none;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  color: var(--text);
  font-size: 0.98rem;
  line-height: 1.5;
}

.check-list svg {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.12rem;
  color: var(--accent);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  margin-top: auto;
  padding-top: 1.75rem;
  color: var(--accent-deep);
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s ease;
}

.card-link:hover {
  color: var(--accent);
}

.card-link:hover svg {
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .service-grid {
    grid-template-columns: minmax(0, 1fr);
    max-width: 640px;
    margin-inline: auto;
  }
}

/* 10. Approach */
.approach {
  background: var(--surface);
  border-block: 1px solid var(--line);
}

.approach-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.approach-intro h2 {
  margin-top: 1.1rem;
}

.approach-intro p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: 1.15rem;
  color: var(--muted);
}

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

.point {
  padding: 1.6rem 1.5rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.point .icon-tile {
  width: 42px;
  height: 42px;
  margin-bottom: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--line);
}

.point .icon-tile svg {
  width: 21px;
  height: 21px;
}

.point h3 {
  font-size: 1.12rem;
}

.point p {
  margin-top: 0.5rem;
  color: var(--muted);
  font-size: 0.98rem;
}

@media (min-width: 961px) {
  .approach-intro {
    position: sticky;
    top: calc(var(--header-h) + 2rem);
  }
}

@media (max-width: 960px) {
  .approach-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .approach-intro {
    max-width: 640px;
  }
}

@media (max-width: 600px) {
  .point-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 11. Process */
.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
  list-style: none;
}

/* Connecting line between step markers (desktop) */
.steps::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 24px;
  right: 24px;
  height: 1px;
  background: repeating-linear-gradient(to right, var(--line-strong) 0 6px, transparent 6px 12px);
}

.step {
  position: relative;
}

.step-marker {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--bg);
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
}

.step-body {
  margin-top: 1.25rem;
  padding: 1.5rem 1.4rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  height: calc(100% - 48px - 1.25rem);
}

.step-label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step h3 {
  font-size: 1.15rem;
}

.step p {
  margin-top: 0.6rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.step:last-child .step-marker {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: #fff;
}

@media (max-width: 960px) {
  .steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    max-width: 640px;
    margin-inline: auto;
  }

  /* Vertical timeline: each step draws the connector down to the next marker */
  .steps::before {
    display: none;
  }

  .step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 48px;
    bottom: 0;
    left: 23px;
    width: 1px;
    background: repeating-linear-gradient(to bottom, var(--line-strong) 0 6px, transparent 6px 12px);
  }

  .step {
    display: grid;
    grid-template-columns: 48px minmax(0, 1fr);
    gap: 1rem;
    padding-bottom: 1rem;
  }

  .step:last-child {
    padding-bottom: 0;
  }

  .step-marker {
    position: relative;
  }

  .step-body {
    margin-top: 0;
    height: auto;
  }
}

/* 12. CTA band */
.cta-band {
  padding-block: 0 var(--section-y);
}

.cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: clamp(3rem, 2rem + 4vw, 5.5rem) clamp(1.5rem, 5vw, 4.5rem);
  border-radius: 28px;
  background: var(--accent-deep);
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.cta-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
}

.cta-panel::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -60%;
  z-index: -1;
  width: 70%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(191, 227, 202, 0.18), transparent 65%);
  transform: translateX(-50%);
}

.cta-panel .eyebrow {
  background: rgba(191, 227, 202, 0.14);
  color: var(--accent-mint);
}

.cta-panel h2 {
  max-width: 14em;
  margin: 1.2rem auto 0;
  color: #fff;
}

.cta-panel p:not(.eyebrow) {
  max-width: 34em;
  margin: 1.2rem auto 0;
  font-size: 1.15rem;
}

.cta-panel .btn {
  margin-top: 2.25rem;
}

/* 13. Contact & form */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
}

.contact-intro h2 {
  margin-top: 1.1rem;
}

.contact-intro > p:not(.eyebrow) {
  margin-top: 1.25rem;
  font-size: 1.1rem;
  color: var(--muted);
}

.contact-intro > p + p:not(.eyebrow) {
  margin-top: 0.8rem;
}

.contact {
  padding-top: 0;
}

.contact-details {
  display: grid;
  margin-top: 2rem;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.contact-details li {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  min-width: 0;
  padding: 1rem 1.2rem;
}

.contact-details li + li {
  border-top: 1px solid var(--line);
}

.contact-details li > span:last-child {
  min-width: 0;
}

.contact-details .icon-tile {
  width: 38px;
  height: 38px;
  border-radius: 10px;
}

.contact-details .icon-tile svg {
  width: 19px;
  height: 19px;
}

.contact-label {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  line-height: 1.5;
  text-transform: uppercase;
}

.contact-value {
  display: block;
  margin-top: 0.1rem;
  color: var(--ink);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-details a {
  color: var(--ink);
  text-decoration: underline;
  text-decoration-color: var(--line-strong);
}

.contact-details a:hover {
  color: var(--accent);
  text-decoration-color: currentColor;
}

.contact-tip {
  margin-top: 1.5rem;
  padding: 1.25rem 1.3rem;
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.contact-tip h3 {
  font-size: 1rem;
}

.contact-tip ul {
  display: grid;
  gap: 0.35rem;
  margin-top: 0.7rem;
  padding-left: 1.1rem;
  color: var(--muted);
  font-size: 0.96rem;
}

.contact-tip li::marker {
  color: var(--accent);
}

.form-card {
  padding: clamp(1.5rem, 1rem + 2.5vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.form-card h3 {
  font-size: 1.35rem;
}

.form-card-intro {
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-form {
  display: grid;
  gap: 1.15rem;
  margin-top: 1.75rem;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.15rem;
}

.field {
  display: grid;
  gap: 0.45rem;
  align-content: start;
}

.field label {
  color: var(--ink);
  font-size: 0.93rem;
  font-weight: 600;
}

.field .optional {
  color: var(--muted);
  font-weight: 400;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  background: var(--surface-soft);
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
  line-height: 1.4;
  outline: 2px solid transparent;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-right: 2.6rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2362675f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.9rem center;
  background-size: 18px;
  cursor: pointer;
}

.field select:invalid {
  color: var(--muted);
}

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

.field input::placeholder,
.field textarea::placeholder {
  color: #8d9189;
}

.field input:hover,
.field select:hover,
.field textarea:hover {
  border-color: #b9bdb2;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--accent);
  background: var(--surface);
  box-shadow: 0 0 0 4px rgba(29, 107, 67, 0.14);
}

.field [aria-invalid="true"] {
  border-color: var(--error);
}

.field [aria-invalid="true"]:focus {
  box-shadow: 0 0 0 4px rgba(180, 35, 24, 0.12);
}

.field-error {
  color: var(--error);
  font-size: 0.87rem;
  line-height: 1.4;
}

.field-error:empty {
  display: none;
}

/* Spam trap: hidden from people, visible to simple bots */
.hp-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form .btn {
  width: 100%;
  min-height: 54px;
  margin-top: 0.35rem;
}

.form-note {
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
  text-align: center;
}

.form-status {
  padding: 0.95rem 1.1rem;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  line-height: 1.5;
}

.form-status:empty {
  display: none;
}

.form-status.is-success {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.form-status.is-info {
  background: var(--bg);
  border: 1px solid var(--line);
  color: var(--text);
}

.form-status.is-error {
  background: var(--error-soft);
  color: #8a1b12;
}

.form-status a {
  color: inherit;
  font-weight: 600;
}

@media (max-width: 960px) {
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-intro,
  .form-card {
    width: 100%;
    max-width: 680px;
  }
}

@media (max-width: 600px) {
  .form-row {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* 14. Footer */
.site-footer {
  padding-block: clamp(3.5rem, 2.5rem + 3vw, 5rem) 2rem;
  background: var(--footer-bg);
  color: #a9ada5;
  font-size: 0.97rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 3rem;
}

.footer-logo {
  display: inline-block;
}

.footer-logo img {
  width: auto;
  height: 68px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  max-width: 24em;
  margin-top: 1.25rem;
}

.footer-email {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  font-weight: 500;
}

.footer-email:hover {
  color: var(--accent-mint);
}

.footer-heading {
  margin-bottom: 1rem;
  color: #858a82;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.footer-links {
  display: grid;
  gap: 0.6rem;
  list-style: none;
}

.footer-links a {
  color: #dcdfd8;
  text-decoration: none;
}

.footer-links a:hover {
  color: #fff;
  text-decoration: underline;
}

.site-footer :focus-visible {
  outline-color: var(--accent-mint);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: 3.5rem;
  padding-top: 1.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2.5rem 1.5rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* 15. Legal pages */
.legal-hero {
  padding-block: clamp(3rem, 2rem + 4vw, 5rem) clamp(2rem, 1.5rem + 2vw, 3rem);
  border-bottom: 1px solid var(--line);
}

.legal-hero h1 {
  margin-top: 1.2rem;
  font-size: clamp(2.3rem, 1.6rem + 3vw, 3.6rem);
}

.legal-meta {
  margin-top: 1rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.legal-body {
  padding-block: clamp(2.5rem, 2rem + 2vw, 3.5rem) var(--section-y);
}

.legal-intro {
  color: var(--ink);
  font-size: 1.2rem;
}

.legal-body h2 {
  margin-top: 2.5rem;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.legal-body p,
.legal-body ul {
  margin-top: 0.9rem;
}

.legal-body ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.25rem;
}

.legal-body li::marker {
  color: var(--accent);
}

.legal-contact {
  margin-top: 3rem;
  padding: 1.5rem 1.6rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.legal-contact h2 {
  margin-top: 0;
  font-size: 1.15rem;
}

.legal-contact p {
  margin-top: 0.5rem;
}

.legal-contact a {
  font-weight: 600;
  overflow-wrap: anywhere;
}

.legal-related {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.5rem;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.legal-related span {
  color: var(--muted);
}

/* 16. Motion */
@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes drift {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Scroll reveal — script.js adds .reveal-ready to <html> only once it is running,
   so content is never hidden if the script fails to load. */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--delay, 0ms);
}

.reveal-ready .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    transition-delay: 0ms !important;
  }

  .reveal-ready .reveal {
    opacity: 1;
    transform: none;
  }

  .service-card:hover {
    transform: none;
  }
}
