/* ==========================================================================
   Opaline — beauty salon landing page
   One stylesheet, no framework, no external fonts, no build step.

   Contents
     1.  tokens & themes
     2.  base & layout
     3.  header, navigation, drawer
     4.  buttons, chips, tags
     5.  photo slots          ← read this before adding your own pictures
     6.  hero
     7.  price list
     8.  team
     9.  gallery & lightbox
    10.  reviews
    11.  booking form
    12.  visit: hours & contacts
    13.  footer
    14.  motion & responsive
   ========================================================================== */

/* ---------------------------------------------------------------- 1. tokens
   Light is the default: a salon with daylight in it. The dark theme is a
   second design rather than an inversion — the paper goes to a deep plum
   and the rose warms into blush so it still reads against it.           */

:root {
  --paper: #faf6f5;
  --paper-2: #f1e9e8;
  --card: #fffdfc;
  --ink: #241b1e;
  --ink-2: #5f5156;
  --ink-3: #8f8086;
  --line: #e8dddc;
  --line-2: #d4c3c3;

  --accent: #a8465c;          /* deep rose — links, CTA, underlines */
  --accent-ink: #fff6f8;      /* text on the accent */
  --accent-soft: #f7e6ea;
  --sage: #5f7a6b;            /* the "open now" badge */
  --gold: #9b7634;            /* the "new" tag, stars */

  --r: 14px;
  --r-lg: 24px;
  --r-pill: 999px;
  --shadow: 0 20px 55px rgba(60, 28, 38, .11);
  --shadow-sm: 0 6px 20px rgba(60, 28, 38, .07);

  /* System faces only. Nothing is fetched from a font host, which is why
     this page makes no external request at all. Palatino first: it carries
     the elegance a salon wants and ships on both Windows and macOS. */
  --display: "Palatino Linotype", "Book Antiqua", Palatino, "Iowan Old Style", Georgia, serif;
  --sans: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  --wrap: 1140px;
  --gutter: clamp(18px, 4vw, 40px);
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --paper: #161114;
    --paper-2: #1e1719;
    --card: #221a1d;
    --ink: #f3eaec;
    --ink-2: #c0b0b5;
    --ink-3: #8f8086;
    --line: #2f2528;
    --line-2: #473a3e;

    --accent: #e98aa0;
    --accent-ink: #1d1014;
    --accent-soft: #35212a;
    --sage: #9ab5a4;
    --gold: #d9b26a;

    --shadow: 0 20px 55px rgba(0, 0, 0, .5);
    --shadow-sm: 0 6px 20px rgba(0, 0, 0, .38);
    color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --paper: #161114;
  --paper-2: #1e1719;
  --card: #221a1d;
  --ink: #f3eaec;
  --ink-2: #c0b0b5;
  --ink-3: #8f8086;
  --line: #2f2528;
  --line-2: #473a3e;

  --accent: #e98aa0;
  --accent-ink: #1d1014;
  --accent-soft: #35212a;
  --sage: #9ab5a4;
  --gold: #d9b26a;

  --shadow: 0 20px 55px rgba(0, 0, 0, .5);
  --shadow-sm: 0 6px 20px rgba(0, 0, 0, .38);
  color-scheme: dark;
}

/* ------------------------------------------------------------------ 2. base */

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

html {
  scroll-behavior: smooth;
  /* The closed mobile drawer sits one screen to the right. `clip` cuts that
     overflow off without making <html> a scroll container, so the sticky
     header keeps working. (`hidden` here breaks sticky in some browsers —
     do not swap it.) */
  overflow-x: clip;
  /* Anchors land below the fixed header instead of under it. */
  scroll-padding-top: 86px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
body.locked { overflow: hidden; }

h1, h2, h3 {
  font-family: var(--display);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -.01em;
  text-wrap: balance;
  margin: 0 0 .5em;
}
h2 { font-size: clamp(28px, 3.6vw, 42px); }
h3 { font-size: 21px; }
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--accent); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img { max-width: 100%; }
[hidden] { display: none !important; }

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

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin-inline: auto;
  padding-left: max(var(--gutter), env(safe-area-inset-left, 0px));
  padding-right: max(var(--gutter), env(safe-area-inset-right, 0px));
}

section { padding-block: clamp(56px, 8vw, 104px); }
section.tint { background: var(--paper-2); }

