/* Connections of Hope — brand styles */
@font-face {
  font-family: "ES Script Thin Lush";
  src:
    url("../assets/fonts/ESScript-ThinLush.otf") format("opentype"),
    url("../assets/fonts/ESScript-ThinLush.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #33556a;
  --steel: #436a88;
  --slate: #5f809e;
  --mist: #c3cdd6;
  --gold: #f3d593;
  --navy-soft: color-mix(in srgb, var(--navy) 12%, white);
  --steel-soft: color-mix(in srgb, var(--steel) 14%, white);
  --slate-soft: color-mix(in srgb, var(--slate) 16%, white);
  --gold-soft: color-mix(in srgb, var(--gold) 28%, white);
  --ink: #243846;
  --paper: #f7f9fb;
  --white: #ffffff;

  --font-serif: "Iowan Old Style", "IowanOldStyle", "Libre Baskerville", Georgia, serif;
  --font-script: "ES Script Thin Lush", "Great Vibes", cursive;
  --font-sans: "Iowan Old Style", "IowanOldStyle", "Libre Baskerville", Georgia, serif;

  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 1.75rem;
  --space-lg: 3rem;
  --space-xl: 5rem;
  --space-2xl: 7.5rem;

  --header-h: 130px;
  --header-bg: var(--slate);
  --photo-edge-left: 0px;
  --photo-edge-right: 0px;
  --photo-pad-left: 40px;
  --photo-pad-right: 40px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --max: min(72rem, 96vw);
  --chrome-width: 80%;
  --layout-pad-x: clamp(1rem, 4vw, 2rem);
  /* Fill the grid column so side-by-side layout stays stable across laptop/desktop */
  --media-col: 100%;

  /* CTA scale tracks both viewport axes so buttons stay proportional */
  --cta-font: clamp(0.7rem, calc(0.45rem + 0.35vw + 0.3vh), 1.05rem);
  --cta-pad-y: clamp(0.55rem, calc(0.35rem + 0.28vw + 0.25vh), 0.95rem);
  --cta-pad-x: clamp(0.9rem, calc(0.55rem + 0.5vw + 0.35vh), 1.5rem);
  --cta-min-w: clamp(9rem, calc(7rem + 4vw + 3vh), 14rem);
  --cta-radius: clamp(8px, calc(6px + 0.25vw + 0.2vh), 12px);
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--slate);
  -webkit-font-smoothing: antialiased;
}

main {
  background: var(--slate);
}

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

img:not(.hero-bg) {
  border-radius: 10px;
}

a {
  color: var(--steel);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.2em;
  transition: color 0.2s var(--ease);
}

a:hover {
  color: var(--navy);
}

h1,
h2,
h3 {
  font-family: var(--font-serif);
  font-weight: 400;
  line-height: 1.25;
  color: var(--navy);
  letter-spacing: 0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0 0 var(--space-sm);
}

h2 {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
  margin: 0 0 var(--space-sm);
}

h3 {
  font-size: 1.25rem;
  margin: 0 0 var(--space-xs);
}

p {
  margin: 0 0 var(--space-sm);
}

p:last-child {
  margin-bottom: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.skip-link {
  position: absolute;
  left: var(--space-sm);
  top: -100px;
  z-index: 100;
  background: var(--navy);
  color: var(--white);
  padding: 0.65rem 1rem;
  border-radius: 0.25rem;
}

.skip-link:focus {
  top: var(--space-sm);
  color: var(--white);
}

/* Header — full-width bar; content stays within chrome width */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  box-shadow: none;
  overflow: visible;
}

.header-inner {
  max-width: none;
  width: var(--chrome-width);
  margin: 0 auto;
  padding: 0 var(--layout-pad-x);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-sm);
  box-sizing: border-box;
  overflow: visible;
}

.brand {
  --header-logo-h: 89px;
  --header-logo-ratio: 1050 / 600; /* transparent-logo.png native ratio */
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0;
  text-decoration: none;
  color: inherit;
  min-width: 0;
  margin-block: 5px;
}

.site-header .brand-mark {
  flex-shrink: 0;
  height: var(--header-logo-h);
  width: calc(var(--header-logo-h) * var(--header-logo-ratio));
  aspect-ratio: var(--header-logo-ratio);
  object-fit: contain;
  background: var(--white);
  border-radius: 50%;
  padding: 14px 12px 8px;
  box-sizing: content-box;
  margin: 0;
}

