:root {
  --bg-top: #fffaf1;
  --bg-bottom: #eef5fc;
  --surface: #ffffff;
  --surface-soft: #f6f9fc;
  --ink: #203149;
  --ink-soft: #64768d;
  --line: #d9e4ef;
  --line-strong: #c8d5e2;
  --primary: #1f8ef3;
  --primary-deep: #0f6dcc;
  --primary-glow: rgba(31, 142, 243, 0.15);
  --accent: #f2c14f;
  --accent-soft: #fff1cb;
  --accent-glow: rgba(242, 193, 79, 0.2);
  --navy: #22354d;
  --navy-deep: #1b2b40;
  --shadow: 0 16px 40px rgba(23, 43, 70, 0.08);
  --shadow-strong: 0 24px 54px rgba(23, 43, 70, 0.14);
  --shadow-hover: 0 28px 60px rgba(23, 43, 70, 0.18);
  --radius-xl: 32px;
  --radius-lg: 24px;
  --radius-md: 18px;
  --container: min(1280px, calc(100vw - 2rem));
  --header-offset: 7rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 0%, rgba(242, 193, 79, 0.16), transparent 24%),
    radial-gradient(circle at 85% 15%, rgba(31, 142, 243, 0.06), transparent 30%),
    radial-gradient(circle at 50% 60%, rgba(31, 142, 243, 0.04), transparent 40%),
    linear-gradient(180deg, var(--bg-top) 0%, #fbfdff 30%, var(--bg-bottom) 100%);
  font-family: "Manrope", sans-serif;
  font-size: 16px;
  line-height: 1.68;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

main,
section {
  scroll-margin-top: calc(var(--header-offset) + 1rem);
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 100;
  padding: 0.75rem 1rem;
  border-radius: 999px;
  background: var(--ink);
  color: #fff;
}

.skip-link:focus {
  top: 1rem;
}

/* ─── Eyebrow ────────────────────────────────────────── */

.eyebrow {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 0 0 1rem;
  color: var(--primary-deep);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 2rem;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  flex-shrink: 0;
}

.eyebrow--light {
  color: rgba(255, 255, 255, 0.78);
}

.eyebrow--light::before {
  background: linear-gradient(90deg, var(--accent), rgba(255, 255, 255, 0.5));
}

/* ─── Buttons ────────────────────────────────────────── */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.9rem 1.6rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  line-height: 1;
  position: relative;
  overflow: hidden;
  transition:
    transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1),
    background-color 180ms ease,
    box-shadow 220ms ease,
    border-color 180ms ease,
    color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
  box-shadow:
    0 14px 32px rgba(17, 109, 207, 0.24),
    0 0 0 0 var(--primary-glow);
  color: #fff;
}

.button--primary::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 220ms ease;
}

.button--primary:hover::after,
.button--primary:focus-visible::after {
  opacity: 1;
}

.button--primary:hover,
.button--primary:focus-visible {
  box-shadow:
    0 18px 40px rgba(17, 109, 207, 0.32),
    0 0 0 4px var(--primary-glow);
}

.button--secondary {
  border-color: var(--line);
  background: #fff;
  color: var(--ink);
}

.button--secondary:hover,
.button--secondary:focus-visible {
  border-color: var(--primary);
  color: var(--primary-deep);
  box-shadow: 0 0 0 3px var(--primary-glow);
}

.button--light-on-dark {
  background: #fff;
  color: var(--primary-deep);
}

.button--light-on-dark:hover,
.button--light-on-dark:focus-visible {
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

/* ─── Header ─────────────────────────────────────────── */

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 1rem 0 0.65rem;
  transition:
    background-color 260ms ease,
    box-shadow 260ms ease,
    backdrop-filter 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(247, 251, 255, 0.82);
  box-shadow: 0 6px 24px rgba(23, 43, 70, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.header-bar {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 1.5rem;
  padding: 0.95rem 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 14px 36px rgba(23, 43, 70, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
}

.brand__frame {
  display: inline-block;
}

.brand__frame--header {
  width: 214px;
}

.brand__frame--footer {
  width: 286px;
}

.brand__logo {
  width: 100%;
  height: auto;
}

.site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.15rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.45rem;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-weight: 700;
  transition: color 180ms ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.6rem;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent) 0%, var(--primary) 100%);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--ink);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.is-active::after {
  transform: scaleX(1);
}

