/* ============================================
   Turning Point Forward — Design System
   ============================================ */

:root {
  --navy: #17324d;
  --navy-deep: #102536;
  --navy-soft: #23415f;
  --teal: #2d7a78;
  --teal-dark: #246462;
  --teal-soft: #3a8f8c;
  --sage: #a8c5b5;
  --sage-soft: #c5d9cd;
  --cream: #f7f4ed;
  --sand: #e8ded0;
  --sand-dark: #d4c6b3;
  --white: #ffffff;
  --gold: #d9a441;
  --gold-dark: #c08c2c;
  --gold-soft: #f3e4c2;

  --text: #243140;
  --text-muted: #5c6b78;
  --text-on-dark: #f7f4ed;
  --border: #e4ddd2;
  --border-strong: #cfc4b4;
  --error: #b42318;
  --error-bg: #fef3f2;
  --success: #027a48;
  --success-bg: #ecfdf3;

  --font-display: "DM Sans", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --fs-xs: 0.75rem;
  --fs-sm: 0.875rem;
  --fs-base: 1rem;
  --fs-md: 1.125rem;
  --fs-lg: 1.25rem;
  --fs-xl: 1.5rem;
  --fs-2xl: 2rem;
  --fs-3xl: 2.75rem;
  --fs-4xl: 3.5rem;
  --fs-5xl: 4.25rem;

  --lh-tight: 1.15;
  --lh-snug: 1.3;
  --lh-body: 1.7;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 3rem;
  --space-8: 4.5rem;
  --space-9: 7rem;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;
  --radius-full: 999px;

  --shadow-sm: 0 1px 2px rgba(23, 50, 77, 0.06);
  --shadow-md: 0 8px 24px rgba(23, 50, 77, 0.08);
  --shadow-lg: 0 18px 50px rgba(23, 50, 77, 0.12);
  --shadow-hover: 0 16px 40px rgba(45, 122, 120, 0.16);

  --container: 1140px;
  --container-wide: 1280px;
  --nav-h: 88px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur: 280ms;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  color: var(--text);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--teal);
  text-decoration: none;
  transition: color var(--dur) var(--ease);
}

a:hover {
  color: var(--teal-dark);
}

ul {
  list-style: none;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
}

button {
  cursor: pointer;
  border: none;
  background: none;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  z-index: 1000;
  background: var(--navy);
  color: var(--white);
  padding: 8px 14px;
  border-radius: var(--radius-sm);
}

