/* ==========================================================================
   Xavrintok — nowoczesna kuchnia wielkopolska, ul. Śródka 12, Poznań
   Jeden arkusz. Mobile-first. Bez frameworków.
   Kierunek: ciemna baza, wysokokontrastowa antykwa w nagłówkach,
   numerowane sekcje, jasne wstawki „papierowe”, piaskowy akcent.
   ========================================================================== */

:root {
    --night:    #14100F;
    --night-2:  #1B1614;
    --night-3:  #241D1A;
    --night-4:  #2E2521;
    --cream:    #EFE8DC;
    --cream-2:  #F7F2E8;
    --paper:    #F2ECE0;
    --paper-2:  #E7DFCF;
    --muted:    #9C9086;
    --muted-2:  #6E655E;
    --sand:     #D3B87E;
    --sand-2:   #E6D2A2;
    --plum:     #7A3D52;
    --sage:     #8CA489;
    --line:     rgba(239, 232, 220, .14);
    --line-2:   rgba(239, 232, 220, .28);
    --line-dk:  #D6CCB8;
    --line-dk2: #BFB39B;

    --disp: "Bodoni MT", Didot, "Didot LT STD", "Playfair Display", "Hoefler Text", Garamond, "Times New Roman", serif;
    --sans: "Inter", "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;

    --edge: 18px;
    --gut:  18px;
    --sec:  58px;
    --max:  1280px;

    --dur:  .7s;
    --ease: cubic-bezier(.18, .72, .26, 1);
}

@media (min-width: 760px)  { :root { --edge: 34px; --gut: 26px; --sec: 92px; } }
@media (min-width: 1120px) { :root { --edge: 56px; --gut: 34px; --sec: 124px; } }

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
    margin: 0;
    background: var(--night);
    color: var(--cream);
    font-family: var(--sans);
    font-size: 16px;
    line-height: 1.7;
    overflow-x: hidden;
}

@media (min-width: 760px) { body { font-size: 17px; } }

img { max-width: 100%; height: auto; display: block; }
a   { color: inherit; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0; font-family: var(--disp); font-weight: 400; line-height: 1.08; letter-spacing: -.01em; }
p  { margin: 0 0 1.05em; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--sand); color: var(--night); }

:focus-visible { outline: 2px solid var(--sand); outline-offset: 3px; }

.shell { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--edge); }

/* ── Typografia pomocnicza ────────────────────────────────────── */

.h1 { font-size: clamp(38px, 9vw, 86px); }
.h2 { font-size: clamp(29px, 5.6vw, 54px); }
.h3 { font-size: clamp(22px, 3.4vw, 31px); }
.h4 { font-size: clamp(19px, 2.4vw, 23px); }

.lead {
    font-size: clamp(17px, 2.2vw, 21px);
    line-height: 1.62;
    color: var(--cream);
    max-width: 62ch;
}

.small  { font-size: 14.5px; line-height: 1.62; }
.muted  { color: var(--muted); }

.eyebrow {
    display: inline-block;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: .22em;
    text-transform: uppercase;
    color: var(--sand);
}

.idx {
    display: block;
    font-family: var(--disp);
    font-size: clamp(44px, 8vw, 80px);
    line-height: 1;
    color: var(--night-4);
    margin-bottom: 6px;
}

.rule { height: 1px; background: var(--line); border: 0; margin: 0; }

.sechead { margin-bottom: 30px; }
.sechead .h2 { margin: 10px 0 14px; }
.sechead p { max-width: 60ch; color: var(--muted); margin: 0; }

@media (min-width: 900px) {
    .sechead--split { display: grid; grid-template-columns: 1.15fr .85fr; gap: var(--gut); align-items: end; margin-bottom: 44px; }
    .sechead--split p { margin-bottom: 4px; }
}

/* ── Przyciski ────────────────────────────────────────────────── */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 50px;
    padding: 13px 26px;
    background: var(--sand);
    color: var(--night);
    border: 1px solid var(--sand);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .13em;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    transition: background var(--dur) var(--ease), color var(--dur) var(--ease), border-color var(--dur) var(--ease);
}

