/* ───────────────────────────────────────────────────────
   MyTripNext — Travel Guide Article (redesigned)
   Editorial / magazine treatment, respects existing tokens
   ─────────────────────────────────────────────────────── */

:root{
  --primary-50:  #f0fdf4;
  --primary-100: #dcfce7;
  --primary-200: #bbf7d0;
  --primary-300: #86efac;
  --primary-400: #4ade80;
  --primary-500: #198754;
  --primary-600: #157347;
  --primary-700: #0f5132;
  --primary-800: #0a3d28;
  --primary-900: #052e1c;

  --amber-400: #f59e0b;
  --amber-500: #d97706;
  --amber-600: #b45309;

  --ink-900: #0c1410;
  --ink-800: #1a2520;
  --ink-700: #2c3a33;
  --ink-600: #4b5e54;
  --ink-500: #6b7d72;
  --ink-400: #93a39a;
  --ink-300: #c0cac4;
  --ink-200: #e1e7e3;
  --ink-100: #eef2ef;
  --ink-50:  #f7f9f7;

  --paper:    #fdfbf6;        /* warm editorial page */
  --paper-2:  #f5f1e8;
  --line:     rgba(15,81,50,.10);
  --line-2:   rgba(15,81,50,.18);

  --radius-sm: 8px;
  --radius:    14px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 1px 2px rgba(15,81,50,.04), 0 8px 30px rgba(15,81,50,.06);
  --shadow-soft: 0 1px 2px rgba(15,81,50,.04), 0 2px 8px rgba(15,81,50,.05);

  --serif: "DM Serif Display", "Iowan Old Style", Georgia, serif;
  --sans:  "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:  "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --measure: 64ch;
}

*,*::before,*::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: 24px; }
body{
  margin: 0;
  font-family: var(--sans);
  color: var(--ink-900);
  background: var(--paper);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; }

/* ── Decorative background ───────────────────────────── */
.bg-gradient,
.bg-pattern{
  position: fixed; inset: 0;
  pointer-events: none; z-index: 0;
}
.bg-gradient{
  background:
    radial-gradient(ellipse 80% 50% at 8% 0%,    rgba(25,135,84,.10),  transparent 60%),
    radial-gradient(ellipse 60% 40% at 95% 12%,  rgba(217,119,6,.08),  transparent 60%),
    radial-gradient(ellipse 60% 60% at 50% 100%, rgba(15,81,50,.05),   transparent 60%);
}
.bg-pattern{
  opacity: .35;
  background-image:
    linear-gradient(to right,  rgba(15,81,50,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(15,81,50,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 100% 70% at 50% 30%, black, transparent 80%);
}

body > *{ position: relative; z-index: 1; }

/* ── Top nav ─────────────────────────────────────────── */
.g-nav{
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px max(28px, 5vw);
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: -0.005em;
}
.g-nav-back,
.g-nav-brand{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--ink-700);
  padding: 8px 14px 8px 10px;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.g-nav-back:hover{
  background: rgba(15,81,50,.05);
  border-color: var(--line);
  color: var(--primary-700);
}
.g-nav-brand{
  font-family: var(--serif);
  font-size: 17px;
  letter-spacing: -0.01em;
  color: var(--primary-700);
}
.g-nav-brand svg{ color: var(--primary-500); }

/* ───────────────────────────────────────────────────────
   Masthead
   ─────────────────────────────────────────────────────── */
.masthead{
  max-width: 1280px;
  margin: 12px auto 0;
  padding: 0 max(28px, 5vw) 64px;
}
.masthead-inner{
  max-width: 920px;
}

.masthead-meta{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 32px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-600);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.kicker{
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--primary-700);
}
.kicker-dot{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--amber-500);
  box-shadow: 0 0 0 4px rgba(217,119,6,.15);
}
.reading-time{ color: var(--ink-500); }

.masthead-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(44px, 6.4vw, 88px);
  line-height: 0.98;
  letter-spacing: -0.025em;
  margin: 0 0 28px;
  color: var(--ink-900);
  text-wrap: balance;
}
.masthead-title em{
  font-style: italic;
  color: var(--primary-600);
  position: relative;
}
.masthead-title em::after{
  content:"";
  position:absolute;
  left: 4%; right: 4%;
  bottom: 0.04em;
  height: 0.16em;
  background: rgba(217,119,6,.20);
  border-radius: 4px;
  z-index: -1;
}

