:root {
  color-scheme: dark;
  --bg: #0e1f17; --surface: #1a3327; --surface-feature: #213f30;
  --text: #e6f1ea; --muted: #b4c9bc; --sage: #9bc5a4;
  --accent: #a0d6ad; --line: #385545; --focus: #c0ef9b;
  --shadow: 0 12px 32px #00000012;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg); color: var(--text);
}
:root[data-theme="light"] {
  color-scheme: light;
  --bg: #f1f5ef; --surface: #ffffff; --surface-feature: #e3eddf;
  --text: #162d20; --muted: #425e4c; --sage: #3e6c4c;
  --accent: #275b39; --line: #bccdbd; --focus: #205a35;
  --shadow: 0 12px 32px #193b2110;
}
* { box-sizing: border-box; }
body { margin: 0; font-size: 1rem; line-height: 1.7; }
.wrap { width: min(1080px, calc(100% - 80px)); margin-inline: auto; }
a { color: var(--accent); text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 5px; border-radius: 3px; }
.site-header { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--line); }
.brand { font-size: 1.85rem; letter-spacing: -.08em; font-weight: 750; text-decoration: none; color: var(--text); }
.brand span { color: var(--sage); }
.brand .brand-dot { color: var(--accent); margin-left: 2px; }
.header-actions, nav ul { display: flex; align-items: center; gap: 30px; }
nav ul { list-style: none; margin: 0; padding: 0; }
nav a { display: inline-flex; align-items: center; gap: 6px; padding-block: 12px; color: var(--muted); text-decoration: none; font-size: .9rem; }
nav a:hover, nav a[aria-current="page"] { color: var(--text); }
nav a[aria-current="page"] { text-decoration: underline; text-decoration-color: var(--accent); text-underline-offset: .6em; }
.external-icon { font-size: 1.05em; }
.theme-toggle { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 88px; font: inherit; font-size: .8rem; color: var(--text); background: transparent; border: 1px solid var(--line); border-radius: 24px; padding: 8px 12px; cursor: pointer; }
.theme-toggle[hidden] { display: none; }
.theme-toggle:hover { background: var(--surface); }
.theme-icon { font-size: 1.15rem; line-height: 1; }
.home { padding-top: 76px; padding-bottom: 64px; }
.eyebrow { color: var(--sage); font-size: .7rem; font-weight: 650; letter-spacing: .16em; display: flex; align-items: center; gap: 10px; margin: 0 0 22px; }
.eyebrow span { width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
h1 { font-size: clamp(3.2rem, 7vw, 5.1rem); letter-spacing: -.065em; line-height: 1.1; font-weight: 650; margin: 0 0 28px; }
.introduction { max-width: 790px; }
.introduction p:first-of-type { font-size: clamp(1.2rem, 2.4vw, 1.45rem); line-height: 1.6; color: var(--text); letter-spacing: -.018em; margin: 0 0 21px; }
.introduction p { max-width: 720px; color: var(--muted); margin: 0; font-size: 1.025rem; }
.interests { display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px; margin-top: 54px; }
.interest { grid-column: span 2; border: 1px solid var(--line); border-radius: 18px; padding: 28px; background: var(--surface); box-shadow: var(--shadow); }
.interest-1, .interest-2 { grid-column: span 3; }
.interest-2 { background: var(--surface-feature); }
.interest::before { content: ""; display: block; height: 3px; width: 24px; background: var(--sage); border-radius: 3px; margin-bottom: 24px; }
h2 { font-size: 1.08rem; line-height: 1.4; font-weight: 620; letter-spacing: -.02em; margin: 0 0 12px; }
.interest p { font-size: .9rem; color: var(--muted); margin: 0; }
.site-footer { border-top: 1px solid var(--line); padding-block: 25px 34px; display: flex; justify-content: space-between; gap: 20px; color: var(--muted); font-size: .75rem; }
.site-footer p { margin: 0; }
.site-footer span { padding: 0 9px; }
.prose { min-height: 65vh; max-width: 850px; padding-block: 80px; }
.prose h1 { font-size: clamp(2.5rem, 7vw, 4rem); }
.prose p, .prose ul { max-width: 70ch; }
.prose h2 { margin-top: 2em; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link { position: absolute; top: 12px; left: 20px; transform: translateY(-180%); background: var(--surface); color: var(--text); padding: 10px 16px; z-index: 10; }
.skip-link:focus { transform: translateY(0); }
@media (max-width: 760px) {
  .wrap { width: calc(100% - 40px); }
  .site-header { min-height: 94px; gap: 18px; flex-wrap: wrap; padding-block: 18px; }
  .header-actions { gap: 18px; }
  nav ul { gap: 18px; }
  .theme-toggle { min-width: 44px; width: 44px; }
  .theme-label { display: none; }
  .brand { font-size: 1.6rem; }
  .home { padding-top: 50px; padding-bottom: 40px; }
  .interests { grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 36px; }
  .interest, .interest-1, .interest-2 { grid-column: span 1; padding: 24px; }
  .interest:last-child { grid-column: span 2; }
  .site-footer { flex-direction: column; gap: 6px; }
}
@media (max-width: 480px) {
  .header-actions { width: 100%; justify-content: space-between; }
  .site-header { gap: 5px; }
  .interests { display: block; }
  .interest { margin-bottom: 14px; }
  .eyebrow { font-size: .61rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; }
}
/* The PNG is the unchanged raster base; the wordmark remains real text. */
.brand { display: inline-flex; align-items: center; gap: 10px; letter-spacing: -.045em; }
.brand-icon { position: relative; display: inline-block; width: 44px; height: 44px; flex: 0 0 44px; }
.brand-icon-base { display: block; width: 100%; height: 100%; }
.brand .brand-wordmark { color: var(--text); }
.brand-wordmark > span { color: var(--sage); }
/* Optional symbol layer for future applications; unused on this website. */
.brand-icon-symbol { position: absolute; inset: 28% 30% 24%; display: block; width: 40%; height: 48%; object-fit: contain; }