/* The small line above every section heading. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  font: 600 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before {
  content: "";
  width: 26px;
  height: 1px;
  background: currentColor;
}
.lede { color: var(--ink-2); font-size: 18px; }

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  background: var(--accent);
  color: var(--accent-ink);
  padding: 10px 16px;
  border-radius: var(--r);
}
.skip:focus { left: 12px; }

/* ------------------------------------------------- 3. header & navigation */

.site-head {
  position: sticky;
  top: 0;
  z-index: 40;
  background: color-mix(in srgb, var(--paper) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .25s, box-shadow .25s;
}
.site-head.scrolled {
  border-bottom-color: var(--line);
  box-shadow: 0 6px 24px rgba(60, 28, 38, .06);
}
.head-in {
  display: flex;
  align-items: center;
  gap: 18px;
  min-height: 72px;
  padding-top: env(safe-area-inset-top, 0px);
}

.brand {
  display: flex;
  align-items: baseline;
  gap: 10px;
  font-family: var(--display);
  font-size: 25px;
  letter-spacing: .02em;
  color: var(--ink);
  text-decoration: none;
  margin-right: auto;
}
.brand small {
  font: 500 11px/1 var(--sans);
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--ink-3);
}

.nav { display: flex; gap: 4px; }
.nav a {
  padding: 8px 12px;
  border-radius: var(--r-pill);
  color: var(--ink-2);
  text-decoration: none;
  font-size: 15px;
  white-space: nowrap;
}
.nav a:hover { color: var(--ink); background: var(--accent-soft); }
.nav a.here { color: var(--accent); background: var(--accent-soft); }

.tools { display: flex; align-items: center; gap: 8px; }

.langs {
  display: flex;
  border: 1px solid var(--line-2);
  border-radius: var(--r-pill);
  overflow: hidden;
}
.langs button {
  appearance: none;
  border: 0;
  background: transparent;
  color: var(--ink-2);
  font: 600 12px/1 var(--sans);
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 8px 10px;
  cursor: pointer;
}
.langs button + button { border-left: 1px solid var(--line-2); }
.langs button.on { background: var(--accent); color: var(--accent-ink); }

.icon-btn {
  appearance: none;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-2);
  border-radius: 50%;
  background: transparent;
  color: var(--ink-2);
  cursor: pointer;
}
.icon-btn:hover { color: var(--accent); border-color: var(--accent); }
.icon-btn svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.6; }
/* One button, two icons: the sun shows in dark mode and the moon in light,
   because the icon says what the click will do. */
.i-sun { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .i-sun { display: block; }
  :root:not([data-theme="light"]) .i-moon { display: none; }
}
:root[data-theme="dark"] .i-sun { display: block; }
:root[data-theme="dark"] .i-moon { display: none; }

.burger { display: none; }

.drawer {
  position: fixed;
  inset: 0 0 0 auto;
  width: min(86vw, 340px);
  transform: translateX(105%);
  transition: transform .3s ease;
  background: var(--card);
  border-left: 1px solid var(--line);
  padding: calc(18px + env(safe-area-inset-top, 0px)) 22px 22px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow);
}
.drawer.open { transform: none; }
.drawer a {
  padding: 14px 6px;
  border-bottom: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: 18px;
}
.drawer .btn { margin-top: 18px; }

/* --------------------------------------------------- 4. buttons & chips */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: var(--r-pill);
  background: var(--accent);
  color: var(--accent-ink);
  font: 600 15px/1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .15s, filter .2s;
}
.btn:hover { filter: brightness(1.06); transform: translateY(-1px); }
.btn:active { transform: none; }
.btn.ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-2);
}
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }
.btn.block { width: 100%; }

.btn-mini {
  appearance: none;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  padding: 6px 14px;
  font: 600 13px/1 var(--sans);
  cursor: pointer;
  white-space: nowrap;
}
.btn-mini:hover { border-color: var(--accent); color: var(--accent); background: var(--accent-soft); }

.chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.chip {
  appearance: none;
  border: 1px solid var(--line-2);
  background: transparent;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  padding: 9px 18px;
  font: 500 14px/1 var(--sans);
  cursor: pointer;
}
.chip:hover { border-color: var(--accent); color: var(--accent); }
.chip.on { background: var(--ink); border-color: var(--ink); color: var(--paper); }