.brand-counseling {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: clamp(0.85rem, 1.6vw, 1.1rem);
  font-weight: 500;
  line-height: calc(1.15em + 4px);
  color: var(--white);
  background: var(--header-bg);
  white-space: normal;
  text-align: center;
  padding: 0.15em 0.35em;
  border-radius: 5px;
  margin-top: 0;
  margin-left: 5px;
}

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

.site-nav a {
  font-size: 1.035rem;
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--white);
  text-decoration: none;
  position: relative;
}

.site-nav > a::after,
.nav-item > a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -0.3rem;
  height: 2px;
  background: var(--gold);
  transition: right 0.3s var(--ease);
}

.site-nav > a:hover::after,
.site-nav > a:focus-visible::after,
.nav-item > a:hover::after,
.nav-item:focus-within > a::after,
.nav-item:hover > a::after {
  right: 0;
}

.site-nav > a:hover,
.site-nav > a:focus-visible,
.nav-item > a:hover,
.nav-item > a:focus-visible,
.nav-item:hover > a,
.nav-item:focus-within > a {
  color: var(--gold);
}

.nav-item {
  position: relative;
}

.nav-submenu {
  list-style: none;
  margin: 0;
  /* Top padding bridges the gap so hover is not lost between parent and menu */
  padding: 0.65rem 0 0.55rem;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 14rem;
  background: transparent;
  border: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(0.35rem);
  pointer-events: none;
  transition: opacity 0.2s var(--ease), transform 0.2s var(--ease), visibility 0.2s;
  z-index: 60;
}

.nav-submenu::before {
  content: "";
  position: absolute;
  top: 0.65rem;
  right: 0;
  bottom: 0;
  left: 0;
  background: color-mix(in srgb, var(--white) 96%, transparent);
  backdrop-filter: blur(12px);
  border: 1px solid var(--mist);
  border-radius: 8px;
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--ink) 18%, transparent),
    0 2px 8px color-mix(in srgb, var(--navy) 12%, transparent);
  z-index: -1;
  pointer-events: none;
}

.nav-item:hover .nav-submenu,
.nav-item:focus-within .nav-submenu {
  opacity: 1;
  visibility: visible;
  transform: none;
  pointer-events: auto;
}

.nav-submenu a {
  display: block;
  position: relative;
  z-index: 1;
  padding: 0.55rem 1rem;
  color: var(--navy);
  white-space: nowrap;
}

.nav-submenu a:hover,
.nav-submenu a:focus-visible {
  color: var(--steel);
  background: color-mix(in srgb, var(--mist) 35%, transparent);
}

.nav-toggle {
  display: none;
  width: 2.5rem;
  height: 2.5rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  gap: 0.4rem;
}

.nav-toggle__bar {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s var(--ease);
}

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

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

/* Hero — cover image starts below the header */
.hero {
  position: relative;
  margin-top: var(--header-h);
  min-height: calc(100svh - var(--header-h));
  overflow: hidden;
  color: var(--navy);
}

.hero-visual {
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: var(--chrome-width);
  padding: 0;
  box-sizing: border-box;
  z-index: 0;
  overflow: hidden;
  background: transparent;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 1;
  border-radius: 10px;
}

.hero-mist {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  background:
    linear-gradient(
      180deg,
      color-mix(in srgb, var(--white) 35%, transparent) 0%,
      color-mix(in srgb, var(--mist) 28%, transparent) 45%,
      color-mix(in srgb, var(--navy) 42%, transparent) 100%
    );
  pointer-events: none;
}

.hero-content {
  /* Match .hero-visual so intro stays locked to the background image frame */
  position: absolute;
  z-index: 1;
  top: 0;
  bottom: 40px;
  left: calc((100% - var(--chrome-width)) / 2);
  width: var(--chrome-width);
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: var(--space-md);
  padding: 0 2.5rem;
  box-sizing: border-box;
  text-align: right;
  pointer-events: none;
  animation: content-rise 1.1s 0.35s var(--ease) both;
}

/* Vertical lock: fraction of the image frame height (≈ prior 384px placement) */
.hero-content::before {
  content: "";
  flex: 0 0 42%;
  width: 100%;
  pointer-events: none;
}

.hero-content > * {
  pointer-events: auto;
  width: min(36rem, 48%);
}

