:root {
  --bg-base: #FAF6F0;
  --bg-elevated: #F2EBDF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #FBF8F2;
  --bg-dark: #1F1A17;
  --bg-overlay: rgba(31, 26, 23, 0.92);
  --text-primary: #1F1A17;
  --text-secondary: #4A423D;
  --text-muted: #756B63;
  --text-dim: #A9A099;
  --text-on-dark: #FAF6F0;
  --terracotta: #C84B31;
  --terracotta-bright: #E5614A;
  --terracotta-deep: #A03A22;
  --terracotta-glow: rgba(200, 75, 49, 0.18);
  --terracotta-faint: rgba(200, 75, 49, 0.06);
  --slate: #3D4A52;
  --slate-deep: #2A3338;
  --border-default: rgba(31, 26, 23, 0.10);
  --border-strong: rgba(31, 26, 23, 0.18);
  --border-terracotta: rgba(200, 75, 49, 0.28);
  --shadow-sm: 0 1px 2px rgba(31, 26, 23, 0.05);
  --shadow-md: 0 8px 24px rgba(31, 26, 23, 0.08);
  --shadow-lg: 0 24px 64px rgba(31, 26, 23, 0.12);
  --shadow-terracotta: 0 8px 32px rgba(200, 75, 49, 0.20);
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-full: 999px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: Inter, system-ui, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 2px solid var(--terracotta);
  outline-offset: 2px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-150%);
  padding: 10px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.icon-sprite symbol * {
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  max-width: 1240px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 48px);
}

.narrow {
  max-width: 980px;
}

.section {
  padding-block: clamp(80px, 10vw, 144px);
  scroll-margin-top: 90px;
}

.display,
.headline-1,
.headline-2,
.numeral {
  font-family: Fraunces, Georgia, serif;
  letter-spacing: 0;
}

.display {
  margin: 0;
  font-weight: 800;
  font-size: clamp(2.75rem, 6vw, 5.25rem);
  line-height: 1.02;
  overflow-wrap: break-word;
}

.h1-line-one,
.h1-line-two {
  display: inline;
}

.h1-line-three {
  display: block;
}

.headline-1 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.08;
}

.headline-2 {
  margin: 0;
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.2;
}

.lead {
  margin: 0;
  font: 400 clamp(1.0625rem, 1.5vw, 1.25rem)/1.55 Inter, system-ui, sans-serif;
  color: var(--text-secondary);
}

.body-sm {
  font: 500 0.875rem/1.55 Inter, system-ui, sans-serif;
  color: var(--text-muted);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  font: 600 0.75rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--terracotta-deep);
}

.eyebrow-dash {
  width: 24px;
  height: 2px;
  background: currentColor;
  flex: 0 0 auto;
}

.eyebrow-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: var(--space-5);
}

.brick-mini {
  width: 84px;
  height: auto;
  flex: 0 0 auto;
}

.accent,
.terracotta {
  color: var(--terracotta);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 16px 28px;
  border: 1.5px solid transparent;
  border-radius: var(--radius-md);
  font: 600 0.9375rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform 200ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 200ms cubic-bezier(0.2, 0.8, 0.2, 1), background 200ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 200ms ease, color 200ms ease;
}

.btn svg {
  width: 18px;
  height: 18px;
  color: currentColor;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.btn-primary {
  background: var(--terracotta);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--terracotta-bright);
  box-shadow: var(--shadow-terracotta);
  transform: translateY(-1px);
}

.btn-primary:active {
  background: var(--terracotta-deep);
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  border-color: var(--slate);
  color: var(--text-primary);
}

.btn-secondary:hover {
  border-color: var(--terracotta);
  color: var(--terracotta);
  background: var(--terracotta-faint);
  transform: translateY(-1px);
}

.hero-primary {
  animation: ctaPulse 2.8s ease-in-out infinite;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: var(--bg-base);
  transition: background 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(250, 246, 240, 0.92);
  border-bottom: 1px solid var(--border-default);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(16px);
}

.header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  color: var(--text-primary);
  text-decoration: none;
}

.logo-text {
  font: 700 1.45rem/1 Fraunces, Georgia, serif;
  letter-spacing: 0;
}

.desktop-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 26px;
}

