:root {
  --navy: #0f2e4a;
  --navy-ink: #0b2338;
  --teal: #5aafa6;
  --teal-soft: #dceeed;
  --gold: #c9942a;
  --gold-text: #8f6b1d; /* deepened gold for small text on light bg: 4.9:1 AA */
  --teal-text: #3a7d74; /* deepened teal for text/active state on white: AA */
  --gold-soft: #f5ead4;
  --ink: #1f2a32;
  --muted: #5e6d78; /* deepened Storm Grey for 4.5:1 body-text contrast */
  --line: #dde5e7;
  --paper: #f7f9fb;
  --mist: #f7f9fb;
  --stone: #eef1ef;
  --shadow: 0 18px 45px rgba(19, 52, 70, 0.12);
  --radius: 8px;
  color-scheme: light;
}

* {
  box-sizing: border-box;
}

/* Smooth anchor scrolling, but never for users who ask for reduced motion. */
@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Karla, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

/* Base image reset: let aspect-ratio (CSS or the width/height attrs) drive
   height instead of the presentational height attr, which otherwise wins when
   CSS sets width but not height and collapses images to a fixed-px sliver. */
img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 54px);
  border-bottom: 1px solid rgba(221, 229, 231, 0.85);
  background: rgba(255, 255, 255, 0.93);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  text-decoration: none;
}

.wing-mark {
  width: 58px;
  height: auto;
  flex: none;
  color: var(--gold);
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-size: 1.18rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1;
}

.brand small {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--navy-ink);
  font-size: 0.94rem;
}

.site-nav a {
  text-decoration: none;
}

.site-nav a.active {
  color: var(--teal-text);
  font-weight: 900;
}

.nav-cta {
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--gold);
  color: #1a1408;
}

.nav-toggle {
  display: none;
}

.section {
  padding: clamp(44px, 6vw, 84px) clamp(18px, 5vw, 72px);
}

.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: calc(100vh - 74px); /* fallback for browsers without svh */
  min-height: calc(100svh - 74px); /* avoids mobile browser-chrome jump */
  overflow: hidden;
  background: var(--navy) url("hero-water-poster.jpg") center / cover no-repeat;
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* Lighter, faster fade so the water reads as the hero instead of a navy block. */
  background: linear-gradient(
    90deg,
    rgba(13, 30, 42, 0.78) 0%,
    rgba(13, 30, 42, 0.44) 46%,
    rgba(13, 30, 42, 0.05) 100%
  );
}

.hero-copy {
  position: relative;
  z-index: 2;
  width: 100%;
  min-width: 0;
  max-width: 620px;
  text-shadow: 0 1px 12px rgba(8, 18, 26, 0.55);
}

