:root {
  color-scheme: dark;
  --night: #0b111c;
  --paper: #edf3ff;
  --muted: #a3b0c6;
  --quiet: #98a6bd;
  --blue: #afcbf6;
  --violet: #c4b4e9;
  --line: #283345;
}

* { box-sizing: border-box; }
html { background: var(--night); scroll-behavior: smooth; }
body {
  margin: 0;
  min-width: 280px;
  color: var(--paper);
  background:
    radial-gradient(ellipse at 89% 15%, #1c294145, transparent 46%),
    radial-gradient(ellipse at 3% 76%, #2d254524, transparent 38%),
    var(--night);
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
a:focus-visible { outline: 2px solid var(--blue); outline-offset: 7px; border-radius: 3px; }
.shell { width: min(1240px, calc(100% - 96px)); margin: 0 auto; }
.skip-link { position: absolute; top: 12px; left: 20px; z-index: 2; padding: 12px 18px; background: var(--paper); color: var(--night); transform: translateY(-180%); }
.skip-link:focus { transform: translateY(0); }
.masthead { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 112px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 14px; text-decoration: none; }
.brand-mark { display: grid; place-items: center; flex-shrink: 0; width: 38px; height: 38px; border: 1px solid #536783; border-radius: 12px; color: #d1e3ff; background: linear-gradient(135deg, #24334a, #181e2b); }
.brand-mark svg { width: 30px; height: 30px; }
.brand-copy { display: grid; gap: 6px; }
.brand-name { font-size: 13px; font-weight: 720; letter-spacing: .23em; text-transform: uppercase; }
.brand-subtitle { color: var(--quiet); font-size: 9px; letter-spacing: .14em; text-transform: uppercase; }
.header-link { display: inline-flex; align-items: center; gap: 20px; min-height: 44px; text-decoration: none; color: #c2cde0; font-size: 12px; }
.header-link span { color: var(--blue); font-size: 20px; }
.header-link:hover { color: var(--paper); }
.hero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); align-items: center; gap: clamp(40px, 5vw, 88px); padding: 83px 0 86px; }
.hero-copy { min-width: 0; padding-bottom: 8px; }
.eyebrow { display: flex; align-items: center; gap: 14px; margin: 0 0 29px; color: var(--blue); font-size: 10px; line-height: 1.6; font-weight: 650; letter-spacing: .17em; text-transform: uppercase; }
.eyebrow > span { width: 27px; height: 1px; background: var(--blue); flex-shrink: 0; }
h1 { margin: 0; font-size: clamp(50px, 5.6vw, 80px); line-height: 1.06; letter-spacing: -.066em; font-weight: 540; }
h1 > span { display: inline-block; padding-bottom: .08em; color: var(--blue); background: linear-gradient(100deg, #bcd9ff, #b8beed 63%, #ceb9ea); background-clip: text; -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.intro { max-width: 470px; margin: 31px 0 0; font-size: clamp(18px, 1.6vw, 21px); line-height: 1.65; letter-spacing: -.02em; color: #d2dcee; }
.description { max-width: 466px; margin: 15px 0 0; color: var(--muted); font-size: 14px; line-height: 1.85; }
.text-link { display: inline-flex; align-items: center; gap: 24px; min-height: 44px; margin-top: 27px; text-decoration: none; border-bottom: 1px solid #4a5a75; color: #c9d7ed; font-size: 12px; }
.text-link span { color: var(--blue); font-size: 18px; }
.text-link:hover { border-color: var(--blue); color: var(--paper); }
.composition { margin: 0; min-width: 0; padding: 25px 25px 28px; border: 1px solid #354258; border-radius: 25px 25px 8px 25px; background: linear-gradient(150deg, #1a2536d9, #121a29d9 68%, #27233866); box-shadow: 0 24px 60px #00000025, inset 0 1px #d4e1ff0a; }
.figure-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: #a6b7d0; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; }
.figure-heading > :last-child { font-family: ui-monospace, Consolas, monospace; color: #a7b4cb; }
.artwork { padding-top: 4px; }
.artwork svg { display: block; width: 100%; height: auto; }
figcaption { display: flex; align-items: end; justify-content: space-between; gap: 16px; padding-top: 13px; }
.figure-title { font-size: clamp(18px, 1.7vw, 23px); line-height: 1.4; letter-spacing: -.035em; font-weight: 500; }
.figure-note { text-align: right; font-size: 10px; line-height: 1.8; color: #aebbd1; }
.approach { scroll-margin-top: 30px; padding-bottom: 62px; border-top: 1px solid var(--line); }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 24px; padding: 30px 0 32px; }
.section-heading h2 { margin: 0; font-size: 18px; line-height: 1.5; font-weight: 500; letter-spacing: -.025em; }
.section-caption { color: var(--quiet); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.services { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.service { padding: 0 32px; border-left: 1px solid var(--line); }
.service:first-child { padding-left: 0; border-left: 0; }
.service:last-child { padding-right: 0; }
.service-number { color: #adbbd3; font-family: ui-monospace, Consolas, monospace; font-size: 11px; }
.service h3 { margin: 18px 0 11px; font-size: 18px; line-height: 1.4; font-weight: 520; letter-spacing: -.025em; }
.service p { max-width: 330px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.9; }
.service-label { display: block; margin-top: 23px; color: #bdcbea; font-size: 9px; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; }
.footer { display: flex; justify-content: space-between; align-items: center; gap: 24px; min-height: 85px; border-top: 1px solid var(--line); color: var(--quiet); font-size: 9px; letter-spacing: .12em; text-transform: uppercase; }
.footer-thought { font-size: 11px; letter-spacing: 0; text-transform: none; }
.error-main { display: grid; align-content: center; min-height: calc(100svh - 197px); padding: 64px 0; }
.error-main h1 { font-size: clamp(38px, 6vw, 72px); }
.error-main .text-link { justify-self: start; }
@media (min-width: 1600px) { .hero { padding-top: 110px; padding-bottom: 110px; } }
@media (max-width: 1080px) {
  .shell { width: calc(100% - 64px); }
  .hero { gap: 36px; grid-template-columns: minmax(0, 1.12fr) minmax(0, .9fr); }
  h1 { font-size: clamp(46px, 5.4vw, 65px); }
  .composition { padding: 22px; }
  .figure-note { display: none; }
  .service { padding-inline: 23px; }
}
@media (max-width: 780px) {
  .shell { width: min(620px, calc(100% - 48px)); }
  .masthead { min-height: 94px; }
  .hero { grid-template-columns: 1fr; gap: 48px; padding: 60px 0; }
  h1 { font-size: clamp(43px, 9.4vw, 66px); }
  .intro { max-width: 510px; }
  .description { max-width: 510px; }
  .composition { width: min(100%, 450px); justify-self: center; padding: 25px; }
  .figure-note { display: block; }
  .figure-title { font-size: 22px; }
  .section-heading { display: block; padding-bottom: 6px; }
  .section-caption { display: block; margin-top: 10px; }
  .services { grid-template-columns: 1fr; }
  .service, .service:first-child, .service:last-child { padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .service:last-child { border-bottom: 0; padding-bottom: 0; }
  .service h3 { margin-top: 12px; }
  .service p { max-width: 480px; }
  .service-label { margin-top: 16px; }
  .approach { padding-bottom: 44px; }
  .footer { flex-wrap: wrap; padding: 25px 0; gap: 16px; }
  .footer-thought { flex-basis: 100%; order: 3; }
}
@media (max-width: 420px) {
  .shell { width: calc(100% - 36px); }
  .masthead { gap: 12px; }
  .brand { gap: 10px; }
  .brand-subtitle { max-width: 140px; font-size: 8px; line-height: 1.7; }
  .brand-name { font-size: 11px; letter-spacing: .18em; }
  .header-link { gap: 8px; font-size: 10px; }
  .header-link span { font-size: 15px; }
  .hero { padding-top: 49px; }
  .eyebrow { gap: 9px; font-size: 9px; letter-spacing: .13em; margin-bottom: 23px; }
  .eyebrow > span { width: 19px; }
  h1 { font-size: clamp(35px, 10.7vw, 45px); }
  .intro { margin-top: 24px; font-size: 18px; }
  .description { font-size: 13px; }
  .composition { padding: 21px; }
  .figure-note { font-size: 9px; }
  .figure-title { font-size: 19px; }
  .figure-heading { font-size: 8px; }
  .section-heading h2 { font-size: 17px; }
}
@media (max-width: 340px) {
  .brand-subtitle { max-width: 115px; }
  .header-link { font-size: 9px; gap: 4px; }
  .brand-mark { width: 34px; height: 34px; }
  .brand { gap: 8px; }
  .figure-note { display: none; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
