:root {
  --bg: #f5f3ee;
  --surface: #fffefb;
  --fg: #1b1a17;
  --muted: #5e5b54; /* 6:1 on --bg, passes WCAG AA for small text */
  --line: #dcd8cf;
  --band: #ebe7de;
  --error: #b3261e;
  --gap: 24px;
  --row: 360px;
  --pad: clamp(16px, 4vw, 56px);
  --measure: 64ch;
  --font: "Helvetica Neue", Helvetica, Arial, system-ui, sans-serif;
  --display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  color-scheme: light;
}

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

html { scroll-behavior: smooth; }
html:has(dialog[open]) { overflow: hidden; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font: 15px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--muted); }
img { display: block; max-width: 100%; }
h1, h2, h3 { font-weight: 600; line-height: 1.25; }

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

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

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

/* Small uppercase labels used for headings across the site. */
.eyebrow, .section-title, .filters, .brand, .nav-group summary, .site-nav > ul > li > a, .book-now, .menu-button {
  letter-spacing: .14em;
  text-transform: uppercase;
  font-size: 12px;
}

.text-link {
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.text-link:hover { color: var(--fg); text-decoration-color: currentColor; }
.text-links { display: flex; flex-wrap: wrap; gap: 8px 28px; }
.text-links a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.text-links a:hover { color: var(--fg); text-decoration-color: currentColor; }

.prose { max-width: var(--measure); }
.prose > :first-child { margin-top: 0; }
.prose p { margin: 0 0 1em; }
.prose h2 { font-size: 15px; margin: 2em 0 .6em; }
.prose h3 { font-size: 15px; margin: 1.6em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1em; }
.prose a { text-decoration: underline; text-underline-offset: 3px; }

.display, .lead h1, .page-head h1, .text-page h1 {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: -.005em;
}
.eyebrow { margin: 0 0 10px; color: var(--muted); }
.eyebrow a:hover { color: var(--fg); }

/* ---- Header / footer ---------------------------------------------------- */

.site-header {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 12px 32px;
  flex-wrap: wrap;
  padding: clamp(20px, 3.5vw, 40px) var(--pad);
}

.brand { font-size: 13px; font-weight: 600; letter-spacing: .22em; margin-right: auto; }

.site-nav > ul {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.site-nav > ul > li > a, .nav-group summary {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 12px;
}
.site-nav a[aria-current="page"], .site-nav .is-current {
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

.nav-group { position: relative; }
.nav-group summary { list-style: none; cursor: pointer; gap: 6px; }
.nav-group summary::-webkit-details-marker { display: none; }
.nav-group summary::after {
  content: "";
  width: 6px; height: 6px;
  border-right: 1px solid currentColor;
  border-bottom: 1px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}
.nav-group details[open] summary::after { transform: translateY(1px) rotate(-135deg); }
.nav-group ul {
  position: absolute;
  top: 100%;
  left: -16px;
  min-width: 240px;
  margin: 0;
  padding: 8px 0;
  list-style: none;
  background: var(--surface);
  border: 1px solid var(--line);
  box-shadow: 0 10px 30px rgba(27, 26, 23, .08);
}
.nav-group ul a { display: block; padding: 10px 16px; font-size: 14px; }
.nav-group ul a:hover { background: var(--bg); color: var(--fg); }

.book-now, .menu-button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 20px;
  border: 1px solid var(--fg);
  font-size: 12px;
  font-weight: 600;
}
.book-now { background: var(--fg); color: var(--surface); }
.book-now:hover { background: #3a3833; color: var(--surface); }
.book-now[aria-current="page"] { background: transparent; color: var(--fg); }
.menu-button { background: none; color: var(--fg); font-family: var(--font); cursor: pointer; }
.menu-button { display: none; }

.preview-banner {
  margin: 0 var(--pad) 24px;
  padding: 10px 14px;
  background: var(--fg);
  color: #fff;
  font-size: 13px;
}

main { flex: 1; padding: 0 var(--pad); }

.site-footer {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px 40px;
  margin-top: clamp(72px, 10vw, 140px);
  padding: 36px var(--pad) 40px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13px;
}
.site-footer p { margin: 0 0 4px; }
.footer-brand { color: var(--fg); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; font-size: 12px; }
.site-footer ul { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; align-content: start; }
.site-footer a:hover, .site-footer a[aria-current="page"] { color: var(--fg); }
.copyright { grid-column: 1 / -1; font-size: 12px; }

/* ---- Home --------------------------------------------------------------- */

.carousel { --slide-h: clamp(300px, 68vh, 780px); }

.carousel-track {
  display: flex;
  gap: clamp(16px, 3vw, 40px);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  margin: 0 calc(-1 * var(--pad));
  padding: 0 var(--pad) 4px;
  scroll-padding: 0 var(--pad);
}
.carousel-track::-webkit-scrollbar { display: none; }

.slide { flex: 0 0 auto; margin: 0; scroll-snap-align: center; }
/* As tall as --slide-h allows, unless the screen is too narrow for that, in
   which case the slide shrinks to the screen width without letterboxing. */
.slide-link {
  display: block;
  height: min(var(--slide-h), calc((100vw - 2 * var(--pad)) / var(--ar)));
  aspect-ratio: var(--ar);
}
.slide-link img { width: 100%; height: 100%; object-fit: contain; object-position: left bottom; }
.slide figcaption { margin-top: 10px; font-size: 13px; color: var(--muted); }

.carousel-controls, .viewer-bar {
  display: flex;
  align-items: center;
  gap: 4px;
}
.carousel-controls { justify-content: flex-end; margin-top: 8px; }
.count { min-width: 4.5em; text-align: center; font-size: 12px; color: var(--muted); font-variant-numeric: tabular-nums; }

.carousel-controls button, .viewer-bar button, .viewer-close {
  min-width: 44px;
  min-height: 44px;
  padding: 0 12px;
  border: 0;
  background: none;
  color: var(--fg);
  font: 400 18px/1 var(--font);
  cursor: pointer;
  display: inline-grid;
  place-items: center;
}
.carousel-controls button:hover, .viewer-bar button:hover { color: var(--muted); }
.carousel-controls button:disabled { opacity: .3; cursor: default; }

.intro { margin-top: clamp(48px, 8vw, 104px); max-width: 920px; }
.intro-text { margin: 0; font: 400 clamp(20px, 2.2vw, 28px)/1.4 var(--display); }

.band {
  margin: clamp(56px, 8vw, 112px) calc(-1 * var(--pad)) 0;
  padding: clamp(36px, 6vw, 72px) var(--pad);
  background: var(--band);
}
.sessions { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 32px clamp(32px, 6vw, 96px); align-items: start; }
.sessions h2 { margin: 0 0 16px; font-size: clamp(26px, 3vw, 38px); }
.sessions-lead p { max-width: 52ch; }
.price { color: var(--muted); }
.price strong { color: var(--fg); font-weight: 600; }
.session-types { display: grid; gap: 1px; margin: 0; padding: 0; list-style: none; background: var(--line); border: 1px solid var(--line); }
.session-types li { padding: 22px 24px; background: var(--surface); }
.session-types h3 { margin: 0 0 6px; font: 400 20px/1.3 var(--display); }
.session-types p { margin: 0; }
.session-types .price { margin-top: 8px; font-weight: 600; color: var(--fg); }

.section-head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px 24px; flex-wrap: wrap; border-top: 1px solid var(--line); margin-bottom: 24px; }
.section-head .section-title { border-top: 0; margin-bottom: 0; }
.section-head .text-link { font-size: 13px; }

.spotlight-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(200px, 44vw), 1fr));
  gap: 32px var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
  align-items: start;
}
.spotlight a, .spotlight > div { display: grid; gap: 6px; }
.spotlight-image img { width: 100%; height: auto; background: var(--line); transition: opacity .25s; }
.spotlight a:hover img { opacity: .88; }
.spotlight a:hover { color: inherit; }
.spotlight-label { margin-top: 6px; font-size: 14px; font-weight: 600; }
.spotlight-text { font-size: 13px; color: var(--muted); }