.hero h1 {
  color: #fff;
  font-size: clamp(2.6rem, 6.2vw, 4.4rem);
  line-height: 1.06;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

/* Positioning line — sans-serif bold so it contrasts the serif H1 above it. */
.hero-subhead {
  margin: 0 0 16px;
  color: #fff;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.hero .lead {
  color: rgba(255, 255, 255, 0.92);
  font-size: clamp(1.05rem, 1.5vw, 1.3rem);
  max-width: 40ch;
}

/* Staggered entrance on load (skipped for reduced-motion users, who keep opacity 1). */
@media (prefers-reduced-motion: no-preference) {
  .hero-copy > * {
    opacity: 0;
    transform: translateY(16px);
    animation: heroRise 0.7s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }
  .hero-copy > h1 {
    animation-delay: 0.06s;
  }
  .hero-copy > .hero-subhead {
    animation-delay: 0.22s;
  }
  .hero-copy > .lead {
    animation-delay: 0.38s;
  }
  .hero-copy > .button-row {
    animation-delay: 0.54s;
  }
}

@keyframes heroRise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero .eyebrow {
  color: #9fd6d2;
}

.hero .reassurance {
  color: rgba(255, 255, 255, 0.72);
}

.hero .button.primary {
  background: var(--gold);
  color: #1a1408;
}

.hero .button.secondary {
  border-color: rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (prefers-reduced-motion: reduce) {
  .hero-video {
    display: none;
  }

  .page-hero {
    animation: none;
  }
}

.page-hero {
  min-height: 42vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background:
    linear-gradient(90deg, rgba(247, 249, 251, 0.95), rgba(255, 255, 255, 0.9)),
    repeating-linear-gradient(135deg, transparent 0 30px, rgba(201, 148, 42, 0.08) 30px 31px);
  background-size: 100% 100%, 200% 200%;
  animation: hero-drift 60s linear infinite alternate;
}

@keyframes hero-drift {
  from {
    background-position: 0 0, 0 0;
  }
  to {
    background-position: 0 0, 140px 90px;
  }
}

.page-hero h1 {
  max-width: 980px;
}

.eyebrow {
  margin: 0 0 12px;
  color: #3a7d74; /* deepened teal for label contrast */
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2 {
  color: var(--navy-ink);
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: 0;
  overflow-wrap: break-word;
  hyphens: manual; /* no auto-hyphenation - whole words only */
}

h1 {
  max-width: 820px;
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.5vw, 3.6rem);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(1.8rem, 3.2vw, 2.9rem);
}

h3 {
  color: var(--navy-ink);
  font-size: 1.22rem;
  line-height: 1.2;
}

.lead {
  max-width: 700px;
  color: #33434c;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  text-decoration: none;
}

/* Primary CTAs match the gold logo mark. */
.button.primary {
  background: var(--gold);
  color: #1a1408;
}

.button.secondary {
  border-color: rgba(22, 52, 71, 0.28);
  background: rgba(255, 255, 255, 0.72);
  color: var(--navy);
}

.reassurance {
  margin-top: 22px;
  color: var(--muted);
}

.hero-panel {
  position: relative;
  display: grid;
  gap: 16px;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid rgba(22, 52, 71, 0.14);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.model-card {
  position: relative;
  z-index: 1;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--mist);
}

.model-card-primary {
  background: var(--navy);
  color: #fff;
}

.model-card span {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-text);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

/* Brand gold reads correctly on the navy primary card; keep it there. */
.model-card-primary span {
  color: var(--gold);
}

.model-card strong {
  font-size: 1.35rem;
}

.model-thread {
  position: absolute;
  inset: 18% auto 16% 50%;
  width: 2px;
  background: var(--gold);
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--navy);
  color: #fff;
}

.trust-strip span {
  padding: 22px clamp(18px, 4vw, 54px);
  border-right: 1px solid rgba(255, 255, 255, 0.16);
  font-weight: 800;
}

.split-section,
.team-section,
.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1.15fr);
  gap: clamp(32px, 6vw, 80px);
}

.rich-copy {
  color: #33434c;
  font-size: 1.08rem;
}

.approach-band,
.expectation-section,
.faq-section {
  background: var(--mist);
}

.section-heading {
  max-width: 800px;
  margin-bottom: 36px;
}

.section-heading.narrow {
  max-width: 760px;
}

.steps-grid,
.service-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.steps-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.steps-grid.values-grid {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.steps-grid article,
.service-card,
.team-placeholder,
.team-card,
.enquiry-form,
.timeline div,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}

.steps-grid article {
  padding: 24px;
}

.tier-grid article {
  padding-top: 0;
  overflow: hidden;
  background: var(--teal-soft);
  border-top: 4px solid var(--teal);
}

.tier-grid article picture {
  display: block;
  margin: 0 -24px 20px;
}

.tier-grid article img {
  width: 100%;
  height: auto;
  display: block;
}

.tier-grid article p {
  margin: 0 0 10px;
}

.tier-list {
  margin: 0;
  padding-left: 18px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: var(--muted);
}

.tier-list li {
  margin: 2px 0;
}

.tier-list em {
  color: var(--gold-text);
  font-style: normal;
  font-weight: 700;
}

.footnote {
  font-size: 0.8rem;
  color: var(--muted);
  max-width: 760px;
  margin-top: 14px;
}

/* Approach page runs tight so the hero + programme design share a frame,
   and the three-tier architecture sits in one frame. */
.page-approach .page-hero {
  min-height: 30vh;
}

.page-approach .section {
  padding-top: clamp(24px, 2.8vw, 40px);
  padding-bottom: clamp(24px, 2.8vw, 40px);
}

/* About page runs tighter to reduce scroll between its image sections. */
.page-about .section {
  padding-top: clamp(28px, 3vw, 46px);
  padding-bottom: clamp(28px, 3vw, 46px);
}

/* Frame 1 = hero + first image band; keep the hero compact so Our Story shows. */
.page-about .page-hero {
  min-height: 28vh;
}

