/* =========================================================================
   Integration Journal — homepage
   Design tokens mirror the original Framer build.
   ========================================================================= */

:root {
  /* Type families */
  --font-serif: "Libre Baskerville", Georgia, serif;
  --font-sans:  "DM Sans", system-ui, -apple-system, sans-serif;
  --font-ui:    "Inter", system-ui, -apple-system, sans-serif;

  /* Colour */
  --color-text:        #000;
  --color-muted:       #666;
  --color-muted-hover: #121212;
  --color-accent:      #3045af;   /* button blue */
  --color-page:        #fff;
  --color-body-bg:     #fcfcfc;
  --color-rule:        rgba(0, 0, 0, .08);

  /* Scale — the original sizes everything off a 16px root */
  --root: 16px;

  /* Layout */
  --content-max: 1000px;
  --page-gutter: 20px;
}

/* ---------------------------------------------------------------- reset - */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--color-page);
  color: var(--color-text);
  font-family: var(--font-serif);
  font-size: var(--root);
}
h1, h2, h3, h4, h5, h6, p, figure, ol, ul { margin: 0; padding: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ============================================================== NAV ===== */
.nav {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 124px;
  padding: 12px 12px 12px 20px;
  background: var(--color-page);
}
.nav__inner {
  display: flex;
  align-items: center;
  gap: 44px;
  flex: 1 0 0;
  max-width: 1080px;
}
.nav__top {
  display: flex;
  align-items: center;
  padding: 10px 0 10px 10px;
}
.nav__logo { display: block; width: 330px; height: 100px; text-decoration: none; }
.nav__logo img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

.nav__links { display: flex; align-items: center; gap: 31px; }
.nav__links p {
  font-family: var(--font-ui);
  font-size: 17px;
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.6em;
  white-space: pre;
  user-select: none;
}
.nav__links a { color: var(--color-muted); text-decoration: none; transition: color .2s ease; }
.nav__links a:hover { color: var(--color-muted-hover); }

.nav__rule { position: absolute; bottom: 0; left: 0; right: 0; height: 1px; background: var(--color-rule); }

/* Hamburger — hidden on desktop */
.nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
}
.nav__toggle span { display: block; width: 100%; height: 4px; border-radius: 10px; background: #999; }

/* ============================================================= HERO ===== */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  width: 100%;
  height: 740px;
  padding: 0 var(--page-gutter) 40px;
  overflow: hidden;
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero__scrim {
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background: linear-gradient(rgba(0,0,0,0) 37.8818%, rgba(0,8,3,.851) 77%);
}
.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 24px;
  width: 100%;
  max-width: var(--content-max);
  height: 100%;
}
.hero__title {
  max-width: 900px;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 4);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1em;
  color: #fff;
  text-shadow: 0 2px 10px rgba(6,18,2,.4);
}
.hero__lede {
  max-width: 740px;
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1.1);
  font-weight: 400;
  letter-spacing: -.02em;
  line-height: 1.6em;
  color: #fff;
  text-shadow: 0 1px 2px rgba(12,36,2,.15);
}
.hero__lede em { font-style: italic; }

/* ============================================================= BODY ===== */
.body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 80px;
  width: 100%;
  padding: 55px var(--page-gutter) 70px;
  background: var(--color-body-bg);
}
.body__inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 110px;
  width: 100%;
  max-width: var(--content-max);
}

/* Shared section heading */
.section-title {
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.6);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2em;
  color: var(--color-text);
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}
.section-title--mobile { display: none; }

/* Shared body copy (Libre Baskerville) */
.aims__text p,
.podcast__text,
.metatheory__text,
.numbered,
.footer__text {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1);
  font-weight: 400;
  letter-spacing: -.01em;
  line-height: 1.7em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}

/* Shared CTA row + button */
.cta-row { display: flex; align-items: center; gap: 40px; width: 100%; }
.cta-row--footer { gap: 41px; }
.btn {
  display: inline-flex;
  align-items: center;
  height: 65px;
  padding: 0 30px;
  border-radius: 4px;
  background: var(--color-accent);
  color: #fff;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.3);
  font-weight: 700;
  letter-spacing: -.02em;
  white-space: pre;
  text-decoration: none;
  transition: filter .2s ease;
}
.btn:hover { filter: brightness(1.1); }

