/* ==========================================================================
   All Things New Wellness — "Gulf Dawn" concept
   Gulf Coast morning: sea glass, deep gulf teal, sunrise gold, conch.
   Young Serif for display, Albert Sans for reading. Arches echo the rising sun.
   ========================================================================== */

:root {
  --deep: #0b2f3b;
  --gulf: #0f5765;
  --teal: #2f8486;
  --seaglass: #a9d6cb;
  --seaglass-soft: #d6ebe5;
  --mist: #eef4f1;
  --foam: #f8fbf9;
  --sun: #f6b24a;
  --sun-soft: #ffd79a;
  --conch: #ee9a8c;
  --ink: #0f2f38;
  --ink-soft: #4a666c;
  --line: rgba(15, 47, 56, 0.14);
  --on-deep: #eef6f3;
  --on-deep-soft: #b5cfca;

  --serif: "Young Serif", "Iowan Old Style", Georgia, serif;
  --sans: "Albert Sans", system-ui, -apple-system, "Segoe UI", sans-serif;

  --step--1: 0.875rem;
  --step-0: 1.0625rem;
  --step-1: clamp(1.2rem, 1.1rem + 0.45vw, 1.4rem);
  --step-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --step-3: clamp(1.9rem, 1.45rem + 2vw, 3rem);
  --step-4: clamp(2.35rem, 1.6rem + 3.2vw, 4.4rem);
  --step-hero: clamp(3rem, 1.5rem + 6.6vw, 7.6rem);

  --gutter: clamp(1rem, 4vw, 3rem);
  --max: 76rem;
  --space: clamp(5rem, 4rem + 6vw, 9.5rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 48rem) {
  :root { --step-0: 1.125rem; }
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.12; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
dl, dd { margin: 0; }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: fixed; left: 1rem; top: -4rem; z-index: 100;
  background: var(--foam); color: var(--ink);
  padding: 0.6rem 1rem; border-radius: 8px; text-decoration: none;
  transition: top 0.2s;
}
.skip:focus { top: 1rem; }

.wrap {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
}

.h-display {
  font-family: var(--serif);
  font-size: var(--step-4);
  letter-spacing: -0.015em;
  line-height: 1.06;
  text-wrap: balance;
}
.lead { font-size: var(--step-1); line-height: 1.55; }

.section { padding-block: var(--space); }
.section__head { max-width: 40rem; margin-bottom: clamp(2.5rem, 2rem + 3vw, 4.5rem); }
.section__head .h-display { margin-bottom: 1rem; }
.section__head p { color: var(--ink-soft); font-size: var(--step-1); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.3s var(--ease), background-color 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.btn:active { transform: scale(0.98); }
.btn--sun {
  background: var(--sun);
  color: #2d1c05;
  box-shadow: 0 12px 30px -12px rgba(246, 178, 74, 0.8);
}
.btn--sun:hover { background: var(--sun-soft); }
.btn--glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.btn--glass:hover { background: rgba(255, 255, 255, 0.18); }
.btn--ink { background: var(--ink); color: var(--foam); }
.btn--ink:hover { background: var(--gulf); }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem var(--gutter);
  padding-top: max(1.1rem, env(safe-area-inset-top));
  color: #fff;
  transition: background-color 0.4s, color 0.4s, padding 0.4s var(--ease), box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(248, 251, 249, 0.86);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  color: var(--ink);
  padding-block: 0.7rem;
  box-shadow: 0 1px 0 var(--line);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.brand__mark { width: 2.2rem; height: 2.2rem; }
.brand__sun { fill: var(--sun); }
.brand__sea { fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; opacity: 0.85; }
.brand__name { font-family: var(--serif); font-size: 1.25rem; letter-spacing: -0.01em; }

.nav__links { display: flex; align-items: center; gap: clamp(1rem, 2vw, 2rem); font-size: 0.97rem; font-weight: 500; }
.nav__links a { text-decoration: none; opacity: 0.85; transition: opacity 0.2s; }
.nav__links a:hover { opacity: 1; }
.nav__links .nav__cta {
  opacity: 1;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  background: var(--sun);
  color: #2d1c05;
}
.nav__links .nav__cta:hover { background: var(--sun-soft); }

.nav__toggle {
  display: none;
  position: relative;
  z-index: 2;
  width: 2.75rem; height: 2.75rem;
  border-radius: 999px;
  border: 1px solid currentColor;
  background: transparent;
  color: inherit;
  cursor: pointer;
}
.nav__toggle i {
  position: absolute; left: 50%; top: 50%;
  width: 1.1rem; height: 1.5px;
  background: currentColor;
  transition: transform 0.35s var(--ease);
}
.nav__toggle i:first-of-type { transform: translate(-50%, -4px); }
.nav__toggle i:last-of-type { transform: translate(-50%, 3px); }
.nav__toggle[aria-expanded="true"] i:first-of-type { transform: translate(-50%, 0) rotate(45deg); }
.nav__toggle[aria-expanded="true"] i:last-of-type { transform: translate(-50%, 0) rotate(-45deg); }

@media (max-width: 54rem) {
  .nav__toggle { display: block; }
  .nav__links {
    position: fixed;
    inset: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 0.3rem;
    padding: 6rem var(--gutter) 3rem;
    background: var(--deep);
    color: var(--on-deep);
    font-family: var(--serif);
    font-size: var(--step-3);
    font-weight: 400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s var(--ease), visibility 0s 0.35s;
  }
  .nav__links a { opacity: 1; padding: 0.3rem 0; }
  .nav__links .nav__cta { margin-top: 1.5rem; font-family: var(--sans); font-size: 1.1rem; font-weight: 600; padding: 1rem 1.5rem; }
  .nav.is-open { color: var(--on-deep); background: transparent; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .nav.is-open .nav__links { opacity: 1; visibility: visible; transition: opacity 0.35s var(--ease), visibility 0s; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: grid;
  align-items: center;
  overflow: hidden;
  isolation: isolate;
  color: #fff;
  background: linear-gradient(#0b1630, #24305a 55%, #0b2f3b 56%, #06222c);
}
.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.hero__inner {
  width: min(100% - 2 * var(--gutter), var(--max));
  margin-inline: auto;
  padding: 7rem 0 6rem;
  will-change: transform;
}
.hero__place {
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--sun-soft);
  margin-bottom: 1.25rem;
}
.hero__title {
  font-family: var(--serif);
  font-size: var(--step-hero);
  line-height: 1;
  letter-spacing: -0.025em;
  margin-bottom: clamp(2.75rem, 7vh, 4.5rem);
  text-shadow: 0 2px 40px rgba(11, 22, 48, 0.35);
}
.rise { display: block; overflow: hidden; padding-bottom: 0.08em; margin-bottom: -0.08em; }
.rise > span { display: block; }
.hero__lede {
  max-width: 35rem;
  font-size: var(--step-1);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 2rem;
  text-shadow: 0 1px 20px rgba(6, 34, 44, 0.5);
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; }

.hero__scroll {
  position: absolute;
  left: 50%;
  bottom: calc(1.5rem + env(safe-area-inset-bottom));
  width: 1.6rem; height: 2.6rem;
  margin-left: -0.8rem;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
}
.hero__scroll span {
  position: absolute; left: 50%; top: 0.5rem;
  width: 3px; height: 0.5rem;
  margin-left: -1.5px;
  border-radius: 2px;
  background: #fff;
  animation: scrollcue 2.2s var(--ease) infinite;
}
@keyframes scrollcue {
  0% { transform: translateY(0); opacity: 0; }
  30% { opacity: 1; }
  80%, 100% { transform: translateY(0.9rem); opacity: 0; }
}

/* Intro choreography: lines rise with the sun */
.js-motion .rise > span { transform: translateY(105%); transition: transform 1.6s var(--ease); }
.js-motion .hero__place,
.js-motion .hero__lede,
.js-motion .hero__actions,
.js-motion .hero__scroll,
.js-motion .nav { opacity: 0; transition: opacity 1.2s var(--ease), transform 1.2s var(--ease), background-color 0.4s, color 0.4s, padding 0.4s var(--ease), box-shadow 0.4s; }
.js-motion .hero__lede,
.js-motion .hero__actions { transform: translateY(14px); }
.js-motion .is-up > span { transform: none; }
.js-motion .is-up { opacity: 1; transform: none; }

@media (max-width: 40rem) {
  .hero { align-items: start; }
  .hero__inner { padding-top: 7.5rem; padding-bottom: 5rem; }
  .hero__actions .btn { flex: 1 1 100%; }
}

/* ---------- Arch frames ---------- */
.arch {
  margin: 0;
  border-radius: 999px 999px 0 0;
  overflow: hidden;
  background: var(--seaglass-soft);
}
.arch img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Intro ---------- */
.intro__grid {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: end;
}
.intro__text .h-display { margin-bottom: 1.75rem; }
.intro__text .lead { margin-bottom: 1.25rem; }
.intro__text p { color: var(--ink-soft); max-width: 36rem; }
.intro__text .lead { color: var(--ink); }
.intro__promise {
  margin-top: 2rem;
  padding-left: 1.25rem;
  border-left: 3px solid var(--sun);
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.3;
}
.intro__text .intro__promise { color: var(--ink); }
.intro__photo { aspect-ratio: 4 / 5; }

/* ---------- Help / specialties ---------- */
.help { background: var(--foam); }
.feature {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: center;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}
.feature + .feature { border-top: 1px solid var(--line); }
.feature--flip .feature__img { order: 2; }
.feature__img {
  margin: 0;
  aspect-ratio: 16 / 10;
  border-radius: 20px;
  overflow: hidden;
}
.feature__img img { width: 100%; height: 100%; object-fit: cover; }
.feature h3 {
  font-family: var(--serif);
  font-size: var(--step-3);
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}
.feature p { color: var(--ink-soft); max-width: 30rem; }

.also {
  display: grid;
  grid-template-columns: minmax(0, 13rem) minmax(0, 1fr);
  gap: 1rem clamp(2rem, 5vw, 5rem);
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 2.5rem;
  border-top: 1px solid var(--line);
}
.also h3 { font-size: 1rem; font-weight: 600; padding-top: 0.4rem; }
.also__list {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.4;
  color: var(--teal);
}

/* ---------- Signature ---------- */
.signature {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space);
  color: var(--on-deep);
  background: var(--deep);
}
.signature__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.signature::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(11, 47, 59, 0.55) 0%, rgba(11, 47, 59, 0.82) 55%, rgba(7, 34, 44, 0.96) 100%);
}
.signature__head { max-width: 42rem; margin-bottom: clamp(3rem, 6vw, 5rem); }
.signature__head .h-display { margin-bottom: 1.25rem; }
.signature__head .lead { color: var(--on-deep-soft); }
.signature__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1.5rem, 3vw, 3rem);
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.sig {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 246, 243, 0.28);
}
.sig__tag {
  display: inline-block;
  margin-bottom: 1rem;
  color: var(--sun-soft);
  font-size: 0.95rem;
  font-weight: 500;
}
.sig h3 {
  font-family: var(--serif);
  font-size: var(--step-2);
  margin-bottom: 0.75rem;
}
.sig p { color: var(--on-deep-soft); font-size: 1rem; }
.sig .sig__tag { color: var(--sun-soft); }