/* Keep the natural 4:3 (no crop) but cap the WIDTH so the image shrinks
   proportionally - this keeps Why Halcyon + Alongside You compact without
   cutting anyone off. */
.page-about .media-band-img {
  max-width: 460px;
  margin-inline: auto;
}

/* Click-to-flip value cards. Flex (not grid) so the orphan bottom row of two
   cards nests centred under the row of three above it. */
.value-grid {
  margin: 8px auto 0;
  max-width: 1120px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
}

/* No-JS fallback: a plain tinted card showing title + description stacked. */
.value-card {
  flex: 0 1 362px;
  margin: 0;
  font: inherit;
  text-align: left;
  cursor: pointer;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--teal-soft);
  padding: 0;
}

.value-face {
  display: block;
  padding: 18px 20px;
}

.value-front {
  font-weight: 700;
  color: var(--navy);
  font-size: 1.05rem;
  text-align: center;
}

.value-back {
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.5;
  text-align: center;
  border-top: 1px solid var(--line);
}

/* JS enhancement: real 3D flip on click. */
.js .value-card {
  height: 210px;
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  perspective: 1100px;
}

.js .value-inner {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.6s ease;
}

.js .value-card.is-flipped .value-inner {
  transform: rotateY(180deg);
}

.js .value-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: auto;
  backface-visibility: hidden;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
}

/* Two-tone: deep navy front, gold back. */
.js .value-front {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  border-left-color: var(--gold);
}

.js .value-back {
  transform: rotateY(180deg);
  background: var(--gold);
  color: var(--navy-ink);
  border-color: var(--gold);
  border-left-color: var(--navy);
  border-top: none;
}

.js .value-front::after {
  content: "\21BB";
  position: absolute;
  top: 12px;
  right: 14px;
  color: var(--gold);
  font-size: 1rem;
}

@media (prefers-reduced-motion: reduce) {
  .js .value-inner {
    transition: none;
  }
}

.page-approach .section-heading {
  margin-bottom: 20px;
}

/* Gold accent rule under section headings to add brand colour and emphasis. */
.page-approach .split-section h2::after,
.page-approach .section-heading h2::after,
.page-about .media-band-copy h2::after,
.page-about .section-heading h2::after,
.page-team .page-hero h1::after,
.page-team .section-heading h2::after,
.page-home .section-heading h2::after {
  content: "";
  display: block;
  width: 52px;
  height: 3px;
  margin-top: 14px;
  background: var(--teal);
  border-radius: 2px;
}

.page-approach .section-heading h2::after,
.page-about .section-heading h2::after {
  margin-left: auto;
  margin-right: auto;
}

/* Team page runs tighter so the heading and profiles sit up in frame. */
.page-team .page-hero {
  min-height: 24vh;
}

.page-team .section {
  padding-top: clamp(24px, 3vw, 44px);
  padding-bottom: clamp(24px, 3vw, 44px);
}

/* Gold-framed profile cards. */
.page-team .team-card {
  border: 2px solid var(--gold);
}

/* Cap the photo height so cards are compact; faces stay (top-anchored crop). */
.page-team .team-photo {
  aspect-ratio: auto;
  height: 240px;
}

/* Home runs tighter between content sections (hero left full-height). */
.page-home .section:not(.hero) {
  padding-top: clamp(26px, 3vw, 46px);
  padding-bottom: clamp(26px, 3vw, 46px);
}

/* Home approach cards carry brand tint + gold accent instead of plain white,
   matching the tier cards on the Approach page. */
.page-home .approach-band .steps-grid article {
  background: var(--teal-soft);
  border: 1px solid transparent;
  border-top: 4px solid var(--teal);
}

/* Service pages run a little tighter to close the gaps between short sections. */
.page-services .section:not(.page-hero) {
  padding-top: clamp(30px, 3.6vw, 54px);
  padding-bottom: clamp(30px, 3.6vw, 54px);
}

/* In-page cross-links (e.g. service page -> Approach). */
.cross-link {
  margin-top: 14px;
  font-weight: 700;
}
.cross-link a {
  color: var(--teal-text);
}

