@font-face { font-family: "Source Serif"; font-weight: 400; font-display: swap; src: url(/assets/fonts/source-serif-4-400-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif"; font-weight: 600; font-display: swap; src: url(/assets/fonts/source-serif-4-600-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif"; font-weight: 700; font-display: swap; src: url(/assets/fonts/source-serif-4-700-normal.woff2) format("woff2"); }
@font-face { font-family: "Source Serif"; font-style: italic; font-weight: 400; font-display: swap; src: url(/assets/fonts/source-serif-4-400-italic.woff2) format("woff2"); }
@font-face { font-family: "Source Serif"; font-style: italic; font-weight: 600; font-display: swap; src: url(/assets/fonts/source-serif-4-600-italic.woff2) format("woff2"); }

:root {
  --bg: #fbf8f3;
  --card: #fffdf9;
  --ink: #2b1a1e;
  --muted: #6f5f61;
  --faint: #9b8c8c;
  --line: #eadfd2;
  --wine: #6e1b2e;
  --wine-d: #4b1020;
  --wine-dd: #2f0a14;
  --gold: #c39a45;
  --gold-l: #e7d3a2;
  --gold-d: #95732c;
  --serif: "Source Serif", Georgia, "Times New Roman", serif;
  --wrap: 1240px;
  --r: 12px;
  --shadow: 0 1px 2px rgba(47, 10, 20, .06), 0 10px 26px -16px rgba(47, 10, 20, .35);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--serif); }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--wine); text-decoration: none; }
a:hover { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 3px; }
a:focus-visible, button:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; border-radius: 4px; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; line-height: 1.15; margin: 0; color: var(--wine-dd); letter-spacing: -0.01em; }
h1 { font-size: 58px; letter-spacing: -0.02em; }
h2 { font-size: 30px; margin-bottom: 16px; }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
code { font-size: 0.92em; background: #f3ece2; padding: 1px 5px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 36px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--wine); color: #fff; padding: 6px 10px; z-index: 20; }

/* ---------- header ---------- */
.site-header { background: var(--card); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 10; }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 70px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--wine-dd); font-size: 26px; font-weight: 700; letter-spacing: -0.01em; white-space: nowrap; }
.brand svg { width: 58px; height: 22px; flex: none; }
.brand:hover { text-decoration: none; }
.nav { display: flex; gap: 30px; font-size: 17px; }
.nav a { color: var(--ink); padding: 6px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav a:hover { text-decoration: none; color: var(--wine); }
.nav a[aria-current="page"] { color: var(--wine-dd); font-weight: 600; border-bottom-color: var(--gold); }
.menu-btn { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--wine-dd); }
.menu-btn svg { width: 28px; height: 28px; }