.tag {
  font: 600 10px/1 var(--sans);
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--gold);
  border: 1px solid currentColor;
  border-radius: var(--r-pill);
  padding: 3px 7px;
  font-style: normal;
  vertical-align: 2px;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px 7px 12px;
  border-radius: var(--r-pill);
  background: var(--card);
  border: 1px solid var(--line);
  font-size: 14px;
  color: var(--ink-2);
}
.badge b { color: var(--ink); font-weight: 600; }
.badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ink-3);
}
.badge.is-open::before { background: var(--sage); box-shadow: 0 0 0 4px color-mix(in srgb, var(--sage) 22%, transparent); }
.badge.is-shut::before { background: var(--ink-3); }

/* ------------------------------------------------------ 5. photo slots
   Every picture on this page is a .photo element.

   With no file it draws itself with gradients, so the template looks
   finished before you have a single photograph. To use your own picture,
   set background-image on that element and nothing else changes:

       <div class="photo photo-a" style="background-image:url('img/room.jpg')"></div>

   The ratio stays, the rounding stays, the grain stays. Once every slot has
   a real picture you can delete the photo-a … photo-f rules.

   Why the file goes in the HTML and not in a --photo variable: a relative
   url() inside a custom property resolves against the file that USES the
   variable — this stylesheet — so 'img/room.jpg' would be looked for in
   'css/img/room.jpg'. Written on the element, the path is read from the
   page, which is what anyone editing it expects.                        */

.photo {
  position: relative;
  border-radius: var(--r-lg);
  border: 1px solid var(--line);
  overflow: hidden;
  background-image: var(--art);
  background-size: cover;
  background-position: center;
  aspect-ratio: 4 / 3;
}
.photo::after {        /* fine grain, so flat gradients do not look digital */
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(0,0,0,.035) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }
.photo.square { aspect-ratio: 1 / 1; }

