/* ==========================================================================
   Aesthetic Styling — landing page

   Palette source of truth: assets/aesthetic-styling-colors.css (brand package)
   Obsidian Black #050505 · Graphite Grey #2B2B2B · Steel Grey #8A8A8A
   Champagne Gold #C9A45C · Soft Platinum #E6E1D6

   Usage per the brand guidance:
   - Obsidian    dominant background / brand base
   - Champagne   signature accent, highlights, calls-to-action
   - Platinum    light contrast background / premium neutral
   - Graphite    secondary dark surface / supporting text
   - Steel       secondary text / dividers / subtle UI
   Every other shade is mixed from these five. All fills are flat and matte:
   no gradients, glows, blurs or shadows anywhere.
   ========================================================================== */

:root {
  /* Matte finish applied to every photo (defined as an SVG <filter id="matte"> in each page) */
  --photo-filter: url(#matte);

  /* Brand palette (aliases of the package variables) */
  --obsidian: var(--as-obsidian-black);
  --graphite: var(--as-graphite-grey);
  --steel: var(--as-steel-grey);
  --gold: var(--as-champagne-gold);
  --platinum: var(--as-soft-platinum);

  /* Derived flat dark surfaces: graphite blended into obsidian */
  --ink: color-mix(in srgb, var(--graphite) 10%, var(--obsidian));
  --panel: color-mix(in srgb, var(--graphite) 22%, var(--obsidian));
  --surface: color-mix(in srgb, var(--graphite) 55%, var(--obsidian));

  /* Hover tint for gold: champagne gold lifted toward platinum */
  --gold-hi: color-mix(in srgb, var(--gold) 40%, var(--platinum));

  --line: color-mix(in srgb, var(--steel) 28%, transparent);
  --line-gold: color-mix(in srgb, var(--gold) 38%, transparent);
  --text-dim: color-mix(in srgb, var(--platinum) 70%, transparent);

  --serif: "Cormorant Garamond", "Times New Roman", serif;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --max: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --nav-h: 84px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav-h) + 12px);
  color-scheme: dark;
}

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

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p, blockquote, dl, dd, figure { margin: 0; }
button { font: inherit; }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 4px; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 200;
  padding: 10px 16px;
  background: var(--gold);
  color: var(--obsidian);
  font-size: 13px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip:focus { top: 16px; }

.ico { width: 16px; height: 16px; flex: none; }

/* --- Shared type ---------------------------------------------------------- */

.gold-text { color: var(--gold); font-style: italic; }

.label {
  display: inline-block;
  position: relative;
  padding-bottom: 12px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--steel);
}
.label::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 1px;
  background: var(--gold);
}
.label--center { display: block; text-align: center; }
.label--center::after { left: 50%; transform: translateX(-50%); }

.h2 {
  margin-top: 18px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 4.8vw, 3.9rem);
  line-height: 1.06;
  letter-spacing: -0.005em;
}
.h2--md { font-size: clamp(2rem, 3.6vw, 3.05rem); }
.h2--sm { font-size: clamp(1.7rem, 2.6vw, 2.2rem); margin-top: 0; }
.h2--center { text-align: center; }

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section {
  position: relative;
  padding-block: clamp(88px, 11vw, 160px);
}
.section--panel {
  background: var(--panel);
  border-block: 1px solid var(--line);
}

/* Light contrast section: Soft Platinum ground, Obsidian type, Graphite for supporting text.
   Re-pointing --line / --text-dim here lets every child rule adapt without extra overrides. */
.section--light {
  --line: color-mix(in srgb, var(--graphite) 20%, transparent);
  --text-dim: var(--graphite);
  background: var(--platinum);
  color: var(--obsidian);
}
.section--light .label { color: var(--graphite); }
.section--light .gold-text { color: color-mix(in srgb, var(--gold) 55%, var(--obsidian)); }

.section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px 64px;
  flex-wrap: wrap;
  margin-bottom: clamp(44px, 6vw, 76px);
}
.section__head--stack { display: block; }