.feature { display: grid; gap: clamp(28px, 5vw, 72px); align-items: center; }
.feature.has-image { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.feature-image { margin: 0; }
.feature-image img { width: 100%; height: auto; }
.feature-text { max-width: 56ch; }
.feature-text h2 { margin: 0 0 16px; font-size: clamp(24px, 2.6vw, 34px); }

.about-preview .lead-text { max-width: 62ch; }

.home-forms { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(40px, 6vw, 96px); margin-top: clamp(56px, 8vw, 96px); align-items: start; }
.home-forms > :only-child { grid-column: 1 / -1; max-width: 720px; }
.newsletter .embed { min-height: 220px; }

/* ---- Portfolio ---------------------------------------------------------- */

.page-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 12px 32px;
  margin-bottom: clamp(24px, 4vw, 40px);
}
.page-head h1 { margin: 0; font-size: clamp(26px, 3vw, 38px); }

.filters ul { display: flex; flex-wrap: wrap; gap: 4px 22px; margin: 0; padding: 0; list-style: none; }
.filters a { display: inline-block; padding: 6px 0; color: var(--muted); }
.filters a:hover, .filters a[aria-current="true"] { color: var(--fg); }
.filters a[aria-current="true"] { text-decoration: underline; text-underline-offset: 6px; }

