/* ---- Self-hosted fonts (no external requests) ---- */
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-normal.woff2') format('woff2'); font-weight: 300 900; font-style: normal; font-display: swap; }
@font-face { font-family: 'Fraunces'; src: url('../fonts/fraunces-latin-italic.woff2') format('woff2'); font-weight: 300 900; font-style: italic; font-display: swap; }
@font-face { font-family: 'Instrument Sans'; src: url('../fonts/instrumentsans-latin-normal.woff2') format('woff2'); font-weight: 400 700; font-style: normal; font-display: swap; }

/* =========================================================
   CGI Web Services, "silly" edition: light through felt.
   One warm light behind a sheet of glass. Depth from the
   scene and the glass, never from colour bands.
   ========================================================= */

/* ---- Design tokens ---- */
:root {
  --ground: #160306;
  --surface: #2a070c;
  --deep: #3d0a11;
  --tertiary: #4d0e17;

  --felt: #d21f30;
  --felt-dark: #a5121f;
  --peach: #ffb3a1;
  --rim: #cfd8e6;

  --text: #f3e9e6;
  --text-2: #d9c7c8;
  --text-3: #b89ea0;
  --success: #10b981;

  --hair: rgba(207, 216, 230, 0.12);
  --hair-strong: rgba(207, 216, 230, 0.24);
  --glass: rgba(42, 7, 12, 0.42);
  --glass-strong: rgba(42, 7, 12, 0.72);
  --shell: rgba(255, 179, 161, 0.035);
  --inner-light: inset 0 1px 0 rgba(255, 226, 214, 0.14);

  --r-sm: 12px;
  --r-md: 20px;
  --r-lg: 32px;
  --bezel: 6px;

  --font-display: 'Fraunces', 'Iowan Old Style', Georgia, serif;
  --font-body: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-glass: cubic-bezier(0.32, 0.72, 0, 1);
  --t-fast: 0.35s var(--ease-glass);
  --t-base: 0.6s var(--ease-out-expo);
  --t-slow: 0.9s var(--ease-out-expo);

  --container: 1240px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --section-y: clamp(5rem, 11vw, 10rem);
  --header-h: 64px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  background: var(--ground);
  color: var(--text);
  overflow-x: hidden;
  min-height: 100dvh;
}

::selection { background: var(--felt); color: #fff; }

img, picture, svg, video, canvas { display: block; max-width: 100%; }
img { height: auto; }

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 500;
  font-variation-settings: 'opsz' 20;
  letter-spacing: -0.005em;
  line-height: 1.04;
  color: var(--text);
  text-wrap: balance;
}

/* Fraunces carries the big statements. Its optical-size axis runs the opposite way
   to a Didone: the LOW end is the sturdy text cut, so every display use is pinned
   there (opsz 20) rather than at the thin display end. Below headline size it moves
   to Instrument Sans anyway (h3, FAQ questions, card and tier names). */
h1 { font-size: clamp(2.75rem, 7vw, 6.5rem); font-weight: 560; }
h2 { font-size: clamp(2.1rem, 4.2vw, 3.6rem); font-variation-settings: 'opsz' 20; font-weight: 600; letter-spacing: 0; }
h3 { font-family: var(--font-body); font-size: clamp(1.2rem, 1.6vw, 1.45rem); font-weight: 600; font-variation-settings: normal; line-height: 1.25; letter-spacing: -0.01em; }

p { max-width: 62ch; }
p + p { margin-top: 1em; }

