/* aster-edu.my: one stylesheet for the whole blog (blog/scripts/build.mjs names it by content).
   Editorial look in the Aster colours: warm paper, ink, the logo's gold, red for "Daftar".
   Calistoga for headings and Poppins 600 for labels (the sales page's fonts); body text uses the
   phone's own font, which reads best in long articles and costs nothing to load. */

@font-face {
  font-family: "Calistoga";
  src: url("/fonts/calistoga-latin-400-normal.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Poppins";
  src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #fbf8f2;
  --paper-warm: #fff6df;
  --card: #fff;
  --ink: #1c1a17;
  --ink-body: #2b2822;
  --ink-soft: #5d574c;
  --line: #e8e0cf;
  --gold: #b8984c;
  --gold-ink: #7a6026;
  --gold-soft: #f3ead2;
  --red: #d2121d;
  --red-dark: #a90e17;
  --night: #17140f;
  --night-soft: #2b261e;
  --cream-text: #efe6d4;
  --display: "Calistoga", Georgia, "Times New Roman", serif;
  --ui: "Poppins", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
  --radius: 16px;
  --shadow: 0 1px 2px rgb(28 26 23 / 6%), 0 10px 30px rgb(28 26 23 / 7%);
  --wrap: 1160px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink-body);
  font: 400 1rem/1.6 var(--body);
  -webkit-font-smoothing: antialiased;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}
h1,
h2,
h3 {
  color: var(--ink);
  text-wrap: balance;
}
.wrap {
  width: min(100% - 32px, var(--wrap));
  margin-inline: auto;
}
.icon {
  flex: none;
  width: 1.15em;
  height: 1.15em;
}
.skip {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 20;
  padding: 0.6rem 1rem;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font: 600 0.9rem var(--ui);
}
.skip:focus {
  top: 12px;
}

/* Buttons and chips */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.35rem;
  border: 2px solid var(--red);
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  font: 600 0.95rem/1.2 var(--ui);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, transform 0.15s;
}
.button:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
  transform: translateY(-1px);
}
.button--small {
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
}
.button--dark {
  background: var(--ink);
  border-color: var(--ink);
}
.button--dark:hover {
  background: #000;
  border-color: #000;
}
.button--ghost {
  background: transparent;
  border-color: var(--ink);
  color: var(--ink);
}
.button--ghost:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: #fff;
}
.chip {
  display: inline-block;
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
  background: var(--gold-soft);
  color: var(--gold-ink);
  font: 600 0.7rem/1.2 var(--ui);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
}
.chip--ibu-bapa {
  background: #fde6e4;
  color: #95121a;
}
.chip--tips-belajar {
  background: #e2efe5;
  color: #1d5a37;
}

/* Header */
.site-header {
  position: relative;
  z-index: 10;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  min-height: 72px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  margin-right: auto;
  color: var(--ink);
  text-decoration: none;
}
.brand img {
  width: 38px;
  height: auto;
}
.brand__name {
  display: flex;
  flex-direction: column;
  font: 400 1.4rem/1 var(--display);
}
.brand__name small {
  margin-top: 0.2rem;
  color: var(--gold-ink);
  font: 600 0.62rem/1 var(--ui);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.brand--light {
  color: #fff;
}
.brand--light .brand__name small {
  color: var(--gold);
}
.site-nav {
  display: flex;
  gap: 1.4rem;
}
.site-nav a,
.site-menu nav a:not(.button) {
  color: var(--ink-soft);
  font: 600 0.9rem var(--ui);
  text-decoration: none;
}
.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--ink);
  text-decoration: underline 2px var(--gold);
  text-underline-offset: 8px;
}
.site-menu {
  display: none;
}
.site-menu summary {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.85rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: 600 0.85rem var(--ui);
  list-style: none;
  cursor: pointer;
}
.site-menu summary::-webkit-details-marker {
  display: none;
}
.site-menu summary::before {
  content: "";
  width: 14px;
  height: 2px;
  background: currentColor;
  box-shadow: 0 -5px currentColor, 0 5px currentColor;
}
.site-menu[open] summary::before {
  height: 2px;
  box-shadow: none;
  transform: rotate(45deg);
}
.site-menu nav {
  position: absolute;
  inset: 100% 0 auto;
  display: grid;
  gap: 0.25rem;
  padding: 0.75rem 16px 1.25rem;
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 30px rgb(28 26 23 / 10%);
}
.site-menu nav a:not(.button) {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 1rem;
}
.site-menu nav .button {
  margin-top: 0.75rem;
}

