/* ============================================================
   Köstka — dětská herna
   Static site, 12-col industra-style grid, Poppins, pastel palette
   ============================================================ */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html, body { height: 100%; }
body {
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; color: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
h1, h2, h3, h4, h5, h6 { line-height: 1.1; }
ul, ol { list-style: none; padding: 0; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }

/* ---------- Fonts ---------- */
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('../fonts/poppins-300-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('../fonts/poppins-400-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/poppins-500-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/poppins-600-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Poppins';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/poppins-700-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
/* League Spartan — variable font (500–800) for headings */
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/league-spartan-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'League Spartan';
  font-style: normal;
  font-weight: 500 800;
  font-display: swap;
  src: url('../fonts/league-spartan-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ---------- Tokens ---------- */
:root {
  --peach:  #FECCB7;
  --cream:  #F9F6D4;
  --yellow: #F5E287;
  --sky:    #B6DADD;
  --ink:    #1a1a1a;
  --paper:  #FFFFFF;

  --ff: 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;
  --ff-heading: 'League Spartan', 'Poppins', system-ui, -apple-system, Segoe UI, sans-serif;

  --fs-xs: 0.8125rem;
  --fs-sm: 0.9375rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: clamp(1.25rem, 1.6vw, 1.5rem);
  --fs-2xl: clamp(1.75rem, 3vw, 2.5rem);
  --fs-3xl: clamp(2rem, 4vw, 3.5rem);
  --fs-4xl: clamp(2.5rem, 6vw, 5rem);

  --s-1: 0.5rem;
  --s-2: 1rem;
  --s-3: 1.5rem;
  --s-4: 2rem;
  --s-5: 3rem;
  --s-6: 4rem;
  --s-7: 5rem;

  --border: 1px solid var(--ink);
  --cell-pad: clamp(1.5rem, 3vw, 3rem);

  --container: 1400px;
}

html { color-scheme: light; }
body {
  font-family: var(--ff);
  font-size: var(--fs-base);
  font-weight: 400;
  color: var(--ink);
  background: var(--paper);
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  font-family: var(--ff-heading);
  font-weight: 700;
  letter-spacing: -0.02em;
}
h1 { font-size: var(--fs-4xl); font-weight: 800; }
h2 { font-size: var(--fs-3xl); font-weight: 800; }
h3 { font-size: var(--fs-2xl); font-weight: 700; }
h4 { font-size: var(--fs-xl); font-weight: 600; }
p  { font-size: var(--fs-base); line-height: 1.6; }

.eyebrow {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  display: inline-block;
  margin-bottom: var(--s-2);
}
.lead { font-size: var(--fs-lg); max-width: 52ch; line-height: 1.55; }

/* ---------- Container ---------- */
.container {
  max-width: var(--container);
  margin-inline: auto;
  border-left: var(--border);
  border-right: var(--border);
}

/* ---------- Status bar (open/closed) ---------- */
.status-bar {
  max-width: var(--container);
  margin-inline: auto;
  border-left: var(--border);
  border-right: var(--border);
  border-bottom: var(--border);
  padding: var(--s-2) var(--s-3);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  font-size: var(--fs-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.status-bar--open { background: var(--sky); }
.status-bar--closed { background: var(--cream); }
.status-bar::before {
  content: '';
  width: 0.55em;
  height: 0.55em;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.9;
}
.status-bar--open::before { background: #1d7b3d; }
.status-bar--closed::before { background: #a33; }

/* ---------- Navigation ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--paper);
  border-bottom: var(--border);
}
.nav__inner {
  max-width: var(--container);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--s-2) var(--s-3);
  border-left: var(--border);
  border-right: var(--border);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  font-weight: 700;
  font-size: var(--fs-lg);
}
.nav__logo img { height: 34px; width: auto; }
.nav__menu {
  display: flex;
  gap: var(--s-5);
  align-items: center;
}
.nav__link {
  font-weight: 500;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  position: relative;
  padding: var(--s-1) 0;
}
.nav__link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -2px;
  height: 2px;
  background: var(--ink);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}
.nav__link:hover::after,
.nav__link[aria-current="page"]::after { transform: scaleX(1); }
.nav__toggle {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav__toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav.is-open .nav__toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.is-open .nav__toggle span:nth-child(2) { opacity: 0; }
.nav.is-open .nav__toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 820px) {
  .nav__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--paper);
    border-bottom: var(--border);
    padding: var(--s-2);
    transform: translateY(-120%);
    transition: transform 0.25s ease;
    max-width: var(--container);
    margin-inline: auto;
    border-left: var(--border);
    border-right: var(--border);
  }
  .nav.is-open .nav__menu { transform: translateY(0); }
  .nav__link {
    display: block;
    padding: var(--s-2) 0;
    border-bottom: 1px dashed rgba(0,0,0,0.15);
    width: 100%;
  }
  .nav__link:last-child { border-bottom: 0; }
  .nav__toggle { display: flex; }
}

/* ---------- Grid system ---------- */
.grid-12 {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
}
.cell {
  grid-column: span 12;
  padding: var(--cell-pad);
  border-bottom: var(--border);
  position: relative;
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cell + .cell { border-left: var(--border); }

/* Col spans — desktop (≥1024) */
@media (min-width: 1024px) {
  .cell.col-1-4  { grid-column: 1 / span 4; }
  .cell.col-5-8  { grid-column: 5 / span 4; }
  .cell.col-9-12 { grid-column: 9 / span 4; }
  .cell.col-1-6  { grid-column: 1 / span 6; }
  .cell.col-7-12 { grid-column: 7 / span 6; }
  .cell.col-1-8  { grid-column: 1 / span 8; }
  .cell.col-9-12-row-1 { grid-column: 9 / span 4; }
  .cell.col-1-3  { grid-column: 1 / span 3; }
  .cell.col-4-6  { grid-column: 4 / span 3; }
  .cell.col-7-9  { grid-column: 7 / span 3; }
  .cell.col-10-12{ grid-column: 10 / span 3; }
  .cell.row-span-2 { grid-row: span 2; }
  /* Reset left borders for leftmost cells in each row */
  .cell.col-1-4,
  .cell.col-1-6,
  .cell.col-1-8,
  .cell.col-1-3 { border-left: 0; }

  /* Square tiles — 1/3- and 1/4-width cells keep a symmetric aspect ratio,
     unless they explicitly span multiple rows (e.g. hero) */
  .cell.col-1-4:not(.row-span-2),
  .cell.col-5-8:not(.row-span-2),
  .cell.col-9-12:not(.row-span-2),
  .cell.col-1-3:not(.row-span-2),
  .cell.col-4-6:not(.row-span-2),
  .cell.col-7-9:not(.row-span-2),
  .cell.col-10-12:not(.row-span-2) {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  /* Merged tiles — two squares side-by-side = 2:1 rectangle */
  .cell.col-1-8:not(.row-span-2),
  .cell.col-1-6:not(.row-span-2),
  .cell.col-7-12:not(.row-span-2) {
    aspect-ratio: 2 / 1;
    min-height: 0;
  }
}
/* Tablet (768–1023) — 2 columns */
@media (min-width: 768px) and (max-width: 1023px) {
  .cell { grid-column: span 6; }
  .cell.col-span-12-md { grid-column: span 12; }
  .cell:nth-child(odd) { border-left: 0; }
}
/* Mobile (< 768) — 1 column */
@media (max-width: 767px) {
  .cell { grid-column: span 12; border-left: 0; }
}

/* Cell color variants */
.cell--peach  { background: var(--peach); }
.cell--cream  { background: var(--cream); }
.cell--yellow { background: var(--yellow); }
.cell--sky    { background: var(--sky); }
.cell--paper  { background: var(--paper); }
.cell--ink    { background: var(--ink); color: var(--cream); }

/* ---------- Hero ---------- */
.hero {
  min-height: 520px;
  background:
    linear-gradient(rgba(254,204,183,0.85), rgba(254,204,183,0.65)),
    url('../hero-playroom.jpg') center/cover no-repeat;
  padding: var(--s-6) var(--cell-pad);
  justify-content: flex-end;
}
.hero__eyebrow {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: var(--s-3);
}
.hero__title {
  font-size: var(--fs-4xl);
  font-weight: 500;
  max-width: 14ch;
  line-height: 1;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-3);
}
.hero__title--logo {
  max-width: none;
  margin-bottom: var(--s-4);
}
.hero__title--logo img {
  width: clamp(260px, 55%, 520px);
  height: auto;
  display: block;
}
.hero__sub {
  font-size: var(--fs-lg);
  max-width: 48ch;
  margin-bottom: var(--s-4);
}
.hero__cta { display: flex; gap: var(--s-2); flex-wrap: wrap; }

/* Logo feature cell */
.logo-cell {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s-5);
  min-height: 260px;
}
.logo-cell img,
.logo-cell svg {
  max-width: 60%;
  max-height: 60%;
  height: auto;
  width: auto;
  object-fit: contain;
}
.hours-cell__title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.hours-cell__row {
  display: flex;
  justify-content: space-between;
  gap: var(--s-2);
  padding: var(--s-1) 0;
  font-size: var(--fs-sm);
  border-bottom: 1px dashed rgba(0,0,0,0.25);
}
.hours-cell__row:last-child { border-bottom: 0; }
.hours-cell__row strong { font-weight: 600; }

/* ---------- Feature cards ---------- */
.feature__icon {
  width: 56px;
  height: 56px;
  margin-bottom: var(--s-3);
  display: flex;
  align-items: center;
  justify-content: center;
  border: var(--border);
  border-radius: 6px;
  background: var(--paper);
}
.feature__icon svg { width: 28px; height: 28px; }
.feature__title {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-2);
}
.feature__text {
  font-size: var(--fs-sm);
  line-height: 1.6;
  max-width: 32ch;
}
.feature__body { display: flex; flex-direction: column; gap: var(--s-2); }

/* Feature tile — content stacked and centered, filling the square naturally */
.cell.feature-tile {
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-3);
}
.cell.feature-tile .feature__icon {
  width: 64px;
  height: 64px;
  margin-bottom: var(--s-2);
}
.cell.feature-tile .feature__icon svg { width: 30px; height: 30px; }
.cell.feature-tile .feature__title {
  font-size: clamp(1.75rem, 2.6vw, 2.5rem);
  line-height: 1.05;
  margin-bottom: var(--s-2);
  letter-spacing: -0.02em;
  max-width: 14ch;
}
.cell.feature-tile .feature__body { gap: var(--s-2); }
.cell.feature-tile .feature__text {
  font-size: var(--fs-lg);
  line-height: 1.5;
  max-width: 32ch;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s-1);
  padding: 0.9em 1.5em;
  font-weight: 600;
  font-size: var(--fs-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}
.btn:hover { background: var(--ink); color: var(--cream); transform: translateY(-1px); }
.btn--primary { background: var(--ink); color: var(--cream); }
.btn--primary:hover { background: var(--paper); color: var(--ink); }
.btn__arrow { transition: transform 0.18s ease; }
.btn:hover .btn__arrow { transform: translateX(3px); }

/* ---------- Pricing ---------- */
.price-card {
  position: relative;
  text-align: left;
}
.price-card__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.price-card__amount {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1;
  margin-bottom: var(--s-1);
}
.price-card__per {
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
  opacity: 0.75;
}
.price-card__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-4);
}
.price-card__list li {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
}
.price-card__check {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
}
.price-card__badge {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  background: var(--ink);
  color: var(--cream);
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  padding: 0.4em 0.8em;
  border-radius: 2px;
}

/* Opening hours — big numbers, minimal chrome */
.cell.hours-tile {
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-1);
}
.hours-tile__day {
  font-size: var(--fs-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: var(--s-2);
}
.hours-tile__time {
  font-family: var(--ff-heading);
  font-size: clamp(3.5rem, 8vw, 6.5rem);
  font-weight: 500;
  line-height: 0.95;
  letter-spacing: -0.03em;
  margin: var(--s-1) 0;
}
.hours-tile__closed {
  font-size: var(--fs-sm);
  opacity: 0.7;
}

/* ---------- Gallery ---------- */
.gallery-figure {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 0;
  aspect-ratio: 1 / 1;
  cursor: zoom-in;
  display: block;
}
.gallery-figure img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.gallery-figure:hover img { transform: scale(1.05); }
.gallery-figure figcaption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  background: var(--paper);
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-sm);
  font-weight: 600;
  border-top: var(--border);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-figure:hover figcaption,
.gallery-figure:focus-within figcaption { transform: translateY(0); }

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: var(--s-4);
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border: var(--border);
  background: var(--paper);
}
.lightbox__close {
  position: absolute;
  top: var(--s-3);
  right: var(--s-3);
  color: var(--paper);
  font-size: 2rem;
  padding: var(--s-2);
  line-height: 1;
}

/* ---------- Contact ---------- */
.info-card {
  text-align: left;
}
.info-card__icon {
  width: 38px;
  height: 38px;
  margin-bottom: var(--s-2);
}
.info-card__icon svg { width: 100%; height: 100%; }
.info-card__label {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 600;
  margin-bottom: var(--s-1);
  opacity: 0.7;
}
.info-card__value {
  font-size: var(--fs-lg);
  font-weight: 600;
  line-height: 1.4;
}
.info-card__value a:hover { text-decoration: underline; }

.map-cell {
  padding: 0;
  min-height: 0;
  overflow: hidden;
  justify-content: stretch;
  align-items: stretch;
}
.map-cell a {
  display: block;
  width: 100%;
  height: 100%;
}
.map-cell img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.map-cell a:hover img { transform: scale(1.03); }

/* ---------- Newsletter tile ---------- */
.cell.newsletter-tile { justify-content: center; gap: var(--s-2); }
.newsletter-tile__title {
  font-size: clamp(1.5rem, 2.6vw, 2.5rem);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
  margin-bottom: var(--s-2);
}
.newsletter-tile__lead {
  font-size: var(--fs-sm);
  line-height: 1.55;
  max-width: 44ch;
  margin-bottom: var(--s-3);
  opacity: 0.85;
}
.newsletter-form {
  display: flex;
  gap: var(--s-2);
  flex-wrap: wrap;
  max-width: 520px;
}
.newsletter-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 200px;
  padding: 0.9em 1.1em;
  font-size: var(--fs-base);
  border: var(--border);
  background: var(--paper);
  color: var(--ink);
  border-radius: 0;
  font-family: inherit;
}
.newsletter-form input[type="email"]:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
.newsletter-form input[type="email"]::placeholder { color: rgba(0,0,0,0.45); }
.newsletter-form__hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.newsletter-form button[type="submit"] { flex: 0 0 auto; }
.newsletter-form button[disabled] { opacity: 0.6; cursor: wait; }
.newsletter-form__status {
  margin-top: var(--s-2);
  font-size: var(--fs-sm);
  min-height: 1.5em;
  font-weight: 500;
}
.newsletter-form__status[data-tone="ok"] { color: #0a6631; }
.newsletter-form__status[data-tone="error"] { color: #b00020; }

.cell.newsletter-side { justify-content: center; }
.newsletter-side__list {
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
  font-size: var(--fs-base);
  line-height: 1.45;
  max-width: 28ch;
}
.newsletter-side__list li {
  display: flex;
  align-items: flex-start;
  gap: var(--s-2);
}
.newsletter-side__list svg { flex-shrink: 0; margin-top: 3px; }

/* ---------- Page header (for sub-pages) ---------- */
.page-header {
  padding: clamp(3rem, 7vw, 6rem) var(--cell-pad);
  justify-content: center;
}
.page-header__eyebrow {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 600;
  margin-bottom: var(--s-2);
}
.page-header__title {
  font-size: var(--fs-4xl);
  font-weight: 500;
  letter-spacing: -0.02em;
  margin-bottom: var(--s-2);
  line-height: 1;
}
.page-header__sub {
  font-size: var(--fs-lg);
  max-width: 56ch;
}

/* ---------- CTA tile (in grid) ---------- */
.cell.cta-tile { justify-content: center; }
.cta-tile__title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 18ch;
}
.cell.cta-tile--action {
  align-items: center;
  text-align: center;
}
.cell.cta-tile--action .btn { font-size: var(--fs-base); padding: 1.1em 1.8em; }

/* ---------- Footer ---------- */
.footer { background: var(--paper); }
.footer .grid-12 { border-top: 0; }
.footer-cell__title {
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-weight: 700;
  margin-bottom: var(--s-3);
}
.footer-cell p,
.footer-cell a { font-size: var(--fs-sm); line-height: 1.6; }
.footer-cell a:hover { text-decoration: underline; }

/* Brand cell — logo cube + tagline, fills the square */
.cell.footer-cell--brand {
  justify-content: center;
  align-items: flex-start;
  gap: var(--s-3);
}
.footer-cell__mark {
  width: clamp(72px, 35%, 120px);
  height: auto;
}
.footer-cell__tagline {
  font-family: var(--ff-heading);
  font-size: clamp(1.5rem, 2.4vw, 2.1rem) !important;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  max-width: 16ch;
}
.footer__meta {
  max-width: var(--container);
  margin-inline: auto;
  padding: var(--s-2) var(--cell-pad);
  border-left: var(--border);
  border-right: var(--border);
  border-bottom: var(--border);
  display: flex;
  justify-content: space-between;
  font-size: var(--fs-xs);
  opacity: 0.6;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ---------- Utilities ---------- */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}
