/* =========================================================================
   Hybrid Heights - public stylesheet
   -------------------------------------------------------------------------
   A printed programme inspired design: warm paper, hairline rules, oversized
   serif type, numbered venue bands and one accent colour per venue.
   Sections are ordered the same way as the markup on the pages.
   ========================================================================= */

/* -------------------------------------------------------------------------
   1. Design tokens and reset
   ---------------------------------------------------------------------- */
:root {
  --paper: #f2ece1;
  --paper-soft: #e9e0cf;
  --paper-deep: #ded2ba;
  --ink: #17140f;
  --ink-soft: #4f483d;
  --ink-mute: #7d7365;
  --cream: #f7f2e8;
  --line: rgba(23, 20, 15, 0.16);
  --line-strong: rgba(23, 20, 15, 0.34);
  --accent: #c1462b;
  --font-display: "Fraunces", "Iowan Old Style", Georgia, "Times New Roman", serif;
  --font-text: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --frame: clamp(18px, 4vw, 56px);
  --gutter: max(var(--frame), calc((100vw - 1500px) / 2));
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background-color: var(--paper);
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 1rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* Very light paper grain, drawn with gradients so it costs no requests. */
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.5), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(193, 70, 43, 0.05), transparent 46%);
  background-attachment: fixed;
}

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

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

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

h1,
h2,
h3,
p,
ul,
ol,
figure,
address,
dl,
dd {
  margin: 0;
}

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

.skip-link {
  position: absolute;
  left: 16px;
  top: -80px;
  z-index: 100;
  padding: 12px 18px;
  background: var(--ink);
  color: var(--paper);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 16px;
}

/* -------------------------------------------------------------------------
   2. Masthead and navigation
   ---------------------------------------------------------------------- */
.site-head {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(242, 236, 225, 0.9);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}

.site-head.is-stuck {
  border-bottom-color: var(--line);
  background: rgba(242, 236, 225, 0.97);
}

.head-inner {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 14px var(--gutter);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  color: inherit;
  text-decoration: none;
}

.brand-logo {
  display: block;
  width: auto;
  height: 40px;
}

.brand-name {
  font-family: var(--font-display);
  font-size: 1.14rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  list-style: none;
  padding: 0;
}

.nav-link {
  position: relative;
  display: inline-block;
  padding: 6px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

/* Hovered and current links take the accent colour, so the active page and
   the pointer target are both easy to spot. */
.nav-link:hover,
.nav-link[aria-current="page"] {
  color: var(--accent);
}

.nav-link:hover::after,
.nav-link[aria-current="page"]::after,
.nav-drop.is-open .nav-link::after {
  transform: scaleX(1);
}

.nav-plus {
  display: inline-block;
  margin-left: 4px;
  color: var(--accent);
  transition: transform 0.3s var(--ease);
}

.nav-drop.is-open .nav-plus {
  transform: rotate(45deg);
}

.nav-cta {
  display: inline-block;
  padding: 11px 18px;
  border: 1px solid var(--ink);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.3s ease, color 0.3s ease;
}

.nav-cta:hover {
  background: var(--ink);
  color: var(--paper);
}

/* Venue dropdown on wide screens */
.nav-drop {
  position: relative;
}

.nav-drop-panel {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  width: 340px;
  padding: 20px;
  translate: -50% 0;
  background: var(--paper);
  border: 1px solid var(--line-strong);
  box-shadow: 0 28px 60px rgba(23, 20, 15, 0.14);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s var(--ease), visibility 0.25s;
}

.nav-drop.is-open .nav-drop-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-drop-label {
  margin-bottom: 12px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.nav-drop-panel ul {
  list-style: none;
  padding: 0;
}

.nav-drop-panel a {
  display: flex;
  gap: 14px;
  padding: 10px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1rem;
  transition: padding 0.25s var(--ease), color 0.25s;
}

.nav-drop-panel li:last-child a {
  border-bottom: 0;
}

.nav-drop-panel a:hover {
  padding-left: 12px;
  color: var(--accent);
}

.nav-num {
  font-family: var(--font-text);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding-top: 6px;
}

.nav-name {
  line-height: 1.25;
}

/* The drawer scrim and drawer heading only exist on small screens */
.drawer-scrim,
.drawer-head {
  display: none;
}

/* Menu button, mobile only */
.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--ink);
  font-family: var(--font-text);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  cursor: pointer;
}

.menu-btn-bars {
  display: grid;
  gap: 5px;
  width: 22px;
}