a { color: var(--peach); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 0.18em; transition: color var(--t-fast); }
a:hover { color: #fff; }

strong { font-weight: 600; }

ul, ol { list-style: none; }

/* ---- Skip link and focus ---- */
.skip-link {
  position: absolute; top: -100px; left: 1rem; z-index: 200;
  padding: 0.75rem 1.25rem; background: var(--peach); color: var(--ground);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2px solid var(--peach); outline-offset: 4px; border-radius: 4px; }

/* ---- The stage: one fixed canvas behind everything ---- */
.stage { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.stage-fallback {
  position: absolute; inset: -10%;
  background:
    radial-gradient(50% 42% at 80% 20%, rgba(210, 31, 48, 0.38) 0%, rgba(210, 31, 48, 0) 62%),
    radial-gradient(45% 45% at 15% 85%, rgba(255, 90, 60, 0.1) 0%, rgba(255, 90, 60, 0) 60%),
    radial-gradient(70% 60% at 50% 100%, var(--surface) 0%, var(--ground) 70%);
  transition: opacity 0.6s var(--ease-out-expo);
}
.stage-canvas { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 0.6s var(--ease-out-expo); }
.stage.is-live .stage-canvas { opacity: 1; }
.stage.is-live .stage-fallback { opacity: 0.35; }
.grain {
  position: absolute; inset: 0; opacity: 0.035; mix-blend-mode: screen;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

main, .site-header, .site-footer { position: relative; z-index: 1; }
.stage-top { position: fixed; inset: 0; z-index: 5; width: 100%; height: 100%; pointer-events: none; }
.shot.gl-live img { visibility: hidden; }

/* ---- Layout ---- */
.container { width: min(100% - 2 * var(--gutter), var(--container)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section-intro {
  display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: 1.5rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}
.section-intro p { color: var(--text-2); font-size: 1.125rem; }
.section-more { margin-top: clamp(2rem, 4vw, 3rem); font-size: 1rem; }
.section-more a { color: var(--text); }
.section-more a::after { content: ''; display: inline-block; width: 1.6em; height: 1px; background: currentColor; margin-left: 0.6em; vertical-align: middle; transform-origin: left center; transition: transform var(--t-fast); }
.section-more a:hover::after { transform: scaleX(1.5); }

@media (max-width: 900px) {
  .section-intro { grid-template-columns: 1fr; align-items: start; }
}

/* ---- Header: a detached glass bar ---- */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 100; padding: 0.9rem var(--gutter) 0; pointer-events: none; }
.header-bar {
  pointer-events: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  width: min(100%, var(--container)); margin-inline: auto;
  height: var(--header-h); padding: 0 0.5rem 0 1rem;
  border-radius: var(--r-md);
  background: rgba(22, 3, 6, 0.28);
  border: 1px solid transparent;
  transition: background var(--t-base), border-color var(--t-base), box-shadow var(--t-base), backdrop-filter var(--t-base);
}
.site-header.scrolled .header-bar {
  background: var(--glass);
  border-color: var(--hair);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  box-shadow: var(--inner-light), 0 18px 50px -24px rgba(0, 0, 0, 0.7);
}
.logo { display: inline-flex; align-items: center; gap: 0.7rem; color: var(--text); text-decoration: none; font-weight: 600; letter-spacing: 0.01em; font-size: 1rem; }
.logo-mark { color: var(--felt); display: inline-flex; }
.logo:hover { color: var(--peach); }

.main-nav { display: flex; align-items: center; gap: 0.25rem; }
.main-nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; font-weight: 500; padding: 0.55rem 0.9rem; border-radius: 10px; position: relative; transition: color var(--t-fast), background var(--t-fast); }
.main-nav a:hover { color: var(--text); background: rgba(255, 179, 161, 0.06); }
.main-nav a[aria-current="page"]:not(.btn) { color: var(--text); }
.main-nav a[aria-current="page"]:not(.btn)::after { content: ''; position: absolute; left: 0.9rem; right: 0.9rem; bottom: 0.35rem; height: 1px; background: var(--peach); }
.main-nav .btn { margin-left: 0.75rem; }
.main-nav a.btn-primary { color: #fff; }
.main-nav a.btn-primary:hover { background: #e0303f; }

.nav-checkbox { position: absolute; opacity: 0; width: 1px; height: 1px; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .site-header { padding-top: 0.6rem; }
  .header-bar { height: 56px; padding-left: 0.85rem; }
  .logo-name { font-size: 0.95rem; }
  .nav-toggle {
    display: flex; flex-direction: column; justify-content: center; gap: 6px;
    width: 44px; height: 44px; align-items: center; cursor: pointer; border-radius: 10px; z-index: 2;
  }
  .nav-toggle-line { display: block; width: 22px; height: 1.5px; background: var(--text); transition: transform var(--t-base), opacity var(--t-fast); }
  .nav-checkbox:focus-visible + .nav-toggle { outline: 2px solid var(--peach); outline-offset: 2px; }
  .nav-checkbox:checked + .nav-toggle .nav-toggle-line:first-child { transform: translateY(3.75px) rotate(45deg); }
  .nav-checkbox:checked + .nav-toggle .nav-toggle-line:last-child { transform: translateY(-3.75px) rotate(-45deg); }
  .main-nav {
    position: fixed; inset: 0; z-index: 1;
    flex-direction: column; align-items: flex-start; justify-content: center; gap: 0.25rem;
    padding: 6rem var(--gutter) 3rem;
    background: rgba(22, 3, 6, 0.86);
    backdrop-filter: blur(28px) saturate(140%); -webkit-backdrop-filter: blur(28px) saturate(140%);
    opacity: 0; visibility: hidden; transform: translateY(-12px);
    transition: opacity var(--t-base), transform var(--t-base), visibility 0s linear 0.6s;
  }
  .nav-checkbox:checked ~ .main-nav { opacity: 1; visibility: visible; transform: none; transition: opacity var(--t-base), transform var(--t-base), visibility 0s; }
  .main-nav a { font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-size: clamp(2.2rem, 9vw, 3.2rem); font-weight: 600; padding: 0.35rem 0; color: var(--text); opacity: 0; transform: translateY(18px); transition: opacity 0.6s var(--ease-out-expo), transform 0.6s var(--ease-out-expo), color var(--t-fast); }
  .main-nav a:hover { background: none; color: var(--peach); }
  .main-nav a[aria-current="page"]:not(.btn)::after { left: 0; right: auto; width: 2.5rem; bottom: 0.1rem; }
  .nav-checkbox:checked ~ .main-nav a { opacity: 1; transform: none; }
  .nav-checkbox:checked ~ .main-nav a:nth-child(1) { transition-delay: 0.08s; }
  .nav-checkbox:checked ~ .main-nav a:nth-child(2) { transition-delay: 0.14s; }
  .nav-checkbox:checked ~ .main-nav a:nth-child(3) { transition-delay: 0.2s; }
  .nav-checkbox:checked ~ .main-nav a:nth-child(4) { transition-delay: 0.26s; }
  .nav-checkbox:checked ~ .main-nav a:nth-child(5) { transition-delay: 0.34s; }
  .main-nav .btn { margin: 1.5rem 0 0; font-family: var(--font-body); font-size: 1.05rem; padding: 0.95rem 1.5rem; }
  body:has(.nav-checkbox:checked) { overflow: hidden; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.8rem 1.4rem; border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: 0.95rem; font-weight: 600; line-height: 1.2;
  text-decoration: none; cursor: pointer; border: 1px solid transparent; white-space: nowrap;
  transition: transform var(--t-fast), background var(--t-fast), color var(--t-fast), border-color var(--t-fast), box-shadow var(--t-fast);
  will-change: transform;
}
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 1.05rem 1.75rem; font-size: 1.02rem; }
.btn-full { width: 100%; }
.btn-primary { background: var(--felt); color: #fff; box-shadow: var(--inner-light), 0 12px 32px -14px rgba(210, 31, 48, 0.9); }
.btn-primary:hover { background: #e0303f; color: #fff; box-shadow: var(--inner-light), 0 18px 40px -14px rgba(210, 31, 48, 1); }
.btn-glass, .btn-secondary {
  background: rgba(255, 179, 161, 0.06); color: var(--text); border-color: var(--hair-strong);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--inner-light);
}
.btn-glass:hover, .btn-secondary:hover { background: rgba(255, 179, 161, 0.12); border-color: rgba(255, 179, 161, 0.5); color: #fff; }

/* ---- Cards: the double bezel ---- */
.bezel, .work-tile, .tier, .work-card, .service-card, .pricing-card, .about-card, .contact-card, .security-panel, .continuity-item, .pace {
  position: relative;
  border-radius: var(--r-lg);
  padding: var(--bezel);
  background: var(--shell);
  border: 1px solid var(--hair);
  box-shadow: 0 30px 80px -40px rgba(0, 0, 0, 0.8);
}
.bezel > .bezel-core, .work-tile-link, .tier-core, .work-card-core, .service-core, .pricing-core, .about-core, .contact-core, .security-core, .continuity-core, .pace-core {
  display: block; height: 100%;
  border-radius: calc(var(--r-lg) - var(--bezel));
  background: var(--glass);
  box-shadow: var(--inner-light);
  border: 1px solid rgba(207, 216, 230, 0.06);
}

/* ---- Home hero ---- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; padding: calc(var(--header-h) + 5rem) 0 5rem; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 3rem; align-items: center; }
.hero-title { font-size: clamp(3rem, 7.6vw, 7.25rem); font-weight: 560; font-variation-settings: 'opsz' 20; line-height: 0.98; letter-spacing: -0.012em; max-width: 12ch; }
.hero-lede { margin-top: 2rem; font-size: clamp(1.1rem, 1.4vw, 1.3rem); color: var(--text-2); max-width: 52ch; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin-top: 2.5rem; }
.title-accent { display: block; margin-top: 0.35em; font-style: italic; font-weight: 560; font-variation-settings: 'opsz' 20; font-size: 0.42em; line-height: 1.2; color: var(--peach); letter-spacing: 0; max-width: 24ch; }
.hero-stats { display: flex; flex-wrap: wrap; gap: 1.5rem 3rem; margin-top: 2.5rem; padding-top: 1.75rem; border-top: 1px solid var(--hair); }
.stat { display: grid; gap: 0.15rem; }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; line-height: 1; font-variation-settings: 'opsz' 20; font-weight: 600; color: var(--peach); }
.stat-label { font-size: 0.9rem; color: var(--text-3); max-width: 20ch; }
.hero-slab { position: relative; aspect-ratio: 4 / 5; width: 100%; max-width: 460px; justify-self: end; border-radius: var(--r-lg); }
.hero-slab::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit;
  border: 1px solid var(--hair-strong);
  background: linear-gradient(160deg, rgba(207, 216, 230, 0.16), rgba(207, 216, 230, 0.02) 40%, rgba(255, 179, 161, 0.06));
  box-shadow: var(--inner-light), 0 40px 100px -40px rgba(0, 0, 0, 0.8);
  transition: opacity var(--t-slow);
}
.stage.is-live ~ main .hero-slab::before { opacity: 0; }
.hero-scroll { position: absolute; left: 50%; bottom: 2rem; transform: translateX(-50%); width: 24px; height: 40px; border: 1px solid var(--hair-strong); border-radius: 12px; display: block; }
.hero-scroll span { position: absolute; left: 50%; top: 8px; width: 2px; height: 8px; margin-left: -1px; background: var(--peach); border-radius: 1px; animation: cue 2.2s var(--ease-out-expo) infinite; }
@keyframes cue { 0% { transform: translateY(0); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(14px); opacity: 0; } }

@media (max-width: 1023px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-slab { aspect-ratio: 4 / 5; max-width: 320px; width: 100%; justify-self: start; margin-top: 1rem; }
}
@media (max-width: 480px) {
  .hero { padding-top: calc(var(--header-h) + 3.5rem); }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .hero-scroll { display: none; }
}

/* ---- Home: work tiles ---- */
.work-tiles { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.work-tile { grid-column: span 4; }
.work-tile--wide { grid-column: 1 / 9; grid-row: 1 / 3; }
.work-tile:nth-child(2) { grid-column: 9 / -1; grid-row: 1; }
.work-tile:nth-child(3) { grid-column: 9 / -1; grid-row: 2; }
/* the big link sits in the gap the wide tile leaves under itself */
.work-tiles-more {
  grid-column: 1 / 9; grid-row: 2; align-self: end; justify-self: start; z-index: 1;
  font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600;
  font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1; letter-spacing: -0.01em;
  color: var(--peach); text-decoration: none; padding: 0 0 0.35rem; border-bottom: 1px solid rgba(255, 179, 161, 0.4);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.work-tiles-more:hover { color: #fff; border-color: #fff; }
.work-tile-link { text-decoration: none; color: inherit; overflow: hidden; transition: transform var(--t-base); display: flex; flex-direction: column; }
.work-tile:hover .work-tile-link { transform: translateY(-4px); }
.work-tile .shot { overflow: hidden; border-radius: calc(var(--r-lg) - var(--bezel)) calc(var(--r-lg) - var(--bezel)) 0 0; aspect-ratio: 16 / 10; }
.work-tile--wide { align-self: start; }
.work-tile--wide .shot { aspect-ratio: 16 / 10; flex: none; }
.work-tile--wide .shot img { object-position: left top; }
.work-tile .shot picture { height: 100%; }
.work-tile .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transform: scale(1.02); transition: transform 1.2s var(--ease-out-expo); }
.work-tile:hover .shot img { transform: scale(1.06); }
.work-tile-body { padding: 1.5rem 1.6rem 1.7rem; }
.work-tile-kind { display: flex; align-items: center; gap: 0.6rem; font-size: 0.85rem; color: var(--text-3); margin: 0.5rem 0 0.7rem; }
.work-tile-body h3 { margin-bottom: 0; }
.work-tile-body p + p { margin-top: 0; }
.work-tile-body > p:not(.work-tile-kind) { color: var(--text-2); font-size: 0.98rem; }
.work-tile-specs { margin-top: 0.9rem; display: grid; gap: 0.3rem; font-size: 0.9rem; color: var(--text-3); }
.work-tile-specs li { padding-left: 1rem; position: relative; }
.work-tile-specs li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 0.45rem; height: 1px; background: var(--peach); }
.work-tile-cta { display: inline-block; margin-top: 1.1rem; font-weight: 600; color: var(--peach); font-size: 0.95rem; border-bottom: 1px solid currentColor; }

@media (max-width: 1023px) {
  .work-tiles { grid-template-columns: 1fr; }
  .work-tile, .work-tile--wide, .work-tile:nth-child(2), .work-tile:nth-child(3) { grid-column: 1 / -1; grid-row: auto; }
  .work-tiles-more { grid-column: 1 / -1; grid-row: auto; margin-top: 1rem; }
  .work-tile--wide .shot { aspect-ratio: 16 / 10; flex: none; }
}

/* ---- Tags ---- */
.tag { display: inline-block; padding: 0.2rem 0.55rem; border-radius: 6px; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.02em; line-height: 1.4; border: 1px solid var(--hair); color: var(--text-2); }
.tag-success { color: #8ef0c6; border-color: rgba(16, 185, 129, 0.45); background: rgba(16, 185, 129, 0.1); }
.tag-primary, .tag-secondary { color: var(--peach); border-color: rgba(255, 179, 161, 0.35); }
.tag-progress { color: var(--peach); border-color: rgba(255, 179, 161, 0.4); background: rgba(255, 179, 161, 0.08); }
.tag-tech { color: var(--text-3); }

/* ---- Home: process with particle grid behind ---- */
.process-home { position: relative; }
.process-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 3rem 5rem; align-items: start; }
.process-copy { position: sticky; top: calc(var(--header-h) + 2rem); }
.process-copy p { color: var(--text-2); margin-top: 1.25rem; font-size: 1.125rem; }
.process-steps { display: grid; gap: 0; border-top: 1px solid var(--hair); }
.process-steps li { display: grid; grid-template-columns: 4.5rem minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--hair); align-items: start; }
.process-num { font-family: var(--font-display); font-size: 3rem; line-height: 1; color: var(--peach); font-variation-settings: 'opsz' 20; font-weight: 700; }
.process-steps h3 { margin-bottom: 0.4rem; }
.process-steps p { color: var(--text-2); max-width: 48ch; }

@media (max-width: 900px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-copy { position: static; }
  .process-steps li { grid-template-columns: 3rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; }
  .process-num { font-size: 2.2rem; }
}

/* ---- Home: tiers ---- */
.tiers { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.tier { display: block; text-decoration: none; color: inherit; transition: transform var(--t-base); }
.tier:nth-child(1) { margin-top: 5rem; }
.tier:nth-child(2) { margin-top: 2.5rem; }
.tier:hover { transform: translateY(-4px); }
.tier > * { position: relative; }
.tier::after { content: ''; position: absolute; inset: var(--bezel); border-radius: calc(var(--r-lg) - var(--bezel)); background: var(--glass); box-shadow: var(--inner-light); border: 1px solid rgba(207, 216, 230, 0.06); z-index: 0; }
.tier > * { z-index: 1; }
.tier-scope { padding: 1.9rem 1.9rem 0; font-size: 0.85rem; font-weight: 600; color: var(--peach); letter-spacing: 0.01em; }
.tier h3 { padding: 0.35rem 1.9rem 0; }
.tier-price { padding: 1.1rem 1.9rem 0; font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600; font-size: clamp(2.4rem, 3.6vw, 3.4rem); line-height: 1; color: var(--text); }
.tier-from { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-3); margin-right: 0.3rem; vertical-align: 0.9em; }
.tier-time { padding: 1rem 1.9rem 0; font-size: 0.9rem; color: var(--peach); }
.tier-what { padding: 0.7rem 1.9rem 0; color: var(--text-2); font-size: 0.98rem; }
.tier-time { padding-bottom: 1.9rem; color: var(--text-2); }
.tier-time-label { display: block; color: var(--peach); font-size: 0.8rem; font-weight: 600; margin-bottom: 0.15rem; }
.tiers-axis { display: flex; justify-content: space-between; gap: 1rem; margin-top: 1.5rem; padding-top: 0.9rem; border-top: 1px solid var(--hair); font-size: 0.85rem; color: var(--text-3); max-width: none; }
.pricing-home { padding-bottom: calc(var(--section-y) * 0.3); }
.tiers-axis span:first-child, .tiers-axis span:last-child { color: var(--text); font-weight: 600; }
.tier--featured { border-color: rgba(255, 179, 161, 0.35); }
.tier--featured::after { background: rgba(77, 14, 23, 0.55); }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .tier:nth-child(2), .tier:nth-child(3) { margin-top: 0; }
}

/* ---- Home: continuity strip ---- */
.continuity-strip { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 2rem 5rem; align-items: start; padding-top: var(--section-y); border-top: 1px solid var(--hair); }
.continuity-home { padding-top: 0; }
.continuity-strip-copy p { color: var(--text-2); margin-top: 1.25rem; font-size: 1.125rem; }
.continuity-strip-list { display: grid; gap: 0; }
.continuity-strip-list li { padding: 1.1rem 0 1.1rem 2rem; border-bottom: 1px solid var(--hair); position: relative; color: var(--text-2); }
.continuity-strip-list li::before { content: ''; position: absolute; left: 0; top: 1.75rem; width: 1rem; height: 1px; background: var(--peach); }
.continuity-strip .section-more { grid-column: 2; margin-top: 1.5rem; }

@media (max-width: 900px) {
  .continuity-strip { grid-template-columns: 1fr; }
  .continuity-strip .section-more { grid-column: 1; }
}

/* ---- CTA band ---- */
.cta-band { padding-top: calc(var(--section-y) * 0.3); padding-bottom: calc(var(--section-y) * 0.8); }
.cta-band-inner {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2rem 4rem; align-items: center;
  padding: clamp(2.5rem, 5vw, 4.5rem); border-radius: var(--r-lg);
  background: linear-gradient(135deg, rgba(210, 31, 48, 0.22), rgba(42, 7, 12, 0.6) 55%, rgba(207, 216, 230, 0.05));
  border: 1px solid var(--hair-strong); box-shadow: var(--inner-light), 0 40px 100px -50px rgba(210, 31, 48, 0.6);
}
.cta-band-inner p { color: var(--text-2); margin-top: 1rem; }
@media (max-width: 768px) { .cta-band-inner { grid-template-columns: 1fr; } }

/* ---- Inner page hero ---- */
.page-hero { padding: calc(var(--header-h) + clamp(3rem, 7vw, 5rem)) 0 clamp(1.25rem, 3vw, 2.25rem); }
.page-hero .container { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem 4rem; align-items: end; }
.page-hero h1 { font-size: clamp(2.6rem, 6vw, 5.4rem); max-width: 14ch; }
.page-hero-lede { font-size: 1.15rem; color: var(--text-2); padding-bottom: 0.5rem; }
.page-hero .hero-actions { grid-column: 1 / -1; margin-top: 1rem; }
.page-hero .legal-body { grid-column: 1 / -1; }
@media (max-width: 900px) { .page-hero .container { grid-template-columns: 1fr; } }

/* ---- Work page ---- */
.work-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 1.5rem; }
.work-card { grid-column: span 6; display: flex; flex-direction: column; }
.work-card.featured { grid-column: span 12; }
.work-card:nth-child(6n + 2), .work-card:nth-child(6n + 5) { grid-column: span 7; }
.work-card:nth-child(6n + 3), .work-card:nth-child(6n + 6) { grid-column: span 5; }
.work-card:nth-child(6n + 4) { grid-column: span 5; }
.work-card:nth-child(6n + 7) { grid-column: span 7; }
.work-card:last-child { grid-column: span 12; }
.work-card:last-child .shot { aspect-ratio: 21 / 9; }
.work-card > * { position: relative; z-index: 1; }
.work-card::after { content: ''; position: absolute; inset: var(--bezel); border-radius: calc(var(--r-lg) - var(--bezel)); background: var(--glass); box-shadow: var(--inner-light); border: 1px solid rgba(207, 216, 230, 0.06); z-index: 0; }
.work-card .shot { margin: 0; border-radius: calc(var(--r-lg) - var(--bezel)) calc(var(--r-lg) - var(--bezel)) 0 0; overflow: hidden; aspect-ratio: 16 / 10; }
.work-card.featured .shot { aspect-ratio: 21 / 9; }
.work-card .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.work-card-title { padding: 1.5rem 1.7rem 0; font-size: clamp(1.8rem, 2.6vw, 2.4rem); font-variation-settings: 'opsz' 20; font-weight: 600; }
.work-card-meta { display: flex; flex-wrap: wrap; gap: 0.4rem; padding: 0.8rem 1.7rem 0; }
.work-card-story { padding: 1rem 1.7rem 0; color: var(--text-2); font-size: 0.98rem; }
.work-card-label { display: block; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.02em; color: var(--peach); margin-bottom: 0.15rem; }
.work-card-features { padding: 1.1rem 1.7rem 0; display: grid; gap: 0.35rem; font-size: 0.92rem; color: var(--text-3); }
.work-card-features li { padding-left: 1.1rem; position: relative; }
.work-card-features li::before { content: ''; position: absolute; left: 0; top: 0.75em; width: 0.5rem; height: 1px; background: var(--peach); }
.work-card-benefit { padding-top: 1.1rem; color: var(--text); border-top: 1px solid var(--hair); margin: 1rem 1.7rem 0; }
.work-card-benefit .work-card-label { padding-top: 0; }
.work-card-link, .work-card-soon { display: inline-flex; align-items: center; gap: 0.5rem; margin: auto 1.7rem 1.7rem; font-weight: 600; text-decoration: none; color: var(--peach); align-self: flex-start; border-bottom: 1px solid currentColor; }
.work-card-link:hover { color: #fff; }
.work-card-soon { color: var(--text-3); border-bottom: 0; }

@media (max-width: 1023px) {
  .work-grid { grid-template-columns: 1fr; }
  .work-card, .work-card.featured, .work-card:nth-child(n) { grid-column: 1 / -1; }
  .work-card.featured .shot { aspect-ratio: 16 / 10; }
}

/* ---- Services page ---- */
.services-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1.5rem; align-items: start; }
.service-card > * { position: relative; z-index: 1; }
.service-card::after, .pricing-card::after, .about-card::after, .contact-card::after, .security-panel::after, .continuity-item::after, .pace::after {
  content: ''; position: absolute; inset: var(--bezel); border-radius: calc(var(--r-lg) - var(--bezel));
  background: var(--glass); box-shadow: var(--inner-light); border: 1px solid rgba(207, 216, 230, 0.06); z-index: 0;
}
.service-card { padding: calc(var(--bezel) + 2rem); }
.service-card:nth-child(2) { margin-top: 4rem; }
.service-icon { color: var(--peach); margin-bottom: 1.5rem; }
.service-card h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-variation-settings: 'opsz' 20; margin-bottom: 1rem; }
.service-card p { color: var(--text-2); }
.service-features { margin-top: 1.5rem; display: grid; gap: 0.5rem; color: var(--text-2); font-size: 0.98rem; }
.service-features li { padding-left: 1.2rem; position: relative; }
.service-features li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.55rem; height: 1px; background: var(--peach); }

.security { padding-top: 0; }
.security-panel { padding: calc(var(--bezel) + 2rem); }
.security-panel > * { position: relative; z-index: 1; }
.security-panel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 1.5rem; align-items: start; }
.security-icon { color: var(--peach); padding-top: 0.4rem; }
.security-body h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-variation-settings: 'opsz' 20; margin-bottom: 0.75rem; }
.security-body p { color: var(--text-2); max-width: 70ch; }

.stages { display: grid; gap: 0; border-top: 1px solid var(--hair); max-width: 960px; }
.stages li { display: grid; grid-template-columns: 5rem minmax(0, 1fr); gap: 1.5rem; padding: 2rem 0; border-bottom: 1px solid var(--hair); }
.stage-number { font-family: var(--font-display); font-size: 2.6rem; line-height: 1; color: var(--peach); font-variation-settings: 'opsz' 20; font-weight: 700; }
.stages h3 { margin-bottom: 0.5rem; }
.stages p { color: var(--text-2); }

@media (max-width: 900px) {
  .services-grid { grid-template-columns: 1fr; }
  .service-card:nth-child(2) { margin-top: 0; }
  .security-panel { grid-template-columns: 1fr; }
  .stages li { grid-template-columns: 3.2rem minmax(0, 1fr); gap: 1rem; padding: 1.5rem 0; }
  .stage-number { font-size: 2rem; }
}

/* ---- Section header (shared by inner pages) ---- */
.section-header { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 1rem 4rem; align-items: end; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-header p { color: var(--text-2); font-size: 1.125rem; }
@media (max-width: 900px) { .section-header { grid-template-columns: 1fr; } }

/* ---- Pricing page ---- */
.pricing-section-header { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 1rem 4rem; align-items: end; margin-bottom: 2.5rem; }
.pricing-section-header--second { margin-top: var(--section-y); }
.pricing-section-header p { color: var(--text-2); font-size: 1.125rem; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; align-items: start; }
.pricing-card { padding: calc(var(--bezel) + 1.9rem); display: flex; flex-direction: column; }
.pricing-card > * { position: relative; z-index: 1; }
.pricing-grid .pricing-card:nth-child(2) { margin-top: 2rem; }
.pricing-grid .pricing-card:nth-child(3) { margin-top: 4rem; }
.pricing-card--featured { border-color: rgba(255, 179, 161, 0.35); }
.pricing-card--featured::after { background: rgba(77, 14, 23, 0.55); }
.pricing-badge { display: inline-block; vertical-align: middle; font-family: var(--font-body); font-size: 0.75rem; font-weight: 600; color: var(--peach); border: 1px solid rgba(255, 179, 161, 0.4); padding: 0.2rem 0.6rem; border-radius: 6px; margin-left: 0.6rem; }
.pricing-card > .pricing-from { font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600; font-size: clamp(2.4rem, 3.6vw, 3.2rem); line-height: 1; margin: 0.6rem 0 1.1rem; }
.pricing-from strong { font-weight: 600; }
.pricing-from span { font-family: var(--font-body); font-size: 0.9rem; color: var(--text-3); }
.pricing-timing { display: grid; gap: 0.6rem; padding: 1rem 0; border-top: 1px solid var(--hair); border-bottom: 1px solid var(--hair); margin-bottom: 1rem; font-size: 0.92rem; }
.pricing-timing dt { color: var(--peach); font-weight: 600; font-size: 0.8rem; }
.pricing-timing dd { color: var(--text-2); }
.pricing-card > p { color: var(--text-2); font-size: 0.98rem; }
.pricing-features { margin-top: 1.2rem; display: grid; gap: 0.5rem; color: var(--text-2); font-size: 0.95rem; }
.pricing-features li { padding-left: 1.2rem; position: relative; }
.pricing-features li::before { content: ''; position: absolute; left: 0; top: 0.8em; width: 0.55rem; height: 1px; background: var(--peach); }
.pricing-footnote { margin: 3rem auto 0; max-width: 80ch; color: var(--text-3); font-size: 0.92rem; text-align: center; }
.pricing-footnote p { max-width: none; }

@media (max-width: 900px) {
  .pricing-section-header { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }
  .pricing-grid .pricing-card:nth-child(2), .pricing-grid .pricing-card:nth-child(3) { margin-top: 0; }
}

/* ---- Pricing: "You set the pace" track ---- */
.pace { --pace-us: var(--felt); --pace-you: repeating-linear-gradient(135deg, rgba(255, 179, 161, 0.6) 0 3px, transparent 3px 7px); margin-top: 4rem; padding: calc(var(--bezel) + 2.25rem) calc(var(--bezel) + 2rem); }
.pace > * { position: relative; z-index: 1; }
.pace-intro { display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.6fr); gap: 1rem 2.5rem; align-items: start; margin-bottom: 2.25rem; }
.pace-intro h3 { font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600; font-size: clamp(1.75rem, 3vw, 2.4rem); }
.pace-intro p { color: var(--text-2); max-width: 62ch; }
.pace-track { display: grid; grid-template-columns: repeat(9, minmax(0, 1fr)) 5rem; gap: 0; }
.pace-step { position: relative; padding: 1.6rem 0.7rem 0 0; }
.pace-step::before { content: ''; position: absolute; top: 0.45rem; left: 0; right: 0; height: 6px; background: var(--pace-us); }
.pace-step::after { content: ''; position: absolute; top: 0.15rem; left: 0; width: 12px; height: 12px; border-radius: 50%; background: var(--ground); border: 2px solid var(--peach); }
.pace-step--you::before { background: var(--pace-you); box-shadow: inset 0 0 0 1px rgba(255, 179, 161, 0.35); }
.pace-step--both::before { background: linear-gradient(90deg, var(--pace-us) 50%, transparent 50%), var(--pace-you); }
.pace-step--live::before { right: auto; width: 0; }
.pace-step--live::after { width: 16px; height: 16px; top: 0; background: var(--peach); border-color: var(--peach); box-shadow: 0 0 0 5px rgba(255, 179, 161, 0.3); }
.pace-who { display: block; font-size: 0.74rem; color: var(--text-3); margin-bottom: 0.2rem; }
.pace-step--us .pace-who, .pace-step--live .pace-who { color: var(--peach); }
.pace-step strong { display: block; font-size: 0.95rem; line-height: 1.25; color: var(--text); margin-bottom: 0.3rem; }
.pace-what { display: block; font-size: 0.8rem; line-height: 1.4; color: var(--text-2); }
.pace-legend { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem 1.6rem; margin-top: 1.75rem; font-size: 0.82rem; color: var(--text-3); max-width: none; }
.pace-legend-item { display: inline-flex; align-items: center; gap: 0.6rem; }
.pace-key { display: inline-block; width: 28px; height: 6px; background: var(--pace-us); }
.pace-key--you { background: var(--pace-you); box-shadow: inset 0 0 0 1px rgba(255, 179, 161, 0.35); }
.pace-notes { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 1rem 2.5rem; align-items: end; margin-top: 1.75rem; padding-top: 1.5rem; border-top: 1px solid var(--hair); }
.pace-proof { color: var(--text-2); }
.pace-proof strong { display: block; font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600; font-size: clamp(1.9rem, 3.4vw, 2.6rem); line-height: 1.05; color: var(--peach); margin-bottom: 0.35rem; }
.pace-promise { color: var(--text); font-weight: 600; }

@media (max-width: 1023px) {
  .pace { padding: calc(var(--bezel) + 1.5rem) calc(var(--bezel) + 1.1rem); }
  .pace-intro, .pace-notes { grid-template-columns: 1fr; }
  .pace-track { grid-template-columns: 1fr; }
  .pace-step { padding: 0 0 1.35rem 2rem; }
  .pace-step::before { top: 0.3rem; bottom: 0; left: 3px; right: auto; width: 6px; height: auto; }
  .pace-step::after { top: 0.1rem; left: 0; }
  .pace-step--both::before { background: linear-gradient(180deg, var(--pace-us) 50%, transparent 50%), var(--pace-you); }
  .pace-step--live { padding-bottom: 0; }
  .pace-step--live::before { display: none; }
  .pace-step--live::after { left: -2px; }
}

/* ---- Comparison table ---- */
.comparison { padding-top: 0; }
.comparison-table-wrapper { overflow-x: auto; border-radius: var(--r-md); border: 1px solid var(--hair); background: var(--glass); box-shadow: var(--inner-light); }
.comparison-table { width: 100%; border-collapse: collapse; min-width: 560px; }
.comparison-table th, .comparison-table td { padding: 1.1rem 1.4rem; text-align: left; border-bottom: 1px solid var(--hair); vertical-align: top; font-size: 0.98rem; }
.comparison-table th { font-weight: 600; color: var(--text-3); font-size: 0.85rem; }
.comparison-table th.col-us { color: var(--peach); }
.comparison-table tbody tr:last-child td { border-bottom: 0; }
.comparison-table td:first-child { color: var(--text); font-weight: 600; }
.comparison-table td { color: var(--text-2); }
.comparison-table .cell-us { color: var(--text); background: rgba(255, 179, 161, 0.05); }
@media (max-width: 640px) {
  .comparison-table { min-width: 0; }
  .comparison-table thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .comparison-table tr { display: block; padding: 0.4rem 0; border-bottom: 1px solid var(--hair); }
  .comparison-table tbody tr:last-child { border-bottom: 0; }
  .comparison-table td { display: block; border: 0; padding: 0.35rem 1.1rem; }
  .comparison-table td:first-child { padding-top: 0.8rem; font-size: 1.05rem; }
  .comparison-table td[data-label]::before { content: attr(data-label) ': '; color: var(--text-3); font-size: 0.82rem; }
  .comparison-table td.cell-us { background: none; padding-bottom: 0.9rem; }
  .comparison-table td.cell-us::before { color: var(--peach); }
}

/* ---- FAQ ---- */
.faq { padding-top: 0; }
.faq-list { max-width: 860px; border-top: 1px solid var(--hair); }
.faq-item { border-bottom: 1px solid var(--hair); }
.faq-item summary { cursor: pointer; list-style: none; padding: 1.4rem 3rem 1.4rem 0; font-family: var(--font-body); font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.35; position: relative; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::before, .faq-item summary::after { content: ''; position: absolute; right: 0.5rem; top: 50%; width: 16px; height: 1px; background: var(--peach); transition: transform var(--t-base); }
.faq-item summary::after { transform: rotate(90deg); }
.faq-item[open] summary::after { transform: rotate(0); }
.faq-item summary:hover { color: var(--peach); }
.faq-item p { padding: 0 3rem 1.6rem 0; color: var(--text-2); max-width: 70ch; }

/* ---- About page ---- */
.section.about { padding-top: calc(var(--section-y) * 0.35); padding-bottom: calc(var(--section-y) * 0.35); }
.about-layout { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 3rem 5rem; align-items: start; }
#continuity { padding-top: calc(var(--section-y) * 0.4); padding-bottom: calc(var(--section-y) * 0.4); }
.about-lead { font-family: var(--font-body); font-size: clamp(1.2rem, 1.6vw, 1.4rem); line-height: 1.5; color: var(--text); margin-bottom: 2.5rem; max-width: 44ch; }
.about-content h2 { font-size: clamp(1.7rem, 2.8vw, 2.3rem); font-variation-settings: 'opsz' 20; margin: 2.5rem 0 1rem; }
.about-content h3 { margin: 1.75rem 0 0.6rem; color: var(--text); }
.about-content p { color: var(--text-2); }
.about-card { padding: calc(var(--bezel) + 2rem); position: sticky; top: calc(var(--header-h) + 2rem); }
.about-card > * { position: relative; z-index: 1; }
.about-card h2 { font-size: clamp(1.6rem, 2.5vw, 2.1rem); font-variation-settings: 'opsz' 20; margin-bottom: 0.5rem; }
.about-card > p { color: var(--text-2); }
.about-contact { margin: 1.5rem 0 1.75rem; display: grid; gap: 0.5rem; color: var(--text-2); }
.about-contact strong { color: var(--text); }
.about-contact a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text); text-decoration: underline; }
.about-contact svg { flex-shrink: 0; }
.continuity-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.continuity-item { padding: calc(var(--bezel) + 1.75rem); }
.continuity-item > * { position: relative; z-index: 1; }
.continuity-item h3 { margin-bottom: 0.6rem; font-size: 1.25rem; }
.continuity-item p { color: var(--text-2); font-size: 0.98rem; }
.continuity-foot { margin: 2.5rem auto 0; color: var(--text-3); max-width: 65ch; font-size: 1.15rem; text-align: center; }
.continuity-foot strong { display: block; margin-top: 1.1rem; font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600; font-size: clamp(1.7rem, 3.2vw, 2.3rem); line-height: 1.15; color: var(--peach); }

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; }
  .about-card { position: static; }
  .continuity-grid { grid-template-columns: 1fr; }
}