.skip-link:focus {
  top: 12px;
  color: var(--white);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

/* Layout */

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.container-wide {
  width: min(100% - 40px, var(--container-wide));
  margin-inline: auto;
}

.section {
  padding: 5rem 0;
}

.section-tight {
  padding: 3.5rem 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 1rem;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

h1,
h2,
h3,
h4,
.logo-text {
  font-family: var(--font-display);
  color: var(--navy);
  letter-spacing: -0.03em;
  line-height: var(--lh-tight);
}

h1 {
  font-size: clamp(2.2rem, 4.6vw, 4.1rem);
  font-weight: 700;
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 2.75rem);
  font-weight: 700;
}

h3 {
  font-size: 1.35rem;
  font-weight: 650;
  letter-spacing: -0.02em;
}

.lede {
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  color: var(--text-muted);
  max-width: 38rem;
  line-height: 1.7;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 3rem;
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head.center .lede {
  margin-inline: auto;
}

.section-head h2 {
  margin-bottom: 0.85rem;
}

/* Buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 1.35rem;
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  border: 1.5px solid transparent;
  transition: background var(--dur) var(--ease), color var(--dur) var(--ease),
    border-color var(--dur) var(--ease), transform var(--dur) var(--ease),
    box-shadow var(--dur) var(--ease);
  white-space: nowrap;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  box-shadow: 0 8px 20px rgba(45, 122, 120, 0.22);
}

.btn-primary:hover {
  background: var(--teal-dark);
  color: var(--white);
}

.btn-secondary {
  background: var(--white);
  color: var(--navy);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
  background: var(--cream);
  color: var(--navy);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-light {
  background: transparent;
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.45);
}

.btn-outline-light:hover {
  background: var(--white);
  color: var(--navy);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  min-height: 40px;
  padding: 0 0.4rem;
}

.btn-ghost:hover {
  color: var(--teal);
  transform: none;
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}

.btn-gold:hover {
  background: var(--gold-dark);
  color: var(--navy);
}

.btn:disabled,
.btn[aria-disabled="true"] {
  background: var(--sand);
  color: var(--text-muted);
  box-shadow: none;
  pointer-events: none;
}

.btn-lg {
  min-height: 54px;
  padding: 0 1.7rem;
  font-size: 1rem;
}

.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 1.75rem;
}

/* Navigation */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 237, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.site-header.scrolled {
  background: rgba(247, 244, 237, 0.96);
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--nav-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--navy);
  flex-shrink: 0;
}

.logo:hover {
  color: var(--navy);
}

.logo-full {
  height: 58px;
  width: auto;
  display: block;
}

.logo-mark-img {
  display: none;
  height: 46px;
  width: auto;
}

.logo-on-dark {
  background: #fff;
  padding: 10px 12px;
  border-radius: 14px;
}

.logo-on-dark .logo-full {
  height: 72px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-links a {
  color: var(--navy);
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 8px 12px;
  border-radius: var(--radius-full);
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--teal);
  background: rgba(45, 122, 120, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-refer {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--navy);
  padding: 8px 10px;
}

.nav-refer:hover {
  color: var(--teal);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

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

.mobile-drawer {
  display: none;
}

/* Hero */

.hero {
  position: relative;
  min-height: min(68vh, 620px);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  color: var(--white);
}

.hero-media {
  position: absolute;
  inset: 0;
  background: #1a3a52;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transform: scale(1.04);
  animation: heroZoom 18s var(--ease) forwards;
}

@keyframes heroZoom {
  to {
    transform: scale(1);
  }
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 37, 54, 0.68) 0%, rgba(16, 37, 54, 0.28) 46%, rgba(16, 37, 54, 0.08) 100%),
    linear-gradient(180deg, rgba(16, 37, 54, 0.12) 0%, rgba(16, 37, 54, 0.18) 48%, rgba(16, 37, 54, 0.58) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 3.2rem;
  max-width: 40rem;
}

.hero-content h1 {
  text-shadow: 0 12px 40px rgba(16, 37, 54, 0.35);
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.1rem;
}

.hero .lede {
  color: rgba(247, 244, 237, 0.9);
}

.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin-top: 2rem;
  font-family: var(--font-display);
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold-soft);
}

.hero-trust span + span::before {
  content: "•";
  margin-right: 18px;
  color: var(--gold);
}

.page-hero {
  position: relative;
  padding: 5.5rem 0 4.5rem;
  background:
    radial-gradient(900px 280px at 10% 0%, rgba(168, 197, 181, 0.45), transparent 60%),
    radial-gradient(700px 240px at 90% 20%, rgba(217, 164, 65, 0.14), transparent 55%),
    var(--cream);
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 280px;
  height: 280px;
  border: 2px solid rgba(45, 122, 120, 0.15);
  border-radius: 50%;
}

.page-hero h1 {
  max-width: 16ch;
  margin-bottom: 1rem;
}

.page-hero.has-photo {
  min-height: 440px;
  padding: 0;
  display: flex;
  align-items: flex-end;
  background: none;
}

.page-hero.has-photo::after {
  display: none;
}

.page-hero.has-photo h1 {
  color: var(--white);
  max-width: 18ch;
}

.page-hero.has-photo .lede {
  color: rgba(247, 244, 237, 0.9);
}

.page-hero.has-photo .eyebrow {
  color: var(--gold);
}

.page-hero.has-photo .hero-content {
  padding: 3.4rem 0 3rem;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: var(--fs-sm);
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--teal);
}

.breadcrumb span {
  color: var(--sand-dark);
}

/* Mission split */

.split {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 4.5rem;
  align-items: center;
}

.split-media {
  position: relative;
}

.split-media img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 0 80px 0 80px;
  box-shadow: var(--shadow-lg);
}

.split-media::before {
  content: "";
  position: absolute;
  inset: 28px -22px -22px 28px;
  border: 2px solid var(--sage);
  border-radius: 0 80px 0 80px;
  z-index: -1;
}

.path-accent {
  position: absolute;
  left: -18px;
  bottom: 48px;
  width: 120px;
  height: 120px;
  color: var(--gold);
}

.split-copy h2 {
  margin-bottom: 1.1rem;
  max-width: 16ch;
}

.split-copy p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

/* Services */

.bg-white {
  background: var(--white);
}

.bg-cream {
  background: var(--cream);
}