/* --- Buttons -------------------------------------------------------------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 17px 32px;
  border: 1px solid transparent;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}
.btn--sm { padding: 12px 22px; font-size: 11px; }

.btn--gold { color: var(--obsidian); background: var(--gold); }
.btn--gold:hover { background: var(--gold-hi); }

.btn--ghost { color: var(--platinum); border-color: var(--platinum); }
.btn--ghost:hover { border-color: var(--gold); color: var(--gold); }

.btn--light { color: var(--obsidian); background: var(--platinum); }
.btn--light:hover { background: var(--gold); }

.btn--dark { color: var(--platinum); background: var(--obsidian); }
.btn--dark:hover { background: var(--graphite); }

.btn--outline-gold { color: var(--gold); border-color: var(--gold); background: transparent; }
.btn--outline-gold:hover { background: var(--gold); color: var(--obsidian); }

/* --- Header / nav --------------------------------------------------------- */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-h);
  background: var(--obsidian);
  border-bottom: 1px solid var(--line);
}
.nav__inner {
  position: relative;
  height: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
  display: flex;
  align-items: center;
  gap: 24px;
}

.brand { display: inline-flex; align-items: center; gap: 14px; }
.brand img { width: 56px; height: 56px; border-radius: 50%; }
.brand__text { display: flex; flex-direction: column; gap: 5px; }
.brand__loc {
  font-size: 10px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}
.brand__name {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a {
  position: relative;
  padding: 6px 0;
  white-space: nowrap;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--platinum) 78%, transparent);
  transition: color 0.2s;
}
.nav__links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav__links a:hover { color: var(--platinum); }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__links a[aria-current="page"] { color: var(--platinum); }
.nav__links a[aria-current="page"]::after { transform: scaleX(1); }
.nav__links-cta { display: none; }

/* Services dropdown (desktop): opens on hover or keyboard focus, flat panel */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__parent { display: inline-flex; align-items: center; }
.nav__caret { width: 8px; height: 5px; margin-left: 9px; transition: transform 0.2s ease; }
.nav__item:hover .nav__caret,
.nav__item:focus-within .nav__caret { transform: rotate(180deg); }
.nav__sub {
  position: absolute;
  top: 100%;
  left: -22px;
  z-index: 5;
  min-width: 250px;
  padding-top: 28px; /* invisible bridge so the panel stays open while the pointer crosses the gap */
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.18s ease, visibility 0s linear 0.18s;
}
.nav__item:hover .nav__sub,
.nav__item:focus-within .nav__sub { visibility: visible; opacity: 1; transition-delay: 0s; }
.nav__item.is-closed .nav__sub { visibility: hidden; opacity: 0; }
.nav__sub ul {
  padding: 8px 0;
  background: var(--obsidian);
  border: 1px solid var(--line);
  border-top: 2px solid var(--gold);
}
.nav__links .nav__sub a { display: block; padding: 13px 24px; font-size: 11px; }
.nav__links .nav__sub a::after { display: none; }
.nav__links .nav__sub a:hover { color: var(--gold); background: var(--ink); }

.nav__toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--platinum);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: currentColor;
  transition: transform 0.25s ease, opacity 0.2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* --- Hero (looping video) ------------------------------------------------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: center;
  min-height: clamp(560px, calc(100svh - var(--nav-h)), 880px);
  padding: 72px var(--gutter);
  background: var(--obsidian);
}
.hero__video {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* Flat tint so type stays legible over footage (only once a video is playing) */
.hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--obsidian) 62%, transparent);
}

.hero__inner {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
}

.eyebrow {
  margin-bottom: 30px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: var(--gold);
}

.hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.2rem, 12vw, 6.4rem);
  line-height: 1;
  letter-spacing: -0.015em;
}
.hero__line { display: block; white-space: nowrap; }
.hero__title em { padding-bottom: 0.08em; }

.hero__lead {
  max-width: 500px;
  margin-top: 32px;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.85;
  color: color-mix(in srgb, var(--platinum) 88%, transparent);
}

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }

/* Calmer, centered home hero */
.hero__inner { text-align: center; }
.hero__inner .hero__lead { margin-inline: auto; }
.hero__where {
  margin-top: 26px;
  font-size: 11.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--platinum) 78%, transparent);
}
.hero__sep { margin-inline: 0.9em; color: var(--gold); }
.hero__inner .hero__cta { justify-content: center; align-items: center; gap: 18px 36px; margin-top: 38px; }
.textlink {
  padding-bottom: 6px;
  border-bottom: 1px solid var(--line-gold);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  transition: color 0.2s, border-color 0.2s;
}
.textlink:hover { color: var(--gold); border-color: var(--gold); }

