/* ============================================================
   Aurelia Aesthetics — modern clinic, quiet garnet
   Ground #FBF9F7 · Ink #241B20 · Garnet #6E1F33 · Stone #EFEAE6
   Type: Hanken Grotesk 300 (display) / 500 (body) / 600 (emphasis)
   ============================================================ */

:root {
  --ground: #FBF9F7;
  --ink: #241B20;
  --ink-soft: #5C4E55;
  --garnet: #6E1F33;
  --garnet-deep: #571626;
  --stone: #EFEAE6;
  --on-garnet: #FBF9F7;
  --on-garnet-soft: #EDD7DC;
  --line: rgba(36, 27, 32, .12);
  --sans: 'Hanken Grotesk', system-ui, -apple-system, sans-serif;
  --max: 1120px;
  --radius: 12px;
}

/* ---------- Reset & base ---------- */

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

html { scroll-behavior: smooth; }

body {
  font: 500 1.0625rem/1.7 var(--sans);
  color: var(--ink);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
}

img, svg { display: block; max-width: 100%; }

::selection { background: var(--garnet); color: var(--on-garnet); }

a { color: inherit; }

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

section[id] { scroll-margin-top: 5.5rem; }

.container {
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: 1.4rem;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 200;
  background: var(--garnet);
  color: var(--on-garnet);
  font-weight: 600;
  text-decoration: none;
  padding: .8rem 1.3rem;
  border-radius: 8px;
  transition: top .2s ease-out;
}

.skip-link:focus { top: 1rem; }

/* ---------- Type ---------- */

h1, h2, h3 {
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.02em;
  text-wrap: balance;
}

h1 { font-size: clamp(2.7rem, 7vw, 5rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 2.9rem); }
h3 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; }

.lede {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  line-height: 1.65;
  color: var(--ink-soft);
  max-width: 60ch;
}

.muted { color: var(--ink-soft); }

/* ---------- Buttons & links ---------- */

.btn {
  display: inline-block;
  padding: .95rem 1.9rem;
  font: 600 1rem/1.2 var(--sans);
  text-decoration: none;
  color: var(--on-garnet);
  background: var(--garnet);
  border: 1px solid var(--garnet);
  border-radius: 8px;
  cursor: pointer;
  transition: background .2s ease-out, border-color .2s ease-out, transform .2s ease-out;
}

.btn:hover { background: var(--garnet-deep); border-color: var(--garnet-deep); transform: translateY(-1px); }

.btn-quiet {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-quiet:hover { background: transparent; color: var(--garnet); border-color: var(--garnet); }

.btn-light {
  background: var(--on-garnet);
  color: var(--garnet);
  border-color: var(--on-garnet);
}
.btn-light:hover { background: #fff; border-color: #fff; color: var(--garnet-deep); }

.link-more {
  display: inline-block;
  font-weight: 600;
  font-size: 1rem;
  color: var(--garnet);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color .2s ease-out;
}
.link-more:hover { color: var(--garnet-deep); }

/* ---------- Header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(251, 249, 247, .93);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: .9rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.02em;
  text-decoration: none;
  color: var(--ink);
  line-height: 1.15;
}

.brand .brand-sub {
  display: block;
  font-size: .8rem;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: 0;
}

.nav-toggle {
  appearance: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .7rem .75rem;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle .bar {
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink);
  transition: transform .2s ease-out;
}

body.nav-open .nav-toggle .bar:first-child { transform: translateY(3.5px) rotate(45deg); }
body.nav-open .nav-toggle .bar:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--ground);
  border-bottom: 1px solid var(--line);
  padding: 1rem 1.4rem 1.6rem;
}

body.nav-open .site-nav { display: block; }

.site-nav ul { list-style: none; display: flex; flex-direction: column; gap: .2rem; }

.site-nav a {
  display: inline-block;
  padding: .5rem 0;
  font-size: 1rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  transition: color .2s ease-out;
}

.site-nav a:hover { color: var(--ink); }

.site-nav a[aria-current="page"] {
  color: var(--garnet);
  font-weight: 600;
}

/* ---------- Hero (home) ---------- */

.hero { padding: 4.5rem 0 3.5rem; }

.hero h1 { max-width: 16ch; }

.hero .lede { margin-top: 1.4rem; }

.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin-top: 2.2rem; }

.fade-rise { animation: rise .7s ease-out both; }
.fade-rise.d1 { animation-delay: .1s; }
.fade-rise.d2 { animation-delay: .2s; }

@keyframes rise {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: none; }
}

