:root {
  --paper: #fffdf8;
  --cream: #f6f1e8;
  --sand: #e9dfd0;
  --sage: #9aa38f;
  --olive: #4b5846;
  --olive-dark: #303a2d;
  --terracotta: #a96546;
  --ink: #1f241f;
  --ink-soft: #596058;
  --line: rgba(31, 36, 31, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 70px rgba(28, 32, 27, 0.12);
  --shadow-soft: 0 12px 40px rgba(28, 32, 27, 0.08);
  --radius: 28px;
  --radius-sm: 16px;
  --container: 1200px;
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

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

h1,
h2,
h3,
h4,
p,
ul,
ol,
blockquote,
figure {
  margin-top: 0;
}

h1,
h2,
h3,
h4 {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.025em;
}

h1 {
  font-size: clamp(3.5rem, 8vw, 7.4rem);
}

h2 {
  font-size: clamp(2.7rem, 5vw, 5.2rem);
}

h3 {
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
}

p {
  margin-bottom: 1.2rem;
}

.container {
  width: min(calc(100% - 40px), var(--container));
  margin-inline: auto;
}

.container--narrow {
  width: min(calc(100% - 40px), 860px);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 9999;
  transform: translateY(-160%);
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--ink);
  color: white;
  font-size: 0.82rem;
  font-weight: 700;
}

.skip-link:focus {
  transform: translateY(0);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 18px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: currentColor;
}

.lede {
  max-width: 760px;
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: clamp(1.55rem, 2.6vw, 2.25rem);
  line-height: 1.28;
}

.section-copy {
  max-width: 660px;
  color: var(--ink-soft);
  font-size: 1rem;
}

.section {
  padding: 110px 0;
}

.section--cream {
  background: var(--cream);
}

.section--olive {
  background: var(--olive-dark);
  color: white;
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  align-items: end;
  margin-bottom: 54px;
}

.section-head h2 {
  max-width: 760px;
  margin-bottom: 0;
}

.section-head .section-copy {
  max-width: 420px;
  margin-bottom: 4px;
}

.center {
  text-align: center;
}

.center .lede,
.center .section-copy {
  margin-inline: auto;
}

/* ============================================================
   ANNOUNCEMENT + HEADER
   ============================================================ */

.announcement {
  background: var(--olive-dark);
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.74rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.announcement .container {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  text-align: center;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(31, 36, 31, 0.08);
  background: rgba(255, 253, 248, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.header-row {
  min-height: 100px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
}

/* Transparent circular SBSQ logo. */
.brand-logo {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
  object-position: center;
  flex-shrink: 0;
  background: transparent;
  border: 0;
  border-radius: 50%;
  box-shadow: none;
}

.brand-name {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
}

.site-nav {
  justify-self: center;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -7px;
  width: 100%;
  height: 1px;
  background: var(--terracotta);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  justify-self: end;
}

.nav-toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

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

/* ============================================================
   BUTTONS + LINKS
   ============================================================ */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 12px 22px;
  border: 1px solid var(--olive-dark);
  border-radius: 999px;
  background: var(--olive-dark);
  color: white;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition:
    transform 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
  background: var(--terracotta);
  border-color: var(--terracotta);
}

.button--ghost {
  background: transparent;
  color: var(--ink);
}

.button--ghost:hover,
.button--ghost:focus-visible {
  color: white;
}

.button--light {
  background: white;
  color: var(--olive-dark);
  border-color: white;
}

.button--light:hover,
.button--light:focus-visible {
  color: white;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--olive-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.text-link::after {
  content: "→";
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.text-link:hover::after {
  transform: translateX(4px);
}

/* ============================================================
   IMAGE FIT HELPERS
   ============================================================ */

.fit-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.fit-contain {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  object-position: center !important;
}

.image-contain-bg {
  background: var(--paper);
}

/* ============================================================
   HOME HERO
   ============================================================ */

.hero {
  overflow: hidden;
  padding: 76px 0 92px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 64px;
  align-items: center;
}

.hero-copy h1 {
  max-width: 760px;
  margin-bottom: 24px;
}

.hero-copy h1 em {
  color: var(--terracotta);
  font-weight: 400;
}

.hero-copy .lede {
  max-width: 610px;
  margin-bottom: 0;
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 18px 26px;
  margin-top: 28px;
  color: var(--ink-soft);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.hero-proof span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof span::before {
  content: "•";
  color: var(--terracotta);
}

.hero-media {
  position: relative;
  min-height: 610px;
}

/* Single large group photo: no inset image. */
.hero-photo-main {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 150px 150px 28px 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}

.hero-photo-main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

/* ============================================================
   PROOF STRIP
   ============================================================ */

.proof-strip {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--cream);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.proof-item {
  padding: 28px 20px;
  text-align: center;
}

.proof-item + .proof-item {
  border-left: 1px solid var(--line);
}

.proof-number {
  display: block;
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
}

.proof-label {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   SPLIT / IMAGE FRAMES
   ============================================================ */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 82px;
  align-items: center;
}

.image-frame {
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.image-frame--portrait {
  aspect-ratio: 4 / 5;
}

.image-frame--landscape {
  aspect-ratio: 4 / 3;
}

.image-frame--arch {
  aspect-ratio: 4 / 5;
  border-radius: 160px 160px var(--radius) var(--radius);
}

.story-copy h2 {
  margin-bottom: 26px;
}

/* ============================================================
   ENSEMBLE CARDS WITH PHOTOS
   ============================================================ */

.ensemble-section > .container {
  display: block !important;
}

.ensemble-section .section-head,
.ensemble-section .card-grid {
  width: 100%;
  min-width: 0;
}

.ensemble-section .card-grid {
  clear: both;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.ensemble-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--paper);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.ensemble-card:hover {
  transform: translateY(-5px);
  border-color: rgba(169, 101, 70, 0.45);
  box-shadow: var(--shadow-soft);
}

.ensemble-card-photo {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: var(--cream);
  border-bottom: 1px solid var(--line);
}

.ensemble-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}

.ensemble-card-photo--solo img {
  object-fit: cover;
  object-position: center 25%;
}

.ensemble-card-body {
  padding: 26px 24px 28px;
}

.ensemble-card .number {
  display: block;
  margin-bottom: 34px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 1.8rem;
}

.ensemble-card h3 {
  margin-bottom: 12px;
}

.ensemble-card p {
  min-height: 92px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

/* ============================================================
   EVENT FLOW
   ============================================================ */

.event-flow {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: center;
}

.timeline {
  margin: 34px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: flow;
}

.timeline li {
  position: relative;
  padding: 0 0 28px 54px;
  color: var(--ink-soft);
}

.timeline li::before {
  counter-increment: flow;
  content: counter(flow, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--terracotta);
  font-family: var(--serif);
  font-size: 1.45rem;
}

.timeline li + li {
  border-top: 1px solid var(--line);
  padding-top: 28px;
}

.timeline li + li::before {
  top: 30px;
}

.timeline strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.85rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ============================================================
   QUOTES
   ============================================================ */

.quote-band {
  padding: 95px 0;
  background: var(--olive-dark);
  color: white;
}

.quote-wrap {
  max-width: 970px;
  margin: 0 auto;
  text-align: center;
}

.quote-mark {
  color: var(--sand);
  font-family: var(--serif);
  font-size: 5rem;
  line-height: 0.5;
}

.quote-wrap blockquote {
  margin: 18px auto 24px;
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 4rem);
  font-style: italic;
  line-height: 1.08;
}

.quote-wrap cite {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ============================================================
   VENUES + EXTERNAL LINKS
   ============================================================ */

.venue-cloud {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.venue-pill {
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink-soft);
  font-size: 0.76rem;
  font-weight: 600;
}

.featured-row,
.review-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 38px;
}

.featured-link,
.review-link {
  display: grid;
  place-items: center;
  min-height: 88px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: var(--serif);
  font-size: 1.3rem;
}

.featured-link:hover,
.review-link:hover {
  border-color: var(--terracotta);
  background: var(--cream);
}

/* ============================================================
   HOMEPAGE GALLERY — FILLED SCRAPBOOK LAYOUT
   ============================================================ */

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-template-rows: 240px 240px 240px;
  gap: 14px;
}

/* Base tile */
.gallery-item {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-width: 0;
  min-height: 0;
  border-radius: 18px;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

/*
  Desktop scrapbook arrangement.

  ROW 1–2:
  large wedding image | Ojai | wide Coral Casino ocean

  ROW 2:
  large wedding image | trio | Coral Casino quartet

  ROW 3:
  alpaca image | candlelight image | Coral Casino quartet
*/

.gallery-grid .gallery-item--1 {
  grid-column: 1 / 6;
  grid-row: 1 / 3;
}

.gallery-grid .gallery-item--2 {
  grid-column: 6 / 8;
  grid-row: 1;
}

.gallery-grid .gallery-item--3 {
  grid-column: 8 / 13;
  grid-row: 1;
}

.gallery-grid .gallery-item--4 {
  grid-column: 6 / 10;
  grid-row: 2;
}

.gallery-grid .gallery-item--5 {
  grid-column: 10 / 13;
  grid-row: 2 / 4;
}

.gallery-grid .gallery-item--6 {
  grid-column: 1 / 7;
  grid-row: 3;
}

.gallery-grid .gallery-item--7 {
  grid-column: 7 / 10;
  grid-row: 3;
}

/* Fill every tile — no cream letterboxing */
.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transition: transform 0.6s ease;
}

/*
  Fine-tune people-heavy photos so faces/instruments stay
  comfortably within the crop.
*/
.gallery-item--1 img {
  object-position: center 48%;
}

.gallery-item--2 img {
  object-position: center;
}

.gallery-item--3 img {
  object-position: center;
}

.gallery-item--4 img {
  object-position: center 45%;
}

.gallery-item--5 img {
  object-position: center;
}

.gallery-item--6 img {
  object-position: center 45%;
}

.gallery-item--7 img {
  object-position: center;
}

.gallery-item:hover img {
  transform: scale(1.02);
}


/* ============================================================
   TABLET GALLERY
   ============================================================ */

@media (max-width: 820px) {
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: 330px 250px 280px 280px;
    gap: 12px;
  }

  .gallery-grid .gallery-item--1 {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-grid .gallery-item--2 {
    grid-column: 1;
    grid-row: 2;
  }

  .gallery-grid .gallery-item--3 {
    grid-column: 2;
    grid-row: 2;
  }

  .gallery-grid .gallery-item--4 {
    grid-column: 1;
    grid-row: 3;
  }

  .gallery-grid .gallery-item--5 {
    grid-column: 2;
    grid-row: 3 / 5;
  }

  .gallery-grid .gallery-item--6 {
    grid-column: 1;
    grid-row: 4;
  }

  .gallery-grid .gallery-item--7 {
    grid-column: 1 / -1;
    grid-row: 5;
    min-height: 280px;
  }
}


/* ============================================================
   PHONE GALLERY
   ============================================================ */

@media (max-width: 580px) {
  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: none;
    gap: 12px;
  }

  .gallery-grid .gallery-item--1,
  .gallery-grid .gallery-item--2,
  .gallery-grid .gallery-item--3,
  .gallery-grid .gallery-item--4,
  .gallery-grid .gallery-item--5,
  .gallery-grid .gallery-item--6,
  .gallery-grid .gallery-item--7 {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    aspect-ratio: 4 / 3;
  }

  /* A little extra height for the larger ensemble photographs */
  .gallery-grid .gallery-item--1,
  .gallery-grid .gallery-item--5 {
    aspect-ratio: 5 / 4;
  }
}
/* ============================================================
   INTERIOR PAGE HERO
   ============================================================ */

.page-hero {
  padding: 88px 0 76px;
}

.page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr);
  gap: 68px;
  align-items: center;
}

.page-hero h1 {
  margin-bottom: 24px;
}

.page-hero h1 em {
  color: var(--terracotta);
  font-weight: 400;
}

.page-hero-media {
  position: relative;
  min-height: 520px;
}

.page-hero-media .image-frame {
  position: absolute;
  inset: 0 0 0 45px;
}

.page-hero-media .mini-image {
  position: absolute;
  left: 0;
  bottom: -20px;
  width: 40%;
  aspect-ratio: 1;
  overflow: hidden;
  border: 8px solid var(--paper);
  border-radius: 50%;
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.page-hero-media .mini-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.page-hero-media--single .image-frame {
  inset: 0;
}

.page-hero-media--single .image-frame img {
  object-fit: contain;
  object-position: center;
}

.page-hero-media--reviews .image-frame img,
.page-hero-media--reviews .mini-image img {
  object-fit: contain;
  object-position: center;
}

.page-hero-media--reviews .mini-image {
  border-radius: 20px;
}

/* ============================================================
   MUSICIAN BIOS
   ============================================================ */

.bio-list {
  display: grid;
  gap: 90px;
}

.bio-card {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(0, 1.22fr);
  gap: 62px;
  align-items: center;
}

.bio-photo {
  width: min(100%, 430px);
  aspect-ratio: 4 / 5;
  justify-self: center;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--cream);
  box-shadow: var(--shadow-soft);
}

.bio-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.bio-photo--anna img,
.bio-photo--jackie img {
  object-fit: contain;
  object-position: center;
  padding: 4px;
  background: var(--paper);
}

.bio-card:nth-child(even) .bio-photo {
  order: 2;
}

.bio-card:nth-child(even) .bio-copy {
  order: 1;
}

.bio-role {
  margin-bottom: 10px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.bio-copy h2 {
  margin-bottom: 24px;
  font-size: clamp(2.8rem, 5vw, 4.7rem);
}

.bio-copy p {
  color: var(--ink-soft);
}

/* ============================================================
   LISTEN / WATCH
   ============================================================ */

.video-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 34px 28px;
}

.video-entry {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 28px rgba(28, 32, 27, 0.05);
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.video-entry:hover {
  transform: translateY(-4px);
  border-color: rgba(169, 101, 70, 0.38);
  box-shadow: var(--shadow-soft);
}

.video-embed {
  position: relative;
  width: 100%;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: #111;
  border-bottom: 1px solid var(--line);
}

.video-embed iframe {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-meta {
  min-height: 132px;
  padding: 22px 24px 25px;
}

.video-meta h3 {
  margin: 0;
  font-size: clamp(1.7rem, 2.6vw, 2.25rem);
  line-height: 1.05;
}

.video-composer {
  margin-bottom: 9px;
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.4;
  text-transform: uppercase;
}

@media (max-width: 700px) {
  .video-list {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .video-meta {
    min-height: 0;
    padding: 19px 20px 22px;
  }

  .video-meta h3 {
    font-size: 1.8rem;
  }
}

/* ============================================================
   REVIEWS
   ============================================================ */

.rating-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 30px;
}

.rating-chip {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: white;
}

.rating-chip strong {
  display: block;
  font-family: var(--serif);
  font-size: 2rem;
  line-height: 1;
}

.rating-chip span {
  display: block;
  margin-top: 7px;
  color: var(--ink-soft);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.review-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.review-card {
  position: relative;
  min-height: 390px;
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.review-stars {
  color: var(--terracotta);
  letter-spacing: 0.12em;
}

.review-card blockquote {
  margin: 26px 0 70px;
  font-family: var(--serif);
  font-size: 1.55rem;
  font-style: italic;
  line-height: 1.35;
}

.review-card cite {
  position: absolute;
  left: 34px;
  bottom: 32px;
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

/* ============================================================
   CONTACT
   ============================================================ */

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 66px;
  align-items: start;
}

.contact-side {
  position: sticky;
  top: 145px;
}

.contact-side h2 {
  margin-bottom: 24px;
}

.contact-details {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.contact-details li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--ink-soft);
}

.contact-details strong {
  display: block;
  margin-bottom: 4px;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.contact-card {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: white;
  box-shadow: var(--shadow-soft);
}

.contact-card h3 {
  margin-bottom: 8px;
}

.form-intro {
  margin-bottom: 28px;
  color: var(--ink-soft);
  font-size: 0.9rem;
}

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

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

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.form-field legend {
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 1px solid rgba(31, 36, 31, 0.18);
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  outline: none;
}

.form-field input {
  min-height: 52px;
  padding: 0 14px;
}

.form-field textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

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

.check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 9px 11px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink-soft);
  font-size: 0.82rem;
}

.check-option input {
  width: auto;
  min-height: auto;
  accent-color: var(--olive-dark);
}

.honeypot {
  position: absolute !important;
  left: -9999px !important;
}

/* ============================================================
   FINAL CTA
   ============================================================ */

.site-cta {
  padding: 96px 0;
  background: var(--terracotta);
  color: white;
}

.site-cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: center;
}

.site-cta h2 {
  max-width: 800px;
  margin-bottom: 12px;
}

.site-cta p {
  max-width: 640px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.82);
}

/* ============================================================
   FOOTER
   ============================================================ */

.site-footer {
  padding: 74px 0 34px;
  background: #20261f;
  color: rgba(255, 255, 255, 0.72);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 0.7fr 0.8fr 1fr;
  gap: 42px;
}

.footer-logo-card {
  display: inline-block;
  width: min(100%, 250px);
  padding: 8px 12px;
  border-radius: 10px;
  background: var(--paper);
}

.footer-logo-original {
  width: 100%;
  height: auto;
  mix-blend-mode: multiply;
}

.footer-brand p {
  max-width: 380px;
  margin-top: 22px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.9rem;
}

.footer-title {
  margin-bottom: 18px;
  color: white;
  font-family: var(--sans);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.footer-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-list li + li {
  margin-top: 10px;
}

.footer-list a:hover {
  color: white;
}

.footer-email {
  display: inline-block;
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 64px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
}
/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1080px) {
  .brand-logo {
    width: 82px;
    height: 74px;
  }

  .brand-name {
    display: none;
  }

  .site-nav ul {
    gap: 20px;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .event-flow,
  .contact-layout {
    gap: 48px;
  }

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

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

  .review-card:last-child {
    grid-column: 1 / -1;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }

  .footer-grid > :last-child {
    grid-column: 2 / -1;
  }
}

@media (max-width: 820px) {
  .section {
    padding: 82px 0;
  }
/* ============================================================
   MOBILE STICKY HEADER
   Logo + brand name + Get a quote + hamburger
   ============================================================ */

@media (max-width: 820px) {
  .header-row {
    min-height: 74px;
    grid-template-columns: minmax(0, 1fr) auto auto;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 8px;
  }

  /* Brand occupies the flexible left side */
  .brand {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
  }

  /* Smaller logo leaves room for the full ensemble name */
  .brand-logo {
    width: 48px !important;
    height: 48px !important;
    flex: 0 0 48px;
    object-fit: contain;
    object-position: center;
  }

  /* Override desktop/tablet rule that previously hid the name */
  .brand-name {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    min-width: 0;
    max-width: 150px;

    font-family: var(--serif);
    font-size: 0.92rem;
    font-weight: 600;
    line-height: 0.95;
    letter-spacing: -0.015em;

    white-space: normal;
  }

  /* Keep CTA directly in the sticky bar */
  .header-cta {
    display: inline-flex !important;
    grid-column: 2;
    grid-row: 1;
    justify-self: end;

    min-height: 39px;
    padding: 8px 12px;

    font-size: 0.62rem;
    line-height: 1;
    letter-spacing: 0.055em;
    white-space: nowrap;
  }

  /* Hamburger occupies the far right */
  .nav-toggle-label {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;

    display: grid;
    width: 38px;
    height: 38px;
    place-content: center;
    gap: 5px;
    cursor: pointer;
  }

  .nav-toggle-label span,
  .nav-toggle-label::before,
  .nav-toggle-label::after {
    content: "";
    display: block;
    width: 21px;
    height: 1px;
    background: var(--ink);
  }

  /* Dropdown menu opens beneath the whole sticky-header row */
  .site-nav {
    display: none;
    grid-column: 1 / -1;
    grid-row: 2;
    justify-self: stretch;
    padding: 4px 0 18px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 11px 0;
  }

  .site-nav a::after {
    display: none;
  }
}


@media (max-width: 580px) {
  .header-row {
    min-height: 68px;
    gap: 6px;
  }

  .brand {
    gap: 6px;
  }

  .brand-logo {
    width: 42px !important;
    height: 42px !important;
    flex-basis: 42px;
  }

  .brand-name {
    display: block !important;
    max-width: 125px;
    font-size: 0.82rem;
    line-height: 0.92;
  }

  .header-cta {
    min-height: 37px;
    padding: 7px 10px;
    font-size: 0.58rem;
    letter-spacing: 0.04em;
  }

  .nav-toggle-label {
    width: 34px;
    height: 36px;
  }

  .nav-toggle-label span,
  .nav-toggle-label::before,
  .nav-toggle-label::after {
    width: 19px;
  }
}


@media (max-width: 390px) {
  .header-row {
    gap: 4px;
  }

  .brand {
    gap: 5px;
  }

  .brand-logo {
    width: 38px !important;
    height: 38px !important;
    flex-basis: 38px;
  }

  .brand-name {
    max-width: 105px;
    font-size: 0.74rem;
    line-height: 0.92;
  }

  .header-cta {
    min-height: 35px;
    padding: 6px 8px;
    font-size: 0.54rem;
    letter-spacing: 0.025em;
  }

  .nav-toggle-label {
    width: 31px;
  }

  .nav-toggle-label span,
  .nav-toggle-label::before,
  .nav-toggle-label::after {
    width: 18px;
  }
}

@media (max-width: 580px) {
  .container,
  .container--narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: clamp(3.25rem, 17vw, 5rem);
  }

  h2 {
    font-size: clamp(2.55rem, 14vw, 4rem);
  }

  .header-row {
    min-height: 76px;
    gap: 8px;
  }

  .brand-name {
    display: none;
  }

  .brand-logo {
    width: 66px;
    height: 60px;
  }

  .header-cta {
    min-height: 40px;
    padding: 8px 12px;
    font-size: 0.64rem;
    letter-spacing: 0.05em;
  }

  .nav-toggle-label {
    width: 38px;
    height: 38px;
  }

  .nav-toggle-label span,
  .nav-toggle-label::before,
  .nav-toggle-label::after {
    width: 21px;
  }

  .hero-media {
    min-height: 430px;
  }

  .hero-photo-main {
    border-radius: 100px 100px 22px 22px;
  }

  .proof-grid,
  .card-grid,
  .review-grid,
  .form-grid,
  .checkbox-grid,
  .featured-row,
  .review-links,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .review-card:last-child,
  .footer-grid > :last-child {
    grid-column: auto;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, 290px);
  }

  .gallery-item:nth-child(1),
  .gallery-item:nth-child(4) {
    grid-column: auto;
    grid-row: auto;
  }

  .page-hero {
    padding: 60px 0;
  }

  .page-hero-media {
    min-height: 420px;
  }

  .page-hero-media .image-frame {
    inset: 0;
  }

  .page-hero-media .mini-image {
    width: 42%;
  }

  .bio-photo {
    width: min(100%, 380px);
  }

  .contact-card {
    padding: 26px 20px;
  }

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
  }

  .footer-bottom span + span {
    margin-top: 7px;
  }
}

/*
  Extra tightening for very narrow phones.
  Keeps all three header elements visible rather than dropping the CTA.
*/
@media (max-width: 380px) {
  .header-row {
    gap: 6px;
  }

  .brand-logo {
    width: 58px;
    height: 54px;
  }

  .header-cta {
    min-height: 38px;
    padding: 7px 10px;
    font-size: 0.6rem;
    letter-spacing: 0.035em;
  }

  .nav-toggle-label {
    width: 36px;
    height: 36px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
/* Contact page has no header CTA */
@media (max-width: 820px) {
  .site-header .header-row:has(.site-nav a[href="contact.html"][aria-current="page"]) {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .site-header
    .header-row:has(.site-nav a[href="contact.html"][aria-current="page"])
    .nav-toggle-label {
    grid-column: 2;
  }

  .site-header
    .header-row:has(.site-nav a[href="contact.html"][aria-current="page"])
    .brand-name {
    max-width: none;
    font-size: 0.95rem;
  }
}

@media (max-width: 580px) {
  .site-header
    .header-row:has(.site-nav a[href="contact.html"][aria-current="page"])
    .brand-name {
    max-width: none;
    font-size: 0.88rem;
  }
}
/* ============================================================
   FINAL MOBILE LAYOUT FIX
   MUST REMAIN AT THE VERY END OF STYLE.CSS
   ============================================================ */

@media (max-width: 820px) {

  /* ----------------------------------------------------------
     GLOBAL MOBILE SIZING
     ---------------------------------------------------------- */

  .container,
  .container--narrow {
    width: min(calc(100% - 32px), var(--container));
  }

  body {
    overflow-x: hidden;
  }

  h1 {
    font-size: clamp(2.9rem, 11vw, 4.6rem);
    line-height: 0.98;
  }

  h2 {
    font-size: clamp(2.45rem, 9vw, 3.8rem);
    line-height: 1;
  }

  h3 {
    font-size: clamp(1.7rem, 6vw, 2.3rem);
  }

  .lede {
    font-size: clamp(1.35rem, 5vw, 1.8rem);
    line-height: 1.3;
  }

  .section {
    padding: 72px 0;
  }

  /*
    This is important:
    grid children are otherwise allowed to preserve intrinsic width
    and can force columns wider than the phone.
  */
  .hero-grid > *,
  .page-hero-grid > *,
  .split > *,
  .event-flow > *,
  .contact-layout > *,
  .bio-card > *,
  .site-cta-inner > *,
  .section-head > *,
  .card-grid > *,
  .review-grid > *,
  .form-grid > * {
    min-width: 0;
    max-width: 100%;
  }


  /* ----------------------------------------------------------
     FORCE MAIN PAGE LAYOUTS TO ONE COLUMN
     ---------------------------------------------------------- */

  .hero-grid,
  .page-hero-grid,
  .split,
  .event-flow,
  .contact-layout,
  .bio-card,
  .site-cta-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 38px !important;
  }


  /* ----------------------------------------------------------
     HOMEPAGE / GENERAL CARDS
     No squeezed two-column text cards on mobile
     ---------------------------------------------------------- */

  .card-grid,
  .review-grid,
  .featured-row,
  .review-links,
  .rating-bar {
    grid-template-columns: minmax(0, 1fr) !important;
  }

  .review-card,
  .ensemble-card {
    width: 100%;
    min-width: 0;
  }

  .review-card:last-child {
    grid-column: auto !important;
  }


  /* ----------------------------------------------------------
     SECTION HEADINGS
     ---------------------------------------------------------- */

  .section-head {
    display: block !important;
  }

  .section-head > * {
    width: 100%;
    max-width: 100%;
  }

  .section-head .section-copy {
    margin-top: 18px;
  }


  /* ----------------------------------------------------------
     HERO SECTIONS
     ---------------------------------------------------------- */

  .hero {
    padding: 54px 0 68px;
  }

  .page-hero {
    padding: 58px 0 64px;
  }

  .hero-copy,
  .page-hero-grid > div {
    width: 100%;
    min-width: 0;
  }

  .hero-media {
    width: 100%;
    min-height: 440px;
  }

  .page-hero-media {
    width: 100%;
    min-height: 420px;
  }

  .page-hero-media .image-frame {
    inset: 0 !important;
  }

  .page-hero-media--single .image-frame {
    inset: 0 !important;
  }


  /* ----------------------------------------------------------
     CONTACT PAGE
     ---------------------------------------------------------- */

  .contact-layout {
    width: 100%;
    gap: 42px !important;
  }

  .contact-side {
    position: static !important;
    top: auto;
    width: 100%;
  }

  .contact-side h2 {
    max-width: 100%;
  }

  .contact-details {
    width: 100%;
    overflow-wrap: anywhere;
  }

  .contact-details li,
  .contact-details a {
    max-width: 100%;
    overflow-wrap: anywhere;
    word-break: normal;
  }

  .contact-card {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    padding: 30px 24px;
    border-radius: 20px;
  }

  .contact-card form {
    width: 100%;
    min-width: 0;
  }

  /*
    FORM:
    Stack EVERYTHING at 820px.
    Do not leave first/last name or date/venue squeezed side-by-side.
  */
  .form-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    gap: 18px;
  }

  .form-field,
  .form-field--full {
    grid-column: 1 !important;
    width: 100%;
    min-width: 0;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  fieldset.form-field {
    min-width: 0;
    width: 100%;
  }

  /*
    Ensemble choices also stack.
    Much cleaner than six compressed checkbox cards.
  */
  .checkbox-grid {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    width: 100%;
    gap: 10px;
  }

  .check-option {
    width: 100%;
    min-width: 0;
    min-height: 48px;
    padding: 11px 13px;
    line-height: 1.35;
  }

  .check-option input {
    flex: 0 0 auto;
  }

  .contact-card .button-row {
    width: 100%;
  }

  .contact-card .button-row .button,
  .contact-card button.button {
    width: 100%;
  }


  /* ----------------------------------------------------------
     BIOS
     ---------------------------------------------------------- */

  .bio-card:nth-child(even) .bio-photo,
  .bio-card:nth-child(even) .bio-copy {
    order: initial !important;
  }

  .bio-photo {
    width: min(100%, 430px);
  }


  /* ----------------------------------------------------------
     PROOF STRIP
     These are short items, so 2-up still works nicely.
     ---------------------------------------------------------- */

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

  .proof-item {
    min-width: 0;
  }


  /* ----------------------------------------------------------
     FOOTER
     ---------------------------------------------------------- */

  .footer-grid {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 36px;
  }

  .footer-grid > :last-child {
    grid-column: auto !important;
  }

  .footer-email {
    max-width: 100%;
    overflow-wrap: anywhere;
  }
}


@media (max-width: 580px) {

  .container,
  .container--narrow {
    width: min(calc(100% - 28px), var(--container));
  }

  h1 {
    font-size: clamp(2.7rem, 13vw, 3.8rem);
  }

  h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .lede {
    font-size: 1.3rem;
  }

  .section {
    padding: 62px 0;
  }

  .hero-grid,
  .page-hero-grid,
  .split,
  .event-flow,
  .contact-layout,
  .bio-card,
  .site-cta-inner {
    gap: 30px !important;
  }

  .contact-card {
    padding: 26px 18px;
    border-radius: 18px;
  }

  .form-grid {
    gap: 16px;
  }

  .form-field input,
  .form-field select {
    min-height: 50px;
    padding-inline: 13px;
  }

  .form-field textarea {
    min-height: 140px;
    padding: 13px;
  }

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

  .footer-bottom {
    display: block;
  }

  .footer-bottom span {
    display: block;
  }

  .footer-bottom span + span {
    margin-top: 7px;
  }
}
/* ============================================================
   FINAL MOBILE STICKY HEADER
   Keep this at the VERY END of style.css
   ============================================================ */

@media (max-width: 820px) {

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  .header-row {
    min-height: 64px !important;
    padding: 4px 0 !important;

    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto auto !important;
    grid-template-rows: auto !important;

    align-items: center !important;
    column-gap: 7px !important;
    row-gap: 0 !important;
  }

  /* Logo + full SBSQ name */
  .brand {
    grid-column: 1;
    grid-row: 1;

    display: flex !important;
    align-items: center !important;

    min-width: 0;
    gap: 6px !important;
  }

  .brand-logo {
    width: 38px !important;
    height: 38px !important;
    flex: 0 0 38px !important;

    object-fit: contain;
    object-position: center;
  }

  .brand-name {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;

    max-width: 135px;

    font-family: var(--serif);
    font-size: 0.98rem !important;
    font-weight: 600;
    line-height: 0.9 !important;
    letter-spacing: -0.025em;

    white-space: normal !important;
  }

  /* Get a quote */
  .header-cta {
    display: inline-flex !important;

    grid-column: 2;
    grid-row: 1;

    min-height: 36px !important;
    padding: 7px 10px !important;

    font-size: 0.56rem !important;
    line-height: 1 !important;
    letter-spacing: 0.045em !important;

    white-space: nowrap;
  }

  /* Hamburger */
  .nav-toggle-label {
    display: grid !important;

    grid-column: 3;
    grid-row: 1;

    justify-self: end;

    width: 30px !important;
    height: 36px !important;

    place-content: center;
    gap: 5px;
  }

  .nav-toggle-label span,
  .nav-toggle-label::before,
  .nav-toggle-label::after {
    content: "";
    display: block;

    width: 18px !important;
    height: 1px;

    background: var(--ink);
  }

  /*
    Menu occupies NO vertical space while closed.
    This is what removes the extra blank area below the header.
  */
  .site-nav {
    display: none !important;

    grid-column: 1 / -1;
    grid-row: 2;

    width: 100%;
    padding: 6px 0 12px;
  }

  .nav-toggle:checked ~ .site-nav {
    display: block !important;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 10px 0;
  }

  .site-nav a::after {
    display: none;
  }


  /* Contact page: there is no Get a quote button */
  .header-row:not(:has(.header-cta)) {
    grid-template-columns: minmax(0, 1fr) auto !important;
  }

  .header-row:not(:has(.header-cta)) .nav-toggle-label {
    grid-column: 2;
  }

  .header-row:not(:has(.header-cta)) .brand-name {
    max-width: 180px;
    font-size: 1.03rem !important;
  }
}


/* Extra-tight phones */
@media (max-width: 400px) {

  .header-row {
    min-height: 60px !important;
    column-gap: 5px !important;
  }

  .brand {
    gap: 5px !important;
  }

  .brand-logo {
    width: 34px !important;
    height: 34px !important;
    flex-basis: 34px !important;
  }

  .brand-name {
    max-width: 118px;
    font-size: 0.9rem !important;
    line-height: 0.9 !important;
  }

  .header-cta {
    min-height: 34px !important;
    padding: 6px 9px !important;
    font-size: 0.53rem !important;
  }

  .nav-toggle-label {
    width: 27px !important;
    height: 34px !important;
  }

  .nav-toggle-label span,
  .nav-toggle-label::before,
  .nav-toggle-label::after {
    width: 17px !important;
  }

  .header-row:not(:has(.header-cta)) .brand-name {
    max-width: 165px;
    font-size: 0.98rem !important;
  }
}
/* ============================================================
   CONTACT FORM — MOBILE CHECKBOX FIX
   Keep at the very bottom of style.css
   ============================================================ */

@media (max-width: 820px) {

  /* Stack ensemble choices cleanly */
  .checkbox-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 10px !important;
    width: 100% !important;
  }

  /* Each ensemble choice becomes a normal compact row */
  .form-field .check-option {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    width: 100% !important;
    min-width: 0 !important;
    min-height: 0 !important;

    gap: 11px !important;
    padding: 13px 14px !important;
    margin: 0 !important;

    border: 1px solid var(--line);
    border-radius: 12px;
    background: var(--paper);

    color: var(--ink-soft) !important;
    font-size: 0.84rem !important;
    font-weight: 500 !important;
    line-height: 1.35 !important;

    letter-spacing: 0 !important;
    text-transform: none !important;

    white-space: normal !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
  }

  /*
    CRITICAL:
    Override the generic .form-field input mobile styling.
  */
  .form-field .check-option input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;

    display: block !important;

    width: 18px !important;
    height: 18px !important;

    min-width: 18px !important;
    max-width: 18px !important;

    min-height: 18px !important;
    max-height: 18px !important;

    flex: 0 0 18px !important;

    margin: 0 !important;
    padding: 0 !important;

    border-radius: 3px !important;

    accent-color: var(--olive-dark);
  }

  /* Make sure the fieldset itself cannot overflow */
  fieldset.form-field {
    width: 100% !important;
    min-width: 0 !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  fieldset.form-field legend {
    margin-bottom: 8px;
  }
}
