/* GIORGIA — a botanical academic / personal website.
   No framework, external font service, or build step.
   COLOURS: change the variables below to restyle the whole site. */
:root {
  --paper: #f4f5d9;
  --paper-light: #fbfbeb;
  --ink: #18281f;
  --ink-soft: #36483b;
  --muted: #5b6653;
  --line: #c7ccb0;
  --sage: #dfe5c4;
  --peach: #ecc9b5;
  --dark-text: #dfe5c8;
  --dark-line: #4a5849;
  --serif: Georgia, 'Times New Roman', serif;
  --sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
  --page: 1232px;
  --gutter: clamp(22px, 4vw, 64px);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 98px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
::selection { background: var(--peach); color: var(--ink); }
[hidden] { display: none !important; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: 5px; }
button { font: inherit; color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 3px solid #bb653f; outline-offset: 5px; }
img { display: block; width: 100%; max-width: 100%; }
figure, p, h1, h2, h3 { margin: 0; }
p + p { margin-top: 1rem; }
h1, h2, h3 { font-family: var(--serif); font-weight: 400; }
h2 { font-size: clamp(38px, 4.1vw, 60px); line-height: 1.08; letter-spacing: -2px; }
h2 em { font-weight: 400; }
h3 { font-size: 27px; line-height: 1.22; letter-spacing: -.5px; }
.page-width { max-width: var(--page); width: calc(100% - var(--gutter) * 2); margin-inline: auto; }
.section { padding-block: 88px; }
.eyebrow { font-size: 11px; font-weight: 600; line-height: 1.55; letter-spacing: 1.45px; text-transform: uppercase; }
.light-eyebrow { color: var(--dark-text); }
.section-number { display: inline-block; margin-right: 16px; color: var(--muted); font-weight: 400; }
.light-eyebrow .section-number { color: #bdc7a4; }
.section-heading .eyebrow, .section-title-row .eyebrow, .cv-section .eyebrow, .contact-grid .eyebrow { margin-bottom: 26px; }
.muted { color: var(--muted); }
.small-text { font-size: 12px; }
.text-link { display: inline-flex; align-items: center; gap: 15px; min-height: 44px; font-size: 13px; text-decoration: none; border-bottom: 1px solid currentColor; width: fit-content; }
.text-link span { transition: transform .18s ease; }
.text-link:hover span { transform: translate(2px, -2px); }
.light-link { color: var(--paper); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 48px; padding: 12px 24px; border: 1px solid transparent; border-radius: 99px; text-decoration: none; font-size: 13px; line-height: 1.4; font-weight: 550; transition: background .18s ease, transform .18s ease; }
.button:hover { transform: translateY(-2px); }
.button-light { color: var(--ink); background: var(--paper); }
.button-light:hover { background: var(--peach); }
.button-dark { color: var(--paper); background: var(--ink); }
.button-dark:hover { background: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; top: -90px; left: 20px; z-index: 100; padding: 10px 20px; background: var(--ink); color: var(--paper); }
.skip-link:focus { top: 14px; }
.mobile-only { display: none; }

/* HEADER */
.site-header { background: var(--paper); position: sticky; top: 0; z-index: 20; border-bottom: 1px solid transparent; }
.site-header.scrolled { border-color: var(--line); }
.header-inner { max-width: var(--page); width: calc(100% - var(--gutter) * 2); min-height: 91px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { font-family: var(--serif); font-size: 28px; line-height: 1; letter-spacing: -1.2px; white-space: nowrap; text-decoration: none; }
.wordmark-dot { color: #806a37; }
.navigation { display: flex; gap: 26px; align-items: center; }
.navigation a { display: inline-flex; min-height: 44px; align-items: center; font-size: 12px; text-decoration: none; }
.navigation a:not(.nav-contact):hover { text-decoration: underline; }
.navigation .nav-contact { border: 1px solid var(--ink); border-radius: 99px; padding: 8px 17px; gap: 18px; }
.navigation .nav-contact:hover { background: var(--ink); color: var(--paper); }
.menu-toggle { display: none; }

/* OPENING SPREAD */
.hero { display: grid; grid-template-columns: 1.08fr 1fr; min-height: 618px; }
.hero-intro { display: flex; flex-direction: column; align-items: flex-start; padding: 44px 46px 28px; background: var(--ink); color: var(--paper); }
.hero-intro .eyebrow { font-size: 10px; letter-spacing: 1.2px; }
h1 { font-size: clamp(76px, 7.4vw, 108px); line-height: .96; letter-spacing: -4px; margin-top: 38px; }
h1 em { color: var(--peach); }
.hero-description { font-size: 16px; line-height: 1.65; color: var(--dark-text); max-width: 375px; margin-top: 31px; }
.hero-personal { font-family: var(--serif); font-style: italic; font-size: 17px; color: #c3cfb3; max-width: 390px; margin-top: 13px; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 13px 23px; margin-top: 28px; }
.hero-actions .text-link { font-size: 12px; }
.hero-footnote { display: flex; align-items: center; gap: 10px; width: 100%; font-size: 10px; letter-spacing: .4px; color: #c3cfb3; margin-top: auto; padding-top: 26px; }
.small-flower { color: var(--peach); font-size: 25px; line-height: 1; }
.hero-portrait { position: relative; min-width: 0; overflow: hidden; background: #24392d; }
.hero-portrait > img { height: 100%; object-fit: cover; object-position: 50% 50%; position: absolute; inset: 0; }
.hero-portrait::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, rgba(0,20,15,.25) 0%, transparent 28%, transparent 70%, rgba(0,20,15,.25) 100%); }
.portrait-topline { position: absolute; z-index: 1; left: 25px; right: 25px; top: 22px; color: #fffef2; display: flex; justify-content: space-between; font-size: 10px; text-transform: uppercase; letter-spacing: 1.5px; text-shadow: 0 1px 6px #17241c; }
.portrait-note { position: absolute; z-index: 4; bottom: 26px; left: 26px; right: 26px; width: fit-content; background: var(--paper); color: var(--ink); border-radius: 2px; padding: 12px 17px 11px; font-size: 12px; line-height: 1.4; box-shadow: 0 4px 20px #10201b26; }
.portrait-note-dot { display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: #916337; margin: 0 6px 1px 0; }
.portrait-note-small { display: block; margin-top: 4px; font-size: 10px; color: var(--muted); padding-left: 15px; }
.intro-ribbon { min-height: 68px; display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase; }
.ribbon-star { font-size: 21px; color: #647346; }

/* ABOUT */
.about-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.section-heading > .text-link { margin-top: 31px; }
.about-copy { padding-top: 3px; }
.about-copy .lead { font-family: var(--serif); font-size: 27px; letter-spacing: -.35px; line-height: 1.4; }
.about-copy > p:not(.lead) { font-size: 14px; line-height: 1.8; color: var(--ink-soft); margin-top: 20px; }
.about-details { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; padding-block: 25px; margin-top: 24px; border-top: 1px solid var(--line); }
.about-details p { font-size: 12px; line-height: 1.75; }
.about-details .detail-label { font-size: 9px; margin-bottom: 8px; }
.about-details p + p { margin-top: 0; }

/* RESEARCH */
.research-section { background: var(--ink); color: var(--paper); }
.research-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.research-heading h2 em { color: var(--peach); }
.research-intro { color: #c5d0b6; font-size: 13px; max-width: 210px; margin-top: 24px; }
.research-flower { display: block; width: fit-content; font-size: 88px; color: var(--sage); margin-top: 17px; line-height: 1; }
.research-topics { padding-top: 2px; }
.research-topic { display: grid; grid-template-columns: 35px 1fr; gap: 15px; padding-block: 27px; border-top: 1px solid var(--dark-line); }
.topic-index { font-family: var(--serif); font-style: italic; color: var(--peach); font-size: 18px; padding-top: 3px; }
.research-topic h3 { font-size: 27px; }
.research-topic p { font-size: 13px; color: var(--dark-text); line-height: 1.85; margin-top: 12px; max-width: 465px; }
.research-topics > .text-link { margin-top: 6px; margin-left: 50px; }

/* PUBLICATIONS */
.section-title-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 35px; margin-bottom: 32px; }
.section-aside { font-family: var(--serif); font-style: italic; font-size: 16px; line-height: 1.45; padding-bottom: 4px; color: var(--muted); }
.editor-note { color: var(--muted); font-size: 12px; margin-bottom: 24px; }
.publication-filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.publication-filters button { border: 1px solid var(--line); border-radius: 99px; background: transparent; padding: 9px 18px; min-height: 44px; font-size: 12px; cursor: pointer; }
.publication-filters button:hover { background: var(--sage); }
.publication-filters button[aria-pressed="true"] { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.publication { display: grid; grid-template-columns: 95px 1fr; gap: 28px; padding-block: 30px; border-top: 1px solid var(--line); }
.publication:last-child { border-bottom: 1px solid var(--line); }
.publication-year { color: var(--muted); font-family: var(--serif); font-size: 18px; padding-top: 4px; }
.publication-kind { font-size: 10px; line-height: 1.6; text-transform: uppercase; letter-spacing: 1.1px; margin-bottom: 13px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.sample-tag { display: inline-flex; align-items: center; line-height: 1.4; padding: 4px 7px; border: 1px solid #bec6a7; font-family: var(--sans); font-size: 9px; font-weight: 400; letter-spacing: .4px; color: var(--muted); text-transform: none; }
.publication h3 { font-size: 25px; }
.publication-authors { font-size: 13px; margin-top: 12px; }
.publication-venue { font-size: 12px; font-style: italic; color: var(--muted); margin-top: 4px; }
.publication details { margin-top: 10px; }
.publication summary { display: flex; width: fit-content; min-height: 44px; align-items: center; gap: 23px; cursor: pointer; list-style: none; font-size: 12px; }
.publication summary::-webkit-details-marker { display: none; }
.publication summary:hover { text-decoration: underline; text-underline-offset: 4px; }
.publication summary span { font-size: 19px; font-weight: 300; transition: transform .18s ease; }
.publication details[open] summary span { transform: rotate(45deg); }
.publication details > p { font-size: 13px; max-width: 760px; margin-top: 4px; color: var(--ink-soft); }
.no-results { padding: 28px 0; color: var(--muted); }

/* PROJECTS */
.projects-section { background: var(--sage); }
.project-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.project-card { min-width: 0; padding: 32px; display: flex; flex-direction: column; align-items: flex-start; }
.project-card-light { background: var(--paper-light); }
.project-card-dark { background: var(--ink); color: var(--paper); }
.project-card-top { width: 100%; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 12px; }
.project-card-top .eyebrow { font-size: 10px; }
.sample-tag-dark { border-color: #6d7e61; color: #ced8bd; }
.project-numeral { font-family: var(--serif); font-style: italic; font-size: 48px; color: #768363; line-height: 1; margin-top: 35px; margin-bottom: 30px; }
.project-card-dark .project-numeral { color: var(--peach); }
.project-card h3 { font-size: 30px; }
.project-card > p:not(.project-meta):not(.small-text) { font-size: 14px; line-height: 1.8; margin-top: 20px; }
.project-card .project-meta { font-size: 11px; border-top: 1px solid var(--line); padding-top: 20px; width: 100%; margin-top: 28px; }
.project-card-dark .project-meta { border-color: var(--dark-line); }
.project-card-dark > p { color: var(--dark-text); }
.project-card .small-text { margin-top: 16px; }

/* TEACHING & PERSONAL */
.teaching-section { display: grid; grid-template-columns: .82fr 1.18fr; gap: 70px; }
.teaching-intro { font-size: 13px; color: var(--muted); margin-top: 24px; }
.teaching-item { border-top: 1px solid var(--line); padding-block: 25px; }
.teaching-item .eyebrow { font-size: 10px; color: var(--muted); margin-bottom: 13px; }
.teaching-item h3 { font-size: 25px; }
.teaching-item > p:not(.eyebrow) { font-size: 13px; color: var(--ink-soft); margin-top: 14px; }
.personal-section { display: grid; grid-template-columns: .9fr 1.1fr; }
.personal-image { overflow: hidden; position: relative; background: var(--ink); min-height: 460px; }
.personal-image img { height: 100%; position: absolute; object-fit: cover; object-position: 41% 50%; }
.personal-copy { background: var(--peach); padding: 46px 48px; }
.personal-copy .eyebrow { margin-bottom: 27px; }
.personal-copy h2 { font-size: clamp(40px, 4vw, 56px); }
.personal-prompt { font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.4; margin-top: 26px; }
.personal-copy .placeholder-copy { font-size: 13px; line-height: 1.8; color: #344335; margin-top: 18px; }

/* CV & CONTACT */
.cv-section { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.cv-section h2 { font-size: clamp(38px, 3.7vw, 52px); }
.cv-action p { font-size: 13px; max-width: 340px; color: var(--ink-soft); }
.cv-action .button { margin-top: 20px; }
.contact-section { background: var(--ink); color: var(--paper); }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: start; padding-bottom: 65px; }
.contact-grid h2 { font-size: clamp(43px, 5vw, 70px); }
.contact-grid h2 em { color: var(--peach); }
.contact-intro { font-size: 13px; color: var(--dark-text); line-height: 1.8; margin-top: 27px; }
.contact-flower { display: block; width: fit-content; font-size: 57px; color: var(--peach); line-height: 1; margin-bottom: 38px; }
.email-link { display: flex; align-items: center; justify-content: space-between; gap: 22px; width: fit-content; max-width: 100%; font-family: var(--serif); font-size: clamp(24px, 2.5vw, 34px); letter-spacing: -.8px; line-height: 1.4; padding-block: 8px; text-decoration: none; border-bottom: 1px solid var(--dark-text); overflow-wrap: anywhere; }
.email-link:hover { color: var(--peach); }
.contact-details > p { font-size: 13px; color: var(--dark-text); margin-top: 25px; }
.social-links { display: flex; flex-wrap: wrap; gap: 25px; margin-top: 15px; }
.social-links a { font-size: 12px; display: inline-flex; align-items: center; min-height: 44px; gap: 10px; text-decoration: none; }
.social-links a:hover { text-decoration: underline; }
.site-footer { border-top: 1px solid var(--dark-line); min-height: 90px; padding-block: 24px; display: flex; justify-content: space-between; align-items: center; gap: 25px; }
.footer-wordmark { font-size: 25px; }
.footer-wordmark .wordmark-dot { color: var(--peach); }
.footer-links { display: flex; flex-wrap: wrap; gap: 25px; align-items: center; font-size: 10px; color: #cbd3bd; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }

/* SUPPORT PAGES: guide, credits, 404. */
.document { max-width: 880px; padding-block: 60px 90px; }
.document h1 { font-size: 64px; line-height: 1.1; margin-top: 28px; margin-bottom: 30px; }
.document h2 { font-size: 32px; letter-spacing: -.75px; margin-top: 42px; margin-bottom: 20px; }
.document h3 { font-size: 24px; margin-top: 26px; margin-bottom: 14px; }
.document p, .document li { font-size: 15px; }
.document ul, .document ol { padding-left: 22px; }
.document li { margin-bottom: 10px; }
.document a:not(.button) { overflow-wrap: anywhere; }
.document pre { padding: 22px; background: var(--ink); color: var(--paper); overflow: auto; border-radius: 3px; font-size: 13px; }
.document code { font-family: 'SFMono-Regular', Consolas, 'Liberation Mono', monospace; font-size: .92em; }
.document table { width: 100%; border-collapse: collapse; margin-top: 24px; font-size: 14px; }
.document th, .document td { padding: 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.document .callout { background: var(--sage); border-left: 3px solid #6e804e; padding: 22px; margin-block: 28px; }

/* TABLET */
@media (max-width: 1080px) {
  .navigation { gap: 17px; }
  .navigation a { font-size: 11px; }
  .header-inner { gap: 18px; }
  .wordmark { font-size: 25px; }
  .hero-intro { padding: 35px 34px 25px; }
  h1 { font-size: 86px; }
  .hero { min-height: 618px; }
  .hero-intro .eyebrow { max-width: 300px; font-size: 9px; }
  .hero-actions { gap: 10px 20px; }
  .hero-description { font-size: 15px; }
  .about-section, .research-grid, .teaching-section { gap: 45px; grid-template-columns: .8fr 1.2fr; }
  .research-topic h3 { font-size: 25px; }
  .personal-copy { padding: 36px; }
  .section { padding-block: 72px; }
}
@media (max-width: 850px) {
  html { scroll-padding-top: 88px; }
  .header-inner { min-height: 78px; flex-wrap: wrap; gap: 0; padding-block: 14px; }
  .menu-toggle:not([hidden]) { display: inline-flex; align-items: center; gap: 13px; background: none; border: 1px solid var(--ink); border-radius: 99px; min-height: 44px; padding: 8px 15px; font-size: 12px; cursor: pointer; }
  .menu-lines { position: relative; width: 14px; height: 10px; border-block: 1px solid var(--ink); }
  .menu-toggle[aria-expanded="true"] .menu-lines { border: none; }
  .menu-toggle[aria-expanded="true"] .menu-lines::before, .menu-toggle[aria-expanded="true"] .menu-lines::after { content: ''; position: absolute; width: 14px; height: 1px; background: var(--ink); top: 5px; transform: rotate(45deg); }
  .menu-toggle[aria-expanded="true"] .menu-lines::after { transform: rotate(-45deg); }
  .navigation { width: 100%; padding-top: 14px; margin-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 21px; }
  .navigation a { font-size: 13px; }
  .js-ready .navigation:not(.is-open) { display: none; }
  .hero { grid-template-columns: 1fr 1fr; min-height: 605px; }
  h1 { font-size: 78px; }
  .hero-intro { padding: 30px 27px 23px; }
  .hero-description { font-size: 14px; }
  .hero-personal { font-size: 16px; }
  .hero-intro .eyebrow { max-width: 220px; }
  .hero-actions .button { padding-inline: 20px; font-size: 12px; gap: 14px; }
  .intro-ribbon { font-size: 8px; letter-spacing: .9px; }
  .about-section, .research-grid, .teaching-section { grid-template-columns: .7fr 1.3fr; gap: 34px; }
  h2 { font-size: 39px; letter-spacing: -1.4px; }
  .about-copy .lead { font-size: 24px; }
  .about-details { grid-template-columns: 1fr; gap: 17px; }
  .section-aside { display: none; }
  .project-card { padding: 26px; }
  .project-card h3 { font-size: 27px; }
  .project-card .project-numeral { margin-top: 26px; }
  .personal-copy { padding: 30px; }
  .personal-copy h2 { font-size: 42px; }
  .cv-section, .contact-grid { gap: 35px; }
  .cv-section h2 { font-size: 38px; }
  .email-link { font-size: 25px; }
  .footer-links { gap: 18px; }
}

/* MOBILE */
@media (max-width: 620px) {
  :root { --gutter: 22px; }
  .section { padding-block: 56px; }
  .header-inner { min-height: 76px; }
  .wordmark { font-size: 26px; }
  .navigation { gap: 4px 0; }
  .navigation a { width: 50%; min-height: 44px; }
  .navigation .nav-contact { width: fit-content; margin-top: 7px; }
  .hero { grid-template-columns: 1fr; min-height: 0; }
  .hero-intro { padding: 33px 28px 25px; min-height: 555px; }
  .hero-intro .eyebrow { max-width: none; font-size: 9px; letter-spacing: 1px; }
  h1 { margin-top: 34px; font-size: clamp(75px, 21vw, 96px); letter-spacing: -3.5px; }
  .hero-description { font-size: 15px; margin-top: 27px; max-width: 360px; }
  .hero-personal { font-size: 17px; max-width: 340px; }
  .hero-actions { margin-top: 25px; gap: 11px 18px; }
  .hero-actions .button { font-size: 12px; padding-inline: 20px; }
  .hero-actions .text-link { font-size: 12px; }
  .hero-footnote { font-size: 9px; margin-top: 17px; padding-top: 10px; }
  .hero-portrait { min-height: 390px; }
  .hero-portrait > img { object-position: 50% 46%; }
  .portrait-topline { left: 20px; right: 20px; top: 19px; font-size: 9px; }
  .portrait-note { bottom: 20px; left: 20px; padding: 11px 14px; }
  .intro-ribbon { min-height: 83px; padding-block: 17px; justify-content: center; gap: 9px 13px; font-size: 8px; }
  .intro-ribbon .ribbon-star { font-size: 15px; }
  .intro-ribbon > span:last-child { display: none; }
  .intro-ribbon > .ribbon-star:nth-of-type(4) { display: none; }
  .about-section, .research-grid, .teaching-section, .cv-section, .contact-grid { grid-template-columns: 1fr; gap: 34px; }
  h2 { font-size: 43px; line-height: 1.07; letter-spacing: -1.6px; }
  .eyebrow { font-size: 10px; }
  .section-number { margin-right: 12px; }
  .section-heading .eyebrow, .section-title-row .eyebrow, .cv-section .eyebrow, .contact-grid .eyebrow { margin-bottom: 21px; }
  .section-heading > .text-link { margin-top: 20px; }
  .about-copy .lead { font-size: 25px; }
  .about-copy > p:not(.lead) { font-size: 14px; }
  .about-details { grid-template-columns: 1fr 1fr; gap: 20px; }
  .about-details p { font-size: 11px; }
  .research-heading { position: relative; padding-right: 0; }
  .research-heading h2 { max-width: 280px; }
  .research-flower { position: absolute; top: 41px; right: 0; font-size: 60px; opacity: .8; }
  .research-intro { max-width: 280px; margin-top: 23px; }
  .research-topic { padding-block: 24px; gap: 10px; grid-template-columns: 27px 1fr; }
  .research-topic h3 { font-size: 25px; }
  .research-topic p { font-size: 13px; }
  .research-topics > .text-link { margin-left: 37px; }
  .section-title-row { display: block; margin-bottom: 26px; }
  .section-title-row > .text-link { margin-top: 21px; }
  .mobile-only { display: inline; }
  .editor-note { font-size: 11px; line-height: 1.75; }
  .publication { grid-template-columns: 1fr; gap: 9px; padding-block: 25px; }
  .publication-year { font-size: 16px; }
  .publication-kind { gap: 8px; font-size: 9px; margin-bottom: 13px; }
  .publication h3 { font-size: 25px; }
  .publication-authors { font-size: 12px; }
  .publication-venue { font-size: 11px; }
  .publication-filters { gap: 6px; }
  .publication-filters button { padding: 9px 14px; font-size: 11px; }
  .project-grid { grid-template-columns: 1fr; gap: 18px; }
  .project-card { padding: 27px; }
  .project-card h3 { font-size: 29px; }
  .project-numeral { margin-top: 30px; margin-bottom: 25px; }
  .teaching-section { gap: 27px; }
  .teaching-item h3 { font-size: 25px; }
  .personal-section { grid-template-columns: 1fr; }
  .personal-image { min-height: 290px; }
  .personal-image img { object-position: 50% 46%; }
  .personal-copy { padding: 34px 28px; }
  .personal-copy h2 { font-size: 44px; }
  .personal-prompt { font-size: 20px; }
  .cv-section { gap: 22px; }
  .cv-section h2 { font-size: 43px; }
  .contact-grid { gap: 36px; padding-bottom: 34px; }
  .contact-grid h2 { font-size: 45px; }
  .contact-flower { margin-bottom: 20px; font-size: 45px; }
  .email-link { font-size: 29px; gap: 14px; }
  .site-footer { flex-direction: column; align-items: flex-start; padding-block: 24px; gap: 14px; }
  .footer-links { justify-content: flex-start; gap: 10px 19px; font-size: 9px; }
  .footer-links a { min-height: 35px; }
  .document { padding-top: 36px; }
  .document h1 { font-size: 47px; letter-spacing: -2px; }
  .document h2 { font-size: 29px; }
  .document table { font-size: 12px; }
  .document th, .document td { padding: 10px 6px; overflow-wrap: anywhere; }
}
@media (max-width: 359px) {
  :root { --gutter: 16px; }
  .hero-intro { padding-inline: 23px; }
  h1 { font-size: 73px; }
  .hero-actions { gap: 9px; }
  .hero-personal { font-size: 16px; }
  .research-flower { font-size: 44px; top: 34px; }
  .about-details { grid-template-columns: 1fr; }
  .email-link { font-size: 25px; }
  .contact-grid h2 { font-size: 40px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
@media print {
  .site-header, .skip-link, .hero-portrait, .intro-ribbon, .hero-actions,
  .personal-image, .research-flower, .contact-flower, .publication-filters,
  .footer-links, .text-link, .button, .portrait-note { display: none !important; }
  body, .hero-intro, .research-section, .projects-section, .project-card,
  .personal-copy, .contact-section { background: white !important; color: black !important; }
  .page-width { width: 100%; max-width: none; }
  .section { padding-block: 25px; }
  .hero { min-height: 0; display: block; }
  .hero-intro { min-height: 0; padding: 0 0 25px; }
  h1 { font-size: 48px; margin-top: 15px; }
  h1 em, h2 em, p, .eyebrow, .topic-index { color: black !important; }
  .hero-description { margin-top: 18px; }
  .hero-footnote { margin-top: 0; }
  .hero-personal { margin-top: 6px; }
  h2 { font-size: 32px; }
  .publication { break-inside: avoid; }
  details:not([open]) > p { display: block; }
  .research-grid, .about-section, .teaching-section, .cv-section, .contact-grid { gap: 25px; }
  .personal-section { display: block; }
  .personal-copy { padding: 20px 0; }
  .site-footer { border-color: #888; }
}

/* More compact opening section on laptops and desktops */
@media screen and (min-width: 851px) {

  /* Shorter navigation/header area */
  .header-inner {
    min-height: 76px;
  }

  /* Reduce the opening section's minimum height */
  .hero {
    min-height: clamp(480px, 70vh, 560px);
  }

  /* Less space around the introductory text */
  .hero-intro {
    padding: 32px 36px 26px;
  }

  /* Smaller "Hi, I'm Giorgia" heading */
  .hero h1 {
    font-size: clamp(64px, 6vw, 84px);
    line-height: 1;
    letter-spacing: -3px;
    margin-top: 24px;
  }

  /* Tighten the spaces between the remaining elements */
  .hero-description {
    margin-top: 22px;
  }

  .hero-actions {
    margin-top: 22px;
  }

  .hero-footnote {
    padding-top: 18px;
  }
}