/* GOSH-style authority stats band (home). */
.stats-band {
  background: var(--navy);
  border-radius: var(--radius);
  margin: 0 clamp(18px, 5vw, 72px);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
.stats-grid .stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.stat-num {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(2rem, 4vw, 2.9rem);
  font-weight: 700;
  color: var(--teal);
  line-height: 1.05;
}
.stat-label {
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #dceeed;
}
@media (max-width: 700px) {
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

/* Right-hand copy sits centred against the left-hand heading. */
.page-approach .split-section {
  align-items: center;
}

/* Expectations runs full-width across the middle, under Ethics. Left-aligned
   per the all-headings-left brand decision. */
.expectations-band {
  text-align: left;
}

.expectations-band .section-heading {
  margin-left: 0;
  margin-right: 0;
}

.expect-grid {
  list-style: none;
  margin: 8px auto 0;
  padding: 0;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.expect-grid li {
  border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  background: var(--teal-soft);
  padding: 20px;
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.5;
  text-align: center;
}

.section-footnote {
  padding: 0 clamp(18px, 5vw, 72px) clamp(28px, 4vw, 52px);
}

/* Reveal-on-scroll — only hide when JS is present so no-JS still shows content. */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

.expect-grid li:nth-child(2) {
  transition-delay: 0.08s;
}
.expect-grid li:nth-child(3) {
  transition-delay: 0.16s;
}
.expect-grid li:nth-child(4) {
  transition-delay: 0.24s;
}
.expect-grid li:nth-child(5) {
  transition-delay: 0.32s;
}
.expect-grid li:nth-child(6) {
  transition-delay: 0.4s;
}

@media (prefers-reduced-motion: reduce) {
  .js .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

.steps-grid span {
  color: var(--gold-text);
  font-weight: 900;
}

.steps-grid p,
.service-card p,
.timeline p,
.faq-list p,
.team-placeholder p {
  color: var(--muted);
}

.service-grid {
  grid-template-columns: repeat(3, 1fr);
}

.service-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto;
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 28px;
  min-height: 280px;
}

.service-type {
  color: #3a7d74;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.service-card a {
  display: inline-block;
  margin-top: auto;
  padding-top: 16px;
  color: var(--navy);
  font-weight: 900;
}

.center-row {
  display: flex;
  justify-content: center;
  margin-top: 16px;
}

.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.team-card {
  padding: 0;
  overflow: hidden;
}

.team-card picture {
  display: block;
}

.team-photo {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center top;
  background: var(--stone);
}

.team-card-body {
  padding: 24px 26px 28px;
}

.team-card-body p {
  color: var(--muted);
}

.team-card h2 {
  /* member name promoted h3 -> h2 for heading order; pinned to the prior h3 look */
  margin: 6px 0 8px;
  font-family: Karla, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.22rem;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 0;
}

.credentials {
  color: var(--navy) !important;
  font-size: 0.92rem;
  font-weight: 800;
}

.fit-reassurance {
  max-width: 840px;
  margin: 24px 0 0;
  color: #365057;
  font-weight: 800;
}

.trust-proof {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: center;
  background: #fff;
}

.trust-proof-copy p {
  color: #33434c;
}

.trust-proof-copy .button {
  margin-top: 12px;
}

.trust-proof-points {
  display: grid;
  gap: 14px;
}

.trust-proof-points article {
  padding: 22px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.trust-proof-points span {
  color: var(--gold-text);
  font-weight: 900;
}

.trust-proof-points p {
  margin-bottom: 0;
  color: var(--muted);
}

.cta-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: var(--teal-soft);
}

.cta-strip h2 {
  margin-bottom: 8px;
  font-size: clamp(1.4rem, 2.4vw, 1.9rem); /* ~1/3 smaller than default h2 */
}

.cta-strip p:last-child {
  margin-bottom: 0;
  color: #365057;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
}

.legal-content h2 {
  margin-top: 38px;
  font-family: Karla, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 1.35rem;
  line-height: 1.25;
}

.legal-content p,
.legal-content li {
  color: #3f5058;
}

.full-contact h1 {
  color: #fff;
}

.whatsapp-warning {
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.86);
}

.service-card a {
  color: var(--navy);
}

.media-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}

.media-band picture {
  display: block;
}

.media-band-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.media-band-copy p {
  color: var(--muted);
}

.lifespan-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.lifespan-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: var(--shadow);
}

.lifespan-card picture {
  display: block;
}

.lifespan-img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.lifespan-body {
  padding: 20px 24px 26px;
}

