/* =========================================================
   Разширена химия на ноктите — book site
   Warm editorial aesthetic · ivory / espresso / terracotta
   ========================================================= */

:root {
  --bg: #F6EFE4;
  --bg-soft: #EFE6D5;
  --bg-paper: #FBF6EC;
  --ink: #1B1410;
  --ink-soft: #4A3C34;
  --ink-muted: #8A7866;
  --line: rgba(27, 20, 16, 0.12);
  --line-soft: rgba(27, 20, 16, 0.07);
  --accent: #8A3A2A;
  --accent-hover: #6E2C1F;
  --accent-cool: #1F2D6E;
  --accent-cool-hover: #15205A;
  --accent-vivid: #B8345E;
  --accent-vivid-hover: #8E2548;
  --accent-cyan: #2BAFC9;
  --accent-cyan-hover: #1E8FA5;
  --ink-navy: #3A2D24;
  --bg-cyan: rgba(225, 240, 244, 0.82);
  --bg-magenta: rgba(247, 230, 235, 0.82);
  --bg-indigo: rgba(232, 230, 244, 0.82);
  --gold: #B8924A;
  --success: #3F6A3A;

  --serif-display: 'Playfair Display', 'Source Serif 4', Georgia, serif;
  --serif-body: 'Source Serif 4', 'Georgia', serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;

  --container: 1200px;
  --container-narrow: 820px;
  --radius: 4px;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--serif-body);
  color: var(--ink);
  background: var(--bg);
  position: relative;
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
/* Site-wide watermark — molecular banner fixed behind all content.
   --bg-image is overridable via JS (boot.php sets it from the media slot). */
:root { --bg-image: url('assets/background.jpg'); }
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: var(--bg-image) center top / cover no-repeat;
  opacity: 0.45;
  pointer-events: none;
  z-index: 0;
}
/* Subtle color wash that picks up the cover's magenta/cyan accents
   without overwhelming the warm editorial base. */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(60% 50% at 12% 8%, rgba(31, 45, 110, 0.18), transparent 70%),
    radial-gradient(55% 45% at 92% 92%, rgba(184, 52, 94, 0.12), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
body > * { position: relative; z-index: 1; }

img { max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
}
.container-narrow {
  max-width: var(--container-narrow);
  margin: 0 auto;
  padding: 0 32px;
}
.section { padding: 120px 0; position: relative; }
.section + .section {
  border-top: 0;
  background-image: linear-gradient(to right,
    transparent 0%,
    var(--accent-cool) 25%,
    var(--accent-vivid) 50%,
    var(--accent-cyan) 75%,
    transparent 100%);
  background-size: 220px 2px;
  background-repeat: no-repeat;
  background-position: center top;
}

/* ---------- Type ---------- */
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--accent-vivid);
  margin-bottom: 16px;
}
.kicker-dot {
  display: inline-block;
  width: 18px;
  height: 1px;
  background: var(--accent-vivid);
}

.section-header { margin-bottom: 56px; }
.section-header.align-center { text-align: center; }
.section-header.align-center .kicker { justify-content: center; display: inline-flex; }

.section-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-wrap: pretty;
  max-width: 22ch;
}
.section-header.align-center .section-title { margin: 0 auto; }

.body-text {
  font-family: var(--serif-body);
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 16px 0;
  text-wrap: pretty;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 600;
  margin-bottom: 20px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.01em;
  border: 1px solid transparent;
  transition: transform 120ms ease, background 160ms ease, border-color 160ms ease, color 160ms ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }
.btn-primary {
  background: var(--ink);
  color: var(--bg);
}
.btn-primary:hover { background: var(--accent-vivid); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--ink); background: var(--bg-soft); }
.btn-wide { width: 100%; justify-content: center; padding: 16px; }
.btn:disabled, .btn[disabled] { opacity: 0.55; cursor: wait; }
.server-error {
  background: rgba(176, 57, 42, 0.08);
  border: 1px solid rgba(176, 57, 42, 0.30);
  color: #6E2118;
  font-family: var(--sans);
  font-size: 13px;
  padding: 10px 12px;
  border-radius: var(--radius);
  margin: 16px 0 12px;
}

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(246, 239, 228, 0.88);
  border-bottom: 1px solid var(--line-soft);
}
.nav-inner {
  position: relative;
  max-width: var(--container);
  margin: 0 auto;
  padding: 18px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: var(--ink);
}
.nav-logo {
  display: block;
  height: 64px;
  width: auto;
}

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-family: var(--sans);
  font-size: 14px;
  color: var(--ink-soft);
  text-decoration: none;
  font-weight: 500;
}
.nav-links a:hover { color: var(--accent-vivid); }

