/* ── Carat Report · client preview ─────────────────────
   Implemented from "Carat Report - Client Preview.dc.html"
   Palette: ink #17120F · cream #F6F2EA · green #16473C · gold #B08D57 */

@font-face {
  font-family: 'Bulgatti';
  src: url('uploads/bulgatti.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { margin: 0; padding: 0; background: #F6F2EA; }
body {
  font-family: Archivo, sans-serif;
  color: #17120F;
  min-height: 100vh;
}
a { color: #16473C; text-decoration: none; }
a:hover { color: #B08D57; }
::selection { background: #E7DCC4; }

.spacer { flex: 1; }
.serif { font-family: Newsreader, serif; }

/* fading regions (carat-range swaps) */
.fade-region { opacity: 1; transition: opacity 260ms ease; }
body.fading .fade-region { opacity: 0; }

/* ── mobile hero portrait (hidden on desktop) ───────── */
.hero-mobile-photo { display: none; }

/* ── fixed chrome ───────────────────────────────────── */
.home-btn {
  position: fixed; top: 20px; right: 56px; z-index: 110;
  width: 44px; height: 44px; display: flex; align-items: center; justify-content: center;
  cursor: pointer; opacity: 0.9; transition: opacity 240ms;
}
.home-btn:hover { opacity: 1; }
.home-btn svg { fill: #17120F; transition: fill 240ms; }
.ham-btn {
  position: fixed; top: 20px; right: 20px; z-index: 110;
  width: 52px; height: 44px; display: flex; flex-direction: column; gap: 8px;
  align-items: flex-end; justify-content: center; cursor: pointer;
}
.ham-line { width: 34px; height: 1px; background: #17120F; transition: background 240ms; }
/* over the dark hero (home, at top) the chrome goes light with a glow */
body[data-view="home"].at-top .ham-line { background: #F6F2EA; box-shadow: 0 0 6px rgba(23,18,15,0.7); }
body[data-view="home"].at-top .home-btn svg { fill: #F6F2EA; filter: drop-shadow(0 0 6px rgba(23,18,15,0.7)); }

/* ── menu overlay ───────────────────────────────────── */
.menu-overlay { position: fixed; inset: 0; z-index: 120; background: rgba(23,18,15,0.97); color: #F6F2EA; overflow-y: auto; }
.menu-inner { max-width: 560px; margin: 0 auto; padding: 56px 32px 72px; }
.menu-head { display: flex; align-items: center; }
.menu-wordmark { font-family: Newsreader, serif; font-size: 15px; letter-spacing: 0.24em; text-transform: uppercase; cursor: pointer; color: rgba(246,242,234,0.8); }
.menu-close { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(246,242,234,0.6); cursor: pointer; padding: 8px 0 8px 16px; }
.menu-close:hover { color: #B08D57; }
.menu-nav { margin-top: 44px; border-top: 1px solid rgba(246,242,234,0.18); }
.menu-nav-item { font-family: Newsreader, serif; font-weight: 300; font-size: 34px; padding: 20px 0; border-bottom: 1px solid rgba(246,242,234,0.14); cursor: pointer; }
.menu-nav-item:hover { color: #B08D57; }
.menu-abemor { margin-top: 52px; }
.menu-abemor img { height: 26px; width: auto; filter: invert(1) brightness(1.5); opacity: 0.85; }
.menu-abemor-links { margin-top: 18px; display: flex; flex-direction: column; gap: 2px; }
.menu-abemor-link { font-size: 13.5px; letter-spacing: 0.04em; color: rgba(246,242,234,0.62); padding: 9px 0; border-bottom: 1px solid rgba(246,242,234,0.09); cursor: pointer; }
.menu-abemor-link:hover { color: #B08D57; }

/* ── hero ───────────────────────────────────────────── */
.hero { background: #17120F; color: #F6F2EA; position: relative; }
.hero-facets { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.hero-facets svg { position: absolute; right: -120px; top: -60px; width: 900px; height: 640px; opacity: 0.05; }
.hero-grid {
  max-width: 1360px; margin: 0 auto; padding: 0 44px;
  display: grid; grid-template-columns: minmax(0, 1fr) 520px; gap: 36px;
  align-items: end; position: relative;
}
@media (max-width: 1119px) { .hero-grid { grid-template-columns: minmax(0, 1fr) 420px; } }
.hero-copy { padding: 64px 0 56px; }
.masthead { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.masthead-wordmark { font-family: Newsreader, serif; font-size: 21px; letter-spacing: 0.26em; text-transform: uppercase; font-weight: 400; }
.masthead-with { display: flex; align-items: baseline; gap: 10px; }
.masthead-with-word { font-family: Newsreader, serif; font-style: italic; font-weight: 300; font-size: 15px; color: rgba(246,242,234,0.6); }
.masthead-signature { font-family: Bulgatti, Italianno, cursive; font-size: 17px; line-height: 1; color: rgba(246,242,234,0.78); }
.masthead-role { font-size: 9px; letter-spacing: 0.16em; text-transform: uppercase; color: #B08D57; margin-top: 3px; }
.hero-title {
  font-family: Newsreader, serif; font-weight: 300; font-size: 60px; line-height: 1.06;
  letter-spacing: -0.015em; margin: 52px 0 0; max-width: 15ch; text-wrap: pretty;
}
.hero-title em { font-style: italic; }
.hero-sub { font-size: 16.5px; font-weight: 300; line-height: 1.8; color: rgba(246,242,234,0.62); margin: 18px 0 0; max-width: 58ch; }
.hero-portrait {
  position: relative; z-index: 2; align-self: stretch; min-height: 460px;
  margin-bottom: -64px; margin-right: -44px;
  background-image: url('uploads/eric-mor-trimmed.png');
  background-repeat: no-repeat; background-size: auto 118%; background-position: 50% 40%;
  filter: grayscale(0.15) contrast(1.02);
}

/* ── shared section chrome ──────────────────────────── */
.section-head { display: flex; align-items: baseline; gap: 20px; padding-bottom: 14px; flex-wrap: wrap; border-bottom: 1px solid rgba(23,18,15,0.09); }
.section-kicker { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #8A7F76; }
.section-meta { font-size: 11.5px; color: #8A7F76; }
.section-link { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #16473C; cursor: pointer; }
.section-link:hover { color: #B08D57; }
.rail-kicker { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: #8A7F76; }

/* ── pillars ────────────────────────────────────────── */
.pillars { max-width: 1360px; margin: 0 auto; padding: 110px 44px 0; }
.pillars-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(23,18,15,0.09); border-bottom: 1px solid rgba(23,18,15,0.09); }
.pillar { padding: 40px 36px 46px 0; cursor: pointer; display: flex; flex-direction: column; }
.pillar-illo { height: 190px; border: 1px solid rgba(23,18,15,0.09); position: relative; overflow: hidden; background: #F6F2EA; display: flex; align-items: center; justify-content: center; }
.pillar-num { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #16473C; margin-top: 26px; }
.pillar-title { font-family: Newsreader, serif; font-size: 29px; font-weight: 300; margin-top: 12px; }
.pillar-body { font-size: 14px; line-height: 1.7; color: #3D342D; margin-top: 10px; max-width: 32ch; }
.pillar-link { font-size: 11.5px; letter-spacing: 0.1em; text-transform: uppercase; color: #B08D57; margin-top: auto; padding-top: 18px; text-align: right; }

/* ── price index preview (home) ─────────────────────── */
.index-preview { max-width: 1360px; margin: 0 auto; padding: 84px 44px 0; }
.index-preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; padding: 44px 0 80px; align-items: start; }
.index-preview-title { font-family: Newsreader, serif; font-size: 33px; font-weight: 300; letter-spacing: -0.01em; }
.index-preview-sub { font-size: 12px; letter-spacing: 0.06em; color: #8A7F76; margin-top: 8px; }
.home-table { margin-top: 28px; }
.home-table .t-head, .home-table .t-row { display: grid; grid-template-columns: 62px repeat(5, 1fr); border-bottom: 1px solid rgba(23,18,15,0.09); }
.home-table .t-row { align-items: center; }
.home-table .t-clarity { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6B615A; padding: 12px 0; text-align: right; }
.home-table .t-color-cell { display: flex; align-items: center; gap: 9px; padding: 13px 0; }
.home-table .t-marker { width: 9px; height: 9px; margin-left: 3px; flex-shrink: 0; transform: rotate(45deg); border: 1px solid rgba(23,18,15,0.09); }
.home-table .t-color { font-family: Newsreader, serif; font-size: 17px; }
.home-table .t-cell { font-size: 14px; font-variant-numeric: tabular-nums; text-align: right; padding: 13px 0; color: #2B231D; }

.range-rail { border-left: 1px solid rgba(23,18,15,0.09); padding-left: 38px; }
.range-list { margin-top: 16px; border-top: 1px solid rgba(23,18,15,0.09); }
.range-item { display: flex; align-items: baseline; gap: 14px; padding: 13px 12px; border-bottom: 1px solid rgba(23,18,15,0.09); cursor: pointer; transition: background 240ms; }
.range-item.selected { background: #E4DDCD; }
.range-dot { width: 7px; height: 7px; transform: rotate(45deg); background: transparent; border: 1px solid rgba(23,18,15,0.24); transition: background 240ms; }
.range-item.selected .range-dot { background: #B08D57; border-color: #B08D57; }
.range-label { font-family: Newsreader, serif; font-size: 16px; color: #17120F; transition: color 240ms; }
.range-ct { font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: #9A8F86; }
.range-item.selected .range-ct { color: #8A7F76; }
.rail-cta-row { margin-top: 26px; display: flex; justify-content: flex-end; }
.rail-cta { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: #16473C; border: 1px solid #16473C; padding: 13px 24px; cursor: pointer; display: inline-block; }
.rail-cta:hover { background: rgba(22,71,60,0.08); }

/* ── insights preview (home) ────────────────────────── */
.insights-preview-band { background: #EFE9DE; border-top: 1px solid rgba(23,18,15,0.09); border-bottom: 1px solid rgba(23,18,15,0.09); }
.insights-preview { max-width: 1360px; margin: 0 auto; padding: 76px 44px 82px; }
.insights-preview-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: 70px; padding-top: 46px; align-items: start; }
.post-date { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #B08D57; }
.insights-preview-title {
  font-family: Newsreader, serif; font-weight: 300; font-size: 46px; line-height: 1.12;
  letter-spacing: -0.015em; margin-top: 18px; max-width: 22ch; text-wrap: pretty; cursor: pointer;
}
.insights-preview-title:hover { color: #16473C; }
.insights-preview-body { font-family: Newsreader, serif; font-size: 19px; line-height: 1.75; color: #3D342D; margin-top: 22px; max-width: 56ch; }
.insights-preview-byline { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: #8A7F76; margin-top: 20px; }
.recent-posts { border-top: 1px solid rgba(23,18,15,0.09); }
.recent-post { padding: 18px 0; border-bottom: 1px solid rgba(23,18,15,0.09); cursor: pointer; transition: padding-left 200ms; }
.recent-post:hover { padding-left: 8px; }
.recent-post-date { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #B08D57; font-variant-numeric: tabular-nums; }
.recent-post-title { font-family: Newsreader, serif; font-size: 21px; font-weight: 300; line-height: 1.3; margin-top: 10px; }

/* ── academy preview (home) ─────────────────────────── */
.academy-preview { max-width: 1360px; margin: 0 auto; padding: 78px 44px 88px; }
.academy-preview-stack { padding-top: 44px; display: flex; flex-direction: column; gap: 24px; }
.academy-thumb-wide, .academy-thumb {
  aspect-ratio: 1376 / 768; border: 1px solid rgba(23,18,15,0.09);
  background: url('uploads/academy-demo-thumbnail.png') center / cover no-repeat; cursor: pointer;
}
.academy-thumb-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }

/* ── page shells ────────────────────────────────────── */
.page { max-width: 1360px; margin: 0 auto; padding: 66px 44px 90px; }
#view-insights { padding-bottom: 0; }
#view-insights .page { padding-bottom: 0; }
.page-head { display: flex; align-items: flex-end; gap: 30px; border-bottom: 1px solid rgba(23,18,15,0.09); padding-bottom: 26px; flex-wrap: wrap; }
.page-title { font-family: Newsreader, serif; font-weight: 300; font-size: 52px; letter-spacing: -0.015em; margin-top: 12px; }
.page-updated { text-align: right; font-size: 12.5px; color: #B08D57; line-height: 1.7; }

/* ── ranges bar (index page) ────────────────────────── */
.ranges-bar { display: flex; align-items: stretch; margin-top: 34px; border: 1px solid rgba(23,18,15,0.09); flex-wrap: wrap; }
.ranges-bar-item {
  flex: 1; min-width: 130px; padding: 18px 0 17px; text-align: center; cursor: pointer;
  border-left: 1px solid rgba(23,18,15,0.09);
  transition: background 260ms, color 260ms; background: transparent; color: #17120F;
}
.ranges-bar-item.selected { background: #16473C; color: #F6F2EA; }
.ranges-bar-label { font-family: Newsreader, serif; font-size: 21px; letter-spacing: 0.01em; }
.ranges-bar-unit { font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase; margin-top: 4px; opacity: 0.62; }

/* ── index page grid ────────────────────────────────── */
.index-page-grid { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 56px; margin-top: 44px; align-items: start; }
.index-table-scroll { overflow-x: auto; }
.index-table-min { min-width: 640px; }
#indexTable .t-head, #indexTable .t-row { display: grid; grid-template-columns: 96px repeat(7, minmax(72px, 1fr)); border-bottom: 1px solid rgba(23,18,15,0.09); }
#indexTable .t-row { align-items: center; }
#indexTable .t-row:hover { background: rgba(23,18,15,0.025); }
#indexTable .t-corner { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #8A7F76; padding-bottom: 12px; }
#indexTable .t-clarity { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #6B615A; padding-bottom: 12px; text-align: right; }
#indexTable .t-color-cell { display: flex; align-items: center; gap: 18px; padding: 15px 0; }
#indexTable .t-marker { width: 11px; height: 11px; margin-left: 3px; flex-shrink: 0; transform: rotate(45deg); border: 1px solid rgba(23,18,15,0.09); }
#indexTable .t-color { font-family: Newsreader, serif; font-size: 20px; }
#indexTable .t-cell { font-size: 15px; font-variant-numeric: tabular-nums; text-align: right; padding: 15px 0; color: #2B231D; }
.index-legend { display: flex; gap: 26px; margin-top: 20px; font-size: 11.5px; color: #9A8F86; letter-spacing: 0.04em; }

/* ── movement rail ──────────────────────────────────── */
.movement-rail { border-left: 1px solid rgba(23,18,15,0.09); padding-left: 36px; }
.movement-title { font-family: Newsreader, serif; font-size: 26px; font-weight: 300; margin-top: 12px; }
.movement-sub { font-size: 12.5px; color: #8A7F76; margin-top: 6px; }
.movement-chart { margin-top: 22px; }
.movement-chart svg { width: 100%; height: 120px; overflow: visible; display: block; }
.movement-stats { display: flex; gap: 30px; margin-top: 26px; border-top: 1px solid rgba(23,18,15,0.09); padding-top: 18px; }
.stat-label { font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: #8A7F76; }
.stat-value { font-family: Newsreader, serif; font-size: 30px; margin-top: 6px; font-variant-numeric: tabular-nums; }
.stat-value.accent { color: #16473C; }
.movement-note { margin-top: 30px; border-top: 1px solid rgba(23,18,15,0.09); padding-top: 18px; }
.movement-note-body { font-size: 14px; line-height: 1.75; color: #3D342D; margin-top: 12px; }
.method-link { margin-top: 18px; font-size: 12px; letter-spacing: 0.08em; color: #16473C; cursor: pointer; border-bottom: 1px solid rgba(22,71,60,0.3); display: inline-block; padding-bottom: 2px; }

/* ── script page heads (Eric's Insights / Carat Academy) ── */
.script-head { border-bottom: 1px solid rgba(23,18,15,0.09); padding-bottom: 4px; display: flex; align-items: baseline; gap: 18px; }
.script-head-script { font-family: Bulgatti, Italianno, cursive; font-size: 52px; line-height: 1; color: #B08D57; position: relative; z-index: 1; }
.script-head-word { font-family: Newsreader, serif; font-weight: 300; font-size: 30px; letter-spacing: 0.22em; text-transform: uppercase; position: relative; top: 1px; margin-left: 8px; }

/* ── article layouts ────────────────────────────────── */
.article-grid { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 74px; padding: 54px 0 76px; }
.article { max-width: 66ch; }
.article-date { margin-bottom: 20px; }
.article-title {
  font-family: Newsreader, serif; font-weight: 300; font-size: 46px; line-height: 1.1;
  letter-spacing: -0.02em; margin-top: 20px; text-wrap: pretty;
}
.article-body { font-family: Newsreader, serif; font-size: 20px; line-height: 1.8; color: #2B231D; margin-top: 30px; }
.article-body p { margin: 0 0 22px; }
.article-body p.last { margin: 0; }

.author-rail { border-left: 1px solid rgba(23,18,15,0.09); padding-left: 36px; }
.author-photo { display: block; width: 100%; max-width: 220px; aspect-ratio: 1; object-fit: cover; }
.author-signature { font-family: Bulgatti, Italianno, cursive; font-size: 26px; line-height: 1; margin-top: -14px; color: #17120F; position: relative; z-index: 1; }
.author-role { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #B08D57; margin-top: 10px; padding-left: 2px; }
.author-bio { font-size: 13.5px; line-height: 1.75; color: #3D342D; margin-top: 18px; }
.author-linkedin { margin-top: 20px; display: inline-flex; cursor: pointer; opacity: 1; transition: opacity 240ms; }
.author-linkedin:hover { opacity: 0.75; }
.subscribe-cta {
  margin-top: 72px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  background: #17120F; color: #F6F2EA; padding: 14px 26px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px; white-space: nowrap;
}
.subscribe-cta:hover { background: #16473C; }

/* ── letters archive ────────────────────────────────── */
.letters-band { background: #EFE9DE; border-top: 1px solid rgba(23,18,15,0.09); }
.letters { max-width: 1360px; margin: 0 auto; padding: 58px 44px 86px; }
.letters-top-rule { border-bottom: 1px solid rgba(23,18,15,0.09); }
.letter { border-bottom: 1px solid rgba(23,18,15,0.09); cursor: pointer; }
.letter-row { display: grid; grid-template-columns: 170px 1fr max-content; gap: 24px; align-items: first baseline; padding: 24px 0; transition: padding-left 200ms; }
.letter:hover .letter-row { padding-left: 10px; }
.letter-date { font-size: 12px; letter-spacing: 0.08em; color: #B08D57; font-variant-numeric: tabular-nums; }
.letter-title { font-family: Newsreader, serif; font-size: 25px; font-weight: 300; line-height: 1.3; }
.letter-kind { font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: #8A7F76; text-align: right; white-space: nowrap; }
.letter-open { display: none; grid-template-columns: 170px 1fr max-content; gap: 24px; padding: 4px 0 38px; }
.letter.open .letter-open { display: grid; }
.letter-open-body { font-family: Newsreader, serif; font-size: 18px; line-height: 1.85; color: #3D342D; max-width: 62ch; }
.letter-open-body p { margin: 26px 0 0; }
.letter-open-body p:first-child { margin: 0; }

/* ── academy grid ───────────────────────────────────── */
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 54px 44px; padding: 54px 0 20px; }
.video-card { cursor: pointer; }
.video-thumb {
  position: relative; aspect-ratio: 16 / 9; border: 1px solid rgba(23,18,15,0.09); overflow: hidden;
  background: url('uploads/academy-demo-thumbnail.png') center / cover no-repeat;
}
.video-overlay { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; background: rgba(23,18,15,0.18); transition: background 240ms; }
.video-card:hover .video-overlay, .lesson-video:hover .video-overlay { background: rgba(23,18,15,0.02); }
.play-btn { width: 52px; height: 52px; border: 1px solid rgba(246,242,234,0.85); border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(23,18,15,0.35); }
.play-tri { width: 0; height: 0; border-left: 12px solid #F6F2EA; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
.play-btn.large { width: 72px; height: 72px; }
.play-tri.large { border-left-width: 17px; border-top-width: 11px; border-bottom-width: 11px; margin-left: 5px; }
.video-cat { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #B08D57; margin-top: 16px; }
.video-title { font-family: Newsreader, serif; font-size: 21px; font-weight: 300; line-height: 1.3; margin-top: 8px; }
.video-body { font-size: 14px; line-height: 1.7; color: #3D342D; margin-top: 8px; max-width: 40ch; }

/* ── single lesson ──────────────────────────────────── */
.back-link { font-size: 11.5px; letter-spacing: 0.14em; text-transform: uppercase; color: #6B615A; cursor: pointer; display: inline-flex; align-items: center; gap: 8px; }
.back-link:hover { color: #B08D57; }
.lesson-head { margin-top: 28px; border-bottom: 1px solid rgba(23,18,15,0.09); padding-bottom: 26px; }
.lesson-cat { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #B08D57; }
.lesson-title {
  font-family: Newsreader, serif; font-weight: 300; font-size: 46px; line-height: 1.1;
  letter-spacing: -0.02em; margin-top: 14px; text-wrap: pretty; max-width: 24ch;
}
.lesson-grid { padding: 46px 0 0; }
.lesson-date { margin-top: 14px; }
.lesson-video { cursor: pointer; display: block; }
.lesson-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.watch-link { margin-top: 16px; font-size: 12px; letter-spacing: 0.08em; color: #16473C; cursor: pointer; border-bottom: 1px solid rgba(22,71,60,0.3); display: inline-block; padding-bottom: 2px; }
.watch-link:hover { color: #B08D57; border-color: rgba(176,141,87,0.4); }
.lesson-body { font-family: Newsreader, serif; font-size: 20px; line-height: 1.8; color: #2B231D; margin-top: 36px; max-width: 66ch; }
.lesson-body p { margin: 0 0 22px; }
.lesson-body p.last { margin: 0; }

/* ── footer ─────────────────────────────────────────── */
.footer { background: #17120F; color: rgba(246,242,234,0.55); border-top: 1px solid rgba(246,242,234,0.14); }
.footer-grid {
  max-width: 1360px; margin: 0 auto; padding: 72px 44px 40px;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr) minmax(0, 0.82fr);
  gap: 56px; align-items: start;
}
.footer-wordmark { font-family: Newsreader, serif; font-size: 19px; letter-spacing: 0.26em; text-transform: uppercase; color: #F6F2EA; }
.footer-with { display: flex; align-items: baseline; gap: 8px; margin-top: 8px; }
.footer-with-word { font-family: Newsreader, serif; font-style: italic; font-size: 13px; color: rgba(246,242,234,0.5); }
.footer-signature { font-family: Bulgatti, Italianno, cursive; font-size: 15px; color: rgba(246,242,234,0.7); }
.footer-logo { display: block; height: 30px; width: auto; filter: invert(1) brightness(1.6); opacity: 0.9; margin-top: 44px; }
.footer-attrib { font-size: 11.5px; line-height: 1.9; letter-spacing: 0.06em; color: rgba(246,242,234,0.45); margin-top: 12px; }
.footer-attrib a { color: rgba(246,242,234,0.72); white-space: nowrap; }
.footer-attrib a:hover { color: #B08D57; }
.footer-col-head {
  font-size: 9.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #B08D57;
  padding-bottom: 14px; border-bottom: 1px solid rgba(246,242,234,0.14);
}
.footer-links { display: flex; flex-direction: column; gap: 12px; margin-top: 18px; font-size: 12.5px; letter-spacing: 0.04em; }
.footer-link { cursor: pointer; color: rgba(246,242,234,0.62); }
.footer-link:hover { color: #B08D57; }
.footer-link.bright { color: #F6F2EA; display: inline-flex; align-items: center; gap: 8px; }
.footer-link.bright:hover { color: #B08D57; }
.footer-bottom { max-width: 1360px; margin: 0 auto; padding: 0 44px 40px; }
.footer-copyright {
  border-top: 1px solid rgba(246,242,234,0.1); padding-top: 20px;
  font-size: 10.5px; letter-spacing: 0.14em; text-transform: uppercase;
  color: rgba(246,242,234,0.34); text-align: center;
}

/* ── subscribe modal ────────────────────────────────── */
.sub-scrim { position: fixed; inset: 0; z-index: 140; background: rgba(23,18,15,0.55); display: flex; align-items: center; justify-content: center; padding: 24px; }
.sub-card { position: relative; width: 480px; max-width: 100%; background: #F6F2EA; padding: 52px 54px 54px; border-top: 3px solid #B08D57; box-shadow: 0 30px 80px rgba(23,18,15,0.4); }
.sub-close { position: absolute; top: 18px; right: 18px; width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; cursor: pointer; color: #6B615A; }
.sub-close:hover { color: #17120F; }
.sub-kicker { font-size: 10.5px; letter-spacing: 0.22em; text-transform: uppercase; color: #8A7F76; }
.sub-title { font-family: Newsreader, serif; font-weight: 300; font-size: 34px; line-height: 1.15; margin-top: 16px; }
.sub-sub { font-size: 13.5px; line-height: 1.7; color: #6B615A; margin-top: 10px; }
.sub-field { margin-top: 36px; }
.sub-field.roomy { margin-top: 30px; }
.sub-label { font-size: 10.5px; letter-spacing: 0.18em; text-transform: uppercase; color: #8A7F76; }
.sub-input {
  display: block; width: 100%; border: none; border-bottom: 1px solid rgba(23,18,15,0.35);
  background: transparent; outline: none; font-family: Newsreader, serif; font-size: 19px;
  color: #17120F; padding: 10px 0 8px;
}
.sub-select-wrap { position: relative; }
.sub-select { padding-right: 28px; cursor: pointer; appearance: none; border-radius: 0; }
.sub-select-wrap svg { position: absolute; right: 2px; top: 50%; transform: translateY(-50%); pointer-events: none; }
.sub-submit {
  margin-top: 40px; font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase;
  background: #17120F; color: #F6F2EA; padding: 15px 0; text-align: center; cursor: pointer;
}
.sub-submit:hover { background: #16473C; }

/* ── methodology panel ──────────────────────────────── */
.method-scrim { position: fixed; inset: 0; z-index: 130; background: rgba(23,18,15,0.42); display: flex; justify-content: flex-end; }
.method-panel { width: 520px; max-width: 92vw; background: #F6F2EA; height: 100%; overflow-y: auto; padding: 46px 44px; border-left: 1px solid rgba(23,18,15,0.09); }
.method-head { display: flex; align-items: baseline; }
.method-close { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; color: #6B615A; }
.method-title { font-family: Newsreader, serif; font-weight: 300; font-size: 38px; line-height: 1.15; margin-top: 18px; }
.method-body { font-family: Newsreader, serif; font-size: 18px; line-height: 1.8; color: #2B231D; margin-top: 26px; }
.method-body p { margin: 0 0 20px; }
.method-body strong { font-weight: 500; }
.method-items { border-top: 1px solid rgba(23,18,15,0.09); margin-top: 12px; padding-top: 20px; }
.method-item { padding: 16px 0; border-bottom: 1px solid rgba(23,18,15,0.09); }
.method-item-label { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: #B08D57; }
.method-item-body { font-size: 14.5px; line-height: 1.7; color: #3D342D; margin-top: 8px; }

/* ── mobile (≤919px) ────────────────────────────────────
   Adaptation of the approved desktop system: same palette, type
   hierarchy, and hairline chrome, applied at a single column. */
@media (max-width: 919px) {

  /* page shells: 20px gutters */
  .hero-grid, .pillars, .index-preview, .insights-preview,
  .academy-preview, .page, .letters, .footer-grid { padding-left: 20px; padding-right: 20px; }
  .footer-bottom { padding: 0 20px 32px; }

  /* hero: single column, photo emerging below the dark panel */
  .hero-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 64px 0 48px; }
  .hero-title { font-size: 42px; margin-top: 44px; }
  .hero-sub { font-size: 15.5px; }
  .hero-portrait { display: none; }
  .hero-mobile-photo {
    display: block; padding: 0 20px; margin-top: -1px;
    background: linear-gradient(#17120F 55%, #F6F2EA 55%);
  }
  .hero-mobile-photo img {
    display: block; width: 100%; height: 380px; object-fit: cover; object-position: 50% 22%;
    filter: grayscale(0.15) contrast(1.02); box-shadow: 0 18px 44px rgba(0,0,0,0.24);
  }

  /* pillars: stacked */
  .pillars { padding-top: 56px; }
  .pillars-grid { grid-template-columns: 1fr; }
  .pillar { padding: 36px 0 42px; }
  .pillar + .pillar { border-top: 1px solid rgba(23,18,15,0.09); }
  .pillar-illo { height: 170px; }

  /* home price preview: stacked, rail loses its left rule */
  .index-preview { padding-top: 64px; }
  .index-preview-grid { grid-template-columns: 1fr; gap: 44px; padding: 36px 0 64px; }
  .index-preview-title { font-size: 27px; }
  .range-rail { border-left: none; padding-left: 0; }

  /* index page */
  .page { padding-top: 56px; padding-bottom: 72px; }
  .page-head { gap: 14px; padding-bottom: 22px; }
  .page-title { font-size: 36px; }
  .page-updated { text-align: left; }
  .ranges-bar { display: grid; grid-template-columns: repeat(3, 1fr); }
  .ranges-bar-item { min-width: 0; border-top: 1px solid rgba(23,18,15,0.09); margin-top: -1px; }
  .ranges-bar-label { font-size: 18px; }
  .index-page-grid { grid-template-columns: 1fr; gap: 44px; margin-top: 36px; }
  .movement-rail { border-left: none; padding-left: 0; border-top: 1px solid rgba(23,18,15,0.09); padding-top: 30px; }

  /* full price grid: horizontal scroll with pinned Color column */
  #indexTable .t-corner, #indexTable .t-color-cell {
    position: sticky; left: 0; z-index: 1; background: #F6F2EA;
  }
  #indexTable .t-color-cell { box-shadow: 6px 0 8px -6px rgba(23,18,15,0.12); }
  #indexTable .t-head, #indexTable .t-row { grid-template-columns: 76px repeat(7, minmax(78px, 1fr)); }
  #indexTable .t-row:hover { background: transparent; }
  #indexTable .t-cell { padding-right: 4px; }
  .index-table-min { min-width: 640px; }
  .index-legend { font-size: 10.5px; }

  /* insights preview band */
  .insights-preview { padding: 56px 20px 64px; }
  .insights-preview-grid { grid-template-columns: 1fr; gap: 44px; padding-top: 36px; }
  .insights-preview-title { font-size: 32px; }
  .insights-preview-body { font-size: 18px; }

  /* academy preview */
  .academy-preview { padding-top: 56px; padding-bottom: 64px; }
  .academy-thumb-row { grid-template-columns: 1fr; }

  /* script page heads */
  .script-head-script { font-size: 42px; }
  .script-head-word { font-size: 22px; }

  /* article + lesson layouts: stacked, author rail becomes a footer block */
  .article-grid { grid-template-columns: 1fr; gap: 44px; padding: 40px 0 56px; }
  .article-title { font-size: 33px; }
  .article-body { font-size: 18px; }
  .author-rail { border-left: none; padding-left: 0; border-top: 1px solid rgba(23,18,15,0.09); padding-top: 30px; text-align: center; }
  .author-photo { margin: 0 auto; }
  .author-role { padding-left: 0; }
  .author-bio { max-width: 44ch; margin-left: auto; margin-right: auto; }
  .author-linkedin { display: flex; justify-content: center; }
  .subscribe-cta { margin-top: 28px; }

  /* letters archive: stacked rows */
  .letters { padding: 44px 20px 64px; }
  .letter-row { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .letter:hover .letter-row { padding-left: 0; }
  .letter-title { font-size: 21px; }
  .letter-kind { text-align: left; }
  .letter-open { grid-template-columns: 1fr; gap: 0; padding: 2px 0 30px; }
  .letter-open > div:empty { display: none; }
  .letter-open-body { font-size: 17px; }

  /* academy grid + lesson */
  .videos-grid { grid-template-columns: 1fr; gap: 40px; padding: 40px 0 12px; }
  .lesson-title { font-size: 32px; }
  .lesson-body { font-size: 18px; margin-top: 28px; }
  .lesson-grid { padding-top: 36px; }

  /* footer: stacked columns */
  .footer-grid { grid-template-columns: 1fr; gap: 40px; padding-top: 52px; padding-bottom: 28px; }
  .footer-logo { margin-top: 30px; }

  /* overlays */
  .sub-card { padding: 44px 28px 40px; }
  .method-panel { padding: 38px 24px; }
  .menu-inner { padding: 48px 24px 56px; }
  .menu-nav-item { font-size: 29px; }
}