.hero__toggle {
  position: absolute;
  right: var(--gutter);
  bottom: 24px;
  display: none;
  padding: 10px 16px;
  border: 1px solid var(--line-gold);
  background: var(--obsidian);
  color: var(--platinum);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.hero__toggle:hover { border-color: var(--gold); color: var(--gold); }
.hero.has-video .hero__toggle { display: block; }

/* --- Media slots (photo / video placeholders until real assets are added) -- */

.media {
  position: relative;
  overflow: hidden;
  display: grid;
  place-items: center;
  align-content: center;
  gap: 14px;
  background: var(--surface);
}
.media::before {
  content: "";
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: url("assets/logo-sm.webp") center / contain no-repeat;
  opacity: 0.22;
}
.media::after {
  content: attr(data-slot);
  max-width: 90%;
  text-align: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
}
.media img {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: var(--photo-filter);
}

/* --- Services index (editorial list) -------------------------------------- */

.svc__list { margin-top: clamp(32px, 4vw, 56px); border-top: 1px solid var(--line); }
.svc__item { border-bottom: 1px solid var(--line); }
.svc__item a {
  display: grid;
  grid-template-columns: 56px minmax(0, 1.4fr) minmax(0, 1fr) 40px;
  align-items: center;
  gap: 12px 28px;
  padding: clamp(24px, 3vw, 40px) 0;
  transition: padding-left 0.3s ease;
}
.svc__num { font-family: var(--serif); font-size: 15px; font-weight: 500; letter-spacing: 0.3em; color: var(--graphite); }
.svc__name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.05;
  letter-spacing: -0.005em;
  transition: color 0.25s ease;
}
.svc__desc { font-size: 14.5px; line-height: 1.7; color: var(--text-dim); }
.svc__arrow {
  justify-self: end;
  font-size: 22px;
  color: color-mix(in srgb, var(--gold) 55%, var(--obsidian));
  transition: transform 0.3s ease;
}
.svc__item a:hover { padding-left: 12px; }
.svc__item a:hover .svc__name { color: color-mix(in srgb, var(--gold) 55%, var(--obsidian)); }
.svc__item a:hover .svc__arrow { transform: translateX(6px); }

/* --- Intro (centered editorial statement) ---------------------------------- */

.intro__center { text-align: center; }
/* intro and the services list share one light band: don't double the padding between them */
.intro { padding-bottom: clamp(56px, 6vw, 88px); }
.svc { padding-top: clamp(24px, 3vw, 48px); }
.intro__title {
  max-width: 980px;
  margin: 22px auto 0;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.08;
  text-wrap: balance;
}
.intro__text { max-width: 600px; margin: 28px auto 0; font-size: 16px; line-height: 1.95; color: var(--text-dim); }
.intro__text + .intro__text { margin-top: 18px; }

/* --- Split sections (full-bleed, alternating) ----------------------------- */

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  min-height: 680px; /* shared by every split so the photo areas are identical in size */
  background: var(--obsidian);
  border-top: 1px solid var(--line);
}
.split.section--light { background: var(--platinum); }

.split__text {
  display: flex;
  align-items: center;
  padding-block: clamp(40px, 5vw, 96px);
  padding-left: max(var(--gutter), calc((100vw - var(--max)) / 2));
  padding-right: clamp(32px, 5vw, 80px);
}
.split--flip .split__text {
  padding-left: clamp(32px, 5vw, 80px);
  padding-right: max(var(--gutter), calc((100vw - var(--max)) / 2));
}
.split--flip .split__media { order: -1; }
.split__inner { max-width: 520px; }
.split__inner p:not(.label) {
  margin-top: 22px;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dim);
}
.split__media { min-height: 360px; }
#coatings .media img { object-position: 78% 50%; } /* landscape source: keep both hands and the bottle in frame */
#ppf .media img { object-position: 72% 50%; }      /* landscape source: keep the film edge, both hands and the squeegee in frame */
#tint .media img { object-position: 100% 50%; }    /* landscape source: keep the technician and the door window in frame */

