/*
 * Purpose: Style the personal homepage without external assets or dependencies.
 * Expected result: A responsive cream and forest-green research portfolio.
 * Usage: Include this stylesheet from the sibling index.html document.
 */
:root {
  color-scheme: light;
  --paper: #f5f4ed;
  --ink: #263c30;
  --muted: #697169;
  --line: #d8ddd0;
  --forest: #253f32;
  --accent: #cfdaac;
  --font: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: var(--font); -webkit-font-smoothing: antialiased; }
body, button, a { -webkit-tap-highlight-color: transparent; }
::selection { color: var(--paper); background: #4c6c50; }
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #537734; outline-offset: 6px; border-radius: 3px; }
svg { display: block; }
h1, h2, h3, p, figure { margin: 0; }
.section-shell, .site-header { width: min(1240px, calc(100% - 112px)); margin-inline: auto; }
.skip-link { position: absolute; z-index: 10; left: 20px; top: -70px; padding: 14px 20px; background: var(--forest); color: white; border-radius: 6px; }
.skip-link:focus { top: 12px; }

.site-header { height: 110px; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); gap: 24px; }
.wordmark { display: flex; align-items: center; gap: 12px; font-size: 17px; font-weight: 650; letter-spacing: -.5px; }
.brand-symbol { flex: 0 0 auto; }
.wordmark-domain { display: block; margin-top: 4px; font-size: 10px; font-weight: 400; color: var(--muted); letter-spacing: 1.05px; }
.main-nav { display: flex; align-items: center; gap: 34px; font-size: 13px; }
.main-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
.main-nav a:hover { color: #4f683b; }
.main-nav .nav-project { display: flex; gap: 20px; align-items: center; padding: 11px 16px; border: 1px solid #adb8a3; border-radius: 5px; font-size: 12px; }
.nav-project span { font-size: 18px; line-height: 1; }

.hero { display: grid; grid-template-columns: 1.12fr 1fr; align-items: center; gap: 26px; padding-block: 76px 77px; }
.eyebrow { display: flex; align-items: center; gap: 9px; font-size: 10px; line-height: 1.5; font-weight: 550; letter-spacing: 1.65px; }
.small-dot { display: inline-block; flex-shrink: 0; width: 5px; height: 5px; border-radius: 50%; background: currentColor; }
h1 { margin-top: 29px; font-size: clamp(39px, 4.1vw, 58px); font-weight: 600; line-height: 1.37; letter-spacing: -3.1px; word-break: keep-all; }
h1 span { color: #708658; }
.hero-description { margin-top: 25px; color: #677068; font-size: 15px; line-height: 1.9; letter-spacing: -.25px; word-break: keep-all; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 23px; margin-top: 35px; }
.button { display: inline-flex; justify-content: center; align-items: center; gap: 28px; min-height: 47px; padding: 12px 18px; border-radius: 4px; font-size: 12px; font-weight: 550; line-height: 1.5; transition: background-color .2s, transform .2s; }
.button:hover { transform: translateY(-2px); }
.button-dark { background: var(--forest); color: var(--paper); }
.button-dark:hover { background: #3c5743; }
.hero-signature { white-space: nowrap; font-size: 11px; color: var(--muted); }
.hero-signature span { margin-inline: 7px; color: #a3aa9d; }
.hero-figure { align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.cell-illustration { width: 100%; height: auto; }
.hero-figure figcaption { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: -6px; color: #626e60; font-size: 10px; letter-spacing: .3px; }
.figure-line { height: 1px; width: 25px; background: #929f80; }

.section-heading { display: flex; justify-content: space-between; align-items: center; gap: 20px; margin-bottom: 20px; }
.section-heading > span { font-size: 11px; color: #626e60; }
.project-feature { display: grid; grid-template-columns: 1fr 1.13fr; gap: 25px; padding: 49px 48px 44px; color: var(--paper); background: var(--forest); border-radius: 9px; overflow: hidden; }
.project-kicker { display: flex; align-items: center; gap: 12px; font-size: 8px; font-weight: 500; letter-spacing: 1.65px; color: #bac6b5; }
.project-number { display: inline-flex; align-items: center; justify-content: center; width: 25px; height: 25px; border: 1px solid #60715f; border-radius: 50%; font-size: 9px; letter-spacing: 0; }
.project-copy h3 { display: flex; align-items: baseline; margin-top: 24px; font-size: 41px; line-height: 1.15; font-weight: 500; letter-spacing: -1.7px; }
.project-copy h3 > span:first-child { color: var(--accent); }
.project-title-dot { width: 6px; height: 6px; margin-left: 7px; border-radius: 50%; background: var(--accent); }
.project-lead { margin-top: 17px; font-size: 24px; line-height: 1.55; font-weight: 400; letter-spacing: -.85px; word-break: keep-all; }
.project-description { margin-top: 13px; font-size: 14px; line-height: 1.95; color: #bac7b9; word-break: keep-all; }
.project-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 21px; }
.project-tags span { border: 1px solid #59705c; border-radius: 3px; padding: 5px 9px; font-size: 9px; color: #d4dec9; }
.button-light { margin-top: 30px; background: #e2e8c9; color: #2c4231; gap: 35px; }
.button-light:hover { background: #f1f3df; }
.button-light:focus-visible { outline-color: #e7edc9; }
.access-note { display: flex; align-items: center; gap: 6px; margin-top: 13px; font-size: 11px; color: #bac7b9; }
.project-visual { display: flex; flex-direction: column; justify-content: center; align-items: center; min-width: 0; padding-top: 10px; }
.workspace-sheet { width: 100%; background: #f1f2e8; color: #425840; border: 1px solid #e2e6d3; border-radius: 6px; box-shadow: 0 15px 40px #172e242e; transform: rotate(-2deg); }
.workspace-top { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid #d7ddcb; }
.workspace-brand { display: flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; letter-spacing: -.25px; }
.workspace-symbol { width: 10px; height: 10px; background: #698454; border-radius: 4px 7px 4px 7px; box-shadow: inset 0 0 0 2px #a7b894; }
.workspace-menu { display: flex; gap: 3px; }
.workspace-menu i { width: 3px; height: 3px; background: #a4ae94; border-radius: 50%; }
.workspace-heading { padding: 24px 23px 6px; }
.workspace-heading > span { display: block; font-size: 9px; color: #869079; }
.workspace-heading strong { display: block; margin-top: 6px; color: #3e533a; font-family: Georgia, "Times New Roman", serif; font-size: 23px; font-weight: 400; letter-spacing: -.5px; }
.workspace-contents { display: grid; grid-template-columns: .94fr 1.1fr; gap: 8px; align-items: center; padding: 9px 20px 22px 13px; }
.workspace-specimen svg { width: 100%; height: auto; }
.workspace-specimen > span { display: block; font-size: 5px; letter-spacing: .8px; text-align: center; color: #89977b; }
.workspace-records { display: grid; gap: 10px; }
.record-row { display: flex; align-items: center; gap: 9px; min-height: 54px; padding: 10px; border: 1px solid #d8dfcc; border-radius: 4px; background: #e8eddf; }
.record-row > svg { width: 21px; height: 21px; color: #6d8657; flex-shrink: 0; }
.record-row > span { font-size: 9px; font-weight: 550; }
.record-row small { display: block; margin-top: 4px; font-size: 6px; font-weight: 400; color: #849276; white-space: nowrap; }
.record-row > .row-arrow { margin-left: auto; font-size: 13px; font-weight: 400; color: #839872; }
.workspace-bottom { display: flex; align-items: center; gap: 6px; padding: 12px 20px; border-top: 1px solid #d7ddcb; color: #859176; font-size: 7px; }
.workspace-bottom .small-dot { width: 4px; height: 4px; }
.project-visual-caption { margin-top: 27px; font-size: 7px; letter-spacing: 2.1px; color: #9caf96; }

.about-section { display: grid; grid-template-columns: .83fr 1.17fr; gap: 74px; padding-block: 87px 81px; }
.about-intro h2 { margin-top: 23px; font-size: 31px; line-height: 1.55; font-weight: 500; letter-spacing: -1px; word-break: keep-all; }
.about-intro > p:last-child { max-width: 350px; margin-top: 17px; font-size: 14px; line-height: 1.95; color: #626e60; word-break: keep-all; }
.focus-list { padding-top: 3px; }
.focus-item { position: relative; display: flex; gap: 19px; padding-block: 23px 25px; border-top: 1px solid var(--line); }
.focus-item:last-child { border-bottom: 1px solid var(--line); }
.focus-index { padding-top: 3px; font-size: 9px; color: #626e60; }
.focus-item > div { padding-right: 62px; }
.focus-item h3 { font-size: 15px; line-height: 1.6; font-weight: 500; letter-spacing: -.3px; }
.focus-item p { margin-top: 7px; font-size: 13px; line-height: 1.8; color: #626e60; word-break: keep-all; }
.focus-english { position: absolute; right: 0; top: 30px; font-size: 7px; letter-spacing: .9px; color: #626e60; }
.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); min-height: 90px; padding-block: 25px; font-size: 10px; color: #626e60; }
.site-footer > a:first-child { font-size: 12px; color: #43543d; }
.site-footer > a:first-child span { margin-left: 9px; font-size: 10px; color: #626e60; }
.site-footer > span { font-size: 9px; letter-spacing: .5px; }
.back-to-top { min-height: 44px; display: inline-flex; align-items: center; gap: 12px; }

@media (min-width: 1550px) {
  .hero { padding-block: 94px 92px; }
  .hero h1 { font-size: 61px; }
}

@media (max-width: 1080px) {
  .section-shell, .site-header { width: calc(100% - 72px); }
  .hero { gap: 12px; padding-block: 65px; }
  h1 { font-size: 43px; letter-spacing: -2px; }
  .hero-description { font-size: 13px; }
  .hero-actions { gap: 18px; }
  .hero-signature { font-size: 10px; }
  .project-feature { padding: 37px 32px; gap: 27px; }
  .project-copy h3 { font-size: 37px; }
  .project-lead { font-size: 22px; }
  .workspace-heading { padding: 20px 17px 6px; }
  .workspace-heading strong { font-size: 20px; }
  .workspace-contents { gap: 3px; padding: 8px 13px 18px 6px; }
  .record-row { min-height: 50px; gap: 6px; padding: 7px; }
  .record-row > svg { width: 17px; height: 17px; }
  .record-row > span { font-size: 8px; }
  .record-row small { font-size: 5px; }
  .about-section { gap: 45px; }
}

@media (max-width: 800px) {
  .section-shell, .site-header { width: calc(100% - 48px); }
  .site-header { height: 89px; }
  .main-nav { gap: 21px; font-size: 12px; }
  .wordmark { font-size: 15px; }
  .wordmark-domain { font-size: 8px; }
  .hero { grid-template-columns: 1fr 1fr; gap: 0; padding-block: 57px 61px; }
.hero .eyebrow { font-size: 10px; letter-spacing: 1px; }
  h1 { font-size: 35px; letter-spacing: -1.8px; }
  .hero-description { font-size: 12px; }
  .hero-actions { gap: 18px; margin-top: 26px; }
  .hero-figure figcaption { font-size: 8px; gap: 7px; }
  .project-feature { grid-template-columns: .93fr 1fr; gap: 24px; padding: 32px 25px; }
  .project-copy h3 { font-size: 32px; }
  .project-lead { font-size: 20px; }
  .project-description { font-size: 13px; }
  .project-tags { gap: 5px; }
  .project-tags span { font-size: 8px; padding: 4px 6px; }
  .workspace-contents { grid-template-columns: 1fr; padding: 8px 16px 17px; }
  .workspace-specimen { display: none; }
  .workspace-heading strong { font-size: 18px; }
  .workspace-records { margin-top: 10px; gap: 7px; }
  .record-row { padding: 9px 11px; }
  .record-row > span { font-size: 9px; }
  .record-row small { font-size: 6px; }
  .about-section { grid-template-columns: .8fr 1.2fr; gap: 35px; padding-block: 67px; }
  .about-intro h2 { font-size: 26px; }
  .about-intro > p:last-child { font-size: 13px; }
  .focus-item { gap: 12px; }
  .focus-item > div { padding-right: 0; }
  .focus-item h3 { font-size: 14px; }
  .focus-english { display: none; }
}

@media (max-width: 600px) {
  html { scroll-padding-top: 22px; }
  .section-shell, .site-header { width: calc(100% - 40px); }
  .site-header { height: 86px; gap: 10px; }
  .wordmark { gap: 8px; font-size: 13px; }
  .brand-symbol { width: 23px; height: 23px; }
  .wordmark-domain { margin-top: 4px; font-size: 7px; letter-spacing: .45px; }
  .main-nav { gap: 15px; font-size: 12px; }
  .main-nav .nav-project { display: none; }
  .hero { grid-template-columns: 1fr; gap: 18px; padding-top: 55px; padding-bottom: 38px; }
  .hero .eyebrow { font-size: 10px; letter-spacing: 1.1px; }
  h1 { margin-top: 24px; font-size: clamp(35px, 9.65vw, 51px); line-height: 1.4; letter-spacing: -1.9px; }
  .hero-description { margin-top: 20px; font-size: 13px; line-height: 1.9; }
  .hero-actions { margin-top: 27px; gap: 19px; }
  .button { min-height: 47px; padding: 12px 15px; gap: 22px; font-size: 11px; }
  .hero-signature { font-size: 9px; }
  .hero-signature span { margin-inline: 4px; }
  .hero-figure { width: min(100%, 380px); margin-inline: auto; }
  .cell-illustration { max-height: 295px; }
  .hero-figure figcaption { margin-top: -8px; font-size: 8px; }
  .section-heading { align-items: baseline; gap: 10px; margin-bottom: 16px; }
  .section-heading .eyebrow { font-size: 10px; letter-spacing: 1px; }
  .section-heading > span { font-size: 10px; }
  .project-feature { grid-template-columns: 1fr; padding: 29px 25px 28px; gap: 39px; border-radius: 7px; }
  .project-kicker { font-size: 9px; letter-spacing: 1px; }
  .project-copy h3 { font-size: 38px; margin-top: 23px; }
  .project-lead { margin-top: 16px; font-size: 23px; line-height: 1.5; }
  .project-description { margin-top: 15px; font-size: 14px; }
  .project-tags { margin-top: 19px; gap: 7px; }
  .project-tags span { padding: 5px 8px; font-size: 9px; }
  .button-light { margin-top: 25px; gap: 33px; font-size: 12px; }
  .access-note { font-size: 11px; }
  .project-visual { padding: 0 3px; }
  .workspace-heading { padding: 20px 17px 6px; }
  .workspace-heading strong { font-size: 20px; }
  .workspace-contents { grid-template-columns: .9fr 1.2fr; gap: 3px; padding: 10px 11px 18px 5px; }
  .workspace-specimen { display: block; }
  .workspace-records { gap: 7px; margin-top: 0; }
  .record-row { min-height: 43px; padding: 7px; gap: 6px; }
  .record-row > svg { width: 16px; height: 16px; }
  .record-row > span { font-size: 8px; }
  .record-row small { font-size: 5px; }
  .record-row > .row-arrow { font-size: 11px; }
  .workspace-bottom { padding: 11px 15px; font-size: 6px; }
  .project-visual-caption { margin-top: 22px; font-size: 6px; }
  .about-section { grid-template-columns: 1fr; padding-block: 61px 52px; gap: 30px; }
  .about-intro .eyebrow { font-size: 10px; }
  .about-intro h2 { margin-top: 19px; font-size: 30px; line-height: 1.5; }
  .about-intro > p:last-child { max-width: 360px; margin-top: 16px; font-size: 14px; line-height: 1.95; }
  .focus-list { padding-top: 0; }
  .focus-item { gap: 15px; padding-block: 21px 23px; }
  .focus-item > div { padding-right: 24px; }
  .focus-item h3 { font-size: 14px; }
  .focus-item p { max-width: 310px; margin-top: 6px; font-size: 13px; }
  .site-footer { flex-wrap: wrap; align-items: center; gap: 13px; min-height: 99px; padding-block: 24px; }
  .site-footer > a:first-child { font-size: 11px; }
  .site-footer > a:first-child span { margin-left: 6px; font-size: 9px; }
  .site-footer > span { font-size: 8px; margin-left: auto; }
  .back-to-top { width: 100%; justify-content: flex-end; font-size: 9px; gap: 8px; }
}

@media (max-width: 359px) {
  .section-shell, .site-header { width: calc(100% - 32px); }
  .hero-actions { gap: 14px; }
  .hero-signature { font-size: 8px; }
  .project-feature { padding-inline: 20px; }
  .workspace-contents { grid-template-columns: 1fr; padding: 10px 15px 18px; }
  .workspace-specimen { display: none; }
  .record-row { padding: 9px; }
  .record-row > span { font-size: 9px; }
  .record-row small { font-size: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .button { transition: none; }
  .button:hover { transform: none; }
}
