:root {
  --deep-ocean: #0a1f35;
  --blue: #1e6fa8;
  --lake: #164b61;
  --teal: #0e8c6a;
  --electric: #12d4a8;
  --parchment: #f8f6f2;
  --mist: #fbfaf6;
  --gold: #c8920a;
  --plum: #7b3f8a;
  --near-black: #14241f;
  --muted: #647872;
  --line: rgba(10, 31, 53, 0.13);
  --glass: rgba(255, 255, 255, 0.18);
  --glass-strong: rgba(255, 255, 255, 0.68);
  --shadow: 0 30px 100px rgba(10, 31, 53, 0.16);
  --display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans: "Jost", Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  padding-bottom: 0;
  background: var(--mist);
  --page-accent: var(--gold);
  color: var(--near-black);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
}

body[data-page="counsellors"] {
  --page-accent: var(--teal);
}

body[data-page="services"] {
  --page-accent: var(--blue);
}

body[data-page="booking"] {
  --page-accent: var(--gold);
}

body[data-page="portal"] {
  --page-accent: var(--plum);
}

body[data-page="emergency"] {
  --page-accent: var(--electric);
}

body[data-page] {
  --page-accent: var(--deep-ocean);
}

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

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

button {
  cursor: pointer;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 28px;
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: 68px;
  margin: 14px auto -82px;
  padding: 9px 12px 9px 18px;
  color: rgba(255, 255, 255, 0.84);
  background: rgba(9, 31, 49, 0.38);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.16);
  backdrop-filter: blur(24px);
}

.brand-lockup {
  display: inline-flex;
  gap: 12px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  width: 34px;
  height: 52px;
  object-fit: contain;
  filter: brightness(0) invert(1) drop-shadow(0 4px 12px rgba(0, 0, 0, 0.18));
}

.page-emblem img,
.hero-logo-motion img {
  filter: none;
}

.brand-lockup strong {
  display: block;
  color: #fffaf0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

.brand-lockup small,
.quiet-label,
.section-number {
  color: rgba(216, 239, 229, 0.82);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.27em;
  line-height: 1.4;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  gap: 22px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  white-space: nowrap;
}

.site-nav a {
  padding: 8px 0;
}

.site-nav a:hover {
  color: #fffaf0;
}

.site-nav a.active {
  color: #fffaf0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.86);
}

body:not([data-page="home"]) .site-header {
  background: rgba(76, 95, 96, 0.62);
  border-color: rgba(255, 255, 255, 0.36);
}

.nav-action,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 11px 18px;
  border: 1px solid currentColor;
  border-radius: 5px;
  font-size: 14px;
  font-weight: 500;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.nav-action {
  min-width: 82px;
  color: #fffaf0;
  background: transparent;
  border-color: rgba(255, 250, 240, 0.68);
  box-shadow: none;
}

.button:hover,
.nav-action:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: inherit;
  background: transparent;
  border-color: var(--gold);
  box-shadow: none;
}

.button.primary:hover,
.nav-action:hover {
  background: rgba(244, 206, 117, 0.06);
  border-color: rgba(244, 206, 117, 0.92);
}

.site-header .nav-action:hover {
  background: rgba(255, 250, 240, 0.06);
  border-color: rgba(255, 250, 240, 0.92);
}

.section-dark .button,
.section-dark .button.primary,
.crisis-strip .button,
.site-footer .button {
  color: #fffaf0;
  border-color: rgba(255, 250, 240, 0.72);
}

.section-dark .button:hover,
.crisis-strip .button:hover,
.site-footer .button:hover {
  background: rgba(255, 250, 240, 0.06);
  border-color: rgba(255, 250, 240, 0.94);
}

.button.secondary,
.menu-toggle,
.menu-close {
  color: inherit;
  background: transparent;
  border: 1px solid rgba(200, 146, 10, 0.72);
  border-radius: 5px;
}

.button.ghost {
  color: #fffaf0;
  background: transparent;
  border-color: rgba(255, 255, 255, 0.36);
  backdrop-filter: blur(16px);
}

.menu-toggle {
  display: none;
  min-height: 38px;
  width: 42px;
  padding: 8px 10px;
  color: #fffaf0;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 1px;
  background: currentColor;
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: none;
  background: rgba(7, 24, 42, 0.38);
  backdrop-filter: blur(10px);
}

.mobile-menu.open {
  display: block;
}

