/* Books That Help You — статична верзија. Дизајн токени од src/app/(frontend)/globals.css */
:root {
  --ink-0: #0d0e11;
  --ink-1: #14161a;
  --ink-2: #1b1e23;
  --ink-deep: #0a0b0d;
  --fg: #eeebe4;
  --fg-strong: #f4f1ea;
  --fg-2: #b3aea3;
  --fg-3: #8c877d;
  --fg-4: #6a665d;
  --fg-soft: #dad6cc;
  --paper: #f3efe6;
  --paper-3: #e1dccf;
  --ink-text: #17181b;
  --ink-text-2: #5b5850;
  --ink-text-3: #4a4740;
  --amber: #e9b44c;
  --amber-hover: #f3c76a;
  --amber-ink: #1a1407;
  --amber-dark: #8a5a00;
  --amber-12: rgba(233, 180, 76, 0.12);
  --line: rgba(255, 255, 255, 0.08);
  --line-2: rgba(255, 255, 255, 0.12);
  --line-3: rgba(255, 255, 255, 0.15);
  --serif: 'Literata', Georgia, 'Times New Roman', serif;
  --sans: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}
@media (min-width: 1024px) {
  html {
    scroll-padding-top: 140px;
  }
}
body {
  margin: 0;
  min-height: 100vh;
  background: var(--ink-0);
  color: var(--fg);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
body.menu-open {
  overflow: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
h1,
h2,
h3,
p,
figure,
blockquote,
ul {
  margin: 0;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}
::selection {
  background: rgba(233, 180, 76, 0.35);
  color: #fff;
}
:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
  border-radius: 6px;
}
[hidden] {
  display: none !important;
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

.container {
  width: 100%;
  max-width: 1280px;
  margin-inline: auto;
  padding-inline: 24px;
}
@media (max-width: 480px) {
  .container {
    padding-inline: 16px;
  }
}
.sr-only,
.skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip:focus {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--amber);
  color: var(--amber-ink);
  font-weight: 600;
}
.amber {
  color: var(--amber);
}

/* ── Типографија ── */
.eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--amber);
}
.section-title {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.1;
  color: var(--fg-strong);
  font-size: clamp(28px, 3.2vw, 40px);
}
.page-title {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
  font-size: clamp(34px, 4vw, 52px);
}
.lead {
  max-width: 640px;
  font-size: 17px;
  line-height: 1.65;
  color: var(--fg-2);
}

/* ── Копчиња ── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 50px;
  padding-inline: 22px;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn:active {
  transform: translateY(1px);
}
.btn-lg {
  height: 56px;
  padding-inline: 28px;
  border-radius: 14px;
  font-size: 14px;
}
.btn-amber {
  background: var(--amber);
  color: var(--amber-ink);
}
.btn-amber:hover {
  background: var(--amber-hover);
}
.btn-ghost {
  border: 1px solid rgba(238, 235, 228, 0.22);
  color: var(--fg-soft);
}
.btn-ghost:hover {
  border-color: rgba(238, 235, 228, 0.5);
  color: var(--fg);
}
.btn-ink {
  background: var(--ink-text);
  color: var(--paper);
}
.btn-ink:hover {
  background: #000;
}
.btn-icon {
  width: 50px;
  padding: 0;
}
.btn-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.surface {
  background: var(--ink-1);
  border: 1px solid rgba(238, 235, 228, 0.08);
}
.lift {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.75);
  border-color: rgba(233, 180, 76, 0.3);
}

/* ── Заглавие ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  border-bottom: 1px solid var(--line);
  background: rgba(13, 14, 17, 0.86);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.header-top {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-block: 14px;
}
.logo {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 12px;
}
.logo-mark {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: var(--amber);
  color: var(--ink-text);
}
.logo-mark.sm {
  width: 34px;
  height: 34px;
  border-radius: 10px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-name {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--fg);
}
.logo-name em {
  font-weight: 500;
  color: var(--amber);
}
.logo.compact .logo-name {
  font-size: 16.5px;
}
.logo-tagline {
  display: none;
  margin-top: 5px;
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
@media (min-width: 640px) {
  .logo-tagline {
    display: block;
  }
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}
.lang-pill {
  display: inline-flex;
  padding: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #17191e;
}
.lang-pill a {
  display: inline-flex;
  align-items: center;
  height: 34px;
  padding-inline: 12px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--fg-2);
}
.lang-pill a:hover {
  color: var(--fg);
}
.lang-pill a[aria-current='true'] {
  background: var(--fg);
  color: var(--ink-text);
  font-weight: 700;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line-3);
  border-radius: 12px;
  color: var(--fg);
}
.header-nav {
  display: none;
  align-items: center;
  gap: 24px;
}
@media (min-width: 1024px) {
  .header-nav {
    display: flex;
  }
  .menu-toggle {
    display: none;
  }
}
.main-nav {
  display: flex;
  flex: 1;
  align-items: center;
  gap: 30px;
  min-width: 0;
  height: 46px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  height: 46px;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease;
}
.main-nav a:hover {
  color: var(--amber);
}
.main-nav a[aria-current='page'] {
  border-color: var(--amber);
  color: var(--amber);
}
.ext-link {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--fg-2);
}
.ext-link:hover {
  color: var(--amber);
}

/* ── Мобилно мени ── */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: flex;
  flex-direction: column;
  background: var(--ink-0);
}
.mobile-menu-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding-inline: 16px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu-title {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 600;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  padding: 8px 16px;
}
.mobile-nav a {
  display: flex;
  align-items: center;
  min-height: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
  font-family: var(--serif);
  font-size: 22px;
}
.mobile-nav a:hover,
.mobile-nav a[aria-current='page'] {
  color: var(--amber);
}
.mobile-menu-foot {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: auto;
  padding: 20px 16px 28px;
  border-top: 1px solid var(--line);
}
.lang-wide {
  display: flex;
  gap: 8px;
}
.lang-wide a,
.menu-action {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 46px;
  border: 1px solid var(--line-3);
  border-radius: 12px;
  font-size: 14px;
  color: var(--fg-soft);
}
.lang-wide a[aria-current='true'] {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--ink-text);
  font-weight: 700;
}
.menu-actions {
  display: flex;
  gap: 8px;
}
.menu-action {
  font-size: 13.5px;
}
.menu-action.square {
  flex: 0 0 46px;
}

