/* ==========================================================================
   DFW Immigrant Law Center — Page layouts
   Hero variants, splits, timelines, and per-page compositions.
   ========================================================================== */

/* Hero background images: absolutely fill their container so the picture
   element never collapses or paints outside the clipped section. */
.hero__media,
.image-hero__bg,
.sfb-hero__bg,
.giv-hero__bg,
.final-cta__bg {
  overflow: hidden;
}

.hero__media img,
.image-hero__bg img,
.sfb-hero__bg img,
.giv-hero__bg img,
.final-cta__bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Promote the image to its own compositing layer. Without this, some
     engines fail to paint a full-bleed image behind a sibling scrim. */
  transform: translateZ(0) translateY(var(--parallax-y, 0px));
  backface-visibility: hidden;
}

/* ==========================================================================
   HOME — Hero
   ========================================================================== */

.hero {
  position: relative;
  min-height: 640px;
  display: flex;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
  background: #2a2419;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Keep the family clear of the left-hand headline column. */
  object-position: 72% center;
}

@media (min-width: 1024px) {
  .hero__media img {
    object-position: 66% center;
  }
}

/* On very wide screens the hero is much wider than the photo, so the crop is
   tall. Anchor toward the top to keep the family's faces in frame. */
@media (min-width: 1600px) {
  .hero__media img {
    object-position: 66% 20%;
  }
}

/* Warm gradient wash rising from bottom-left */
.hero__wash {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      100deg,
      rgba(24, 29, 22, 0.9) 0%,
      rgba(28, 32, 24, 0.74) 34%,
      rgba(33, 41, 52, 0.34) 62%,
      rgba(33, 41, 52, 0.12) 100%
    ),
    linear-gradient(to top, rgba(20, 24, 30, 0.78) 0%, transparent 55%);
}

/* Sunrise radial glow, blooms in on load */
.hero__glow {
  position: absolute;
  top: -18%;
  right: -6%;
  width: 78vw;
  height: 78vw;
  max-width: 1000px;
  max-height: 1000px;
  z-index: 1;
  background: radial-gradient(
    circle at center,
    rgba(233, 168, 62, 0.42) 0%,
    rgba(233, 168, 62, 0.16) 34%,
    rgba(233, 168, 62, 0) 66%
  );
  opacity: 0;
  transform: scale(0.86);
  pointer-events: none;
}

.js .hero__glow {
  animation: glow-bloom 1.2s var(--ease-out) 0.1s forwards;
}

@keyframes glow-bloom {
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-block: clamp(96px, 12vw, 132px) clamp(80px, 9vw, 112px);
}

.hero__content {
  max-width: 620px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  margin: 0 0 22px;
  padding: 8px 15px 8px 11px;
  border: 1px solid rgba(251, 247, 240, 0.28);
  border-radius: var(--r-pill);
  background: rgba(20, 24, 30, 0.32);
  backdrop-filter: blur(3px);
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.01em;
  color: rgba(251, 247, 240, 0.94);
}

.hero__eyebrow svg {
  width: 15px;
  height: 15px;
  color: var(--gold);
  flex: none;
}

.hero h1 {
  color: var(--cream);
  margin-bottom: 20px;
  text-shadow: 0 2px 26px rgba(20, 24, 30, 0.35);
}

.hero h1 .hl {
  white-space: normal;
}

.hero__sub {
  max-width: 52ch;
  margin: 0 0 30px;
  font-size: clamp(1.0625rem, 1rem + 0.35vw, 1.2rem);
  line-height: 1.62;
  color: rgba(251, 247, 240, 0.9);
  text-shadow: 0 1px 16px rgba(20, 24, 30, 0.4);
}

.hero__ctas {
  margin-bottom: 26px;
}

.hero__ctas {
  gap: 10px;
}

.hero__ctas .btn {
  min-height: 54px;
  padding: 15px 21px;
  font-size: 0.9375rem;
}

.hero__ctas .btn svg {
  width: 17px;
  height: 17px;
}

.hero .trust-chips {
  gap: 6px;
}

.hero .trust-chip {
  padding: 6px 10px;
  font-size: 0.6875rem;
}

.hero .trust-chip svg {
  width: 12px;
  height: 12px;
}

/* Load-in stagger for hero elements */
.js .hero__eyebrow,
.js .hero__line,
.js .hero__sub,
.js .hero__ctas,
.js .hero .trust-chip {
  opacity: 0;
  transform: translateY(20px);
}

.js .hero__eyebrow {
  animation: hero-rise 0.7s var(--ease-out) 0.05s forwards;
}

.js .hero__line {
  animation: hero-rise 0.8s var(--ease-out) forwards;
}

.js .hero__line:nth-of-type(1) {
  animation-delay: 0.16s;
}

.js .hero__line:nth-of-type(2) {
  animation-delay: 0.31s;
}

.js .hero__sub {
  animation: hero-rise 0.8s var(--ease-out) 0.46s forwards;
}

.js .hero__ctas {
  animation: hero-rise 0.8s var(--ease-out) 0.6s forwards;
}

.js .hero .trust-chip {
  animation: chip-settle 0.62s var(--ease-settle) forwards;
}

.js .hero .trust-chip:nth-child(1) {
  animation-delay: 0.74s;
}

.js .hero .trust-chip:nth-child(2) {
  animation-delay: 0.86s;
}

.js .hero .trust-chip:nth-child(3) {
  animation-delay: 0.98s;
}