.photo-a { --art: radial-gradient(70% 60% at 25% 20%, #e7b8bf 0, transparent 62%), radial-gradient(80% 70% at 85% 85%, #8d5b64 0, transparent 60%), linear-gradient(150deg, #cfa9ad, #6d4850); }
.photo-b { --art: radial-gradient(60% 55% at 70% 25%, #d9a98c 0, transparent 60%), radial-gradient(75% 65% at 20% 80%, #7c5f6a 0, transparent 62%), linear-gradient(160deg, #c3a08f, #5d4751); }
.photo-c { --art: radial-gradient(55% 45% at 50% 40%, #f0d9d3 0, transparent 65%), radial-gradient(85% 75% at 80% 90%, #9d6f78 0, transparent 60%), linear-gradient(140deg, #d8bcbc, #74545c); }
.photo-d { --art: radial-gradient(65% 55% at 30% 70%, #cbb8a4 0, transparent 60%), radial-gradient(70% 60% at 80% 20%, #a4838c 0, transparent 62%), linear-gradient(135deg, #c7b2ac, #5f4a52); }
.photo-e { --art: radial-gradient(60% 50% at 20% 30%, #e3c9c4 0, transparent 62%), radial-gradient(80% 70% at 90% 70%, #87616b 0, transparent 60%), linear-gradient(155deg, #c9aeae, #6a4d55); }
.photo-f { --art: radial-gradient(50% 42% at 60% 35%, #eeddd6 0, transparent 64%), radial-gradient(75% 65% at 15% 85%, #8f6b74 0, transparent 60%), linear-gradient(145deg, #d3b9b6, #6e5157); }

/* --------------------------------------------------------------- 6. hero */

.hero { padding-block: clamp(40px, 6vw, 84px) clamp(48px, 7vw, 96px); }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(28px, 5vw, 64px);
  align-items: center;
}
/* The headline breaks where the text says it breaks — there is a newline in
   the string and pre-line keeps it — but only while each of those lines
   fits the column. The size is held back for that reason: Polish needs the
   most room here, English the least, and a headline whose last word drops
   to a line of its own is the first thing that looks amateur. */
.hero h1 {
  margin: 14px 0 18px;
  white-space: pre-line;
  font-size: clamp(36px, 5.2vw, 60px);
}
.hero .lede { max-width: 46ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin: 26px 0 16px; }
.hero-phone { font-size: 15px; color: var(--ink-3); margin: 0; }
.hero-phone a { color: var(--ink-2); }
.hero-art { position: relative; }
.hero-art .photo { box-shadow: var(--shadow); }
/* The badge rides on the corner of the photograph, half over the edge. */
.hero-art .badge {
  position: absolute;
  left: -14px;
  bottom: 22px;
  box-shadow: var(--shadow-sm);
}

/* ---------------------------------------------------------- 7. price list */

.svc-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
}
.svc-count { font-size: 14px; color: var(--ink-3); }

.svc-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: clamp(24px, 4vw, 48px);
}
.svc-group { break-inside: avoid; }
.svc-gh {
  font: 600 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-bottom: 12px;
  margin-bottom: 4px;
  border-bottom: 1px solid var(--line);
}
.svc-list { list-style: none; margin: 0; padding: 0; }

.svc {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}
.svc:hover { border-bottom-color: var(--line-2); }
/* The classic salon price list: name, a run of dots, then the price. The
   dotted leader is a flexible element between them, so it takes whatever
   width is left and the prices line up in a column however long the names
   are. */
.svc-main { display: flex; align-items: baseline; gap: 10px; flex: 1 1 auto; min-width: 0; }
.svc-name { color: var(--ink); }
.svc-dot {
  flex: 1 1 auto;
  min-width: 18px;
  height: 1px;
  align-self: end;
  margin-bottom: 5px;
  border-bottom: 1px dotted var(--line-2);
}
.svc-min {
  font-size: 14px;
  color: var(--ink-3);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.svc-side { display: flex; align-items: center; gap: 14px; flex: 0 0 auto; }
.svc-price {
  font-family: var(--display);
  font-size: 19px;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}
.svc-price.muted { font-size: 15px; font-family: var(--sans); color: var(--ink-3); }
.svc-note {
  margin: 28px 0 0;
  padding: 14px 18px;
  border-left: 2px solid var(--accent);
  background: var(--accent-soft);
  border-radius: 0 var(--r) var(--r) 0;
  font-size: 15px;
  color: var(--ink-2);
  max-width: 62ch;
}

/* ---------------------------------------------------------------- 8. team */

.people {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: clamp(18px, 3vw, 30px);
}
.person h3 { margin: 16px 0 2px; font-size: 19px; }
.person .role { margin: 0; color: var(--accent); font-size: 15px; }
.person .since { margin: 2px 0 0; color: var(--ink-3); font-size: 14px; }

/* ------------------------------------------------- 9. gallery & lightbox */

.shots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(14px, 2vw, 22px);
}
.shot {
  appearance: none;
  border: 0;
  padding: 0;
  background: transparent;
  text-align: left;
  cursor: zoom-in;
  color: inherit;
  display: block;
}
.shot .photo { transition: transform .4s ease; }
.shot:hover .photo { transform: scale(1.015); }
.shot .cap { display: block; margin-top: 10px; font-size: 14px; color: var(--ink-3); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: max(20px, env(safe-area-inset-top, 0px)) 20px 20px;
  background: color-mix(in srgb, #140d10 86%, transparent);
}
.lb-in { width: min(100%, 980px); }
.lb-in .photo { border-color: transparent; box-shadow: 0 30px 80px rgba(0,0,0,.6); }
.lb-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  color: #f3eaec;
}
.lb-cap { flex: 1 1 auto; font-size: 15px; }
.lb-bar .icon-btn { color: #f3eaec; border-color: rgba(255,255,255,.35); }
.lb-bar .icon-btn:hover { color: #fff; border-color: #fff; }

/* ------------------------------------------------------------ 10. reviews */

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: clamp(16px, 2.5vw, 26px);
}
.review {
  margin: 0;
  padding: 26px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm);
}
.review .stars { color: var(--gold); letter-spacing: 3px; font-size: 15px; }
.review .stars .off { color: var(--line-2); }
.review blockquote {
  margin: 12px 0 14px;
  font-family: var(--display);
  font-size: 18px;
  line-height: 1.5;
}
.review figcaption { color: var(--ink-3); font-size: 14px; }

/* ------------------------------------------------------- 11. booking form */

.book-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: clamp(26px, 4vw, 54px);
  align-items: start;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 32px);
  box-shadow: var(--shadow-sm);
}
.field { margin-bottom: 18px; }
.field > label {
  display: block;
  margin-bottom: 6px;
  font: 600 13px/1 var(--sans);
  letter-spacing: .04em;
  color: var(--ink-2);
}
.field input, .field select, .field textarea {
  width: 100%;
  font: 400 16px/1.4 var(--sans);
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line-2);
  border-radius: var(--r);
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 86px; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field input.bad, .field select.bad { border-color: #b3261e; }
:root[data-theme="dark"] .field input.bad, :root[data-theme="dark"] .field select.bad { border-color: #f2b8b5; }
.field select:disabled { color: var(--ink-3); background: var(--paper-2); }
.hint { margin: 6px 0 0; font-size: 13px; color: var(--ink-3); }
.err { margin: 6px 0 0; font-size: 13px; color: #b3261e; }
:root[data-theme="dark"] .err { color: #f2b8b5; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.b-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  margin: -6px 0 18px;
  font-size: 14px;
  color: var(--ink-2);
}
.b-meta span { display: inline-flex; align-items: center; gap: 6px; }
.b-meta span::before { content: "·"; color: var(--accent); }
.b-meta span:first-child::before { content: none; }
.consent { margin: 14px 0 0; font-size: 13px; color: var(--ink-3); }
.cancel { margin: 4px 0 0; font-size: 13px; color: var(--ink-3); }

.ok {
  padding: clamp(20px, 3vw, 32px);
  background: var(--accent-soft);
  border: 1px solid var(--accent);
  border-radius: var(--r-lg);
}
.ok h3 { font-size: 24px; }
.ok p { color: var(--ink-2); }

/* ------------------------------------------------- 12. visit: hours etc. */

.visit-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(20px, 3vw, 28px);
  box-shadow: var(--shadow-sm);
}
.visit-card + .visit-card { margin-top: 18px; }
.visit-card h3 {
  font: 600 12px/1 var(--sans);
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 16px;
}
.hrow {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 7px 0;
  font-size: 15px;
  border-bottom: 1px dotted var(--line);
}
.hrow:last-child { border-bottom: 0; }
.hrow.now { color: var(--accent); font-weight: 600; }
.hrow .hval { font-variant-numeric: tabular-nums; white-space: nowrap; }
.hrow .hval i { font-style: normal; color: var(--ink-3); font-weight: 400; }

.lines { list-style: none; margin: 0; padding: 0; font-size: 15px; }
.lines li { padding: 9px 0; border-bottom: 1px dotted var(--line); }
.lines li:last-child { border-bottom: 0; }
.lines b {
  display: block;
  font: 600 11px/1 var(--sans);
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 3px;
}
.lines a { color: var(--ink); }
.note { margin: 14px 0 0; font-size: 14px; color: var(--ink-3); }

/* -------------------------------------------------------------- 13. footer */

.site-foot {
  border-top: 1px solid var(--line);
  padding-block: 40px calc(40px + env(safe-area-inset-bottom, 0px));
  background: var(--paper-2);
}
.foot-in {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 24px;
  font-size: 14px;
  color: var(--ink-3);
}
.foot-brand {
  font-family: var(--display);
  font-size: 22px;
  color: var(--ink);
  margin-right: auto;
}
.socials { display: flex; gap: 8px; }
.foot-demo { width: 100%; margin: 0; font-size: 13px; color: var(--ink-3); }

/* ------------------------------------------------ 14. motion & responsive */

.reveal {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  transition-delay: calc(var(--i, 0) * 70ms);
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .shot .photo, .btn { transition: none; }
}

@media (max-width: 1000px) {
  .nav { display: none; }
  .burger { display: grid; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-art { order: -1; }
  .hero-art .badge { left: auto; right: 14px; bottom: 14px; }
  .book-grid { grid-template-columns: 1fr; }
  .svc-groups { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  html { scroll-padding-top: 74px; }
  .head-in { min-height: 62px; gap: 10px; }
  .brand { font-size: 21px; }
  .brand small { display: none; }
  /* The header's own Book button goes: the language switcher, the theme
     button and the burger already fill a 375px row, and the drawer that
     burger opens ends with the same button. Without this the header is
     wider than the screen and the whole page scrolls sideways. */
  .tools { gap: 6px; }
  .tools > .btn { display: none; }
  .langs button { padding: 7px 8px; }
  .two { grid-template-columns: 1fr; }
  /* On a phone the price row stacks: name and duration on one line, price
     and the button beneath it. The dotted leader would have nothing to
     lead to, so it goes. */
  .svc { flex-wrap: wrap; gap: 6px 14px; }
  .svc-dot { display: none; }
  .svc-side { width: 100%; justify-content: space-between; }
  .hero-cta .btn { flex: 1 1 100%; }
}
