/*
 * Aura Sleep Clinic — midnight nightscape.
 * Deep navy canvas, cream type, soft dawn-pink accent. Calming, hotel-like,
 * professional. Manrope display/body, Instrument Serif italic accents with a
 * dawn-pink gradient tint on the emphasis word, JetBrains Mono for metadata.
 */

@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif:ital@0;1&family=Manrope:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --color-primary: #F4C5B8;   /* dawn — accent / CTA */
  --color-secondary: #FFA987; /* dawn-2 — warmer accent */
  --color-subdued: #8E8775;   /* cream-3 — muted metadata */
  --color-link: #F4C5B8;
  --color-page-bg: #0E1A2E;   /* night */
  --color-container-bg: #14223C; /* night-2 */
  --color-text: #ECE3D0;
  --nav-menu-bg: #14223C; /* solid navbar colour for the open mobile dropdown */      /* cream */

  --font-heading: "Manrope", "Söhne", system-ui, sans-serif;
  --font-body: "Manrope", "Söhne", system-ui, sans-serif;

  --au-night-3: #1B2D4D;
  --au-line: #2A3F62;
  --au-cream-2: #C9C0AD;
  --au-dawn-2: #FFA987;
  --au-moon: #B8C4E0;
  --au-serif: "Instrument Serif", "Cormorant Garamond", Georgia, serif;
  --au-mono: "JetBrains Mono", "Geist Mono", ui-monospace, monospace;
  --au-glow: 0 0 32px rgba(244, 197, 184, 0.22);
}

html, body {
  background: var(--color-page-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
}

a { color: var(--color-link); text-decoration: none; }
a:hover { color: var(--au-dawn-2); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: -0.03em;
  line-height: 1.05;
  color: var(--color-text);
  margin: 0 0 0.5em;
}
h1 { font-size: clamp(2.75rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.125rem; font-weight: 600; }

/* Dawn-pink gradient tint on the emphasis word, set in the elegant italic
   serif — the signature "aura" of the headline (cf. Helix's gradient clip). */
h1 em, h2 em, h3 em {
  font-family: var(--au-serif);
  font-style: italic;
  font-weight: 400;
  font-size: 1.08em;
  letter-spacing: -0.01em;
  background: linear-gradient(110deg, var(--color-primary), var(--au-dawn-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--au-mono);
  font-size: 12px;
  letter-spacing: 0.02em;
  color: var(--color-primary);
}

/* ── Nav ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  min-height: 64px;
  padding: 18px 0;
  --th-header-bg: var(--color-nav-bg, rgba(14, 26, 46, 0.82));
  background: var(--color-nav-bg, rgba(14, 26, 46, 0.82));
  backdrop-filter: saturate(140%) blur(16px);
  -webkit-backdrop-filter: saturate(140%) blur(16px);
  border-bottom: 1px solid var(--au-line);
  font-size: 14px;
}
.logo-area {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-heading);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.02em;
  color: var(--color-text);
}
.logo-area::before {
  content: "";
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: radial-gradient(circle at 70% 30%, var(--color-text) 0 40%, var(--color-primary) 40% 62%, var(--au-night-3) 62% 100%);
  box-shadow: var(--au-glow);
}
.logo-area.has-logo::before { display: none; }
.main-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  color: var(--au-cream-2);
  font-weight: 500;
}
.main-nav a { color: inherit; transition: color .2s; }
.main-nav a:hover { color: var(--color-text); text-decoration: none; }

/* ── Buttons ── */
.btn, .cta-button, .btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  font: 600 15px var(--font-body);
  background: var(--color-primary);
  color: var(--color-page-bg);
  border: 0;
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s, background .2s;
}
.btn:hover, .cta-button:hover, .btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 36px rgba(244, 197, 184, 0.35);
  text-decoration: none;
}
.btn-secondary, .btn-outline, .btn-ghost {
  background: transparent;
  color: var(--color-text);
  border: 1px solid var(--au-line);
}
.btn-secondary:hover, .btn-outline:hover, .btn-ghost:hover {
  background: var(--au-night-3);
  border-color: var(--color-primary);
}

/* ── Layout ── */
.page-content { padding: 0; min-height: 60vh; }
.container, .wrap { max-width: var(--container-max-width); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.section-alt { background: var(--color-container-bg); }

/* ── Hero (nightscape) ── */
.hero-section, .hero {
  position: relative;
  padding: 40px 32px 88px;
  overflow: hidden;
  background: var(--color-page-bg);
  border-bottom: 1px solid var(--au-line);
}
/* Soft dawn glow drifting in from the top-right corner. */
.hero-section::before, .hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -120px;
  width: 620px;
  height: 620px;
  background: radial-gradient(circle, rgba(244, 197, 184, 0.16) 0%, transparent 60%);
  pointer-events: none;
}
/* Starfield scattered across the band. */
.hero-section::after, .hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(1.4px 1.4px at 20% 30%, rgba(236, 227, 208, 0.45) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 65% 78%, rgba(236, 227, 208, 0.30) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 85% 16%, rgba(236, 227, 208, 0.40) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 40% 68%, rgba(236, 227, 208, 0.25) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 11% 84%, rgba(236, 227, 208, 0.35) 50%, transparent 100%),
    radial-gradient(1.4px 1.4px at 75% 44%, rgba(236, 227, 208, 0.30) 50%, transparent 100%);
  pointer-events: none;
}
.hero-section > *, .hero > * { position: relative; z-index: 1; }
.hero-section h1, .hero h1 {
  font-size: clamp(2.75rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  max-width: 16ch;
}
.hero-grid.no-image .hero-copy h1,
.hero-grid.no-image .hero-copy p { max-width: 22ch; }
.hero-section p, .hero p {
  font-size: 19px;
  line-height: 1.55;
  color: var(--au-cream-2);
  max-width: 34rem;
}
.hero-media { border-radius: 18px; box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45); }

