:root {
  --background: rgb(246 244 238);
  --foreground: rgb(31 38 35);
  --card: rgb(255 253 248);
  --primary: rgb(31 72 63);
  --primary-foreground: rgb(248 247 242);
  --muted-foreground: rgb(91 101 96);
  --accent: rgb(163 79 55);
  --border: rgb(211 206 193);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: Arial, Helvetica, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  border-bottom: 1px solid var(--border);
  background: rgb(246 244 238 / 0.92);
  backdrop-filter: blur(14px);
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1560px;
  margin: 0 auto;
  padding: 1.2rem clamp(1.5rem, 4vw, 4rem);
}

.brand {
  display: inline-flex;
  flex-direction: column;
  color: var(--foreground);
  min-width: 220px;
  font-size: 1.12rem;
  line-height: 0.95;
  text-transform: lowercase;
}

.brand span {
  letter-spacing: 0.18em;
}

.brand strong {
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 2.82rem;
  font-weight: 500;
}

.nav {
  display: flex;
  gap: clamp(1.4rem, 2.4vw, 2.8rem);
  color: var(--muted-foreground);
  font-size: 1.06rem;
  font-weight: 700;
}

.hero-actions a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  border: 1px solid var(--border);
  border-radius: 999px;
}

.hero-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(380px, 0.74fr);
  gap: clamp(2.5rem, 4vw, 5.5rem);
  align-items: center;
  max-width: 1560px;
  min-height: calc(100vh - 91px);
  margin: 0 auto;
  padding: clamp(4rem, 7vw, 7.2rem) clamp(1.5rem, 4vw, 4rem);
}

.hero-copy h1,
.section-heading h2,
.editorial-band h2,
.insight-panel h2 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy h1 {
  max-width: 720px;
  margin: 1rem 0 0;
  font-size: clamp(3.45rem, 5.6vw, 5.8rem);
  line-height: 0.94;
  overflow-wrap: normal;
}

.eyebrow {
  margin: 0;
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.lead {
  max-width: 700px;
  margin: 1.35rem 0 0;
  color: var(--muted-foreground);
  font-size: clamp(1.18rem, 2vw, 1.55rem);
  line-height: 1.55;
}

.lead a {
  color: var(--primary);
  font-weight: 800;
  border-bottom: 1px solid rgb(31 72 63 / 0.35);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.hero-actions a {
  padding: 0.9rem 1.15rem;
  background: var(--primary);
  color: var(--primary-foreground);
  font-weight: 700;
}

.hero-actions a + a {
  background: transparent;
  color: var(--foreground);
}

.visual-stack {
  position: relative;
  min-height: min(640px, 68vh);
}

.hero-photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 0.72);
  border-radius: 8px;
  background: rgb(235 232 224);
  box-shadow: 0 22px 70px rgb(31 38 35 / 0.17);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.02);
}

.photo-1 {
  inset: 0 16% 18% 0;
}

.photo-2 {
  right: 0;
  bottom: 0;
  width: 48%;
  height: 48%;
}

.photo-3 {
  top: 9%;
  right: 5%;
  width: 38%;
  height: 34%;
}

.topic-strip {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  border-block: 1px solid var(--border);
  background: var(--card);
}

.topic-strip div {
  min-height: 142px;
  padding: clamp(1.4rem, 2vw, 2rem);
  border-right: 1px solid var(--border);
}

.topic-strip div:last-child {
  border-right: 0;
}

.topic-strip strong {
  display: block;
  color: var(--primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.8rem, 2vw, 2.35rem);
  font-weight: 500;
}

.topic-strip span {
  display: block;
  margin-top: 0.55rem;
  color: var(--muted-foreground);
  font-size: 1.02rem;
  line-height: 1.5;
}

