/* Coastal Balance static site */

:root {
  --ink: #0b4f91;
  --ink-soft: #245f96;
  --tide: #89bdd8;
  --tide-soft: #e0eff8;
  --mist: #f3eff9;
  --mist-deep: #d8c9ea;
  --paper: #e4f9fd;
  --shell: #cdecff;
  --sand: #a9d1ea;
  --white: #ffffff;
  --stone: #4f6680;
  --muted: #4f6680;
  --line: #bdd3e3;
  --copper: #fee5e1;
  --copper-dark: #ffbfc3;
  --rose-ink: #ffbfc3;
  --danger: #b84e45;
  --font-body: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --container: 1180px;
  --nav-height: 92px;
  --radius: 24px;
  --radius-sm: 14px;
  --shadow: 0 18px 48px rgba(11, 79, 145, 0.09);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(137, 189, 216, 0.16), transparent 34rem),
    var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.home-page,
body.site-page { overflow-x: clip; }
.home-page main,
.site-page main { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; color: var(--stone); }
p:last-child { margin-bottom: 0; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  margin: 0;
  color: var(--ink);
  line-height: 1.03;
  letter-spacing: 0;
  overflow-wrap: anywhere;
}
h1, h2 { font-family: var(--font-display); font-weight: 600; }
h1 { max-width: 760px; font-size: 5.4rem; }
h2 { font-size: 4rem; }
h3 { font-size: 1.55rem; font-weight: 800; letter-spacing: 0; }
h4 { font-size: 0.85rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0; color: var(--ink-soft); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  border-radius: 999px;
  background: var(--copper-dark);
  flex: 0 0 auto;
}
.lead {
  max-width: 690px;
  font-size: 1.18rem;
  line-height: 1.75;
  color: var(--stone);
}
.narrow { max-width: 760px; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  border: 1px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  background: transparent;
  font-weight: 800;
  line-height: 1;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease, color 180ms ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--ink);
  color: var(--white);
}
.btn-primary:hover { background: var(--ink-soft); border-color: var(--ink-soft); }
.btn-warm {
  background: var(--copper-dark);
  border-color: var(--copper-dark);
  color: var(--ink);
}
.btn-warm:hover { background: var(--copper); border-color: var(--copper-dark); }
.btn-light {
  border-color: rgba(11, 79, 145, 0.42);
  color: var(--ink);
}
.btn-light:hover { background: rgba(255,255,255,0.38); }
.btn-ghost {
  border-color: rgba(11, 79, 145, 0.2);
  background: rgba(255,255,255,0.45);
}
.text-link {
  display: inline-flex;
  align-items: center;
  margin-top: 22px;
  color: var(--ink);
  font-weight: 900;
}
.text-link::after {
  content: "->";
  margin-left: 8px;
  color: var(--rose-ink);
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: var(--nav-height);
  background: rgba(228, 249, 253, 0.92);
  border-bottom: 1px solid rgba(11, 79, 145, 0.1);
  backdrop-filter: blur(18px);
}
.nav-container {
  min-height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.nav-logo img {
  width: 82px;
  height: 82px;
  object-fit: contain;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--ink-soft);
  font-size: 0.9rem;
  font-weight: 800;
}
.nav-links a:hover,
.nav-links a.active {
  background: var(--mist);
  color: var(--ink);
}
.nav-links a.nav-cta {
  margin-left: 8px;
  background: var(--ink);
  color: var(--white);
  padding-inline: 18px;
}
.nav-links a.nav-call { display: none; }
.nav-hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: var(--ink);
  transition: transform 180ms ease, opacity 180ms ease;
}
.nav-hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.active span:nth-child(2) { opacity: 0; }
.nav-hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero {
  position: relative;
  overflow: hidden;
  padding: 78px 0 46px;
  background: #e4f9fd;
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto -10% -36% -10%;
  height: 52%;
  background: linear-gradient(
    to bottom,
    rgba(205, 236, 255, 0) 0%,
    rgba(205, 236, 255, 0.62) 14%,
    var(--shell) 28%
  );
  border-radius: 50% 50% 0 0 / 18% 18% 0 0;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.98fr);
  gap: clamp(40px, 7vw, 86px);
  align-items: center;
}
.hero-copy .lead {
  margin: 24px 0 34px;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.hero-visual {
  position: relative;
  isolation: isolate;
  min-height: 560px;
}
.hero-visual::before,
.hero-visual::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}
.hero-visual::before {
  width: 250px;
  height: 250px;
  top: -28px;
  right: -34px;
  background: var(--sand);
}
.hero-visual::after {
  width: 150px;
  height: 150px;
  left: -34px;
  bottom: 70px;
  background: var(--tide-soft);
}
.hero-image-frame {
  overflow: hidden;
  width: 100%;
  height: 560px;
  border: 12px solid var(--white);
  border-radius: 999px 999px 34px 34px;
  box-shadow: var(--shadow);
}
.hero-image-frame picture,
.image-frame picture {
  display: block;
  width: 100%;
  height: 100%;
}
.hero-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 42% 50%;
  transform-origin: 42% 50%;
  animation: hero-image-drift 12s ease-in-out infinite alternate;
}