.desktop-nav a,
.footer-col a {
  text-decoration: none;
  transition: color 180ms ease;
}

.desktop-nav a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 600;
}

.desktop-nav a:hover,
.footer-col a:hover {
  color: var(--terracotta);
}

.header-cta {
  min-height: 40px;
  padding: 12px 20px;
}

.menu-toggle {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  margin-left: auto;
  border: 1px solid var(--border-terracotta);
  border-radius: var(--radius-md);
  background: var(--terracotta-faint);
  color: var(--terracotta);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--terracotta);
  border-radius: var(--radius-full);
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.mobile-menu {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 80;
  width: min(100%, 420px);
  min-height: 100dvh;
  padding: 88px 24px 24px;
  background: var(--bg-base);
  border-left: 1px solid var(--border-default);
  transform: translateX(100%);
  transition: transform 250ms ease-out;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.menu-close {
  position: absolute;
  top: 22px;
  right: 22px;
  width: 44px;
  height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  background: var(--bg-card);
  color: var(--terracotta);
  cursor: pointer;
}

.menu-close svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
}

.mobile-menu nav a {
  min-height: 56px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--border-default);
  color: var(--text-primary);
  font: 700 1.5rem/1.1 Fraunces, Georgia, serif;
  text-decoration: none;
}

.mobile-menu-cta {
  margin-top: auto;
  width: 100%;
}

.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding-block: clamp(56px, 8vw, 112px);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 72px);
}

.hero-copy {
  display: grid;
  gap: var(--space-5);
  min-width: 0;
}