.link-heading {
  max-width: 830px;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.2);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.7em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}
.link-heading a {
  color: var(--color-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: color .2s ease;
}
.link-heading a:hover { color: var(--color-muted-hover); }
.link-heading--light { color: #fff; }
.link-heading--light a { color: #fff; }
.link-heading--light a:hover { color: #fff; }

/* Inline link styles */
.link-underlined {
  color: #000;
  text-decoration: underline;
  text-decoration-color: #696969;
  text-underline-offset: 2px;
  text-decoration-thickness: 1px;
}
.link-dashed {
  color: #000;
  text-decoration: underline;
  text-decoration-style: dashed;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.link-plain-underline { color: #fff; text-decoration: underline; }

/* ------------------------------------------------------- mission ------- */
.mission { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; width: 100%; }
.mission__text {
  max-width: 830px;
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1.1);
  letter-spacing: -.03em;
  line-height: 1.7em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}

/* ------------------------------------------------------- aims --------- */
.aims { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; max-width: var(--content-max); }
.aims__grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(50px, 1fr));
  gap: 14px 50px;
  width: 100%;
}
.aims__text { grid-column: span 4; align-self: start; }
.aims__figure {
  grid-column: span 2;
  align-self: start;
  width: 125%;
  height: 532px;
  transform: rotate(3deg);
  box-shadow: 8px 5px 10px 4px rgba(0,0,0,.1);
}
.aims__figure img { width: 100%; height: 100%; object-fit: contain; object-position: center; }

/* ------------------------------------------------------- podcast ------ */
.podcast { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 100%; }
.podcast__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: var(--content-max);
}
.podcast__text { width: 800px; max-width: 100%; }
.podcast__player { width: 100%; }
.podcast__player iframe { display: block; width: 100%; height: 393px; border: 0; }

/* ------------------------------------------------- banner images ------ */
.banner { width: 100%; height: 480px; border-radius: 4px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; object-position: center; }

/* ------------------------------------------------------- domains ------ */
.domains,
.metatheory {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
  max-width: var(--content-max);
}
.domains__body { display: flex; flex-direction: column; gap: 20px; width: 100%; }
.domains__list { display: grid; grid-template-columns: 1fr; gap: 14px 35px; width: 100%; }
.numbered { position: relative; padding-inline-start: 0; max-width: 710px; --max-list-digits: 2; }
.numbered > li {
  position: relative;
  counter-increment: list-item;
  list-style: none;
  padding-inline-start: calc((var(--max-list-digits) + 1) * 1ch);
}
.numbered > li::before {
  content: counter(list-item) ".";
  position: absolute;
  inset-inline-start: 0;
  font-variant-numeric: tabular-nums;
}
.numbered > li + li { margin-top: 1.7em; }

/* ------------------------------------------------- metatheory --------- */
.metatheory__body { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 100%; }
.metatheory__text { max-width: 800px; }

/* ------------------------------------------------- current issue ------ */
.issue {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 30px;
  width: 100%;
  max-width: var(--content-max);
}
.issue__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
}

/* --- issue masthead: cover + meta --- */
.issue__masthead {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: start;
  gap: 40px;
  width: 100%;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--color-rule);
}
.issue-cover {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 180px;
  aspect-ratio: 3 / 4;
  padding: 22px 18px;
  border: 1px solid rgba(0, 0, 0, .12);
  border-radius: 4px;
  background: #fff;
  box-shadow: 4px 4px 10px 2px rgba(0, 0, 0, .07);
}
.issue-cover__logo { width: 100%; height: auto; }
.issue-cover__rule { width: 40px; height: 3px; background: var(--color-accent); }
.issue-cover__meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: auto;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--color-muted);
}

.issue__meta { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.issue__title {
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.3);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2em;
}
.issue__sub {
  font-family: var(--font-sans);
  font-size: calc(var(--root) * .85);
  font-weight: 500;
  letter-spacing: -.01em;
  color: var(--color-muted);
}
.issue__desc {
  max-width: 640px;
  font-family: var(--font-serif);
  font-size: calc(var(--root) * .95);
  letter-spacing: -.01em;
  line-height: 1.7em;
}