/* Justified rows: covers keep their own aspect ratio and the curated order. */
.projects {
  display: flex;
  flex-wrap: wrap;
  gap: 40px var(--gap);
  margin: 0;
  padding: 0;
  list-style: none;
}
.projects::after { content: ""; flex-grow: 1e9; }
.project-tile { flex-grow: var(--ar); flex-basis: calc(var(--ar) * var(--row)); min-width: 0; }
.project-tile[hidden] { display: none; }
.project-tile img { width: 100%; height: auto; background: var(--line); transition: opacity .25s; }
.project-tile a:hover img { opacity: .88; }
.project-tile a:hover { color: inherit; }
.tile-title { display: block; margin-top: 10px; font-size: 13px; }

.empty { color: var(--muted); padding: 10vh 0; text-align: center; }

/* ---- Viewers (project gallery + featured slide) ------------------------- */

.viewer {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: var(--bg);
  color: var(--fg);
  overflow-y: auto;
}
.viewer::backdrop { background: var(--bg); }
/* A direct project link renders the viewer open; site.js upgrades it to a modal. */
.viewer.is-static-open { display: block; z-index: 50; }

.viewer-bar {
  position: sticky;
  top: 0;
  z-index: 2;
  justify-content: flex-end;
  padding: 8px calc(var(--pad) - 12px);
  background: var(--bg);
}
.viewer-close { font-size: 13px; letter-spacing: .06em; margin-left: 16px; }

.gallery-track {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  height: calc(100dvh - 150px);
  min-height: 280px;
}
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-slide {
  flex: 0 0 100%;
  margin: 0;
  padding: 0 var(--pad);
  scroll-snap-align: center;
  scroll-snap-stop: always;
}
.gallery-slide img { width: 100%; height: 100%; object-fit: contain; user-select: none; }

.project-info {
  max-width: calc(var(--measure) + 2 * var(--pad));
  margin: 0 auto;
  padding: 28px var(--pad) 64px;
}
.project-info h2 { margin: 0 0 12px; font-size: 17px; }
.project-status { margin: -6px 0 12px; color: var(--muted); font-size: 13px; }

.project-meta {
  display: grid;
  gap: 6px;
  margin: 24px 0 0;
  padding-top: 16px;
  border-top: 1px solid var(--line);
  font-size: 13px;
}
.project-meta div { display: grid; grid-template-columns: 9rem 1fr; gap: 16px; }
.project-meta dt { color: var(--muted); }
.project-meta dd { margin: 0; }

.featured-viewer { display: none; }
.featured-viewer[open] { display: flex; flex-direction: column; }
.featured-stage { flex: 1; min-height: 0; padding: 0 var(--pad); }
.featured-stage img { width: 100%; height: 100%; object-fit: contain; }
.featured-info { padding: 20px var(--pad) 32px; text-align: center; }
.featured-info h2 { margin: 0 0 6px; font-size: 15px; }
.featured-info p { margin: 0 auto 12px; max-width: var(--measure); color: var(--muted); font-size: 14px; }
.featured-info p:empty { display: none; }

/* ---- Content pages ------------------------------------------------------ */

.section { margin-top: clamp(56px, 8vw, 96px); }
.section-title {
  margin: 0 0 24px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-weight: 600;
}

.portrait { margin: 0; }
.portrait img { width: 100%; height: auto; }

.lead h1 { margin: 0 0 20px; font-size: clamp(28px, 3.4vw, 44px); line-height: 1.15; }