.bg-sage {
  background: linear-gradient(180deg, #eef5f0 0%, var(--cream) 100%);
}

.bg-sand {
  background: var(--sand);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.service-card {
  grid-column: span 2;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 280px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
    border-color var(--dur) var(--ease);
}

.card-photo {
  height: 188px;
  overflow: hidden;
}

.step-card .card-photo {
  height: 148px;
}

.card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.service-card:hover .card-photo img,
.resource-card:hover .card-photo img,
.step-card:hover .card-photo img {
  transform: scale(1.05);
}

.card-body {
  padding: 1.25rem 1.45rem 0;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.people-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.people-row figure {
  margin: 0;
}

.people-row img {
  width: 100%;
  height: 230px;
  object-fit: cover;
  border-radius: 20px;
}

.people-row figcaption {
  margin-top: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--sage);
}

.services-grid .service-card:nth-child(4),
.services-grid .service-card:nth-child(5) {
  grid-column: span 3;
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: var(--white);
  color: var(--teal);
  display: grid;
  place-items: center;
  margin-bottom: 0.9rem;
  box-shadow: var(--shadow-sm);
}

.card-icon svg {
  width: 26px;
  height: 26px;
}

.service-card h3 {
  margin-bottom: 0.65rem;
}

.service-card p {
  color: var(--text-muted);
  font-size: 0.96rem;
  flex: 1;
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 1.15rem;
  font-family: var(--font-display);
  font-weight: 650;
  font-size: 0.92rem;
  color: var(--teal);
}

.card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--dur) var(--ease);
}

.service-card:hover .card-link svg,
.card-link:hover svg {
  transform: translateX(4px);
}

/* How it works */

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

.steps::before {
  content: "";
  position: absolute;
  top: 38px;
  left: 8%;
  right: 8%;
  height: 2px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='8' viewBox='0 0 120 8' fill='none'%3E%3Cpath d='M0 6 C20 6 20 2 40 2 C60 2 60 6 80 6 C100 6 100 2 120 2' stroke='%23A8C5B5' stroke-width='2' fill='none'/%3E%3C/svg%3E")
    repeat-x center;
  pointer-events: none;
}

.steps.has-photos::before {
  display: none;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 0 0 1.3rem;
  border: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 1.15rem;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 6px var(--cream);
}

.step-card h3 {
  margin-bottom: 0.55rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Quote / philosophy */

.philosophy {
  position: relative;
  background: var(--navy);
  color: var(--text-on-dark);
  overflow: hidden;
}

.philosophy::before {
  content: "";
  position: absolute;
  inset: auto -40px -80px auto;
  width: 420px;
  height: 420px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 400' fill='none'%3E%3Cpath d='M40 320 C80 220 160 200 240 160 C300 130 340 80 360 40' stroke='%232D7A78' stroke-width='3' opacity='0.55'/%3E%3Ccircle cx='360' cy='40' r='10' fill='%23D9A441'/%3E%3C/svg%3E")
    no-repeat center / contain;
  opacity: 0.7;
}

.philosophy-inner {
  position: relative;
  max-width: 46rem;
}

.philosophy h2 {
  color: var(--white);
  font-size: clamp(1.8rem, 4vw, 3.1rem);
  font-weight: 600;
  font-style: italic;
  letter-spacing: -0.035em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.philosophy p {
  color: rgba(247, 244, 237, 0.82);
  font-size: 1.15rem;
  max-width: 36rem;
}

/* Who we support */

.audience {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 4rem;
  align-items: center;
}

.audience-media img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 80px 0 80px 0;
  box-shadow: var(--shadow-lg);
}

.support-list {
  display: grid;
  gap: 12px;
  margin-top: 1.75rem;
}

.support-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}

.support-item svg {
  width: 22px;
  height: 22px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

.support-item span {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.4;
}

/* CTA band */

.cta-band {
  background:
    radial-gradient(600px 200px at 90% 0%, rgba(217, 164, 65, 0.18), transparent 50%),
    var(--teal);
  color: var(--white);
}

.cta-band h2,
.cta-band p {
  color: var(--white);
}

.cta-band p {
  max-width: 36rem;
  opacity: 0.92;
  margin-top: 0.8rem;
}

.cta-band .btn-row {
  margin-top: 2rem;
}

.usp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.usp-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  text-align: center;
}

.usp-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: rgba(217, 164, 65, 0.14);
  color: var(--gold-dark);
  display: grid;
  place-items: center;
}