.checks { margin-top: 28px; display: grid; gap: 12px; }
.checks li {
  position: relative;
  padding-left: 24px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: color-mix(in srgb, var(--platinum) 85%, transparent);
}
.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

/* Details that need a light-band variant */
.section--light .checks li { color: var(--obsidian); }
.section--light .step__dot { background: var(--platinum); }
.section--light .step__num { color: var(--graphite); }

/* --- The Standard --------------------------------------------------------- */

.quote {
  position: relative;
  max-width: 980px;
  margin: 44px auto 0;
  text-align: center;
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2rem, 4.4vw, 3.6rem);
  line-height: 1.16;
}
.quote__mark {
  display: block;
  height: 0.45em;
  margin-bottom: 0.18em;
  font-size: 2.6em;
  line-height: 0.8;
}
.quote em { padding-right: 0.06em; }

/* The three principles, as one quiet line under the quote */
.principles {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 0;
  margin-top: clamp(28px, 3.5vw, 44px);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-dim);
}
.principles li { white-space: nowrap; }
.principles li + li::before {
  content: "";
  display: inline-block;
  width: 4px;
  height: 4px;
  margin: 0 22px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

/* The process shares the Standard's section; the hairline above it takes the place of the old pillar rule */
.process {
  margin-top: clamp(56px, 7vw, 96px);
  padding-top: clamp(56px, 7vw, 96px);
  border-top: 1px solid var(--line);
}

/* --- The Garage (gallery) ------------------------------------------------- */

.gallery { background: var(--obsidian); padding-bottom: clamp(40px, 5vw, 72px); }   /* the Contact panel follows, with its own generous top padding */
.gallery__head {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(24px, 5vw, 80px);
  align-items: end;
  margin-bottom: clamp(56px, 7vw, 104px);
}
.gallery__lead {
  max-width: 420px;
  justify-self: end;
  font-size: 16px;
  line-height: 1.9;
  color: var(--text-dim);
}

/* Editorial collage on a 12-column grid of square cells (--c), so tiles snap to shared edges with
   small even gutters. A feature block leads (bay, cleaning supplies, towels), then three bands follow,
   the first led by the shop overview.
   Where a tile overlaps its neighbour it tucks half a column over it. Photo crops come from
   object-position (set inline on each image). */
.collage {
  --g: clamp(10px, 1.4vw, 20px);
  --c: calc((min(100vw - 2 * var(--gutter), var(--max)) - 11 * var(--g)) / 12);   /* fallback: viewport based */
  --tuck: calc(var(--c) * -0.5);
  list-style: none;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  grid-auto-rows: var(--c);
  gap: var(--g);
}
@supports (width: 1cqw) {
  .gallery .container { container-type: inline-size; }
  .collage { --c: calc((100cqw - 11 * var(--g)) / 12); }                           /* exact: the container's width */
}
.collage__item { position: relative; min-width: 0; min-height: 0; }
.collage__item .media { width: 100%; height: 100%; }

/* Feature block (rows 1-6): the bay, with the cleaning supplies and towels stacked beside it */
.collage__item--bay      { grid-column: 1 / 9;  grid-row: 1 / 7;   --ratio: 16 / 9; }
.collage__item--products { grid-column: 9 / 13; grid-row: 1 / 4;   --ratio: 3 / 2;  margin-left: var(--tuck); z-index: 2; }
.collage__item--towels   { grid-column: 9 / 13; grid-row: 4 / 7;   --ratio: 3 / 2;  margin-left: var(--tuck); z-index: 2; }
/* Band 1 (rows 7-12): mirrors the feature block. Two lounge views stack on the left and the shop overview,
   a second hero, tucks over them on the right */
.collage__item--pumpkins { grid-column: 1 / 7;  grid-row: 7 / 10;  --ratio: 3 / 2; }
.collage__item--cafe     { grid-column: 1 / 7;  grid-row: 10 / 13; --ratio: 3 / 2; }
.collage__item--overview { grid-column: 7 / 13; grid-row: 7 / 13;  --ratio: 1 / 1;  margin-left: var(--tuck); z-index: 2; }
/* Band 2 (rows 13-16): the books sit between the two motorcycle photos; widths 3 / 5 / 4 */
.collage__item--moto     { grid-column: 1 / 4;  grid-row: 13 / 17; --ratio: 3 / 4; }
.collage__item--books    { grid-column: 4 / 9;  grid-row: 13 / 17; --ratio: 4 / 3; }
.collage__item--moto2    { grid-column: 9 / 13; grid-row: 13 / 17; --ratio: 1 / 1; }
/* Band 3 (rows 17-20): the shelf tucked over the leather lounge */
.collage__item--shelf    { grid-column: 1 / 8;  grid-row: 17 / 21; --ratio: 16 / 9; margin-right: var(--tuck); z-index: 2; }
.collage__item--lounge   { grid-column: 8 / 13; grid-row: 17 / 21; --ratio: 3 / 2; }
/* flat edge where a tile overlaps its neighbour */
.collage__item--products .media, .collage__item--towels .media, .collage__item--overview .media, .collage__item--shelf .media {
  outline: calc(var(--g) * 0.6) solid var(--obsidian);
}
.gallery__link { cursor: zoom-in; }
.gallery__link:focus-visible { outline: 2px solid var(--gold); outline-offset: -2px; }

/* Photo viewer */
html:has(.lightbox[open]) { overflow: hidden; }   /* the page stops scrolling exactly while the viewer is open */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 72px var(--gutter) 56px;
  border: 0;
  background: transparent;
  color: var(--platinum);
}
.lightbox[open] { display: grid; place-items: center; }
.lightbox::backdrop { background: color-mix(in srgb, var(--obsidian) 98%, transparent); }
.lightbox__figure { margin: 0; display: grid; justify-items: center; max-width: 100%; }
.lightbox__img {
  display: block;
  width: auto;
  height: auto;
  max-width: min(100%, 1500px);
  max-height: calc(100vh - 140px);
  object-fit: contain;
  filter: var(--photo-filter);
}
.lightbox__btn {
  position: absolute;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid color-mix(in srgb, var(--platinum) 28%, transparent);
  background: var(--obsidian);
  color: var(--platinum);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lightbox__btn .ico { width: 20px; height: 20px; }
.lightbox__btn:hover, .lightbox__btn:focus-visible { border-color: var(--gold); color: var(--gold); }
.lightbox__close { top: 20px; right: var(--gutter); }
.lightbox__prev  { left: var(--gutter);  top: 50%; transform: translateY(-50%); }
.lightbox__next  { right: var(--gutter); top: 50%; transform: translateY(-50%); }

/* --- Process -------------------------------------------------------------- */


.steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 32px;
}
.steps::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--line);
}
.step { position: relative; padding-top: 44px; }
.step__dot {
  position: absolute;
  top: 0;
  left: 0;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  background: var(--obsidian);
}
.step__dot::after {
  content: "";
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold);
}
.step__num {
  display: block;
  margin-bottom: 14px;
  font-family: var(--serif);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--steel);
}
.step h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 1.75rem;
  line-height: 1.12;
}
.step p {
  margin-top: 14px;
  max-width: 270px;
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--text-dim);
}

