:root {
  --color-background: #f3eee6;
  --color-foreground: #1a1916;
  --color-primary: #8e3d32;
  --color-on-primary: #ffffff;
  --color-secondary: #24302c;
  --color-muted: #e7e0d4;
  --color-muted-text: #4a453c;
  --color-border: #d4cbbc;
  --color-surface: #f7f4ee;
  --color-copper: #8a6a3b;
  --color-ink: #1a1916;
  --color-paper: #f7f4ee;
  --color-dark: #1a1916;
  --color-dark-raised: #26231e;
  --color-on-dark: #f3eee6;
  --color-on-dark-muted: #cfc6b8;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Outfit", "Avenir Next", "Segoe UI", sans-serif;
  --header-h: 72px;
  --space: 8px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --shadow: 0 16px 40px rgba(26, 25, 22, 0.12);
  --content: 1160px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--color-background);
  color: var(--color-foreground);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  text-rendering: optimizeLegibility;
  overflow-x: clip;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  touch-action: manipulation;
}

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

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 560;
  line-height: 1.05;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin: 0;
}

p {
  margin: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: 8px;
  z-index: 50;
  transform: translateY(-140%);
  background: var(--color-ink);
  color: var(--color-on-dark);
  padding: 12px 16px;
  min-height: 44px;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

:focus-visible {
  outline: 3px solid var(--color-primary);
  outline-offset: 3px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: var(--header-h);
  padding: max(10px, env(safe-area-inset-top)) max(20px, calc((100% - var(--content)) / 2)) 10px;
  background: var(--color-background);
  border-bottom: 1px solid var(--color-border);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-right: auto;
  min-height: 44px;
  text-decoration: none;
  color: var(--color-foreground);
}

.brand:hover {
  color: var(--color-foreground);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 1.2rem;
  letter-spacing: -0.03em;
}

.brand-name span {
  font-weight: 560;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  margin-left: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 12px;
  text-decoration: none;
  font-weight: 500;
  color: var(--color-foreground);
  cursor: pointer;
}

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

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.nav-toggle-bars,
.nav-toggle-bars::before,
.nav-toggle-bars::after {
  display: block;
  width: 18px;
  height: 1.5px;
  background: var(--color-foreground);
  position: relative;
}

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

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 18px;
  background: var(--color-primary);
  color: var(--color-on-primary);
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: 0;
  transition: background-color 180ms var(--ease), transform 180ms var(--ease);
}

.btn:hover {
  background: #732f27;
  color: var(--color-on-primary);
}

.btn:active {
  transform: scale(0.98);
}

.hero,
.work,
.services,
.visit,
.site-footer {
  padding-left: max(20px, calc((100% - var(--content)) / 2));
  padding-right: max(20px, calc((100% - var(--content)) / 2));
}

.hero {
  display: grid;
  gap: 36px;
  padding-top: 48px;
  padding-bottom: 56px;
  align-items: center;
}

.kicker {
  margin: 0 0 12px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-primary);
}

h1 {
  font-size: clamp(2.7rem, 8vw, 5.4rem);
  max-width: 11ch;
}

h1 em {
  font-style: italic;
  font-weight: 560;
  color: var(--color-primary);
}

.lede {
  max-width: 38rem;
  margin-top: 20px;
  color: var(--color-muted-text);
  font-size: 1.125rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 28px;
}

.phone {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 640;
  letter-spacing: -0.03em;
  text-decoration: none;
  color: var(--color-foreground);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid var(--color-primary);
}

.phone:hover {
  color: var(--color-primary);
}

.status {
  margin: 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  color: var(--color-muted-text);
}

.status::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-muted-text);
}

.status.is-open {
  color: var(--color-secondary);
}

.status.is-open::before {
  background: var(--color-secondary);
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-weight: 600;
  text-underline-offset: 4px;
  cursor: pointer;
}