.site-nav a.is-active {
  color: var(--ink);
}

.menu-toggle {
  display: none;
  place-items: center;
  gap: 0.3rem;
  width: 3rem;
  height: 3rem;
  margin-left: auto;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
  transition: border-color 180ms ease;
}

.menu-toggle:hover {
  border-color: var(--primary);
}

.menu-toggle span {
  display: block;
  width: 1rem;
  height: 2px;
  border-radius: 999px;
  background: var(--ink);
  transition: transform 220ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(2px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* ─── Hero ───────────────────────────────────────────── */

.hero {
  padding: 1.8rem 0 0;
  position: relative;
  overflow: hidden;
}

/* Large decorative circle behind hero */
.hero::before {
  content: "";
  position: absolute;
  top: -18rem;
  right: -12rem;
  width: 50rem;
  height: 50rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.hero__stage {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 3rem;
  padding: 2.5rem;
  border: 1px solid var(--line);
  border-radius: 36px;
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.96) 0%, rgba(255, 255, 255, 0.98) 60%),
    var(--surface);
  box-shadow: var(--shadow-strong);
}

.hero__content {
  align-self: center;
}

.hero h1,
.section h2,
.cta-bento h2 {
  margin: 0;
  font-family: "Fraunces", serif;
  font-weight: 700;
  line-height: 0.97;
  letter-spacing: -0.035em;
}

.hero h1 {
  max-width: 10.5ch;
  font-size: clamp(3.15rem, 5.3vw, 5.6rem);
  background: linear-gradient(135deg, var(--ink) 0%, #35516e 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section h2,
.cta-bento h2 {
  font-size: clamp(2.35rem, 4vw, 3.65rem);
  line-height: 1.02;
}

.hero__lede,
.section-heading > p,
.cta-bento__lead {
  color: var(--ink-soft);
  font-size: 1.08rem;
}

.hero__lede {
  max-width: 42rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero__points {
  display: grid;
  gap: 0.9rem;
  margin: 2rem 0 0;
  padding: 0;
  list-style: none;
}

.hero__points li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-weight: 700;
}

.hero__points li::before {
  content: "";
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--primary));
  box-shadow: 0 0 0 6px rgba(31, 142, 243, 0.08);
  flex: 0 0 auto;
}

/* Hero media – decorative ring behind image */
.hero__media {
  position: relative;
  min-width: 0;
}

.hero__media::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  right: -1.5rem;
  width: 8rem;
  height: 8rem;
  border: 3px solid var(--accent-glow);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__media::after {
  content: "";
  position: absolute;
  bottom: -2rem;
  left: -1rem;
  width: 5rem;
  height: 5rem;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--accent-glow), var(--primary-glow));
  transform: rotate(15deg);
  pointer-events: none;
  z-index: 0;
}

.hero__photo-shell {
  position: relative;
  z-index: 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: box-shadow 300ms ease;
}

.hero__photo-shell:hover {
  box-shadow: var(--shadow-hover);
}

.hero__photo-shell img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.hero__photo-shell:hover img {
  transform: scale(1.03);
}

.hero__media-tag {
  position: absolute;
  top: -0.9rem;
  left: -1.1rem;
  z-index: 2;
  max-width: 15rem;
  padding: 0.95rem 1.1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 252, 245, 0.96);
  box-shadow: var(--shadow);
  font-family: "Fraunces", serif;
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.14;
  backdrop-filter: blur(8px);
}

.hero__media-card {
  position: absolute;
  right: -0.9rem;
  bottom: -1rem;
  z-index: 2;
  max-width: 18rem;
  padding: 1.1rem;
  border-radius: 22px;
  background: linear-gradient(135deg, rgba(34, 53, 77, 0.97), rgba(27, 43, 64, 0.97));
  box-shadow: var(--shadow-strong);
  color: #fff;
  backdrop-filter: blur(8px);
}