.age-label {
  margin: 0 0 4px;
  color: var(--gold-text);
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lifespan-card h3 {
  margin: 0 0 6px;
}

.lifespan-card p:last-child {
  margin: 0;
  color: var(--muted);
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.timeline div {
  min-height: 190px;
  padding: 24px;
  border: 0;
  border-radius: 0;
}

.timeline strong {
  display: block;
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.1rem;
}

.team-placeholder {
  padding: 30px;
  background: var(--teal-soft);
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin: 0 auto;
  gap: 12px;
}

/* Grouped FAQ sections on the FAQ page. */
.faq-group {
  max-width: 860px;
  margin: 32px auto 0;
}
.faq-group h2 {
  margin: 0 0 14px;
}
.faq-group .faq-list {
  margin: 0;
}

/* Consent-checkbox privacy link. */
.checkbox-label a {
  color: var(--teal-text);
  text-decoration: underline;
}

.faq-list details {
  padding: 18px 22px;
}

.faq-list summary {
  color: var(--navy);
  cursor: pointer;
  font-weight: 900;
}

.faq-list p {
  margin: 14px 0 0;
}

.contact-section {
  background: var(--navy);
  color: #fff;
}

.contact-section h2,
.contact-section .eyebrow {
  color: #fff;
}

.contact-copy p,
.contact-list {
  color: rgba(255, 255, 255, 0.78);
}

.contact-list {
  padding-left: 18px;
}

.enquiry-form {
  display: grid;
  gap: 16px;
  padding: clamp(20px, 4vw, 34px);
  color: var(--ink);
}

.form-intro {
  margin: 0;
  color: #42535b;
}

.fine-print {
  display: block;
  color: rgba(255, 255, 255, 0.64);
  font-size: 0.9rem;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.92rem;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 12px 13px;
  border: 1px solid #cbd6d8;
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

textarea {
  resize: vertical;
}

.form-warning {
  margin: 0;
  padding: 12px 14px;
  border-left: 4px solid var(--gold);
  background: var(--gold-soft);
  color: #5d4b27;
  font-size: 0.9rem;
}

/* "email or phone" guidance — sits just under the name field, muted. */
.form-note {
  margin: -4px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

/* Response-time reassurance directly above the submit button (trust signal). */
.form-reassure {
  margin: 0;
  color: var(--teal-text);
  font-size: 0.92rem;
  font-weight: 800;
}

.checkbox-label {
  grid-template-columns: 18px 1fr;
  align-items: start;
  color: #34434a;
  font-weight: 700;
}

.checkbox-label input {
  min-height: auto;
  margin-top: 5px;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-weight: 800;
}

.site-footer {
  display: block;
  padding: 44px clamp(18px, 5vw, 72px) 28px;
  background: var(--navy-ink);
  color: rgba(255, 255, 255, 0.78);
}

.site-footer p {
  margin: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr 1fr 1.1fr;
  gap: 32px;
}

.footer-name {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.footer-about p {
  margin: 0 0 10px;
  line-height: 1.6;
}

.site-footer .footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}

.footer-heading {
  margin-bottom: 4px;
  color: #fff;
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.footer-base {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.footer-base nav {
  display: flex;
  gap: 16px;
}

.site-footer a {
  color: #fff;
  text-decoration: none;
}

@media (max-width: 760px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

@media (max-width: 460px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    padding: 8px 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: white;
    color: var(--navy);
    font-weight: 800;
  }

  .site-nav {
    position: absolute;
    inset: 73px 12px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .nav-cta {
    text-align: center;
  }
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .team-section,
  .contact-section,
  .media-band,
  .trust-proof {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 72vh; /* fallback */
    min-height: 72svh;
  }

  /* Copy goes full-width under 980px, so the horizontal desktop scrim no longer
     protects the right edge of the text. Swap to a bottom-weighted vertical
     overlay that keeps the headline legible wherever it sits over the video. */
  .hero-scrim {
    background: linear-gradient(
      180deg,
      rgba(13, 30, 42, 0.5) 0%,
      rgba(13, 30, 42, 0.66) 60%,
      rgba(13, 30, 42, 0.78) 100%
    );
  }

  .steps-grid,
  .timeline {
    grid-template-columns: repeat(2, 1fr);
  }

  .steps-grid.three,
  .steps-grid.values-grid,
  .team-list,
  .expect-grid,
  .value-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-grid,
  .service-grid.two,
  .trust-strip {
    grid-template-columns: 1fr;
  }

  .lifespan-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cta-strip {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 760px) {
  h1 {
    font-size: clamp(2.1rem, 9vw, 3.3rem);
  }

  .steps-grid,
  .steps-grid.three,
  .steps-grid.values-grid,
  .timeline,
  .team-list,
  .lifespan-grid,
  .expect-grid,
  .value-grid {
    grid-template-columns: 1fr;
  }

  .hero-panel {
    display: none;
  }
}

/* ---------- Interaction, focus & motion polish (UI/UX pass) ---------- */

.skip-link {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 60;
  padding: 10px 16px;
  border-radius: var(--radius);
  background: var(--navy);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: top 150ms ease;
}

.skip-link:focus {
  top: 12px;
}

/* Anchors and skip target clear the sticky header */
:target,
#main-content {
  scroll-margin-top: 90px;
}

/* Visible keyboard focus on every interactive element */
a:focus-visible,
button:focus-visible,
summary:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  /* Two-tone ring: navy reads on light sections, the white halo reads on the
     navy footer/hero. Gold (~2.6:1 on white) failed non-text contrast. */
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
  border-radius: 4px;
}

/* Smooth micro-interactions (150-250ms) */
.button,
.nav-cta,
.site-nav a,
.service-card,
.lifespan-card,
.team-card,
.faq-list details,
.faq-list summary,
.service-card a,
.site-footer a {
  transition: transform 200ms ease, box-shadow 200ms ease,
    background-color 200ms ease, color 200ms ease, border-color 200ms ease,
    filter 200ms ease;
}

.button.primary:hover {
  filter: brightness(0.94);
}

.button.secondary:hover {
  background: rgba(255, 255, 255, 0.92);
}

.hero .button.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.button:active {
  transform: translateY(1px);
}

.nav-cta:hover {
  filter: brightness(1.12);
}

.site-nav a:not(.nav-cta):hover {
  color: var(--teal);
}

.service-card:hover,
.lifespan-card:hover,
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 55px rgba(15, 46, 74, 0.16);
}

.service-card a:hover {
  color: var(--teal);
}

.faq-list details:hover {
  border-color: var(--teal);
}

.faq-list summary:hover {
  color: var(--teal);
}

.site-footer a {
  display: inline-block;
  padding: 6px 2px;
}

.site-footer a:hover {
  color: var(--teal);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .skip-link {
    transition: none;
  }

  .service-card:hover,
  .lifespan-card:hover,
  .team-card:hover,
  .button:active {
    transform: none;
  }
}

/* Footer social icons (placed after .site-footer a to win source order). */
.social-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: 50%;
  color: var(--gold);
  background: rgba(255, 255, 255, 0.07);
}
.social-links a:hover {
  color: var(--navy-ink);
  background: var(--teal);
  text-decoration: none;
  transform: translateY(-2px);
}
.social-links svg {
  width: 24px;
  height: 24px;
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .social-links a:hover {
    transform: none;
  }
}

/* ---- Founder + credential block ---- */
.founder-grid {
  display: grid;
  grid-template-columns: minmax(220px, 320px) 1fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
.founder-photo {
  position: relative;
}
.founder-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--radius);
  border: 5px solid #fff;
  box-shadow: 0 0 0 2px var(--gold), var(--shadow);
}
.founder-copy h2 {
  margin-bottom: 14px;
}
.founder-copy > p {
  max-width: 60ch;
  color: var(--muted);
}
.credential-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 22px 0 24px;
  padding: 0;
  list-style: none;
}
.cred-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 320px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
}
.cred-badge-official {
  border-color: rgba(201, 148, 42, 0.5);
  background: var(--gold-soft);
}
.cred-badge-mark {
  flex: none;
  display: inline-flex;
  color: var(--gold-text);
}
.cred-badge-text strong {
  display: block;
  font-size: 0.92rem;
  color: var(--navy-ink);
}
.cred-badge-text small {
  display: block;
  margin-top: 2px;
  font-size: 0.76rem;
  line-height: 1.35;
  color: var(--muted);
}

.founder-points {
  margin-top: clamp(36px, 5vw, 56px);
}

/* ---- Services offerings grid ---- */
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.offer-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--line);
  border-top: 3px solid var(--teal);
  border-radius: var(--radius);
  background: var(--mist);
}
.offer-num {
  margin-bottom: 8px;
  color: var(--gold-text);
  font-weight: 900;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
}
.offer-card h3 {
  margin: 0 0 8px;
}
.offer-card p {
  margin: 0 0 14px;
  color: var(--muted);
}
.offer-card .learn-more {
  margin-top: auto;
}
/* Enquiry-only services (no dedicated page yet) read as secondary to the two
   linked service pages: muted top border, teal "Enquire" link. */