.nav-right { display: flex; align-items: center; gap: 14px; }
.nav-order-short { display: none; }

/* Hamburger — hidden on desktop, shown on mobile via media query */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0 10px;
  cursor: pointer;
  transition: border-color 150ms ease, background 150ms ease;
}
.nav-hamburger:hover { border-color: var(--ink); background: rgba(27, 20, 16, 0.04); }
.hamburger-line {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  transition: transform 220ms ease, opacity 150ms ease;
  transform-origin: center;
}
.nav-hamburger.open .hamburger-line:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open .hamburger-line:nth-child(2) { opacity: 0; }
.nav-hamburger.open .hamburger-line:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Floating language switch — always visible on right edge */
.lang-switch {
  position: fixed;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--line);
  border-right: 0;
  border-radius: 22px 0 0 22px;
  overflow: hidden;
  background: var(--bg-paper);
  box-shadow: -3px 4px 14px rgba(27, 20, 16, 0.10);
  z-index: 60;
}
.lang-switch button {
  padding: 10px 14px;
  background: transparent;
  border: 0;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink-muted);
  cursor: pointer;
  min-width: 44px;
  transition: background 160ms ease, color 160ms ease;
}
.lang-switch button:hover { color: var(--ink); }
.lang-switch button.active {
  background: var(--ink);
  color: var(--bg);
}

/* ---------- Hero common ---------- */
.hero {
  position: relative;
  overflow: hidden;
  padding: 80px 0 120px;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(55% 70% at 88% 8%, rgba(184, 52, 94, 0.22), transparent 70%),
    radial-gradient(50% 70% at 8% 95%, rgba(31, 45, 110, 0.20), transparent 70%),
    radial-gradient(40% 60% at 50% 50%, rgba(185, 146, 74, 0.10), transparent 75%);
  pointer-events: none;
}

.cover-wrap {
  position: relative;
  transform-style: preserve-3d;
  transition: transform 400ms ease;
}
.cover-spine {
  position: absolute;
  top: 0; bottom: 0; left: 0;
  width: 14px;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.32) 35%,
    rgba(0,0,0,0.12) 75%,
    rgba(0,0,0,0) 100%
  );
  border-top-left-radius: 2px;
  border-bottom-left-radius: 2px;
  pointer-events: none;
  z-index: 2;
}
/* Page block visible on the right edge — softcover paper stack */
.cover-pages {
  position: absolute;
  top: 1.4%;
  bottom: 1.4%;
  right: -5px;
  width: 5px;
  background:
    repeating-linear-gradient(
      to bottom,
      #fbf6ec 0px,
      #fbf6ec 1px,
      #d4c8ae 1px,
      #d4c8ae 2px
    ),
    linear-gradient(to right, #efe6d5, #b8a682);
  background-blend-mode: multiply;
  border-top-right-radius: 1px;
  border-bottom-right-radius: 1px;
  box-shadow:
    1px 0 1px rgba(0,0,0,0.18),
    inset 0 0 1px rgba(0,0,0,0.25);
  pointer-events: none;
  z-index: 1;
}
/* Diagonal gloss highlight to catch the light */
.cover-gloss {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    118deg,
    rgba(255, 250, 240, 0.16) 0%,
    rgba(255, 250, 240, 0.04) 18%,
    transparent 38%
  );
  border-radius: 2px 3px 3px 2px;
  pointer-events: none;
  z-index: 3;
  mix-blend-mode: screen;
}

/* Hero A — split editorial */
.hero-a-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 80px;
  align-items: center;
}
.hero-a-text { max-width: 560px; }
.hero-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(44px, 6vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  text-wrap: balance;
}
.hero-subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 28px 0;
  max-width: 30ch;
}
.hero-tagline {
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  border-left: 2px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 36px 0;
  max-width: 40ch;
}