.hero-copy .lead {
  max-width: 780px;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.trust-line {
  margin: 0;
}

.trust-line span {
  display: inline-block;
  padding-inline: 12px;
  color: var(--terracotta);
}

.hero-visual {
  min-width: 0;
  max-width: 100%;
  overflow: hidden;
}

.hero-graph {
  width: 100%;
  max-width: 720px;
  height: auto;
  filter: drop-shadow(0 8px 24px rgba(31, 26, 23, 0.08));
}

.graph-bg {
  stroke: var(--border-default);
  stroke-width: 1;
}

.svg-eyebrow {
  fill: var(--terracotta);
  font: 700 12px/1 Inter, system-ui, sans-serif;
  letter-spacing: 1.8px;
}

.svg-number {
  fill: var(--text-primary);
  font: 800 64px/1 Fraunces, Georgia, serif;
}

.svg-caption {
  fill: var(--slate);
  font: 600 12px/1 Inter, system-ui, sans-serif;
}

.svg-row-text,
.svg-position {
  font: 600 16px/1 Inter, system-ui, sans-serif;
}

.svg-row-text {
  fill: var(--text-secondary);
}

.slate-fill {
  fill: var(--slate);
}

.svg-script {
  fill: var(--slate);
  font: italic 700 14px/1 Fraunces, Georgia, serif;
}

.ranking-row line {
  stroke: var(--border-default);
  stroke-width: 1;
}

.brick-outline {
  fill: none;
  stroke: var(--terracotta);
  stroke-width: 1.5;
  opacity: 0.3;
}

.brick-fill {
  fill: var(--terracotta);
}

.build-brick {
  opacity: 0;
  animation: brickBuild 0.4s ease-out forwards;
}

.b1 { animation-delay: 0.1s; }
.b2 { animation-delay: 0.2s; }
.b3 { animation-delay: 0.3s; }
.b4 { animation-delay: 0.4s; }
.b5 { animation-delay: 0.5s; }
.b6 { animation-delay: 0.6s; }
.b7 { animation-delay: 0.7s; }
.b8 { animation-delay: 0.8s; }
.b9 { animation-delay: 0.9s; }
.b10 { animation-delay: 1s; }

.trust-strip {
  background: var(--bg-elevated);
  border-block: 1px solid var(--border-default);
}

.trust-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.trust-grid > div {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-block: var(--space-4);
  border-bottom: 1px solid var(--terracotta-faint);
  color: var(--text-primary);
}

.trust-grid > div:last-child {
  border-bottom: 0;
}

.trust-grid svg,
.mini-card > svg,
.standard-card svg,
.checklist svg,
.standards-grid svg,
.footer-col svg,
.search-mock svg {
  width: 18px;
  height: 18px;
  color: var(--terracotta);
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.section-header {
  max-width: 820px;
  margin-bottom: var(--space-7);
  display: grid;
  gap: var(--space-4);
}

.section-header.centred,
.problem-inner,
.cta-inner {
  margin-inline: auto;
  text-align: center;
  justify-items: center;
}

.photo-grid,
.card-grid,
.process-grid,
.scope-grid,
.standards-grid,
.footer-grid {
  display: grid;
  gap: 16px;
}

.photo-card {
  position: relative;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  background: var(--bg-dark);
  color: var(--text-on-dark);
  isolation: isolate;
  transition: border-color 250ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.photo-card picture,
.photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.photo-card img {
  object-fit: cover;
  filter: brightness(0.92) contrast(1.04) saturate(0.95);
  transition: transform 300ms ease-out;
}

.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(31, 26, 23, 0.92) 0%, rgba(31, 26, 23, 0.45) 50%, rgba(31, 26, 23, 0.05) 100%);
  z-index: 1;
}

.photo-card > div {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
}

.photo-card h3 {
  margin: 0 0 8px;
  color: var(--text-on-dark);
  font: 700 clamp(1.25rem, 2vw, 1.5rem)/1.2 Fraunces, Georgia, serif;
}

.photo-card p {
  margin: 0;
  color: var(--terracotta-bright);
  font: 700 0.6875rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.14em;
}

.photo-card:hover {
  border-color: var(--border-terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.photo-card:hover img {
  transform: scale(1.04);
}

.marquee {
  margin-top: var(--space-7);
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, black 8%, black 92%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 60s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 20px;
  border: 1px solid var(--border-default);
  border-radius: var(--radius-full);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-weight: 600;
  white-space: nowrap;
}

.marquee i {
  width: 8px;
  height: 8px;
  border-radius: var(--radius-full);
  background: var(--terracotta);
}

.closing-line {
  margin: var(--space-6) auto 0;
  color: var(--text-muted);
  font-style: italic;
  text-align: center;
}

.problem {
  background: var(--bg-dark);
  color: var(--text-on-dark);
}

.problem .headline-1 {
  color: var(--text-on-dark);
}

.problem .lead {
  color: rgba(250, 246, 240, 0.82);
}

.problem-inner {
  max-width: 760px;
}

.dark-eyebrow .eyebrow {
  color: var(--text-on-dark);
}

.search-mock {
  width: min(100%, 480px);
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: var(--space-6);
  padding: 0 22px;
  border: 1px solid var(--border-terracotta);
  border-radius: var(--radius-full);
  background: #FFFFFF;
  color: var(--text-primary);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.18);
}

.search-mock svg {
  color: var(--slate);
}

.search-typing {
  display: inline-block;
  max-width: calc(100% - 48px);
  overflow: hidden;
  white-space: nowrap;
  font: 500 1.125rem/1 Inter, system-ui, sans-serif;
}

.search-mock.is-typing .search-typing {
  animation: typePulse 2.8s steps(28, end) infinite;
}

.cursor {
  width: 2px;
  height: 22px;
  background: var(--terracotta);
  animation: blink 0.8s step-end infinite;
}

.standard-card,
.mini-card,
.process-card,
.standards-grid {
  background: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.standard-card,
.mini-card {
  padding: 24px;
  transition: transform 250ms cubic-bezier(0.2, 0.8, 0.2, 1), background 250ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 250ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.standard-card:hover,
.mini-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-terracotta);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.standard-card {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.standard-card p,
.mini-card p,
.process-card p,
.faq-panel p {
  margin: 0;
  color: var(--text-muted);
  font: 400 1rem/1.65 Inter, system-ui, sans-serif;
}

.icon-circle {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border-terracotta);
  border-radius: var(--radius-full);
  background: var(--terracotta-faint);
}

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

.inline-link {
  margin-top: auto;
  color: var(--terracotta);
  font-weight: 700;
  text-decoration: none;
}

.inline-link:hover {
  color: var(--terracotta-deep);
}

.process,
.scope,
.faq {
  background: var(--bg-elevated);
}

.process-card {
  overflow: hidden;
}

.process-card picture,
.process-card img {
  display: block;
  width: 100%;
}

.process-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: brightness(0.95) contrast(1.03) saturate(0.96);
}

.process-card > div {
  padding: 24px;
  display: grid;
  gap: 8px;
}

.numeral {
  margin: 0;
  color: var(--terracotta);
  font-weight: 800;
  font-size: clamp(3rem, 5vw, 4.5rem);
  line-height: 1;
}

.mini-card {
  display: grid;
  gap: var(--space-4);
}

.mini-card > svg {
  width: 24px;
  height: 24px;
}

.scope-grid {
  grid-template-columns: 1fr;
}

.checklist ul,
.standards-grid ul {
  list-style: none;
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
}

.checklist li,
.standards-grid li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--text-secondary);
  line-height: 1.5;
}