/* ── Hero ── */
.hero {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
  padding-top: 88px;
  padding-bottom: 96px;
}
.hero-copy {
  display: flex;
  flex: 1 1 520px;
  flex-direction: column;
  gap: 28px;
  min-width: 0;
}
.pill {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  gap: 10px;
  padding: 8px 14px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  font-size: 12.5px;
  color: var(--fg-2);
}
.dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--amber);
}
.hero h1 {
  font-family: var(--serif);
  font-size: clamp(38px, 5.2vw, 68px);
  font-weight: 500;
  line-height: 1.04;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}
.hero h1 em {
  font-weight: 400;
  color: var(--amber);
}
.hero-sub {
  max-width: 560px;
  font-size: 19px;
  line-height: 1.6;
  color: var(--fg-2);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 4px;
}
.trust {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 12px;
  padding: 0;
  list-style: none;
  font-size: 13.5px;
  color: var(--fg-2);
}
.trust li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-art {
  position: relative;
  flex: 1 1 420px;
  min-width: 0;
  height: 540px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 32px;
  background: var(--ink-1);
}
.hero-floor {
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: #101215;
}
.hero-cover {
  position: absolute;
}
.hero-cover.c1 {
  left: 32%;
  top: 62px;
  z-index: 2;
  width: 36%;
  filter: drop-shadow(0 44px 50px rgba(0, 0, 0, 0.7));
}
.hero-cover.c2 {
  left: 3%;
  top: 108px;
  width: 34%;
  transform: rotate(-9deg);
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.6));
}
.hero-cover.c3 {
  right: 3%;
  top: 120px;
  width: 33%;
  transform: rotate(8deg);
  filter: drop-shadow(0 34px 40px rgba(0, 0, 0, 0.6));
}
.hero-label {
  position: absolute;
  right: 24px;
  bottom: 28px;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 12px 16px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: rgba(30, 33, 39, 0.78);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero-label:hover {
  border-color: rgba(233, 180, 76, 0.5);
}
.hero-label small {
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.hero-label span {
  font-size: 13px;
  font-weight: 600;
}
@media (max-width: 767px) {
  .hero-inner {
    gap: 40px;
    padding-top: 48px;
    padding-bottom: 64px;
  }
  .hero-sub {
    font-size: 16.5px;
  }
  .hero-art {
    height: 420px;
  }
}

/* ── Корица (без слика) ── */
.cover {
  position: relative;
  display: flex;
  width: 100%;
  aspect-ratio: 2 / 3;
  overflow: hidden;
  border-radius: 3px 7px 7px 3px;
  background: #fff;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.04), 0 20px 30px -16px rgba(23, 24, 27, 0.5);
}
.cover-spine {
  width: 8%;
  border-right: 1px solid #e3dfd5;
  background: #eeebe4;
}
.cover-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 15% 11% 10%;
}
.cover-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18%;
  min-width: 16px;
  max-width: 34px;
  aspect-ratio: 1;
  border-radius: 25%;
  background: var(--ink-text);
  color: var(--amber);
}
.cover-mark svg {
  width: 62%;
  height: 62%;
}
.cover-title {
  font-family: var(--serif);
  font-size: clamp(13px, 1.4vw, 20px);
  font-weight: 600;
  line-height: 1.18;
  color: var(--ink-text);
}
.cover-rule {
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 0.6em;
  background: var(--amber);
}
.cover-brand {
  font-size: 6px;
  letter-spacing: 0.2em;
  color: var(--fg-3);
}

