/* ============================================================
   POZEMOK DOPRAVNÁ · RAČA — Simple Reality landing page
   Styles consolidated: single palette, grouped by component.
   ============================================================ */

/* === FONTS (self-hosted: no request to Google before consent; OFL licences in assets/fonts) === */
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'DM Sans';
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url('assets/fonts/dm-sans-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: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-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-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Manrope';
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url('assets/fonts/manrope-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;
}

/* === DESIGN TOKENS ============================================ */
:root {
  --ink: #162d3a;
  --ink-soft: #4e646c;
  --muted: #596d75;
  --cream: #f5f8f9;
  --surface: #e8eff1;
  --white: #ffffff;
  --line: #d4e0e3;
  --divider: #d9e4e7;
  --accent: #4c8392;        /* primary teal (hero em, eyebrows, links) */
  --accent-strong: #416b7b; /* hover state */
  --accent-soft: #9bc8d2;   /* on dark backgrounds */
}

/* === RESET & BASE ============================================= */
*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

a { color: inherit; }
img { display: block; width: 100%; }
button { font: inherit; }

.wrap {
  max-width: 1500px;
  margin: auto;
  padding: 0 clamp(22px, 5vw, 80px);
}

/* === SHARED COMPONENTS ======================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: '';
  width: 27px;
  height: 2px;
  background: currentColor;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 28px;
  min-height: 54px;
  padding: 17px 22px;
  background: var(--ink);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 800;
  transition: background 0.2s, transform 0.2s;
}
.button:hover {
  background: var(--accent-strong);
  color: var(--white);
  transform: translateY(-2px);
}

.text-link {
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}
.text-link:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}

.note {
  margin-top: 26px;
  color: var(--muted);
  font-size: 13px;
}

/* === HEADER =================================================== */
header {
  max-width: none !important;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: var(--white);
  color: var(--ink);
  border-bottom: 1px solid var(--divider);
}

.brand {
  display: flex;
  align-items: center;
  gap: 20px;
  text-decoration: none;
}

.wordmark {
  font: 600 24px/1 Manrope, sans-serif;
  letter-spacing: -0.055em;
  white-space: nowrap;
}
.wordmark .slash {
  margin: 0 2px;
  color: var(--accent);
  font-weight: 400;
}

.property-name {
  padding-left: 19px;
  border-left: 1px solid #cbdadd;
  color: #607782;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  white-space: nowrap;
}

.nav {
  display: flex;
  align-items: center;
  gap: 34px;
  font-size: 14px;
  font-weight: 600;
}
.nav a { text-decoration: none; }
.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 5px;
}
.nav .nav-cta {
  padding: 12px 19px;
  background: var(--ink);
  color: var(--white);
  font-weight: 800;
}
.nav .nav-cta:hover {
  background: var(--accent-strong);
  color: var(--white);
  text-decoration: none;
}

/* === HERO ===================================================== */
.hero {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: stretch;
  min-height: 665px;
  overflow: hidden;
  isolation: isolate;
  background: var(--white);
}

.hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px clamp(35px, 4.7vw, 78px) 75px clamp(22px, 5vw, 80px);
  background: var(--white);
  color: var(--ink);
}
.hero .eyebrow { color: var(--accent); }

.hero h1 {
  margin: 26px 0 29px;
  max-width: 610px;
  font: 600 clamp(52px, 5.1vw, 84px)/1.03 Manrope, sans-serif;
  letter-spacing: -0.07em;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent);
}

.hero-intro {
  max-width: 460px;
  margin: 0 0 34px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 1.55;
}

.hero .text-link { color: var(--ink); }

.hero-actions {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 665px;
  overflow: hidden;
  background: #596660; /* fallback until image loads */
}
.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.visual-note {
  position: absolute;
  z-index: 2;
  left: 26px;
  bottom: 26px;
  max-width: 310px;
  padding: 13px 17px;
  background: rgba(18, 42, 54, 0.94);
  color: var(--white);
}
.visual-note strong {
  display: block;
  color: #b8dbe3;
  font: 800 12px Manrope, sans-serif;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.visual-note span {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  line-height: 1.4;
}

/* === FACT STRIP =============================================== */
.fact-strip {
  background: var(--ink);
  color: var(--white);
}
.fact-strip .wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  padding-top: 28px;
  padding-bottom: 28px;
}
.fact-strip .wrap > div {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 28px 35px 28px 0;
}
.fact-strip .wrap > div + div {
  padding-left: 35px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}
.fact-strip strong {
  font: 800 clamp(24px, 2.7vw, 39px)/1 Manrope, sans-serif;
  letter-spacing: -0.07em;
  white-space: nowrap;
}
.fact-strip span {
  font-size: 12px;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

/* === SECTIONS (shared) ======================================== */
.section { padding: 110px 0; }

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 42px;
}

