/* ============================================================
   CGI Web Services - Warm variant
   Warm, human, plain-spoken. Earthy palette on cream,
   soft slab headings, rounded shapes, generous sizing.
   All text/background pairings verified WCAG AA (see DESIGN.md).
   ============================================================ */

/* ---- Local fonts (self-hosted woff2, no external requests) ---- */
@font-face {
  font-family: 'Zilla Slab';
  src: url('../fonts/zilla-slab-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zilla Slab';
  src: url('../fonts/zilla-slab-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zilla Slab';
  src: url('../fonts/zilla-slab-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Zilla Slab';
  src: url('../fonts/zilla-slab-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-400-normal.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-500-normal.woff2') format('woff2');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-600-normal.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Source Sans 3';
  src: url('../fonts/source-sans-3-latin-700-normal.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* ---- Tokens ---- */
:root {
  --ink: #2e1f14;          /* deep warm brown, headings */
  --body: #4c3a29;         /* body text */
  --muted: #6e5b45;        /* secondary text, 6.06:1 on cream */
  --accent: #96420f;       /* terracotta, links and highlights */
  --accent-deep: #75320a;  /* hover state */
  --eyebrow: #8a3d0e;      /* small labels */
  --badge: #7a5200;        /* bronze, small badges with white text */
  --bg: #fbf7ef;           /* warm cream page background */
  --bg-alt: #f3eadc;       /* deeper cream for alternating bands */
  --card: #ffffff;
  --tint: #fbe9db;         /* warm terracotta tint for highlights */
  --border: #e4d6c2;       /* warm hairline */
  --footer-bg: #2e1f14;
  --footer-text: #ede0ce;
  --footer-muted: #c7b299;
  --success-bg: #edf2de;
  --success-text: #4c6420;
  --progress-bg: #f8edd5;
  --progress-text: #7a5200;
  --tag-bg: #efe6d8;
  --tag-text: #5a4732;
  --error: #8c1d18;

  --font-slab: 'Zilla Slab', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 26px;
  --pill: 999px;
  --max-width: 1120px;
}

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

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

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

body {
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--body);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-slab);
  color: var(--ink);
  line-height: 1.22;
  font-weight: 600;
}

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

ul, ol { padding-left: 1.25rem; }

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

section[id], footer[id] { scroll-margin-top: 5.5rem; }

/* ---- Skip link ---- */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  z-index: 100;
  font-weight: 600;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus {
  left: 0;
  color: #ffffff;
}

/* ---- Focus ---- */
:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---- Buttons ---- */
.btn {
  display: inline-block;
  font-family: var(--font-sans);
  font-weight: 600;
  text-decoration: none;
  border-radius: var(--pill);
  padding: 0.7rem 1.6rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}
.btn-primary {
  background: var(--accent);
  color: #ffffff;
}
.btn-primary:hover {
  background: var(--accent-deep);
  color: #ffffff;
}
.btn-secondary {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}
.btn-secondary:hover {
  background: var(--accent);
  color: #ffffff;
}
.btn-sm { padding: 0.45rem 1.15rem; font-size: 0.95rem; }
.btn-lg { padding: 0.9rem 1.9rem; font-size: 1.1rem; }
.btn-full { width: 100%; text-align: center; }

.cookie-banner {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: -100%;
  z-index: 2000;
  max-width: 560px;
  margin: 0 auto;
  background: var(--footer-bg);
  color: var(--footer-text);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
  transition: bottom 0.3s ease;
}
.cookie-banner.is-visible { bottom: 1rem; }
.cookie-banner p { margin: 0 0 0.9rem; font-size: 0.92rem; line-height: 1.5; }
.cookie-banner p a { color: #ffffff; text-decoration: underline; }
.cookie-banner-actions { display: flex; gap: 0.6rem; flex-wrap: wrap; }
.cookie-banner .btn-secondary { color: var(--footer-text); border-color: var(--footer-muted); }
.cookie-banner .btn-secondary:hover { background: var(--footer-muted); color: var(--footer-bg); }

/* ---- Header ---- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.site-header.scrolled {
  box-shadow: 0 2px 10px rgba(46, 31, 20, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 4.75rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-width: 0;
}
.logo-mark {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 1.05rem;
  color: #ffffff;
  background: var(--accent);
  padding: 0.32rem 0.6rem;
  border-radius: var(--radius-sm) var(--radius-sm) var(--radius-sm) 2px;
  letter-spacing: 0.03em;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-name {
  font-family: var(--font-slab);
  font-weight: 600;
  font-size: 1.15rem;
  color: var(--ink);
}
.logo-tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Navigation: checkbox pattern, functional without JavaScript.
   The checkbox only exists visually on small screens (see media query). */
.nav-checkbox {
  display: none;
}
.nav-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  padding: 0.6rem;
  cursor: pointer;
  z-index: 55;
}
.hamburger,
.hamburger::before,
.hamburger::after {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--ink);
  position: relative;
  border-radius: 2px;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.hamburger { top: 50%; margin-top: -1px; }
.hamburger::before { content: ''; position: absolute; top: -7px; }
.hamburger::after { content: ''; position: absolute; top: 7px; }

.main-nav {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.main-nav a {
  color: var(--body);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.98rem;
}
.main-nav a:hover { color: var(--accent); }
.main-nav a.btn { color: #ffffff; }
.main-nav a.btn:hover { color: #ffffff; }

@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav-checkbox {
    display: block;
    position: absolute;
    opacity: 0;
    width: 2.75rem;
    height: 2.75rem;
    right: 1.5rem;
    top: 1rem;
    margin: 0;
    cursor: pointer;
    z-index: 60;
  }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.5rem 1.5rem 1.25rem;
  }
  .main-nav a {
    padding: 0.85rem 0;
    border-bottom: 1px solid var(--border);
    font-size: 1.05rem;
  }
  .main-nav a.btn {
    border: 2px solid transparent;
    margin-top: 0.85rem;
    text-align: center;
    padding: 0.75rem 1rem;
  }
  .nav-checkbox:checked ~ .main-nav { display: flex; }
  .nav-checkbox:checked ~ .nav-toggle .hamburger { background: transparent; }
  .nav-checkbox:checked ~ .nav-toggle .hamburger::before { transform: translateY(7px) rotate(45deg); }
  .nav-checkbox:checked ~ .nav-toggle .hamburger::after { transform: translateY(-7px) rotate(-45deg); }
}

/* ---- Hero ---- */
.hero {
  background: var(--bg);
  padding: 4.5rem 0 4rem;
  overflow: hidden; /* keep decorative blobs out of scrollable overflow */
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 3.5rem;
  align-items: center;
}
.hero-content, .hero-visual { min-width: 0; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--eyebrow);
  background: var(--tint);
  border: 1px solid var(--border);
  padding: 0.35rem 0.9rem;
  border-radius: var(--pill);
  margin-bottom: 1.4rem;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--success-text);
}

.hero-title {
  font-size: clamp(2.3rem, 4.6vw, 3.5rem);
  font-weight: 600;
  margin-bottom: 1.25rem;
}
.title-accent {
  display: block;
  color: var(--accent);
}

.hero-lede {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--body);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Fact chips: a wrapping row of pills, not a three-column stat row */
.hero-facts {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.hero-facts li {
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--pill);
  padding: 0.45rem 1rem;
  font-size: 0.95rem;
  color: var(--body);
}
.hero-facts strong {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--accent);
}

/* Hero visual: layered soft shapes behind a personal card */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.blob {
  position: absolute;
  display: block;
  pointer-events: none;
}
.blob--one {
  width: 82%;
  height: 78%;
  top: -4%;
  right: -2%;
  background: var(--tint);
  border-radius: 58% 42% 55% 45% / 48% 56% 44% 52%;
}
.blob--two {
  width: 46%;
  height: 42%;
  bottom: -3%;
  left: 0;
  background: var(--success-bg);
  border-radius: 45% 55% 48% 52% / 55% 45% 60% 40%;
}
.hero-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  max-width: 24rem;
  box-shadow: 0 12px 30px rgba(46, 31, 20, 0.08);
}
.hero-card-eyebrow {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 0.5rem;
}
.hero-card-name {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 2.6rem;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 0.6rem;
}
.hero-card-line {
  color: var(--body);
  margin-bottom: 1.4rem;
}
.hero-card-contact {
  list-style: none;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--border);
}
.hero-card-contact li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--ink);
  font-weight: 600;
  padding: 0.3rem 0;
  min-width: 0;
}
.hero-card-contact a {
  color: var(--accent);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.hero-card-contact a:hover { text-decoration: underline; }

/* ---- Trust bar ---- */
.trust-bar {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1.35rem 0;
}
.trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 2.5rem;
}
.trust-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.trust-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 2rem;
}
.trust-item {
  font-family: var(--font-slab);
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--ink);
}