/* ---------- Steps along the horizon ---------- */
.horizon {
  --hgap: clamp(1.5rem, 3vw, 3rem);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--hgap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.horizon__sun {
  /* one continuous horizon runs under all four steps; the sun climbs across it */
  display: block;
  width: calc(100% + var(--hgap));
  height: 4.5rem;
  margin-bottom: 1.5rem;
  border-bottom: 1.5px solid var(--teal);
  overflow: visible;
}
.horizon__step:last-child .horizon__sun { width: 100%; }
.horizon__sun path,
.horizon__sun circle { fill: var(--sun); }
.horizon__step:nth-child(1) .horizon__sun path { fill: var(--conch); }
.horizon__step h3 {
  font-family: var(--serif);
  font-size: var(--step-1);
  margin-bottom: 0.6rem;
}
.horizon__step p { color: var(--ink-soft); font-size: 1rem; }

/* ---------- Approach ---------- */
.approach { background: var(--seaglass-soft); }
.approach__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: 2.5rem clamp(2.5rem, 6vw, 6rem);
}
.approach header .h-display { margin-bottom: 1.5rem; }
.approach header .lead { color: var(--ink-soft); }
.methods {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 2rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.methods li { padding: 1.4rem 0; border-top: 1px solid rgba(15, 47, 56, 0.18); }
.methods h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 0.35rem; }
.methods p { color: var(--ink-soft); font-size: 1rem; }
.approach__also { grid-column: 2; color: var(--ink-soft); font-size: var(--step--1); }

