:root {
  color-scheme: light dark;
  --bg: #f6f6f4;
  --fg: #141414;
  --rule: #cfcfcc;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0e0e0e;
    --fg: #eeece6;
    --rule: #494945;
  }
}
* { box-sizing: border-box; }
body {
  width: min(100% - clamp(2.25rem, 8vw, 8rem), 75rem);
  margin: 0 auto;
  background: var(--bg);
  color: var(--fg);
  font: 1rem/1.5 Archivo, Arial, sans-serif;
}
a { color: inherit; text-underline-offset: .24em; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
.masthead, footer, .label {
  font: 500 .75rem/1.45 var(--mono);
  letter-spacing: .06em;
  text-transform: uppercase;
}
.masthead, footer { padding: 1.35rem 0; border-block-end: 1px solid var(--rule); }
.masthead { display: flex; justify-content: space-between; gap: 1rem; }
.project-intro { padding-block: clamp(2.8rem, 7vw, 6rem) clamp(1.5rem, 4vw, 3rem); }
h1 {
  margin: .12em 0 .23em;
  font-size: clamp(3.7rem, 13.8vw, 10rem);
  font-weight: 900;
  line-height: .84;
  letter-spacing: -.055em;
  text-transform: uppercase;
}
.intro-copy { display: grid; gap: 1rem; max-width: 52ch; font-size: clamp(1.06rem, 2vw, 1.3rem); }
.project-image { display: grid; place-items: center; padding: clamp(1.25rem, 5vw, 4rem); }
.project-image.offpeak { background: radial-gradient(ellipse at 28% 14%, #146f44, #050806 85%); }
.project-image.lunette { background: radial-gradient(ellipse at 72% 0%, #3822d3, #141027 88%); }
.project-image img { display: block; width: 100%; height: auto; border-radius: .6rem; }
.project-image.phone img { width: min(100%, 16rem); }
.project-image.desktop img { width: min(100%, 56rem); }
.features, .stack {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(0, 2.4fr);
  gap: 1.25rem 2rem;
  padding-block: clamp(2.2rem, 5vw, 4rem);
  border-block-end: 1px solid var(--rule);
}
h2 { font-size: clamp(1.55rem, 3vw, 2.15rem); line-height: 1; letter-spacing: -.04em; }
h3 { margin-bottom: .4rem; font-size: 1.12rem; line-height: 1.16; }
.feature-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem; }
.feature { border-block-start: 1px solid var(--rule); padding-block-start: .8rem; }
.stack ul { margin: 0; padding-left: 1.1rem; }
.stack li + li { margin-top: .4rem; }
footer { border: 0; }
@media (max-width: 42rem) {
  .features, .stack { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 31rem) {
  .feature-grid { grid-template-columns: minmax(0, 1fr); }
}