.mobile-menu-panel {
  display: grid;
  gap: 6px;
  width: min(320px, calc(100% - 28px));
  margin: 14px auto;
  padding: 18px;
  color: #fffaf0;
  background: rgba(7, 24, 42, 0.96);
  border: 1px solid rgba(244, 206, 117, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.mobile-menu-panel a,
.menu-close {
  min-height: 44px;
  padding: 10px 12px;
}

.bottom-tabs {
  position: fixed;
  right: 10px;
  bottom: 10px;
  left: 10px;
  z-index: 30;
  display: none;
  grid-template-columns: repeat(6, 1fr);
  gap: 2px;
  padding: 7px;
  color: rgba(255, 250, 240, 0.78);
  background: rgba(7, 24, 42, 0.94);
  border: 1px solid rgba(244, 206, 117, 0.24);
  border-radius: 10px;
  box-shadow: 0 18px 48px rgba(7, 24, 42, 0.28);
  backdrop-filter: blur(18px);
}

.bottom-tabs a {
  display: grid;
  place-items: center;
  min-height: 42px;
  font-size: 11px;
  border-radius: 6px;
}

.bottom-tabs a.active {
  color: #fffaf0;
  outline: 1px solid rgba(244, 206, 117, 0.72);
}

.button.small {
  min-height: 36px;
  padding: 8px 12px;
  font-size: 13px;
}

.section-dark {
  color: #fffaf0;
  background: var(--deep-ocean);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 6vw, 78px);
  min-height: 100svh;
  padding: clamp(124px, 12vw, 150px) clamp(22px, 7vw, 104px) 58px;
  overflow: hidden;
  isolation: isolate;
  background: var(--mist);
}

.page-section {
  min-height: calc(100svh - 96px);
}

body[data-page="home"] [data-page-section]:not([data-page-section="home"]),
body[data-page="counsellors"] [data-page-section]:not([data-page-section="counsellors"]),
body[data-page="services"] [data-page-section]:not([data-page-section="services"]),
body[data-page="booking"] [data-page-section]:not([data-page-section="booking"]),
body[data-page="portal"] [data-page-section]:not([data-page-section="portal"]),
body[data-page="emergency"] [data-page-section]:not([data-page-section="emergency"]),
body[data-page="group"] [data-page-section]:not([data-page-section="group"]) {
  display: none;
}

body[data-page="home"] .hero {
  background: var(--deep-ocean);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: -3;
  content: "";
  background: var(--deep-ocean);
  transform: none;
}

.hero::after {
  position: absolute;
  inset: auto 0 0;
  z-index: -1;
  height: 2px;
  content: "";
  background: var(--gold);
}

.ambient-film {
  display: none;
}

.film-layer {
  position: absolute;
  inset: -20%;
  display: block;
  opacity: 0.72;
  transform-origin: center;
}

.film-layer-one {
  background:
    repeating-radial-gradient(circle at 74% 38%, transparent 0 58px, rgba(255, 255, 255, 0.11) 59px 60px, transparent 61px 116px),
    linear-gradient(120deg, transparent 15%, rgba(216, 239, 229, 0.14) 42%, transparent 68%);
  animation: filmDrift 18s ease-in-out infinite alternate;
}

.film-layer-two {
  background:
    conic-gradient(from 35deg at 74% 38%, transparent 0 8deg, rgba(255, 255, 255, 0.12) 8deg 10deg, transparent 10deg 38deg, rgba(18, 212, 168, 0.1) 38deg 40deg, transparent 40deg 90deg),
    radial-gradient(ellipse at 70% 42%, rgba(255, 255, 255, 0.18), transparent 34%);
  mix-blend-mode: screen;
  animation: waterShift 14s ease-in-out infinite alternate;
}

.film-layer-three {
  background:
    repeating-linear-gradient(108deg, transparent 0 52px, rgba(255, 255, 255, 0.045) 53px 54px, transparent 55px 108px);
  mix-blend-mode: soft-light;
  animation: slowPan 26s linear infinite;
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
  max-width: min(590px, 42vw);
  animation: heroRise 900ms ease both;
}

.hero h1 {
  margin: 0;
  color: #fffaf0;
  font-family: var(--display);
  font-size: clamp(92px, 13vw, 164px);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 0.82;
  text-shadow: 0 18px 60px rgba(0, 0, 0, 0.24);
}

.gold-rule {
  width: 74px;
  height: 2px;
  margin: 34px 0 20px;
  background: var(--gold);
}

.tagline {
  margin: 0 0 24px;
  color: #f4ce75;
  font-family: var(--display);
  font-size: clamp(30px, 4vw, 48px);
  font-style: italic;
  font-weight: 300;
  line-height: 1.1;
}

.hero-text {
  max-width: 560px;
  margin: 0;
  color: rgba(255, 250, 240, 0.84);
  font-size: clamp(18px, 1.7vw, 24px);
  line-height: 1.5;
}

.name-origin {
  max-width: 560px;
  margin: 22px 0 0;
  color: rgba(216, 239, 229, 0.86);
  font-family: var(--display);
  font-size: clamp(24px, 2.4vw, 34px);
  font-style: italic;
  line-height: 1.22;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 34px;
}

.credential-line {
  max-width: 560px;
  margin: 18px 0 0;
  color: rgba(255, 250, 240, 0.66);
  font-size: 14px;
}

.install-prompt {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  max-width: 620px;
  margin-top: 28px;
  padding: 16px;
  color: #fffaf0;
  border: 1px solid rgba(244, 206, 117, 0.36);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.install-prompt[hidden] {
  display: none;
}

.install-prompt strong,
.install-prompt span {
  display: block;
}

.install-prompt span {
  color: rgba(255, 250, 240, 0.7);
  font-size: 13px;
}

.install-actions {
  display: flex;
  gap: 8px;
}

.hero-logo-motion {
  position: absolute;
  top: clamp(118px, 13vw, 160px);
  right: clamp(34px, 8vw, 132px);
  display: grid;
  place-items: center;
  width: min(34vw, 390px);
  aspect-ratio: 1;
  opacity: 0.86;
}

.hero-logo-motion span,
.page-emblem::before {
  position: absolute;
  inset: 7%;
  content: "";
  border: 1px solid var(--page-accent);
  border-radius: 999px;
  animation: logoHalo 8s ease-in-out infinite;
}

.hero-logo-motion img {
  display: block;
  width: 58%;
  filter: none;
  animation: logoFloat 7s ease-in-out infinite;
}

body[data-page="home"] .hero-logo-motion img {
  filter: brightness(0) invert(1);
}

body[data-page="home"] .hero-logo-motion span {
  border-color: rgba(226, 178, 52, 0.88);
  box-shadow: 0 0 0 1px rgba(255, 250, 240, 0.16), 0 0 34px rgba(226, 178, 52, 0.1);
}

.page-emblem {
  position: relative;
  display: grid;
  place-items: center;
  width: 92px;
  height: 92px;
  margin: 0 auto 8px;
  color: var(--deep-ocean);
}

.page-emblem img {
  width: 54px;
  height: 76px;
  object-fit: contain;
}

.page-emblem-light img {
  filter: brightness(0) invert(1);
}

.page-emblem-light::before {
  border-color: var(--deep-ocean);
}

.about-page,
.services-page,
.portal-preview {
  padding-top: clamp(108px, 8vw, 132px);
  border-top: 8px solid var(--page-accent);
}

.about-page > .philosophy,
.services-page > .services,
.portal-preview {
  padding-top: clamp(10px, 2vw, 22px);
}

.name-story {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(18px, 3vw, 34px) clamp(22px, 7vw, 104px) clamp(40px, 6vw, 72px);
  background: linear-gradient(90deg, rgba(14, 140, 106, 0.1) 0 10px, var(--mist) 10px 100%);
}

.name-story p:last-child {
  max-width: 660px;
  margin: 0;
  color: var(--muted);
  font-size: clamp(18px, 1.7vw, 23px);
}

.booking-shell .page-emblem,
.crisis-strip .page-emblem {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.hero-booking {
  position: relative;
  z-index: 1;
  align-self: center;
  padding: 22px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  box-shadow: 0 32px 100px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(28px) saturate(1.18);
  animation: glassArrive 1100ms 180ms ease both;
}

.hero-booking::before,
.booking-form::before,
.admin-demo::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.28), transparent 38%);
}