/* ---------- Photography ---------- */

.photo-band { margin: 0; }

.photo-band img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.photo-band.tall img { aspect-ratio: 4 / 3; }

.portrait-figure { margin: 0; }

.portrait-figure img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  border-radius: var(--radius);
}

.portrait-figure figcaption {
  margin-top: .7rem;
  font-size: .85rem;
  color: var(--ink-soft);
}

/* ---------- Page hero (interior pages) ---------- */

.page-hero { padding: 4.2rem 0 3.4rem; }

.page-hero h1 { max-width: 18ch; }

.page-hero .lede { margin-top: 1.3rem; }

.page-hero-garnet {
  background: var(--garnet);
  color: var(--on-garnet);
  padding: 5rem 0 4.4rem;
}

.page-hero-garnet .lede { color: var(--on-garnet-soft); }

.page-hero-garnet :focus-visible { outline-color: var(--on-garnet); }

/* ---------- Section shells ---------- */

.section { padding: 4.5rem 0; }

.band-stone { background: var(--stone); }

.band-garnet {
  background: var(--garnet);
  color: var(--on-garnet);
}

.band-garnet :focus-visible { outline-color: var(--on-garnet); }

.section-head { margin-bottom: 2.6rem; max-width: 46rem; }

.section-head .lede { margin-top: 1rem; }

/* ---------- Credentials (home) ---------- */

.cred-grid { display: grid; gap: 2rem; }

.cred-item strong {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: -.01em;
  margin-bottom: .4rem;
}

.cred-item span { font-size: .97rem; color: var(--ink-soft); }

/* ---------- Statement / philosophy ---------- */

.statement { max-width: 24ch; }

.split { display: grid; gap: 2.4rem; align-items: start; }

.split-body { max-width: 62ch; }

.split-body p + p { margin-top: 1.2rem; }

.split-body p { color: var(--ink-soft); }

.split-body .strong-line {
  color: var(--ink);
  font-weight: 600;
  font-size: 1.15rem;
  line-height: 1.55;
}

/* ---------- Practice panels (home) ---------- */

.panel-grid { display: grid; gap: 1.2rem; }

.panel {
  display: flex;
  flex-direction: column;
  gap: .8rem;
  background: var(--ground);
  border-radius: var(--radius);
  padding: 2rem 1.8rem 1.9rem;
  text-decoration: none;
  transition: background .2s ease-out, transform .2s ease-out;
}

.band-stone .panel { background: var(--ground); }

.panel:hover { transform: translateY(-3px); }

.panel p { font-size: .98rem; color: var(--ink-soft); flex: 1; }

.panel .panel-more { font-weight: 600; color: var(--garnet); font-size: .98rem; }

.panel:hover .panel-more { color: var(--garnet-deep); }

/* ---------- Testimonials ---------- */

.quote-grid { display: grid; gap: 1.2rem; }

.quote {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2.1rem 1.9rem;
}

.quote blockquote {
  font-size: 1.2rem;
  font-weight: 300;
  line-height: 1.6;
  letter-spacing: -.01em;
}

.quote figcaption {
  margin-top: 1.2rem;
  font-size: .95rem;
  font-weight: 600;
  color: var(--garnet);
}

/* ---------- Closing band ---------- */

.cta-band { padding: 5.5rem 0; }

.cta-band h2 { max-width: 20ch; }

.cta-band p {
  max-width: 56ch;
  margin: 1.3rem 0 2.2rem;
  color: var(--on-garnet-soft);
}

/* ---------- Procedures page ---------- */

.pricing-band { padding: 0 0 1.5rem; }

.pricing-note {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  max-width: 62ch;
}

.pricing-note h2 { font-size: 1.35rem; font-weight: 600; letter-spacing: -.01em; margin-bottom: .6rem; }

.pricing-note p { font-size: 1rem; color: var(--ink-soft); }

.proc-section { padding: 4.2rem 0; }