/* ---------- About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: clamp(2.5rem, 7vw, 7rem);
  align-items: center;
}
.arch--tall { aspect-ratio: 3 / 4.2; box-shadow: 0 50px 90px -50px rgba(11, 47, 59, 0.55); }
.about__photo img { object-position: 50% 15%; }
.about__text .h-display { margin-bottom: 1.5rem; }
.about__text .lead { margin-bottom: 1.25rem; }
.about__text p { color: var(--ink-soft); max-width: 38rem; }
.about__text .lead { color: var(--ink); }
.facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin: 2.25rem 0;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.facts dt { font-size: 0.85rem; font-weight: 600; color: var(--teal); margin-bottom: 0.2rem; }
.facts dd { font-size: 1rem; }
.about__sign {
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.3;
}
.about__text .about__sign { color: var(--gulf); }

/* ---------- Endorsements carousel ---------- */
.words { background: var(--foam); overflow: hidden; }
.words__top {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.words__nav { display: flex; gap: 0.5rem; }
.round {
  display: grid;
  place-items: center;
  width: 3.25rem; height: 3.25rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink);
  cursor: pointer;
  transition: background-color 0.2s, color 0.2s, opacity 0.2s;
}
.round:hover { background: var(--ink); color: #fff; }
.round:disabled { opacity: 0.35; cursor: default; background: #fff; color: var(--ink); }
.round svg { width: 1.2rem; height: 1.2rem; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

.carousel {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 46%;
  gap: clamp(1rem, 2.5vw, 2rem);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 0.5rem;
  scrollbar-width: none;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel:focus-visible { outline-offset: 6px; }
.quote {
  scroll-snap-align: start;
  margin: 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: 24px;
  background: var(--seaglass-soft);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2rem;
  min-height: 19rem;
}
.quote:nth-child(2n) { background: #fbe3d9; }
.quote blockquote {
  margin: 0;
  font-family: var(--serif);
  font-size: var(--step-2);
  line-height: 1.3;
  letter-spacing: -0.01em;
}
.quote figcaption { font-size: 0.95rem; color: var(--ink-soft); }
.quote figcaption strong { display: block; color: var(--ink); font-weight: 600; }
.words__note { margin-top: 1.5rem; font-size: var(--step--1); color: var(--ink-soft); }

/* ---------- Group ---------- */
.group { background: var(--sun-soft); padding-block: clamp(3rem, 6vw, 4.5rem); }
.group__inner {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 4fr) auto;
  gap: 2rem clamp(2rem, 4vw, 4rem);
  align-items: center;
}
.group h2 { font-family: var(--serif); font-size: var(--step-2); margin-bottom: 0.6rem; }
.group p { color: #5b4a2a; font-size: 1rem; max-width: 34rem; }
.group__facts { display: grid; gap: 0.75rem; }
.group__facts dt { font-size: 0.85rem; font-weight: 600; color: #7a5a1c; }
.group__facts dd { font-weight: 500; }

/* ---------- Contact ---------- */
.contact {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: var(--space) 3rem;
  color: var(--on-deep);
  background: var(--deep);
}
.contact__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.contact::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(7, 34, 44, 0.94) 0%, rgba(7, 34, 44, 0.78) 45%, rgba(7, 34, 44, 0.35) 100%);
}
.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 6fr) minmax(0, 5fr);
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.contact__info .h-display { margin-bottom: 1.25rem; }
.contact__info .lead { color: var(--on-deep-soft); max-width: 32rem; margin-bottom: 1.75rem; }
.contact__phone {
  display: inline-block;
  font-family: var(--serif);
  font-size: var(--step-3);
  color: var(--sun-soft);
  text-decoration: none;
  margin-bottom: 2.5rem;
}
.contact__phone:hover { text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 1px; }
.contact__facts { display: grid; gap: 0; max-width: 34rem; }
.contact__facts div {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: 1rem;
  padding: 0.85rem 0;
  border-top: 1px solid rgba(238, 246, 243, 0.2);
  font-size: 0.98rem;
}
.contact__facts dt { color: var(--seaglass); font-weight: 500; }
.contact__facts dd { color: var(--on-deep); }

.panel {
  padding: clamp(1.5rem, 4vw, 2.75rem);
  border-radius: 28px;
  background: var(--foam);
  color: var(--ink);
  box-shadow: 0 40px 100px -40px rgba(0, 0, 0, 0.6);
}
.form__title { font-family: var(--serif); font-size: var(--step-2); margin-bottom: 1.5rem; }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: 0.4rem; font-size: 0.95rem; font-weight: 600; }
.opt { font-weight: 400; color: var(--ink-soft); font-size: 0.85rem; margin-left: 0.3rem; }
.field input,
.field textarea,
.field select {
  width: 100%;
  padding: 0.85rem 1rem;
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 6.5rem; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(47, 132, 134, 0.25);
}
.field [aria-invalid="true"] { border-color: #b8433a; }
.select { position: relative; }
.select select { appearance: none; -webkit-appearance: none; padding-right: 2.5rem; cursor: pointer; }
.select::after {
  content: "";
  position: absolute;
  right: 1.1rem; top: 50%;
  width: 0.5rem; height: 0.5rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
}
.field__error { display: none; margin: 0.4rem 0 0; font-size: 0.88rem; color: #a3392f; }
.field__error.is-shown { display: block; }
.form__fine { margin: 0.9rem 0 0; font-size: 0.8rem; color: var(--ink-soft); text-align: center; }

.done { text-align: left; }
.done:focus { outline: none; }
.done svg { width: 5rem; height: 4rem; margin-bottom: 1rem; overflow: visible; }
.done svg circle { fill: var(--sun); }
.done svg path { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.done h3 { font-family: var(--serif); font-size: var(--step-3); margin-bottom: 0.75rem; }
.done p { color: var(--ink-soft); }

.crisis {
  margin-top: clamp(3rem, 6vw, 5rem);
  padding-top: 1.5rem;
  border-top: 1px solid rgba(238, 246, 243, 0.2);
  font-size: 0.95rem;
  color: var(--on-deep-soft);
}
.crisis a { color: var(--on-deep); }

/* ---------- Footer ---------- */
.footer {
  background: #07222c;
  color: var(--on-deep-soft);
  padding: 3.5rem 0 calc(2.5rem + env(safe-area-inset-bottom));
  font-size: 0.95rem;
}
.footer__grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
}
.footer__brand { font-family: var(--serif); font-size: var(--step-1); color: var(--on-deep); margin-bottom: 0.6rem; }
.footer nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.5rem; align-content: start; }
.footer nav a { text-decoration: none; color: var(--on-deep); }
.footer nav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.footer__legal { grid-column: 1 / -1; padding-top: 1.75rem; border-top: 1px solid rgba(238, 246, 243, 0.14); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 62rem) {
  .signature__grid { grid-template-columns: 1fr; gap: 0; }
  .sig { padding-block: 1.5rem; }
  .horizon { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 3rem; }
  .horizon__step:nth-child(2n) .horizon__sun { width: 100%; }
  .approach__grid { grid-template-columns: 1fr; }
  .approach__also { grid-column: 1; }
  .group__inner { grid-template-columns: 1fr 1fr; }
  .group__inner > div:first-child { grid-column: 1 / -1; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 48rem) {
  .intro__grid,
  .about__grid { grid-template-columns: 1fr; }
  .intro__photo { max-width: 22rem; order: -1; }
  .about__photo { max-width: 22rem; }
  .feature { grid-template-columns: 1fr; gap: 1.5rem; padding-block: 2rem; }
  .feature--flip .feature__img { order: 0; }
  .also { grid-template-columns: 1fr; }
  .horizon { grid-template-columns: 1fr; row-gap: 0; }
  .horizon__step {
    display: grid;
    grid-template-columns: 5rem minmax(0, 1fr);
    column-gap: 1.25rem;
    padding: 1.25rem 0;
    border-top: 1px solid var(--line);
  }
  .horizon__sun,
  .horizon__step:last-child .horizon__sun { grid-row: span 2; width: 5rem; height: 3.75rem; margin: 0; }
  .methods { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr; }
  .words__top { align-items: start; flex-direction: column; }
  .carousel {
    grid-auto-columns: 86%;
    margin-inline: calc(var(--gutter) * -1);
    padding-inline: var(--gutter);
    scroll-padding-inline: var(--gutter);
  }
  .group__inner { grid-template-columns: 1fr; }
  .group .btn { width: 100%; }
  .contact::before { background: linear-gradient(180deg, rgba(7, 34, 44, 0.9) 0%, rgba(7, 34, 44, 0.95) 100%); }
  .contact__facts div { grid-template-columns: 1fr; gap: 0.1rem; }
  .footer__grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .carousel { scroll-behavior: auto; }
}