.menu-btn-bars i {
  display: block;
  height: 1px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.menu-btn-bars i:nth-child(2) {
  width: 70%;
}

.menu-btn[aria-expanded="true"] .menu-btn-bars i:nth-child(2) {
  opacity: 0;
}

.menu-btn[aria-expanded="true"] .menu-btn-bars i:first-child {
  transform: translateY(3px) rotate(45deg);
}

.menu-btn[aria-expanded="true"] .menu-btn-bars i:last-child {
  transform: translateY(-3px) rotate(-45deg);
}

/* -------------------------------------------------------------------------
   3. Shared type blocks, buttons and labels
   ---------------------------------------------------------------------- */
.kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.kicker-rule {
  display: inline-block;
  width: 40px;
  height: 1px;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 16px 24px;
  border: 1px solid var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.btn-solid {
  background: var(--ink);
  color: var(--paper);
}

.btn-solid:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.btn-light {
  border-color: rgba(247, 242, 232, 0.6);
  color: var(--cream);
}

.btn-light:hover {
  background: var(--cream);
  border-color: var(--cream);
  color: var(--ink);
}

.btn-arrow {
  transition: transform 0.3s var(--ease);
}

.btn:hover .btn-arrow {
  transform: translateX(5px);
}

.link-quiet {
  display: inline-block;
  padding-bottom: 3px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
}

.link-quiet:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.link-light {
  color: var(--cream);
  border-color: rgba(247, 242, 232, 0.4);
}

.link-light:hover {
  color: #fff;
  border-color: var(--accent);
}

/* -------------------------------------------------------------------------
   4. Home: hero
   ---------------------------------------------------------------------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr);
  gap: clamp(28px, 5vw, 80px);
  align-items: start;
  padding: clamp(34px, 6vw, 78px) var(--gutter) clamp(30px, 4vw, 56px);
}

.hero-copy {
  padding-top: clamp(0px, 2vw, 22px);
}

.hero-title {
  margin: 0.24em 0 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 8.4vw, 7.4rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.045em;
  text-wrap: balance;
}

.hero-title em {
  font-style: italic;
  font-weight: 400;
  color: var(--accent);
}

.hero-lede {
  max-width: 54ch;
  margin-top: 1.7em;
  color: var(--ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.72;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: clamp(14px, 2vw, 26px);
  margin-top: clamp(24px, 3vw, 38px);
}

.hero-plate {
  position: relative;
}

/* The photo frame is a slider: the photos sit on top of each other and fade. */
.hero-slides {
  position: relative;
  aspect-ratio: 9 / 10;
  overflow: hidden;
  background: var(--paper-deep);
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  filter: saturate(0.92) contrast(1.02);
}

.hero-slide.is-active {
  opacity: 1;
}

.hero-plate::after {
  content: "";
  position: absolute;
  inset: 14px 14px auto auto;
  width: 74px;
  height: 74px;
  border-top: 1px solid rgba(247, 242, 232, 0.85);
  border-right: 1px solid rgba(247, 242, 232, 0.85);
  pointer-events: none;
}

.hero-caption {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  margin-top: 10px;
  font-size: 0.68rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.hero-count {
  flex: none;
  font-variant-numeric: tabular-nums;
}

.hero-controls {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}

.hero-arrow {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid var(--line-strong);
  background: none;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.hero-arrow:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto;
  padding: 0 6px;
}

.hero-dot {
  width: 28px;
  height: 2px;
  padding: 0;
  border: 0;
  background: var(--line-strong);
  cursor: pointer;
  transition: background 0.3s ease, height 0.3s ease;
}

.hero-dot:hover {
  background: var(--ink);
}

.hero-dot.is-active {
  height: 4px;
  background: var(--accent);
}

/* -------------------------------------------------------------------------
   5. Home: venue index strip
   ---------------------------------------------------------------------- */
.venue-index {
  padding-inline: var(--gutter);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.venue-index-label {
  padding: 16px 0 0;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.venue-index-list {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  list-style: none;
  padding: 0;
  margin-top: 6px;
}

.venue-index-list li {
  border-left: 1px solid var(--line);
}

.venue-index-list li:first-child {
  border-left: 0;
}

.venue-index-list a {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  padding: 18px clamp(10px, 1.4vw, 22px) 22px;
  color: inherit;
  text-decoration: none;
  transition: background 0.3s ease;
}

.venue-index-list a:hover {
  background: var(--paper-soft);
}

.vi-name {
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.3vw, 1.14rem);
  line-height: 1.15;
  letter-spacing: -0.01em;
}

.vi-tag {
  font-size: 0.76rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------------------
   6. Home: scrolling venue band
   ---------------------------------------------------------------------- */
.marquee {
  overflow: hidden;
  padding: 13px 0;
  background: var(--ink);
  color: var(--paper);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: hh-marquee 46s linear infinite;
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding-right: 26px;
  font-family: var(--font-display);
  font-size: clamp(0.95rem, 1.4vw, 1.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee-star {
  color: var(--accent);
  font-size: 1.1em;
}

@keyframes hh-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* -------------------------------------------------------------------------
   7. Service tiles
   ---------------------------------------------------------------------- */
.services {
  padding: clamp(46px, 7vw, 96px) var(--gutter) 0;
}

.section-head {
  display: grid;
  gap: 16px;
  margin-bottom: clamp(26px, 4vw, 52px);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.6vw, 3.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.section-title em {
  font-style: italic;
  color: var(--accent);
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 26px);
}

/* Photo-led cards: the image carries the card, the words sit in its foot. */
.svc-card {
  position: relative;
  grid-column: span 2;
  display: block;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--ink);
  color: var(--paper);
  text-decoration: none;
}

/* With five services the second row centres under the first. */
.svc-card:nth-child(4) {
  grid-column: 2 / span 2;
}

.svc-card:nth-child(5) {
  grid-column: 4 / span 2;
}

.svc-card img,
.svc-card-initials {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.1s var(--ease), filter 0.6s ease;
}

.svc-card-initials {
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-size: clamp(3rem, 6vw, 5rem);
  color: var(--paper);
  background: var(--ink-soft);
}

.svc-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(18, 14, 10, 0.92) 0%,
    rgba(18, 14, 10, 0.58) 36%,
    rgba(18, 14, 10, 0.18) 64%,
    rgba(18, 14, 10, 0) 86%
  );
}

/* Hairline frame inside the photo. */
.svc-card::after {
  content: "";
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: border-color 0.5s ease;
  pointer-events: none;
}

.svc-card:hover img,
.svc-card:focus-visible img {
  transform: scale(1.055);
  filter: saturate(1);
}

.svc-card:hover::after,
.svc-card:focus-visible::after {
  border-color: rgba(255, 255, 255, 0.42);
}

.svc-mark {
  position: absolute;
  top: clamp(18px, 2vw, 26px);
  right: clamp(18px, 2vw, 26px);
  z-index: 1;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  font-size: 0.9rem;
  transition: background 0.4s ease, color 0.4s ease, border-color 0.4s ease, transform 0.5s var(--ease);
}

.svc-card:hover .svc-mark,
.svc-card:focus-visible .svc-mark {
  background: var(--paper);
  border-color: var(--paper);
  color: var(--ink);
  transform: translate(2px, -2px);
}

.svc-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: grid;
  gap: 6px;
  padding: clamp(20px, 2.4vw, 30px);
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.5);
}

.svc-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.95rem;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
}

.svc-name {
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 2.1vw, 1.9rem);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.03em;
  color: #fff;
  text-wrap: balance;
}