@keyframes hero-rise {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes chip-settle {
  0% {
    opacity: 0;
    transform: translateY(-10px) scale(0.96);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .js .hero__glow,
  .js .hero__eyebrow,
  .js .hero__line,
  .js .hero__sub,
  .js .hero__ctas,
  .js .hero .trust-chip {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }

  .hero__glow {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 768px) {
  .hero {
    min-height: 680px;
  }

  .hero__content {
    max-width: 70%;
  }
}

@media (min-width: 1024px) {
  .hero {
    min-height: 720px;
  }

  .hero__content {
    max-width: 49%;
    min-width: 520px;
  }

  .hero__inner {
    padding-block: 120px 112px;
  }
}

@media (max-width: 767px) {
  /* PRD mobile spec: photo crops to a portrait frame, the copy overlays its
     lower third on an ink scrim, and the CTAs stack full-width. The scrim
     resolves to the section ink so the photo and the copy read as one
     composition rather than a picture stacked above a text block. */
  .hero {
    --hero-ink: #1d232b;
    min-height: 0;
    display: block;
    background: var(--hero-ink);
    padding-top: 0;
  }

  .hero__media {
    position: relative;
    inset: auto;
    z-index: 0;
    /* Height, not aspect-ratio: a max-height cap on an aspect-ratio box also
       caps the width, which left the photo short of the right edge in
       landscape. A plain height keeps the frame full-bleed at every ratio.
       Sized in vh so short phones do not give the whole first screen to the
       photo and push the headline and CTAs below the fold. */
    height: clamp(240px, 46vh, 400px);
    min-height: 0;
    max-height: none;
  }

  .hero__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Hold the family in the upper half so the copy lands on pavement. */
    object-position: 50% 30%;
    transform: none;
  }

  .hero__wash {
    z-index: 1;
    background: linear-gradient(
        to bottom,
        rgba(20, 24, 30, 0.32) 0%,
        rgba(20, 24, 30, 0.06) 22%,
        rgba(20, 24, 30, 0) 46%,
        rgba(22, 27, 34, 0.34) 64%,
        rgba(25, 31, 39, 0.72) 80%,
        rgba(28, 34, 42, 0.94) 93%,
        var(--hero-ink) 100%
      );
  }

  /* PRD: mobile glow is static, not blooming. Kept faint so it reads as light
     trapped in the canopy rather than a disc behind the headline. */
  .hero__glow {
    top: -12%;
    right: -34%;
    bottom: auto;
    width: 108vw;
    height: 108vw;
    z-index: 1;
    opacity: 0.34;
    transform: none;
  }

  .js .hero__glow {
    animation: none;
    opacity: 0.34;
    transform: none;
  }

  /* The global reduced-motion rule forces full glow opacity with !important,
     which would turn this faint haze into a bright disc behind the copy. */
  @media (prefers-reduced-motion: reduce) {
    .hero__glow,
    .js .hero__glow {
      opacity: 0.34 !important;
      transform: none !important;
    }
  }

  /* Lift the copy onto the photo's lower third. The headline sits on the
     scrim; the sub-copy, CTAs and chips continue past the frame on ink. The
     overlap scales with width so the headline lands on the photo at every
     phone size instead of floating below it. */
  .hero__inner {
    position: relative;
    z-index: 2;
    margin-top: clamp(-168px, -34vw, -104px);
    padding-block: 0 40px;
  }

  .hero__content {
    max-width: 100%;
  }

  .hero__eyebrow {
    font-size: 0.6875rem;
    padding: 7px 12px 7px 9px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(2.05rem, 1.5rem + 3.6vw, 2.7rem);
    margin-bottom: 14px;
  }

  .hero__sub {
    font-size: 1rem;
    margin-bottom: 24px;
  }

  .hero__ctas {
    margin-bottom: 20px;
  }

  .hero__ctas .btn {
    width: 100%;
    min-height: 52px;
  }

  .hero .trust-chips {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6px;
  }

  .hero .trust-chip {
    justify-content: center;
    padding: 8px 6px;
    font-size: 0.6875rem;
    text-align: center;
  }

  .hero .trust-chip:last-child {
    grid-column: span 2;
  }

  .hero .trust-chip svg {
    width: 12px;
    height: 12px;
  }
}

/* Short phones (SE-class, 568–720px tall) cannot fit a tall portrait photo
   plus the full copy block. Shrink the frame to a banner and tighten the type
   so the headline and both CTAs still land on the first screen. */
@media (max-width: 767px) and (max-height: 720px) {
  .hero__media {
    height: clamp(158px, 30vh, 250px);
  }

  /* The banner is a wide slice of a portrait photo, so anchor higher than the
     taller layout or the adults' heads crop off the top. */
  .hero__media img {
    object-position: 50% 14%;
  }

  .hero__inner {
    margin-top: -40px;
    padding-block: 0 32px;
  }

  .hero__eyebrow {
    font-size: 0.625rem;
    padding: 5px 10px 5px 8px;
    margin-bottom: 8px;
  }

  .hero h1 {
    font-size: clamp(1.7rem, 1.25rem + 3vw, 2.15rem);
    margin-bottom: 8px;
  }

  .hero__sub {
    font-size: 0.9375rem;
    line-height: 1.5;
    margin-bottom: 12px;
  }

  .hero__ctas {
    gap: 8px;
    margin-bottom: 12px;
  }

  .hero__ctas .btn {
    min-height: 48px;
  }
}

/* ==========================================================================
   HOME — Tagline band with bridge
   ========================================================================== */

.tagline-band {
  position: relative;
  padding-block: clamp(56px, 8vw, 84px);
  background: var(--cream);
  text-align: center;
  overflow: hidden;
}

.tagline-band__sun {
  position: absolute;
  left: 50%;
  top: 50%;
  width: min(720px, 120vw);
  height: min(720px, 120vw);
  transform: translate(-50%, -50%);
  color: var(--gold);
  opacity: 0.05;
  pointer-events: none;
}

.tagline-band__text {
  position: relative;
  z-index: 1;
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.15rem + 1.5vw, 2rem);
  font-weight: 400;
  line-height: 1.42;
  color: var(--ink);
  letter-spacing: -0.01em;
}

.tagline-band__bridge {
  position: relative;
  z-index: 1;
  width: min(320px, 76vw);
  height: auto;
  margin: 20px auto 0;
  overflow: visible;
  cursor: pointer;
  background: none;
  border: 0;
  padding: 0;
  display: block;
  color: var(--gold);
}

.tagline-band__bridge svg {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* The three drawn strokes: arch, deck, handrail. Each draws in sequence so the
   bridge assembles itself — arch, then deck, then the rail. */
.tagline-band__bridge .bridge-arc {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  transition: stroke-dashoffset 1.1s var(--ease-out);
}

.tagline-band__bridge .bridge-arc--arch {
  stroke-width: 3;
  transition-delay: 0.15s;
}

.tagline-band__bridge .bridge-arc--deck {
  stroke-width: 2.2;
  transition-delay: 0.55s;
}

.tagline-band__bridge .bridge-arc--rail {
  stroke-width: 1.2;
  opacity: 0.55;
  transition-delay: 0.85s;
}

.tagline-band__bridge.is-drawn .bridge-arc {
  stroke-dashoffset: 0;
}

/* Structure (spandrel posts and balusters) fades in once the arcs have drawn,
   so the frame appears to support the deck rather than precede it. Kept to a
   hairline: it should read as structure, not as a picket fence. */
.tagline-band__bridge .bridge-structure {
  fill: none;
  stroke: currentColor;
  stroke-width: 0.9;
  stroke-linecap: round;
  opacity: 0;
  transition: opacity 0.5s var(--ease-out) 0.9s;
}

.tagline-band__bridge.is-drawn .bridge-structure {
  opacity: 0.45;
}

.tagline-band__bridge .bridge-abutment {
  stroke-width: 2.4;
}

.tagline-band__bridge.is-drawn .bridge-abutment {
  opacity: 0.75;
}

.tagline-band__bridge .bridge-newel {
  stroke-width: 1.6;
}

.tagline-band__bridge.is-drawn .bridge-newel {
  opacity: 0.7;
}

.tagline-band__bridge .bridge-footsteps {
  opacity: 0;
  color: var(--ink);
}

.tagline-band__bridge.is-walking .bridge-footsteps {
  animation: footsteps-walk 1.4s linear forwards;
}

/* The footsteps ride the deck: the group translates right and lifts slightly,
   following the shallow crown of the deck curve. */
@keyframes footsteps-walk {
  0% {
    opacity: 0;
    transform: translate(0, 0);
  }
  8% {
    opacity: 1;
  }
  88% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: translate(250px, -2.5px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .tagline-band__bridge .bridge-arc {
    stroke-dashoffset: 0;
    transition: none;
  }

  .tagline-band__bridge .bridge-structure {
    opacity: 0.45;
    transition: none;
  }

  .tagline-band__bridge .bridge-abutment {
    opacity: 0.75;
  }

  .tagline-band__bridge .bridge-newel {
    opacity: 0.7;
  }

  .tagline-band__bridge .bridge-footsteps {
    display: none;
  }
}

/* ==========================================================================
   HOME — Who we serve / services / etc.
   ========================================================================== */

.who-serve {
  position: relative;
  overflow: hidden;
}

.who-serve .ghost-word {
  right: 2vw;
  top: 8%;
}

.services-band {
  background: var(--cream-deep);
}

.services-band .section-head {
  max-width: 720px;
}

.services-footer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: 30px;
}

.services-footer p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-70);
}