.proc-intro { max-width: 60ch; color: var(--ink-soft); margin: 1.2rem 0 2.6rem; }

.proc-list { list-style: none; display: grid; gap: 2.2rem; }

.proc-item h3 { margin-bottom: .5rem; }

.proc-item p { font-size: 1rem; color: var(--ink-soft); max-width: 62ch; }

/* ---------- About page ---------- */

.story-grid { display: grid; gap: 2.6rem; align-items: start; }

.pull-quote {
  font-size: 1.35rem;
  font-weight: 300;
  line-height: 1.5;
  letter-spacing: -.01em;
  color: var(--garnet);
  margin: 1.6rem 0;
  max-width: 30ch;
}

.timeline { list-style: none; display: grid; gap: 1.9rem; margin-top: 2.4rem; max-width: 46rem; }

.timeline .tl-label {
  display: block;
  font-size: .95rem;
  font-weight: 600;
  color: var(--garnet);
  margin-bottom: .2rem;
}

.timeline strong { font-weight: 600; }

.timeline p { font-size: .97rem; color: var(--ink-soft); }

.facility-note {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
  margin-top: 2.2rem;
}

.facility-note h3 { font-size: 1.15rem; margin-bottom: .6rem; }

.facility-note p { font-size: .97rem; color: var(--ink-soft); }

.band-stone .facility-note { background: var(--ground); }

.team-grid { display: grid; gap: 1.2rem; }

.team-member {
  background: var(--ground);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
}

.team-member strong { display: block; font-size: 1.15rem; font-weight: 600; }

.team-member .role {
  display: block;
  font-size: .95rem;
  color: var(--garnet);
  font-weight: 600;
  margin: .15rem 0 .7rem;
}

.team-member p { font-size: .95rem; color: var(--ink-soft); }

/* ---------- Consultation page ---------- */

.steps-grid { display: grid; gap: 1.2rem; }

.step {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 1.9rem 1.8rem;
}

.step-number {
  display: block;
  font-size: 2.4rem;
  font-weight: 300;
  line-height: 1;
  color: var(--garnet);
  margin-bottom: .9rem;
}

.step h3 { font-size: 1.15rem; margin-bottom: .5rem; }

.step p { font-size: .97rem; color: var(--ink-soft); }

.cost-band { padding-top: 0; }

.cost-note {
  background: var(--stone);
  border-radius: var(--radius);
  padding: 2rem 1.9rem;
  max-width: 62ch;
}

.cost-note h2 { font-size: 1.5rem; margin-bottom: .7rem; }

.cost-note p { color: var(--ink-soft); }

.cost-note strong { color: var(--ink); font-weight: 600; }

/* --- Form --- */

.consult-grid { display: grid; gap: 3rem; align-items: start; }

.consult-form {
  background: var(--ground);
  border-radius: var(--radius);
  padding: 2.2rem 1.8rem;
}

.field { margin-bottom: 1.4rem; }

.field label,
.field legend {
  display: block;
  font-size: .97rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: .45rem;
}

.field .optional { font-weight: 500; color: var(--ink-soft); }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%;
  font: 500 1rem/1.5 var(--sans);
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: .8rem 1rem;
  transition: border-color .2s ease-out;
}

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: calc(100% - 1.3rem) 55%, calc(100% - 1rem) 55%;
  background-size: 5px 5px;
  background-repeat: no-repeat;
}

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

.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible {
  outline: 2px solid var(--garnet);
  outline-offset: 2px;
  border-color: var(--garnet);
}

.field input[aria-invalid="true"],
.field.invalid input { border-color: var(--garnet); }

.field-error {
  display: block;
  margin-top: .45rem;
  font-size: .93rem;
  font-weight: 600;
  color: var(--garnet);
}

.form-status {
  font-size: .97rem;
  font-weight: 600;
  color: var(--garnet);
  margin-top: 1.1rem;
  min-height: 1.4em;
}

fieldset.field { border: 0; }

.radio-row { display: flex; gap: 1.6rem; flex-wrap: wrap; }

.radio-row label {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  font-size: .97rem;
  font-weight: 500;
  margin: 0;
  cursor: pointer;
}