.selector-tabs {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}

.selector-tabs button {
  min-height: 38px;
  color: rgba(255, 250, 240, 0.78);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 5px;
  font-size: 13px;
}

.selector-tabs button.active {
  color: var(--deep-ocean);
  background: rgba(255, 250, 240, 0.9);
  border-color: rgba(255, 250, 240, 0.95);
}

.mini-slot,
.slot-card {
  display: grid;
  gap: 4px;
  padding: 13px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 6px;
}

.mini-slot + .mini-slot {
  margin-top: 8px;
}

.mini-slot strong,
.slot-card strong {
  color: #fffaf0;
  font-family: var(--display);
  font-size: 23px;
  font-weight: 300;
}

.mini-slot span,
.slot-card span {
  color: rgba(255, 250, 240, 0.66);
  font-size: 13px;
}

.slot-card strong {
  color: var(--deep-ocean);
}

.slot-card span {
  color: var(--muted);
}

.philosophy,
.services,
.specialisations,
.booking-shell,
.portal-preview,
.resources,
.crisis-strip {
  padding: clamp(64px, 9vw, 116px) clamp(22px, 7vw, 104px);
}

.philosophy {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(36px, 7vw, 96px);
  background:
    linear-gradient(90deg, var(--teal) 0 10px, transparent 10px),
    #ffffff;
}

.philosophy::after {
  display: none;
}

h2,
h3,
h4 {
  margin: 0;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-weight: 300;
  letter-spacing: 0;
  line-height: 1.05;
}

h2 {
  max-width: 900px;
  font-size: clamp(44px, 6.4vw, 82px);
}

h3 {
  font-size: 32px;
}

h4 {
  font-size: 22px;
}

.lead {
  max-width: 860px;
  margin: 36px 0 28px;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: clamp(29px, 3.2vw, 48px);
  font-style: italic;
  line-height: 1.23;
}

.two-column {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  max-width: 980px;
  color: #42544f;
}

.section-band {
  padding: clamp(64px, 8vw, 104px) clamp(22px, 7vw, 104px);
  background: linear-gradient(180deg, #ffffff, #f3f7f3);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: end;
  margin-bottom: 38px;
}

.section-heading.compact {
  display: block;
}

.practitioner-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}

.team-feature {
  display: grid;
  grid-template-columns: minmax(280px, 0.58fr) minmax(0, 0.42fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: end;
  margin-bottom: 24px;
  padding: clamp(18px, 3vw, 28px);
  background: #ffffff;
  border: 1px solid rgba(10, 31, 53, 0.09);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 31, 53, 0.08);
}

.team-photo-feature {
  margin: 0;
}

.team-photo-feature img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center 43%;
  border-radius: 6px;
  filter: grayscale(1) contrast(1.04);
}

.team-feature p:last-child {
  color: var(--muted);
}