.usp-icon svg {
  width: 26px;
  height: 26px;
}

.usp-card h3 {
  margin-bottom: 0.5rem;
}

.usp-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Footer */

.site-footer {
  background: var(--navy-deep);
  color: rgba(247, 244, 237, 0.78);
  padding: 4.2rem 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 0.9fr 1.1fr;
  gap: 40px;
  padding-bottom: 3rem;
}

.site-footer .logo-on-dark {
  display: inline-flex;
}

.footer-brand p {
  margin-top: 1.1rem;
  max-width: 28ch;
  font-size: 0.95rem;
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.site-footer a {
  color: rgba(247, 244, 237, 0.78);
  display: block;
  padding: 5px 0;
  font-size: 0.95rem;
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-contact li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 1.2rem 0 1.4rem;
  font-size: 0.85rem;
}

.footer-bottom nav {
  display: flex;
  gap: 18px;
}

/* Forms */

.form-page {
  padding-bottom: 5rem;
}

.form-shell {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 3.5rem;
  align-items: start;
}

.form-aside {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.2rem 2rem;
}

.form-aside h2 {
  color: var(--white);
  font-size: 1.6rem;
  margin: 0.4rem 0 0.8rem;
}

.form-aside p,
.form-aside li {
  color: rgba(247, 244, 237, 0.8);
  font-size: 0.95rem;
}

.form-aside ol {
  margin-top: 1.4rem;
  padding-left: 1.15rem;
  display: grid;
  gap: 10px;
}

.form-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 2rem 2rem 1.6rem;
  margin-bottom: 1.25rem;
}

.form-card h3 {
  margin-bottom: 0.35rem;
}

.form-card .hint {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 1.35rem;
}

.field {
  margin-bottom: 1.15rem;
}

.field label,
.fieldset-legend {
  display: block;
  font-family: var(--font-display);
  font-weight: 650;
  color: var(--navy);
  font-size: 0.92rem;
  margin-bottom: 0.45rem;
}

.req {
  color: var(--teal);
  margin-left: 2px;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 50px;
  border: 1.5px solid var(--border-strong);
  border-radius: 12px;
  padding: 0 14px;
  background: var(--white);
  color: var(--text);
  transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.field textarea {
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 4px rgba(45, 122, 120, 0.14);
}

.field input[aria-invalid="true"],
.field textarea[aria-invalid="true"] {
  border-color: var(--error);
  background: var(--error-bg);
}

.error-text {
  display: none;
  color: var(--error);
  font-size: 0.82rem;
  margin-top: 6px;
}

.field.has-error .error-text {
  display: block;
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.choice {
  position: relative;
}

.choice input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.choice span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 16px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-strong);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.choice input:focus-visible + span {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.choice input:checked + span {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
}

.select-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.select-card {
  position: relative;
}

.select-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.select-card span {
  display: block;
  border: 1.5px solid var(--border-strong);
  border-radius: 14px;
  padding: 14px 14px 14px 16px;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-display);
  font-weight: 650;
  cursor: pointer;
  transition: all var(--dur) var(--ease);
}

.select-card input:checked + span {
  background: var(--white);
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(45, 122, 120, 0.15);
}

.consent {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin: 0.4rem 0 1.4rem;
}

.consent input {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  accent-color: var(--teal);
  flex-shrink: 0;
}

.form-actions {
  display: flex;
  justify-content: flex-end;
}

.success-state {
  display: none;
  text-align: center;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 4rem 2rem;
  border: 1px solid var(--border);
}

.success-state.is-visible {
  display: block;
}

.success-mark {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--success-bg);
  color: var(--success);
  display: grid;
  place-items: center;
  margin: 0 auto 1.4rem;
}

.success-state h2 {
  margin-bottom: 0.7rem;
}

.inquiry-form.is-hidden,
form.is-hidden {
  display: none;
}

/* Service detail */

.photo-block {
  border-radius: var(--radius-xl);
  overflow: hidden;
  height: 420px;
  margin: 0 0 4rem;
}

.photo-block img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.prose {
  max-width: 42rem;
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.prose h3 {
  margin: 2rem 0 0.8rem;
}

.goal-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 1.5rem;
}

.goal-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.3rem 1.2rem;
}

.goal-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}

.goal-card p {
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* About */

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

.belief-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.5rem;
  border: 1px solid var(--border);
}

.belief-card h3 {
  margin-bottom: 0.55rem;
}

.belief-card p {
  color: var(--text-muted);
}