/* ── Секции ── */
.section {
  padding-top: 72px;
  padding-bottom: 40px;
}
.section.first {
  padding-top: 56px;
}
.section.last {
  padding-bottom: 96px;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}
.section-head > div {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.more-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
}
.more-link:hover {
  color: var(--amber);
}

.soon-card {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  overflow: hidden;
  padding: 44px;
  border-radius: 28px;
}
.soon-copy {
  display: flex;
  flex: 1 1 460px;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
}
.soon-copy p {
  max-width: 600px;
  font-size: 16.5px;
  line-height: 1.65;
  color: var(--fg-2);
}
.soon-shelf {
  display: flex;
  flex: 0 1 380px;
  align-items: flex-end;
  gap: 14px;
  min-width: 0;
}
.soon-shelf .cover {
  flex: 1;
  opacity: 0.9;
}
.soon-shelf .cover:nth-child(2) {
  transform: translateY(-14px);
}
.cover.blank .cover-body {
  justify-content: flex-end;
}
.cover.blank .cover-lines {
  display: flex;
  flex-direction: column;
  gap: 7px;
}
.cover.blank .cover-lines i {
  display: block;
  height: 7px;
  border-radius: 4px;
  background: #e6e1d6;
}
.cover.blank .cover-lines i:nth-child(2) {
  width: 70%;
}
.cover.blank .cover-lines i:nth-child(3) {
  width: 45%;
  background: var(--amber);
  opacity: 0.7;
}
@media (max-width: 767px) {
  .soon-card {
    padding: 28px;
  }
}

.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 14px;
}
@media (max-width: 420px) {
  .cat-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
.cat-card {
  display: flex;
  flex-direction: column;
  gap: 30px;
  padding: 20px;
  border-radius: 18px;
}
.letter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: var(--amber-12);
  font-family: var(--serif);
  font-size: 23px;
  font-style: italic;
  color: var(--amber);
}
.cat-card-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.cat-card-foot b {
  font-size: 15.5px;
  font-weight: 600;
  line-height: 1.3;
  overflow-wrap: anywhere;
}
.cat-card-foot span {
  color: var(--fg-3);
}

.cat-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 16px;
}
.cat-tile {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px 24px;
  border-radius: 20px;
}
.cat-tile .letter {
  width: 48px;
  height: 48px;
  font-size: 24px;
}
.cat-tile b {
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 500;
  color: var(--fg-strong);
}
.cat-tile:hover b {
  color: var(--amber);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--line);
}
.why-item {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 30px 28px;
  background: var(--ink-0);
}
.why-item h3 {
  font-size: 17px;
  font-weight: 600;
}
.why-item p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--fg-2);
}

.creator {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 56px;
}
.creator.top {
  align-items: flex-start;
}
.portrait {
  position: relative;
  display: flex;
  flex: 1 1 340px;
  align-items: center;
  justify-content: center;
  min-width: 0;
  max-width: 460px;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: radial-gradient(120% 90% at 30% 15%, #1d2026 0%, var(--ink-1) 55%, #0f1114 100%);
}
.portrait-mono {
  font-family: var(--serif);
  font-size: clamp(88px, 11vw, 140px);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.04em;
  color: var(--amber);
}
.portrait-mark {
  position: absolute;
  left: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-3);
}
@media (min-width: 1024px) {
  .creator.top .portrait {
    position: sticky;
    top: 150px;
  }
}
.creator-copy {
  display: flex;
  flex: 1 1 460px;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}