/* Non-legal ribbon section */
.ribbon-section {
  background: var(--sprout-wash);
  padding-block: clamp(48px, 6vw, 76px);
}

.ribbon-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 24px;
}

.ribbon-head h2 {
  font-size: clamp(1.6rem, 1.3rem + 1.2vw, 2.2rem);
  margin: 0;
}

.ribbon-head p {
  max-width: 46ch;
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-70);
}

/* SFB teaser split */
.split {
  display: grid;
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
}

@media (min-width: 900px) {
  .split--55-45 {
    grid-template-columns: 1.15fr 0.85fr;
  }

  .split--45-55 {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .split--60-40 {
    grid-template-columns: 1.4fr 0.9fr;
  }
}

.split__media {
  position: relative;
}

.split__media .photo-arch {
  /* Height, not aspect-ratio: a max-height on an aspect-ratio box also caps its
     width, which left the photo narrower than the column it sits in. */
  aspect-ratio: auto;
  width: 100%;
  height: clamp(320px, 40vw, 520px);
  max-height: none;
}

.split__media--parallax img {
  transform: translateY(var(--parallax-y, 0px)) scale(1.06);
  transition: transform 0.1s linear;
}

@media (prefers-reduced-motion: reduce) {
  .split__media--parallax img {
    transform: none;
  }
}

@media (max-width: 899px) {
  .split__media {
    order: -1;
  }

  .split__media .photo-arch {
    height: clamp(240px, 62vw, 380px);
  }
}

/* How it works band */
.how-band {
  position: relative;
  overflow: hidden;
}

.how-band .sunburst {
  right: -10%;
  top: -20%;
  width: 700px;
  height: 700px;
}

.how-band__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: clamp(36px, 5vw, 56px);
}

.how-band__head h2 {
  color: var(--cream);
  margin: 0;
  max-width: 20ch;
}

.how-band__head p {
  max-width: 40ch;
  margin: 0;
  font-size: 0.9375rem;
  color: rgba(251, 247, 240, 0.72);
}

/* About preview */
.about-preview {
  position: relative;
  overflow: hidden;
}

.about-preview__grid {
  display: grid;
  gap: 32px;
}

.about-quote {
  position: relative;
  margin: 0;
  padding-left: clamp(0px, 3vw, 24px);
}

.about-quote__glyph {
  position: absolute;
  top: -34px;
  left: -18px;
  font-family: var(--font-display);
  font-size: 200px;
  line-height: 1;
  color: var(--gold);
  opacity: 0.12;
  pointer-events: none;
  user-select: none;
}

.about-quote blockquote {
  position: relative;
  margin: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(1.5rem, 1.2rem + 1.3vw, 2.1rem);
  line-height: 1.42;
  letter-spacing: -0.01em;
  /* Let the sentence break where the column actually ends. Hard-coded line
     spans produced a one-word orphan on wide screens and clipped on narrow. */
  text-wrap: balance;
  max-width: 20ch;
}

