/* ==========================================================================
   Select Tiles and Bathrooms · v1
   1. Design tokens (locked)   2. Base   3. Layout   4. Components
   5. Hero + mosaic            6. Sections            7. Motion + a11y
   ========================================================================== */

/* 1. DESIGN TOKENS ------------------------------------------------------- */

@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin-wght-normal.woff2") format("woff2");
  font-weight: 200 800; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Newsreader";
  src: url("../assets/fonts/newsreader-latin-wght-italic.woff2") format("woff2");
  font-weight: 200 800; font-style: italic; font-display: swap;
}
@font-face {
  font-family: "Hanken Grotesk";
  src: url("../assets/fonts/hanken-grotesk-latin-wght-normal.woff2") format("woff2");
  font-weight: 100 900; font-style: normal; font-display: swap;
}

:root {
  /* type */
  --font-serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --font-sans: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  /* warm stone neutrals */
  --stone-50: #FAF7F2;
  --stone-100: #F3EEE6;
  --stone-200: #E7DFD3;
  --stone-300: #CFC5B6;
  --stone-600: #625849;   /* muted text: 6.5:1 on stone-50 */
  --ink: #231F1A;         /* 15.3:1 on stone-50 */

  /* deep teal accent */
  --teal-100: #D8E8E5;
  --teal-700: #1F5F5B;    /* 6.9:1 on stone-50 */
  --teal-800: #174A47;
  --teal-900: #10393A;

  /* terracotta: the booking button, and nothing else */
  --terracotta: #A64B2A;       /* white text 5.7:1 */
  --terracotta-hover: #8F3F22; /* white text 7.2:1 */

  --focus: var(--teal-700);

  /* 8px grid */
  --u: 8px;
  --s1: 8px;  --s2: 16px; --s3: 24px; --s4: 32px;
  --s5: 40px; --s6: 48px; --s8: 64px; --s12: 96px;
  --gap-section: 64px;   /* between sections, mobile */
  --pad-band: 48px;      /* inside tinted bands, mobile */
  --gutter: 24px;
  --header-h: 64px;
  --radius: 4px;
  --maxw: 1280px;
}
@media (min-width: 900px) {
  :root { --gap-section: 96px; --pad-band: 64px; --gutter: 48px; --header-h: 72px; }
}

/* 2. BASE ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--stone-50);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.125rem;      /* 18 */
  line-height: 1.75rem;     /* 28 */
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, address { margin: 0; padding: 0; }
ul, ol { list-style: none; }
address { font-style: normal; }
a { color: inherit; }
button { font: inherit; color: inherit; }

h1, h2, h3 { font-family: var(--font-serif); font-weight: 400; color: var(--ink); text-wrap: balance; }
h1 { font-size: clamp(2.5rem, 1.5rem + 4.4vw, 4rem); line-height: 1.06; letter-spacing: -0.015em; }
h2 { font-size: clamp(2rem, 1.4rem + 2.6vw, 3.25rem); line-height: 1.1; letter-spacing: -0.01em; }
h3 { font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
p { text-wrap: pretty; }

.eyebrow {
  font-size: 0.875rem; line-height: 1.5rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase; color: var(--teal-700);
  margin-bottom: var(--s2);
}
.lead { font-size: 1.25rem; line-height: 2rem; color: var(--ink); max-width: 36ch; }

:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; border-radius: 2px; }
.sr-only {
  position: absolute !important; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: var(--s2); top: -64px; z-index: 100;
  background: var(--ink); color: var(--stone-50); padding: var(--s1) var(--s2);
  border-radius: var(--radius); transition: top .15s;
}
.skip-link:focus { top: var(--s2); }

/* 3. LAYOUT -------------------------------------------------------------- */

.wrap { width: min(100% - 2 * var(--gutter), var(--maxw)); margin-inline: auto; }
.section { margin-top: var(--gap-section); scroll-margin-top: calc(var(--header-h) + var(--s2)); }

