:root {
  --text: #1f1f1f;
  --muted: #5f5f5f;
  --line: #d8d8d8;
  --max-width: 1080px;
  --accent: #A82450;
}

@font-face {
  font-family: "Fraunces";
  src: url("assets/fonts/Fraunces/Fraunces-VariableFont_SOFT,WONK,opsz,wght.ttf")
    format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@view-transition {
  navigation: auto;
}

* {
  box-sizing: border-box;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: 100;
  padding: 12px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  white-space: nowrap;
}

.skip-link:focus {
  position: fixed;
  top: 12px;
  left: 12px;
  width: auto;
  height: auto;
  z-index: 9999;
}

body {
  margin: 0;
  min-width: 320px;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  background: #ffffff;
}

body.is-entering .topbar,
body.is-entering .site-frame,
body.is-entering .home-sections,
body.is-leaving .topbar,
body.is-leaving .site-frame,
body.is-leaving .home-sections {
  opacity: 0;
  transform: translateY(8px);
}

.topbar,
.site-frame,
.home-sections {
  transition:
    opacity 260ms ease,
    transform 260ms ease;
}

a {
  color: inherit;
}

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

:focus:not(:focus-visible) {
  outline: none;
}

img {
  display: block;
  max-width: 100%;
}

.site-frame {
  width: 85%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 18px 0 64px;
}

.topbar {
  width: 100%;
  padding: 16px 20px 18px;
  border-bottom: 1px solid var(--line);
  position: relative;
}

.nav-burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-burger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 220ms ease, opacity 150ms ease;
}

.nav-burger.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-burger.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-burger.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: #fff;
  border-top: 1px solid var(--line);
}

.mobile-menu a {
  display: block;
  padding: 13px 20px;
  color: var(--muted);
  font-size: 0.95rem;
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: color 160ms ease;
}

.mobile-menu a:last-child {
  border-bottom: none;
}

.mobile-menu a.is-current {
  color: var(--text);
}

.mobile-menu a:hover {
  color: var(--text);
}

.topbar-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  min-height: 28px;
  width: 85%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-page .site-frame {
  padding: 8px 0 24px;
}

.brand {
  display: flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  font-weight: 700;
}

.nav-logo {
  height: 90px;
  display: block;
}

.topnav-right {
  justify-self: end;
}

.topnav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  min-height: 24px;
}

.topnav a {
  text-decoration: none;
  color: var(--muted);
  position: relative;
  transition:
    color 160ms ease,
    opacity 160ms ease;
}

.topnav a:hover {
  color: var(--text);
}

.topnav a.is-current {
  color: var(--text);
}

.topnav a.is-current::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 1px;
  background: var(--text);
}

.dropdown-menu a.is-current::after {
  content: none;
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown > a {
  display: inline-block;
}

.dropdown-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  min-width: 150px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  background: #fff;
  z-index: 20;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  pointer-events: none;
  transition:
    opacity 180ms ease,
    transform 180ms ease,
    visibility 180ms ease;
}

.dropdown-menu a {
  display: block;
  padding: 4px 0;
  white-space: nowrap;
}

.dropdown-menu a:hover {
  color: var(--text);
}

.nav-dropdown.is-open .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 36px;
  align-items: start;
}

.hero-home {
  grid-template-columns: 1fr 1.3fr;
  gap: 40px;
  align-items: center;
}

.hero-copy {
  padding: 4px 0 0 0;
  max-width: none;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  text-align: center;
}

.hero-block {
  padding-top: 18px;
  width: 100%;
}

