/* ==========================================================================
   components.css — reusable blocks shared across pages
   ========================================================================== */

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  isolation: isolate;
  min-height: min(100svh, 980px);
  display: grid;
  place-items: center;
  text-align: center;
  color: #fff;
  overflow: hidden;
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 3rem) var(--gutter) clamp(4rem, 9vw, 7rem);
}
.hero-media {
  position: absolute;
  inset: -8% 0 -8%;   /* extra bleed so parallax never exposes an edge */
  z-index: -2;
}
.hero-media img,
.hero-media video {
  width: 100%; height: 100%;
  object-fit: cover;
  will-change: transform;
}
/* Three stacked layers, because a single gradient could not hold the text
   against a bright, high-detail photograph:
   1. a soft pool of shade centred on the headline
   2. a vertical gradient (dark at the nav, dark at the CTA row)
   3. a flat base scrim that lifts contrast everywhere else            */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 62% at 50% 52%, rgba(12,10,8,.58) 0%, rgba(12,10,8,.24) 55%, transparent 100%),
    linear-gradient(180deg, rgba(14,12,10,.72) 0%, rgba(14,12,10,.30) 34%, rgba(14,12,10,.40) 62%, rgba(14,12,10,.78) 100%),
    rgba(14,12,10,.26);
}
.hero h1, .hero .display {
  color: #fff;
  text-shadow: 0 1px 2px rgba(0,0,0,.28), 0 6px 40px rgba(0,0,0,.45);
}
.hero .eyebrow { color: rgba(255,255,255,.92); text-shadow: 0 1px 12px rgba(0,0,0,.6); }
.hero .eyebrow::before, .hero .eyebrow::after { background: rgba(255,255,255,.75); }
.hero-sub {
  max-width: 54ch;
  margin: 1.85rem auto 0;
  font-size: clamp(1rem, .5vw + .9rem, 1.1875rem);
  line-height: 1.75;
  color: rgba(255,255,255,.94);
  text-shadow: 0 1px 3px rgba(0,0,0,.4), 0 2px 22px rgba(0,0,0,.5);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-top: 2.75rem;
}

/* scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: clamp(1.75rem, 4vw, 3rem);
  translate: -50% 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .85rem;
  font-size: .5625rem;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: rgba(255,255,255,.72);
}
.scroll-cue .track {
  width: 1px;
  height: 58px;
  background: rgba(255,255,255,.28);
  overflow: hidden;
}
.scroll-cue .track::after {
  content: '';
  display: block;
  width: 100%; height: 40%;
  background: #fff;
  animation: cue-run 2.2s var(--ease-soft) infinite;
}
@keyframes cue-run {
  0%   { transform: translateY(-100%); }
  100% { transform: translateY(250%); }
}

/* ---------- Page hero (interior pages) ---------- */
.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  text-align: center;
  min-height: clamp(360px, 56vh, 620px);
  margin-top: calc(var(--nav-h) * -1);
  padding: calc(var(--nav-h) + 3.5rem) var(--gutter) clamp(3rem, 6vw, 5rem);
  color: #fff;
  overflow: hidden;
}
/* Shorter banner for pages where the content is the point — contact, booking,
   journal, reviews. On a phone it shrinks again so the form or calendar is
   reachable almost immediately instead of a screen-and-a-half down. */
.page-hero.is-compact { min-height: clamp(300px, 40vh, 440px); }
@media (max-width: 700px) {
  .page-hero.is-compact {
    min-height: clamp(220px, 30vh, 300px);
    padding-bottom: clamp(1.75rem, 4vw, 3rem);
  }
  .page-hero.is-compact + .section,
  .page-hero.is-compact + section { padding-top: clamp(2.25rem, 6vw, 3.5rem); }
}