/* --- article list --- */
.articles {
  display: flex;
  flex-direction: column;
  width: 100%;
  list-style: none;
}
.article {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding: 30px 0;
  border-bottom: 1px solid var(--color-rule);
}
.article:first-child { padding-top: 0; }

.article__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  margin-bottom: 6px;
}
.article__badges { display: flex; gap: 8px; }
.badge {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid rgba(0, 0, 0, .18);
  border-radius: 3px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: -.01em;
  line-height: 1.4;
  color: var(--color-muted);
}
.badge--oa { border-color: var(--color-accent); background: var(--color-accent); color: #fff; }

.article__file {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  letter-spacing: -.01em;
  color: var(--color-muted);
  white-space: nowrap;
}
.article__pdf { display: flex; color: var(--color-accent); transition: opacity .2s ease; }
.article__pdf:hover { opacity: .65; }

.article__title {
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.2);
  font-weight: 600;
  letter-spacing: -.03em;
  line-height: 1.35em;
}
.article__title a { text-decoration: none; transition: color .2s ease; }
.article__title a:hover { color: var(--color-accent); }

.article__authors,
.article__cite {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * .9);
  letter-spacing: -.01em;
  line-height: 1.6em;
}
.article__cite { color: var(--color-muted); }
.article__pending { font-style: italic; }

.article__abstract {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 900px;
  margin-top: 6px;
}
.article.is-expanded .article__abstract { display: block; }
.article__abstract p,
.article__keywords {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * .95);
  letter-spacing: -.01em;
  line-height: 1.7em;
}
.article__label {
  font-family: var(--font-sans);
  font-size: calc(var(--root) * .85);
  font-weight: 600;
  letter-spacing: -.01em;
  color: var(--color-accent);
}
.article__more {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * .9);
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
}
.article__keywords { max-width: 900px; margin-top: 4px; color: var(--color-muted); }

/* =========================================================== FOOTER ==== */
.footer {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 60px var(--page-gutter);
  overflow: hidden;
}
.footer__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; }
.footer__inner { position: relative; width: 100%; max-width: var(--content-max); }
.footer__stack { display: flex; flex-direction: column; align-items: flex-start; gap: 36px; width: 100%; }
.footer__head { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; width: 100%; }
.footer__title {
  max-width: 900px;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 2.6);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.1em;
  color: #fff;
}
.footer__text { max-width: 800px; color: #fff; }
.footer__contact { display: flex; flex-direction: column; gap: 10px; width: 100%; max-width: 800px; }
.footer__mark { width: 100px; }
.footer__mark img { width: 100%; height: auto; }

/* =========================================================================
   Inner pages
   ========================================================================= */

/* Shared: centred 1000px column inside a 20px gutter (30px on tablet) */
.page-title {
  max-width: 900px;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 2.6);
  font-weight: 700;
  letter-spacing: -.05em;
  line-height: 1.7em;
}

/* Bulleted lists (Submission Guidelines) */
.bullets { position: relative; list-style: none; padding-inline-start: 0; }
.bullets > li { position: relative; padding-inline-start: 2ch; }
.bullets > li::before { content: "\2022"; position: absolute; inset-inline-start: 0; }
.bullets + .bullets { margin-top: 20px; }

/* ------------------------------------------------- editorial board ---- */
.board { display: flex; flex-direction: column; align-items: center; width: 100%; }
.board__leaders {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 70px var(--page-gutter);
}
.leaders,
.people {
  display: grid;
  grid-template-columns: repeat(2, minmax(50px, 1fr));
  gap: 40px 15px;
  width: 100%;
  max-width: var(--content-max);
  list-style: none;
}
.board__group { display: flex; flex-direction: column; align-items: center; width: 100%; padding: 0 var(--page-gutter); }
.board__heading { display: flex; justify-content: center; width: 100%; padding-bottom: 35px; }
.board__heading .section-title { width: 100%; max-width: var(--content-max); }
.board__group .people { padding-bottom: 70px; }
.board__group--last .people { padding-bottom: 160px; }