/* ---- Sections ---- */
.section { padding: 5rem 0; }

.section-header { max-width: 44rem; margin-bottom: 3rem; }
.section-header--centered {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--eyebrow);
  margin-bottom: 0.75rem;
}
.section-header h2,
.approach-content h2,
.about-content h2,
.contact-content h2 {
  font-size: clamp(1.8rem, 3.1vw, 2.4rem);
  margin-bottom: 0.9rem;
}
.section-header p,
.approach-content > p,
.contact-content > p {
  font-size: 1.08rem;
  color: var(--muted);
}

/* ---- Work ---- */
.work { background: var(--bg); }
.work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
}
.work-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.9rem;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.work-card--featured { border-top: 5px solid var(--accent); }
.work-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}
.tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.28rem 0.75rem;
  border-radius: var(--pill);
}
.tag-primary { background: var(--accent); color: #ffffff; }
.tag-secondary { background: var(--tag-bg); color: var(--tag-text); }
.tag-success { background: var(--success-bg); color: var(--success-text); }
.tag-progress { background: var(--progress-bg); color: var(--progress-text); }

.work-card-title {
  font-size: 1.45rem;
  margin-bottom: 0.6rem;
}
.work-card-desc { margin-bottom: 1.1rem; }
.work-card-features {
  margin-bottom: 1.5rem;
  color: var(--body);
}
.work-card-features li { margin-bottom: 0.35rem; }
.work-card-features li::marker { color: var(--accent); }
.work-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--accent);
}
.work-card-link:hover { color: var(--accent-deep); text-decoration: underline; }
.work-card-link--disabled { color: var(--muted); }