.section h2 {
  margin: 18px 0 30px;
  font: 700 clamp(40px, 4.4vw, 68px)/1.04 Manrope, sans-serif;
  letter-spacing: -0.07em;
}
.section p { color: var(--muted); }

/* === OVERVIEW ================================================= */
.overview { background: #f7f9f9; }

.overview-grid {
  display: grid;
  grid-template-columns: 0.94fr 1.06fr;
  gap: 9vw;
}

.lead {
  margin: 0 0 24px;
  font: 600 clamp(23px, 2.2vw, 31px)/1.42 Manrope, sans-serif;
  letter-spacing: -0.045em;
  color: var(--ink) !important;
}
.overview-copy p:not(.lead) { max-width: 550px; }

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 20px 0 0;
  border-top: 2px solid var(--ink);
}
.detail-grid div {
  padding: 20px 12px 21px 0;
  border-bottom: 1px solid var(--line);
}
.detail-grid div:nth-child(even) { padding-left: 22px; }
.detail-grid dt {
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.detail-grid dd {
  margin: 0;
  font: 700 17px Manrope, sans-serif;
}

/* === GALLERY ================================================== */
.gallery { background: var(--surface); }
.gallery .section-head h2 { margin-bottom: 0; }

.gallery-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.78fr 0.78fr;
  gap: 12px;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  background: #aebbb4;
}
.gallery img {
  height: 390px;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.18);
  transition: transform 0.3s;
}
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption {
  padding: 13px 2px;
  color: #526260;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
}
.gallery-note {
  margin-top: 18px !important;
  font-size: 13px;
}

/* === POTENTIAL (project vision) =============================== */
.potential {
  position: relative;
  overflow: hidden;
  background: var(--ink);
  color: var(--white);
}
.potential::before {
  content: '30%';
  position: absolute;
  right: -3vw;
  top: -120px;
  color: rgba(201, 226, 232, 0.04);
  font: 800 clamp(170px, 29vw, 470px)/1 Manrope, sans-serif;
  letter-spacing: -0.12em;
  pointer-events: none;
}
.potential-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 9vw;
}
.potential .eyebrow { color: var(--accent-soft); }
.potential h2 { max-width: 580px; }
.potential p {
  max-width: 510px;
  color: #c0d0d5;
}

.list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #49626e;
}
.list li {
  display: grid;
  grid-template-columns: 45px 1fr;
  gap: 18px;
  padding: 26px 0;
  border-bottom: 1px solid #49626e;
}
.list b {
  color: var(--accent-soft);
  font: 800 15px Manrope, sans-serif;
}
.list strong {
  display: block;
  font: 700 19px Manrope, sans-serif;
}
.list span {
  display: block;
  margin-top: 6px;
  color: #c0d0d5;
  font-size: 14px;
}

/* === DOCUMENTS ================================================ */
.documents { background: var(--white); }
.documents .section-head { align-items: start; }
.documents .section-head p {
  max-width: 430px;
  margin: 0;
  padding-top: 26px;
}

.planning-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 2px solid var(--ink);
  border-bottom: 1px solid var(--line);
}
.planning-grid div { padding: 29px 27px 32px 0; }
.planning-grid div + div {
  padding-left: 27px;
  border-left: 1px solid var(--line);
}
.planning-grid small {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.planning-grid strong {
  display: block;
  font: 700 clamp(22px, 2vw, 30px)/1.2 Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.planning-grid span {
  display: block;
  margin-top: 11px;
  color: var(--muted);
  font-size: 13px;
}

.document-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}
.document-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  min-height: 120px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--line);
  text-decoration: none;
  transition: background 0.2s;
}
.document-link:hover { background: #dbe9ed; }
.document-link strong {
  display: block;
  font: 700 17px Manrope, sans-serif;
}
.document-link span {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 13px;
}
.document-link b {
  font-size: 21px;
  font-weight: 500;
}

.documents .caution {
  max-width: 850px;
  margin: 25px 0 0;
  font-size: 13px;
}

/* === CONTACT ================================================== */
.contact {
  background: #f7f9f9;
  color: var(--ink);
}
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}
.contact h2 { max-width: 620px; }
.contact p {
  max-width: 530px;
  color: #536c75;
}