/* Contact */

.contact-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
}

.contact-panel {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.4rem 2.1rem;
  min-height: 100%;
}

.contact-panel h2 {
  color: var(--white);
  font-size: 1.7rem;
  margin-bottom: 0.7rem;
}

.contact-panel p {
  color: rgba(247, 244, 237, 0.8);
}

.contact-list {
  margin-top: 2rem;
  display: grid;
  gap: 18px;
}

.contact-list a,
.contact-list p {
  color: var(--white);
}

.contact-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sage);
  font-family: var(--font-display);
  font-weight: 700;
  margin-bottom: 4px;
}

.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 2rem;
  border: 1px solid var(--border);
}

/* Resources */

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

.resource-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  min-height: 240px;
  overflow: hidden;
  transition: transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

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

.resource-card h3 {
  margin: 0.3rem 0 0.6rem;
}

.resource-card p {
  color: var(--text-muted);
  flex: 1;
}

/* Reveal */

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: fadeUp 0.8s var(--ease) forwards;
}

.reveal-d1 { animation-delay: 0.08s; }
.reveal-d2 { animation-delay: 0.16s; }
.reveal-d3 { animation-delay: 0.24s; }
.reveal-d4 { animation-delay: 0.32s; }

@keyframes fadeUp {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal,
  .hero-media img {
    animation: none !important;
    opacity: 1;
    transform: none;
  }
}

/* Mobile CTA bar */

.mobile-cta {
  display: none;
}

/* Responsive */

@media (max-width: 1080px) {
  .nav-links {
    display: none;
  }

  .nav-actions .nav-refer {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: none;
    padding: 8px 0 24px;
    border-top: 1px solid var(--border);
  }

  .mobile-drawer.open {
    display: block;
  }

  .mobile-drawer a {
    display: block;
    padding: 13px 4px;
    color: var(--navy);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 1.05rem;
    border-bottom: 1px solid var(--border);
  }

  .mobile-drawer .btn {
    width: 100%;
    margin-top: 16px;
  }

  .split,
  .audience,
  .form-shell,
  .contact-split {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .form-aside {
    position: static;
  }

  .split-media img,
  .audience-media img {
    height: 380px;
  }

  .people-row {
    grid-template-columns: 1fr 1fr;
  }

  .services-grid,
  .services-grid .service-card:nth-child(4),
  .services-grid .service-card:nth-child(5) {
    grid-template-columns: 1fr 1fr;
    grid-column: auto;
  }

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

  .service-card {
    grid-column: auto;
  }

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

  .steps::before {
    display: none;
  }

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

  .goal-grid,
  .resource-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  :root {
    --nav-h: 72px;
  }

  body {
    overflow-x: hidden;
  }

  .nav {
    gap: 12px;
  }

  .nav-actions .btn {
    display: none;
  }

  .container,
  .container-wide {
    width: min(100% - 28px, var(--container));
  }

  .section {
    padding: 3.6rem 0;
  }

  .logo-full {
    display: none;
  }

  .logo-on-dark .logo-full {
    display: block;
    height: 52px;
  }

  .logo-mark-img {
    display: block;
  }

  .hero {
    min-height: 78vh;
    align-items: flex-end;
  }

  .hero-content {
    padding: 3.2rem 0 5.2rem;
  }

  .hero-media img {
    object-position: center 18%;
  }

  .people-row img {
    height: 170px;
  }

  .page-hero.has-photo {
    min-height: 360px;
  }

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

  .btn-row {
    flex-direction: column;
    align-items: stretch;
  }

  .btn-row .btn {
    width: 100%;
  }

  .services-grid,
  .steps,
  .goal-grid,
  .resource-grid,
  .belief-grid,
  .select-cards,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .split-media img,
  .audience-media img,
  .photo-block {
    height: 280px;
    border-radius: 28px;
  }

  .split-media::before,
  .path-accent {
    display: none;
  }

  .form-card,
  .contact-form-wrap,
  .contact-panel,
  .form-aside {
    padding: 1.35rem 1.15rem;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .mobile-cta {
    display: block;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom));
    background: rgba(247, 244, 237, 0.94);
    backdrop-filter: blur(12px);
    border-top: 1px solid var(--border);
  }

  .mobile-cta .btn {
    width: 100%;
  }

  body.has-mobile-cta {
    padding-bottom: 84px;
  }

  .page-hero {
    padding: 3.2rem 0 2.8rem;
  }
}