.author-line {
  display: flex; align-items: center; gap: 14px;
  margin-bottom: 36px;
}
.author-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--accent-cool);
  color: var(--bg);
  display: grid; place-items: center;
  font-family: var(--serif-display); font-size: 14px;
  letter-spacing: 0.02em;
  overflow: hidden;
  border: 1px solid var(--line);
}
.author-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.author-name { font-family: var(--sans); font-size: 14px; font-weight: 600; }
.author-sub { font-family: var(--sans); font-size: 12px; color: var(--ink-muted); margin-top: 2px; }

.hero-buy {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.price-block { display: flex; flex-direction: column; }
.price {
  font-family: var(--serif-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1;
}
.price-note { font-family: var(--sans); font-size: 12px; color: var(--ink-muted); margin-top: 6px; }
.ctas { display: flex; gap: 12px; flex-wrap: wrap; }
.ctas.compact .btn { padding: 12px 18px; font-size: 13px; }

.hero-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-meta .dot { opacity: 0.4; }

.hero-a-cover { position: relative; display: grid; place-items: center; }
.cover-stage { position: relative; }
.cover-backplate {
  position: absolute;
  top: 8%; left: 8%;
  right: -4%; bottom: -6%;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 2px;
  z-index: -1;
}

.featured-badge {
  position: absolute;
  bottom: -24px;
  right: -24px;
  background: linear-gradient(135deg, var(--accent-vivid), var(--accent-cool));
  color: var(--bg);
  padding: 12px 16px;
  border-radius: 999px;
  font-family: var(--sans);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 30px rgba(184, 52, 94, 0.35);
}

/* Hero B — big centered cover */
.hero-b {
  text-align: center;
  padding: 100px 32px 120px;
}
.hero-b-eyebrow {
  font-family: var(--sans);
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 24px;
}
.hero-b-title {
  font-family: var(--serif-display);
  font-size: clamp(56px, 9vw, 140px);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0 0 40px 0;
}
.hero-b-title .line-1, .hero-b-title .line-2 { display: block; }
.hero-b-title .line-2 { font-style: italic; color: var(--accent-vivid); }

.hero-b-center {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 56px;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto 40px;
}
.hero-b-side { text-align: left; max-width: 220px; }
.hero-b-side.hero-b-right { text-align: right; margin-left: auto; }
.side-label { font-family: var(--serif-display); font-size: 24px; font-weight: 500; }
.side-sub { font-family: var(--sans); font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.side-divider { width: 32px; height: 1px; background: var(--line); margin: 16px 0; }
.hero-b-right .side-divider { margin-left: auto; }
.side-tagline { font-family: var(--serif-body); font-style: italic; font-size: 14px; color: var(--ink-soft); line-height: 1.5; margin: 0; }
.side-meta { font-family: var(--sans); font-size: 12px; color: var(--ink-soft); display: flex; flex-direction: column; gap: 4px; }

.hero-b-cover { display: grid; place-items: center; }
.hero-b-subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: clamp(18px, 2vw, 22px);
  color: var(--ink-soft);
  max-width: 640px;
  margin: 0 auto 32px;
  text-wrap: balance;
}
.hero-b-ctas { display: flex; justify-content: center; }

/* Hero C — magazine grid */
.hero-c { padding: 60px 0 100px; }
.hero-c-grid {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: grid;
  grid-template-columns: 200px 1fr 380px;
  gap: 64px;
  align-items: start;
}
.hero-c-rail {
  padding-top: 40px;
  border-right: 1px solid var(--line);
  padding-right: 24px;
}
.rail-num {
  font-family: var(--serif-display);
  font-size: 80px;
  line-height: 1;
  color: var(--accent-cool);
  letter-spacing: -0.03em;
}
.rail-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-top: 8px;
}
.rail-divider { height: 1px; background: var(--line); margin: 32px 0; }
.rail-spec { margin-bottom: 20px; }
.rail-spec .spec-k {
  font-family: var(--sans);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 4px;
}
.rail-spec .spec-v {
  font-family: var(--serif-display);
  font-size: 18px;
  color: var(--ink);
}

.hero-c-main { padding-top: 40px; }
.hero-c-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(48px, 5.5vw, 80px);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  text-wrap: balance;
}
.hero-c-subtitle {
  font-family: var(--serif-body);
  font-style: italic;
  font-size: 22px;
  line-height: 1.4;
  color: var(--ink-soft);
  margin: 0 0 32px 0;
  max-width: 28ch;
}
.hero-c-rule {
  width: 60px;
  height: 2px;
  background: linear-gradient(to right, var(--accent-cool), var(--accent-vivid));
  margin: 32px 0;
}
.hero-c-tagline {
  font-family: var(--serif-body);
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 36px 0;
  max-width: 36ch;
}