@keyframes hero-image-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.17) translate3d(-50px, -32px, 0);
  }
}
.hero-note {
  position: absolute;
  right: -4px;
  bottom: 42px;
  max-width: 245px;
  padding: 22px;
  border: 1px solid rgba(11, 79, 145, 0.08);
  border-radius: 22px;
  background: rgba(255,255,255,0.92);
  box-shadow: 0 18px 48px rgba(11, 79, 145, 0.15);
}
.hero-note span,
.tier-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}
.hero-note span::before,
.tier-label::before {
  content: "";
  width: 18px;
  height: 2px;
  border-radius: 999px;
  background: var(--copper-dark);
  flex: 0 0 auto;
}
.hero-note strong {
  display: block;
  margin-top: 8px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 1.45rem;
  line-height: 1.05;
}
.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-orb-one {
  width: 320px;
  height: 320px;
  top: 14%;
  left: -230px;
  background: rgba(137, 189, 216, 0.16);
}
.hero-orb-two {
  width: 190px;
  height: 190px;
  right: -100px;
  bottom: 12%;
  border: 1px solid rgba(255, 191, 195, 0.55);
}
.hero-proof {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 44px;
}
.hero-proof div {
  min-height: 116px;
  padding: 24px;
  border: 1px solid rgba(11, 79, 145, 0.09);
  border-radius: 20px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 10px 26px rgba(11, 79, 145, 0.045);
}
.hero-proof strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 1.1rem;
}
.hero-proof span {
  color: var(--stone);
  font-size: 0.92rem;
}

