/* ==========================================================================
   AMC Septic LLC — Contact page v2
   Inherits the approved homepage design system (glass pill header, rounded page
   card on a soft field, mono labels, pill buttons, rising-fill hover, rounded
   panels). Token VALUES come from the confirmed Global Theme.
   ========================================================================== */
:root {
  /* Confirmed Global Theme tokens */
  --color-text-dark: #111111;
  --color-text-medium: #555555;
  --color-text-light: #6b7c85;
  --color-text-inverse: #ffffff;
  --color-bg-white: #ffffff;
  --color-bg-dark: #0a0a0a;
  --color-bg-navy: #0f1b2d;
  --color-border: #dce5e9;
  --color-success: #22c55e;
  --color-error: #ef4444;
  --color-warning: #f59e0b;

  --font-heading: Inter;
  --font-body: Inter;

  --text-display: clamp(40px, calc(2.0712vw + 32.233px), 72px);
  --text-h1: clamp(36px, calc(1.2945vw + 31.146px), 56px);
  --text-h2: clamp(28px, calc(1.0356vw + 24.117px), 44px);
  --text-h3: clamp(22px, calc(0.6472vw + 19.573px), 32px);
  --text-h4: clamp(18px, calc(0.3883vw + 16.544px), 24px);
  --text-body-lg: clamp(18px, calc(0.1294vw + 17.515px), 20px);
  --text-body: clamp(15px, calc(0.0647vw + 14.757px), 16px);
  --text-small: clamp(13px, calc(0.0647vw + 12.757px), 14px);
  --text-label: 12px;

  --container-wide: 1920px;
  --container-max: 1200px;
  --container-narrow: 800px;
  --space-section: 96px;
  --space-container-x: 40px;
  --space-card: 40px;
  --space-gap: 24px;
  --space-stack: 16px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 20px rgba(0,0,0,0.10);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.14);

  --transition-fast: 150ms cubic-bezier(0.4,0,0.2,1);
  --transition-base: 250ms cubic-bezier(0.4,0,0.2,1);
  --transition-slow: 400ms cubic-bezier(0.4,0,0.2,1);
  --header-height: 160px;
  --footer-padding-top: 80px;
  --footer-padding-bottom: 40px;

  /* Project-scoped extensions (carried from the approved homepage; AA-safe inks) */
  --proj-font-mono: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  --proj-accent-ink: #15803d;
  --proj-accent-on: #06240f;
  --proj-error-ink: #b91c1c;
  --proj-field-border: #6f8591;
  --proj-field: #e4edf0;
  --proj-gutter: clamp(8px, 1.2vw, 16px);
  --proj-ease: cubic-bezier(0.2, 0, 0, 1);
  --proj-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --proj-logo-size: 140px;
}

