/* ==========================================================================
   Анастасія Савченко — Клінічний психолог
   Quiet Luxury & Evidence-Based Medicine · Mobile-First CSS3
   ========================================================================== */

:root {
  /* Palette: Warm Alabaster + Deep Eucalyptus Sage + Muted Sand */
  --bg: #faf8f5;
  --bg-alt: #f2efe9;
  --surface: #ffffff;
  --ink: #1e2320;
  --ink-soft: #2b302d;
  --muted: #474c49;
  --line: rgba(30, 35, 32, 0.13);
  --line-strong: rgba(30, 35, 32, 0.26);

  --accent: #36544c;
  --accent-deep: #243934;
  --accent-ink: #172723;
  --accent-soft: #e8efec;
  --sand: #b29268;
  --sand-ink: #82643d;
  --light: #faf8f5;
  --light-muted: rgba(250, 248, 245, 0.88);
  --light-subtle: rgba(250, 248, 245, 0.72);
  --light-line: rgba(250, 248, 245, 0.18);

  /* Typography */
  --serif: "Cormorant Garamond", "Iowan Old Style", Georgia, serif;
  --sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Shadows & Radii */
  --shadow-sm: 0 8px 24px -16px rgba(28, 37, 44, 0.18);
  --shadow-md: 0 22px 50px -30px rgba(28, 37, 44, 0.24);
  --shadow-lg: 0 32px 70px -32px rgba(28, 37, 44, 0.28);
  --radius-sm: 12px;
  --radius: 18px;
  --radius-lg: 24px;

  /* Layout & Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header: 4.25rem;
  --wrap: 1180px;
}

/* Reset & Base */

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: clip;
}

body {
  font-family: var(--sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.62;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

body.nav-open {
  overflow: hidden;
}

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

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

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

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

ul,
ol {
  list-style: none;
}

strong {
  font-weight: 600;
}

.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: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 60;
  padding: 0.75rem 1.2rem;
  border-radius: 999px;
  background: var(--accent-deep);
  color: var(--light);
  font-size: 0.9rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(var(--wrap), calc(100% - clamp(2rem, 5vw, 3.5rem)));
  margin-inline: auto;
}

section[id] {
  scroll-margin-top: calc(var(--header) + env(safe-area-inset-top) + 1rem);
}

.section {
  padding: clamp(4rem, 8vw, 7.5rem) 0;
}

.prose {
  max-width: 65ch;
}

/* Typography */

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  line-height: 1.08;
}

h1 {
  font-size: clamp(2.65rem, 6.2vw, 5.4rem);
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h1 em,
h2 em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

h2 {
  font-size: clamp(2.05rem, 4.2vw, 3.35rem);
  line-height: 1.08;
}

h3 {
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
  line-height: 1.18;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.15rem;
}

.eyebrow::before {
  content: "";
  width: 1.35rem;
  height: 1px;
  background: var(--sand);
  flex-shrink: 0;
}

.eyebrow.light {
  color: rgba(250, 248, 245, 0.82);
}

.eyebrow.light::before {
  background: rgba(178, 146, 104, 0.85);
}

.muted {
  color: var(--muted);
  line-height: 1.62;
}

.lead {
  font-size: clamp(1.0625rem, 1.35vw, 1.2rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

.section-head {
  max-width: 44rem;
  margin-bottom: clamp(2.25rem, 4.8vw, 3.75rem);
}

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

/* Buttons & Links (min 44x44px touch targets) */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.15rem;
  min-width: 2.75rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  background: var(--accent-deep);
  color: var(--light);
  font-size: 0.94rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-align: center;
  transition: background 0.3s ease, color 0.3s ease, transform 0.35s var(--ease),
    border-color 0.3s ease, box-shadow 0.3s ease;
}

.btn:hover {
  background: var(--accent-ink);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

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

.btn:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.btn-small {
  min-height: 2.75rem;
  padding: 0.55rem 1.3rem;
  font-size: 0.88rem;
}

.btn-light {
  background: var(--light);
  color: var(--accent-deep);
}

.btn-light:hover {
  background: #ffffff;
  color: var(--accent-ink);
}

.btn-outline {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--line-strong);
}

.btn-outline:hover {
  background: var(--accent-deep);
  color: var(--light);
  border-color: var(--accent-deep);
}

.btn-block {
  width: 100%;
}

.link-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.75rem;
  padding: 0.4rem 0;
  font-size: 0.94rem;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--line-strong);
  transition: border-color 0.3s ease, gap 0.3s var(--ease), color 0.3s ease;
}

.link-arrow::after {
  content: "→";
  transition: transform 0.3s var(--ease);
}

.link-arrow:hover {
  color: var(--accent);
  border-bottom-color: var(--accent);
  gap: 0.8rem;
}

