/* Cabrera Research Lab: public site styles */
:root {
  --ink: #111110;
  --charcoal: #43423e;
  --paper: #ffffff;
  --stone: #f4f3f0;
  --mute: #66645e;
  --rule: #e2e0da;
  --accent: #c4574c;           /* the red of the goat logo's heart */
  --dark: #0b0b0a;
  --dark-text: #d9d7d0;
  --sans: "Montserrat", "Helvetica Neue", Arial, sans-serif;
  --serif: "Source Serif 4", Georgia, serif;
  --wrap: 1180px;
  --narrow: 720px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 16px/1.65 var(--sans); }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-weight: 400; line-height: 1.15; margin: 0 0 .6em; letter-spacing: .01em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.4rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap.narrow { max-width: calc(var(--narrow) + 48px); }
.center { text-align: center; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }
.eyebrow { font-size: .72rem; font-weight: 500; letter-spacing: .22em; text-transform: uppercase; color: var(--mute); margin-bottom: 1.1em; }
.eyebrow a { text-decoration: none; }
.eyebrow a:hover { color: var(--accent); }
.eyebrow.light { color: #a9a69d; }
.lead { font-size: 1.2rem; line-height: 1.5; }
.display { font-size: clamp(2rem, 4.4vw, 3.2rem); text-transform: uppercase; letter-spacing: .06em; font-weight: 400; }
.muted-light { color: #a9a69d; }

/* buttons */
.btn { display: inline-block; padding: 12px 22px; border-radius: 999px; font: 500 .82rem var(--sans); letter-spacing: .08em; text-transform: uppercase; text-decoration: none; border: 1px solid currentColor; transition: background .2s, color .2s; }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: transparent; color: #fff; }
.btn-ghost { color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: transparent; color: var(--ink); }
.btn-ghost-dark { color: var(--ink); }
.text-link { font-weight: 500; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; white-space: nowrap; }
.text-link:hover { color: var(--accent); }
.text-link.light { color: #fff; }

/* header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: saturate(1.2) blur(8px); border-bottom: 1px solid var(--rule); }
.header-row { display: flex; align-items: center; justify-content: space-between; height: 72px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand span { font-weight: 600; letter-spacing: .2em; text-transform: uppercase; font-size: .8rem; color: var(--charcoal); }
.site-nav { display: flex; align-items: center; gap: 26px; }
.site-nav a { text-decoration: none; font-size: .86rem; padding: 6px 0; border-bottom: 1px solid transparent; }
.site-nav a:hover, .site-nav a[aria-current] { border-bottom-color: var(--ink); }
.site-nav a.pill { background: var(--ink); color: #fff; padding: 8px 18px; border-radius: 999px; border: 1px solid var(--ink); }
.site-nav a.pill:hover { background: #fff; color: var(--ink); }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: var(--ink); margin: 5px 0; transition: transform .2s, opacity .2s; }
@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .site-nav { position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 20px; border-bottom: 1px solid var(--rule); display: none; }
  .site-nav.open { display: flex; }
  .site-nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); font-size: 1rem; }
  .site-nav a.pill { margin-top: 16px; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

/* hero */
.hero { position: relative; min-height: min(calc(100vh - 72px - 150px), 860px); min-height: min(calc(100svh - 72px - 150px), 860px); display: flex; color: #fff; overflow: hidden; background: #2b2d33; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.0) 0%, rgba(0,0,0,.08) 30%, rgba(0,0,0,.62) 58%, rgba(0,0,0,.92) 100%); }
.hero-inner { position: relative; display: flex; flex-direction: column; justify-content: space-between; padding-top: 48px; padding-bottom: 64px; }
.hero-quotes { display: grid; gap: 18px; max-width: 620px; color: var(--ink); }
.hero-quotes figure { display: flex; align-items: center; gap: 18px; margin: 0; }
.hero-quotes img { width: 92px; height: auto; flex: none; object-fit: contain; }
.hero-quotes q { display: block; font-weight: 600; font-size: 1.02rem; quotes: "“" "”"; }
.hero-quotes cite { font-style: normal; font-size: .74rem; color: #3d3d3a; }
.hero-title { max-width: 900px; text-shadow: 0 1px 18px rgba(0,0,0,.35); }
.hero-title .eyebrow { color: #f1efe9; }
.hero-title h1 { font-size: clamp(2.6rem, 7vw, 5.4rem); font-weight: 300; letter-spacing: .01em; line-height: 1.02; margin-bottom: .3em; }
.hero-sub { font-size: clamp(1.05rem, 2vw, 1.35rem); color: #e8e6e0; margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* bands */
.band { padding: 104px 0; }
.band.tight { padding: 56px 0 96px; }
.band.dark { background: var(--dark); color: var(--dark-text); }
.band.dark a:not(.btn) { color: #fff; }
.h-light { color: #fff; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.split > div > p { max-width: 560px; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; gap: 40px; } .band { padding: 72px 0; } }
.map { margin: 0; }
.map figcaption { margin-top: 16px; text-align: center; font-style: italic; color: #a9a69d; }
.map figcaption strong { color: #fff; font-style: normal; font-weight: 500; }

/* why it matters */
.why { position: relative; min-height: 760px; display: flex; align-items: flex-end; overflow: hidden; }
.why-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.why-inner { position: relative; display: flex; justify-content: flex-end; padding-top: 220px; padding-bottom: 64px; }
.why-card { background: rgba(255,255,255,.95); max-width: 560px; padding: 44px 44px 36px; }
.why-card h2 { font-size: 1.7rem; }
.ticks { list-style: none; padding: 0; margin: 0 0 1.2em; }
.ticks li { padding: 6px 0 6px 26px; position: relative; border-top: 1px solid var(--rule); }
.ticks li::before { content: ""; position: absolute; left: 2px; top: 16px; width: 10px; height: 2px; background: var(--accent); }
.kicker { font-weight: 600; margin: 0; }
@media (max-width: 640px) { .why { min-height: 0; } .why-inner { padding: 260px 0 0; } .why-card { padding: 32px 24px; } }

/* podcast and partners */
.podcast-art img { border-radius: 4px; transition: transform .3s; }
.podcast-art:hover img { transform: scale(1.015); }
.partners { margin-top: 88px; padding-top: 56px; border-top: 1px solid #2a2a27; text-align: center; }
.partners p { max-width: 640px; margin: 0 auto 28px; color: #c9c6be; }
.badge-row { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 28px 40px; margin-bottom: 48px; }
.badge-row img { height: 84px; width: auto; }
.badge-row.sponsors img { height: 96px; }
.invert { filter: invert(1) brightness(1.4); }

/* people */
.people { display: grid; grid-template-columns: repeat(2, minmax(0, 360px)); justify-content: center; gap: 56px; margin-top: 48px; }
.person img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; object-position: 50% 25%; margin-bottom: 22px; }
.person .eyebrow { margin-bottom: .4em; }
.person h3 { margin-bottom: .5em; }
.person p:not(.eyebrow) { color: var(--mute); font-size: .95rem; }
@media (max-width: 720px) { .people { grid-template-columns: 1fr; } }

/* research areas */
.intro { margin-bottom: 72px; }
.area { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 56px 0; border-top: 1px solid var(--rule); }
.area.flip .area-media { order: 2; }
.area-media img { width: 100%; max-height: 480px; object-fit: contain; }
.area-text h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); text-transform: uppercase; letter-spacing: .08em; }
.area-text p { color: #34332f; max-width: 520px; }
.area-text .eyebrow { color: var(--accent); }
.icon-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; max-width: 460px; margin: 0 auto; }
.domains { list-style: none; padding: 0; margin: 0 0 1em; columns: 2; column-gap: 28px; }
.domains li { break-inside: avoid; padding: 5px 0; font-size: .93rem; border-top: 1px solid var(--rule); }
.domains b { font-weight: 600; }
@media (max-width: 860px) { .area { grid-template-columns: 1fr; gap: 28px; } .area.flip .area-media { order: 0; } .domains { columns: 1; } }

/* numbers */
.numbers { position: relative; padding: 110px 0 0; overflow: hidden; }
.numbers-inner { display: flex; flex-direction: column; align-items: flex-end; padding-bottom: 110px; position: relative; z-index: 1; }
.numbers dl { display: grid; grid-template-columns: repeat(2, 220px); gap: 36px 48px; margin: 0; }
.numbers dt { font-size: 3.2rem; font-weight: 300; line-height: 1; padding-bottom: 14px; position: relative; }
.numbers dt::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--accent); }
.numbers dd { margin: 12px 0 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
.numbers-dog { position: absolute; left: 0; bottom: 0; width: 46%; max-width: 640px; }
@media (max-width: 760px) { .numbers-inner { align-items: flex-start; padding-bottom: 300px; } .numbers dl { grid-template-columns: repeat(2, 1fr); } .numbers-dog { width: 90%; } }

/* careers */
.job-card { display: block; text-decoration: none; border: 1px solid #3a3a36; border-radius: 6px; padding: 36px; transition: border-color .2s, background .2s; }
.job-card:hover { border-color: #fff; background: #151513; }
.job-card h3 { color: #fff; }

/* cards */
.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 36px; }
.section-head h2 { margin: 0; }
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 44px 32px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 600px) { .cards { grid-template-columns: 1fr; } }
.card { display: flex; flex-direction: column; }
.card-img { display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--stone); margin-bottom: 18px; }
.card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .card-img img { transform: scale(1.03); }
.card-noimg { display: flex; width: 100%; height: 100%; align-items: center; justify-content: center; }
.card-noimg img { width: 64px; height: 64px; object-fit: contain; opacity: .35; }
.card-meta { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-bottom: .6em; }
.card-meta span { color: var(--accent); }
.card h3 { font-size: 1.15rem; line-height: 1.3; font-weight: 500; }
.card h3 a { text-decoration: none; }
.card h3 a:hover { color: var(--accent); }
.card-excerpt { color: var(--mute); font-size: .92rem; margin-bottom: .6em; }
.card-author { font-size: .8rem; color: var(--mute); margin: auto 0 0; }
.card-big { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; padding-bottom: 56px; margin-bottom: 56px; border-bottom: 1px solid var(--rule); }
.card-big .card-img { margin: 0; }
.card-big h3 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 400; }
@media (max-width: 760px) { .card-big { grid-template-columns: 1fr; gap: 18px; } }

/* blog index */
.blog-head { padding: 72px 0 24px; border-bottom: 1px solid var(--rule); }
.blog-head h1 { margin-bottom: .3em; }
.blog-intro { max-width: 680px; color: var(--mute); }
.blog-search { display: flex; gap: 8px; max-width: 520px; margin: 28px 0 24px; }
.blog-search input { flex: 1; min-width: 0; padding: 12px 16px; border: 1px solid var(--rule); border-radius: 999px; font: inherit; }
.blog-search button, .subscribe-form button { padding: 12px 22px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font: 500 .8rem var(--sans); letter-spacing: .08em; text-transform: uppercase; cursor: pointer; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; padding-bottom: 24px; }
.chip { font-size: .8rem; text-decoration: none; border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; }
.chip span { color: var(--mute); margin-left: 4px; }
.chip:hover { border-color: var(--ink); }
.chip[aria-current] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip[aria-current] span { color: #bbb; }
.pager { display: flex; justify-content: space-between; align-items: center; margin-top: 64px; padding-top: 24px; border-top: 1px solid var(--rule); font-size: .9rem; }
.pager a { text-decoration: none; font-weight: 500; }
.result-note, .empty { color: var(--mute); margin-bottom: 32px; }

/* post */
.preview-bar { background: #fff4d6; border-bottom: 1px solid #ecd9a0; padding: 12px 24px; text-align: center; font-size: .9rem; }
.post-head { padding-top: 64px; }
.post-head h1 { font-size: clamp(2rem, 4.6vw, 3.2rem); line-height: 1.1; }
.post-head .eyebrow a { color: var(--accent); }
.post-meta { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .85rem; color: var(--mute); margin-bottom: 40px; }
.post-cover { margin: 0 auto 48px; max-width: 1000px; }
.post-cover img { width: 100%; max-height: 620px; object-fit: cover; }
.prose { font-family: var(--serif); font-size: 1.16rem; line-height: 1.75; color: #1d1c1a; }
.prose > * { margin: 0 0 1.15em; }
.prose h2, .prose h3, .prose h4 { font-family: var(--sans); color: var(--ink); margin: 1.8em 0 .6em; }
.prose h2 { font-size: 1.6rem; } .prose h3 { font-size: 1.3rem; font-weight: 500; } .prose h4 { font-size: 1.1rem; font-weight: 600; }
.prose a { color: var(--accent); text-underline-offset: 3px; }
.prose img { height: auto; margin: 0 auto; }
.prose figure { margin: 2em 0; }
.prose figcaption { font-family: var(--sans); font-size: .82rem; color: var(--mute); text-align: center; margin-top: 10px; }
.prose blockquote { border-left: 3px solid var(--accent); margin-left: 0; padding: .2em 0 .2em 1.2em; font-style: italic; color: #3a3935; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li { margin-bottom: .4em; }
.prose hr { border: 0; border-top: 1px solid var(--rule); margin: 2.5em 0; }
.prose .video { position: relative; aspect-ratio: 16 / 9; margin: 2em 0; }
.prose .video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.prose .gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 8px; }
.prose .gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 1; }
.prose .table-wrap { overflow-x: auto; font-family: var(--sans); font-size: .9rem; }
.prose table { border-collapse: collapse; width: 100%; }
.prose td, .prose th { border: 1px solid var(--rule); padding: 8px 10px; vertical-align: top; }
.prose .button { display: inline-block; font-family: var(--sans); background: var(--ink); color: #fff; text-decoration: none; padding: 10px 20px; border-radius: 999px; font-size: .85rem; }
.prose .file-note { font-family: var(--sans); font-size: .85rem; color: var(--mute); }
.post-foot { padding-top: 32px; padding-bottom: 72px; }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding: 20px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); font-size: .85rem; }
.share span { color: var(--mute); margin-right: 6px; }
.share a, .share button { border: 1px solid var(--rule); border-radius: 999px; padding: 6px 14px; background: none; font: inherit; cursor: pointer; text-decoration: none; }
.share a:hover, .share button:hover { border-color: var(--ink); }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
.post-nav a { text-decoration: none; font-weight: 500; line-height: 1.35; }
.post-nav a:hover { color: var(--accent); }
.post-nav small { display: block; font-size: .7rem; letter-spacing: .18em; text-transform: uppercase; color: var(--mute); font-weight: 400; margin-bottom: 4px; }
.post-nav .right { text-align: right; }
.related { background: var(--stone); }

/* bio and job */
.bio, .job { padding: 72px 0 96px; }
.bio-grid { display: grid; grid-template-columns: 320px 1fr; gap: 64px; align-items: start; }
.bio-grid aside { position: sticky; top: 104px; }
.bio-grid aside img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; margin-bottom: 16px; }
.bio-grid .prose { font-size: 1.08rem; }
@media (max-width: 860px) { .bio-grid { grid-template-columns: 1fr; gap: 32px; } .bio-grid aside { position: static; max-width: 320px; } }

/* footer */
.site-footer { background: var(--dark); color: var(--dark-text); padding: 80px 0 32px; }
.site-footer a { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; }
.footer-logos { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 22px; margin-top: 24px; }
.footer-logos img { width: auto; }
.subscribe-form { display: flex; flex-wrap: wrap; gap: 8px; }
.subscribe-form input { flex: 1; min-width: 200px; padding: 12px 16px; border-radius: 999px; border: 1px solid #3a3a36; background: #151513; color: #fff; font: inherit; }
.subscribe-form button { background: #fff; color: var(--ink); border-color: #fff; }
.form-msg { width: 100%; font-size: .85rem; min-height: 1.3em; margin: 6px 0 0; }
.footer-base { display: flex; justify-content: space-between; margin-top: 64px; padding-top: 24px; border-top: 1px solid #2a2a27; font-size: .8rem; color: #8c897f; }
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }

/* rotating hero headline */
.rotator .rot-prefix { display: block; font-size: .55em; letter-spacing: .02em; color: #e8e6e0; margin-bottom: .08em; }
.rotator .rot-word { display: inline-block; white-space: nowrap; transition: opacity .35s ease, transform .35s ease; }
.rotator .rot-word.out { opacity: 0; transform: translateY(-.25em); }
.rotator .rot-word.in { opacity: 0; transform: translateY(.25em); transition: none; }
.rotator .o { color: #ef6f5f; font-weight: 400; }
.rotator .rot-word.final .o { text-shadow: 0 0 40px rgba(239,111,95,.45); }

/* little arrow on menu links that leave the site */
.site-nav .ext { display: inline-block; margin-left: 3px; font-size: .78em; opacity: .55; transform: translateY(-1px); transition: transform .2s, opacity .2s; }
.site-nav a:hover .ext { opacity: 1; transform: translate(1px, -2px); }

/* double bottom line */
.dbl { background: var(--stone); }
.dbl-title { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 820px; margin-bottom: 1.2em; }
.dbl-lines { display: grid; grid-template-columns: 1fr 1fr; gap: 0; border-top: 2px solid var(--ink); }
.dbl-lines article { padding: 36px 40px 36px 0; position: relative; }
.dbl-lines article + article { padding-left: 40px; border-left: 1px solid var(--rule); }
.dbl-num { display: block; font-size: 3.6rem; font-weight: 300; line-height: 1; color: var(--accent); margin-bottom: 18px; }
.dbl-lines h3 { font-size: 1.5rem; font-weight: 500; margin-bottom: .5em; }
.dbl-lines p { color: #34332f; max-width: 460px; margin: 0; }
.neq { margin-top: 88px; padding-top: 64px; border-top: 1px solid var(--rule); text-align: center; }
.neq-eq { display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 0 .3em; font-size: clamp(1.9rem, 8.5vw, 6rem); font-weight: 300; line-height: 1; letter-spacing: -.01em; margin-bottom: .5em; }
.neq-sign { color: var(--accent); font-weight: 400; }
.neq-lead { font-size: 1.25rem; max-width: 640px; margin: 0 auto 28px; color: #34332f; }
.neq-cols { display: grid; grid-template-columns: 1fr 1fr; max-width: 820px; margin: 0 auto; text-align: left; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--ink); }
.neq-cols > div { padding: 28px 32px; }
.neq-cols > div + div { border-left: 1px solid var(--rule); }
.neq-cols h3 { font-size: .78rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; margin-bottom: .8em; }
.neq-cols p { font-size: 1.15rem; line-height: 1.5; margin: 0; }
.neq-close { max-width: 640px; margin: 40px auto 0; font-weight: 600; font-size: 1.1rem; }
@media (max-width: 760px) {
  .dbl-lines, .neq-cols { grid-template-columns: 1fr; }
  .dbl-lines article, .dbl-lines article + article { padding: 28px 0; border-left: 0; }
  .dbl-lines article + article { border-top: 1px solid var(--rule); }
  .neq-cols > div + div { border-left: 0; border-top: 1px solid var(--rule); }
  .neq { margin-top: 56px; padding-top: 48px; }
}

/* quotes band under the hero */
.hero-inner { justify-content: flex-end; }
.quote-band { background: #fff; border-bottom: 1px solid var(--rule); }
.quote-row { display: grid; grid-template-columns: 1fr 1fr; }
.quote-row figure { margin: 0; padding: 44px 48px 40px 0; display: grid; grid-template-columns: 88px 1fr; column-gap: 24px; align-items: center; }
.quote-row figure + figure { padding-left: 48px; padding-right: 0; border-left: 1px solid var(--rule); }
.quote-row img { width: 88px; height: 56px; object-fit: contain; grid-row: span 2; }
.quote-row blockquote { margin: 0; font-size: 1.22rem; line-height: 1.35; font-weight: 500; quotes: "“" "”"; }
.quote-row blockquote::before { content: open-quote; }
.quote-row blockquote::after { content: close-quote; }
.quote-row figcaption { font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--mute); margin-top: 8px; }
.quote-row figure:only-child { grid-column: 1 / -1; }
@media (max-width: 820px) {
  .quote-row { grid-template-columns: 1fr; }
  .quote-row figure, .quote-row figure + figure { padding: 28px 0; border-left: 0; grid-template-columns: 64px 1fr; column-gap: 18px; }
  .quote-row figure + figure { border-top: 1px solid var(--rule); }
  .quote-row img { width: 64px; }
  .quote-row blockquote { font-size: 1.05rem; }
}

/* v7: shorter hero framed on the peaks; quotes band blends hero into Overview */
.hero { min-height: clamp(500px, 64vh, 700px); min-height: clamp(500px, 64svh, 700px); }
.hero-video { object-position: 50% 78%; }
.hero-shade { background: linear-gradient(180deg, rgba(11,11,10,0) 0%, rgba(11,11,10,.25) 35%, rgba(11,11,10,.75) 72%, #0b0b0a 100%); }
.hero-inner { padding-top: 32px; padding-bottom: 48px; }
.quote-band { background: #0b0b0a; border-bottom: 0; color: var(--dark-text); }
.quote-row { border-top: 1px solid #2a2a27; border-bottom: 1px solid #2a2a27; }
.quote-row figure + figure { border-left-color: #2a2a27; }
.quote-row img { filter: brightness(0) invert(1); opacity: .75; }
.quote-row blockquote { color: #f1efe9; font-weight: 400; }
.quote-row figcaption { color: #8c897f; }
.quote-band + #overview { padding-top: 72px; }
@media (max-width: 820px) { .quote-row figure + figure { border-top-color: #2a2a27; } }

/* pull quote in the double bottom line */
.pull { max-width: 760px; margin: 8px auto 72px; }
.pull figcaption { font-size: .95rem; color: var(--mute); margin-bottom: 14px; }
.pull blockquote { margin: 0; font-family: var(--serif); font-style: italic; font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.35; color: var(--ink); quotes: "“" "”"; }
.pull blockquote::before { content: open-quote; color: var(--accent); }
.pull blockquote::after { content: close-quote; color: var(--accent); }

/* number sits on the same line as its heading */
.dbl-lines article { display: grid; grid-template-columns: auto 1fr; column-gap: 18px; align-items: baseline; }
.dbl-num { grid-row: span 2; align-self: start; margin: 0; font-size: 3.2rem; line-height: .9; }
.dbl-lines h3 { margin: 0 0 .4em; align-self: end; }
.dbl-lines p { grid-column: 2; }
.dbl-num { grid-row: auto; align-self: baseline; font-size: 2.8rem; line-height: 1; }
.dbl-lines h3 { align-self: baseline; margin: 0 0 .35em; }
.dbl-lines p { grid-column: 2; grid-row: 2; }
.dbl-lines article { align-content: start; }

/* Science ≠ Academia: each definition sits under its own big word */
.neq-pair { display: grid; grid-template-columns: 1fr auto 1fr; column-gap: clamp(16px, 3vw, 40px); align-items: start; max-width: 1040px; margin: 0 auto; }
.neq-word { font-size: clamp(2.6rem, 8vw, 6rem); font-weight: 300; line-height: 1; letter-spacing: -.01em; margin: 0 0 .3em; color: var(--ink); }
.neq-sign { font-size: clamp(2.6rem, 8vw, 6rem); line-height: 1; color: var(--accent); }
.neq-side p:not(.neq-word) { font-size: 1.15rem; line-height: 1.5; margin: 0; color: #34332f; max-width: 380px; }
.neq-l { text-align: right; }
.neq-l p:not(.neq-word) { margin-left: auto; }
.neq-r { text-align: left; }
.neq-pair + .neq-close { margin-top: 48px; }
@media (max-width: 640px) {
  .neq-pair { grid-template-columns: 1fr; row-gap: 10px; text-align: center; }
  .neq-l, .neq-r { text-align: center; }
  .neq-side p:not(.neq-word) { margin: 0 auto; }
  .neq-word { font-size: 2.8rem; margin-bottom: .2em; }
  .neq-sign { font-size: 2.4rem; }
}
/* headings the same size as their numbers */
.dbl-lines h3 { font-size: 2.8rem; font-weight: 300; line-height: 1; margin: 0 0 .35em; }
@media (max-width: 760px) { .dbl-num, .dbl-lines h3 { font-size: 2.2rem; } }

/* ® and ™: small, raised, outside link underlines */
sup.mark { font-size: .5em; vertical-align: super; line-height: 0; margin-left: .05em; text-decoration: none; }

/* every partner logo the same height */
.badge-row img, .badge-row.sponsors img { height: 76px; width: auto; }
.badge-row { gap: 24px 44px; }
.footer-logos img { height: 40px !important; width: auto; }
@media (max-width: 600px) { .badge-row img, .badge-row.sponsors img { height: 56px; } .badge-row { gap: 18px 24px; } }

/* By the numbers: under Science ≠ Academia, numbers beside the animal it looks at */
.numbers { padding: 0; overflow: hidden; background: var(--stone); }
.numbers-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: end; gap: 48px; }
.numbers-animal { position: static; width: 100%; max-width: 560px; justify-self: end; display: block; }
.numbers-copy { align-self: center; padding: 72px 0; }
.numbers-copy dl { display: grid; grid-template-columns: repeat(2, minmax(0, 200px)); gap: 36px 48px; margin: 0; }
.numbers-copy dt { font-size: 3.2rem; font-weight: 300; line-height: 1; padding-bottom: 14px; position: relative; }
.numbers-copy dt::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 2px; background: var(--accent); }
.numbers-copy dd { margin: 12px 0 0; font-size: .74rem; letter-spacing: .2em; text-transform: uppercase; color: var(--mute); }
@media (max-width: 760px) {
  .numbers-grid { grid-template-columns: 1fr; gap: 0; }
  .numbers-copy { order: -1; padding: 56px 0 24px; }
  .numbers-animal { justify-self: start; max-width: 80%; }
}

/* research area numbers: big, red, on the heading's line */
.area-head { display: flex; align-items: baseline; gap: 16px; margin-bottom: .7em; }
.area-num { font-size: 2.8rem; font-weight: 300; line-height: 1; color: var(--accent); flex: none; }
.area-head h3 { margin: 0; }
@media (max-width: 760px) { .area-num { font-size: 2.2rem; } }

.numbers-animal { max-width: 420px; justify-self: end; margin-right: -12px; }
.numbers-grid { gap: 40px; }
@media (max-width: 760px) { .numbers-animal { justify-self: center; max-width: 70%; margin-right: 0; } }

/* definitions carry the weight; the closing caveat steps back */
.neq-side p:not(.neq-word) { font-weight: 600; color: var(--ink); }
.neq-close { font-weight: 400; color: #4a4944; }

/* Footer: subscribe to the podcast on YouTube */
.yt-sub{display:inline-flex;align-items:center;gap:.5rem;margin:.25rem 0 1rem;padding:.6rem 1.1rem;border-radius:999px;background:#ff0000;color:#fff;font-weight:700;text-decoration:none}
.yt-sub:hover{background:#cc0000;color:#fff}
