:root {
  --bg: #f4ede4;
  --surface: #fbf7f1;
  --text: #2b2118;
  --muted: #6b5847;
  --accent: #7a4a2d;
  --accent-text: #ffffff;
  --font-heading: 'Manrope', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-body: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --font-accent: 'Caveat', 'Segoe Script', 'Comic Sans MS', cursive;
}

/* ==========================================================================
   Direction "warm" — soft, rounded, photo-friendly.
   One friendly sans (heading = body) for everything, a handwritten accent face
   in exactly one place (.kicker), rounded panels 20–28px, pill buttons, dotted
   dividers, a single soft shadow (the floating sticky pill only).

   Tokens from new_site.py: --bg --surface --text --muted --accent --accent-text
                            --font-heading --font-body --font-accent
   Type scale (mobile → desktop), details in NOTES.md:
     h1      clamp(2.25rem, 1.5rem + 3.6vw, 4.5rem)   800, lh 1.02, -.025em
     kicker  clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem)   handwritten, accent colour
     h2      clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem)   800, rounded accent bar under
     about   clamp(1.125rem, 1rem + .5vw, 1.375rem)   lh 1.55, measure 36em
     h3      1.2rem / 700 (service and step names);  hours in cards 1.125rem / 700
     body    1rem / 1.6;  small .95rem;  label .85rem / 700 with an accent dot
   Spacing: 8px steps (--s1 … --s10), fluid section padding (--section-pad),
   panel padding (--panel-pad). Radii: 14 / 20 / 28px + pills.
   Grid: single column to 700px, two columns 700–900px, 12 columns from 900px.
   ========================================================================== */

:root {
  --s1: .5rem;  --s2: 1rem;  --s3: 1.5rem;  --s4: 2rem;  --s5: 2.5rem;
  --s6: 3rem;   --s8: 4rem;  --s10: 5rem;
  --section-pad: clamp(3rem, 7vw, 5.5rem);
  --page-pad: clamp(1rem, 4vw, 2.5rem);
  --panel-pad: clamp(1.5rem, 4vw, 3.5rem);
  --container: 1160px;
  --measure: 36em;
  --r-sm: 14px;
  --r: 20px;
  --r-lg: 28px;
  --r-pill: 999px;
  /* The only shadow on the page: the floating mobile bar. */
  --shadow: 0 14px 36px -14px rgb(0 0 0 / .28);
  /* Tints fall back to flat colours where color-mix() is missing. */
  --tint: var(--surface);
  --tint-strong: var(--surface);
  --line: rgb(0 0 0 / .14);
}

@supports (color: color-mix(in srgb, red 50%, transparent)) {
  :root {
    --tint: color-mix(in srgb, var(--accent) 12%, var(--bg));
    --tint-strong: color-mix(in srgb, var(--accent) 22%, var(--bg));
    --line: color-mix(in srgb, var(--text) 14%, transparent);
  }
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: .18em; }
h1, h2, h3 { font-family: var(--font-heading); margin: 0; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: var(--r-sm); }

.container { width: min(100% - 2 * var(--page-pad), var(--container)); margin-inline: auto; }

/* Small bold label with a round accent dot in front: hours, map, section cues. */
.label {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin: 0 0 .75rem;
  font-size: .85rem;
  font-weight: 700;
  color: var(--muted);
}
.label::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }

/* Inline SVG patterns; the parent is position:relative + overflow:hidden. */
.pattern { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }


/* ---------------------------------------------------------------- header */
.site-header { padding-block: var(--s2); }

.header-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: .75rem var(--s2);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .65rem;
  min-width: 0;
  min-height: 44px;
  text-decoration: none;
}

.brand-mark {
  flex: none;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 1.125rem;
  font-weight: 800;
}

.brand-name {
  min-width: 0;
  overflow-wrap: anywhere;
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -.01em;
}

.header-phone {
  grid-column: 2;
  grid-row: 1;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 .9rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .9rem;
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.nav { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: .4rem; }

.nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: .5rem .8rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .875rem;
  font-weight: 600;
  text-decoration: none;
}

/* -------------------------------------------------------------- buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .7rem 1.5rem;
  border: 2px solid transparent;
  border-radius: var(--r-pill);
  background: var(--surface);
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}
.btn-call, .btn-book { background: var(--accent); color: var(--accent-text); }

/* In the type/pattern heroes the card's booking pill is the one strong CTA,
   so the copy's buttons go soft: pale pills, the call one outlined in accent. */
