/* Aldovar home. Floodlight tokens, dark theme only: the apex is the
   umbrella's big screen. Source of truth for the values is the Floodlight
   design system (project/tokens.json); keep these in step with it. */

@font-face {
  font-family: "Big Shoulders Display";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url(/fonts/big-shoulders-display-latin-wght-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;
}

@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/fonts/ibm-plex-sans-latin-600-normal.woff2) format("woff2");
  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 {
  --ground: #0b0e14;
  --surface: #151a23;
  --ink: #f3f5f8;
  --hairline: #263040;
  --live: #3ddc84;
  --font-display: "Big Shoulders Display", "Arial Narrow", sans-serif;
  --font-body: "IBM Plex Sans", system-ui, sans-serif;
  --space-6: 24px;
  --space-8: 32px;
  --space-16: 64px;
  --radius-panel: 14px;
  --content-width: 1200px;
  --gutter: 16px;
  --target: 44px;
  --motion-quick: 120ms ease;
}

@media (min-width: 768px) {
  :root { --gutter: 32px; }
}

*, *::before, *::after { box-sizing: border-box; }

html { background: var(--ground); }

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--ground);
  color: var(--ink);
  font-family: var(--font-body);
  font-variant-numeric: tabular-nums;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--ink); }

.top {
  display: flex;
  align-items: center;
  padding: var(--gutter);
  min-height: var(--target);
}

.wordmark {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 22px;
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 11px 0;
}

@media (min-width: 768px) {
  .wordmark { font-size: 26px; }
}

.panels {
  flex: 1 1 auto;
  width: 100%;
  max-width: var(--content-width);
  margin: 0 auto;
  padding: 0 var(--gutter) var(--space-16);
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
  align-content: center;
}

@media (min-width: 768px) {
  .panels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.panel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-6);
  padding: 0 0 var(--space-6);
  background: var(--surface);
  border: 2px solid var(--hairline);
  border-radius: var(--radius-panel);
  overflow: hidden;
  text-decoration: none;
  transition: border-color var(--motion-quick);
}

.panel:hover,
.panel:focus-visible { border-color: var(--live); }

.panel:focus-visible {
  outline: 2px solid var(--live);
  outline-offset: 2px;
}

/* A capture of the app itself at 16:9, edge to edge inside the border, with
   a hairline under it so the dark big-screen capture still reads as a
   window on the dark surface. */
.shot {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-bottom: 1px solid var(--hairline);
  background: var(--ground);
}

.name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 40px;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  white-space: nowrap;
}

@media (min-width: 768px) {
  .name { font-size: 48px; }
}

@media (prefers-reduced-motion: reduce) {
  .panel { transition: none; }
}
