@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Playfair Display";
  src: url("../fonts/PlayfairDisplay-Black.ttf") format("truetype");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f9f8f3;
  --bg-soft: #f3f0e8;
  --bg-nav-active: #efebe3;
  --text: #1a1a1a;
  --text-muted: #5c5c5c;
  --accent: #d95d2b;
  --accent-dark: #b84a1f;
  --border: #e6e1d6;
  --white: #ffffff;
  --cat-world: #c0392b;
  --cat-business: #8b5e3c;
  --cat-tech: #2f6fed;
  --cat-culture: #2d6a4f;
  --cat-climate: #1d4e89;
  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 10px 30px rgba(26, 26, 26, 0.08);
  --font-sans: "Inter", Helvetica, sans-serif;
  --font-serif: "Playfair Display", Georgia, serif;
  --container: 1180px;
  --header-h: 148px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

body.nav-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(249, 248, 243, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.site-header.is-scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 4px 18px rgba(26, 26, 26, 0.04);
}

.header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 10px;
}

.search {
  position: relative;
  justify-self: start;
  display: flex;
  align-items: center;
  gap: 8px;
  max-width: 280px;
  width: 100%;
}

.search__input {
  flex: 1;
  min-width: 0;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 999px;
  padding: 10px 16px;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.search__input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 93, 43, 0.15);
}

.search__btn {
  border: 0;
  border-radius: 999px;
  background: var(--text);
  color: var(--white);
  padding: 10px 16px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
}

.search__btn:hover {
  background: var(--accent);
}

.search__btn:active {
  transform: scale(0.97);
}

.search-results {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  list-style: none;
  margin: 0;
  padding: 8px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: var(--shadow);
  display: none;
  z-index: 20;
}

.search-results.is-open {
  display: block;
}

.search-results a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  transition: background 0.2s ease;
}

.search-results a span {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 2px;
}

.search-results a:hover {
  background: var(--bg-soft);
}

.search-results__empty {
  padding: 12px;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(1.7rem, 2.4vw, 2.15rem);
  letter-spacing: -0.02em;
  text-align: center;
  line-height: 1;
  transition: color 0.2s ease;
}

.brand:hover {
  color: var(--accent);
}

.social {
  justify-self: end;
  display: flex;
  align-items: center;
  gap: 10px;
}