.svc-go {
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 6px;
  padding-bottom: 3px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.5);
  font-size: 0.64rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.45s ease, transform 0.45s var(--ease);
}

.svc-card:hover .svc-go,
.svc-card:focus-visible .svc-go {
  opacity: 1;
  transform: none;
}

/* Touch screens never hover, so the cue is always there. */
@media (hover: none) {
  .svc-go {
    opacity: 1;
    transform: none;
  }
}

.feature-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin-top: 6px;
}

.feature-list li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--ink-soft);
}

.feature-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  background: var(--accent);
}

.feature-list-lg li {
  padding-block: 10px 12px;
  padding-left: 22px;
  border-bottom: 1px solid var(--line);
  font-size: 0.94rem;
}

.feature-list-lg li:first-child {
  border-top: 1px solid var(--line);
}

.svc-go span {
  transition: transform 0.3s var(--ease);
}

.svc-card:hover .svc-go span {
  transform: translateX(5px);
}

/* -------------------------------------------------------------------------
   8. Specialties block
   ---------------------------------------------------------------------- */
.specialties {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(24px, 5vw, 72px);
  padding: clamp(44px, 6vw, 84px) var(--gutter);
  margin-top: clamp(46px, 6vw, 90px);
  background: var(--paper-soft);
  border-top: 1px solid var(--line);
}

.specialties-side {
  position: relative;
  padding-left: clamp(0px, 2.5vw, 46px);
}

.vertical-label {
  position: absolute;
  left: 0;
  top: 2px;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.specialties-title {
  margin-bottom: 18px;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.3rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.specialties-body {
  display: grid;
  gap: 20px;
  max-width: 68ch;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.78;
  color: var(--ink-soft);
}

.specialties-body .link-quiet {
  justify-self: start;
}

.dropcap::first-letter {
  float: left;
  padding: 0.04em 0.14em 0 0;
  font-family: var(--font-display);
  font-size: 4.1em;
  font-weight: 600;
  line-height: 0.76;
  color: var(--accent);
}

/* -------------------------------------------------------------------------
   9. Visit strip (dark)
   ---------------------------------------------------------------------- */
.visit {
  margin-top: clamp(46px, 6vw, 90px);
  padding: clamp(44px, 6vw, 84px) var(--gutter);
  background: var(--ink);
  color: var(--cream);
}

.visit-head {
  display: grid;
  gap: 16px;
  max-width: 62ch;
}

.visit-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 500;
  line-height: 0.96;
  letter-spacing: -0.035em;
}

.visit-note {
  color: rgba(247, 242, 232, 0.72);
}

.visit-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  margin-top: clamp(28px, 4vw, 48px);
  padding-top: 26px;
  border-top: 1px solid rgba(247, 242, 232, 0.2);
}

