/* VSNX — self-hosted Archivo (SIL Open Font License, see fonts/OFL.txt). No external requests. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-ext-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url(fonts/archivo-latin-wdth-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --abyss: #111522;
  --deep: #1E263B;
  --slate: #303D59;
  --steel: #536684;
  --mist: #98A9C4;
  --frost: #DCE3EF;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--abyss);
  color: var(--frost);
  font-family: "Archivo", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  font-stretch: 100%;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; text-decoration-color: var(--steel); }
a:hover { text-decoration-color: var(--frost); }
:focus-visible { outline: 2px solid var(--frost); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

/* light from the top left, as in the palette photograph */
.light {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.light::before {
  content: ""; position: absolute; left: -18%; top: -38%; width: 90vw; height: 90vw; max-width: 1100px; max-height: 1100px;
  background: radial-gradient(closest-side, rgba(152,169,196,0.20), rgba(83,102,132,0.08) 45%, rgba(17,21,34,0) 75%);
}

/* header */
.top { position: relative; z-index: 2; }
.nav { display: flex; align-items: center; justify-content: space-between; height: 76px; }
.mark { font-weight: 700; font-stretch: 125%; font-size: 20px; letter-spacing: 0.04em; text-decoration: none; }
.nav ul { display: flex; gap: 32px; list-style: none; }
.nav ul a { color: var(--mist); text-decoration: none; font-size: 15px; }
.nav ul a:hover { color: var(--frost); }

/* hero */
.hero { position: relative; }
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.85fr); gap: 64px; align-items: center;
  padding-top: 72px; padding-bottom: 120px;
}
h1 {
  font-stretch: 112%; font-weight: 620; letter-spacing: -0.025em;
  font-size: clamp(38px, 5vw, 68px); line-height: 1.03;
}
.lead { color: var(--mist); font-size: clamp(17px, 1.6vw, 19px); max-width: 34em; margin-top: 28px; }
.actions { margin-top: 40px; display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 15px 28px; border-radius: 999px;
  background: var(--frost); color: var(--abyss); text-decoration: none; font-weight: 600; font-size: 15px;
  box-shadow: inset 0 -2px 0 rgba(17,21,34,0.12);
}
.btn:hover { background: #fff; }
.quiet { color: var(--mist); font-size: 15px; }

/* the stack: six capsules, the palette itself, darkest at the back */
.stack { position: relative; display: flex; flex-direction: column; padding-top: 8px; }
.layer {
  position: relative; height: 112px; border-radius: 999px; margin-top: -56px;
  display: flex; align-items: flex-start; padding: 22px 0 0 44px;
  font-size: 15px; font-weight: 500; font-stretch: 108%; letter-spacing: 0.01em;
  box-shadow:
    0 18px 30px -12px rgba(5, 8, 16, 0.85),
    inset 0 1px 0 rgba(255,255,255,0.08);
  animation: settle 700ms cubic-bezier(.2,.7,.2,1) both;
}
.layer:first-child { margin-top: 0; }
.layer span { display: flex; gap: 14px; align-items: baseline; }
.layer small { font-size: 12px; opacity: 0.7; font-weight: 400; }
.l1 { background: linear-gradient(160deg, #161b2b, var(--abyss) 60%); color: var(--mist); animation-delay: 0ms; }
.l2 { background: linear-gradient(160deg, #242e47, var(--deep) 60%); color: var(--mist); animation-delay: 80ms; }
.l3 { background: linear-gradient(160deg, #394869, var(--slate) 60%); color: var(--frost); animation-delay: 160ms; }
.l4 { background: linear-gradient(160deg, #61759a, var(--steel) 60%); color: var(--frost); animation-delay: 240ms; }
.l5 { background: linear-gradient(160deg, #a9b8d0, var(--mist) 60%); color: var(--abyss); animation-delay: 320ms; }
.l6 { background: linear-gradient(160deg, #eef2f8, var(--frost) 60%); color: var(--abyss); animation-delay: 400ms; height: 150px; }
@keyframes settle { from { opacity: 0; transform: translateY(-22px); } to { opacity: 1; transform: none; } }

/* what we do: one row per pair of layers */
.band { border-top: 1px solid var(--slate); padding: 104px 0; }
h2 { font-stretch: 112%; font-weight: 600; font-size: clamp(30px, 3.6vw, 44px); letter-spacing: -0.015em; line-height: 1.1; }
.intro { color: var(--mist); max-width: 36em; margin-top: 16px; }
.rows { margin-top: 64px; border-top: 1px solid var(--slate); }
.row {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) minmax(0, 1.1fr); gap: 32px; align-items: baseline;
  padding: 36px 0; border-bottom: 1px solid var(--slate);
}
.swatch { display: inline-flex; flex-direction: column; gap: 4px; transform: translateY(2px); }
.swatch i { display: block; width: 28px; height: 10px; border-radius: 999px; }
.row h3 { font-stretch: 122%; font-weight: 500; font-size: clamp(22px, 2.4vw, 30px); letter-spacing: -0.01em; line-height: 1.15; }
.row p { color: var(--mist); max-width: 34em; }

/* contact */
.contact { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.email {
  font-stretch: 125%; font-weight: 500; font-size: clamp(26px, 4.4vw, 56px); letter-spacing: -0.02em;
  text-decoration: none; border-bottom: 1px solid var(--steel); padding-bottom: 6px; line-height: 1.1;
  overflow-wrap: anywhere;
}
.email:hover { border-color: var(--frost); }

/* legal pages */
.doc { padding: 56px 0 104px; position: relative; }
.doc .wrap { max-width: 800px; }
.doc h1 { font-size: clamp(34px, 4.8vw, 52px); }
.updated { color: var(--mist); font-size: 15px; margin: 12px 0 56px; }
.doc h2 { font-size: 21px; font-stretch: 110%; margin: 44px 0 12px; letter-spacing: 0; }
.doc p, .doc li { color: var(--mist); margin-bottom: 12px; max-width: 40em; }
.doc ul { padding-left: 22px; }
.doc strong { color: var(--frost); font-weight: 600; }
.box { background: var(--deep); border: 1px solid var(--slate); border-radius: 20px; padding: 24px 28px; margin: 20px 0; }
.box p:last-child { margin-bottom: 0; }

/* footer */
footer { border-top: 1px solid var(--slate); padding: 40px 0 56px; color: var(--mist); font-size: 14px; }
.foot { display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 24px; }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; padding-top: 40px; padding-bottom: 88px; gap: 64px; }
  .row { grid-template-columns: 28px 1fr; gap: 12px 20px; }
  .row p { grid-column: 2; }
  .contact { grid-template-columns: 1fr; }
  .band { padding: 80px 0; }
}
@media (max-width: 520px) {
  .nav ul { gap: 20px; }
  .layer { height: 92px; margin-top: -46px; padding: 18px 0 0 28px; font-size: 14px; }
  .l6 { height: 120px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .layer { animation: none; }
}