.person { display: flex; flex-direction: column; align-items: flex-start; max-width: 900px; }
.person__role {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1.1);
  font-weight: 700;
  letter-spacing: -.03em;
  line-height: 1.7em;
}
.person__name {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1.2);
  font-weight: 400;
  letter-spacing: -.03em;
  line-height: 1.7em;
}
.person__affil {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1);
  letter-spacing: -.01em;
  line-height: 1.7em;
}

/* ------------------------------------------------- document pages ----- */
/* Submission Guidelines + Glossary share this skeleton */
.doc { display: flex; flex-direction: column; align-items: center; width: 100%; }
.doc__hero {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 55px var(--page-gutter);
}
.doc__hero .page-title { width: 100%; max-width: var(--content-max); }
.doc__section { display: flex; flex-direction: column; align-items: center; width: 100%; }
.doc__heading {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 var(--page-gutter) 25px;
}
.doc__body {
  display: flex;
  justify-content: center;
  width: 100%;
  padding: 0 var(--page-gutter) 70px;
}
.doc__inner { width: 100%; max-width: var(--content-max); }
.doc__section--last .doc__body { padding-bottom: 80px; }

.doc__body p,
.doc__body li {
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1);
  letter-spacing: -.01em;
  line-height: 1.7em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}
.doc__body .bullets { max-width: 900px; }

/* ------------------------------------------------------- glossary ----- */
.glossary__term { display: flex; flex-direction: column; align-items: center; width: 100%; padding-top: 20px; }
.glossary__term:first-child { padding-top: 70px; }
.glossary__title {
  max-width: 900px;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.4);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}
.glossary__body { padding-bottom: var(--term-gap, 50px); }
.glossary__body p { max-width: 90%; }
.glossary__body p + p { margin-top: 20px; }

/* ------------------------------------------------------- podcast ------ */
.podcast-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 55px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 55px;
}
.podcast-page__intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  width: 100%;
  max-width: var(--content-max);
}
.subscribe { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 40px; width: 100%; }
.subscribe__link { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.subscribe__link img { flex: none; width: 24px; height: 24px; }
.subscribe__link .link-heading { color: var(--color-text); white-space: pre; }

.episodes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 50px;
  width: 100%;
  padding: 55px 0 100px;
  list-style: none;
}
.episode { display: flex; flex-direction: column; align-items: center; gap: 30px; width: 100%; }
.episode__player { width: 100%; max-width: var(--content-max); }
.episode__player iframe { display: block; width: 100%; height: 202px; border: 0; }
.episode__text {
  width: 100%;
  max-width: var(--content-max);
  padding-bottom: 40px;
  border-bottom: 1px solid #eee;
}
.episode__title {
  max-width: 800px;
  margin-bottom: 16px;
  font-family: var(--font-sans);
  font-size: calc(var(--root) * 1.4);
  font-weight: 600;
  letter-spacing: -.02em;
  line-height: 1.2em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}
.episode__text p {
  max-width: 800px;
  font-family: var(--font-serif);
  font-size: calc(var(--root) * 1);
  letter-spacing: -.01em;
  line-height: 1.7em;
  font-feature-settings: "cv01" on, "cv09" on, "cv11" on, "cv05" on, "ss03" on;
}
.episode__text p + p { margin-top: 20px; }

/* ======================================================= RESPONSIVE ==== */

/* --- Tablet: 810px – 1199px ------------------------------------------- */
@media (max-width: 1199.98px) {
  .hero__title  { font-size: calc(var(--root) * 3.4); }
  .hero__lede   { font-size: calc(var(--root) * 1); }
  .section-title { font-size: calc(var(--root) * 1.4); }
  .aims__text p,
  .podcast__text,
  .metatheory__text,
  .numbered,
  .footer__text { font-size: calc(var(--root) * 1); }
  .aims__figure { width: 100%; height: 330px; }
  .banner { height: 440px; }

  .issue__masthead { grid-template-columns: 150px 1fr; gap: 30px; }
  .issue-cover { width: 150px; padding: 18px 14px; }

  /* inner pages */
  .board__leaders { padding: 70px 30px; }
  .board__group { padding: 0 30px; }
  .doc__heading { padding-left: 30px; padding-right: 30px; }
  .doc__hero { padding: 55px 30px; }
  .doc__body { padding: 0 30px 50px; }
  .person__role { font-size: calc(var(--root) * .96); }
  .person__name { font-size: calc(var(--root) * .96); }
  .page-title { font-size: calc(var(--root) * 2); }
  .glossary__title, .episode__title { font-size: calc(var(--root) * 1.28); }
  .glossary__body p { max-width: 100%; }
  .podcast-page { padding-left: 15px; padding-right: 15px; }
}

