@font-face {
  font-family: "Almendra";
  src: url("fonts/almendra.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --dark: #b17358;
  --mid: #d9b48a;
  --light: #f9ddc0;
  --paper: #f6f6f6;
  --ink: #5b3a2a;
  --ink-soft: #7d5a47;
  --card: rgba(255, 255, 255, .72);
  --shadow: 0 10px 30px rgba(120, 70, 40, .18);
  --radius: 14px;
  --font-display: "Almendra", Georgia, serif;
  --font-body: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff url("img/ui/tlo.jpg") center / cover no-repeat fixed;
}
img { max-width: 100%; display: block; }
a { color: var(--dark); }
:focus-visible { outline: 3px solid var(--dark); outline-offset: 3px; border-radius: 6px; }
main { flex: 1; width: 100%; max-width: 1100px; margin: 0 auto; padding: 8px 20px 40px; outline: none; }

/* ---------- header ---------- */
.site-header { padding: 14px 20px 0; }
.header-inner {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
}
.logo img { height: 92px; width: auto; margin: 0 auto; }
.nav { display: flex; gap: clamp(14px, 4vw, 44px); align-items: center; }
.nav a {
  font-family: var(--font-display); font-size: 1.55rem; letter-spacing: .02em;
  color: var(--ink-soft); text-decoration: none; padding: 4px 2px; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px;
  background: var(--dark); transform: scaleX(0); transition: transform .25s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); }
.nav a[aria-current="page"] { color: var(--dark); }
.lang { justify-self: end; display: flex; align-items: center; gap: 4px; color: var(--mid); }
.lang button {
  font: inherit; font-family: var(--font-display); font-size: 1.3rem; color: var(--ink-soft);
  background: none; border: 0; padding: 4px 6px; cursor: pointer; border-radius: 6px;
}
.lang button[aria-pressed="true"] { color: var(--dark); text-decoration: underline; text-underline-offset: 6px; text-decoration-thickness: 3px; }

/* ---------- search ---------- */
.searchbar { padding: 14px 20px 6px; }
.searchbar[hidden] { display: none; }
.search-wrap { position: relative; max-width: 560px; margin: 0 auto; }
#search {
  width: 100%; font: inherit; font-size: 1.05rem; padding: 13px 18px 13px 46px;
  color: var(--ink); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%23b17358' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='m20 20-3.5-3.5'/%3E%3C/svg%3E") 16px center no-repeat;
  border: 2px solid var(--mid); border-radius: 999px; box-shadow: var(--shadow);
}
#search::placeholder { color: #a88a77; }
#search:focus { border-color: var(--dark); outline: none; }
.suggest {
  position: absolute; z-index: 20; left: 8px; right: 8px; top: calc(100% + 6px); margin: 0; padding: 6px;
  list-style: none; background: #fff; border: 1px solid var(--mid); border-radius: 14px; box-shadow: var(--shadow);
  max-height: 320px; overflow: auto;
}
.suggest li { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; cursor: pointer; }
.suggest li img { width: 34px; height: 42px; object-fit: cover; border-radius: 4px; background: #000; }
.suggest li small { color: var(--ink-soft); display: block; }
.suggest li[aria-selected="true"], .suggest li:hover { background: var(--light); }
.suggest .empty { cursor: default; color: var(--ink-soft); }
.suggest .empty:hover { background: none; }

/* ---------- viewer ---------- */
.stage { display: grid; grid-template-columns: minmax(280px, 420px) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); padding-top: 26px; align-items: start; }
.viewer { display: flex; flex-direction: column; align-items: center; gap: 18px; width: 100%; min-width: 0; }
.info { min-width: 0; }
.frame-row { display: flex; align-items: center; gap: 10px; width: 100%; }
.nav-arrow {
  flex: none; width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--mid); background: rgba(255,255,255,.8);
  color: var(--dark); font-size: 1.4rem; line-height: 1; cursor: pointer; display: grid; place-items: center;
}
.nav-arrow:hover { background: var(--light); }

