:root {
  --paper: #FAF8F3;
  --shelf: #EEEAE0;
  --ink: #14213D;
  --deep: #1F4E79;
  --quiet: #7A8299;
  --line: rgba(20, 33, 61, .14);
  --light: #FAF8F3;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Literata, "Iowan Old Style", "Palatino Linotype", Palatino, serif;
  font-size: 17.5px;
  font-weight: 400;
  line-height: 1.65;
}

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

a {
  color: var(--deep);
  text-underline-offset: 0.18em;
}

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

h1, h2, h3, h4 {
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.15;
  margin: 0 0 0.7em;
}

h1 {
  font-size: clamp(2.1rem, 1.3rem + 2.8vw, 3.4rem);
}

h2 {
  font-size: clamp(1.55rem, 1.1rem + 1.6vw, 2.25rem);
}

h3 {
  font-size: 1.18rem;
  font-weight: 600;
}

p {
  margin: 0 0 1em;
}

p:last-child {
  margin-bottom: 0;
}

button,
input,
select,
textarea {
  font: inherit;
}

:focus-visible {
  outline: 2px solid #1F4E79;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: 0.8rem;
  z-index: 80;
  padding: 0.7rem 1rem;
  background: var(--ink);
  color: var(--light);
  text-decoration: none;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
}

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

/* top bar */
.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(250, 248, 243, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.topbar-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  min-height: 64px;
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.brandmark {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: var(--ink);
  text-decoration: none;
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.02em;
  font-size: 1.02rem;
}

.brandmark svg {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.nav-toggle {
  display: none;
  margin-left: auto;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.9rem;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  cursor: pointer;
}

.topbar-nav {
  display: flex;
  align-items: center;
  gap: 1.15rem;
  margin-left: auto;
}

.nav-link {
  color: var(--ink);
  text-decoration: none;
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  padding: 0.55rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-bottom: 2px solid transparent;
}

.nav-link:hover {
  color: var(--deep);
}

.nav-link--on {
  color: var(--deep);
  border-bottom-color: var(--deep);
}

.nav-call {
  color: var(--ink);
  text-decoration: none;
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  white-space: nowrap;
  padding: 0.45rem 0;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}

.nav-call:hover {
  color: var(--deep);
}

/* page bands */
.page-band {
  padding: 4.2rem 0;
}

.page-band--shelf {
  background: var(--shelf);
}

.page-band--ink {
  background: var(--ink);
  color: var(--light);
}

.page-band--ink a {
  color: var(--light);
}

.band-inner {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
}

.page-band--tight {
  padding-top: 2.4rem;
}

/* opening split */
.duo {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: 3.2rem;
  align-items: center;
}

.duo--flip .duo-media {
  order: -1;
}

.duo-text .kicker {
  margin-bottom: 0.7rem;
}

.duo-media img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.kicker,
.figure-cap,
.note-entry__date,
.rate-table caption,
.timetable caption {
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--quiet);
}

.lede {
  font-size: 1.12rem;
  font-weight: 500;
}

.prose {
  max-width: 68ch;
}

.prose h2,
.prose h3 {
  margin-top: 1.4em;
}

.page-band--ink .kicker,
.page-band--ink .figure-cap {
  color: #C5CDD8;
}

.figure-frame {
  margin: 0;
}

.figure-cap {
  display: block;
  margin-top: 0.65rem;
}

/* buttons */
.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin: 1.4rem 0 1rem;
}

.pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  text-decoration: none;
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  cursor: pointer;
  line-height: 1.2;
}

.pill--ink {
  background: var(--ink);
  color: #FAF8F3;
}

.pill--ink:hover {
  background: #0c1629;
  color: #FAF8F3;
}

.pill--light {
  background: var(--shelf);
  color: var(--ink);
  border-color: var(--line);
}

.pill--light:hover {
  background: #e2ddd0;
  color: var(--ink);
}

.pill--accent {
  background: var(--deep);
  color: #FAF8F3;
}

.pill--accent:hover {
  background: #16385a;
  color: #FAF8F3;
}

.page-band--ink .pill--light {
  background: #FAF8F3;
  color: var(--ink);
}

.mini-strip {
  color: var(--quiet);
  font-size: 0.95rem;
}

/* cards */
.card-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.1rem;
}