.hero-headline {
  margin: 0;
  font-size: 2.5rem;
  line-height: 1.3;
  color: var(--white);
  text-align: right;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.686),
    0 1px 2px rgba(0, 0, 0, 0.686),
    0 2px 6px rgba(0, 0, 0, 0.665),
    0 4px 14px rgba(0, 0, 0, 0.665),
    0 8px 28px rgba(0, 0, 0, 0.63),
    0 14px 48px rgba(0, 0, 0, 0.595),
    0 0 40px rgba(0, 0, 0, 0.525);
}

.hero-lede {
  max-width: none;
  margin: 0;
  color: var(--paper);
  font-size: 2.0412rem;
  line-height: 1.55;
  text-align: right;
  text-shadow:
    0 0 2px rgba(0, 0, 0, 0.686),
    0 1px 2px rgba(0, 0, 0, 0.686),
    0 2px 6px rgba(0, 0, 0, 0.665),
    0 4px 14px rgba(0, 0, 0, 0.665),
    0 8px 28px rgba(0, 0, 0, 0.63),
    0 14px 48px rgba(0, 0, 0, 0.595),
    0 0 40px rgba(0, 0, 0, 0.525);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.85rem;
  margin-top: -35px;
}

.hero-actions .btn {
  min-width: var(--cta-min-w);
  justify-content: center;
  text-align: center;
  font-size: var(--cta-font);
  padding: var(--cta-pad-y) var(--cta-pad-x);
  border-radius: var(--cta-radius);
}

.hero-actions .btn--ghost {
  color: var(--white);
  border-color: var(--white);
  text-shadow: 0 1px 8px color-mix(in srgb, var(--navy) 40%, transparent);
}

.hero-actions .btn--ghost:hover {
  background: color-mix(in srgb, var(--white) 14%, transparent);
  color: var(--white);
  border-color: var(--white);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.85rem 1.35rem;
  border-radius: 10px;
  border: 1.5px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease), transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.btn--gold {
  background: var(--gold);
  color: var(--navy);
  border-color: var(--gold);
  box-shadow:
    0 8px 20px color-mix(in srgb, var(--ink) 40%, transparent),
    0 3px 8px color-mix(in srgb, var(--navy) 30%, transparent);
}

.btn--gold:hover {
  background: color-mix(in srgb, var(--gold) 85%, white);
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px color-mix(in srgb, var(--ink) 48%, transparent),
    0 5px 12px color-mix(in srgb, var(--navy) 34%, transparent);
}

.btn--ghost {
  background: transparent;
  color: var(--white);
  border-color: color-mix(in srgb, var(--white) 55%, transparent);
}

.btn--ghost:hover {
  background: color-mix(in srgb, var(--white) 12%, transparent);
  color: var(--white);
  border-color: var(--white);
}

/* Sections */
.section {
  padding: 75px 0 var(--space-2xl);
}

.section:not(.about) {
  padding-top: 75px;
}

.section-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--layout-pad-x);
}

.eyebrow {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--slate);
  margin: 0 0 var(--space-sm);
}

.eyebrow--on-dark {
  color: var(--gold);
}

.section-head {
  max-width: 38rem;
  margin-bottom: var(--space-lg);
}

.section-intro {
  color: color-mix(in srgb, var(--ink) 80%, var(--slate));
}

/* Split sections — text + image side by side (~50% screen for media) */
.split-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
}

.split-inner--reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.split-inner--reverse .split-copy {
  order: 2;
}

.split-inner--reverse .split-media {
  order: 1;
}

.split-copy h2 {
  margin-bottom: var(--space-md);
}

.split-media {
  margin: 0;
  width: var(--media-col);
  max-width: 100%;
  justify-self: center;
}

.split-media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
  object-position: center;
  box-shadow:
    0 0.35rem 1rem color-mix(in srgb, var(--navy) 14%, transparent),
    0 0.85rem 2rem color-mix(in srgb, var(--navy) 10%, transparent);
}

.split-media--face {
  width: var(--media-col);
  max-width: 100%;
}

.split-media--face img {
  object-position: center top;
}

.approach-office {
  margin-top: calc(var(--space-xl) * 0.7);
  align-items: start;
  gap: clamp(2.5rem, 6vw, 5rem);
  overflow: visible;
}

.approach-office .split-copy {
  min-width: 0;
  padding-right: 0.5rem;
}