/* the physical frame: 20 x 25 cm, four mitred bars */
.frame {
  --bw: 5.6cqw;
  container-type: inline-size;
  position: relative; flex: 1; aspect-ratio: 20 / 25;
  box-shadow: 0 18px 38px rgba(60, 35, 20, .35), 0 3px 6px rgba(0,0,0,.2);
}
.frame .bar { position: absolute; background-size: 100% 100%; }
/* base colour under the mitred bars so antialiased seams never show the page background */
.frame[data-frame="black"] { background: #1a1918; }
.frame[data-frame="white"] { background: #e4e4ea; }
.frame[data-frame="brown"] { background: #8a5f42; }
.frame .bar.t { top: 0; left: 0; right: 0; height: var(--bw); clip-path: polygon(0 0, 100% 0, calc(100% - var(--bw)) 100%, var(--bw) 100%); }
.frame .bar.b { bottom: 0; left: 0; right: 0; height: var(--bw); clip-path: polygon(var(--bw) 0, calc(100% - var(--bw)) 0, 100% 100%, 0 100%); }
.frame .bar.l { top: 0; bottom: 0; left: 0; width: var(--bw); clip-path: polygon(0 0, 100% var(--bw), 100% calc(100% - var(--bw)), 0 100%); }
.frame .bar.r { top: 0; bottom: 0; right: 0; width: var(--bw); clip-path: polygon(0 var(--bw), 100% 0, 100% 100%, 0 calc(100% - var(--bw))); }
/* inner lip */
.frame::after { content: ""; position: absolute; inset: var(--bw); pointer-events: none; box-shadow: 0 0 0 1px rgba(0,0,0,.35); z-index: 2; }

.frame[data-frame="black"] .bar.t { background: linear-gradient(#3a3837, #2a2827); }
.frame[data-frame="black"] .bar.l { background: linear-gradient(90deg, #2c2a29, #1e1c1b); }
.frame[data-frame="black"] .bar.r { background: linear-gradient(90deg, #171514, #0e0d0d); }
.frame[data-frame="black"] .bar.b { background: linear-gradient(#0f0e0e, #070606); }

.frame[data-frame="white"] .bar.t { background: linear-gradient(#ffffff, #f1f1f5); }
.frame[data-frame="white"] .bar.l { background: linear-gradient(90deg, #f4f4f8, #e6e6ec); }
.frame[data-frame="white"] .bar.r { background: linear-gradient(90deg, #dcdce3, #cfcfd8); }
.frame[data-frame="white"] .bar.b { background: linear-gradient(#cfcfd7, #c2c2cc); }

.frame[data-frame="brown"] .bar.t, .frame[data-frame="brown"] .bar.b { background-image: url("img/ui/drewno-poziome.jpg"); }
.frame[data-frame="brown"] .bar.l, .frame[data-frame="brown"] .bar.r { background-image: url("img/ui/drewno-pionowe.jpg"); }
.frame[data-frame="brown"] .bar.t { filter: brightness(1.35) saturate(1.05); }
.frame[data-frame="brown"] .bar.l { filter: brightness(1.05); }
.frame[data-frame="brown"] .bar.r { filter: brightness(.82); }
.frame[data-frame="brown"] .bar.b { filter: brightness(.95); }

.glass {
  position: absolute; inset: var(--bw); background: #050507; overflow: hidden; border-radius: 1px;
  box-shadow: inset 0 0 14px rgba(0,0,0,.8);
}
.glass img { width: 100%; height: 100%; object-fit: contain; transition: opacity .35s ease; }
.glass img.swap { opacity: 0; }
.glass::after { /* glass reflection */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(115deg, rgba(255,255,255,.10) 0%, rgba(255,255,255,0) 32%, rgba(255,255,255,0) 70%, rgba(255,255,255,.05) 100%);
}
.glass.day { background: radial-gradient(circle at 50% 40%, #fff, var(--light)); display: grid; place-items: center; text-align: center; padding: 14px; }
.glass.day::after { display: none; }
.day-note { color: var(--ink-soft); }
.day-note img { width: 90px; opacity: .55; margin: 0 auto 12px; }
.day-note strong { display: block; font-family: var(--font-display); font-size: 1.35rem; color: var(--dark); font-weight: 400; }
.day-note span { font-size: .9rem; }

.controls { display: flex; align-items: center; justify-content: center; gap: 18px 22px; flex-wrap: wrap; }
.ctl-group { display: flex; align-items: center; gap: 10px; }
.ctl-label { font-size: .85rem; font-weight: 600; color: var(--ink-soft); letter-spacing: .03em; }
.ic { width: 20px; height: 20px; fill: currentColor; flex: none; }

.seg { display: inline-flex; padding: 3px; gap: 2px; background: rgba(255,255,255,.8); border: 1.5px solid var(--mid); border-radius: 999px; }
.seg-btn {
  display: inline-flex; align-items: center; gap: 6px; padding: 6px 14px 6px 11px; border: 0; border-radius: 999px;
  background: transparent; color: var(--ink-soft); font: inherit; font-size: .9rem; font-weight: 600; cursor: pointer;
  transition: background .2s, color .2s;
}
.seg-btn:hover { color: var(--dark); }
.seg-btn[aria-pressed="true"] { background: var(--dark); color: #fff; }
.seg-btn[data-mode="night"][aria-pressed="true"] { background: #2b2a52; }
.seg-btn[data-mode="night"][aria-pressed="true"] .ic { color: #ffe27a; }
.seg-btn[data-mode="day"][aria-pressed="true"] { background: #f0a53a; }

.swatches { display: flex; gap: 8px; }
.swatch {
  width: 26px; height: 26px; border-radius: 50%; padding: 0; cursor: pointer;
  background-size: cover; background-position: center; border: 1.5px solid rgba(0,0,0,.25);
  box-shadow: 0 1px 3px rgba(0,0,0,.25); transition: transform .15s ease, box-shadow .15s ease;
}
.swatch:hover { transform: scale(1.12); }
.swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px #fff, 0 0 0 4px var(--dark); }

.watch { display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .85rem; color: var(--ink-soft); font-weight: 600; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 40px; height: 40px; border: 1.5px solid var(--mid); border-radius: 50%; background: rgba(255,255,255,.85);
  display: grid; place-items: center; transition: transform .15s ease, background .15s;
}
.socials a:hover { transform: translateY(-2px); background: var(--light); }
.socials img { width: 22px; height: 22px; }

.info h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.1rem, 5vw, 3.2rem); line-height: 1.05; margin: 0 0 6px; color: var(--dark); }
.info .cat { color: var(--ink-soft); margin: 0 0 22px; letter-spacing: .04em; }
.card { background: var(--card); backdrop-filter: blur(4px); border: 1px solid rgba(217,180,138,.6); border-radius: var(--radius); padding: 18px 22px; box-shadow: var(--shadow); }
.card h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; margin: 0 0 10px; color: var(--dark); }
dl.specs { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; }
dl.specs dt { font-weight: 600; color: var(--ink-soft); }
dl.specs dd { margin: 0; }
.note { margin: 18px 0 0; color: var(--ink-soft); font-size: .95rem; }

.others { margin-top: 30px; }
.others h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.45rem; color: var(--dark); margin: 0 0 10px; }
.thumbs { display: flex; gap: 12px; overflow-x: auto; padding: 4px 4px 14px; scroll-snap-type: x proximity; }
.thumbs a { flex: none; width: 92px; scroll-snap-align: start; text-decoration: none; }
.thumbs img { width: 92px; height: 115px; object-fit: cover; border-radius: 8px; background: #000; border: 3px solid transparent; transition: transform .15s; }
.thumbs a:hover img { transform: translateY(-3px); }
.thumbs a[aria-current="true"] img { border-color: var(--dark); }

/* ---------- themes grid ---------- */
.page-head { text-align: center; padding: 28px 0 8px; }
.page-head h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--dark); margin: 0; }
.page-head p { margin: 8px 0 0; color: var(--ink-soft); }
.toolbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin: 6px 0 18px; }
.toolbar .grid-count { margin: 0; }
.sort { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--ink-soft); font-size: .92rem; }
.sort select { font: inherit; font-weight: 500; color: var(--ink); padding: 8px 34px 8px 14px; border: 1.5px solid var(--mid); border-radius: 999px; cursor: pointer;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23b17358' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") right 13px center no-repeat; appearance: none; }
.sort select:focus-visible { outline: 3px solid var(--dark); outline-offset: 2px; }
.grid-count { text-align: center; color: var(--ink-soft); margin: 4px 0 18px; font-size: .95rem; }
.cat-title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; color: var(--ink-soft); margin: 26px 0 12px; border-bottom: 2px solid var(--mid); padding-bottom: 4px; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 20px; }
.tcard { text-decoration: none; color: inherit; display: block; background: var(--card); border: 1px solid rgba(217,180,138,.6); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .2s ease, box-shadow .2s ease; }
.tcard:hover { transform: translateY(-5px); box-shadow: 0 16px 34px rgba(120,70,40,.28); }
.tcard .ph { aspect-ratio: 4 / 5; background: #000; }
.tcard .ph img { width: 100%; height: 100%; object-fit: contain; }
.tcard .tt { padding: 11px 14px 13px; }
.tcard .tt strong { display: block; font-weight: 600; }
.tcard .tt small { color: var(--ink-soft); }
.empty-state { text-align: center; padding: 50px 10px; color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 26px; margin-top: 20px; align-items: stretch; }
.contact-card { display: flex; flex-direction: column; }
.contact-list.grow { flex: 1; justify-content: stretch; align-content: space-around; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.contact-list a { display: flex; align-items: center; gap: 14px; text-decoration: none; color: var(--ink); padding: 8px 10px; border-radius: 10px; }
.contact-list a:hover { background: var(--light); }
.contact-list img { width: 34px; height: 34px; }
.contact-list small { display: block; color: var(--ink-soft); }
details.faq { border-bottom: 1px solid rgba(217,180,138,.7); padding: 11px 0; }
details.faq:last-child { border-bottom: 0; }
details.faq summary { cursor: pointer; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
details.faq summary::-webkit-details-marker { display: none; }
details.faq summary::after { content: ""; flex: none; width: 22px; height: 22px; background: var(--dark); -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6z'/%3E%3C/svg%3E") center / contain no-repeat; transition: transform .2s; }
details.faq[open] summary::after { transform: rotate(180deg); }
details.faq p { margin: 8px 0 2px; color: var(--ink-soft); line-height: 1.55; }

/* ---------- promo start ---------- */
.hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px, 5vw, 60px); align-items: center; padding: 34px 0 20px; }
.kicker { margin: 0 0 8px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .8rem; color: var(--dark); }
.hero h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2.8rem, 7vw, 5rem); line-height: 1; margin: 0 0 16px; color: var(--dark); }
.lead { font-size: 1.12rem; line-height: 1.65; color: var(--ink); margin: 0 0 26px; max-width: 34em; }
.btns { display: flex; gap: 12px; flex-wrap: wrap; }
.btn { display: inline-block; padding: 13px 26px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid var(--dark); transition: transform .15s, background .2s, color .2s; }
.btn:hover { transform: translateY(-2px); }
.btn.primary { background: var(--dark); color: #fff; box-shadow: 0 8px 20px rgba(177,115,88,.35); }
.btn.ghost { color: var(--dark); background: rgba(255,255,255,.6); }
.btn.ghost:hover { background: var(--light); }
.hero-visual { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.hero-frame { width: min(100%, 360px); flex: none; transform: rotate(2deg); }
.hero-frame .slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; }
.hero-frame .slide.on { opacity: 1; }
.hero-name { margin: 0; font-family: var(--font-display); font-size: 1.5rem; color: var(--ink-soft); min-height: 1.6em; }

.block { padding: 34px 0 6px; }
.h2 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.9rem, 4vw, 2.6rem); text-align: center; color: var(--dark); margin: 0 0 8px; }
.sub { text-align: center; color: var(--ink-soft); margin: 0 0 22px; }
.block .h2 + .steps3, .block .h2 + .feats, .block .h2 + .showcase, .block .h2 + .order { margin-top: 22px; }
.steps3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.step { text-align: center; padding: 24px 20px; }
.step .badge { width: 58px; height: 58px; border-radius: 50%; margin: 0 auto 12px; display: grid; place-items: center; background: var(--light); color: var(--dark); }
.step .badge .ic { width: 30px; height: 30px; }
.step h3 { margin: 0 0 6px; font-size: 1.08rem; }
.step p { margin: 0; color: var(--ink-soft); line-height: 1.55; }
.feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.feats li { display: flex; gap: 12px; align-items: flex-start; padding: 16px 18px; }
.feats .tick { color: #fff; background: var(--dark); border-radius: 50%; padding: 4px; width: 26px; height: 26px; margin-top: 1px; }
.feats strong, .order strong { display: block; margin-bottom: 3px; }
.feats span, .order span { color: var(--ink-soft); font-size: .95rem; line-height: 1.5; }
.showcase { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.showcase .tcard .tt { padding: 8px 10px 10px; font-size: .88rem; text-align: center; }
.center { text-align: center; margin: 22px 0 0; }
.order { list-style: none; counter-reset: o; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.order li { counter-increment: o; padding: 18px; position: relative; }
.order li::before { content: counter(o); display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--dark); color: #fff; font-weight: 700; margin-bottom: 10px; }
.cta { text-align: center; margin: 44px 0 10px; padding: 32px 20px; display: flex; flex-direction: column; align-items: center; gap: 16px; }
.cta .h2 { margin: 0; }
.cta .socials { margin-top: 4px; }

/* ---------- footer ---------- */
.site-footer { text-align: center; padding: 26px 20px 30px; }
.year-line { font-family: var(--font-display); font-size: 1.5rem; color: var(--dark); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; text-align: center; }
  .lead { margin-left: auto; margin-right: auto; }
  .btns { justify-content: center; }
  .hero-frame { width: min(70%, 300px); }
  .steps3, .feats { grid-template-columns: 1fr; }
  .showcase { grid-template-columns: repeat(3, 1fr); }
  .order { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .stage { grid-template-columns: 1fr; }
  .viewer { max-width: 440px; margin: 0 auto; width: 100%; }
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .header-inner { grid-template-columns: 1fr 1fr; grid-template-areas: "logo lang" "nav nav"; row-gap: 6px; }
  .logo { grid-area: logo; justify-self: start; }
  .logo img { height: 68px; margin: 0; }
  .lang { grid-area: lang; }
  .nav { grid-area: nav; justify-content: center; }
  .nav a { font-size: 1.35rem; }
  main { padding: 4px 16px 30px; }
  .nav-arrow { width: 36px; height: 36px; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- footer links + legal pages ---------- */
.foot-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 22px; margin-top: 8px; font-size: .88rem; }
.foot-links a { color: var(--ink-soft); text-decoration: none; font-weight: 600; }
.foot-links a:hover { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
.legal { max-width: 780px; margin: 10px auto 0; padding: 26px clamp(18px, 4vw, 40px); line-height: 1.65; }
.legal h2 { font-family: var(--font-display); font-weight: 400; font-size: 1.5rem; color: var(--dark); margin: 26px 0 8px; }
.legal h2:first-child, .legal .legal-note + h2 { margin-top: 0; }
.legal h2.big { font-size: 1.9rem; margin-top: 40px; padding-top: 22px; border-top: 2px solid var(--mid); }
.legal p { margin: 0 0 10px; }
.legal .num, .legal .bul { display: flex; gap: 10px; }
.legal .num b { flex: none; min-width: 1.4em; color: var(--dark); }
.legal .bul::before { content: ""; flex: none; width: 6px; height: 6px; border-radius: 50%; background: var(--dark); margin-top: .7em; }
.legal .bul.sub { margin-left: 2.2em; }
.legal-note { color: var(--ink-soft); font-weight: 600; }
.nav-arrow .ic { width: 24px; height: 24px; }

/* ---------- 404 ---------- */
.nf { text-align: center; padding: 40px 20px 30px; }
.nf-code { font-family: var(--font-display); font-size: clamp(5rem, 18vw, 9rem); line-height: 1; margin: 0; color: var(--mid); }
.nf h1 { font-family: var(--font-display); font-weight: 400; font-size: clamp(2rem, 5vw, 3rem); color: var(--dark); margin: 6px 0 12px; }
.nf-text { max-width: 30em; margin: 0 auto 6px; line-height: 1.6; }
.nf-en { color: var(--ink-soft); font-size: .9rem; margin: 0 0 26px; }
.nf .btns { justify-content: center; }

/* ---------- cookie consent ---------- */
.linklike { background: none; border: 0; padding: 0; font: inherit; font-size: .88rem; font-weight: 600; color: var(--ink-soft); cursor: pointer; }
.linklike:hover { color: var(--dark); text-decoration: underline; text-underline-offset: 3px; }
.consent { position: fixed; z-index: 60; left: 16px; right: 16px; bottom: 16px; max-width: 760px; margin: 0 auto; padding: 16px 20px;
  display: flex; align-items: center; gap: 14px 20px; flex-wrap: wrap; background: #fff; border: 1.5px solid var(--mid); border-radius: 16px; box-shadow: 0 12px 36px rgba(90, 50, 30, .3); }
.consent p { flex: 1 1 300px; margin: 0; font-size: .92rem; line-height: 1.5; }
.consent-btns { display: flex; gap: 10px; margin-left: auto; }
.consent .btn { padding: 9px 20px; font: inherit; font-weight: 700; cursor: pointer; }