/* ==========================================================================
   Header & Mobile Navigation
   ========================================================================== */

.header {
  position: sticky;
  top: 0;
  z-index: 40;
  height: calc(var(--header) + env(safe-area-inset-top));
  padding-top: env(safe-area-inset-top);
  background: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
  border-bottom: 1px solid var(--line);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
  box-shadow: 0 8px 24px -20px rgba(28, 37, 44, 0.25);
}

.header-inner {
  width: min(1320px, calc(100% - clamp(2rem, 4vw, 3.5rem)));
  height: var(--header);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-right: auto;
  min-height: 2.75rem;
}

.mark {
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--light);
  font-family: var(--serif);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  border: 1px solid rgba(178, 146, 104, 0.45);
  flex-shrink: 0;
}

.logo-text strong {
  display: block;
  font-size: 0.96rem;
  font-weight: 500;
  line-height: 1.2;
}

.logo-text small {
  display: none;
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.1rem;
}

.header-cta {
  display: none;
}

.burger {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  transition: background 0.25s ease;
}

.burger:hover {
  background: var(--bg-alt);
}

.burger span {
  position: absolute;
  left: 0.65rem;
  right: 0.65rem;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.35s var(--ease), top 0.35s var(--ease);
}

.burger span:first-child {
  top: 1.12rem;
}

.burger span:last-child {
  top: 1.58rem;
}

.burger[aria-expanded="true"] span:first-child {
  top: 1.35rem;
  transform: rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  top: 1.35rem;
  transform: rotate(-45deg);
}

/* Mobile drawer nav */
.nav {
  position: fixed;
  inset: calc(var(--header) + env(safe-area-inset-top)) 0 0;
  z-index: 35;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 1.5rem clamp(1.25rem, 5vw, 2.5rem) 3rem;
  background: var(--bg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  overflow-y: auto;
}

.nav.is-open {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.nav a {
  display: flex;
  align-items: center;
  min-height: 3.25rem;
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  transition: color 0.25s ease;
}

.nav a:hover,
.nav a.is-active {
  color: var(--accent);
}

.nav .nav-cta {
  justify-content: center;
  margin-top: 2rem;
  padding: 0.95rem 1.5rem;
  border: 0;
  border-radius: 999px;
  background: var(--accent-deep);
  color: var(--light);
  font-family: var(--sans);
  font-size: 0.98rem;
  font-weight: 500;
}

.nav .nav-cta:hover {
  background: var(--accent-ink);
  color: var(--light);
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem) 0 0;
  background:
    radial-gradient(ellipse 55% 55% at 88% 18%, rgba(63, 94, 86, 0.11), transparent 68%),
    radial-gradient(ellipse 40% 45% at 10% 88%, rgba(178, 146, 104, 0.13), transparent 70%),
    var(--bg);
}

.hero-inner {
  width: min(var(--wrap), calc(100% - clamp(2rem, 5vw, 3.5rem)));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: center;
}

.hero-copy h1 {
  margin-bottom: 1.4rem;
}

.hero-actions {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 1rem 1.75rem;
  margin-top: 2rem;
}

.hero-actions .link-arrow {
  align-self: center;
}

.hero-figure {
  position: relative;
  margin: 0 auto;
  padding: 0 0 1rem 1rem;
  width: 100%;
  max-width: 27rem;
  order: -1;
}

.hero-frame {
  position: absolute;
  inset: 1rem 1rem 0 0;
  border: 1px solid rgba(178, 146, 104, 0.55);
  border-radius: var(--radius-lg);
}

.hero-figure img {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: 96% top;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}

.hero-badge {
  position: absolute;
  left: 0;
  bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1.1rem 0.75rem 0.9rem;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
}

.hero-badge strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.25;
}

.hero-badge small {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
}

.badge-dot {
  position: relative;
  width: 0.58rem;
  height: 0.58rem;
  border-radius: 50%;
  background: #4e8761;
  flex-shrink: 0;
}

.badge-dot::after {
  content: "";
  position: absolute;
  inset: -0.35rem;
  border-radius: 50%;
  border: 1px solid #4e8761;
  opacity: 0;
  animation: ping 3s ease-out infinite;
}

@keyframes ping {
  0% {
    transform: scale(0.6);
    opacity: 0.8;
  }
  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.hero-facts {
  width: min(var(--wrap), calc(100% - clamp(2rem, 5vw, 3.5rem)));
  margin: clamp(3rem, 5.5vw, 4.75rem) auto 0;
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
}

.hero-facts div {
  padding: 1.35rem 0;
}

.hero-facts div + div {
  border-top: 1px solid var(--line);
}

.hero-facts dt {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.2vw, 1.85rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--accent-deep);
  margin-bottom: 0.35rem;
}

.hero-facts dd {
  font-size: 1rem;
  line-height: 1.55;
  color: var(--muted);
  max-width: 24ch;
}

