/* =========================================================
   READING PROGRESS BAR
   ========================================================= */
.read-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 250; background: transparent;
}
.read-progress span {
  display: block; height: 100%;
  width: 0%;
  background: var(--amber);
  transition: width 0.1s linear;
}

/* =========================================================
   ARTICLE HERO
   ========================================================= */
.a-hero {
  padding: clamp(120px, 18vh, 200px) var(--pad-x) clamp(40px, 6vh, 64px);
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
}
.a-crumb {
  display: inline-flex; flex-wrap: wrap; align-items: center; gap: 12px;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber); font-variation-settings: "MONO" 0.5;
  margin-bottom: 36px;
}
.a-crumb::before { content: ''; width: 40px; height: 1px; background: var(--amber); }
.a-crumb a { color: var(--white-dim); transition: color 0.3s var(--ease); }
.a-crumb a:hover { color: var(--amber); }
.a-crumb .slash { color: var(--white-mute); }
.a-crumb .now { color: var(--white); }

.a-type {
  display: inline-flex; align-items: center; gap: 14px;
  margin-bottom: 28px;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--orange); font-variation-settings: "MONO" 0.5;
  font-weight: 600;
}
.a-type .pip {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--orange);
}
.a-type .vol {
  color: var(--white-mute);
  padding-left: 14px;
  border-left: 1px solid var(--line-white);
  margin-left: 8px;
  font-weight: 500;
}

.a-title {
  font-family: var(--ff-display);
  font-size: clamp(48px, 8.4vw, 140px);
  line-height: 0.94;
  letter-spacing: -0.025em;
  font-variation-settings: "opsz" 144, "SOFT" 95, "wght" 600;
  color: var(--white);
  max-width: 22ch;
  font-style: italic;
}
.a-title em {
  color: var(--amber);
  font-style: normal;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 700;
}
.a-title .stop { color: var(--orange); font-style: normal; }

.a-strap {
  margin-top: 22px;
  font-family: var(--ff-body);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.5;
  color: var(--white-dim);
  max-width: 56ch;
  font-variation-settings: "opsz" 22;
}
.a-strap em { font-style: italic; color: var(--amber); }

.a-meta {
  margin-top: clamp(40px, 6vh, 64px);
  padding: 18px 0;
  border-top: 1px solid var(--line-white);
  border-bottom: 1px solid var(--line-white);
  display: grid;
  grid-template-columns: auto auto auto auto 1fr;
  gap: clamp(20px, 3vw, 56px);
  align-items: baseline;
  font-family: var(--ff-label);
  font-size: 11px; letter-spacing: 0.22em;
  text-transform: uppercase;
  font-variation-settings: "MONO" 0.5;
  color: var(--white-mute);
}
.a-meta .k { color: var(--white-mute); display: flex; gap: 10px; align-items: baseline; }
.a-meta .k strong {
  color: var(--white); font-weight: 500;
  font-family: var(--ff-display); font-style: italic;
  font-size: 18px;
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 600;
  letter-spacing: 0;
}
.a-meta .share {
  justify-self: end;
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--white);
}
.a-meta .share a {
  padding: 6px 10px;
  border: 1px solid var(--line-white);
  border-radius: 999px;
  font-family: var(--ff-label);
  font-size: 10px; letter-spacing: 0.2em;
  transition: border-color 0.25s var(--ease), color 0.25s var(--ease);
}
.a-meta .share a:hover { border-color: var(--amber); color: var(--amber); }

@media (max-width: 960px) {
  .a-meta { grid-template-columns: 1fr 1fr; gap: 14px 22px; }
  .a-meta .share { grid-column: 1 / -1; justify-self: start; }
}

/* hero image */
.a-cover {
  margin: clamp(24px, 4vh, 48px) auto 0;
  max-width: var(--max-w);
  padding: 0 var(--pad-x);
}
.a-cover figure {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-white);
  background: var(--navy-deep);
}
.a-cover img {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.6s var(--ease);
}
.a-cover figure:hover img { transform: scale(1.02); }
.a-cover figcaption {
  margin-top: 12px;
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
  display: inline-flex; align-items: center; gap: 12px;
}
.a-cover figcaption::before { content: ''; width: 28px; height: 1px; background: var(--amber); }

/* simplified hero figure (used in template) */
.a-figure {
  margin: clamp(24px, 4vh, 48px) auto 0;
  max-width: var(--max-w);
  padding: 0 var(--pad-x);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line-white);
  background: var(--navy-deep);
}
.a-figure picture { display: block; }
.a-figure img {
  display: block; width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: saturate(0.92);
  transition: transform 1.6s var(--ease);
}
.a-figure:hover img { transform: scale(1.02); }

/* =========================================================
   ARTICLE BODY
   ========================================================= */
.a-body {
  max-width: var(--read-w);
  margin: 0 auto;
  padding: clamp(64px, 10vh, 120px) var(--pad-x) clamp(40px, 6vh, 80px);
  font-family: var(--ff-body);
  font-size: clamp(18px, 1.4vw, 21px);
  line-height: 1.7;
  color: var(--white);
  font-variation-settings: "opsz" 22;
}
.a-body p { margin-bottom: 1.2em; color: var(--white); text-wrap: pretty; }
.a-body p em { font-style: italic; color: var(--amber); }
.a-body p strong { font-weight: 600; color: var(--white); font-variation-settings: "opsz" 22, "wght" 600; }
.a-body a { color: var(--amber); border-bottom: 1px solid rgba(236,132,50,0.4); transition: border-color 0.25s var(--ease); }
.a-body a:hover { border-bottom-color: var(--amber); }

