:root {
  --ivory: #f3f3e4;
  --espresso: #25211d;
  --butter: #f0e6b8;
  --muted: rgba(37, 33, 29, 0.62);
  --line: rgba(37, 33, 29, 0.18);
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: "DM Sans", sans-serif;
  --script: "Caveat", cursive;
  /* City hero photo grade — override per page on .city-hero */
  --hero-saturate: 0.68;
  --hero-contrast: 0.8;
  --hero-brightness: 0.96;
  --hero-overlay-top: 0.14;
  --hero-overlay-bottom: 0.38;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  background: var(--ivory);
}

body {
  background: var(--ivory);
  color: var(--espresso);
  font-family: var(--body);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  width: 100%;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  -webkit-touch-callout: none;
}

.wrap {
  width: min(1180px, calc(100% - 48px));
  margin: 0 auto;
}

.site-nav {
  position: absolute;
  inset: 0 0 auto;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 16px 22px;
  color: var(--ivory);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.nav-logo {
  display: block;
  width: 92px;
  flex-shrink: 0;
}

.nav-logo img {
  width: 100%;
  height: auto;
  pointer-events: auto;
  /* Match homepage: brown mark reads white over photo heroes */
  filter: brightness(0) invert(1) drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55));
}

.nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 18px;
}

.legal-nav {
  position: relative;
  color: var(--espresso);
}

.legal-nav .nav-logo img {
  filter: none;
}

.city-hero {
  position: relative;
  min-height: 88svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--ivory);
}

.city-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* Desaturate and flatten so the photo does not overpower the CTA */
  filter: saturate(var(--hero-saturate)) contrast(var(--hero-contrast)) brightness(var(--hero-brightness));
}

.portrait-hero img {
  object-position: center 18%;
}

.city-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 17, 14, var(--hero-overlay-top)),
    rgba(20, 17, 14, var(--hero-overlay-bottom))
  );
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding-bottom: clamp(56px, 9vw, 108px);
  text-shadow: 0 2px 22px rgba(0, 0, 0, 0.4);
}

.city-hero .button {
  background: var(--ivory);
  color: var(--espresso);
  border-color: var(--ivory);
  text-shadow: none;
}

.eyebrow,
.section-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  font-family: var(--body);
  line-height: 1;
}

.intro-grid > div > p + p {
  margin-top: 18px;
}

.intro-grid > div > p:not(.lead):not(.section-kicker) {
  max-width: 62ch;
  font-size: 16px;
  line-height: 1.65;
  color: rgba(37, 33, 29, 0.78);
}

.intro-grid a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose {
  display: grid;
  gap: 16px;
  max-width: 68ch;
  margin-top: 36px;
  font-size: 16px;
  line-height: 1.65;
}

.prose p {
  color: rgba(37, 33, 29, 0.82);
}

h1 {
  max-width: 12ch;
  margin: 14px 0 20px;
  font-size: clamp(52px, 9vw, 112px);
  font-weight: 700;
  letter-spacing: -0.055em;
}

.hero-copy > p:last-of-type {
  max-width: 48ch;
  font-size: clamp(16px, 2vw, 20px);
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: 26px;
  padding: 0 22px;
  border: 1px solid currentColor;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.intro,
.locations,
.process,
.story {
  padding: clamp(72px, 10vw, 132px) 0;
}

.intro-grid,
.process-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(40px, 8vw, 120px);
}

h2 {
  max-width: 12ch;
  margin-top: 14px;
  font-size: clamp(38px, 5.8vw, 72px);
  font-weight: 600;
  letter-spacing: -0.045em;
}

/* Longer city headings wrap on 16ch instead of crowding to 12. */
.locations h2,
.process h2 {
  max-width: 16ch;
}

.lead {
  max-width: 56ch;
  font-size: clamp(18px, 2.2vw, 25px);
}

.details {
  display: grid;
  gap: 20px;
  margin-top: 36px;
}