.visit-item dt {
  margin-bottom: 8px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.55);
}

.visit-item dd {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.12rem);
  line-height: 1.45;
}

.visit-item a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid rgba(247, 242, 232, 0.35);
}

.visit-item a:hover {
  color: #fff;
  border-color: var(--accent);
}

.visit-phones {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.visit-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: clamp(26px, 4vw, 44px);
}

/* -------------------------------------------------------------------------
   10. Footer
   ---------------------------------------------------------------------- */
.site-foot {
  padding: clamp(36px, 5vw, 66px) var(--gutter) 22px;
  border-top: 1px solid var(--line);
}

.foot-top {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 0.9fr) minmax(0, 1fr);
  gap: clamp(26px, 4vw, 56px);
}

.foot-logo {
  display: block;
  width: clamp(148px, 17vw, 205px);
  height: auto;
  margin-bottom: 18px;
}

.foot-tag {
  max-width: 36ch;
  margin-bottom: 18px;
  color: var(--ink-soft);
  font-size: 0.94rem;
}

.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
}

.social-row a {
  display: inline-block;
  padding: 8px 14px;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
}

.social-row a:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.foot-head {
  margin-bottom: 14px;
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.foot-list {
  display: grid;
  gap: 8px;
  list-style: none;
  padding: 0;
  font-size: 0.92rem;
}

.foot-list a {
  color: var(--ink);
  text-decoration: none;
}

.foot-list a:hover {
  color: var(--accent);
}

.foot-address {
  max-width: 34ch;
  margin-bottom: 10px;
  font-style: normal;
  line-height: 1.6;
  color: var(--ink-soft);
  font-size: 0.92rem;
}

.foot-contact {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 0.92rem;
}

.foot-contact a {
  color: var(--ink);
  text-decoration: none;
}

.foot-contact a:hover {
  color: var(--accent);
}

.foot-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-top: clamp(30px, 4vw, 46px);
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-size: 0.76rem;
  color: var(--ink-mute);
}

/* -------------------------------------------------------------------------
   16. Responsive: tablets
   ---------------------------------------------------------------------- */
@media (max-width: 1080px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
  }

  .venue-index-list {
    grid-template-columns: repeat(5, minmax(0, 1fr));
  }

  .vi-tag {
    display: none;
  }
}

@media (max-width: 980px) {
  /* Mobile navigation: a drawer that slides in from the left */
  .menu-btn {
    display: inline-flex;
  }

  body.nav-open {
    overflow: hidden;
  }

  .drawer-scrim {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 64;
    padding: 0;
    border: 0;
    background: rgba(23, 20, 15, 0.46);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s;
  }

  body.nav-open .drawer-scrim {
    opacity: 1;
    visibility: visible;
  }

  .site-nav {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 70;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    width: min(86vw, 372px);
    height: 100dvh;
    padding: 18px 24px 34px;
    overflow-y: auto;
    background: var(--paper);
    border-right: 1px solid var(--line);
    box-shadow: 24px 0 60px rgba(23, 20, 15, 0.18);
    transform: translateX(-102%);
    visibility: hidden;
    transition: transform 0.42s var(--ease), visibility 0.42s;
  }

  body.nav-open .site-nav {
    transform: translateX(0);
    visibility: visible;
  }

  .drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    width: 100%;
    margin-bottom: 8px;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--line);
  }

  .drawer-title {
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: -0.01em;
  }

  .drawer-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    border: 1px solid var(--line-strong);
    background: none;
    color: var(--ink);
    cursor: pointer;
  }

  .drawer-close-bars {
    position: relative;
    display: block;
    width: 16px;
    height: 16px;
  }

  .drawer-close-bars i {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 100%;
    height: 1px;
    background: currentColor;
  }

  .drawer-close-bars i:first-child {
    transform: rotate(45deg);
  }

  .drawer-close-bars i:last-child {
    transform: rotate(-45deg);
  }

  .nav-list {
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
  }

  .nav-list > li {
    width: 100%;
    border-bottom: 1px solid var(--line);
  }

  .nav-link {
    padding: 14px 0;
    font-family: var(--font-display);
    font-size: 1.32rem;
    font-weight: 500;
    letter-spacing: -0.015em;
    text-transform: none;
  }

  .nav-link::after {
    display: none;
  }

  .nav-drop {
    width: 100%;
  }

  .nav-drop-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
  }

  .nav-drop-panel {
    position: static;
    width: 100%;
    padding: 4px 0 14px;
    border: 0;
    box-shadow: none;
    background: transparent;
    translate: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }

  .nav-drop.is-open .nav-drop-panel {
    display: block;
  }

  .nav-drop-label {
    display: none;
  }

  .nav-drop-panel a {
    padding: 9px 0;
    font-size: 1rem;
    border-bottom: 0;
  }

  .nav-drop-panel a:hover {
    padding-left: 6px;
  }

  .nav-cta {
    margin-top: 14px;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 30px;
  }

  .hero-plate {
    order: -1;
    max-width: 520px;
  }

  .hero-slides {
    aspect-ratio: 4 / 3;
  }

  .venue-index-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .venue-index-list li:nth-child(odd) {
    border-left: 0;
  }

  .venue-index-list li {
    border-top: 1px solid var(--line);
  }

  .venue-index-list li:first-child,
  .venue-index-list li:nth-child(2) {
    border-top: 0;
  }

  .vi-tag {
    display: block;
  }

  .split,
  .venue-head,
  .venue-body,
  .specialties,
  .visit-grid,
  .foot-top,
  .contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .svc-card,
  .svc-card:nth-child(4) {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }

  /* The odd fifth card runs as a banner under the pairs. */
  .svc-card:nth-child(5) {
    grid-column: 1 / -1;
    aspect-ratio: 16 / 9;
  }

  .svc-go {
    opacity: 1;
    transform: none;
  }

  .venue-figure {
    order: -1;
  }

  .venue-figure img {
    aspect-ratio: 16 / 10;
  }

  .split-figure {
    order: -1;
  }

  .split-figure img {
    aspect-ratio: 16 / 10;
  }

  .specialties-side {
    padding-left: 0;
  }

  .vertical-label {
    display: none;
  }

  .visit-grid {
    gap: 24px;
  }

  .foot-top {
    gap: 34px;
  }

  .contact-figure img {
    max-height: none;
  }

  .pager {
    grid-template-columns: minmax(0, 1fr);
  }

  .pager-all {
    order: -1;
    padding-block: 14px;
  }

  .pager-next {
    justify-content: flex-start;
    text-align: left;
  }

  .venue-foot {
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
  }

  .lineup-item a {
    grid-template-columns: 44px minmax(0, 1fr) 28px;
    gap: 12px;
  }

  .lineup-tag {
    display: none;
  }

  .breadcrumb {
    padding-top: 14px;
  }
}