.page-hero .hero-media { inset: -6% 0; z-index: -2; }
.page-hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(180deg, rgba(16,14,11,.58) 0%, rgba(16,14,11,.40) 55%, rgba(16,14,11,.62) 100%);
}
.page-hero h1 { color: #fff; }
.page-hero .eyebrow { color: rgba(255,255,255,.78); }
.page-hero .eyebrow::before, .page-hero .eyebrow::after { background: rgba(255,255,255,.6); }
.page-hero p { color: rgba(255,255,255,.85); max-width: 58ch; margin-inline: auto; }

/* ==========================================================================
   Section headings
   ========================================================================== */

.sec-head { margin-bottom: clamp(2.5rem, 5vw, 4.5rem); }
.sec-head.is-centered { text-align: center; }
.sec-head.is-centered .sec-head-copy { margin-inline: auto; }
.sec-head h2 { margin-top: 1.25rem; }
.sec-head-copy { max-width: 58ch; margin-top: 1.5rem; }

.sec-head.is-split {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}
.sec-head.is-split .sec-head-copy { margin-top: 0; max-width: 42ch; }

/* ==========================================================================
   Marquee ribbon
   ========================================================================== */

.marquee {
  overflow: hidden;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
  border-block: 1px solid var(--line);
  background: var(--bg-alt);
}
.marquee-track {
  display: flex;
  align-items: center;
  gap: 3rem;
  width: max-content;
  animation: mq 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
@keyframes mq { to { transform: translateX(-50%); } }
.marquee-track span {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3.2vw, 2.75rem);
  font-weight: 300;
  color: var(--ink);
  white-space: nowrap;
}
.marquee-track .dot { color: var(--champagne); font-size: 1rem; }
.marquee-track .outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--champagne);
  font-style: italic;
}

/* ==========================================================================
   Editorial split (image + copy)
   ========================================================================== */

.split {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
}
.split.is-reversed .split-media { order: 2; }
.split-copy { max-width: 52ch; }

/* stacked/offset image pair */
.media-stack { position: relative; }
.media-stack .m1 { width: 82%; }
.media-stack .m2 {
  position: absolute;
  right: 0;
  bottom: -12%;
  width: 46%;
  border: 8px solid var(--bg);
  box-shadow: var(--shadow-md);
}
:root[data-theme="dark"] .media-stack .m2 { border-color: var(--bg); }

/* signature badge overlay */
.badge-circle {
  position: absolute;
  display: grid;
  place-items: center;
  width: clamp(110px, 13vw, 150px);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--champagne-deep);
  color: var(--on-accent);
  text-align: center;
  padding: 1rem;
  box-shadow: var(--shadow-md);
}
.badge-circle .n {
  font-family: var(--serif);
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  line-height: 1;
}
.badge-circle .t {
  font-size: .5625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  margin-top: .3rem;
  opacity: .85;
}

/* ==========================================================================
   Stats
   ========================================================================== */

.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: clamp(1.5rem, 4vw, 3rem);
  text-align: center;
}
.stat .num {
  font-family: var(--serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 300;
  line-height: 1;
  color: var(--champagne-deep);
  display: block;
}
.stat .lbl {
  display: block;
  margin-top: .85rem;
  font-size: .625rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* ==========================================================================
   Cards
   ========================================================================== */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: clamp(1.5rem, 3vw, 2.5rem);
}
.card-grid.cols-2 { grid-template-columns: repeat(auto-fit, minmax(min(400px, 100%), 1fr)); }
.card-grid.cols-4 { grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr)); }

/* service card — image with copy that lifts on hover */
.svc-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  isolation: isolate;
  color: #fff;
}
.svc-card img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.svc-card::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 32%, rgba(14,12,10,.82) 100%);
  transition: background .6s var(--ease);
}
.svc-card:hover img { transform: scale(1.07); }
.svc-card:hover::after { background: linear-gradient(180deg, rgba(14,12,10,.28) 0%, rgba(14,12,10,.88) 100%); }

.svc-body {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: clamp(1.5rem, 2.4vw, 2.25rem);
}
.svc-body h3 { color: #fff; font-size: clamp(1.375rem, 2vw, 1.75rem); }
.svc-body .kicker {
  font-size: .5625rem;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--champagne);
  display: block;
  margin-bottom: .7rem;
}
.svc-body p {
  margin-top: .7rem;
  font-size: .875rem;
  line-height: 1.7;
  color: rgba(255,255,255,.8);
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height .65s var(--ease), opacity .5s var(--ease), margin-top .5s var(--ease);
}
.svc-card:hover .svc-body p,
.svc-card:focus-visible .svc-body p { max-height: 9rem; opacity: 1; }
.svc-body .go {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  margin-top: 1.1rem;
  font-size: .625rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--champagne);
}
.svc-body .go svg { width: 15px; height: 15px; transition: transform .4s var(--ease); }
.svc-card:hover .svc-body .go svg { transform: translateX(5px); }