/* ==========================================================================
   Recognize
   ========================================================================== */

.recognize {
  background: var(--surface);
}

.recognize-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.recognize-head h2 {
  margin-bottom: 1.1rem;
}

.recognize-list {
  counter-reset: rec;
}

.recognize-list li {
  counter-increment: rec;
  display: grid;
  grid-template-columns: 2.3rem 1fr;
  gap: 0.85rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1.3vw, 1.1875rem);
  font-weight: 400;
  line-height: 1.58;
  color: var(--ink);
}

.recognize-list li:first-child {
  border-top: 1px solid var(--line);
}

.recognize-list li::before {
  content: counter(rec, decimal-leading-zero);
  font-family: var(--sans);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--sand-ink);
  padding-top: 0.25rem;
}

/* ==========================================================================
   About, Certificates & Education Timeline
   ========================================================================== */

.about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.25rem, 5.5vw, 5.5rem);
  align-items: center;
}

.about-figure {
  position: relative;
  margin: 0 auto;
  width: 100%;
  max-width: 26rem;
}

.about-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 20%;
  border-radius: var(--radius-lg);
  background: var(--bg-alt);
  box-shadow: var(--shadow-md);
}

.about-caption {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.9rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-caption::before {
  content: "";
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--sand);
}

.about-copy h2 {
  margin-bottom: 1.5rem;
}

.about-text {
  display: grid;
  gap: 1.2rem;
  line-height: 1.65;
  color: var(--ink-soft);
}

.about-quote {
  margin-top: 2rem;
  padding: 0.35rem 0 0.35rem 1.35rem;
  border-left: 2px solid var(--sand);
  font-family: var(--serif);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(1.35rem, 2vw, 1.55rem);
  line-height: 1.45;
  color: var(--accent-deep);
  max-width: 46ch;
}

.cert-strip {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}

.cert-title {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.85rem;
}

.cert-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cert-tags li {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent-deep);
  font-size: 0.9rem;
  font-weight: 500;
}

.timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  margin-top: clamp(3.5rem, 6.5vw, 5.5rem);
  padding-top: 1.75rem;
  border-top: 1px solid var(--line-strong);
}

.timeline li {
  display: grid;
  align-content: start;
  gap: 0.4rem;
}

.tl-year {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--sand-ink);
}

.timeline strong {
  font-family: var(--serif);
  font-size: 1.42rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.timeline li > span:last-child {
  font-size: 1rem;
  line-height: 1.58;
  color: var(--muted);
  max-width: 34ch;
}

/* Credentials & Certificates Gallery */

.credentials {
  margin-top: clamp(3rem, 5.5vw, 4.75rem);
  padding-top: clamp(2.5rem, 4.5vw, 3.75rem);
  border-top: 1px solid var(--line);
}

.credentials-head {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.credentials-head h3 {
  font-size: clamp(1.75rem, 2.8vw, 2.25rem);
  color: var(--ink);
}

.credentials-head p {
  font-size: 1rem;
}

.doc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.doc-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease), border-color 0.3s ease;
}

.doc-card:hover {
  transform: translateY(-4px);
  border-color: rgba(54, 84, 76, 0.32);
  box-shadow: var(--shadow-md);
}

.doc-trigger {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  text-align: left;
}

.doc-preview {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 4 / 3;
  padding: 1.15rem;
  background: var(--bg-alt);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}

.doc-preview img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 6px;
  box-shadow: 0 10px 24px -14px rgba(30, 35, 32, 0.35);
  transition: transform 0.45s var(--ease);
}

.doc-trigger:hover .doc-preview img,
.doc-trigger:focus-visible .doc-preview img {
  transform: scale(1.03);
}

.doc-zoom {
  position: absolute;
  right: 0.85rem;
  bottom: 0.85rem;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(36, 57, 52, 0.9);
  color: var(--light);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  opacity: 0.92;
  transition: background 0.25s ease, transform 0.3s var(--ease);
}

.doc-trigger:hover .doc-zoom {
  background: var(--accent-ink);
  transform: translateY(-2px);
}

.doc-info {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.25rem 1.35rem 1.45rem;
  flex: 1;
}

.doc-year {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--sand-ink);
}

.doc-info strong {
  font-family: var(--serif);
  font-size: clamp(1.3rem, 1.8vw, 1.48rem);
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink);
}

.doc-issuer {
  font-size: 0.95rem;
  line-height: 1.52;
  color: var(--muted);
}

.credentials-note {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--accent-soft);
  border: 1px solid rgba(54, 84, 76, 0.16);
  border-radius: var(--radius);
}

.credentials-note-badge {
  display: inline-grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--light);
  font-family: var(--serif);
  font-size: 1.45rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  flex-shrink: 0;
}