.about-quote cite {
  display: block;
  margin-top: 18px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.about-preview__body {
  align-self: center;
}

.about-preview__body p {
  color: var(--ink-70);
  font-size: 1.0625rem;
}

@media (min-width: 900px) {
  .about-preview__grid {
    grid-template-columns: 1.15fr 0.85fr;
    gap: clamp(40px, 6vw, 88px);
  }
}

/* Impact band */
.impact-band {
  position: relative;
  overflow: hidden;
}

.impact-band .sunburst {
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
  opacity: 0.05;
}

.impact-band__head {
  margin-bottom: clamp(32px, 4vw, 48px);
  max-width: 640px;
}

.impact-band__head h2 {
  color: var(--cream);
}

.impact-band__head p {
  margin-top: 12px;
  color: rgba(251, 247, 240, 0.68);
  font-size: 0.9375rem;
}

.impact-band__note {
  margin-top: 30px;
  font-size: 0.75rem;
  color: rgba(251, 247, 240, 0.42);
}

/* Visit strip */
.visit-strip {
  background: var(--sprout-wash);
}

.visit-grid {
  display: grid;
  gap: 24px;
}

.visit-col {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--sprout-line);
}

.visit-col > svg {
  width: 24px;
  height: 24px;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.visit-col h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 8px;
}

.visit-col .visit-phone {
  display: inline-block;
  padding-block: 4px;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 1.2rem + 1vw, 1.9rem);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  line-height: 1.2;
}

.visit-col .visit-phone:hover {
  color: var(--bridge);
}

.visit-col address,
.visit-col p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-70);
}

.visit-col .arrow-link {
  margin-top: 10px;
}

.visit-hours {
  margin: 0;
  font-size: 0.9375rem;
}

.visit-hours div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 5px 0;
  border-bottom: 1px solid var(--ink-04);
}

.visit-hours dt {
  color: var(--ink-55);
}

.visit-hours dd {
  margin: 0;
  text-align: right;
  font-weight: 500;
}

.visit-note {
  margin-top: 10px !important;
  font-size: 0.8125rem !important;
  color: var(--ink-55) !important;
}

@media (min-width: 768px) {
  .visit-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Ways to give */
.ways-grid {
  display: grid;
  gap: 20px;
}

.way-panel {
  position: relative;
  padding: clamp(28px, 3.5vw, 44px);
  border-radius: var(--r-md);
  overflow: hidden;
}

.way-panel--give {
  background: var(--gold);
  color: var(--ink);
}

.way-panel--give::after {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -90px;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  border: 1px solid rgba(33, 41, 52, 0.14);
  pointer-events: none;
}

.way-panel--give .way-photo {
  width: 92px;
  height: 92px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 20px;
  border: 3px solid rgba(251, 247, 240, 0.6);
}

.way-panel--give .way-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.way-panel--volunteer {
  background: transparent;
  border: 1px solid var(--ink-12);
  color: var(--ink);
}

.way-panel--volunteer .way-illustration {
  width: 92px;
  height: 92px;
  margin-bottom: 20px;
  color: var(--bridge);
}

.way-panel h3 {
  font-size: clamp(1.5rem, 1.3rem + 0.9vw, 2rem);
  margin-bottom: 10px;
}

.way-panel p {
  max-width: 40ch;
  font-size: 1rem;
  line-height: 1.62;
  margin-bottom: 22px;
}

.way-panel--give p {
  color: rgba(33, 41, 52, 0.8);
}

.way-panel--volunteer p {
  color: var(--ink-70);
}

@media (min-width: 768px) {
  .ways-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* Final CTA */
.final-cta {
  position: relative;
  min-height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--cream);
  overflow: hidden;
  isolation: isolate;
}

.final-cta__bg {
  position: absolute;
  inset: -8% 0;
  z-index: 0;
}

.final-cta__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}

.final-cta::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: radial-gradient(
      ellipse at 50% 60%,
      rgba(20, 24, 30, 0.5) 0%,
      rgba(20, 24, 30, 0.78) 70%
    ),
    linear-gradient(to top, rgba(20, 24, 30, 0.85), rgba(20, 24, 30, 0.4));
}

.final-cta__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 820px;
  padding-block: clamp(64px, 9vw, 108px);
}

.final-cta h2 {
  color: var(--cream);
  font-size: clamp(2rem, 1.5rem + 2.2vw, 3.2rem);
  margin-bottom: 14px;
}

.final-cta p {
  max-width: 52ch;
  margin: 0 auto 28px;
  font-size: clamp(1rem, 0.96rem + 0.24vw, 1.125rem);
  color: rgba(251, 247, 240, 0.88);
}

.final-cta .btn-row {
  justify-content: center;
  margin-bottom: 24px;
}

.final-cta__quiet {
  font-size: 0.875rem !important;
  color: rgba(251, 247, 240, 0.66) !important;
  margin-bottom: 0 !important;
}

.final-cta__quiet a {
  color: var(--cream);
  text-decoration-color: rgba(251, 247, 240, 0.4);
}

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about-hero {
  padding-block: clamp(48px, 6vw, 80px);
  background: var(--cream);
  overflow: hidden;
}

.about-hero__grid {
  display: grid;
  gap: 32px;
  align-items: center;
}

.about-hero h1 {
  font-size: clamp(2rem, 1.55rem + 2.2vw, 3.3rem);
  max-width: 16ch;
}

.about-hero .lede {
  margin-top: 18px;
}

.about-hero__media {
  position: relative;
}

.about-hero__media .photo-arch {
  /* Fill the column and cap the height directly. An aspect-ratio box with a
     max-height also caps its width, which left the photo narrower than the
     frame and pushed the decorative outline far off its right edge. */
  aspect-ratio: auto;
  width: 100%;
  height: clamp(320px, 42vw, 480px);
  max-height: none;
}

/* A parallel echo of the arch, not an inset frame: an identical box shifted
   down-right keeps the curve concentric. Uneven insets bent the radius out of
   line with the photo and read as a stray line rather than a design element. */
.about-hero__media::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(18px, 18px);
  border: 1px solid rgba(201, 136, 42, 0.34);
  border-radius: 999px 999px var(--r-md) var(--r-md);
  z-index: 0;
  pointer-events: none;
}

@media (min-width: 900px) {
  .about-hero__grid {
    grid-template-columns: 1.05fr 0.85fr;
    gap: clamp(40px, 6vw, 80px);
  }
}

/* Story chapters */
.chapters {
  position: relative;
  display: grid;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 26px;
  border-left: 2px solid rgba(201, 136, 42, 0.35);
}

.chapter {
  position: relative;
}

.chapter::before {
  content: "";
  position: absolute;
  left: -34px;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--gold-deep);
}

.chapter h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 6px;
}