/* plain bordered card */
.tile {
  padding: clamp(1.75rem, 3vw, 2.75rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .45s var(--ease);
}
.tile:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--champagne-soft);
}
.tile .icon {
  display: grid;
  place-items: center;
  width: 48px; height: 48px;
  margin-bottom: 1.5rem;
  border: 1px solid var(--champagne-soft);
  border-radius: 50%;
  color: var(--champagne-deep);
}
.tile .icon svg { width: 20px; height: 20px; }
.tile .step {
  font-family: var(--serif);
  font-size: 2.5rem;
  line-height: 1;
  color: var(--champagne-soft);
  display: block;
  margin-bottom: 1rem;
}
.tile h3 { font-size: 1.375rem; margin-bottom: .8rem; }
.tile p { font-size: .9375rem; color: var(--ink-soft); }

/* ==========================================================================
   Gallery
   ========================================================================== */

.filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: .5rem;
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}
.filter-btn {
  padding: .68rem 1.5rem;
  font-size: .625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  transition: color .35s var(--ease), background-color .35s var(--ease), border-color .35s var(--ease);
}
.filter-btn:hover { color: var(--ink); border-color: var(--champagne); }
.filter-btn.is-active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}

/* Masonry built from real flex columns, filled by JS.
   CSS `column-count` was the obvious choice, but Chromium reports stale
   intersection rects for elements inside a multi-column flow, so every tile
   stayed at ratio 0 and the scroll-reveal never fired — leaving the gallery
   permanently invisible. Separate column elements keep IntersectionObserver
   working and preserve each photo's true aspect ratio. */
.masonry {
  display: flex;
  align-items: flex-start;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
}
.mas-col {
  display: flex;
  flex-direction: column;
  gap: clamp(.75rem, 1.5vw, 1.25rem);
  flex: 1 1 0;
  min-width: 0;
}
.masonry .m-item { width: 100%; }

/* Reserve each tile's box up front from its known orientation. Without this
   a lazy image contributes no height until it decodes, so every tile starts
   at zero area — the reveal observer sees ratio 0 and the column heights
   jump around as photos arrive. */
.masonry .g-item {
  display: block;
  aspect-ratio: 2 / 3;
}
.masonry .m-item.is-land .g-item { aspect-ratio: 3 / 2; }
.masonry .g-item img { width: 100%; height: 100%; object-fit: cover; }

/* fixed mosaic grid */
.mosaic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  /* an explicit row height is what lets the span-2 tiles actually have size —
     without it the rows collapse to zero against height:100% images */
  grid-auto-rows: clamp(150px, 15.5vw, 245px);
  gap: clamp(.6rem, 1.2vw, 1rem);
  grid-auto-flow: dense;
}
.mosaic .g-tall  { grid-row: span 2; }
.mosaic .g-wide  { grid-column: span 2; }
.mosaic .g-big   { grid-column: span 2; grid-row: span 2; }

.g-item {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-deep);
  cursor: zoom-in;
}
.g-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.3s var(--ease), filter .6s var(--ease);
}
.g-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(14,12,10,.7));
  opacity: 0;
  transition: opacity .5s var(--ease);
}
.g-item:hover img { transform: scale(1.05); }
.g-item:hover::after { opacity: 1; }
.g-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.25rem;
  color: #fff;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
}
.g-item:hover .g-cap { opacity: 1; transform: none; }
.g-cap .t { font-family: var(--serif); font-size: 1.125rem; display: block; }
.g-cap .s { font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--champagne); }

/* applies to both mosaic tiles and masonry wrappers */
.is-hidden { display: none !important; }

