/* Rannavesi Ehitus
   Direction: local, practical, weather-hardened.
   World: Haapsalu streets and shore — granite setts, limestone gravel, snow ploughs at first light.
   One cool limestone ramp, the logo blue as the only accent, used as a solid fill.
   Signature: every piece of work carries its real place name (.place). */

:root {
  /* Limestone ramp, light */
  --bg: #f4f6f6;
  --card: #ffffff;
  --raised: #e8eced;
  --line: rgba(18, 24, 28, 0.1);
  --line-strong: rgba(18, 24, 28, 0.22);
  --text: #12181c;
  --text-2: #4a555c;
  --text-3: #66727a;

  /* Dark ramp for footer and callouts */
  --night: #0f1417;
  --night-text: #eef1f2;
  --night-text-2: #a6b0b6;

  /* Brand */
  --blue: #009fe3;      /* logo E, used as a fill with dark text */
  --blue-ink: #00699a;  /* the same blue as text on light surfaces */

  --f-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --f-mono: 'IBM Plex Mono', ui-monospace, Menlo, monospace;

  --wrap: 1280px;
  --gut: 24px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --r-sm: 6px;   /* buttons, inputs */
  --r-md: 10px;  /* tiles, images */
  --r-lg: 12px;  /* panels */
}
@media (min-width: 768px) { :root { --gut: 32px; } }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--f-sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, video, canvas { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; }
p { margin: 0 0 16px; }
h1, h2, h3, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, select { font: inherit; color: inherit; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 2px; border-radius: 2px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gut); }
.mono { font-family: var(--f-mono); font-variant-numeric: tabular-nums; }
.small { font-size: 14px; color: var(--text-3); margin: 12px 0 0; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 16px; top: -64px; z-index: 100; background: var(--text); color: var(--card); padding: 12px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; }

/* ---------- Type ---------- */
.label { font-size: 15px; color: var(--text-2); margin-bottom: 16px; }
.sec-title {
  font-weight: 400;
  font-size: clamp(30px, 3.6vw, 44px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}
.sec-lead { font-size: 18px; line-height: 1.55; color: var(--text-2); max-width: 36rem; margin: 0; }
.sec-head { display: grid; gap: 16px; margin-bottom: 40px; }
@media (min-width: 960px) {
  .sec-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; margin-bottom: 48px; }
  .sec-head--stack { grid-template-columns: 1fr; align-items: start; gap: 16px; }
}

