@font-face {
  font-family: 'Besley';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/besley-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Besley';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/besley-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Besley';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/besley-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Besley';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/besley-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/albert-sans-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/albert-sans-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/albert-sans-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Albert Sans';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/albert-sans-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
:root {
  --bg: #e6dbc7;
  --surface: #ddd0b9;
  --ink: #062b8a;
  --muted: #3a5aa8;
  --inv-muted: #b9c3e3;
  --serif: 'Besley', Georgia, 'Times New Roman', serif;
  --sans: 'Albert Sans', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  --h1: 2.5rem;
  --h2: 1.875rem;
  --h3: 1.3125rem;
  --body-lg: 1.125rem;
  --body: 1rem;
  --sec: 4.5rem;
  --line: 1.5px solid var(--ink);
}
@media (min-width: 768px) {
  :root { --h1: 3.75rem; --h2: 2.5rem; --h3: 1.5rem; --body-lg: 1.25rem; --body: 1.0625rem; --sec: 7.5rem; }
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 var(--body)/1.6 var(--sans);
}
img, svg { display: block; max-width: 100%; }
img { height: auto; }
h1, h2, h3 { font-family: var(--serif); font-weight: 600; margin: 0; }
h1 { font-size: var(--h1); line-height: 1.05; letter-spacing: -0.02em; text-wrap: balance; }
h2 { font-size: var(--h2); line-height: 1.1; letter-spacing: -0.01em; text-wrap: balance; }
h3 { font-size: var(--h3); line-height: 1.25; }
p { margin: 0 0 1em; text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration-thickness: 1.5px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 1.5px; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
::selection { background: var(--ink); color: var(--bg); }

.wrap { width: 100%; max-width: 1180px; margin-inline: auto; padding-inline: 20px; }
@media (min-width: 768px) { .wrap { padding-inline: 24px; } }
.lead { font-size: var(--body-lg); line-height: 1.55; max-width: 36em; }

/* Кнопки */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 22px;
  font: 600 var(--body)/1.2 var(--sans);
  text-align: center; text-decoration: none;
  border: var(--line); border-radius: 0; cursor: pointer;
}
.btn-primary { background: var(--ink); color: var(--bg); }
.btn-primary:hover { background: var(--muted); border-color: var(--muted); }
.btn-secondary { background: transparent; color: var(--ink); }
.btn-secondary:hover { background: var(--surface); }

/* Позначка +18 */
.badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; flex: none;
  border: var(--line); border-radius: 50%;
  font: 600 0.875rem/1 var(--sans);
}
.badge-lg { width: 72px; height: 72px; font: 600 1.375rem/1 var(--serif); }

/* Хедер */
.site-header { position: relative; border-bottom: var(--line); background: var(--bg); z-index: 5; }
.bar { display: flex; align-items: center; gap: 16px; min-height: 72px; }
.brand { font: 600 1.375rem/1.1 var(--serif); text-decoration: none; letter-spacing: -0.01em; }
.brand:hover { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.bar .badge { order: 1; margin-left: auto; }
.nav { order: 2; }
.menu-btn { display: none; }
.nav-list { display: flex; gap: 28px; }
.nav-list a { font-weight: 600; text-decoration: none; padding: 6px 0; }
.nav-list a:hover, .nav-list a[aria-current] { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 6px; }
@media (min-width: 900px) {
  .nav { order: 1; margin-left: auto; }
  .bar .badge { order: 2; margin-left: 0; }
}
@media (max-width: 899.98px) {
  .nav-list { flex-direction: column; gap: 0; }
  .nav-list li + li { border-top: var(--line); }
  .nav-list a { display: block; padding: 14px 20px; }
  .js .menu-btn {
    display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px;
    background: transparent; color: var(--ink); border: var(--line); border-radius: 0;
    font: 600 0.9375rem/1 var(--sans); cursor: pointer;
  }
  .js .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    background: var(--bg); border-bottom: var(--line);
  }
  .js .nav-list.open { display: flex; }
  .nav-list a:hover, .nav-list a[aria-current] { text-decoration: none; background: var(--surface); }
}

/* Фото з рамкою-зсувом */
.frame { position: relative; isolation: isolate; margin: 0 8px 8px 0; }
.frame::after { content: ""; position: absolute; inset: 8px -8px -8px 8px; border: var(--line); z-index: -1; }
.frame img { width: 100%; border: var(--line); background: var(--surface); }
figure { margin: 0; }
.hero-photo figcaption { margin-top: 24px; font-style: italic; }

/* Секції */
.section { padding-block: var(--sec); }
.section > .wrap > h2 { margin-bottom: 40px; }
.inverse { background: var(--ink); color: var(--bg); }
.inverse :focus-visible, .site-footer :focus-visible { outline-color: var(--bg); }
.inverse ::selection, .site-footer ::selection { background: var(--bg); color: var(--ink); }

/* Футер */
.site-footer { background: var(--ink); color: var(--bg); padding-block: 72px 40px; font-size: 0.9375rem; }
.foot-top { display: grid; gap: 40px; margin-bottom: 40px; }
.foot-brand { font: 600 1.375rem/1.2 var(--serif); margin-bottom: 12px; }
.foot-about p { max-width: 34em; }
.foot-cols { display: grid; gap: 32px 24px; grid-template-columns: 1fr 1fr; }
.foot-cols nav:last-child { grid-column: 1 / -1; }
.foot-h { font: 600 0.9375rem/1.3 var(--sans); margin-bottom: 12px; letter-spacing: 0; }
.foot-cols li + li { margin-top: 6px; }
.foot-cols a { text-decoration: none; }
.foot-cols a:hover { text-decoration: underline; }
.foot-warn { max-width: 52em; padding-top: 32px; border-top: 1.5px solid var(--inv-muted); }
.foot-small { color: var(--inv-muted); font-size: 0.875rem; margin-bottom: 8px; }
.site-footer .foot-small a { color: var(--bg); }
@media (min-width: 900px) {
  .foot-top { grid-template-columns: 5fr 7fr; gap: 24px; }
  .foot-cols { grid-template-columns: repeat(3, 1fr); }
  .foot-cols nav:last-child { grid-column: auto; }
}

/* Вікове вікно */
.age-gate {
  width: calc(100% - 40px); max-width: 440px; padding: 32px; margin: auto;
  background: var(--bg); color: var(--ink); border: var(--line); border-radius: 0; box-shadow: none;
}
.age-gate::backdrop { background: rgba(6, 43, 138, 0.92); }
.age-gate h2 { font-size: 1.5rem; margin-bottom: 16px; }
.age-gate p { margin-bottom: 24px; }
.age-actions { display: grid; gap: 12px; }
.age-gate [hidden] { display: none; }
.age-gate #age-deny p { margin-bottom: 0; }
.age-gate h2:focus { outline: none; }
@media (min-width: 480px) { .age-actions { grid-template-columns: 1fr auto; } }

@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; } }
