:root {
  --paper: #f4efe6;
  --paper-deep: #e7e0d4;
  --ink: #1a1714;
  --muted: #534c44;
  --line: rgba(26, 23, 20, 0.16);
  --line-strong: rgba(26, 23, 20, 0.42);
  --clay: #8e3414;
  --night: #141210;
  --night-2: #221e1a;
  --on-night: #f4efe6;
  --on-night-muted: rgba(244, 239, 230, 0.72);
  --serif: "Fraunces", "Iowan Old Style", Palatino, "Palatino Linotype", serif;
  --sans: "Schibsted Grotesk", "Avenir Next", "Segoe UI", sans-serif;
  --header: 4.5rem;
  --ease: cubic-bezier(0.2, 0.7, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

body.nav-open {
  overflow: hidden;
}

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

h1,
h2,
h3,
p,
ol,
address {
  margin: 0;
}

address {
  font-style: normal;
}

a {
  color: inherit;
}

button,
input {
  font: inherit;
  color: inherit;
}

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

::selection {
  background: var(--ink);
  color: var(--paper);
}

.skip {
  position: absolute;
  left: 1rem;
  top: 0.75rem;
  transform: translateY(-160%);
  background: var(--ink);
  color: var(--paper);
  padding: 0.6rem 0.85rem;
  z-index: 40;
  text-decoration: none;
}

.skip:focus {
  transform: none;
}

.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;
}

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

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

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

.header-bar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  min-height: 44px;
}

.wordmark-mark {
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--serif);
  font-size: 0.78rem;
  letter-spacing: -0.04em;
  font-weight: 560;
}

.wordmark-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

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

.site-nav a {
  text-decoration: none;
  font-size: 0.95rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.site-nav a:hover,
.site-nav a[aria-current="true"] {
  text-decoration: underline;
  text-underline-offset: 0.35em;
  text-decoration-thickness: 1px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line-strong);
  min-height: 44px;
  padding: 0 0.9rem;
  cursor: pointer;
}

.hero,
#services,
#practice,
#studio {
  scroll-margin-top: var(--header);
}

.hero {
  min-height: calc(100svh - var(--header));
  display: grid;
  align-items: center;
  padding: 4.5rem 0 5rem;
}

.hero-grid {
  display: grid;
  gap: 3.5rem;
}

.eyebrow,
.card-kicker,
.section-index,
.aside-label,
.place-kicker,
.coords {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow {
  margin-bottom: 1.25rem;
  color: var(--muted);
}

h1 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(3.35rem, 6.6vw, 6.15rem);
  line-height: 0.92;
  letter-spacing: -0.045em;
  font-variation-settings: "SOFT" 20, "WONK" 0, "opsz" 144;
  max-width: 9.2em;
  text-wrap: balance;
}

h1 em {
  font-style: italic;
  font-weight: 520;
}

.lede {
  max-width: 38rem;
  margin-top: 1.75rem;
  color: var(--muted);
  font-size: 1.125rem;
  line-height: 1.65;
}

.hero-photo {
  margin: 0 0 1.35rem;
}

.hero-photo img,
.photo img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-photo img {
  height: clamp(260px, 34vw, 460px);
  object-fit: cover;
  object-position: center 68%;
}

.hero-card {
  padding-top: 0;
}

.photo {
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}

.photo figcaption {
  margin-top: 0.7rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.card-kicker {
  color: var(--clay);
  margin-bottom: 0.85rem;
}

.card-address {
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2vw, 1.85rem);
  line-height: 1.25;
  letter-spacing: -0.03em;
  font-weight: 520;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-top: 0.85rem;
  text-underline-offset: 0.28em;
}

.text-link:hover {
  color: var(--clay);
}

.chapter-list {
  list-style: none;
  padding: 0;
  margin: 1.25rem 0 0;
  border-top: 1px solid var(--line);
}