.hero-c-cover { display: grid; place-items: center; padding-top: 40px; }
.cover-caption {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* ---------- About ---------- */
.section-about { background: var(--bg-indigo); }
.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 80px;
  margin-bottom: 80px;
  align-items: start;
}
.about-intro .body-text { font-size: 18px; line-height: 1.7; max-width: 52ch; }
.about-stats {
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-cool);
  border-radius: var(--radius);
  padding: 32px;
}
.stats-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 20px;
}
.stat-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.stat-row:last-child { border-bottom: 0; }
.stat-n {
  font-family: var(--serif-display);
  font-size: 32px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.stat-l {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}

.pillars {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.pillar {
  background: var(--bg-paper);
  padding: 32px 28px;
  min-height: 220px;
  border-top: 3px solid var(--accent-cool);
}
.pillar:nth-child(2) { border-top-color: var(--accent-vivid); }
.pillar:nth-child(3) { border-top-color: var(--accent-cyan); }
.pillar:nth-child(4) { border-top-color: var(--gold); }
.pillar-num {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--accent-cool);
  font-weight: 600;
  margin-bottom: 24px;
}
.pillar-title {
  font-family: var(--serif-display);
  font-size: 22px;
  font-weight: 500;
  margin: 0 0 12px 0;
}
.pillar-body {
  font-family: var(--serif-body);
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-soft);
  margin: 0;
}

/* ---------- Author ---------- */
.section-author { background: var(--bg-cyan); }
.author-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 72px;
  align-items: start;
}
.portrait-frame {
  aspect-ratio: 1 / 1;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-top: 3px solid var(--accent-cyan);
  border-radius: var(--radius);
  padding: 12px;
  position: sticky;
  top: 100px;
  box-shadow:
    0 18px 36px rgba(15, 26, 58, 0.12),
    0 4px 8px rgba(15, 26, 58, 0.06);
}
.portrait-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 2px;
  filter: saturate(0.95) contrast(1.02);
}
.author-heading {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(36px, 4.5vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 8px 0;
}
.author-role {
  font-family: var(--sans);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-cool);
  margin-bottom: 28px;
}

.credentials {
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}
.credentials-label {
  font-family: var(--sans);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-muted);
  margin-bottom: 16px;
}
.credentials ul {
  list-style: none; padding: 0; margin: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
}
.credentials li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--serif-body);
  font-size: 14.5px;
  color: var(--ink-soft);
}
.credentials li svg { color: var(--accent-cool); flex-shrink: 0; }

/* ---------- FAQ ---------- */
.section-faq { background: var(--bg-magenta); }
.faq-list { margin-top: 24px; }
.faq-item {
  border-bottom: 1px solid var(--line);
}
.faq-item:first-child { border-top: 1px solid var(--line); }
.faq-q {
  width: 100%;
  background: transparent;
  border: 0;
  padding: 24px 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  text-align: left;
  font-family: var(--serif-display);
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
}
.faq-q:hover { color: var(--accent-vivid); }
.faq-icon {
  width: 32px; height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink-soft);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { background: var(--accent-cyan); color: var(--bg); border-color: var(--accent-cyan); }
.faq-a-wrap {
  overflow: hidden;
  transition: max-height 300ms ease;
}
.faq-a {
  padding: 0 8px 24px 8px;
  font-family: var(--serif-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink-soft);
  margin: 0;
  max-width: 65ch;
}