section { padding: 96px 0; }
.home-page main > section,
.site-page main > section { padding-block: 80px; }
.section-soft { background: var(--shell); }
.section-paper { background: var(--paper); }
.section-mist { background: var(--mist); }
.home-page main > .curve-bottom,
.site-page main > .curve-bottom {
  --curve-color: var(--paper);
  --curve-next: var(--paper);
  position: relative;
}
.home-page main > .curve-bottom::after,
.site-page main > .curve-bottom::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -10%;
  bottom: -42px;
  width: 120%;
  height: 70px;
  border-radius: 0 0 50% 50% / 0 0 100% 100%;
  background: linear-gradient(
    to bottom,
    var(--curve-color) 0%,
    var(--curve-color) 30%,
    var(--curve-next) 100%
  );
  pointer-events: none;
}
.home-page main > .section-soft.curve-bottom,
.site-page main > .section-soft.curve-bottom { --curve-color: var(--shell); }
.home-page main > .section-paper.curve-bottom,
.site-page main > .section-paper.curve-bottom { --curve-color: var(--paper); }
.home-page main > .section-ink.curve-bottom,
.site-page main > .section-ink.curve-bottom,
.home-page main > .cta.curve-bottom,
.site-page main > .cta.curve-bottom { --curve-color: var(--sand); }
.home-page main > .section-mist.curve-bottom,
.site-page main > .section-mist.curve-bottom { --curve-color: var(--mist); }
.home-page main > .curve-bottom.curve-to-paper,
.site-page main > .curve-bottom.curve-to-paper { --curve-next: var(--paper); }
.home-page main > .curve-bottom.curve-to-shell,
.site-page main > .curve-bottom.curve-to-shell { --curve-next: var(--shell); }
.home-page main > .curve-bottom.curve-to-mist,
.site-page main > .curve-bottom.curve-to-mist { --curve-next: var(--mist); }
.home-page main > .curve-bottom.curve-to-sand,
.site-page main > .curve-bottom.curve-to-sand { --curve-next: var(--sand); }
.home-page main > .curve-bottom.curve-to-lavender,
.site-page main > .curve-bottom.curve-to-lavender { --curve-next: #e9ddf4; }
.section-ink {
  position: relative;
  overflow: hidden;
  background: var(--sand);
  color: var(--ink);
}
.section-ink::before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  right: -160px;
  top: -190px;
  border-radius: 50%;
  background: rgba(233, 221, 244, 0.72);
}
.home-page .section-ink { overflow: visible; }
.home-page .section-ink::before {
  top: 140px;
  right: -330px;
  background: rgba(233, 221, 244, 0.44);
}
.section-ink h2, .section-ink h3 { color: var(--ink); }
.section-ink p { color: var(--ink); }
.section-ink .eyebrow,
.cta .eyebrow,
.tier-card.featured .tier-label {
  color: var(--ink-soft);
}
.section-head { margin-bottom: 48px; }
.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 72px;
  align-items: center;
}
.split-top { align-items: start; }
.about-story-heading {
  max-width: 1040px;
  margin-bottom: 52px;
}
.about-story-heading h2 {
  max-width: 20ch;
  font-size: clamp(2.8rem, 4.7vw, 4rem);
}
.about-story-grid {
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(44px, 6vw, 76px);
  align-items: start;
}
.about-story-copy {
  max-width: 700px;
}
.about-story-copy p {
  font-size: 1.03rem;
  line-height: 1.78;
}
.editorial-panel {
  padding: clamp(30px, 5vw, 58px);
  background: var(--white);
  border: 1px solid rgba(11, 79, 145, 0.1);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.editorial-panel.mist {
  background: rgba(255,255,255,0.72);
  box-shadow: none;
}
.editorial-panel .btn { margin-top: 28px; }
.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.image-frame img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}
.about-story .image-frame img {
  object-position: 59% 50%;
}
.image-collage {
  position: relative;
  isolation: isolate;
}
.image-collage::before {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  left: -38px;
  top: -34px;
  border-radius: 50%;
  background: var(--sand);
  z-index: -1;
}
.home-page .image-collage::before {
  left: -110px;
  background: rgba(169, 209, 234, 0.55);
}
.image-collage img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 12px solid var(--white);
  box-shadow: var(--shadow);
}
.collage-badge {
  position: absolute;
  right: 0;
  bottom: 30px;
  padding: 20px 22px;
  border-radius: 20px;
  background: #e9ddf4;
  color: var(--ink);
  box-shadow: 0 14px 34px rgba(11, 79, 145, 0.1);
}
.collage-badge strong,
.collage-badge span {
  display: block;
}
.collage-badge span {
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.rule-list {
  display: grid;
  gap: 20px;
}
.rule-item {
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.rule-item strong {
  display: block;
  margin-bottom: 6px;
  color: var(--ink);
  font-size: 1.05rem;
}

.service-grid,
.tier-grid,
.approach-grid,
.method-grid {
  display: grid;
}
.service-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.service-card,
.tier-card,
.approach-card,
.method-step {
  border: 1px solid rgba(11, 79, 145, 0.1);
  border-radius: var(--radius);
}
.service-card {
  min-height: 280px;
  padding: 34px;
  background: rgba(255,255,255,0.68);
}
.home-overview-grid .service-card { min-height: 0; }
.overview-actions {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}
.service-card h3 { margin: 0 0 12px; }
.service-card a {
  display: inline-flex;
  margin-top: 18px;
  color: var(--ink);
  font-weight: 800;
}
.service-card a::after { content: " ->"; margin-left: 6px; color: var(--rose-ink); }

.tier-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  align-items: stretch;
}
.tier-card {
  min-height: 100%;
  padding: 34px;
  background: rgba(255,255,255,0.72);
  box-shadow: 0 12px 30px rgba(11, 79, 145, 0.05);
}
.tier-card.featured {
  background: #e9ddf4;
  color: var(--ink);
  transform: translateY(-14px);
}
.tier-card.featured h3,
.tier-card.featured p,
.tier-card.featured li,
.tier-card.featured .text-link {
  color: var(--ink);
}
.tier-card h3 { margin: 18px 0 14px; }
.tier-card p { margin-bottom: 24px; }

.approach-grid {
  position: relative;
  z-index: 1;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.approach-card {
  padding: 28px;
  background: rgba(255,255,255,0.58);
  border-color: rgba(11, 79, 145, 0.14);
}
.approach-card h3 { margin-bottom: 12px; }

.method-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.method-grid.process-grid {
  grid-template-columns: repeat(4, 1fr);
}
.method-step {
  padding: 32px;
  border-color: rgba(255,255,255,0.18);
  background: rgba(255,255,255,0.58);
  box-shadow: 0 12px 30px rgba(11, 79, 145, 0.05);
}
.method-step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 26px;
  border: 1px solid rgba(255,255,255,0.34);
  border-radius: 50%;
  color: var(--mist-deep);
  font-weight: 800;
}

.detail-list,
.imagine-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}
.detail-list li,
.imagine-list li {
  display: flex;
  gap: 12px;
  color: var(--stone);
}
.detail-list li::before,
.imagine-list li::before {
  content: "";
  width: 8px;
  height: 8px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--copper-dark);
  flex: 0 0 auto;
}
.imagine-list {
  margin-bottom: 30px;
}
.imagine-list li {
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.quote-section {
  padding: 72px 0 96px;
  background: var(--paper);
}
.home-page main > .quote-section.curve-bottom { --curve-color: var(--paper); }
.quote-band {
  padding: clamp(34px, 6vw, 64px);
  background:
    radial-gradient(circle at top right, rgba(255, 191, 195, 0.5), transparent 22rem),
    #e9ddf4;
  color: var(--ink);
  border-radius: calc(var(--radius) + 10px);
}
.quote-band p {
  max-width: 900px;
  color: var(--ink);
  font-family: var(--font-display);
  font-size: 2.65rem;
  line-height: 1.15;
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  border-top: 1px solid var(--line);
}
.faq-item { border-bottom: 1px solid var(--line); }
.site-page .faq-list {
  display: grid;
  gap: 12px;
  border-top: 0;
}
.site-page .faq-item {
  padding: 0 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,0.62);
}
.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 26px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  text-align: left;
  font-weight: 800;
}
.faq-icon {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  flex: 0 0 auto;
  transition: transform 180ms ease, background 180ms ease;
}
.faq-item.open .faq-icon { transform: rotate(45deg); background: var(--mist); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 240ms ease;
}
.faq-answer-inner {
  padding: 0 56px 28px 0;
  color: var(--stone);
}
.faq-item.open .faq-answer { max-height: 520px; }