/* ==========================================================================
   Lightbox
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  grid-template-rows: auto 1fr auto;
  background: rgba(12, 10, 9, .96);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }

.lb-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem);
  color: rgba(255,255,255,.72);
  font-size: .6875rem;
  letter-spacing: .2em;
  text-transform: uppercase;
}
.lb-close { padding: .5rem; color: #fff; transition: transform .35s var(--ease); }
.lb-close:hover { transform: rotate(90deg); }
.lb-close svg { width: 22px; height: 22px; }

.lb-stage {
  position: relative;
  display: grid;
  place-items: center;
  padding: 0 clamp(1rem, 6vw, 5rem);
  min-height: 0;
}
.lb-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  box-shadow: 0 40px 90px -30px rgba(0,0,0,.9);
  opacity: 0;
  transform: scale(.97);
  transition: opacity .5s var(--ease), transform .6s var(--ease);
}
.lb-stage img.is-shown { opacity: 1; transform: none; }

.lb-nav {
  position: absolute;
  top: 50%;
  translate: 0 -50%;
  display: grid;
  place-items: center;
  width: 52px; height: 52px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 50%;
  color: #fff;
  transition: background-color .4s var(--ease), border-color .4s var(--ease), transform .4s var(--ease);
}
.lb-nav:hover { background: #fff; color: #12100E; border-color: #fff; }
.lb-prev { left: clamp(.5rem, 2vw, 1.75rem); }
.lb-next { right: clamp(.5rem, 2vw, 1.75rem); }
.lb-prev:hover { transform: translateX(-4px); }
.lb-next:hover { transform: translateX(4px); }
.lb-nav svg { width: 18px; height: 18px; }

.lb-foot {
  padding: 1.25rem clamp(1rem, 3vw, 2.5rem) 2rem;
  text-align: center;
  color: rgba(255,255,255,.62);
}
.lb-foot .t { font-family: var(--serif); font-size: 1.25rem; color: #fff; display: block; }
.lb-foot .s { font-size: .625rem; letter-spacing: .22em; text-transform: uppercase; margin-top: .3rem; display: block; }

/* ==========================================================================
   Film cards
   ========================================================================== */

/* A centred flex wrap rather than a grid: the library is a hand-picked five,
   so the last row is always short, and a short grid row hangs off the left
   like something fell out — centred, it reads as arranged. */
.film-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.film-grid .film-card { flex: 1 1 min(340px, 100%); max-width: 480px; }
.film-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-deep);
  cursor: pointer;
}
/* display:block matters: these are <span>s, and an inline box neither honours
   aspect-ratio nor anchors the play button — left:50% resolved against an
   inline containing block and the circle sat clipped on the card's left edge. */
.film-thumb { display: block; position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.film-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--ease), filter .6s var(--ease);
}
.film-thumb::after {
  content: '';
  position: absolute; inset: 0;
  background: rgba(14,12,10,.34);
  transition: background .5s var(--ease);
}
.film-card:hover .film-thumb img { transform: scale(1.06); }
.film-card:hover .film-thumb::after { background: rgba(14,12,10,.14); }

.play-btn {
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 66px; height: 66px;
  border-radius: 50%;
  background: rgba(255,255,255,.14);
  border: 1px solid rgba(255,255,255,.7);
  backdrop-filter: blur(6px);
  color: #fff;
  transition: background-color .45s var(--ease), scale .45s var(--ease);
}
.film-card:hover .play-btn { background: var(--champagne-deep); border-color: var(--champagne-deep); scale: 1.08; }
.play-btn svg { width: 20px; height: 20px; margin-left: 3px; }

.film-meta { padding: 1.35rem .25rem 0; }
.film-meta .kicker {
  font-size: .5625rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--champagne-deep);
}
.film-meta h3 {
  font-size: 1.1875rem;
  margin-top: .55rem;
  line-height: 1.35;
  transition: color .35s var(--ease);
}
.film-card:hover .film-meta h3 { color: var(--champagne-deep); }