.section-block,
.editorial-band,
.insight-panel {
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(4.5rem, 7vw, 8rem) clamp(1.5rem, 4vw, 4rem);
  scroll-margin-top: 126px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(280px, 0.55fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.single {
  grid-template-columns: 1fr;
}

.section-heading h2,
.editorial-band h2,
.insight-panel h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(2.1rem, 4vw, 4.4rem);
  line-height: 0.98;
}

.section-heading > p,
.insight-panel p {
  color: var(--muted-foreground);
  font-size: 1.13rem;
  line-height: 1.68;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.article-card {
  min-height: 318px;
  padding: clamp(1.4rem, 2.2vw, 2.15rem);
  background: var(--card);
}

.article-card span {
  display: inline-flex;
  margin-bottom: 1.55rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.article-card h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.55rem, 1.9vw, 2.25rem);
  font-weight: 500;
  line-height: 1.13;
}

.article-card p,
.rubric-list p {
  margin: 1rem 0 0;
  color: var(--muted-foreground);
  font-size: 1.05rem;
  line-height: 1.66;
}

.spotlight {
  padding-top: 0;
}

.spotlight-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) repeat(3, minmax(0, 0.82fr));
  gap: 1px;
  border: 1px solid var(--border);
  background: var(--border);
}

.spotlight-card {
  min-height: 284px;
  padding: clamp(1.45rem, 2.2vw, 2.25rem);
  background: rgb(255 253 248);
}

.spotlight-card:first-child {
  background: var(--primary);
  color: var(--primary-foreground);
}

.spotlight-card span {
  display: inline-flex;
  margin-bottom: 1.3rem;
  color: var(--accent);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.spotlight-card:first-child span,
.spotlight-card:first-child p {
  color: rgb(224 231 222);
}

.spotlight-card h3 {
  margin: 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(1.45rem, 1.8vw, 2.15rem);
  font-weight: 500;
  line-height: 1.14;
}

.spotlight-card:first-child h3 {
  font-size: clamp(2rem, 2.7vw, 3.35rem);
  line-height: 1.02;
}

.spotlight-card p {
  margin: 1rem 0 0;
  color: var(--muted-foreground);
  font-size: 1.04rem;
  line-height: 1.66;
}

.editorial-band {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(340px, 0.72fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  max-width: none;
  border-block: 1px solid var(--border);
  background: rgb(223 229 220);
}

.editorial-band > * {
  max-width: 640px;
}

.editorial-band > div:first-child {
  justify-self: end;
}

.rubric-list {
  display: grid;
  gap: 1px;
  border: 1px solid rgb(31 72 63 / 0.2);
  background: rgb(31 72 63 / 0.18);
}

.rubric-list div {
  padding: 1.45rem;
  background: rgb(246 244 238 / 0.74);
}

.rubric-list h3 {
  margin: 0;
  font-size: 1.18rem;
}

.compact {
  padding-top: clamp(3rem, 5vw, 4.5rem);
}

.title-columns {
  columns: 2 360px;
  column-gap: 2rem;
}

.title-columns a {
  display: inline-flex;
  width: 100%;
  break-inside: avoid;
  padding: 0.82rem 0;
  border-bottom: 1px solid var(--border);
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.45;
}

.semrush-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--card);
  border: 1px solid var(--border);
  font-size: 1rem;
}

.semrush-table th,
.semrush-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  line-height: 1.5;
}

.semrush-table th {
  color: var(--primary);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.semrush-table a {
  color: var(--accent);
  font-weight: 700;
  overflow-wrap: anywhere;
}

.article-page {
  display: grid;
  grid-template-columns: minmax(0, 900px) minmax(300px, 380px);
  justify-content: center;
  gap: clamp(3rem, 5vw, 5.25rem);
  max-width: 1500px;
  margin: 0 auto;
  padding: clamp(4.5rem, 6vw, 7rem) clamp(1.5rem, 4vw, 4rem);
}

.article-layout h1 {
  max-width: 100%;
  margin: 0.8rem 0 0;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2.55rem, 3.85vw, 4.85rem);
  font-weight: 500;
  line-height: 1.04;
  overflow-wrap: anywhere;
}

