:root {
  --bg: #eef0ec;
  --ink: #151923;
  --muted: #69717f;
  --panel: #121c2c;
  --paper: #fffdf8;
  --gold: #c89a4b;
  --sage: #8fa99a;
  --line: #e3ded3;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--bg);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.7;
}

a {
  color: inherit;
}

.reading-bar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10;
  width: 0;
  height: 5px;
  background: var(--gold);
}

.page-shell {
  display: grid;
  grid-template-columns: minmax(320px, 0.88fr) minmax(0, 1.15fr);
  min-height: 100vh;
}

.intro-panel {
  position: sticky;
  top: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  justify-content: center;
  padding: clamp(32px, 6vw, 72px);
  color: #ffffff;
  background:
    linear-gradient(rgba(18, 28, 44, 0.82), rgba(18, 28, 44, 0.9)),
    url("/img/slide1.jpg") center / cover;
}

.brand {
  position: absolute;
  top: 28px;
  left: clamp(32px, 6vw, 72px);
  font-weight: 800;
  text-decoration: none;
}

.category {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Playfair Display", Georgia, serif;
  line-height: 1.05;
}

h1 {
  max-width: 650px;
  margin-bottom: 22px;
  font-size: clamp(3rem, 7vw, 6.6rem);
}

.summary {
  max-width: 560px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.13rem;
}

.article-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.article-facts span {
  padding: 8px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.88rem;
  font-weight: 700;
}

.article-card {
  width: min(100%, 780px);
  margin: 0 auto;
  padding: clamp(28px, 6vw, 78px);
  background: var(--paper);
}

.hero-image {
  margin: 0 0 34px;
}

.hero-image img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  border-radius: 2px;
  filter: saturate(0.92) contrast(1.05);
}

.lead {
  margin-bottom: 42px;
  color: var(--ink);
  font-size: clamp(1.18rem, 2vw, 1.42rem);
}

section {
  position: relative;
  padding: 32px 0 34px 78px;
  border-top: 1px solid var(--line);
}

.step {
  position: absolute;
  top: 36px;
  left: 0;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid var(--gold);
  border-radius: 50%;
  color: var(--gold);
  font-weight: 800;
}

h2 {
  margin-bottom: 12px;
  color: var(--panel);
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

h3 {
  margin-bottom: 12px;
  color: var(--panel);
  font-size: clamp(1.3rem, 1vw, 1.75rem);
}

section p,
.article-footer p {
  color: var(--muted);
}

blockquote {
  margin: 18px 0;
  padding: 30px;
  border-left: 6px solid var(--sage);
  color: var(--panel);
  background: #edf2ee;
}

blockquote p {
  margin: 0;
  color: var(--panel);
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.18;
}

.article-footer {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}

.article-footer a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 2px;
  color: var(--panel);
  background: var(--gold);
  font-weight: 800;
  text-decoration: none;
}

@media (max-width: 900px) {
  .page-shell {
    grid-template-columns: 1fr;
  }

  .intro-panel {
    position: relative;
    min-height: 620px;
  }

  .article-card {
    width: 100%;
  }
}

@media (max-width: 560px) {
  .intro-panel {
    min-height: 540px;
  }

  .brand {
    left: 24px;
  }

  section {
    padding-left: 0;
  }

  .step {
    position: static;
    margin-bottom: 16px;
  }
}