.hero__media-card p {
  margin: 0 0 0.9rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Hero ribbon */
.hero__ribbon {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 1.15rem;
  margin-top: 1.15rem;
}

.hero__quote,
.hero__trust {
  margin: 0;
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.hero__quote {
  position: relative;
  padding: 1.75rem 2rem;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  color: #fff;
  overflow: hidden;
}

/* Large decorative quotation mark */
.hero__quote::before {
  content: "\201C";
  position: absolute;
  top: -0.6rem;
  right: 1rem;
  font-family: "Fraunces", serif;
  font-size: 14rem;
  line-height: 1;
  color: rgba(242, 193, 79, 0.08);
  pointer-events: none;
}

.hero__quote p {
  position: relative;
  max-width: 14ch;
  margin: 0 0 0.8rem;
  font-family: "Fraunces", serif;
  font-size: clamp(2.2rem, 3.3vw, 3rem);
  font-style: italic;
  font-weight: 700;
  line-height: 1.03;
}

.hero__quote cite {
  position: relative;
  font-style: normal;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero__trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--line);
}

.hero__trust-item {
  padding: 1.35rem 1.4rem;
  background: var(--surface);
  transition: background-color 220ms ease;
}

.hero__trust-item:hover {
  background: var(--surface-soft);
}

.hero__trust-item strong,
.hero__trust-item span {
  display: block;
}

.hero__trust-item strong {
  margin-bottom: 0.35rem;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  line-height: 1.15;
}

.hero__trust-item span {
  color: var(--ink-soft);
}

/* ─── Sections ───────────────────────────────────────── */

.section {
  padding: 5.5rem 0;
  position: relative;
}

/* ─── About ──────────────────────────────────────────── */

.section--about {
  padding-top: 5rem;
}

/* Subtle dot grid decoration */
.section--about::before {
  content: "";
  position: absolute;
  top: 3rem;
  right: 2rem;
  width: 120px;
  height: 120px;
  background-image: radial-gradient(circle, var(--line-strong) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(18rem, 0.8fr);
  gap: 3rem;
  align-items: start;
}

.about-copy p + p {
  margin-top: 1rem;
}

.value-chips,
.team-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.value-chips span,
.team-highlights span {
  padding: 0.72rem 0.95rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  transition:
    border-color 200ms ease,
    background 200ms ease,
    transform 200ms ease,
    box-shadow 200ms ease;
}

.value-chips span:hover,
.team-highlights span:hover {
  border-color: var(--primary);
  background: linear-gradient(135deg, rgba(31, 142, 243, 0.04), rgba(242, 193, 79, 0.06));
  transform: translateY(-2px);
  box-shadow: 0 6px 16px var(--primary-glow);
}

.about-expectations {
  max-width: 34rem;
  margin-top: 2rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.about-expectations__title {
  margin: 0 0 0.75rem;
  font-family: "Fraunces", serif;
  font-size: 1.25rem;
  font-weight: 700;
}

.about-expectations ul {
  margin: 0;
  padding-left: 1.1rem;
}

.about-visual {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
  transition: box-shadow 300ms ease, transform 300ms ease;
}

.about-visual:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.about-visual img {
  width: 100%;
  height: auto;
}

/* ─── Services ───────────────────────────────────────── */

.section--services {
  background:
    radial-gradient(ellipse at 10% 50%, rgba(242, 193, 79, 0.06), transparent 40%),
    linear-gradient(180deg, rgba(235, 245, 255, 0.7), rgba(255, 255, 255, 0) 22%);
}

/* Dot grid on left side */
.section--services::before {
  content: "";
  position: absolute;
  bottom: 12rem;
  left: 1rem;
  width: 80px;
  height: 160px;
  background-image: radial-gradient(circle, var(--line-strong) 1.2px, transparent 1.2px);
  background-size: 16px 16px;
  opacity: 0.4;
  pointer-events: none;
}

.section-heading {
  max-width: 46rem;
  margin-bottom: 2rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
  counter-reset: service-counter;
}

.service-card {
  position: relative;
  min-height: 100%;
  padding: 1.8rem 1.55rem 1.55rem;
  border: 1px solid var(--line);
  border-top: 4px solid var(--primary);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: var(--shadow);
  counter-increment: service-counter;
  transition:
    transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 280ms ease,
    border-color 280ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

/* Numbered badge on service cards */
.service-card::before {
  content: "0" counter(service-counter);
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-family: "Fraunces", serif;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(31, 142, 243, 0.08);
  pointer-events: none;
}

.service-card:nth-child(odd) {
  border-top-color: var(--accent);
}

.service-card:nth-child(odd)::before {
  color: rgba(242, 193, 79, 0.15);
}

.service-card h3,
.services-band__intro h3,
.cta-bento__ask h3 {
  margin: 0 0 0.8rem;
  font-family: "Fraunces", serif;
  font-size: 1.7rem;
  line-height: 1.1;
}

.service-card p,
.team-content p,
.cta-bento__insurance p,
.footer-brand p,
.section-heading p {
  color: var(--ink-soft);
}

.services-band {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
  gap: 1.25rem;
  margin-top: 1.25rem;
  padding: 1.4rem;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 100%);
  box-shadow: var(--shadow-strong);
  position: relative;
  overflow: hidden;
}

/* Subtle radial accent on services band */
.services-band::before {
  content: "";
  position: absolute;
  top: -4rem;
  right: -4rem;
  width: 16rem;
  height: 16rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 79, 0.1), transparent 70%);
  pointer-events: none;
}

.services-band__intro,
.services-band__areas {
  position: relative;
  padding: 1.45rem 1.55rem;
  border-radius: 24px;
}

.services-band__intro {
  color: #fff;
}

.services-band__intro p:last-child {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.services-band__areas {
  background: rgba(255, 255, 255, 0.08);
}

.services-band__areas ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.services-band__areas li {
  padding: 0.7rem 1rem;
  border: 1px solid rgba(242, 193, 79, 0.38);
  border-radius: 999px;
  background: rgba(255, 246, 219, 0.96);
  color: var(--ink);
  font-weight: 800;
  transition: transform 200ms ease, box-shadow 200ms ease;
}

.services-band__areas li:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(242, 193, 79, 0.2);
}

/* ─── Team ───────────────────────────────────────────── */

.section--team {
  background:
    radial-gradient(ellipse at 90% 80%, rgba(31, 142, 243, 0.05), transparent 35%),
    linear-gradient(180deg, rgba(237, 245, 254, 0.85), rgba(255, 255, 255, 0) 20%);
}

.team-layout {
  display: grid;
  grid-template-columns: minmax(19rem, 21rem) minmax(0, 1fr);
  gap: 3rem;
  align-items: center;
}

.team-photo {
  position: relative;
  padding: 0.8rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-xl);
  background: var(--surface);
  box-shadow: var(--shadow);
}

