:root {
  --ink: #1c1915;
  --ink-soft: #3a342c;
  --muted: #6b6258;
  --paper: #f4efe6;
  --paper-deep: #ebe3d4;
  --card: #fbf8f2;
  --burgundy: #7c3040;
  --burgundy-deep: #5c2230;
  --brass: #a68456;
  --brass-soft: #c4a574;
  --line: rgba(28, 25, 21, 0.12);
  --shadow: 0 24px 60px rgba(28, 25, 21, 0.08);
  --serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --sans: "Outfit", "Segoe UI", sans-serif;
  --header: 4.6rem;
  --radius: 1.1rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header) + 1rem);
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(1200px 500px at 100% -10%, rgba(166, 132, 86, 0.16), transparent 55%),
    var(--paper);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.65;
  font-weight: 400;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--burgundy);
}

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

.skip {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 20;
  background: var(--ink);
  color: var(--paper);
  padding: 0.7rem 1rem;
}

.skip:focus {
  top: 1rem;
}

.wrap {
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.eyebrow {
  margin: 0 0 0.7rem;
  color: var(--burgundy);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
}

h1 {
  margin: 0;
  font-size: clamp(3.4rem, 8vw, 6.4rem);
}

h2 {
  margin: 0 0 1rem;
  font-size: clamp(2.3rem, 4vw, 3.6rem);
}

h3 {
  margin: 0;
  font-size: 1.7rem;
}

p {
  margin: 0;
}

.lede {
  max-width: 38rem;
  color: var(--ink-soft);
  font-size: 1.12rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  height: var(--header);
  display: flex;
  align-items: center;
  background: rgba(244, 239, 230, 0.96);
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  border-bottom-color: var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: min(1120px, calc(100% - 2.4rem));
  margin-inline: auto;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

.brand:hover {
  color: inherit;
}

.seal {
  width: 2.6rem;
  height: 2.6rem;
  display: grid;
  place-items: center;
  border: 1px solid var(--brass);
  color: var(--ink);
  font-family: var(--serif);
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand strong {
  display: block;
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
}

.nav {
  display: flex;
  align-items: center;
  gap: 1.35rem;
}

.nav a {
  color: var(--ink-soft);
  font-size: 0.95rem;
  text-decoration: none;
}

.nav a[aria-current="true"] {
  color: var(--ink);
  box-shadow: inset 0 -1px 0 var(--brass);
}

.nav-toggle {
  display: none;
  width: 2.8rem;
  height: 2.8rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 1.1rem;
  height: 1px;
  margin-inline: auto;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -6px;
}

.nav-toggle span::after {
  top: 6px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.7rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
}

.btn-fill {
  background: var(--burgundy);
  color: #fbf8f2;
}

.btn-fill:hover {
  background: var(--burgundy-deep);
  color: #fbf8f2;
}

.btn-line {
  border-color: rgba(28, 25, 21, 0.25);
  background: transparent;
  color: var(--ink);
}

.btn-line:hover {
  border-color: var(--ink);
  color: var(--ink);
}

.btn-light {
  background: var(--paper);
  color: var(--ink);
}

.btn-light:hover {
  color: var(--burgundy-deep);
}

.hero {
  padding: 4.2rem 0 3rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 3rem;
  align-items: end;
}

.hero h1 span {
  display: block;
  font-style: italic;
  font-weight: 500;
  color: var(--burgundy);
}

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

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.8rem;
}

.chamber-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.4rem 1.3rem;
}

.chamber-card h2 {
  font-size: 2rem;
  margin-bottom: 0.4rem;
}

.chamber-card p + p,
.detail + .detail {
  margin-top: 0.85rem;
}

dl {
  margin: 0;
}

.detail dt {
  color: var(--muted);
  font-size: 0.75rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.detail dd {
  margin: 0.15rem 0 0;
  font-size: 1.05rem;
}

.detail a {
  overflow-wrap: anywhere;
  text-decoration: none;
  font-weight: 500;
}

.stats {
  background: var(--ink);
  color: #f4efe6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat {
  padding: 1.6rem 1.2rem 1.5rem;
  border-right: 1px solid rgba(244, 239, 230, 0.12);
}

.stat:last-child {
  border-right: 0;
}

.stat strong {
  display: block;
  font-family: var(--serif);
  font-size: clamp(2rem, 3vw, 2.8rem);
  font-weight: 600;
  line-height: 1;
}

.stat span {
  display: block;
  margin-top: 0.45rem;
  color: rgba(244, 239, 230, 0.72);
  font-size: 0.92rem;
}

section {
  padding: 5rem 0;
}

.section-head {
  max-width: 40rem;
  margin-bottom: 2.2rem;
}

.split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: start;
}

.prose p + p {
  margin-top: 1rem;
}

.note {
  margin-top: 1.4rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.practice-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.practice-list li {
  display: grid;
  grid-template-columns: 4.5rem 1fr;
  gap: 0.5rem 1rem;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
}

.practice-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.practice-list em {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--brass);
}

.practice-list h3 {
  font-size: 1.65rem;
}

.practice-list p {
  margin-top: 0.3rem;
  color: var(--ink-soft);
}

.record {
  background: linear-gradient(180deg, rgba(235, 227, 212, 0.55), transparent 18rem);
}

.record-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2rem;
}