/* header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 242, 0.92);
  -webkit-backdrop-filter: saturate(1.2) blur(10px); backdrop-filter: saturate(1.2) blur(10px);
  border-bottom: 1px solid var(--stone-200);
}
.site-header__inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: var(--s2); }
.site-nav { display: none; margin-left: auto; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 1rem; padding: var(--s1) var(--s2); border-radius: var(--radius); }
.site-nav a:hover { background: var(--stone-100); }
@media (min-width: 900px) { .site-nav { display: flex; gap: var(--s1); } }

.wordmark { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.wordmark__mark { display: grid; grid-template: 1fr 1fr / 1fr 1fr; gap: 2px; width: 28px; height: 28px; }
.wordmark__mark i { display: block; background: var(--teal-700); }
.wordmark__mark i:nth-child(2), .wordmark__mark i:nth-child(3) { background: var(--stone-300); }
.wordmark__text { display: flex; flex-direction: column; gap: 4px; }
.wordmark__name { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1; font-weight: 500; letter-spacing: -0.01em; }
.wordmark__sub { font-size: 0.6875rem; line-height: 1; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-600); white-space: nowrap; }
@media (min-width: 900px) { .wordmark__sub { font-size: 0.75rem; letter-spacing: 0.16em; } }
@media (max-width: 359px) { .wordmark__sub { display: none; } }
.wordmark--light .wordmark__mark i { background: var(--stone-100); }
.wordmark--light .wordmark__mark i:nth-child(2), .wordmark--light .wordmark__mark i:nth-child(3) { background: var(--teal-700); }
.wordmark--light .wordmark__name { color: var(--stone-50); }
.wordmark--light .wordmark__sub { color: var(--stone-300); }

/* 4. COMPONENTS ---------------------------------------------------------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; text-align: center;
  min-height: 48px; padding: 0 var(--s3);
  font-weight: 600; font-size: 1rem; letter-spacing: 0.01em; text-decoration: none;
  border: 2px solid transparent; border-radius: var(--radius); cursor: pointer; white-space: nowrap;
  transition: background-color .15s, color .15s, border-color .15s;
}
.btn-sm { min-height: 44px; padding: 0 var(--s2); }
.btn-block { width: 100%; }
/* terracotta is reserved for the booking button */
.btn-book { background: var(--terracotta); color: #fff; }
.btn-book:hover { background: var(--terracotta-hover); }
.btn-ghost { border-color: var(--teal-700); color: var(--teal-700); background: transparent; }
.btn-ghost:hover { background: var(--teal-100); }
.btn-ghost-light { border-color: var(--stone-300); color: var(--stone-50); background: transparent; }
.btn-ghost-light:hover { background: rgba(255, 255, 255, 0.1); }
.btn-row { display: flex; flex-wrap: wrap; gap: var(--s2); }
.btn-row--center { justify-content: center; }

.status {
  display: inline-flex; align-items: center; gap: var(--s1);
  padding: 4px var(--s2); border-radius: 999px;
  background: var(--teal-100); color: var(--teal-800);
  font-weight: 600; font-size: 0.9375rem; line-height: 1.5rem;
}
.status__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal-700); flex: none; }
.status[data-state="closed"], .status[data-state="unknown"] { background: var(--stone-200); color: var(--ink); }
.status[data-state="closed"] .status__dot, .status[data-state="unknown"] .status__dot { background: var(--stone-600); }
.status--lg { font-size: 1.0625rem; padding: var(--s1) var(--s2); }
.status__text { min-width: 0; }
.status__detail { font-weight: 500; }

.demo-flag {
  margin-top: var(--s2); padding: var(--s1) var(--s2); font-size: 0.875rem; line-height: 1.5rem;
  border: 1px dashed var(--stone-600); border-radius: var(--radius); color: var(--stone-600);
}

/* anything still waiting to be filled in */
.brand-list li.is-placeholder { border-style: dashed; border-color: var(--stone-600); box-shadow: none; }
.is-placeholder { background: rgba(31, 95, 91, 0.08); box-shadow: inset 0 -1px 0 var(--stone-600); border-radius: 2px; }

.swatch { position: relative; display: block; overflow: hidden; width: 20px; height: 20px; border-radius: 2px; flex: none;
  background-size: cover; background-position: center; }
