:root {
  color-scheme: dark;
  --bg: #0b1117; --surface: #101922; --ink: #f2f3ed; --muted: #a9b6bd;
  --quiet: #91a3ad; --line: #293741; --lime: #d9f878; --teal: #79d8c4;
  --heading: "Bahnschrift", "Aptos Display", "Segoe UI", system-ui, sans-serif;
  --body: "Aptos", "Segoe UI", system-ui, sans-serif;
  --mono: "Cascadia Mono", Consolas, monospace;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font: 1rem/1.65 var(--body);
  background-image: radial-gradient(ellipse at 76% 2%, #15302e54, transparent 590px);
}
a { color: inherit; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--lime); outline-offset: 5px; }
::selection { color: #111900; background: var(--lime); }
.shell { width: min(1180px, calc(100% - 96px)); margin-inline: auto; }
.skip { position: fixed; top: 12px; left: 12px; z-index: 3; padding: .65rem 1rem; background: var(--lime); color: #101600; transform: translateY(-160%); }
.skip:focus { transform: translateY(0); }
.masthead { display: flex; justify-content: space-between; align-items: center; min-height: 80px; border-bottom: 1px solid var(--line); gap: 16px; }
.wordmark { display: inline-flex; align-items: center; text-decoration: none; font: 700 1.14rem/1 var(--heading); letter-spacing: -.035em; white-space: nowrap; }
.brand-accent { color: var(--lime); }
.mark { display: inline-block; width: 31px; height: 26px; margin-right: .65rem; background: var(--lime); clip-path: polygon(0 85%, 36% 16%, 54% 51%, 74% 15%, 100% 15%, 54% 100%, 36% 63%, 24% 85%); }
.masthead nav { display: flex; align-items: center; gap: clamp(15px, 3.6vw, 42px); }
.masthead nav a, .footer a { font-size: .93rem; color: var(--muted); text-decoration: none; padding-block: .65rem; }
.masthead nav a:hover, .footer a:hover, .text-link:hover, .writing a:hover { color: var(--lime); }
.hero { display: grid; grid-template-columns: 1.04fr 1fr; align-items: center; gap: clamp(24px, 4vw, 52px); padding-block: 54px 64px; }
.eyebrow { margin: 0 0 15px; font: 600 .84rem/1.3 var(--mono); letter-spacing: .085em; text-transform: uppercase; color: var(--teal); }
.hero .eyebrow { display: flex; align-items: center; gap: 9px; color: var(--lime); }
.tick { display: inline-block; width: 9px; height: 9px; transform: rotate(45deg); border: 1px solid currentColor; flex: none; }
h1, h2, h3 { margin: 0; font-family: var(--heading); line-height: 1.04; letter-spacing: -.046em; }
h1 { font-size: clamp(3.1rem, 6.85vw, 6.25rem); font-weight: 680; }
h1 span { color: var(--lime); }
.hero-intro { color: var(--muted); font-size: clamp(1.05rem, 1.45vw, 1.24rem); max-width: 43ch; margin: 23px 0 28px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: 9px 19px; border: 1px solid transparent; border-radius: 4px; font-weight: 700; text-decoration: none; transition: background-color .2s, color .2s, border-color .2s; }
.primary { color: #121903; background: var(--lime); }
.primary:hover { background: #efffc4; }
.secondary { border-color: #537571; color: var(--ink); }
.secondary:hover { border-color: var(--lime); color: var(--lime); background: #d9f8780a; }
.globe-panel { margin: 0; min-width: 0; border: 1px solid #36504f; border-radius: 9px; background: #101c22; overflow: hidden; }
.panel-top, .globe-controls { padding: 12px 17px; }
.panel-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; border-bottom: 1px solid var(--line); color: #c2d5d5; font: .82rem/1.4 var(--mono); }
.reticle { width: 13px; height: 13px; border: 1px solid #638e88; border-radius: 50%; background: radial-gradient(circle, #a1c6ba 1px, transparent 2px); }
.globe-window, .feature-art {
  position: relative; isolation: isolate;
  background-color: #0c191e;
  background-image: linear-gradient(#73b7b412 1px, transparent 1px), linear-gradient(90deg,#73b7b412 1px,transparent 1px), radial-gradient(ellipse at 52% 53%, #1c4243 0, #0c191e 70%);
  background-size: 30px 30px, 30px 30px, 100% 100%;
}
.globe-window { height: clamp(255px, 27vw, 369px); }
canvas { position: absolute; display: block; width: 100%; height: 100%; inset: 0; }
.cross, .coordinate { position: absolute; font: .8rem/1 var(--mono); color: #a2bdbb; pointer-events: none; }
.cross-one { top: 13px; left: 14px; }.cross-two { bottom: 12px; right: 14px; }
.coordinate { bottom: 14px; left: 14px; }
.globe-controls { border-top: 1px solid var(--line); }
.place-buttons { display: flex; flex-wrap: wrap; gap: 7px; }
.place-buttons button { cursor: pointer; min-height: 39px; padding: 5px 10px; border: 1px solid #3b5359; border-radius: 3px; color: #c2d5d5; background: transparent; font-size: .86rem; white-space: nowrap; }
.place-buttons button:hover { border-color: var(--teal); }
.place-buttons button[aria-pressed="true"] { color: var(--lime); background: #d9f87812; border-color: #d9f87880; }
.place-buttons button:focus-visible { outline-offset: 2px; }
.globe-controls p { margin: 8px 0 0; color: var(--quiet); font-size: .84rem; }
.section { border-top: 1px solid var(--line); padding-block: 43px 54px; scroll-margin-top: 1rem; }
.section h2 { font-size: clamp(2.25rem, 4.35vw, 4rem); }
.section > h2 { margin-bottom: 26px; }
.feature { display: grid; grid-template-columns: .9fr 1.1fr; min-height: 324px; overflow: hidden; border: 1px solid #35534f; border-radius: 8px; background: #112023; }
.feature-copy { padding: clamp(24px, 4vw, 45px); position: relative; z-index: 1; }
.feature h3 { font-size: clamp(2.1rem, 4.2vw, 3.8rem); }
.feature-copy > p:not(.eyebrow) { color: var(--muted); margin: 15px 0 22px; max-width: 43ch; }
.feature-art { min-height: 240px; border-left: 1px solid #334c4c; background-color: #10272a; }
.feature-art::after { content: ""; position: absolute; inset: 0; pointer-events: none; box-shadow: inset 0 0 70px #0b191d8c; }
.feature-label, .feature-grid-label { position: absolute; bottom: 18px; padding: 5px 7px; font: .78rem/1.5 var(--mono); color: #a6cbc4; background: #0d1c20e8; z-index: 1; }
.feature-label { left: 16px; display: flex; align-items: center; gap: 8px; }
.feature-grid-label { right: 16px; text-align: right; }
.project-row { display: grid; grid-template-columns: auto minmax(160px, .68fr) 1fr; gap: 19px; align-items: center; padding: 23px 0 0; }
.project-icon { display: grid; place-items: center; width: 62px; height: 62px; border: 1px solid var(--line); border-radius: 6px; background: var(--surface); color: var(--teal); font-size: 2rem; }
.project-row .eyebrow { margin-bottom: 5px; }
.project-row h3, .interest-list h3, .writing h3 { font-size: clamp(1.33rem, 2.2vw, 1.83rem); letter-spacing: -.028em; }
.project-row > p, .interest-list p, .writing article > p:last-child, .about-copy > p:not(.eyebrow) { margin: 0; color: var(--muted); }
.interests, .writing { display: grid; grid-template-columns: .7fr 1fr; gap: clamp(24px, 4vw, 54px); }
.interest-list article + article { margin-top: 15px; padding-top: 16px; border-top: 1px solid var(--line); }
.interest-list h3 { margin-bottom: 7px; }
.writing h3 { max-width: 30ch; }
.writing h3 a { text-decoration-color: #69a59b; text-decoration-thickness: 1px; text-underline-offset: .22em; }
.writing article > p:last-child { margin-top: 12px; }
.about { display: grid; grid-template-columns: auto 1fr; align-items: center; gap: clamp(24px, 4.5vw, 57px); }
.about-monogram { display: grid; place-items: center; width: clamp(90px, 17vw, 208px); aspect-ratio: 1; border-radius: 8px; border: 1px solid #395450; background: repeating-linear-gradient(135deg,#213637 0 1px,transparent 1px 11px),#142123; }
.about-monogram .mark { width: 46%; height: 38%; margin: 0; }
.about-copy { max-width: 65ch; }
.about-copy > p:not(.eyebrow) { margin: 14px 0; }
.text-link { color: var(--teal); font-weight: 650; text-underline-offset: .25em; }
.footer { min-height: 76px; display: flex; justify-content: space-between; align-items: center; border-top: 1px solid var(--line); gap: 12px; font-size: .94rem; }
.muted { color: var(--quiet); padding-inline: 4px; }
@media (max-width: 925px) {
  .shell { width: calc(100% - 48px); }
}
@media (max-width: 740px) {
  .hero, .interests, .writing { grid-template-columns: 1fr; }
  .hero { padding-block: 46px; gap: 29px; }
  h1 { font-size: clamp(3.25rem, 10.5vw, 5.7rem); }
  .globe-window { height: clamp(255px, 54vw, 352px); }
  .feature { grid-template-columns: 1fr; }
  .feature-art { border-left: 0; border-top: 1px solid #334c4c; }
  .section { padding-block: 34px 40px; }
  .writing > h2 { margin-bottom: 0; }
  .desktop-break { display: none; }
}
@media (max-width: 480px) {
  .shell { width: calc(100% - 32px); }
  .masthead { min-height: 66px; gap: 8px; }
  .wordmark { font-size: 1rem; }
  .wordmark .mark { width: 22px; height: 20px; margin-right: .36rem; }
  .masthead nav { gap: clamp(8px, 3vw, 13px); }
  .masthead nav a { font-size: .875rem; }
  .panel-top, .globe-controls { padding-inline: 11px; }
  .place-buttons { gap: 6px; }
  .place-buttons button { padding-inline: 7px; }
  .project-row { grid-template-columns: auto 1fr; gap: 12px; }
  .project-row > p { grid-column: 1 / -1; }
  .about { grid-template-columns: 1fr; }
  .about-monogram { width: 76px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