.offer-card {
  background: var(--shelf);
  padding: 1.35rem 1.3rem 1.4rem;
  border-radius: 6px;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.offer-card h3 {
  margin: 0;
}

.offer-card__price {
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.offer-card__meta {
  color: var(--quiet);
  font-size: 0.92rem;
}

.offer-card .pill {
  align-self: flex-start;
  margin-top: auto;
}

.card-row .offer-card:nth-child(2) {
  background: var(--ink);
  color: var(--light);
  border-color: var(--ink);
}

.card-row .offer-card:nth-child(2) .offer-card__meta,
.card-row .offer-card:nth-child(2) .kicker {
  color: #C5CDD8;
}

.card-row--plain .offer-card:nth-child(2) {
  background: var(--shelf);
  color: var(--ink);
  border-color: var(--line);
}

.card-row--plain .offer-card:nth-child(2) .offer-card__meta,
.card-row--plain .offer-card:nth-child(2) .kicker {
  color: var(--quiet);
}

/* tables */
.rate-table,
.timetable,
.hours-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
}

.rate-table caption,
.timetable caption {
  text-align: left;
  margin-bottom: 0.8rem;
}

.rate-table th,
.rate-table td,
.timetable th,
.timetable td,
.hours-table th,
.hours-table td {
  text-align: left;
  padding: 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.rate-table th,
.timetable th,
.hours-table th {
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--quiet);
}

.rate-note {
  margin-top: 0.85rem;
  color: var(--quiet);
  font-size: 0.95rem;
}

.timetable__day {
  white-space: nowrap;
}

.timetable__slot {
  font-variant-numeric: tabular-nums;
}

/* questions */
.ask-list {
  display: grid;
  gap: 0.7rem;
}

.ask-item {
  background: var(--shelf);
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 0.2rem 0.2rem;
}

.ask-item__q {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: flex;
  align-items: center;
  padding: 0.7rem 1rem;
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.ask-item__q::-webkit-details-marker {
  display: none;
}

.ask-item__a {
  padding: 0 1rem 1rem;
}

.more-link {
  margin-top: 1.2rem;
}

/* notes */
.note-entry {
  padding: 1.6rem 0;
  border-bottom: 1px solid var(--line);
}

.note-entry__date {
  margin-bottom: 0.55rem;
}

.note-stack {
  display: grid;
  gap: 0.4rem;
}

/* forms */
.joinform,
.deskform {
  display: grid;
  gap: 0.85rem;
}

.joinform__field,
.deskform label {
  display: grid;
  gap: 0.35rem;
}

.joinform label,
.deskform .lbl {
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 0.86rem;
  font-weight: 600;
}

.joinform input,
.joinform textarea,
.deskform input,
.deskform textarea,
.deskform select {
  width: 100%;
  min-height: 44px;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #FAF8F3;
  color: var(--ink);
}

.joinform textarea,
.deskform textarea {
  min-height: 120px;
  resize: vertical;
}

.joinform__consent,
.deskform .joinform__consent {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  font-size: 0.95rem;
}

.joinform__consent input,
.deskform .joinform__consent input {
  width: 20px;
  height: 20px;
  min-height: 20px;
  margin-top: 0.2rem;
  flex: 0 0 20px;
}

.flash {
  padding: 1.1rem 1.15rem;
  border-radius: 6px;
  margin-bottom: 1.2rem;
  border: 1px solid var(--line);
}

.flash--ok {
  background: var(--shelf);
}

.flash--err {
  background: #F7E8E8;
  border: 2px solid #8B2E2E;
}

.map-frame {
  width: 100%;
  height: 420px;
  border: 0;
  border-radius: 4px;
}

/* footer */
.footsheet {
  background: var(--ink);
  color: #FAF8F3;
  padding: 3.6rem 0 1.6rem;
}

.footsheet a {
  color: #FAF8F3;
}

.footsheet__grid {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.85fr 0.65fr 0.7fr;
  gap: 2rem 1.6rem;
}

.footsheet h2,
.footsheet h3 {
  color: #FAF8F3;
}

.footsheet .hours-table {
  background: transparent;
}

.footsheet .hours-table caption {
  caption-side: top;
  text-align: left;
  margin-bottom: 0.8rem;
  color: #FAF8F3;
  font-family: Onest, "Avenir Next", "Segoe UI", sans-serif;
  font-size: 1.18rem;
  font-weight: 600;
}

.footsheet .hours-table th,
.footsheet .hours-table td {
  color: #FAF8F3;
  border-bottom-color: rgba(250, 248, 243, 0.16);
}

.footsheet .hours-table th {
  color: #C5CDD8;
}

.foot-nav {
  display: grid;
  gap: 0.45rem;
}

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

.legal-row {
  width: min(1180px, calc(100% - 2.4rem));
  margin: 2.2rem auto 0;
  padding-top: 1.3rem;
  border-top: 1px solid rgba(250, 248, 243, 0.16);
  color: #C5CDD8;
  font-size: 0.92rem;
}

.legal-row__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-bottom: 0.7rem;
}

.legal-row__links a {
  color: #FAF8F3;
}

/* cookie bar */
.cookiebar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: var(--shelf);
  color: var(--ink);
  border-top: 1px solid var(--line);
  padding: 0.95rem 1.2rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
}

.cookiebar[hidden] {
  display: none;
}

.cookiebar__text {
  margin: 0;
  max-width: 62ch;
}

.cookiebar__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

/* motion */
.lift-in {
  opacity: 1;
  transform: none;
  transition: opacity .5s ease, transform .5s ease;
}

html.js .lift-in {
  opacity: 0;
  transform: translateY(14px);
}

html.js .lift-in.is-up {
  opacity: 1;
  transform: none;
}

.no-js .lift-in {
  opacity: 1 !important;
  transform: none !important;
}

@media (prefers-reduced-motion: reduce) {
  .lift-in {
    opacity: 1 !important;
    transform: none !important;
    transition: none;
  }
}

.band-head {
  margin-bottom: 1.6rem;
  max-width: 68ch;
}

.tight-gap {
  display: grid;
  gap: 1.5rem;
}

.equip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 2rem;
  padding-left: 1.15rem;
}

.cta-copy {
  max-width: 46ch;
}

/* small screens */
@media (max-width: 980px) {
  .nav-call {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar {
    position: sticky;
  }

  .topbar-inner {
    flex-wrap: wrap;
    min-height: 58px;
  }

  .topbar-nav {
    display: none;
    width: 100%;
    margin: 0;
    padding: 0.4rem 0 0.9rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border-top: 1px solid var(--line);
  }

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

  .nav-link {
    min-height: 44px;
    display: flex;
    align-items: center;
  }

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

@media (max-width: 880px) {
  .duo {
    grid-template-columns: 1fr;
    gap: 1.6rem;
  }

  .duo--flip .duo-media {
    order: 0;
  }

  .page-studio .duo .duo-media {
    order: -1;
  }

  .page-band {
    padding: 3rem 0;
  }
}

@media (max-width: 640px) {
  .card-row,
  .equip-grid,
  .footsheet__grid {
    grid-template-columns: 1fr;
  }

  body {
    font-size: 17px;
  }
}
