/* The Global Politics — local design preview.
   Palette is taken from the live site: reds #9E0000 / #801107, black #030303,
   charcoal #232323, accent #F84738, grey #514F4F / #D9D9D9, white. */
@font-face {
  font-family: "TGP Baskerville";
  src: url("../assets/fonts/tgp-masthead.woff") format("woff");
  font-display: swap;
}
:root {
  --red: #9e0000;
  --red-deep: #801107;
  --ink: #030303;
  --char: #232323;
  --accent: #f84738;
  --grey: #514f4f;
  --line: #d9d9d9;
  --wash: #f4f4f4;
  --paper: #fff;
  --display: "TGP Baskerville", "Baskerville Old Face", Baskerville, "Libre Baskerville", Georgia, serif;
  --serif: Georgia, "Iowan Old Style", "Times New Roman", serif;
  --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --wrap: 1240px;
  --pad: clamp(18px, 4vw, 40px);
  --ease: cubic-bezier(.2, .7, .2, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--serif); font-size: 17px; line-height: 1.55; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4, p, figure, ul, ol { margin: 0; padding: 0; }
ul { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--pad); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
html.show-intro, html.show-intro body { overflow: hidden; }

/* ---------- Shared type ---------- */
.kicker { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); }
.meta { font-family: var(--sans); font-size: 13px; color: var(--grey); letter-spacing: .01em; }
.meta b { font-weight: 600; color: var(--ink); }
.headline { font-family: var(--display); font-weight: 400; line-height: 1.12; letter-spacing: -.005em; text-wrap: balance; }
.headline a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .45s var(--ease); }
.headline a:hover { background-size: 100% 1px; }