.creator-name {
  font-family: var(--serif);
  font-size: clamp(36px, 4.4vw, 52px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--fg-strong);
}
h1.creator-name {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.02;
}
.creator-role {
  font-size: 15px;
  font-weight: 500;
  color: var(--fg-soft);
}
.creator-bio {
  max-width: 600px;
  font-size: 17px;
  line-height: 1.7;
  color: var(--fg-2);
}
.creator.top .creator-bio {
  font-size: 19px;
  line-height: 1.65;
}

.nl-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.paper-card {
  display: flex;
  flex: 2 1 560px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
  padding: 44px;
  border-radius: 28px;
  background: var(--paper);
  color: var(--ink-text);
}
.paper-card .eyebrow {
  font-weight: 700;
  color: var(--amber-dark);
}
.paper-card h2 {
  font-family: var(--serif);
  font-size: clamp(28px, 3vw, 36px);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.01em;
}
.paper-card p {
  max-width: 520px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-text-3);
}
@media (max-width: 767px) {
  .paper-card {
    padding: 28px;
  }
}
.social-col {
  display: flex;
  flex: 1 1 320px;
  flex-direction: column;
  gap: 18px;
  min-width: 0;
}
.social-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  padding: 28px;
  border-radius: 24px;
}
.social-card small {
  display: block;
  font-size: 13px;
  color: var(--fg-3);
}
.social-card b {
  display: block;
  margin-top: 4px;
  font-size: 19px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

/* ── Форми ── */
.field {
  width: 100%;
  height: 48px;
  padding-inline: 14px;
  border: 1px solid rgba(23, 24, 27, 0.18);
  border-radius: 12px;
  background: #fff;
  color: var(--ink-text);
  font: inherit;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field:focus {
  border-color: rgba(23, 24, 27, 0.6);
  box-shadow: 0 0 0 4px rgba(23, 24, 27, 0.08);
}
textarea.field {
  height: auto;
  min-height: 150px;
  padding-block: 12px;
  resize: vertical;
}
.nl-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.nl-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.nl-row .field {
  flex: 1 1 260px;
  min-width: 0;
  height: 54px;
  padding-inline: 18px;
  border-radius: 14px;
}
.nl-row .btn {
  height: 54px;
  padding-inline: 26px;
  border-radius: 14px;
  font-size: 13.5px;
}
.check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--ink-text-2);
}
.check input {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: var(--ink-text);
}
.hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 32px;
  border-radius: 24px;
  background: var(--paper);
  color: var(--ink-text);
}
@media (max-width: 639px) {
  .contact-form {
    padding: 20px;
  }
}
.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-text-3);
}
.form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
.form-row label {
  flex: 1 1 220px;
}
.form-foot {
  display: flex;
  justify-content: flex-end;
}
.form-foot .btn {
  height: 52px;
  padding-inline: 28px;
  font-size: 13.5px;
}

/* ── Внатрешни страници ── */
.page {
  padding-top: 40px;
  padding-bottom: 96px;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--fg-3);
}
.crumbs a:hover {
  color: var(--amber);
}
.crumbs [aria-current='page'] {
  color: var(--fg-soft);
}
.page-head {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 18px 0 40px;
}
.empty {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  padding: 32px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 18px;
}
.empty h2 {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 500;
  color: var(--fg-strong);
}
.empty p {
  max-width: 600px;
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--fg-3);
}
.empty .btn-row {
  margin-top: 6px;
}
.empty .nl-form {
  width: 100%;
  max-width: 620px;
  margin-top: 6px;
}
.empty .check {
  color: var(--fg-3);
}
.empty .check input {
  accent-color: var(--amber);
}
.empty .field {
  border-color: rgba(238, 235, 228, 0.14);
  background: #17191e;
  color: var(--fg);
}
.empty .field:focus {
  border-color: rgba(233, 180, 76, 0.6);
  box-shadow: 0 0 0 4px rgba(233, 180, 76, 0.12);
}
.subhead {
  margin: 48px 0 18px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--fg-strong);
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.chips a {
  display: inline-flex;
  align-items: center;
  height: 38px;
  padding-inline: 15px;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  font-size: 13.5px;
  color: var(--fg-soft);
}
.chips a:hover {
  border-color: rgba(233, 180, 76, 0.5);
  color: var(--fg);
}