.hero-block-intro {
  padding-top: 0;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.hero-block-roles {
  padding-top: 14px;
}

.credentials-line {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.hero-block-copy,
.hero-block-links {
  border-top: 0;
}

.hero-media {
  min-width: 0;
}

.portrait,
.portrait img {
  height: auto;
}

.portrait img {
  width: 100%;
  height: auto;
  display: block;
  background: #f5f5f5;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: "Fraunces", serif;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.6rem, 6vw, 4.8rem);
}

h2 {
  font-size: clamp(1.4rem, 3vw, 2rem);
}

h3 {
  font-size: 1.2rem;
}

.hero-subtitle {
  margin: 10px 0 0;
  font-family: "Fraunces", serif;
  font-size: 1.2rem;
  color: var(--muted);
}

.hero-tagline {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--text);
}

.role-pills {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.role-pills li a,
.role-pills li span {
  display: block;
  padding: 5px 8px;
  border: 1px solid var(--text);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: var(--text);
  text-align: center;
  white-space: nowrap;
  transition: background 160ms ease, color 160ms ease;
}

.role-pills li a:hover {
  background: var(--text);
  color: #fff;
}

.page-intro,
.simple-copy p,
.section p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.hero-text {
  color: var(--text);
  font-size: 1.25rem;
  line-height: 1.72;
  max-width: 24rem;
  margin: 0 auto 16px;
}

.hero-text-lede {
  font-size: 1.65rem;
  font-weight: 600;
  max-width: 28rem;
  margin-left: auto;
  margin-right: auto;
}

.section,
.page-main {
  margin-top: 40px;
}

.home-main .section {
  margin-top: 36px;
}

.home-services h3 a {
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  transition: border-color 160ms ease;
}

.home-services h3 a:hover {
  border-color: var(--text);
}

.page-hero {
  padding: 0;
  margin-bottom: 24px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.page-title {
  margin-bottom: 16px;
}

.content-pairs {
  display: grid;
  gap: 28px;
}

.content-pair {
  display: grid;
  grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.4fr);
  gap: 24px;
  align-items: start;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.content-pair:first-child {
  padding-top: 0;
  border-top: 0;
}

.content-pair-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: #f5f5f5;
}

.content-pair-copy h2 {
  margin: 0 0 12px;
}

.content-pair-copy p {
  max-width: 42rem;
}

.role-line,
.simple-links {
  margin-top: 24px;
  font-size: 0.98rem;
  line-height: 1.8;
  color: var(--muted);
}

.hero-link,
.contact-link {
  margin-top: 24px;
  font-size: 1rem;
}

.hero-link a {
  display: inline-block;
  padding: 11px 24px;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.9rem;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: opacity 160ms ease;
}

.hero-link a:hover {
  opacity: 0.85;
}

.contact-link a {
  font-weight: 700;
  text-decoration: underline;
}

.simple-links a {
  margin-right: 18px;
  text-decoration: none;
  transition: color 160ms ease;
}

.simple-links a:hover {
  color: var(--text);
}

.bottom-nav {
  padding-top: 8px;
}

.site-footer {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-email {
  font-size: 0.95rem;
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
}

.footer-email:hover {
  color: var(--text);
}

/* ── Homepage: scroll snap ── */

html:has(body.home-page) {
  scroll-snap-type: y proximity;
}

/* ── Homepage: hero screen ── */

.hero-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  scroll-snap-align: start;
}

.hero-screen .site-frame {
  flex: 1;
  min-height: 0;
  padding-bottom: 0;
}

.hero-screen .home-main {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-home {
  flex: 1;
  min-height: 0;
}

/* ── Homepage: scroll sections ── */

.home-sections {
  width: 100%;
}

.home-strip {
  border-top: 1px solid var(--line);
  padding: 18px 0;
}

.home-strip .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.trusted-label {
  margin: 0;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}

.trusted-names {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.6;
}

.home-section {
  border-top: 1px solid var(--line);
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  scroll-snap-align: start;
}

.section-inner {
  width: 85%;
  max-width: var(--max-width);
  margin: 0 auto;
}

.home-footer .section-inner {
  padding: 20px 0;
}

.section-eyebrow {
  margin: 0 0 12px;
  font-family: "Outfit", sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1.4;
  color: var(--accent);
}

.section-label {
  margin: 0 0 20px;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--accent);
}

.section-heading {
  margin: 0 0 24px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
  color: var(--text);
}

.section-copy {
  margin: 0 0 32px;
  max-width: 48rem;
  font-size: 1.25rem;
  line-height: 1.75;
  color: var(--muted);
}

.section-text-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 160ms ease;
}

.section-text-link:hover {
  border-color: var(--text);
}

/* Organisations: 3-column grid */

.org-services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 32px;
}

.org-service h3 {
  margin: 0 0 14px;
  font-size: 1.9rem;
}

.org-service h3 a {
  text-decoration: none;
  color: var(--text);
  border-bottom: 1px solid var(--line);
  padding-bottom: 1px;
  transition: border-color 160ms ease;
}

.org-service h3 a:hover {
  border-color: var(--text);
}

.org-service p {
  margin: 0 0 18px;
  font-size: 1.15rem;
  line-height: 1.72;
  color: var(--muted);
}

/* Research & Writing: 2-column split */

.research-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 32px;
}

.research-col h3 {
  margin: 0 0 14px;
  font-size: 1.9rem;
}

.research-col p {
  margin: 0 0 18px;
  font-size: 1.2rem;
  line-height: 1.75;
  color: var(--muted);
}

/* Home footer */

.home-footer {
  border-top: 1px solid var(--line);
  margin-top: 0;
  padding-top: 0;
}

/* ── Inner pages ── */

/* Large page hero variant (new-style pages) */
.page-hero-large {
  border-bottom: none;
  padding-bottom: 0;
  margin-bottom: 0;
}

.page-hero-large .page-title {
  font-size: clamp(3rem, 7vw, 5.5rem);
  margin-bottom: 20px;
}

.page-hero-large .page-intro {
  font-size: 1.2rem;
  max-width: 44rem;
  color: var(--muted);
  line-height: 1.75;
  margin: 0;
}