/* Decorative accent behind team photo */
.team-photo::before {
  content: "";
  position: absolute;
  top: -1.5rem;
  left: -1.5rem;
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-soft));
  opacity: 0.6;
  pointer-events: none;
  z-index: -1;
}

.team-photo::after {
  content: "";
  position: absolute;
  bottom: -1rem;
  right: -1rem;
  width: 6rem;
  height: 6rem;
  border: 3px solid var(--primary-glow);
  border-radius: 20px;
  transform: rotate(12deg);
  pointer-events: none;
  z-index: -1;
}

.team-photo img {
  width: 100%;
  aspect-ratio: 3 / 4;
  border-radius: calc(var(--radius-xl) - 8px);
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.team-photo:hover img {
  transform: scale(1.02);
}

.team-content__role {
  margin: 0 0 1rem;
  color: var(--primary-deep);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Accent line beside team heading */
.team-content h2 {
  position: relative;
  display: inline-block;
}

.team-content h2::after {
  content: "";
  display: block;
  width: 3rem;
  height: 3px;
  margin-top: 0.5rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
}

/* ─── CTA Duo ────────────────────────────────────────── */

.section--cta {
  padding-top: 4.75rem;
  padding-bottom: 3rem;
}

.cta-duo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
}

.cta-duo__card {
  border-radius: 30px;
  overflow: hidden;
  transition:
    transform 280ms cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 280ms ease;
}

.cta-duo__card:hover {
  transform: translateY(-4px);
}

/* Insurance card – left, light, sits higher */
.cta-duo__insurance {
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 252, 245, 0.97) 0%, var(--surface) 60%);
  box-shadow: var(--shadow);
  position: relative;
}

.cta-duo__insurance::before {
  content: "";
  position: absolute;
  top: -3rem;
  right: -3rem;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  pointer-events: none;
}

.cta-duo__insurance-inner {
  position: relative;
  padding: 2.4rem 2.2rem;
}

.cta-duo__insurance h2 {
  position: relative;
}

.cta-duo__insurance p {
  position: relative;
}

.cta-duo__insurance .button {
  margin-top: 1.5rem;
}