/* ---------- Newsletter ---------- */
.section-newsletter { background: rgba(239, 230, 213, 0.72); }
.newsletter-card {
  background:
    radial-gradient(60% 80% at 90% 10%, rgba(184, 52, 94, 0.35), transparent 60%),
    radial-gradient(50% 70% at 8% 95%, rgba(43, 175, 201, 0.25), transparent 60%),
    var(--ink-navy);
  color: var(--bg);
  padding: 56px;
  border-radius: var(--radius);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 40px;
  align-items: end;
  position: relative;
  overflow: hidden;
}
.newsletter-card .kicker { color: var(--accent-cyan); }
.newsletter-card .kicker-dot { background: var(--accent-cyan); }
.newsletter-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 12px 0;
  color: var(--bg);
  max-width: 18ch;
}
.newsletter-body {
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.55;
  color: rgba(246, 239, 228, 0.7);
  margin: 0;
  max-width: 40ch;
}
.section.section-contact {
  background:
    radial-gradient(40% 70% at 92% 12%, rgba(184, 52, 94, 0.28), transparent 65%),
    radial-gradient(35% 60% at 6% 92%, rgba(43, 175, 201, 0.22), transparent 65%),
    var(--ink-navy);
  color: var(--bg);
  position: relative;
  overflow: hidden;
}
.contact-card {
  text-align: center;
  padding: 0;
}
.section-contact .kicker { color: var(--accent-cyan); }
.section-contact .kicker-dot { background: var(--accent-cyan); }
.contact-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 24px 0;
  color: var(--bg);
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-family: var(--serif-body);
  font-size: 16px;
}
.contact-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  color: rgba(246, 239, 228, 0.85);
}
.contact-list .contact-label {
  color: rgba(246, 239, 228, 0.5);
  min-width: 70px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.contact-list a {
  color: var(--bg);
  text-decoration: none;
  border-bottom: 1px solid rgba(246, 239, 228, 0.25);
  transition: border-color .2s;
}
.contact-list a:hover {
  border-bottom-color: var(--accent-cyan);
}
.newsletter-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.newsletter-form input {
  background: transparent;
  border: 1px solid rgba(246, 239, 228, 0.25);
  color: var(--bg);
  padding: 14px 18px;
  font-family: var(--sans);
  font-size: 14px;
  border-radius: var(--radius);
  min-width: 260px;
  outline: none;
}
.newsletter-form input::placeholder { color: rgba(246, 239, 228, 0.4); }
.newsletter-form input:focus { border-color: var(--accent-cyan); }
.newsletter-form .btn-primary {
  background: var(--accent-vivid);
  color: var(--bg);
}
.newsletter-form .btn-primary:hover { background: var(--accent-vivid-hover); }
.subscribed {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--accent-cyan);
  font-family: var(--sans);
  font-size: 14px;
}

/* ---------- Footer ---------- */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--line-soft);
  background: rgba(246, 239, 228, 0.72);
}
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}
.footer-col { display: flex; flex-direction: column; gap: 14px; }
.footer-payments {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.payment-marks {
  display: flex;
  align-items: center;
  gap: 8px;
}
.card-mark {
  display: block;
  border: 1px solid var(--line);
  border-radius: 4px;
  background: #fff;
  box-shadow: 0 1px 2px rgba(27, 20, 16, 0.06);
}
.payment-label {
  font-family: var(--sans);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.02em;
}
.footer-groups {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
  align-items: flex-start;
}
.footer-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 140px;
}
.footer-group-title {
  font-family: var(--sans);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink);
  margin-bottom: 4px;
}
.footer-link-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink-muted);
  cursor: pointer;
  text-decoration: none;
  text-align: left;
}
.footer-link-btn:hover { color: var(--ink); }