/* The signature: the real place a job happened */
.place {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 14px; font-weight: 500; color: var(--blue-ink);
}
.place::before {
  content: ''; width: 8px; height: 8px; flex: none;
  border: 2px solid currentColor; border-radius: 50%;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 20px;
  font: 500 16px/1 var(--f-sans);
  text-decoration: none;
  border: 1px solid transparent;
  border-radius: var(--r-sm);
  cursor: pointer;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn--primary { background: var(--blue); color: var(--text); }
.btn--primary:hover { background: #26afe9; }
.btn--secondary { background: var(--card); color: var(--text); border-color: var(--line-strong); }
.btn--secondary:hover { border-color: var(--text); }
.btn--block { width: 100%; }

/* ---------- Top bar ---------- */
.topbar { background: var(--night); color: var(--night-text-2); font-size: 14px; }
.topbar__in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 40px; }
.topbar a { text-decoration: none; transition: color .15s var(--ease); }
.topbar a:hover { color: var(--night-text); }
.topbar__num { color: var(--night-text); font-weight: 500; margin-left: 8px; font-variant-numeric: tabular-nums; }
.topbar__meta { display: flex; gap: 24px; }
@media (max-width: 760px) { .topbar__meta { display: none; } }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: var(--card); border-bottom: 1px solid var(--line); }
.site-head__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { display: block; padding-block: 8px; }
.brand img { width: auto; height: 52px; }
.nav ul { display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 8px 12px; border-radius: var(--r-sm);
  font-size: 16px; font-weight: 500; text-decoration: none; color: var(--text-2);
  transition: color .15s var(--ease), background-color .15s var(--ease);
}
.nav a:hover { color: var(--text); background: var(--bg); }
.nav a[aria-current="page"] { color: var(--text); box-shadow: inset 0 -2px 0 var(--blue); border-radius: 0; }
.nav .nav__cta { margin-left: 12px; padding: 12px 16px; background: var(--blue); color: var(--text); border-radius: var(--r-sm); }
.nav .nav__cta:hover { background: #26afe9; }
.nav .nav__cta[aria-current="page"] { box-shadow: none; border-radius: var(--r-sm); }

.nav-toggle {
  display: none; align-items: center; gap: 12px;
  min-height: 44px; padding: 0 16px;
  background: var(--card); border: 1px solid var(--line-strong); border-radius: var(--r-sm);
  font-weight: 500; cursor: pointer;
}
.nav-toggle__bars, .nav-toggle__bars::before, .nav-toggle__bars::after {
  display: block; width: 16px; height: 2px; background: var(--text); position: relative;
  transition: transform .2s var(--ease), background-color .2s var(--ease);
}
.nav-toggle__bars::before, .nav-toggle__bars::after { content: ''; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -5px; }
.nav-toggle__bars::after { top: 5px; }
.nav-open .nav-toggle__bars { background: transparent; }
.nav-open .nav-toggle__bars::before { transform: translateY(5px) rotate(45deg); }
.nav-open .nav-toggle__bars::after { transform: translateY(-5px) rotate(-45deg); }

@media (max-width: 1000px) {
  .nav-toggle { display: inline-flex; }
  .brand img { height: 44px; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); display: none; }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 24px; }
  .nav a { font-size: 22px; font-weight: 400; color: var(--text); padding: 16px 0; border-bottom: 1px solid var(--line); border-radius: 0; }
  .nav a:hover { background: none; }
  .nav a[aria-current="page"] { box-shadow: none; color: var(--blue-ink); }
  .nav .nav__cta { margin: 16px 0 0; padding: 16px; text-align: center; font-size: 18px; font-weight: 500; border-bottom: 0; }
}

/* ---------- Hero: asymmetric split, footage at full strength ---------- */
.hero { display: grid; background: var(--card); border-bottom: 1px solid var(--line); }
.hero__text { padding: 48px var(--gut) 40px; }
.hero__title {
  font-weight: 400;
  font-size: clamp(40px, 5.4vw, 72px);
  line-height: 1.04;
  letter-spacing: -0.03em;
  text-wrap: balance;
  margin-bottom: 24px;
}
.hero__lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 32rem; margin-bottom: 32px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero__media { position: relative; background: var(--raised); }
.hero__media video { width: 100%; height: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.hero__media figcaption {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 12px;
  padding: 12px var(--gut); font-size: 14px; color: var(--text-3);
}
@media (min-width: 1000px) {
  /* Text column = page content edge + a fixed measure, so the headline sets in
     three even lines at every width and the video takes the rest. */
  .hero {
    --edge: max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
    grid-template-columns: min(calc(var(--edge) + 576px), 56vw) minmax(0, 1fr);
    min-height: min(calc(100vh - 112px), 800px);
  }
  .hero__title { font-size: clamp(44px, 4.4vw, 64px); }
  .hero__text {
    align-self: center;
    /* extra bottom padding lifts the block to the optical centre */
    padding: 64px 56px 112px var(--edge);
  }
  .hero__media video { position: absolute; inset: 0; aspect-ratio: auto; }
  .hero__media figcaption { position: absolute; left: 16px; bottom: 16px; padding: 8px 12px; background: rgba(255, 255, 255, 0.92); border-radius: var(--r-sm); color: var(--text-2); }
}

/* ---------- Sections ---------- */
.section { padding-block: 80px; }
.section--raised { background: var(--card); border-block: 1px solid var(--line); }
@media (min-width: 960px) { .section { padding-block: 112px; } }

/* Service tiles */
.tiles4 { display: grid; gap: 40px 24px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.stile { display: grid; gap: 4px; text-decoration: none; }
.stile img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); margin-bottom: 16px; transition: opacity .15s var(--ease); }
.stile__name { font-size: 24px; font-weight: 500; letter-spacing: -0.01em; display: flex; justify-content: space-between; align-items: baseline; }
.stile__name::after { content: '→'; color: var(--text-3); transition: transform .15s var(--ease), color .15s var(--ease); }
.stile__desc { color: var(--text-2); font-size: 16px; line-height: 1.5; }
.stile:hover img { opacity: 0.88; }
.stile:hover .stile__name::after { color: var(--blue-ink); transform: translateX(4px); }

