/* ===========================================================================
   P6 — teaser (etapa 1)
   Shares the design system of the main site (etapa 2): ink + sand + paper,
   Newsreader (display, self-hosted) / Inter (UI, body).
   =========================================================================== */

@font-face {
  font-family: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; size-adjust: 92%;
  src: url("../fonts/newsreader-italic-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: "Newsreader"; font-style: italic; font-weight: 200 800; font-display: swap; size-adjust: 92%;
  src: url("../fonts/newsreader-italic-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: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; size-adjust: 92%;
  src: url("../fonts/newsreader-normal-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: "Newsreader"; font-style: normal; font-weight: 200 800; font-display: swap; size-adjust: 92%;
  src: url("../fonts/newsreader-normal-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: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/inter-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: "Inter"; font-style: normal; font-weight: 300 600; font-display: swap;
  src: url("../fonts/inter-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;
}

:root {
  --ink: #14120F;
  --ink-2: #24201B;
  --ink-3: #3C352D;
  --paper: #F7F4EF;
  --paper-2: #EFEAE2;
  --paper-3: #E3DCD1;
  --sand: #A98C64;
  --sand-2: #C4AB89;
  --sand-3: #E4D8C5;
  --sand-ink: #866A42;
  --copper: #B87333;
  --copper-2: #D9945B;

  --text: #14120F;
  --text-muted: #4B443B;
  --text-inv: #F7F4EF;
  --text-inv-muted: rgba(247, 244, 239, .66);

  --line: rgba(20, 18, 15, .14);
  --line-inv: rgba(247, 244, 239, .18);

  --f-display: "Newsreader", "Iowan Old Style", Georgia, serif;
  --f-ui: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --shell: 1400px;
  --gut: clamp(20px, 4.4vw, 64px);
  --nav-h: 76px;
  --r-sm: 3px;
  --r-md: 6px;
  --ease: cubic-bezier(.22, .8, .24, 1);
}

/* --- base ---------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 8px); }
body {
  margin: 0; background: var(--paper); color: var(--text);
  font-family: var(--f-ui); font-size: 16px; line-height: 1.65; font-weight: 400;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
html.lang-pending body { visibility: hidden; }
img, svg, video { max-width: 100%; display: block; }
[hidden] { display: none !important; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; line-height: 1.06; letter-spacing: -.015em; margin: 0; text-wrap: balance; }
h2 { font-size: clamp(2.1rem, 4.4vw, 3.8rem); }
h3 { font-size: clamp(1.35rem, 2vw, 1.7rem); line-height: 1.15; }
h2 em, h1 em { font-style: italic; color: var(--sand-ink); }
.section--ink h2 em, .hero h1 em { color: var(--sand-2); }
p { margin: 0 0 1.1em; max-width: 64ch; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--sand-3); color: var(--ink); }
:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; border-radius: 2px; }

.skip-link { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--paper); color: var(--ink); padding: 10px 16px; border-radius: var(--r-sm); transition: top .2s; }
.skip-link:focus { top: 12px; }

.shell { width: 100%; max-width: calc(var(--shell) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.section { padding-block: clamp(72px, 10vw, 150px); position: relative; }
.section--tight-b { padding-bottom: 0; }
.section--ink { background: var(--ink); color: var(--text-inv); }
.section--sand { background: var(--sand-3); }

.eyebrow {
  font-size: .74rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase;
  color: var(--sand-ink); margin: 0 0 22px; display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; opacity: .7; }
.section--ink .eyebrow { color: var(--sand-2); }
.lede { font-size: clamp(1.06rem, 1.35vw, 1.24rem); line-height: 1.6; color: var(--text); }
.section--ink .lede { color: var(--text-inv); opacity: .9; }
.note { font-size: .84rem; color: var(--text-muted); margin-top: 28px; max-width: 70ch; }

.head { max-width: 900px; margin-bottom: clamp(36px, 5vw, 68px); }
.head--row { max-width: none; display: grid; gap: 24px clamp(40px, 7vw, 120px); align-items: end; }
@media (min-width: 900px) { .head--row { grid-template-columns: 1.15fr 1fr; } .head--row .lede { margin-bottom: .4em; } }

/* --- buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  min-height: 52px; padding: 0 26px; border-radius: var(--r-sm); border: 1px solid transparent;
  font: 500 .9rem/1 var(--f-ui); letter-spacing: .02em; text-decoration: none; cursor: pointer; white-space: nowrap;
  transition: background .25s, color .25s, border-color .25s, transform .25s var(--ease);
}
.btn svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn:active { transform: translateY(1px); }
.btn--light { background: var(--paper); color: var(--ink); }
.btn--light:hover { background: var(--sand-3); }
.btn--ghost-inv { border-color: rgba(247, 244, 239, .42); color: var(--text-inv); background: rgba(20, 18, 15, .12); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.btn--ghost-inv:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--block { width: 100%; }
.btn[disabled] { opacity: .6; cursor: progress; }

.link-arrow { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 500; font-size: .95rem; text-decoration: none; padding-bottom: 6px; border-bottom: 1px solid var(--sand); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(5px); }

/* --- status pill --------------------------------------------------------------- */
.status { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 26px; font-size: .74rem; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; color: var(--text-inv); }
.status__dot { position: relative; flex: none; display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--copper-2); }
.status__dot::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1px solid var(--copper-2); animation: ping 2.4s var(--ease) infinite; }
@keyframes ping { 0% { transform: scale(.5); opacity: .9; } 80%, 100% { transform: scale(1.7); opacity: 0; } }

/* --- nav ---------------------------------------------------------------------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 30; height: var(--nav-h); color: var(--text-inv); transition: background .35s, box-shadow .35s, transform .4s var(--ease); }
.nav::before { content: ""; position: absolute; inset: 0 0 -40px 0; background: linear-gradient(to bottom, rgba(20, 18, 15, .55), transparent); pointer-events: none; transition: opacity .35s; }
.nav.is-solid { background: rgba(20, 18, 15, .9); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); box-shadow: 0 1px 0 var(--line-inv); }
.nav.is-solid::before { opacity: 0; }
.nav__inner { position: relative; height: 100%; display: flex; align-items: center; gap: 32px; max-width: calc(var(--shell) + 2 * var(--gut)); margin-inline: auto; padding-inline: var(--gut); }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand__logo { width: 46px; height: 32px; fill: currentColor; }
.brand__sub { font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; opacity: .85; padding-left: 14px; border-left: 1px solid var(--line-inv); }
.nav__links { display: none; gap: 30px; }
.nav__links a { font-size: .86rem; text-decoration: none; opacity: .82; position: relative; padding: 6px 0; transition: opacity .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: var(--sand-2); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav__links a:hover { opacity: 1; }
.nav__links a:hover::after { transform: scaleX(1); }
.nav__cta { min-height: 42px; padding: 0 20px; font-size: .84rem; }
.langs { display: flex; align-items: center; gap: 2px; }
.langs button { appearance: none; background: none; border: 0; min-height: 40px; padding: 10px 9px; cursor: pointer; color: inherit; opacity: .55; font: 500 .74rem/1 var(--f-ui); letter-spacing: .14em; transition: opacity .2s; }
.langs button + button { position: relative; }
.langs button + button::before { content: ""; position: absolute; left: -1px; top: 50%; width: 1px; height: 10px; margin-top: -5px; background: currentColor; opacity: .5; }
.langs button:hover { opacity: .9; }
.langs button[aria-pressed="true"] { opacity: 1; }
@media (min-width: 1000px) { .nav__links { display: flex; } }
@media (max-width: 1100px) and (min-width: 1000px) { .nav__links { gap: 20px; } }
@media (max-width: 420px) { .nav__inner { gap: 14px; } .nav__cta { padding: 0 14px; } }
@media (max-width: 520px) { .brand__sub { display: none; } :root { --nav-h: 64px; } }

/* --- hero ---------------------------------------------------------------------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; color: var(--text-inv); background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -1; }
.hero__poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 42%; }
.hero__poster { animation: settle 2.4s var(--ease) both; }
@keyframes settle { from { transform: scale(1.06); } to { transform: none; } }
.hero__scrim { position: absolute; inset: 0; background:
  linear-gradient(to top, rgba(20, 18, 15, .92) 0%, rgba(20, 18, 15, .62) 28%, rgba(20, 18, 15, .12) 58%, rgba(20, 18, 15, 0) 72%),
  linear-gradient(to right, rgba(20, 18, 15, .42), rgba(20, 18, 15, 0) 62%); }

@media (max-aspect-ratio: 4/5) {
  .hero__scrim { background: linear-gradient(to top, rgba(20, 18, 15, .95) 0%, rgba(20, 18, 15, .84) 38%, rgba(20, 18, 15, .5) 62%, rgba(20, 18, 15, .08) 82%, rgba(20, 18, 15, .3) 100%); }
  .hero__poster { object-position: 50% 30%; }
}

.hero__body { position: relative; display: grid; gap: 36px; align-items: end; padding-top: calc(var(--nav-h) + 40px); padding-bottom: clamp(64px, 9vh, 110px); }
@media (min-width: 1000px) { .hero__body { grid-template-columns: minmax(0, 1fr) auto; gap: 60px; } }
.hero__title { font-size: clamp(2.7rem, 7.1vw, 6.6rem); line-height: 1; letter-spacing: -.022em; margin-bottom: clamp(20px, 2.6vw, 34px); text-wrap: initial; }
.hero__title .line { display: block; overflow: hidden; padding-bottom: .12em; margin-bottom: -.12em; }
.hero__title .line > span { display: inline-block; transform: translateY(108%); animation: rise 1.15s var(--ease) forwards; }
.hero__title .line:nth-child(2) > span { animation-delay: .12s; }
.hero__title .line:nth-child(3) > span { animation-delay: .24s; }
@keyframes rise { to { transform: none; } }
.hero__sub { font-size: clamp(1.02rem, 1.3vw, 1.2rem); line-height: 1.6; max-width: 56ch; opacity: .92; margin-bottom: 30px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.status, .hero__sub, .hero__actions, .hero__facts { opacity: 0; animation: fade-up .9s var(--ease) forwards; }
.status { animation-delay: .05s; } .hero__sub { animation-delay: .5s; } .hero__actions { animation-delay: .62s; } .hero__facts { animation-delay: .8s; }
@keyframes fade-up { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.hero__sub { --o: .92; }
.hero__facts { display: flex; gap: clamp(22px, 3vw, 44px); padding-top: 22px; border-top: 1px solid var(--line-inv); }
.hero__facts li { display: grid; gap: 4px; }
.hero__facts b { font: 300 clamp(1.7rem, 2.6vw, 2.5rem)/1 var(--f-display); letter-spacing: -.01em; white-space: nowrap; }
.hero__facts span { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-inv-muted); white-space: nowrap; }
@media (min-width: 1000px) { .hero__facts { flex-direction: column; gap: 22px; padding: 0 0 6px 34px; border-top: 0; border-left: 1px solid var(--line-inv); } }

.viz-label { position: absolute; right: var(--gut); top: calc(var(--nav-h) + 14px); font-size: .66rem; letter-spacing: .2em; text-transform: uppercase; color: rgba(247, 244, 239, .72); }
.hero__cue { position: absolute; left: 50%; bottom: 0; width: 44px; height: 56px; transform: translateX(-50%); display: none; }
.hero__cue span { position: absolute; left: 50%; top: 0; width: 1px; height: 100%; background: rgba(247, 244, 239, .28); overflow: hidden; }
.hero__cue span::after { content: ""; position: absolute; inset: 0; background: var(--paper); transform: translateY(-100%); animation: cue 2.4s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateY(-100%); } 60%, 100% { transform: translateY(100%); } }
@media (min-width: 1000px) and (min-height: 700px) { .hero__cue { display: block; } }

/* --- o projekte -------------------------------------------------------------- */
.split { display: grid; gap: clamp(36px, 5vw, 90px); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); } }
.split__text h2 { margin-bottom: clamp(22px, 2.6vw, 34px); }
.split__text p:not(.lede):not(.eyebrow) { color: var(--text-muted); }

.frame { position: relative; margin: 0; overflow: hidden; border-radius: var(--r-md); background: var(--paper-3); }
.frame img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.frame:hover img { transform: scale(1.03); }
.frame figcaption { position: absolute; left: 14px; bottom: 12px; padding: 6px 10px; font-size: .66rem; letter-spacing: .16em; text-transform: uppercase; color: var(--text-inv); background: rgba(20, 18, 15, .55); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 2px; }
/* the façade render is square: keep the frame close to it so the building is not cropped */
.split__media { aspect-ratio: 5 / 4; }
.split__media img { object-position: 50% 46%; }
@media (min-width: 900px) { .split__media { margin-right: calc(-1 * var(--gut)); border-radius: var(--r-md) 0 0 var(--r-md); aspect-ratio: 1 / .94; } }
@media (min-width: 1560px) { .split__media { margin-right: 0; border-radius: var(--r-md); } }

.figs { display: grid; grid-template-columns: repeat(2, 1fr); margin: clamp(48px, 7vw, 96px) 0 0; border-top: 1px solid var(--line); }
.figs > div { display: flex; flex-direction: column-reverse; gap: 8px; padding: 26px 18px 26px 0; border-bottom: 1px solid var(--line); }
.figs dd { margin: 0; font: 300 clamp(2.2rem, 4vw, 3.6rem)/1 var(--f-display); letter-spacing: -.02em; white-space: nowrap; font-variant-numeric: lining-nums tabular-nums; }
.figs dt { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--text-muted); }
@media (min-width: 700px) { .figs { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1100px) {
  .figs { grid-template-columns: repeat(5, auto); justify-content: space-between; border-bottom: 1px solid var(--line); }
  .figs > div { border-bottom: 0; padding-right: 0; }
}

/* --- lokalita ------------------------------------------------------------------ */
.loc { display: grid; gap: clamp(40px, 5vw, 80px); align-items: center; }
@media (min-width: 1000px) { .loc { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); } }
.loc__text h2 { margin-bottom: clamp(22px, 2.6vw, 34px); }
.dist { margin-top: clamp(26px, 3vw, 40px); border-top: 1px solid var(--line-inv); }
.dist li { display: grid; grid-template-columns: minmax(118px, 9.2em) 1fr; gap: 16px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line-inv); }
.dist b { font: 300 1.55rem/1.1 var(--f-display); color: var(--sand-2); white-space: nowrap; }
.dist span { font-size: .95rem; color: var(--text-inv-muted); }

