:root {
  color-scheme: light;
  --ink: #000;
  --paper: #fff;
  --soft: #f4f4f4;
  --line: #d9d9d9;
  --surface: #fff;
  --header-bg: rgba(255, 255, 255, .96);
  --muted: #555;
  --max: 1180px;
}

@media (prefers-color-scheme: dark) {
  :root {
    color-scheme: dark;
    --ink: #f2f2f2;
    --paper: #121212;
    --soft: #1a1a1a;
    --line: #3a3a3a;
    --surface: #1a1a1a;
    --header-bg: rgba(18, 18, 18, .96);
    --muted: #999;
  }

  .brand img,
  .hero-mark img {
    filter: invert(1);
  }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -5rem;
  z-index: 9999;
  background: var(--paper);
  border: 2px solid var(--ink);
  padding: .75rem 1rem;
}
.skip-link:focus { top: 1rem; }

.staging-banner {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffcc00;
  color: #000;
  text-align: center;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .85rem;
  line-height: 1.2;
  padding: .5rem 1rem;
}
.staging-banner + .site-header { top: 2.02rem; }

.container { width: min(calc(100% - 2rem), var(--max)); margin-inline: auto; }
.section { padding: clamp(4rem, 8vw, 7rem) 0; }
.section-soft { background: var(--soft); }
.section-dark { background: #000; color: #fff; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--header-bg);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(10px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 2rem; }
.brand { display: inline-flex; width: min(320px, 58vw); }
.brand img { width: 100%; height: auto; }
.primary-nav { display: flex; align-items: center; gap: 1.5rem; }
.primary-nav > a:not(.button) { text-decoration: none; font-weight: 700; }
.primary-nav > a:not(.button):hover,
.primary-nav > a:not(.button).active { text-decoration: underline; text-underline-offset: 5px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
}
.nav-toggle-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.social-links { display: flex; gap: .6rem; list-style: none; margin: 0; padding: 0; }
.social-link {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  color: inherit;
}
.social-link svg { width: 32px; height: 32px; }
.social-link:hover, .social-link:focus-visible { outline: 3px solid #777; outline-offset: 3px; }
.social-links-header { color: var(--ink); }
.social-links-footer { color: #fff; margin-top: 1rem; }

.hero { padding-top: clamp(3.5rem, 7vw, 7rem); }
.hero-grid { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(2rem, 7vw, 7rem); }
.eyebrow, .section-kicker { margin: 0 0 1rem; text-transform: uppercase; font-weight: 800; letter-spacing: .06em; font-size: .88rem; }
.section-kicker::after { content: ""; display: block; width: 42px; border-top: 2px solid currentColor; margin-top: .7rem; }
.inverse { color: #fff; }
h1, h2, h3, p { margin-top: 0; }
h1 { font-size: clamp(3rem, 7vw, 6.5rem); line-height: .92; letter-spacing: -.045em; margin-bottom: 1.5rem; font-weight: 300; text-transform: uppercase; }
h1 span { display: block; font-weight: 900; }
h2 { font-size: clamp(2.2rem, 4vw, 4rem); line-height: 1; letter-spacing: -.035em; margin-bottom: 1.4rem; text-transform: uppercase; }
h3 { font-size: 1.15rem; margin-bottom: .35rem; }
.lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 48rem; }
.hero-lead { font-size: clamp(1.05rem, 1.8vw, 1.25rem); max-width: 90%; }
.hero-mark { padding: 1rem; }
.hero-mark img { width: 100%; }

.button-row { display: flex; gap: .75rem; flex-wrap: wrap; margin-top: 2rem; }
.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--ink);
  padding: .82rem 1.2rem;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  letter-spacing: .02em;
  cursor: pointer;
}
.button-dark { background: var(--ink); color: var(--paper); }
.button-light { background: var(--paper); color: var(--ink); }
.button:hover, .button:focus-visible { outline: 3px solid #777; outline-offset: 3px; }

.split-grid, .about-grid, .contact-grid, .schedule-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2.5rem, 7vw, 7rem); align-items: start; }
.service-list { display: grid; gap: 1rem; margin-top: 2rem; }
.service-card { background: var(--surface); border: 1px solid var(--line); padding: 1.25rem; display: grid; grid-template-columns: auto 1fr; gap: 1rem; align-items: start; }
.service-card p { margin-bottom: 0; }
.icon { width: 48px; height: 48px; border-radius: 50%; border: 2px solid var(--ink); background: var(--paper); color: var(--ink); display: grid; place-items: center; font-weight: 800; font-size: .78rem; }