/* dropcap on first paragraph */
.a-body > p.lede {
  font-family: var(--ff-display);
  font-size: clamp(22px, 1.9vw, 28px);
  line-height: 1.5;
  font-variation-settings: "opsz" 32, "SOFT" 80, "wght" 400;
  color: var(--white);
  margin-bottom: 1.3em;
}
.a-body > p.lede::first-letter {
  font-family: var(--ff-display);
  font-style: italic;
  font-variation-settings: "opsz" 144, "SOFT" 100, "wght" 700;
  font-size: 4.4em;
  line-height: 0.8;
  float: left;
  padding: 0.05em 0.1em 0 0;
  color: var(--amber);
}

/* pull quote — single allowed embellishment */
.a-body blockquote {
  margin: 1.8em 0;
  padding: 8px 0 8px 28px;
  border-left: 2px solid var(--amber);
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(22px, 2vw, 30px);
  line-height: 1.3;
  letter-spacing: -0.005em;
  font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 500;
  color: var(--white);
}
.a-body blockquote em { color: var(--amber); font-style: normal; font-variation-settings: "opsz" 48, "SOFT" 100, "wght" 700; }
.a-body blockquote .by {
  display: block;
  margin-top: 12px;
  font-family: var(--ff-label);
  font-style: normal; font-size: 10px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
}

/* small italic aside */
.a-body .aside {
  font-family: var(--ff-display);
  font-style: italic;
  color: var(--white-dim);
  font-size: clamp(17px, 1.3vw, 19px);
  line-height: 1.55;
  font-variation-settings: "opsz" 24, "SOFT" 100, "wght" 400;
}

/* signoff */
.a-body .signoff {
  margin-top: 56px;
  font-family: var(--ff-script);
  font-size: 38px; line-height: 1;
  color: var(--amber);
  display: inline-flex; align-items: center; gap: 18px;
}
.a-body .signoff::before {
  content: ''; width: 48px; height: 1px;
  background: var(--amber); opacity: 0.5;
}
.a-body .post-meta {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid var(--line-white);
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
  display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
}

/* =========================================================
   RELATED / MORE FROM THE NOTEBOOK
   ========================================================= */
.a-more {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: clamp(40px, 6vh, 80px) var(--pad-x) clamp(60px, 8vh, 96px);
  border-top: 1px solid var(--line-white);
}
.a-more .label {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber); font-variation-settings: "MONO" 0.5;
  margin-bottom: 32px;
}
.a-more .label::before { content: ''; width: 40px; height: 1px; background: var(--amber); }

/* simplified heading variant used in template */
.a-more-title {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--ff-label); font-size: 11px;
  letter-spacing: 0.26em; text-transform: uppercase;
  color: var(--amber); font-variation-settings: "MONO" 0.5;
  margin-bottom: 32px;
  font-weight: 600;
}
.a-more-title::before { content: ''; width: 40px; height: 1px; background: var(--amber); }

.a-more-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2vw, 32px);
}
.a-more-card {
  position: relative;
  padding: 24px 26px 26px;
  border: 1px solid var(--line-white);
  display: flex; flex-direction: column; gap: 14px;
  min-height: 160px;
  transition: border-color 0.25s var(--ease), background 0.25s var(--ease), transform 0.4s var(--ease);
}
.a-more-card:hover { border-color: var(--amber); background: rgba(236,132,50,0.04); transform: translateY(-2px); }
.a-more-card .type {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--amber); font-variation-settings: "MONO" 0.5;
  font-weight: 600;
}
.a-more-card .type .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.a-more-card h3 {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(22px, 1.9vw, 26px);
  line-height: 1.15;
  font-variation-settings: "opsz" 32, "SOFT" 100, "wght" 600;
  color: var(--white);
}
.a-more-card h3 em { color: var(--amber); font-style: normal; font-variation-settings: "opsz" 32, "SOFT" 100, "wght" 700; }
.a-more-card .date,
.a-more-card .a-more-date {
  margin-top: auto;
  font-family: var(--ff-label); font-size: 10px;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white-mute); font-variation-settings: "MONO" 0.5;
}
.a-more-card .arrow {
  position: absolute; bottom: 24px; right: 24px;
  font-family: var(--ff-body); font-style: italic;
  font-size: 20px; color: var(--amber);
  transition: transform 0.4s var(--ease);
}
.a-more-card:hover .arrow { transform: translateX(6px); }
.a-more-card a.full { position: absolute; inset: 0; font-size: 0; color: transparent; }

/* simplified link-card variant (template uses <a class="a-more-card"> directly) */
a.a-more-card {
  display: flex; flex-direction: column; gap: 8px;
  min-height: 120px; text-decoration: none;
}
.a-more-name {
  font-family: var(--ff-display);
  font-style: italic;
  font-size: clamp(20px, 1.7vw, 24px);
  line-height: 1.2;
  font-variation-settings: "opsz" 32, "SOFT" 100, "wght" 600;
  color: var(--white);
}
a.a-more-card:hover .a-more-name { color: var(--amber); }

@media (max-width: 880px) { .a-more-grid { grid-template-columns: 1fr; } }