.swatch--lg { width: auto; height: auto; aspect-ratio: 1; }

.ph {
  position: relative; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: var(--s1);
  min-height: 240px; padding: var(--s3); text-align: center;
  background: repeating-linear-gradient(135deg, var(--stone-100) 0 12px, var(--stone-200) 12px 24px);
  border: 2px dashed var(--stone-600); border-radius: var(--radius); color: var(--stone-600);
}
.ph__tag { font-size: 0.75rem; line-height: 1rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; background: var(--stone-50); padding: 4px var(--s1); border-radius: 2px; }
.ph__text { font-size: 0.9375rem; line-height: 1.5rem; background: var(--stone-50); padding: 0 var(--s1); }
.ph--wide { aspect-ratio: 4 / 3; min-height: 0; margin-top: var(--s3); }
.ph--tall { aspect-ratio: 4 / 3; min-height: 0; width: 100%; }

/* finishes: flat colour first, procedural texture layered on by js/app.js */
.f-marble    { background-color: #EAE4DA; background-image: var(--tex-marble, linear-gradient(135deg, #F1ECE3, #E3DDD1)); }
.f-terrazzo  { background-color: #DDD3C4; background-image: var(--tex-terrazzo, linear-gradient(135deg, #E4DCCF, #D3C8B7)); }
.f-zellige   { background-color: #2F6F6A; background-image: var(--tex-zellige, linear-gradient(135deg, #3A7C76, #245852));
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.14), inset 0 0 16px rgba(0, 0, 0, 0.3); }
.f-zellige::after { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 42%, rgba(0, 0, 0, 0.14)); }
.f-slate     { background-color: #3C4346; background-image: var(--tex-slate, linear-gradient(135deg, #454E52, #30373A)); }

/* 5. HERO + MOSAIC ------------------------------------------------------- */

.hero { display: grid; gap: var(--s4); padding-top: var(--s4);
  grid-template-columns: minmax(0, 1fr); grid-template-areas: "copy" "mosaic" "card"; }
.hero__copy { grid-area: copy; }
.hero__mosaic { grid-area: mosaic; }
.visit-card { grid-area: card; }
.hero__copy h1 { max-width: 12ch; }
/* tablet: copy and mosaic side by side, visit card full width beneath */
@media (min-width: 640px) and (max-width: 899.98px) {
  .hero {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    grid-template-areas: "copy mosaic" "card card";
    column-gap: var(--s4); align-items: start;
  }
  .visit-card__facts { grid-template-columns: 1fr 2fr; }
}
@media (min-width: 900px) {
  .hero {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-areas: "copy mosaic" "card mosaic";
    grid-template-rows: auto 1fr;
    column-gap: var(--s8); row-gap: var(--s4);
    padding-top: var(--s6); align-items: start;
  }
}

.finish-word { display: inline-block; transition: opacity .18s ease, transform .18s ease; }
.finish-word em { font-style: italic; color: var(--teal-700); }
.finish-word.is-swapping { opacity: 0; transform: translateY(0.12em); }

.finish-note { display: flex; align-items: center; gap: var(--s2); margin-top: var(--s3); color: var(--stone-600); font-size: 1rem; line-height: 1.5rem; }
.finish-note__bar { position: relative; width: 40px; height: 8px; border-radius: 2px; flex: none; background-size: cover; background-position: center; overflow: hidden; }
.hero__copy .lead { margin-top: var(--s3); }

.mosaic-wrap { display: flex; flex-direction: column; gap: var(--s2); }
.mosaic {
  display: grid; gap: var(--s1); aspect-ratio: 1; width: 100%;
  grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(4, 1fr);
  background: var(--stone-300);            /* grout */
  padding: var(--s1); border-radius: var(--radius);
}
.no-js .mosaic { background: conic-gradient(var(--teal-700) 25%, var(--stone-300) 0 50%, var(--stone-200) 0 75%, #3C4346 0) 0 0 / 25% 25%; }

.tile {
  position: relative; display: block; padding: 0; margin: 0; border: 0; cursor: pointer;
  background: transparent; border-radius: 2px; overflow: hidden;
  grid-row: var(--r); grid-column: var(--c);
  -webkit-tap-highlight-color: transparent; touch-action: manipulation;
}
.tile:focus-visible { outline: 3px solid var(--teal-900); outline-offset: 0; z-index: 2; box-shadow: 0 0 0 6px var(--stone-50); }
.face {
  position: absolute; inset: 0; border-radius: inherit; overflow: hidden;
  background-size: var(--scale, 260%) auto; background-position: var(--bx, 50%) var(--by, 50%);
  transform: scaleX(var(--flip, 1));
  transition: opacity .5s ease;
}
.face.is-entering { opacity: 0; }
.tile:hover .face { filter: brightness(1.05); }

/* mobile layout: 4 x 4 cells, tiles 1-10 */
.tile:nth-child(1)  { --r: 1 / span 2; --c: 1 / span 2; }
.tile:nth-child(2)  { --r: 1;          --c: 3; }
.tile:nth-child(3)  { --r: 1 / span 2; --c: 4; }
.tile:nth-child(4)  { --r: 2;          --c: 3; }
.tile:nth-child(5)  { --r: 3;          --c: 1; }
.tile:nth-child(6)  { --r: 3;          --c: 2; }
.tile:nth-child(7)  { --r: 3;          --c: 3 / span 2; }
.tile:nth-child(8)  { --r: 4;          --c: 1 / span 2; }
.tile:nth-child(9)  { --r: 4;          --c: 3; }
.tile:nth-child(10) { --r: 4;          --c: 4; }
.tile:nth-child(n+11) { display: none; }

/* desktop layout: 5 x 5 cells, tiles 1-17 */
@media (min-width: 900px) {
  .mosaic { grid-template-columns: repeat(5, 1fr); grid-template-rows: repeat(5, 1fr); }
  .tile:nth-child(n+11) { display: block; }
  .tile:nth-child(1)  { --r: 1 / span 2; --c: 1 / span 2; }
  .tile:nth-child(2)  { --r: 1;          --c: 3; }
  .tile:nth-child(3)  { --r: 1;          --c: 4; }
  .tile:nth-child(4)  { --r: 1 / span 2; --c: 5; }
  .tile:nth-child(5)  { --r: 2;          --c: 3; }
  .tile:nth-child(6)  { --r: 2;          --c: 4; }
  .tile:nth-child(7)  { --r: 3 / span 2; --c: 1; }
  .tile:nth-child(8)  { --r: 3;          --c: 2; }
  .tile:nth-child(9)  { --r: 3;          --c: 3 / span 2; }
  .tile:nth-child(10) { --r: 3 / span 2; --c: 5; }
  .tile:nth-child(11) { --r: 4;          --c: 2; }
  .tile:nth-child(12) { --r: 4;          --c: 3; }
  .tile:nth-child(13) { --r: 4;          --c: 4; }
  .tile:nth-child(14) { --r: 5;          --c: 1 / span 2; }
  .tile:nth-child(15) { --r: 5;          --c: 3; }
  .tile:nth-child(16) { --r: 5;          --c: 4; }
  .tile:nth-child(17) { --r: 5;          --c: 5; }
}

.js .mosaic:not(.is-ready) .tile { opacity: 0; }
.mosaic.is-ready .tile { animation: tile-in .6s cubic-bezier(.2, .7, .2, 1) both; animation-delay: calc(var(--n, 0) * 40ms); }
@keyframes tile-in { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

.mosaic-hint { font-size: 0.875rem; line-height: 1.5rem; color: var(--stone-600); max-width: 56ch; }
.finish-picker { display: flex; flex-wrap: wrap; gap: var(--s1); }
.finish-btn {
  display: inline-flex; align-items: center; gap: var(--s1); min-height: 44px; padding: 0 var(--s2);
  background: transparent; border: 1px solid var(--stone-300); border-radius: 999px; cursor: pointer;
  font-size: 0.9375rem; font-weight: 600;
  transition: background-color .15s, border-color .15s;
}
.finish-btn:hover { background: var(--stone-100); }
.finish-btn[aria-pressed="true"] { border-color: var(--teal-700); background: var(--teal-100); color: var(--teal-800); }

.visit-card {
  background: var(--stone-100); border: 1px solid var(--stone-200); border-radius: var(--radius);
  padding: var(--s3); display: flex; flex-direction: column; gap: var(--s2);
}
.visit-card__title { font-size: 1.5rem; line-height: 2rem; font-weight: 500; }
.visit-card__facts { display: grid; gap: var(--s2); }
.visit-card__facts div { display: grid; gap: 0; }
.visit-card__facts dt { font-size: 0.875rem; line-height: 1.5rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone-600); }
.visit-card__facts dd { font-size: 1.0625rem; line-height: 1.75rem; }
.visit-card__note { font-size: 0.875rem; line-height: 1.5rem; color: var(--stone-600); text-align: center; }
@media (min-width: 900px) { .visit-card { padding: var(--s4); } }

/* 6. SECTIONS ------------------------------------------------------------ */

.section-head { margin-bottom: var(--s6); }
.section-head h2 { max-width: 18ch; }

/* why visit */
.why { display: grid; gap: var(--s6); }
.why__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 72%; border-radius: var(--radius); background: var(--stone-200); }
.why__body h2 { max-width: 14ch; }
.points { margin-top: var(--s5); display: grid; gap: var(--s4); }
.points li { display: grid; grid-template-columns: 48px 1fr; gap: var(--s2); }
.points__n { font-family: var(--font-serif); font-style: italic; font-size: 1.5rem; line-height: 2rem; color: var(--teal-700); }
.points h3 { margin-bottom: var(--s1); }
.points p { color: var(--stone-600); max-width: 46ch; }
@media (min-width: 900px) {
  .why { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: var(--s12); align-items: center; }
}

/* ranges */
.ranges__grid { display: grid; gap: var(--s3); }
.card { display: flex; flex-direction: column; background: var(--stone-100); border: 1px solid var(--stone-200); border-radius: var(--radius); padding: var(--s3); }
.card h3 { margin-bottom: var(--s1); }
.card > p { color: var(--stone-600); max-width: 44ch; }
.tick-list { margin-top: var(--s3); display: grid; gap: var(--s1); }
.tick-list li { position: relative; padding-left: var(--s4); }
.tick-list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 16px; height: 8px; border-left: 2px solid var(--teal-700); border-bottom: 2px solid var(--teal-700); transform: rotate(-45deg) scale(.8); transform-origin: left center; }
.swatch-row { margin-top: auto; padding-top: var(--s4); display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--s1); }
.card__caption { margin-top: var(--s2); font-size: 0.9375rem; line-height: 1.5rem; color: var(--stone-600); }
@media (min-width: 900px) {
  .ranges__grid { grid-template-columns: 1fr 1fr; gap: var(--s4); }
  .card { padding: var(--s5); }
}
.brands { margin-top: var(--s3); display: grid; gap: var(--s3); padding: var(--s3); border: 1px solid var(--stone-300); border-radius: var(--radius); }
.brands h3 { margin-bottom: 4px; }
.brands p { color: var(--stone-600); }
.brand-list { display: flex; flex-wrap: wrap; gap: var(--s1); }
.brand-list li { padding: var(--s1) var(--s2); border: 1px solid var(--stone-300); border-radius: 999px; font-size: 0.9375rem; line-height: 1.5rem; font-weight: 500; }
@media (min-width: 900px) {
  .brands { grid-template-columns: minmax(0, 4fr) minmax(0, 8fr); align-items: center; padding: var(--s4) var(--s5); gap: var(--s5); margin-top: var(--s4); }
}