/* Materials teaser */
.grade { display: grid; gap: 40px; align-items: center; }
.grade__copy .sec-lead { margin: 16px 0 32px; }
.grade__strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; }
.grade__strip li { display: grid; gap: 4px; }
.grade__strip .swatch { width: 100%; aspect-ratio: 3 / 4; border-radius: var(--r-md); margin-bottom: 8px; }
.grade__name { font-size: 15px; font-weight: 500; }
.grade__price { font: 400 14px/1.4 var(--f-mono); color: var(--text-2); }
@media (min-width: 1000px) { .grade { grid-template-columns: 4fr 7fr; gap: 64px; } }
@media (max-width: 560px) {
  .grade__strip { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .grade__strip li:nth-child(n+4) { display: none; }
}

/* Press */
.press { display: grid; gap: 8px; }
@media (min-width: 1000px) {
  .press { grid-template-columns: 4fr 8fr; gap: 64px; align-items: start; }
  .press .sec-head { position: sticky; top: 120px; }
}
.press__list { border-top: 1px solid var(--line-strong); }
.press__list li { border-bottom: 1px solid var(--line); }
.js .press__list[data-collapsed] .press__more { display: none; }
.press__list a { display: grid; grid-template-columns: 56px 1fr; gap: 16px; padding: 20px 0; text-decoration: none; }
.press__year { font: 400 15px/1.6 var(--f-mono); color: var(--text-3); }
.press__body { display: grid; gap: 4px; justify-items: start; }
.press__title { font-size: 19px; font-weight: 500; line-height: 1.35; transition: color .15s var(--ease); }
.press__src { font-size: 14px; color: var(--text-3); }
.press__src::after { content: ' ↗'; }
.press__list a:hover .press__title { color: var(--blue-ink); }
.press__toggle { margin-top: 24px; }

/* Who to call */
.who { border-top: 1px solid var(--line-strong); }
.who__row {
  display: grid; grid-template-columns: 48px 1fr auto; gap: 0 16px; align-items: center;
  padding: 16px 0; border-bottom: 1px solid var(--line);
}
.who__row img { grid-row: span 2; width: 48px; height: 48px; object-fit: cover; object-position: top; border-radius: 50%; }
.who__topic { font-size: 14px; color: var(--text-2); }
.who__name { grid-column: 2; font-weight: 500; }
.who__tel { grid-column: 3; grid-row: 1 / span 2; font-size: 17px; font-weight: 500; text-decoration: none; font-variant-numeric: tabular-nums; transition: color .15s var(--ease); }
.who__tel:hover { color: var(--blue-ink); }
@media (min-width: 860px) {
  .who__row { grid-template-columns: 48px 2fr 2fr 1fr; padding: 12px 0; }
  .who__row img { grid-row: auto; }
  .who__topic { font-size: 17px; color: var(--text); }
  .who__name { grid-column: auto; font-weight: 400; color: var(--text-2); }
  .who__tel { grid-column: auto; grid-row: auto; justify-self: end; }
}

/* Sauna teaser */
.sauna-teaser { display: grid; gap: 24px; }
.sauna-teaser img { width: 100%; aspect-ratio: 1920 / 533; min-height: 160px; object-fit: cover; border-radius: var(--r-md); }
.sauna-teaser__text { display: grid; gap: 12px; }
.sauna-teaser .btn { justify-self: start; }
@media (min-width: 960px) {
  .sauna-teaser { grid-template-columns: 1fr auto; align-items: end; column-gap: 48px; }
  .sauna-teaser img { grid-column: 1 / -1; }
}

/* ---------- Inner page header ---------- */
.phead { background: var(--card); border-bottom: 1px solid var(--line); }
.phead__in { padding-block: 64px 48px; }
.phead__title {
  font-weight: 400;
  font-size: clamp(40px, 6vw, 72px);
  line-height: 1.04; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.phead__lead { font-size: 19px; line-height: 1.55; color: var(--text-2); max-width: 36rem; margin: 0; }
.phead__lead a { color: var(--blue-ink); }
.phead .btn { margin-top: 32px; }
@media (min-width: 960px) { .phead__in { padding-block: 96px 64px; } }

.phead--split { display: grid; }
.phead--split .phead__in { padding-inline: var(--gut); }
.phead__media { position: relative; background: var(--raised); }
.phead__media img, .phead__media video { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
@media (min-width: 1000px) {
  .phead--split { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); min-height: 480px; }
  .phead--split .phead__in {
    align-self: center;
    padding: 80px 48px 80px max(var(--gut), calc((100vw - var(--wrap)) / 2 + var(--gut)));
  }
  .phead__media img, .phead__media video { position: absolute; inset: 0; height: 100%; aspect-ratio: auto; }
}

/* ---------- Content with contact card ---------- */
.split { display: grid; gap: 48px; padding-block: 64px 96px; }
@media (min-width: 960px) {
  .split { grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
  .person { position: sticky; top: 112px; }
}
.split--top { border-top: 1px solid var(--line); }
.figure { margin-bottom: 48px; }
.figure img { width: 100%; border-radius: var(--r-md); }
.figure figcaption { font-size: 14px; color: var(--text-3); margin-top: 12px; }
.group { margin-bottom: 48px; }
.group__title { font-size: 22px; font-weight: 500; letter-spacing: -0.01em; margin-bottom: 12px; }
.ticks { border-top: 1px solid var(--line-strong); }
.ticks li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.note { padding: 16px 20px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-md); color: var(--text-2); }
.note a { color: var(--blue-ink); font-weight: 500; }
.seasons { display: grid; gap: 40px; margin-bottom: 48px; }
@media (min-width: 720px) { .seasons { grid-template-columns: 1fr 1fr; } }

.person { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 20px; }
.person__label { font-size: 14px; color: var(--text-2); margin-bottom: 16px; }
.person__img { width: 100%; aspect-ratio: 1; object-fit: cover; object-position: top; border-radius: var(--r-sm); margin-bottom: 16px; }
.person__name { font-size: 20px; font-weight: 500; margin-bottom: 4px; }
.person__role { color: var(--text-2); font-size: 15px; margin-bottom: 12px; }
.person__line { display: block; padding: 12px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; transition: color .15s var(--ease); }
.person__line:hover { color: var(--blue-ink); }
@media (max-width: 959px) {
  .person { display: grid; grid-template-columns: 96px 1fr; column-gap: 20px; }
  .person__label { grid-column: 1 / -1; }
  .person__img { grid-row: span 4; margin: 0; }
  .person__line { grid-column: 2; }
}

/* Fleet */
.fleet { margin: 0 0 48px; border-top: 1px solid var(--line-strong); }
.fleet__row { display: grid; gap: 4px 32px; padding: 20px 0; border-bottom: 1px solid var(--line); }
@media (min-width: 720px) { .fleet__row { grid-template-columns: 1fr 1.3fr; } }
.fleet dt { font-size: 20px; font-weight: 500; }
.fleet__cap { display: block; font: 400 15px/1.5 var(--f-mono); color: var(--text-2); margin-top: 4px; }
.fleet dd { margin: 0; color: var(--text-2); }

/* ---------- Calculator ---------- */
.calc { padding-block: 64px 96px; }
.calc > .sec-lead { margin: 16px 0 40px; }
.calc fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.calc legend { font-size: 15px; font-weight: 500; color: var(--text); padding: 0; margin-bottom: 12px; }
.calc__grid { display: grid; gap: 32px; }
@media (min-width: 1040px) { .calc__grid { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; } }

.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(136px, 1fr)); gap: 12px; }
@media (max-width: 560px) {
  .tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
  .tile { padding: 4px 4px 8px; }
  .tile__name, .tile__price { font-size: 14px; }
  .tile__spec { font-size: 13px; }
  .tile:has(input:checked)::after { top: 8px; right: 8px; }
}
.tile {
  position: relative; display: grid; gap: 4px; cursor: pointer;
  padding: 8px 8px 12px; background: var(--card);
  border: 1px solid var(--line); border-radius: var(--r-md);
  transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.tile:hover { border-color: var(--line-strong); }
.tile input { position: absolute; opacity: 0; pointer-events: none; }
.tile .swatch { width: 100%; aspect-ratio: 1; border-radius: 4px; margin-bottom: 8px; }
.swatch { object-fit: cover; height: auto; background: var(--raised); }
.tile__name { font-weight: 500; font-size: 15px; line-height: 1.3; }
.tile__spec { font-size: 14px; color: var(--text-2); }
.tile__price { font: 500 15px/1.4 var(--f-mono); margin-top: 4px; }
.tile:has(input:checked) { border-color: var(--text); box-shadow: inset 0 0 0 1px var(--text); }
.tile:has(input:checked)::after {
  content: ''; position: absolute; top: 16px; right: 16px; width: 20px; height: 20px; border-radius: 50%;
  background: var(--blue) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5.5 10.5l3 3 6-7' fill='none' stroke='%2312181c' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 20px no-repeat;
}
.tile:has(input:focus-visible) { outline: 2px solid var(--blue-ink); outline-offset: 2px; }

.calc__side { display: grid; gap: 28px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 1040px) { .calc__side { position: sticky; top: 104px; } }
.qty { display: grid; grid-template-columns: 48px 1fr auto 48px; align-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-sm); }
.qty input { width: 100%; min-width: 0; border: 0; background: none; text-align: right; font: 500 24px/1 var(--f-mono); padding: 8px 4px; -moz-appearance: textfield; }
.qty input::-webkit-inner-spin-button, .qty input::-webkit-outer-spin-button { -webkit-appearance: none; }
.qty__unit { font-size: 15px; color: var(--text-2); padding: 0 8px; }
.qty__btn { height: 48px; border: 0; background: none; font-size: 20px; cursor: pointer; border-radius: var(--r-sm); transition: background-color .15s var(--ease); }
.qty__btn:hover { background: var(--bg); }

