:root {
  --ink: #233129; --pine: #2E4B3F; --sage: #7FA08A; --ochre: #A87C2E;
  --paper: #FFFFFF; --rule: #E4E9E4;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--paper); color: var(--ink);
  font-family: -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.55; overflow-x: hidden;
}
a { color: var(--pine); }

/* ---------- nav ---------- */
nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--rule);
}
.nav-inner {
  max-width: 1080px; margin: 0 auto; padding: 14px 28px;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.brand {
  font-family: Georgia, "Times New Roman", serif; font-weight: 700;
  font-size: 19px; color: var(--pine); text-decoration: none; letter-spacing: 0.01em;
}
.brand span { color: var(--ochre); }
.nav-links { display: flex; gap: 26px; align-items: center; }
.nav-links a {
  text-decoration: none; font-size: 13px; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink);
  position: relative; padding: 4px 0;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--ochre); transition: width 0.25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: var(--pine); }

/* ---------- hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #ffffff 50%, #eef4ef 100%);
  border-bottom: 3px solid var(--pine);
}
.hero-inner {
  max-width: 1080px; margin: 0 auto; padding: 96px 28px 72px;
  position: relative; z-index: 2;
}
.kicker {
  display: inline-block; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase;
  color: var(--ochre); font-weight: 700; border: 1px solid var(--ochre);
  border-radius: 999px; padding: 6px 16px; margin-bottom: 26px;
  animation: rise 0.7s ease both;
}
h1 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(36px, 5.6vw, 62px); font-weight: 700; color: var(--pine);
  line-height: 1.06; max-width: 17ch; margin-bottom: 18px;
  animation: rise 0.7s 0.08s ease both;
}
h1 em { font-style: italic; color: var(--ink); }
.hero-sub { color: #4a5a50; font-size: 17px; max-width: 56ch; animation: rise 0.7s 0.16s ease both; }
.hero-cta { margin-top: 30px; display: flex; gap: 14px; flex-wrap: wrap; animation: rise 0.7s 0.24s ease both; }
.btn {
  display: inline-block; text-decoration: none; font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; padding: 13px 26px; border-radius: 4px;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.btn-solid { background: var(--pine); color: #fff; }
.btn-solid:hover { background: var(--ink); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(35,49,41,0.22); }
.btn-ghost { border: 1.5px solid var(--pine); color: var(--pine); }
.btn-ghost:hover { background: #f0f4f1; transform: translateY(-2px); }
.hero-chart {
  position: absolute; right: -40px; bottom: -10px; width: min(46vw, 520px);
  opacity: 0.5; z-index: 1; pointer-events: none;
}
.hero-chart path.line { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: draw 2.6s 0.3s ease forwards; }
.hero-chart .bar { transform-origin: bottom; animation: grow 1s ease both; }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes grow { from { transform: scaleY(0); } to { transform: scaleY(1); } }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* ---------- coverage marquee ---------- */
.marquee {
  border-bottom: 1px solid var(--rule); background: #fff; overflow: hidden;
  padding: 13px 0; position: relative;
}
.marquee-track {
  display: flex; gap: 44px; width: max-content;
  animation: scroll 38s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span {
  font-size: 12.5px; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--sage); font-weight: 600; white-space: nowrap;
}
.marquee b { color: var(--pine); font-weight: 700; }
@keyframes scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- generic sections ---------- */
.wrap { max-width: 1080px; margin: 0 auto; padding: 64px 28px; }
.section-label {
  font-size: 12px; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 28px;
}
h2.section-title {
  font-family: Georgia, "Times New Roman", serif; font-size: clamp(26px, 3.4vw, 36px);
  color: var(--pine); margin-bottom: 18px; line-height: 1.15;
}