.hero-actions--soft .btn { background: var(--surface); color: var(--text); border-color: var(--tint-strong); }
.hero-actions--soft .btn-call { border-color: var(--accent); }
.hero-panel--surface .hero-actions--soft .btn { background: var(--bg); }

.hero-actions, .contacts-actions { display: flex; flex-wrap: wrap; gap: .6rem; }

/* ----------------------------------------------------------------- hero */
.hero { padding-block: var(--s2) 0; }

.hero-panel {
  position: relative;
  overflow: hidden;
  display: grid;
  gap: var(--s4);
  padding: var(--panel-pad);
  border-radius: var(--r-lg);
}
.hero-panel--tint { background: var(--tint); }
.hero-panel--surface { background: var(--surface); }
.hero-panel .hero-copy { position: relative; }

/* The single handwritten element on the page. */
.kicker {
  margin: 0 0 .5rem;
  font-family: var(--font-accent);
  font-size: clamp(1.75rem, 1.4rem + 1.6vw, 2.5rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--accent);
}

.hero-title {
  margin: 0 0 var(--s3);
  font-size: clamp(2.25rem, 1.5rem + 3.6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.025em;
  overflow-wrap: break-word;
}

/* Chips: first hours line + address under the photo/split headline. */
.chips { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: var(--s3); }

.chip {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  min-height: 2.5rem;
  padding: .45rem 1rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  font-size: .9rem;
  font-weight: 600;
}
.chip::before { content: ""; flex: none; width: .45rem; height: .45rem; border-radius: 50%; background: var(--accent); }
.chip a { text-decoration: none; }

/* Oversized rounded card: hours, booking pill, address. */
.hours-card {
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-lg);
  background: var(--surface);
}
.hours-card--tint { background: var(--tint); }
.hours-card .label { margin: 0; }

.hours li { padding: .55rem 0; border-top: 2px dotted var(--line); }
.hours li:first-child { border-top: 0; padding-top: 0; }
.hours-card .hours li { font-size: 1.125rem; font-weight: 700; font-variant-numeric: tabular-nums; }

.btn-book { width: 100%; margin-top: var(--s1); }
.hours-card-address { font-size: .9rem; color: var(--muted); text-align: center; }

/* pattern: bento of white panel + tinted hours tile + address tile. */
.hero-bento { display: grid; gap: var(--s2); }

.hero-disc {
  position: absolute;
  top: -6rem;
  right: -6rem;
  width: clamp(13rem, 38%, 26rem);
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 50%;
  background: var(--tint);
}
/* Keep the handwriting clear of the disc on narrow panels. */
.hero-panel--surface .kicker { padding-right: 5rem; }
@media (max-width: 699px) {
  .hero-disc { width: 11rem; top: -5rem; right: -5rem; }
}
/* Phones and tablets: no contact in the header — the hero button, the contacts
   section and the sticky bar carry it; the name is next to the language switch. */
@media (max-width: 899px) {
  .header-phone { display: none; }
}


.hero-tile {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  padding-bottom: 5.5rem;
  border-radius: var(--r-lg);
  background: var(--surface);
}
.hero-tile-address { font-size: 1.125rem; font-weight: 700; line-height: 1.3; }
.hero-tile-address a { text-decoration: none; }
.hero-tile-city { margin-top: .25rem; color: var(--muted); }
.tile-waves { position: absolute; left: 0; right: 0; bottom: 0; height: 4.25rem; }

/* photo: rounded image, caption card overlapping its bottom edge. */
.hero-photo { position: relative; }
.hero-img { width: 100%; object-fit: cover; border-radius: var(--r-lg); background: var(--surface); }
.hero-photo .hero-img { aspect-ratio: 4 / 3; }

.hero-card {
  position: relative;
  margin: -3rem var(--s2) 0;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  border-radius: var(--r-lg);
  background: var(--surface);
}
/* Soft pills sitting on a surface panel take the page colour instead. */
.hero-card .btn { background: var(--bg); }
.hero-card .btn-call { background: var(--accent); color: var(--accent-text); }
.hero--photo .chips { margin-top: var(--s3); }

/* split: text left, portrait photo right (under the text on phones). */
.hero-split { display: grid; gap: var(--s4); }
.hero-figure { margin: 0; }
.hero-figure .hero-img { aspect-ratio: 4 / 3; }

/* ------------------------------------------------------------- sections */
.section { padding-top: var(--section-pad); }
.contacts-section { padding-bottom: var(--section-pad); }

.section-title {
  margin: 0 0 var(--s4);
  font-size: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
}
.section-title::after {
  content: "";
  display: block;
  width: 2.75rem;
  height: .4rem;
  margin-top: .85rem;
  border-radius: var(--r-pill);
  background: var(--accent);
}

