:root {
  color-scheme: dark;
  --bg: #101015;
  --panel: #1b1922;
  --text: #faf6f0;
  --muted: #c4bdcb;
  --accent: #fbb28e;
  --line: #393342;
  font-family: system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
}
* { box-sizing: border-box; }
body { margin: 0; }
a { color: inherit; text-underline-offset: .25em; }
a:hover { color: var(--accent); }
a:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
.wrap { width: min(1200px, calc(100% - 64px)); margin-inline: auto; }
.top, footer { display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.top { min-height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 750; letter-spacing: .13em; font-size: .75rem; }
.top a, footer a { text-decoration: none; }
nav, footer div { display: flex; flex-wrap: wrap; gap: 22px; font-size: .9rem; }
.intro { display: flex; justify-content: space-between; align-items: end; gap: 25px; padding: 48px 0 34px; }
.label { color: var(--accent); font-size: .72rem; font-weight: 720; letter-spacing: .13em; margin: 0 0 12px; }
.dot { display: inline-block; width: 7px; height: 7px; margin-right: 7px; border-radius: 50%; background: var(--accent); vertical-align: 1px; }
h1, h2, h3 { margin: 0; letter-spacing: -.055em; line-height: 1.03; }
h1 { font-size: clamp(3rem, 8.5vw, 7rem); }
h1 span { color: var(--accent); }
.intro > p { max-width: 27ch; margin: 0 0 3px; color: var(--muted); line-height: 1.55; }
.hero { position: relative; isolation: isolate; overflow: hidden; min-height: 470px; display: flex; align-items: end; border: 1px solid #55445d; border-radius: 14px; background: #171525; }
.hero-art, .hero::after { position: absolute; inset: 0; width: 100%; height: 100%; z-index: -1; }
.hero-art { object-fit: cover; object-position: center 54%; }
.hero::after { content: ""; background: linear-gradient(90deg, #100e1a 4%, #100e1ad4 32%, transparent 76%), linear-gradient(0deg, #100e1ace, transparent 70%); }
.hero-copy { padding: clamp(26px, 5vw, 62px); }
.hero h2 { font-size: clamp(3.8rem, 9vw, 7.6rem); }
.hero-copy > p:not(.label) { max-width: 42ch; line-height: 1.55; color: #e3dce8; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 21px; }
.button { display: inline-block; padding: 11px 15px; border: 1px solid var(--accent); border-radius: 5px; color: #241722; background: var(--accent); text-decoration: none; font-weight: 700; font-size: .88rem; }
.button:hover { background: #ffd3bd; color: #241722; }
.secondary { background: #171322e8; border-color: #9c8da9; color: var(--text); }
#projects { padding: 54px 0; }
#projects h2 { font-size: clamp(2.15rem, 5vw, 3.4rem); margin-bottom: 23px; }
.grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--panel); border-radius: 10px; overflow: hidden; }
.card img { display: block; width: 100%; aspect-ratio: 1.85; object-fit: cover; }
.card .scrap { object-position: center 49%; }
.card .fluff { object-position: center 46%; }
.card .auditor { object-position: center top; }
.card-copy { display: flex; flex-direction: column; flex: 1; padding: 22px; }
.card h3 { font-size: clamp(1.55rem, 3.3vw, 2.1rem); }
.card-copy p:not(.label) { color: var(--muted); line-height: 1.55; margin: 12px 0 22px; }
.card-copy a { margin-top: auto; color: var(--accent); font-weight: 650; font-size: .88rem; }
.card-copy a:hover { color: var(--text); }
footer { border-top: 1px solid var(--line); padding-block: 24px 32px; color: var(--muted); font-size: .85rem; }
@media (max-width: 800px) {
  .wrap { width: calc(100% - 36px); }
  .intro { flex-direction: column; align-items: start; gap: 13px; padding-top: 36px; }
  .intro > p { max-width: 44ch; }
  .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
  .hero { min-height: 485px; }
  .hero-art { object-position: 55% top; }
  .hero::after { background: linear-gradient(0deg, #100e1a 8%, #100e1ae8 35%, transparent 92%); }
  .grid { grid-template-columns: 1fr; }
  footer { align-items: start; flex-direction: column; }
  nav { gap: 12px; }
  .top { gap: 12px; }
  .brand { letter-spacing: .07em; font-size: .66rem; }
}