.chapter h4 {
  font-family: var(--font-display);
  font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 8px;
}

.chapter p {
  margin: 0;
  color: var(--ink-70);
  font-size: 1rem;
}

/* Mission band */
.mission-band {
  position: relative;
  overflow: hidden;
  text-align: center;
}

.mission-band blockquote {
  margin: 0 auto;
  max-width: 24ch;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 1.3rem + 1.9vw, 2.9rem);
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--cream);
}

.mission-band .mission-gold {
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}

.mission-band cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(251, 247, 240, 0.55);
}

.mission-band .sunburst {
  left: 50%;
  top: 50%;
  width: 900px;
  height: 900px;
  transform: translate(-50%, -50%);
}

/* Values arc */
.values-arc {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px 16px;
  list-style: none;
  margin: 0 auto;
  padding: 0;
  max-width: 1000px;
}

.value-stone {
  text-align: center;
}

.value-stone__disc {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 96px;
  height: 96px;
  margin-bottom: 12px;
  border-radius: 50%;
  border: 1px solid rgba(201, 136, 42, 0.5);
  background: radial-gradient(circle at 50% 40%, var(--gold-wash), var(--cream));
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--ink);
}

.value-stone p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-70);
  max-width: 22ch;
  margin-inline: auto;
}

.value-stone:nth-child(even) {
  margin-top: 18px;
}

@media (min-width: 900px) {
  .values-arc {
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
    padding-bottom: 26px;
  }

  .value-stone:nth-child(1) { margin-top: 38px; }
  .value-stone:nth-child(2) { margin-top: 18px; }
  .value-stone:nth-child(3) { margin-top: 4px; }
  .value-stone:nth-child(4) { margin-top: 18px; }
  .value-stone:nth-child(5) { margin-top: 38px; }

  .value-stone__disc {
    width: 112px;
    height: 112px;
    font-size: 1.3rem;
  }
}

.vision-quote {
  max-width: 780px;
  margin: clamp(48px, 6vw, 72px) auto 0;
  text-align: center;
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 1.1rem + 1vw, 1.9rem);
  font-style: italic;
  line-height: 1.45;
  color: var(--ink);
}

.vision-quote p {
  margin: 0;
}

/* Faith section */
.faith-split {
  display: grid;
  gap: 32px;
  align-items: center;
}

.faith-art {
  position: relative;
  aspect-ratio: 1;
  max-width: 420px;
  margin-inline: auto;
  width: 100%;
}

.faith-art svg {
  width: 100%;
  height: 100%;
}

@media (min-width: 900px) {
  .faith-split {
    grid-template-columns: 1fr 0.85fr;
    gap: clamp(40px, 6vw, 80px);
  }
}

.welcome-line {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 3px solid var(--gold);
  background: var(--gold-wash);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 0.9375rem;
  line-height: 1.6;
}

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.team-card {
  position: relative;
  padding: 24px 20px;
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  background: var(--white);
  overflow: hidden;
  transition: box-shadow 0.25s ease, transform 0.25s var(--ease-soft);
}

.team-card:hover {
  box-shadow: var(--shadow-sm);
  transform: translateY(-3px);
}

.team-card .avatar-sun {
  width: 56px;
  height: 56px;
  font-size: 1.4rem;
  margin-bottom: 14px;
}

.team-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 2px;
}

.team-card p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.5;
  color: var(--ink-70);
}

.team-card__role {
  font-weight: 600;
  color: var(--gold-deep) !important;
  font-size: 0.75rem !important;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 8px !important;
}

.team-langs {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-top: 12px;
}

.team-langs span {
  padding: 3px 9px;
  border-radius: var(--r-pill);
  background: var(--gold-wash);
  color: #7a5312;
  font-size: 0.6875rem;
  font-weight: 600;
}

@media (min-width: 900px) {
  .team-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
  }

  .team-langs {
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.25s ease, transform 0.25s var(--ease-out);
  }

  .team-card:hover .team-langs,
  .team-card:focus-within .team-langs {
    opacity: 1;
    transform: none;
  }
}

/* Board */
.board-grid {
  display: grid;
  gap: 24px;
}

.board-list {
  display: grid;
  gap: 0;
  margin: 0;
}

.board-list div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 6px 16px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink-08);
}

.board-list dt {
  font-weight: 500;
  font-size: 0.9375rem;
}

.board-list dd {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--ink-55);
}

@media (min-width: 768px) {
  .board-grid {
    grid-template-columns: 0.9fr 1.1fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: start;
  }

  .board-list--two {
    grid-template-columns: 1fr 1fr;
    gap: 0 32px;
  }
}

/* Accountability certificates */
.certs {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.cert {
  position: relative;
  padding: 26px;
  border: 1px solid rgba(33, 41, 52, 0.18);
  border-radius: 2px;
  background: var(--white);
  box-shadow: var(--shadow-xs);
  transform: rotate(0.5deg);
  transition: transform 0.3s var(--ease-soft), box-shadow 0.3s ease;
}

.cert:nth-child(2) {
  transform: rotate(-0.5deg);
}

.cert:nth-child(3) {
  transform: rotate(0.35deg);
}

.cert:hover {
  transform: rotate(0deg);
  box-shadow: var(--shadow-sm);
}

.cert svg {
  width: 26px;
  height: 26px;
  color: var(--bridge);
  margin-bottom: 12px;
}

.cert h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.cert p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-70);
}

@media (min-width: 768px) {
  .certs {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Simple link band */
.link-band {
  text-align: center;
}

.link-band__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 36px;
  margin-top: 24px;
}

.link-band__links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  padding: 8px 0;
}

.link-band__links a svg {
  width: 16px;
  height: 16px;
  color: var(--gold-deep);
  transition: transform 0.2s var(--ease-out);
}

.link-band__links a:hover {
  color: var(--bridge);
}

.link-band__links a:hover svg {
  transform: translateX(4px);
}

/* ==========================================================================
   PROGRAMS
   ========================================================================== */

.olap-grid {
  display: grid;
  gap: 20px;
  align-items: stretch;
}

.olap-panel {
  padding: clamp(24px, 3vw, 34px);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--sprout-line);
}

.olap-panel h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
  margin-bottom: 12px;
}