.disciplines {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
  margin: 0;
}
.disciplines dt { font-weight: 600; margin-bottom: 6px; }
.disciplines dd { margin: 0; color: var(--muted); }

.lead { display: grid; gap: clamp(28px, 5vw, 64px); align-items: start; }
.lead.has-image { grid-template-columns: minmax(0, var(--measure)) minmax(200px, 420px); justify-content: space-between; }
.lead-text { font-size: clamp(16px, 1.4vw, 18px); line-height: 1.55; }
.lead-image { margin: 0; }
.lead-image img { width: 100%; height: auto; }
.contact-email { font-size: clamp(16px, 1.4vw, 18px); }
.contact-email a { text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 1px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.steps li { display: grid; gap: 6px; }
.step-number { font-size: 13px; color: var(--muted); font-variant-numeric: tabular-nums; }
.steps h3 { margin: 0; font-size: 15px; }
.steps p { margin: 0; color: var(--muted); }

.aside-note { color: var(--muted); }

.text-page h1 { margin: 0 0 32px; font-size: clamp(26px, 3vw, 36px); }

.link-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.contact-location { color: var(--muted); }
.handle { margin-left: .4em; color: var(--muted); font-weight: 400; }

.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 28px; margin-top: 28px; }
.actions .button { display: inline-flex; align-items: center; }
.callout { max-width: var(--measure); padding: 18px 22px; border: 1px solid var(--line); background: var(--surface); }
.callout a { text-decoration: underline; text-decoration-color: var(--line); text-underline-offset: 4px; }
.callout a:hover { color: var(--fg); text-decoration-color: currentColor; }

.service-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 40px; margin: clamp(48px, 7vw, 88px) 0 0; padding: 0; list-style: none; }
.service-list li { padding-top: 18px; border-top: 1px solid var(--line); }
.service-list h2 { margin: 0 0 12px; font: 400 24px/1.25 var(--display); }
.service-list p { color: var(--muted); }

.examples { display: flex; flex-wrap: wrap; gap: 32px var(--gap); margin: 0; padding: 0; list-style: none; }
.examples::after { content: ""; flex-grow: 1e9; }
.examples li { flex-grow: var(--ar); flex-basis: calc(var(--ar) * 280px); min-width: 0; }
.examples img { width: 100%; height: auto; background: var(--line); transition: opacity .25s; }
.examples a:hover img { opacity: .88; }
.examples a:hover { color: inherit; }

.people { display: grid; gap: 40px; margin: 0; padding: 0; list-style: none; max-width: 960px; }
.person { display: grid; grid-template-columns: minmax(140px, 220px) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); align-items: start; }
.person.no-photo { grid-template-columns: minmax(0, 1fr); }
.person h3 { margin: 0; font: 400 22px/1.3 var(--display); }
.person-role { margin: 4px 0 14px; color: var(--muted); }