.faq-list { display: grid; gap: .75rem; margin-top: 2rem; }
.faq-item { background: var(--surface); border: 1px solid var(--line); padding: 1.1rem 1.25rem; }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font-weight: 800;
  list-style: none;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  flex-shrink: 0;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 1;
}
.faq-item[open] summary::after { content: "\2212"; }
.faq-item[open] summary { margin-bottom: .75rem; }
.faq-item p { margin-bottom: 0; }
.faq-item p + p { margin-top: .75rem; }

.faq-examples { display: grid; gap: .6rem; margin-top: 1rem; }
.faq-example { border-left: 3px solid var(--ink); background: var(--soft); padding: .75rem 1rem; display: grid; gap: .3rem; }
.faq-example-badge {
  font-weight: 800;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--muted);
}

.process-flow { display: flex; flex-direction: column; align-items: stretch; margin-top: 1.25rem; }
.process-step { border: 2px solid var(--ink); background: var(--paper); padding: 1rem 1.25rem; }
.process-step-title { margin-bottom: .3rem; font-weight: 800; text-transform: uppercase; letter-spacing: .02em; font-size: .95rem; }
.process-step-detail { color: var(--muted); }
.process-step-time {
  margin-top: .5rem;
  font-weight: 800;
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.process-step-outside { border-style: dashed; background: transparent; }
.process-step-outside .process-step-time { color: var(--muted); }

.process-connector { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .35rem; padding: .6rem 0; }
.process-connector-line { width: 2px; height: 1.1rem; background: var(--ink); }
.process-connector-label {
  font-weight: 800;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--muted);
}
.process-connector-arrow {
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 8px solid var(--ink);
}