.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.4rem 1.3rem 0.6rem;
}

.panel h3 {
  margin-bottom: 0.8rem;
  font-size: 1.8rem;
}

.rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.rows li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.72rem 0;
  border-top: 1px solid var(--line);
  font-size: 0.98rem;
}

.rows b {
  font-variant-numeric: tabular-nums;
  font-weight: 560;
}

.status-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  margin-top: 1rem;
}

.status-pair div {
  padding: 1rem;
  background: var(--paper);
  border-radius: 0.8rem;
}

.status-pair strong {
  display: block;
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 1;
}

.status-pair span {
  color: var(--muted);
  font-size: 0.88rem;
}

.hours {
  background: var(--ink);
  color: #f4efe6;
}

.hours .eyebrow {
  color: var(--brass-soft);
}

.hours .lede,
.hours .note {
  color: rgba(244, 239, 230, 0.74);
}

.hours-layout {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 3rem;
  align-items: center;
}

.hours-table {
  width: 100%;
  border-collapse: collapse;
}

.hours-table th,
.hours-table td {
  padding: 0.85rem 0.2rem;
  border-bottom: 1px solid rgba(244, 239, 230, 0.14);
  text-align: left;
  font-weight: 400;
}

.hours-table th {
  font-weight: 500;
}

.hours-table td {
  text-align: right;
  color: rgba(244, 239, 230, 0.8);
}

.hours-table tr.is-today th,
.hours-table tr.is-today td {
  color: var(--brass-soft);
}

.hours-table tr.is-closed td {
  color: rgba(244, 239, 230, 0.45);
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 2rem;
  align-items: start;
}

form {
  display: grid;
  gap: 0.9rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.4rem;
}

label {
  display: grid;
  gap: 0.35rem;
  font-size: 0.86rem;
  font-weight: 500;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 0.7rem;
  background: #fff;
  color: var(--ink);
  font: inherit;
  padding: 0.75rem 0.8rem;
}

textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}

.form-note,
.form-status {
  color: var(--muted);
  font-size: 0.88rem;
}

.form-status[data-state="ready"] {
  color: var(--burgundy-deep);
}

.map-frame {
  margin-top: 1rem;
  height: 240px;
  border: 0;
  border-radius: 0.9rem;
  filter: saturate(0.7);
}

.site-footer {
  padding: 1.6rem 0 5.5rem;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.9rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.dock {
  display: none;
}

@media (max-width: 860px) {
  .nav-toggle {
    display: grid;
    place-items: center;
  }

  .nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    z-index: 9;
    padding: 0.6rem 1.2rem 6rem;
    background: var(--paper);
    overflow: auto;
  }

  .nav.is-open {
    display: flex;
  }

  .nav a {
    padding: 0.95rem 0.2rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    justify-content: flex-start;
  }

  .nav .btn {
    margin-top: 1rem;
    justify-content: center;
  }

  .hero-grid,
  .split,
  .record-grid,
  .hours-layout,
  .contact-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .stats-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stat {
    border-bottom: 1px solid rgba(244, 239, 230, 0.12);
  }

  .stat:nth-child(odd) {
    border-right: 1px solid rgba(244, 239, 230, 0.12);
  }

  .hero {
    padding-top: 2.4rem;
  }

  section {
    padding: 3.4rem 0;
  }

  h1 {
    font-size: clamp(3rem, 14vw, 4.4rem);
  }

  .dock {
    position: fixed;
    left: 0.7rem;
    right: 0.7rem;
    bottom: 0.7rem;
    z-index: 11;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    transform: translateY(140%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.2s ease, visibility 0.2s ease;
  }

  .dock.is-visible {
    transform: translateY(0);
    visibility: visible;
    pointer-events: auto;
  }

  .dock .btn {
    box-shadow: var(--shadow);
  }

  .site-footer {
    padding-bottom: 6.2rem;
  }
}

@media (max-width: 520px) {
  .practice-list li {
    grid-template-columns: 1fr;
    gap: 0.15rem;
  }

  .wrap,
  .header-inner {
    width: min(1120px, calc(100% - 1.6rem));
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .dock {
    transition: none;
  }
}