/* Hero stat strip sits on a hairline of the dawn line colour. */
.stats-row { border-top-color: var(--au-line); }
.stat-num { color: var(--color-text); }
.stat-label { color: var(--au-cream-2); opacity: 0.8; }

/* ── Card ── */
.card {
  background: var(--color-container-bg);
  border-radius: 18px;
  padding: 30px;
  border: 1px solid var(--au-line);
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.30);
}

/* ── Grids ── */
.services-grid, .team-grid, .feature-list {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  padding: 48px 0;
}
.feature-item {
  padding: 30px;
  background: var(--color-container-bg);
  border: 1px solid var(--au-line);
  border-radius: 18px;
}
.feature-item h4 { font-size: 20px; letter-spacing: -0.02em; margin: 0 0 8px; }
.feature-item .big-num {
  display: block;
  font-size: 64px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  background: linear-gradient(110deg, var(--color-primary), var(--au-dawn-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── Services menu ── */
.services-menu {
  list-style: none;
  margin: 0;
  padding: 32px 0 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.services-menu li {
  background: var(--color-container-bg);
  border: 1px solid var(--au-line);
  border-radius: 18px;
  padding: 30px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 14px;
  min-height: 220px;
  transition: transform 0.25s ease, border-color 0.25s ease;
}
.services-menu li:hover { transform: translateY(-4px); border-color: var(--color-primary); }
.services-menu li > span:first-child {
  font-family: var(--font-heading);
  font-size: clamp(20px, 1.6vw, 26px);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.12;
  color: var(--color-text);
  max-width: 20ch;
}
.services-menu li .svc-price {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-primary);
  align-self: end;
}
.services-menu li .svc-price small {
  font-family: var(--au-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-subdued);
  margin-right: 6px;
}
.services-menu li .svc-meta {
  font-size: 13px;
  color: var(--au-cream-2);
  opacity: 0.8;
  padding-top: 12px;
  border-top: 1px solid var(--au-line);
}

/* ── Clinicians ── */
#clinicians.section,
#clinicians.section-alt { background: var(--color-container-bg); }
.team-grid .card {
  padding: 0;
  overflow: hidden;
  background: var(--au-night-3);
  border: 1px solid var(--au-line);
  border-radius: 18px;
  display: flex;
  flex-direction: column;
  box-shadow: none;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.team-grid .card:hover { transform: translateY(-4px); box-shadow: 0 22px 54px rgba(0, 0, 0, 0.4); }
.team-grid .card img,
.team-grid .card .avatar {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  background: #233957;
  border-radius: 0;
  display: block;
  margin: 0;
}
.team-grid .card .card-body {
  padding: 22px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1;
}
.team-grid .card h4 { font-size: 19px; font-weight: 600; letter-spacing: -0.02em; margin: 0; }
.team-grid .card .role { color: var(--color-primary); font-size: 13.5px; font-weight: 500; margin: 0 0 8px; }
.team-grid .card .card-bio { color: var(--au-cream-2); font-size: 13.5px; line-height: 1.5; margin: 0 0 14px; }
.team-grid .card .card-foot {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--au-line);
  display: flex;
  justify-content: space-between;
  gap: 10px;
  font-family: var(--au-mono);
  font-size: 11.5px;
  color: var(--color-subdued);
}

/* ── Booking widget ── */
.booking-widget, .booking-widget-placeholder {
  background: var(--color-container-bg);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--au-line);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}
.booking-widget h3 { font-size: 24px; font-weight: 600; letter-spacing: -0.02em; margin: 0 0 20px; }
.booking-widget label {
  display: block;
  font-size: 12px;
  font-weight: 500;
  color: var(--au-cream-2);
  margin: 16px 0 6px;
}
.booking-widget select,
.booking-widget input,
.contact-form input,
.contact-form textarea {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 1px solid var(--au-line);
  border-radius: 12px;
  background: var(--color-page-bg);
  color: var(--color-text);
  font-family: inherit;
  font-size: 14px;
  transition: border-color .15s, box-shadow .15s;
}
.contact-form textarea { height: auto; padding: 12px 14px; }
.booking-widget select:focus,
.booking-widget input:focus,
.contact-form input:focus,
.contact-form textarea:focus {
  outline: 0;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(244, 197, 184, 0.22);
}
.booking-widget .booking-fields .cta-button,
.booking-widget .booking-fields .btn { height: 46px; align-self: end; }

/* ── Location ── */
.visit-grid, .visit-card, .visit-map-wrap { background: var(--color-container-bg); border-color: var(--au-line); }
.visit-map-fallback { background: var(--au-night-3); color: var(--au-cream-2); }

/* ── Footer ── */
.site-footer {
  background: var(--color-container-bg);
  color: var(--au-cream-2);
  padding: 64px 32px 28px;
  border-top: 1px solid var(--au-line);
  margin-top: 80px;
  font-size: 14px;
}
.site-footer h4 { color: var(--color-text); font-weight: 600; font-size: 14px; }
.site-footer a { color: var(--au-cream-2); }
.site-footer a:hover { color: var(--color-text); }
.footer-grid {
  display: grid;
  gap: 32px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  max-width: var(--container-max-width);
  margin: 0 auto;
}
.footer-col h4 { margin: 0 0 14px; }
.footer-bottom {
  max-width: var(--container-max-width);
  margin: 40px auto 0;
  padding-top: 22px;
  border-top: 1px solid var(--au-line);
  font-family: var(--au-mono);
  font-size: 12px;
  color: var(--color-subdued);
}
.footer-cqc {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background: var(--au-night-3);
  border: 1px solid var(--au-line);
  border-radius: 999px;
  font-family: var(--au-mono);
  font-size: 11px;
  color: var(--color-text);
}

@media (max-width: 1080px) {
  .services-menu { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 800px) {
  .site-header { padding: 14px 0; min-height: 56px; }
  .main-nav { display: none; }
  .hero-section, .hero { padding: 32px 20px 64px; }
  .section { padding: 64px 0; }
  .services-menu { grid-template-columns: 1fr; }
}

/* ── Banner & Editorial ── */
.section-banner { background: var(--color-container-bg); padding: 64px 0; }
.section-banner .banner-image { border-radius: 18px; aspect-ratio: 21/9; }

.section-editorial { background: var(--color-container-bg); padding: 88px 0; }
.section-editorial .editorial-grid { gap: 64px; }
.section-editorial .editorial-image img { border-radius: 18px; }
.section-editorial .editorial-content h2 {
  font-family: var(--font-heading);
  font-size: clamp(2rem, 3vw, 2.625rem);
  font-weight: 600;
  letter-spacing: -0.025em;
}
.section-editorial .editorial-content h2 em {
  font-family: var(--au-serif);
  font-style: italic;
  background: linear-gradient(110deg, var(--color-primary), var(--au-dawn-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-editorial .editorial-body p { color: var(--au-cream-2); font-size: 17px; }
.section-editorial .editorial-body li { border-color: var(--au-line); color: var(--color-text); }
.section-editorial .editorial-body li:last-child { border-bottom-color: var(--au-line); }
.section-editorial .editorial-body li::before {
  background: var(--au-night-3);
  color: var(--color-primary);
  font-style: normal;
  font-weight: 600;
  border: 1px solid var(--au-line);
}

/* ── New section blocks ── */
.section-stats { background: var(--color-container-bg); border-color: var(--au-line); padding: 64px 0; }
.stat-bar-cell { border-left-color: var(--au-line); }
.stat-bar-value { font-weight: 700; letter-spacing: -0.03em; color: var(--color-primary); }

.section-how { background: var(--color-page-bg); padding: 96px 0; }
.section-how .how-step-num {
  background: linear-gradient(110deg, var(--color-primary), var(--au-dawn-2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
}
.section-how .how-step-line { background: var(--au-line); }
.section-how .how-step-title { font-weight: 600; }

.section-testimonials { background: var(--color-container-bg); padding: 96px 0; }
.testi-card { border: 1px solid var(--au-line); border-radius: 18px; background: var(--au-night-3); }
.testi-stars { color: var(--color-primary); }
.testi-quote { font-weight: 500; letter-spacing: -0.01em; }
.testi-byline { border-top-color: var(--au-line); }

.section-partners { background: var(--color-page-bg); padding: 88px 0; }
.partners-logos { border-bottom-color: var(--au-line); }
.accred-mark { border-color: var(--au-line); background: var(--color-container-bg); }
.accred-abbr { font-family: var(--au-mono); color: var(--color-primary); }

.section-journal { background: var(--color-container-bg); padding: 96px 0; }
.journal-image { border-radius: 14px; }
.journal-title { font-weight: 600; letter-spacing: -0.025em; }
.journal-tag { font-family: var(--au-mono); }

.section-faq { background: var(--color-page-bg); padding: 96px 0; }
.faq-item { border-bottom-color: var(--au-line); }
.faq-list { border-top-color: var(--au-line); }
.faq-q { font-weight: 600; letter-spacing: -0.02em; }

.section-cta {
  background: linear-gradient(135deg, var(--au-night-3) 0%, var(--color-page-bg) 100%);
  padding: 112px 0;
  position: relative;
  overflow: hidden;
}
.section-cta::before {
  content: "";
  position: absolute;
  top: -160px; left: 50%;
  width: 700px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(244, 197, 184, 0.14) 0%, transparent 60%);
  pointer-events: none;
}
.section-cta .cta-headline { font-weight: 600; letter-spacing: -0.03em; }
.section-cta .cta-headline em {
  font-family: var(--au-serif);
  font-style: italic;
  background: linear-gradient(110deg, var(--color-primary), var(--au-dawn-2));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.section-cta .cta-actions .btn,
.section-cta .cta-actions .cta-primary {
  background: var(--color-primary);
  color: var(--color-page-bg);
  border-radius: 999px;
  border: 0;
}
.section-cta .cta-ghost,
.section-cta .cta-actions .btn-ghost { border-radius: 999px; color: var(--color-text); border-color: var(--au-line); }

/* === Full image hero ===
   Typography mirrors the main hero; colour stays `inherit` so the
   block's tone classes drive it. */
.image-hero-section h1 {
  max-width: 16ch;
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 1.02;
  letter-spacing: -0.035em;
  color: inherit;
}
.image-hero-section .image-hero-subhead {
  max-width: 34rem;
  font-size: 19px;
  line-height: 1.55;
}