/* ---------- Launch sequence: full globe, then zoom through it into the site ---------- */
.intro { display: none; }
html.show-intro .intro, .intro.leave {
  position: fixed; inset: 0; z-index: 100; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: clamp(8px, 2.2vh, 22px); overflow: hidden;
  background: radial-gradient(90% 75% at 50% 58%, #fff 0%, var(--wash) 62%, var(--line) 100%);
  color: var(--ink); cursor: pointer; transition: opacity .55s ease .7s;
  --f: clamp(30px, min(7vw, 9vh), 84px); --s: min(60vh, 88vw);
}
.intro.leave { opacity: 0; }
.intro-globe { position: relative; z-index: 2; flex: none; width: var(--s); height: var(--s); opacity: 0; transform: scale(.88); transition: opacity 1s ease, transform 1.8s var(--ease); }
.intro.play .intro-globe { opacity: 1; transform: none; }
.intro.leave .intro-globe { transform: scale(15); transition: transform 1.25s cubic-bezier(.6, 0, .75, .3); }
.intro-mark { flex: none; text-align: center; padding: 0 20px; transition: opacity .25s ease; }
.intro.leave .intro-mark, .intro.leave .intro-skip { opacity: 0; transition: opacity .25s ease; }
.intro-title { font-family: var(--display); font-weight: 400; font-size: var(--f); line-height: 1.05; margin: 0; white-space: nowrap; color: var(--red); }
.intro-title span { display: inline-block; overflow: hidden; vertical-align: bottom; padding: 0 .06em .08em; }
.intro-title i { display: inline-block; font-style: normal; transform: translateY(110%); transition: transform 1s var(--ease); }
.intro-title span:nth-child(1) i { transition-delay: .25s; }
.intro-title span:nth-child(2) i { transition-delay: .4s; }
.intro-title span:nth-child(3) i { transition-delay: .55s; }
.intro.play .intro-title i { transform: none; }
.intro-rule { display: block; width: min(240px, 40vw); height: 1px; margin: 10px auto 10px; background: var(--red-deep); transform: scaleX(0); transition: transform .9s var(--ease) 1s; }
.intro.play .intro-rule { transform: none; }
.intro-tag { font-family: var(--display); font-size: clamp(15px, 2vw, 21px); letter-spacing: .04em; margin: 0; color: var(--grey); opacity: 0; transform: translateY(8px); transition: opacity .8s ease 1.3s, transform .8s var(--ease) 1.3s; }
.intro.play .intro-tag { opacity: 1; transform: none; }
.intro-skip { margin: 0; padding: 11px 26px; border-radius: 999px; background: var(--red); font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: #fff; opacity: 0; transition: opacity .8s ease 2.2s; }
.intro.play .intro-skip { opacity: 1; }

/* ---------- Top bar + masthead ---------- */
.topbar { background: var(--ink); color: #fff; font-family: var(--sans); font-size: 12px; letter-spacing: .04em; }
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 36px; }
.topbar a { color: rgba(255, 255, 255, .86); padding: 9px 0; }
.topbar a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.topbar-links { display: flex; gap: 22px; }
.topbar-date { color: rgba(255, 255, 255, .78); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.masthead { position: relative; overflow: hidden; color: #fff; text-align: center; background: linear-gradient(180deg, var(--red) 0%, #930505 60%, var(--red-deep) 100%); }
.masthead .wrap { position: relative; padding-top: clamp(22px, 4vw, 44px); padding-bottom: clamp(20px, 3.4vw, 38px); }
.masthead-globe { position: absolute; right: -90px; top: 50%; width: 420px; height: 420px; margin-top: -210px; pointer-events: none; }
.masthead-globe.left { right: auto; left: -90px; transform: scaleX(-1); opacity: .55; }
.wordmark { position: relative; display: inline-block; font-family: var(--display); font-weight: 400; font-size: clamp(34px, 6.6vw, 86px); line-height: 1; letter-spacing: -.005em; margin: 0; }
.tagline { position: relative; font-family: var(--display); font-size: clamp(13px, 1.6vw, 19px); margin-top: 12px; letter-spacing: .05em; }
.tagline::before, .tagline::after { content: ""; display: inline-block; vertical-align: middle; width: clamp(18px, 4vw, 54px); height: 1px; background: rgba(255, 255, 255, .6); margin: 0 14px; }

/* ---------- Navigation ---------- */
.nav { position: sticky; top: 0; z-index: 40; background: var(--paper); border-bottom: 1px solid var(--ink); font-family: var(--sans); transition: box-shadow .3s ease; }
.nav.stuck { box-shadow: 0 6px 24px rgba(3, 3, 3, .1); }
.nav .wrap { display: flex; align-items: center; gap: 20px; min-height: 52px; }
.nav-brand { font-family: var(--display); font-size: 22px; color: var(--red); white-space: nowrap; max-width: 0; opacity: 0; overflow: hidden; transition: max-width .5s var(--ease), opacity .3s ease; }
.nav.stuck .nav-brand { max-width: 240px; opacity: 1; }
.nav-list { display: flex; flex: 1; justify-content: center; gap: clamp(14px, 2.2vw, 34px); }
.nav-list a { position: relative; display: block; padding: 17px 0 15px; font-size: 12.5px; font-weight: 600; letter-spacing: .13em; text-transform: uppercase; color: var(--char); white-space: nowrap; }
.nav-list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav-list a:hover, .nav-list a[aria-current] { color: var(--red); }
.nav-list a:hover::after, .nav-list a[aria-current]::after { transform: none; }
.btn { display: inline-block; font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; padding: 11px 18px; background: var(--red); color: #fff; border: 1px solid var(--red); transition: background .25s ease, color .25s ease; white-space: nowrap; }
.btn:hover { background: var(--ink); border-color: var(--ink); }
.btn.ghost { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .7); }
.btn.ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.nav-toggle { display: none; width: 44px; height: 44px; margin-left: -10px; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after { content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-toggle span { top: 21px; } .nav-toggle span::before { left: 0; top: -7px; } .nav-toggle span::after { left: 0; top: 7px; }
.nav.open .nav-toggle span { background: transparent; }
.nav.open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.latest { border-bottom: 1px solid var(--line); font-family: var(--sans); font-size: 13.5px; }
.latest .wrap { display: flex; align-items: center; gap: 16px; min-height: 44px; }
.latest-label { flex: none; font-size: 11px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: #fff; background: var(--red); padding: 5px 9px; }
.latest-list { position: relative; flex: 1; height: 22px; overflow: hidden; }
.latest-item { position: absolute; inset: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transform: translateY(10px); transition: opacity .5s ease, transform .5s var(--ease); pointer-events: none; }
.latest-item.on { opacity: 1; transform: none; pointer-events: auto; }
.latest-item a:hover { color: var(--red); }
.latest-item time { color: var(--grey); margin-right: 10px; }

/* ---------- Section furniture ---------- */
.section { padding: clamp(40px, 6vw, 76px) 0; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; border-top: 3px solid var(--ink); padding-top: 14px; margin-bottom: clamp(22px, 3vw, 36px); }
.section-title { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 3.2vw, 38px); line-height: 1.1; }
.section-link { font-family: var(--sans); font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--red); white-space: nowrap; }
.section-link::after { content: "→"; display: inline-block; margin-left: 8px; transition: transform .3s var(--ease); }
.section-link:hover::after { transform: translateX(5px); }
.dark { background: var(--ink); color: #fff; }
.dark .section-head { border-top-color: var(--accent); }
.dark .kicker, .dark .section-link { color: var(--accent); }
.dark .meta { color: rgba(255, 255, 255, .72); } .dark .meta b { color: #fff; }

.reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s ease, transform .9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; } .reveal.d3 { transition-delay: .24s; }

.media { display: block; overflow: hidden; background: var(--wash); }
.media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
a.media:hover img, .card:hover .media img, .feature:hover .media img { transform: scale(1.035); }

/* ---------- Hero ---------- */
.hero { padding: clamp(26px, 4vw, 48px) 0 clamp(36px, 5vw, 64px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.75fr) minmax(0, 1fr); gap: clamp(26px, 4vw, 56px); }
.lead .media { aspect-ratio: 16 / 10; }
.lead .media img { object-position: 50% 74%; }
.lead-body { padding-top: 22px; }
.lead .headline { font-size: clamp(30px, 4.3vw, 58px); margin: 12px 0 14px; }
.lead-excerpt { font-size: clamp(17px, 1.5vw, 19px); color: var(--char); max-width: 62ch; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.lead .meta { margin-top: 16px; }
.hero-side { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: clamp(22px, 3vw, 44px); }
.editorial-pick { padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.editorial-pick .headline { font-size: clamp(24px, 2.4vw, 32px); margin: 10px 0 12px; }
.editorial-pick p.excerpt { font-size: 16px; color: var(--char); display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.byline { display: flex; align-items: center; gap: 12px; margin-top: 16px; }
.byline img { width: 46px; height: 46px; border-radius: 50%; object-fit: cover; object-position: top; background: var(--wash); }
.byline .meta span { display: block; }
.side-list { padding-top: 22px; }
.side-list li { padding: 14px 0; border-bottom: 1px solid var(--line); }
.side-list li:last-child { border-bottom: 0; }
.side-list .headline { font-size: 19.5px; line-height: 1.22; margin-top: 6px; }
.side-list .meta { margin-top: 6px; font-size: 12px; }

/* ---------- In brief slideshow ---------- */
.brief { padding: clamp(36px, 5vw, 64px) 0; }
.brief-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.9fr); gap: clamp(24px, 4vw, 60px); align-items: center; }
.brief-copy .section-title { font-size: clamp(30px, 3.8vw, 48px); margin: 14px 0 16px; }
.brief-copy p { color: rgba(255, 255, 255, .8); max-width: 34ch; }
.brief-controls { display: flex; align-items: center; gap: 14px; margin-top: 28px; }
.brief-prev, .brief-next { width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .45); border-radius: 50%; font-family: var(--sans); font-size: 17px; transition: background .25s, color .25s, border-color .25s; }
.brief-prev:hover, .brief-next:hover { background: #fff; color: var(--ink); border-color: #fff; }
.brief-dots { display: flex; gap: 4px; margin-left: 6px; }
.brief-dot { width: 30px; height: 30px; position: relative; }
.brief-dot::after { content: ""; position: absolute; left: 3px; right: 3px; top: 14px; height: 2px; background: rgba(255, 255, 255, .35); transition: background .3s; }
.brief-dot.on::after { background: var(--accent); }
.brief-track { position: relative; aspect-ratio: 3 / 2; background: var(--char); overflow: hidden; }
.brief-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.03); transition: opacity .9s ease, transform 1.6s var(--ease); }
.brief-slide.on { opacity: 1; transform: none; }
.brief-slide img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Cover stories ---------- */
.features { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(18px, 2.4vw, 32px); }
.feature { position: relative; display: block; color: #fff; background: var(--char); overflow: hidden; min-height: clamp(320px, 38vw, 500px); }
.feature .media { position: absolute; inset: 0; background: var(--char); }
.feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(3, 3, 3, .05) 20%, rgba(3, 3, 3, .72) 62%, rgba(3, 3, 3, .94) 100%); }
.feature-body { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: clamp(20px, 3vw, 36px); }
.feature .kicker { color: #fff; background: var(--red); padding: 5px 9px; display: inline-block; }
.feature .headline { font-size: clamp(24px, 2.8vw, 38px); margin: 14px 0 10px; }
.feature .meta { color: rgba(255, 255, 255, .85); } .feature .meta b { color: #fff; }
.feature.portrait .media img { object-position: 50% 18%; }

/* ---------- Editorials ---------- */
.editorials { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.editor-card { position: sticky; top: 84px; background: var(--red); color: #fff; padding: clamp(24px, 3vw, 38px); }
.editor-card img { width: 112px; height: 112px; border-radius: 50%; object-fit: cover; object-position: top; border: 3px solid rgba(255, 255, 255, .85); background: var(--red-deep); }
.editor-card h3 { font-family: var(--display); font-weight: 400; font-size: 30px; line-height: 1.12; margin: 18px 0 4px; }
.editor-card .role { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: rgba(255, 255, 255, .85); }
.editor-card p { font-size: 15.5px; line-height: 1.6; color: rgba(255, 255, 255, .92); margin: 16px 0 22px; }
.ed-list li { display: grid; grid-template-columns: 62px minmax(0, 1fr); gap: 8px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.ed-list li:first-child { padding-top: 0; }
.ed-num { font-family: var(--display); font-size: 40px; line-height: 1; color: var(--red); }
.ed-list .headline { font-size: clamp(22px, 2.3vw, 30px); margin-bottom: 8px; }
.ed-list p.excerpt { color: var(--char); font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ed-list .meta { margin-top: 10px; }

/* ---------- Article cards ---------- */
.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(26px, 3vw, 44px) clamp(20px, 2.6vw, 36px); }
.card .media { aspect-ratio: 3 / 2; }
.card .kicker { display: block; margin-top: 16px; }
.card .headline { font-size: clamp(20px, 1.9vw, 24.5px); line-height: 1.2; margin: 8px 0 10px; }
.card.wide { grid-column: span 2; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 26px; align-items: center; }
.card.wide .media { aspect-ratio: 16 / 10; }
.card.wide .headline { font-size: clamp(24px, 2.6vw, 34px); }
.card.wide .kicker { margin-top: 0; }
.card p.excerpt { color: var(--char); font-size: 15.5px; margin-bottom: 10px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }

/* ---------- Subscribe ---------- */
.subscribe { position: relative; overflow: hidden; background: linear-gradient(135deg, var(--red-deep), var(--red) 55%, #930505); color: #fff; }
.subscribe .wrap { position: relative; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 40px; align-items: center; padding-top: clamp(48px, 7vw, 92px); padding-bottom: clamp(48px, 7vw, 92px); }
.subscribe-globe { position: absolute; right: -60px; top: 50%; width: 560px; height: 560px; margin-top: -280px; pointer-events: none; }
.subscribe h2 { font-family: var(--display); font-weight: 400; font-size: clamp(32px, 4.6vw, 60px); line-height: 1.06; }
.subscribe p { font-size: 18px; margin: 14px 0 26px; color: rgba(255, 255, 255, .92); }
.sub-form { display: flex; max-width: 480px; }
.sub-form input { flex: 1; min-width: 0; font: 16px var(--sans); padding: 14px 16px; border: 1px solid #fff; border-right: 0; background: #fff; color: var(--ink); border-radius: 0; }
.sub-form .btn { background: var(--ink); border-color: var(--ink); padding: 14px 22px; }
.sub-form .btn:hover { background: var(--char); border-color: var(--char); }

/* ---------- GSPI ---------- */
.gspi { background: var(--wash); }
.gspi-top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(26px, 4vw, 48px); }
.gspi-quote { font-family: var(--display); font-size: clamp(32px, 4.4vw, 58px); line-height: 1.08; margin-top: 12px; }
.gspi-quote em { color: var(--red); font-style: normal; }
.gspi-top p { color: var(--char); font-size: 17.5px; }
.three-e { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; border-top: 1px solid var(--ink); }
.three-e li { padding: 24px clamp(16px, 2.4vw, 32px) 4px 0; border-right: 1px solid var(--line); }
.three-e li + li { padding-left: clamp(16px, 2.4vw, 32px); }
.three-e li:last-child { border-right: 0; }
.three-e h3 { font-family: var(--display); font-weight: 400; font-size: 26px; margin-bottom: 8px; }
.three-e h3::first-letter { color: var(--red); }
.three-e p { font-size: 15.5px; color: var(--char); }
.gspi .section-link { display: inline-block; margin-top: 30px; }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: #fff; font-family: var(--sans); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(3, minmax(0, 1fr)); gap: 34px; padding: clamp(40px, 6vw, 72px) 0 40px; }
.footer .wordmark { font-size: 34px; }
.footer-tag { font-family: var(--display); font-size: 16px; color: rgba(255, 255, 255, .8); margin-top: 8px; }
.footer h4 { font-size: 11.5px; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }
.footer li { margin-bottom: 9px; }
.footer a { color: rgba(255, 255, 255, .88); } .footer a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.footer-base { border-top: 1px solid rgba(255, 255, 255, .18); padding: 18px 0 26px; display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; color: rgba(255, 255, 255, .72); font-size: 12.5px; }
.preview-flag { position: fixed; right: 14px; bottom: 14px; z-index: 60; font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; background: var(--ink); color: #fff; padding: 7px 11px; border-left: 3px solid var(--accent); opacity: .92; }

/* ---------- Article page ---------- */
.progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 50; pointer-events: none; }
.progress span { display: block; height: 100%; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.article-head { max-width: 900px; margin: 0 auto; padding: clamp(34px, 6vw, 72px) var(--pad) clamp(22px, 3vw, 34px); text-align: center; }
.article-head .headline { font-size: clamp(34px, 5.6vw, 68px); margin: 16px 0 24px; }
.article-head .byline { justify-content: center; text-align: left; margin-top: 0; }
.article-rule { width: 64px; height: 3px; background: var(--red); margin: 0 auto 22px; }
.article-hero { max-width: 1100px; margin: 0 auto; padding: 0 var(--pad); }
.article-hero img { width: 100%; }
.article-hero.tall { max-width: 720px; }
.article-layout { max-width: 1100px; margin: 0 auto; padding: clamp(28px, 4vw, 52px) var(--pad) clamp(40px, 6vw, 72px); display: grid; grid-template-columns: 64px minmax(0, 700px); gap: clamp(20px, 5vw, 76px); justify-content: center; }
.share { position: sticky; top: 92px; align-self: start; display: flex; flex-direction: column; gap: 10px; font-family: var(--sans); }
.share-label { font-size: 10.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
.share a, .share button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; font-size: 12px; font-weight: 700; color: var(--char); transition: background .25s, color .25s, border-color .25s; }
.share a:hover, .share button:hover { background: var(--red); border-color: var(--red); color: #fff; }
.share button[data-copy] { width: auto; height: auto; border: 0; border-radius: 0; font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--red); text-align: left; place-items: start; padding: 6px 0; }
.share button[data-copy]:hover { background: none; color: var(--ink); }
.article-body { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.72; color: #151515; }
.article-body > p { margin-bottom: 1.25em; }
.article-body > p.dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.9em; line-height: .82; padding: .06em .09em 0 0; color: var(--red); }
.article-body h2 { font-family: var(--display); font-weight: 400; font-size: clamp(26px, 2.8vw, 36px); line-height: 1.15; margin: 1.7em 0 .6em; padding-top: .7em; border-top: 1px solid var(--line); }
.article-body h3 { font-family: var(--display); font-weight: 400; font-size: 24px; margin: 1.5em 0 .5em; }
.article-body ul, .article-body ol { margin: 0 0 1.4em; border-left: 3px solid var(--red); padding: 4px 0 4px 22px; }
.article-body li { margin: .45em 0; font-family: var(--sans); font-size: .9em; font-weight: 500; line-height: 1.5; }
.article-body ol { list-style: decimal inside; }
.article-body blockquote { margin: 1.6em 0; padding-left: 24px; border-left: 3px solid var(--red); font-family: var(--display); font-size: 1.35em; line-height: 1.35; }
.article-body a { color: var(--red); text-decoration: underline; text-underline-offset: 3px; }
.article-body figure { margin: 2em 0; } .article-body figure img { width: 100%; }
.author-box { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; margin-top: 2.4em; padding: 26px; background: var(--wash); border-top: 3px solid var(--red); font-family: var(--sans); font-size: 15px; line-height: 1.6; color: var(--char); }
.author-box img { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; object-position: top; }
.author-box p + p { margin-top: .7em; }
.author-box .kicker { display: block; margin-bottom: 8px; }
.more { background: var(--wash); }

/* ---------- Section (listing) page ---------- */
.page-head { background: var(--ink); color: #fff; padding: clamp(36px, 6vw, 72px) 0; }
.page-head h1 { font-family: var(--display); font-weight: 400; font-size: clamp(38px, 6vw, 76px); line-height: 1.05; margin-top: 10px; }
.page-head .kicker { color: var(--accent); }
.page-head p { color: rgba(255, 255, 255, .82); max-width: 60ch; margin-top: 14px; }

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .card.wide { grid-column: span 2; }
  .masthead-globe.left { display: none; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 900px) {
  .hero-grid, .brief-grid, .editorials, .gspi-top, .subscribe .wrap { grid-template-columns: minmax(0, 1fr); }
  .hero-side { border-left: 0; padding-left: 0; border-top: 1px solid var(--line); padding-top: 26px; }
  .editor-card { position: static; display: grid; grid-template-columns: 96px minmax(0, 1fr); column-gap: 20px; align-items: center; }
  .editor-card img { width: 96px; height: 96px; grid-row: span 2; }
  .editor-card h3 { margin: 0 0 4px; align-self: end; } .editor-card .role { align-self: start; }
  .editor-card p, .editor-card .btn { grid-column: 1 / -1; } .editor-card .btn { justify-self: start; }
  .brief-copy p { max-width: none; }
  .subscribe-globe { opacity: .5; }
  .nav-toggle { display: block; }
  .nav .wrap { justify-content: space-between; }
  .nav-brand { flex: 1; }
  .nav.stuck .nav-brand { max-width: none; }
  .nav-list { position: absolute; left: 0; right: 0; top: 100%; display: block; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 6px var(--pad) 14px; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .25s ease; box-shadow: 0 18px 30px rgba(3, 3, 3, .12); }
  .nav.open .nav-list { max-height: 80vh; visibility: visible; opacity: 1; overflow: auto; }
  .nav-list a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .share { position: static; flex-direction: row; align-items: center; flex-wrap: wrap; order: 2; padding-top: 22px; border-top: 1px solid var(--line); }
  .share-label { margin: 0 6px 0 0; }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .topbar-links a:not(:last-child) { display: none; }
  .tagline::before, .tagline::after { display: none; }
  .masthead-globe { width: 300px; height: 300px; margin-top: -150px; right: -130px; opacity: .7; }
  .features, .cards, .three-e { grid-template-columns: minmax(0, 1fr); }
  .card.wide { grid-column: auto; display: block; } .card.wide .kicker { margin-top: 16px; }
  .three-e li, .three-e li + li { padding: 20px 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .three-e li:last-child { border-bottom: 0; }
  .ed-list li { grid-template-columns: 44px minmax(0, 1fr); } .ed-num { font-size: 30px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sub-form { flex-direction: column; } .sub-form input { border-right: 1px solid #fff; }
  .author-box { grid-template-columns: minmax(0, 1fr); }
  .nav .btn { padding: 9px 12px; font-size: 11px; }
  .article-head { text-align: left; } .article-rule { margin-left: 0; } .article-head .byline { justify-content: flex-start; }
  .preview-flag { font-size: 9.5px; padding: 5px 8px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ================= Full-site additions ================= */
.nav-list { gap: clamp(12px, 1.55vw, 26px); }
.nav-list a { font-size: 12px; letter-spacing: .11em; }
.search-toggle { flex: none; width: 44px; height: 44px; display: grid; place-items: center; color: var(--char); border-radius: 50%; transition: background .25s, color .25s; }
.search-toggle:hover, .nav.searching .search-toggle { background: var(--red); color: #fff; }
.search-bar { display: none; border-top: 1px solid var(--line); background: var(--wash); }
.nav.searching .search-bar { display: block; }
.search-bar .wrap, .search-page-form { display: flex; min-height: 0; padding-top: 14px; padding-bottom: 14px; gap: 0; }
.search-bar input, .search-page-form input { flex: 1; min-width: 0; font: 17px var(--serif); padding: 12px 16px; border: 1px solid var(--ink); border-right: 0; border-radius: 0; background: #fff; color: var(--ink); }
.search-page-form { padding: 0; max-width: 720px; margin-bottom: 18px; }
.search-count { margin-bottom: 30px; }
.tight-top { padding-top: 0; }
.cards.under-features { margin-top: clamp(26px, 3vw, 44px); }
.media.blank { display: grid; place-items: center; aspect-ratio: 3 / 2; background: var(--red); }
.blank-mark { font-family: var(--display); font-size: 44px; color: #fff; letter-spacing: .02em; }
.card .media.blank { aspect-ratio: 3 / 2; }

.world-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; margin: clamp(30px, 4vw, 52px) 0 26px; border-top: 1px solid rgba(255, 255, 255, .28); }
.world-list li { padding: 22px 22px 6px 0; border-right: 1px solid rgba(255, 255, 255, .16); }
.world-list li + li { padding-left: 22px; }
.world-list li:last-child { border-right: 0; }
.world-num { font-family: var(--display); font-size: 30px; color: var(--accent); line-height: 1; }
.world-list .headline { font-size: 19.5px; line-height: 1.24; margin: 10px 0 8px; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }

.page-head { position: relative; overflow: hidden; }
.page-head .wrap { position: relative; }
.page-globe { position: absolute; right: -70px; top: 50%; width: 460px; height: 460px; margin-top: -230px; pointer-events: none; opacity: .9; }
.load-more-wrap { text-align: center; margin-top: clamp(30px, 4vw, 52px); }
.load-more-wrap[hidden] { display: none; }
.paged > .is-hidden { display: none; }

/* prose pages */
.prose { font-size: clamp(18px, 1.45vw, 20px); line-height: 1.72; color: #151515; max-width: 720px; }
.prose p + p { margin-top: 1.2em; }
.prose p.dropcap::first-letter { font-family: var(--display); float: left; font-size: 4.9em; line-height: .82; padding: .06em .09em 0 0; color: var(--red); }
.prose-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: clamp(28px, 6vw, 96px); align-items: start; }
.pull { font-family: var(--display); font-size: clamp(34px, 4.4vw, 60px); line-height: 1.06; color: var(--red); border-top: 3px solid var(--ink); padding-top: 22px; position: sticky; top: 96px; }
.editor-band { background: var(--red); color: #fff; padding: clamp(44px, 7vw, 88px) 0; }
.editor-band-grid { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: clamp(28px, 6vw, 84px); align-items: center; }
.editor-band img { width: 260px; height: 260px; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid rgba(255, 255, 255, .9); background: var(--red-deep); }
.editor-band .kicker { color: rgba(255, 255, 255, .88); }
.editor-band h2 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 4vw, 52px); line-height: 1.08; margin: 10px 0 18px; }
.editor-band p { font-size: 18px; line-height: 1.7; max-width: 62ch; margin-bottom: 14px; color: rgba(255, 255, 255, .95); }
.editor-band p a { text-decoration: underline; text-underline-offset: 3px; }
.editor-band .btn { margin-top: 10px; }

.bio-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.bio-portrait { position: sticky; top: 96px; }
.bio-portrait img { width: 100%; }
.bio-portrait figcaption { font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); padding-top: 12px; border-top: 3px solid var(--red); margin-top: 14px; }
.vision-band { background: var(--ink); color: #fff; text-align: center; padding: clamp(48px, 8vw, 104px) 0; }
.vision-band .kicker { color: var(--accent); }
.vision-band p { font-family: var(--display); font-size: clamp(26px, 3.6vw, 48px); line-height: 1.18; max-width: 22em; margin: 18px auto 0; text-wrap: balance; }
.mission-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(26px, 5vw, 76px); align-items: center; padding: clamp(22px, 3vw, 40px) 0; border-bottom: 1px solid var(--line); }
.mission-row:last-child { border-bottom: 0; }
.mission-row .media { aspect-ratio: 4 / 3; }
.mission-row.flip .media { order: 2; }
.mission-num { font-family: var(--display); font-size: 46px; line-height: 1; color: var(--red); }
.mission-row h3 { font-family: var(--display); font-weight: 400; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.08; margin: 6px 0 14px; }
.mission-row p { font-size: 17.5px; line-height: 1.7; color: var(--char); }
.story-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.story-photo { position: sticky; top: 96px; aspect-ratio: 4 / 5; }

/* follow + archive */
.follow-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.fb-box { position: relative; background: var(--wash); border: 1px solid var(--line); }
.fb-box iframe { position: relative; display: block; width: 100%; border: 0; }
.fb-fallback { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; gap: 18px; font-family: var(--sans); font-size: 15px; line-height: 1.5; color: var(--char); }
.fb-fallback .blank-mark { background: var(--red); padding: 12px 14px; font-size: 30px; }
.note-box { border: 1px dashed var(--grey); padding: 28px; font-family: var(--sans); font-size: 15px; color: var(--grey); background: var(--wash); }
.archive details { border-bottom: 1px solid var(--line); background: #fff; }
.archive summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; cursor: pointer; font-family: var(--display); font-size: 24px; list-style: none; }
.archive summary::-webkit-details-marker { display: none; }
.archive summary::after { content: "+"; font-family: var(--sans); font-size: 22px; color: var(--red); margin-left: 6px; }
.archive details[open] summary::after { content: "–"; }
.archive .count { margin-left: auto; font-family: var(--sans); font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.archive ul { padding: 0 22px 18px; }
.archive li { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-top: 1px solid var(--line); font-size: 17px; }
.archive li a:hover { color: var(--red); }
.archive li .meta { white-space: nowrap; }

/* contact */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.contact-form .full { grid-column: 1 / -1; }
.field label { display: block; font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--char); margin-bottom: 8px; }
.field input, .field textarea { width: 100%; font: 17px var(--serif); color: var(--ink); padding: 13px 14px; border: 1px solid var(--grey); border-radius: 0; background: #fff; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--red); box-shadow: inset 0 -2px 0 var(--red); }
.field .invalid { border-color: var(--red); }
.form-foot { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.form-foot .btn { padding: 14px 40px; }
.form-thanks { font-family: var(--sans); font-size: 15px; color: var(--red-deep); }
.contact-side dl { border-top: 3px solid var(--ink); margin: 0 0 28px; }
.contact-side dt { font-family: var(--sans); font-size: 11.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--red); padding-top: 18px; }
.contact-side dd { margin: 4px 0 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-family: var(--display); font-size: clamp(21px, 2vw, 26px); overflow-wrap: anywhere; }
.contact-side dd a:hover { color: var(--red); }
.map iframe { display: block; width: 100%; height: clamp(300px, 42vw, 460px); border: 0; filter: grayscale(1) contrast(1.05); }

/* article refinements */
.article-body h4 { font-family: var(--sans); font-size: .82em; font-weight: 700; letter-spacing: .04em; margin: 1.6em 0 .5em; }
.article-body p.center { text-align: center; }
.article-body figure.small { max-width: 260px; }
.article-body figure.tall { max-width: 460px; margin-left: auto; margin-right: auto; }
.article-body hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.article-body { overflow-wrap: break-word; }
.article-head .headline { overflow-wrap: break-word; }

.to-top { position: fixed; right: 16px; bottom: 56px; z-index: 55; width: 44px; height: 44px; background: var(--red); color: #fff; font: 18px var(--sans); opacity: 0; transform: translateY(10px); pointer-events: none; transition: opacity .3s, transform .3s var(--ease), background .2s; }
.to-top.show { opacity: 1; transform: none; pointer-events: auto; }
.to-top:hover { background: var(--ink); }

@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .nav > .wrap { justify-content: space-between; }
  .nav-brand { flex: 1; }
  .nav.stuck .nav-brand { max-width: none; }
  .nav-list { position: absolute; left: 0; right: 0; top: 100%; display: block; background: var(--paper); border-bottom: 1px solid var(--ink); padding: 6px var(--pad) 14px; max-height: 0; overflow: hidden; visibility: hidden; opacity: 0; transition: opacity .25s ease; box-shadow: 0 18px 30px rgba(3, 3, 3, .12); }
  .nav.open .nav-list { max-height: 80vh; visibility: visible; opacity: 1; overflow: auto; }
  .nav-list a { padding: 15px 0; font-size: 14px; border-bottom: 1px solid var(--line); }
  .nav-list li:last-child a { border-bottom: 0; }
  .nav-list a::after { display: none; }
}
@media (max-width: 900px) {
  .prose-grid, .bio-grid, .story-grid, .follow-grid, .contact-grid, .editor-band-grid, .mission-row { grid-template-columns: minmax(0, 1fr); }
  .pull, .bio-portrait, .story-photo { position: static; }
  .story-photo { aspect-ratio: 4 / 3; }
  .mission-row.flip .media { order: 0; }
  .editor-band img { width: 180px; height: 180px; }
  .world-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .world-list li, .world-list li + li { padding: 20px 18px 14px 0; border-right: 0; border-bottom: 1px solid rgba(255, 255, 255, .16); }
  .page-globe { opacity: .45; }
}
@media (max-width: 640px) {
  .world-list { grid-template-columns: minmax(0, 1fr); }
  .contact-form { grid-template-columns: minmax(0, 1fr); }
  .contact-form .field { grid-column: 1 / -1; }
  .archive summary { font-size: 20px; padding: 16px; }
  .archive ul { padding: 0 16px 14px; }
  .archive li { flex-direction: column; gap: 2px; }
  .topbar-links a:not(:last-child) { display: inline; } .topbar-links a:last-child { display: none; }
  .to-top { bottom: 50px; right: 12px; }
}

/* fixes */
ol { list-style: none; }
.nav-brand { flex-shrink: 0; font-size: 20px; }
@media (min-width: 1181px) and (max-width: 1360px) { .nav.stuck .nav-brand { max-width: 0; opacity: 0; } }

/* compact page headings: content starts above the fold */
.page-head { padding: 20px 0 22px; }
.page-head h1 { font-size: clamp(28px, 3.4vw, 42px); margin-top: 4px; }
.page-head p { font-size: 15.5px; margin-top: 6px; max-width: 90ch; }
.page-head + .section { padding-top: clamp(26px, 3.4vw, 40px); }
.inner .masthead .wrap { padding-top: clamp(14px, 2vw, 22px); padding-bottom: clamp(12px, 1.8vw, 20px); }
.inner .wordmark { font-size: clamp(30px, 4.4vw, 56px); }
.inner .footer .wordmark { font-size: 34px; }
.inner .tagline { margin-top: 6px; font-size: clamp(12px, 1.2vw, 15px); }
.inner .masthead-globe { width: 300px; height: 300px; margin-top: -150px; }
.paged .card.wide { align-items: start; }

/* ---------- uniform, slim page headings ---------- */
.page-head { padding: 0; }
.page-head .wrap { display: flex; flex-direction: column; justify-content: center; height: 84px; }
.page-head h1 { font-size: clamp(26px, 3vw, 36px); line-height: 1.1; margin-top: 3px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head .kicker { font-size: 10.5px; }

/* ---------- scroll: quicker reveals, image wipes, gentle parallax ---------- */
.reveal { transform: translateY(26px); transition: opacity .55s ease, transform .7s var(--ease); }
.reveal .media, .media.reveal { clip-path: inset(0 0 100% 0); transition: clip-path .95s var(--ease); }
.reveal.in .media, .media.reveal.in { clip-path: inset(0 0 0 0); }
.reveal .media img, .media.reveal img { scale: 1.14; transition: transform 1.1s var(--ease), scale 1.3s var(--ease); }
.reveal.in .media img, .media.reveal.in img { scale: 1; }
.section-head { position: relative; border-top-color: transparent; }
.section-head::before { content: ""; position: absolute; left: 0; right: 0; top: -3px; height: 3px; background: var(--ink); transform: scaleX(0); transform-origin: left; transition: transform .9s var(--ease); }
.dark .section-head::before { background: var(--accent); }
.section-head.in::before { transform: none; }
@supports (animation-timeline: view()) {
  .lead .media img, .feature .media img, .mission-row .media img { animation: drift linear both; animation-timeline: view(); animation-range: entry 0% exit 100%; }
  @keyframes drift { from { translate: 0 -3.5%; } to { translate: 0 3.5%; } }
  .vision-band p, .gspi-quote, .pull { animation: rise linear both; animation-timeline: view(); animation-range: entry 0% cover 38%; }
  @keyframes rise { from { opacity: .15; translate: 0 26px; } to { opacity: 1; translate: 0 0; } }
}
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  .reveal .media, .media.reveal { clip-path: none; } .reveal .media img { scale: 1; }
  .lead .media img, .feature .media img, .mission-row .media img, .vision-band p, .gspi-quote, .pull { animation: none; }
}


/* ---------- Home: carousel + four latest; GSPI logo ---------- */
.home-carousel .section-title { margin: 0; }
.cards.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
@media (max-width: 1080px) { .cards.four { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .cards.four { grid-template-columns: minmax(0, 1fr); } }
.gspi-logo { display: block; width: clamp(150px, 18vw, 220px); height: auto; margin: 0 auto 26px; }

/* ---------- Menu: seven items, more air between them ---------- */
.nav-list { gap: clamp(18px, 3.2vw, 56px); }
.nav-list a { font-size: 12.5px; letter-spacing: .13em; }

/* ---------- One masthead size on every page (Home included) ---------- */
.masthead .wrap { padding-top: clamp(14px, 2vw, 22px); padding-bottom: clamp(12px, 1.8vw, 20px); }
.masthead .wordmark { font-size: clamp(30px, 4.4vw, 56px); }
.masthead .tagline { margin-top: 6px; font-size: clamp(12px, 1.2vw, 15px); }

/* ---------- Page changes: one motion everywhere ----------
   The header, menu and Latest bar stay exactly where they are. The content below them leaves with a short fade
   and the new content rises into place. Scrolling on past the end of a page uses the same motion with more travel. */
@view-transition { navigation: auto; }
.masthead { view-transition-name: masthead; }
.nav { view-transition-name: mainnav; }
.latest { view-transition-name: latest; }
.to-top { view-transition-name: totop; }
.preview-flag { view-transition-name: flag; }
.article-hero img { view-transition-name: hero; }
::view-transition { background: var(--paper); }
::view-transition-group(masthead), ::view-transition-group(mainnav), ::view-transition-group(latest) { animation-duration: .5s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); z-index: 10; }
::view-transition-group(totop), ::view-transition-group(flag) { z-index: 11; }
::view-transition-old(root) { animation: page-out .24s cubic-bezier(.4, 0, 1, 1) both; }
::view-transition-new(root) { animation: page-in .85s cubic-bezier(.16, 1, .3, 1) .15s both; }
@keyframes page-out { to { opacity: 0; transform: translateY(-22px); } }
@keyframes page-in { from { opacity: 0; transform: translateY(46px); } }
html.vt-scroll::view-transition-old(root) { animation: scroll-out .36s cubic-bezier(.4, 0, 1, 1) both; }
html.vt-scroll::view-transition-new(root) { animation: scroll-in 1.05s cubic-bezier(.16, 1, .3, 1) .2s both; }
@keyframes scroll-out { to { opacity: 0; transform: translateY(-16vh); } }
@keyframes scroll-in { from { opacity: 0; transform: translateY(34vh); } }
::view-transition-group(hero) { animation-duration: .75s; animation-timing-function: cubic-bezier(.2, .7, .2, 1); z-index: 5; }
::view-transition-old(hero), ::view-transition-new(hero) { height: 100%; object-fit: cover; }
main.swap-in { animation: page-in .7s cubic-bezier(.16, 1, .3, 1) both; }
/* what is already on screen when a page arrives is shown complete, not revealed piece by piece */
html.arriving .reveal, html.arriving .reveal .media, html.arriving .media.reveal, html.arriving .reveal .media img, html.arriving .media.reveal img, html.arriving .section-head::before { transition: none !important; }

/* end of a menu page: the page lifts with the push before the next one arrives */
main, .footer { transition: transform .55s cubic-bezier(.2, .7, .2, 1); }
html.pulling { background: var(--ink); }
html.pulling main, html.pulling .footer { transform: translateY(calc(var(--pull, 0) * -1px)); transition: transform .22s cubic-bezier(.2, .7, .2, 1); }
html.arriving main, html.arriving .footer { transition: none; }
@media (prefers-reduced-motion: reduce) {
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
  html.pulling main, html.pulling .footer { transform: none; }
  main.swap-in { animation: none; }
}

/* long words, links and email addresses never push a narrow screen sideways */
main p, main li, main h1, main h2, main h3, .footer li { overflow-wrap: break-word; }
main a[href^="mailto:"], .footer a[href^="mailto:"] { overflow-wrap: anywhere; }
/* phones: a long page title wraps onto a second line instead of being cut off */
@media (max-width: 640px) {
  .page-head .wrap { height: auto; min-height: 84px; padding-top: 14px; padding-bottom: 14px; }
  .page-head h1 { white-space: normal; overflow: visible; }
}

/* text kept for screen readers and search engines, not shown */
.vh { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; border: 0; }
/* The "Latest" strip belongs to the Home page only */
body.inner .latest { display: none; }
/* GSPI opens on a black screen that shows only the logo. The logo holds still (sticky) while the black Vision
   strip sweeps up over it; the two sit in one block so the hold ends once the logo is covered. */
.vision-open { position: relative; background: var(--ink); }
.vision-logo { position: sticky; top: var(--navh, 52px); z-index: 0; height: calc(100vh - var(--headh, 182px)); height: calc(100svh - var(--headh, 182px)); min-height: 240px; display: flex; align-items: center; justify-content: center; background: var(--ink); }
.vision-logo .gspi-logo { margin: 0; width: min(88vw, calc(100vh - var(--headh, 182px) - clamp(36px, 8vh, 88px)), 760px); width: min(88vw, calc(100svh - var(--headh, 182px) - clamp(36px, 8vh, 88px)), 760px); min-width: 180px; }
.vision-sweep { position: relative; z-index: 1; min-height: calc(100vh - var(--navh, 52px)); min-height: calc(100svh - var(--navh, 52px)); display: flex; align-items: center; padding: clamp(36px, 7vh, 84px) 0;
  background: #0b0b0b; box-shadow: 0 -1px 0 rgba(255, 255, 255, .14), 0 -30px 60px rgba(0, 0, 0, .85); }
.vision-sweep > .wrap { width: 100%; }
.vision-sweep p { font-size: clamp(24px, min(3.8vw, 5.4vh), 54px); }