.listing-figure {
  margin-top: 18px;
  color: var(--color-muted-text);
  font-variant-numeric: tabular-nums;
}

.listing-figure a {
  color: var(--color-foreground);
}

.hero-visual {
  position: relative;
  min-height: 320px;
  padding-bottom: 28px;
}

.slab {
  position: absolute;
  z-index: 0;
  top: 22px;
  right: 0;
  left: 18%;
  bottom: 64px;
  background: var(--color-primary);
}

.frame {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-right: 28px;
  background: var(--color-muted);
  aspect-ratio: 1400 / 787;
}

.frame-img {
  width: 100%;
  height: 114%;
  max-width: none;
  object-fit: cover;
  object-position: center 62%;
}

.inset {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  width: min(168px, 38%);
  margin: 0;
  background: var(--color-ink);
  color: var(--color-on-dark);
  box-shadow: var(--shadow);
}

.inset img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  height: auto;
}

.inset figcaption,
.photo-courses figcaption {
  padding: 8px 10px 10px;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.work {
  padding-top: 72px;
  padding-bottom: 24px;
}

.work-intro {
  display: grid;
  gap: 12px;
  max-width: 40rem;
}

h2 {
  font-size: clamp(2.1rem, 5vw, 3.6rem);
  max-width: 16ch;
}

.prose {
  display: grid;
  gap: 16px;
  margin-top: 8px;
  max-width: 62ch;
  color: var(--color-muted-text);
}

.photo-courses {
  list-style: none;
  margin: 40px 0 0;
  padding: 0;
  display: grid;
  gap: 16px;
}

.photo-courses figure {
  margin: 0;
  background: var(--color-ink);
  color: var(--color-on-dark);
}

.photo-courses img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-muted);
  transition: transform 240ms var(--ease);
}

.photo-courses li:hover img {
  transform: scale(1.03);
}

.photo-note {
  margin: 12px 0 0;
  color: var(--color-muted-text);
  font-size: 0.9rem;
}

.services {
  padding-top: 72px;
  padding-bottom: 80px;
}

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

.section-lede {
  margin-top: 14px;
  color: var(--color-muted-text);
  max-width: 52ch;
}

.sheets {
  display: grid;
  gap: 16px;
}

.sheet {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  padding: 22px 20px 8px;
}

.sheet h3 {
  font-size: 1.45rem;
  margin-bottom: 8px;
}

.sheet dl {
  margin: 0;
}

.sheet dl > div {
  display: grid;
  gap: 4px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
}

.sheet dt {
  font-weight: 600;
  font-size: 1.05rem;
}

.idx {
  display: inline-block;
  min-width: 2ch;
  margin-right: 8px;
  font-family: var(--font-display);
  font-weight: 560;
  color: var(--color-copper);
  font-variant-numeric: tabular-nums;
}

.sheet dd {
  margin: 0;
  padding-left: calc(2ch + 8px);
  color: var(--color-muted-text);
}

.sheet dl > div:hover {
  background: rgba(142, 61, 50, 0.04);
}

.services-cta {
  margin-top: 22px;
  font-size: 1.2rem;
}

.services-cta a {
  font-family: var(--font-display);
  font-weight: 640;
  font-size: 1.5rem;
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
}

.reviews {
  background-color: var(--color-dark);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='88' height='40' viewBox='0 0 88 40'%3E%3Cpath d='M0 20h88M0 40h88M44 0v20' stroke='%232c2924' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  color: var(--color-on-dark);
  padding: 80px 0;
}

.reviews-inner {
  padding-left: max(20px, calc((100% - var(--content)) / 2));
  padding-right: max(20px, calc((100% - var(--content)) / 2));
}

.reviews .kicker {
  color: #e2b2a8;
}

.section-lede.light,
.reviews .section-lede {
  color: var(--color-on-dark-muted);
}

.review-grid {
  display: grid;
  gap: 16px;
}