/* ---------- Privacy modal ---------- */
.modal-privacy { max-width: 820px; }
.privacy-content {
  padding: 56px 56px 64px;
}
.privacy-content .kicker { margin-bottom: 12px; }
.privacy-content .modal-title {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: clamp(28px, 3.4vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}
.privacy-updated {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}
.privacy-intro {
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 14px;
}
.privacy-section {
  margin-top: 36px;
  padding-top: 28px;
  border-top: 1px solid var(--line-soft);
}
.privacy-heading {
  font-family: var(--serif-display);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  margin: 0 0 16px;
  color: var(--ink);
}
.privacy-sub {
  font-family: var(--sans);
  font-weight: 600;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent-cool);
  margin: 18px 0 8px;
}
.privacy-p {
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.65;
  color: var(--ink-soft);
  margin: 0 0 12px;
}
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0 0 14px;
  font-family: var(--serif-body);
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
}
.privacy-list li {
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
}
.privacy-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 6px;
  height: 1px;
  background: var(--accent-cool);
}

/* ---------- Cookie banner ---------- */
.cookie-banner {
  position: fixed;
  bottom: 20px;
  left: 20px;
  right: 20px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 40px rgba(27, 20, 16, 0.18), 0 4px 10px rgba(27, 20, 16, 0.10);
  padding: 18px 22px;
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  z-index: 90;
  animation: cookieIn 320ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes cookieIn {
  from { transform: translateY(12px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.cookie-text {
  flex: 1 1 320px;
  margin: 0;
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.55;
  color: var(--ink-soft);
}
.cookie-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--accent-vivid);
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}
.cookie-link:hover { color: var(--accent-vivid-hover); }
.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}
.btn.btn-sm {
  padding: 9px 16px;
  font-size: 12px;
  letter-spacing: 0.04em;
}
@media (max-width: 540px) {
  .cookie-banner { padding: 16px; }
  .cookie-actions { width: 100%; justify-content: flex-end; }
  .privacy-content { padding: 48px 28px 56px; }
}

/* ---------- Modal & Order ---------- */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(27, 20, 16, 0.65);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  backdrop-filter: blur(4px);
  animation: fadeIn 200ms ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: var(--bg);
  width: 100%;
  max-width: 980px;
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  animation: slideUp 280ms cubic-bezier(0.2, 0.7, 0.3, 1);
}
@keyframes slideUp { from { transform: translateY(24px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid; place-items: center;
  z-index: 2;
  color: var(--ink);
}
.modal-close:hover { background: var(--ink); color: var(--bg); }

.order-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
}
.order-main {
  padding: 48px 48px 48px 48px;
}
.order-summary {
  background: var(--bg-soft);
  padding: 48px 40px;
  border-left: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.modal-title {
  font-family: var(--serif-display);
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin: 0 0 12px 0;
}
.modal-body {
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--ink-soft);
  line-height: 1.55;
  margin: 0 0 32px 0;
  max-width: 50ch;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 28px;
}
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field-label {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
}
.field-err { font-style: italic; color: var(--accent); text-transform: none; letter-spacing: 0; font-weight: 500; }
.field input, .field textarea, .field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg-paper);
  border-radius: var(--radius);
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 140ms ease;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%231B1410' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><path d='M6 9l6 6 6-6'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
  cursor: pointer;
}
.field select:disabled {
  opacity: 0.55;
  cursor: not-allowed;
  background-color: var(--bg-soft);
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--accent-cyan); box-shadow: 0 0 0 3px rgba(43, 175, 201, 0.12); }
.field.has-err input, .field.has-err textarea, .field.has-err select { border-color: var(--accent); }
.form-row-3 {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.speedy-grid { margin-top: -4px; }

.choice-group {
  border: 0;
  padding: 0;
  margin: 0 0 24px 0;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.choice-group legend {
  font-family: var(--sans);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-muted);
  font-weight: 600;
  margin-bottom: 10px;
  width: 100%;
}
.choice {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg-paper);
  font-family: var(--serif-body);
  font-size: 14px;
  color: var(--ink);
  cursor: pointer;
  flex: 1;
  min-width: 160px;
  transition: border-color 140ms, background 140ms;
}
.choice input { accent-color: var(--ink); }
.choice.active { border-color: var(--accent-cool); background: var(--bg-indigo); }
.choice.static { cursor: default; flex: 0 1 auto; min-width: 0; gap: 8px; color: var(--accent-cool); }