.masthead-deck{
  font-size: clamp(18px, 1.5vw, 21px);
  line-height: 1.55;
  color: var(--ink-700);
  max-width: 64ch;
  margin: 0 0 36px;
  font-weight: 400;
  text-wrap: pretty;
}

/* Byline row */
.masthead-byline{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin-bottom: 32px;
}
.byline-author{
  display: flex; align-items: center; gap: 14px;
}
.byline-avatar{
  width: 44px; height: 44px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-600), var(--primary-800));
  color: var(--paper);
  display: grid; place-items: center;
  font-family: var(--serif); font-size: 22px;
  letter-spacing: -0.02em;
}
.byline-name{
  font-size: 14px; font-weight: 600; color: var(--ink-900);
}
.byline-role{
  font-size: 12.5px; color: var(--ink-500);
}
.byline-stats{
  display: flex; gap: 32px;
}
.byline-stat{ display: flex; flex-direction: column; }
.byline-stat-num{
  font-family: var(--serif);
  font-size: 26px; line-height: 1;
  color: var(--primary-700);
  letter-spacing: -0.01em;
}
.byline-stat-label{
  font-size: 11.5px;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}

/* Filter strip */
.filter-strip{
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 8px;
}
.filter-strip-label{
  font-size: 12px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-right: 6px;
}
.filter-pill{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 14px 7px 11px;
  font-size: 13px; font-weight: 500;
  color: var(--ink-800);
  background: white;
  border: 1px solid var(--line-2);
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: transform .15s ease;
}
.filter-pill:hover{ transform: translateY(-1px); }
.filter-pill .dot{
  width: 7px; height: 7px; border-radius: 50%;
}
.dot-warm   { background: #f59e0b; }
.dot-region { background: #2563eb; }
.dot-water  { background: #06b6d4; }
.dot-act    { background: var(--primary-500); }
.dot-budget { background: var(--amber-500); }
.dot-date   { background: #8b5cf6; }

/* Hero collage */
.masthead-collage{
  display: grid;
  grid-template-columns: 2.4fr 1fr 1fr 1fr 2.4fr;
  grid-template-rows: 220px;
  gap: 6px;
  margin-top: 56px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.collage-tile{
  background-size: cover;
  background-position: center;
  background-color: var(--ink-200);
  position: relative;
}
.collage-tile::after{
  content:""; position:absolute; inset:0;
  background: linear-gradient(180deg, transparent 60%, rgba(12,20,16,.25));
}

@media (max-width: 720px){
  .masthead-collage{
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 140px 140px;
  }
  .collage-tile:nth-child(n+5){ display: none; }
}

/* ───────────────────────────────────────────────────────
   Article — two-column with sticky TOC
   ─────────────────────────────────────────────────────── */
.article{
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 max(28px, 5vw) 80px;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 64px;
}

/* TOC */
.toc{ position: relative; }
.toc-inner{
  position: sticky; top: 32px;
  padding-top: 8px;
}
.toc-label{
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin: 0 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}
.toc-list{
  list-style: none; padding: 0; margin: 0 0 24px;
  display: flex; flex-direction: column; gap: 2px;
}
.toc-list a{
  display: grid;
  grid-template-columns: 28px 1fr;
  align-items: baseline;
  gap: 6px;
  padding: 7px 8px 7px 0;
  font-size: 13.5px;
  color: var(--ink-600);
  text-decoration: none;
  border-radius: 6px;
  transition: color .15s ease, background .15s ease;
}
.toc-list a span{
  font-family: var(--mono);
  font-size: 11px;
  color: var(--ink-400);
  font-weight: 500;
}
.toc-list a:hover{
  color: var(--primary-700);
  background: rgba(15,81,50,.04);
}
.toc-list a.is-active{
  color: var(--primary-700);
  font-weight: 600;
}
.toc-list a.is-active span{
  color: var(--primary-500);
  font-weight: 700;
}

.toc-cta{
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--primary-700);
  text-decoration: none;
  padding: 8px 0;
  border-top: 1px solid var(--line);
  width: 100%;
  margin-top: 8px;
}
.toc-cta:hover{ color: var(--amber-500); }

@media (max-width: 960px){
  .article{ grid-template-columns: 1fr; gap: 32px; }
  .toc{ display: none; }
}

/* Prose column */
.prose{
  max-width: 100%;
  min-width: 0;
}

/* Lede */
.lede{
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  line-height: 1.4;
  color: var(--ink-900);
  margin: 0 0 28px;
  letter-spacing: -0.01em;
  text-wrap: pretty;
}
.dropcap{
  float: left;
  font-family: var(--serif);
  font-size: clamp(72px, 7vw, 92px);
  line-height: 0.85;
  margin: 6px 12px -4px 0;
  color: var(--primary-600);
}

.prose > p{
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 22px;
  max-width: var(--measure);
  text-wrap: pretty;
}

/* Section heading */
.section-head{
  display: flex; align-items: center;
  gap: 16px;
  margin: 56px 0 40px;
}
.section-head-line{
  flex: 1; height: 1px;
  background: var(--line-2);
}
.section-head-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: 26px;
  letter-spacing: -0.01em;
  color: var(--ink-900);
  margin: 0;
}
.section-head-count{
  font-size: 12px;
  font-family: var(--mono);
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ───────────────────────────────────────────────────────
   Destination card
   ─────────────────────────────────────────────────────── */
.dest{
  margin: 0 0 72px;
  scroll-margin-top: 24px;
}
.dest-grid{
  display: grid;
  grid-template-columns: 96px 1fr 220px;
  grid-template-areas:
    "num   head    head"
    "photo photo   photo"
    "prose prose   stats"
    "months months stats"
    "tags  tags    tags"
    "act   act     act";
  gap: 22px 28px;
  align-items: start;
}

.dest-num-wrap{
  grid-area: num;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 6px;
  padding-top: 4px;
}
.dest-num{
  font-family: var(--serif);
  font-size: 56px;
  line-height: 1;
  color: var(--primary-600);
  letter-spacing: -0.02em;
}
.dest-rank{
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-500);
  white-space: wrap;
}

.dest-head{
  grid-area: head;
  padding-top: 12px;
}
.dest-loc{
  margin: 0 0 6px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.dest-name{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4vw, 52px);
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 8px;
}
.dest-name a{
  text-decoration: none;
  color: inherit;
  background-image: linear-gradient(transparent 88%, rgba(217,119,6,.25) 88%);
  background-size: 0% 100%;
  background-repeat: no-repeat;
  transition: background-size .35s ease;
}
.dest-name a:hover{ background-size: 100% 100%; }
.dest-tagline{
  margin: 0;
  font-size: 15px;
  color: var(--ink-600);
}
.dest-tagline em{
  color: var(--primary-700);
  font-weight: 500;
  font-style: normal;
}

/* Photo */
.dest-photo{
  grid-area: photo;
  position: relative;
  aspect-ratio: 16 / 7;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-color: var(--ink-200);
  margin: 0;
  box-shadow: var(--shadow-card);
}
.dest-photo::after{
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(12,20,16,.45));
  pointer-events: none;
}
.dest-photo figcaption{
  position: absolute;
  inset: auto 20px 18px auto;
  z-index: 1;
}

/* ── Security advisory badge – guide dest-photo ─────────────────────────────── */
.dest-photo.has-security-alert::before {
  content: 'Travel Advisory in Effect';
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #e8820c;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  white-space: nowrap;
  padding: 6px 16px;
  border-radius: 999px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.45);
  pointer-events: none;
  z-index: 2;
}
.photo-tag{
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-800);
  letter-spacing: -0.005em;
  box-shadow: 0 4px 14px rgba(0,0,0,.18);
}