/* ------------------------------------------------------------- services */
.service-grid { display: grid; gap: var(--s2); }

.service { padding: var(--s3); border-radius: var(--r); background: var(--surface); }

.service-row { display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between; gap: .5rem var(--s2); }
.service-name { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }

.price {
  display: inline-flex;
  align-items: center;
  min-height: 2rem;
  padding: .25rem .9rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--accent);
  font-size: .95rem;
  font-weight: 800;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.service-desc { max-width: 44em; margin-top: .6rem; font-size: .95rem; color: var(--muted); }

/* ---------------------------------------------------------------- about */
.about-grid { display: grid; gap: var(--s4); }

.about-text {
  max-width: var(--measure);
  font-size: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  line-height: 1.55;
}

.about-side { display: grid; gap: var(--s2); align-content: start; }

.rating-tile {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding: var(--s3);
  border-radius: var(--r);
  background: var(--tint);
}
.rating-value { font-size: 3rem; font-weight: 800; line-height: 1; letter-spacing: -.03em; color: var(--accent); }
.rating-label { font-size: .9rem; line-height: 1.4; color: var(--muted); }

.facts { display: grid; gap: .5rem; }
.fact {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .85rem 1.1rem;
  border-radius: var(--r-sm);
  background: var(--surface);
  font-weight: 600;
}
.fact::before { content: ""; flex: none; width: .5rem; height: .5rem; border-radius: 50%; background: var(--accent); }

/* -------------------------------------------------------------- gallery */
/* Rounded masonry. Every group of five photos forms a complete block
   (one tall photo spanning two rows + squares); the remainder is squared
   off by widening the last photo, so no count leaves a hole:
   2 columns: tall = 5n+1 with ≥2 photos after it; last photo full-width
              when the count mod 5 is 1 or 4.
   3 columns: tall = 5n+1 with ≥3 after it; last spans two columns when
              count mod 5 is 2 or 4, all three when it is 1. */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-flow: dense;
  gap: var(--s2);
}
.gallery-cell:nth-child(5n + 1):not(:nth-last-child(-n + 2)) { grid-row: span 2; }
.gallery-cell:last-child:nth-child(5n + 1),
.gallery-cell:last-child:nth-child(5n + 4) { grid-column: 1 / -1; }

.gallery-item { display: block; height: 100%; overflow: hidden; border-radius: var(--r); background: var(--surface); }
.gallery-item img { width: 100%; height: 100%; aspect-ratio: 1; object-fit: cover; }
.gallery-cell:nth-child(5n + 1):not(:nth-last-child(-n + 2)) .gallery-item img { aspect-ratio: 1 / 2; }
.gallery-cell:last-child:nth-child(5n + 1) .gallery-item img,
.gallery-cell:last-child:nth-child(5n + 4) .gallery-item img { aspect-ratio: 2 / 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s3);
  background: rgb(0 0 0 / .82);
}
.lightbox.is-open { display: flex; }
.lightbox img { max-width: min(92vw, 1200px); max-height: 88vh; object-fit: contain; border-radius: var(--r); }
.lightbox-close {
  position: absolute;
  top: var(--s2);
  right: var(--s2);
  width: 3rem;
  height: 3rem;
  border: 0;
  border-radius: 50%;
  background: var(--surface);
  color: var(--text);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

/* ---------------------------------------------------------------- steps */
.steps { display: grid; gap: var(--s2); }

.step {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: .25rem var(--s2);
  align-items: center;
  padding: var(--s3);
  border-radius: var(--r);
  background: var(--surface);
}
.step-num {
  display: grid;
  place-items: center;
  grid-row: 1 / 3;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: var(--accent);
  color: var(--accent-text);
  font-size: 1.125rem;
  font-weight: 800;
}
.step-name { font-size: 1.2rem; font-weight: 700; line-height: 1.25; }
.step-desc { grid-column: 2; font-size: .95rem; color: var(--muted); }

/* ------------------------------------------------------------- contacts */
.contacts-panel {
  display: grid;
  gap: var(--s4);
  padding: var(--panel-pad);
  border-radius: var(--r-lg);
  background: var(--surface);
}

.contacts-actions { margin-bottom: var(--s4); }
.contacts-actions .btn { background: var(--bg); }
.contacts-actions .btn-call { background: var(--accent); color: var(--accent-text); }

.hours-block { margin-bottom: var(--s4); }
.hours-block .hours li { font-weight: 600; }

.contacts { display: grid; margin: 0; }
.contact {
  display: grid;
  grid-template-columns: 6.5rem minmax(0, 1fr);
  gap: var(--s2);
  padding: .6rem 0;
  border-top: 2px dotted var(--line);
}
.contact:first-child { border-top: 0; padding-top: 0; }
.contact dt { font-size: .9rem; font-weight: 600; color: var(--muted); }
.contact dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
/* Inline links get a 44px tap height without moving the text. */
.contact dd a { display: inline-block; padding-block: .6em; margin-block: -.6em; }
.contact a { text-decoration: none; }

.contacts-map { display: flex; flex-direction: column; gap: var(--s2); }
.map { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--r); background: var(--bg); }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }

.route-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  min-height: 3rem;
  padding: .7rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--bg);
  font-weight: 700;
  text-decoration: none;
}

/* --------------------------------------------------------------- footer */
.site-footer { padding: var(--s6) 0 calc(var(--s6) + 5rem); }

.footer-main { display: grid; gap: .25rem; margin-bottom: var(--s3); }
.footer-name { font-size: 1.25rem; font-weight: 800; }
.footer-address { color: var(--muted); }
.footer-phone a { font-weight: 700; text-decoration: none; font-variant-numeric: tabular-nums; }

.footer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: .5rem var(--s3);
  padding-top: var(--s2);
  border-top: 2px dotted var(--line);
  font-size: .85rem;
  color: var(--muted);
}
.footer-credit a { color: inherit; }

/* ------------------------------------------------------ sticky mobile bar */
/* A floating pill inset from the edges; the only shadow on the page. */
.sticky-bar {
  position: fixed;
  inset-inline: 0;
  bottom: calc(var(--s2) + env(safe-area-inset-bottom, 0px));
  z-index: 50;
  display: flex;
  gap: .5rem;
  width: min(100% - 2 * var(--s2), 440px);
  margin-inline: auto;
  padding: .5rem;
  border-radius: var(--r-pill);
  background: var(--surface);
  box-shadow: var(--shadow);
  transform: translateY(calc(100% + 2rem));
  visibility: hidden;
  transition: transform .35s ease, visibility 0s linear .35s;
}
.sticky-bar.is-visible { transform: none; visibility: visible; transition-delay: 0s; }

.sticky-bar a {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: .5rem 1rem;
  border-radius: var(--r-pill);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
}
.sticky-call { background: var(--accent); color: var(--accent-text); }
.sticky-msg { background: var(--tint); color: var(--text); }

/* --------------------------------------------------------- hover motion */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .btn, .nav a, .header-phone, .chip, .route-link, .sticky-bar a { transition: transform .15s ease, background-color .15s ease; }
  .btn:hover, .route-link:hover, .sticky-bar a:hover { transform: translateY(-2px); }
  .nav a:hover, .header-phone:hover { background: var(--tint); }
  .gallery-item img { transition: transform .4s ease; }
  .gallery-item:hover img { transform: scale(1.04); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .sticky-bar { transition: none; }
}

/* ---------------------------------------------------------- two columns */
@media (min-width: 700px) {
  .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-card { margin-inline: var(--s4); }

  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .gallery-cell:nth-child(5n + 1):not(:nth-last-child(-n + 2)) { grid-row: auto; }
  .gallery-cell:nth-child(5n + 1):not(:nth-last-child(-n + 2)) .gallery-item img { aspect-ratio: 1; }
  .gallery-cell:nth-child(5n + 1):not(:nth-last-child(-n + 3)) { grid-row: span 2; }
  .gallery-cell:nth-child(5n + 1):not(:nth-last-child(-n + 3)) .gallery-item img { aspect-ratio: 1 / 2; }
  .gallery-cell:last-child:nth-child(5n + 1),
  .gallery-cell:last-child:nth-child(5n + 4) { grid-column: auto; }
  .gallery-cell:last-child:nth-child(5n + 2),
  .gallery-cell:last-child:nth-child(5n + 4) { grid-column: span 2; }
  .gallery-cell:last-child:nth-child(5n + 2) .gallery-item img,
  .gallery-cell:last-child:nth-child(5n + 4) .gallery-item img { aspect-ratio: 2 / 1; }
  .gallery-cell:last-child:nth-child(5n + 1) { grid-column: 1 / -1; }
  .gallery-cell:last-child:nth-child(5n + 1) .gallery-item img { aspect-ratio: 5 / 2; }
}