.olap-panel > p {
  color: var(--ink-70);
  font-size: 0.9375rem;
}

@media (min-width: 900px) {
  .olap-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

/* Service list with gloss */
.service-list {
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.service-list li {
  padding: 18px 0;
  border-bottom: 1px solid var(--ink-08);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-list h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
  scroll-margin-top: 140px;
}

.service-list p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
}

.service-group {
  margin-bottom: 28px;
}

.service-group__head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.service-group__head svg {
  width: 22px;
  height: 22px;
  color: var(--gold-deep);
  flex: none;
}

.service-group__head h2 {
  font-size: clamp(1.35rem, 1.15rem + 0.8vw, 1.7rem);
  margin: 0;
}

.service-group__note {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  color: var(--ink-70);
}

.service-cols {
  display: grid;
  gap: 0 48px;
}

@media (min-width: 900px) {
  .service-cols {
    grid-template-columns: 1fr 1fr;
  }
}

/* USCIS journey strip */
.journey {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: journey;
}

.journey li {
  position: relative;
  padding: 22px 22px 22px 62px;
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  background: var(--white);
  counter-increment: journey;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.journey li::before {
  content: counter(journey);
  position: absolute;
  left: 20px;
  top: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--gold-wash);
  color: var(--gold-deep);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.journey li.is-lit {
  border-color: var(--sprout);
  box-shadow: var(--shadow-sm);
}

.journey h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.journey p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-70);
  line-height: 1.55;
}

@media (min-width: 900px) {
  .journey {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .journey li {
    padding: 24px;
  }

  .journey li::before {
    position: static;
    margin-bottom: 14px;
  }
}

/* Fees table */
.fees-wrap {
  max-width: 760px;
  margin-inline: auto;
}

.fees-statement {
  text-align: center;
  margin-bottom: 32px;
}

.fees-statement h2 {
  margin-bottom: 12px;
}

.fees-statement p {
  color: var(--ink-70);
  max-width: 56ch;
  margin-inline: auto;
}

.fee-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  overflow: hidden;
  font-size: 0.9375rem;
}

.fee-table caption {
  caption-side: top;
  text-align: left;
  padding: 0 0 12px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.fee-table th,
.fee-table td {
  padding: 15px 18px;
  text-align: left;
  border-bottom: 1px solid var(--ink-08);
  vertical-align: top;
}

.fee-table thead th {
  background: var(--cream-deep);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-55);
}

.fee-table tbody tr:last-child th,
.fee-table tbody tr:last-child td {
  border-bottom: 0;
}

.fee-table tbody th {
  font-weight: 600;
}

.fee-table td {
  color: var(--ink-70);
}

.fees-assurances {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.fees-assurances li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 14px 16px;
  border-radius: var(--r);
  background: var(--bridge-wash);
  font-size: 0.9375rem;
  line-height: 1.55;
}

.fees-assurances svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 2px;
  color: var(--bridge);
}

/* Expectations timeline */
.expectations {
  position: relative;
  display: grid;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.expectation {
  position: relative;
  padding: 0 0 30px 54px;
}

.expectation:last-child {
  padding-bottom: 0;
}

.expectation::before {
  content: "";
  position: absolute;
  left: 15px;
  top: 30px;
  bottom: 0;
  width: 2px;
  background: var(--sprout-line);
}

.expectation:last-child::before {
  display: none;
}

.expectation__dot {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bridge);
  color: #fff;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
}

.expectation h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin: 4px 0 4px;
}

.expectation p {
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--ink-70);
}

.expectation .tag {
  margin-top: 8px;
}

/* ==========================================================================
   SFB
   ========================================================================== */

.sfb-hero {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}

.sfb-hero__bg {
  position: absolute;
  inset: -4% 0;
  z-index: 0;
}

.sfb-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
}

.sfb-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      to top,
      rgba(20, 24, 30, 0.9) 0%,
      rgba(20, 24, 30, 0.52) 50%,
      rgba(20, 24, 30, 0.12) 100%
    ),
    linear-gradient(to right, rgba(20, 24, 30, 0.55), transparent 70%);
}

.sfb-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 8vw, 88px);
}

.sfb-hero h1 {
  max-width: 20ch;
  color: var(--cream);
}

.sfb-hero .lede {
  color: rgba(251, 247, 240, 0.86);
  max-width: 50ch;
  margin-top: 14px;
}

.sfb-hero .eyebrow {
  color: var(--gold);
}

@media (min-width: 900px) {
  .sfb-hero {
    min-height: 500px;
  }
}

/* Info strip */
.info-strip {
  display: grid;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.info-strip li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 20px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(74, 126, 187, 0.2);
  border-top: 3px solid var(--sky);
}

.info-strip svg {
  width: 24px;
  height: 24px;
  color: var(--sky);
  flex: none;
}

.info-strip h2,
.info-strip h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.info-strip p {
  margin: 0;
  font-size: 0.8125rem;
  line-height: 1.55;
  color: var(--ink-70);
}

@media (min-width: 768px) {
  .info-strip {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .info-strip {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* Health sub-cards */
.health-grid {
  display: grid;
  gap: 16px;
}

.health-card {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--ink-08);
}

.health-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 12px;
}

.health-card h3 svg {
  width: 20px;
  height: 20px;
  color: var(--sky);
  flex: none;
}

.health-card .check-list li {
  font-size: 0.875rem;
  padding-left: 24px;
}

.health-card .check-list li::before {
  width: 10px;
  height: 6px;
  top: 6px;
}

.health-card--crisis {
  background: var(--bridge-wash);
  border-color: var(--sprout-line);
}

.health-card--crisis h3 svg {
  color: var(--bridge);
}

.health-card__crisis-line {
  margin: 14px 0 0;
  padding-top: 14px;
  border-top: 1px solid rgba(42, 122, 75, 0.2);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--bridge-dark);
}

@media (min-width: 900px) {
  .health-grid {
    grid-template-columns: repeat(3, 1fr);
    /* Equal-height cards: the crisis card carries an extra line, and with
       align-items:start the other two ended short, leaving a ragged edge. */
    align-items: stretch;
  }
}

