:root {
  --bg: #001b26;
  --bg-deep: #00131c;
  --bg-soft: #062530;
  --bg-raised: #0a2b35;

  --text: #f5f1e9;
  --text-muted: #b8c2c3;
  --text-dark: #152025;

  --aqua: #18bdc8;
  --aqua-soft: #68d3d8;

  --gold: #d89a25;
  --gold-light: #f2be51;
  --gold-pale: #ffd777;

  --error: #ffb4a9;

  --border: rgba(245, 241, 233, 0.16);
  --border-strong: rgba(245, 241, 233, 0.28);

  --serif: Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;

  --page-padding: clamp(1.25rem, 3.7vw, 4rem);
  --content-width: 112rem;
  --transition: 220ms ease;
}

/* ---------- Base ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
}

body.menu-open {
  overflow: hidden;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  color: inherit;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--gold-pale);
  outline-offset: 4px;
}

::selection {
  background: var(--aqua);
  color: var(--bg-deep);
}

.skip-link {
  position: fixed;
  top: 1rem;
  left: 1rem;
  z-index: 1000;
  padding: 0.75rem 1rem;
  color: var(--bg-deep);
  background: var(--text);
  font-weight: 700;
  transform: translateY(-180%);
  transition: transform var(--transition);
}

.skip-link:focus {
  transform: translateY(0);
}

/* ---------- Header ---------- */

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  background: transparent;
  border-bottom: 1px solid transparent;
  box-shadow: 0 0 0 rgba(0, 0, 0, 0);
  transition:
    background 260ms ease,
    border-color 260ms ease,
    box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(0, 19, 28, 0.94);
  border-bottom-color: rgba(245, 241, 233, 0.1);
  box-shadow: 0 0.65rem 2rem rgba(0, 0, 0, 0.18);
}

.header-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: clamp(1.4rem, 3vw, 2.5rem) var(--page-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  transition:
    padding 260ms ease,
    gap 260ms ease;
}

.site-header.is-scrolled .header-inner {
  padding-top: 0.72rem;
  padding-bottom: 0.72rem;
}

.wordmark {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
  color: var(--text);
  font-size: clamp(0.78rem, 1.2vw, 1rem);
  font-weight: 500;
  letter-spacing: 0.34em;
  line-height: 1;
  white-space: nowrap;
  transition:
    font-size 260ms ease,
    letter-spacing 260ms ease,
    gap 260ms ease;
}

.wordmark-line {
  width: 3.2rem;
  height: 1px;
  background: var(--gold);
  transition: width 260ms ease;
}

.site-header.is-scrolled .wordmark {
  gap: 0.35rem;
  font-size: clamp(0.7rem, 0.95vw, 0.84rem);
  letter-spacing: 0.28em;
}

.site-header.is-scrolled .wordmark-line {
  width: 2.5rem;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 2vw, 2.2rem);
  transition: gap 260ms ease;
}

.site-header.is-scrolled .header-actions {
  gap: clamp(0.65rem, 1.4vw, 1.4rem);
}

.menu-trigger {
  min-height: 3.25rem;
  padding: 0.65rem 0.25rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1rem;
  transition:
    min-height 260ms ease,
    font-size 260ms ease,
    gap 260ms ease;
}

.site-header.is-scrolled .menu-trigger {
  min-height: 2.65rem;
  gap: 0.75rem;
  font-size: 0.9rem;
}

.menu-trigger:hover .hamburger span {
  background: var(--gold-light);
}

.hamburger {
  width: 1.65rem;
  display: grid;
  gap: 0.34rem;
  transition: width 260ms ease;
}

.site-header.is-scrolled .hamburger {
  width: 1.45rem;
}

.hamburger span {
  width: 100%;
  height: 1px;
  background: var(--text);
  transition: background var(--transition);
}