.credentials-note-body strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--accent-deep);
  margin-bottom: 0.4rem;
}

.credentials-note-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.credentials-note-link {
  justify-self: start;
  white-space: nowrap;
}

/* Lightbox Dialog */

.lightbox {
  max-width: none;
  max-height: none;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: clamp(1rem, 3vw, 2.5rem);
  border: 0;
  background: transparent;
  color: var(--light);
}

.lightbox::backdrop {
  background: rgba(23, 39, 35, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.lightbox[open] {
  display: grid;
  place-items: center;
}

.lightbox-inner {
  position: relative;
  width: min(1000px, 100%);
  max-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-close {
  position: fixed;
  top: max(1rem, env(safe-area-inset-top));
  right: max(1rem, env(safe-area-inset-right));
  z-index: 2;
  display: grid;
  place-items: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(250, 248, 245, 0.14);
  border: 1px solid rgba(250, 248, 245, 0.25);
  color: var(--light);
  font-size: 1.65rem;
  line-height: 1;
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover {
  background: rgba(250, 248, 245, 0.25);
  transform: scale(1.05);
}

.lightbox-figure {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 100%;
}

.lightbox-figure img {
  max-width: 100%;
  max-height: calc(100dvh - 8.5rem);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.lightbox-figure figcaption {
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--light-muted);
  text-align: center;
  max-width: 58ch;
}

/* ==========================================================================
   Requests
   ========================================================================== */

.requests {
  background: var(--bg-alt);
}

.request-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.request {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: clamp(1.75rem, 3.4vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease), border-color 0.35s ease;
}

.request:hover {
  transform: translateY(-4px);
  border-color: rgba(63, 94, 86, 0.28);
  box-shadow: var(--shadow-md);
}

.request-num {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--sand-ink);
  margin-bottom: 1.35rem;
}

.request h3 {
  font-size: clamp(1.65rem, 2.5vw, 2.05rem);
  margin-bottom: 0.85rem;
}

.request-lead {
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.62;
  color: var(--ink-soft);
  margin-bottom: 1.5rem;
  max-width: 52ch;
}

.request-label {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  margin-bottom: 0.95rem;
}

.request ul {
  display: grid;
  gap: 0.75rem;
}

.request li {
  position: relative;
  padding-left: 1.35rem;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.58;
  color: var(--ink-soft);
}

.request li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 0.55rem;
  height: 1.5px;
  background: var(--accent);
}

/* ==========================================================================
   Breathing Exercise
   ========================================================================== */

.breath {
  background:
    radial-gradient(circle at 80% 50%, rgba(178, 146, 104, 0.14), transparent 55%),
    var(--accent-deep);
  color: var(--light);
  padding: clamp(4.5rem, 8.5vw, 7rem) 0;
  overflow: hidden;
}

.breath-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  align-items: center;
}

.breath-copy {
  text-align: center;
}

.breath-copy h2 {
  margin-bottom: 1.15rem;
}

.breath-copy p {
  color: var(--light-muted);
  margin: 0 auto 2rem;
}

.breath-visual {
  display: grid;
  place-items: center;
}

.breath-ring {
  position: relative;
  display: grid;
  place-items: center;
  width: min(20rem, 76vw);
  aspect-ratio: 1;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 245, 0.2);
}

.breath-ring::before {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  border: 1px dashed rgba(250, 248, 245, 0.15);
}

.breath-circle {
  position: absolute;
  width: 42%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(
    circle at 35% 30%,
    rgba(250, 248, 245, 0.36),
    rgba(178, 146, 104, 0.16) 72%
  );
  box-shadow: 0 0 80px rgba(250, 248, 245, 0.16);
  transform: scale(1);
  transition: transform 4s cubic-bezier(0.45, 0, 0.55, 1);
}

.breath-readout {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 1.25rem;
}

.breath-label {
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2.2vw, 1.65rem);
  font-style: italic;
  line-height: 1.2;
}

.breath-meta {
  margin-top: 0.35rem;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--light-subtle);
}

/* ==========================================================================
   Approach & Principles
   ========================================================================== */

.method-grid {
  display: grid;
  grid-template-columns: 1fr;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.method {
  padding: 1.75rem 0;
}

.method + .method {
  border-top: 1px solid var(--line);
}

.method h3 {
  font-size: clamp(1.4rem, 2vw, 1.55rem);
  margin-bottom: 0.75rem;
}

.method p {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 48ch;
}

.principles {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: clamp(2.25rem, 4.5vw, 3.5rem);
}

.principles li {
  padding: 1.65rem;
  background: var(--accent-soft);
  border-radius: var(--radius);
  border: 1px solid rgba(63, 94, 86, 0.1);
}

.principles strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.48rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 0.4rem;
}