/* --- Phone: up to 809px ----------------------------------------------- */
@media (max-width: 809.98px) {
  .nav { height: auto; padding: 12px 12px 12px 5px; }
  .nav__inner { flex-direction: column; gap: 0; }
  .nav__top { justify-content: space-between; width: 100%; padding: 10px; }
  .nav__logo { width: 240px; height: 70px; }
  .nav__toggle { display: flex; }

  .nav__links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    padding: 14px 0 14px 20px;
  }
  .nav.is-open .nav__links { display: flex; }

  .hero { height: 470px; padding: 0 var(--page-gutter) 30px; }
  .hero__scrim { background: linear-gradient(rgba(4,46,8,0) 5%, rgba(0,0,0,.639) 36.2472%); }
  .hero__content { gap: 15px; }
  .hero__title { font-size: calc(var(--root) * 2); }
  .hero__lede  { font-size: calc(var(--root) * .9); }

  .body { padding: 40px var(--page-gutter) 70px; }
  .body__inner { gap: 70px; }

  .section-title { font-size: calc(var(--root) * 1.3); }
  .section-title--desktop { display: none; }
  .section-title--mobile { display: block; }

  .aims__text p,
  .podcast__text,
  .metatheory__text,
  .numbered,
  .footer__text { font-size: calc(var(--root) * .9); }

  .mission { gap: 35px; }
  .mission__text { font-size: calc(var(--root) * .9); }

  .cta-row { flex-direction: column; align-items: flex-start; gap: 30px; }

  .aims__grid { display: flex; flex-direction: column; align-items: flex-start; gap: 30px; }
  .aims__text { order: 1; }
  .aims__figure { order: 0; width: 199px; height: 280px; transform: none; }

  .podcast__text { width: 100%; }
  .banner { height: 240px; }

  .footer { padding: 47px var(--page-gutter) 100px; }
  .footer__title { font-size: calc(var(--root) * 1.9); }
  .btn { font-size: calc(var(--root) * 1.2); line-height: 1em; }

  .issue { gap: 25px; }
  .issue__head { flex-direction: column; align-items: flex-start; gap: 10px; }
  .issue__masthead { grid-template-columns: 1fr; gap: 24px; }
  .issue__title { font-size: calc(var(--root) * 1.15); }
  .issue__desc,
  .article__abstract p,
  .article__keywords { font-size: calc(var(--root) * .9); }
  .article__title { font-size: calc(var(--root) * 1.05); }
  .article__bar { flex-direction: column; align-items: flex-start; gap: 10px; }
  .article { padding: 24px 0; }

  /* inner pages */
  .board__leaders { padding: 50px var(--page-gutter); }
  .leaders { grid-template-columns: 1fr; gap: 20px 10px; }
  .people { grid-template-columns: 1fr; }
  .board__group { padding: 0 var(--page-gutter); }
  .doc__heading { padding-left: var(--page-gutter); padding-right: var(--page-gutter); }
  .doc__hero { padding: 50px var(--page-gutter); }
  .doc__body { padding: 0 var(--page-gutter) 50px; }
  .person__role { font-size: calc(var(--root) * .77); }
  .person__name { font-size: calc(var(--root) * 1); }
  .person__affil, .doc__body p, .doc__body li, .episode__text p { font-size: calc(var(--root) * .9); }
  .page-title { font-size: calc(var(--root) * 1.8); }
  .glossary__title, .episode__title { font-size: calc(var(--root) * 1.02); }
}

/* Sections with the hidden attribute stay hidden, whatever their display rule. */
[hidden] {
  display: none !important;
}