/* ---------- buttons ---------- */
.pills, .btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 600; color: var(--wine-dd); padding: 9px 20px; border: 1.5px solid var(--gold); border-radius: 8px; background: var(--card); }
.pill:hover { text-decoration: none; background: #fbf3e2; }
.pill.solid { background: linear-gradient(180deg, var(--wine), var(--wine-d)); border-color: var(--wine-d); color: #fff; box-shadow: var(--shadow); }
.pill.solid:hover { background: var(--wine-d); }
.pill svg { width: 18px; height: 18px; }
.pills.big .pill { font-size: 17px; padding: 12px 22px; white-space: nowrap; }

/* ---------- section heading with rule ---------- */
.shead { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.shead h2 { margin: 0; white-space: nowrap; }
.shead .rule { flex: 1; height: 1px; background: var(--line); }
.shead a { white-space: nowrap; font-size: 16px; }
main { padding-bottom: 8px; }
section { padding: 40px 0; }

/* ---------- home hero with featured carousel ---------- */
.home-hero { display: grid; grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr); align-items: stretch; border-bottom: 1px solid var(--line);
  background: radial-gradient(120% 80% at 0% 0%, #fffaf2 0%, var(--bg) 60%); }
.home-hero .intro { padding: 54px 36px 50px max(36px, calc((100vw - var(--wrap)) / 2 + 36px)); align-self: center; }
.tagline { font-style: italic; font-size: 19px; line-height: 1.4; color: var(--wine-d); margin: 14px 0 16px; }
.tagline span { color: var(--gold); font-style: normal; padding: 0 0 0 7px; }
.tagline i { white-space: nowrap; }
.intro p.lead { font-size: 18px; color: var(--ink); max-width: 560px; }
.feature { position: relative; background: linear-gradient(115deg, var(--wine-dd) 0%, var(--wine-d) 45%, var(--wine) 100%); color: #f7ecec;
  border-radius: 260px 0 0 260px / 50% 0 0 50%; border-left: 4px solid var(--gold); overflow: hidden; display: flex; align-items: center; min-height: 440px; }
.feature::before { content: ""; position: absolute; inset: 0; background: radial-gradient(90% 70% at 85% 30%, rgba(195,154,69,.16), transparent 60%); pointer-events: none; }
.fslides { display: grid; width: 100%; }
.fslide { grid-area: 1 / 1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); align-items: center; gap: 30px; padding: 46px 70px 64px 112px; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s; }
.fslide.on { opacity: 1; visibility: visible; }
.kicker { font-size: 12.5px; letter-spacing: 0.16em; white-space: nowrap; text-transform: uppercase; color: var(--gold-l); display: flex; align-items: center; gap: 14px; margin: 0 0 14px; }
.kicker::after { content: ""; flex: 0 1 44px; min-width: 16px; height: 1px; background: var(--gold); }
.fslide h2 { color: #fff; font-size: 32px; margin: 0 0 12px; }
.fslide p { font-style: italic; color: #ecdcdc; font-size: 17.5px; line-height: 1.5; }
.fslide .more { color: #fff; font-size: 17px; border-bottom: 1.5px solid var(--gold); padding-bottom: 2px; }
.fslide .more:hover { text-decoration: none; color: var(--gold-l); }
.fslide .shot { background: #fff; border-radius: 8px; padding: 10px; box-shadow: 0 18px 40px -18px rgba(0,0,0,.6); display: flex; align-items: center; justify-content: center; height: 320px; }
.fslide .shot img { max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; }
.feature .arrow { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 0; color: #fff; cursor: pointer; padding: 10px; z-index: 2; opacity: .85; }
.feature .arrow:hover { opacity: 1; }
.feature .arrow svg { width: 26px; height: 26px; }
.feature .prev { left: 58px; }
.feature .next { right: 14px; }
.fdots { position: absolute; left: 50%; transform: translateX(-50%); bottom: 24px; display: flex; gap: 9px; z-index: 2; }
.fdots button { width: 10px; height: 10px; border-radius: 50%; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; }
.fdots button[aria-current="true"] { background: var(--gold); }

/* ---------- featured research scroller ---------- */
.scroller-wrap { position: relative; }
.scroller { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 14px; }
.scroller::-webkit-scrollbar { display: none; }
.fcard { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); color: var(--wine-dd); display: flex; flex-direction: column; transition: transform .18s ease; }
.fcard:hover { text-decoration: none; transform: translateY(-3px); }
.fcard .img { aspect-ratio: 16 / 10; overflow: hidden; background: #f1ebe2; }
.fcard img { width: 100%; height: 100%; object-fit: cover; }
.fcard span { padding: 12px 14px 14px; text-align: center; font-weight: 700; font-size: 17px; line-height: 1.25; flex: 1; display: flex; align-items: center; justify-content: center; }
.sbtn { position: absolute; top: calc(50% - 22px); transform: translateY(-50%); width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); cursor: pointer; display: flex; align-items: center; justify-content: center; color: var(--wine-dd); z-index: 2; }
.sbtn svg { width: 18px; height: 18px; }
.sbtn.l { left: -21px; }
.sbtn.r { right: -21px; }

/* ---------- selected publications + themes ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 0; }
.split > div:first-child { padding-right: 40px; border-right: 1px solid var(--line); }
.split > div:last-child { padding-left: 40px; }
.sel { list-style: none; padding: 0; margin: 0; }
.sel li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; padding: 9px 0; }
.sel svg { width: 24px; height: 24px; color: var(--wine-d); margin-top: 3px; }
.sel a { font-weight: 700; color: var(--ink); line-height: 1.35; }
.sel a:hover { color: var(--wine); }
.sel .v { display: block; font-style: italic; color: var(--muted); font-size: 15.5px; }
.themes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.theme { color: var(--wine-dd); }
.theme:hover { text-decoration: none; }
.theme .img { aspect-ratio: 16 / 9; border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); background: #f1ebe2; }
.theme img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.theme:hover img { transform: scale(1.04); }
.theme b { display: block; font-size: 18px; line-height: 1.3; margin-top: 12px; }
.theme b::after { content: ""; display: block; width: 42px; height: 2px; background: var(--gold); margin-top: 10px; }

/* ---------- page heads ---------- */
.page-head { padding: 40px 0 8px; }
.page-head h1 { font-size: 52px; }
.page-head h1::after { content: ""; display: block; width: 84px; height: 3px; background: var(--gold); margin-top: 14px; }
.page-head p { font-style: italic; color: var(--ink); max-width: 760px; margin-top: 16px; font-size: 19px; }
.crumb { font-size: 15px; color: var(--muted); padding-top: 28px; margin: 0; }
.crumb a { color: var(--muted); }
.topic-page .page-head { padding-top: 8px; }

/* ---------- research index ---------- */
.rhero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.72fr); align-items: stretch; border-bottom: 1px solid var(--line); }
.rhero .intro { padding: 36px 40px 30px max(36px, calc((100vw - var(--wrap)) / 2 + 36px)); }
.rhero .art { border-radius: 260px 0 0 260px / 50% 0 0 50%; border-left: 4px solid var(--gold); overflow: hidden; min-height: 260px; background: var(--wine-dd); }
.rhero .art img { width: 100%; height: 100%; object-fit: cover; }
.chips { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.chip { font-family: var(--serif); font-size: 16px; padding: 7px 18px; border-radius: 999px; border: 1.5px solid var(--gold); background: var(--card); color: var(--ink); cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--wine-d); border-color: var(--wine-d); color: #fff; }
.note { display: flex; align-items: center; gap: 12px; font-style: italic; color: var(--ink); margin: 26px 0 18px; }
.note svg { width: 22px; height: 22px; color: var(--wine); flex: none; }
.note::after { content: ""; flex: 1; height: 1px; background: #c9b9a8; }
.rlist { display: grid; gap: 12px; }
.rrow { display: grid; grid-template-columns: 240px 1px minmax(0, 1fr) auto; gap: 28px; align-items: center; background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 12px 26px 12px 12px; }
.rrow[hidden] { display: none; }
.rrow .thumb { aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: #f1ebe2; }
.rrow .thumb img { width: 100%; height: 100%; object-fit: cover; }
.rrow .bar { width: 1px; height: 64px; background: var(--gold); }
.rrow h3 { font-size: 25px; }
.rrow h3 a { color: var(--wine-dd); }
.rrow p { font-style: italic; color: var(--ink); margin: 4px 0 0; font-size: 17px; }
.rrow .pill { white-space: nowrap; }

/* ---------- topic pages ---------- */
.figs { display: grid; gap: 26px; margin: 6px 0 30px; }
.figs.two { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
figure { margin: 0; }
figure > a, figure > img { display: block; background: #fff; border-radius: 8px; padding: 10px; box-shadow: var(--shadow); }
figure img { border-radius: 4px; }
figcaption { font-size: 15px; line-height: 1.5; color: var(--muted); margin-top: 10px; }
figcaption .credit { color: var(--faint); font-style: italic; }
figcaption .credit a { color: var(--faint); text-decoration: underline; text-underline-offset: 2px; }
.cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 44px; align-items: start; margin-bottom: 28px; }
.cols.fig-right { grid-template-columns: minmax(0, 1fr) minmax(0, 0.9fr); }
.prose { max-width: 780px; }
.prose p { font-size: 18px; }
.side { display: grid; gap: 16px; }
.keypapers, .related { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 18px 22px; border-top: 3px solid var(--gold); font-size: 16px; }
.keypapers h3, .related h3 { font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-d); margin-bottom: 8px; font-weight: 600; }
.keypapers ul { list-style: none; padding: 0; margin: 0; }
.keypapers li { padding: 6px 0; line-height: 1.4; }
.keypapers li a { font-weight: 600; }
.keypapers li span { display: block; font-style: italic; font-size: 14.5px; color: var(--muted); }
.related a { display: block; padding: 3px 0; }
.pager { display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); margin-top: 26px; padding-top: 18px; font-size: 16.5px; }
.pager a { max-width: 48%; }
.pager .next { text-align: right; margin-left: auto; }

/* ---------- generic tiles and cards (facilities, software, research extras) ---------- */
.tiles { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.tiles.four { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.tile { display: flex; flex-direction: column; color: var(--ink); background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.tile:hover { text-decoration: none; }
.tile .img { aspect-ratio: 3 / 2; overflow: hidden; background: #f1ebe2; }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile .body { padding: 14px 16px 16px; }
.tile h3 { font-size: 19px; margin-bottom: 4px; }
.tile p { color: var(--muted); font-size: 15px; font-style: italic; margin: 0; }
.tile .chips { display: none; }
.minis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mini { display: block; color: var(--wine-dd); background: var(--card); border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); }
.mini:hover { text-decoration: none; }
.mini .img { aspect-ratio: 16 / 10; background: #fff; display: flex; align-items: center; justify-content: center; padding: 10px; }
.mini .img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.mini .t { padding: 10px 14px 14px; font-weight: 700; font-size: 17px; }
.mini .t span { display: block; font-weight: 400; font-style: italic; font-size: 14.5px; color: var(--muted); }
.cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--shadow); padding: 24px 26px; border-top: 3px solid var(--gold); }
.card h3 { font-size: 24px; margin-bottom: 2px; }
.card .meta { font-style: italic; color: var(--muted); font-size: 15px; margin-bottom: 12px; }
.card p { font-size: 16.5px; }

/* facilities page */
.facility { display: grid; grid-template-columns: 380px minmax(0, 1fr); gap: 34px; align-items: start; padding: 28px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.facility.text-only { grid-template-columns: minmax(0, 1fr); }
.facility h2 { font-size: 26px; margin-bottom: 4px; }
.facility .where { font-style: italic; color: var(--gold-d); font-size: 15.5px; margin-bottom: 12px; }
.facility .tags { font-size: 15px; color: var(--muted); margin-top: 8px; }

/* software page */
.tool { padding: 32px 0; border-top: 1px solid var(--line); scroll-margin-top: 90px; }
.tool .meta { font-style: italic; color: var(--muted); font-size: 16px; margin: 6px 0 14px; }

/* publications */
.legend { font-size: 15px; color: var(--muted); font-style: italic; }
.pubs { list-style: none; padding: 0; margin: 0; }
.pubs li { display: grid; grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 13px 0; font-size: 17px; line-height: 1.5; border-top: 1px solid var(--line); }
.pubs li:first-child { border-top: 0; }
.pubs .n { color: var(--gold-d); font-weight: 600; font-size: 15px; padding-top: 2px; }
.pubs .t { font-weight: 700; color: var(--wine-dd); }
.pubs .me { text-decoration: underline; text-decoration-color: var(--gold); text-decoration-thickness: 2px; text-underline-offset: 3px; }
.pubs .venue { font-style: italic; }
.pubs .status { font-size: 13px; font-weight: 600; color: var(--wine); border: 1px solid var(--gold); border-radius: 4px; padding: 0 7px; margin-left: 6px; white-space: nowrap; }
.pubs .lnk { margin-left: 4px; font-size: 15.5px; white-space: nowrap; }
.pubs .lnk a { margin-right: 12px; font-weight: 600; }
h3.year { font-size: 15px; letter-spacing: 0.16em; color: var(--gold-d); margin: 26px 0 4px; font-weight: 600; }
details { margin-top: 10px; }
summary { cursor: pointer; color: var(--wine); font-weight: 600; }
.plain { list-style: none; padding: 0; margin: 12px 0 0; }
.plain li { padding: 8px 0; font-size: 16.5px; line-height: 1.5; border-top: 1px solid var(--line); }

/* timeline entries */
.entry { display: grid; grid-template-columns: 140px minmax(0, 1fr); gap: 22px; padding: 16px 0; border-top: 1px solid var(--line); }
.entry:first-of-type { border-top: 0; }
.entry .d { color: var(--gold-d); font-weight: 600; font-size: 15.5px; padding-top: 2px; }
.entry h3 { font-size: 20px; }
.entry .sub { font-style: italic; color: var(--muted); font-size: 16px; margin: 3px 0 6px; }
.entry p { font-size: 16.5px; margin: 0; }

/* about + contact */
.about { display: grid; grid-template-columns: 280px minmax(0, 1fr); gap: 48px; align-items: start; padding-top: 12px; }
.about .portrait { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); border: 4px solid var(--card); outline: 1px solid var(--gold-l); aspect-ratio: 4 / 5; }
.about .portrait img { width: 100%; height: 100%; object-fit: cover; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }

/* ---------- footer ---------- */
.site-footer { position: relative; overflow: hidden; background: linear-gradient(100deg, var(--wine-dd), var(--wine-d) 55%, var(--wine)); color: #f3e6e6; margin-top: 36px; }
.site-footer .wrap { position: relative; z-index: 1; }
.frow { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 28px; padding: 26px 0 10px; font-size: 16.5px; }
.frow .name { font-size: 24px; font-weight: 700; color: #fff; padding-right: 28px; border-right: 1px solid rgba(231,211,162,.5); }
.frow a { color: #f3e6e6; display: inline-flex; align-items: center; gap: 9px; }
.frow a:hover { color: var(--gold-l); text-decoration: none; }
.frow svg { width: 20px; height: 20px; }
.flegal { font-size: 14px; color: #cdb6ba; padding: 6px 0 24px; }
.fwave { position: absolute; right: -40px; bottom: -6px; width: 560px; height: 120px; z-index: 0; opacity: .9; }

/* facilities and software strip on home */
.built { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.bcard { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 14px; align-items: center; background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 10px; color: var(--ink); box-shadow: var(--shadow); }
.bcard:hover { text-decoration: none; border-color: var(--gold); }
.bcard img { width: 112px; height: 74px; object-fit: cover; border-radius: 6px; }
.bcard b { display: block; color: var(--wine-dd); font-size: 17px; line-height: 1.25; }
.bcard span { display: block; font-size: 14.5px; font-style: italic; color: var(--muted); line-height: 1.35; margin-top: 3px; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .fcard { flex-basis: calc((100% - 32px) / 3); }
  .tiles.four { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .fslide { padding: 40px 56px 60px 100px; }
}
@media (max-width: 960px) {
  .site-header .wrap { min-height: 62px; }
  .menu-btn { display: block; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: var(--card); border-bottom: 1px solid var(--line); flex-direction: column; gap: 0; padding: 6px 36px 14px; box-shadow: var(--shadow); }
  .nav.open { display: flex; }
  .nav a { padding: 11px 0; border-bottom: 1px solid var(--line); }
  .nav a[aria-current="page"] { border-bottom-color: var(--line); color: var(--wine); }
  .home-hero { grid-template-columns: minmax(0, 1fr); }
  .home-hero .intro { padding: 34px 36px 26px; }
  .feature { border-radius: 22px; border-left: 0; border-top: 3px solid var(--gold); margin: 0 20px 26px; min-height: 0; }
  .fslide { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 34px 40px 60px; }
  .fslide .shot { height: 240px; }
  .feature .arrow { top: auto; bottom: 4px; transform: none; }
  .feature .prev { left: 10px; }
  .feature .next { right: 10px; }
  .fdots { bottom: 22px; }
  .split { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .split > div:first-child { padding-right: 0; border-right: 0; }
  .split > div:last-child { padding-left: 0; }
  .rhero { grid-template-columns: minmax(0, 1fr); }
  .rhero .art { display: none; }
  .rhero .intro { padding: 30px 36px 20px; }
  .rrow { grid-template-columns: 180px minmax(0, 1fr); gap: 18px; padding-right: 18px; }
  .rrow .bar { display: none; }
  .rrow .go { grid-column: 2; justify-self: start; }
  .cols, .cols.fig-right, .facility, .figs.two, .facts, .about, .contact-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .about .portrait { max-width: 240px; }
  .minis { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .brand { font-size: 22px; }
  .brand svg { width: 46px; }
  .nav { padding: 4px 20px 12px; }
  h1, .page-head h1 { font-size: 40px; }
  h2 { font-size: 25px; }
  .home-hero .intro { padding: 26px 20px 20px; }
  .tagline { font-size: 19px; }
  .pills.big .pill { font-size: 16px; padding: 11px 14px; flex: 1 1 auto; justify-content: center; }
  .feature { margin: 0 14px 22px; }
  .fslide { padding: 26px 22px 58px; }
  .fslide h2 { font-size: 27px; }
  .fslide .shot { height: 200px; }
  .fcard { flex-basis: 62%; }
  .sbtn.l { left: -10px; }
  .sbtn.r { right: -10px; }
  .themes { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
  .built { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .theme b { font-size: 14.5px; }
  .shead { gap: 4px 12px; flex-wrap: wrap; justify-content: space-between; }
  .shead .rule { display: none; }
  .shead a { font-size: 14.5px; }
  .rrow { grid-template-columns: 112px minmax(0, 1fr); gap: 14px; padding: 10px 14px 12px 10px; }
  .rrow h3 { font-size: 19px; }
  .rrow p { font-size: 15px; }
  .rrow .go .pill { padding: 6px 14px; font-size: 14.5px; }
  .tiles, .tiles.four, .minis { grid-template-columns: minmax(0, 1fr); }
  .entry { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .pubs li { grid-template-columns: 38px minmax(0, 1fr); }
  .frow { gap: 10px 18px; font-size: 15.5px; }
  .frow .name { width: 100%; border-right: 0; padding-right: 0; }
  .fwave { width: 360px; opacity: .6; }
}
@media (prefers-reduced-motion: reduce) {
  .fslide { transition: none; }
  .fcard, .theme img { transition: none; }
}
@media print {
  .site-header .nav, .menu-btn, .site-footer, .feature .arrow, .fdots { display: none; }
}