/* --- Contact -------------------------------------------------------------- */

.contact__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(44px, 7vw, 110px);
  align-items: start;
}
.contact__lead {
  max-width: 460px;
  margin-top: 26px;
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--text-dim);
}
.details { margin-top: 48px; border-top: 1px solid var(--line); }
.details > div { display: flex; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.details dt {
  flex: 0 0 110px;
  padding-top: 3px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--steel);
}
.details dd { font-size: 15px; color: var(--platinum); }
.details a { border-bottom: 1px solid var(--line-gold); transition: color 0.2s, border-color 0.2s; }
.details a:hover { color: var(--gold-hi); border-color: var(--gold); }

.formwrap {
  position: relative;
  padding: clamp(28px, 4vw, 52px);
  border: 1px solid var(--line);
  background: var(--obsidian);
}
/* gold corner brackets */
.formwrap::before, .formwrap::after {
  content: "";
  position: absolute;
  width: 26px;
  height: 26px;
  border: 1px solid var(--gold);
  pointer-events: none;
}
.formwrap::before { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.formwrap::after  { right: -1px; bottom: -1px; border-left: 0; border-top: 0; }

.form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}
.form__note { grid-column: 1 / -1; font-size: 12px; color: var(--steel); margin-bottom: -8px; }
.field { display: grid; gap: 4px; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--steel);
  transition: color 0.2s;
}
.field:focus-within label { color: var(--gold); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 10px 0 12px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--platinum) 22%, transparent);
  border-radius: 0;
  background: transparent;
  color: var(--platinum);
  font-family: var(--sans);
  font-size: 16px;
  transition: border-color 0.25s ease;
}
.field input::placeholder { color: color-mix(in srgb, var(--platinum) 28%, transparent); }
.field textarea { resize: vertical; min-height: 96px; }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-bottom-color: var(--gold); }
/* error state: the one functional colour outside the brand palette */
.field input:user-invalid { border-bottom-color: #b5524a; }

.field select {
  appearance: none;
  -webkit-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'><path d='M0 0h10L5 6z' fill='%23C9A45C'/></svg>");
  background-position: right 2px center;
  background-repeat: no-repeat;
}
.field select option { background: var(--panel); color: var(--platinum); }

.form__foot { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; margin-top: 4px; }
.form__status { font-size: 14px; color: var(--gold-hi); }
.form__status:empty { display: none; }
.form__status.is-error { color: #e0877f; }

/* --- Subpage hero (photo) ------------------------------------------------- */

.page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: grid;
  align-items: end;
  min-height: clamp(460px, 62vh, 660px);
  padding: 96px var(--gutter) clamp(40px, 6vw, 72px);
  background: var(--obsidian);
}
.page-hero__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 62%; /* keeps both shop signs in frame */
  filter: var(--photo-filter);
}
/* Flat tint so the type stays legible over the photo */
.page-hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: color-mix(in srgb, var(--obsidian) 56%, transparent);
}
.page-hero__inner { width: 100%; max-width: var(--max); margin-inline: auto; }
.page-hero__title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(2.6rem, 9vw, 5.6rem);
  line-height: 1;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
