/* =========================================================================
   Phoenix Rising Accounting Services — Design System
   Built by Geekworks Unlimited
   Type: Cinzel (brand caps) · Newsreader (display) · Hanken Grotesk (body) · Spline Sans Mono (data)
   Palette drawn from the logo artwork:
     wing-tip navy #013361 · teal body #005b7a · bright tail #008c92
     card ground #0c2738 · brief cyan accent #0cbeca
   ========================================================================= */

:root {
  /* ---- Color (sampled from the phoenix logo + business card) ---- */
  --navy-deep:  #0c2738;   /* business-card ground — header, hero, footer */
  --navy:       #102f43;
  --navy-soft:  #173a51;
  --blue:       #013361;   /* phoenix wing-tip */
  --ink:        #0c2738;   /* headings on light = brand navy */
  --ink-soft:   #294455;
  --slate:      #5c5f61;   /* client's secondary */
  --slate-mute: #8a9499;
  --teal-dark:  #004d65;   /* client PRIMARY #004d65 — link/eyebrow text on light (AA) */
  --teal-deep:  #00566f;   /* primary, lifted for gradient depth */
  --teal:       #006d8c;   /* mid brand teal */
  --teal-bright:#008cb4;   /* client SECONDARY #008cb4 — phoenix tail / accents */
  --cyan:       #19a8cf;   /* bright tint of the secondary — the rising spark */
  --paper:      #f4f8f9;
  --surface:    #ffffff;
  --mist:       #e7f1f3;
  --mist-deep:  #d4e7ea;
  --line:       #d7e4e6;
  --line-soft:  #e8f0f1;

  /* ---- Type ---- */
  --caps:  "Cinzel", "Newsreader", Georgia, serif;
  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans:  "Hanken Grotesk", system-ui, -apple-system, sans-serif;
  --mono:  "Spline Sans Mono", ui-monospace, "SFMono-Regular", monospace;

  /* ---- Scale ---- */
  --step--1: clamp(0.83rem, 0.79rem + 0.18vw, 0.93rem);
  --step-0:  clamp(1rem, 0.96rem + 0.22vw, 1.13rem);
  --step-1:  clamp(1.2rem, 1.12rem + 0.4vw, 1.5rem);
  --step-2:  clamp(1.5rem, 1.35rem + 0.75vw, 2.1rem);
  --step-3:  clamp(1.95rem, 1.7rem + 1.25vw, 3rem);
  --step-4:  clamp(2.5rem, 2.05rem + 2.25vw, 4.3rem);
  --step-5:  clamp(3.1rem, 2.4rem + 3.5vw, 5.8rem);

  /* ---- Space ---- */
  --gap: clamp(1.25rem, 1rem + 1.2vw, 2rem);
  --bay: clamp(4rem, 3rem + 5vw, 8rem);
  --shell: 1180px;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 1px 2px rgba(22,40,43,.05), 0 4px 14px rgba(22,40,43,.05);
  --shadow-md: 0 10px 30px rgba(10,114,122,.10), 0 2px 8px rgba(22,40,43,.06);
  --shadow-lg: 0 24px 60px rgba(10,114,122,.16);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: var(--step-0);
  line-height: 1.65;
  color: var(--ink-soft);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }
ul { list-style: none; padding: 0; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.015em;
  color: var(--ink);
  text-wrap: balance;
}

/* ---- Utility ---- */
.shell { width: min(100% - 2.5rem, var(--shell)); margin-inline: auto; }
.eyebrow {
  font-family: var(--mono);
  font-size: var(--step--1);
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-dark);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 1px;
  background: var(--teal);
  display: inline-block;
}
.lede { font-size: var(--step-1); color: var(--slate); line-height: 1.5; }
.center { text-align: center; }
.muted { color: var(--slate); }