.practitioner-card {
  display: grid;
  grid-template-columns: minmax(160px, 240px) 1fr;
  gap: 26px;
  align-items: start;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 31, 53, 0.09);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 31, 53, 0.09);
  backdrop-filter: blur(18px);
}

.practitioner-card img {
  width: 100%;
  aspect-ratio: 0.86;
  object-fit: cover;
  border-radius: 5px;
  filter: grayscale(0.72) contrast(1.04);
}

.practitioner-card p {
  color: var(--muted);
}

.contact-stack {
  display: grid;
  gap: 4px;
  margin-top: 18px;
  color: #314640;
  font-size: 14px;
}

.services {
  background: var(--mist);
}

.service-list {
  display: grid;
  gap: 0;
  max-width: 1160px;
  border-top: 1px solid var(--line);
}

.service-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 27px 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 180ms ease, color 180ms ease;
}

.service-row:hover {
  padding-left: 12px;
}

.service-row strong {
  display: block;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 300;
}

.service-row span {
  display: block;
  max-width: 720px;
  margin-top: 8px;
  color: var(--muted);
}

.service-row small {
  color: var(--muted);
}

.specialisations {
  background:
    linear-gradient(180deg, rgba(216, 239, 229, 0.34), transparent),
    #ffffff;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  max-width: 1080px;
  margin-top: 34px;
}

.tag-list span {
  padding: 8px 16px;
  color: #334842;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(14, 140, 106, 0.16);
  border-radius: 999px;
}

.tag-list span:last-child {
  color: var(--plum);
  background: rgba(123, 63, 138, 0.06);
  border-color: rgba(123, 63, 138, 0.28);
}

.booking-shell {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.42fr) minmax(0, 1fr);
  gap: clamp(30px, 5vw, 64px);
  overflow: hidden;
  color: var(--near-black);
  background:
    linear-gradient(90deg, rgba(200, 146, 10, 0.22) 0 10px, transparent 10px),
    var(--mist);
  border-top: 8px solid var(--deep-ocean);
}

.couples-only[hidden] {
  display: none !important;
}

.booking-shell::before,
.crisis-strip::before {
  position: absolute;
  inset: 0;
  content: "";
  pointer-events: none;
  background: none;
  animation: none;
}

.booking-intro,
.booking-form,
.crisis-strip > *,
.portal-preview > *,
.resources > * {
  position: relative;
}

.booking-shell h2,
.booking-shell h3,
.crisis-strip h2 {
  color: var(--deep-ocean);
}

.crisis-strip h2 {
  color: #fffaf0;
}

.booking-shell h2 {
  font-size: clamp(42px, 6vw, 72px);
}

.booking-intro p:not(.section-number),
.booking-steps {
  max-width: 720px;
  color: var(--muted);
}

.booking-steps {
  display: grid;
  gap: 10px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.booking-steps li {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.booking-form {
  display: grid;
  gap: 14px;
  padding: clamp(18px, 2.6vw, 28px);
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(10, 31, 53, 0.1);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 31, 53, 0.09);
  backdrop-filter: none;
}

.consent-note {
  margin: 0 0 14px;
  color: var(--muted);
}

.consent-note a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

fieldset {
  min-width: 0;
  margin: 0;
  padding: 0 0 18px;
  border: 0;
  border-bottom: 1px solid var(--line);
}

legend {
  margin-bottom: 14px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

.choice-grid,
.client-fields {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-grid label,
.check-row {
  display: flex;
  gap: 10px;
  align-items: center;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--near-black);
  background: rgba(216, 239, 229, 0.24);
  border: 1px solid rgba(10, 31, 53, 0.1);
  border-radius: 5px;
}

.booking-windows label {
  display: grid;
  align-content: center;
  gap: 4px;
  min-height: 82px;
}

.booking-windows input {
  grid-row: span 2;
}

.booking-windows strong {
  color: var(--deep-ocean);
  font-size: 15px;
}

.booking-windows span {
  color: var(--muted);
  font-size: 12px;
}

label {
  display: grid;
  gap: 6px;
  color: #41564f;
  font-size: 13px;
}

input,
select,
textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  color: var(--near-black);
  background: #fbfaf6;
  border: 1px solid rgba(10, 31, 53, 0.16);
  border-radius: 5px;
  outline: none;
}

input[type="radio"],
input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  min-height: 18px;
  padding: 0;
  accent-color: var(--electric);
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--page-accent);
  box-shadow: 0 0 0 3px rgba(200, 146, 10, 0.16);
}

select option {
  color: var(--near-black);
}

.full {
  grid-column: 1 / -1;
}

.slot-board {
  margin-top: 10px;
}

.calendar-owner {
  margin: 0 0 8px;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: 26px;
}

.calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(120px, 1fr));
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 8px;
}

.calendar-day {
  display: grid;
  align-content: start;
  gap: 8px;
  min-height: 150px;
  padding: 10px;
  background: rgba(14, 140, 106, 0.06);
  border: 1px solid rgba(14, 140, 106, 0.16);
  border-radius: 6px;
}

.calendar-day.empty {
  opacity: 0.58;
  background: rgba(10, 31, 53, 0.03);
}

.calendar-day > strong {
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: 20px;
  font-weight: 300;
  line-height: 1.1;
}