/* Career / consumer masonry */
.masonry-2 {
  display: grid;
  gap: 18px;
}

@media (min-width: 768px) {
  .masonry-2 {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

/* Documents panel */
.doc-panel {
  display: grid;
  gap: 28px;
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--ink-08);
  box-shadow: var(--shadow-xs);
}

.doc-panel__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--sky-wash);
  color: var(--sky);
}

.doc-panel__icon svg {
  width: 30px;
  height: 30px;
}

.doc-panel h2 {
  margin-bottom: 10px;
}

.doc-panel p {
  color: var(--ink-70);
  font-size: 1rem;
}

@media (min-width: 900px) {
  .doc-panel {
    grid-template-columns: 1.1fr 0.9fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
  }
}

/* Access CTA */
.access-band {
  background: var(--sky-wash);
  text-align: center;
}

.access-band h2 {
  margin-bottom: 10px;
}

.access-band p {
  max-width: 54ch;
  margin: 0 auto 26px;
  color: var(--ink-70);
}

.access-band .btn-row {
  justify-content: center;
}

/* ==========================================================================
   GET INVOLVED
   ========================================================================== */

.giv-hero {
  position: relative;
  min-height: 440px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  isolation: isolate;
  color: var(--cream);
}

.giv-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.giv-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.giv-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
      to top,
      rgba(20, 24, 30, 0.9) 0%,
      rgba(20, 24, 30, 0.5) 48%,
      rgba(20, 24, 30, 0.1) 100%
    ),
    linear-gradient(to right, rgba(20, 24, 30, 0.5), transparent 72%);
}

.giv-hero__inner {
  position: relative;
  z-index: 2;
  padding-block: clamp(56px, 8vw, 92px);
}

.giv-hero h1 {
  max-width: 18ch;
  color: var(--cream);
}

.giv-hero .lede {
  color: rgba(251, 247, 240, 0.86);
  margin-top: 14px;
  max-width: 48ch;
}

.giv-hero .eyebrow {
  color: var(--gold);
}

@media (min-width: 900px) {
  .giv-hero {
    min-height: 520px;
  }
}

/* Why it matters */
.why-block {
  max-width: 860px;
}

.why-block h2 {
  font-size: clamp(1.9rem, 1.5rem + 1.8vw, 2.8rem);
  max-width: 22ch;
  margin-bottom: 18px;
}

.why-block p {
  font-size: 1.0625rem;
  color: var(--ink-70);
  max-width: 60ch;
}

/* Donate band */
.donate-band {
  position: relative;
  overflow: hidden;
}

.donate-grid {
  display: grid;
  gap: 32px;
}

.donate-copy h2 {
  margin-bottom: 14px;
}

.donate-copy p {
  color: var(--ink-70);
  max-width: 46ch;
}

.donate-panel {
  padding: clamp(24px, 3.5vw, 36px);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid rgba(201, 136, 42, 0.3);
  box-shadow: var(--shadow-sm);
}

.tiers {
  list-style: none;
  margin: 0 0 22px;
  padding: 0;
}

.tiers li {
  display: flex;
  gap: 16px;
  align-items: baseline;
  padding: 13px 10px;
  border-bottom: 1px solid var(--ink-08);
  border-radius: var(--r-sm);
  transition: background 0.2s ease;
}

.tiers li:hover {
  background: var(--gold-wash);
}

.tiers li:last-child {
  border-bottom: 0;
}

.tier-amount {
  flex: none;
  min-width: 62px;
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--gold-deep);
}

.tier-text {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--ink-70);
}

.donate-panel .btn {
  width: 100%;
}

.donate-mail {
  margin-top: 16px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--ink-55);
}

.donate-mail address {
  color: var(--ink-70);
  margin-top: 3px;
}

.donate-note {
  margin-top: 14px;
  font-size: 0.75rem;
  color: var(--ink-55);
  line-height: 1.5;
}

@media (min-width: 900px) {
  .donate-grid {
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 6vw, 80px);
    align-items: center;
  }
}

/* Volunteer roles */
.roles-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.role-card {
  display: flex;
  flex-direction: column;
  padding: 24px;
  border: 1px solid var(--ink-08);
  border-radius: var(--r-md);
  background: var(--white);
  transition: transform 0.22s var(--ease-soft), box-shadow 0.22s ease;
}

.role-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.role-card svg {
  width: 24px;
  height: 24px;
  color: var(--bridge);
  margin-bottom: 14px;
}

.role-card h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.role-card p {
  margin: 0 0 12px;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--ink-70);
}

.role-card p:last-of-type {
  margin-bottom: 14px;
}

.role-card .tag {
  align-self: flex-start;
  margin-top: auto;
  background: var(--gold-wash);
  color: #7a5312;
}