.split-media--office {
  width: 100%;
  max-width: 100%;
  justify-self: stretch;
  align-self: start;
  transform: scale(1.5);
  transform-origin: top left;
  margin-left: 0.75rem;
}

.split-media--office img {
  width: 100%;
  height: auto;
  display: block;
}

.office-title {
  margin: 0 0 var(--space-md);
  font-family: var(--font-serif);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
  line-height: 1.35;
  color: var(--gold);
}

.office-points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: var(--space-md);
}

.office-points li {
  padding-left: 1rem;
  border-left: 2px solid var(--gold);
  color: var(--mist);
  line-height: 1.5;
}

/* About / Welcome — fills viewport under header; content vertically centered */
.about {
  background: var(--mist);
  color: var(--ink);
  min-height: calc(100svh - var(--header-h));
  display: flex;
  flex-direction: column;
  justify-content: center;
  scroll-margin-top: var(--header-h);
  padding-top: 45px;
  padding-bottom: 30px;
  box-sizing: border-box;
}

.about-inner {
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-lg) * 0.7);
  width: 100%;
}

.about-banner-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: clamp(1.25rem, 3vw, 2rem);
  align-items: stretch;
}

.welcome-banner {
  margin: 0;
  width: 100%;
  max-width: none;
  padding: clamp(1.25rem, 3vw, 2rem) clamp(1.5rem, 4vw, 2.5rem);
  border: 1px solid var(--slate);
  border-radius: 5px;
  background: var(--gold-soft);
  color: var(--navy);
  box-shadow:
    0 10px 24px color-mix(in srgb, var(--ink) 42%, transparent),
    0 4px 10px color-mix(in srgb, var(--navy) 28%, transparent);
  box-sizing: border-box;
  height: 100%;
}

.welcome-banner h2 {
  margin: 0 0 var(--space-sm);
  text-align: center;
  color: var(--navy);
}

.welcome-banner p {
  margin: 0;
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--navy);
  text-align: left;
}

.about-media {
  margin: 0;
  width: 100%;
  max-width: 100%;
  align-self: stretch;
}

.about-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
  object-position: center;
  box-shadow:
    0 0.35rem 1rem color-mix(in srgb, var(--navy) 14%, transparent),
    0 0.85rem 2rem color-mix(in srgb, var(--navy) 10%, transparent);
}

.about-copy {
  max-width: 48rem;
}

.about .eyebrow {
  color: var(--navy);
}

.about-copy h2,
.about .split-copy h2 {
  color: var(--navy);
}

.about-copy p,
.about .split-copy p {
  color: var(--ink);
}

.about-copy strong,
.about .split-copy strong {
  color: var(--navy);
}

/* Services — list, not card grid */
.services {
  background:
    linear-gradient(180deg, color-mix(in srgb, var(--mist) 40%, white), var(--white));
}

.service-list {
  list-style: none;
  margin: var(--space-md) 0 0;
  padding: 0;
  display: grid;
  gap: 0;
  border-top: 1px solid color-mix(in srgb, var(--mist) 90%, var(--slate));
}

.service-item {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  grid-template-rows: auto auto;
  column-gap: var(--space-sm);
  padding: var(--space-md) 0;
  border-bottom: 1px solid color-mix(in srgb, var(--mist) 90%, var(--slate));
}

.service-num {
  grid-row: 1 / span 2;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  color: var(--gold);
  padding-top: 0.2rem;
}

.service-item h3 {
  grid-column: 2;
  margin-bottom: 0.35rem;
}

.service-item p {
  grid-column: 2;
  margin: 0;
  color: color-mix(in srgb, var(--ink) 82%, var(--slate));
}

.service-feature {
  max-width: 48rem;
  margin-top: var(--space-xl);
  padding-top: var(--space-lg);
  border-top: 1px solid color-mix(in srgb, var(--mist) 90%, var(--slate));
}

.service-feature h2,
.service-feature h3 {
  margin-bottom: var(--space-md);
}

.service-feature p {
  color: color-mix(in srgb, var(--ink) 88%, var(--slate));
}

.service-feature--secondary {
  margin-top: var(--space-lg);
  padding-top: var(--space-md);
}

.service-highlight {
  margin-top: var(--space-md);
  padding: var(--space-md) 0 var(--space-md) 1rem;
  border-left: 3px solid var(--gold);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.45;
  color: var(--navy);
}

/* How I Can Help */
.focus {
  background: var(--navy-soft);
  color: var(--ink);
}