.slot-pill {
  display: grid;
  gap: 2px;
  width: 100%;
  min-height: 50px;
  padding: 8px;
  color: var(--deep-ocean);
  text-align: left;
  background: transparent;
  border: 1px solid rgba(10, 31, 53, 0.14);
  border-radius: 5px;
}

.slot-pill.selected {
  border-color: var(--gold);
  box-shadow: inset 0 0 0 1px var(--gold);
}

.slot-pill span {
  font-weight: 600;
}

.slot-pill small,
.no-slot,
.selected-slot,
#otpStatus,
#bookingStatus {
  color: var(--muted);
  font-size: 13px;
}

.otp-actions {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  gap: 10px;
  align-items: end;
}

.payment-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.signature-capture {
  display: grid;
  gap: 12px;
  margin-top: 14px;
  padding: 16px;
  background: rgba(216, 239, 229, 0.16);
  border: 1px solid rgba(10, 31, 53, 0.14);
  border-radius: 6px;
}

.signature-heading,
.signature-mode {
  display: flex;
  align-items: center;
}

.signature-heading {
  justify-content: space-between;
  gap: 16px;
}

.signature-mode {
  overflow: hidden;
  border: 1px solid rgba(10, 31, 53, 0.22);
  border-radius: 6px;
}

.signature-mode label {
  display: flex;
  gap: 7px;
  align-items: center;
  min-height: 40px;
  padding: 8px 12px;
  cursor: pointer;
}

.signature-mode label + label {
  border-left: 1px solid rgba(10, 31, 53, 0.16);
}

#drawnSignaturePanel {
  display: grid;
  gap: 10px;
}

#drawnSignaturePanel[hidden] {
  display: none;
}

#signaturePad {
  width: 100%;
  height: 170px;
  background: #fffefa;
  border: 1px solid rgba(10, 31, 53, 0.28);
  border-radius: 4px;
  cursor: crosshair;
  touch-action: none;
}

#clearSignature {
  justify-self: start;
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
}

