/* The Economic Body — series skin.
   Palette and type are lifted from the approved Week-1 Signal so the landing and
   every piece read as one series: a bone/parchment ground, forest-and-sage green,
   gold as a secondary. TYPE is house-locked: EB Garamond for body text, Cormorant
   Garamond for display, DM Sans for interface labels. COLOUR is per-series (this
   series' green/sage/gold). This file is the series' single source of visual truth. */

@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  --bg: #f5f0e8;
  --surface: #ffffff;
  --surface2: #ede8dc;
  --border: #d0c8b8;
  --text: #1a3a2a;
  --muted: #5a7060;
  --primary: #2d5a3d;
  --accent: #5a8a6a;
  --accent-light: #a3c4a8;
  --gold: #c8a84b;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'EB Garamond', Georgia, serif;
  --font-ui: 'DM Sans', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }

/* ---- nav ---- */
.site-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 0 2rem; height: 60px;
  display: flex; align-items: center; gap: 1.5rem;
  position: sticky; top: 0; z-index: 100;
}
.site-nav .brand {
  font-family: var(--font-display);
  font-size: 1.05rem; font-weight: 700;
  color: var(--accent); text-decoration: none;
  letter-spacing: .01em;
}
.site-nav .crumbs {
  margin-left: auto;
  font-family: var(--font-ui); font-size: .75rem; color: var(--muted);
  display: flex; align-items: center; gap: .6rem;
}
.site-nav .crumbs a { color: var(--muted); text-decoration: none; transition: color .2s; }
.site-nav .crumbs a:hover { color: var(--accent); }
.site-nav .crumbs .sep { opacity: .5; }

/* ---- hero ---- */
.hero {
  position: relative; overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 5.5rem 2rem 4.5rem;
  text-align: center;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 65%);
  pointer-events: none;
}
.hero > * { position: relative; }
.hero .label {
  font-family: var(--font-ui);
  font-size: .68rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 1.25rem;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(3rem, 7vw, 5.5rem);
  font-weight: 700; line-height: 1.02; letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic; color: var(--muted);
  max-width: 640px; margin: 0 auto 1.75rem; line-height: 1.55;
}
.hero .meta {
  font-family: var(--font-ui); font-size: .8rem; color: var(--muted); letter-spacing: .02em;
}
.hero .meta a {
  color: var(--accent); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 40%, transparent);
}

/* ---- main ---- */
main { max-width: 1000px; margin: 0 auto; padding: 4rem 2rem 2rem; }

/* ---- intro ---- */
.intro { max-width: 720px; margin: 0 auto 4.5rem; }
.intro p {
  font-family: var(--font-display);
  font-size: 1.3rem; line-height: 1.75; color: var(--text);
  margin-bottom: 1.25rem;
}
.intro p:first-child { font-size: 1.5rem; }
.intro strong { color: var(--accent); font-weight: 600; }
.intro em { color: var(--primary); font-style: italic; }

/* ---- schedule heading ---- */
.sched-label {
  font-family: var(--font-ui); text-align: center;
  font-size: .68rem; font-weight: 600; letter-spacing: 3px; text-transform: uppercase;
  color: var(--accent); margin-bottom: .9rem;
}
.sched-h2 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 4vw, 2.6rem); text-align: center;
  font-weight: 700; line-height: 1.12; letter-spacing: -.02em;
  margin-bottom: .5rem;
}
.sched-h2 em { color: var(--accent); font-style: italic; }
.sched-sub {
  font-family: var(--font-display); font-style: italic; text-align: center;
  font-size: 1.1rem; color: var(--muted); margin-bottom: 2.5rem;
}