/* ---- Comparison ---- */
.comparison {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.comparison-table-wrapper {
  max-width: 60rem;
  margin: 0 auto;
}
.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.comparison-table th,
.comparison-table td {
  text-align: left;
  padding: 0.95rem 1.15rem;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
.comparison-table thead th {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  background: var(--bg-alt);
}
.comparison-table tbody tr:last-child td { border-bottom: none; }
.comparison-table tbody td:first-child {
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.comparison-table .col-us,
.comparison-table .cell-us {
  background: var(--tint);
}
.comparison-table thead .col-us { color: var(--accent); }
.comparison-table .cell-us { font-weight: 700; color: var(--ink); }

/* Small screens: each row becomes a stacked card, all columns visible */
@media (max-width: 640px) {
  .comparison-table,
  .comparison-table tbody,
  .comparison-table tr,
  .comparison-table td {
    display: block;
    width: 100%;
  }
  .comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }
  .comparison-table {
    background: transparent;
    border: none;
    border-radius: 0;
    overflow: visible;
  }
  .comparison-table tr {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
  }
  .comparison-table td {
    border-bottom: 1px solid var(--border);
    padding: 0.75rem 1.1rem;
  }
  .comparison-table td:last-child { border-bottom: none; }
  .comparison-table td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.15rem;
  }
  .comparison-table tbody td:first-child {
    white-space: normal;
    background: var(--bg-alt);
    font-size: 1.05rem;
  }
  .comparison-table tbody td:first-child::before { content: none; }
  .comparison-table .cell-us {
    border-left: 5px solid var(--accent);
    padding-left: calc(1.1rem - 5px);
  }
}

/* ---- Services ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}
.service-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem;
  background: var(--card);
  min-width: 0;
}
.service-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 38% 62% 55% 45% / 50% 45% 55% 50%;
  background: var(--tint);
  color: var(--accent);
  margin-bottom: 1.1rem;
}
.service-card h3 {
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.service-card p { margin-bottom: 1.25rem; }
.service-features li { margin-bottom: 0.4rem; }
.service-features li::marker { color: var(--accent); }

/* ---- Approach ---- */
.approach {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.approach-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3.5rem;
  align-items: start;
}
.approach-content, .approach-aside { min-width: 0; }
.steps {
  list-style: none;
  padding: 0;
  margin-top: 2rem;
}
.steps li {
  display: flex;
  gap: 1.25rem;
  padding: 1.25rem 0;
  border-bottom: 1px solid var(--border);
}
.steps li:last-child { border-bottom: none; }
.step-number {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--accent);
  background: var(--tint);
  border: 1px solid var(--border);
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
}
.step-body { min-width: 0; }
.step-body h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
}
.step-body p { color: var(--body); }