/* -------------------------------------------------------------------------
   17. Responsive: phones
   ---------------------------------------------------------------------- */
@media (max-width: 620px) {
  .head-inner {
    gap: 12px;
    padding-block: 12px;
  }

  .brand-name {
    font-size: 1rem;
  }

  .brand-logo {
    height: 34px;
  }

  .hero {
    padding-top: 24px;
  }

  .hero-title {
    font-size: clamp(2.6rem, 13vw, 3.6rem);
  }

  .hero-lede {
    margin-top: 1.25em;
  }

  .btn {
    padding: 14px 18px;
  }

  .hero-actions {
    gap: 16px;
  }

  .svc-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .svc-card,
  .svc-card:nth-child(4),
  .svc-card:nth-child(5) {
    grid-column: auto;
    aspect-ratio: 4 / 3;
  }

  .venue-index-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .venue-index-list li {
    border-left: 0;
  }

  .venue-index-list li:nth-child(2) {
    border-top: 1px solid var(--line);
  }

  .marquee {
    padding-block: 11px;
  }

  .specialties {
    padding-block: 34px;
  }

  .dropcap::first-letter {
    font-size: 3.2em;
  }

  .visit {
    padding-block: 40px;
  }

  .foot-bottom {
    justify-content: flex-start;
    gap: 10px;
  }

  .social-row a {
    padding: 7px 12px;
  }

  .contact-phones {
    font-size: 1.35rem;
  }

  .error-page .hero-actions {
    gap: 18px;
  }
}

/* -------------------------------------------------------------------------
   18. Reduced motion and print
   ---------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .marquee-track {
    animation: none;
  }
}

@media print {
  .site-head,
  .site-nav,
  .marquee,
  .visit-actions,
  .pager {
    display: none !important;
  }

  body {
    background: #fff;
    color: #000;
  }
}

/* -------------------------------------------------------------------------
   17. Dark theme
   Light is the default. These tokens flip the paper and ink colours and keep
   the dark strips dark, so the site reads well either way.
   ---------------------------------------------------------------------- */
html[data-theme="dark"] {
  --paper: #12100d;
  --paper-soft: #1b1814;
  --paper-deep: #26211b;
  --ink: #f2ece1;
  --ink-soft: #c8bfb1;
  --ink-mute: #988e80;
  --line: rgba(242, 236, 225, 0.16);
  --line-strong: rgba(242, 236, 225, 0.34);
}

html[data-theme="dark"] body {
  background-image:
    radial-gradient(circle at 18% 12%, rgba(255, 255, 255, 0.035), transparent 42%),
    radial-gradient(circle at 82% 78%, rgba(193, 70, 43, 0.09), transparent 46%);
}

html[data-theme="dark"] .site-head {
  background: rgba(18, 16, 13, 0.9);
}