/* -------------------------------------------------------------- desktop */
@media (min-width: 900px) {
  .header-row { grid-template-columns: auto minmax(0, 1fr) auto auto; gap: .75rem var(--s3); }
  .nav { grid-column: 2; grid-row: 1; justify-content: center; gap: .5rem; }
  .nav a { padding: .5rem 1rem; font-size: .9rem; }
  .header-phone { grid-column: 3; }

  .hero { padding-top: var(--s3); }

  /* type: copy 7 columns, hours card 5 columns, inside one tinted panel. */
  .hero-panel--tint {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: center;
    gap: var(--s8);
    padding: clamp(2.5rem, 5vw, 4rem);
  }
  .hero-panel--tint .hours-card { justify-self: end; width: min(100%, 26rem); }

  /* pattern: 12-column bento, panel 1–8 over two rows, tiles 9–12. */
  .hero-bento { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-template-rows: auto auto; }
  .hero-panel--surface { grid-column: 1 / 9; grid-row: 1 / 3; align-content: center; padding: clamp(2.5rem, 5vw, 4rem); }
  .hero-panel--surface .hero-copy { max-width: 32rem; }
  .hero-panel--surface .kicker { padding-right: 0; }
  .hero-bento .hours-card { grid-column: 9 / 13; }
  .hero-bento .hero-tile { grid-column: 9 / 13; }
  .hero-disc { top: -6rem; right: -6rem; }

  /* photo: wide rounded image, caption card pinned bottom-left. */
  .hero-photo .hero-img { aspect-ratio: 21 / 10; }
  .hero-card { position: absolute; left: var(--s4); bottom: var(--s4); width: min(100% - 2 * var(--s4), 36rem); margin: 0; }
  .hero--photo .chips { margin-top: var(--s4); }

  /* split: copy 6 columns, portrait photo 5 columns, one column of air. */
  .hero-split { grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); align-items: center; gap: var(--s10); }
  .hero-figure .hero-img { aspect-ratio: 4 / 5; }

  .hero-title { max-width: 14ch; }

  .about-grid { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: var(--s8); }
  .about-grid--single { grid-template-columns: minmax(0, 1fr); }

  .steps { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
  .step { grid-template-columns: minmax(0, 1fr); align-content: start; }
  .step-num { grid-row: auto; margin-bottom: var(--s2); }
  .step-desc { grid-column: auto; }

  .contacts-panel { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: var(--s6); }
  .map { flex: 1; min-height: 26rem; aspect-ratio: auto; }

  .footer-main { grid-template-columns: auto minmax(0, 1fr) auto; align-items: baseline; gap: var(--s3); }
  .site-footer { padding-bottom: var(--s6); }

  .sticky-bar { display: none; }
}

/* Language switch (base/lang_switch.html.j2): a <details> dropdown — current
   language on the button, all three in a small menu under it. */
.lang-switch { position: relative; grid-column: 2; grid-row: 1; }
.lang-switch summary {
  list-style: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: .35em;
  min-height: 44px;
  padding: 0 .75rem;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: var(--text);
  -webkit-user-select: none;
  user-select: none;
  background: var(--surface); border-radius: var(--r-pill);
}
.lang-switch summary::-webkit-details-marker { display: none; }
.lang-switch summary::marker { content: ""; }
.lang-caret { width: .65em; height: .65em; flex: none; transition: transform .15s ease; }
.lang-switch[open] .lang-caret { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + .3rem);
  z-index: 40;
  min-width: 10.5rem;
  margin: 0;
  padding: .3rem;
  list-style: none;
  background: var(--surface);
  color: var(--text);
  border: 1px solid color-mix(in srgb, currentColor 16%, transparent);
  box-shadow: 0 10px 30px rgba(0, 0, 0, .16);
  border-radius: 16px;
}
.lang-menu a {
  display: flex;
  align-items: center;
  gap: .7em;
  min-height: 42px;
  padding: 0 .75rem;
  color: var(--text);
  text-decoration: none;
  white-space: nowrap;
  font-size: .9rem;
  font-weight: 700;
  letter-spacing: .04em;
  border-radius: var(--r-pill);
}
.lang-menu a:hover { background: var(--bg); }
.lang-menu a[aria-current="page"] { color: var(--accent); pointer-events: none; }
.lang-menu .lang-name { color: var(--muted); font-weight: 400; font-size: .85em; letter-spacing: 0; }
.lang-switch summary { padding: 0 .6rem; }
/* Desktop: fourth column of the header grid, after the contact. This must come
   after the base .lang-switch rule above. */
@media (min-width: 900px) {
  .lang-switch { grid-column: 4; grid-row: 1; }
}

/* Optional logo (site.yml `logo`) takes the place of the initial in the mark. */
.brand-mark--img { padding: 0; object-fit: cover; }
