/* Sky & water: shared visual system for the homepage, archives and detail pages. */
:root {
  color-scheme: light;
  --paper: #f8f7f4;
  --ink: #302d35;
  --muted: #69636e;
  --accent: #726080;
  --accent-deep: #5d496d;
  --lavender: #b4a0bf;
  --wash: #efebf3;
  --line: #ded8e2;
  --serif: "Iowan Old Style", "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  font-family: var(--sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: var(--accent-deep); text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { color: var(--ink); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; border-radius: 1px; }
img, svg { display: block; max-width: 100%; }
p { margin: 0 0 1.2em; }
::selection { background: #ded2e7; color: var(--ink); }
.skip-link { position: absolute; z-index: 10; top: -80px; left: 20px; padding: 12px 18px; background: var(--ink); color: white; }
.skip-link:focus { top: 12px; color: white; }

.site-header { border-bottom: 1px solid var(--line); }
.header-inner { max-width: 1200px; margin: auto; min-height: 112px; padding: 24px 40px; display: flex; align-items: center; justify-content: space-between; gap: 36px; }
.site-brand { display: flex; flex-direction: column; gap: 6px; flex-shrink: 0; text-decoration: none; color: var(--ink); }
.brand-name { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -.8px; }
.brand-dot { color: var(--accent); }
.brand-tagline { color: var(--muted); font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; }
.site-nav { display: flex; flex-wrap: wrap; justify-content: flex-end; column-gap: 26px; row-gap: 14px; }
.site-nav a { color: var(--ink); text-decoration: none; font-size: 13px; line-height: 1.5; }
.site-nav a:hover { color: var(--accent); text-decoration: underline; }
.site-nav a span { margin-left: 3px; color: var(--accent); }

.page-layout { display: grid; grid-template-columns: 216px minmax(0, 1fr); gap: 80px; max-width: 1200px; margin: 0 auto; padding: 70px 40px 80px; align-items: start; }
.profile { position: sticky; top: 40px; }
.portrait-frame { position: relative; width: 196px; margin: 0 0 30px; }
.portrait-frame::before { content: ""; position: absolute; inset: 10px -10px -10px 10px; border: 1px solid #c5b4d0; border-radius: 3px; z-index: -1; }
.portrait { width: 196px; height: 220px; border-radius: 3px; object-fit: cover; object-position: center 38%; }
.profile-name { font: 26px/1.2 var(--serif); letter-spacing: -.4px; margin-bottom: 10px; }
.profile-role { color: var(--accent-deep); font-size: 13px; font-weight: 600; margin-bottom: 7px; }
.profile-affiliation { font-size: 12px; color: var(--muted); line-height: 1.7; margin-bottom: 13px; }
.profile-location { font-size: 12px; color: var(--muted); margin-bottom: 24px; }
.profile-links { list-style: none; margin: 0; padding: 17px 0; border-block: 1px solid var(--line); }
.profile-links a { display: flex; align-items: center; gap: 10px; color: var(--ink); font-size: 12px; padding: 8px 0; text-decoration: none; }
.profile-links a:hover { color: var(--accent); text-decoration: underline; }
.profile-links svg { width: 16px; height: 16px; color: var(--accent); fill: none; stroke: currentColor; stroke-width: 1.4; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.profile-links .link-arrow { margin-left: auto; color: var(--accent); font-size: 14px; }
.profile-note { max-width: 190px; color: var(--muted); font: italic 15px/1.6 var(--serif); margin-top: 20px; }

main { min-width: 0; }
main:focus { outline: none; }
.eyebrow { display: flex; align-items: center; gap: 10px; color: var(--accent-deep); font-size: 10px; line-height: 1.6; font-weight: 500; letter-spacing: 1.6px; text-transform: uppercase; margin: 0 0 25px; }
.eyebrow > span { width: 7px; height: 7px; background: var(--lavender); border-radius: 50%; flex: 0 0 7px; }
h1 { margin: 0 0 28px; font: 400 clamp(42px, 4.5vw, 64px)/1.06 var(--serif); letter-spacing: -2px; }
h1 em { color: var(--accent); font-weight: 400; }
.title-period { color: var(--lavender); }
.intro-lead { max-width: 680px; font-size: 19px; font-weight: 400; line-height: 1.7; letter-spacing: -.2px; margin-bottom: 14px; }
.intro-detail { max-width: 660px; color: var(--muted); font-size: 14px; line-height: 1.9; }
.intro-links { display: flex; align-items: center; flex-wrap: wrap; gap: 20px 28px; margin-top: 26px; }
.primary-link { display: inline-flex; align-items: center; justify-content: space-between; gap: 26px; background: var(--wash); border: 1px solid var(--line); padding: 13px 17px; font-size: 12px; font-weight: 500; text-decoration: none; border-radius: 2px; }
.primary-link:hover { background: #e8e1ed; border-color: var(--lavender); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.file-format { font-size: 9px; letter-spacing: .5px; color: var(--muted); }

.research-overview { margin-top: 58px; padding-top: 28px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; gap: 14px; margin-bottom: 24px; }
.section-number { flex-shrink: 0; color: var(--accent); font-size: 10px; font-variant-numeric: tabular-nums; letter-spacing: 1px; }
h2 { margin: 0; font: 400 25px/1.35 var(--serif); letter-spacing: -.4px; }
.overview-figure { margin: 0 0 30px; }
.overview-figure picture { display: block; }
.overview-figure img { width: 100%; height: auto; }
figcaption { max-width: 580px; margin: 14px 0 0; color: var(--muted); font-size: 11px; line-height: 1.7; }
.research-themes { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.research-theme + .research-theme { border-left: 1px solid var(--line); padding-left: 30px; }
.theme-label { color: var(--accent-deep); font-size: 9px; line-height: 1.8; font-weight: 500; text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 12px; }
h3 { margin: 0 0 12px; font: 400 23px/1.25 var(--serif); letter-spacing: -.4px; }
.research-theme > p:not(.theme-label) { font-size: 13px; line-height: 1.9; color: var(--muted); }
.theme-link { display: inline-flex; gap: 12px; align-items: center; font-size: 12px; text-decoration: none; border-bottom: 1px solid #b9a8c4; padding-bottom: 4px; }
.theme-link:hover { border-color: var(--ink); }

.about-section { border-top: 1px solid var(--line); padding-top: 28px; margin-top: 50px; }
.about-section > p { font-size: 14px; line-height: 1.95; color: var(--muted); }
.teaching-note { border-left: 2px solid var(--lavender); padding: 4px 0 4px 24px; margin-top: 32px; }
.teaching-note h3 { font-size: 22px; }
.teaching-note p { color: var(--muted); font-size: 13px; line-height: 1.9; }

.site-footer { border-top: 1px solid var(--line); }
.footer-inner { max-width: 1200px; margin: auto; padding: 24px 40px; display: flex; justify-content: space-between; gap: 20px; }
.footer-inner p { color: var(--muted); font-size: 10px; line-height: 1.8; margin: 0; }
.footer-inner span { color: var(--lavender); padding-inline: 7px; }

@media (min-width: 1440px) {
  .page-layout { padding-top: 82px; }
}

@media (max-width: 1000px) {
  .header-inner { padding-inline: 30px; gap: 30px; }
  .site-nav { column-gap: 18px; }
  .page-layout { grid-template-columns: 180px minmax(0, 1fr); gap: 48px; padding: 52px 30px 64px; }
  .portrait-frame, .portrait { width: 166px; }
  .portrait { height: 190px; }
  .profile-affiliation { font-size: 11px; }
  h1 { font-size: 49px; }
  .research-themes { gap: 24px; }
  .research-theme + .research-theme { padding-left: 24px; }
  h3 { font-size: 21px; }
  .overview-figure img { max-width: 390px; margin: auto; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 0; padding: 23px 24px 19px; flex-direction: column; align-items: flex-start; gap: 24px; }
  .site-brand { flex-direction: row; align-items: baseline; gap: 15px; }
  .brand-name { font-size: 26px; }
  .brand-tagline { font-size: 9px; letter-spacing: 1px; }
  .site-nav { justify-content: flex-start; gap: 10px 22px; }
  .site-nav a { font-size: 12px; }
  .page-layout { display: block; padding: 36px 24px 50px; }
  .profile { position: static; display: grid; grid-template-columns: 100px minmax(0, 1fr); column-gap: 24px; row-gap: 20px; margin-bottom: 44px; border-bottom: 1px solid var(--line); padding-bottom: 25px; }
  .portrait-frame { width: 100px; margin-bottom: 5px; align-self: start; }
  .portrait-frame::before { inset: 6px -6px -6px 6px; }
  .portrait { width: 100px; height: 118px; }
  .profile-name { font-size: 24px; margin: 0 0 7px; }
  .profile-role { font-size: 12px; }
  .profile-affiliation { font-size: 11px; line-height: 1.6; margin-bottom: 7px; }
  .profile-location { font-size: 11px; margin: 0; }
  .profile-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 4px 22px; border: 0; padding: 0; }
  .profile-links a { font-size: 11px; gap: 6px; padding: 8px 0; }
  .profile-links svg { width: 14px; height: 14px; }
  .profile-links .link-arrow { display: none; }
  .profile-note { display: none; }
  h1 { font-size: clamp(43px, 8vw, 60px); letter-spacing: -1.7px; }
  .eyebrow { font-size: 9px; letter-spacing: 1.2px; margin-bottom: 20px; }
  .intro-lead { font-size: 18px; line-height: 1.7; }
  .intro-detail { font-size: 14px; line-height: 1.85; }
  .research-overview { margin-top: 42px; }
  h2 { font-size: 24px; }
  .footer-inner { padding: 22px 24px; flex-direction: column; gap: 7px; }
}

@media (max-width: 639px) {
  .overview-figure img { max-width: 390px; margin: auto; }
  .research-themes { grid-template-columns: 1fr; gap: 28px; }
  .research-theme + .research-theme { border-left: 0; padding-left: 0; padding-top: 28px; border-top: 1px solid var(--line); }
  .research-theme > p:not(.theme-label), .teaching-note p { font-size: 14px; }
  .theme-label { font-size: 10px; }
  h3 { font-size: 24px; }
  .about-section { margin-top: 38px; }
  .section-heading { gap: 10px; }
}

@media (max-width: 380px) {
  .site-brand { gap: 12px; }
  .brand-tagline { max-width: 120px; line-height: 1.6; }
  .site-nav { column-gap: 17px; }
  .profile { gap: 20px; grid-template-columns: 88px minmax(0, 1fr); }
  .portrait-frame, .portrait { width: 88px; }
  .portrait { height: 108px; }
  .profile-links { gap: 4px 18px; }
  h1 { font-size: 41px; }
  .eyebrow { letter-spacing: .8px; }
  .intro-links { gap: 18px; }
}

@media print {
  .skip-link, .site-nav, .intro-links, .site-footer { display: none; }
  .page-layout { display: block; padding: 24px 0; }
  .profile { position: static; margin-bottom: 24px; }
  .portrait-frame, .profile-links, .profile-note { display: none; }
  .profile-intro { display: block; }
  .profile-affiliation br { display: none; }
  .research-theme, .teaching-note { break-inside: avoid; }
}

/* Sky & water: soft atmospheric color, flowing curves, and small botanical details. */
:root {
  --paper: #f7f7f3;
  --ink: #35404a;
  --muted: #5e6c76;
  --accent: #7b7995;
  --accent-deep: #5c647e;
  --lavender: #b3abc4;
  --wash: #edf0f3;
  --line: #dce2e5;
  --motif-water: #809eae;
  --motif-health: #9988ac;
  --motif-resource: #879f91;
}

body {
  background:
    radial-gradient(ellipse 800px 620px at 92% 8%, #e8edf3 0%, transparent 75%),
    linear-gradient(135deg, #f7f7f3 0%, #f4f6f4 52%, #f7f5f6 100%);
}
::selection { background: #dce4ee; color: var(--ink); }
.site-header { background: #fafaf6; border-bottom-color: #e2e6e7; }
.header-inner { min-height: 104px; }
.brand-name { font-size: 29px; letter-spacing: -.5px; }
.brand-tagline { color: #5e6c76; }
.site-nav a:hover { color: var(--accent-deep); }

.sky-utility { max-width: 1200px; margin: 0 auto; padding: 19px 40px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 18px; color: #5e6c76; font-size: 10px; letter-spacing: .3px; }
.sky-utility > span > span { color: #b3bec4; padding-inline: 7px; }
.sky-utility a { font-size: 10px; text-decoration: none; white-space: nowrap; }
.sky-utility a:hover { text-decoration: underline; }
.sky-utility a span { padding-left: 6px; }

.page-layout { padding-top: 42px; gap: 68px; }
.profile { padding-top: 10px; }
.portrait-frame { margin-bottom: 30px; }
.portrait-frame::before { inset: 8px -8px -8px 8px; border-color: #bccad0; border-radius: 3px; }
.profile-name { color: var(--ink); font-size: 27px; }
.profile-role { color: #566c79; }
.profile-links { border-color: #d8e1e4; }
.profile-links svg, .profile-links .link-arrow { color: #7d939f; }
.profile-note { color: #5e6c76; }

.introduction {
  position: relative;
  padding: 28px 30px 32px;
  border: 1px solid #e1e5e8;
  border-radius: 6px;
  background:
    radial-gradient(ellipse 260px 190px at 100% 0%, #e3eaf175 0%, transparent 90%),
    #fafaf7b3;
}
.eyebrow { color: #566c79; font-size: 9px; letter-spacing: 1.4px; margin-bottom: 22px; }
.eyebrow > span { background: #a4b4bc; }
h1 { font-size: clamp(39px, 4.25vw, 58px); line-height: 1.09; letter-spacing: -1.6px; margin-bottom: 24px; }
h1 em { color: #85829d; }
.title-period { color: #abbac3; }
.intro-lead { font-size: 18px; line-height: 1.8; }
.intro-detail { font-size: 14px; line-height: 1.95; }
.intro-links { margin-top: 24px; gap: 18px 24px; }
.primary-link { color: #536a7a; background: #e9eff2; border-color: #d2dfe5; border-radius: 3px; }
.primary-link:hover { background: #e1eaf0; border-color: #aebfc9; }
.research-motif-defs { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.intro-drawing { position: absolute; right: 19px; bottom: 18px; width: 174px; height: 94px; opacity: .94; pointer-events: none; }
.theme-link { border-bottom-color: #aebdc6; }

.research-overview { border-top-color: #d5e0e4; margin-top: 42px; padding-top: 28px; }
.section-number { color: #5e6c76; }
h2 { font-size: 25px; }
.overview-figure { padding: 12px 16px 16px; border: 1px solid #e0e5e7; border-radius: 4px; background: #fbfbf8; }
.overview-figure img { mix-blend-mode: multiply; }
.overview-figure figcaption { margin-top: 7px; }
.research-themes { border-top: 0; padding-top: 8px; }
.theme-label { color: #566c79; }
.research-theme h3 { font-size: 24px; }
.theme-heading { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 12px; }
.theme-heading h3 { flex: 1; margin: 0; }
.theme-icon { flex: 0 0 28px; width: 28px; height: 28px; margin-top: 1px; }
.about-section { position: relative; border-top-color: #d5e0e4; }
.section-current { position: absolute; top: -22px; right: 4px; width: 112px; height: 26px; opacity: .85; pointer-events: none; }
.teaching-note { border-left-color: #b1bfaf; padding-left: 24px; }
.site-footer { border-top: 0; background: transparent; }
.footer-water { position: relative; height: 108px; pointer-events: none; }
.footer-water__curves { display: block; width: 100%; max-width: none; height: 100%; }
.footer-water__curves path { vector-effect: non-scaling-stroke; }
.footer-water__community, .footer-water__algae { position: absolute; width: 64px; height: 64px; bottom: 11px; opacity: .88; }
.footer-water__community { left: max(6vw, calc((100% - 1120px) / 2)); }
.footer-water__algae { right: max(6vw, calc((100% - 1120px) / 2)); }
.footer-inner { max-width: none; padding: 23px max(40px, calc((100% - 1120px) / 2)); background: #eaf0f2; }

@media (min-width: 1440px) {
  .page-layout { padding-top: 44px; }
}

@media (max-width: 1100px) {
  .intro-drawing { position: static; margin: 14px 0 -8px auto; width: 158px; height: 86px; }
}

@media (max-width: 1000px) {
  .sky-utility { padding-inline: 30px; }
  .page-layout { gap: 42px; padding-top: 34px; }
  .introduction { padding: 24px; }
  h1 { font-size: 46px; }
  .overview-figure { padding: 12px 14px 16px; }
}

@media (max-width: 760px) {
  .header-inner { min-height: 0; }
  .brand-name { font-size: 26px; }
  .sky-utility { padding: 17px 24px 0; font-size: 9px; letter-spacing: 0; }
  .sky-utility a { font-size: 9px; }
  .page-layout { padding-top: 30px; }
  .profile { padding-top: 0; margin-bottom: 32px; }
  .profile-name { font-size: 24px; }
  .portrait-frame::before { inset: 6px -6px -6px 6px; }
  .introduction { padding: 24px 22px; }
  h1 { font-size: clamp(38px, 7vw, 51px); letter-spacing: -1.5px; }
  .eyebrow { font-size: 9px; letter-spacing: .8px; gap: 8px; }
  .intro-lead { font-size: 17px; }
  .intro-detail { font-size: 14px; line-height: 1.9; }
  .intro-drawing { width: 150px; height: 82px; margin-top: 10px; }
  .research-overview { margin-top: 36px; }
  .section-current { width: 92px; height: 23px; top: -20px; }
  .footer-water { height: 68px; }
  .footer-water__community, .footer-water__algae { width: 46px; height: 46px; bottom: 5px; }
  .footer-water__community { left: 25px; }
  .footer-water__algae { right: 25px; }
  .footer-inner { padding: 22px 24px; }
}

@media (max-width: 639px) {
  .overview-figure { padding: 8px 10px 14px; }
  .research-themes { padding-top: 0; }
}

@media (max-width: 380px) {
  .introduction { padding-inline: 17px; }
  h1 { font-size: 35px; letter-spacing: -1.4px; }
  .eyebrow { font-size: 9px; letter-spacing: .5px; }
  .sky-utility { gap: 8px; }
  .sky-utility > span > span { padding-inline: 4px; }
}

@media print {
  .sky-utility, .intro-drawing, .section-current, .footer-water { display: none; }
  .introduction { padding: 0; background: none; border: 0; }
  body { background: white; }
}

/* Bridge the AcademicPages content components into the shared visual system. */
:root {
  --global-bg-color: var(--paper);
  --global-text-color: var(--ink);
  --global-text-color-light: var(--muted);
  --global-link-color: var(--accent-deep);
  --global-link-color-hover: var(--ink);
  --global-border-color: var(--line);
  --global-dark-border-color: var(--line);
  --global-footer-bg-color: #eaf0f2;
}
html { height: auto; min-height: 100%; font-size: 16px; }
body.sky-water { padding: 0; margin: 0; min-height: 100vh; display: flex; flex-direction: column; color: var(--ink); font: 14px/1.85 var(--sans); }
.sky-water .site-header { position: relative; z-index: 2; flex: 0 0 auto; }
.sky-water .page-layout { width: 100%; flex: 1 0 auto; padding-top: 56px; padding-bottom: 72px; }
.sky-water .page-layout--wide { grid-template-columns: minmax(0, 1fr); max-width: 960px; }
.sky-water #main.sky-content { width: auto; min-width: 0; max-width: none; margin: 0; padding: 0; float: none; clear: none; animation: none; }
.sky-water #main.sky-content::before, .sky-water #main.sky-content::after { display: none; }
.sky-water .profile { float: none; width: auto; min-width: 0; margin: 0; opacity: 1; z-index: 1; }
.sky-water .profile a { text-decoration: none; }
.sky-water .profile a:hover { text-decoration: underline; }
.sky-water .portrait { margin: 0; padding: 0; border: 0; max-width: 100%; }
.sky-water .profile-name { font-family: var(--serif); font-weight: 400; }
.sky-water .profile-links li { margin: 0; padding: 0; }
.sky-water .site-nav a { padding-block: 5px; white-space: nowrap; }
.site-nav [aria-current="page"] { color: var(--accent-deep); text-decoration: underline; text-decoration-color: var(--lavender); text-underline-offset: 7px; }
.theme-toggle { width: 30px; height: 30px; padding: 5px; border: 1px solid var(--line); border-radius: 50%; background: transparent; color: var(--muted); line-height: 1; cursor: pointer; flex: 0 0 30px; align-self: center; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--wash); color: var(--ink); }
.theme-toggle:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.theme-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.sky-page-heading { position: relative; padding-bottom: 22px; margin-bottom: 27px; border-bottom: 1px solid var(--line); }
.sky-page-heading > svg { position: absolute; bottom: -13px; right: 0; width: 110px; height: 26px; padding-left: 12px; background: transparent; }
.sky-water h1.page__title { font: 400 clamp(34px, 3.2vw, 44px)/1.16 var(--serif); letter-spacing: -.8px; margin: 0; overflow-wrap: anywhere; }
.sky-detail > .page__inner-wrap > header { padding-bottom: 24px; margin-bottom: 28px; border-bottom: 1px solid var(--line); }
.sky-detail > .page__inner-wrap > header .page__title { margin-bottom: 20px; }
.sky-detail > .page__inner-wrap > header p { font-size: 12px; color: var(--muted); margin-bottom: 0; }
.sky-water .sky-content h2 { color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.35; }
.sky-water .sky-content h3 { color: var(--ink); font-family: var(--serif); font-weight: 400; line-height: 1.35; }
.sky-archive > h2, .sky-content .page__content > h2 { margin-top: 38px; padding-bottom: 12px; font-size: 25px; border-bottom: 1px solid var(--line); }
.sky-archive > h2 + hr { display: none; }
.sky-water .sky-content hr { border-color: var(--line); }
.sky-content p { margin-top: 0; }
.sky-content .page-intro, .sky-archive > .wordwrap, .sky-archive > p { font-size: 14px; line-height: 1.9; color: var(--muted); margin-bottom: 28px; }
.sky-content .list__item { padding: 0; margin: 0; float: none; width: auto; clear: both; }
.sky-content .archive__item { padding: 28px 0; border-bottom: 1px solid var(--line); }
.sky-content .list__item:last-child .archive__item { border-bottom: 0; padding-bottom: 0; }
.sky-content .archive__item h2.archive__item-title { margin: 0 0 15px; padding: 0; border: 0; font-size: 25px; line-height: 1.4; letter-spacing: -.3px; }
.sky-content .archive__item:hover .archive__item-title { text-decoration: none; }
.sky-content .archive__item > p { color: var(--muted); font-size: 12px; line-height: 1.85; }
.sky-content .archive__item-excerpt, .sky-content .archive__item-excerpt p { font-size: 14px; line-height: 1.9; color: var(--muted); }
.sky-content .page__meta, .sky-content .page__date { color: var(--muted); font-family: var(--sans); font-size: 12px; }
.sky-content .page__content { font-size: 14px; line-height: 1.9; }
.sky-content .page__content p, .sky-content .page__content li, .sky-content .page__content dl { font-size: inherit; }
.sky-content .page__content ul, .sky-content .page__content ol { padding-left: 22px; }
.sky-content .page__content li { margin-bottom: 9px; }
.sky-content .page__content h3 { margin-top: 28px; }
.sky-content .page__content a:hover img { box-shadow: none; }
.sky-content .page__meta:empty { display: none; }
.sky-content .research-figure { margin: 24px 0 8px; }
.sky-content .research-figure figcaption { color: var(--muted); opacity: 1; font: 11px/1.8 var(--sans); max-width: 100%; }
.sky-content .research-figure__canvas { border-color: var(--line); }
.sky-content .pagination { margin: 32px 0 0; }
.sky-content .pagination--pager { font-size: 12px; }
.sky-content table { display: block; overflow-x: auto; font-size: 13px; }
.sky-content pre { max-width: 100%; overflow-x: auto; }
.sky-content iframe, .sky-content video { max-width: 100%; }
.sky-content p, .sky-content li, .sky-content a { overflow-wrap: break-word; }
.sky-water .page__related { grid-column: 2; float: none; width: auto; margin: 0; padding-top: 24px; }
.sky-water .site-footer { width: 100%; flex: 0 0 auto; margin: 0; padding: 0; clear: both; }
.sky-water .footer-inner a { color: inherit; text-decoration-color: #abbac3; }
.sky-water .footer-inner a:hover { color: var(--accent-deep); }
.sky-water .intro-drawing { height: 42px; width: 160px; bottom: 22px; }

/* Native diagrams stay on their light paper frame for legibility in both themes. */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #202b33;
  --ink: #e2e8e9;
  --muted: #b4c0c7;
  --accent: #b5aac9;
  --accent-deep: #bac8dd;
  --lavender: #9f95b6;
  --wash: #2c3a45;
  --line: #42515c;
  --motif-water: #a5becb;
  --motif-health: #b7a6ce;
  --motif-resource: #a7bdb0;
  --global-bg-color: var(--paper);
  --global-text-color: var(--ink);
  --global-text-color-light: var(--muted);
  --global-link-color: var(--accent-deep);
  --global-border-color: var(--line);
}
html[data-theme="dark"] body.sky-water { background: radial-gradient(ellipse 800px 620px at 92% 8%, #2b3546 0%, transparent 75%), #202b33; }
html[data-theme="dark"] .site-header { background: #232f38; border-color: var(--line); }
html[data-theme="dark"] .brand-tagline,
html[data-theme="dark"] .profile-role,
html[data-theme="dark"] .profile-note,
html[data-theme="dark"] .eyebrow,
html[data-theme="dark"] .theme-label,
html[data-theme="dark"] .section-number { color: var(--muted); }
html[data-theme="dark"] .profile-links { border-color: var(--line); }
html[data-theme="dark"] .introduction { background: #27343db3; border-color: var(--line); }
html[data-theme="dark"] h1 em { color: #b6abc9; }
html[data-theme="dark"] .primary-link { color: var(--ink); background: #344653; border-color: #536b7b; }
html[data-theme="dark"] .primary-link:hover { background: #3c5061; }
html[data-theme="dark"] .research-overview,
html[data-theme="dark"] .about-section { border-color: var(--line); }
html[data-theme="dark"] .overview-figure { background: #fbfbf8; border-color: #697681; }
html[data-theme="dark"] .overview-figure figcaption { color: #5e6c76; }
html[data-theme="dark"] .footer-water__curves { opacity: .4; }
html[data-theme="dark"] .footer-inner { background: #2b3a44; }
html[data-theme="dark"] ::selection { background: #536579; color: white; }
@media (max-width: 1100px) {
  .sky-water .intro-drawing { margin: 24px 0 0 auto; }
}
@media (max-width: 1000px) {
  .sky-water .page-layout { padding-top: 40px; }
  .sky-water .site-nav { column-gap: 17px; }
}
@media (max-width: 760px) {
  .sky-water .header-inner { gap: 20px; }
  .sky-water .page-layout { padding-top: 32px; padding-bottom: 48px; }
  .sky-water .profile { margin-bottom: 32px; }
  .sky-water .site-nav { gap: 9px 20px; align-items: center; }
  .sky-water .site-nav a { font-size: 12px; }
  .sky-water .theme-toggle { width: 27px; height: 27px; flex-basis: 27px; padding: 4px; }
  .sky-water .intro-drawing { margin-top: 21px; width: 150px; }
  .sky-water .page__related { grid-column: auto; }
  .sky-water h1.page__title { font-size: 35px; }
  .sky-content .archive__item h2.archive__item-title { font-size: 24px; }
  .sky-content .archive__item { padding: 26px 0; }
}
@media (max-width: 380px) {
  .sky-water .site-nav { column-gap: 17px; }
  .sky-water h1.page__title { font-size: 32px; }
  .sky-content .archive__item h2.archive__item-title { font-size: 23px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
@media print {
  body.sky-water { display: block; color: #222; background: white; font-size: 11pt; }
  .site-header, .theme-toggle, .site-footer, .intro-drawing { display: none; }
  .sky-water .page-layout { display: block; padding: 0; }
  .sky-water .profile { display: none; }
  .sky-content .archive__item { break-inside: avoid; }
}
.sky-archive > ul { padding-left: 22px; font-size: 14px; }
.sky-archive > ul > li { margin-bottom: 12px; }
.sky-archive > ul .archive__item { padding-block: 21px; }
.sky-archive > ul .archive__item h3.archive__item-title { margin: 0 0 9px; font: 400 21px/1.4 var(--serif); }
.sky-archive > ul .archive__item p { font-size: 12px; }
.sky-archive > ul.cv-records { padding-left: 0; list-style: none; }
.sky-archive > ul.cv-records > li { margin: 0; }

/* Three clear homepage sections follow the introductory research statement. */
.sky-home-content .home-section { position: relative; margin-top: 42px; padding-top: 28px; border-top: 1px solid var(--line); }
.sky-home-content .home-section > p { color: var(--muted); font-size: 14px; line-height: 1.95; }
.sky-home-content .section-intro { margin-bottom: 22px; }
.sky-home-content .section-links { display: flex; flex-wrap: wrap; gap: 18px 28px; margin-top: 24px; }
@media (max-width: 760px) {
  .sky-home-content .home-section { margin-top: 36px; }
}

/* Approved Sky & water masthead tagline. */
.sky-water .site-brand { flex-direction: column; align-items: flex-start; gap: 7px; }
.sky-water .brand-tagline { display: inline-flex; align-items: center; gap: 8px; max-width: none; font: 500 13px/1.5 var(--sans); letter-spacing: .15px; text-transform: none; color: #536d7d; }
.sky-water .brand-tagline__ripple { display: block; flex: 0 0 32px; width: 32px; height: 13px; color: #8ba6b3; }
html[data-theme="dark"] .sky-water .brand-tagline { color: #b1c9d6; }
html[data-theme="dark"] .sky-water .brand-tagline__ripple { color: #a5becb; }

/* Larger main text within the original heading, detail and spacing hierarchy. */
:root {
  --reading-size: 1rem;
  --reading-leading: 1.8;
}
.sky-water .sky-content { font-size: var(--reading-size); line-height: var(--reading-leading); }
.sky-water .sky-home-content .intro-detail,
.sky-water .sky-home-content .home-section > p,
.sky-water .sky-home-content .research-theme > p:not(.theme-label),
.sky-water .sky-content .page-intro,
.sky-water .sky-archive > .wordwrap,
.sky-water .sky-archive > p,
.sky-water .sky-content .archive__item-excerpt,
.sky-water .sky-content .archive__item-excerpt p,
.sky-water .sky-content .page__content {
  font-size: var(--reading-size);
  line-height: var(--reading-leading);
}
.sky-water .sky-home-content .intro-lead,
.sky-water .sky-home-content .intro-detail { max-width: 100%; }
.sky-water .sky-archive > ul { font-size: var(--reading-size); line-height: var(--reading-leading); }
@media (max-width: 1000px) {
  .sky-water .sky-home-content .research-themes { grid-template-columns: 1fr; gap: 28px; }
  .sky-water .sky-home-content .research-theme + .research-theme { border-left: 0; padding-left: 0; padding-top: 28px; border-top: 1px solid var(--line); }
}
@media print {
  .sky-water .sky-content { --reading-size: 11pt; --reading-leading: 1.5; }
}