/* Page sections — border-separated blocks */
.page-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid var(--line);
}

.page-section--borderless {
  border-top: none;
}

/* Who this is for — 3-column cards */
.for-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  margin-top: 28px;
}

.for-card h3 {
  margin: 0 0 10px;
  font-size: 1.15rem;
}

.for-card p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

/* How it works — numbered steps */
.process-steps {
  margin-top: 4px;
}

.process-step {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.process-step:first-child {
  border-top: 1px solid var(--line);
  margin-top: 28px;
}

.step-number {
  font-family: "Fraunces", serif;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1;
  color: var(--accent);
  min-width: 52px;
  padding-top: 4px;
}

.step-content h3 {
  margin: 0 0 8px;
  font-size: 1.25rem;
}

.step-content p {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.72;
  color: var(--muted);
}

/* What's included — dash list */
.included-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.included-list li {
  padding-left: 22px;
  position: relative;
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

.included-list li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Testimonial blockquote */
.testimonial {
  margin: 0;
  padding: 36px 0 36px 36px;
  border-left: 3px solid var(--accent);
}

.testimonial p {
  margin: 0 0 16px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.2rem, 2.5vw, 1.7rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.5;
  color: var(--text);
}

.testimonial cite {
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 600;
  color: var(--muted);
}

/* CTA panel */
.page-cta {
  margin-top: 56px;
  padding: 56px 48px;
  background: #f7f5f4;
  text-align: center;
}

.page-cta h2 {
  margin: 0 0 14px;
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
}

.page-cta p {
  margin: 0 0 28px;
  font-size: 1.1rem;
  color: var(--muted);
}

.page-cta .hero-link {
  margin-top: 0;
  margin-bottom: 0;
}

/* ── About page ── */

.about-hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
  padding: 40px 0 56px;
  border-bottom: 1px solid var(--line);
}

.about-name {
  margin: 0 0 10px;
  font-family: "Fraunces", serif;
  font-size: clamp(2.8rem, 6vw, 5rem);
  font-weight: 400;
  line-height: 1.05;
}

.about-tagline {
  margin: 0 0 24px;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 400;
  font-style: italic;
  color: var(--muted);
}

.about-intro {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 28px;
  max-width: 42rem;
}

.credential-tags {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.credential-tags li {
  padding: 5px 12px;
  border: 1px solid var(--line);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}

.about-hero-image {
  position: sticky;
  top: 24px;
}

/* Bio: eyebrow label in narrow left column, prose on right */
.bio-cols {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 48px;
  align-items: start;
}

.bio-label {
  padding-top: 4px;
}

.bio-copy p {
  margin: 0 0 18px;
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--muted);
  max-width: 52rem;
}

.bio-copy p:last-child {
  margin-bottom: 0;
}

/* Career highlights timeline */
.career-list {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.career-list li {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.career-list li:first-child {
  border-top: 1px solid var(--line);
}

.career-year {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}

.career-detail {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--muted);
}

/* About responsive */
@media (max-width: 760px) {
  .about-hero {
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 24px 0 40px;
  }

  .about-hero-image {
    position: static;
    order: -1;
  }

  .bio-cols {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .bio-label {
    padding-top: 0;
  }

  .career-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

/* ── End about page ── */

/* Workshop grid — 2-column, used on Training page */
.workshop-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px 48px;
  margin-top: 28px;
}

.workshop-item h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
}

.workshop-item p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.72;
  color: var(--muted);
}

/* Qualification block — logo left, credential + ethos right */
.qualification-block {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 48px;
  align-items: start;
  margin-top: 28px;
}

.qualification-logo img {
  width: 100%;
  max-width: 400px;
  display: block;
}

.qualification-credential {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 20px;
  line-height: 1.5;
}

.qualification-copy p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  margin: 0 0 16px;
}

.qualification-copy p:last-child {
  margin-bottom: 0;
}

.mt-section {
  margin-top: 28px;
}

.mt-copy {
  margin-top: 24px;
}