@media (min-width: 600px) {
  .roles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .roles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Partner panels */
.partner-grid {
  display: grid;
  gap: 16px;
}

.partner-panel {
  padding: 28px;
  border-radius: var(--r-md);
  border: 1px solid var(--ink-08);
  background: var(--cream-deep);
}

.partner-panel svg {
  width: 30px;
  height: 30px;
  color: var(--gold-deep);
  margin-bottom: 14px;
}

.partner-panel h3 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.partner-panel p {
  margin: 0;
  font-size: 0.875rem;
  color: var(--ink-70);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .partner-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* In-kind + fundraise */
.twocol-list {
  display: grid;
  gap: 8px 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.twocol-list li {
  position: relative;
  padding: 8px 0 8px 24px;
  border-bottom: 1px solid var(--ink-04);
  font-size: 0.9375rem;
  color: var(--ink-70);
}

.twocol-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 16px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--sprout);
}

@media (min-width: 768px) {
  .twocol-list {
    grid-template-columns: 1fr 1fr;
  }
}

.fundraise-card {
  padding: clamp(26px, 4vw, 44px);
  border-radius: var(--r-md);
  background: var(--ink);
  color: var(--cream);
}

.fundraise-card h2 {
  color: var(--cream);
  margin-bottom: 10px;
}

.fundraise-card > p {
  color: rgba(251, 247, 240, 0.76);
  max-width: 56ch;
}

.fundraise-steps {
  display: grid;
  gap: 18px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
  counter-reset: fs;
}

.fundraise-steps li {
  position: relative;
  padding-left: 46px;
  counter-increment: fs;
}

.fundraise-steps li::before {
  content: counter(fs);
  position: absolute;
  left: 0;
  top: -2px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(233, 168, 62, 0.5);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
}

.fundraise-steps h3 {
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 2px;
}

.fundraise-steps p {
  margin: 0;
  font-size: 0.875rem;
  color: rgba(251, 247, 240, 0.7);
  line-height: 1.55;
}

@media (min-width: 768px) {
  .fundraise-steps {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Gift bars */
.gift-bars {
  display: grid;
  gap: 22px;
  margin: 0;
  padding: 0;
  list-style: none;
  max-width: 760px;
}

.gift-bar__head {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 8px;
  font-size: 0.9375rem;
}

.gift-bar__head strong {
  font-weight: 600;
}

.gift-bar__head span {
  color: var(--ink-55);
  font-variant-numeric: tabular-nums;
}

.gift-bar__track {
  height: 10px;
  border-radius: 5px;
  background: var(--ink-08);
  overflow: hidden;
}

.gift-bar__fill {
  display: block;
  height: 100%;
  width: 0;
  border-radius: 5px;
  background: linear-gradient(90deg, var(--gold-deep), var(--gold));
  transition: width 1.1s var(--ease-out);
}

.gift-bars.is-filled .gift-bar__fill {
  width: var(--fill, 0%);
}

.gift-disclaimer {
  margin-top: 18px;
  font-size: 0.75rem;
  color: var(--ink-55);
}

/* ==========================================================================
   CONTACT
   ========================================================================== */

.contact-hero {
  padding-block: clamp(44px, 6vw, 72px) clamp(28px, 4vw, 44px);
  background: var(--cream);
}

.contact-hero h1 {
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  max-width: 16ch;
}

.contact-hero .lede {
  margin-top: 16px;
  max-width: 56ch;
}

.contact-hero__chips {
  margin-top: 22px;
}

/* Appointment form section */
.appointment-grid {
  display: grid;
  gap: 32px;
  align-items: start;
}

.form-panel {
  padding: clamp(24px, 3.5vw, 40px);
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--ink-08);
  box-shadow: var(--shadow-sm);
}

.form-panel h2 {
  margin-bottom: 8px;
}

.form-panel > p {
  margin-bottom: 24px;
  color: var(--ink-70);
  font-size: 0.9375rem;
}

.form-aside {
  display: grid;
  gap: 20px;
}

.form-aside__photo {
  border-radius: var(--r-md);
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

.form-aside__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reassure-stack {
  list-style: none;
  margin: 0;
  padding: 22px;
  border-radius: var(--r-md);
  background: var(--bridge-wash);
  border: 1px solid var(--sprout-line);
  display: grid;
  gap: 12px;
}

.reassure-stack li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--bridge-dark);
}

.reassure-stack svg {
  width: 17px;
  height: 17px;
  flex: none;
  margin-top: 2px;
  color: var(--bridge);
}

@media (min-width: 900px) {
  .appointment-grid {
    grid-template-columns: 1.35fr 0.85fr;
    gap: clamp(32px, 4vw, 56px);
  }

  .form-aside {
    position: sticky;
    top: 100px;
  }
}

@media (max-width: 899px) {
  .form-aside {
    order: 2;
  }
}

/* Call tiles */
.call-tiles {
  display: grid;
  gap: 14px;
}

.call-tile {
  padding: 24px;
  border-radius: var(--r-md);
  background: var(--white);
  border: 1px solid var(--ink-08);
}

.call-tile svg {
  width: 22px;
  height: 22px;
  color: var(--gold-deep);
  margin-bottom: 12px;
}

.call-tile h3 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-55);
  margin-bottom: 6px;
}

.call-tile a {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.05rem + 0.6vw, 1.55rem);
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.call-tile a:hover {
  color: var(--bridge);
}

.call-tile p {
  margin: 6px 0 0;
  font-size: 0.8125rem;
  color: var(--ink-55);
}

@media (min-width: 768px) {
  .call-tiles {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Visit / map */
.visit-grid-2 {
  display: grid;
  gap: 28px;
}

.map-frame {
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--cream-deep);
  border: 1px solid var(--ink-08);
}

.map-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.map-placeholder {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 24px;
  text-align: center;
  background: var(--sprout-wash);
  color: var(--ink-70);
  font-size: 0.9375rem;
}

.map-placeholder svg {
  width: 34px;
  height: 34px;
  color: var(--bridge);
}

.map-placeholder button {
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid var(--bridge);
  border-radius: var(--r);
  background: var(--bridge);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
}

@media (min-width: 900px) {
  .visit-grid-2 {
    grid-template-columns: 1fr 1.15fr;
    gap: clamp(32px, 5vw, 64px);
    align-items: center;
  }
}

/* What to bring */
.bring-grid {
  display: grid;
  gap: 32px;
}

.bring-note {
  margin-top: 20px;
  padding: 18px 20px;
  border-radius: var(--r);
  background: var(--gold-wash);
  border-left: 3px solid var(--gold);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.bring-note strong {
  display: block;
  margin-bottom: 2px;
}

@media (min-width: 900px) {
  .bring-grid {
    grid-template-columns: 0.85fr 1.15fr;
    gap: clamp(32px, 5vw, 72px);
    align-items: start;
  }
}

/* Partner line */
.partner-line {
  padding: clamp(24px, 3vw, 32px);
  border-radius: var(--r-md);
  background: var(--cream-deep);
  border: 1px solid var(--ink-08);
}

.partner-line h2 {
  font-size: clamp(1.3rem, 1.15rem + 0.7vw, 1.6rem);
  margin-bottom: 8px;
}

.partner-line p {
  margin: 0;
  font-size: 0.9375rem;
  color: var(--ink-70);
  max-width: 70ch;
}

/* Contact closing */
.contact-close {
  text-align: center;
}

.contact-close h2 {
  max-width: 24ch;
  margin: 0 auto 12px;
}

.contact-close p {
  max-width: 50ch;
  margin: 0 auto 26px;
  color: var(--ink-70);
}

.contact-close .btn-row {
  justify-content: center;
}
