/* =========================================================================
   Phoenix Rising Accounting Services — Design System v2
   Built by Geekworks Unlimited
   Type: Newsreader (display) · Hanken Grotesk (body) · Spline Sans Mono (data)
   Palette: brand navy + phoenix blue→teal gradient + restrained gold
   ========================================================================= */

:root {
  /* ---- Brand (sampled from the logo) ---- */
  --navy:       #0c2a3c;   /* logo background navy */
  --navy-lift:  #14384e;
  --navy-deep:  #081f2d;
  --blue:       #00456c;   /* wing blue */
  --teal:       #00707d;   /* primary brand teal */
  --teal-bright:#13a0ad;   /* link / accent on light & dark */
  --teal-tail:  #00929c;   /* bright tail */
  --gold:       #d3a13f;   /* restrained warm accent — the rising spark */
  --gold-soft:  #ecd9ad;
  --brand-grad: linear-gradient(150deg, #00456c 0%, #00707d 52%, #00929c 100%);

  /* ---- Neutrals (cool, to live beside navy) ---- */
  --ink:        #0c2a3c;
  --ink-soft:   #23485b;
  --slate:      #4f6571;
  --slate-mute: #7e929b;
  --paper:      #f3f7f8;
  --surface:    #ffffff;
  --mist:       #e6f1f2;
  --mist-deep:  #d3e5e7;
  --line:       #d8e6e8;
  --line-soft:  #e9f1f2;

  /* ---- Type ---- */
  --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(12,42,60,.05), 0 4px 14px rgba(12,42,60,.05);
  --shadow-md: 0 10px 30px rgba(0,69,108,.12), 0 2px 8px rgba(12,42,60,.06);
  --shadow-lg: 0 28px 64px rgba(0,40,64,.28);
  --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; }
:focus-visible { outline: 2px solid var(--teal-bright); outline-offset: 3px; border-radius: 4px; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.012em;
  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);
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 2px; border-radius: 2px;
  background: var(--brand-grad);
  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: var(--brand-grad); background-size: 140% 140%; color: #fff; box-shadow: 0 8px 22px rgba(0,80,100,.28); }
.btn--solid:hover { background-position: 100% 0; transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,80,100,.36); }
.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-bright); color: var(--teal); transform: translateY(-2px); }
.btn--light { background: #fff; color: var(--teal); box-shadow: 0 8px 22px rgba(0,30,45,.18); }
.btn--light:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(0,30,45,.26); }
.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);
  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-bright); }

/* =========================================================================
   Header  (navy lockup — matches the logo's native context)
   ========================================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10,33,46,.78);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: border-color .3s, background .3s;
}
.site-header.scrolled { background: rgba(8,28,40,.92); border-bottom-color: rgba(255,255,255,.1); }
.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: .65rem; }
.brand .mark { width: 40px; height: auto; flex: none; }
.brand .wordmark { line-height: 1; }
.brand .wordmark b {
  display: block;
  font-family: var(--serif);
  font-size: 1.24rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: .005em;
}
.brand .wordmark span {
  display: block;
  font-family: var(--mono);
  font-size: .56rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--teal-bright);
  margin-top: 3px;
}
.nav-links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); }
.nav-links a {
  font-size: var(--step--1);
  font-weight: 500;
  color: #c4d6db;
  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(--teal-bright);
  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: #c4d6db; display: inline-flex; align-items: center; gap: .4rem; }
.nav-phone:hover { color: var(--teal-bright); }
.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: #e7eef0; 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  (the navy stage where the phoenix rises)
   ========================================================================= */
.hero {
  position: relative;
  padding-block: clamp(3.5rem, 2.5rem + 5vw, 6.5rem) var(--bay);
  overflow: hidden;
  background:
    radial-gradient(120% 120% at 80% 12%, #1a4763 0%, #0e3043 42%, var(--navy) 70%, var(--navy-deep) 100%);
  color: #c3d6db;
}
.hero::before {  /* faint ledger grid, ties to the accounting subject */
  content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(120% 100% at 50% 0, #000 35%, transparent 78%);
          mask-image: radial-gradient(120% 100% at 50% 0, #000 35%, transparent 78%);
}
.hero-grid {
  position: relative;
  display: grid; grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.hero .eyebrow { color: var(--teal-bright); }
.hero h1 {
  font-size: var(--step-5);
  font-weight: 400;
  color: #fff;
  margin: 1.2rem 0 0;
}
.hero h1 .rise { position: relative; display: inline-block; color: var(--teal-bright); font-style: italic; }
.hero h1 .rise svg { position: absolute; left: -2%; bottom: -.16em; width: 104%; height: .5em; overflow: visible; }
.hero h1 .rise path { fill: none; stroke: var(--gold); stroke-width: 3; stroke-linecap: round;
  stroke-dasharray: 320; stroke-dashoffset: 320; }
.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: 36ch; color: #aec3ca; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.1rem; }
.hero .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.4); }
.hero .btn--ghost:hover { box-shadow: inset 0 0 0 1.5px var(--teal-bright); color: var(--teal-bright); }
.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: #9db2ba; max-width: 44ch; line-height: 1.6;
}
.hero-trust b { color: #fff; font-weight: 600; }

/* hero visual — the real phoenix, lit */
.hero-visual { position: relative; display: flex; justify-content: center; align-items: center; }
.hero-visual .glow {
  position: absolute; width: 96%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(19,160,173,.5), rgba(0,73,108,.18) 45%, transparent 70%);
  filter: blur(8px);
}
.phoenix {
  position: relative;
  width: min(100%, 400px);
  filter: drop-shadow(0 24px 46px rgba(0,150,160,.4));
  animation: rise-float 7s ease-in-out infinite;
}
@keyframes rise-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.snapshot {
  position: absolute; right: -2%; bottom: 0;
  background: var(--surface); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); padding: 1.2rem 1.4rem; width: 252px;
  border: 1px solid rgba(255,255,255,.5);
}
.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); 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); }
.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); font-weight: 600; }