/* Base --------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 208px; }
html:not(.reduce) { scroll-behavior: smooth; }
html.menu-open { overflow: hidden; }
body { margin: 0; padding: var(--proj-gutter); font-family: var(--font-body), system-ui, -apple-system, 'Segoe UI', sans-serif; font-size: var(--text-body); line-height: 1.65; color: var(--color-text-dark); background: var(--proj-field); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-heading), system-ui, -apple-system, 'Segoe UI', sans-serif; font-weight: 700; line-height: 1.12; letter-spacing: -0.025em; color: var(--color-primary); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--proj-accent-ink); outline-offset: 3px; border-radius: 4px; }
.page-hero :focus-visible, .cta-inline :focus-visible, .site-footer :focus-visible, .menu :focus-visible, .site-header:not(.is-solid) :focus-visible { outline-color: var(--color-accent); }

.u-sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -100px; left: 16px; z-index: 9999; padding: 10px 18px; border-radius: var(--radius-full); background: var(--color-primary); color: var(--color-text-inverse); font-weight: 600; text-decoration: none; transition: top var(--transition-fast); }
.skip-link:focus { top: 16px; }

.page { position: relative; background: var(--color-bg-white); border-radius: var(--radius-lg); }
.container { width: 100%; max-width: var(--container-max); margin-inline: auto; padding-inline: var(--space-container-x); }
.icon { flex: none; width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Shared type -------------------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 18px; font-family: var(--proj-font-mono); font-size: var(--text-label); font-weight: 500; line-height: 1.4; letter-spacing: 0.08em; text-transform: uppercase; color: var(--proj-accent-ink); }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-title { font-size: var(--text-h2); max-width: 18em; text-wrap: balance; }
.section-lead { margin-top: 18px; max-width: 36em; font-size: var(--text-body-lg); color: var(--color-text-medium); }
.text-link { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; font-weight: 600; color: var(--color-primary); text-decoration: none; }
.text-link::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 2px; background: var(--color-accent); transition: background var(--transition-base); }
.text-link:hover::after { background: var(--color-primary); }
.text-link .icon { transition: transform var(--transition-base); }
.text-link:hover .icon { transform: translateX(5px); }

/* Buttons: fill rises from the bottom on hover, arrow nudges ---------------- */
.btn { position: relative; isolation: isolate; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 52px; padding: 14px 30px; border: 1px solid transparent; border-radius: var(--radius-full); font-family: var(--proj-font-mono); font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; text-transform: uppercase; text-decoration: none; cursor: pointer; background: var(--btn-bg); color: var(--btn-fg); transition: color var(--transition-base), border-color var(--transition-base), transform var(--transition-fast), box-shadow var(--transition-base); }
.btn::before { content: ''; position: absolute; inset: -1px; z-index: -1; background: var(--btn-hover); transform: translateY(102%); border-radius: 50% 50% 0 0 / 40% 40% 0 0; transition: transform 480ms var(--proj-ease-out), border-radius 480ms var(--proj-ease-out); }
.btn:hover::before, .btn:focus-visible::before { transform: translateY(0); border-radius: 0; }
.btn:active { transform: scale(0.97); }
.btn .icon { width: 18px; height: 18px; transition: transform var(--transition-base); }
.btn:hover .icon { transform: translateX(4px); }
.btn--accent { --btn-bg: var(--color-accent); --btn-fg: var(--proj-accent-on); --btn-hover: #fff; }
.btn--accent:hover { box-shadow: 0 10px 28px rgba(34, 197, 94, 0.35); }
.btn--primary { --btn-bg: var(--color-primary); --btn-fg: var(--color-text-inverse); --btn-hover: var(--color-accent); }
.btn--primary:hover, .btn--primary:focus-visible { color: var(--proj-accent-on); }
.btn--ghost-light { --btn-bg: rgba(255,255,255,0.12); --btn-fg: #fff; --btn-hover: #fff; border-color: rgba(255,255,255,0.45); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.btn--ghost-light:hover, .btn--ghost-light:focus-visible { color: var(--color-primary); border-color: #fff; }
.btn--block { width: 100%; }
.btn[disabled] { opacity: 0.7; cursor: progress; }

/* ==========================================================================
   HEADER — glass over the page hero, solid once the hero has gone
   ========================================================================== */
.site-header { position: fixed; z-index: 60; top: calc(var(--proj-gutter) + 12px); left: 0; right: 0; margin-inline: auto; width: min(1240px, calc(100% - 2 * (var(--proj-gutter) + 22px))); height: var(--header-height); display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 10px; border-radius: var(--radius-full); color: #fff; background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.28); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); transition: background var(--transition-base), color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base); }
.site-header.is-solid { background: rgba(255,255,255,0.96); color: var(--color-primary); border-color: var(--color-border); box-shadow: var(--shadow-md); }
.site-header.is-menu-open { background: transparent; border-color: rgba(255,255,255,0.2); color: #fff; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-height: 44px; }
.brand__logo { width: 110px; height: 110px; border-radius: 50%; background: #fff; object-fit: cover; box-shadow: 0 0 0 2px rgba(255,255,255,0.6); transition: transform var(--transition-base); }
.brand:hover .brand__logo { transform: rotate(-8deg) scale(1.06); }

.site-nav { display: none; position: relative; }
.site-nav ul { position: relative; display: flex; gap: 2px; }
.site-nav a { position: relative; z-index: 1; display: block; padding: 11px 18px; border-radius: var(--radius-full); font-family: var(--proj-font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; text-decoration: none; opacity: 0.88; transition: opacity var(--transition-fast); }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav a[aria-current="page"] { opacity: 1; }
.site-nav a[aria-current="page"]::after { content: ''; position: absolute; left: 50%; bottom: 5px; width: 16px; height: 2px; margin-left: -8px; border-radius: 2px; background: var(--color-accent); }
.nav__plaque { position: absolute; z-index: 0; top: 0; left: 0; height: 100%; border-radius: var(--radius-full); background: rgba(255,255,255,0.2); opacity: 0; pointer-events: none; transition: transform 420ms var(--proj-ease-out), width 420ms var(--proj-ease-out), opacity 200ms, background var(--transition-base); }
.site-header.is-solid .nav__plaque { background: var(--color-bg-light); box-shadow: inset 0 0 0 1px var(--color-border); }

.site-header__actions { display: flex; align-items: center; gap: 8px; }
.site-header__call { min-height: 46px; padding: 10px 22px; }
.site-header__call .call__num { display: none; }
.nav-toggle { position: relative; display: inline-grid; place-items: center; width: 46px; height: 46px; border: 1px solid currentColor; border-radius: 50%; background: transparent; cursor: pointer; transition: background var(--transition-fast); }
.nav-toggle:hover { background: rgba(127,127,127,0.18); }
.nav-toggle .bars { display: grid; gap: 5px; justify-items: end; }
.nav-toggle .bars i { display: block; height: 2px; width: 20px; background: currentColor; border-radius: 2px; transition: transform 400ms var(--proj-ease-out), width 300ms var(--proj-ease), opacity 200ms; }
.nav-toggle .bars i:nth-child(3) { width: 12px; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .bars i:nth-child(3) { width: 20px; transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu: full-screen, links rise in with a stagger */
.menu { position: fixed; inset: 0; z-index: 55; display: grid; align-content: center; gap: 28px; padding: 130px 28px 40px; background: var(--color-bg-navy); color: #fff; visibility: hidden; opacity: 0; transition: opacity 450ms var(--proj-ease), visibility 0s linear 450ms; overflow-y: auto; }
.menu.is-open { visibility: visible; opacity: 1; transition: opacity 450ms var(--proj-ease), visibility 0s; }
.menu ul { display: grid; gap: 6px; }
.menu a.menu__link { display: block; padding: 6px 0; font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: clamp(38px, 11vw, 60px); line-height: 1.05; letter-spacing: -0.03em; text-decoration: none; opacity: 0; translate: 0 22px; transition: opacity 500ms var(--proj-ease-out), translate 500ms var(--proj-ease-out), color var(--transition-fast); transition-delay: 0s; }
.menu.is-open a.menu__link, .menu.is-open .menu__extra { opacity: 1; translate: 0 0; transition-delay: calc(var(--i) * 80ms + 120ms); }
.menu a.menu__link:hover { color: var(--color-accent); }
.menu__extra { display: grid; gap: 14px; justify-items: start; opacity: 0; translate: 0 22px; transition: opacity 500ms var(--proj-ease-out), translate 500ms var(--proj-ease-out); }
.menu__mail { font-family: var(--proj-font-mono); font-size: 14px; color: rgba(255,255,255,0.75); text-decoration: none; }

@media (min-width: 900px) {
  .site-nav { display: block; }
  .nav-toggle, .menu { display: none; }
  .site-header { padding-inline: 12px 10px; }
}
@media (min-width: 1100px) { .site-header__call .call__num { display: inline; } .site-header__call .call__label { display: none; } }
@media (max-width: 560px) { :root { --proj-logo-size: 92px; } .site-header { height: 112px; } }
@media (max-width: 480px) { .site-header__call { width: 46px; padding: 0; } .site-header__call .call__label, .site-header__call .btn-text { display: none; } }

/* ==========================================================================
   SECTION 1 · PAGE HERO — centred typography over a navy-toned photo
   ========================================================================== */
.page-hero { position: relative; isolation: isolate; margin: 0 12px 12px; min-height: max(420px, 40vh); border-radius: var(--radius-lg); overflow: hidden; color: #fff; display: flex; align-items: center; justify-content: center; text-align: center; background: var(--color-bg-navy); }
.page-hero__bg, .page-hero__scrim { position: absolute; inset: 0; }
.page-hero__bg { z-index: -3; background-size: cover; background-position: center 40%; filter: contrast(1.05) brightness(1.05); }
/* Navy duotone keeps the photo on-brand and the headline readable */
.page-hero__bg::after { content: ''; position: absolute; inset: 0; background: var(--color-primary); mix-blend-mode: color; }
.page-hero__scrim { z-index: -2; background: linear-gradient(0deg, rgba(10,32,42,0.86) 0%, rgba(10,32,42,0.66) 55%, rgba(10,32,42,0.8) 100%); }
.page-hero__inner { width: 100%; max-width: 860px; margin-inline: auto; padding: 176px var(--space-container-x) 56px; display: grid; justify-items: center; }
.page-hero .eyebrow { color: rgba(255,255,255,0.88); margin-bottom: 20px; }
.page-hero .eyebrow::before { background: var(--color-accent); }
.page-hero__title { color: #fff; font-size: var(--text-h1); font-weight: 800; line-height: 1.06; letter-spacing: -0.035em; text-wrap: balance; max-width: 16em; }
.page-hero__title span { display: block; }
.page-hero__title .seam { color: rgba(255,255,255,0.7); }
.crumbs { margin-top: 20px; }
.crumbs ol { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; font-family: var(--proj-font-mono); font-size: var(--text-label); letter-spacing: 0.08em; text-transform: uppercase; }
.crumbs li { display: inline-flex; align-items: center; gap: 6px; }
.crumbs li + li::before { content: '/'; opacity: 0.55; }
.crumbs a { display: inline-flex; align-items: center; min-height: 44px; color: rgba(255,255,255,0.88); text-decoration: none; }
.crumbs a:hover { color: var(--color-accent); }
.crumbs [aria-current="page"] { color: #fff; }
.page-hero__lead { margin-top: 12px; max-width: 34em; font-size: var(--text-body-lg); color: rgba(255,255,255,0.9); }
.page-hero__call { margin-top: 6px; color: rgba(255,255,255,0.9); }
.page-hero__call a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; color: #fff; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.page-hero__call a:hover { color: var(--color-accent); }

/* ==========================================================================
   SECTION 2 · CONTACT — how it works + details beside the form
   ========================================================================== */
.section { padding: var(--space-section) 0; scroll-margin-top: 208px; }
.section--alt { margin: 12px; border-radius: var(--radius-lg); background: var(--color-bg-light); }
.contact-layout { display: grid; gap: clamp(36px, 5vw, 72px); align-items: start; }
@media (min-width: 960px) { .contact-layout { grid-template-columns: 1fr 1.05fr; } }

.steps { margin-top: 30px; border-top: 1px solid var(--color-border); counter-reset: step; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; align-items: baseline; padding: 20px 0; border-bottom: 1px solid var(--color-border); transition: padding var(--transition-base); }
.step:hover { padding-left: 10px; }
.step__num { grid-row: span 2; font-family: var(--proj-font-mono); font-size: var(--text-label); letter-spacing: 0.08em; color: var(--proj-accent-ink); }
.step__title { font-size: 19px; letter-spacing: -0.02em; }
.step__text { color: var(--color-text-medium); }
.step__link { color: var(--color-primary); font-weight: 600; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.step__link:hover { text-decoration-color: var(--color-primary); }

.contact-cards { display: grid; gap: 12px; margin-top: 30px; }
@media (min-width: 560px) and (max-width: 959px), (min-width: 1180px) { .contact-cards { grid-template-columns: 1fr 1fr; } .contact-card--wide { grid-column: 1 / -1; } }
.contact-card { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 18px; border-radius: var(--radius-lg); background: var(--color-bg-white); border: 1px solid var(--color-border); text-decoration: none; color: var(--color-primary); transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base); }
a.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--color-primary); }
.contact-card__icon { display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--color-bg-light); color: var(--color-primary); transition: background var(--transition-base), color var(--transition-base); }
a.contact-card:hover .contact-card__icon { background: var(--color-accent); color: var(--proj-accent-on); }
.contact-card small { display: block; font-family: var(--proj-font-mono); font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--color-text-medium); }
.contact-card strong { display: block; font-weight: 700; overflow-wrap: anywhere; }

.frame { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--color-bg-white); aspect-ratio: 16 / 9; margin-top: 30px; }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1200ms var(--proj-ease-out); }
.frame:hover img { transform: scale(1.05); }
/* Placeholder photography gets the same navy duotone as the homepage; remove .is-placeholder once the client's own photos are bound */
.is-placeholder::before { content: ''; position: absolute; inset: 0; z-index: 1; background: var(--color-primary); mix-blend-mode: color; opacity: 0.88; pointer-events: none; }
.frame__badge { position: absolute; z-index: 2; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 9px 16px; border-radius: var(--radius-full); border: 1px solid rgba(255,255,255,0.4); background: rgba(15,27,45,0.6); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: #fff; font-family: var(--proj-font-mono); font-size: var(--text-label); letter-spacing: 0.06em; text-transform: uppercase; }
.frame__badge::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--color-accent); }

/* Form panel */
.form-panel { padding: clamp(24px, 3.4vw, 44px); border-radius: var(--radius-lg); background: var(--color-bg-white); border: 1px solid var(--color-border); box-shadow: var(--shadow-lg); scroll-margin-top: 208px; }
.form-panel__title { font-size: var(--text-h3); }
.form-panel__hint { margin-top: 8px; font-size: var(--text-small); color: var(--color-text-medium); }
.form-panel__hint a { color: var(--color-primary); font-weight: 600; text-decoration-color: var(--color-accent); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.req { color: var(--proj-error-ink); }
.form-grid { display: grid; gap: 16px; margin-top: 22px; }
@media (min-width: 560px) { .form-grid { grid-template-columns: 1fr 1fr; } .form-group--full { grid-column: 1 / -1; } }
.form-group { display: grid; gap: 7px; align-content: start; }
.form-group label { font-family: var(--proj-font-mono); font-size: var(--text-label); letter-spacing: 0.05em; text-transform: uppercase; color: var(--color-primary); }
.form-input { width: 100%; min-height: 54px; padding: 14px 20px; border: 1px solid var(--proj-field-border); border-radius: var(--radius-full); background: var(--color-bg-white); color: var(--color-text-dark); transition: border-color var(--transition-fast), box-shadow var(--transition-base), background var(--transition-fast); }
select.form-input { appearance: none; -webkit-appearance: none; padding-right: 48px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231a3a4a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 20px center; }
textarea.form-input { border-radius: var(--radius-lg); resize: vertical; min-height: 140px; }
.form-input:hover { border-color: var(--color-primary); }
.form-input:focus { outline: none; border-color: var(--color-primary); box-shadow: 0 0 0 4px rgba(34,197,94,0.28); background-color: var(--color-bg-light); }
.form-input.is-error { border-color: var(--proj-error-ink); }
.field-error { font-size: var(--text-small); color: var(--proj-error-ink); }
.form-actions { margin-top: 22px; }
.form-trap { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-status { margin-top: 16px; padding: 14px 18px; border-radius: var(--radius-md); font-size: var(--text-small); }
.form-status[hidden] { display: none; }
.form-status--success { background: #e7f8ee; color: #14532d; }
.form-status--error { background: #fdecec; color: var(--proj-error-ink); }
.form-status a { font-weight: 600; }
.btn--loading::after { content: ''; width: 16px; height: 16px; border: 2px solid currentColor; border-right-color: transparent; border-radius: 50%; animation: spin 700ms linear infinite; }
@keyframes spin { to { rotate: 360deg; } }

/* ==========================================================================
   SECTION 3 · CLOSING CTA — one compact inline band, one job
   ========================================================================== */
.cta-wrap { padding: calc(var(--space-section) * 0.6) 0 var(--space-section); }
.cta-inline { display: grid; gap: 24px; align-items: center; padding: clamp(28px, 4vw, 52px); border-radius: var(--radius-lg); background: var(--color-bg-navy); color: #fff; box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .cta-inline { grid-template-columns: 1.3fr auto; } }
.cta-inline__title { color: #fff; font-size: var(--text-h2); text-wrap: balance; }
.cta-inline__text { margin-top: 12px; max-width: 34em; color: rgba(255,255,255,0.84); font-size: var(--text-body-lg); }
.cta-inline__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; }
.cta-inline .text-link { color: #fff; }
.cta-inline .text-link:hover::after { background: #fff; }

/* ==========================================================================
   FOOTER (shared with the homepage)
   ========================================================================== */
.site-footer { margin-top: 12px; padding: var(--footer-padding-top) 0 28px; border-radius: var(--radius-lg) var(--radius-lg) var(--radius-lg) var(--radius-lg); background: var(--color-bg-navy); color: rgba(255,255,255,0.82); overflow: hidden; }
.footer__grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.footer__brand { display: flex; align-items: center; gap: 14px; }
.footer__logo { width: 136px; height: 136px; border-radius: 50%; background: #fff; object-fit: cover; }
.footer__blurb { margin-top: 18px; max-width: 28em; }
.footer__title { margin-bottom: 14px; font-family: var(--proj-font-mono); font-size: var(--text-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--color-accent); }
.footer__list { display: grid; gap: 4px; }
.footer__list a { position: relative; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; color: rgba(255,255,255,0.86); transition: color var(--transition-fast), translate var(--transition-base); }
.footer__list a::after { content: ''; position: absolute; left: 0; right: 0; bottom: 8px; height: 1px; background: var(--color-accent); transform: scaleX(0); transform-origin: left; transition: transform var(--transition-base); }
.footer__list a:hover { color: #fff; translate: 4px 0; }
.footer__list a:hover::after { transform: scaleX(1); }
.footer__word { margin: clamp(36px, 6vw, 72px) 0 0; font-family: var(--font-heading), system-ui, sans-serif; font-weight: 800; font-size: clamp(40px, 11vw, 168px); line-height: 0.92; letter-spacing: -0.03em; white-space: nowrap; color: rgba(255,255,255,0.16); user-select: none; }
.footer__bar { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.14); font-size: var(--text-small); color: rgba(255,255,255,0.7); }

/* Floating call button (small screens) */
.fab-call { position: fixed; z-index: 50; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); display: inline-flex; align-items: center; gap: 10px; min-height: 54px; padding: 0 22px 0 16px; border-radius: var(--radius-full); background: var(--color-accent); color: var(--proj-accent-on); font-family: var(--proj-font-mono); font-size: 13px; font-weight: 500; letter-spacing: 0.05em; text-transform: uppercase; text-decoration: none; box-shadow: 0 10px 30px rgba(15,27,45,0.35); opacity: 0; translate: 0 24px; pointer-events: none; transition: opacity var(--transition-base), translate 500ms var(--proj-ease-out), background var(--transition-base); }
.fab-call.is-visible { opacity: 1; translate: 0 0; pointer-events: auto; }
.fab-call:hover { background: #fff; }
@media (min-width: 900px) { .fab-call { display: none; } }

/* Responsive spacing (design-system.md spacing table) */
@media (max-width: 1024px) { :root { --space-section: 64px; --space-container-x: 32px; } }
@media (max-width: 768px) { :root { --space-section: 48px; --space-container-x: 20px; } .page-hero__inner { padding-top: 130px; padding-bottom: 40px; } }
@media (max-width: 375px) { :root { --space-container-x: 16px; } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; transition-delay: 0s !important; scroll-behavior: auto !important; }
}
/* Footer wordmark reveal: tracking opens out as it arrives (matches homepage) */
.footer__brand { display: flex; align-items: center; gap: 14px; }
.js .footer__word { letter-spacing: 0.12em; color: rgba(255,255,255,0.1); transition: letter-spacing 1600ms cubic-bezier(0.16, 1, 0.3, 1), color 1600ms cubic-bezier(0.2, 0, 0, 1); }
.js .footer__word.is-in { letter-spacing: -0.03em; color: rgba(255,255,255,0.16); }
@media (prefers-reduced-motion: reduce) { .js .footer__word { letter-spacing: -0.03em; transition: none; } }
@media (max-width: 560px) { .footer__logo { width: 88px; height: 88px; } }
@media (min-width: 561px) { .page-hero__inner { padding-top: 244px; } }
@media (max-width: 560px) { .page-hero__inner { padding-top: 164px; } }
@media (max-width: 560px) { .brand__logo { width: var(--proj-logo-size); height: var(--proj-logo-size); } }

/* ==========================================================================
   RESPONSIVE PASS (v3) — header/logo scale with the viewport, hero clears it
   ========================================================================== */
img, video, iframe, svg { max-width: 100%; }
h1, h2, h3, h4, p, a, li { overflow-wrap: break-word; }
.container > *, .footer__grid > *, .contact-layout > *, .split > * { min-width: 0; }
@media (max-width: 899px) {
  :root { --header-height: 100px; }
  .site-header { height: var(--header-height); }
  .brand__logo { width: 80px; height: 80px; flex: none; }
  .page-hero__inner { padding-top: calc(var(--header-height) + 64px); }
  html { scroll-padding-top: calc(var(--header-height) + 40px); }
  .section, .form-panel { scroll-margin-top: calc(var(--header-height) + 40px); }
  .menu { padding-top: calc(var(--header-height) + 40px); }
  .footer__logo { width: clamp(80px, 12vw, 100px); height: clamp(80px, 12vw, 100px); }
}
@media (max-width: 560px) {
  :root { --header-height: 84px; }
  .brand__logo { width: 66px; height: 66px; }
  .page-hero__inner { padding-top: calc(var(--header-height) + 52px); }
  .footer__logo { width: 80px; height: 80px; }
}
@media (hover: none) {
  .svc-step:hover, .contact-card:hover, .process__item:hover { transform: none; }
}

