:root {
  color-scheme: light;
  --paper: #fbfaf6;
  --ink: #202820;
  --muted: #515951;
  --accent: #285741;
  --line: #d9dcd2;
  font-family: "Segoe UI", system-ui, sans-serif;
  line-height: 1.6;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--paper); color: var(--ink); }
.shell { width: min(1100px, calc(100% - 3rem)); margin-inline: auto; }
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.skip { position: absolute; inset: .5rem auto auto .5rem; transform: translateY(-160%); padding: .5rem 1rem; background: white; }
.skip:focus { transform: none; }
header { border-bottom: 1px solid var(--line); }
.masthead { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem 2rem; flex-wrap: wrap; padding-block: 1.25rem; }
.brand { font-weight: 700; text-decoration: none; }
nav { display: flex; flex-wrap: wrap; gap: .5rem clamp(.75rem, 2.5vw, 1.75rem); }
nav a, .footer a { font-size: .9rem; text-decoration: none; }
nav a:hover, .footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.hero { padding-block: clamp(4rem, 10vw, 8rem) clamp(4rem, 8vw, 6rem); }
.eyebrow { color: var(--accent); font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .14em; }
h1, h2 { font-family: Georgia, serif; font-weight: 400; letter-spacing: -.045em; }
h1 { font-size: clamp(3rem, 8vw, 7.2rem); line-height: .98; margin: .23em 0 .27em; }
h1 span { color: var(--accent); }
.lede { color: var(--muted); max-width: 49ch; font-size: clamp(1.06rem, 2vw, 1.3rem); }
.button { display: inline-flex; gap: 1.2rem; margin-top: 1rem; padding: .65rem 1rem; border: 1px solid var(--accent); background: var(--accent); color: white; text-decoration: none; }
.button:hover { background: var(--paper); color: var(--accent); }
.section { padding-block: clamp(2.5rem, 6vw, 4.8rem); border-top: 1px solid var(--line); scroll-margin-top: 1rem; }
.split { display: grid; grid-template-columns: 1fr 1.7fr; gap: 1rem 3rem; }
h2 { font-size: clamp(2.3rem, 5vw, 3.8rem); line-height: 1.1; margin: 0; }
h3 { margin: 0; line-height: 1.25; font-size: clamp(1.25rem, 3vw, 1.85rem); letter-spacing: -.025em; }
p { margin: 0 0 .7rem; }
.section-copy { font-size: 1.24rem; max-width: 52ch; }
.placeholder, .contact-list { color: var(--muted); }
.project-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2.5rem 1.5rem; margin-top: 1.75rem; }
.featured { grid-column: 1 / -1; }
.photo { margin: 0; display: grid; place-items: center; position: relative; aspect-ratio: 4 / 3; overflow: hidden; isolation: isolate; background-color: #e8eae2; background-image: linear-gradient(#345a4112 1px, transparent 1px), linear-gradient(90deg, #345a4112 1px, transparent 1px); background-size: 24px 24px; }
.photo::before { content: ""; position: absolute; inset: 1rem; border: 1px solid #40534343; z-index: -1; }
.photo figcaption { background: var(--paper); color: #39463d; padding: .45rem .8rem; margin: 1.5rem; text-align: center; font-size: .9rem; }
.photo img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.actuation { aspect-ratio: 2.45 / 1; }
.robotics { background-color: #e5eae7; }
.rocketry { background-color: #ece8df; }
.project-copy { padding-top: 1rem; max-width: 68ch; }
.project-copy h3, .roles h3 { margin-bottom: .55rem; }
.roles article + article { border-top: 1px solid var(--line); padding-top: 1.15rem; margin-top: 1.15rem; }
.contact-list { list-style: none; margin: 0; padding: 0; }
.footer { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; border-top: 1px solid var(--line); padding-block: 1.35rem 2rem; font-size: .9rem; }
@media (max-width: 620px) {
  .shell { width: calc(100% - 2rem); }
  .masthead { align-items: flex-start; flex-direction: column; }
  .desktop { display: none; }
  .split, .project-grid { grid-template-columns: 1fr; }
  .actuation { aspect-ratio: 4 / 3; }
}