.contact-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
}
.contact-list {
  display: flex;
  flex: 1 1 340px;
  flex-direction: column;
  gap: 12px;
  min-width: 0;
}
.contact-list h2 {
  margin-bottom: 8px;
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 500;
  color: var(--fg-strong);
}
.contact-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  border-radius: 18px;
}
a.contact-row:hover {
  border-color: rgba(233, 180, 76, 0.3);
}
.contact-icon {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--amber-12);
  color: var(--amber);
}
.contact-row small {
  display: block;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.contact-row b {
  display: block;
  font-size: 16px;
  font-weight: 600;
  overflow-wrap: anywhere;
  font-variant-numeric: tabular-nums;
}
.contact-note {
  margin-top: 8px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--fg-3);
}
.contact-form-col {
  flex: 1.4 1 440px;
  min-width: 0;
}

.prose {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.8;
  color: #cfcac0;
}
.prose > * + * {
  margin-top: 1em;
}
.prose h2 {
  margin-top: 1.6em;
  font-family: var(--serif);
  font-size: 26px;
  font-weight: 500;
  line-height: 1.25;
  color: var(--fg-strong);
}
.prose ul {
  padding-left: 1.4em;
  list-style: disc;
}
.prose li + li {
  margin-top: 0.4em;
}
.prose a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.meta {
  font-size: 13px;
  color: var(--fg-3);
}

.notfound {
  display: flex;
  min-height: 60vh;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  padding-block: 96px;
}
.notfound .big {
  font-family: var(--serif);
  font-size: 96px;
  font-style: italic;
  line-height: 1;
  color: var(--amber);
}
.notfound h1 {
  font-family: var(--serif);
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 500;
  color: var(--fg-strong);
}
.notfound p {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.65;
  color: var(--fg-2);
}
.notfound p span {
  color: var(--fg-3);
}

/* ── Подножје ── */
.site-footer {
  border-top: 1px solid var(--line);
  background: var(--ink-deep);
}
.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 56px;
  padding-top: 72px;
  padding-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 40px;
}
.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 14px;
}
.footer-col.brand {
  gap: 18px;
}
.footer-col.brand p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--fg-3);
}
.footer-col h2 {
  margin-bottom: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--fg-4);
}
.footer-col a,
.footer-col .row {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--fg-2);
  overflow-wrap: anywhere;
}
.footer-col a:hover {
  color: var(--amber);
}
.footer-col .ic {
  flex-shrink: 0;
  color: var(--amber);
}
.lang-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
}
.lang-text a {
  color: var(--fg-3);
}
.lang-text a:hover {
  color: var(--fg);
}
.lang-text a[aria-current='true'] {
  color: var(--amber);
}
.lang-text span {
  color: #4a4740;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding-top: 28px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--fg-4);
}
.footer-bottom nav {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}
.footer-bottom nav a {
  color: var(--fg-3);
}
.footer-bottom nav a:hover {
  color: var(--amber);
}
.creator.top {
  margin-top: 32px;
}

/* ── Мали екрани: заглавието мора да собере лого + MK/EN + мени ── */
.logo {
  min-width: 0;
  flex-shrink: 1;
}
@media (max-width: 479px) {
  .header-top {
    gap: 10px;
  }
  .header-actions {
    gap: 8px;
  }
  .logo {
    gap: 10px;
  }
  .logo-mark {
    width: 34px;
    height: 34px;
    border-radius: 10px;
  }
  .logo-name {
    font-size: 16px;
    line-height: 1.15;
  }
  .lang-pill a {
    height: 32px;
    padding-inline: 10px;
  }
  .icon-btn {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 359px) {
  .logo-name {
    font-size: 14.5px;
  }
  .lang-pill a {
    padding-inline: 8px;
  }
}

/* ── Фотографија на креаторот ── */
.portrait.photo {
  aspect-ratio: 832 / 887;
  background: var(--ink-1);
}
.portrait.photo picture,
.portrait.photo img {
  display: block;
  width: 100%;
  height: 100%;
}
.portrait.photo img {
  object-fit: cover;
}
.creator-bio.long {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

/* ── Избор на јазик (13 јазици) ── */
.lang-menu {
  position: relative;
}
.lang-menu summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 42px;
  padding-inline: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: #17191e;
  color: var(--fg);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  list-style: none;
  cursor: pointer;
  user-select: none;
}
.lang-menu summary::-webkit-details-marker {
  display: none;
}
.lang-menu summary svg:first-child {
  color: var(--amber);
}
.lang-menu[open] summary {
  border-color: rgba(233, 180, 76, 0.5);
}
.lang-menu[open] summary svg:last-child {
  transform: rotate(180deg);
}
.lang-list {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 50;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2px;
  width: 340px;
  padding: 8px;
  border: 1px solid var(--line-2);
  border-radius: 16px;
  background: var(--ink-1);
  box-shadow: 0 24px 48px -16px rgba(0, 0, 0, 0.75);
}
.lang-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 10px;
  border-radius: 10px;
  font-size: 14px;
  color: var(--fg-soft);
}
.lang-list a b {
  flex: 0 0 24px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--fg-3);
}
.lang-list a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--fg);
}
.lang-list a[aria-current='true'] {
  background: var(--amber-12);
  color: var(--amber);
}
.lang-list a[aria-current='true'] b {
  color: var(--amber);
}
@media (max-width: 479px) {
  .lang-menu summary {
    height: 40px;
    padding-inline: 10px;
  }
  .lang-list {
    position: fixed;
    top: 70px;
    right: 16px;
    left: 16px;
    width: auto;
    max-height: calc(100vh - 90px);
    overflow-y: auto;
  }
}
.lang-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
}
.lang-grid a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 4px 6px;
  border: 1px solid var(--line-3);
  border-radius: 12px;
  font-size: 13.5px;
  text-align: center;
  color: var(--fg-soft);
}
.lang-grid a[aria-current='true'] {
  border-color: var(--fg);
  background: var(--fg);
  color: var(--ink-text);
  font-weight: 700;
}
.mobile-menu {
  overflow-y: auto;
}
.mobile-nav {
  overflow: visible;
}
.footer-col .lang-text {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
}
.main-nav {
  overflow-x: auto;
  scrollbar-width: none;
}
.main-nav::-webkit-scrollbar {
  display: none;
}
.main-nav a {
  flex-shrink: 0;
  white-space: nowrap;
}
.cover-title {
  overflow-wrap: anywhere;
  hyphens: auto;
}