/* video modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 95;
  display: grid;
  place-items: center;
  padding: clamp(1rem, 4vw, 3rem);
  background: rgba(10, 9, 8, .95);
  backdrop-filter: blur(10px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.video-modal.is-open { opacity: 1; visibility: visible; }
.video-shell {
  position: relative;
  /* Fit BOTH ways: never wider than 1180px or the screen, and never so wide
     that 16:9 makes it taller than the viewport — on a short window the old
     rule overflowed vertically and the film sat pinned to the top edge
     instead of floating centred. */
  width: min(1180px, 100%, calc((100vh - 8rem) * 16 / 9));
  width: min(1180px, 100%, calc((100dvh - 8rem) * 16 / 9));
  aspect-ratio: 16 / 9;
  background: #000;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 40px 100px -30px rgba(0,0,0,.9), 0 0 0 1px rgba(255,255,255,.07);
  transform: scale(.96);
  transition: transform .55s var(--ease);
}
.video-modal.is-open .video-shell { transform: none; }
/* The iframe sat inside a wrapper div with no height of its own, so its
   height:100% resolved against auto and fell back to the browser default of
   150px — a full-size black shell with a letterbox strip of film at the top.
   Absolute positioning measures against the shell itself, which always has
   its 16:9 box. */
.video-shell iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; display: block; }
.video-close {
  position: absolute;
  top: -3rem; right: 0;
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  color: rgba(255,255,255,.8);
  font-size: .625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  transition: color .3s var(--ease);
}
.video-close:hover { color: #fff; }
.video-close svg { width: 18px; height: 18px; }

/* ==========================================================================
   Testimonials
   ========================================================================== */

.quote-slider { position: relative; text-align: center; }
.quote-track { position: relative; min-height: 300px; }
.quote {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 1.75rem;
  opacity: 0;
  transform: translateY(16px);
  visibility: hidden;
  transition: opacity .8s var(--ease), transform .8s var(--ease), visibility .8s;
}
.quote.is-active { opacity: 1; transform: none; visibility: visible; }
.quote blockquote {
  font-family: var(--serif);
  font-size: clamp(1.375rem, 2.7vw, 2.125rem);
  font-weight: 300;
  font-style: italic;
  line-height: 1.5;
  max-width: 26ch;
  margin-inline: auto;
  color: var(--ink);
}
.quote-mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0;
  color: var(--champagne-soft);
  display: block;
}
.quote cite {
  font-style: normal;
  font-size: .6875rem;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.quote .venue {
  display: block;
  margin-top: .45rem;
  font-family: var(--serif);
  font-style: italic;
  font-size: .9375rem;
  letter-spacing: 0;
  text-transform: none;
  color: var(--champagne-deep);
}

.quote-dots {
  display: flex;
  justify-content: center;
  gap: .6rem;
  margin-top: 2.5rem;
}
.quote-dots button {
  width: 30px; height: 2px;
  background: var(--line);
  transition: background-color .4s var(--ease);
}
.quote-dots button.is-active { background: var(--champagne-deep); }

/* ==========================================================================
   Google reviews
   ========================================================================== */

.rating-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) clamp(1.5rem, 3vw, 3rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.rating-score {
  display: flex;
  align-items: baseline;
  gap: .5rem;
}
.rating-score .n {
  font-family: var(--serif);
  font-size: clamp(3rem, 6vw, 4.25rem);
  font-weight: 300;
  line-height: 1;
  color: var(--ink);
}
.rating-score .out { font-size: .8125rem; color: var(--ink-mute); }

.rating-meta { text-align: left; }
.rating-meta .lbl {
  display: block;
  margin-top: .55rem;
  font-size: .625rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-mute);
}

/* star row */
.stars { display: inline-flex; gap: .18em; color: #E7B44C; }
.stars svg { width: 1.05em; height: 1.05em; }
.stars.is-lg { font-size: 1.35rem; }

.rating-divider {
  width: 1px;
  align-self: stretch;
  background: var(--line);
}
@media (max-width: 700px) { .rating-divider { display: none; } }

.google-badge {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  font-size: .8125rem;
  color: var(--ink-soft);
}
.google-badge svg { width: 18px; height: 18px; flex: none; }

/* ---------- review cards ---------- */
.review-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(330px, 100%), 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  align-items: start;
}

.review {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: clamp(1.5rem, 2.4vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .45s var(--ease);
}
.review:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--champagne-soft);
}

.review-head { display: flex; align-items: center; gap: .9rem; }