/* Searchable combobox (Speedy city) */
.combo {
  position: relative;
  width: 100%;
}
.combo-input {
  width: 100%;
  padding: 12px 36px 12px 14px;
  border: 1px solid var(--line);
  background: var(--bg-paper);
  border-radius: var(--radius);
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 140ms ease, box-shadow 140ms ease;
}
.combo-input:focus {
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 3px rgba(43, 175, 201, 0.12);
}
.combo-caret {
  position: absolute;
  top: 50%;
  right: 14px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  color: var(--ink-soft);
  pointer-events: none;
  transition: transform 160ms ease;
}
.combo.open .combo-caret { transform: translateY(-50%) rotate(180deg); }
.combo-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 10;
  margin: 0;
  padding: 6px 0;
  list-style: none;
  background: var(--bg-paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 36px rgba(15, 26, 58, 0.18), 0 4px 10px rgba(15, 26, 58, 0.08);
  max-height: 280px;
  overflow-y: auto;
}
.combo-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 14px;
  cursor: pointer;
  font-family: var(--serif-body);
  font-size: 15px;
  color: var(--ink);
  transition: background 100ms ease;
}
.combo-item.active { background: var(--bg-indigo); }
.combo-item.selected { color: var(--accent-cool); font-weight: 600; }
.combo-item-meta {
  font-family: var(--mono);
  font-size: 12px;
  color: var(--ink-muted);
  letter-spacing: 0.04em;
}
.combo-empty {
  padding: 14px;
  text-align: center;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-muted);
}
.field.has-err .combo-input { border-color: var(--accent); }

.ship-loading {
  display: inline-block;
  font-family: var(--mono);
  color: var(--accent-cyan);
  letter-spacing: 0.2em;
  animation: ship-pulse 1.1s ease-in-out infinite;
}
@keyframes ship-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 1; }
}

.card-grid { grid-template-columns: 2fr 1fr 1fr; }

/* Summary */
.summary-head { display: flex; gap: 14px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.summary-thumb {
  width: 56px; height: auto;
  border-radius: 2px;
  box-shadow: 0 6px 18px rgba(27, 20, 16, 0.25);
}
.summary-name { font-family: var(--serif-display); font-size: 17px; font-weight: 500; line-height: 1.2; }
.summary-format { font-family: var(--sans); font-size: 12px; color: var(--ink-muted); margin-top: 4px; }
.qty-row { display: flex; align-items: center; justify-content: space-between; font-family: var(--sans); font-size: 13px; padding: 8px 0; }
.qty-control { display: flex; align-items: center; gap: 14px; }
.qty-control button {
  width: 28px; height: 28px;
  border: 1px solid var(--line);
  background: var(--bg-paper);
  border-radius: 50%;
  display: grid; place-items: center;
  color: var(--ink);
}
.qty-control button:hover { border-color: var(--ink); }
.summary-line {
  display: flex;
  justify-content: space-between;
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-soft);
  padding: 6px 0;
}
.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 16px 0;
  border-top: 1px solid var(--line);
  margin-top: 8px;
  font-family: var(--serif-display);
  font-size: 24px;
  font-weight: 500;
}
.summary-note {
  margin-top: 10px;
  font-family: var(--sans);
  font-size: 11px;
  color: var(--ink-muted);
  display: flex; align-items: center; gap: 6px;
}
.summary-legal {
  margin-top: 12px;
  font-family: var(--sans);
  font-size: 11px;
  line-height: 1.5;
  color: var(--ink-muted);
}
.legal-link {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  color: var(--ink);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.legal-link:hover { color: var(--accent, var(--ink)); }

.order-success {
  padding: 72px 48px;
  text-align: center;
}
.order-success .modal-body { margin-left: auto; margin-right: auto; }
.order-success .modal-title { margin-left: auto; margin-right: auto; }
.success-check {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent-vivid), var(--accent-cool));
  color: var(--bg);
  margin: 0 auto 28px;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(184, 52, 94, 0.3);
}
.order-no {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin: 24px 0 32px;
  font-family: var(--sans);
  font-size: 13px;
}
.order-no strong { font-family: var(--mono); font-size: 14px; letter-spacing: 0.04em; color: var(--ink); }