/* ---- week grid ---- */
.week-grid { display: grid; gap: 1.5rem; }
.week-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px; padding: 2rem 2rem 1.5rem;
  transition: transform .2s, box-shadow .2s;
}
.week-card:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(26,58,42,.09); }
.week-num {
  font-family: var(--font-ui);
  font-size: .68rem; font-weight: 600; text-transform: uppercase; letter-spacing: 2.5px;
  color: var(--accent); margin-bottom: .6rem;
}
.week-card h2 {
  font-family: var(--font-display);
  font-size: 1.75rem; font-weight: 700; letter-spacing: -.02em;
  margin-bottom: .75rem; line-height: 1.15;
}
.week-card h2 em { font-style: italic; }
.thesis {
  font-family: var(--font-display);
  font-size: 1.08rem; line-height: 1.65; color: var(--muted);
  margin-bottom: 1.5rem; max-width: 70ch;
}
.pieces { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: .9rem; }
.piece-tile {
  display: block; text-decoration: none;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px; padding: 1rem 1.1rem;
  transition: border-color .2s, background .2s, transform .2s;
}
a.piece-tile:hover {
  border-color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, var(--surface));
  transform: translateY(-1px);
}
.piece-tile .ptype {
  font-family: var(--font-ui);
  font-size: .62rem; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px;
  color: var(--accent); margin-bottom: .4rem;
}
.piece-tile .ptitle {
  font-family: var(--font-display);
  font-size: 1.12rem; font-weight: 600; line-height: 1.25; color: var(--text);
}
.piece-tile.upcoming { opacity: .6; }
.piece-tile.upcoming .ptype { color: var(--muted); }
.piece-tile.upcoming .ptitle { color: var(--muted); font-style: italic; font-weight: 400; }

/* ---- footer ---- */
.site-footer {
  max-width: 1000px; margin: 4rem auto 0;
  padding: 2.5rem 2rem 4rem;
  border-top: 1px solid var(--border);
  text-align: center;
}
.site-footer .sig {
  font-family: var(--font-ui); font-size: .75rem; letter-spacing: .04em;
  color: var(--muted); margin-bottom: .6rem;
}
.site-footer .links { font-family: var(--font-ui); font-size: .75rem; color: var(--muted); }
.site-footer .links a { color: var(--accent); text-decoration: none; }
.site-footer .links a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .site-nav { padding: 0 1.2rem; gap: 1rem; }
  main { padding: 2.5rem 1.2rem 1rem; }
  .hero { padding: 4rem 1.2rem 3rem; }
  .week-card { padding: 1.5rem 1.4rem 1.2rem; }
}

/* ---- article: a single piece (signal / briefing / viva voce) ---- */
.article-hero {
  position: relative; overflow: hidden;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 4rem 2rem 2.5rem;
}
.article-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 30% 0%, color-mix(in srgb, var(--accent) 10%, transparent), transparent 60%);
  pointer-events: none;
}
.article-hero > * { position: relative; max-width: 760px; margin-left: auto; margin-right: auto; }
.article-eyebrow {
  font-family: var(--font-ui);
  font-size: .68rem; text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent); margin-bottom: 1rem;
}
.article-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 700; line-height: 1.08; letter-spacing: -0.02em;
  margin-bottom: 1.1rem;
}
.article-byline {
  font-family: var(--font-ui); font-size: .82rem; color: var(--muted); letter-spacing: .02em;
}
.article-figure { margin: 0; padding: 0; }
.article-figure img {
  display: block; width: 100%; height: auto;
  border: none; border-radius: 0; border-bottom: 1px solid var(--border);
}
.article-body { max-width: 720px; margin: 0 auto; padding: 2.5rem 2rem 1rem; }
.article-body p {
  font-family: var(--font-body);
  font-size: 1.25rem; line-height: 1.8; color: var(--text);
  margin-bottom: 1.4rem;
}
.article-body p:first-of-type { font-size: 1.4rem; }
.article-body em { font-style: italic; color: var(--primary); }
.article-body strong { color: var(--accent); font-weight: 600; }

@media (max-width: 640px) {
  .article-hero { padding: 3rem 1.2rem 2rem; }
  .article-body { padding: 2rem 1.2rem 1rem; }
  .article-body p { font-size: 1.15rem; }
}

/* ---- article subtitle (briefing / viva voce lead-in) ---- */
.article-subtitle {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 2.2vw, 1.5rem);
  font-style: italic; font-weight: 400;
  color: var(--muted); line-height: 1.5;
  margin-bottom: 1.1rem;
}