.btn:hover  { background: var(--sand-2); border-color: var(--sand-2); }
.btn--sm    { min-height: 44px; padding: 10px 18px; font-size: 12px; }
.btn--out   { background: transparent; color: var(--cream); border-color: var(--line-2); }
.btn--out:hover { background: transparent; border-color: var(--sand); color: var(--sand); }
.btn--ghost { background: transparent; color: var(--muted); border-color: transparent; text-decoration: underline; text-underline-offset: 4px; }
.btn--ghost:hover { background: transparent; color: var(--cream); }

.btns { display: flex; flex-wrap: wrap; gap: 12px; }

.tlink {
    display: inline-block;
    min-height: 44px;
    line-height: 44px;
    font-size: 12.5px;
    font-weight: 600;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--sand);
    text-decoration: none;
    border-bottom: 1px solid var(--line-2);
    transition: border-color var(--dur) var(--ease), color var(--dur) var(--ease);
}
.tlink:hover { border-color: var(--sand); color: var(--sand-2); }

.age {
    display: inline-block;
    font-style: normal;
    font-size: 9.5px;
    font-weight: 700;
    letter-spacing: .08em;
    padding: 2px 5px;
    border: 1px solid var(--line-2);
    color: var(--sand);
    vertical-align: middle;
    margin-left: 5px;
}

/* ── Nagłówek serwisu ─────────────────────────────────────────── */

.hdr { position: relative; z-index: 40; background: var(--night); border-bottom: 1px solid var(--line); }

.hdr__note { background: var(--night-2); border-bottom: 1px solid var(--line); font-size: 11.5px; letter-spacing: .04em; color: var(--muted); }
.hdr__note-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 38px; padding-top: 7px; padding-bottom: 7px; }
.hdr__note-in > span:first-child, .hdr__tel { display: none; }
.hdr__age b { color: var(--sand); letter-spacing: .1em; margin-right: 6px; }
.hdr__tel { text-decoration: none; }
.hdr__tel:hover { color: var(--sand); }

@media (min-width: 1000px) {
    .hdr__note-in > span:first-child, .hdr__tel { display: block; }
    .hdr__age { text-align: center; }
}

.hdr__bar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding-top: 18px; padding-bottom: 18px; }

.brand { text-decoration: none; display: block; }
.brand__name { display: block; font-family: var(--disp); font-size: clamp(25px, 5vw, 34px); letter-spacing: .01em; line-height: 1; }
.brand__name em { font-style: italic; color: var(--sand); }
.brand__sub { display: none; margin-top: 7px; font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted-2); }

@media (min-width: 760px) { .brand__sub { display: block; } }

.hdr__cta { display: none; }
@media (min-width: 760px) { .hdr__cta { display: inline-flex; } }

.nav { display: none; border-top: 1px solid var(--line); }
.nav__in { display: flex; gap: 34px; }
.nav a {
    position: relative;
    display: block;
    padding: 15px 0;
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: .17em;
    text-transform: uppercase;
    text-decoration: none;
    color: var(--muted);
    transition: color var(--dur) var(--ease);
}
.nav a:hover { color: var(--cream); }
.nav a.is-active { color: var(--sand); }
.nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 1px; background: var(--sand); }

@media (min-width: 900px) { .nav { display: block; } }

.burger { display: inline-flex; flex-direction: column; justify-content: center; gap: 5px; width: 46px; height: 46px; padding: 0 11px; background: none; border: 1px solid var(--line); cursor: pointer; }
.burger i { display: block; height: 1px; background: var(--cream); transition: background var(--dur) var(--ease); }
.burger:hover i { background: var(--sand); }
@media (min-width: 900px) { .burger { display: none; } }

.mnav { display: none; flex-direction: column; padding: 8px var(--edge) 26px; border-top: 1px solid var(--line); background: var(--night-2); }
.mnav.is-open { display: flex; }
.mnav a { padding: 15px 0; font-size: 15px; letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border-bottom: 1px solid var(--line); }
.mnav a.is-active { color: var(--sand); }
.mnav__cta { margin-top: 20px; border-bottom: 0; }
.mnav__meta { margin: 18px 0 0; font-size: 13px; color: var(--muted); }
@media (min-width: 900px) { .mnav, .mnav.is-open { display: none; } }