.header-schedule {
  min-height: 3.6rem;
  padding: 0.8rem 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  border: 1px solid var(--gold);
  border-radius: 0.35rem;
  color: var(--gold-light);
  font-size: 1rem;
  transition:
    min-height 260ms ease,
    padding 260ms ease,
    gap 260ms ease,
    font-size 260ms ease,
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.is-scrolled .header-schedule {
  min-height: 2.8rem;
  padding: 0.55rem 1rem;
  gap: 0.75rem;
  font-size: 0.88rem;
}

.header-schedule svg {
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.header-schedule:hover {
  color: var(--gold-pale);
  background: rgba(216, 154, 37, 0.08);
  border-color: var(--gold-light);
  box-shadow: 0 0 1.4rem rgba(216, 154, 37, 0.16);
}

/* ---------- Menu overlay ---------- */

.menu-overlay {
  position: fixed;
  inset: 0;
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0s linear 300ms,
    opacity 300ms ease;
}

.menu-overlay.is-open {
  visibility: visible;
  opacity: 1;
  transition-delay: 0s;
}

.menu-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  border: 0;
  background: rgba(0, 12, 18, 0.78);
  backdrop-filter: blur(8px);
  cursor: default;
}

.menu-panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(31rem, 92vw);
  min-height: 100%;
  padding: clamp(1.7rem, 5vw, 3.5rem);
  background:
    radial-gradient(
      circle at 100% 0%,
      rgba(24, 189, 200, 0.08),
      transparent 34%
    ),
    var(--bg-soft);
  border-left: 1px solid var(--border);
  box-shadow: -2rem 0 5rem rgba(0, 0, 0, 0.24);
  transform: translateX(100%);
  transition: transform 340ms cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-overlay.is-open .menu-panel {
  transform: translateX(0);
}

.menu-panel-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-label,
.footer-heading {
  margin: 0;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
}

.menu-close {
  position: relative;
  width: 3rem;
  height: 3rem;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition:
    border-color var(--transition),
    background var(--transition);
}

.menu-close:hover {
  border-color: var(--gold);
  background: rgba(216, 154, 37, 0.08);
}

.menu-close span {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 1.2rem;
  height: 1px;
  background: var(--text);
}

.menu-close span:first-child {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-close span:last-child {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.menu-links {
  margin: clamp(4rem, 12vh, 8rem) 0 0;
  padding: 0;
  list-style: none;
}

.menu-links li {
  border-bottom: 1px solid var(--border);
}

.menu-links a {
  padding: 1.2rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--serif);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  transition:
    color var(--transition),
    padding var(--transition);
}

.menu-links a::after {
  content: "→";
  color: var(--gold);
  font-family: var(--sans);
  font-size: 1.2rem;
}

.menu-links a:hover {
  padding-left: 0.4rem;
  color: var(--aqua-soft);
}

.menu-contact {
  margin-top: 3rem;
  display: grid;
  gap: 0.35rem;
}

.menu-contact p {
  margin: 0 0 0.5rem;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.menu-contact a {
  width: fit-content;
  color: var(--text);
  transition: color var(--transition);
}

.menu-contact a:hover {
  color: var(--gold-light);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  min-height: max(100svh, 42rem);
  overflow: hidden;
  background:
    radial-gradient(
      circle at 80% 42%,
      rgba(4, 62, 76, 0.48),
      transparent 32%
    ),
    radial-gradient(
      circle at 35% 50%,
      rgba(4, 47, 59, 0.32),
      transparent 42%
    ),
    linear-gradient(112deg, var(--bg-deep), var(--bg) 58%, #001821);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 4;
  height: 7rem;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(0, 19, 28, 0.22)
  );
}

.hero-glow {
  position: absolute;
  left: 1%;
  bottom: 17%;
  width: 42rem;
  height: 25rem;
  z-index: -1;
  background: radial-gradient(
    ellipse,
    rgba(8, 71, 83, 0.17),
    transparent 68%
  );
  filter: blur(16px);
}

.hero-inner {
  position: relative;
  width: min(100%, var(--content-width));
  min-height: inherit;
  margin-inline: auto;
  padding:
    clamp(8.5rem, 14vh, 10rem)
    var(--page-padding)
    clamp(5.5rem, 10vh, 7rem);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(27rem, 0.92fr);
  align-items: center;
}

.hero-copy {
  position: relative;
  z-index: 6;
  max-width: 54rem;
  padding-bottom: 1rem;
}

.hero-copy h1 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(3.75rem, 5.05vw, 5.9rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.95;
  text-wrap: balance;
}

.hero-copy h1 span {
  display: block;
}

.headline-light {
  color: var(--text);
}

.headline-aqua {
  margin-top: 0.16em;
  color: var(--aqua);
}

.hero-description {
  margin: clamp(1.6rem, 3.5vh, 2.4rem) 0 0;
  color: var(--text);
  font-size: clamp(1rem, 1.25vw, 1.28rem);
  line-height: 1.55;
}

.appointment-button {
  width: fit-content;
  min-height: 4.3rem;
  margin-top: clamp(1.9rem, 4vh, 2.6rem);
  padding: 0.9rem 1.35rem;
  display: inline-grid;
  grid-template-columns: 1.55rem auto 1.55rem;
  align-items: center;
  gap: 1rem;
  border: 1px solid var(--gold-pale);
  border-radius: 0.42rem;
  color: var(--text-dark);
  background:
    linear-gradient(
      180deg,
      #f4c15e 0%,
      var(--gold-light) 44%,
      #d99824 100%
    );
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.72),
    0 0 0 1px rgba(255, 198, 79, 0.16),
    0 0 1.6rem rgba(236, 167, 39, 0.47),
    0 0.55rem 1.6rem rgba(0, 0, 0, 0.22);
  font-size: clamp(0.96rem, 1.25vw, 1.2rem);
  font-weight: 500;
  line-height: 1.2;
  cursor: pointer;
  transition:
    filter var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.appointment-button:hover {
  filter: brightness(1.08);
  border-color: #fff0b8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.82),
    0 0 0 1px rgba(255, 209, 107, 0.24),
    0 0 2.2rem rgba(242, 174, 44, 0.68),
    0 0.7rem 1.8rem rgba(0, 0, 0, 0.25);
}

.appointment-button svg {
  width: 1.55rem;
  height: 1.55rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.button-arrow {
  transition: transform var(--transition);
}

.appointment-button:hover .button-arrow {
  transform: translateX(0.18rem);
}

/* ---------- Portrait ---------- */

.portrait-panel {
  position: absolute;
  top: clamp(5.7rem, 10vh, 7.5rem);
  right: 0;
  bottom: 0;
  z-index: 2;
  width: min(47vw, 53rem);
  overflow: hidden;
  border-top-left-radius: 44% 18%;
}

.portrait-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(to right, rgba(0, 27, 38, 0.68), transparent 25%),
    linear-gradient(to top, rgba(0, 19, 28, 0.14), transparent 24%);
}

.portrait-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

@supports (
  (-webkit-mask-image: linear-gradient(#000, #000)) or
  (mask-image: linear-gradient(#000, #000))
) {
  .portrait-panel {
    border-radius: 0;
    -webkit-mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 10%,
      #000 27%
    );
    mask-image: linear-gradient(
      to right,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 10%,
      #000 27%
    );
  }
}

/* ---------- Curved divider ---------- */

.hero-divider {
  position: absolute;
  top: 0;
  left: 34%;
  z-index: 3;
  width: 34%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.hero-divider path {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.hero-divider-gold {
  stroke: rgba(232, 164, 45, 0.92);
  stroke-width: 1.25;
}

.hero-divider-muted {
  stroke: rgba(244, 241, 232, 0.2);
  stroke-width: 1;
}

/* ---------- Scroll cue ---------- */

.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 2rem;
  z-index: 8;
  width: 2.5rem;
  height: 4rem;
  display: grid;
  justify-items: center;
  color: var(--gold-light);
  transform: translateX(-50%);
}

.scroll-cue span {
  width: 1px;
  height: 2.2rem;
  background: currentColor;
}

.scroll-cue svg {
  width: 1.7rem;
  height: 1.7rem;
  margin-top: -0.5rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
  transition: transform var(--transition);
}

.scroll-cue:hover svg {
  transform: translateY(0.25rem);
}

/* ---------- Initial hero entrance ---------- */

.hero-copy > * {
  animation: hero-enter 700ms both;
}

.hero-copy > :nth-child(2) {
  animation-delay: 120ms;
}

.hero-copy > :nth-child(3) {
  animation-delay: 220ms;
}

.portrait-panel {
  animation: portrait-enter 900ms 120ms both;
}

@keyframes hero-enter {
  from {
    opacity: 0;
    transform: translateY(1rem);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes portrait-enter {
  from {
    opacity: 0;
    transform: translateX(1.5rem);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ---------- Shared sections ---------- */

.section-shell {
  width: min(100%, 92rem);
  margin-inline: auto;
  padding-inline: var(--page-padding);
}

.section-label {
  margin: 0;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  line-height: 1.4;
}

.section-label-line {
  display: block;
  width: 3.5rem;
  height: 1px;
  margin-top: 1rem;
  background: var(--gold);
}

/* ---------- About ---------- */

.about-section {
  position: relative;
  scroll-margin-top: 5rem;
  padding: clamp(6.5rem, 12vw, 11rem) 0;
  overflow: hidden;
  background:
    radial-gradient(
      circle at 10% 40%,
      rgba(24, 189, 200, 0.055),
      transparent 28%
    ),
    var(--bg-soft);
  border-top: 1px solid rgba(216, 154, 37, 0.1);
}

.about-layout {
  display: grid;
  grid-template-columns: minmax(12rem, 0.42fr) minmax(0, 1fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.about-content {
  max-width: 53rem;
}

.about-content h2 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(3.25rem, 6vw, 6rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.about-byline {
  margin: 1rem 0 0;
  color: var(--aqua-soft);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.about-copy {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
}

.about-copy p {
  margin: 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.85;
}

.personal-promise {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  padding: 0.25rem 0 0.25rem clamp(1.5rem, 3vw, 2.5rem);
  border-left: 1px solid var(--aqua);
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3.3vw, 3rem);
  font-style: normal;
  line-height: 1.25;
}

.trust-points {
  margin-top: clamp(5rem, 9vw, 8rem);
  padding: clamp(2rem, 4vw, 3rem) 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.trust-point {
  min-width: 0;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  display: grid;
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: 1.2rem;
  align-items: start;
}

.trust-point:first-child {
  padding-left: 0;
}

.trust-point:last-child {
  padding-right: 0;
}

.trust-point + .trust-point {
  border-left: 1px solid var(--border);
}

.trust-point svg {
  width: 2rem;
  height: 2rem;
  fill: none;
  stroke: var(--aqua-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.25;
}

.trust-point h3 {
  margin: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 400;
}

.trust-point p {
  margin: 0.45rem 0 0;
  color: var(--text-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

/* ---------- Final CTA ---------- */

.final-cta {
  position: relative;
  scroll-margin-top: 5rem;
  padding: clamp(6.5rem, 12vw, 10rem) var(--page-padding);
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(
      circle at 50% 45%,
      rgba(24, 189, 200, 0.08),
      transparent 34%
    ),
    linear-gradient(180deg, var(--bg-deep), var(--bg));
}

.final-cta::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 3rem;
  background: var(--gold);
}

.final-cta-inner {
  position: relative;
  width: min(100%, 52rem);
  margin-inline: auto;
}

.final-cta h2 {
  margin: 1.2rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 1;
}

.final-cta p:not(.section-label) {
  max-width: 39rem;
  margin: 1.5rem auto 0;
  color: var(--text-muted);
  font-size: clamp(1rem, 1.25vw, 1.13rem);
}

.final-cta .appointment-button {
  margin-inline: auto;
}

/* ---------- Footer ---------- */

.site-footer {
  background: #001018;
  border-top: 1px solid var(--border);
}

.footer-inner {
  width: min(100%, var(--content-width));
  margin-inline: auto;
  padding: clamp(4rem, 8vw, 6.5rem) var(--page-padding);
  display: grid;
  grid-template-columns: minmax(18rem, 1.5fr) repeat(3, minmax(9rem, 0.6fr));
  gap: clamp(2.5rem, 6vw, 6rem);
}

.footer-wordmark {
  width: fit-content;
}

.footer-brand > p {
  max-width: 21rem;
  margin: 1.5rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.5rem;
}

.footer-group p {
  margin: 0;
}

.footer-group p:not(.footer-heading),
.footer-group a {
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-group a {
  transition: color var(--transition);
}

.footer-group a:hover {
  color: var(--gold-light);
}

.footer-heading {
  margin-bottom: 0.65rem !important;
}

.footer-bottom {
  padding: 1.25rem var(--page-padding);
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: rgba(184, 194, 195, 0.7);
  font-size: 0.78rem;
}

/* ---------- Interior page header ---------- */

.interior-page {
  min-height: 100vh;
  background:
    radial-gradient(
      circle at 82% 12%,
      rgba(24, 189, 200, 0.08),
      transparent 30rem
    ),
    radial-gradient(
      circle at 8% 45%,
      rgba(216, 154, 37, 0.045),
      transparent 28rem
    ),
    linear-gradient(145deg, var(--bg-deep), var(--bg) 56%, #001720);
}

.page-header {
  position: fixed;
}

.page-home-link {
  min-height: 3rem;
  padding: 0.5rem 0;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.page-home-link:hover {
  color: var(--gold-light);
}

.page-home-link svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

/* ---------- Appointment page ---------- */

.appointment-main {
  width: min(100%, 76rem);
  margin-inline: auto;
  padding:
    clamp(8.5rem, 16vw, 11rem)
    var(--page-padding)
    clamp(5rem, 10vw, 8rem);
}

.appointment-intro {
  max-width: 57rem;
}

.appointment-intro h1 {
  margin: 1.15rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3.3rem, 7vw, 6.5rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.appointment-supporting-text {
  max-width: 48rem;
  margin: 1.6rem 0 0;
  color: var(--text);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
  line-height: 1.65;
}

.date-format-explanation {
  margin: 1rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.date-format-explanation strong {
  color: var(--aqua-soft);
  letter-spacing: 0.04em;
}

.appointment-form {
  margin-top: clamp(3.5rem, 7vw, 5.5rem);
  padding: clamp(1.5rem, 4.5vw, 4rem);
  background:
    linear-gradient(
      145deg,
      rgba(10, 43, 53, 0.93),
      rgba(4, 34, 44, 0.96)
    );
  border: 1px solid var(--border);
  border-radius: 0.55rem;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.19);
}

.form-section {
  min-width: 0;
  margin: 0;
  padding: 0 0 clamp(3rem, 7vw, 5rem);
  border: 0;
}

.form-section + .form-section {
  padding-top: clamp(3rem, 7vw, 5rem);
  border-top: 1px solid var(--border);
}

.form-section legend {
  width: 100%;
  padding: 0;
  color: var(--text);
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.5vw, 2.75rem);
  line-height: 1.15;
}

.form-section-description {
  max-width: 43rem;
  margin: 0.8rem 0 2rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.contact-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.form-field {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.form-field label {
  margin-bottom: 0.55rem;
  color: var(--text);
  font-size: 0.9rem;
  font-weight: 600;
}

.form-field label > span[aria-hidden="true"] {
  color: var(--gold-light);
}

.field-hint {
  margin: -0.35rem 0 0.6rem;
  color: var(--text-muted);
  font-size: 0.78rem;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  border: 1px solid var(--border-strong);
  border-radius: 0.35rem;
  color: var(--text);
  background: rgba(0, 17, 25, 0.62);
  transition:
    border-color var(--transition),
    background var(--transition),
    box-shadow var(--transition);
}

.form-field input,
.form-field select {
  min-height: 3.55rem;
  padding: 0.8rem 0.95rem;
}

.form-field textarea {
  min-height: 7.5rem;
  padding: 0.9rem 0.95rem;
  line-height: 1.55;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(184, 194, 195, 0.55);
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: rgba(245, 241, 233, 0.38);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--aqua);
  background: rgba(0, 21, 30, 0.8);
  box-shadow: 0 0 0 3px rgba(24, 189, 200, 0.1);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"] {
  border-color: var(--error);
}

.form-field select {
  cursor: pointer;
}

.form-field select:disabled {
  color: rgba(184, 194, 195, 0.55);
  cursor: not-allowed;
  opacity: 0.74;
}

.form-field select option {
  color: var(--text);
  background: var(--bg-soft);
}

.appointment-choices {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.appointment-choice {
  min-width: 0;
  padding: clamp(2rem, 4vw, 3.25rem);
}

.appointment-choice:first-child {
  padding-left: 0;
  padding-right: clamp(2rem, 4vw, 3.25rem);
}

.appointment-choice:last-child {
  padding-right: 0;
  padding-left: clamp(2rem, 4vw, 3.25rem);
  border-left: 1px solid var(--border);
}

.choice-number {
  margin: 0 0 0.35rem;
  color: var(--gold-light);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.2em;
}

.appointment-choice h2 {
  margin: 0 0 2rem;
  font-family: var(--serif);
  font-size: clamp(1.65rem, 3vw, 2.25rem);
  font-weight: 400;
  line-height: 1.15;
}

.appointment-choice .form-field + .form-field {
  margin-top: 1.5rem;
}

.date-feedback,
.field-error {
  min-height: 1.45rem;
  margin: 0.45rem 0 0;
  font-size: 0.8rem;
  line-height: 1.4;
}

.date-feedback.is-valid {
  color: var(--aqua-soft);
}

.date-feedback.is-error,
.field-error,
.combination-error {
  color: var(--error);
}

.combination-error {
  min-height: 1.5rem;
  margin: 1rem 0 0;
  font-size: 0.86rem;
  line-height: 1.5;
}

.notes-section {
  padding-bottom: 0;
}

.optional-label {
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 400;
}

.form-submit-area {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: clamp(2rem, 4vw, 3rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  border-top: 1px solid var(--border);
}

.privacy-reassurance {
  max-width: 25rem;
  margin: 0;
  color: var(--text-muted);
  font-size: 0.82rem;
}

.submit-button {
  flex: 0 0 auto;
  margin-top: 0;
  border: 1px solid var(--gold-pale);
}

.honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ---------- Thank-you page ---------- */

.thank-you-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.thank-you-main {
  flex: 1;
  min-height: calc(100vh - 4rem);
  padding:
    clamp(9rem, 20vh, 13rem)
    var(--page-padding)
    clamp(5rem, 12vh, 8rem);
  display: grid;
  place-items: center;
}

.thank-you-content {
  width: min(100%, 48rem);
  text-align: center;
}

.request-received-icon {
  width: 4.5rem;
  height: 4.5rem;
  margin: 0 auto 2rem;
  display: grid;
  place-items: center;
  border: 1px solid rgba(24, 189, 200, 0.48);
  border-radius: 50%;
  background: rgba(24, 189, 200, 0.05);
}

.request-received-icon svg {
  width: 2.4rem;
  height: 2.4rem;
  fill: none;
  stroke: var(--aqua-soft);
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.thank-you-content h1 {
  margin: 1rem 0 0;
  font-family: var(--serif);
  font-size: clamp(3.5rem, 8vw, 7rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.thank-you-content > p:not(.section-label) {
  max-width: 40rem;
  margin: 1.6rem auto 0;
  color: var(--text-muted);
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
}

.return-home-button {
  width: fit-content;
  min-height: 3.75rem;
  margin: 2.5rem auto 0;
  padding: 0.8rem 1.35rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  border: 1px solid var(--gold);
  border-radius: 0.35rem;
  color: var(--gold-light);
  transition:
    color var(--transition),
    background var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.return-home-button:hover {
  color: var(--gold-pale);
  background: rgba(216, 154, 37, 0.08);
  border-color: var(--gold-light);
  box-shadow: 0 0 1.4rem rgba(216, 154, 37, 0.14);
}

.return-home-button svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.5;
}

.interior-footer {
  margin-top: auto;
}

/* ---------- Scroll reveal ---------- */

.reveal {
  opacity: 1;
  transform: none;
}

.js .reveal {
  opacity: 0;
  transform: translateY(1.25rem);
  transition:
    opacity 650ms ease,
    transform 650ms cubic-bezier(0.22, 1, 0.36, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- Medium screens ---------- */

@media (max-width: 68rem) {
  .hero-inner {
    grid-template-columns: minmax(0, 1.1fr) minmax(22rem, 0.9fr);
  }

  .hero-copy {
    max-width: 42rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.5rem, 6.2vw, 4.8rem);
  }

  .portrait-panel {
    width: 48vw;
  }

  .hero-divider {
    left: 37%;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-content {
    margin-left: clamp(0rem, 7vw, 5rem);
  }

  .trust-points {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .trust-point {
    padding: 2rem 0;
  }

  .trust-point + .trust-point {
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .footer-inner {
    grid-template-columns: repeat(3, 1fr);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

/* ---------- Mobile ---------- */

@media (max-width: 51rem) {
  .header-inner {
    gap: 1rem;
  }

  .site-header.is-scrolled .header-inner {
    padding-top: 0.62rem;
    padding-bottom: 0.62rem;
  }

  .header-actions {
    gap: 0.65rem;
  }

  .header-schedule {
    min-height: 3.1rem;
    padding: 0.65rem 0.85rem;
    gap: 0.55rem;
    font-size: 0.86rem;
  }

  .header-schedule svg {
    width: 1.1rem;
    height: 1.1rem;
  }

  .menu-trigger {
    gap: 0.6rem;
  }

  .hero {
    min-height: 100vh;
    min-height: max(100svh, 50rem);
  }

  .hero-inner {
    display: block;
    padding-top: clamp(7.4rem, 18vh, 9rem);
    padding-bottom: clamp(21rem, 46svh, 28rem);
  }

  .hero-copy {
    max-width: 39rem;
  }

  .hero-copy h1 {
    font-size: clamp(3.05rem, 11vw, 4.5rem);
    line-height: 0.98;
  }

  .hero-description {
    max-width: 36rem;
    font-size: clamp(0.96rem, 3.5vw, 1.08rem);
  }

  .portrait-panel {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: clamp(21rem, 46svh, 28rem);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    border-radius: 0;
  }

  .portrait-panel img {
    width: auto;
    max-width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
  }

  .portrait-panel::after {
    background:
      linear-gradient(to bottom, var(--bg) 0%, transparent 20%),
      linear-gradient(to right, rgba(0, 27, 38, 0.3), transparent 38%);
  }

  @supports (
    (-webkit-mask-image: linear-gradient(#000, #000)) or
    (mask-image: linear-gradient(#000, #000))
  ) {
    .portrait-panel {
      -webkit-mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.9) 9%,
        #000 21%
      );
      mask-image: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(0, 0, 0, 0.9) 9%,
        #000 21%
      );
    }
  }

  .hero-divider,
  .scroll-cue {
    display: none;
  }

  .about-copy {
    grid-template-columns: 1fr;
  }

  .about-content {
    margin-left: 0;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .contact-fields,
  .appointment-choices {
    grid-template-columns: 1fr;
  }

  .appointment-choice {
    padding: 2.25rem 0;
  }

  .appointment-choice:first-child {
    padding-right: 0;
  }

  .appointment-choice:last-child {
    padding-right: 0;
    padding-left: 0;
    border-top: 1px solid var(--border);
    border-left: 0;
  }

  .form-submit-area {
    align-items: stretch;
    flex-direction: column;
  }

  .submit-button {
    width: 100%;
  }
}

@media (max-width: 35rem) {
  :root {
    --page-padding: 1.15rem;
  }

  .wordmark {
    font-size: 0.7rem;
    letter-spacing: 0.25em;
  }

  .wordmark-line {
    width: 2.6rem;
  }

  .site-header.is-scrolled .wordmark {
    gap: 0.28rem;
    font-size: 0.61rem;
    letter-spacing: 0.2em;
  }

  .site-header.is-scrolled .wordmark-line {
    width: 2rem;
  }

  .menu-trigger-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .menu-trigger {
    width: 2.6rem;
    padding-inline: 0.45rem;
    justify-content: center;
  }

  .header-schedule {
    min-height: 2.8rem;
    padding-inline: 0.72rem;
  }

  .site-header.is-scrolled .header-inner {
    gap: 0.55rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }

  .site-header.is-scrolled .menu-trigger {
    min-height: 2.4rem;
  }

  .site-header.is-scrolled .header-schedule {
    min-height: 2.45rem;
    padding: 0.42rem 0.6rem;
    gap: 0.4rem;
    font-size: 0.78rem;
  }

  .hero-inner {
    padding-top: 7.25rem;
    padding-bottom: clamp(21rem, 46svh, 26rem);
  }

  .hero-copy h1 {
    font-size: clamp(2.65rem, 12vw, 3.45rem);
  }

  .hero-description br {
    display: none;
  }

  .appointment-button {
    width: 100%;
    max-width: 21rem;
    min-height: 3.9rem;
    padding-inline: 1rem;
    gap: 0.7rem;
    font-size: 0.94rem;
  }

  .portrait-panel {
    height: clamp(21rem, 46svh, 26rem);
  }

  .about-content h2 {
    font-size: clamp(3rem, 15vw, 4.25rem);
  }

  .personal-promise {
    padding-left: 1.25rem;
    font-size: clamp(1.75rem, 9vw, 2.35rem);
  }

  .trust-point {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-brand {
    grid-column: auto;
  }

  .page-home-link span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .page-home-link {
    width: 2.75rem;
    justify-content: center;
    border: 1px solid var(--border);
    border-radius: 50%;
  }

  .appointment-main {
    padding-top: 8rem;
  }

  .appointment-intro h1 {
    font-size: clamp(3rem, 15vw, 4.4rem);
  }

  .appointment-form {
    padding: 1.25rem;
  }

  .form-section legend {
    font-size: 1.8rem;
  }

  .form-submit-area .appointment-button {
    max-width: none;
  }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}