/* design and planning */
.design { background: var(--stone-100); padding-block: var(--pad-band); }
.design__inner { display: grid; gap: var(--s6); }
.design__body h2 { max-width: 16ch; }
.design__body .lead { margin-top: var(--s2); max-width: 44ch; }
.steps { margin-top: var(--s5); display: grid; gap: var(--s3); }
.steps li { display: grid; grid-template-columns: 40px 1fr; gap: var(--s2); align-items: start; }
.steps__n { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal-700); color: #fff; font-weight: 700; font-size: 1rem; }
.steps h3 { font-size: 1.375rem; line-height: 2rem; margin-bottom: 4px; }
.steps p { color: var(--stone-600); max-width: 44ch; }
@media (min-width: 900px) {
  .design__inner { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: var(--s12); align-items: center; }
}

/* visit */
.visit { display: grid; gap: var(--s6); }
.visit__body .status { margin-top: var(--s1); }
.hours { margin-top: var(--s4); width: 100%; border-collapse: collapse; max-width: 440px; }
.hours th, .hours td { padding: var(--s1) 0; border-bottom: 1px solid var(--stone-200); text-align: left; font-weight: 400; vertical-align: baseline; }
.hours th { width: 40%; font-weight: 500; }
.hours .is-today th, .hours .is-today td { font-weight: 700; color: var(--teal-800); }
.hours .today-tag { margin-left: var(--s1); font-size: 0.6875rem; line-height: 1rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--teal-100); color: var(--teal-800); padding: 0 var(--s1); border-radius: 2px; font-weight: 700; vertical-align: middle; }
.visit__side { display: grid; gap: var(--s4); align-content: start; }
.contact { display: grid; gap: var(--s3) var(--s5); }
@media (min-width: 600px) { .contact { grid-template-columns: 1fr 1fr; } }
.contact__label { margin-top: var(--s3); font-size: 0.875rem; line-height: 1.5rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--stone-600); }
.contact > div > .contact__label:first-child { margin-top: 0; }
.contact a { color: var(--teal-700); font-weight: 600; }
.visit .btn-row { margin-top: var(--s4); }
.visit__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--stone-200); }
.visit__photo figcaption { margin-top: var(--s1); font-size: 0.875rem; line-height: 1.5rem; color: var(--stone-600); }
@media (min-width: 900px) {
  .visit { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s8); align-items: start; }
}