.about-intro { display: flex; align-items: flex-start; gap: clamp(1.25rem, 3vw, 2rem); margin-bottom: 1.4rem; flex-wrap: wrap; }
.about-photo-wrap { margin: 0 auto; flex-shrink: 0; width: 420px; }
.about-photo {
  position: relative;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
}
.about-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 0 16px 8px var(--paper);
}
.profile-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .25s ease;
}
.profile-photo-hover { opacity: 0; }
.about-photo:hover .profile-photo-hover,
.about-photo:focus-within .profile-photo-hover { opacity: 1; }
.about-photo-caption {
  margin-top: .5rem;
  text-align: center;
  font-weight: 800;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.about-intro h2 { margin-bottom: 0; }
.about-photo-frame { display: flex; align-items: flex-end; gap: .5rem; }
.about-photo-frame .about-photo { flex: 1; }
.photo-credit {
  flex-shrink: 0;
  writing-mode: vertical-rl;
  margin: 0;
  padding: .25rem 0;
  color: var(--muted);
  font-size: .7rem;
  letter-spacing: .0em;
  white-space: nowrap;
}

.access-card { border: 2px solid var(--ink); padding: clamp(1.5rem, 4vw, 2.5rem); margin-top: 2rem; }
.access-card h3 { text-transform: uppercase; font-size: 1.5rem; }
.access-note { font-weight: 800; margin-bottom: 0; }
.about-bio { margin-top: 1.75rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.about-bio p:last-child { margin-bottom: 0; }

.contact-links { display: grid; border-top: 1px solid #666; margin-top: 2rem; }
.contact-links a { display: grid; grid-template-columns: 1fr 1.6fr; gap: 1rem; padding: 1.2rem 0; border-bottom: 1px solid #666; text-decoration: none; }
.contact-links a:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.contact-links span { color: #ccc; }

.consultation-form { border: 2px solid var(--ink); padding: clamp(1.25rem, 3vw, 2rem); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; align-items: start; gap: 1rem; }
label { display: grid; gap: .45rem; font-weight: 800; margin-bottom: 1rem; }
label[hidden] { display: none; }
input, textarea, select { width: 100%; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); padding: .8rem; border-radius: 0; }
input, select { height: 48px; }
textarea { min-height: 48px; resize: vertical; }
input:focus, textarea:focus, select:focus { outline: 3px solid #777; outline-offset: 2px; }
.form-submit { width: 100%; margin-top: .25rem; }
.form-status { min-height: 1.5em; font-weight: 700; margin: .75rem 0 0; }
.small-note { font-size: .92rem; color: var(--muted); }
.disclaimer { font-style: italic; font-weight: 800; }
.time-picker { position: relative; }
.time-picker-toggle {
  width: 100%;
  height: 48px;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  padding: 0 .8rem;
  text-align: left;
  cursor: pointer;
  font-weight: 700;
}
.time-picker-toggle.has-value { font-weight: 700; }
.time-picker-toggle:focus-visible { outline: 3px solid #777; outline-offset: 2px; }

.time-picker-panel[hidden] { display: none; }
.time-picker-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + .5rem);
  left: 0;
  right: 0;
  max-height: 260px;
  overflow-y: auto;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 2px solid var(--ink);
}
.time-picker-column { background: var(--surface); display: flex; flex-direction: column; min-width: 0; }
.time-slot {
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .85rem;
  padding: .3rem .5rem;
  text-align: center;
  cursor: pointer;
  min-height: auto;
  line-height: 1.2;
}
.time-slot:hover, .time-slot:focus-visible { background: var(--soft); outline: none; }
.time-slot.selected { background: var(--ink); color: var(--paper); font-weight: 800; }

.date-picker { position: relative; }
.date-picker-panel[hidden] { display: none; }
.date-picker-panel {
  position: absolute;
  z-index: 40;
  top: calc(100% + .5rem);
  left: 0;
  width: min(320px, 100%);
  background: var(--surface);
  border: 2px solid var(--ink);
  padding: .75rem;
}
.date-picker-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: .6rem; font-weight: 800; }
.date-nav-btn {
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--ink);
  background: var(--surface);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1;
  padding: 0;
  cursor: pointer;
  min-height: auto;
}
.date-nav-btn:disabled { opacity: .3; cursor: not-allowed; }
.date-picker-weekdays {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  text-align: center;
  font-size: .7rem;
  font-weight: 800;
  color: var(--muted);
  margin-bottom: .25rem;
}
.date-picker-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 2px; }
.date-day, .date-day-empty {
  min-height: auto;
  padding: .5rem 0;
  text-align: center;
  font-size: .85rem;
}
.date-day-empty { visibility: hidden; }
.date-day {
  border: 0;
  background: none;
  color: var(--ink);
  font: inherit;
  font-size: .85rem;
  cursor: pointer;
}
.date-day:hover, .date-day:focus-visible { background: var(--soft); outline: none; }
.date-day.selected { background: var(--ink); color: var(--paper); font-weight: 800; }
.date-day.disabled { color: var(--line); cursor: not-allowed; pointer-events: none; }

.mailto-fallback { margin-top: 1rem; padding-top: 1rem; border-top: 1px solid var(--line); }
.mailto-fallback .button-row { margin-top: 0; }
.mailto-fallback-body {
  margin: 1rem 0 0;
  padding: 1rem;
  background: var(--soft);
  border: 1px solid var(--line);
  white-space: pre-wrap;
  word-break: break-word;
  font-family: inherit;
  font-size: .92rem;
}

.site-footer { background: #000; color: #fff; padding: 2.5rem 0; }
.footer-inner { display: grid; grid-template-columns: minmax(220px, 360px) 1fr; gap: 3rem; align-items: center; }
.footer-logo { filter: invert(1); width: 100%; }
.copyright { color: #bbb; font-size: .9rem; margin-bottom: 0; }

@media (max-width: 900px) {
  .header-inner {
    min-height: auto;
    flex-wrap: nowrap;
    justify-content: space-between;
    padding-block: .6rem;
  }
  .brand { width: min(200px, 55vw); justify-content: flex-start; }
  .nav-toggle { display: flex; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: .5rem 0 1rem;
    background: var(--header-bg);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    max-height: calc(100vh - 100%);
    overflow-y: auto;
  }
  .primary-nav.is-open { display: flex; }
  .primary-nav > a:not(.button) {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--line);
  }
  .social-links-header { margin: .75rem 0 0; padding: 0 1rem; }
  .nav-cta { margin: .75rem 1rem 0; }

  .hero-grid, .split-grid, .about-grid, .contact-grid, .schedule-grid { grid-template-columns: 1fr; }
  .service-list, .access-card, .contact-links, .faq-list { margin-top: 0; }
  .hero-copy { order: 1; }
  .hero-mark { order: 2; max-width: 680px; margin-inline: auto; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-logo { max-width: 330px; }
}

@media (max-width: 600px) {
  .container { width: min(calc(100% - 1.5rem), var(--max)); }
  .section { padding: 3.5rem 0; }
  .hero { padding-top: 2.75rem; }
  h1 { font-size: clamp(2.85rem, 14vw, 4.5rem); }
  h2 { font-size: clamp(2rem, 10vw, 3rem); }
  .button-row { display: grid; }
  .button { width: 100%; }
  .hero-mark { margin-top: .25rem; }
  .field-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-links a { grid-template-columns: 1fr; gap: .25rem; }
  .service-card { grid-template-columns: 44px 1fr; }
  .icon { width: 44px; height: 44px; }
}

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