:root {
  --bg: #fbfaf7;
  --bg-alt: #f1eee7;
  --surface: #ffffff;
  --text: #1d2524;
  --muted: #5b6664;
  --line: #e3ded3;
  --accent: #1f5f5b;
  --accent-strong: #164743;
  --accent-soft: #e3efed;
  --warm: #c8743c;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(20, 30, 28, .06), 0 8px 24px rgba(20, 30, 28, .06);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #121716;
    --bg-alt: #182020;
    --surface: #1d2625;
    --text: #e8eeec;
    --muted: #a3b0ad;
    --line: #2c3836;
    --accent: #7cc3bb;
    --accent-strong: #a3dad3;
    --accent-soft: #1f3331;
    --warm: #e39a63;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 24px rgba(0, 0, 0, .25);
    color-scheme: dark;
  }
}

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

html { scroll-behavior: smooth; scroll-padding-top: 80px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid var(--warm); outline-offset: 2px; border-radius: 4px; }

h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.5vw, 3.1rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.15rem; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

.skip {
  position: absolute; left: -999px; top: 8px;
  background: var(--accent); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 100;
}
.skip:focus { left: 8px; color: #fff; }

/* Top bar */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  -webkit-backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.topbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 12px; min-height: 64px; flex-wrap: wrap; padding-block: 8px;
}
.brand {
  display: inline-flex; align-items: center; gap: 10px;
  font-weight: 700; font-size: 1.1rem; color: var(--text); text-decoration: none;
}
.brand-mark {
  width: 28px; height: 28px; border-radius: 8px; background: var(--accent); position: relative; flex: none;
}
.brand-mark::before, .brand-mark::after {
  content: ""; position: absolute; background: var(--bg); border-radius: 2px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
}
.brand-mark::before { width: 4px; height: 16px; }
.brand-mark::after { width: 16px; height: 4px; }

nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; flex-wrap: wrap; align-items: center; }
nav a {
  display: block; padding: 8px 12px; border-radius: 999px;
  color: var(--text); text-decoration: none; font-size: .95rem; font-weight: 500;
}
nav a:hover { background: var(--accent-soft); color: var(--text); }
nav .nav-call { background: var(--accent); color: #fff; font-weight: 600; }
nav .nav-call:hover { background: var(--accent-strong); color: #fff; }
@media (prefers-color-scheme: dark) {
  nav .nav-call, nav .nav-call:hover { color: #0f1a19; }
}

@media (max-width: 640px) {
  .topbar { position: static; }
  .topbar-inner { justify-content: center; }
  nav ul { justify-content: center; }
  nav a { padding: 6px 10px; font-size: .9rem; }
}

/* Notice */
.notice {
  background: var(--warm); color: #fff; padding: 14px 0; text-align: center; font-size: 1rem;
}

/* Hero */
.hero { padding: clamp(40px, 7vw, 88px) 0 clamp(40px, 6vw, 72px); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.eyebrow {
  display: inline-block; margin: 0 0 16px; padding: 4px 12px; border-radius: 999px;
  background: var(--accent-soft); color: var(--accent-strong); font-weight: 600; font-size: .88rem;
}
.eyebrow-warm { background: color-mix(in srgb, var(--warm) 18%, transparent); color: var(--warm); }
.signoff { margin-top: 24px; color: var(--muted); }
.signoff strong { color: var(--text); }
.info-grid-2 { grid-template-columns: repeat(2, 1fr); max-width: 760px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.btn {
  display: inline-block; padding: 13px 22px; border-radius: 999px;
  font-weight: 600; text-decoration: none; border: 2px solid transparent; transition: background .15s, border-color .15s;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-strong); color: #fff; }
.btn-ghost { border-color: var(--line); color: var(--text); background: var(--surface); }
.btn-ghost:hover { border-color: var(--accent); color: var(--text); }
@media (prefers-color-scheme: dark) {
  .btn-primary, .btn-primary:hover { color: #0f1a19; }
}
.hero-photo { margin: 0; }
.hero-photo img { border-radius: 20px; box-shadow: var(--shadow); }

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-photo { order: -1; }
}

/* Sections */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section-alt { background: var(--bg-alt); }
.section-lead { color: var(--muted); max-width: 44em; margin: 0 0 32px; font-size: 1.08rem; }

.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: start; margin-top: 8px; }
.prose p { margin: 0 0 1em; }
.services { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.services li {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px 18px 16px 20px; border-left: 4px solid var(--accent);
}
.services strong { display: block; }
.services span { color: var(--muted); font-size: .96rem; }
@media (max-width: 760px) { .about-grid { grid-template-columns: 1fr; gap: 24px; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin-top: 40px; }
.gallery figure { margin: 0; }
.gallery img { border-radius: 10px; aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 760px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* Staff */
.staff-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 20px; align-items: start;
}
@media (max-width: 560px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .person-body { padding: 12px; }
  .person h3 { font-size: 1rem; }
  .role { font-size: .85rem; }
}
.person {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.person img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; }
.person-body { padding: 16px 18px 18px; }
.person h3 { margin-bottom: 2px; }
.role { margin: 0; color: var(--muted); font-size: .94rem; }
details { margin-top: 12px; border-top: 1px solid var(--line); padding-top: 10px; }
summary {
  cursor: pointer; color: var(--accent); font-weight: 600; font-size: .95rem; list-style: none;
  display: inline-flex; align-items: center; gap: 6px;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font-size: 1.1rem; line-height: 1; }
details[open] summary::after { content: "–"; }
details h4 {
  margin: 14px 0 4px; font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted);
}
details ul { margin: 0; padding-left: 18px; font-size: .92rem; }
details li { margin-bottom: 4px; }

/* Info */
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 8px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 24px; box-shadow: var(--shadow);
}
.card h3 { color: var(--muted); font-size: .8rem; text-transform: uppercase; letter-spacing: .07em; }
.card p { margin: 0 0 .6em; }
.big { font-size: 1.3rem; font-weight: 600; line-height: 1.35; }
.big a { color: var(--text); text-decoration: none; }
.link { font-weight: 600; }
.hours { width: 100%; border-collapse: collapse; font-size: .98rem; }
.hours th { text-align: left; font-weight: 400; color: var(--muted); padding: 6px 8px 6px 0; }
.hours td { text-align: right; font-weight: 600; white-space: nowrap; padding: 6px 0; font-variant-numeric: tabular-nums; }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
@media (max-width: 860px) { .info-grid { grid-template-columns: 1fr; } }

.links { margin-top: 40px; }
.links ul { padding-left: 20px; color: var(--muted); }
.links li { margin-bottom: 6px; }

/* Footer */
.footer { border-top: 1px solid var(--line); padding: 28px 0; color: var(--muted); font-size: .94rem; }
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px 24px; }
.footer p { margin: 0; }
.footer a { color: inherit; }
