:root {
  --bg:           #FFFFFF;
  --ink:          #0A0A0A;
  --ink-soft:     #1F1F1F;
  --muted:        #5C5C5C;
  --muted-soft:   #8A8A8A;
  --line:         #E8E8E8;
  --line-strong:  #C4C4C4;

  --green:        #34E0A1;
  --green-deep:   #25C089;
  --blue:         #2034EE;
  --orange:       #FF530D;

  --sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --max:    1320px;
  --gutter: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: 0; color: inherit; }
input { font: inherit; color: inherit; }
::selection { background: var(--ink); color: #fff; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* NAV */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 48px;
  padding: 18px 0;
}
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex; gap: 40px;
  justify-content: center;
  list-style: none;
}
.nav-links a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-soft);
  letter-spacing: -0.005em;
  transition: color .25s ease;
}
.nav-links a:hover { color: var(--ink); }

.nav-tools { display: flex; align-items: center; gap: 12px; }
.search-pill {
  display: flex; align-items: center; gap: 8px;
  border: 1px solid var(--line-strong);
  border-radius: 999px;
  padding: 9px 16px;
  background: #fff;
}
.search-pill svg { width: 14px; height: 14px; stroke: #6E6E6E; }
.search-pill input {
  border: 0; outline: 0; background: transparent;
  width: 160px; font-size: 13.5px;
}
.search-pill input::placeholder { color: var(--muted-soft); }

.btn {
  display: inline-flex; align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: -0.005em;
  transition: all .25s ease;
  white-space: nowrap;
}
.nav-cta {
  border: 1px solid var(--blue);
  color: var(--blue);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: 13.5px;
  background: #fff;
}
.nav-cta:hover { background: var(--blue); color: #fff; }
.nav-cta svg { width: 14px; height: 14px; stroke: currentColor; flex: 0 0 auto; }

/* HERO */
.hero { padding: 80px 0 130px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-headline {
  font-size: clamp(44px, 5vw, 68px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.15;
  color: var(--ink);
}
.hero-sub {
  margin-top: 30px;
  font-size: 16.5px;
  color: var(--muted);
  max-width: 440px;
  line-height: 1.55;
}
.hero-cta {
  margin-top: 48px;
  background: var(--green);
  color: var(--ink);
  padding: 18px 30px;
  border-radius: 14px;
  font-size: 15px;
  font-weight: 600;
}
.hero-cta:hover { background: var(--green-deep); }
.hero-cta svg { width: 16px; height: 16px; stroke: currentColor; flex: 0 0 auto; }

/* Right-column stage. Cover at top-left of column.
   Callout overlaps the BOTTOM-RIGHT quadrant of the cover.
   Chip is a vertical stack BELOW the cover with the green icon hanging up
   into the cover's bottom edge. */
.hero-stage {
  position: relative;
  height: 580px;        /* sized for cover + callout overhang */
}
.hero-cover {
  position: absolute;
  top: 0;
  left: 30px;
  width: 410px;
  aspect-ratio: 612 / 792;
  border-radius: 14px;  /* tighter than before */
  overflow: hidden;
  box-shadow: 0 24px 48px -22px rgba(0,0,0,0.18);
}
.hero-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Blue callout — overlaps BOTTOM-RIGHT quadrant of cover */
.hero-callout {
  position: absolute;
  right: 0;
  top: 250px;            /* lower position — anchors callout to cover's bottom half */
  width: 360px;
  padding: 30px 28px 26px;
  background: var(--blue);
  color: #fff;
  border-radius: 18px;   /* tighter than before */
  z-index: 3;
  box-shadow: 0 24px 50px -20px rgba(32,52,238,0.32);
}
.hero-callout-arrow {
  position: absolute;
  top: -22px;            /* arrow center near corner — 50% inside, 50% outside */
  right: -22px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--orange);
  display: grid; place-items: center;
  /* The 8px white ring creates the "notched corner" effect — visually cuts a
     white moat out of the blue callout where they overlap, matching Figma. */
  box-shadow: 0 0 0 8px #fff, 0 6px 16px -4px rgba(255, 83, 13, 0.45);
  z-index: 5;
}
.hero-callout-arrow svg { width: 16px; height: 16px; stroke: #fff; }
.hero-callout h3 {
  font-size: 26px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 22px;
  max-width: 240px;
}
.hero-callout ul { list-style: none; display: block; }
.hero-callout li {
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.28);   /* visible white divider */
  line-height: 1.4;
}
.hero-callout li:first-child { padding-top: 0; }
/* Note: keeping border-bottom on every item, including last — matches Figma */

.hero-callout-link {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,0.95);
  font-size: 13.5px;
  font-weight: 400;
  text-decoration: none;
  width: 100%;
}
.hero-callout-link:hover { opacity: 0.85; }
.hero-callout-link svg { width: 14px; height: 14px; stroke: #fff; flex: 0 0 auto; }

/* FEATURED */
.featured { padding: 60px 0 96px; }
.featured-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.featured-cover {
  aspect-ratio: 612 / 792;
  border-radius: 22px;
  overflow: hidden;
  background: #1a1a1a;
  box-shadow: 0 24px 60px -20px rgba(0,0,0,0.22);
}
.featured-cover img { width: 100%; height: 100%; object-fit: cover; }

.featured-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--orange);
  margin-bottom: 14px;
}
.featured-title {
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.025em;
  margin-bottom: 18px;
}
.featured-desc {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 28px;
  max-width: 460px;
}

.btn-view {
  border: 1px solid var(--ink);
  color: var(--ink);
  background: #fff;
  padding: 12px 22px;
  border-radius: 999px;
  font-size: 13.5px;
  font-weight: 500;
}
.btn-view:hover { background: var(--ink); color: #fff; }
.btn-view svg { width: 14px; height: 14px; stroke: currentColor; flex: 0 0 auto; }

.featured-row {
  display: flex;
  gap: 20px;
  margin-top: 48px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  /* fade-out edges so additional cards hint at "more to scroll" */
  mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
  -webkit-mask-image: linear-gradient(to right, black calc(100% - 40px), transparent 100%);
  padding-right: 40px;
  padding-bottom: 4px;
}
.featured-row::-webkit-scrollbar { display: none; }
.related-card {
  flex: 0 0 220px;
  display: grid;
  gap: 14px;
  justify-items: center;
  scroll-snap-align: start;
}
.related-cover {
  width: 100%;
  aspect-ratio: 612 / 792;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 12px 28px -10px rgba(0,0,0,0.14);
}
.related-cover.placeholder {
  display: grid; place-items: center;
  text-align: center;
  padding: 18px;
  color: #fff;
}
.placeholder .label-row {
  position: absolute; top: 16px; left: 16px; right: 16px;
  display: flex; justify-content: space-between;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  font-weight: 600;
}
.placeholder h4 {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin-bottom: 6px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.placeholder p {
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.78);
}
.cov-diversity { background: linear-gradient(155deg, #2A1A3F 0%, #6B2FB3 60%, #C95FB7 100%); }
.cov-travel    { background: linear-gradient(155deg, #5C2C0F 0%, #C46133 50%, #F5B04C 100%); }
.cov-cuisine   { background: linear-gradient(155deg, #6E1E1E 0%, #C44E32 50%, #F2A562 100%); }
.cov-pets      { background: linear-gradient(155deg, #1F3D2D 0%, #4A7E5C 50%, #95C49B 100%); }

.related-title {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.005em;
  text-align: center;
}
.related-btn {
  border: 1px solid var(--ink);
  color: var(--ink);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  background: #fff;
}
.related-btn:hover { background: var(--ink); color: #fff; }

/* TOPICS */
.topics { padding: 80px 0 96px; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-head h2 {
  font-size: clamp(28px, 3vw, 38px);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.topic-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}
.topic-card {
  position: relative;
  aspect-ratio: 1 / 1;
  transition: transform .35s ease;
}
.topic-card:hover { transform: translateY(-4px); }

/* The notched image surface — SVG clip-path with rounded inner corners */
.topic-card-image {
  position: absolute;
  inset: 0;
  clip-path: url(#topic-card-shape);
}
.topic-card-image::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.25) 0%, rgba(0,0,0,0) 35%);
}

/* Green arrow chip — sits in the top-right notch white area */
.topic-arrow {
  position: absolute;
  top: 8px; right: 8px;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  z-index: 3;
  transition: transform .3s ease;
}
.topic-card:hover .topic-arrow { transform: rotate(-45deg); }
.topic-arrow svg { width: 14px; height: 14px; stroke: #0A0A0A; }

/* Label — sits in the bottom-left notch white area */
.topic-label {
  position: absolute;
  bottom: 6px;
  left: 14px;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  z-index: 2;
}

.topic-travel    { background: linear-gradient(160deg, #5B7AA0 0%, #9DB7CF 100%); }
.topic-pets      { background: linear-gradient(160deg, #C9956C 0%, #E5BFA0 100%); }
.topic-lifestyle { background: linear-gradient(160deg, #7B4F8A 0%, #B883C5 100%); }
.topic-cuisine   { background: linear-gradient(160deg, #A03A2C 0%, #D67050 100%); }

/* EDITOR'S PICK */
.editors { padding: 60px 0 100px; }
.editors-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.4fr;
  gap: 64px;
  align-items: center;
}
.editors-tag {
  display: inline-flex;
  background: var(--ink);
  color: #fff;
  padding: 7px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  margin-bottom: 22px;
}
.editors-title {
  font-size: clamp(34px, 3.6vw, 46px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 20px;
}
.editors-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 360px;
}

/* 3-column vertical marquee. 8 cards per column, duplicated for seamless loop. */
.story-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  height: 600px;
  overflow: hidden;
}
.story-column {
  display: flex;
  flex-direction: column;
  gap: 18px;
  animation: scrollUp var(--col-speed, 38s) linear infinite;
}
.story-column:nth-child(1) { --col-speed: 42s; }
.story-column:nth-child(2) { --col-speed: 36s; animation-delay: -8s; }
.story-column:nth-child(3) { --col-speed: 48s; animation-delay: -3s; }

.story-grid:hover .story-column { animation-play-state: paused; }

@keyframes scrollUp {
  from { transform: translateY(0); }
  to   { transform: translateY(-50%); }
}

.story-card {
  flex: 0 0 auto;
  aspect-ratio: 612 / 792;
  border-radius: 14px;
  overflow: hidden;
  cursor: pointer;
  transition: transform .35s ease;
}
.story-card:hover { transform: scale(1.02); }
.story-card img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Placeholder gradients — to be replaced with real photoshop thumbnails */
.t1  { background: linear-gradient(160deg, #1F4D6B 0%, #4A85AD 100%); }
.t2  { background: linear-gradient(160deg, #6B1F3D 0%, #B14A6B 100%); }
.t3  { background: linear-gradient(160deg, #5C4A1E 0%, #C0995A 100%); }
.t4  { background: linear-gradient(160deg, #3D2563 0%, #6E4FA0 100%); }
.t5  { background: linear-gradient(160deg, #2C5C3F 0%, #5B9F77 100%); }
.t6  { background: linear-gradient(160deg, #6B341B 0%, #B26B45 100%); }
.t7  { background: linear-gradient(160deg, #1B3D5C 0%, #4A6FA0 100%); }
.t8  { background: linear-gradient(160deg, #5C1B3F 0%, #A04A6E 100%); }
.t9  { background: linear-gradient(160deg, #4A3D1E 0%, #A08F5A 100%); }
.t10 { background: linear-gradient(160deg, #2E1B5C 0%, #5A4AA0 100%); }
.t11 { background: linear-gradient(160deg, #1E5C4A 0%, #4A9F8F 100%); }
.t12 { background: linear-gradient(160deg, #5C2E1B 0%, #A06F4A 100%); }
.t13 { background: linear-gradient(160deg, #2A6B7B 0%, #5AAFC0 100%); }
.t14 { background: linear-gradient(160deg, #7B2A4A 0%, #C05A82 100%); }
.t15 { background: linear-gradient(160deg, #6B5A2A 0%, #C0A55A 100%); }
.t16 { background: linear-gradient(160deg, #4A2A7B 0%, #825AC0 100%); }
.t17 { background: linear-gradient(160deg, #2A7B4A 0%, #5AC082 100%); }
.t18 { background: linear-gradient(160deg, #7B4A2A 0%, #C0825A 100%); }
.t19 { background: linear-gradient(160deg, #1B3F5C 0%, #4A82A0 100%); }
.t20 { background: linear-gradient(160deg, #5C1B3D 0%, #A04A6B 100%); }
.t21 { background: linear-gradient(160deg, #4A3D2A 0%, #A0825A 100%); }
.t22 { background: linear-gradient(160deg, #3D1E5C 0%, #6E4AA0 100%); }
.t23 { background: linear-gradient(160deg, #1E5C3D 0%, #4A9F6E 100%); }
.t24 { background: linear-gradient(160deg, #5C3D2A 0%, #A0825A 100%); }

/* FOOTER */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  padding: 60px 0 36px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 1.4fr;
  gap: 56px;
  align-items: start;
}
.footer-brand img { height: 44px; filter: invert(1); margin-bottom: 16px; }
.footer-brand p { max-width: 360px; font-size: 13.5px; line-height: 1.55; color: rgba(255,255,255,0.62); }

.footer-form {
  display: flex; align-items: center;
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 999px;
  padding: 4px 4px 4px 22px;
  margin-bottom: 28px;
}
.footer-form input {
  flex: 1;
  background: transparent; border: 0; outline: 0;
  color: #fff;
  font-size: 13.5px;
  padding: 12px 0;
}
.footer-form input::placeholder { color: rgba(255,255,255,0.4); }
.footer-form button {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: grid; place-items: center;
  transition: background .25s ease;
}
.footer-form button:hover { background: rgba(255,255,255,0.2); }
.footer-form button svg { width: 16px; height: 16px; stroke: #fff; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12.5px;
  color: rgba(255,255,255,0.5);
}
.back-top {
  display: inline-flex; align-items: center;
  background: rgba(255,255,255,0.13);
  padding: 8px 18px;
  border-radius: 999px;
  font-size: 12.5px;
  color: #fff;
  transition: background .25s ease;
}
.back-top:hover { background: rgba(255,255,255,0.22); }

/* RESPONSIVE */
@media (max-width: 1080px) {
  .nav-links { gap: 28px; }
  .search-pill input { width: 110px; }
  .hero-grid, .featured-grid, .editors-grid { gap: 40px; }
  .hero-cover { width: 360px; left: 20px; }
  .hero-callout { width: 320px; top: 220px; }
  .hero-stage { height: 560px; }
}
@media (max-width: 880px) {
  .nav-inner { grid-template-columns: auto auto; gap: 12px; }
  .nav-links, .search-pill { display: none; }
  .hero-grid, .featured-grid, .editors-grid { grid-template-columns: 1fr; }
  .hero-stage { height: auto; min-height: 580px; position: relative; }
  .hero-cover { position: relative; left: 0; width: 280px; margin: 0 auto; }
  .hero-callout { position: relative; right: 0; width: 100%; max-width: 360px; top: 0; margin: 30px auto 0; }
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid { grid-template-columns: 1fr; height: 540px; }
  .story-column:nth-child(n+2) { display: none; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 14px; }
}

/* =================== Day 4 additions =================== */

/* =====================================================================
   ARTICLE PAGE
   ===================================================================== */
.article {
  padding: 60px 0 100px;
  max-width: 760px;
  margin: 0 auto;
}
.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 22px;
}
.article-category-pill {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.article-meta-dot { width: 3px; height: 3px; border-radius: 50%; background: var(--muted-soft); }
.article-title {
  font-size: clamp(34px, 4.6vw, 52px);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin-bottom: 18px;
}
.article-excerpt {
  font-size: 19px;
  color: var(--muted);
  line-height: 1.5;
  margin-bottom: 36px;
}
.article-hero {
  margin: 36px -40px;
  border-radius: 20px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.article-body {
  font-size: 17.5px;
  line-height: 1.75;
  color: var(--ink);
}
.article-body h1, .article-body h2, .article-body h3, .article-body h4 {
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 1.4em 0 0.5em;
}
.article-body h1 { font-size: 36px; }
.article-body h2 { font-size: 28px; }
.article-body h3 { font-size: 22px; }
.article-body h4 { font-size: 18px; }
.article-body p { margin: 0 0 1.3em; }
.article-body a {
  color: var(--blue);
  border-bottom: 1px solid currentColor;
  transition: opacity .2s ease;
}
.article-body a:hover { opacity: 0.65; }
.article-body img {
  border-radius: 14px;
  margin: 1.4em 0;
  width: 100%;
  height: auto;
}
.article-body ul, .article-body ol { margin: 0 0 1.3em 1.6em; }
.article-body li { margin: 0.4em 0; }
.article-body blockquote {
  border-left: 3px solid var(--blue);
  padding: 4px 24px;
  margin: 1.6em 0;
  color: var(--muted);
  font-style: italic;
  font-size: 19px;
  line-height: 1.5;
}
.article-body pre {
  background: var(--ink);
  color: #F5F5F5;
  padding: 20px;
  border-radius: 14px;
  overflow-x: auto;
  margin: 1.4em 0;
  font-size: 14px;
  line-height: 1.65;
}
.article-body code {
  background: rgba(10,10,10,0.06);
  padding: 2px 7px;
  border-radius: 5px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.9em;
}
.article-body pre code { background: transparent; padding: 0; color: inherit; }
.article-body hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2.4em 0;
}

.article-tags {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.article-tag {
  display: inline-block;
  padding: 6px 14px;
  background: #F5F5F0;
  border-radius: 999px;
  font-size: 12.5px;
  color: var(--ink-soft);
  transition: background .2s ease;
}
.article-tag:hover { background: var(--ink); color: #fff; }

.article-related {
  background: #FAFAF8;
  padding: 80px 0;
  border-top: 1px solid var(--line);
}
.article-related-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  margin-bottom: 36px;
}
.article-related-head h3 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.article-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.related-article-card {
  display: block;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  transition: transform .25s ease, border-color .25s ease;
}
.related-article-card:hover {
  transform: translateY(-3px);
  border-color: var(--line-strong);
}
.related-article-card-image {
  aspect-ratio: 16 / 9;
  background: linear-gradient(160deg, #1F4D6B 0%, #4A85AD 100%);
}
.related-article-card-image img { width: 100%; height: 100%; object-fit: cover; }
.related-article-card-body { padding: 20px 22px 24px; }
.related-article-card-cat {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.related-article-card h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.005em;
  line-height: 1.3;
  color: var(--ink);
}

/* =====================================================================
   CATEGORY LISTING
   ===================================================================== */
.category-hero {
  padding: 80px 0 60px;
  text-align: center;
  border-bottom: 1px solid var(--line);
}
.category-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 16px;
}
.category-title {
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: 18px;
}
.category-desc {
  font-size: 18px;
  color: var(--muted);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.5;
}
.category-grid {
  padding: 60px 0 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
}
.category-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-bottom: 80px;
  font-size: 14px;
}
.category-pager a {
  padding: 10px 18px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  font-weight: 500;
  transition: all .2s ease;
}
.category-pager a:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.category-empty {
  text-align: center;
  padding: 80px 24px;
  color: var(--muted);
  font-size: 17px;
}

/* =====================================================================
   404
   ===================================================================== */
.notfound {
  padding: 120px 0 140px;
  text-align: center;
  max-width: 580px;
  margin: 0 auto;
}
.notfound-num {
  font-size: 120px;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 28px;
}
.notfound h1 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 16px;
}
.notfound p {
  font-size: 17px;
  color: var(--muted);
  line-height: 1.55;
  margin-bottom: 36px;
}

/* Newsletter form states */
.footer-form.is-loading button { opacity: 0.5; pointer-events: none; }
.footer-msg {
  margin-top: 14px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.85);
  min-height: 18px;
}
.footer-msg.is-error   { color: #FF8A6B; }
.footer-msg.is-success { color: #34E0A1; }

/* Article hero responsive */
@media (max-width: 800px) {
  .article-hero { margin: 24px -24px; border-radius: 0; }
  .article { padding: 40px 24px 80px; }
  .article-related-grid, .category-grid { grid-template-columns: 1fr; }
  .article-related-head { flex-direction: column; align-items: start; gap: 16px; }
}