.checklist svg,
.standards-grid svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.5;
  margin-top: 2px;
}

.standards-grid {
  padding: 24px;
}

.standards-grid > div {
  display: grid;
  gap: 18px;
}

.faq-container {
  max-width: 900px;
}

.faq-list {
  border-top: 1px solid var(--border-default);
}

.faq-list details {
  border-bottom: 1px solid var(--border-default);
}

.faq-list summary {
  min-height: 72px;
  padding-block: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  cursor: pointer;
  list-style: none;
}

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

.faq-list summary h3 {
  margin: 0;
  color: var(--text-primary);
  font: 700 clamp(1.25rem, 2vw, 1.5rem)/1.2 Fraunces, Georgia, serif;
}

.faq-list summary span {
  position: relative;
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  flex: 0 0 auto;
  transition: transform 200ms ease;
}

.faq-list summary span::before,
.faq-list summary span::after {
  content: "";
  position: absolute;
  left: 5px;
  top: 10px;
  width: 12px;
  height: 2px;
  background: var(--terracotta);
  border-radius: var(--radius-full);
}

.faq-list summary span::after {
  transform: rotate(90deg);
}

.faq-list details[open] summary span {
  transform: rotate(180deg);
}

.faq-list details[open] summary span::after {
  opacity: 0;
}

.faq-panel {
  display: grid;
  grid-template-rows: 0fr;
  padding: 0 0 24px;
  transition: grid-template-rows 220ms ease;
}

.faq-list details[open] .faq-panel {
  grid-template-rows: 1fr;
}

.faq-panel p {
  overflow: hidden;
}

.final-cta {
  position: relative;
  overflow: hidden;
}

.thank-you-page {
  min-height: 100vh;
  display: grid;
  align-items: center;
}

.final-cta::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(600px, 90vw);
  aspect-ratio: 1;
  border-radius: var(--radius-full);
  background: radial-gradient(circle, rgba(200, 75, 49, 0.08), transparent 70%);
  filter: blur(26px);
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-inner {
  position: relative;
  max-width: 720px;
  display: grid;
  gap: var(--space-5);
}

.cta-actions {
  justify-content: center;
}

.cta-actions .btn {
  min-height: 56px;
}

.audit-form {
  width: 100%;
  display: grid;
  gap: var(--space-4);
  padding: clamp(20px, 4vw, 28px);
  background: var(--bg-card);
  border: 1px solid var(--border-terracotta);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-4);
}

.form-field {
  display: grid;
  gap: 8px;
  text-align: left;
}

.form-field label {
  color: var(--text-primary);
  font: 700 0.875rem/1.2 Inter, system-ui, sans-serif;
}

.form-field input,
.form-field textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  background: #FFFFFF;
  color: var(--text-primary);
  font: 500 1rem/1.45 Inter, system-ui, sans-serif;
  padding: 13px 14px;
  transition: border-color 200ms ease, box-shadow 200ms ease, background 200ms ease;
}

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

.form-field input::placeholder {
  color: var(--text-dim);
}

.form-field input:focus,
.form-field textarea:focus {
  border-color: var(--terracotta);
  box-shadow: 0 0 0 4px var(--terracotta-faint);
}