/* final CTA + footer (dark: lighter focus ring) */
.cta, .site-footer { --focus: #BFE3DD; }
.cta { margin-top: var(--gap-section); background: var(--teal-800); color: var(--stone-50); padding-block: var(--pad-band); text-align: center; }
.cta h2 { color: var(--stone-50); max-width: 16ch; margin: var(--s3) auto 0; }
.cta p { margin: var(--s2) auto var(--s4); color: var(--stone-200); max-width: 40ch; }
.cta__swatches { display: flex; justify-content: center; gap: var(--s1); }
.cta__swatches .swatch { width: 40px; height: 40px; }
.cta .btn-book { border-color: var(--stone-100); }   /* keeps the button visible on teal */

.site-footer { background: var(--teal-900); color: var(--stone-200); padding-top: var(--s8); }
.site-footer__inner { display: grid; gap: var(--s5); }
.site-footer p { margin: 0; }
.site-footer__brand p { margin-top: var(--s2); max-width: 32ch; }
.site-footer__inner p + p { margin-top: var(--s1); }
.footer-h { font-family: var(--font-sans); font-size: 0.875rem; line-height: 1.5rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--stone-50); margin-bottom: var(--s2); }
.footer-links { display: grid; gap: var(--s1); }
.site-footer a { color: var(--stone-100); }
.site-footer .is-placeholder { background: rgba(255, 255, 255, 0.08); box-shadow: inset 0 -1px 0 var(--stone-300); }
.site-footer__legal p { max-width: 90ch; }
.site-footer__legal { margin-top: var(--s6); padding-block: var(--s3); border-top: 1px solid rgba(255, 255, 255, 0.16); font-size: 0.875rem; line-height: 1.5rem; }
@media (min-width: 900px) { .site-footer__inner { grid-template-columns: 5fr 4fr 3fr; gap: var(--s8); } }
.noscript { margin: 0; padding: var(--s2) var(--gutter); background: var(--stone-200); font-size: 0.875rem; text-align: center; }

/* 7. MOTION + A11Y ------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .js .mosaic:not(.is-ready) .tile { opacity: 1; }
}

.card__photo { margin-top: var(--s3); }
.card__photo img, .design__photo img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); background: var(--stone-200); }