/* Хинди и кинески: Литерата/Онест за латиница, Noto за останатите знаци */
html[lang='hi'] {
  --serif: 'Literata', 'Noto Serif Devanagari', Georgia, serif;
  --sans: 'Onest', 'Noto Sans Devanagari', system-ui, sans-serif;
}
html[lang|='zh'] {
  --serif: 'Literata', 'Noto Serif SC', 'Songti SC', serif;
  --sans: 'Onest', 'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
}
html[lang='hi'] em,
html[lang|='zh'] em,
html[lang='hi'] .portrait-mono,
html[lang|='zh'] .portrait-mono {
  font-style: normal;
}
html[lang='hi'] .hero h1,
html[lang|='zh'] .hero h1 {
  line-height: 1.25;
}

/* ── Книги (books.py) ── */
.book-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}
.book-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 18px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.book-card:hover {
  border-color: rgba(233, 180, 76, 0.3);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.75);
}
.book-art {
  display: block;
  padding: 28px 18% 22px;
  background: radial-gradient(120% 90% at 50% 0%, var(--ink-2) 0%, var(--ink-1) 70%);
}
.book-art img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 2 / 3;
  object-fit: cover;
  border-radius: 3px 7px 7px 3px;
  box-shadow: 0 20px 30px -16px rgba(0, 0, 0, 0.7);
  transition: transform 0.25s ease;
}
.book-art .cover {
  transition: transform 0.25s ease;
}
.book-card:hover .book-art img,
.book-card:hover .book-art .cover {
  transform: translateY(-4px);
}
.book-art .cover {
  container-type: inline-size;
}
.book-art .cover-title {
  font-size: 10.5cqi; /* по ширината на корицата, за долгите зборови да не се кршат */
  overflow-wrap: break-word;
  hyphens: auto;
}
.book-info {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 10px;
  padding: 18px 20px 20px;
  border-top: 1px solid var(--line);
}
.book-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.book-meta a:hover {
  color: var(--amber);
}
.book-title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.25;
  color: var(--fg-strong);
  overflow-wrap: anywhere;
}
.book-title a:hover {
  color: var(--amber);
}
.book-desc {
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--fg-2);
}
.book-buy {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 6px;
}
.book-price {
  font-size: 18px;
  font-weight: 700;
  color: var(--fg-strong);
}
.book-buy .btn {
  height: 42px;
  padding-inline: 16px;
  border-radius: 10px;
}
@media (max-width: 480px) {
  .book-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
  }
  .book-art {
    padding: 18px 14% 14px;
  }
  .book-info {
    padding: 14px;
  }
  .book-title {
    font-size: 16px;
  }
  .book-desc {
    display: none;
  }
  .book-buy .btn {
    width: 100%;
    justify-content: center;
  }
}
