:root {
  color-scheme: dark;
  --bg: #18191b;
  --surface: #222427;
  --ink: #eff0f1;
  --muted: #b9bbc0;
  --accent: #ff6d48;
  --accent-ink: #18191b;
  --small: 0.9375rem;
  --body: 1.0625rem;
  --lead: clamp(1.25rem, 1.05rem + 0.7vw, 1.65rem);
  --head: clamp(2rem, 1.5rem + 2.8vw, 4rem);
  --display: clamp(2.625rem, 10.5vw, 9.5rem);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  background: var(--bg);
  color: var(--ink);
}
* { box-sizing: border-box; }
html { scroll-padding-top: 2rem; }
body { margin: 0; font-size: var(--body); line-height: 1.6; }
a { color: inherit; text-underline-offset: 0.22em; text-decoration-thickness: 0.08em; }
a:hover { color: var(--accent); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--accent); outline-offset: 6px; }
p, h1, h2 { margin: 0; }
p + p { margin-top: 1rem; }
.frame { width: min(100% - 3rem, 86rem); margin-inline: auto; }
.site-header { display: flex; justify-content: space-between; align-items: center; gap: 2rem; padding-block: 1.4rem; }
.brand { font-weight: 600; text-decoration: none; line-height: 1.3; }
nav { display: flex; flex-wrap: wrap; gap: 0.5rem 1.75rem; }
nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: var(--small); }
.site-header nav a { text-decoration: none; }
.site-header nav a:hover { text-decoration: underline; }
.skip-link { position: absolute; z-index: 10; left: 1rem; top: -6rem; padding: 0.75rem 1rem; color: var(--bg); background: var(--ink); }
.skip-link:focus { top: 1rem; }
.skip-link:hover { color: var(--bg); }
.hero { display: grid; grid-template-columns: 2fr 1fr; align-items: end; gap: 2rem; padding-block: clamp(3rem, 5vw, 5rem) clamp(6rem, 10vw, 10rem); }
h1 { font-size: var(--display); font-weight: 400; line-height: 0.98; letter-spacing: -0.055em; }
.hero-intro { padding-bottom: 0.2rem; font-size: var(--lead); line-height: 1.5; }
h2 { font-size: var(--head); font-weight: 400; line-height: 1.05; letter-spacing: -0.035em; text-wrap: balance; }
.lead { font-size: var(--lead); line-height: 1.45; }
.project { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 4rem; padding-bottom: clamp(6rem, 10vw, 10rem); }
.project-art { display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 2rem 1.5rem; background: var(--surface); min-width: 0; }
.project-art img { display: block; width: min(100%, 17rem); height: auto; max-height: 25.5rem; object-fit: contain; }
.project-art .caption { margin-top: 1.5rem; text-align: center; }
.project-copy { max-width: 34rem; }
.project-copy h2 { margin-bottom: 1.25rem; }
.project-copy .lead { margin-bottom: 1rem; }
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 2rem; min-height: 52px; margin-top: 2rem; padding: 0.75rem 1.25rem; background: var(--accent); color: var(--accent-ink); font-weight: 600; text-decoration: none; }
.button:hover { color: var(--accent-ink); background: var(--ink); }
.button:focus-visible { outline-color: var(--ink); }
.release-note { max-width: 34ch; margin-top: 1.25rem; color: var(--muted); font-size: var(--small); }
.caption { font-size: var(--small); line-height: 1.5; color: var(--muted); }
.about, .contact { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; padding-bottom: clamp(6rem, 10vw, 10rem); }
.about-copy, .contact-copy { max-width: 34rem; }
.contact-address { display: inline-block; padding-block: 0.6rem; font-size: var(--lead); overflow-wrap: anywhere; }
.support-line { margin-top: 1.5rem; }
.support-line a, .legal a { overflow-wrap: anywhere; }
.contact .caption { margin-top: 1.5rem; }
.site-footer { padding-block: 0 2rem; }
.footer-name { font-size: clamp(1.75rem, 7vw, 6.3rem); font-weight: 400; line-height: 1.12; letter-spacing: -0.045em; margin-block: 3rem 1rem; }
.legal { max-width: 46rem; padding-block: 3rem 7rem; }
.legal h1 { font-size: var(--head); letter-spacing: -0.035em; }
.legal > .lead { margin-block: 1.5rem; }
.legal section { margin-top: 3rem; }
.legal h2 { font-size: var(--lead); font-weight: 600; line-height: 1.25; letter-spacing: -0.015em; margin-bottom: 1rem; }
@media (min-width: 1600px) {
  .frame { width: min(100% - 4rem, 86rem); }
}
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero-intro { max-width: 25ch; }
  .project { grid-template-columns: 1fr; gap: 2rem; }
  .project-copy { grid-row: 1; }
  .project-art { padding-block: 2rem; }
  .project-art img { width: min(70%, 15rem); }
  .about, .contact { grid-template-columns: 1fr; gap: 2rem; }
  .footer-name { max-width: 14ch; }
}
@media (max-width: 420px) {
  .frame { width: calc(100% - 2.5rem); }
  .site-header { align-items: flex-start; gap: 0.5rem 1rem; }
  .brand { max-width: 8.5rem; padding-block: 0.5rem; }
  .site-header nav { flex-direction: column; gap: 0; }
  .site-header nav a { justify-content: flex-end; }
  .hero { padding-top: 2rem; }
  .project-art { padding-inline: 1rem; }
  .site-footer nav { gap: 0.25rem 1rem; }
  .footer-name { font-size: 1.75rem; }
}
@media (forced-colors: active) {
  .button { outline: 2px solid ButtonText; }
}