.social__link {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.social__link:hover {
  background: var(--bg-nav-active);
  color: var(--accent);
  transform: translateY(-2px);
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  position: relative;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.nav__link {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text);
  transition: background 0.2s ease, color 0.2s ease;
}

.nav__link:hover {
  background: var(--bg-soft);
}

.nav__link.is-active {
  background: var(--bg-nav-active);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  border: 1px solid var(--border);
  background: var(--white);
  border-radius: 10px;
  width: 42px;
  height: 42px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.breaking {
  background: var(--accent);
  color: var(--white);
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.breaking__track {
  display: flex;
  gap: 48px;
  width: max-content;
  padding: 12px 0;
  animation: ticker 38s linear infinite;
}

.breaking:hover .breaking__track {
  animation-play-state: paused;
}

.breaking__item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  font-size: 0.92rem;
  font-weight: 500;
}

.breaking__label {
  font-weight: 700;
  letter-spacing: 0.04em;
}

.breaking__time {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

.hero {
  display: grid;
  grid-template-columns: 1.05fr 1.25fr 0.85fr;
  gap: 28px;
  align-items: start;
  padding: 42px 0 28px;
}

.hero__copy h1 {
  margin: 0 0 16px;
  font-size: clamp(1.85rem, 3.1vw, 2.65rem);
  line-height: 1.12;
  letter-spacing: -0.03em;
  font-weight: 700;
}

.hero__lead {
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 1.02rem;
  max-width: 38ch;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.meta__author {
  font-weight: 600;
  color: var(--text);
}

.hero__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4 / 3.1;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero__media:hover img {
  transform: scale(1.04);
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.72);
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.badge--cat {
  background: var(--accent);
}

.sidebar-stack {
  display: grid;
  gap: 22px;
}

.side-card {
  display: grid;
  gap: 12px;
}

.side-card__media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: var(--bg-soft);
}

.side-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.side-card:hover .side-card__media img {
  transform: scale(1.05);
}

.side-card h2,
.side-card h3 {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.side-card .meta {
  font-size: 0.82rem;
}

.section {
  padding: 18px 0 56px;
}

.section__title {
  margin: 0 0 22px;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.news-grid--five {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.cat-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cat-pill {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--bg-soft);
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
  transition: transform 0.2s ease, background 0.2s ease;
}

.cat-pill:hover {
  transform: translateY(-2px);
  background: var(--bg-nav-active);
}

.showcase-band {
  position: relative;
  isolation: isolate;
  min-height: min(88vh, 820px);
  margin: 48px 0 56px;
  color: #f7f3ec;
  overflow: hidden;
}

.showcase-band__media {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.showcase-band__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: showcase-drift 18s ease-in-out infinite alternate;
}

.showcase-band__veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(12, 10, 8, 0.72) 0%, rgba(12, 10, 8, 0.35) 48%, rgba(12, 10, 8, 0.55) 100%),
    linear-gradient(0deg, rgba(12, 10, 8, 0.55) 0%, transparent 42%);
}

.showcase-band__inner {
  position: relative;
  z-index: 2;
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
  min-height: inherit;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  grid-template-rows: auto 1fr auto;
  gap: 28px 48px;
  padding: clamp(36px, 6vw, 72px) 0;
}

.showcase-band__topics {
  grid-column: 1;
  grid-row: 1;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
  align-content: start;
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

.showcase-band__topics li {
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0.92;
}

.showcase-band__topics li::before {
  content: "";
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: #f7f3ec;
}

.showcase-band__brand {
  grid-column: 1;
  grid-row: 3;
  align-self: end;
  display: flex;
  align-items: baseline;
  gap: 0.28em;
  line-height: 0.9;
}

.showcase-band__name {
  font-family: var(--font-sans);
  font-weight: 800;
  font-size: clamp(3.4rem, 10vw, 7.5rem);
  letter-spacing: -0.06em;
  text-transform: none;
}

.showcase-band__tag {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(1.4rem, 3.4vw, 2.4rem);
  letter-spacing: -0.03em;
  opacity: 0.92;
}

.showcase-band__aside {
  grid-column: 2;
  grid-row: 1 / span 3;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  max-width: 38ch;
  margin-left: auto;
  padding-top: 8vh;
}

.showcase-band__comment {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  line-height: 1.55;
  opacity: 0.95;
}

.showcase-band__spot {
  position: relative;
  display: block;
  width: min(100%, 280px);
  margin-left: auto;
  overflow: hidden;
  border: 1px solid rgba(247, 243, 236, 0.35);
  isolation: isolate;
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.showcase-band__spot:hover {
  transform: translateY(-3px);
  border-color: rgba(247, 243, 236, 0.7);
}

.showcase-band__spot img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  filter: saturate(0.9) brightness(0.85);
}

.showcase-band__play {
  position: absolute;
  inset: 50% auto auto 50%;
  width: 46px;
  height: 46px;
  margin: -23px 0 0 -23px;
  border-radius: 50%;
  background: rgba(249, 248, 243, 0.92);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

.showcase-band__play::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 52%;
  transform: translate(-40%, -50%);
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #1a1a1a;
}

.showcase-band__spot-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: linear-gradient(transparent, rgba(10, 8, 6, 0.75));
}

@keyframes showcase-drift {
  from {
    transform: scale(1.04) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.1) translate3d(-1.5%, -1%, 0);
  }
}

@media (max-width: 900px) {
  .showcase-band {
    min-height: auto;
  }

  .showcase-band__inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
    gap: 28px;
    padding: 36px 0 40px;
  }

  .showcase-band__topics,
  .showcase-band__brand,
  .showcase-band__aside {
    grid-column: 1;
    grid-row: auto;
  }

  .showcase-band__aside {
    max-width: none;
    margin: 0;
    padding-top: 0;
    gap: 22px;
  }

  .showcase-band__spot {
    margin-left: 0;
    width: min(100%, 320px);
  }

  .showcase-band__name {
    font-size: clamp(3rem, 16vw, 4.8rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  .showcase-band__media img {
    animation: none;
    transform: none;
  }
}

.seo-block {
  padding: 36px 0 20px;
}

.seo-block > h2 {
  max-width: 28ch;
}

.seo-block > p {
  max-width: 70ch;
}

.seo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 22px;
}

.seo-grid article {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px;
}

.seo-grid h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.seo-grid p {
  margin: 0;
  font-size: 0.95rem;
}

.seo-method {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 36px;
  align-items: stretch;
  margin: 12px auto 48px;
  padding: 36px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}

.seo-method__intro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 16px;
}

.seo-method__intro h2 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 16ch;
}