.principles span {
  display: block;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

/* ==========================================================================
   Process Steps
   ========================================================================== */

.process {
  background: var(--surface);
}

.steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.steps li {
  position: relative;
}

.step-num {
  display: grid;
  place-items: center;
  width: 2.85rem;
  height: 2.85rem;
  border-radius: 50%;
  border: 1px solid var(--sand);
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 500;
  color: var(--accent-deep);
  margin-bottom: 1.2rem;
  background: var(--surface);
  position: relative;
  z-index: 1;
}

.steps h3 {
  font-size: 1.55rem;
  margin-bottom: 0.5rem;
}

.steps p {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.62;
  color: var(--ink-soft);
  max-width: 36ch;
}

/* ==========================================================================
   Pricing
   ========================================================================== */

.price-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: stretch;
}

.price {
  display: flex;
  flex-direction: column;
  padding: clamp(1.85rem, 3vw, 2.5rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

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

.price-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.price-kind {
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.price-badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.78rem;
  border-radius: 999px;
  background: rgba(178, 146, 104, 0.24);
  color: var(--light);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.price:not(.price-featured) .price-badge {
  background: var(--accent-soft);
  color: var(--accent-deep);
}

.price h3 {
  font-size: clamp(1.65rem, 2.3vw, 1.95rem);
  margin-bottom: 0.35rem;
}

.price-amount {
  font-family: var(--serif);
  font-size: 1.9rem;
  font-weight: 500;
  color: var(--ink);
  margin-top: 0.35rem;
}

.price-featured .price-amount {
  color: var(--light);
}

.price-meta {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.22rem;
  color: var(--accent);
  padding-bottom: 1.35rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid var(--line);
}

.price ul {
  display: grid;
  gap: 0.75rem;
  margin-bottom: 2rem;
  flex: 1;
}

.price li {
  position: relative;
  padding-left: 1.45rem;
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.58;
  color: var(--ink-soft);
}

.price li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-size: 0.85rem;
  top: 0.12rem;
}

.price-featured {
  background: var(--accent-deep);
  border-color: var(--accent-deep);
  color: var(--light);
  box-shadow: var(--shadow-md);
}

.price-featured .price-kind {
  color: var(--light-subtle);
}

.price-featured .price-meta {
  color: #d6c3a5;
  border-bottom-color: var(--light-line);
}

.price-featured li {
  color: var(--light-muted);
}

.price-featured li::before {
  color: #d6c3a5;
}

/* Extended Price Catalog & Social Option */

.price-extra {
  margin-top: clamp(2.75rem, 5vw, 4rem);
  padding: clamp(1.6rem, 3.5vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.price-extra-title {
  font-size: clamp(1.55rem, 2.4vw, 2rem);
  color: var(--ink);
  margin-bottom: 1.5rem;
}

.price-catalog {
  border-top: 1px solid var(--line-strong);
}

.price-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.9rem 2rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}

.price-row:last-child {
  border-bottom: 0;
  padding-bottom: 0.25rem;
}

.price-row-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.85rem;
  margin-bottom: 0.45rem;
}

.price-row-head strong {
  font-family: var(--serif);
  font-size: clamp(1.32rem, 1.9vw, 1.55rem);
  font-weight: 500;
  line-height: 1.22;
  color: var(--ink);
}

.price-duration {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--muted);
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.price-row-main p {
  font-size: clamp(1rem, 1.1vw, 1.0625rem);
  line-height: 1.58;
  color: var(--ink-soft);
  max-width: 60ch;
}

.price-row-aside {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.25rem;
}

.price-row-cost {
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  font-weight: 600;
  color: var(--accent-deep);
  white-space: nowrap;
}

.price-row-link {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0.35rem 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--accent);
  border-bottom: 1px solid rgba(54, 84, 76, 0.35);
  white-space: nowrap;
  transition: color 0.25s ease, border-color 0.25s ease;
}

.price-row-link:hover {
  color: var(--accent-ink);
  border-bottom-color: var(--accent-ink);
}

.price-social {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  align-items: center;
  margin-top: 1.5rem;
  padding: clamp(1.4rem, 3vw, 2rem);
  background: var(--accent-soft);
  border: 1px solid rgba(54, 84, 76, 0.18);
  border-radius: var(--radius);
}

.price-social-badge {
  display: inline-grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: var(--accent-deep);
  color: var(--light);
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 500;
  flex-shrink: 0;
}

.price-social-body strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.6rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--accent-deep);
  margin-bottom: 0.4rem;
}

.price-social-body p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink-soft);
}

.price-social-link {
  justify-self: start;
  white-space: nowrap;
}

/* ==========================================================================
   Testimonials (optional CMS section)
   ========================================================================== */