.radio-row input[type="radio"] { accent-color: var(--garnet); width: 1.05rem; height: 1.05rem; }

.form-fineprint { font-size: .87rem; color: var(--ink-soft); margin-top: 1.1rem; }

.form-notice {
  background: var(--garnet);
  color: var(--on-garnet);
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
}

.form-notice h3 { margin-bottom: .7rem; }

.form-notice p { font-size: 1.02rem; color: var(--on-garnet-soft); }

.form-notice a {
  color: var(--on-garnet);
  font-weight: 600;
  text-underline-offset: 3px;
}

.form-notice a:hover { color: #fff; }

.form-notice:focus-visible { outline: 2px solid var(--garnet); outline-offset: 3px; }

/* --- Office info --- */

.office-block {
  background: var(--ground);
  border-radius: var(--radius);
  padding: 1.8rem 1.7rem;
}

.office-block h3 { font-size: 1.1rem; margin-bottom: .7rem; }

.office-block + .office-block { margin-top: 1.2rem; }

.office-block address { font-style: normal; color: var(--ink-soft); }

.office-block p { color: var(--ink-soft); }

.office-block a { color: var(--garnet); font-weight: 600; text-underline-offset: 3px; }

.hours-list { list-style: none; }

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .4rem 0;
  font-size: .97rem;
  color: var(--ink-soft);
}

.hours-list li span:first-child { color: var(--ink); font-weight: 600; }

/* ---------- Footer ---------- */

.site-footer {
  background: var(--ink);
  color: #D9CFD4;
  margin-top: 4rem;
  padding-bottom: 88px; /* clearance for the demo badge */
}

.footer-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 4rem 1.4rem 3rem;
  display: grid;
  gap: 2.4rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ground);
  margin-bottom: .8rem;
}

.site-footer h2 {
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #C79AA6;
  margin-bottom: .9rem;
}

.site-footer p, .site-footer address { font-size: .95rem; font-style: normal; color: #D9CFD4; }

.site-footer ul { list-style: none; }

.site-footer ul li { margin-bottom: .45rem; }

.site-footer a {
  color: #EFE6EA;
  text-decoration: underline;
  text-decoration-color: rgba(199, 154, 166, .5);
  text-underline-offset: 3px;
  transition: color .2s ease-out;
}

.site-footer a:hover { color: #fff; text-decoration-color: #C79AA6; }

.site-footer :focus-visible { outline-color: #EFE6EA; }

.footer-bottom { border-top: 1px solid rgba(251, 249, 247, .14); }

.footer-bottom-inner {
  max-width: var(--max);
  margin-inline: auto;
  padding: 1.5rem 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .4rem;
}

.footer-bottom p { font-size: .84rem; color: #B7A8AF; }

/* ---------- Breakpoints ---------- */

@media (min-width: 640px) {
  .cred-grid { grid-template-columns: repeat(3, 1fr); }
  .panel-grid { grid-template-columns: repeat(2, 1fr); }
  .quote-grid { grid-template-columns: 1fr 1fr; }
  .steps-grid { grid-template-columns: repeat(3, 1fr); }
  .team-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-inner { grid-template-columns: 1.4fr 1fr 1fr 1fr; }
  .footer-bottom-inner { flex-direction: row; justify-content: space-between; }
  .proc-list { grid-template-columns: repeat(2, 1fr); gap: 2.4rem 3rem; }
}

@media (min-width: 1000px) {
  .nav-toggle { display: none; }
  .site-nav {
    display: block;
    position: static;
    background: none;
    border: 0;
    padding: 0;
  }
  .site-nav ul { flex-direction: row; gap: 2.2rem; }

  .hero { padding: 6.5rem 0 4.5rem; }
  .page-hero { padding: 6rem 0 4.2rem; }
  .page-hero-garnet { padding: 7rem 0 6rem; }

  .split { grid-template-columns: 5fr 7fr; gap: 4.5rem; }
  .story-grid { grid-template-columns: 5fr 7fr; gap: 4.5rem; }
  .consult-grid { grid-template-columns: 7fr 5fr; gap: 4rem; }
  .panel-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reduced motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .panel:hover, .btn:hover { transform: none; }
}

/* Guard: height attribute must not win over responsive sizing */
img { height: auto; }