/* ---- pull-quote (a piece's inline callout) ---- */
.article-body blockquote.pull-quote {
  margin: 2.6rem 0;
  padding: 1.6rem 2rem;
  border-left: 3px solid var(--gold);
  background: color-mix(in srgb, var(--gold) 9%, var(--surface));
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.4vw, 1.7rem);
  font-style: italic; font-weight: 600; line-height: 1.42;
  color: var(--primary);
  border-radius: 0 4px 4px 0;
}

/* ---- sources / references block ---- */
.sources-section { max-width: 720px; margin: 1rem auto 0; padding: 0 2rem 2rem; }
.sources-section h2 {
  font-family: var(--font-display);
  font-size: 1.5rem; font-weight: 700; color: var(--text);
  border-top: 1px solid var(--border); padding-top: 2rem; margin-bottom: 1.1rem;
}
.sources-section ol {
  list-style: decimal; padding-left: 1.5rem;
  font-family: var(--font-ui); font-size: .82rem; line-height: 1.65; color: var(--muted);
}
.sources-section li { margin-bottom: .6rem; }
.sources-section a {
  color: var(--accent); word-break: break-word; text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--accent) 35%, transparent);
}
.sources-section a:hover { color: var(--primary); }

@media (max-width: 640px) {
  .sources-section { padding: 0 1.2rem 2rem; }
  .article-body blockquote.pull-quote { font-size: 1.25rem; padding: 1.2rem 1.4rem; margin: 2rem 0; }
}

/* ============================================================================
   Landing add-ins (2026-07 · Week-2 growth blocks)
   Four blocks layered onto the landing without disturbing the series skin:
   the live strip, the gift-capture block, the membership block, and the
   "get notified" treatment on upcoming week tiles. Palette + type reuse the
   variables above so everything still reads as one series.
   ========================================================================== */