.quote {
  margin: 0;
  height: 100%;
  background: var(--color-dark-raised);
  border: 1px solid #3a342c;
  padding: 22px 20px 18px;
}

.quote blockquote {
  margin: 0;
}

.quote blockquote p + p {
  margin-top: 14px;
}

.quote figcaption {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #3a342c;
}

.who {
  font-weight: 600;
}

.meta {
  color: var(--color-on-dark-muted);
  font-variant-numeric: tabular-nums;
}

.visit {
  display: grid;
  gap: 28px;
  padding-top: 80px;
  padding-bottom: 40px;
}

.visit address {
  margin-top: 18px;
  font-style: normal;
  line-height: 1.5;
}

.access {
  margin-top: 12px;
  color: var(--color-muted-text);
}

.phone-visit {
  margin-top: 16px;
}

.hours-card {
  background: var(--color-paper);
  border: 1px solid var(--color-border);
  padding: 22px 20px;
  align-self: start;
}

.hours-card h3 {
  font-size: 1.8rem;
}

.hours-note {
  margin: 6px 0 12px;
  color: var(--color-muted-text);
}

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

th, td {
  text-align: left;
  font-weight: 500;
  padding: 12px 0;
  border-top: 1px solid var(--color-border);
  vertical-align: baseline;
}

th {
  font-weight: 600;
}

td {
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.today-tag {
  display: none;
  margin-left: 8px;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-primary);
  font-weight: 600;
}

.is-today .today-tag {
  display: inline;
}

.is-today th {
  color: var(--color-primary);
}

.site-footer {
  display: grid;
  gap: 18px;
  padding-top: 28px;
  padding-bottom: max(28px, env(safe-area-inset-bottom));
  border-top: 1px solid var(--color-border);
}

.footer-name {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 640;
  letter-spacing: -0.03em;
}

.footer-brand p + p {
  margin-top: 4px;
}

.footer-brand a {
  font-weight: 600;
  text-decoration: none;
  border-bottom: 2px solid var(--color-primary);
}

.preview-note {
  max-width: 46ch;
  color: var(--color-muted-text);
  font-size: 0.95rem;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 420ms var(--ease), transform 420ms var(--ease);
  transition-delay: var(--delay, 0ms);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

section[id],
#work,
#services,
#reviews,
#visit {
  scroll-margin-top: calc(var(--header-h) + 12px);
}

@media (min-width: 720px) {
  .photo-courses {
    grid-template-columns: 1.1fr 0.9fr 1fr;
    align-items: start;
  }

  .photo-courses li:nth-child(2) {
    margin-top: 48px;
  }

  .photo-courses li:nth-child(3) {
    margin-top: 22px;
  }

  .sheets {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }

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

  .quote-feature {
    grid-column: 1 / -1;
  }

  .visit {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: start;
    gap: 48px;
  }
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(320px, 1.08fr);
    gap: 56px;
    padding-top: 64px;
    padding-bottom: 72px;
  }

  .hero-visual {
    min-height: 420px;
  }

  .inset {
    width: 176px;
  }
}

@media (max-width: 800px) {
  .nav-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 12px 16px;
    background: var(--color-background);
    border-bottom: 1px solid var(--color-border);
  }

  .site-nav.is-open {
    display: flex;
    z-index: 2;
    box-shadow: 0 18px 32px rgba(26, 25, 22, 0.1);
  }

  .site-nav a {
    padding: 0 12px;
  }

  .hero {
    min-height: 0;
  }

  .frame {
    margin-right: 16px;
  }
}

@media (max-height: 500px) and (orientation: landscape) {
  .hero {
    min-height: 0;
  }
}

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

  .reveal,
  .reveal.is-in {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .frame-img,
  .photo-courses img,
  .btn {
    transition: none;
  }

  .frame-img {
    height: 100%;
  }

  .photo-courses li:hover img,
  .btn:active {
    transform: none;
  }
}