/* Stats panel */
.dest-stats{
  grid-area: stats;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  box-shadow: var(--shadow-soft);
}
.stat-row{
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--line);
}
.stat-row:last-child{ border-bottom: none; padding-bottom: 0; }
.stat-row-key{
  font-size: 12.5px;
  color: var(--ink-500);
  font-weight: 500;
}
.stat-row-val{
  font-family: var(--serif);
  font-size: 22px;
  color: var(--ink-900);
  letter-spacing: -0.01em;
  line-height: 1;
}
.stat-row--match{
  flex-direction: column;
  align-items: stretch;
  gap: 8px;
}
.match-bar{
  height: 6px;
  background: var(--ink-100);
  border-radius: 999px;
  overflow: hidden;
}
.match-bar-fill{
  height: 100%;
  background: linear-gradient(90deg, var(--primary-500), var(--amber-500));
  border-radius: 999px;
}

/* Prose */
.dest-prose{
  grid-area: prose;
}
.dest-prose p{
  font-size: 16.5px;
  line-height: 1.7;
  color: var(--ink-700);
  margin: 0 0 16px;
  text-wrap: pretty;
}
.dest-prose p:last-child{ margin-bottom: 0; }

/* Month grid */
.dest-months{
  grid-area: months;
  margin-top: 8px;
}
.dest-months-label{
  font-size: 11.5px;
  font-weight: 600;
  color: var(--ink-500);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 10px;
}
.month-grid{
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 6px;
}
.mc{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 4px 11px;
  border-radius: 10px;
  background: var(--ink-50);
  border: 1px solid var(--line);
  font-size: 11px;
  font-weight: 600;
  color: var(--ink-600);
}
.mc span{
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.mc i{
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--ink-300);
}
.mc-perfect{
  background: linear-gradient(135deg, #d1fae5, #a7f3d0);
  border: 1.5px solid #34d399;
  box-shadow: 0 2px 10px rgba(16,185,129,.22), 0 0 0 2px rgba(16,185,129,.12);
  transform: scale(1.06);
  position: relative;
  z-index: 1;
  color: #065f46;
}
.mc-perfect i{
  background: #10b981;
  width: 10px; height: 10px;
  box-shadow: 0 0 0 3px rgba(16,185,129,.3), 0 0 8px rgba(16,185,129,.4);
}
.mc-ideal{ background: #dcfce7; border-color: #86efac; color: #166534; }
.mc-ideal i{ background: var(--primary-500); }
.mc-good{ background: #FEF3C7; border-color: #FDE68A; color: var(--amber-600); }
.mc-good i{ background: var(--amber-400); }
.mc-poor{ background: var(--ink-50); border-color: var(--line); color: var(--ink-400); }
.mc-poor i{ background: #9ca3af; }
.mc--current{
  outline: 2px solid var(--primary-500);
  outline-offset: 2px;
}
.mc--current b{
  position: absolute;
  bottom: -7px; left: 50%;
  transform: translateX(-50%);
  font-family: var(--mono);
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  background: var(--primary-700);
  color: white;
  padding: 2px 6px;
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
}

/* Month legend */
.month-legend{
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-top: 12px;
}
.mc-legend-item{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--ink-500);
}
.mc-legend-dot{
  width: 9px; height: 9px;
  border-radius: 50%;
  flex-shrink: 0;
}
.mc-legend-perfect{ background: #10b981; box-shadow: 0 0 0 2px rgba(16,185,129,0.3); }
.mc-legend-ideal  { background: var(--primary-500); }
.mc-legend-good   { background: #f59e0b; }
.mc-legend-poor   { background: #9ca3af; }

/* How ratings are calculated */
.besttime-how-btn{
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--ink-500);
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 6px;
  transition: color .2s, background .2s;
  margin-top: 8px;
}
.besttime-how-btn:hover{ color: var(--primary-600); background: rgba(25,135,84,.06); }
.besttime-how-btn svg{ flex-shrink: 0; }

.besttime-how-panel{
  background: var(--ink-50);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 10px;
  font-size: 12.5px;
  color: var(--ink-600);
  line-height: 1.6;
}
.besttime-how-panel p{ margin-bottom: 8px; }
.besttime-how-panel p:last-child{ margin-bottom: 0; }
.how-row{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 6px;
}
.how-dot{
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 5px;
}

/* Tags */
.dest-tags{
  grid-area: tags;
  display: flex; flex-wrap: wrap; gap: 6px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
}
.tag{
  display: inline-flex; align-items: center;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 500;
  background: rgba(15,81,50,.05);
  color: var(--primary-800);
  border: 1px solid rgba(15,81,50,.10);
  border-radius: 999px;
}
.tag-act:last-child{
  background: white;
  color: var(--ink-500);
}

/* Actions */
.dest-actions{
  grid-area: act;
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 12px;
  margin-top: 8px;
}
.btn{
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 20px;
  font-size: 14px;
  font-weight: 600;
  font-family: var(--sans);
  border-radius: 12px;
  text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn-primary{
  background: var(--primary-600);
  color: white;
  box-shadow: 0 1px 2px rgba(15,81,50,.20), 0 4px 12px rgba(15,81,50,.16);
}
.dest-actions .btn-primary{
  flex: none;
}
.btn-primary:hover{
  background: var(--primary-700);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(15,81,50,.20), 0 8px 22px rgba(15,81,50,.22);
}
.btn-secondary{
  background: white;
  color: var(--primary-700);
  border: 1px solid var(--line-2);
}
.btn-secondary:hover{
  background: var(--primary-50);
  border-color: var(--primary-300);
}
.actions-meta{
  margin-left: auto;
  font-size: 13px;
  color: var(--ink-500);
  font-weight: 500;
}

/* Responsive: collapse three-column dest grid */
@media (max-width: 880px){
  .dest-grid{
    grid-template-columns: 90px 1fr;
    grid-template-areas:
      "num   head"
      "photo photo"
      "stats stats"
      "prose prose"
      "months months"
      "tags  tags"
      "act   act";
    gap: 18px 18px;
  }
  .dest-num{ font-size: 44px; }
  .dest-photo{ aspect-ratio: 16 / 9; }
  .actions-meta{ margin-left: 0; flex-basis: 100%; }
  .byline-stats{ gap: 20px; }
}

/* ───────────────────────────────────────────────────────
   Pull quote
   ─────────────────────────────────────────────────────── */
.pullquote{
  margin: 56px 0 64px;
  padding: 32px 0 32px 28px;
  border-left: 3px solid var(--amber-500);
  max-width: 80ch;
}
.pullquote p{
  font-family: var(--serif);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.35;
  color: var(--ink-900);
  margin: 0 0 16px;
  letter-spacing: -0.01em;
  text-wrap: balance;
}
.pullquote cite{
  font-style: normal;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-500);
  letter-spacing: 0.02em;
}

/* More note */
.more-note{
  display: flex; align-items: flex-start; gap: 12px;
  margin: 56px 0 0;
  padding: 18px 22px;
  background: rgba(217,119,6,.06);
  border: 1px solid rgba(217,119,6,.18);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--ink-700);
  line-height: 1.55;
}
.more-note svg{
  color: var(--amber-500);
  flex-shrink: 0;
  margin-top: 2px;
}
.more-note strong{ color: var(--ink-900); }
.more-note a{ color: var(--primary-600); font-weight: 600; }

/* ───────────────────────────────────────────────────────
   Closing CTA
   ─────────────────────────────────────────────────────── */
.closing-cta{
  margin: 0 max(20px, 4vw) 56px;
  padding: 80px max(28px, 5vw);
  background:
    radial-gradient(ellipse 50% 80% at 0% 100%,    rgba(217,119,6,.18), transparent 60%),
    radial-gradient(ellipse 60% 80% at 100% 0%,    rgba(34,197,94,.15), transparent 60%),
    linear-gradient(135deg, var(--primary-800) 0%, var(--primary-900) 100%);
  border-radius: var(--radius-xl);
  color: white;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.closing-cta::before{
  content: "";
  position: absolute; inset: 0;
  background-image:
    linear-gradient(to right,  rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black, transparent);
}
.closing-cta-inner{
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.closing-kicker{
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-200);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}
.closing-title{
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(36px, 4.8vw, 56px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.closing-deck{
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.55;
  color: rgba(255,255,255,.8);
  margin: 0 auto 32px;
  max-width: 56ch;
  text-wrap: pretty;
}
.closing-btn{
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  background: white;
  color: var(--primary-800);
  font-size: 15px;
  font-weight: 600;
  border-radius: 12px;
  text-decoration: none;
  box-shadow: 0 8px 28px rgba(0,0,0,.20);
  transition: transform .15s ease;
}
.closing-btn:hover{ transform: translateY(-2px); }

.closing-meta{
  margin-top: 32px;
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  font-size: 13px;
  color: rgba(255,255,255,.65);
}
.closing-meta strong{
  color: white;
  font-weight: 600;
}
.dot-sep{ color: rgba(255,255,255,.35); }

/* Footer */
.g-footer{
  text-align: center;
  padding: 24px max(28px, 5vw) 48px;
  font-size: 13px;
  color: var(--ink-500);
}
.g-footer a{
  color: var(--primary-700);
  font-weight: 600;
  text-decoration: none;
}
/* ── Author byline – personal link styles ───────────────────────────────── */
a.byline-avatar {
  text-decoration: none;
  flex-shrink: 0;
  transition: box-shadow 0.2s, transform 0.15s;
}
a.byline-avatar:hover {
  box-shadow: 0 0 0 3px var(--primary-200, #bbf7d0);
  transform: scale(1.05);
}
.byline-name--link {
  text-decoration: none;
  color: var(--ink-900);
  transition: color 0.15s;
}
.byline-name--link:hover {
  color: var(--primary-600);
  text-decoration: underline;
}