.seg { display: grid; gap: 8px; }
.seg label {
  display: flex; align-items: center; gap: 12px; min-height: 44px; padding: 0 12px;
  border: 1px solid var(--line); border-radius: var(--r-sm); cursor: pointer; font-size: 16px;
  transition: border-color .15s var(--ease);
}
.seg label:hover { border-color: var(--line-strong); }
.seg label:has(input:checked) { border-color: var(--text); }
.seg input { accent-color: var(--text); width: 16px; height: 16px; margin: 0; }
.km { display: grid; gap: 8px; margin-top: 16px; }
.km[hidden] { display: none; }
.km label { font-size: 14px; color: var(--text-2); margin-top: 4px; }
.km__row { display: flex; align-items: center; gap: 8px; color: var(--text-2); }
.km input, .km select { width: 100%; min-height: 44px; padding: 0 12px; border: 1px solid var(--line-strong); border-radius: var(--r-sm); background: var(--card); }
.km input { font-family: var(--f-mono); max-width: 120px; }

.total { display: grid; gap: 8px; padding-top: 20px; border-top: 1px solid var(--line-strong); }
.total__row { display: flex; justify-content: space-between; gap: 12px; font-size: 15px; color: var(--text-2); }
.total__sum { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; font-weight: 500; margin-top: 8px; }
.total__sum .mono { font-size: 32px; font-weight: 500; }
.total__note { font-size: 14px; color: var(--text-2); }
.total__note:empty { display: none; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; margin-top: 24px; }
.prices { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-strong); font-variant-numeric: tabular-nums; }
.prices th, .prices td { text-align: left; padding: 12px 12px 12px 0; border-bottom: 1px solid var(--line); vertical-align: baseline; }
.prices thead th { font-size: 14px; font-weight: 500; color: var(--text-2); }
.prices tbody th { font-weight: 500; }
.prices td { color: var(--text-2); }
.prices .num { text-align: right; padding-right: 0; color: var(--text); }
.prices__foot th, .prices__foot td { border-bottom-color: var(--line-strong); }
.sec-title--sm { font-size: 28px; margin-top: 64px; }
.split--top .figure { margin-top: 64px; }