.approach-aside {
  background: var(--footer-bg);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
}
.aside-heading {
  font-family: var(--font-slab);
  font-weight: 600;
  font-size: 1.3rem;
  color: #ffffff;
  margin-bottom: 1.25rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(237, 224, 206, 0.28);
}
.aside-facts { margin: 0; }
.aside-fact {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(237, 224, 206, 0.18);
}
.aside-fact:last-child { border-bottom: none; }
.aside-fact dt {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--footer-muted);
  margin-bottom: 0.15rem;
}
.aside-fact dd {
  margin: 0;
  color: var(--footer-text);
  font-size: 0.98rem;
}

/* ---- Pricing ---- */
.pricing-section { margin-bottom: 3.5rem; }
.pricing-section-header {
  text-align: center;
  margin-bottom: 2rem;
}
.pricing-section-header h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}
.pricing-section-header p { color: var(--muted); }
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  max-width: 62rem;
  margin: 0 auto;
}
.pricing-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.1rem;
  background: var(--card);
  min-width: 0;
}
.pricing-card--featured {
  border: 2px solid var(--accent);
}
.pricing-badge {
  position: absolute;
  top: -0.9rem;
  left: 50%;
  transform: translateX(-50%);
  background: var(--badge);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.35rem 1rem;
  border-radius: var(--pill);
  white-space: nowrap;
}
.pricing-card h4 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}
.pricing-from {
  margin-bottom: 1rem;
}
.pricing-from strong {
  font-family: var(--font-slab);
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--accent);
}
.pricing-from span {
  color: var(--muted);
  font-size: 0.92rem;
  margin-left: 0.25rem;
}
.pricing-card > p:not(.pricing-from) {
  color: var(--body);
  margin-bottom: 1.25rem;
}
.pricing-features li { margin-bottom: 0.4rem; }
.pricing-features li::marker { color: var(--accent); }
.pricing-footnote {
  max-width: 44rem;
  margin: 0 auto;
  text-align: center;
  color: var(--muted);
  font-size: 0.98rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

/* ---- About ---- */
.about {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-layout {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 3.5rem;
  align-items: start;
}
.about-content, .about-card { min-width: 0; }
.about-content h2 { margin-bottom: 1rem; }
.about-content h3 {
  font-size: 1.2rem;
  margin-top: 1.75rem;
  margin-bottom: 0.5rem;
}
.about-content p { margin-bottom: 0.5rem; }

.about-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.1rem;
}
.about-card h3 {
  font-size: 1.35rem;
  margin-bottom: 0.5rem;
}
.about-card > p { color: var(--muted); margin-bottom: 1.25rem; }
.about-contact {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}
.about-contact li {
  padding: 0.55rem 0;
  border-bottom: 1px solid var(--border);
}
.about-contact li:last-child { border-bottom: none; }

/* ---- Contact ---- */
.contact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  background: var(--card);
  box-shadow: 0 14px 34px rgba(46, 31, 20, 0.07);
}
.contact-content, .contact-form { min-width: 0; }
.contact-methods {
  list-style: none;
  padding: 0;
  margin-top: 1.75rem;
}
.contact-methods li { margin-bottom: 0.9rem; }
.contact-methods a,
.contact-methods span {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
}
.contact-methods a { color: var(--accent); }
.contact-methods a:hover { text-decoration: underline; }

