/* Deepfield site styles. Fonts self-hosted (SIL OFL; licenses in /fonts). */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter-tight.woff2") format("woff2");
}
@font-face {
  font-family: Inter;
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("/fonts/inter.woff2") format("woff2");
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body { margin: 0; }
/* Layout: Swiss grid, left-aligned. A narrow label column and a wide content column,
   floating on a fixed star field that moves behind the whole page. Single dark look by design (R2 Black & Blue). */
:root {
  --bg: #0B0B0C;        /* Black */
  --fg: #FFFFFF;        /* White */
  --fg-2: #D6D8DC;      /* body text on black */
  --silver: #9A9DA4;    /* second text, 7.2:1 on black */
  --blue: #3355FF;      /* Deepfield blue: logo square, large marks */
  --link: #6E88FF;      /* small text and links on black, 6.2:1 */
  --line: #26272B;      /* dividers */
  --panel: rgba(20, 20, 22, 0.9);
  --display: "Inter Tight", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --text: Inter, "Helvetica Neue", Helvetica, Arial, sans-serif;
  color-scheme: dark;
}
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#sky {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  display: block;
  z-index: 0;
  pointer-events: none;
}
.page {
  position: relative;
  z-index: 1;
  max-width: 1240px;
  margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px));
  padding-right: max(16px, env(safe-area-inset-right, 0px));
}
.wrap { padding-inline: clamp(0px, 3vw, 40px); }

/* Hero */
.hero { padding-block: clamp(96px, 18vh, 210px) clamp(64px, 11vh, 128px); }
.mark {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(64px, 14vw, 188px);
  line-height: 0.9;
  letter-spacing: -0.05em;
  display: flex;
  flex-direction: column;
}
.mark .w1 { font-weight: 800; color: var(--fg); }
.mark .w2 { font-weight: 400; color: var(--silver); }
.sq {
  display: inline-block;
  width: 0.18em;
  height: 0.18em;
  margin-left: 0.08em;
  background: var(--blue);
}
.lede {
  margin: clamp(32px, 5vw, 56px) 0 0;
  max-width: 30ch;
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1.38;
  letter-spacing: -0.005em;
  color: var(--fg);
}

/* Sections */
.block {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 24px clamp(24px, 4vw, 64px);
  padding-block: clamp(48px, 8vw, 104px);
  border-top: 1px solid var(--line);
}
.label {
  margin: 0;
  padding-top: 0.45em;
  font: 600 12px/1.4 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}
.cols { display: grid; gap: clamp(28px, 4vw, 56px); }
.cols.two { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.cols.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.item { min-width: 0; }
.item h3 {
  margin: 0 0 10px;
  font: 600 clamp(20px, 1.9vw, 24px)/1.2 var(--display);
  letter-spacing: -0.015em;
  color: var(--fg);
  text-wrap: balance;
}
.item p { margin: 0; max-width: 42ch; color: var(--fg-2); }

.story {
  margin: 0;
  max-width: 46ch;
  font-size: clamp(19px, 1.8vw, 22px);
  line-height: 1.5;
  color: var(--fg);
}
.facts {
  margin: clamp(32px, 4vw, 44px) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px 24px;
}
.facts div { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.facts dt {
  font: 600 11px/1.4 var(--text);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--silver);
}
.facts dd {
  margin: 0;
  font: 500 16px/1.35 var(--display);
  font-variant-numeric: tabular-nums;
  color: var(--fg);
}
.source { margin: 20px 0 0; font-size: 13px; color: var(--silver); }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { color: var(--fg); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; }

footer {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 9fr);
  gap: 12px clamp(24px, 4vw, 64px);
  padding-block: 40px 64px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  line-height: 1.55;
  color: var(--silver);
}
footer p { margin: 0; max-width: 72ch; }
footer .copy { color: var(--fg-2); }

.foot-left { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.motion-btn {
  appearance: none;
  -webkit-appearance: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: 500 13px/1.4 var(--text);
  color: var(--silver);
  text-decoration: underline;
  text-decoration-color: var(--line);
  text-underline-offset: 3px;
  cursor: pointer;
}
.motion-btn:hover { color: var(--fg); text-decoration-color: var(--silver); }

@media (max-width: 760px) {
  .block, footer { grid-template-columns: minmax(0, 1fr); }
  .cols.two, .cols.three { grid-template-columns: minmax(0, 1fr); }
  .facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Holding page (logo only, Dec 2026): wordmark centered on the star field, contact line, pause control. */
.holding {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 3vw, 32px);
  padding: 24px max(16px, env(safe-area-inset-left, 0px));
  text-align: center;
}
.holding .mark { font-size: clamp(56px, 12vw, 168px); align-items: center; }
.holding .contact { margin: 0; font: 400 15px/1.4 var(--text); letter-spacing: 0.01em; }
.holding .contact a { color: var(--silver); text-decoration: none; }
.holding .contact a:hover { color: var(--fg); text-decoration: underline; }
.holding-foot {
  position: fixed;
  z-index: 1;
  left: 0; right: 0;
  bottom: max(16px, env(safe-area-inset-bottom, 0px));
  display: flex;
  justify-content: center;
}