.focus-title {
  margin: 0 0 var(--space-sm);
  color: var(--navy);
}

.focus-offer {
  margin: 0 0 calc(var(--space-lg) * 0.5);
  max-width: 48rem;
  padding-left: 1rem;
  border-left: 3px solid var(--gold);
  font-size: 1.0625rem;
  font-weight: 400;
  color: var(--ink);
}

.focus-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: calc(var(--space-xl) * 0.5);
}

.focus-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  grid-template-areas:
    "title ."
    "copy media";
  column-gap: clamp(1.5rem, 3vw, 3rem);
  row-gap: var(--space-sm);
  align-items: start;
  width: 100%;
  /* Padding is part of the scroll target so anchors land on clear space, not prior topics */
  padding-top: var(--space-lg);
  scroll-margin-top: var(--header-h);
}

.focus-row-title {
  grid-area: title;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
}

.focus-row-copy {
  grid-area: copy;
}

.focus-row-media {
  grid-area: media;
}

.focus-row--reverse {
  grid-template-areas:
    ". title"
    "media copy";
}

.focus-row-copy p {
  margin: 0 0 0.85rem;
  color: color-mix(in srgb, var(--ink) 88%, var(--slate));
}

.focus-row-copy p:last-child {
  margin-bottom: 0;
}

.focus-read-more {
  margin-top: 0.35rem;
}

.focus-read-more summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 600;
  list-style: none;
  width: fit-content;
  border-bottom: 1px solid var(--gold);
}

.focus-read-more summary::-webkit-details-marker {
  display: none;
}

.focus-read-more[open] summary {
  margin-bottom: 0.85rem;
}

.focus-read-more p {
  margin: 0 0 0.85rem;
  color: color-mix(in srgb, var(--ink) 88%, var(--slate));
}

.focus-read-more p:last-child {
  margin-bottom: 0;
}

.focus-row-media {
  margin: 0;
  width: var(--media-col);
  max-width: 100%;
  justify-self: center;
}

.focus-row-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: top;
  box-shadow:
    0 0.35rem 1rem color-mix(in srgb, var(--navy) 14%, transparent),
    0 0.85rem 2rem color-mix(in srgb, var(--navy) 10%, transparent);
}

/* Approach */
.approach {
  background: var(--navy);
  color: var(--white);
}

.approach-meet {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.approach-meet-intro {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  width: 100%;
}

.approach-title {
  margin: 0;
  text-align: center;
  color: var(--gold);
}

.approach-meet-grid {
  width: 100%;
  align-items: start;
}

.approach-beyond {
  width: 100%;
  max-width: none;
  margin-top: 40px;
}

.approach-beyond > .approach-subhead {
  margin-top: 0;
}

.approach-beyond p {
  color: var(--mist);
  max-width: none;
}

.approach-fees {
  width: 100%;
  margin-top: calc(var(--space-lg) * 0.7);
  padding-top: 10px;
  scroll-margin-top: var(--header-h);
}

.approach-fees .approach-subhead {
  margin-top: 0;
}

.approach-fees p {
  color: var(--mist);
  max-width: none;
}

.split-media--headshot {
  align-self: start;
  width: 100%;
  max-width: 100%;
  height: auto;
  overflow: visible;
}

.split-media--headshot img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center top;
}

.approach .eyebrow {
  color: var(--gold);
}

.approach-subhead,
.office-title {
  color: var(--gold);
}

.approach .split-copy p {
  color: var(--mist);
}

.approach-subhead {
  margin: calc(var(--space-lg) * 0.7) 0 var(--space-sm);
  color: var(--gold);
  font-size: clamp(1.35rem, 2.4vw, 1.75rem);
  font-weight: 400;
}

/* Contact */
.contact {
  background: var(--slate);
  color: var(--white);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "lead"
    "body"
    "media"
    "alt"
    "privacy";
  row-gap: calc(var(--space-lg) * 0.7);
  align-items: start;
}