.testimonials {
  background: var(--surface);
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.testimonial-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
  padding: clamp(1.75rem, 3vw, 2.35rem);
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.testimonial-card blockquote {
  font-family: var(--sans);
  font-size: clamp(1rem, 1.25vw, 1.125rem);
  font-weight: 400;
  line-height: 1.62;
  color: var(--ink);
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line);
}

.testimonial-author strong {
  font-size: 0.95rem;
  font-weight: 600;
}

.testimonial-author span {
  font-size: 0.875rem;
  color: var(--muted);
}

/* ==========================================================================
   FAQ
   ========================================================================== */

.faq {
  background: var(--bg-alt);
}

.faq-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2rem, 5vw, 5.5rem);
  align-items: start;
}

.faq-list {
  border-top: 1px solid var(--line-strong);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
}

.faq-list summary {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 3.5rem;
  padding: 1.35rem 2.5rem 1.35rem 0;
  font-family: var(--sans);
  font-size: clamp(1.0625rem, 1.35vw, 1.1875rem);
  font-weight: 500;
  line-height: 1.45;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  transition: color 0.25s ease;
}

.faq-list summary:hover {
  color: var(--accent);
}

.faq-list summary::-webkit-details-marker {
  display: none;
}

.faq-list summary::after {
  content: "";
  position: absolute;
  right: 0.45rem;
  top: 50%;
  width: 0.65rem;
  height: 0.65rem;
  border-right: 1.5px solid var(--ink);
  border-bottom: 1.5px solid var(--ink);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.35s var(--ease);
}

.faq-list details[open] summary::after {
  transform: translateY(-30%) rotate(-135deg);
}

.faq-list details p {
  padding: 0 0 1.5rem;
  font-size: clamp(1rem, 1.15vw, 1.0625rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 62ch;
}

.faq-list details p a {
  color: var(--accent-deep);
  border-bottom: 1px solid currentColor;
  font-weight: 500;
}

/* ==========================================================================
   Contact & Netlify Form
   ========================================================================== */

.contact {
  background: var(--accent-ink);
  color: var(--light);
  padding: clamp(4.5rem, 8.5vw, 7.5rem) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}

.contact-copy h2 {
  margin-bottom: 1.25rem;
}

.contact-copy > p {
  color: var(--light-muted);
}

.contact-links {
  margin-top: 2.25rem;
  border-top: 1px solid var(--light-line);
}

.contact-links li {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.2rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--light-line);
  align-items: baseline;
}

.contact-links span {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--light-subtle);
}

.contact-links a,
.contact-links p {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  font-family: var(--sans);
  font-size: clamp(1.02rem, 1.25vw, 1.125rem);
  font-weight: 500;
  overflow-wrap: anywhere;
}

.contact-links a {
  transition: color 0.25s ease;
}

.contact-links a:hover {
  color: #d6c3a5;
}

.contact-form {
  display: grid;
  gap: 1.25rem;
  padding: clamp(1.5rem, 3.5vw, 2.75rem);
  background: rgba(250, 248, 245, 0.04);
  border: 1px solid var(--light-line);
  border-radius: var(--radius-lg);
  color-scheme: dark;
}

.field {
  display: grid;
  gap: 0.45rem;
}

.field-label-row {
  display: flex;
  align-items: baseline;
  gap: 0.45rem;
}

.field label {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--light-muted);
}

.field label small,
.field-optional {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--light-subtle);
}

.channel-field {
  border: 0;
  padding: 0;
  min-width: 0;
}

.channel-field legend {
  font-size: 0.86rem;
  font-weight: 500;
  color: var(--light-muted);
  margin-bottom: 0.6rem;
}

.channel-options {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.channel-pill {
  position: relative;
  cursor: pointer;
}

.channel-pill input {
  position: absolute;
  opacity: 0;
  width: 1px;
  height: 1px;
  pointer-events: none;
}

.channel-pill span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.75rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  border: 1px solid rgba(250, 248, 245, 0.24);
  background: rgba(250, 248, 245, 0.04);
  color: var(--light-muted);
  font-size: 0.92rem;
  font-weight: 500;
  transition: background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.channel-pill:hover span {
  border-color: rgba(250, 248, 245, 0.45);
  color: var(--light);
}

.channel-pill input:checked + span {
  background: var(--light);
  border-color: var(--light);
  color: var(--accent-ink);
}

.channel-pill input:focus-visible + span {
  outline: 2px solid #d6c3a5;
  outline-offset: 2px;
}

/* 16px (1rem) font-size prevents iOS Safari auto-zoom on focus */
.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 2.85rem;
  padding: 0.75rem 0;
  font-size: 1rem;
  background: transparent;
  border: 0;
  border-bottom: 1px solid rgba(250, 248, 245, 0.26);
  border-radius: 0;
  color: var(--light);
  font-weight: 400;
  transition: border-color 0.3s ease;
}