/* ── Sekcje ───────────────────────────────────────────────────── */

.sect { padding: var(--sec) 0; }
.sect--tight { padding: calc(var(--sec) * .62) 0; }
.sect--line { border-top: 1px solid var(--line); }
.sect--dk { background: var(--night-2); }

.sect--paper { background: var(--paper); color: #211B17; }
.sect--paper .eyebrow { color: #8A5A2B; }
.sect--paper .idx { color: var(--paper-2); }
.sect--paper .sechead p, .sect--paper .muted { color: #6B6058; }
.sect--paper .rule { background: var(--line-dk); }
.sect--paper .tlink { color: #8A5A2B; border-color: var(--line-dk2); }
.sect--paper .tlink:hover { border-color: #8A5A2B; }
.sect--paper .btn--out { color: #211B17; border-color: var(--line-dk2); }
.sect--paper .btn--out:hover { color: #8A5A2B; border-color: #8A5A2B; }

/* ── Hero ─────────────────────────────────────────────────────── */

.hero { position: relative; background: var(--night-2); }
.hero__media { position: relative; }
.hero__media img { width: 100%; height: 54vh; min-height: 320px; max-height: 660px; object-fit: cover; opacity: .58; }
.hero__media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20,16,15,.45) 0%, rgba(20,16,15,.2) 40%, var(--night) 100%); }

.hero__in { position: relative; z-index: 2; margin-top: -76px; padding-bottom: calc(var(--sec) * .8); }
.hero__kick { margin-bottom: 16px; }
.hero h1 { margin-bottom: 20px; }
.hero h1 em { font-style: italic; color: var(--sand); }
.hero__lead { max-width: 54ch; color: var(--cream); }
.hero__btns { margin-top: 28px; }

.hero__facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; margin-top: 44px; background: var(--line); border: 1px solid var(--line); }
.hero__facts div { background: var(--night); padding: 18px 16px; }
.hero__facts dt { font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.hero__facts dd { margin: 0; font-family: var(--disp); font-size: clamp(19px, 3vw, 25px); line-height: 1.15; }

@media (min-width: 760px) { .hero__media img { height: 66vh; } .hero__in { margin-top: -110px; } .hero__facts { grid-template-columns: repeat(4, 1fr); } }

/* ── Nagłówek podstrony ───────────────────────────────────────── */

.phead { padding: 44px 0 0; }
.phead .h1 { margin: 14px 0 20px; }
.phead .lead { color: var(--muted); }
.phead--img { padding-bottom: 0; }

.crumbs { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin: 0; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--sand); }

.phead__fig { margin: 40px 0 0; }
.phead__fig img { width: 100%; height: clamp(200px, 34vw, 420px); object-fit: cover; }

/* ── Układy ───────────────────────────────────────────────────── */

.duo { display: grid; gap: 32px; }
@media (min-width: 900px) {
    .duo { grid-template-columns: 1fr 1fr; gap: calc(var(--gut) * 1.6); align-items: center; }
    .duo--wide { grid-template-columns: 1.25fr .75fr; }
    .duo--narrow { grid-template-columns: .8fr 1.2fr; }
    .duo--top { align-items: start; }
}

.grid { display: grid; gap: var(--gut); }
.grid--2 { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }
.grid--4 { grid-template-columns: 1fr 1fr; }
@media (min-width: 700px) { .grid--2 { grid-template-columns: 1fr 1fr; } .grid--3 { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1000px) { .grid--3 { grid-template-columns: repeat(3, 1fr); } .grid--4 { grid-template-columns: repeat(4, 1fr); } }

.stack > * + * { margin-top: 18px; }

/* ── Karty ────────────────────────────────────────────────────── */

.card {
    display: flex;
    flex-direction: column;
    padding: 26px 22px 28px;
    background: var(--night-2);
    border: 1px solid var(--line);
    transition: border-color var(--dur) var(--ease), background var(--dur) var(--ease);
}
.card:hover { border-color: var(--line-2); }
.card__n { font-family: var(--disp); font-size: 15px; color: var(--sand); letter-spacing: .1em; margin-bottom: 14px; }
.card h3 { margin-bottom: 12px; font-size: 22px; }
.card p { color: var(--muted); font-size: 15.5px; margin-bottom: 0; }
.card p + p { margin-top: 10px; }
.card__foot { margin-top: auto; padding-top: 18px; }
.card--link { text-decoration: none; }
.card--link:hover { background: var(--night-3); border-color: var(--sand); }
.card--ent { background: var(--night-3); border-color: var(--line-2); }

.sect--paper .card { background: #FBF7EE; border-color: var(--line-dk); }
.sect--paper .card:hover { border-color: var(--line-dk2); }
.sect--paper .card p { color: #6B6058; }
.sect--paper .card__n { color: #8A5A2B; }

/* ── Figury ───────────────────────────────────────────────────── */

.fig { margin: 0; }
.fig img { width: 100%; }
.fig figcaption { margin-top: 12px; font-size: 12.5px; letter-spacing: .04em; color: var(--muted-2); }
.fig--tall img { height: clamp(280px, 46vw, 560px); object-fit: cover; }
.fig--wide img { height: clamp(220px, 34vw, 440px); object-fit: cover; }
.fig--sq img { aspect-ratio: 4 / 3; object-fit: cover; }

/* ── Lista dań ────────────────────────────────────────────────── */

.dish { border-top: 1px solid var(--line); }
.dish__row { display: flex; align-items: baseline; gap: 10px; padding: 18px 0 6px; }
.dish__name { font-family: var(--disp); font-size: clamp(19px, 2.6vw, 24px); line-height: 1.2; }
.dish__dots { flex: 1; border-bottom: 1px dotted var(--line-2); transform: translateY(-4px); min-width: 20px; }
.dish__price { font-size: 14px; font-weight: 600; letter-spacing: .06em; color: var(--sand); white-space: nowrap; }
.dish__desc { margin: 0 0 18px; font-size: 15px; color: var(--muted); max-width: 68ch; }
.dish__tag { display: inline-block; margin-left: 8px; font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--sage); vertical-align: middle; }

.sect--paper .dish { border-color: var(--line-dk); }
.sect--paper .dish__dots { border-color: var(--line-dk2); }
.sect--paper .dish__price { color: #8A5A2B; }
.sect--paper .dish__desc { color: #6B6058; }
.sect--paper .dish__tag { color: #5C7358; }

/* ── Fakty / definicje ────────────────────────────────────────── */

.facts { margin: 0; }
.facts > div { display: grid; grid-template-columns: 1fr; gap: 2px; padding: 14px 0; border-top: 1px solid var(--line); }
.facts dt { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); }
.facts dd { margin: 0; font-size: 15.5px; }
.facts a { text-decoration: none; border-bottom: 1px solid var(--line-2); }
.facts a:hover { color: var(--sand); }
@media (min-width: 560px) { .facts > div { grid-template-columns: 170px 1fr; gap: 16px; align-items: baseline; } }

.sect--paper .facts > div { border-color: var(--line-dk); }

/* ── Statystyki ───────────────────────────────────────────────── */

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.stats div { background: var(--night); padding: 26px 18px; text-align: center; }
.stats b { display: block; font-family: var(--disp); font-size: clamp(32px, 6vw, 54px); line-height: 1; color: var(--sand); }
.stats span { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 860px) { .stats { grid-template-columns: repeat(4, 1fr); } }

/* ── Cytaty / opinie ──────────────────────────────────────────── */

.quote { padding: 26px 22px; background: var(--night-2); border-left: 2px solid var(--sand); }
.quote p { font-family: var(--disp); font-size: clamp(18px, 2.4vw, 22px); line-height: 1.42; margin-bottom: 16px; }
.quote footer { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted-2); }

/* ── Callout ──────────────────────────────────────────────────── */

.callout { padding: 24px 22px; background: var(--night-3); border: 1px solid var(--line); }
.callout p:last-child { margin-bottom: 0; }
.callout b { color: var(--sand); font-weight: 600; }
.callout--ent { border-color: var(--line-2); background: var(--night-2); }

.sect--paper .callout { background: #FBF7EE; border-color: var(--line-dk); }
.sect--paper .callout b { color: #8A5A2B; }

/* ── Pasek wyróżniony (entertainment teaser) ──────────────────── */

.band { position: relative; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--night-2); }
.band__grid { display: grid; gap: 0; }
.band__media img { width: 100%; height: clamp(240px, 40vw, 100%); object-fit: cover; opacity: .82; }
.band__body { padding: calc(var(--sec) * .7) 0; }
@media (min-width: 900px) {
    .band__grid { grid-template-columns: .95fr 1.05fr; align-items: stretch; }
    .band__media img { height: 100%; }
    .band__body { padding: calc(var(--sec) * .8) 0 calc(var(--sec) * .8) calc(var(--gut) * 1.6); }
}

/* ── Kroki / oś czasu ─────────────────────────────────────────── */

.steps { counter-reset: st; }
.steps li { position: relative; padding: 20px 0 20px 54px; border-top: 1px solid var(--line); }
.steps li::before {
    counter-increment: st;
    content: counter(st, decimal-leading-zero);
    position: absolute; left: 0; top: 20px;
    font-family: var(--disp); font-size: 20px; color: var(--sand);
}
.steps b { display: block; font-family: var(--disp); font-size: 20px; font-weight: 400; margin-bottom: 5px; }
.steps p { margin: 0; color: var(--muted); font-size: 15.5px; }

.sect--paper .steps li { border-color: var(--line-dk); }
.sect--paper .steps li::before { color: #8A5A2B; }
.sect--paper .steps p { color: #6B6058; }

.tline li { position: relative; padding: 0 0 26px 26px; border-left: 1px solid var(--line); }
.tline li:last-child { padding-bottom: 0; }
.tline li::before { content: ""; position: absolute; left: -4px; top: 9px; width: 7px; height: 7px; background: var(--sand); }
.tline b { display: block; font-family: var(--disp); font-size: 22px; font-weight: 400; }
.tline span { display: block; font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }
.tline p { margin: 6px 0 0; color: var(--muted); font-size: 15.5px; }

/* ── Galeria ──────────────────────────────────────────────────── */

.gal { display: grid; gap: 10px; grid-template-columns: 1fr 1fr; }
.gal figure { margin: 0; }
.gal img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gal figcaption { margin-top: 8px; font-size: 12px; color: var(--muted-2); }
@media (min-width: 900px) { .gal { grid-template-columns: repeat(3, 1fr); gap: var(--gut); } .gal--wide figure:first-child { grid-column: span 2; } }

/* ── Formularz ────────────────────────────────────────────────── */

.formx { display: grid; gap: 18px; }
@media (min-width: 640px) { .formx { grid-template-columns: 1fr 1fr; } .field--full { grid-column: 1 / -1; } }

.field { display: flex; flex-direction: column; gap: 7px; }
.field label { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.field label b { color: var(--sand); font-weight: 400; }
.field input, .field select, .field textarea {
    width: 100%;
    min-height: 50px;
    padding: 13px 14px;
    background: var(--night-2);
    border: 1px solid var(--line);
    color: var(--cream);
    font-family: inherit;
    font-size: 16px;
    transition: border-color var(--dur) var(--ease);
}
.field textarea { min-height: 130px; resize: vertical; line-height: 1.6; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--sand); outline: none; }
.field--err input, .field--err select, .field--err textarea { border-color: var(--plum); }

.check { display: grid; grid-template-columns: 22px 1fr; gap: 12px; align-items: start; grid-column: 1 / -1; font-size: 14.5px; color: var(--muted); line-height: 1.55; cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 2px 0 0; accent-color: var(--sand); }
.check a { color: var(--cream); }
.check--err span { color: var(--plum); }
.check--err a { color: var(--plum); }

.form-note { grid-column: 1 / -1; margin: 4px 0 0; font-size: 13px; color: var(--muted-2); line-height: 1.6; }
.form-note a { color: var(--muted); }

/* ── Treść prawna ─────────────────────────────────────────────── */

.doc { max-width: 78ch; }
.doc h2 { font-size: clamp(23px, 3.4vw, 31px); margin: 42px 0 14px; }
.doc h3 { font-size: clamp(18px, 2.4vw, 21px); margin: 28px 0 10px; }
.doc p, .doc li { color: var(--cream); }
.doc ul { margin: 0 0 1.05em; padding-left: 20px; list-style: disc; }
.doc li { margin-bottom: 7px; }
.doc a { color: var(--sand); }
.doc__meta { font-size: 13px; color: var(--muted-2); }

/* ── Stopka ───────────────────────────────────────────────────── */

.ftr { background: var(--night-2); border-top: 1px solid var(--line); padding: var(--sec) 0 32px; font-size: 14.5px; }
.ftr__grid { display: grid; gap: 34px; }
@media (min-width: 720px)  { .ftr__grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1060px) { .ftr__grid { grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: var(--gut); } }

.ftr__logo { font-family: var(--disp); font-size: 30px; margin-bottom: 16px; }
.ftr__logo em { font-style: italic; color: var(--sand); }
.ftr__about p { color: var(--muted); max-width: 46ch; }
.ftr h4 { font-size: 13px; font-family: var(--sans); font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--sand); margin-bottom: 16px; }
.ftr ul li { padding: 6px 0; color: var(--muted); }
.ftr ul a { text-decoration: none; }
.ftr ul a:hover { color: var(--sand); }
.ftr__ent { color: var(--cream) !important; padding-top: 12px !important; margin-top: 6px; border-top: 1px solid var(--line); }

.ftr__disc { margin-top: 44px; padding: 24px 0 0; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); line-height: 1.65; }
.ftr__disc strong { color: var(--cream); font-weight: 600; }
.ftr__disc a { color: var(--sand); }

.ftr__bot { display: flex; flex-direction: column; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--muted-2); }
.ftr__bot nav { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; }
.ftr__bot a, .ftr__bot button { color: var(--muted); text-decoration: none; background: none; border: 0; padding: 0; font-size: 12.5px; cursor: pointer; }
.ftr__bot a:hover, .ftr__bot button:hover { color: var(--sand); }
@media (min-width: 860px) { .ftr__bot { flex-direction: row; align-items: center; justify-content: space-between; } }

/* ── Cookies ──────────────────────────────────────────────────── */

.cookie {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    background: var(--night-3);
    border-top: 1px solid var(--line-2);
    transform: translateY(102%);
    transition: transform .5s var(--ease);
}
.cookie.is-on { transform: translateY(0); }
.cookie__in { display: grid; gap: 16px; padding-top: 20px; padding-bottom: 20px; }
.cookie p { margin: 0; font-size: 14px; color: var(--muted); line-height: 1.6; max-width: 78ch; }
.cookie a { color: var(--sand); }
@media (min-width: 1000px) { .cookie__in { grid-template-columns: 1fr auto; align-items: center; gap: 28px; } }

.modal { position: fixed; inset: 0; z-index: 70; display: none; padding: 20px; background: rgba(10, 8, 7, .74); overflow-y: auto; }
.modal.is-on { display: flex; align-items: flex-start; justify-content: center; }
.modal__box { position: relative; width: 100%; max-width: 620px; margin: auto; padding: 32px 24px; background: var(--night-2); border: 1px solid var(--line-2); }
.modal__box .h3 { margin: 10px 0 12px; }
.modal__close { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; background: none; border: 0; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; }
.modal__close:hover { color: var(--sand); }

.copt { display: grid; grid-template-columns: 22px 1fr; gap: 14px; padding: 18px 0; border-top: 1px solid var(--line); }
.copt input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--sand); }
.copt b { display: block; font-size: 14.5px; margin-bottom: 4px; }
.copt p { margin: 0; font-size: 13.5px; color: var(--muted); line-height: 1.55; }
.modal .btns { margin-top: 22px; }

/* ── Reveal ───────────────────────────────────────────────────── */

.reveal { opacity: 0; transform: translateY(18px); transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    * { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