/* ---- Contact page ---- */
.contact { padding-top: 1rem; }
.contact-card { display: grid; grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr); gap: 2rem 3rem; padding: calc(var(--bezel) + 2.25rem); }
.contact-card > * { position: relative; z-index: 1; }
.contact-methods { display: grid; gap: 0.9rem; }
.contact-methods a, .contact-methods span { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--text); }
.contact-methods a { text-decoration: underline; }
.contact-form { display: grid; gap: 1.25rem; }
.form-group { display: grid; gap: 0.45rem; }
.form-group label { font-size: 0.9rem; font-weight: 600; color: var(--text-2); }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.9rem 1rem; border-radius: var(--r-sm);
  background: rgba(22, 3, 6, 0.5); border: 1px solid var(--hair-strong); color: var(--text);
  font: inherit; font-size: 1rem; transition: border-color var(--t-fast), box-shadow var(--t-fast);
}
.form-group input:focus, .form-group textarea:focus { outline: none; border-color: var(--peach); box-shadow: 0 0 0 3px rgba(255, 179, 161, 0.2); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-honeypot { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status { display: none; padding: 1rem 1.2rem; border-radius: var(--r-sm); background: rgba(16, 185, 129, 0.12); border: 1px solid rgba(16, 185, 129, 0.4); color: #bff3dc; }
.form-status:not(:empty) { display: block; }
.form-status.error { background: rgba(210, 31, 48, 0.14); border-color: rgba(210, 31, 48, 0.5); color: #ffc9c2; }
.form-status.error::before { content: 'Error: '; font-weight: 600; }
.form-note, .form-noscript { font-size: 0.9rem; color: var(--text-3); }
altcha-widget { --altcha-color-base: rgba(22, 3, 6, 0.5); --altcha-color-border: var(--hair-strong); --altcha-color-text: var(--text); --altcha-border-radius: 12px; --altcha-color-border-focus: var(--peach); --altcha-max-width: 100%; display: block; }
@media (max-width: 900px) { .contact-card { grid-template-columns: 1fr; padding: calc(var(--bezel) + 1.4rem); } }

/* ---- Legal pages ---- */
.legal-body { max-width: 72ch; }
.legal-body h1 { font-size: clamp(2.4rem, 5vw, 4.2rem); margin-bottom: 1rem; }
.legal-body h2 { font-size: clamp(1.5rem, 2.4vw, 2rem); font-variation-settings: 'opsz' 20; margin: 2.5rem 0 0.75rem; }
.legal-body h3 { margin: 1.75rem 0 0.5rem; }
.legal-body p, .legal-body li { color: var(--text-2); }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin: 0.75rem 0; }
.legal-body li + li { margin-top: 0.4rem; }
.legal-body p { max-width: none; }

/* ---- Footer ---- */
.site-footer { padding: 2.75rem 0 2rem; border-top: 1px solid var(--hair); background: linear-gradient(180deg, rgba(22, 3, 6, 0) 0%, rgba(22, 3, 6, 0.7) 100%); }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr) minmax(0, 1fr); gap: 1.5rem 3rem; align-items: start; }
.footer-logo { font-family: var(--font-display); font-variation-settings: 'opsz' 20; font-weight: 600; font-size: 1.5rem; display: block; margin-bottom: 0.6rem; }
.footer-brand p { color: var(--text-3); font-size: 0.95rem; }
.footer-nav { display: grid; grid-template-columns: repeat(3, auto); column-gap: 2.5rem; row-gap: 0.5rem; }
.footer-nav a { color: var(--text-2); text-decoration: none; font-size: 0.95rem; }
.footer-nav a:hover { color: var(--peach); }
.footer-nav a:nth-child(1) { grid-column: 1; grid-row: 1; }
.footer-nav a:nth-child(2) { grid-column: 3; grid-row: 1; }
.footer-nav a:nth-child(3) { grid-column: 1; grid-row: 2; }
.footer-nav a:nth-child(4) { grid-column: 3; grid-row: 2; }
.footer-nav a:nth-child(5) { grid-column: 2; grid-row: 1 / span 2; align-self: center; justify-self: center; }
.footer-legal { font-size: 0.88rem; color: var(--text-3); }
.footer-legal a { color: var(--text-2); }
.footer-legal .credit { margin-top: 0.75rem; }
@media (max-width: 768px) { .footer-inner { grid-template-columns: 1fr; gap: 1.75rem; } }
@media (max-width: 480px) {
  .footer-nav { grid-template-columns: repeat(2, auto); column-gap: 2rem; }
  .footer-nav a:nth-child(1) { grid-column: 1; grid-row: 1; }
  .footer-nav a:nth-child(2) { grid-column: 2; grid-row: 1; }
  .footer-nav a:nth-child(3) { grid-column: 1; grid-row: 2; }
  .footer-nav a:nth-child(4) { grid-column: 2; grid-row: 2; }
  .footer-nav a:nth-child(5) { grid-column: 1; grid-row: 3; align-self: start; justify-self: start; }
}

/* ---- Scroll reveal (one gentle entrance per element, JS-gated) ---- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease-out-expo), transform 0.9s var(--ease-out-expo); }
.reveal.visible { opacity: 1; transform: none; }
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }

/* ---- Reduced motion ---- */
@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; }
  .reveal { opacity: 1; transform: none; }
  .stage-canvas { display: none; }
  .hero-scroll span { animation: none; }
}