/* ---------- about ---------- */
.about-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 44px; align-items: start; }
.about-copy p { color: #4a5a50; font-size: 15.5px; margin-bottom: 16px; max-width: 62ch; }
.about-copy p b { color: var(--ink); }
.principles { list-style: none; margin-top: 8px; }
.principles li {
  padding: 13px 0 13px 26px; position: relative; font-size: 14.5px; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.principles li::before {
  content: ""; position: absolute; left: 2px; top: 20px; width: 9px; height: 9px;
  background: var(--ochre); border-radius: 2px; transform: rotate(45deg);
}
.principles li b { color: var(--pine); }
.about-panel {
  background: linear-gradient(155deg, var(--pine), var(--ink));
  border-radius: 8px; padding: 34px 30px; color: #eaf1ec; position: relative; overflow: hidden;
}
.about-panel .big {
  font-family: Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.35;
  margin-bottom: 18px; position: relative; z-index: 2;
}
.about-panel .small { font-size: 13px; color: #b9c9be; position: relative; z-index: 2; }
.about-panel svg { position: absolute; right: -30px; bottom: -30px; width: 220px; opacity: 0.16; }

/* ---------- feature strip ---------- */
.strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.strip a { position: relative; display: block; border-radius: 6px; overflow: hidden; height: 150px; }
.strip img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s cubic-bezier(0.2,0.6,0.2,1); }
.strip a:hover img { transform: scale(1.07); }
.strip .tag {
  position: absolute; left: 10px; bottom: 10px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; color: #fff;
  background: rgba(35,49,41,0.72); padding: 4px 10px; border-radius: 999px;
}

/* ---------- research cards ---------- */
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--rule); border-top: 4px solid var(--pine);
  border-radius: 6px; overflow: hidden; display: flex; flex-direction: column;
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
html.js .card { opacity: 0; transform: translateY(22px); }
html.js .card.shown { opacity: 1; transform: none; }
.card:hover { box-shadow: 0 18px 44px rgba(35,49,41,0.14); border-top-color: var(--ochre); transform: translateY(-4px); }
.card-img { position: relative; height: 230px; overflow: hidden; }
.card-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.6s cubic-bezier(0.2,0.6,0.2,1); }
.card:hover .card-img img { transform: scale(1.06); }
.badge {
  position: absolute; top: 12px; left: 14px; display: inline-flex; align-items: center; gap: 7px;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; background: rgba(35,49,41,0.75); padding: 5px 12px; border-radius: 999px;
}
.badge svg { width: 13px; height: 13px; }
.badge.open { background: rgba(46,75,63,0.85); }
.badge.open svg { stroke: #9fe0b8; }
.card-body { padding: 24px 26px 22px; display: flex; flex-direction: column; flex: 1; }
.card h3 { font-family: Georgia, "Times New Roman", serif; font-size: 25px; color: var(--ink); line-height: 1.2; margin-bottom: 4px; }
.ticker { font-size: 12px; font-weight: 700; letter-spacing: 0.1em; color: var(--ochre); text-transform: uppercase; margin-bottom: 14px; }
.ticker-sub { display: inline-block; margin-top: 3px; color: var(--sage); }
.teaser { font-size: 15px; color: #4a5a50; flex: 1; }
.card-foot {
  margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--rule);
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
}
.access { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); }
.access .arrow { display: inline-block; transition: transform 0.25s ease; color: var(--ochre); }
.card:hover .access .arrow { transform: translateX(5px); }
.credit { font-size: 11px; color: var(--sage); text-align: right; max-width: 46%; }