/* ---------- Tweaks panel ---------- */
.tweaks-panel {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 80;
  background: var(--ink);
  color: var(--bg);
  border-radius: 10px;
  padding: 18px 20px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.35);
  font-family: var(--sans);
  min-width: 240px;
}
.tweaks-title {
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  font-weight: 600;
}
.tweaks-row {
  display: flex;
  gap: 6px;
  background: rgba(246,239,228,0.08);
  padding: 4px;
  border-radius: 6px;
}
.tweaks-row button {
  flex: 1;
  padding: 8px 12px;
  background: transparent;
  border: 0;
  border-radius: 4px;
  color: rgba(246, 239, 228, 0.6);
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.04em;
}
.tweaks-row button.active {
  background: var(--bg);
  color: var(--ink);
}
.tweaks-hint {
  font-size: 11px;
  color: rgba(246, 239, 228, 0.5);
  margin-top: 8px;
  line-height: 1.4;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .section { padding: 80px 0; }
  .hero-a-inner { grid-template-columns: 1fr; gap: 56px; }
  .hero-c-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-c-rail { border-right: 0; border-bottom: 1px solid var(--line); padding-bottom: 32px; padding-right: 0; }
  .hero-b-center { grid-template-columns: 1fr; gap: 32px; }
  .hero-b-side { max-width: none; text-align: center !important; }
  .hero-b-right .side-divider, .hero-b-side .side-divider { margin: 16px auto; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .pillars { grid-template-columns: repeat(2, 1fr); }
  .author-grid { grid-template-columns: 1fr; gap: 40px; }
  .portrait-frame { position: static; max-width: 360px; }
  .order-grid { grid-template-columns: 1fr; }
  .order-summary { border-left: 0; border-top: 1px solid var(--line); }
  .newsletter-card { grid-template-columns: 1fr; padding: 40px; }
  .credentials ul { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .section { padding: 64px 0; }
  .container, .container-narrow { padding: 0 20px; }
  .nav-inner { padding: 10px 16px; gap: 10px; }
  .nav-logo { height: 56px; }
  /* Mobile hamburger visible */
  .nav-hamburger { display: inline-flex; }
  /* Mobile nav-links: slide-down panel inside the nav */
  .nav-links {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(246, 239, 228, 0.98);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--line-soft);
    padding: 4px 16px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
    transition: max-height 280ms ease, opacity 200ms ease, padding 200ms ease;
    box-shadow: 0 8px 16px rgba(27, 20, 16, 0.06);
  }
  .nav-links.open {
    max-height: 360px;
    opacity: 1;
    pointer-events: auto;
    padding: 8px 16px 16px;
  }
  .nav-links a {
    padding: 14px 4px;
    font-size: 16px;
    border-bottom: 1px solid var(--line-soft);
  }
  .nav-links a:last-child { border-bottom: 0; }
  /* Mobile: small horizontal pill tucked below the nav, top-right */
  .lang-switch {
    top: 82px;
    right: 12px;
    bottom: auto;
    left: auto;
    transform: none;
    flex-direction: row;
    border: 1px solid var(--line);
    border-radius: 999px;
    box-shadow: 0 4px 10px rgba(27, 20, 16, 0.12);
  }
  .lang-switch button { padding: 6px 11px; min-width: 36px; font-size: 10.5px; }
  /* Mobile order button: text only, no cart icon */
  .nav-order-btn svg { display: none; }
  .nav-order-full { display: none; }
  .nav-order-short { display: inline; }
  .nav-order-btn { padding: 12px 18px; }
  .hero { padding: 40px 0 60px; }
  .hero-a-inner { padding: 0 20px; }
  .pillars { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr 1fr; gap: 10px; }
  .card-grid { grid-template-columns: 1fr 1fr 1fr; }
  .order-main { padding: 32px 24px; }
  .order-summary { padding: 32px 24px; }
  .featured-badge { right: 0; bottom: -16px; font-size: 10px; padding: 10px 14px; }
  .newsletter-form { flex-direction: column; align-items: stretch; }
  .newsletter-form input { min-width: 0; }
  .hero-b-title { font-size: 56px; }
  .tweaks-panel { right: 12px; bottom: 12px; left: 12px; }
  /* Footer: stack column + links */
  .footer-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 420px) {
  .nav-logo { height: 48px; }
  .lang-switch { top: 74px; }
}
