:root {
  color-scheme: light;
  --ink: #252628;
  --muted: #53565a;
  --accent: #a52724;
  --paper: #f2f2f1;
  --line: #d9dadb;
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  line-height: 1.6;
  scroll-padding-top: 6rem;
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: #fff; }
a { color: inherit; text-underline-offset: .2em; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
img { display: block; max-width: 100%; height: auto; }
p { margin: 0; }
h1, h2 { margin: 0; font-weight: 800; letter-spacing: -.055em; line-height: 1.04; }
h1 { font-size: clamp(2.8rem, 7vw, 4.6rem); max-width: 15ch; }
h2 { font-size: clamp(2.1rem, 4.5vw, 3.6rem); }
.wrap { width: min(68rem, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 10; padding: 10px; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.site-header { position: sticky; top: 0; z-index: 5; background: white; border-bottom: 1px solid var(--line); }
.nav, .brand, nav { display: flex; align-items: center; }
.nav { min-height: 76px; justify-content: space-between; gap: 12px 24px; }
.brand { gap: 10px; font-size: .9rem; font-weight: 700; text-decoration: none; line-height: 1.2; }
.brand-logo { width: 52px; flex: none; }
nav { gap: clamp(14px, 3vw, 32px); }
nav a, .header-call { display: inline-flex; align-items: center; min-height: 44px; font-size: .9rem; text-decoration: none; }
nav a:hover, .header-call:hover { text-decoration: underline; }
.header-call { color: var(--accent); font-weight: 700; white-space: nowrap; }
.hero { border-bottom: 1px solid var(--line); }
.area { background: var(--paper); }
.hero-layout, .section-layout, .area-layout, .contact { display: grid; gap: clamp(24px, 6vw, 80px); }
.hero-layout { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); align-items: center; padding-block: clamp(48px, 9vw, 112px); }
.lead { max-width: 46ch; margin: 20px 0 28px; font-size: clamp(1rem, 2vw, 1.2rem); color: var(--muted); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 10px 20px; background: var(--accent); color: white; border-radius: 3px; font-weight: 700; text-decoration: none; }
.button:hover { background: #801a19; }
.section, .area-layout, .contact { padding-block: clamp(42px, 7vw, 84px); }
.section-layout, .contact { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); }
.section-intro, .area-copy > p, .contact-copy > p { margin-top: 14px; max-width: 36ch; color: var(--muted); }
.services { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); column-gap: 28px; margin: 0; padding: 0; list-style: none; }
.service { border-top: 1px solid var(--line); padding-block: 14px 18px; }
.service h3 { margin: 0 0 4px; font-size: 1.05rem; line-height: 1.35; }
.service p { color: var(--muted); font-size: .95rem; }
.area-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.55fr); align-items: center; }
.area-map { min-width: 0; margin: 0; }
.area-map iframe { display: block; width: 100%; height: clamp(260px, 36vw, 365px); border: 1px solid var(--line); background: #e9eaeb; }
.area-map figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 0 16px; font-size: .875rem; }
.area-map a, .contact-secondary a { display: inline-flex; align-items: center; min-height: 44px; }
.contact-section { background: var(--ink); color: #fff; }
.contact { align-items: start; }
.contact-copy > p { color: #d5d6d7; }
.contact-section a:focus-visible { outline-color: #f58b86; }
.contact-actions { border-top: 1px solid #64666a; padding-top: 18px; }
.contact-phone { display: inline-block; color: #fff; font-weight: 750; font-size: clamp(1.75rem, 4vw, 3rem); line-height: 1.2; text-decoration: none; }
.contact-phone:hover { text-decoration: underline; }
.contact-secondary { color: #e0e1e2; display: flex; flex-wrap: wrap; gap: 0 24px; margin-top: 10px; }
footer { background: var(--paper); border-top: 1px solid var(--line); color: var(--muted); }
.footer-layout { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 4px 16px; padding-block: 20px; font-size: .8rem; }
.footer-credit { font-size: .625rem; color: #a1a2a4; word-spacing: -.045em; text-decoration: none; }
.footer-credit:hover, .footer-credit:focus-visible { color: var(--ink); text-decoration: underline; }
@media (max-width: 730px) {
  :root { scroll-padding-top: 8.5rem; }
  .wrap { width: calc(100% - 2rem); }
  .nav { flex-wrap: wrap; padding-top: 10px; row-gap: 5px; }
  nav { gap: 8px; order: 3; width: 100%; justify-content: space-between; border-top: 1px solid var(--line); }
  .brand-logo { width: 40px; }
  .hero-layout, .section-layout, .area-layout, .contact { grid-template-columns: minmax(0,1fr); }
}
@media (max-width: 435px) {
  .brand { font-size: .8rem; }
  .header-call { font-size: .8rem; }
  .services { grid-template-columns: 1fr; }
}

.hero-photo, .project figure { margin: 0; }
.hero-photo img { width: 100%; height: auto; }
.project figcaption {
  padding-top: 7px;
  color: var(--muted);
  font-size: .875rem;
}

.project { border-top: 1px solid var(--line); padding-top: 12px; }
.project h3 { margin: 0 0 12px; font-size: 1.1rem; }
.project-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.project img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: var(--paper); }
.project-video iframe {
  display: block;
  width: min(100%, 267px);
  height: auto;
  aspect-ratio: 267 / 476;
  border: 0;
  background: var(--paper);
}
.project-video a { display: inline-flex; align-items: center; min-height: 44px; }

#services { padding-bottom: clamp(24px, 4vw, 44px); }
#work { padding-block: clamp(24px, 4vw, 44px); border-top: 1px solid var(--line); }


.projects { display: grid; gap: 18px; margin-top: 14px; }
.projects .project { min-width: 0; }
.project-heading { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; margin-bottom: 8px; }
.project-heading h3 { margin: 0; }
.project-controls:not([hidden]) { display: flex; gap: 6px; }
.project-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 3px; background: white; color: var(--ink); font: inherit; font-size: 1.4rem; cursor: pointer; }
.project-controls button:disabled { opacity: .4; cursor: default; }
.project-media { display: flex; align-items: start; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.project-media::-webkit-scrollbar { display: none; }
.project-media:focus-visible, .project-controls button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.project-slide { flex: 0 0 clamp(132px, 34vw, 205px); min-width: 0; }
.project-slide:has(.project-pair) { flex-basis: calc(2 * clamp(132px, 34vw, 205px) + 8px); }
.project-slide h4 { margin: 5px 0 0; font-size: .875rem; }
.project-slide:has(.project-pair) { display: flex; flex-direction: column-reverse; }
.project-slide img { height: auto; aspect-ratio: 153 / 272; object-fit: cover; background: transparent; }
.project-video iframe { width: 100%; background: transparent; }
.project-video a { min-height: 32px; font-size: .875rem; }
@media (prefers-reduced-motion: no-preference) {
  .project-media { scroll-behavior: smooth; }
}