.cta-duo__insurance:hover {
  box-shadow: var(--shadow-hover);
}

/* Get in touch card – right, dark, offset down for stagger */
.cta-duo__touch {
  margin-top: 3rem;
  background: linear-gradient(150deg, var(--navy-deep) 0%, #263f5a 50%, var(--navy) 100%);
  color: #fff;
  box-shadow: var(--shadow-strong);
  position: relative;
}

.cta-duo__touch::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: -4rem;
  width: 14rem;
  height: 14rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(31, 142, 243, 0.12), transparent 70%);
  pointer-events: none;
}

.cta-duo__touch::after {
  content: "";
  position: absolute;
  bottom: -3rem;
  right: -3rem;
  width: 10rem;
  height: 10rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(242, 193, 79, 0.08), transparent 70%);
  pointer-events: none;
}

.cta-duo__touch-inner {
  position: relative;
  padding: 2.4rem 2.2rem;
}

.cta-duo__touch-inner p:last-of-type {
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.72);
}

.cta-duo__touch h2 {
  color: #fff;
  max-width: 14ch;
}

.cta-duo__touch .button {
  margin-top: 1.5rem;
}

.cta-duo__touch:hover {
  box-shadow: var(--shadow-hover);
}

/* ─── Back to Top ────────────────────────────────────── */

.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 25;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 20px rgba(23, 43, 70, 0.15);
  cursor: pointer;
  opacity: 0;
  transform: translateY(1rem);
  pointer-events: none;
  transition:
    opacity 300ms ease,
    transform 300ms ease,
    box-shadow 200ms ease;
  backdrop-filter: blur(12px);
}

.back-to-top.is-visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.back-to-top:hover {
  box-shadow: 0 6px 28px rgba(23, 43, 70, 0.22);
  transform: translateY(-2px);
}

.back-to-top__ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.back-to-top__track {
  fill: none;
  stroke: var(--line);
  stroke-width: 2;
}

.back-to-top__progress {
  fill: none;
  stroke: url(#btt-gradient);
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 100.53;
  stroke-dashoffset: 100.53;
  transition: stroke-dashoffset 60ms linear;
}

.back-to-top__arrow {
  position: relative;
  color: var(--ink);
}

/* ─── Image Curtain Reveal ───────────────────────────── */

[data-curtain] {
  position: relative;
}

[data-curtain]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  border-radius: inherit;
  transform-origin: right;
  transition: transform 800ms cubic-bezier(0.65, 0, 0.35, 1);
}

[data-curtain="primary"]::after {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-deep) 100%);
}

[data-curtain="accent"]::after {
  background: linear-gradient(135deg, var(--accent) 0%, #e8a820 100%);
}

[data-curtain].is-revealed::after {
  transform: scaleX(0);
}

/* ─── Service Card Stagger ───────────────────────────── */

.services-grid .service-card[data-reveal] {
  transition-delay: calc(var(--stagger, 0) * 80ms);
}

.services-grid .service-card:nth-child(1) { --stagger: 0; }
.services-grid .service-card:nth-child(2) { --stagger: 1; }
.services-grid .service-card:nth-child(3) { --stagger: 2; }
.services-grid .service-card:nth-child(4) { --stagger: 3; }
.services-grid .service-card:nth-child(5) { --stagger: 4; }
.services-grid .service-card:nth-child(6) { --stagger: 5; }

/* ─── Parallax Elements ──────────────────────────────── */

[data-parallax] {
  --scroll-y: 0;
}

[data-parallax]::before {
  transform: translateY(calc(var(--scroll-y) * 0.04px));
  will-change: transform;
}

.hero[data-parallax]::before {
  transform: translateY(calc(var(--scroll-y) * 0.06px));
}

.section--about[data-parallax]::before {
  transform: translateY(calc(var(--scroll-y) * 0.035px));
}

.section--services[data-parallax]::before {
  transform: translateY(calc(var(--scroll-y) * 0.05px));
}

/* ─── Footer ─────────────────────────────────────────── */

.site-footer {
  margin-top: 2rem;
  padding: 0;
  background: linear-gradient(180deg, #22354d 0%, #151f2e 100%);
  color: rgba(255, 255, 255, 0.85);
  position: relative;
  overflow: hidden;
}

/* Subtle top edge accent */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--primary), var(--accent));
}