.contact-lead {
  grid-area: lead;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

.contact-title {
  margin: 0;
  width: 100%;
  color: var(--white);
  text-align: center;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2.4vw, 1.88rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: 0.02em;
}

.contact-title-line {
  display: block;
  text-align: center;
  width: fit-content;
  margin-inline: auto;
}

.contact-title-hope {
  display: block;
  margin-top: 30px;
  text-align: center;
}

.contact-intro-block {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.65rem;
  max-width: 40rem;
}

.contact-intro {
  margin: 0;
  color: var(--white);
  font-weight: 700;
  text-align: center;
}

.contact-body {
  grid-area: body;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  text-align: center;
  width: 100%;
}

.contact-media {
  grid-area: media;
  margin: 0;
  width: 75%;
  max-width: 100%;
  justify-self: center;
}

.contact-media img {
  width: 100%;
  height: auto;
  max-height: min(21rem, 37.5vh);
  object-fit: cover;
  object-position: center;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: min(100%, 40rem);
  text-align: center;
}

.contact-meta-note {
  margin: 0;
  color: var(--white);
  font-weight: 400;
  font-size: 1.105rem;
  font-style: italic;
  line-height: 1.45;
}

.contact-rather {
  margin: 0;
  color: var(--white);
  font-weight: 600;
  font-size: 1em;
  line-height: 1.45;
}

.contact-alt {
  grid-area: alt;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  text-align: center;
}

.contact-cta {
  display: inline-flex;
  margin-top: 0;
  font-size: var(--cta-font);
  padding: var(--cta-pad-y) var(--cta-pad-x);
  border-radius: var(--cta-radius);
  min-width: var(--cta-min-w);
  justify-content: center;
  text-align: center;
}

.contact-meta {
  font-style: normal;
  margin: 0;
  color: var(--mist);
  text-align: center;
}

.contact-meta p {
  margin: 0 0 0.35rem;
}

.contact-meta p:last-child {
  margin-bottom: 0;
}

.contact-meta a {
  color: var(--gold);
  font-weight: 500;
  text-decoration: none;
  border-bottom: 1px solid var(--gold);
  overflow-wrap: anywhere;
}

.contact-privacy-block {
  grid-area: privacy;
  width: 100%;
  text-align: center;
}

.contact-privacy-label {
  margin: 0 0 0.4rem;
  font-weight: 600;
  color: var(--white);
}

.contact-privacy {
  margin: 0 auto;
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.5;
  color: var(--mist);
  max-width: 48rem;
}


/* Footer */
.site-footer {
  background: var(--slate-soft);
  color: var(--navy);
  padding: 30px 0 var(--space-lg);
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--layout-pad-x);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 1.25rem 2rem;
  text-align: center;
}

.brand--footer {
  flex-shrink: 0;
}

.brand--footer .brand-mark {
  height: 7.5rem;
  width: auto;
  aspect-ratio: 1050 / 600;
  object-fit: contain;
}

.footer-location {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem 1.25rem;
}