html[data-theme="dark"] .site-head.is-stuck {
  background: rgba(18, 16, 13, 0.97);
}

/* The logo is black artwork, so flip it to cream on a dark page. */
html[data-theme="dark"] .brand-logo,
html[data-theme="dark"] .foot-logo {
  filter: invert(1);
}

html[data-theme="dark"] .visit {
  background: #1b1814;
}

/* Theme switch in the masthead */
.theme-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  margin-left: 4px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.theme-btn:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.theme-ico {
  display: block;
  width: 18px;
  height: 18px;
}

.theme-ico-sun {
  display: none;
}

html[data-theme="dark"] .theme-ico-moon {
  display: none;
}

html[data-theme="dark"] .theme-ico-sun {
  display: block;
}

/* Social icons replace the old text buttons. */
.social-row a.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 0;
  border: 1px solid var(--line-strong);
  color: var(--ink);
  text-decoration: none;
  transition: background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
}

.social-row a.social-link:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--paper);
}

.social-ico {
  display: block;
  width: 19px;
  height: 19px;
}

.social-row-icons {
  gap: 12px;
}

.social-row-icons a.social-link {
  width: 52px;
  height: 52px;
}

.social-row-icons .social-ico {
  width: 22px;
  height: 22px;
}

/* Back to top, fixed above the footer */
.to-top {
  position: fixed;
  right: clamp(14px, 3vw, 28px);
  bottom: clamp(14px, 3vw, 28px);
  z-index: 55;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(23, 20, 15, 0.18);
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  cursor: pointer;
  transition: opacity 0.3s ease, transform 0.3s var(--ease), visibility 0.3s, background 0.3s ease, color 0.3s ease;
}

.to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.to-top:hover {
  background: var(--ink);
  color: var(--paper);
}

.to-top svg {
  display: block;
  width: 20px;
  height: 20px;
}

/* -------------------------------------------------------------------------
   18. Inner pages: short banner
   Every page except the home page opens with one short band: a small label, a
   title and a line of text over the page photograph. No chapter numbers.
   ---------------------------------------------------------------------- */
.banner {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: var(--banner-height, clamp(230px, 26vw, 330px));
  padding: clamp(26px, 4vw, 54px) var(--gutter);
  overflow: hidden;
  background-color: #12100d;
  background-image: var(--banner-image, none);
  background-size: cover;
  background-position: var(--banner-position, center);
  color: #f7f2e8;
  isolation: isolate;
}

/* Keeps white text readable over any photo, and gives text only banners depth. */
.banner::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(100deg, rgba(13, 11, 9, 0.9) 0%, rgba(13, 11, 9, 0.66) 55%, rgba(13, 11, 9, 0.4) 100%);
}

.banner-center {
  align-items: center;
  min-height: clamp(320px, 44vh, 470px);
}

.banner-center .banner-inner {
  justify-items: center;
  max-width: 720px;
  margin-inline: auto;
  text-align: center;
}

.banner-center .banner-kicker {
  justify-content: center;
}

.banner-center .banner-title {
  max-width: 18ch;
}

.banner-inner {
  display: grid;
  gap: 10px;
  width: 100%;
  max-width: 940px;
}

.banner-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 0.64rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.8);
}

.banner-rule {
  display: inline-block;
  flex: none;
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.banner-title {
  max-width: 22ch;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.banner-title em {
  font-style: italic;
  font-weight: 400;
}

.banner-note {
  max-width: 66ch;
  font-size: 0.96rem;
  line-height: 1.65;
  color: rgba(247, 242, 232, 0.84);
}

.banner-caption {
  margin-top: 2px;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.58);
}

.banner-crumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-size: 0.64rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.72);
}

.banner-crumb a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.42);
}

.banner-crumb a:hover {
  border-color: #fff;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  margin-top: 8px;
}

.banner-actions .text-link {
  margin-top: 0;
  color: #f7f2e8;
  border-color: rgba(247, 242, 232, 0.5);
}

.banner-actions .text-link:hover {
  color: #fff;
  border-color: #fff;
}

/* A normal band of content under the banner. */
.page-band {
  padding: clamp(36px, 5vw, 74px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.page-band:last-of-type {
  border-bottom: 0;
}

.page-band-head {
  display: grid;
  gap: 12px;
  margin-bottom: clamp(22px, 3vw, 36px);
}

.page-band-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.6vw, 2.9rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.64rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-soft);
}

.eyebrow-rule {
  display: inline-block;
  flex: none;
  width: 38px;
  height: 1px;
  background: var(--accent);
}

.rich-text p {
  max-width: 68ch;
  margin-bottom: 1.1em;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

.rich-text p:last-child {
  margin-bottom: 0;
}

/* Small underline link used across the inner pages. */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  justify-self: start;
  margin-top: clamp(14px, 2vw, 20px);
  padding-bottom: 4px;
  border-bottom: 1px solid var(--line-strong);
  color: var(--ink);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.25s, border-color 0.25s;
}

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

