@font-face {
  font-family: "Instrument Sans";
  src: url("assets/instrument-sans.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}
:root {
  color-scheme: dark;
  --bg: #101815;
  --text: #eff4eb;
  --muted: #b7c5bb;
  --mint: #bcf8a4;
  --line: #36453c;
  font-family: "Instrument Sans", Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
.shell { width: min(100% - clamp(2rem, 8vw, 10rem), 85rem); margin-inline: auto; }
a { color: inherit; }
a:focus-visible { outline: 3px solid #fbcc81; outline-offset: 4px; }
.skip { position: absolute; top: -6rem; left: 1rem; z-index: 2; padding: .8rem 1rem; background: var(--mint); color: var(--bg); }
.skip:focus { top: 1rem; }
header, nav, .brand, footer { display: flex; align-items: center; }
header { justify-content: space-between; min-height: 5.3rem; gap: 1.25rem; }
.brand { gap: .65rem; font-size: clamp(1.1rem, 2vw, 1.5rem); font-weight: 650; letter-spacing: -.055em; text-decoration: none; }
.brand img { width: 2.25rem; height: auto; }
nav { gap: clamp(.9rem, 2.6vw, 2.6rem); }
nav a { padding-block: .75rem; color: #d6e1d7; font-size: .94rem; text-decoration: none; }
nav a:hover { color: var(--mint); text-decoration: underline; text-underline-offset: .3em; }
.contact-nav { padding: .5rem 1.05rem; border: 1px solid #526356; border-radius: .3rem; }
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border: 1px solid #526052;
  border-radius: .6rem;
  background: #263b31 url("assets/windfield.webp") no-repeat 65% 59% / cover;
}
.hero::before {
  content: ""; position: absolute; z-index: -1; inset: 0;
  background: linear-gradient(90deg, rgba(9,25,20,.96), rgba(12,32,24,.84) 27%, rgba(13,33,24,.38) 57%, rgba(16,35,26,.05) 83%);
}
.hero-inner { padding: clamp(3.8rem, 6.2vw, 6.3rem) clamp(1.45rem, 4.7vw, 5rem); }
.eyebrow { font: 500 .8125rem/1.5 ui-monospace, "Courier New", monospace; text-transform: uppercase; letter-spacing: .095em; margin: 0; color: var(--mint); }
.hero .eyebrow { display: flex; align-items: center; gap: .75rem; }
.tracks { display: inline-block; width: 1.4rem; height: .67rem; transform: skewX(-24deg); background: repeating-linear-gradient(90deg,var(--mint) 0 3px,transparent 3px 6px); }
h1, h2, h3 { margin: 0; font-weight: 550; }
h1 { margin-top: 1.45rem; font-size: clamp(3rem, 6.2vw, 6.15rem); line-height: 1.01; letter-spacing: -.064em; }
h1 span { color: var(--mint); }
.lead { max-width: 29rem; margin: 1.4rem 0 1.85rem; font-size: clamp(1.05rem,1.4vw,1.24rem); line-height: 1.55; color: #f0f4ed; }
.action { display: inline-flex; align-items: center; gap: .7rem; padding: .85rem 1.25rem; border-radius: .25rem; background: var(--mint); color: #162219; text-decoration: none; font-weight: 600; }
.action:hover { background: #defed1; }
.grid-icon { width: .94rem; height: .94rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.grid-icon i { border: 1.5px solid currentColor; border-radius: 1px; }
section { scroll-margin-top: 1rem; }
.projects { padding: clamp(2.5rem,4.2vw,4.5rem) 0; }
h2 { font-size: clamp(2rem,3.2vw,3.15rem); letter-spacing: -.055em; line-height: 1.14; }
.project-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 1.4rem; margin-top: 1.5rem; }
article { border: 1px solid var(--line); background: #16201b; border-radius: .45rem; overflow: hidden; }
.project-art {
  height: clamp(9.5rem,14vw,14rem); display: grid; place-items: center; overflow: hidden;
  border-bottom: 1px solid var(--line);
  background-image: linear-gradient(90deg, #b7ddae12 1px, transparent 1px), linear-gradient(#b7ddae12 1px, transparent 1px), radial-gradient(ellipse at center, #314c3c, #182b24 74%);
  background-size: 24px 24px, 24px 24px, cover;
}
.stack { width: 8rem; height: 6.4rem; position: relative; }
.stack i {
  position: absolute; top: 2.1rem; left: 1.4rem; width: 5.8rem; height: 5.8rem; border-radius: .5rem;
  transform: rotate(-30deg) skewX(30deg) scaleY(.83);
  background: #2d503c; box-shadow: -4px 5px 0 #0c2119; border: 1.5px solid #81ab89;
}
.stack i:nth-child(2) { top: .95rem; background: #407052; }
.stack i:nth-child(3) { top: -.2rem; background: linear-gradient(140deg,#7fb28c,#38684d); border-color: #b3dab3; }
.stack i:last-child::after { content: ""; position: absolute; inset: 21% 28%; border: 1px solid #b4dfbb; border-radius: .15rem; background: repeating-linear-gradient(0deg,transparent 0 5px,#a6ceb055 5px 6px); }
.optics { background-image: linear-gradient(90deg,#eed3a612 1px,transparent 1px), linear-gradient(#eed3a612 1px,transparent 1px), radial-gradient(ellipse at center,#504637,#2b2b24 74%); }
.optic-diagram { position: relative; width: 18rem; height: 8.5rem; }
.mirror { position: absolute; width: 1.5rem; height: 7rem; top: .7rem; left: 53%; transform: rotate(18deg) skewY(-13deg); border: 1px solid #e7d7b8; border-radius: 50%; background: linear-gradient(90deg,#4b5a50,#a5ac95 40%,#d6cfaa 68%,#666e60); }
.rays { position: absolute; top: 48%; left: 0; width: 57%; height: 1.7rem; transform-origin: right center; background: repeating-linear-gradient(0deg, transparent 0 6px,#e1b96f 6px 7px); mask-image: linear-gradient(90deg,transparent,#000 38%); }
.incoming { transform: rotate(16deg); }
.reflected { transform: rotate(-48deg); opacity: .72; }
.project-body { padding: 1.5rem clamp(1.25rem,2.3vw,2.3rem) 1.7rem; }
.project-body .eyebrow { color: #b5cfac; }
article:nth-child(2) .eyebrow { color: #e1c79c; }
h3 { margin-top: .48rem; font-size: clamp(1.55rem,2.2vw,2rem); letter-spacing: -.045em; }
.project-body > p:not(.eyebrow), .contact p { color: var(--muted); line-height: 1.58; margin: .6rem 0 0; max-width: 48ch; }
.text-link { display: inline-block; color: var(--mint); text-underline-offset: .28rem; text-decoration-thickness: 1px; }
.text-link:hover { color: #e7ffde; }
.project-body .text-link { margin-top: 1rem; }
.contact, footer { display: flex; justify-content: space-between; align-items: center; gap: 2rem; border-top: 1px solid var(--line); }
.contact { padding-block: clamp(2rem,4vw,4rem); }
footer { padding-block: 1.5rem; font-size: .875rem; color: var(--muted); }
footer span:last-child { font-family: ui-monospace, monospace; }
@media (max-width: 44rem) {
  .hero::before { background: linear-gradient(90deg,#0c201be8,#10251cb5 60%,#12291e70); }
  .project-grid { grid-template-columns: 1fr; }
  .project-art { height: 10rem; }
  .contact { align-items: start; flex-direction: column; gap: 1rem; }
}
@media (max-width: 32rem) {
  header { min-height: 4.6rem; gap: .6rem; }
  nav { gap: .8rem; }
  nav a { font-size: .875rem; }
  nav a:first-child { display: none; }
  .contact-nav { padding: .45rem .6rem; }
  .brand { gap: .35rem; }
  .brand img { width: 1.8rem; }
  h1 { font-size: clamp(2.25rem, 8.6vw, 3rem); }
  .hero-inner { padding-block: 3.5rem; }
  .hero .eyebrow { font-size: .75rem; }
  .contact a { overflow-wrap: anywhere; }
}