.review-avatar {
  display: grid;
  place-items: center;
  flex: none;
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--bg-deep);
  color: var(--champagne-deep);
  font-family: var(--serif);
  font-size: 1.0625rem;
  line-height: 1;
}
.review-who { min-width: 0; }
.review-who .nm {
  display: block;
  font-size: .9375rem;
  color: var(--ink);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.review-who .mt {
  display: block;
  margin-top: .15rem;
  font-size: .75rem;
  color: var(--ink-mute);
}
.review-head .g-mark { margin-left: auto; flex: none; width: 17px; height: 17px; }

.review-text {
  font-size: .9375rem;
  line-height: 1.72;
  color: var(--ink-soft);
}
.review-text .more {
  color: var(--champagne-deep);
  white-space: nowrap;
}

/* a taller, quieter card for the featured row */
.review.is-featured { background: var(--bg-alt); }

/* the avatar carries its own tint from the name, so the swatch below it wins */
.review-avatar[style] { color: #fff; }

/* ==========================================================================
   Review coverflow — one review forward, its neighbours turned away
   ========================================================================== */

.rv {
  position: relative;
  padding: clamp(1rem, 3vw, 2rem) 0 0;
  outline: none;
}
.rv-stage {
  position: relative;
  height: clamp(400px, 46vw, 480px);
  perspective: 1600px;
  perspective-origin: 50% 46%;
  overflow: hidden;
  /* the neighbours fade into the page rather than being cut by an edge */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 14%, #000 86%, transparent 100%);
}
.rv-track {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  cursor: grab;
  touch-action: pan-y;
}
.rv.is-dragging .rv-track { cursor: grabbing; }

.rv-slide {
  position: absolute;
  top: 50%; left: 50%;
  width: min(420px, 78vw);
  transform-style: preserve-3d;
  transition: transform .75s var(--ease), opacity .55s var(--ease);
  will-change: transform, opacity;
}
.rv-slide .review {
  height: clamp(360px, 42vw, 430px);
  gap: .8rem;
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(28, 24, 18, .5);
}
.rv-slide .review:hover { transform: none; }
.rv-slide.is-current .review {
  border-color: var(--champagne-soft);
  box-shadow: 0 40px 90px -34px rgba(28, 24, 18, .65);
}
.rv-slide .review-text {
  font-size: .875rem;
  line-height: 1.7;
  overflow: hidden;
}
/* the big soft quote mark behind the words */
.rv-quote {
  position: absolute;
  top: .9rem; right: 1.1rem;
  width: 46px; height: 46px;
  color: var(--champagne-deep);
  opacity: .1;
  pointer-events: none;
}
.review { position: relative; }
.review .stars.is-sm { display: inline-flex; font-size: .8rem; color: #F5A623; }
.review .stars.is-sm svg { width: 1em; height: 1em; }

/* 31 dots is a rail, not a row of buttons — keep them small and let them wrap */
.rv-dots .rv-dot { width: 6px; height: 6px; }
.rv-dots .rv-dot.is-on { width: 18px; }

/* controls: arrows on the shoulders, dots and a count beneath */
.rv-nav {
  position: absolute;
  top: 50%; translate: 0 -50%;
  z-index: 200;
  width: 46px; height: 46px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  cursor: pointer;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), transform .35s var(--ease);
}
.rv-nav:hover { background: var(--ink); color: #fff; border-color: var(--ink); transform: translateY(-2px); }
.rv-nav svg { width: 19px; height: 19px; }
.rv-prev { left: clamp(.25rem, 2vw, 1.5rem); }
.rv-next { right: clamp(.25rem, 2vw, 1.5rem); }

.rv-foot {
  display: flex; align-items: center; justify-content: center; gap: 1.25rem;
  margin-top: clamp(1.25rem, 2.5vw, 2rem);
}
.rv-dots { display: flex; gap: .45rem; flex-wrap: wrap; justify-content: center; max-width: 60%; }
.rv-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--line-strong, #d8cfc0); border: 0; padding: 0; cursor: pointer;
  transition: background .3s var(--ease), transform .3s var(--ease), width .3s var(--ease);
}
.rv-dot.is-on { background: var(--champagne-deep); width: 20px; border-radius: 99px; }
.rv-now {
  font-size: .6875rem; letter-spacing: .18em; color: var(--ink-mute);
  font-variant-numeric: tabular-nums;
}
.rv-hint {
  margin-top: .75rem; text-align: center;
  font-size: .625rem; letter-spacing: .2em; text-transform: uppercase; color: var(--ink-mute);
}

@media (max-width: 760px) {
  .rv-stage { height: clamp(420px, 96vw, 500px); }
  .rv-nav { width: 40px; height: 40px; }
  .rv-slide .review { height: clamp(380px, 92vw, 460px); }
}
@media (prefers-reduced-motion: reduce) {
  .rv-slide { transition: opacity .3s linear; }
}

/* ==========================================================================
   The Google score — one line, not a slab
   ========================================================================== */

.gscore {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  padding: .55rem 1.1rem .55rem .75rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 99px;
  box-shadow: var(--shadow-sm);
  transition: border-color .35s var(--ease), transform .35s var(--ease);
}
.gscore:hover { border-color: var(--champagne-soft); transform: translateY(-1px); }
.gscore .g-mark { flex: none; width: 20px; height: 20px; }
.gscore .n {
  font-family: var(--serif);
  font-size: 1.375rem;
  line-height: 1;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.gscore .stars { color: #F5A623; font-size: .8125rem; }
.gscore .stars svg { width: 1em; height: 1em; }
.gscore .lbl {
  font-size: .6875rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--ink-mute);
  white-space: nowrap;
}
.gscore .sep { width: 1px; height: 18px; background: var(--line); flex: none; }
@media (max-width: 480px) {
  .gscore { gap: .55rem; padding: .5rem .85rem .5rem .6rem; }
  .gscore .lbl { letter-spacing: .06em; }
}
}

/* ==========================================================================
   Horizontal rail — drag, swipe, arrows and a visible scroll thumb
   ========================================================================== */

.rail-wrap { position: relative; }

.rail {
  display: flex;
  /* each card keeps its natural height — stretching them to match the tallest
     left a big empty gap under the shorter reviews */
  align-items: flex-start;
  gap: clamp(1rem, 2vw, 1.5rem);
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-bottom: 1.5rem;
  /* Cards stay inside the content column and line up with the page gutter.
     An earlier full-bleed version pushed the rail past the gutter with a
     negative margin, which left the first card jammed against the screen
     edge on mobile. */
  scroll-padding-inline: 0;
  cursor: grab;
  scrollbar-width: thin;
  scrollbar-color: var(--champagne) var(--line-soft);
  overscroll-behavior-x: contain;
}
.rail > * {
  flex: 0 0 clamp(276px, 30%, 372px);
  scroll-snap-align: start;
}
.rail:active { cursor: grabbing; }

/* while dragging, snapping would fight the pointer */
.rail.is-dragging {
  scroll-snap-type: none;
  scroll-behavior: auto;
  cursor: grabbing;
  user-select: none;
}
.rail.is-dragging * { pointer-events: none; }

/* the thumb the visitor can grab */
.rail::-webkit-scrollbar { height: 6px; }
.rail::-webkit-scrollbar-track {
  background: var(--line-soft);
  border-radius: 99px;
}
.rail::-webkit-scrollbar-thumb {
  background: var(--champagne);
  border-radius: 99px;
}
.rail::-webkit-scrollbar-thumb:hover { background: var(--champagne-deep); }

/* ---------- arrows ---------- */
.rail-nav {
  display: flex;
  gap: .6rem;
}
.rail-btn {
  display: grid;
  place-items: center;
  width: 46px; height: 46px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: var(--surface);
  transition: background-color .35s var(--ease), color .35s var(--ease),
              border-color .35s var(--ease), opacity .3s var(--ease);
}
.rail-btn:hover:not(:disabled) {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.rail-btn:disabled { opacity: .3; cursor: not-allowed; }
.rail-btn svg { width: 16px; height: 16px; }

/* floating side arrows on wider screens */
.rail-side {
  position: absolute;
  top: calc(50% - 1.5rem);
  translate: 0 -50%;
  z-index: 3;
  box-shadow: var(--shadow-md);
}
.rail-side.prev { left: -12px; }
.rail-side.next { right: -12px; }

@media (max-width: 1100px) { .rail-side { display: none; } }

@media (max-width: 700px) {
  /* one card at a time, with the next one peeking to signal it scrolls */
  .rail > * { flex: 0 0 min(86%, 330px); }
  .rail { gap: .85rem; }
  .rail-nav { margin-left: auto; }
}

/* ==========================================================================
   Accordion / FAQ
   ========================================================================== */

.accordion { border-top: 1px solid var(--line); }
.acc-item { border-bottom: 1px solid var(--line); }
.acc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: 100%;
  padding: clamp(1.25rem, 2.2vw, 1.85rem) 0;
  text-align: left;
  font-family: var(--serif);
  font-size: clamp(1.125rem, 1.7vw, 1.4375rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--ink);
  transition: color .35s var(--ease);
}
.acc-head:hover { color: var(--champagne-deep); }
.acc-icon {
  position: relative;
  flex: none;
  width: 20px; height: 20px;
}
.acc-icon::before, .acc-icon::after {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  translate: -50% -50%;
  background: currentColor;
  transition: transform .45s var(--ease), opacity .3s var(--ease);
}
.acc-icon::before { width: 100%; height: 1px; }
.acc-icon::after  { width: 1px; height: 100%; }
.acc-item.is-open .acc-icon::after { transform: rotate(90deg); opacity: 0; }

.acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .55s var(--ease);
}
.acc-item.is-open .acc-panel { grid-template-rows: 1fr; }
.acc-panel > div { overflow: hidden; }
.acc-panel p {
  padding-bottom: 1.85rem;
  max-width: 68ch;
  color: var(--ink-soft);
  font-size: .9375rem;
}

/* ==========================================================================
   Forms
   ========================================================================== */

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(1.25rem, 2.5vw, 2rem);
}
.field-full { grid-column: 1 / -1; }