.text-link span {
  transition: transform 0.3s var(--ease);
}

.text-link:hover span {
  transform: translateX(5px);
}

/* -------------------------------------------------------------------------
   19. About page
   ---------------------------------------------------------------------- */
.about-story {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: start;
}

.about-story-head .page-band-title {
  max-width: 12ch;
}

.about-story-body .rich-text p {
  max-width: 64ch;
}

.service-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 24px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-card {
  border: 1px solid var(--line);
  background: var(--paper);
}

.service-card a {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  color: inherit;
  text-decoration: none;
}

.service-card img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.service-card a:hover img {
  transform: scale(1.04);
}

.service-card-body {
  display: grid;
  gap: 7px;
  padding: clamp(15px, 2vw, 20px);
  background: var(--paper);
  border-top: 1px solid var(--line);
}

.service-card-name {
  font-family: var(--font-display);
  font-size: clamp(1.18rem, 1.8vw, 1.4rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.service-card-tag {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 0.92rem;
  line-height: 1.4;
  color: var(--ink-soft);
}

.service-card-go {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
}

.service-card-go span {
  transition: transform 0.3s var(--ease);
}

.service-card a:hover .service-card-go span {
  transform: translateX(4px);
}

.about-close {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  padding: clamp(36px, 5vw, 74px) var(--gutter);
  background: var(--paper-soft);
}

.about-close-body {
  display: grid;
  gap: 6px;
  max-width: 64ch;
  color: var(--ink-soft);
  font-size: 1rem;
  line-height: 1.85;
}

/* -------------------------------------------------------------------------
   20. Contact page
   ---------------------------------------------------------------------- */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
}

.contact-card {
  display: grid;
  gap: 10px;
  align-content: start;
  padding: clamp(18px, 2.4vw, 26px);
  border: 1px solid var(--line);
  background: var(--paper);
}

.fact-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.contact-address {
  max-width: 26ch;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.6vw, 1.3rem);
  font-style: normal;
  line-height: 1.45;
}

.contact-phones {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
  font-family: var(--font-display);
  font-size: clamp(1.05rem, 1.7vw, 1.35rem);
  line-height: 1.3;
}

.contact-phones a,
.contact-mail a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
}

.contact-phones a:hover,
.contact-mail a:hover {
  color: var(--accent);
  border-color: var(--accent);
}

.contact-mail {
  font-size: 0.92rem;
}