/* Radial glow in footer */
.site-footer::after {
  content: "";
  position: absolute;
  top: -6rem;
  left: 50%;
  transform: translateX(-50%);
  width: 40rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgba(31, 142, 243, 0.06), transparent 70%);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(9rem, 0.7fr) minmax(9rem, 0.7fr);
  gap: 2.5rem;
  padding: 2.75rem 0 2rem;
}

.footer-brand {
  max-width: 30rem;
}

.footer-brand .brand__frame--footer {
  padding: 0.35rem 0.55rem;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.98);
}

.footer-brand p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.6);
}

.footer-column {
  display: grid;
  align-content: start;
  gap: 0.75rem;
}

.footer-column__title {
  margin: 0 0 0.45rem;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.footer-column a {
  color: rgba(255, 255, 255, 0.7);
  font-weight: 700;
  transition: color 180ms ease;
}

.footer-column a:hover {
  color: var(--accent);
}

.footer-bottom {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 0 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  font-weight: 800;
  color: rgba(255, 255, 255, 0.6);
  transition: color 180ms ease;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ─── Reveal Animations ──────────────────────────────── */

body.js-ready [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 600ms cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

body.js-ready [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children reveals */
body.js-ready [data-reveal]:nth-child(2) {
  transition-delay: 120ms;
}

/* ─── Reduced Motion ─────────────────────────────────── */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  body.js-ready [data-reveal] {
    opacity: 1;
    transform: none;
  }
}

/* ─── Tablet ─────────────────────────────────────────── */

@media (max-width: 1024px) {
  :root {
    --header-offset: 8.5rem;
  }

  .header-bar {
    position: relative;
    grid-template-columns: auto auto;
    gap: 1rem;
  }

  .brand__frame--header {
    width: 196px;
  }

  .menu-toggle {
    display: grid;
  }

  .site-header__actions {
    position: absolute;
    top: calc(100% + 0.7rem);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.98);
    box-shadow: var(--shadow);
    backdrop-filter: blur(16px);
  }

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

  .site-nav {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.95rem;
  }

  .site-header__actions .button {
    width: 100%;
  }

  .hero__stage,
  .hero__ribbon,
  .about-layout,
  .services-band,
  .team-layout,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .cta-duo {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cta-duo__touch {
    margin-top: 0;
  }

  .hero__stage {
    gap: 2rem;
  }

  .hero__media {
    max-width: 44rem;
  }

  .hero__media-card {
    right: 1rem;
    bottom: -0.75rem;
  }

  .hero__trust {
    grid-template-columns: 1fr;
  }

  .team-content {
    order: 1;
  }

  .team-photo {
    order: 2;
    max-width: 26rem;
  }

  .section--about::before {
    display: none;
  }
}

/* ─── Mobile ─────────────────────────────────────────── */

@media (max-width: 720px) {
  :root {
    --container: min(calc(100vw - 1.25rem), 100%);
    --header-offset: 9rem;
  }

  .site-header {
    padding-top: 0.75rem;
  }

  .header-bar {
    padding: 0.85rem;
  }

  .brand__frame--header {
    width: 168px;
  }

  .brand__frame--footer {
    width: 236px;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero::before {
    display: none;
  }

  .hero__stage {
    padding: 1.4rem;
    border-radius: 28px;
  }

  .hero h1 {
    max-width: none;
    font-size: clamp(2.6rem, 11vw, 4.2rem);
  }

  .hero__media-tag {
    position: static;
    max-width: none;
    margin-bottom: 0.9rem;
  }

  .hero__media-card {
    position: static;
    max-width: none;
    margin-top: 1rem;
  }

  .hero__media::before,
  .hero__media::after {
    display: none;
  }

  .hero__quote,
  .hero__trust,
  .services-band {
    border-radius: 24px;
  }

  .section {
    padding: 4.5rem 0;
  }

  .section--services::before {
    display: none;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .services-band__intro,
  .services-band__areas,
  .about-expectations {
    padding: 1.3rem;
  }

  .cta-duo {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .cta-duo__touch {
    margin-top: 0;
  }

  .cta-duo__card {
    border-radius: 24px;
  }

  .cta-duo__insurance-inner,
  .cta-duo__touch-inner {
    padding: 1.6rem;
  }

  .back-to-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  .team-photo::before,
  .team-photo::after {
    display: none;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}