/* ---------- Sauna page ---------- */
.sauna { display: grid; gap: 24px; padding-block: 64px 96px; }
@media (min-width: 860px) { .sauna { grid-template-columns: 1fr 1fr; } }
.sauna__card { padding: 32px; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); }
.sauna__card--dark { background: var(--night); color: var(--night-text-2); border-color: var(--night); }
.sauna__card--dark .group__title { color: var(--night-text); }
.sauna__card--dark .small { color: var(--night-text-2); }
.hours { width: 100%; border-collapse: collapse; border-top: 1px solid var(--line-strong); margin: 4px 0 32px; font-variant-numeric: tabular-nums; }
.hours th, .hours td { text-align: left; padding: 16px 8px 16px 0; border-bottom: 1px solid var(--line); }
.hours th { font-weight: 500; }
.hours td:last-child { text-align: right; padding-right: 0; }
.sauna__price { font-size: 16px; margin-bottom: 24px; }
.sauna__price .mono { font-size: 36px; font-weight: 500; margin-right: 8px; color: var(--text); }
.sauna__card--dark .sauna__price .mono { color: var(--night-text); }

/* ---------- Contact page ---------- */
.winter-callout {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 32px;
  margin-block: 64px 48px; padding: 32px;
  background: var(--night); color: var(--night-text); border-radius: var(--r-lg);
}
.winter-callout__label { font-size: 15px; font-weight: 500; color: var(--night-text); margin-bottom: 4px; }
.winter-callout__txt { margin: 0; color: var(--night-text-2); }
.winter-callout__num { font-size: clamp(28px, 4vw, 40px); font-weight: 400; letter-spacing: -0.02em; text-decoration: none; font-variant-numeric: tabular-nums; transition: color .15s var(--ease); }
.winter-callout__num:hover { color: var(--blue); }
.team { display: grid; grid-template-columns: repeat(auto-fill, minmax(208px, 1fr)); gap: 40px 24px; }
.team__card img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); margin-bottom: 16px; }
.team__role { font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.team__name { font-size: 20px; font-weight: 500; margin-bottom: 8px; }
.team__card a { display: block; padding: 8px 0; border-top: 1px solid var(--line); text-decoration: none; font-size: 16px; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; transition: color .15s var(--ease); }
.team__card a:hover { color: var(--blue-ink); }
.reqs { margin-block: 64px 96px; border-top: 1px solid var(--line-strong); }
.reqs dl { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 0; }
.reqs dl > div { padding: 20px 20px 20px 0; border-bottom: 1px solid var(--line); }
.reqs dt { font-size: 14px; color: var(--text-2); margin-bottom: 4px; }
.reqs dd { margin: 0; font-weight: 500; }
.reqs a { text-decoration: none; }
.reqs a:hover { color: var(--blue-ink); }

/* ---------- Footer ---------- */
.site-foot { background: var(--night); color: var(--night-text-2); padding-top: 80px; font-size: 16px; }
.site-foot a { text-decoration: none; transition: color .15s var(--ease); }
.site-foot a:hover { color: var(--night-text); }
.foot-grid { display: grid; gap: 40px; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); padding-bottom: 64px; }
.foot-grid p { margin-bottom: 24px; }
.foot-name { font-size: 22px; font-weight: 500; color: var(--night-text); }
.foot-grid .foot-name { margin-bottom: 8px; }
.foot-muted { max-width: 24ch; }
.foot-h { font-size: 14px; font-weight: 400; color: var(--night-text-2); margin: 0 0 8px; }
.foot-big { font-size: 22px; color: var(--night-text); font-variant-numeric: tabular-nums; }
.foot-nav li { margin-bottom: 8px; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-block: 24px; border-top: 1px solid rgba(238, 241, 242, 0.1); font-size: 14px; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