/* =========================================================================
   Buttons
   ========================================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--sans);
  font-weight: 600;
  font-size: var(--step--1);
  letter-spacing: .01em;
  padding: .85rem 1.5rem;
  border-radius: 100px;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .25s, color .25s;
  white-space: nowrap;
}
.btn svg { width: 16px; height: 16px; }
.btn--solid { background: linear-gradient(120deg, var(--teal-deep), var(--teal-bright) 55%, var(--cyan)); color: #fff; box-shadow: 0 8px 22px rgba(0,140,146,.30); }
.btn--solid:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(12,190,202,.40); filter: brightness(1.06); }
.btn--ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal); color: var(--teal-dark); transform: translateY(-2px); }
/* light text variant for dark (navy) backgrounds */
.on-dark .btn--ghost { color: #eaf6f7; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.28); }
.on-dark .btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--cyan); }
.btn--light { background: #fff; color: var(--teal-dark); }
.btn--light:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn--lg { padding: 1.05rem 1.9rem; font-size: var(--step-0); }
.arrow-link {
  font-family: var(--mono);
  font-size: var(--step--1);
  letter-spacing: .04em;
  color: var(--teal-dark);
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  transition: gap .3s var(--ease), color .2s;
}
.arrow-link:hover { gap: .8rem; color: var(--teal); }

/* =========================================================================
   Header
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12,39,56,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: border-color .3s, background .3s, box-shadow .3s;
}
.site-header.scrolled { background: rgba(10,33,48,.96); box-shadow: 0 10px 30px rgba(0,0,0,.22); }
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; padding: .7rem 0; min-height: 70px;
}
.brand { display: inline-flex; align-items: center; gap: .7rem; }
.brand .mark { width: 40px; height: auto; flex: none; filter: drop-shadow(0 2px 6px rgba(0,0,0,.25)); }
.brand .wordmark { line-height: 1; }
.brand .wordmark b {
  display: block;
  font-family: var(--caps);
  font-size: 1.04rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.brand .wordmark span {
  display: block;
  font-family: var(--sans);
  font-size: .56rem;
  font-weight: 600;
  letter-spacing: .30em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-top: 4px;
}
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a {
  font-size: var(--step--1);
  font-weight: 500;
  color: #cfe0e3;
  position: relative;
  padding: .3rem 0;
  transition: color .2s;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 2px; background: var(--cyan);
  border-radius: 2px; transition: width .3s var(--ease);
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: #fff; }
.nav-links a:hover::after, .nav-links a[aria-current="page"]::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: 1rem; }
.nav-phone { font-family: var(--mono); font-size: var(--step--1); font-weight: 500; color: #cfe0e3; display: inline-flex; align-items: center; gap: .4rem; }
.nav-phone:hover { color: var(--cyan); }
.nav-toggle { display: none; width: 44px; height: 44px; border-radius: 10px; align-items: center; justify-content: center; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s;
}
.nav-toggle span::before { position: absolute; transform: translateY(-7px); }
.nav-toggle span::after { position: absolute; transform: translateY(7px); }
.nav-toggle.open span { background: transparent; }
.nav-toggle.open span::before { transform: rotate(45deg); }
.nav-toggle.open span::after { transform: rotate(-45deg); }

/* =========================================================================
   Hero
   ========================================================================= */
.hero {
  position: relative; padding-block: clamp(3.5rem, 2rem + 6vw, 7rem) calc(var(--bay) + 1rem);
  overflow: hidden;
  background:
    radial-gradient(120% 90% at 78% 8%, rgba(0,140,146,.30), transparent 60%),
    radial-gradient(90% 80% at 12% 100%, rgba(12,190,202,.14), transparent 55%),
    linear-gradient(170deg, #0e2c40, var(--navy-deep) 60%, #0a2030);
  color: #c9dde0;
}
.hero-grid {
  display: grid; grid-template-columns: 1.1fr 0.9fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero .eyebrow { color: var(--cyan); }
.hero .eyebrow::before { background: var(--cyan); }
.hero h1 {
  font-size: var(--step-5);
  font-weight: 400;
  margin: 1.2rem 0 0;
  color: #fff;
}
.hero h1 .rise { position: relative; display: inline-block; color: var(--cyan); font-style: italic; }
.hero h1 .rise svg {
  position: absolute; left: -2%; bottom: -.18em; width: 104%; height: .5em; overflow: visible;
}
.hero h1 .rise path { fill: none; stroke: var(--cyan); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320; filter: drop-shadow(0 0 6px rgba(12,190,202,.5)); }
.hero.ready h1 .rise path { animation: draw 1.4s var(--ease) .5s forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.hero p.lede { margin-top: 1.5rem; max-width: 34ch; color: #b6cfd3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero .btn--ghost { color: #eaf6f7; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.30); }
.hero .btn--ghost:hover { color: #fff; box-shadow: inset 0 0 0 1.5px var(--cyan); }
.hero-trust {
  margin-top: 2.6rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.14);
  font-size: var(--step--1); color: #9fbcc1; max-width: 42ch; line-height: 1.6;
}
.hero-trust b { color: #eaf6f7; font-weight: 600; }

/* hero visual — the rising phoenix */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phoenix-stage { position: relative; display: grid; place-items: center; }
.phoenix-stage::before {
  content: ""; position: absolute; width: 118%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,140,146,.38), rgba(12,190,202,.10) 45%, transparent 70%);
  filter: blur(6px); z-index: 0;
}
.glyph { position: relative; z-index: 1; width: min(100%, 340px); height: auto; transform: translateX(-7%); filter: drop-shadow(0 18px 50px rgba(0,0,0,.45)); }
.snapshot {
  position: absolute; right: -6%; bottom: -6%;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.2rem 1.4rem; width: 244px;
  border: 1px solid rgba(255,255,255,.6); z-index: 2;
}
.snapshot .s-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: .9rem; }
.snapshot .s-head span { font-family: var(--mono); font-size: .62rem; letter-spacing: .16em; text-transform: uppercase; color: var(--slate-mute); }
.snapshot .s-head em { font-style: normal; font-family: var(--mono); font-size: .68rem; color: var(--teal-dark); background: var(--mist); padding: .2rem .5rem; border-radius: 6px; }
.snapshot .s-row { display: flex; align-items: baseline; justify-content: space-between; padding: .42rem 0; border-top: 1px solid var(--line-soft); }
.snapshot .s-row:first-of-type { border-top: none; }
.snapshot .s-row label { font-size: .82rem; color: var(--slate); }
.snapshot .s-row b { font-family: var(--mono); font-size: .92rem; color: var(--ink); font-weight: 500; }
.snapshot .s-row b.pos { color: var(--teal-dark); }
.snapshot .s-foot { margin-top: .8rem; padding-top: .8rem; border-top: 1px solid var(--line-soft); display: flex; align-items: baseline; justify-content: space-between; }
.snapshot .s-foot label { font-weight: 600; color: var(--ink); font-size: .85rem; }
.snapshot .s-foot b { font-family: var(--mono); font-size: 1.25rem; color: var(--teal-dark); font-weight: 500; }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding-block: var(--bay); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--ink); color: #cfe0e1; }
.section--ink h2, .section--ink h3 { color: #fff; }
.section--ink .eyebrow, .cta-band .eyebrow { color: var(--cyan); }
.section--ink .eyebrow::before, .cta-band .eyebrow::before { background: var(--cyan); }
.section-head { max-width: 60ch; margin-bottom: clamp(2rem, 4vw, 3.2rem); }
.section-head.center { margin-inline: auto; }
.section-head h2 { font-size: var(--step-3); margin-top: .9rem; }
.section-head p { margin-top: 1rem; }

/* divider — the rising line motif */
.rise-divider { display: block; width: 100%; height: 40px; margin: 0; }
.rise-divider path { fill: none; stroke: var(--mist-deep); stroke-width: 2; }

/* value props */
.props { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.prop {
  background: var(--surface); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 1.8rem; transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.prop:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.prop .num { font-family: var(--mono); font-size: .72rem; letter-spacing: .14em; color: var(--teal); font-weight: 500; }
.prop h3 { font-size: var(--step-1); margin: 1.4rem 0 .7rem; }
.prop p { font-size: var(--step--1); color: var(--slate); line-height: 1.6; }
.prop .icon { width: 30px; height: 30px; margin-top: .6rem; color: var(--teal-dark); }

/* services grid */
.svc-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.svc {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.9rem 1.9rem 1.7rem; display: flex; flex-direction: column; gap: .65rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; position: relative; overflow: hidden;
}
.svc::before {
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px;
  background: linear-gradient(var(--teal-bright), var(--cyan)); transform: scaleY(0); transform-origin: bottom;
  transition: transform .45s var(--ease);
}
.svc:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--mist-deep); }
.svc:hover::before { transform: scaleY(1); }
.svc .tag { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); }
.svc h3 { font-size: var(--step-1); }
.svc p { font-size: var(--step--1); color: var(--slate); line-height: 1.6; }
.svc ul { margin-top: .4rem; display: flex; flex-direction: column; gap: .35rem; }
.svc ul li { font-size: var(--step--1); color: var(--ink-soft); padding-left: 1.4rem; position: relative; }
.svc ul li::before { content: ""; position: absolute; left: 0; top: .55em; width: 8px; height: 8px; border-radius: 2px;
  background: var(--mist-deep); }

/* founder split */
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.split.flip { grid-template-columns: 1.1fr 0.9fr; }
.portrait {
  border-radius: var(--radius-lg); background: var(--mist); position: relative; overflow: hidden;
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  border: 1px solid var(--line);
}
.portrait .ph { text-align: center; color: var(--teal-dark); padding: 2rem; }
.portrait .ph svg { width: 64px; height: 64px; margin: 0 auto .8rem; opacity: .8; }
.portrait .ph span { font-family: var(--mono); font-size: .68rem; letter-spacing: .14em; text-transform: uppercase; }
.split-body h2 { font-size: var(--step-3); margin: .9rem 0 1.2rem; }
.split-body p { color: var(--slate); margin-bottom: 1rem; }
.split-body p:last-of-type { margin-bottom: 1.6rem; }
.pull {
  font-family: var(--serif); font-style: italic; font-size: var(--step-1);
  color: var(--ink); border-left: 3px solid var(--teal); padding-left: 1.2rem; margin: 1.6rem 0;
  line-height: 1.4;
}

/* values row */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); margin-top: 2.5rem; }
.value h3 { font-size: var(--step-1); margin-bottom: .5rem; display: flex; align-items: baseline; gap: .6rem; }
.value h3 i { font-family: var(--mono); font-style: normal; font-size: .8rem; color: var(--teal); }
.value p { font-size: var(--step--1); color: var(--slate); }

/* stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.stat { text-align: center; }
.stat b { display: block; font-family: var(--serif); font-size: var(--step-4); color: var(--teal); font-weight: 400; line-height: 1; }
.section--ink .stat b { background: linear-gradient(120deg, var(--cyan), #7fe9ef); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--cyan); }
.stat span { font-family: var(--mono); font-size: var(--step--1); letter-spacing: .04em; color: var(--slate); margin-top: .6rem; display: block; }
.section--ink .stat span { color: #9fbabb; }

/* =========================================================================
   Testimonials
   ========================================================================= */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap); }
.quote {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.8rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.quote .stars { display: flex; gap: 2px; color: var(--teal-bright); }
.quote .stars svg { width: 16px; height: 16px; }
.quote blockquote { font-family: var(--serif); font-size: var(--step-1); line-height: 1.4; color: var(--ink); font-weight: 400; }
.quote .by { margin-top: auto; display: flex; align-items: center; gap: .8rem; }
.quote .by .av { width: 42px; height: 42px; border-radius: 50%; background: var(--mist-deep); color: var(--teal-dark);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: .9rem; flex: none; }
.quote .by b { display: block; font-size: var(--step--1); color: var(--ink); font-weight: 600; }
.quote .by span { font-size: .8rem; color: var(--slate); }

/* =========================================================================
   Resources
   ========================================================================= */
.res-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--gap); }
.res {
  background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg);
  padding: 1.8rem; display: flex; flex-direction: column; gap: .8rem;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.res:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.res .kind { font-family: var(--mono); font-size: .66rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal-dark); }