.contact-form-band {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(26px, 4vw, 62px);
  align-items: start;
  padding: clamp(36px, 5vw, 72px) var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

/* Keeps a success or error note away from the form below it. */
.contact-form-body {
  display: grid;
  gap: 16px;
  align-content: start;
}

.contact-form-title {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

.contact-form-note {
  max-width: 46ch;
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

.site-form {
  display: grid;
  gap: 16px;
}

.form-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.site-form .field {
  display: grid;
  gap: 7px;
}

.site-form .field-label {
  font-size: 0.64rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.site-form input,
.site-form textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid var(--line-strong);
  border-radius: 0;
  background: var(--paper);
  color: var(--ink);
  font: inherit;
  font-size: 0.95rem;
}

.site-form input:focus,
.site-form textarea:focus {
  outline: none;
  border-color: var(--ink);
}

.site-form textarea {
  min-height: 150px;
  resize: vertical;
}

.form-trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.hh-captcha {
  margin: 2px 0 4px;
}

.form-submit {
  justify-self: start;
  border: 0;
  cursor: pointer;
}

.form-note {
  padding: 14px 16px;
  border: 1px solid var(--line-strong);
  font-size: 0.9rem;
}

.form-note ul {
  margin: 0;
  padding-left: 18px;
}

.form-note li + li {
  margin-top: 4px;
}

.form-note-ok {
  border-left: 3px solid #2f6b3f;
  background: rgba(47, 107, 63, 0.1);
}

.form-note-error {
  border-left: 3px solid var(--accent);
  background: rgba(193, 70, 43, 0.08);
}

.map-band {
  padding: clamp(36px, 5vw, 70px) var(--gutter);
}

.map-head {
  display: grid;
  gap: 10px;
  margin-bottom: clamp(18px, 3vw, 30px);
}

.map-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.4vw, 2.7rem);
  font-weight: 500;
  line-height: 1;
  letter-spacing: -0.035em;
}

.map-note {
  max-width: 56ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

.map-frame {
  border: 1px solid var(--line-strong);
  background: var(--paper-soft);
}

.map-frame iframe {
  display: block;
  width: 100%;
  height: clamp(320px, 48vw, 480px);
  border: 0;
}

/* -------------------------------------------------------------------------
   21. Single service page
   ---------------------------------------------------------------------- */
.service-body {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  gap: clamp(26px, 4.4vw, 64px);
  align-items: start;
  padding: clamp(34px, 4.6vw, 66px) var(--gutter);
  border-bottom: 1px solid var(--line);
}

.service-story p,
.service-story p:first-child {
  max-width: 62ch;
  margin-bottom: 1.1em;
  color: var(--ink-soft);
  font-family: var(--font-text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: normal;
}

.service-story p:last-child {
  margin-bottom: 0;
}

.service-facts-title {
  margin-bottom: 14px;
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
  font-weight: 500;
  letter-spacing: -0.02em;
}

.service-facts-list {
  display: grid;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-facts-list li {
  position: relative;
  padding: 12px 0 12px 20px;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.6;
}

.service-facts-list li:last-child {
  border-bottom: 1px solid var(--line);
}

.service-facts-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 1.4em;
  width: 6px;
  height: 6px;
  background: var(--accent);
}

/* Closing row that sends people to the service's own website. */
.service-visit {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 32px;
  padding: clamp(20px, 2.8vw, 30px) var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper-soft);
}

.service-visit-label {
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.service-visit-text {
  margin-top: 6px;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

.service-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 10px 24px;
  padding: clamp(22px, 3vw, 34px) var(--gutter) clamp(34px, 5vw, 60px);
}

.service-foot-label {
  min-width: 70px;
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

.service-foot-address {
  max-width: 62ch;
  color: var(--ink-soft);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* -------------------------------------------------------------------------
   22. Gallery page
   Four square photos per row on a wide screen. Nothing is printed under a
   photo: clicking one opens the slideshow, where the caption is shown.
   ---------------------------------------------------------------------- */
.gallery-band {
  padding: clamp(24px, 3.6vw, 48px) var(--gutter) clamp(50px, 7vw, 90px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
  margin: 0;
  padding: 0;
  list-style: none;
}

.gallery-cell {
  min-width: 0;
}

.gallery-card {
  display: block;
  overflow: hidden;
  background: var(--paper-soft);
}

.gallery-card img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.gallery-card:hover img {
  transform: scale(1.05);
}

.gallery-empty {
  max-width: 46ch;
  padding: clamp(28px, 5vw, 50px);
  border: 1px solid var(--line-strong);
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--ink-soft);
}

/* -------------------------------------------------------------------------
   23. Photo slideshow
   The dialog is a small viewer: one photo, previous and next arrows, the
   caption and a count. Arrow keys work as well.
   ---------------------------------------------------------------------- */
.lightbox {
  position: relative;
  width: min(1180px, 96vw);
  max-width: none;
  padding: 0;
  border: 1px solid rgba(247, 242, 232, 0.2);
  background: #0d0b09;
  color: #f7f2e8;
}

.lightbox::backdrop {
  background: rgba(8, 7, 6, 0.92);
}

.lightbox-stage {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) 54px;
  align-items: center;
  gap: 8px;
  padding: 10px;
}

.lightbox-img {
  display: block;
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  background: #0d0b09;
}

.lightbox-nav {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(247, 242, 232, 0.45);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.04);
  color: #f7f2e8;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease;
}

.lightbox-nav:hover {
  background: var(--accent);
  border-color: var(--accent);
}

.lightbox-nav[hidden] {
  display: none;
}

/* A single photo needs no arrow columns. */
.lightbox.is-single .lightbox-stage {
  grid-template-columns: minmax(0, 1fr);
}

.lightbox-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 8px 20px;
  padding: 2px 18px 16px;
}

.lightbox-cap {
  margin: 0;
  font-size: 0.85rem;
  color: rgba(247, 242, 232, 0.82);
}

.lightbox-count {
  margin: 0;
  font-size: 0.66rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(247, 242, 232, 0.6);
}

.lightbox-close {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid rgba(247, 242, 232, 0.5);
  border-radius: 50%;
  background: rgba(13, 11, 9, 0.66);
  color: #f7f2e8;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
}

.lightbox-close:hover {
  background: var(--accent);
  border-color: var(--accent);
}

/* -------------------------------------------------------------------------
   24. Inner pages: narrow screens
   ---------------------------------------------------------------------- */
@media (max-width: 1180px) {
  .gallery-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 980px) {
  .service-body {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .contact-form-band {
    grid-template-columns: minmax(0, 1fr);
  }

  .about-close {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 820px) {
  .about-story {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
  }

  .about-story-head .page-band-title {
    max-width: none;
  }

  .service-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .form-pair {
    grid-template-columns: minmax(0, 1fr);
  }

  /* Arrows sit over the photo where the screen is too narrow for columns */
  .lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
    position: relative;
    padding: 8px;
  }

  .lightbox-nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }
}

@media (max-width: 620px) {
  .banner {
    min-height: 210px;
  }

  .service-cards,
  .contact-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-form-band {
    padding: 30px var(--gutter);
  }

  .form-submit {
    width: 100%;
    justify-content: center;
  }

  .lightbox-img {
    max-height: 64vh;
  }
}