.field input::placeholder,
.field textarea::placeholder {
  color: rgba(250, 248, 245, 0.36);
}

.field select {
  appearance: none;
  padding-right: 1.75rem;
  background-image: linear-gradient(45deg, transparent 50%, rgba(250, 248, 245, 0.75) 50%),
    linear-gradient(135deg, rgba(250, 248, 245, 0.75) 50%, transparent 50%);
  background-position: calc(100% - 10px) 52%, calc(100% - 5px) 52%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
  cursor: pointer;
}

.field select option {
  color: var(--ink);
  background: var(--surface);
}

.field textarea {
  resize: vertical;
  min-height: 5.5rem;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-bottom-color: #d6c3a5;
}

.field input:-webkit-autofill,
.field input:-webkit-autofill:hover,
.field input:-webkit-autofill:focus,
.field textarea:-webkit-autofill,
.field select:-webkit-autofill {
  -webkit-text-fill-color: var(--light);
  caret-color: var(--light);
  -webkit-box-shadow: 0 0 0 1000px #21302c inset;
  box-shadow: 0 0 0 1000px #21302c inset;
  transition: background-color 99999s ease-in-out 0s;
}

.field input:autofill {
  color: var(--light);
  background: transparent;
}

.field.is-invalid input,
.field.is-invalid textarea {
  border-bottom-color: #e49b88;
}

.contact-form .btn {
  margin-top: 0.5rem;
}

.form-note {
  font-size: 0.85rem;
  color: var(--light-subtle);
  text-align: center;
  min-height: 1.4em;
}

.form-note.is-success {
  color: #b7dfc4;
}

.form-note.is-error {
  color: #f0b09f;
}

.contact-form[hidden],
.form-success[hidden] {
  display: none;
}

.form-success {
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1rem;
  padding: clamp(2.25rem, 4.5vw, 3.5rem) clamp(1.5rem, 3.5vw, 2.75rem);
  background: rgba(250, 248, 245, 0.05);
  border: 1px solid rgba(183, 223, 196, 0.28);
  border-radius: var(--radius-lg);
}

.form-success-icon {
  display: grid;
  place-items: center;
  width: 3.75rem;
  height: 3.75rem;
  border-radius: 50%;
  background: rgba(183, 223, 196, 0.16);
  border: 1px solid rgba(183, 223, 196, 0.45);
  color: #b7dfc4;
  font-size: 1.5rem;
  font-weight: 600;
}

.form-success h3 {
  font-size: clamp(1.75rem, 2.6vw, 2.2rem);
  color: var(--light);
}

.form-success p {
  font-size: 1rem;
  line-height: 1.62;
  color: var(--light-muted);
  max-width: 42ch;
}

.form-success-meta {
  font-size: 0.92rem;
  color: #d6c3a5;
  padding: 0.6rem 1.1rem;
  border-radius: 999px;
  background: rgba(250, 248, 245, 0.06);
  border: 1px solid var(--light-line);
}

.form-success-meta:empty {
  display: none;
}

.btn-outline-light {
  margin-top: 0.5rem;
  background: transparent;
  color: var(--light);
  border: 1px solid rgba(250, 248, 245, 0.35);
}

.btn-outline-light:hover {
  background: var(--light);
  color: var(--accent-ink);
  border-color: var(--light);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  background: var(--accent-ink);
  color: var(--light-subtle);
  font-size: 0.9rem;
  padding-bottom: max(2rem, env(safe-area-inset-bottom));
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.75rem;
  align-items: center;
  padding: 2.25rem 0;
  border-top: 1px solid var(--light-line);
}

.footer-name {
  font-family: var(--serif);
  font-size: 1.38rem;
  font-weight: 500;
  color: var(--light);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 1.35rem;
}

.footer-nav a,
.footer-bottom a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  transition: color 0.25s ease;
}

.footer-nav a:hover,
.footer-crisis a:hover,
.footer-bottom a:hover {
  color: var(--light);
}

.footer-crisis a {
  color: var(--light);
  border-bottom: 1px solid rgba(250, 248, 245, 0.35);
}

.footer-crisis small {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.8125rem;
  color: rgba(250, 248, 245, 0.62);
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(250, 248, 245, 0.08);
  font-size: 0.84rem;
}

/* ==========================================================================
   Scroll Reveal
   ========================================================================== */

.js .reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   Responsive Breakpoints (Mobile-First)
   ========================================================================== */