.seo-method__intro p {
  margin: 0;
  color: var(--text-muted);
  font-size: 1.02rem;
  line-height: 1.6;
  max-width: 42ch;
}

.seo-method__intro .btn {
  width: fit-content;
  margin-top: 4px;
}

.seo-method__points {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.seo-method__points li {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  display: grid;
  gap: 6px;
}

.seo-method__points strong {
  color: var(--text);
  font-size: 0.98rem;
}

.seo-method__points span {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 16px;
  margin-top: 18px;
  max-width: 760px;
}

.faq-list article {
  border-top: 1px solid var(--border);
  padding-top: 14px;
}

.faq-list h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
  color: var(--text);
}

.faq-list p {
  margin: 0;
}

.hero .meta {
  gap: 12px;
}

@media (max-width: 1024px) {
  .seo-grid {
    grid-template-columns: 1fr 1fr;
  }

  .seo-method {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-method__intro h2 {
    max-width: none;
  }
}

@media (max-width: 768px) {
  .seo-grid {
    grid-template-columns: 1fr;
  }

  .seo-method {
    padding: 24px 18px;
  }

  .seo-method__points {
    grid-template-columns: 1fr;
  }
}

.news-col {
  padding-top: 4px;
  border-top: 0;
}

.cat-label {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 6px;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.cat-label--world {
  background: var(--cat-world);
}

.cat-label--business {
  background: var(--cat-business);
}

.cat-label--tech {
  background: var(--cat-tech);
}

.news-col h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.news-col h3 a:hover {
  color: var(--accent);
}

.news-col p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.95rem;
}

.page-hero {
  padding: 48px 0 24px;
}

.page-hero h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-hero p {
  margin: 0;
  max-width: 60ch;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.article {
  padding: 36px 0 64px;
}

.article__header {
  max-width: 760px;
  margin: 0 auto 28px;
}

.article__header h1 {
  margin: 0 0 16px;
  font-size: clamp(1.9rem, 3.5vw, 2.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.article__hero {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 34px;
  aspect-ratio: 21 / 10;
  background: var(--bg-soft);
}

.article__hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article__body {
  max-width: 720px;
  margin: 0 auto;
}

.article__body p {
  font-size: 1.05rem;
  margin: 0 0 1.15em;
}

.article__body h2 {
  margin: 1.8em 0 0.7em;
  font-size: 1.55rem;
  letter-spacing: -0.02em;
}

.article__body h3 {
  margin: 1.4em 0 0.55em;
  font-size: 1.2rem;
}

.article__body figure {
  margin: 1.6em 0;
}

.article__body figure img {
  width: 100%;
  border-radius: var(--radius-sm);
}

.article__body figcaption {
  margin-top: 8px;
  color: var(--text-muted);
  font-size: 0.88rem;
}

.content-block {
  padding: 20px 0 64px;
}

.content-block h2 {
  margin: 0 0 12px;
  font-size: 1.4rem;
}

.content-block p,
.content-block li {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.content-block ul {
  padding-left: 1.2em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: start;
}

.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.contact-card h2 {
  margin-top: 0;
}

.contact-note {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  color: var(--text-muted);
  font-weight: 400;
}

.contact-form {
  display: grid;
  gap: 14px;
}

.contact-form label {
  display: grid;
  gap: 6px;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: var(--bg);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(217, 93, 43, 0.12);
}

.contact-form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin: 0;
  font-size: 0.92rem;
  min-height: 1.2em;
}

.form-status.is-ok {
  color: #1f7a4d;
}

.form-status.is-error {
  color: #b42318;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 999px;
  padding: 11px 18px;
  cursor: pointer;
  font-weight: 600;
  transition: background 0.2s ease, color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.btn:active {
  transform: scale(0.98);
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--outline {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
}

.btn--outline:hover {
  border-color: var(--text);
}

.btn--ghost {
  background: var(--bg-soft);
  color: var(--text);
}

.btn--ghost:hover {
  background: var(--bg-nav-active);
}

.btn--dark {
  background: #2b2a66;
  color: var(--white);
}

.btn--dark:hover {
  background: #1f1e4d;
}

.site-footer {
  border-top: 1px solid var(--border);
  background: #f4f1ea;
  padding: 48px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap: 28px;
  margin-bottom: 28px;
}

.site-footer h2 {
  margin: 0 0 12px;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.site-footer p,
.site-footer a {
  color: var(--text-muted);
  font-size: 0.92rem;
}

.site-footer a:hover {
  color: var(--accent);
}

.footer-links {
  display: grid;
  gap: 8px;
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  justify-content: space-between;
  padding-top: 18px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 0.86rem;
}

.footer-transparency {
  margin: 4px 0 26px;
  padding: 22px 0 4px;
  border-top: 1px solid var(--border);
  color: var(--text-muted);
}

.footer-transparency__eyebrow {
  margin: 0 0 6px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
}

.footer-transparency__title {
  margin: 0 0 14px;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.footer-transparency__flow {
  display: grid;
  gap: 10px;
  max-width: 78ch;
}

.footer-transparency__flow p {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.55;
}

.footer-transparency__flow strong {
  color: var(--text);
  font-weight: 600;
}

.footer-transparency__note {
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text);
}

.footer-transparency__note span {
  display: inline-block;
  margin-right: 8px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.promo-widget {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: min(290px, calc(100vw - 32px));
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(26, 26, 26, 0.16);
  padding: 16px;
  transform: translateY(120%);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.js-ready .promo-widget {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.8s;
}

.promo-widget__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: 1.2rem;
}

.promo-widget__actions {
  display: grid;
  gap: 8px;
}

.promo-widget__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  cursor: pointer;
  font-size: 1.1rem;
  color: var(--text-muted);
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 120;
  max-width: 920px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 18px;
  transform: translateY(30px);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.cookie-banner.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.cookie-banner__inner {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
}

.cookie-banner__text {
  max-width: 58ch;
}

.cookie-banner__text strong {
  display: block;
  margin-bottom: 4px;
}

.cookie-banner__text p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

.cookie-banner__text a {
  color: var(--accent);
  text-decoration: underline;
}

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  flex-shrink: 0;
}

[data-reveal] {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.55s ease, transform 0.55s ease;
}

.js-ready [data-reveal]:not(.is-in) {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready [data-reveal].is-in {
  opacity: 1;
  transform: translateY(0);
}

.media-card img {
  transition: transform 0.35s ease;
}

.legal-content {
  max-width: 760px;
}

.legal-content h2 {
  margin-top: 2em;
}

.legal-content h3 {
  margin-top: 1.4em;
}

.about-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
}

.about-layout img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.related {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.related a {
  display: grid;
  gap: 10px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.related a:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
}

.related img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: 8px;
}

.related h3 {
  margin: 0;
  font-size: 1rem;
}

@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }

  .sidebar-stack {
    grid-column: 1 / -1;
    grid-template-columns: 1fr 1fr;
  }

  .news-grid,
  .footer-grid,
  .contact-grid,
  .about-layout {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-wrap: nowrap;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: auto;
    min-width: 200px;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 12px;
    display: none;
    flex-direction: column;
    box-shadow: var(--shadow);
    z-index: 30;
  }

  .nav.is-open {
    display: flex;
  }

  .hero,
  .sidebar-stack,
  .news-grid,
  .footer-grid,
  .contact-grid,
  .about-layout,
  .related-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 28px;
  }

  .cookie-banner__inner {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-widget {
    right: 12px;
    bottom: 12px;
  }

  .article__hero {
    aspect-ratio: 16 / 10;
  }
}

body.page-book {
  background: #111;
}

body.page-book .breaking,
body.page-book .promo-widget {
  display: none;
}

body.page-book .site-header {
  background: rgba(249, 248, 243, 0.92);
}

body.page-book .site-footer {
  position: relative;
  z-index: 80;
}

.book {
  position: relative;
}

.book-page {
  position: sticky;
  top: 0;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #eceae4;
  box-shadow: 0 -12px 40px rgba(0, 0, 0, 0.18);
}

.book-page--solo {
  grid-template-columns: 1fr;
}

.book-page__panel {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(22px, 4.5vw, 56px);
  min-height: 100vh;
  min-height: 100dvh;
}

.book-page__panel--cream {
  background: #eceae4;
  color: #141414;
}

.book-page__panel--soft {
  background: #f4f1ea;
  color: #141414;
}

.book-page__panel--ink {
  background: #151515;
  color: #f5f5f5;
}

.book-page__panel--accent {
  background: var(--accent);
  color: #fff;
}

.book-page__panel--red {
  background: #c0392b;
  color: #fff;
}

.book-page__panel--forest {
  background: #1f3d2f;
  color: #f3f7f4;
}

.book-page__panel--blue {
  background: #1d4e89;
  color: #f4f8fc;
}

.book-page__media {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  overflow: hidden;
  background: #222;
}

.book-page__media img {
  width: 100%;
  height: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  object-fit: cover;
  display: block;
}

.book-kicker {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-title {
  margin: 0;
  max-width: 14ch;
  font-size: clamp(1.55rem, 3.1vw, 2.65rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.book-title--wide {
  max-width: 18ch;
}

.book-lead {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(0.88rem, 1.1vw, 1rem);
  line-height: 1.45;
  opacity: 0.92;
}

.book-lead p {
  margin: 0 0 0.65em;
}

.book-lead p:last-child {
  margin-bottom: 0;
}

.book-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 12px;
  font-size: 0.82rem;
  opacity: 0.8;
}

.book-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  width: fit-content;
  border-bottom: 2px solid currentColor;
  padding-bottom: 2px;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.book-cta:hover {
  opacity: 0.75;
  transform: translateY(-1px);
}

.book-progress {
  position: fixed;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 90;
  display: grid;
  gap: 8px;
}

.book-progress button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.book-progress button.is-active {
  background: var(--accent);
  transform: scale(1.25);
}

.book-end {
  position: relative;
  z-index: 70;
  background: var(--bg);
  padding: 64px 0 24px;
}

@media (max-width: 900px) {
  .book-page {
    grid-template-columns: 1fr;
    position: relative;
    min-height: auto;
    box-shadow: none;
  }

  .book-page__panel,
  .book-page__media,
  .book-page__media img {
    min-height: auto;
  }

  .book-page__panel {
    padding: 48px 24px;
  }

  .book-page__media {
    aspect-ratio: 4 / 3;
  }

  .book-page__media img {
    min-height: 100%;
    aspect-ratio: 4 / 3;
  }

  .book-title {
    max-width: none;
  }

  .book-progress {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .breaking__track,
  [data-reveal],
  .hero__media img,
  .side-card__media img,
  .promo-widget {
    animation: none !important;
    transition: none !important;
  }

  [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .book-page {
    position: relative;
  }
}


.book-page--solo .book-lead {
  max-width: 68ch;
}

.book-page--solo .book-title--wide {
  max-width: 22ch;
}

.book-lead p + p {
  margin-top: 0.55em;
}

/* Conceptual side visuals (NSS guide and similar) */
.book-page__media--visual {
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(18px, 3.2vw, 36px);
}

.book-visual {
  width: min(100%, 360px);
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: #f5f2ea;
}

.book-visual__eyebrow {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.7;
}

.book-visual__title {
  margin: 0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.35rem, 2.4vw, 1.95rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.book-visual__card {
  border: 1px solid rgba(245, 242, 234, 0.22);
  border-radius: 18px;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(6px);
}

.book-visual__row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.book-visual__row + .book-visual__row {
  margin-top: 12px;
}

.book-visual__badge {
  flex: 0 0 auto;
  min-width: 52px;
  height: 52px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  background: var(--accent);
  color: #fff;
}

.book-visual__badge--ink {
  background: #2a2a2a;
  border: 1px solid rgba(245, 242, 234, 0.25);
}

.book-visual__badge--ok {
  background: #2d6a4f;
}

.book-visual__badge--warn {
  background: #b45309;
}

.book-visual__label {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.35;
}

.book-visual__muted {
  margin: 4px 0 0;
  font-size: 0.8rem;
  opacity: 0.65;
}

.book-visual__flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 10px;
  align-items: stretch;
}

.book-visual__flow-card {
  border-radius: 16px;
  padding: 16px;
  border: 1px solid rgba(245, 242, 234, 0.2);
  background: rgba(255, 255, 255, 0.05);
  text-align: center;
}

.book-visual__flow-card strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: 0.08em;
  margin-top: 6px;
}

.book-visual__arrow {
  align-self: center;
  font-size: 1.4rem;
  opacity: 0.8;
  color: var(--accent);
}

.book-visual__steps {
  display: grid;
  gap: 10px;
}

.book-visual__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(245, 242, 234, 0.14);
}

.book-visual__step span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  background: var(--accent);
  color: #fff;
}

.book-visual__split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.book-visual__split-card {
  border-radius: 16px;
  padding: 18px 14px;
  text-align: center;
  border: 1px solid rgba(245, 242, 234, 0.18);
  background: rgba(255, 255, 255, 0.05);
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.book-visual__icon {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.75;
  line-height: 1;
}

.book-visual__code {
  font-family: ui-monospace, Consolas, monospace;
  font-size: 0.95rem;
  letter-spacing: 0.12em;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px dashed rgba(245, 242, 234, 0.28);
  text-align: center;
}

.book-visual--cream {
  color: #1a1a1a;
}

.book-page__media--cream {
  background: #e4e0d6;
}

.book-visual--cream .book-visual__card,
.book-visual--cream .book-visual__flow-card,
.book-visual--cream .book-visual__step,
.book-visual--cream .book-visual__split-card {
  background: rgba(255, 255, 255, 0.55);
  border-color: rgba(26, 26, 26, 0.12);
  color: #1a1a1a;
}

.book-visual--cream .book-visual__code {
  background: rgba(26, 26, 26, 0.06);
  border-color: rgba(26, 26, 26, 0.2);
  color: #1a1a1a;
}

.book-visual--cream .book-visual__eyebrow {
  opacity: 0.55;
}

@media (max-width: 900px) {
  .book-page__media--visual {
    min-height: auto;
    aspect-ratio: auto;
    padding: 28px 20px 36px;
  }

  .book-visual {
    width: 100%;
  }
}


/* NSS article interactives */
.nss-widget {
  width: min(100%, 360px);
  color: #f5f2ea;
}

.nss-widget--light {
  color: #1a1a1a;
}

.nss-widget__eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  opacity: 0.7;
}

.nss-widget__title {
  margin: 0 0 10px;
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2.2vw, 1.7rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
}

.nss-widget__meter {
  height: 5px;
  border-radius: 999px;
  background: rgba(26, 26, 26, 0.12);
  overflow: hidden;
  margin-bottom: 6px;
}

.nss-widget__meter span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--accent);
  transition: width 0.25s ease;
}

.nss-widget__status {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 600;
}

.nss-check {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.nss-check label {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  padding: 8px 10px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(26, 26, 26, 0.1);
  cursor: pointer;
  font-size: 0.84rem;
  line-height: 1.3;
}

.nss-check input {
  margin-top: 2px;
  accent-color: var(--accent);
}

.nss-widget__hint {
  margin: 10px 0 0;
  font-size: 0.72rem;
  opacity: 0.7;
}

.nss-board {
  display: grid;
  gap: 22px;
  max-width: 52rem;
}

.nss-board__h {
  margin: 0 0 12px;
  font-size: 1rem;
  font-weight: 700;
}

.nss-quiz-picks {
  display: grid;
  gap: 10px;
}

.nss-quiz-pick {
  text-align: left;
  padding: 14px 16px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--text);
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease, transform 0.15s ease;
}

.nss-quiz-pick:hover {
  border-color: var(--accent);
  transform: translateY(-1px);
}

.nss-quiz-pick.is-active {
  border-color: var(--accent);
  background: #fff4ee;
}

.nss-quiz-result {
  margin: 12px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: #1a1a1a;
  color: #f5f2ea;
  font-size: 0.95rem;
  line-height: 1.45;
}

.nss-acc {
  display: grid;
  gap: 8px;
}

.nss-acc__item {
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--white);
  overflow: hidden;
}

.nss-acc__btn {
  width: 100%;
  text-align: left;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  cursor: pointer;
}

.nss-acc__btn::after {
  content: '+';
  float: right;
  font-weight: 700;
  color: var(--accent);
}

.nss-acc__item.is-open .nss-acc__btn::after {
  content: '\2212';
}

.nss-acc__panel {
  display: none;
  padding: 0 16px 14px;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.5;
}

.nss-acc__item.is-open .nss-acc__panel {
  display: block;
}

.nss-acc__panel p {
  margin: 0;
}

@media (max-width: 900px) {
  .nss-widget {
    width: 100%;
  }
}

