/* ==========================================================================
   Koster's Car Korner — rebuild stylesheet
   Palette from the brand: navy #204CB5 + gold, on warm neutral paper.
   ========================================================================== */

:root {
  /* brand */
  --navy-950: #0a1630;
  --navy-900: #10203f;
  --navy-800: #162b54;
  --navy-700: #1d3a6e;
  --blue-600: #204cb5;
  --blue-500: #3a66d0;
  --gold: #d9a62e;
  --gold-bright: #e8b93d;
  --gold-deep: #b98a1e;
  --gold-soft: #faf0d7;
  /* neutrals */
  --ink: #22303f;
  --ink-soft: #5a6b7e;
  --mist: #f3f6fa;
  --paper: #ffffff;
  --line: #e2e8f0;
  /* ui */
  --shadow-sm: 0 1px 2px rgba(16, 32, 63, 0.08), 0 2px 8px rgba(16, 32, 63, 0.06);
  --shadow-md: 0 6px 20px rgba(16, 32, 63, 0.12);
  --shadow-lg: 0 16px 48px rgba(10, 22, 48, 0.22);
  --radius: 14px;
  --radius-sm: 10px;
  --measure: 64ch;
  --container: 1200px;
  --font-display: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Barlow', 'Segoe UI', Arial, sans-serif;
}

/* ---------- reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: var(--blue-600); text-decoration: none; }
a:hover { color: var(--navy-800); }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; color: var(--navy-900); line-height: 1.08; margin: 0 0 0.5em; }
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); letter-spacing: 0.005em; }
h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
h3 { font-size: 1.5rem; }
.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.14em;
  text-transform: uppercase; font-size: 0.82rem; color: var(--gold-deep);
  margin: 0 0 0.6em;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--gold); border-radius: 2px; }
.section { padding: 88px 0; }
.section--mist { background: var(--mist); }
.section-head { max-width: 720px; margin-bottom: 48px; }
.section-head p { color: var(--ink-soft); font-size: 1.06rem; }
.center { text-align: center; }
.center .eyebrow::before { display: none; }
.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;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em;
  text-transform: uppercase; font-size: 1.02rem;
  padding: 15px 30px; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  text-align: center; line-height: 1;
}
.btn:hover { transform: translateY(-2px); }
.btn .ico { font-size: 1.05em; }
.btn--gold { background: var(--gold); color: var(--navy-950); box-shadow: 0 8px 20px rgba(217, 166, 46, 0.35); }
.btn--gold:hover { background: var(--gold-bright); color: var(--navy-950); box-shadow: 0 10px 26px rgba(217, 166, 46, 0.45); }
.btn--navy { background: var(--navy-900); color: #fff; }
.btn--navy:hover { background: var(--navy-800); color: #fff; }
.btn--ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.55); }
.btn--ghost:hover { background: rgba(255, 255, 255, 0.12); color: #fff; }
.btn--outline { background: transparent; color: var(--navy-900); border-color: var(--navy-900); }
.btn--outline:hover { background: var(--navy-900); color: #fff; }
.btn--lg { padding: 18px 38px; font-size: 1.14rem; }

/* ---------- topbar ---------- */
.topbar {
  background: var(--navy-950); color: #c6d2e4; font-size: 0.86rem;
  padding: 9px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.topbar a { color: #eaf0fa; font-weight: 600; }
.topbar a:hover { color: var(--gold-bright); }
.topbar__left { display: flex; align-items: center; gap: 8px; }
.topbar__right { display: flex; align-items: center; gap: 20px; }
.topbar__sep { opacity: 0.35; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 60;
  background: var(--paper);
  box-shadow: 0 1px 0 var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-md); }
.site-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 78px; }
.brand { display: flex; align-items: center; }
.brand__tag { display: none; }
.brand img { height: 52px; width: auto; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav a.nav__link {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; font-size: 1.04rem; color: var(--navy-900);
  padding: 9px 14px; border-radius: 8px; transition: color 0.15s, background 0.15s;
}
.nav a.nav__link:hover { color: var(--blue-600); background: var(--mist); }
.nav a.nav__link[aria-current='page'] { color: var(--blue-600); }
.nav .nav__cta { margin-left: 10px; }
.nav .btn { padding: 11px 22px; font-size: 0.98rem; }
.nav__close { display: none; }
.nav__foot { display: none; }
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer; padding: 10px;
  width: 46px; height: 46px; border-radius: 10px;
}
.nav-toggle span { display: block; width: 24px; height: 2.5px; background: var(--navy-900); margin: 5px auto; border-radius: 2px; transition: 0.25s; }