.map { margin: 0; }
.map svg { width: 100%; aspect-ratio: 720 / 560; border-radius: var(--r-md); background: #1B1815; border: 1px solid var(--line-inv); }
@media (max-width: 640px) { .map svg { aspect-ratio: 6 / 7; } .map__far { display: none; } }
.map figcaption { margin-top: 14px; font-size: .78rem; line-height: 1.55; color: var(--text-inv-muted); }
.map__credit { white-space: nowrap; opacity: .8; }
.map__credit a { color: inherit; text-underline-offset: 3px; }

/* labels sit on a real street map, so every one carries a dark halo to stay legible over the lines */
.map__water { font: 500 12px var(--f-ui); letter-spacing: .5em; fill: rgba(196, 171, 137, .7); }
.map__street text { font: 500 8.5px var(--f-ui); letter-spacing: .2em; fill: rgba(247, 244, 239, .6); paint-order: stroke; stroke: #1B1815; stroke-width: 3.5px; stroke-linejoin: round; }
.map__area { font: 400 11px var(--f-ui); letter-spacing: .34em; fill: rgba(247, 244, 239, .32); }
.map__ring-label { font: 500 9.5px var(--f-ui); letter-spacing: .22em; fill: var(--copper-2); paint-order: stroke; stroke: #1B1815; stroke-width: 6px; stroke-linejoin: round; }
.map__poi circle { fill: var(--paper); stroke: rgba(247, 244, 239, .28); stroke-width: 6; transform-box: fill-box; transform-origin: center; }
.map__poi text { font: 500 13px var(--f-ui); fill: var(--text-inv); paint-order: stroke; stroke: #1B1815; stroke-width: 5px; stroke-linejoin: round; }
.map__edge text { font: 500 10.5px var(--f-ui); letter-spacing: .06em; fill: var(--text-inv-muted); paint-order: stroke; stroke: #1B1815; stroke-width: 4px; stroke-linejoin: round; }
@media (max-width: 640px) { .map__poi text { font-size: 15px; } .map__street text { font-size: 10px; } .map__ring-label { font-size: 11px; } .map__edge text { font-size: 12px; } }

/* radar: three fixed walking rings, and a wave that travels out to the 15-minute ring every few seconds */
.radar__ring { fill: none; stroke: var(--copper-2); stroke-width: 1; stroke-dasharray: 3 6; opacity: .8; }
.radar__ring--outer { stroke-dasharray: none; opacity: .55; }
.radar__wave { fill: none; stroke: var(--copper-2); stroke-width: 1.6; vector-effect: non-scaling-stroke; transform-box: fill-box; transform-origin: center; transform: scale(0); opacity: 0; animation: radar-wave 4.8s cubic-bezier(.2, .6, .35, 1) infinite; }
.radar__wave--2 { animation-delay: 2.4s; }
@keyframes radar-wave { 0% { transform: scale(.06); opacity: 0; } 8% { opacity: .95; } 70% { opacity: .3; } 100% { transform: scale(1); opacity: 0; } }
/* a place "answers" as the wave reaches it: --d is its distance as a share of the outer ring */
.map__poi[style*="--d"] circle { animation: poi-ping 4.8s linear infinite; animation-delay: calc(var(--d) * 2.6s); }
@keyframes poi-ping { 0%, 14%, 100% { transform: none; fill: var(--paper); } 5% { transform: scale(1.7); fill: var(--copper-2); } }
.map__p6 use { fill: var(--paper); }
.map__p6 .zone { transform-box: fill-box; transform-origin: center; animation: zone-breathe 4.8s ease-in-out infinite; }
@keyframes zone-breathe { 0%, 100% { transform: scale(.9); } 12% { transform: scale(1.12); } 50% { transform: scale(.96); } }

/* the map draws in once visible */
.js .map .radar__ring { transform-box: fill-box; transform-origin: center; transform: scale(.15); opacity: 0; transition: transform 1.5s var(--ease), opacity .9s; }
.js .map .radar__ring:nth-of-type(4) { transition-delay: .1s; } .js .map .radar__ring:nth-of-type(5) { transition-delay: .2s; }
.js .map .radar__reach { opacity: 0; transition: opacity 1.6s ease .3s; }
.js .map .map__poi, .js .map .map__ring-label, .js .map .map__edge, .js .map .map__street, .js .map .map__area, .js .map .map__water { opacity: 0; transition: opacity .7s ease; transition-delay: calc(.5s + var(--i, 6) * 70ms); }
.js .map.is-in .radar__ring { transform: none; opacity: .8; }
.js .map.is-in .radar__ring--outer { opacity: .55; }
.js .map.is-in .radar__reach, .js .map.is-in .map__poi, .js .map.is-in .map__ring-label, .js .map.is-in .map__edge, .js .map.is-in .map__street, .js .map.is-in .map__area, .js .map.is-in .map__water { opacity: 1; }

/* --- výhody ---------------------------------------------------------------------- */
.perks { display: grid; grid-template-columns: 1fr; border-top: 1px solid rgba(20, 18, 15, .2); }
.perks li { display: flex; align-items: center; gap: 22px; padding: 26px 8px 26px 0; border-bottom: 1px solid rgba(20, 18, 15, .2); font: 300 clamp(1.2rem, 1.7vw, 1.5rem)/1.25 var(--f-display); }
.perks svg { flex: none; width: 46px; height: 46px; fill: none; stroke: var(--ink); stroke-width: 1.25; stroke-linecap: round; stroke-linejoin: round; }
@media (min-width: 760px) {
  .perks { grid-template-columns: 1fr 1fr; column-gap: clamp(40px, 6vw, 110px); }
}
@media (min-width: 760px) and (hover: hover) {
  .perks li { transition: padding-left .45s var(--ease); }
  .perks li:hover { padding-left: 12px; }
}

/* --- mozaika ------------------------------------------------------------------------ */
.mosaic { display: grid; gap: clamp(10px, 1.2vw, 18px); grid-template-columns: 1fr 1fr; }
.mosaic__a { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.mosaic__b, .mosaic__c { aspect-ratio: 1; }
@media (min-width: 900px) {
  .mosaic { grid-template-columns: 1.62fr 1fr; grid-template-rows: 1fr 1fr; }
  .mosaic__a { grid-column: 1; grid-row: 1 / 3; aspect-ratio: auto; min-height: 100%; }
  .mosaic__b, .mosaic__c { aspect-ratio: 16 / 10.4; }
}

/* --- postup ---------------------------------------------------------------------------- */
.steps { display: grid; gap: 0; counter-reset: s; border-top: 1px solid var(--line); }
.steps li { position: relative; padding: 30px 0 34px; border-bottom: 1px solid var(--line); display: grid; gap: 10px; align-content: start; }
.steps__n { font: 300 1rem/1 var(--f-display); font-style: italic; color: var(--sand-ink); letter-spacing: .04em; margin-bottom: 14px; }
.steps h3 { margin-bottom: 4px; }
.steps p { color: var(--text-muted); margin: 0; max-width: 40ch; }
.steps__tag { justify-self: start; margin-top: 14px; padding: 6px 12px; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase; border: 1px solid var(--line); border-radius: 100px; color: var(--text-muted); }
.steps__tag--now { background: var(--ink); border-color: var(--ink); color: var(--paper); }
@media (min-width: 860px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
  .steps li { padding: 34px clamp(24px, 3vw, 48px) 40px; border-bottom: 1px solid var(--line); border-left: 1px solid var(--line); }
  .steps li:first-child { padding-left: 0; border-left: 0; }
}

/* --- registrácia -------------------------------------------------------------------------- */
.reg { overflow: hidden; }
.reg__grid { position: relative; display: grid; gap: clamp(40px, 6vw, 100px); align-items: start; }
@media (min-width: 1000px) { .reg__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } .reg__text { position: sticky; top: calc(var(--nav-h) + 40px); } }
.reg__text h2 { margin-bottom: clamp(22px, 2.6vw, 34px); }
.ticks { margin: 30px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--text-inv); opacity: .92; }
.ticks li::before { content: ""; position: absolute; left: 2px; top: .42em; width: 14px; height: 8px; border-left: 1.5px solid var(--copper-2); border-bottom: 1.5px solid var(--copper-2); transform: rotate(-45deg); }
.reg__contact { display: flex; flex-wrap: wrap; gap: 8px 32px; margin-top: 40px; padding-top: 26px; border-top: 1px solid var(--line-inv); }
.reg__contact a { font: 300 1.35rem/1.2 var(--f-display); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .25s; }
.reg__contact a:hover { border-color: var(--sand-2); }

.reg__card { background: rgba(36, 32, 27, .78); border: 1px solid var(--line-inv); border-radius: var(--r-md); padding: clamp(24px, 3.4vw, 46px); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.form { display: grid; gap: 20px; }
.form__row { display: grid; gap: 20px; }
@media (min-width: 560px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: 8px; }
.field > span, .chips legend { font-size: .78rem; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; color: var(--text-inv-muted); padding: 0; }
.field i, .chips legend i { font-style: normal; text-transform: none; letter-spacing: 0; opacity: .8; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: var(--r-sm);
  border: 1px solid rgba(247, 244, 239, .24); background: rgba(20, 18, 15, .45); color: var(--text-inv);
  font: 400 1rem/1.4 var(--f-ui); transition: border-color .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field textarea { resize: vertical; min-height: 96px; }
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23C4AB89' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 18px; padding-right: 44px; }
.field select option { color: var(--ink); background: var(--paper); }
.field input::placeholder, .field textarea::placeholder { color: rgba(247, 244, 239, .38); }
.field input:hover, .field select:hover, .field textarea:hover { border-color: rgba(247, 244, 239, .42); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--sand-2); background: rgba(20, 18, 15, .7); }
.field.is-bad input { border-color: #E08A6B; }
.field__err { font-size: .8rem; color: #F0A58A; }

.chips { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.chips legend { margin-bottom: 10px; }
.chips label { position: relative; cursor: pointer; }
.chips input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.chips span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border: 1px solid rgba(247, 244, 239, .24); border-radius: 100px; font-size: .92rem; transition: background .2s, color .2s, border-color .2s; }
.chips label:hover span { border-color: rgba(247, 244, 239, .5); }
.chips input:checked + span { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.chips input:focus-visible + span { outline: 2px solid var(--sand); outline-offset: 3px; }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 14px; align-items: start; font-size: .86rem; line-height: 1.5; color: var(--text-inv-muted); cursor: pointer; }
.check input { appearance: none; -webkit-appearance: none; width: 22px; height: 22px; margin: 1px 0 0; border: 1px solid rgba(247, 244, 239, .4); border-radius: 3px; background: rgba(20, 18, 15, .45); cursor: pointer; display: grid; place-content: center; transition: background .2s, border-color .2s; }
.check input::after { content: ""; width: 11px; height: 6px; border-left: 2px solid var(--ink); border-bottom: 2px solid var(--ink); transform: translateY(-1px) rotate(-45deg) scale(0); transition: transform .2s var(--ease); }
.check input:checked { background: var(--sand-2); border-color: var(--sand-2); }
.check input:checked::after { transform: translateY(-1px) rotate(-45deg) scale(1); }
.check.is-bad input { border-color: #E08A6B; }
.check a { color: var(--text-inv); text-underline-offset: 3px; }
.form__fine { margin: -4px 0 0; font-size: .78rem; line-height: 1.5; color: rgba(247, 244, 239, .5); text-align: center; max-width: none; }
.check i { font-style: normal; opacity: .8; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form__error { margin: 0; padding: 12px 16px; border: 1px solid rgba(224, 138, 107, .5); background: rgba(224, 138, 107, .1); border-radius: var(--r-sm); font-size: .9rem; color: #F5C2AF; }

.form__done { text-align: center; padding: clamp(30px, 6vw, 70px) 0; outline: none; }
.form__done svg { width: 64px; height: 64px; margin: 0 auto 26px; fill: none; stroke: var(--sand-2); stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; }
.form__done svg path { stroke-dasharray: 34; stroke-dashoffset: 34; animation: draw .7s .25s var(--ease) forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.form__done h3 { font-size: clamp(1.7rem, 2.6vw, 2.3rem); margin-bottom: 14px; }
.form__done p { margin-inline: auto; color: var(--text-inv-muted); max-width: 40ch; }

/* --- footer -------------------------------------------------------------------------------- */
.foot { background: var(--ink); color: var(--text-inv); padding: clamp(50px, 6vw, 80px) 0 40px; border-top: 1px solid var(--line-inv); }
.foot__grid { display: grid; gap: 40px; }
@media (min-width: 800px) { .foot__grid { grid-template-columns: 1.6fr 1fr 1fr; gap: 60px; } }
@media (min-width: 640px) { .foot__grid--4 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1100px) { .foot__grid--4 { grid-template-columns: 1.5fr 1fr .9fr 1.3fr; gap: 56px; } }
.foot__logo { width: 84px; height: 58px; fill: var(--paper); margin-bottom: 22px; }
.foot p, .foot address { color: var(--text-inv-muted); font-size: .95rem; font-style: normal; max-width: 40ch; }
.foot h4 { font: 500 .74rem/1 var(--f-ui); letter-spacing: .2em; text-transform: uppercase; color: var(--sand-2); margin-bottom: 20px; }
.foot li { margin-bottom: 10px; font-size: .95rem; }
.foot li a { text-decoration: none; opacity: .9; }
.foot li a:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot li span { color: var(--text-inv-muted); font-size: .92rem; }
.linklike { appearance: none; background: none; border: 0; padding: 0; margin: 0; font: inherit; color: inherit; opacity: .9; cursor: pointer; text-align: left; }
.linklike:hover { opacity: 1; text-decoration: underline; text-underline-offset: 4px; }
.foot__bottom { margin-top: clamp(40px, 5vw, 64px); padding-top: 26px; border-top: 1px solid var(--line-inv); display: grid; gap: 12px; font-size: .78rem; line-height: 1.6; color: rgba(247, 244, 239, .5); }
@media (min-width: 800px) { .foot__bottom { grid-template-columns: auto minmax(0, 72ch); justify-content: space-between; gap: 60px; } }

/* --- sticky CTA ------------------------------------------------------------------------------ */
.sticky { position: fixed; inset: auto 0 0 0; z-index: 25; background: rgba(20, 18, 15, .94); color: var(--text-inv); border-top: 1px solid var(--line-inv); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); transform: translateY(105%); transition: transform .55s var(--ease); padding-bottom: env(safe-area-inset-bottom); }
.sticky.is-on { transform: none; }
.sticky__inner { display: flex; align-items: center; justify-content: space-between; gap: 18px; min-height: 72px; padding-block: 12px; }
.sticky p { margin: 0; display: flex; align-items: center; gap: 14px; max-width: none; font: 300 clamp(1.02rem, 1.6vw, 1.4rem)/1.2 var(--f-display); }
.sticky .btn { min-height: 46px; flex: none; }
@media (max-width: 640px) { .sticky__more { display: none; } .sticky .btn { padding: 0 18px; } }

/* --- reveal ------------------------------------------------------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0ms); }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; transition-delay: 0s !important; }
  .js .reveal { opacity: 1; transform: none; }
  .hero__title .line > span { transform: none; }
}

/* --- cookie consent ---------------------------------------------------------------------------------
   Accept and Reject are the same size and weight on purpose: refusing must be as easy as agreeing. */
.ck { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); max-width: 520px; max-height: calc(100vh - 32px); overflow: auto;
  padding: 24px 26px 22px; border-radius: var(--r-md); background: var(--paper); color: var(--ink); border: 1px solid var(--line);
  box-shadow: 0 2px 6px rgba(20, 18, 15, .1), 0 30px 80px -20px rgba(20, 18, 15, .55);
  opacity: 0; transform: translateY(18px); transition: opacity .45s var(--ease), transform .45s var(--ease); outline: none; }
.ck.is-on { opacity: 1; transform: none; }
.ck__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.ck__title { font-size: 1.55rem; margin-bottom: 10px; }
.ck__text { font-size: .9rem; line-height: 1.55; color: var(--text-muted); margin: 0 0 18px; }
.ck__text--small { margin: 14px 0 16px; }
.ck__text a { color: var(--ink); text-underline-offset: 3px; white-space: nowrap; }
.ck__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.ck__btn { flex: 1 1 140px; min-height: 48px; padding: 0 18px; border-radius: var(--r-sm); border: 1px solid var(--ink); background: var(--ink); color: var(--paper); font: 500 .88rem/1 var(--f-ui); cursor: pointer; transition: background .2s, color .2s; }
.ck__btn:hover { background: var(--ink-3); }
.ck__link { flex: 0 0 auto; appearance: none; background: none; border: 0; padding: 12px 8px; font: 500 .88rem/1 var(--f-ui); color: var(--ink); text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.ck__x { appearance: none; background: none; border: 0; font-size: 1.7rem; line-height: 1; padding: 0 4px; cursor: pointer; color: var(--text-muted); }
.ck__row { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 14px 0; border-top: 1px solid var(--line); cursor: pointer; }
.ck__rowtext { display: grid; gap: 4px; }
.ck__rowtext b { font-weight: 500; font-size: .95rem; }
.ck__rowtext small { font-size: .8rem; line-height: 1.45; color: var(--text-muted); }
.ck__locked { flex: none; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--sand-ink); }
.ck__switch { flex: none; appearance: none; -webkit-appearance: none; width: 46px; height: 26px; border-radius: 26px; background: var(--paper-3); border: 1px solid var(--line); position: relative; cursor: pointer; transition: background .25s; margin: 0; }
.ck__switch::after { content: ""; position: absolute; top: 2px; left: 2px; width: 20px; height: 20px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(20, 18, 15, .3); transition: transform .25s var(--ease); }
.ck__switch:checked { background: var(--ink); }
.ck__switch:checked::after { transform: translateX(20px); }
body.ck-open .sticky { transform: translateY(105%); }
@media (min-width: 700px) { .ck { left: 24px; right: auto; bottom: 24px; width: 520px; } }

/* --- legal documents ------------------------------------------------------------------------------
   Each page carries all three language versions; <html lang> (set in <head>) decides which shows. */
.nav--ink { background: var(--ink); }
.nav--ink::before { display: none; }
.legal { padding: calc(var(--nav-h) + clamp(40px, 6vw, 90px)) 0 clamp(60px, 8vw, 120px); }
.legal .shell { max-width: calc(880px + 2 * var(--gut)); }
.legal [data-lang] { display: none; }
html[lang="sk"] .legal [data-lang="sk"], html[lang="en"] .legal [data-lang="en"], html[lang="de"] .legal [data-lang="de"] { display: block; }
.legal h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 18px; }
.legal__meta { font-size: .84rem; color: var(--text-muted); margin-bottom: clamp(28px, 4vw, 48px); padding-bottom: 22px; border-bottom: 1px solid var(--line); max-width: none; }
.legal h2 { font-size: clamp(1.45rem, 2.2vw, 1.85rem); margin: clamp(38px, 4.4vw, 56px) 0 16px; }
.legal h3 { font: 600 1rem/1.4 var(--f-ui); letter-spacing: 0; margin: 26px 0 8px; }
.legal p, .legal li, .legal td, .legal th { color: var(--text-muted); }
.legal p { max-width: 74ch; }
.legal strong, .legal b { color: var(--text); font-weight: 600; }
.legal ul, .legal ol { padding-left: 1.25em; display: grid; gap: 8px; margin: 0 0 1.1em; max-width: 74ch; }
.legal ul { list-style: disc; } .legal ol { list-style: decimal; }
.legal a { text-underline-offset: 3px; color: var(--text); }
.legal mark { background: #F3E2A9; color: var(--ink); padding: 0 .3em; border-radius: 2px; }
.legal__box { margin: 0 0 1.4em; padding: 20px 24px; background: var(--paper-2); border-left: 2px solid var(--sand); border-radius: 0 var(--r-sm) var(--r-sm) 0; }
.legal__box p:last-child, .legal__box ul:last-child { margin-bottom: 0; }
.legal__box dl { display: grid; grid-template-columns: minmax(120px, 11em) 1fr; gap: 6px 18px; margin: 0; font-size: .95rem; }
.legal__box dt { color: var(--text-muted); } .legal__box dd { margin: 0; color: var(--text); }
@media (max-width: 560px) { .legal__box dl { grid-template-columns: 1fr; gap: 2px; } .legal__box dd { margin-bottom: 10px; } }
.legal__scroll { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--r-sm); }
.legal table { width: 100%; min-width: 640px; border-collapse: collapse; font-size: .88rem; line-height: 1.5; }
.legal th { text-align: left; font-weight: 600; color: var(--text); background: var(--paper-2); white-space: nowrap; }
.legal th, .legal td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.legal tr:last-child td { border-bottom: 0; }
.legal td code { font: 500 .84rem ui-monospace, SFMono-Regular, Menlo, monospace; color: var(--text); white-space: nowrap; }
.legal__consent { margin: 0 0 1.6em; padding: 22px 26px; border: 1px solid var(--line); border-radius: var(--r-md); background: #fff; }
.legal__consent p { color: var(--text); }
.legal__consent p:last-child { margin-bottom: 0; }
.legal__docs { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: clamp(40px, 5vw, 64px); padding-top: 24px; border-top: 1px solid var(--line); font-size: .9rem; }
.legal__docs a[aria-current="page"] { text-decoration: none; color: var(--text-muted); }
.legal .btn--ink { background: var(--ink); color: var(--paper); margin: 4px 0 1.2em; }
.legal .btn--ink:hover { background: var(--ink-3); }
.foot--slim { padding: 28px 0 32px; }
.foot--slim .foot__bottom { margin-top: 0; padding-top: 0; border-top: 0; }