.form-field-hidden {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.form-submit {
  width: 100%;
  min-height: 56px;
}

.form-submit[disabled] {
  cursor: wait;
  opacity: 0.78;
  transform: none;
}

.form-note {
  margin: 0;
  color: var(--text-muted);
  font: 500 0.875rem/1.55 Inter, system-ui, sans-serif;
}

.contact-line {
  margin: 0;
  color: var(--text-muted);
  font-weight: 600;
}

.site-footer {
  background: var(--bg-dark);
  color: var(--text-on-dark);
  padding-top: 80px;
}

.footer-grid {
  grid-template-columns: 1fr;
  gap: var(--space-7);
  padding-bottom: 56px;
}

.footer-logo,
.footer-logo .logo-text {
  color: var(--text-on-dark);
}

.footer-brand {
  display: grid;
  gap: 12px;
}

.footer-tagline {
  margin: 0;
  font: 700 1.25rem/1.3 Fraunces, Georgia, serif;
}

.footer-desc,
.footer-col p {
  margin: 0;
  color: var(--text-dim);
  font: 500 0.875rem/1.55 Inter, system-ui, sans-serif;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  margin: 0 0 6px;
  color: var(--terracotta-bright);
  font: 700 0.75rem/1 Inter, system-ui, sans-serif;
  letter-spacing: 0.18em;
}

.footer-col a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(250, 246, 240, 0.84);
  font-weight: 600;
}

.footer-col svg {
  width: 16px;
  height: 16px;
}

.footer-bottom {
  border-top: 1px solid rgba(250, 246, 240, 0.12);
}

.footer-bottom .container {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding-block: 24px;
}

.footer-bottom p {
  margin: 0;
  color: var(--text-dim);
  font: 500 0.875rem/1.55 Inter, system-ui, sans-serif;
}

.mobile-sticky {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
  background: rgba(250, 246, 240, 0.95);
  border-top: 1px solid var(--border-default);
  backdrop-filter: blur(20px);
  transform: translateY(110%);
  transition: transform 200ms ease-out;
}

.mobile-sticky.is-visible {
  transform: translateY(0);
}

.mobile-sticky .btn {
  min-height: 48px;
  padding: 14px 12px;
  width: 100%;
  flex: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 350ms ease-out, transform 350ms ease-out;
}

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

@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(200, 75, 49, 0.20); }
  50% { box-shadow: 0 0 0 8px rgba(200, 75, 49, 0); }
}

@keyframes brickBuild {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

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

@keyframes blink {
  0%, 45% { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes typePulse {
  0% { max-width: 0; }
  45%, 70% { max-width: calc(100% - 48px); }
  100% { max-width: 0; }
}

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

  .trust-grid > div:nth-child(odd) {
    border-right: 1px solid var(--terracotta-faint);
  }

  .trust-grid > div:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .photo-grid,
  .card-grid.six {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

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

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

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

  .menu-toggle,
  .mobile-sticky {
    display: none;
  }

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

  .photo-grid,
  .card-grid.three,
  .card-grid.six {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .process-grid,
  .scope-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }

  .standards-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
  }

  .standard-card {
    padding: 32px;
  }

  .mini-card {
    padding: 28px;
  }

  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-7);
  }

  .footer-bottom .container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media (max-width: 899px) {
  .header-cta {
    display: none;
  }

  body {
    padding-bottom: 0;
    overflow-x: hidden;
  }

  .hero {
    min-height: auto;
    padding-block: 40px 80px;
  }

  .display br {
    display: none;
  }

  .display {
    font-size: clamp(2.35rem, 9.5vw, 2.85rem);
    line-height: 1.04;
  }

  .h1-line {
    display: block;
  }

  .hero-graph {
    max-width: calc(100vw - 40px);
  }

  .hero-actions,
  .cta-actions {
    flex-direction: column;
  }

  .hero-actions .btn,
  .cta-actions .btn {
    width: 100%;
  }

  .trust-line span {
    padding-inline: 8px;
  }

  .site-footer {
    padding-bottom: 76px;
  }
}

@media (max-width: 599px) {
  .section-header,
  .cta-inner,
  .problem-inner {
    gap: var(--space-4);
  }

  .photo-grid,
  .card-grid,
  .process-grid,
  .scope-grid,
  .standards-grid {
    gap: 16px;
  }

  .eyebrow-line {
    gap: 12px;
  }

  .brick-mini {
    width: 68px;
  }

  .standard-card,
  .mini-card,
  .standards-grid {
    padding: 24px;
  }

  .hero-graph {
    margin-inline: auto;
  }
}

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