.page-hero__lead {
  max-width: 520px;
  margin-top: 26px;
  font-size: clamp(15.5px, 1.4vw, 17.5px);
  line-height: 1.85;
  color: color-mix(in srgb, var(--platinum) 90%, transparent);
}
.page-hero .hero__cta { margin-top: 36px; }

/* --- Map ------------------------------------------------------------------ */

.map__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 28px 48px;
  margin-bottom: clamp(28px, 4vw, 48px);
}
.map__addr { margin-top: 14px; font-size: 15px; color: var(--text-dim); }
.map__actions { display: flex; flex-wrap: wrap; gap: 14px; }
.map__frame { border: 1px solid var(--line); background: var(--surface); }
.map__frame iframe {
  display: block;
  width: 100%;
  height: clamp(360px, 46vw, 580px);
  border: 0;
}

/* --- Footer --------------------------------------------------------------- */

.footer { background: var(--ink); border-top: 1px solid var(--line); }
.footer__grid {
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin-inline: auto;
  padding: clamp(48px, 6vw, 80px) var(--gutter);
  display: grid;
  grid-template-columns: 1.3fr repeat(3, minmax(0, 1fr));
  gap: 40px;
}
.footer__brand p {
  margin-top: 18px;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--steel);
}
.footer__col h3 {
  margin-bottom: 18px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.footer__col ul { display: grid; gap: 11px; }
.footer__col li { font-size: 14px; color: var(--text-dim); }
.footer__col a { transition: color 0.2s; }
.footer__col a:hover { color: var(--platinum); }
.footer__ig { display: inline-flex; align-items: center; gap: 9px; }
.footer__ig .ico { color: var(--gold); }

.footer__bar { border-top: 1px solid var(--line); padding: 22px var(--gutter); }
.footer__bar p {
  max-width: var(--max);
  margin-inline: auto;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--steel);
}

/* --- Reveal-on-scroll (only hidden when JS is running) -------------------- */

.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.7, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.7, 0.2, 1);
  transition-delay: var(--d, 0s);
}
.js .reveal.is-in { opacity: 1; transform: none; }

/* --- Responsive ----------------------------------------------------------- */