.article-lead {
  max-width: 840px;
  margin: 1.65rem 0 0;
  color: var(--muted-foreground);
  font-size: clamp(1.16rem, 1.45vw, 1.38rem);
  line-height: 1.72;
}

.back-link {
  display: inline-flex;
  margin-bottom: 2rem;
  color: var(--accent);
  font-weight: 800;
}

.article-meta,
.preserve-note {
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  margin-top: 1.25rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.article-meta span,
.preserve-note {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgb(255 253 248 / 0.72);
}

.preserve-note {
  display: block;
  max-width: 860px;
  border-radius: 8px;
  color: var(--foreground);
  line-height: 1.55;
}

.preserve-note strong {
  display: block;
  margin-bottom: 0.25rem;
  color: var(--primary);
}

.article-toc {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.7rem 1.5rem;
  margin: 2.2rem 0;
  padding: 1.4rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.article-toc li {
  margin-left: 1.15rem;
  color: var(--primary);
  line-height: 1.45;
}

.article-body {
  max-width: 860px;
  margin-top: 2.35rem;
}

.article-body p {
  margin: 0 0 1.45rem;
  color: rgb(45 52 49);
  font-size: 1.16rem;
  line-height: 1.86;
}

.article-aside {
  position: sticky;
  top: 112px;
  align-self: start;
  padding: 1.55rem;
  border: 1px solid var(--border);
  background: var(--card);
}

.article-aside h2 {
  margin: 0 0 0.85rem;
  color: var(--primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 1.72rem;
  font-weight: 500;
}

.article-aside a {
  display: block;
  padding: 0.92rem 0;
  border-top: 1px solid var(--border);
  color: var(--foreground);
  font-size: 1.02rem;
  line-height: 1.5;
}

.insight-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.45fr) minmax(0, 0.55fr);
  gap: 2rem;
  border-top: 1px solid var(--border);
}

.insight-panel dl {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 0;
  border: 1px solid var(--border);
  background: var(--border);
}

.insight-panel dl div {
  padding: 1.25rem;
  background: var(--card);
}

.insight-panel dt {
  color: var(--primary);
  font-family: Georgia, 'Times New Roman', serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
}

.insight-panel dd {
  margin: 0.55rem 0 0;
  color: var(--muted-foreground);
}

.insight-panel p {
  grid-column: 2;
  margin-top: -1rem;
}

@media (max-width: 980px) {
  .hero-shell,
  .section-heading,
  .editorial-band,
  .insight-panel {
    grid-template-columns: 1fr;
  }

  .article-page {
    grid-template-columns: 1fr;
  }

  .article-aside {
    position: static;
  }

  .hero-shell {
    min-height: auto;
  }

  .visual-stack {
    min-height: 520px;
  }

  .topic-strip,
  .spotlight-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .editorial-band > div:first-child,
  .editorial-band > * {
    justify-self: start;
    max-width: none;
  }

  .insight-panel p {
    grid-column: auto;
    margin-top: 0;
  }
}

@media (max-width: 680px) {
  .nav {
    display: none;
  }

  .topbar-inner {
    padding-block: 0.95rem;
  }

  .brand {
    min-width: 0;
    font-size: 0.98rem;
  }

  .brand strong {
    font-size: 2.35rem;
  }

  .hero-copy h1 {
    font-size: clamp(3rem, 16vw, 5.2rem);
  }

  .visual-stack {
    min-height: 390px;
  }

  .photo-1 {
    inset: 0 0 22% 0;
  }

  .photo-2 {
    width: 56%;
    height: 43%;
  }

  .photo-3 {
    top: 8%;
    right: 4%;
    width: 42%;
    height: 30%;
  }

  .topic-strip,
  .article-grid,
  .spotlight-grid,
  .article-toc,
  .insight-panel dl {
    grid-template-columns: 1fr;
  }

  .topic-strip div {
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .article-card {
    min-height: auto;
  }
}