.offer-card-enquire {
  border-top-color: var(--line);
  background: #fff;
}
.offer-card .learn-more.enquire {
  color: var(--teal-text);
}
@media (max-width: 900px) {
  .offer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .offer-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- Footer credential line ---- */
.footer-cred {
  flex-basis: 100%;
  margin: 8px 0 0;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ---- WhatsApp buttons ---- */
.wa-fab {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 50;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px 12px 14px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(7, 94, 84, 0.32);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.wa-fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 32px rgba(7, 94, 84, 0.42);
}
.wa-fab svg {
  width: 24px;
  height: 24px;
  flex: none;
}
.wa-inline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  padding: 11px 20px;
  border-radius: var(--radius);
  background: #25d366;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: transform 200ms ease, filter 200ms ease;
}
.wa-inline:hover {
  filter: brightness(0.95);
  transform: translateY(-1px);
}
.wa-inline svg {
  width: 22px;
  height: 22px;
  flex: none;
}
.wf-honeypot {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}
:focus-visible.wa-fab,
.wa-fab:focus-visible,
.wa-inline:focus-visible {
  outline: 3px solid var(--navy);
  outline-offset: 3px;
  box-shadow: 0 0 0 3px #fff;
}

@media (max-width: 720px) {
  .founder-grid {
    grid-template-columns: 1fr;
    text-align: left;
  }
  .founder-photo {
    max-width: 220px;
  }
  /* Collapse the floating button to a circle on small screens. */
  .wa-fab span {
    display: none;
  }
  .wa-fab {
    padding: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .wa-fab:hover,
  .wa-inline:hover {
    transform: none;
  }
}

/* ============================================================
   Phase 3 UX polish (Jul 2026): enquiry journey, contact guide,
   trust architecture, scannable service summary, mobile CTA discipline.
   ============================================================ */

/* CTA strip now stacks: heading+button row, then the 3-step journey. */
.cta-strip {
  flex-direction: column;
  align-items: stretch;
}
.cta-strip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  flex-wrap: wrap;
}

.enquiry-journey {
  list-style: none;
  margin: 28px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid rgba(15, 46, 74, 0.12);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.enquiry-journey li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.ej-num {
  flex: none;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  background: var(--teal);
  color: #fff;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
}
.enquiry-journey strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}
.enquiry-journey p {
  margin: 0;
  color: #365057;
  font-size: 0.95rem;
}

/* Contact page: "what to send" guidance beside the form. */
.contact-guide {
  margin: 20px 0 24px;
  display: grid;
  gap: 12px;
}
.contact-guide-card {
  padding: 12px 16px;
  border-left: 3px solid var(--teal);
  background: var(--teal-soft);
  border-radius: 0 var(--radius) var(--radius) 0;
}
.contact-guide-card strong {
  display: block;
  color: var(--navy);
  margin-bottom: 3px;
}
.contact-guide-card p {
  margin: 0;
  color: #365057;
  font-size: 0.95rem;
}

/* Trust architecture grid (team page). */
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.trust-grid article {
  padding: 22px 20px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.trust-grid h3 {
  font-size: 1.05rem;
  color: var(--navy);
  margin: 0 0 8px;
}
.trust-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

/* Scannable at-a-glance summary near the top of each service page. */
.service-summary {
  background: var(--mist);
}
.summary-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.summary-col .eyebrow {
  margin-bottom: 10px;
}
.summary-col ul {
  margin: 0;
  padding-left: 18px;
}
.summary-col li,
.summary-col p {
  color: var(--muted);
  font-size: 0.95rem;
}
.summary-col li {
  margin-bottom: 6px;
}

@media (max-width: 900px) {
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 760px) {
  .enquiry-journey {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .summary-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
}

/* Mobile CTA discipline: keep the floating WhatsApp button clearly
   secondary to the primary "Send an Enquiry" action. */
@media (max-width: 720px) {
  .wa-fab {
    padding: 11px;
    background: #2bbe5e;
    box-shadow: 0 6px 16px rgba(7, 94, 84, 0.28);
  }
  .wa-fab svg {
    width: 20px;
    height: 20px;
  }
}