/* ---------- locked list ---------- */
.locked-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.locked {
  display: flex; align-items: center; gap: 14px; text-decoration: none;
  border: 1px solid var(--rule); border-radius: 6px; padding: 18px 18px;
  background: #fbfdfc; transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}
.locked:hover { border-color: var(--ochre); box-shadow: 0 8px 22px rgba(35,49,41,0.1); transform: translateY(-2px); }
.locked .lock {
  flex-shrink: 0; width: 34px; height: 34px; border-radius: 50%;
  background: #eef2ee; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease;
}
.locked:hover .lock { background: #f4e9d4; }
.locked .lock svg { width: 15px; height: 15px; stroke: var(--sage); }
.locked:hover .lock svg { stroke: var(--ochre); }
.locked .name { font-family: Georgia, serif; font-size: 16.5px; color: var(--ink); line-height: 1.25; }
.locked .tick { font-size: 11.5px; font-weight: 700; letter-spacing: 0.08em; color: var(--sage); text-transform: uppercase; }

/* ---------- footer ---------- */
footer { border-top: 3px solid var(--pine); background: linear-gradient(180deg, #f7faf7, #ffffff); }
.foot-inner {
  max-width: 1080px; margin: 0 auto; padding: 40px 28px 48px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap; align-items: center;
}
.foot-brand { font-family: Georgia, serif; font-size: 17px; color: var(--pine); font-weight: 700; }
.foot-line { font-size: 13px; color: var(--sage); }

.reveal { transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .reveal { opacity: 0; transform: translateY(22px); }
html.js .reveal.shown { opacity: 1; transform: none; }

@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr 1fr; }
  .locked-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .grid { grid-template-columns: 1fr; }
  .hero-inner { padding: 64px 22px 52px; }
  .wrap { padding: 44px 22px; }
  .card-img { height: 200px; }
  .hero-chart { opacity: 0.3; width: 80vw; right: -25vw; }
  .credit { max-width: 60%; }
  .locked-grid { grid-template-columns: 1fr; }
  .nav-inner { padding: 12px 20px; }
  .brand { font-size: 16px; }
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 11.5px; }
}

/* ---------- locked cards (match unlocked) ---------- */
.card-img.placeholder {
  background: linear-gradient(150deg, var(--pine) 0%, var(--ink) 100%);
  display: flex; align-items: center; justify-content: center; position: relative;
}
.card-img.placeholder svg.big-lock { width: 44px; height: 44px; stroke: rgba(255,255,255,0.75); }
.card-img.placeholder .ghost {
  position: absolute; inset: 0; opacity: 0.14; pointer-events: none;
}
.badge.locked-badge { background: rgba(35,49,41,0.6); }
.badge.locked-badge svg { stroke: #e8c98a; }
.card-link { text-decoration: none; color: inherit; display: flex; flex-direction: column; }
.card-link:focus-visible { outline: 2px solid var(--ochre); outline-offset: 2px; }

/* ---------- study subpages ---------- */
.study-hero { position: relative; height: 340px; overflow: hidden; border-bottom: 3px solid var(--pine); }
.study-hero img { width: 100%; height: 100%; object-fit: cover; display: block; }
.study-hero .veil { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(35,49,41,0.15) 0%, rgba(35,49,41,0.72) 100%); }
.study-hero .sh-text { position: absolute; left: 0; right: 0; bottom: 0; max-width: 1080px; margin: 0 auto; padding: 0 28px 30px; }
.study-hero .sh-kicker {
  display: inline-block; font-size: 11.5px; letter-spacing: 0.2em; text-transform: uppercase;
  color: #e8c98a; font-weight: 700; margin-bottom: 10px;
  background: rgba(35,49,41,0.55); padding: 4px 12px; border-radius: 999px;
}
.study-hero h1 { color: #fff; font-size: clamp(32px, 5vw, 52px); margin-bottom: 6px; animation: rise 0.7s ease both; }
.study-hero .sh-ticker { font-size: 13px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #cfe0d4; }
.study-body { max-width: 820px; margin: 0 auto; padding: 56px 28px 24px; }
.study-block { margin-bottom: 44px; }
.study-block .section-label { margin-bottom: 16px; }
.q-list { list-style: none; }
.q-list li {
  font-family: Georgia, serif; font-size: 19px; color: var(--pine); line-height: 1.45;
  padding: 16px 0 16px 40px; position: relative; border-bottom: 1px solid var(--rule);
}
.q-list li::before {
  content: "?"; position: absolute; left: 4px; top: 14px;
  font-family: Georgia, serif; font-style: italic; font-size: 20px; color: var(--ochre); font-weight: 700;
}
.hook {
  border-left: 3px solid var(--ochre); padding: 6px 0 6px 20px; margin-bottom: 20px;
  font-family: Georgia, serif; font-size: 18px; font-style: italic; color: var(--ink); line-height: 1.5;
}
.hook-src { display: block; font-family: -apple-system, "Segoe UI", Roboto, sans-serif; font-style: normal; font-size: 12px; color: var(--sage); margin-top: 6px; letter-spacing: 0.06em; text-transform: uppercase; }
.toc { display: flex; flex-wrap: wrap; gap: 10px; }
.toc span {
  font-size: 13px; font-weight: 600; color: var(--pine);
  border: 1px solid var(--rule); background: #fbfdfc; border-radius: 999px; padding: 8px 16px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.toc span:hover { border-color: var(--sage); background: #f2f6f2; }
.cta-band {
  background: linear-gradient(155deg, var(--pine), var(--ink)); border-radius: 8px;
  padding: 40px 36px; color: #eaf1ec; text-align: center; margin: 20px 0 10px;
}
.cta-band .cta-big { font-family: Georgia, serif; font-size: 24px; font-style: italic; margin-bottom: 8px; color: #fff; }
.cta-band .cta-small { font-size: 13.5px; color: #b9c9be; }
.back-link { display: inline-block; margin: 26px 0 8px; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; text-decoration: none; }
.back-link:hover { color: var(--ochre); }
.study-credit { font-size: 11.5px; color: var(--sage); text-align: center; margin-top: 10px; }
.hero-date { color: var(--sage); font-size: 12px; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 12px; }
.study-hero .hero-date { color: #cfe0d4; margin-top: 6px; }
@media (max-width: 760px) {
  .study-hero { height: 250px; }
  .study-hero .sh-text { padding: 0 22px 22px; }
  .study-body { padding: 40px 22px 16px; }
  .q-list li { font-size: 17.5px; }
  .hook { font-size: 16.5px; }
}

/* ---------- landing punches ---------- */
.punches { max-width: 1080px; margin: 0 auto; padding: 40px 28px; }
.punch {
  font-family: Georgia, "Times New Roman", serif; color: var(--pine);
  font-size: clamp(28px, 4.6vw, 46px); line-height: 1.15; font-weight: 700;
  padding: 34px 0; border-bottom: 1px solid var(--rule); max-width: 24ch;
}
.punch em { color: var(--ochre); font-style: italic; }
.punch:nth-child(2) { margin-left: auto; text-align: right; }
.punch small {
  display: block; font-family: -apple-system, "Segoe UI", Roboto, sans-serif;
  font-size: 14px; font-weight: 500; color: #4a5a50; line-height: 1.6;
  max-width: 46ch; margin-top: 12px;
}
.punch:nth-child(2) small { margin-left: auto; }

/* ---------- entry points ---------- */
.entries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.entry {
  position: relative; text-decoration: none; border: 1px solid var(--rule); border-radius: 8px;
  padding: 30px 26px 26px; background: #fbfdfc; overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.entry:hover { transform: translateY(-4px); box-shadow: 0 16px 40px rgba(35,49,41,0.12); border-color: var(--sage); }
.entry .e-kicker { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ochre); font-weight: 700; margin-bottom: 12px; }
.entry .e-title { font-family: Georgia, serif; font-size: 23px; color: var(--ink); margin-bottom: 8px; }
.entry .e-copy { font-size: 14px; color: #4a5a50; margin-bottom: 18px; }
.entry .e-go { font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--pine); }
.entry .e-go .arrow { display: inline-block; color: var(--ochre); transition: transform 0.25s ease; }
.entry:hover .e-go .arrow { transform: translateX(5px); }
.entry.dark { background: linear-gradient(155deg, var(--pine), var(--ink)); border-color: var(--pine); }
.entry.dark .e-title { color: #fff; }
.entry.dark .e-copy { color: #b9c9be; }
.entry.dark .e-go { color: #eaf1ec; }
@media (max-width: 860px) { .entries { grid-template-columns: 1fr; } }

/* anchor offset under sticky nav */
[id] { scroll-margin-top: 84px; }

/* ---------- landing: rainforest canopy ---------- */
.canopy { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.canopy-bg {
  position: absolute; inset: -6%;
  background: url("/img/hero.jpg") center 42% / cover no-repeat;
  animation: canopy-drift 46s ease-in-out infinite alternate;
  will-change: transform;
}
@keyframes canopy-drift {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.09) translate3d(-1.6%, -2.2%, 0); }
}
.canopy-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, rgba(35,49,41,0.78) 0%, rgba(46,75,63,0.55) 45%, rgba(35,49,41,0.42) 100%);
}
.canopy-mist {
  position: absolute; inset: -20% -40%;
  background:
    radial-gradient(ellipse 46% 30% at 24% 68%, rgba(255,255,255,0.13), transparent 70%),
    radial-gradient(ellipse 40% 26% at 72% 30%, rgba(214,228,217,0.10), transparent 70%);
  animation: mist-drift 60s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes mist-drift {
  from { transform: translate3d(-4%, 1.5%, 0); opacity: 0.8; }
  to   { transform: translate3d(4%, -1.5%, 0); opacity: 1; }
}
.canopy-inner { position: relative; z-index: 2; max-width: 1160px; margin: 0 auto; padding: 120px 28px 96px; width: 100%; }
.kicker.light { color: #cfe0d2; }
.kicker.light::before { background: var(--ochre); }
.canopy h1 { color: #f4f7f3; text-shadow: 0 2px 30px rgba(20,30,24,0.45); }
.canopy h1 em { color: #e8c98a; }
.hero-sub.light { color: #dfe9e0; text-shadow: 0 1px 18px rgba(20,30,24,0.5); max-width: 560px; }
.btn-ghost.light { color: #eef4ee; border-color: rgba(238,244,238,0.55); }
.btn-ghost.light:hover { background: rgba(238,244,238,0.12); border-color: #e8c98a; color: #fff; }

/* taglines */
.tag-strip {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--rule); border-bottom: 1px solid var(--rule);
}
.tag { background: #fbfdfc; padding: 34px 28px; text-align: center; }
.tag b { font-family: Georgia, "Times New Roman", serif; font-size: 21px; font-weight: 400; color: var(--ink); font-style: italic; }
html.js .tag { opacity: 0; transform: translateY(14px); transition: opacity 0.6s ease, transform 0.6s ease; }
html.js .tag.shown { opacity: 1; transform: none; }

/* film */
.film-wrap { padding-top: 56px; }
.film-frame {
  position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16/9;
  border: 1px solid var(--rule); box-shadow: 0 24px 60px rgba(35,49,41,0.16);
}
.film-frame img { width: 100%; height: 100%; object-fit: cover; display: block; filter: saturate(0.9) brightness(0.86); }
.play-btn {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
  width: 84px; height: 84px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.85);
  background: rgba(35,49,41,0.55); color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(3px); transition: background 0.25s ease, transform 0.25s ease;
}
.play-btn svg { width: 34px; height: 34px; margin-left: 5px; }
.play-btn:hover:not(:disabled) { background: rgba(168,124,46,0.7); transform: translate(-50%,-50%) scale(1.06); }
.play-btn:disabled { cursor: default; opacity: 0.9; }
.film-soon {
  position: absolute; bottom: 18px; left: 0; right: 0; text-align: center;
  color: rgba(255,255,255,0.85); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  text-shadow: 0 1px 10px rgba(20,30,24,0.6);
}
.foot-credit { margin-top: 6px; color: var(--sage); font-size: 11.5px; }

@media (max-width: 760px) {
  .canopy { min-height: 78vh; }
  .canopy-inner { padding: 88px 22px 64px; }
  .tag-strip { grid-template-columns: 1fr; }
  .tag { padding: 22px 20px; }
  .play-btn { width: 64px; height: 64px; }
  .play-btn svg { width: 26px; height: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .canopy-bg, .canopy-mist { animation: none; }
}

/* ---------- feature card (latest research) ---------- */
.feature-card {
  display: grid; grid-template-columns: 1.25fr 1fr; text-decoration: none; color: inherit;
  border: 1px solid var(--rule); border-top: 4px solid var(--pine); border-radius: 8px; overflow: hidden;
  background: #fff; box-shadow: 0 22px 55px rgba(35,49,41,0.12);
  transition: box-shadow 0.25s ease, border-color 0.25s ease, transform 0.6s ease, opacity 0.6s ease;
  margin-bottom: 8px;
}
html.js .feature-card { opacity: 0; transform: translateY(22px); }
html.js .feature-card.shown { opacity: 1; transform: none; }
.feature-card:hover { box-shadow: 0 26px 66px rgba(35,49,41,0.18); border-top-color: var(--ochre); }
.feature-img { position: relative; min-height: 340px; overflow: hidden; }
.feature-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(0.2,0.6,0.2,1); }
.feature-card:hover .feature-img img { transform: scale(1.05); }
.feature-body { padding: 40px 42px 34px; display: flex; flex-direction: column; }
.feature-body h3 { font-family: Georgia, "Times New Roman", serif; font-size: 34px; color: var(--ink); margin-bottom: 6px; }
.feature-body .teaser { font-size: 16.5px; }
@media (max-width: 760px) {
  .feature-card { grid-template-columns: 1fr; }
  .feature-img { min-height: 220px; }
  .feature-body { padding: 28px 24px 26px; }
  .feature-body h3 { font-size: 27px; }
}
.film-frame video { width: 100%; height: 100%; object-fit: cover; display: block; background: #101814; }

/* Recovery additions: narrow navigation and accessible focus. */
.teaser-page .study-body { padding-bottom: 56px; }
.teaser-page .teaser { margin-bottom: 24px; }
.teaser-page .study-credit { text-align: left; margin: 24px 0; }
.film-link { margin-top: 12px; font-size: 13px; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 4px; }
@media (max-width: 480px) {
  .nav-inner { flex-wrap: wrap; }
  .nav-links { width: 100%; justify-content: space-between; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* Unified Research: public previews and the entitled client library. */
.research-page { --paper: #faf8f2; background: var(--paper); }
.research-page .hero { background: linear-gradient(160deg,#faf8f2 50%,#eef4ef 100%); }
.research-page .hero-inner { padding: 72px 28px 56px; }
.research-page .nav-links { flex-wrap: wrap; gap: 12px 24px; }
.research-page article.card-link { cursor: default; }
.client-library { margin-bottom: 56px; padding-bottom: 36px; border-bottom: 1px solid var(--rule); }
.client-library .grid { margin-top: 24px; }
.client-library .latest-publication { margin-top: 16px; }
.lib-feature { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); margin-top: 16px; border: 1px solid var(--rule); border-radius: 12px; overflow: hidden; background: var(--panel, #fff); }
.lib-feature .card-img { height: 100%; min-height: 240px; }
.lib-feature-body { padding: 26px 30px; }
.lib-feature-body h3 { font-size: 1.7rem; line-height: 1.2; margin: 8px 0 4px; overflow-wrap: anywhere; }
.lib-feature-body h3 a { text-decoration: none; }
.lib-feature .lib-teaser { margin: 10px 0 0; }
.lib-feature .lib-stats { margin: 18px 0 6px; }
.lib-feature .lib-na { font-weight: 400; }
.lib-feature .lib-date { margin: 12px 0 14px; font-size: 0.9rem; opacity: 0.75; }
@media (max-width: 800px) { .lib-feature { grid-template-columns: 1fr; } .lib-feature .card-img { min-height: 200px; } }
.client-library .card h3 { overflow-wrap: anywhere; }
.client-library .card h3 a { text-decoration: none; }
.report-status { color: var(--pine); font-size: 12px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.research-search { margin: 0 0 36px; }
.research-search label { display: block; font-weight: 600; margin-bottom: 10px; }
.research-search > div { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.research-search input { font: inherit; padding: 12px; border: 1px solid var(--sage); border-radius: 4px; background: #fff; color: var(--ink); flex: 1; min-width: 180px; }
.research-search button { border: 0; cursor: pointer; }
.research-notice { margin: 24px 0; padding: 24px; border-left: 3px solid var(--ochre); background: #f2eee3; }
.research-notice h2 { font-family: Georgia, serif; margin-bottom: 10px; }
.report-pages { position: static; background: transparent; display: flex; gap: 24px; padding: 24px 0; }
.teaser-page .client-library .grid { grid-template-columns: 1fr; }

/* ---------- client company hero (signed-in company pages) ---------- */
.co-hero {
  max-width: 1080px; margin: 0 auto; padding: 0 28px 8px;
}
.co-quotes {
  display: flex; flex-wrap: wrap; gap: 28px 44px; align-items: end;
  padding: 22px 0 18px; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.co-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; margin-bottom: 18px; }
.co-nav a { color: var(--sage); text-decoration: none; }
.co-nav-sep { color: var(--rule); }
.co-tabs { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-bottom: 22px; padding-bottom: 12px; border-bottom: 1px solid var(--rule); }
.co-tabs a { font-size: 13px; text-decoration: none; }
.co-quote { display: flex; flex-direction: column; gap: 2px; }
.co-num {
  font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 700;
  color: var(--pine); line-height: 1.1;
}
.co-fv .co-num { color: var(--ochre); }
.co-sub {
  font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--sage); font-weight: 600;
}
.co-chip-wrap { justify-content: end; }
.co-chip {
  display: inline-block; border: 1px solid var(--pine); border-radius: 999px;
  color: var(--pine); font-size: 13px; font-weight: 700; padding: 6px 14px;
}
.co-charts {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px; padding: 22px 0 4px;
}
@media (max-width: 720px) { .co-charts { grid-template-columns: 1fr; } }
.co-view { border: 1px solid var(--rule); border-radius: 10px; padding: 16px 18px; margin: 8px 0 4px; }
.co-view h3 { margin: 0 0 8px; }
.co-view p { margin: 10px 0 0; }
.co-view ul { margin: 10px 0 0; padding-left: 20px; }
.co-view li { margin: 4px 0; }
.co-chart { margin: 0; }
.co-chart figcaption {
  font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ink); font-weight: 700; margin-bottom: 8px;
}
.co-chart figcaption span { color: var(--sage); font-weight: 600; letter-spacing: 0.06em; }
.co-chart svg { width: 100%; height: auto; display: block; }
.co-chart polyline { fill: none; stroke: var(--pine); stroke-width: 2; }
.co-chart circle { fill: var(--ochre); }
.co-chart rect { fill: var(--sage); }
.co-chart line { stroke: var(--rule); stroke-width: 1; }
.co-legend {
  display: flex; justify-content: space-between; gap: 10px; flex-wrap: wrap;
  font-size: 12px; color: var(--ink); margin-top: 6px;
}
.co-note { font-size: 12px; color: var(--sage); margin-top: 6px; }
.co-thesis {
  font-family: Georgia, "Times New Roman", serif; font-size: 21px; line-height: 1.45;
  color: var(--ink); max-width: 44rem; padding: 20px 0 4px;
}
.co-stats {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 14px; margin: 16px 0 0;
}
.co-stats > div { border: 1px solid var(--rule); border-radius: 10px; padding: 12px 14px; }
.co-stats dt {
  font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--sage); font-weight: 700; margin-bottom: 4px;
}
.co-stats dd { margin: 0; font-size: 14px; line-height: 1.4; color: var(--ink); }
.co-details { margin-top: 18px; max-width: 44rem; }
.co-details summary {
  cursor: pointer; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--pine);
}
.co-details p { margin: 12px 0 0; line-height: 1.65; }
.co-details ul { margin: 12px 0 0; padding-left: 20px; }
.co-details li { margin-bottom: 6px; line-height: 1.55; }
.co-cta { margin-top: 20px; }
.co-news, .co-events { margin-top: 24px; max-width: 44rem; }
.co-news h3, .co-events h3 {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: 10px;
}
.co-news ul, .co-events ul { list-style: none; padding: 0; margin: 0; }
.co-news li, .co-events li {
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px;
}
.co-news time, .co-events time {
  flex: 0 0 84px; font-size: 12px; color: var(--sage); font-weight: 600;
}
.co-news .co-src { font-size: 11px; color: var(--sage); text-transform: uppercase; letter-spacing: 0.06em; }
.co-read, .co-focus, .co-profile, .co-lead, .co-subs { margin-top: 24px; max-width: 44rem; }
.co-read h3, .co-focus h3, .co-profile h3, .co-lead h3, .co-subs h3 {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ochre); margin-bottom: 10px;
}
.co-read p, .co-focus p, .co-profile p { margin: 0 0 12px; line-height: 1.65; font-size: 15px; }
.co-lead ul, .co-subs ul { list-style: none; padding: 0; margin: 0; }
.co-lead li, .co-subs li {
  display: flex; gap: 12px; align-items: baseline; flex-wrap: wrap;
  padding: 8px 0; border-bottom: 1px solid var(--rule); font-size: 14px;
}
.co-subs li p { flex-basis: 100%; margin: 2px 0 0; font-size: 13px; line-height: 1.55; color: var(--ink); }
.co-subs a { font-weight: 700; }
.co-lead .co-name { font-weight: 700; }
.co-lead .co-src { font-size: 11px; color: var(--sage); text-transform: uppercase; letter-spacing: 0.06em; }

/* Nested subsidiary pages (client-only, worker-rendered) */
.sub-page { max-width: 56rem; margin: 0 auto; padding: 32px 18px 56px; }
.sub-page h1 { font-size: 30px; line-height: 1.2; margin: 8px 0 6px; color: var(--ink); }
.sub-rel { color: var(--sage); font-size: 14px; margin: 0; }
.sub-basis {
  font-size: 13px; color: var(--ink); margin: 18px 0 0; padding: 10px 0;
  border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule);
}
.sub-h {
  font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ochre); margin: 28px 0 10px;
}
.sub-p { margin: 0; line-height: 1.65; font-size: 15px; max-width: 44rem; }
.sub-fin { width: 100%; border-collapse: collapse; font-size: 14px; }
.sub-fin th, .sub-fin td { text-align: left; padding: 8px 10px; border-bottom: 1px solid var(--rule); }
.sub-fin thead th { font-size: 10px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--sage); }
.sub-na { color: var(--sage); }
.sub-per { font-size: 11px; color: var(--sage); }
.sub-src { font-size: 11px; color: var(--pine); text-transform: uppercase; letter-spacing: 0.06em; margin-left: 8px; }
.sub-gaps { padding-left: 20px; margin: 0; }
.sub-gaps li { margin-bottom: 6px; line-height: 1.55; }
@media (max-width: 640px) {
  .co-hero { padding: 0 18px 8px; }
  .co-quotes { gap: 16px 28px; }
  .co-num { font-size: 24px; }
  .co-thesis { font-size: 18px; }
  .co-news time, .co-events time { flex-basis: 70px; }
}

/* Company page v2: key numbers, calls track record, chart markers */
.co-keys { margin: 18px 0 8px; }
.co-keys dd { font-size: 20px; font-weight: 600; }
.co-calls { margin-top: 28px; }
.co-calls h3 { margin-bottom: 10px; }
.co-calls ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.co-calls li { line-height: 1.5; }
.co-calls .co-chip { margin-right: 8px; }
.co-call { fill: #b3541e; stroke: #fff; stroke-width: 1.5; }
.co-call-key { color: #b3541e; }

/* Research hub: permanent left-margin section navigation (identical to the worker-embedded hub rules) */
.hub-shell { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 2rem; align-items: start; }
.hub-nav { position: sticky; top: 24px; display: flex; flex-direction: column; gap: 2px; border-right: 1px solid #e4e9e4; padding-right: 16px; }
.hub-nav a { display: block; padding: 7px 10px; border-radius: 6px; text-decoration: none; font-size: 0.92rem; color: inherit; }
.hub-nav a:hover { background: rgba(46, 75, 63, 0.08); }
.hub-nav a.active { background: #2e4b3f; color: #fff; font-weight: 650; }
.study-body:has(.hub-shell) { max-width: 1120px; }
@media (max-width: 760px) {
  .hub-shell { display: block; }
  .hub-nav { position: static; flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid #e4e9e4; padding: 0 0 10px; margin-bottom: 20px; }
}