.footer-address {
  margin: 0;
  font-style: normal;
  font-size: 0.9rem;
  line-height: 1.45;
  color: var(--navy);
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.footer-map-link {
  display: block;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow:
    0 0.25rem 0.75rem color-mix(in srgb, var(--navy) 18%, transparent);
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.footer-map-link:hover,
.footer-map-link:focus-visible {
  transform: translateY(-2px);
  box-shadow:
    0 0.4rem 1rem color-mix(in srgb, var(--navy) 28%, transparent);
}

.footer-map {
  display: block;
  width: clamp(4.5rem, 9vw, 6rem);
  height: auto;
  object-fit: cover;
}

.footer-address strong {
  display: block;
  margin: 0;
  line-height: 1.25;
  font-family: var(--font-serif);
  font-weight: 400;
  font-size: 0.95rem;
}

.footer-address-link {
  display: block;
  margin: 0;
  white-space: pre-line;
  opacity: 0.92;
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.footer-address-link:hover,
.footer-address-link:focus-visible {
  opacity: 1;
  border-bottom-color: var(--navy);
}

.footer-copy {
  margin: 0;
  flex: 1 1 100%;
  font-size: 0.88rem;
  color: var(--navy);
  opacity: 0.9;
}

/* Reveal motion */
[data-reveal] {
  opacity: 0;
  transform: translateY(1.25rem);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: none;
}


/* Animations */
@keyframes sun-rise {
  from {
    opacity: 0;
    transform: translateY(2rem) scale(0.9);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes sun-glow {
  0%,
  100% {
    box-shadow: 0 0 50px color-mix(in srgb, var(--gold) 45%, transparent);
  }
  50% {
    box-shadow: 0 0 80px color-mix(in srgb, var(--gold) 70%, transparent);
  }
}

@keyframes mtn-in {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes content-rise {
  from {
    opacity: 0;
    transform: translateY(1.5rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes water-shimmer {
  0%,
  100% {
    opacity: 0.55;
  }
  50% {
    opacity: 0.95;
  }
}

/* Responsive — keep side-by-side layouts through laptop/desktop; stack under 1024px */
@media (max-width: 1024px) {
  :root {
    --header-h: 130px;
  }

  .split-inner,
  .split-inner--reverse,
  .focus-row {
    grid-template-columns: 1fr;
  }

  .split-inner--reverse .split-copy,
  .split-inner--reverse .split-media {
    order: unset;
  }

  .focus-row,
  .focus-row--reverse {
    grid-template-areas:
      "title"
      "copy"
      "media";
  }

  .split-media,
  .split-media--face,
  .focus-row-media {
    width: min(100%, 22rem);
    max-width: 100%;
    justify-self: center;
  }

  .approach-meet-grid {
    align-items: start;
  }

  .split-media--headshot {
    height: auto;
    width: min(100%, 22rem);
  }

  .split-media--headshot img {
    height: auto;
    width: 100%;
  }

  .approach-office {
    gap: var(--space-lg);
  }

  .split-media--office {
    width: min(100%, 22rem);
    transform: none;
    margin-left: 0;
    justify-self: center;
  }

  .service-item {
    grid-template-columns: 3rem 1fr;
  }

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

  .about-media img {
    height: auto;
    min-height: 0;
  }

  .brand {
    --header-logo-h: 66.75px;
  }

  .brand-counseling {
    font-size: clamp(0.72rem, 2.8vw, 0.9rem);
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 2;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: var(--space-sm);
    background: color-mix(in srgb, var(--white) 96%, transparent);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--mist);
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.35s var(--ease), opacity 0.35s var(--ease);
    max-height: calc(100svh - var(--header-h));
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .site-nav.is-open {
    transform: none;
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav a {
    padding: 0.85rem 0.75rem;
    border-bottom: 1px solid color-mix(in srgb, var(--mist) 70%, transparent);
    color: var(--navy);
  }

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

  .site-nav > a:last-child {
    border-bottom: 0;
  }

  .site-nav > a::after,
  .nav-item > a::after {
    display: none;
  }

  .nav-item {
    border-bottom: 1px solid color-mix(in srgb, var(--mist) 70%, transparent);
  }

  .nav-item > a {
    border-bottom: 0;
  }

  .nav-submenu {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 0.35rem;
    row-gap: 0;
    opacity: 1;
    visibility: visible;
    transform: none;
    pointer-events: auto;
    min-width: 0;
    width: 100%;
    margin: 0;
    padding: 0 0.5rem 0.45rem 0.75rem;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    backdrop-filter: none;
  }

  .nav-submenu::before {
    display: none;
  }

  .nav-submenu a {
    padding: 0.28rem 0.4rem;
    border-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.3;
    color: color-mix(in srgb, var(--navy) 82%, var(--slate));
    white-space: normal;
  }

  .hero-bg {
    object-fit: cover;
    object-position: center top;
  }

  .hero-content {
    left: calc((100% - var(--chrome-width)) / 2 + 20px);
    width: calc(var(--chrome-width) - 40px);
    top: calc(28% + 30px);
    bottom: auto;
    height: auto;
    align-items: center;
    text-align: center;
    padding: 0;
  }

  .hero-content::before {
    display: none;
  }

  .hero-content > * {
    width: 100%;
  }

  .hero-headline {
    font-size: clamp(2.12625rem, 3.78vw, 2.91375rem);
    text-align: center;
  }

  .hero-lede {
    text-align: center;
    font-size: 1.89rem;
  }

  .hero-actions {
    justify-content: center;
  }

}

/* Welcome placeholder (welcome.html) — hero + header logo only */
html:has(.page-placeholder),
.page-placeholder {
  overflow: hidden;
  height: 100%;
  overscroll-behavior: none;
}

.page-placeholder {
  background: var(--mist);
  min-height: 100svh;
  max-height: 100svh;
}

.page-placeholder .site-header .header-inner {
  justify-content: flex-start;
}

.page-placeholder .hero {
  min-height: calc(100svh - var(--header-h));
}

.page-placeholder .hero-lede:empty {
  display: none;
}

.page-placeholder .hero-content > .hero-headline {
  width: min(36rem, 48%);
}

@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;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }
}