/* The full nav (four links + button) fits down to ~1080px; below that it collapses to a menu */
@media (max-width: 1080px) {
  .nav__toggle { display: flex; }
  .nav__cta { margin-left: auto; }
  .nav__links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 0;
    padding: 12px var(--gutter) 24px;
    flex-direction: column;
    gap: 0;
    background: var(--obsidian);
    border-bottom: 1px solid var(--line);
  }
  .nav.is-open .nav__links { display: flex; }
  .nav__links a { padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 12px; }
  .nav__links a::after { display: none; }
  .nav__item { display: block; }
  .nav__parent { display: flex; }
  .nav__caret, .nav__sub { display: none; }
}

@media (max-width: 1100px) {
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .steps::before { display: none; }
  .step { border-top: 1px solid var(--line-gold); padding-top: 40px; }
  .step__dot { top: -8px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
  .hero { align-items: start; padding-top: 56px; }
  .split { grid-template-columns: 1fr; min-height: 0; }
  .split__media, .split--flip .split__media { order: -1; min-height: 0; aspect-ratio: 16 / 10; }
  .split__text, .split--flip .split__text { padding: 48px var(--gutter) 64px; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  :root { --nav-h: 72px; }
  .svc__item a { grid-template-columns: 36px minmax(0, 1fr) 28px; gap: 6px 14px; }
  .svc__num { grid-column: 1; grid-row: 1; }
  .svc__name { grid-column: 2; grid-row: 1; }
  .svc__arrow { grid-column: 3; grid-row: 1; }
  .svc__desc { grid-column: 2; grid-row: 2; }
  .page-hero__veil { background: color-mix(in srgb, var(--obsidian) 66%, transparent); }
  .brand img { width: 46px; height: 46px; }
  .brand__name { font-size: 16px; letter-spacing: 0.16em; }
}

@media (max-width: 760px) {
  .gallery__head { grid-template-columns: 1fr; gap: 20px; }
  .gallery__lead { justify-self: start; }
  .collage { grid-template-columns: 1fr; grid-auto-rows: auto; gap: 12px; }
  .collage > li { grid-column: 1; grid-row: auto; margin-left: 0; margin-right: 0; }   /* flow in order, drop the desktop placement */
  .collage__item .media { height: auto; aspect-ratio: var(--ratio); }
  .collage__item--bay, .collage__item--overview, .collage__item--shelf { width: 100%; }
  .collage__item--products, .collage__item--pumpkins, .collage__item--moto, .collage__item--moto2 { justify-self: end; }     /* tiles alternate between */
  .collage__item--towels, .collage__item--cafe, .collage__item--books, .collage__item--lounge { justify-self: start; }       /* the right and left edge  */
  .collage__item--products, .collage__item--pumpkins, .collage__item--towels, .collage__item--cafe, .collage__item--lounge { width: 86%; }
  .collage__item--moto2, .collage__item--books { width: 76%; }
  .collage__item--moto { width: 68%; }
  .collage__item .media { outline: 0 !important; }
  .lightbox { padding: 64px 12px 48px; }
  .lightbox__prev, .lightbox__next { top: auto; bottom: 20px; transform: none; }
  .lightbox__prev { left: calc(50% - 56px); }
  .lightbox__next { right: calc(50% - 56px); }
}

@media (max-width: 560px) {
  .nav__inner { gap: 12px; }
  .brand { gap: 10px; }
  .brand__name { font-size: 14px; letter-spacing: 0.12em; }
  .brand__loc { font-size: 9px; letter-spacing: 0.26em; }
  .brand img { width: 40px; height: 40px; }
  .nav__cta { display: none; }
  .nav__toggle { margin-left: auto; }
  .nav__links-cta { display: block; color: var(--gold) !important; }
  .eyebrow { font-size: 10.5px; letter-spacing: 0.26em; margin-bottom: 24px; }
  .hero__street, .hero__city { display: block; }
  .hero__sep { display: none; }
  .hero__where { line-height: 2; }
  .hero__cta .btn { flex: 1 1 100%; }
  .steps { grid-template-columns: 1fr; }
  .principles { flex-direction: column; align-items: center; gap: 12px; }
  .principles li + li::before { display: none; }
  .form { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; }
  .details > div { flex-direction: column; gap: 4px; }
  .details dt { flex: none; padding-top: 0; }
  .hero__toggle { right: var(--gutter); bottom: 16px; }
}

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