.field-label {
  display: block;
  margin-bottom: .6rem;
  font-size: .625rem;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--ink-mute);
}
.field-label .req { color: var(--champagne-deep); }

.input, .select, .textarea {
  width: 100%;
  padding: .95rem 0;
  font-size: .9375rem;
  color: var(--ink);
  background: transparent;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  transition: border-color .4s var(--ease);
}
.input::placeholder, .textarea::placeholder { color: var(--ink-mute); opacity: .65; }
.input:focus, .select:focus, .textarea:focus {
  outline: none;
  border-bottom-color: var(--champagne-deep);
}
.textarea { resize: vertical; min-height: 130px; }
.select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, currentColor 50%),
                    linear-gradient(135deg, currentColor 50%, transparent 50%);
  background-position: calc(100% - 12px) 1.45rem, calc(100% - 7px) 1.45rem;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
  cursor: pointer;
}
.select option { background: var(--surface); color: var(--ink); }

/* pill radio group */
.pill-group { display: flex; flex-wrap: wrap; gap: .6rem; }
.pill-group input { position: absolute; opacity: 0; pointer-events: none; }
.pill {
  display: inline-block;
  padding: .7rem 1.4rem;
  font-size: .625rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 99px;
  cursor: pointer;
  transition: background-color .35s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
}
.pill:hover { border-color: var(--champagne); }
.pill-group input:checked + .pill {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--bg);
}
.pill-group input:focus-visible + .pill { outline: 2px solid var(--accent); outline-offset: 3px; }

.form-note { font-size: .8125rem; color: var(--ink-mute); }

.form-status {
  display: none;
  padding: 1.15rem 1.35rem;
  border-left: 2px solid var(--champagne-deep);
  background: var(--bg-alt);
  font-size: .9375rem;
  color: var(--ink-soft);
}
.form-status.is-shown { display: block; animation: fade-up .6s var(--ease); }
@keyframes fade-up { from { opacity: 0; transform: translateY(10px); } }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split.is-reversed .split-media { order: 0; }
  .mosaic { grid-template-columns: repeat(2, 1fr); }
  .mosaic .g-big { grid-column: span 2; grid-row: span 1; }
  .form-grid { grid-template-columns: 1fr; }
  .quote-track { min-height: 340px; }
}

@media (max-width: 560px) {
  .mosaic .g-wide, .mosaic .g-big { grid-column: span 2; }
  .media-stack .m1 { width: 100%; }
  .media-stack .m2 { display: none; }
  .hero-actions .btn, .cta-actions .btn { width: 100%; }
}