.specs { display: grid; gap: 0; margin: 24px 0 0; max-width: 760px; border-top: 1px solid var(--line); font-size: 14px; }
.specs div { display: grid; grid-template-columns: 12rem 1fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.specs dt { color: var(--muted); }
.specs dd { margin: 0; }

/* ---- Book a Session ------------------------------------------------------ */

.book-layout {
  display: grid;
  grid-template-columns: minmax(260px, 1fr) minmax(0, 2fr);
  grid-template-areas: "intro scheduler" "details scheduler";
  grid-template-rows: auto 1fr;
  gap: 0 clamp(32px, 5vw, 72px);
  align-items: start;
}
.book-intro { grid-area: intro; }
.book-scheduler { grid-area: scheduler; min-width: 0; }
.book-details { grid-area: details; display: grid; gap: 4px; margin-top: 24px; }
.book-intro h1 { margin: 0 0 16px; font: 400 clamp(26px, 3vw, 38px)/1.15 var(--display); }
.acuity { display: block; width: 100%; min-height: 720px; border: 1px solid var(--line); background: var(--surface); }
.book-scheduler .form-note { margin-top: 10px; }
.book-block { border-top: 1px solid var(--line); padding: 4px 0 12px; }
.book-block summary { cursor: pointer; list-style-position: inside; padding: 10px 0 6px; }
.book-block summary h2 { display: inline; margin: 0; font-size: 14px; font-weight: 600; }
.book-block .prose { font-size: 14px; }
.session-summary { display: grid; gap: 12px; margin: 4px 0 0; padding: 0; list-style: none; font-size: 14px; }
.session-summary li { display: grid; gap: 2px; }
.session-summary span { color: var(--muted); }
@media (min-width: 861px) {
  /* Beside the calendar the blocks are always open, so they read as plain sections. */
  .book-block summary { pointer-events: none; list-style: none; }
  .book-block summary::-webkit-details-marker { display: none; }
}

/* ---- Forms -------------------------------------------------------------- */

.form-section { scroll-margin-top: 24px; }
.form-section:focus { outline: none; }
.form-intro { margin-bottom: 24px; color: var(--muted); }

.enquiry-form { display: grid; gap: 18px; max-width: 720px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { display: grid; gap: 6px; align-content: start; }
.field label { font-size: 13px; font-weight: 600; }
.optional { margin-left: .35em; font-weight: 400; color: var(--muted); }
.field-hint { margin: 0; font-size: 13px; color: var(--muted); }
.field-error { margin: 0; font-size: 13px; color: var(--error); }

.field input, .field textarea, .field select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c9c8c3;
  border-radius: 2px;
  background: var(--surface);
  color: var(--fg);
  font: 16px/1.4 var(--font); /* 16px stops iOS zooming into the field */
}
.field textarea { resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--fg); outline-offset: -1px; border-color: var(--fg); }
.field [aria-invalid="true"] { border-color: var(--error); }

.form-errors, .form-sent {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--fg);
  background: #fff;
}
.form-errors { border-left-color: var(--error); }
.form-errors p, .form-sent p { margin: 0 0 6px; }
.form-sent p:last-child { margin: 0; color: var(--muted); }
.form-errors ul { margin: 0; padding-left: 1.2em; }
.form-errors a { color: var(--error); text-decoration: underline; }
.form-errors:focus, .form-sent:focus { outline: 2px solid var(--fg); outline-offset: 2px; }

.form-note { margin: 0; font-size: 13px; color: var(--muted); }
.form-note a { text-decoration: underline; text-underline-offset: 3px; }

.button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-height: 44px;
  padding: 0 28px;
  border: 1px solid var(--fg);
  border-radius: 2px;
  background: var(--fg);
  color: #fff;
  font: 13px/1 var(--font);
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}
.button:hover { background: #3a3833; color: #fff; }
.button:disabled { opacity: .6; cursor: progress; }

/* Honeypot: off-screen for people, still visible to naive bots. */
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

/* ---- Small screens ------------------------------------------------------ */

@media (max-width: 960px) {
  .sessions, .feature.has-image, .home-forms { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .book-layout { grid-template-columns: 1fr; grid-template-areas: "intro" "scheduler" "details"; }
  .acuity { min-height: 640px; }
  .book-details { margin-top: 32px; }

  /* With JS the menu folds behind the Menu button; without it, it wraps below. */
  .has-menu-button .menu-button { display: inline-flex; }
  .has-menu-button .site-nav { display: none; order: 3; width: 100%; }
  .has-menu-button .site-nav.is-open { display: block; }
  .site-nav > ul { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav > ul > li { border-top: 1px solid var(--line); }
  .nav-group ul { position: static; min-width: 0; padding: 0 0 8px; border: 0; box-shadow: none; background: none; }
  .nav-group ul a { padding: 10px 16px; }
  .site-header { gap: 8px 12px; }
  .site-nav { order: 3; width: 100%; }
}

@media (max-width: 760px) {
  .lead.has-image { grid-template-columns: 1fr; }
  .person { grid-template-columns: 1fr; }
  .person .portrait { max-width: 220px; }
  .field-row { grid-template-columns: 1fr; }
  .project-meta div, .specs div { grid-template-columns: 8rem 1fr; }
}

@media (max-width: 640px) {
  :root { --row: 220px; --gap: 12px; }
  .carousel { --slide-h: 58vh; }
  .projects { gap: 28px var(--gap); }
  .gallery-track { height: calc(100dvh - 190px); }
  .gallery-slide { padding: 0 8px; }
  .book-now, .menu-button { padding: 0 12px; font-size: 11px; letter-spacing: .1em; }
  .brand { font-size: 11px; letter-spacing: .16em; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}