/* Inner page responsive */
@media (max-width: 760px) {
  .for-cards {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .process-step {
    gap: 20px;
  }

  .step-number {
    font-size: 2rem;
    min-width: 36px;
  }

  .page-cta {
    padding: 40px 24px;
  }

  .testimonial {
    padding: 24px 0 24px 24px;
  }

  .workshop-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .qualification-block {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .qualification-logo img {
    max-width: 120px;
  }
}

/* ── Programmes page ── */

.programme-entry {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 48px;
  align-items: start;
}

.programme-title {
  margin: 0 0 16px;
  font-family: "Fraunces", serif;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  line-height: 1.1;
}

.programme-body .programme-subtitle-accent {
  margin: -8px 0 20px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--accent);
}

.programme-body p {
  margin: 0 0 16px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52rem;
}

.programme-outcomes {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.programme-outcomes li {
  padding-left: 22px;
  position: relative;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
}

.programme-outcomes li::before {
  content: "—";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

@media (max-width: 760px) {
  .programme-entry {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ── Research page ── */

.research-group-intro {
  margin: 16px 0 32px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 52rem;
}

.pub-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.pub-entry {
  padding: 28px 0;
  border-bottom: 1px solid var(--line);
}

.pub-entry:first-child {
  border-top: 1px solid var(--line);
}

.pub-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.pub-journal {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: #fff;
  background: var(--text);
  padding: 3px 8px;
}

.pub-year {
  font-size: 0.85rem;
  color: var(--muted);
  font-weight: 600;
}

.pub-title {
  margin: 0 0 6px;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.pub-authors {
  margin: 0 0 10px;
  font-size: 0.9rem;
  color: var(--muted);
  font-style: italic;
}

.pub-summary {
  margin: 0 0 14px;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 52rem;
}

.pub-link {
  font-size: 0.9rem;
}

/* ── Articles page ── */

.substack-callout {
  margin-top: 40px;
  padding: 32px 40px;
  border: 1px solid var(--line);
  display: flex;
  align-items: baseline;
  gap: 32px;
  flex-wrap: wrap;
}

.substack-callout--stacked {
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 40px 64px;
}

.substack-callout--stacked .hero-link {
  margin-top: 4px;
  margin-bottom: 0;
}

.callout-heading {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 2rem;
  font-weight: 400;
  color: var(--accent);
  white-space: nowrap;
}

.substack-label {
  margin: 0;
  font-family: "Fraunces", serif;
  font-size: 1.3rem;
  font-weight: 400;
  white-space: nowrap;
  color: var(--text);
}

.substack-desc {
  margin: 0;
  font-size: 1rem;
  line-height: 1.65;
  color: var(--muted);
  flex: 1;
  min-width: 200px;
}

.article-featured {
  margin-top: 28px;
  padding: 36px 0;
}

.article-meta {
  margin: 0 0 10px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  color: var(--accent);
}

.article-title {
  margin: 0 0 16px;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 400;
  line-height: 1.2;
  max-width: 36rem;
}

.article-excerpt {
  margin: 0 0 20px;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--muted);
  max-width: 48rem;
}

.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px 40px;
  margin-top: 28px;
}

.article-card {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}

.article-card-title {
  margin: 8px 0 10px;
  font-size: 1.15rem;
  font-weight: 400;
  line-height: 1.3;
}

.article-card-excerpt {
  margin: 0 0 14px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 760px) {
  .substack-callout {
    flex-direction: column;
    gap: 12px;
    padding: 24px;
  }

  .article-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .article-card {
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
  }

  .article-card:last-child {
    border-bottom: none;
  }
}

/* ── End inner pages ── */

/* ── End homepage sections ── */

::view-transition-old(root),
::view-transition-new(root) {
  animation-duration: 180ms;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  html:has(body.home-page) {
    scroll-snap-type: none;
  }

  .home-section {
    scroll-snap-align: none;
  }

  @view-transition {
    navigation: none;
  }

  ::view-transition-old(root),
  ::view-transition-new(root) {
    animation: none;
  }
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .topbar-inner {
    width: 100%;
    gap: 0;
    min-height: 48px;
  }

  .topnav-left,
  .topnav-right {
    display: none;
  }

  .brand {
    grid-column: 2;
    grid-row: 1;
  }

  .nav-burger {
    display: flex;
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    align-self: center;
    margin-right: 12px;
  }

  .mobile-menu.is-open {
    display: flex;
  }

  .hero-home {
    grid-template-columns: 1fr;
    gap: 24px;
    min-height: auto;
  }

  .hero-copy {
    max-width: none;
    padding: 0;
    padding-top: 0;
  }

  .content-pair {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .topnav a.is-current::after {
    bottom: -4px;
  }

  .hero-media {
    order: -1;
  }

  .portrait,
  .portrait img {
    height: auto;
  }

  .topbar {
    padding: 12px 8px 14px;
  }

  .hero-screen {
    height: auto;
    overflow: visible;
  }

  .hero-screen .site-frame {
    flex: none;
  }

  .hero-home {
    flex: none;
  }

  .home-section {
    min-height: 0;
    padding: 60px 0;
    scroll-snap-align: none;
  }

  .section-inner {
    width: calc(100% - 48px);
  }

  .org-services {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .research-split {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-strip .section-inner {
    flex-direction: column;
    gap: 6px;
  }
}

@media (max-width: 640px) {
  .site-frame {
    width: calc(100% - 24px);
    padding-top: 14px;
  }

  .home-page .site-frame {
    width: calc(100% - 16px);
    padding-top: 8px;
  }

  .section-inner {
    width: calc(100% - 32px);
  }
}