/* =========================================================================
   Sections
   ========================================================================= */
.section { padding-block: var(--bay); }
.section--mist { background: var(--mist); }
.section--ink { background: var(--navy); color: #c3d6db;
  background-image: radial-gradient(110% 130% at 50% -10%, #14384e 0%, var(--navy) 55%); }
.section--ink h2, .section--ink h3 { color: #fff; }
.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, drawn in the brand gradient */
.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-bright); 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); }

/* 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: var(--brand-grad); 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); }
.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: .5em; width: 8px; height: 8px; border-radius: 2px;
  background: var(--teal-tail); opacity: .5; }

/* 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); position: relative; overflow: hidden;
  aspect-ratio: 4/5; display: flex; align-items: center; justify-content: center;
  background: radial-gradient(120% 120% at 50% 18%, #15405a, var(--navy) 70%);
  border: 1px solid rgba(255,255,255,.08);
}
.portrait .ph { text-align: center; color: #9fc4c9; padding: 2rem; position: relative; z-index: 1; }
.portrait .ph img { width: 120px; height: auto; margin: 0 auto 1rem; filter: drop-shadow(0 14px 30px rgba(0,150,160,.4)); }
.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-bright); 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-bright); }
.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-bright); font-weight: 400; line-height: 1; }
.section--ink .stat b { color: var(--teal-bright); }
.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: #9fb6bd; }

/* =========================================================================
   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(--gold); }
.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); color: var(--teal);
  display: grid; place-items: center; font-family: var(--mono); font-weight: 500; font-size: .9rem; flex: none;
  box-shadow: inset 0 0 0 1.5px var(--mist-deep); }
.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); }
.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(--navy); color: #c3d6db; border-radius: var(--radius-lg); padding: 2.2rem;
  background-image: radial-gradient(120% 120% at 85% 0%, #16405a, var(--navy) 60%);
  position: relative; overflow: hidden;
}
.contact-card h2 { color: #fff; font-size: var(--step-2); }
.contact-card p { margin-top: 1rem; font-size: var(--step--1); color: #a7c0c6; }
.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(19,160,173,.18); color: var(--teal-bright);
  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: #7fa0a6; }
.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: #c3d6db; transition: background .25s, color .25s, transform .25s; }
.socials a:hover { background: var(--teal-bright); color: var(--navy); 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(--gold); }
.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-bright); background: #fff; box-shadow: 0 0 0 4px rgba(19,160,173,.16);
}
.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); font-weight: 500; }

/* =========================================================================
   CTA band
   ========================================================================= */
.cta-band { background: var(--brand-grad); 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 82% -25%, rgba(211,161,63,.28), 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,.88); max-width: 48ch; margin: 1rem auto 2rem; position: relative; }
.cta-band .hero-actions { justify-content: center; position: relative; }
.cta-band .btn--ghost { color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.45); }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,.12); color: #fff; }

/* =========================================================================
   Footer
   ========================================================================= */
.site-footer { background: var(--navy-deep); color: #9fb6bd; padding-block: clamp(3rem, 5vw, 4.5rem) 2rem; }
.footer-brand .brand .wordmark b { color: #fff; }
.footer-brand .brand .mark { width: 44px; }
.footer-brand p { font-size: var(--step--1); margin-top: 1.2rem; max-width: 32ch; line-height: 1.6; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 2rem; }
.footer-col h4 { font-family: var(--mono); font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-bright); 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: #b3c8ce; 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: #7fa0a6; }
.footer-bottom .made { font-family: var(--mono); letter-spacing: .03em; }
.footer-bottom .made a { color: var(--teal-bright); }

/* =========================================================================
   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); }

/* =========================================================================
   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; }
  .phoenix { width: min(72%, 320px); }
  .snapshot { right: 2%; 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); padding: 1rem 1.25rem 1.5rem; border-bottom: 1px solid rgba(255,255,255,.1);
    box-shadow: var(--shadow-md);
  }
  .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: #d3e2e6; }
  .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; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
  .hero h1 .rise path { stroke-dashoffset: 0; }
  .phoenix { animation: none; }
}