.chapter-list a {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.75rem;
  align-items: baseline;
  padding: 0.95rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.chapter-list a span:first-child {
  color: var(--clay);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.chapter-list a:hover span:last-child {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.statement {
  background: var(--night);
  color: var(--on-night);
  padding: clamp(4.5rem, 9vw, 7.5rem) 0;
}

.statement-grid {
  display: grid;
  gap: 2.5rem;
}

.statement-text {
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.18;
  letter-spacing: -0.035em;
  text-wrap: balance;
  max-width: 16em;
}

.statement-aside {
  max-width: 22rem;
  color: var(--on-night-muted);
  padding-top: 0.4rem;
}

.aside-label {
  color: var(--on-night);
  margin-bottom: 0.75rem;
}

.band {
  padding: clamp(4.5rem, 9vw, 7.75rem) 0;
}

.band-practice {
  background: var(--paper-deep);
}

.section-head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--line);
}

.section-index {
  color: var(--clay);
}

.section-head h2,
.section-head-light h2 {
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 0.98;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.section-intro {
  display: grid;
  gap: 1rem;
}

.section-intro p {
  max-width: 40rem;
  color: var(--muted);
}

.service-list,
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
}

.service {
  display: grid;
  gap: 0.75rem;
  padding: 1.7rem 0;
  border-bottom: 1px solid var(--line);
}

.service h3,
.steps h3 {
  font-family: var(--serif);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 540;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.service p:last-child,
.steps article p:last-child {
  color: var(--muted);
  max-width: 42rem;
}

.num {
  font-family: var(--serif);
  font-style: italic;
  color: var(--clay);
  font-size: 1.15rem;
  letter-spacing: 0.04em;
  margin: 0;
}

.steps {
  display: grid;
  gap: 1.25rem;
}

.steps article {
  padding: 1.35rem 0 0.4rem;
  border-top: 1px solid var(--line);
  display: grid;
  gap: 0.7rem;
  height: 100%;
}

.studio {
  background: var(--night);
  color: var(--on-night);
  padding: clamp(4.5rem, 9vw, 7.75rem) 0;
}

.section-head-light {
  border-bottom-color: rgba(244, 239, 230, 0.18);
}

.section-head-light .section-intro p {
  color: var(--on-night-muted);
}

.studio-grid {
  display: grid;
  gap: 2rem;
}

.place-kicker {
  color: #e7b59a;
  margin-bottom: 1rem;
}

.place {
  display: grid;
  gap: 0.15rem;
  font-family: var(--serif);
  font-weight: 520;
  font-size: clamp(2.1rem, 4.2vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.coords {
  margin-top: 1.25rem;
  color: var(--on-night-muted);
}

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

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.7rem 1.15rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  background: transparent;
  transition: background 0.2s var(--ease), color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.btn-light {
  background: var(--on-night);
  color: var(--night);
}

.btn-light:hover {
  background: #e7b59a;
}

.btn-line {
  border-color: rgba(244, 239, 230, 0.45);
  color: var(--on-night);
}

.btn-line:hover {
  border-color: var(--on-night);
  background: rgba(244, 239, 230, 0.06);
}

.copy-status {
  min-height: 1.5rem;
  margin-top: 0.75rem;
  color: #e7b59a;
  font-size: 0.95rem;
}

.map-frame {
  margin: 0;
  background: var(--night-2);
  border: 1px solid rgba(244, 239, 230, 0.16);
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: 440px;
  min-height: 440px;
  border: 0;
  flex: 0 0 auto;
  background: #d9d3c8;
}

.map-frame figcaption {
  padding: 0.85rem 1rem 1rem;
  color: var(--on-night-muted);
  font-size: 0.92rem;
}

.site-footer {
  background: var(--paper);
  padding-top: clamp(3rem, 6vw, 4.5rem);
}

.footer-top {
  display: grid;
  gap: 1.75rem;
  padding-bottom: 2.5rem;
}

.footer-name {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
}

.footer-line,
.footer-address,
.footer-legal {
  color: var(--muted);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 1.25rem;
}

.footer-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.footer-nav a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.footer-mark {
  display: grid;
  border-top: 1px solid var(--line);
  padding-top: 1rem;
  font-family: var(--serif);
  font-weight: 560;
  font-size: clamp(4.6rem, 16vw, 11rem);
  line-height: 0.78;
  letter-spacing: -0.055em;
}

.footer-mark span:last-child {
  font-style: italic;
  font-weight: 520;
  padding-left: 0.18em;
}

.footer-legal {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1.25rem 0 1.75rem;
  font-size: 0.92rem;
}

.js .reveal {
  opacity: 0;
  transform: translateY(16px);
  animation: rise 0.8s var(--ease) forwards;
}

.js .service-list .reveal:nth-child(2) { animation-delay: 0.08s; }
.js .service-list .reveal:nth-child(3) { animation-delay: 0.16s; }
.js .service-list .reveal:nth-child(4) { animation-delay: 0.24s; }
.js .steps .reveal:nth-child(2) { animation-delay: 0.08s; }
.js .steps .reveal:nth-child(3) { animation-delay: 0.16s; }
.js .steps .reveal:nth-child(4) { animation-delay: 0.24s; }

@keyframes rise {
  to {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 760px) {
  .wrap {
    width: min(1120px, calc(100% - 4.5rem));
  }

  .service {
    grid-template-columns: 4.5rem minmax(9rem, 0.7fr) 1.4fr;
    gap: 1.5rem;
    align-items: baseline;
    padding: 2rem 0;
  }

  .steps {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem 2.5rem;
  }
}

@media (min-width: 980px) {
  .hero-grid,
  .statement-grid,
  .section-head,
  .studio-grid,
  .footer-top {
    grid-template-columns: 0.9fr 1.2fr;
    gap: 4rem;
    align-items: start;
  }

  .hero-grid {
    grid-template-columns: 1.35fr 0.9fr;
    align-items: start;
    gap: 4.5rem;
  }

  .statement-grid {
    grid-template-columns: 1.4fr 0.7fr;
    align-items: end;
  }

  .section-head {
    grid-template-columns: 0.7fr 1.3fr;
    align-items: end;
  }

  .studio-grid {
    grid-template-columns: 0.82fr 1.18fr;
    align-items: stretch;
    gap: 3rem;
  }

  .map-frame iframe {
    height: 100%;
    min-height: 480px;
  }

  .footer-top {
    grid-template-columns: 1.2fr 1fr auto;
    align-items: start;
  }
}

@media (max-width: 759px) {
  .nav-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    position: fixed;
    inset: var(--header) 0 0 0;
    background: var(--paper);
    display: none;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.25rem;
    padding: 1.5rem 1.25rem 2.5rem;
    z-index: 25;
  }

  .site-nav.is-open {
    display: flex;
    z-index: 25;
  }

  .site-nav a {
    font-family: var(--serif);
    font-size: clamp(2.4rem, 12vw, 3.4rem);
    line-height: 1.05;
    letter-spacing: -0.04em;
    width: 100%;
    border-bottom: 1px solid var(--line);
    padding: 0.55rem 0;
  }
}

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

  .js .reveal,
  .js .service-list .reveal,
  .js .steps .reveal {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .btn {
    transition: none;
  }
}

@media print {
  .site-header,
  .nav-toggle,
  .place-actions,
  .map-frame,
  .skip {
    display: none;
  }

  body,
  .statement,
  .studio {
    background: white;
    color: black;
  }

  .section-intro p,
  .service p:last-child,
  .steps article p:last-child,
  .lede {
    color: black;
  }
}