.form {
  display: grid;
  gap: 18px;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-group { display: grid; gap: 8px; }
.form-group label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--white);
  color: var(--ink);
  padding: 13px 14px;
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: 2px solid var(--mist-deep);
  border-color: var(--ink-soft);
}
.form-group .error {
  border-color: var(--danger);
  outline-color: rgba(184,78,69,0.2);
}
.field-error { color: var(--danger); font-size: 0.82rem; }
.form-trap {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.turnstile-widget {
  min-height: 65px;
}
.form-status {
  display: none;
  padding: 12px 14px;
  border: 1px solid rgba(184, 78, 69, 0.28);
  border-radius: var(--radius-sm);
  background: rgba(255, 229, 232, 0.7);
  color: var(--danger);
  font-size: 0.9rem;
}
.form-status.visible { display: block; }
.form .btn[disabled] {
  cursor: wait;
  opacity: 0.72;
}
.form-note {
  color: var(--muted);
  font-size: 0.88rem;
}
.form-note a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.form-success {
  display: none;
  padding: 28px;
  border: 1px solid var(--mist-deep);
  border-radius: var(--radius);
  background: var(--mist);
}
.form-success.visible { display: block; }

.contact-stack {
  display: grid;
  gap: 18px;
}
.contact-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.62);
}
.contact-card h3 { margin-bottom: 8px; }
.contact-callout {
  display: grid;
  justify-items: center;
  gap: 6px;
  margin-bottom: 24px;
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
  text-align: center;
}
.contact-callout h3 {
  margin-bottom: 6px;
  font-size: 1.3rem;
}
.contact-call-number {
  width: fit-content;
  color: var(--ink);
  font-size: 1.15rem;
  font-weight: 800;
  text-decoration: none;
}
.contact-call-number:hover { color: var(--ink-soft); }