/* Home hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 4rem;
  background: linear-gradient(180deg, var(--paper-warm), var(--paper));
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -40px;
  width: 520px;
  height: 590px;
  background: var(--gold);
  opacity: 0.07;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, 0.75fr);
  gap: 3.5rem;
  align-items: center;
}
.eyebrow,
.band__eyebrow,
.offer__eyebrow {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1rem;
  color: var(--gold-ink);
  font: 600 0.75rem/1.3 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--gold);
}
.hero h1 {
  margin: 0;
  font: 400 clamp(2.3rem, 5.2vw, 3.7rem)/1.06 var(--display);
  letter-spacing: -0.01em;
}
.dek {
  max-width: 62ch;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font-size: 1.15rem;
  line-height: 1.6;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

/* Offer card (shared facts: src/data/) */
.offer {
  padding: 1.6rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 5px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.offer__eyebrow {
  margin-bottom: 0.6rem;
}
.offer__price {
  margin: 0;
  color: var(--ink);
  font: 400 2.9rem/1 var(--display);
}
.offer__price span {
  margin-left: 0.35rem;
  color: var(--ink-soft);
  font: 600 0.9rem var(--ui);
}
.offer__note {
  margin: 0.75rem 0 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.offer__list {
  display: grid;
  gap: 0.55rem;
  margin: 1.1rem 0 0;
  padding: 1.1rem 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.offer__list li {
  display: flex;
  gap: 0.55rem;
  align-items: flex-start;
  font-size: 0.95rem;
}
.offer__list .icon {
  margin-top: 0.15em;
  color: var(--gold);
}
.offer__actions {
  display: grid;
  gap: 0.6rem;
  margin-top: 1.3rem;
}
.offer__more {
  display: inline-block;
  margin-top: 0.9rem;
  color: var(--ink-soft);
  font: 600 0.82rem var(--ui);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.offer--compact {
  padding: 1.3rem;
}
.offer--compact .offer__price {
  font-size: 2.3rem;
}
.offer--compact .offer__price span {
  display: block;
  margin: 0.45rem 0 0;
  line-height: 1.3;
}

/* Sections and grids */
.section {
  padding: 4rem 0 0;
}
.section__title {
  margin: 0 0 0.5rem;
  font: 400 clamp(1.7rem, 3.4vw, 2.3rem)/1.15 var(--display);
}
.section__intro {
  max-width: 64ch;
  margin: 0 0 1.75rem;
  color: var(--ink-soft);
}
.section__title + .grid {
  margin-top: 1.5rem;
}
.grid {
  display: grid;
  gap: 1.25rem;
}
.grid--3,
.grid--latest {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.more {
  margin: 1.75rem 0 0;
}
.more a {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--ink);
  font: 600 0.95rem var(--ui);
}

/* Article cards */
.card {
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 1.4rem 1.4rem 1.25rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.15s;
}
.card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.card__meta {
  position: relative;
  z-index: 1;
  margin: 0 0 0.85rem;
}
.card__title {
  margin: 0;
  font: 400 1.3rem/1.25 var(--display);
}
.card__title a {
  text-decoration: none;
}
/* The whole card opens the article; the category chip stays its own link. */
.card__title a::after {
  content: "";
  position: absolute;
  inset: 0;
}
.card__text {
  margin: 0.7rem 0 0;
  color: var(--ink-soft);
  font-size: 0.97rem;
}
.card__date {
  margin: auto 0 0;
  padding-top: 1rem;
  color: var(--ink-soft);
  font: 600 0.75rem var(--ui);
}
.card--featured {
  grid-column: span 2;
  grid-row: span 2;
  justify-content: flex-end;
  padding: 2rem;
  background: linear-gradient(160deg, var(--night) 0%, var(--night-soft) 100%);
  border-color: var(--night);
  color: var(--cream-text);
  overflow: hidden;
}
.card--featured::before {
  content: "";
  position: absolute;
  right: -60px;
  top: -30px;
  width: 300px;
  height: 340px;
  background: var(--gold);
  opacity: 0.16;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.card--featured .card__title {
  max-width: 22ch;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}
.card--featured .card__text {
  max-width: 56ch;
  color: var(--cream-text);
  font-size: 1.05rem;
}
.card--featured .card__meta {
  margin-bottom: auto;
  padding-bottom: 2rem;
}
.card--featured .card__date {
  margin-top: 0;
  color: var(--gold);
}

/* Stages (levels) and reasons */
.stage {
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
}
.stage h3 {
  margin: 0 0 0.9rem;
  font: 400 1.45rem/1.2 var(--display);
}
.stage__levels {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0 0 0.9rem;
}
.stage__levels a {
  padding: 0.35rem 0.75rem;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  color: var(--ink);
  font: 600 0.8rem var(--ui);
  text-decoration: none;
}
.stage__levels a:hover {
  background: var(--ink);
  color: #fff;
}
.stage p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.stage__link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: auto;
  color: var(--red);
  font: 600 0.9rem var(--ui);
  text-decoration: none;
}
.reason {
  padding: 1.4rem;
  border-radius: var(--radius);
  background: var(--gold-soft);
}
.reason h3 {
  display: flex;
  gap: 0.6rem;
  align-items: baseline;
  margin: 0 0 0.5rem;
  font: 600 1rem/1.35 var(--ui);
}
.reason h3::before {
  content: "";
  flex: none;
  width: 12px;
  height: 11px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.reason p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.95rem;
}

/* Dark offer band */
.band {
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
  padding: 4rem 0;
  background: var(--night);
  color: var(--cream-text);
}
.band::before {
  content: "";
  position: absolute;
  left: -140px;
  bottom: -120px;
  width: 460px;
  height: 520px;
  background: var(--gold);
  opacity: 0.1;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.band__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 380px);
  gap: 3rem;
  align-items: center;
}
.band__eyebrow {
  color: var(--gold);
}
.band h2 {
  margin: 0 0 1rem;
  color: #fff;
  font: 400 clamp(1.9rem, 3.6vw, 2.6rem)/1.12 var(--display);
}
.band__text p:not(.band__eyebrow) {
  max-width: 52ch;
  margin: 0;
  font-size: 1.05rem;
}
.band .offer {
  color: var(--ink-body);
}

/* Page and article heads */
.page-head,
.article-head {
  padding: 2rem 0 2.5rem;
  background: linear-gradient(180deg, var(--paper-warm), var(--paper));
  border-bottom: 1px solid var(--line);
}
.page-head h1,
.article-head h1 {
  max-width: 24ch;
  margin: 1rem 0 0;
  font: 400 clamp(2rem, 4.4vw, 3.1rem)/1.1 var(--display);
}
.article-head .chip {
  margin-top: 1.25rem;
}
.article-head h1 {
  margin-top: 0.85rem;
}
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  color: var(--ink-soft);
  font: 600 0.75rem/1.5 var(--ui);
}
.crumbs > * + *::before {
  content: "›";
  margin-right: 0.35rem;
  color: var(--gold);
}
.crumbs a {
  text-decoration: none;
}
.crumbs a:hover {
  text-decoration: underline;
}
.crumbs [aria-current] {
  max-width: 40ch;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  margin: 1.25rem 0 0;
  color: var(--ink-soft);
  font: 600 0.8rem/1.5 var(--ui);
}
.byline a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.byline span::before {
  content: "·";
  margin-right: 0.75rem;
  color: var(--gold);
}

/* Article body */
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 300px;
  justify-content: space-between;
  gap: 3.5rem;
  padding-top: 2.5rem;
}
/* The contents list scrolls away; the offer card then stays in view beside the article. */
.article-aside .toc {
  margin-bottom: 1.25rem;
}
.article-aside .offer {
  position: sticky;
  top: 1.5rem;
}
.summary {
  padding: 1.4rem 1.5rem;
  background: var(--paper-warm);
  border: 1px solid #efdfb4;
  border-left: 5px solid var(--gold);
  border-radius: 12px;
}
.summary h2,
.sources h2,
.toc__title {
  margin: 0 0 0.75rem;
  color: var(--gold-ink);
  font: 600 0.78rem/1.3 var(--ui);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.summary ul {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.summary li {
  position: relative;
  padding-left: 1.5rem;
  color: var(--ink);
  font-size: 1.02rem;
}
.summary li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 10px;
  height: 9px;
  background: var(--gold);
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.toc {
  padding: 1.2rem 1.3rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
/* No list numbers: some articles number their own headings ("1. Berapa ramai…"). */
.toc ol {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.92rem;
}
.toc li {
  position: relative;
  padding-left: 0.95rem;
}
.toc li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--gold);
}
.toc a {
  color: var(--ink-soft);
  text-decoration: none;
}
.toc a:hover {
  color: var(--ink);
  text-decoration: underline;
}
.toc--inline {
  display: none;
  margin-top: 1.25rem;
}
.toc--inline summary {
  color: var(--ink);
  font: 600 0.9rem var(--ui);
  cursor: pointer;
}
.toc--inline ol {
  margin-top: 0.85rem;
}
.prose {
  color: var(--ink-body);
  font-size: 1.125rem;
  line-height: 1.75;
}
.prose > :first-child {
  margin-top: 2rem;
}
.prose p,
.prose ul,
.prose ol {
  margin: 0 0 1.15em;
}
.prose h2 {
  margin: 2.3em 0 0.6em;
  font: 400 1.75rem/1.2 var(--display);
  scroll-margin-top: 1.5rem;
}
.prose h3 {
  margin: 1.7em 0 0.5em;
  font: 600 1.15rem/1.35 var(--ui);
  scroll-margin-top: 1.5rem;
}
.prose ul,
.prose ol {
  padding-left: 1.35em;
}
.prose li {
  margin: 0.35em 0;
}
.prose li::marker {
  color: var(--gold-ink);
}
.prose a {
  color: var(--ink);
  text-decoration-color: var(--gold);
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}
.prose a:hover {
  color: var(--red);
}
.prose strong {
  color: var(--ink);
}
.prose blockquote {
  margin: 1.5em 0;
  padding: 1rem 1.25rem;
  background: var(--card);
  border-left: 4px solid var(--gold);
  border-radius: 0 12px 12px 0;
}
.prose blockquote > :last-child {
  margin-bottom: 0;
}
.table-wrap {
  margin: 1.5em 0;
  overflow-x: auto;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 12px;
}
.prose table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.97rem;
  line-height: 1.5;
}
.prose th,
.prose td {
  padding: 0.7rem 0.85rem;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}
.prose th {
  background: var(--gold-soft);
  color: var(--ink);
  font: 600 0.85rem/1.4 var(--ui);
}
.prose tr:last-child td {
  border-bottom: 0;
}
.prose code {
  padding: 0.1em 0.35em;
  background: var(--gold-soft);
  border-radius: 4px;
  font-size: 0.92em;
}
.prose hr {
  margin: 2.5em 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.prose--page {
  max-width: 760px;
  padding-bottom: 1rem;
}
.offer-inline {
  display: none;
  margin: 2rem 0;
}
.sources {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.sources ol {
  display: grid;
  gap: 0.5rem;
  margin: 0;
  padding-left: 1.3rem;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.sources a {
  overflow-wrap: anywhere;
  text-decoration-color: var(--gold);
  text-underline-offset: 3px;
}
.note {
  margin: 1.75rem 0 0;
  padding: 1rem 1.2rem;
  background: var(--card);
  border: 1px dashed var(--line);
  border-radius: 12px;
  color: var(--ink-soft);
  font-size: 0.92rem;
}
.share {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  align-items: center;
  margin-top: 1.75rem;
}
.share p {
  margin: 0 0.4rem 0 0;
  color: var(--ink);
  font: 600 0.85rem var(--ui);
}
.share__link {
  display: inline-flex;
  gap: 0.45rem;
  align-items: center;
  padding: 0.55rem 0.95rem;
  border-radius: 999px;
  color: #fff;
  font: 600 0.82rem var(--ui);
  text-decoration: none;
}
.share__link--wa {
  background: #16834a;
}
.share__link--fb {
  background: #1667d9;
}
.share__link--tg {
  background: #1b84bd;
}
.list {
  padding-top: 2.5rem;
}

/* Class pages (blog/src/kelas.tsx) */
.page-head .eyebrow {
  margin: 1.25rem 0 0;
}
.page-head .eyebrow + h1 {
  margin-top: 0.75rem;
}
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.4rem 0 0;
  padding: 0;
  list-style: none;
}
.facts li {
  padding: 0.4rem 0.8rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font: 600 0.78rem/1.3 var(--ui);
}
.timetable {
  scroll-margin-top: 1.5rem;
}
.timetable h3 {
  margin-bottom: 0.6rem;
}
.timetable .table-wrap {
  margin-top: 0;
}
.timetable td:first-child {
  width: 22%;
  color: var(--ink);
  font-weight: 600;
}
.timetable td:last-child {
  width: 34%;
  white-space: nowrap;
}
.link-card {
  display: grid;
  gap: 0.4rem;
  padding: 1.3rem 1.4rem;
  background: var(--card);
  border: 1px solid var(--line);
  border-left: 4px solid var(--gold);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.link-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
}
.link-card__title {
  color: var(--ink);
  font: 400 1.2rem/1.25 var(--display);
}
.link-card__text {
  color: var(--ink-soft);
  font-size: 0.95rem;
}
.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0 0 1.5rem;
}
.stage h3 a {
  text-decoration: none;
}
.stage h3 a:hover {
  text-decoration: underline 2px var(--gold);
  text-underline-offset: 5px;
}

/* Footer */
.site-footer {
  padding: 3.5rem 0 1.5rem;
  background: #100e0a;
  color: #c9bfae;
  font-size: 0.93rem;
}
.band + .site-footer {
  border-top: 1px solid #2c271f;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
}
.site-footer__grid p {
  max-width: 42ch;
  margin: 1rem 0 0;
}
.site-footer h2 {
  margin: 0 0 0.9rem;
  color: var(--gold);
  font: 600 0.75rem/1.3 var(--ui);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.55rem;
}
.site-footer a {
  color: #efe6d4;
  text-decoration: none;
}
.site-footer a:hover {
  color: #fff;
  text-decoration: underline;
}
.site-footer__legal {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid #2c271f;
  color: #8f8676;
  font-size: 0.82rem;
}

/* Tablets and phones */
@media (max-width: 1023px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  .article-aside {
    display: none;
  }
  .toc--inline,
  .offer-inline {
    display: block;
  }
  .grid--4 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 899px) {
  .site-nav {
    display: none;
  }
  .site-menu {
    display: block;
  }
  .site-header__inner {
    gap: 0.75rem;
    min-height: 64px;
  }
  .hero {
    padding: 3rem 0;
  }
  .hero__inner,
  .band__inner {
    grid-template-columns: minmax(0, 1fr);
    gap: 2.25rem;
  }
  .grid--3,
  .grid--latest {
    grid-template-columns: minmax(0, 1fr);
  }
  .card--featured {
    grid-column: auto;
    grid-row: auto;
    padding: 1.6rem;
  }
  .site-footer__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 2rem;
  }
}
@media (max-width: 560px) {
  .site-header__inner > .button {
    display: none;
  }
  .grid--4 {
    grid-template-columns: minmax(0, 1fr);
  }
  .prose {
    font-size: 1.07rem;
  }
  .prose h2 {
    font-size: 1.5rem;
  }
  .hero__actions .button {
    flex: 1 1 auto;
  }
  .section {
    padding-top: 3rem;
  }
  .band {
    margin-top: 3.5rem;
    padding: 3rem 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  .button,
  .card {
    transition: none;
  }
}