.rates {
  display: grid;
  grid-template-columns: minmax(260px, 0.55fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  padding: clamp(60px, 8vw, 96px) clamp(22px, 7vw, 104px);
  background: linear-gradient(180deg, #ffffff, #f7faf8);
}

.rate-rows {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.rate-rows div {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px 24px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.rate-rows strong {
  grid-row: span 2;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: clamp(48px, 7vw, 82px);
  font-weight: 300;
  line-height: 1;
}

.rate-rows small,
.portal-panel ul,
.resource-list p {
  color: var(--muted);
}

.portal-preview {
  background:
    linear-gradient(180deg, rgba(216, 239, 229, 0.5), rgba(255, 255, 255, 0.72)),
    #f2f8f4;
}

.portal-preview h2 {
  font-size: clamp(42px, 5vw, 70px);
}

.portal-grid,
.resource-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.portal-grid.compact {
  margin-top: 20px;
}

.portal-login {
  display: grid;
  grid-template-columns: minmax(240px, 0.34fr) minmax(260px, 0.33fr) minmax(260px, 0.33fr);
  gap: clamp(16px, 3vw, 34px);
  align-items: start;
  padding: 24px 0 10px;
  border-top: 1px solid var(--line);
}

.portal-lockup {
  display: block;
  width: min(260px, 100%);
  height: auto;
  margin: 0 0 12px;
}

.portal-login p,
.portal-login-form p,
.note-form p {
  color: var(--muted);
}

.portal-login-form {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
  align-items: end;
  padding: 18px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 31, 53, 0.09);
  border-radius: 8px;
}

.portal-workspace[hidden],
.portal-login[hidden] {
  display: none;
}

.portal-workspace {
  margin-top: 28px;
}

.password-change {
  margin-bottom: 18px;
  border-color: rgba(200, 146, 10, 0.38);
}

.portal-panel,
.resource-list article,
.admin-demo {
  padding: 22px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(10, 31, 53, 0.09);
  border-radius: 8px;
  box-shadow: 0 24px 70px rgba(10, 31, 53, 0.08);
  backdrop-filter: blur(18px);
}

.portal-panel li + li {
  margin-top: 8px;
}

.admin-demo {
  position: relative;
  margin-top: 24px;
  overflow: hidden;
}

.admin-toolbar,
.admin-columns {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 20px;
  align-items: start;
}

.admin-columns {
  grid-template-columns: minmax(0, 1fr) minmax(260px, 360px);
  margin-top: 20px;
}

.portal-columns {
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.record-list {
  display: grid;
  gap: 10px;
}

.record {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--line);
  border-radius: 5px;
}

.record span {
  color: var(--muted);
  font-size: 13px;
}

.note-form {
  display: grid;
  gap: 10px;
}

.note-form select,
.note-form textarea {
  color: var(--near-black);
  background: #fff;
  border-color: var(--line);
}

.resources {
  background: var(--mist);
}

.audit-panel {
  margin-top: 20px;
}

.group-invite {
  padding: clamp(108px, 9vw, 140px) clamp(22px, 7vw, 104px) clamp(64px, 8vw, 104px);
  background:
    linear-gradient(90deg, rgba(123, 63, 138, 0.16) 0 10px, transparent 10px),
    var(--mist);
}

.group-invite .booking-form {
  max-width: 920px;
  margin-inline: auto;
}

.crisis-strip {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.7fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 80px);
  overflow: hidden;
  color: #fffaf0;
  background: linear-gradient(120deg, var(--deep-ocean), #0d3554);
}

.crisis-strip p {
  color: rgba(255, 250, 240, 0.76);
}

.crisis-lines {
  display: grid;
  gap: 12px;
  align-content: center;
}

.crisis-lines a {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 250, 240, 0.14);
}

.crisis-lines strong {
  color: var(--electric);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 32px clamp(22px, 7vw, 104px);
  color: rgba(255, 250, 240, 0.62);
  background: #07182a;
  font-size: 14px;
}

.site-footer strong {
  display: block;
  color: #fffaf0;
  font-family: var(--display);
  font-size: 30px;
  font-weight: 300;
}

.site-footer div:last-child {
  display: flex;
  gap: 18px;
  align-items: center;
}

.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes heroRise {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes glassArrive {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.98);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes filmDrift {
  from {
    transform: translate3d(-3%, -1%, 0) rotate(-1deg);
  }

  to {
    transform: translate3d(4%, 2%, 0) rotate(1deg);
  }
}

@keyframes waterShift {
  from {
    transform: translate3d(2%, 1%, 0) scale(1);
    opacity: 0.52;
  }

  to {
    transform: translate3d(-3%, -2%, 0) scale(1.08);
    opacity: 0.82;
  }
}

@keyframes slowPan {
  from {
    transform: translateX(-4%);
  }

  to {
    transform: translateX(4%);
  }
}

@keyframes logoFloat {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }

  50% {
    transform: translateY(-10px) rotate(1deg);
  }
}

@keyframes logoHalo {
  0%,
  100% {
    opacity: 0.36;
    transform: scale(0.86);
  }

  50% {
    opacity: 0.8;
    transform: scale(1.08);
  }
}

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

@media (max-width: 1020px) {
  .site-header {
    grid-template-columns: 1fr auto auto;
  }

  .site-nav {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
  }

  .hero,
  .booking-shell,
  .rates,
  .crisis-strip,
  .section-heading,
  .two-column,
  .practitioner-grid,
  .portal-grid,
  .portal-login,
  .resource-list,
  .admin-columns,
  .name-story,
  .philosophy {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-copy {
    max-width: 100%;
  }
}

@media (max-width: 720px) {
  body {
    padding-bottom: 74px;
  }

  .site-header {
    top: 8px;
    width: calc(100% - 20px);
    min-height: 60px;
    gap: 12px;
    margin-top: 8px;
    margin-bottom: -68px;
    padding-inline: 12px;
  }

  .brand-lockup small {
    display: none;
  }

  .brand-mark {
    width: 27px;
    height: 40px;
  }

  .brand-lockup strong {
    font-size: 26px;
  }

  .nav-action {
    min-width: 64px;
    min-height: 38px;
    padding: 8px 10px;
  }

  .menu-toggle {
    min-height: 38px;
    padding: 8px 10px;
    font-size: 13px;
  }

  .bottom-tabs {
    display: grid;
  }

  .hero,
  .philosophy,
  .services,
  .specialisations,
  .booking-shell,
  .portal-preview,
  .resources,
  .crisis-strip,
  .section-band,
  .rates {
    padding-inline: 18px;
  }

  .hero {
    padding-top: 126px;
    padding-bottom: 44px;
  }

  .hero::before {
    background: #07182a;
  }

  .hero-logo-motion {
    top: 112px;
    right: 18px;
    width: 92px;
    opacity: 0.72;
  }

  .hero-logo-motion img {
    filter: brightness(0) invert(1);
  }

  .hero h1 {
    font-size: 78px;
  }

  .tagline {
    font-size: 31px;
  }

  .credential-line {
    font-size: 13px;
  }

  .install-prompt,
  .team-feature,
  .team-photo-feature,
  .otp-actions,
  .payment-options {
    grid-template-columns: 1fr;
  }

  .install-actions {
    flex-wrap: wrap;
  }

  .signature-heading {
    align-items: flex-start;
    flex-direction: column;
  }

  .calendar-grid {
    grid-template-columns: repeat(30, minmax(138px, 1fr));
    overflow-x: auto;
    scroll-snap-type: x proximity;
  }

  .calendar-day {
    scroll-snap-align: start;
  }

  h2 {
    font-size: 42px;
  }

  .lead {
    font-size: 28px;
  }

  .about-page,
  .services-page,
  .portal-preview {
    padding-top: 92px;
  }

  .page-emblem {
    width: 76px;
    height: 76px;
    margin-bottom: 4px;
  }

  .page-emblem img {
    width: 40px;
    height: 58px;
  }

  .name-story {
    gap: 16px;
    padding-top: 22px;
    background: linear-gradient(180deg, rgba(14, 140, 106, 0.13) 0 8px, var(--mist) 8px);
  }

  .name-story h2 {
    width: 100%;
    max-width: 100%;
    font-size: clamp(38px, 12vw, 52px);
  }

  .hero-booking {
    padding: 16px;
  }

  .practitioner-card,
  .choice-grid,
  .client-fields,
  .service-row,
  .rate-rows div,
  .admin-toolbar {
    grid-template-columns: 1fr;
  }

  .practitioner-card img {
    max-width: 270px;
  }

  .portal-panel,
  .resource-list article,
  .admin-demo {
    padding: 18px;
  }

  .site-footer,
  .site-footer div:last-child {
    flex-direction: column;
    align-items: flex-start;
  }
}


.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-submenu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  z-index: 30;
  display: grid;
  gap: 2px;
  min-width: 248px;
  max-width: min(300px, calc(100vw - 48px));
  padding: 12px;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 10px);
  white-space: normal;
  background: rgba(116, 135, 137, 0.96);
  border: 1px solid rgba(255, 250, 240, 0.34);
  border-radius: 6px;
  box-shadow: var(--shadow);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translate(-50%, 0);
}

.nav-submenu a {
  display: block;
  padding: 9px 10px;
  color: rgba(255, 250, 240, 0.86);
  border-bottom: 0;
  border-radius: 4px;
}

.nav-submenu a:hover {
  color: #fffaf0;
  background: rgba(10, 31, 53, 0.34);
}

.mobile-service-links {
  display: grid;
  gap: 6px;
  margin: -6px 0 4px 16px;
  padding-left: 12px;
  border-left: 1px solid rgba(255, 250, 240, 0.18);
}

.mobile-service-links a {
  font-size: 14px;
  opacity: 0.86;
}

.hero-tags,
.service-tags,
.service-link-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.hero-tags {
  max-width: 680px;
  margin: 18px 0 0;
}

.hero-tags span,
.service-tags span,
.tag-list .gold-tag {
  padding: 5px 9px;
  color: inherit;
  font-size: 12px;
  line-height: 1.2;
  border: 1px solid rgba(255, 250, 240, 0.48);
  border-radius: 999px;
}

.service-tags {
  margin-top: 14px;
}

.service-tags span {
  color: var(--deep-ocean);
  border-color: rgba(10, 31, 53, 0.2);
}

.service-tags .gold-tag,
.tag-list .gold-tag {
  border-color: rgba(200, 146, 10, 0.76);
}

.services .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: 780px;
  margin-inline: auto;
  text-align: center;
}