/* ---------- hero slider (contained banner, content on top 3/5) ---------- */
.hero { position: relative; background: var(--navy-950); padding: 0 0 14px; }
.hero__stage {
  position: relative;
  aspect-ratio: 1200 / 350;   /* banner shown at true ratio — never stretched or cropped */
  overflow: hidden;
}
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0; opacity: 0;
  transform: translate3d(0, 0, 0);
  transition: opacity 1.25s ease, transform 1.9s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: opacity, transform;
}
/* slides wait off to alternating sides, so each change drifts in from a
   different edge while the outgoing one fades away */
.hero__slide:nth-child(odd) { transform: translate3d(2.4%, 0, 0); }
.hero__slide:nth-child(even) { transform: translate3d(-2.4%, 0, 0); }
.hero__slide img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.035);
  transition: transform 9s linear;
}
.hero__slide.is-active { opacity: 1; transform: translate3d(0, 0, 0); }
/* slow ambient push-in while the banner is on screen */
.hero__slide.is-active img { transform: scale(1.075) translate3d(-0.6%, 0, 0); }
/* gold hairline that fills over each 6s dwell (restarted by the slider JS) */
.hero__progress {
  position: absolute; left: 0; bottom: 0; width: 100%; height: 2px; z-index: 3;
  background: linear-gradient(90deg, rgba(217, 166, 46, 0.55), var(--gold-bright));
  transform: scaleX(0); transform-origin: 0 50%; opacity: 0.85; pointer-events: none;
}
.hero__progress.is-running { animation: heroProgress 6s linear forwards; }
@keyframes heroProgress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hero__scrim {
  position: absolute; inset: 0;
  /* dark only where the text sits (top) — the banner's own bottom-1/5 wording stays clear */
  background: linear-gradient(180deg, rgba(10, 22, 48, 0.78) 0%, rgba(10, 22, 48, 0.46) 40%, rgba(10, 22, 48, 0.1) 58%, rgba(10, 22, 48, 0) 70%);
}
.hero__content {
  position: absolute; inset: 0; z-index: 2;
  display: flex; flex-direction: column; justify-content: flex-start; align-items: flex-start;
  color: #fff; padding: clamp(22px, 3.6vw, 38px) 28px 0;
}
.hero__eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.16em;
  text-transform: uppercase; font-size: 0.82rem; color: var(--gold-bright);
  margin-bottom: 10px;
}
.hero__eyebrow::before { content: ''; width: 34px; height: 2px; background: var(--gold); }
.hero h1 { color: #fff; margin-bottom: 8px; font-size: clamp(1.8rem, 3.6vw, 2.85rem); }
.hero__tag { color: #dbe4f2; font-size: 1.05rem; max-width: 56ch; margin: 0; }
.hero__tag strong { color: #fff; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__actions .btn { padding: 12px 24px; font-size: 1rem; }
.hero__sub {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap; padding: 22px 0 6px;
}
.hero__sub .hero__tag { margin: 0; }
.hero__dots { position: relative; display: flex; gap: 10px; justify-content: center; padding: 16px 0 10px; }
.hero__dot {
  width: 30px; height: 4px; border-radius: 4px; border: 0; cursor: pointer;
  background: rgba(255, 255, 255, 0.35); transition: background 0.2s, transform 0.2s; padding: 0;
}
.hero__dot.is-active { background: var(--gold-bright); transform: scaleX(1.15); }

.lead { color: var(--ink); font-size: 1.22rem; font-weight: 500; }
.about-cta { margin-top: 26px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- intro ---------- */
.intro { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.intro__copy p { color: var(--ink-soft); font-size: 1.07rem; }
.intro__copy .lead { color: var(--ink); font-size: 1.22rem; font-weight: 500; }
.intro__chips { display: flex; flex-wrap: wrap; gap: 10px; margin: 6px 0 26px; }
.chip {
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.04em;
  font-size: 0.98rem; color: var(--navy-900); background: var(--mist);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px;
}
.chip--gold { background: var(--gold-soft); border-color: #ecd9a6; }
.intro__media { position: relative; }
.intro__media img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.intro__cap {
  position: absolute; left: 18px; bottom: 18px; right: 18px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(10, 22, 48, 0.86); color: #fff; border-radius: var(--radius-sm);
  padding: 14px 18px; backdrop-filter: blur(6px);
}
.intro__cap .who { font-family: var(--font-display); font-weight: 600; font-size: 1.12rem; letter-spacing: 0.03em; }
.intro__cap .who small { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.82rem; color: #b9c6da; letter-spacing: 0; }
.intro__cap a { color: var(--gold-bright); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.9rem; white-space: nowrap; }
.intro__cap a:hover { color: #fff; }

/* ---------- stats ---------- */
.stats { background: var(--navy-900); color: #d7e0ef; position: relative; overflow: hidden; }
.stats::before {
  content: ''; position: absolute; inset: 0; opacity: 0.06;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}
.stats__grid { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat { text-align: center; padding: 12px 8px; }
.stat__num { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.6rem, 4vw, 3.4rem); color: #fff; line-height: 1; }
.stat__num em { color: var(--gold-bright); font-style: normal; }
.stat__lbl { margin-top: 10px; font-size: 0.95rem; letter-spacing: 0.03em; color: #b9c6da; }
.stat__ico { font-size: 1.6rem; margin-bottom: 10px; }

/* ---------- reception gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
  /* mobile: drop the first lounge photo (caption #1) — two read better at
     this width; all three stay on desktop */
  @media (max-width: 820px) {
    .gallery figure:first-child { display: none; }
  }
.card-img { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); margin: 0; }
.card-img img { width: 100%; aspect-ratio: 16 / 11; object-fit: cover; transition: transform 0.6s ease; }
.card-img:hover img { transform: scale(1.05); }
.card-img__cap {
  position: absolute; inset: auto 0 0 0; padding: 34px 18px 14px;
  background: linear-gradient(transparent, rgba(10, 22, 48, 0.85));
  color: #fff; font-family: var(--font-display); font-weight: 600; font-size: 1.08rem; letter-spacing: 0.03em;
}

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--gold) 0%, var(--gold-bright) 60%, var(--gold) 100%); color: var(--navy-950); }
.cta-band__in { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { color: var(--navy-950); margin: 0 0 4px; }
.cta-band p { margin: 0; color: rgba(10, 22, 48, 0.8); font-weight: 500; }
.cta-band__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.review {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px; display: flex; flex-direction: column; gap: 14px;
  box-shadow: var(--shadow-sm); transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.review:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.review__stars { display: flex; gap: 3px; color: var(--gold); font-size: 1.05rem; letter-spacing: 1px; }
.review__text { margin: 0; flex: 1; color: var(--ink); font-size: 0.99rem; }
.review__text::before { content: '\201C'; font-family: var(--font-display); font-size: 1.4em; color: var(--gold); line-height: 0; position: relative; top: 6px; margin-right: 2px; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; flex: 0 0 auto;
  background: linear-gradient(135deg, var(--navy-700), var(--blue-600));
  color: #fff; display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 1.15rem;
}
.review__avatar--photo { background: var(--mist); overflow: hidden; padding: 0; }
.review__avatar--photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.review__name { font-weight: 600; color: var(--navy-900); line-height: 1.2; }
.review__date { font-size: 0.82rem; color: var(--ink-soft); }
.rating-badge {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--gold-soft); border: 1px solid #ecd9a6; color: var(--navy-900);
  border-radius: 999px; padding: 10px 18px; font-weight: 600; margin-top: 8px;
}
.rating-badge .stars { color: var(--gold); letter-spacing: 2px; }
.rating-badge small { font-weight: 400; color: var(--ink-soft); }
.reviews-foot { margin-top: 36px; text-align: center; }
.trustnote { font-size: 0.82rem; color: var(--ink-soft); margin-top: 14px; }
.trustnote a { color: var(--ink-soft); text-decoration: underline; }

/* long reviews: clamped to 9 lines with a Read more toggle (button injected by JS) */
.review__text.is-clamped {
  display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 9; overflow: hidden;
}
.review__more {
  align-self: flex-start; margin-top: 4px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--font-display); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  font-size: 0.84rem; color: var(--gold-deep);
}
.review__more:hover { color: var(--navy-800); text-decoration: underline; }

/* review carousel arrows/counter — mobile only */
.reviews-nav { display: none; }

/* ---------- page hero (interior) ---------- */
.page-hero { background: var(--navy-900); color: #d7e0ef; position: relative; overflow: hidden; }
.page-hero::before {
  content: ''; position: absolute; inset: 0; opacity: 0.05;
  background-image: radial-gradient(circle at 1px 1px, #fff 1px, transparent 0);
  background-size: 26px 26px;
}
.page-hero__in { position: relative; padding: 72px clamp(20px, 4.6vw, 50px) 76px; }
.page-hero h1 { color: #fff; margin-bottom: 6px; }
.page-hero .crumb { font-size: 0.9rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--gold-bright); font-family: var(--font-display); font-weight: 600; margin-bottom: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.page-hero .crumb a { color: #9fb0cb; }
.page-hero .crumb a:hover { color: #fff; }
.page-hero p.lede { color: #c3cfdf; max-width: 60ch; font-size: 1.1rem; }

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: 56px; align-items: start; }
.about-grid img { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 30px; }
.fact {
  background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 18px 20px; display: flex; gap: 14px; align-items: flex-start;
}
.fact .fact__ico { font-size: 1.5rem; line-height: 1; }
.fact h3 { margin: 0 0 3px; font-size: 1.16rem; }
.fact p { margin: 0; font-size: 0.92rem; color: var(--ink-soft); }
.photo-strip { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.photo-strip .card-img img { aspect-ratio: 4 / 3; }

/* ---------- map ---------- */
.map-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 40px; align-items: stretch; }
.map-card { background: var(--mist); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; }
.map-card h3 { margin-bottom: 4px; }
.map-addr { font-size: 1.12rem; font-weight: 600; color: var(--navy-900); margin: 0; }
.map-note { color: var(--ink-soft); font-size: 0.92rem; margin: 4px 0 20px; }
.map-contact {
  list-style: none; margin: 0 0 22px; padding: 14px 0 15px;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  display: grid; gap: 11px;
}
.map-contact li { display: flex; align-items: center; gap: 12px; font-size: 1rem; }
.map-contact .ic { width: 24px; text-align: center; font-size: 1.05rem; flex: 0 0 auto; }
.map-contact a { color: var(--navy-700); font-weight: 600; text-decoration: none; }
.map-contact a:hover { color: var(--gold-deep); }
.map-contact .plain { color: var(--ink-soft); }
.map-hours h4 {
  font-family: var(--font-display); font-weight: 700; font-size: 0.92rem;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-deep);
  margin: 0 0 8px;
}
.map-hours dl { margin: 0 0 24px; }
.map-hours .hr {
  display: flex; justify-content: space-between; align-items: baseline; gap: 14px;
  padding: 7px 0; border-bottom: 1px dashed rgba(96, 110, 134, 0.28);
}
.map-hours .hr:last-child { border-bottom: 0; }
.map-hours dt { color: var(--ink-soft); font-size: 0.95rem; }
.map-hours dd { margin: 0; font-weight: 600; color: var(--navy-900); white-space: nowrap; }
.map-hours .hr.is-today dt { color: var(--navy-900); font-weight: 700; }
.map-hours .hr.is-today dt::after {
  content: '· today'; color: var(--gold-deep); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.1em; font-weight: 700; margin-left: 7px;
}
.map-embed { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-md); }
.map-embed iframe { width: 100%; height: 100%; min-height: 540px; border: 0; display: block; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-950); color: #aebdd4; font-size: 0.98rem; }
.site-footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 44px; padding: 68px 24px 48px; }
.site-footer h3 { color: #fff; font-size: 1.28rem; margin-bottom: 18px; letter-spacing: 0.04em; }
.site-footer a { color: #aebdd4; }
.site-footer a:hover { color: var(--gold-bright); }
.site-footer__brand .f-logo { font-family: var(--font-display); font-weight: 700; font-size: 1.7rem; color: #fff; letter-spacing: 0.02em; margin-bottom: 12px; display: inline-block; }
.site-footer__brand .f-logo em { color: var(--gold-bright); font-style: normal; }
.site-footer__brand p { margin-bottom: 16px; max-width: 34ch; }
.f-tag { color: var(--gold-bright); font-family: var(--font-display); font-weight: 600; letter-spacing: 0.05em; text-transform: uppercase; font-size: 0.92rem; }
.f-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.f-list li { display: flex; gap: 10px; align-items: flex-start; }
.f-list .ic { color: var(--gold); font-size: 0.95rem; line-height: 1.5; width: 18px; text-align: center; }
/* footer hours: day flush left, time flush right, breathing room between */
.f-list .hr-row { display: flex; justify-content: space-between; align-items: baseline; gap: 18px; }
.f-list .hr-row .hr-day { color: #fff; font-weight: 600; }
.f-list .hr-row .hr-time { white-space: nowrap; color: var(--gold-bright); }
/* emoji icons in the brand palette: the platform-red phone/pin glyphs get
   rotated to the button-hover gold (--gold-bright) so the chrome is uniform */
.gold-emoji { display: inline-block; filter: hue-rotate(45deg) saturate(1.15) brightness(1.4); }
.site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.09);
  background: rgba(255, 255, 255, 0.035);   /* distinct band so the bar reads as visible chrome */
  padding: 22px 0;
  padding-bottom: calc(30px + env(safe-area-inset-bottom, 0px));  /* >=20px breathing room off the bottom edge (covers iPhone home bars) */
  font-size: 0.88rem; color: #9dabbf;        /* lighter than before — was near-invisible on navy */
}
.site-footer__bottom .container { display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; }

/* ---------- reveal (JS-guarded) ---------- */
html.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.7s ease, transform 0.7s ease; }
html.js .reveal.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .intro { grid-template-columns: 1fr; gap: 36px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .map-grid { grid-template-columns: 1fr; }
  .map-embed iframe { min-height: 380px; }
  .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .photo-strip { grid-template-columns: repeat(2, 1fr); }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 820px) {
  .nav {
    position: fixed; top: 78px; right: 0; bottom: 0; left: 0;
    background: linear-gradient(165deg, var(--navy-950) 0%, var(--navy-800) 100%);
    flex-direction: column; align-items: stretch;
    padding: 26px 28px 28px; gap: 2px;
    transform: translateX(100%); transition: transform 0.35s cubic-bezier(0.22, 0.9, 0.3, 1);
    z-index: 80; overflow-y: auto; margin: 0; box-shadow: 0 18px 40px rgba(10,22,48,0.35);
  }
  .nav.is-open { transform: none; }
  .nav__close {
    display: block; align-self: flex-end; width: 44px; height: 44px; margin: -6px -6px 8px 0;
    background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%; cursor: pointer; padding: 0; position: relative; flex: 0 0 auto;
  }
  .nav__close span {
    position: absolute; left: 10px; right: 10px; top: 50%; height: 2.5px; margin-top: -1px;
    background: #fff; border-radius: 2px;
  }
  .nav__close span:nth-child(1) { transform: rotate(45deg); }
  .nav__close span:nth-child(2) { transform: rotate(-45deg); }
  .nav a.nav__link {
    color: #eaf0fa; font-size: 1.65rem; padding: 15px 12px; border-radius: 12px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: space-between;
  }
  .nav a.nav__link::after { content: '\203A'; color: rgba(255,255,255,0.35); font-size: 1.3rem; }
  .nav a.nav__link:hover, .nav a.nav__link[aria-current='page'] { color: var(--gold-bright); background: rgba(255,255,255,0.06); }
  .nav a.nav__link[aria-current='page']::after { color: var(--gold-bright); }
  .nav .nav__cta { display: grid; gap: 12px; margin: 26px 0 0; width: 100%; }
  .nav .nav__cta .btn { width: 100%; padding: 17px 20px; font-size: 1.12rem; }
  .nav__foot {
    display: grid; gap: 6px; margin-top: auto; padding: 22px 12px 6px;
    border-top: 1px solid rgba(255,255,255,0.12);
    color: #9fb0cb; font-size: 0.92rem;
  }
  .nav__foot a { color: var(--gold-bright); font-weight: 600; }
  .nav__foot a:hover { color: #fff; }
  .nav-toggle { display: block; }
  /* while open the header toggle hides — the panel carries its own white X */
  .nav-toggle[aria-expanded='true'] { visibility: hidden; }
  .nav-toggle[aria-expanded='true'] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
  .nav-toggle[aria-expanded='true'] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded='true'] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }
  body.nav-locked { overflow: hidden; }
  /* intro photo caption: drop the "Browse the lot" link and thin the bar to a
     bottom gradient so the people in the photo stay visible */
  .intro__cap { left: 0; right: 0; bottom: 0; gap: 0; border-radius: 0 0 var(--radius) var(--radius);
    padding: 34px 16px 12px; background: linear-gradient(180deg, rgba(10,22,48,0) 0%, rgba(10,22,48,0.88) 78%); }
  .intro__cap a { display: none; }
  .intro__cap .who { font-size: 1.05rem; }
  .intro__cap .who small { font-size: 0.78rem; }
  /* topbar on phones: the call link lives in the header CTA, so hide it here —
     keeps the very top bar on a single line */
  .topbar__right a { display: none; }
}
@media (max-width: 820px) {
  /* content stacks ABOVE the banner on phones — no overlay, banner fully visible */
  .hero { padding: 0 0 40px; }
  .hero__stage { aspect-ratio: auto; overflow: visible; }
  .hero__content { position: static; padding: 34px 0 26px; }
  /* two-row headline: sizes the h1 so both rows fit the column — measured
     against the line widths (365px for row 2 at 1.8rem), cap at 1.8rem */
  .hero h1 { max-width: none; font-size: min(1.8rem, calc((100vw - 48px) * 0.0789)); }
  .hero__slides { position: relative; aspect-ratio: 1200 / 350; overflow: hidden; }
  .hero__scrim { display: none; }
  .hero__actions .btn { width: 100%; }

  /* reviews: one card per view, swipe or arrow through the rest */
  .reviews-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px;
    margin: 0 -24px; padding: 2px 24px 14px; scrollbar-width: none; scroll-behavior: smooth;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .reviews-grid .review { flex: 0 0 calc(100% - 48px); scroll-snap-align: center; }
  .reviews-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 16px; }
  .reviews-nav__btn {
    width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line);
    background: var(--paper); color: var(--navy-900); font-size: 1.15rem; cursor: pointer;
    display: grid; place-items: center; box-shadow: var(--shadow-sm);
  }
  .reviews-nav__btn:active { transform: scale(0.94); }
  .reviews-nav__count {
    font-family: var(--font-display); font-weight: 600; font-size: 1rem;
    letter-spacing: 0.08em; color: var(--ink-soft);
  }
}
@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .topbar { font-size: 0.74rem; padding: 8px 0; }
  .topbar__in { gap: 8px 12px; flex-wrap: wrap; justify-content: space-between; }
  .topbar__hours { display: none; }
  .topbar__left, .topbar__right { min-width: 0; }
  .gallery { grid-template-columns: 1fr; }
  .reviews-grid { grid-template-columns: 1fr; }
  .cta-band__in { justify-content: center; text-align: center; }
  .cta-band__actions { justify-content: center; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .hero__tag { font-size: 1rem; }
  .brand img { height: 42px; }
}
/* mobile: the brand stacks logo + tagline; the tagline fades in only once the
   page has scrolled half a screen or more (keeps the bar tidy at the top) */
@media (max-width: 820px) {
  .brand { flex-direction: column; align-items: center; gap: 1px; position: relative; }
  .brand__tag { display: block; position: absolute; top: calc(100% + 1px); left: 50%;
    transform: translateX(-50%); white-space: nowrap; }
  /* logo 15% larger (38→44px) and centered in the bar: 17px top/bottom/left */
  .brand img { height: 44px; }
  .site-header .container { padding-left: 17px; }
  /* lounge photos on phones: 10px wider each side to cut the surrounding white space */
  .gallery { margin: 0 -10px; }
  /* stat numbers: 6pt (0.5rem) smaller on phones so the four cards breathe */
  .stat__num { font-size: clamp(2.1rem, 3.4vw, 2.9rem); }
  .brand__tag {
    font-family: var(--font-display); font-weight: 600; font-size: 0.62rem;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright);
    white-space: nowrap; opacity: 0; transition: opacity 0.4s ease;
  }
  .site-header.is-tagged .brand__tag { opacity: 1; }
}
@media (max-width: 380px) {
  .topbar__in { flex-direction: column; align-items: center; gap: 3px; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001s !important; transition-duration: 0.001s !important; }
  html.js .reveal { opacity: 1; transform: none; }
}