.legal-copy .editorial-panel { max-width: 860px; margin: 0 auto; }
.legal-copy h2 {
  margin: 34px 0 12px;
  font-size: clamp(1.55rem, 2.6vw, 2.1rem);
}
.legal-copy p + p { margin-top: 12px; }
.legal-copy a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cta {
  padding: 82px 0;
  background:
    radial-gradient(circle at 18% 0%, rgba(233, 221, 244, 0.72), transparent 24rem),
    var(--sand);
  color: var(--ink);
}
.cta h2 { color: var(--ink); }
.cta p { color: var(--ink-soft); }
.cta .split { align-items: end; }
.cta-actions { display: flex; justify-content: flex-end; gap: 12px; flex-wrap: wrap; }
.cta-actions-only { justify-content: center; }

.footer {
  background: #e9ddf4;
  color: var(--ink);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 48px;
  padding: 54px 0;
}
.home-page .footer-grid,
.site-page .footer-grid { padding-top: 88px; }
.footer img {
  width: 148px;
  padding: 4px;
  border-radius: 50%;
  background: var(--paper);
  filter: none;
}
.icb-credential {
  display: grid;
  justify-items: start;
  gap: 10px;
  margin-top: 20px;
}
.icb-crest-link {
  display: inline-block;
  line-height: 0;
}
.icb-crest-link:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 4px;
  border-radius: 8px;
}
.footer img.icb-crest {
  width: 96px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}
.footer .icb-licence {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.45;
}
.footer-phone { margin: 4px 0 0; }
.footer .footer-phone a {
  color: var(--ink);
  font-weight: 800;
  text-decoration: underline;
  text-decoration-color: rgba(11, 79, 145, 0.3);
  text-underline-offset: 4px;
}
.footer .footer-phone a:hover { text-decoration-color: currentColor; }
.footer p, .footer a { color: var(--ink-soft); }
.footer a:hover { color: var(--ink); }
.footer ul { display: grid; gap: 8px; margin-top: 14px; }
.footer-bottom {
  border-top: 1px solid rgba(11, 79, 145, 0.14);
  padding: 18px 0;
  text-align: center;
  font-size: 0.86rem;
  color: var(--ink-soft);
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding: 88px 0 74px;
  background: var(--shell);
}
.site-page .page-hero::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: -10%;
  right: -10%;
  bottom: -70px;
  height: 150px;
  border-radius: 50% 50% 0 0 / 20% 20% 0 0;
  background: linear-gradient(
    to bottom,
    rgba(228, 249, 253, 0) 0%,
    rgba(228, 249, 253, 0.62) 24%,
    var(--paper) 48%
  );
}
.page-hero::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  right: -150px;
  top: -110px;
  border-radius: 50%;
  background: rgba(137, 189, 216, 0.16);
}
.page-hero .lead { margin-top: 18px; }
.page-hero .container {
  position: relative;
  z-index: 1;
}

