:root {
  --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 {
    --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; }

.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 { text-decoration: underline; text-underline-offset: 5px; }
.menu-toggle { display: none; width: 48px; height: 48px; background: var(--paper); border: 2px solid var(--ink); padding: 9px; }
.menu-toggle span { display: block; height: 3px; background: var(--ink); margin: 5px 0; }

.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-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; }
.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%; background: var(--ink); color: var(--paper); display: grid; place-items: center; font-weight: 800; font-size: .78rem; }

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

.contact-links { display: grid; border-top: 1px solid #666; }
.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; gap: 1rem; }
label { display: grid; gap: .45rem; font-weight: 800; margin-bottom: 1rem; }
input, textarea, select { width: 100%; border: 1.5px solid var(--ink); background: var(--surface); color: var(--ink); padding: .8rem; min-height: 48px; border-radius: 0; }
textarea { 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); }

.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: 78px; }
  .brand { width: min(265px, 70vw); }
  .menu-toggle { display: block; }
  .primary-nav {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--paper);
    border-bottom: 2px solid var(--ink);
    padding: 1rem;
    flex-direction: column;
    align-items: stretch;
  }
  .primary-nav.open { display: flex; }
  .primary-nav a { padding: .75rem; }
  .nav-cta { margin-top: .25rem; }

  .hero-grid, .split-grid, .about-grid, .contact-grid, .schedule-grid { grid-template-columns: 1fr; }
  .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; }
}