.details h3,
.location-card h3,
.step h3 {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.details p,
.location-card p,
.step p,
.legal-copy p,
.legal-copy li {
  color: var(--muted);
}

.image-pair {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 12px;
  max-width: 760px;
}

.image-pair img {
  height: min(38vw, 360px);
  object-fit: cover;
  border-radius: 12px;
}

.image-pair img:last-child {
  margin-top: 8vw;
}

/* Style photos are ~500px. Stay 3-up so they never stretch full-bleed. */
.image-pair.image-trio {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  gap: 10px;
}

.image-pair.image-trio img {
  height: auto;
  aspect-ratio: 1 / 1;
  max-height: 240px;
  margin-top: 0;
}

.locations {
  background: var(--butter);
}

.card-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.card-grid.two-column {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.location-card,
.step {
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  padding: 28px;
}

.step h3 {
  margin-bottom: 16px;
}

.step .button {
  align-self: center;
  margin-top: auto;
}

.city-card {
  text-align: center;
}

.city-card h3 {
  margin-bottom: 0;
}

.city-card .step-number {
  margin: 8px 0 16px;
}

.city-card > p {
  flex-grow: 1;
}

.location-card img {
  aspect-ratio: 16 / 10;
  max-height: 180px;
  margin-bottom: 18px;
  object-fit: cover;
}

.step-number {
  display: block;
  margin-bottom: 48px;
  font-family: var(--script);
  font-size: 34px;
}

.session-card {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.session-card .session-time {
  font-family: var(--script);
  font-size: 26px;
}

.session-card ul {
  display: grid;
  gap: 10px;
  margin-left: 18px;
  color: var(--muted);
}

.session-card .button {
  align-self: flex-start;
  margin-top: auto;
}

.faq-list {
  display: grid;
  max-width: 860px;
  margin-top: 44px;
  border-top: 1px solid var(--line);
}

.faq-list details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}

.faq-list summary {
  cursor: pointer;
  font-size: 18px;
  font-weight: 700;
}

.faq-list details p {
  max-width: 66ch;
  margin-top: 12px;
  color: var(--muted);
}

.booking {
  padding: clamp(84px, 12vw, 160px) 24px;
  background: var(--espresso);
  color: var(--ivory);
  text-align: center;
}

.booking h2 {
  margin: 0 auto 20px;
}

.booking p {
  max-width: 48ch;
  margin: 0 auto;
}

footer {
  padding: clamp(56px, 8vw, 88px) 0 36px;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  flex: 1;
}

.footer-logo {
  display: block;
  width: min(110px, 28vw);
}

.footer-mark {
  display: block;
  width: 100%;
  height: auto;
  pointer-events: auto;
}

.footer-line {
  margin: 0;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
  white-space: nowrap;
}

.footer-copy {
  margin: 4px 0 0;
  font-size: 12px;
  color: var(--muted);
}

.footer-nav {
  display: flex;
  align-items: flex-start;
  gap: clamp(28px, 5vw, 72px);
}

.footer-social {
  display: flex;
  align-items: center;
  color: var(--espresso);
}

.footer-social svg {
  width: 22px;
  height: 22px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 88px;
  font-size: 14px;
  font-weight: 600;
}

.footer-line a:hover,
.footer-col a:hover,
.footer-social:hover {
  opacity: 0.7;
}

.legal-main {
  padding: 140px 0 96px;
}

.legal-main h1 {
  font-size: clamp(48px, 8vw, 100px);
}

.legal-copy {
  max-width: 760px;
  margin-top: 56px;
}

.legal-copy h2 {
  margin: 48px 0 16px;
  font-family: var(--body);
  font-size: 24px;
  letter-spacing: -0.02em;
  text-transform: none;
}

.legal-copy ul {
  margin: 12px 0 0 20px;
}

@media (max-width: 760px) {
  .city-hero {
    min-height: 68svh;
  }

  .wrap {
    width: min(100% - 32px, 1180px);
  }

  .site-nav {
    align-items: flex-start;
    padding: 14px 16px;
  }

  .nav-logo {
    width: 72px;
  }

  .nav-links {
    gap: 10px;
  }

  .intro-grid,
  .process-grid,
  .card-grid,
  .card-grid.two-column,
  .steps {
    grid-template-columns: 1fr;
  }

  .image-pair {
    grid-template-columns: 1fr 1fr;
    max-width: 100%;
  }

  .image-pair.image-trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .image-pair img {
    height: min(42vw, 200px);
  }

  .image-pair.image-trio img {
    height: auto;
    max-height: 140px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 36px;
  }

  .image-pair img:last-child {
    margin-top: 0;
  }

  .location-card img {
    max-height: 140px;
  }

  h1 {
    font-size: clamp(36px, 12vw, 64px);
  }

  h2 {
    font-size: clamp(28px, 8vw, 44px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