/* ---- live strip (under the nav) ---- */
.live-strip {
  display: flex; align-items: center; gap: .75rem; flex-wrap: wrap;
  justify-content: center;
  background: var(--primary); color: #f5f0e8;
  font-family: var(--font-ui); font-size: .82rem; letter-spacing: .01em;
  padding: .7rem 1.25rem; text-align: center;
}
.live-strip .live-txt strong { color: var(--gold); font-weight: 600; }
.live-strip .live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); display: inline-block; flex: none;
}
.live-strip .live-dot.pulsing { animation: live-pulse 1.6s ease-in-out infinite; }
@keyframes live-pulse {
  0%,100% { opacity: 1; box-shadow: 0 0 0 0 color-mix(in srgb, var(--gold) 70%, transparent); }
  50%     { opacity: .55; box-shadow: 0 0 0 6px transparent; }
}
.live-strip .live-cta {
  color: #f5f0e8; text-decoration: none; font-weight: 600;
  border-bottom: 1px solid color-mix(in srgb, #f5f0e8 55%, transparent);
  white-space: nowrap;
}
.live-strip .live-cta:hover { color: var(--gold); border-color: var(--gold); }

/* ---- gift-capture block ---- */
.gift {
  max-width: 1000px; margin: 0 auto 4rem; padding: 0 2rem;
}
.gift-inner {
  display: grid; grid-template-columns: 200px 1fr; gap: 2.25rem; align-items: center;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 2.25rem 2.25rem;
  box-shadow: 0 14px 34px rgba(26,58,42,.06);
}
/* Real workbook cover (theeconomicbody/assets/workbook-cover.jpg). */
.gift-cover {
  display: block; width: 100%; height: auto; aspect-ratio: 3 / 4;
  object-fit: cover; border-radius: 6px;
  box-shadow: 0 10px 26px rgba(26,58,42,.28);
}
.gift-kicker {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; color: var(--accent); margin-bottom: .7rem;
}
.gift-title {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; line-height: 1.12; letter-spacing: -.02em; margin-bottom: .8rem;
}
.gift-title em { color: var(--accent); font-style: italic; }
.gift-desc {
  font-family: var(--font-display); font-size: 1.12rem; line-height: 1.6;
  color: var(--muted); margin-bottom: 1.4rem; max-width: 52ch;
}
.gift-row { display: flex; gap: .6rem; flex-wrap: wrap; }
.gift-form input[type=email] {
  flex: 1 1 240px; min-width: 0;
  font-family: var(--font-ui); font-size: .95rem;
  padding: .8rem 1rem; border: 1px solid var(--border); border-radius: 9px;
  background: var(--bg); color: var(--text);
}
.gift-form input[type=email]:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.gift-form button {
  font-family: var(--font-ui); font-size: .9rem; font-weight: 600;
  padding: .8rem 1.3rem; border: none; border-radius: 9px; cursor: pointer;
  background: var(--primary); color: #f5f0e8; transition: background .2s;
  white-space: nowrap;
}
.gift-form button:hover { background: var(--accent); }
.gift-fine {
  font-family: var(--font-ui); font-size: .72rem; color: var(--muted); margin-top: .7rem;
}
.gift-thanks {
  font-family: var(--font-display); font-size: 1.15rem; font-style: italic;
  color: var(--primary); margin-top: .4rem;
}
.gift-form .hp { position: absolute; left: -9999px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ---- membership block ---- */
.membership {
  max-width: 1000px; margin: 0 auto 4rem; padding: 0 2rem;
}
.membership-inner {
  background: color-mix(in srgb, var(--gold) 10%, var(--surface));
  border: 1px solid color-mix(in srgb, var(--gold) 45%, var(--border));
  border-radius: 16px; padding: 2.25rem; text-align: center;
}
.membership-kicker {
  font-family: var(--font-ui); font-size: .68rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 3px; color: var(--gold-strong, #9a7a2c); margin-bottom: .7rem;
}
.membership h2 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.3rem);
  font-weight: 700; line-height: 1.14; letter-spacing: -.02em; margin-bottom: .5rem;
}
.membership h2 em { color: var(--accent); font-style: italic; }
.membership p.membership-sub {
  font-family: var(--font-display); font-size: 1.15rem; color: var(--muted);
  margin-bottom: 1.5rem; max-width: 56ch; margin-left: auto; margin-right: auto;
}
.membership-actions { display: flex; gap: .9rem; justify-content: center; flex-wrap: wrap; align-items: center; }
.btn-primary {
  font-family: var(--font-ui); font-size: .92rem; font-weight: 600;
  padding: .85rem 1.6rem; border-radius: 9px; text-decoration: none;
  background: var(--primary); color: #f5f0e8; transition: background .2s;
}
.btn-primary:hover { background: var(--accent); }
.btn-secondary {
  font-family: var(--font-ui); font-size: .9rem; font-weight: 500;
  color: var(--primary); text-decoration: none;
  border-bottom: 1px solid color-mix(in srgb, var(--primary) 40%, transparent);
}
.btn-secondary:hover { color: var(--accent); border-color: var(--accent); }

/* ---- "get notified" upcoming tiles ---- */
a.piece-tile.notify { position: relative; }
a.piece-tile.notify:hover { border-color: var(--accent); background: color-mix(in srgb, var(--accent) 8%, var(--surface)); transform: translateY(-1px); }
.piece-tile .notify-cta {
  font-family: var(--font-ui); font-size: .64rem; font-weight: 600;
  text-transform: uppercase; letter-spacing: 1.2px; color: var(--accent);
  margin-top: .5rem;
}

/* ---- footer membership line ---- */
.site-footer .footer-membership {
  font-family: var(--font-ui); font-size: .82rem; color: var(--text);
  margin-bottom: 1rem;
}
.site-footer .footer-membership a { color: var(--accent); text-decoration: none; font-weight: 600; }
.site-footer .footer-membership a:hover { text-decoration: underline; }

@media (max-width: 640px) {
  .gift { padding: 0 1.2rem; }
  .gift-inner { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.6rem; }
  .gift-cover { max-width: 160px; margin: 0 auto; }
  .membership { padding: 0 1.2rem; }
  .membership-inner { padding: 1.6rem; }
}