.services .section-heading h2 {
  font-size: clamp(48px, 9vw, 98px);
  line-height: 0.98;
}

.services .section-heading p:last-child {
  max-width: 680px;
  margin-inline: auto;
}

.services-page {
  background: linear-gradient(180deg, #fffefa 0%, #f2fbf6 100%);
}

.services-page .page-emblem {
  margin-bottom: 22px;
}

.service-link-row {
  justify-content: center;
  max-width: 900px;
  margin: 0 auto 30px;
}

.service-link-row a {
  padding: 8px 12px;
  color: var(--deep-ocean);
  border: 1px solid rgba(10, 31, 53, 0.18);
  border-radius: 999px;
}

.service-row {
  align-items: start;
}

.service-index-row {
  grid-template-columns: 116px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
}

.service-index-visual {
  display: block;
  width: 116px;
  aspect-ratio: 1;
  overflow: hidden;
  background: #fffefa;
  border: 1px solid rgba(10, 31, 53, 0.12);
  border-radius: 8px;
}

.service-index-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-index-visual img[src$="-brand.svg"] {
  object-fit: contain;
}

.service-title-link strong {
  display: inline-block;
  margin-bottom: 8px;
}

.platforms {
  display: block;
  margin-top: 12px;
  color: var(--muted);
}

.registration-line {
  color: var(--muted);
  font-size: 13px;
}

.practitioner-card details {
  margin-top: 10px;
}

.practitioner-card summary {
  color: var(--deep-ocean);
  cursor: pointer;
  font-weight: 500;
}

.service-detail-page {
  min-height: 100svh;
  padding: clamp(116px, 10vw, 150px) clamp(22px, 7vw, 104px) clamp(64px, 8vw, 104px);
  background: linear-gradient(180deg, #fffefa, #f4fbf7);
}

.service-detail-page h1 {
  margin: 0;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: clamp(44px, 7vw, 94px);
  font-weight: 300;
  line-height: 0.98;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 6vw, 84px);
  align-items: center;
  max-width: 1160px;
  margin-inline: auto;
}

.service-detail-copy {
  max-width: 680px;
}

.service-detail-copy .lead {
  max-width: 640px;
  color: var(--lake);
  font-size: clamp(19px, 2vw, 24px);
  line-height: 1.45;
}

.service-visual {
  margin: 0;
}

.service-visual img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #eef7f2;
  border: 1px solid rgba(10, 31, 53, 0.12);
  border-radius: 8px;
  box-shadow: 0 24px 80px rgba(10, 31, 53, 0.12);
}

.service-visual img[src$="-brand.svg"] {
  object-fit: contain;
  padding: clamp(18px, 4vw, 44px);
  background: #fbfaf6;
}