.contact-form .form-group { margin-bottom: 1.1rem; }
.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--ink);
  margin-bottom: 0.3rem;
}
.contact-form input,
.contact-form textarea {
  width: 100%;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink);
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  background: var(--bg);
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 3px solid var(--accent);
  outline-offset: 0;
  border-color: var(--accent);
}
.contact-form textarea { resize: vertical; }
.form-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  min-height: 0;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--success-text);
}
.form-status.error { color: var(--error); }
.form-note {
  margin-top: 0.9rem;
  font-size: 0.9rem;
  color: var(--muted);
  text-align: center;
}

/* ---- Footer ---- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 3.5rem 0 2.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 2.5rem;
  align-items: start;
}
.footer-logo {
  font-family: var(--font-slab);
  font-weight: 700;
  font-size: 1.25rem;
  color: #ffffff;
  display: block;
  margin-bottom: 0.5rem;
}
.footer-brand p { font-size: 0.95rem; }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.98rem;
}
.footer-nav a:hover { color: #ffffff; text-decoration: underline; }
.footer-legal p {
  font-size: 0.88rem;
  color: var(--footer-muted);
}

/* ---- Responsive ---- */
@media (max-width: 900px) {
  .hero-inner,
  .approach-layout,
  .about-layout,
  .contact-card {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .contact-card { padding: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 640px) {
  .hero { padding: 3rem 0 3rem; }
  .section { padding: 3.5rem 0; }
  .hero-actions .btn { width: 100%; text-align: center; }
  .hero-card { padding: 1.75rem; }
  .pricing-card, .service-card, .about-card, .approach-aside { padding: 1.6rem; }
  .contact-card { padding: 1.6rem; border-radius: var(--radius); }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition: none !important;
    animation: none !important;
  }
}

/* The domain names in the trust strip jump to that project's card below. */
.work-card { scroll-margin-top: 96px; }
a.trust-item { color: inherit; text-decoration: underline; text-decoration-thickness: 1px;
  text-underline-offset: 4px; }
a.trust-item:hover { text-decoration-thickness: 2px; }
a.trust-item:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; border-radius: 3px; }

/* --- Trades offer page: scope box + form (new, not in the original Warm build) --- */
.scope-box { padding: 3rem 0; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.scope-box h2, .scope-box h3 { font-family: var(--font-slab); color: var(--ink); }
.scope-price { font-family: var(--font-slab); font-size: 2rem; color: var(--accent); margin: 0.5rem 0; }
.scope-price span { font-size: 1rem; color: var(--muted); font-family: var(--font-sans); }
.scope-list { list-style: none; padding: 0; margin: 1rem 0; }
.scope-list li { padding: 0.35rem 0 0.35rem 1.6rem; position: relative; color: var(--body); }
.scope-list--yes li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.scope-list--no li::before { content: "–"; position: absolute; left: 0; color: var(--muted); font-weight: 700; }
.scope-note { margin-top: 1.5rem; padding: 1rem; background: var(--tint); border-radius: var(--radius-sm); color: var(--body); font-size: 0.95rem; }
.contact { padding: 3rem 0; }
.contact-inner { max-width: 560px; }
.field { margin-bottom: 1rem; }
.field label { display: block; font-weight: 600; color: var(--ink); margin-bottom: 0.35rem; }
.field input, .field textarea { width: 100%; padding: 0.6rem 0.75rem; border: 1px solid var(--border); border-radius: var(--radius-sm); font-family: var(--font-sans); font-size: 1rem; background: var(--card); color: var(--body); }
.field textarea { min-height: 100px; resize: vertical; }
.form-note { margin-top: 0.75rem; color: var(--muted); font-size: 0.9rem; }
.alert { padding: 0.85rem 1rem; border-radius: var(--radius-sm); margin-bottom: 1rem; }
.alert--ok { background: var(--success-bg); color: var(--success-text); }
.alert--err { background: #fbe4e2; color: var(--error); }