.contact-card {
  padding: 45px;
  background: var(--surface);
  border: 1px solid var(--line);
}
.contact-card .role {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.contact-card h3 {
  margin: 11px 0 25px;
  font: 700 29px Manrope, sans-serif;
  letter-spacing: -0.04em;
}
.contact-card a:not(.button) {
  display: block;
  margin: 11px 0;
  font-size: 18px;
  text-decoration: none;
}
.contact-card a:not(.button):hover { text-decoration: underline; }
.contact-card .button {
  margin-top: 24px;
  background: var(--ink);
  color: var(--white);
}
.contact-card .button:hover { background: var(--accent-strong); }
.contact-card small {
  display: block;
  margin-top: 25px;
  color: var(--muted);
  font-size: 12px;
}

/* === FOOTER =================================================== */
footer {
  padding: 29px 0;
  background: var(--ink);
  color: var(--white);
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  color: #c8d1d0;
  font-size: 12px;
}
footer a { text-decoration: none; }
footer a:hover { text-decoration: underline; }

/* ============================================================
   RESPONSIVE BREAKPOINTS
   1100px → hide secondary brand label
   1000px → tighter hero
    900px → single-column grids, nav collapses
    760px → hero stacks vertically
    600px → phone layout
   ============================================================ */

@media (max-width: 1100px) {
  .property-name { display: none; }
  .fact-strip .wrap > div { display: block; }
  .fact-strip span {
    display: block;
    margin-top: 8px;
  }
}

@media (max-width: 1000px) {
  .hero { grid-template-columns: 45% 55%; }
  .hero-copy {
    padding-left: 32px;
    padding-right: 25px;
  }
  .hero h1 { font-size: clamp(48px, 6vw, 68px); }
}

@media (max-width: 900px) {
  .nav { gap: 18px; }
  .nav a:not(.nav-cta) { display: none; }

  .overview-grid,
  .potential-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery .large { grid-column: span 2; }
  .gallery img { height: 310px; }
}

@media (max-width: 760px) {
  .hero {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }
  .hero-image {
    order: -1;
    height: 52vw;
    min-height: 300px;
  }
  .hero-copy { padding: 45px 32px 59px; }
  .hero h1 { font-size: clamp(50px, 8vw, 68px); }
  .hero-intro { max-width: 650px; }

  .planning-grid { grid-template-columns: 1fr; }
  .planning-grid div { padding: 22px 0; }
  .planning-grid div + div {
    padding-left: 0;
    border-top: 1px solid var(--line);
    border-left: 0;
  }
  .document-links { grid-template-columns: 1fr; }
  .documents .section-head p { padding-top: 0; }
}

@media (max-width: 600px) {
  header { height: 72px; }
  .wrap { padding: 0 22px; }

  .brand { gap: 0; }
  .wordmark { font-size: 19px; }
  .nav .nav-cta {
    padding: 10px 11px;
    font-size: 12px;
  }

  .hero-image {
    height: 63vw;
    min-height: 260px;
  }
  .hero-copy { padding: 42px 22px 60px; }
  .hero h1 { font-size: clamp(46px, 12vw, 62px); }
  .hero-actions { gap: 19px; }

  .visual-note {
    left: 12px;
    bottom: 12px;
    padding: 8px 11px;
  }
  .visual-note strong,
  .visual-note span { font-size: 10px; }

  .fact-strip .wrap { grid-template-columns: 1fr 1fr; }
  .fact-strip .wrap > div { padding: 21px 8px 21px 0; }
  .fact-strip .wrap > div + div { padding-left: 15px; }
  .fact-strip .wrap > div:nth-child(3) {
    grid-column: span 2;
    padding-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.22);
    border-left: 0;
  }
  .fact-strip strong { font-size: 27px; }
  .fact-strip span { font-size: 11px; }

  .section { padding: 72px 0; }
  .section h2 { font-size: 42px; }
  .section-head { display: block; }

  .gallery-grid { gap: 8px; }
  .gallery .large img { height: 250px; }
  .gallery img { height: 160px; }
  .gallery figcaption { font-size: 11px; }

  .contact-card { padding: 27px; }

  .footer-inner { display: block; }
  .footer-inner span {
    display: block;
    margin-bottom: 9px;
  }
}

/* === LIGHTBOX ================================================= */
.lb-trigger {
  display: block;
  cursor: zoom-in;
}
.lb-trigger:focus-visible {
  outline: 3px solid var(--accent-soft);
  outline-offset: -3px;
}
.lb-trigger:focus-visible img { opacity: 0.85; }
.hero-zoom {
  position: absolute;
  z-index: 1;
  inset: 0;
}
html.lb-open { overflow: hidden; }

