:root {
  --green-950: #173128;
  --green-900: #213e33;
  --green-800: #2f5140;
  --green-650: #587461;
  --green-500: #809684;
  --green-300: #afc0b1;
  --green-150: #dfe7df;
  --green-50: #f2f5ef;
  --paper: #f7f6f0;
  --ink: #173128;
  --muted: #607066;
  --line: #b8c5ba;
  --white: #fbfaf6;
  --serif: Georgia, "Times New Roman", serif;
  --sans: "Segoe UI", Arial, sans-serif;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); line-height: 1.55; }
a { color: inherit; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { opacity: .78; }
.page-shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; left: 16px; top: -80px; z-index: 1000; padding: 10px 14px; background: var(--white); color: var(--ink); }
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  color: var(--white);
  background: rgba(23,49,40,.96);
  border-bottom: 1px solid rgba(255,255,255,.22);
  backdrop-filter: blur(12px);
}
.header-inner { min-height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.wordmark { display: grid; font-family: var(--serif); font-size: 18px; line-height: 1.03; text-decoration: none; }
.primary-nav { display: flex; flex-wrap: wrap; gap: 28px; }
.primary-nav a { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }

.hero { color: var(--white); background: var(--green-950); border-bottom: 1px solid rgba(255,255,255,.22); }
.hero-inner { padding-block: clamp(72px, 11vw, 150px) clamp(62px, 8vw, 110px); }
.eyebrow, .entry-kicker { margin: 0; color: var(--green-650); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.hero .eyebrow { color: #cad7cd; }
.hero h1 { max-width: 980px; margin: 24px 0 28px; font-family: var(--serif); font-size: clamp(52px, 8vw, 104px); font-weight: 400; line-height: .96; letter-spacing: -.045em; }
.hero-copy { max-width: 720px; margin: 0; font-family: var(--serif); font-size: clamp(20px, 2.3vw, 29px); line-height: 1.4; }
.identity-links { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.identity-links a { padding: 10px 14px; border: 1px solid rgba(255,255,255,.5); font-size: 13px; text-decoration: none; }
.identity-links a:first-child, .identity-links a:hover { color: var(--ink); background: var(--white); opacity: 1; }

.work-section { padding-block: clamp(72px, 10vw, 132px); color: var(--white); background: var(--green-900); }
.section-intro { max-width: 960px; margin-bottom: 68px; }
.section-intro > div { display: grid; grid-template-columns: 1.15fr .85fr; gap: 50px; align-items: end; }
.section-intro h2, .profile-section h2 { margin: 0; font-family: var(--serif); font-size: clamp(38px, 5.4vw, 69px); font-weight: 400; line-height: 1.03; letter-spacing: -.035em; }
.section-intro p { max-width: 480px; margin: 0 0 6px; color: #d0dbd2; }
.work-index { margin: -24px 0 38px; display: flex; flex-wrap: wrap; gap: 8px; }
.work-index a { padding: 8px 11px; border: 1px solid rgba(255,255,255,.35); color: var(--white); font-size: 12px; text-decoration: none; }
.work-index a:hover { color: var(--ink); background: var(--green-150); opacity: 1; }

.work-lanes { border: 1px solid rgba(255,255,255,.3); }
.work-lane { border-bottom: 1px solid rgba(255,255,255,.34); }
.work-lane:last-child { border-bottom: 0; }
.work-lane:nth-child(1) { color: var(--white); background: var(--green-800); }
.work-lane:nth-child(2) { color: var(--white); background: var(--green-650); }
.work-lane:nth-child(3) { color: var(--ink); background: var(--green-500); }
.work-lane:nth-child(4) { color: var(--ink); background: var(--green-300); }
.work-lane summary {
  min-height: 116px;
  padding: 26px 30px;
  list-style: none;
  cursor: pointer;
  display: grid;
  grid-template-columns: minmax(220px, .9fr) 1.1fr 42px;
  gap: 20px;
  align-items: center;
}
.work-lane summary::-webkit-details-marker { display: none; }
.work-lane summary:focus-visible { outline: 3px solid var(--white); outline-offset: -5px; }
.lane-title { font-family: var(--serif); font-size: clamp(28px, 3vw, 40px); }
.lane-note { color: currentColor; font-size: 14px; opacity: .78; }
.lane-toggle { width: 34px; height: 34px; border: 1px solid currentColor; position: relative; justify-self: end; }
.lane-toggle::before, .lane-toggle::after { content: ""; position: absolute; left: 9px; right: 9px; top: 16px; height: 1px; background: currentColor; }
.lane-toggle::after { transform: rotate(90deg); transition: transform .2s ease; }
.work-lane[open] .lane-toggle::after { transform: rotate(0); }
.lane-body { padding: 0 30px 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.work-entry { min-height: 270px; padding: 28px; border: 1px solid var(--line); background: var(--green-50); color: var(--ink); display: flex; flex-direction: column; align-items: flex-start; }
.featured-entry { background: var(--white); border: 2px solid var(--green-950); }
.entry-kicker { margin-bottom: 24px; }
.star { color: var(--green-950); font-size: 16px; margin-right: 5px; }
.work-entry h3 { margin: 0 0 14px; font-family: var(--serif); font-size: clamp(23px, 2.5vw, 33px); font-weight: 400; line-height: 1.12; }
.work-entry h3 a { text-decoration: none; }
.work-entry p { margin: 0 0 24px; color: var(--muted); }
.entry-tags { margin: auto 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 7px; list-style: none; }
.entry-tags li { padding: 6px 9px; border: 1px solid var(--line); font-size: 11px; }
.entry-links { margin-top: auto; display: flex; flex-wrap: wrap; gap: 18px; font-size: 13px; }

.profile-section { padding-block: clamp(72px, 10vw, 132px); background: var(--green-150); }
.profile-grid { max-width: 980px; }
.profile-section h2 { margin-bottom: 38px; }
.profile-section p { max-width: 740px; font-family: var(--serif); font-size: clamp(19px, 2vw, 25px); }

.site-footer { padding: 28px 0; background: var(--paper); border-top: 1px solid var(--line); }
.copyright { display: flex; justify-content: space-between; align-items: center; gap: 24px; font-size: 12px; }
.footer-mini-links { display: flex; flex-wrap: wrap; gap: 20px; }

@media (max-width: 820px) {
  .section-intro > div { grid-template-columns: 1fr; }
  .work-lane summary { grid-template-columns: 1fr 38px; }
  .lane-note { grid-column: 1; }
  .lane-toggle { grid-column: 2; grid-row: 1 / span 2; }
  .lane-body { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .page-shell { width: min(calc(100% - 28px), var(--max)); }
  .header-inner { min-height: 76px; }
  .primary-nav { gap: 14px; }
  .primary-nav a { font-size: 11px; }
  .hero h1 { font-size: clamp(45px, 15vw, 68px); }
  .work-lane summary { min-height: 100px; padding: 22px 18px; gap: 10px; }
  .lane-note { font-size: 12px; }
  .lane-body { padding: 0 18px 22px; }
  .work-entry { min-height: 0; padding: 22px; }
  .copyright { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; }
}