.res h3 { font-size: var(--step-1); }
.res p { font-size: var(--step--1); color: var(--slate); flex-grow: 1; }

.tools { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.4rem; }
.tool { font-family: var(--mono); font-size: var(--step--1); color: var(--ink-soft); background: var(--surface);
  border: 1px solid var(--line); border-radius: 100px; padding: .5rem 1.1rem; }

/* =========================================================================
   Forms
   ========================================================================= */
.form-wrap { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-card {
  background: var(--ink); color: #cfe0e1; border-radius: var(--radius-lg); padding: 2.2rem;
}
.contact-card h2 { color: #fff; font-size: var(--step-2); }
.contact-card p { margin-top: 1rem; font-size: var(--step--1); color: #a9c3c4; }
.contact-list { margin-top: 2rem; display: flex; flex-direction: column; gap: 1.2rem; }
.contact-list a, .contact-list div { display: flex; gap: .9rem; align-items: flex-start; color: #e3eded; }
.contact-list .ci { width: 38px; height: 38px; border-radius: 10px; background: rgba(12,190,202,.16); color: var(--teal);
  display: grid; place-items: center; flex: none; }
.contact-list .ci svg { width: 18px; height: 18px; }
.contact-list small { display: block; font-family: var(--mono); font-size: .62rem; letter-spacing: .14em; text-transform: uppercase; color: #7fa0a1; }
.contact-list b { font-weight: 500; font-size: var(--step-0); }
.socials { display: flex; gap: .6rem; margin-top: 2rem; }
.socials a { width: 40px; height: 40px; border-radius: 10px; background: rgba(255,255,255,.07); display: grid; place-items: center;
  color: #cfe0e1; transition: background .25s, color .25s, transform .25s; }
.socials a:hover { background: var(--teal); color: #04353a; transform: translateY(-2px); }
.socials a svg { width: 18px; height: 18px; }

.form { background: var(--surface); border: 1px solid var(--line-soft); border-radius: var(--radius-lg); padding: 2.2rem; box-shadow: var(--shadow-sm); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.field { margin-bottom: 1.1rem; }
.field label { display: block; font-size: var(--step--1); font-weight: 600; color: var(--ink); margin-bottom: .45rem; }
.field label .req { color: var(--teal-bright); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: var(--step--1); color: var(--ink);
  padding: .8rem 1rem; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper);
  transition: border-color .2s, box-shadow .2s, background .2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px rgba(12,190,202,.14);
}
.form .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-note { font-size: .78rem; color: var(--slate-mute); margin-top: 1rem; text-align: center; }
.form-success { display: none; text-align: center; padding: 1.5rem; background: var(--mist); border-radius: 12px; color: var(--teal-dark); font-weight: 500; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { background: linear-gradient(135deg, var(--teal-dark), var(--teal-deep)); border-radius: var(--radius-lg);
  padding: clamp(2.5rem, 4vw, 4rem); text-align: center; color: #fff; position: relative; overflow: hidden; }
.cta-band::after { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 80% -20%, rgba(12,190,202,.40), transparent 55%); pointer-events: none; }
.cta-band h2 { color: #fff; font-size: var(--step-3); position: relative; }
.cta-band p { color: rgba(255,255,255,.85); max-width: 48ch; margin: 1rem auto 2rem; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--ink); color: #9fbabb; padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-brand .brand .wordmark b { color: #fff; }
.footer-brand p { font-size: var(--step--1); margin-top: 1.2rem; max-width: 32ch; line-height: 1.6; }
.footer-col h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan); font-weight: 500; margin-bottom: 1.1rem; }
.footer-col ul { display: flex; flex-direction: column; gap: .65rem; }
.footer-col a, .footer-col li { font-size: var(--step--1); color: #b9cfd0; transition: color .2s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 3rem; padding-top: 1.6rem; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center;
  font-size: .78rem; color: #7fa0a1; }
.footer-bottom .made { font-family: var(--mono); letter-spacing: .03em; }
.footer-bottom .made a { color: var(--cyan); }

/* =========================================================================
   Page hero (interior pages)
   ========================================================================= */
.page-hero { padding-block: clamp(3rem, 3rem + 3vw, 5.5rem) clamp(2rem,3vw,3.5rem); position: relative; }
.page-hero h1 { font-size: var(--step-4); font-weight: 400; margin-top: 1rem; }
.page-hero p { margin-top: 1.2rem; max-width: 54ch; }
.crumbs { font-family: var(--mono); font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: var(--slate-mute); }
.crumbs a:hover { color: var(--teal-dark); }

/* =========================================================================
   Reveal animation
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; }
.reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; }

/* =========================================================================
   Responsive
   ========================================================================= */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero-visual { order: -1; }
  .snapshot { right: 0; width: 220px; }
  .split, .split.flip { grid-template-columns: 1fr; gap: 2.5rem; }
  .portrait { aspect-ratio: 16/10; max-height: 360px; }
  .form-wrap { grid-template-columns: 1fr; }
  .props, .quotes, .stats, .values { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}
@media (max-width: 720px) {
  .nav-links, .nav-phone { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.open .nav-links {
    display: flex; position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: flex-start; gap: .2rem;
    background: var(--navy-deep); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: 0 18px 40px rgba(0,0,0,.35);
  }
  .nav.open .nav-links a { width: 100%; padding: .7rem 0; border-bottom: 1px solid rgba(255,255,255,.08); font-size: var(--step-0); color: #d9e7e9; }
  .nav.open .nav-links a::after { display: none; }
}
@media (max-width: 560px) {
  .props, .svc-grid, .quotes, .res-grid, .stats, .values, .form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: var(--step-4); }
  .snapshot { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .rise path { stroke-dashoffset: 0; }
}