@media (min-width: 640px) {
  body {
    font-size: 1.0625rem;
  }

  .logo-text small {
    display: block;
  }

  .hero-actions {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
  }

  .hero-figure {
    padding: 0 0 1.4rem 1.4rem;
  }

  .hero-frame {
    inset: 1.4rem 1.4rem 0 0;
  }

  .hero-facts {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-facts div {
    padding: 1.5rem 1.25rem 1.75rem 0;
  }

  .hero-facts div:nth-child(even) {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }

  .hero-facts div:nth-child(-n + 2) {
    border-top: 0;
  }

  .timeline {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.75rem;
  }

  .method-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .method {
    padding: 2rem 1.5rem 2.2rem 0;
  }

  .method:nth-child(even) {
    padding-left: 1.75rem;
    padding-right: 0;
    border-left: 1px solid var(--line);
  }

  .method:nth-child(-n + 2) {
    border-top: 0;
  }

  .steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem 2rem;
  }

  .contact-links li {
    grid-template-columns: 7rem 1fr;
    gap: 1rem;
  }

  .footer-bottom {
    flex-direction: row;
    align-items: center;
  }
}

@media (min-width: 900px) {
  :root {
    --header: 4.75rem;
  }

  body {
    font-size: 1.125rem;
  }

  .header {
    height: var(--header);
    padding-top: 0;
    border-bottom-color: transparent;
  }

  .header.is-scrolled {
    border-bottom-color: var(--line);
  }

  .burger {
    display: none;
  }

  .header-cta {
    display: inline-flex;
  }

  .nav {
    position: static;
    inset: auto;
    flex-direction: row;
    align-items: center;
    gap: 1.65rem;
    padding: 0;
    background: transparent;
    opacity: 1;
    visibility: visible;
    transform: none;
    overflow: visible;
  }

  .nav a {
    position: relative;
    min-height: 2.75rem;
    padding: 0.25rem 0;
    border-bottom: 0;
    font-family: var(--sans);
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--muted);
  }

  .nav a::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.35rem;
    height: 1.5px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s var(--ease);
  }

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

  .nav a.is-active::after {
    transform: scaleX(1);
  }

  .nav .nav-cta {
    display: none;
  }

  .hero-inner {
    grid-template-columns: 1.12fr 0.88fr;
  }

  .hero-figure {
    order: 0;
    max-width: min(470px, calc((100vh - var(--header) - 7.5rem) * 0.82));
    justify-self: end;
    margin: 0;
  }

  .hero-figure img {
    aspect-ratio: 4 / 5;
  }

  .hero-badge {
    bottom: 2.75rem;
  }

  .hero-facts {
    grid-template-columns: repeat(4, 1fr);
  }

  .hero-facts div,
  .hero-facts div + div {
    border-top: 0;
    padding: 1.75rem 1.35rem 2.15rem 0;
  }

  .hero-facts div + div {
    padding-left: 1.5rem;
    border-left: 1px solid var(--line);
  }

  .recognize-grid {
    grid-template-columns: 0.85fr 1.15fr;
  }

  .recognize-head,
  .faq-grid .section-head {
    position: sticky;
    top: calc(var(--header) + 2rem);
  }

  .about-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .about-figure {
    margin: 0;
    max-width: none;
  }

  .timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .doc-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .credentials-note {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
  }

  .credentials-note-link {
    justify-self: end;
  }

  .request-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .breath-copy {
    text-align: left;
  }

  .breath-copy p {
    margin-inline: 0;
  }

  .principles {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-grid,
  .testimonial-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .price-row {
    grid-template-columns: 1fr auto;
    padding: 1.5rem 0;
  }

  .price-row-aside {
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
    gap: 0.15rem;
    padding-top: 0;
    min-width: 11.5rem;
  }

  .price-social {
    grid-template-columns: auto 1fr auto;
    gap: 1.5rem 2rem;
  }

  .price-social-link {
    justify-self: end;
  }

  .faq-grid {
    grid-template-columns: 0.8fr 1.2fr;
  }

  .faq-list details p {
    padding-right: 2.5rem;
  }

  .contact-grid {
    grid-template-columns: 0.95fr 1.05fr;
  }

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

  .footer-crisis {
    text-align: right;
  }
}

@media (min-width: 1120px) {
  .nav {
    gap: 2.1rem;
  }

  .method-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .method,
  .method:nth-child(even) {
    padding: 2.15rem 1.6rem 2.35rem 0;
    border-top: 0;
    border-left: 0;
  }

  .method + .method {
    padding-left: 1.6rem;
    border-left: 1px solid var(--line);
  }

  .method h3 {
    min-height: 3.3rem;
  }

  .steps {
    grid-template-columns: repeat(4, 1fr);
  }

  .steps li:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 1.42rem;
    left: 3.35rem;
    right: -1.35rem;
    height: 1px;
    background: var(--line);
  }
}

/* Reduced Motion & Accessibility */

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

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}

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

.contact :focus-visible,
.breath :focus-visible,
.footer :focus-visible,
.price-featured :focus-visible {
  outline-color: #d6c3a5;
}

::selection {
  background: var(--accent-soft);
  color: var(--accent-ink);
}