.lb {
  width: 100vw;
  max-width: none;
  height: 100vh;
  height: 100dvh;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  background: rgba(10, 22, 29, 0.95);
  color: var(--white);
}
.lb::backdrop { background: rgba(10, 22, 29, 0.95); }
.lb-stage {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 12px;
  height: 100%;
  margin: 0;
  padding: 58px 76px 18px;
  touch-action: pan-y pinch-zoom;
}
.lb-img {
  flex: 0 1 auto;
  width: auto;
  max-width: 100%;
  min-height: 0;
  object-fit: contain;
  user-select: none;
}
.lb[data-group="galeria"] .lb-img { filter: contrast(1.05) saturate(1.18); }
.lb-caption {
  flex: none;
  max-width: 100%;
  color: #c8d1d0;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-align: center;
}
.lb-count {
  margin-left: 10px;
  color: var(--accent-soft);
  white-space: nowrap;
}
.lb-btn {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 48px;
  height: 48px;
  padding: 0;
  border: 0;
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  font-size: 30px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.2s;
}
.lb-btn[hidden] { display: none; }
.lb-btn:hover { background: rgba(255, 255, 255, 0.26); }
.lb-btn:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
.lb-close { top: 6px; right: 14px; }
.lb-prev, .lb-next { top: 50%; margin-top: -24px; }
.lb-prev { left: 14px; }
.lb-next { right: 14px; }

@media (max-width: 760px) {
  .lb-stage { padding: 58px 8px 72px; }
  .lb-prev, .lb-next { top: auto; bottom: 14px; margin-top: 0; }
  .lb-prev { left: calc(50% - 56px); }
  .lb-next { right: calc(50% - 56px); }
}

/* === COOKIE BANNER ============================================ */
.cc {
  position: fixed;
  z-index: 50;
  right: 20px;
  bottom: 20px;
  width: min(460px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 22px;
  background: var(--ink);
  color: var(--white);
  box-shadow: 0 12px 40px rgba(10, 22, 29, 0.35);
  font-size: 14px;
  line-height: 1.45;
}
.cc[hidden], .cc-panel[hidden], .cc-link[hidden] { display: none; }
.cc p { margin: 0; }
.cc-title {
  margin-bottom: 6px !important;
  font: 800 16px Manrope, sans-serif;
}
.cc-text { color: #d6e0e2; }
.cc-text a { color: var(--white); }
.cc-panel {
  display: grid;
  gap: 10px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}
.cc-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #d6e0e2;
  font-size: 13px;
}
.cc-option input {
  flex: none;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--accent);
}
.cc-option strong {
  display: block;
  color: var(--white);
}
.cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 16px;
}
.cc-btn {
  min-height: 46px;
  padding: 10px 12px;
  border: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}
.cc-btn:hover { background: #d6e0e2; }
.cc-save {
  background: transparent;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.cc-save:hover { background: rgba(255, 255, 255, 0.12); }
.cc-links {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
}
.cc-link {
  padding: 4px 0;
  border: 0;
  background: none;
  color: #d6e0e2;
  font-size: 13px;
  text-decoration: underline;
  cursor: pointer;
}
.cc-link:hover { color: var(--white); }
.cc button:focus-visible, .cc a:focus-visible, .cc input:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 2px;
}
@media (max-width: 600px) {
  .cc {
    right: 0;
    bottom: 0;
    width: 100%;
    max-height: 100vh;
    max-height: 100dvh;
    padding: 18px 20px;
  }
}

/* === FOOTER LEGAL LINKS & PRIVACY PAGE ======================== */
.footer-legal a + a { margin-left: 18px; }
.legal { max-width: 860px; }
.legal h1 {
  margin: 18px 0 8px;
  font: 700 clamp(34px, 4vw, 54px)/1.08 Manrope, sans-serif;
  letter-spacing: -0.05em;
}
.legal h2 {
  margin: 42px 0 12px;
  font: 700 clamp(21px, 2vw, 26px)/1.2 Manrope, sans-serif;
  letter-spacing: -0.03em;
  scroll-margin-top: 20px;
}
.legal ul { padding-left: 20px; color: var(--muted); }
.legal li + li { margin-top: 6px; }
.legal li strong { color: var(--ink); }
.legal-date { font-size: 13px; }
.legal a:not(.button) { color: var(--accent-strong); }
.legal-table { overflow-x: auto; margin: 18px 0; }
.legal table {
  width: 100%;
  min-width: 560px;
  border-collapse: collapse;
  font-size: 14px;
}
.legal th, .legal td {
  padding: 10px 12px 10px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  text-align: left;
  vertical-align: top;
}
.legal th { color: var(--ink); }
.legal code { font-size: 13px; }
.legal-button { border: 0; cursor: pointer; }
.legal-button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
@media (max-width: 600px) {
  .legal table { min-width: 0; }
  .legal thead { display: none; }
  .legal tr, .legal td { display: block; }
  .legal tr { padding: 10px 0; border-bottom: 1px solid var(--line); }
  .legal td { padding: 3px 0; border: 0; }
  .legal td::before {
    content: attr(data-label) ': ';
    color: var(--ink);
    font-weight: 700;
  }
  .footer-legal a { display: block; }
  .footer-legal a + a { margin: 6px 0 0; }
}

/* === ACCESSIBILITY: reduced motion ============================ */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button,
  .gallery img,
  .document-link { transition: none; }
  .gallery figure:hover img { transform: none; }
  .lb-btn { transition: none; }
}