@media (max-width: 1040px) {
  h1 { font-size: 4.8rem; }
  h2 { font-size: 3.5rem; }
  .hero-grid,
  .split,
  .cta .split {
    grid-template-columns: 1fr;
    gap: 46px;
  }
  .hero-visual {
    min-height: 440px;
  }
  .hero-image-frame {
    height: 440px;
    border-radius: 36px;
  }
  .approach-grid {
    grid-template-columns: 1fr 1fr;
  }
  .hero-proof {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .cta-actions { justify-content: flex-start; }
}

@media (max-width: 940px) {
  :root { --nav-height: 76px; }
  .nav-logo img {
    width: 66px;
    height: 66px;
  }
  .nav-hamburger { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--nav-height);
    padding: 12px 24px 22px;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: grid; }
  .nav-links a { display: flex; width: 100%; padding: 13px 0; }
  .nav-links a.nav-call {
    display: flex;
    justify-content: center;
    margin-top: 10px;
    padding: 13px 18px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.5);
    color: var(--ink);
  }
  .nav-links a.nav-cta { margin: 10px 0 0; justify-content: center; padding: 13px 18px; }
  .service-grid,
  .tier-grid,
  .method-grid,
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .home-overview-grid {
    max-width: 860px;
    margin-inline: auto;
    grid-template-columns: 1fr;
  }
  .method-grid.process-grid { grid-template-columns: 1fr 1fr; }
  .tier-card.featured { transform: none; }
}

@media (max-width: 840px) {
  .about-story-heading {
    margin-bottom: 36px;
  }
  .about-story-heading h2 {
    max-width: 22ch;
    font-size: clamp(2.35rem, 5.4vw, 2.75rem);
  }
  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .about-story .image-frame img {
    aspect-ratio: 16 / 9;
    object-position: 50% 65%;
  }
  .about-story-copy {
    max-width: 680px;
  }
}

@media (max-width: 680px) {
  .container { padding: 0 18px; }
  section { padding: 66px 0; }
  .home-page main > section,
  .site-page main > section { padding-block: 56px; }
  h1 { font-size: 3.1rem; }
  h2 { font-size: 2.35rem; }
  h3 { font-size: 1.35rem; }
  .lead { font-size: 1.08rem; }
  .hero {
    padding-top: 54px;
  }
  .hero-visual {
    min-height: auto;
  }
  .hero-image-frame {
    height: 350px;
    border-width: 8px;
  }
  .hero-image-frame img {
    animation-duration: 16s;
  }
  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    max-width: none;
    margin: -54px 16px 0;
  }
  .service-grid,
  .tier-grid,
  .approach-grid,
  .method-grid,
  .form-row,
  .footer-grid { grid-template-columns: 1fr; }
  .hero-proof {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .method-grid.process-grid { grid-template-columns: 1fr; }
  .hero-proof { margin-top: 34px; }
  .hero-proof div { min-height: 108px; padding: 16px; }
  .service-card,
  .tier-card,
  .approach-card { min-height: auto; padding: 28px; }
  .quote-section { padding-bottom: 66px; }
  .quote-band { padding: 32px 24px; }
  .quote-band p { font-size: 1.85rem; }
  .faq-answer-inner { padding-right: 0; }
  .site-page .faq-item { padding-inline: 18px; }
  .btn { width: 100%; }
  .hero-actions, .cta-actions { width: 100%; }
  .image-collage img { border-radius: 32px; }
  .collage-badge {
    position: relative;
    right: auto;
    bottom: auto;
    margin: -38px 18px 0;
  }
  .about-story-heading {
    margin-bottom: 30px;
  }
  .about-story-heading h2 {
    font-size: 2.35rem;
  }
  .about-story-grid {
    gap: 28px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-frame img {
    animation: none;
    transform: none;
  }
}