.service-visual figcaption {
  margin-top: 14px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.service-point-list {
  display: grid;
  gap: 9px;
  max-width: 580px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.service-point-list li {
  padding-left: 20px;
  border-left: 2px solid rgba(200, 146, 10, 0.55);
}

.service-detail-grid aside {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 14px;
  align-items: center;
  padding: 18px 0 0;
  border-top: 1px solid rgba(10, 31, 53, 0.13);
}

.service-action-panel .button {
  color: var(--deep-ocean);
}

.booking-concierge {
  display: block;
  max-width: 980px;
  margin: 0 auto 28px;
  padding: clamp(22px, 4vw, 34px) 0 30px;
  border-bottom: 1px solid rgba(10, 31, 53, 0.12);
  text-align: center;
}

.booking-concierge h3 {
  margin: 4px auto 12px;
  max-width: 720px;
  color: var(--deep-ocean);
  font-family: var(--display);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 300;
  line-height: 1;
}

.concierge-controls {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 26px;
  text-align: left;
}

.concierge-controls .button,
#conciergeResult {
  grid-column: 1 / -1;
}

#conciergeResult {
  margin: 20px auto 0;
  color: var(--muted);
  text-align: center;
}

.consent-summary {
  margin: 0 0 14px;
  padding: 14px;
  background: rgba(216, 239, 229, 0.2);
  border: 1px solid rgba(10, 31, 53, 0.1);
  border-radius: 6px;
}

.consent-summary p {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 14px;
}

.enquiry-panel {
  padding: 16px;
  border: 1px solid rgba(200, 146, 10, 0.4);
  border-radius: 6px;
  background: rgba(244, 206, 117, 0.06);
}

.enquiry-panel a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.crisis-lines small {
  color: rgba(255, 250, 240, 0.66);
}

.hidden-admin-link {
  opacity: 0.68;
  font-size: 12px;
}

.page-section:not(.section-dark):not(.emergency-page) .quiet-label,
.page-section:not(.section-dark):not(.emergency-page) .section-number {
  color: var(--teal);
}

/* Final handover layouts: calm, centered, and consistent across working pages. */
.about-page .philosophy {
  display: block;
  max-width: 1040px;
  margin-inline: auto;
  padding-top: clamp(12px, 2vw, 24px);
  padding-bottom: clamp(46px, 7vw, 78px);
  text-align: center;
  background: #ffffff;
}

.about-page .philosophy h2,
.about-page .philosophy .counsellor-intro {
  margin-inline: auto;
}

.about-page .philosophy .counsellor-intro {
  max-width: 900px;
  margin-top: 28px;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 21px);
  line-height: 1.75;
}

.practitioners .section-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
}

.team-feature {
  max-width: 1160px;
  margin: 0 auto 42px;
  padding: 0;
  overflow: hidden;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.team-photo-feature img {
  min-height: 420px;
  border-radius: 0;
}

.team-feature > div {
  padding: clamp(10px, 2vw, 28px) 0;
}

.team-feature .quiet-label {
  color: var(--lake);
}

.team-feature p {
  color: var(--muted);
  line-height: 1.72;
}

.booking-shell {
  display: block;
}

.hero,
.service-detail-page,
.crisis-strip {
  border-top: 8px solid var(--deep-ocean);
}

.booking-shell .page-emblem {
  margin: 0 auto 26px;
}

.booking-intro {
  max-width: 880px;
  margin: 0 auto 34px;
  text-align: center;
}

.booking-shell h2 {
  max-width: none;
  margin-inline: auto;
}

.booking-steps {
  max-width: 820px;
  margin: 28px auto 0;
  text-align: left;
}

.booking-concierge,
.booking-form {
  width: min(1120px, 100%);
  margin-inline: auto;
}

.booking-form {
  padding: clamp(22px, 3.5vw, 40px);
}

.crisis-strip {
  display: block;
  text-align: center;
  background: var(--deep-ocean);
}

.crisis-strip .page-emblem {
  margin: 0 auto 26px;
}

.crisis-strip > div:not(.page-emblem) {
  max-width: 1040px;
  margin-inline: auto;
}

.crisis-strip h2 {
  max-width: none;
  font-size: clamp(46px, 6vw, 80px);
}

.crisis-strip > div > p:last-child {
  max-width: 780px;
  margin: 18px auto 0;
  font-size: 17px;
}

.crisis-lines {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0 42px;
  margin-top: 38px;
  text-align: left;
}

.crisis-lines a {
  grid-template-columns: minmax(0, 1fr) auto;
}

body[data-page="service-detail"] [data-page-section]:not([data-page-section="service-detail"]) {
  display: none;
}

@media (max-width: 860px) {
  .team-feature,
  .crisis-lines {
    grid-template-columns: 1fr;
  }

  .team-photo-feature img {
    min-height: 0;
  }

  .service-detail-grid,
  .payment-options,
  .booking-concierge,
  .concierge-controls {
    grid-template-columns: 1fr;
  }

  .service-detail-grid aside {
    grid-template-columns: 1fr;
  }

  .service-index-row {
    grid-template-columns: 82px minmax(0, 1fr);
  }

  .service-index-row > small {
    grid-column: 2;
  }

  .service-index-visual {
    width: 82px;
  }
}

@media (max-width: 720px) {
  .nav-submenu {
    display: none;
  }

  .mobile-service-links {
    display: grid;
  }

  .hero-tags span {
    font-size: 11px;
  }

  .service-detail-page {
    padding-inline: 18px;
    padding-top: 118px;
  }
}
