/* lumennyc.studio tokens. Every colour, size, space and timing on the site comes from here.
   World: first light over a working neighbourhood. Dawn sky, indigo-navy ground, one amber. */

@font-face {
  font-family: "Sora";
  src: url("/assets/sora.woff2") format("woff2-variations"),
       url("/assets/sora.woff2") format("woff2");
  font-weight: 400 800;
  font-style: normal;
  font-display: swap;
}

:root {
  /* ground */
  --ink: #0D1222;
  --navy: #151A2D;
  --navy-2: #1F2540;
  --navy-3: #2B3256;
  --paper: #FFFFFF;
  --paper-2: #F4F6FB;

  /* amber, the only accent */
  --amber: #E8A743;
  --amber-hi: #F4C26B;
  --amber-lo: #C4831F;
  --amber-ink: #8A5606;
  --amber-deep: #B26500;
  --amber-wash: rgb(232 167 67 / 0.2);
  --alert-wash: rgb(213 70 58 / 0.14);

  /* text */
  --on-dark: #FFFFFF;
  --on-dark-2: #B9C0D6;
  --on-light: #151A2D;
  --on-light-2: #4A5068;

  /* signals inside the demos */
  --ok: #157A4C;
  --ok-wash: rgb(31 157 99 / 0.14);
  --ok-hi: #62D6A2;
  --alert-hi: #FF9A8F;
  --star-off: #D5D9E4;
  --alert: #B93327;

  /* dawn sky */
  --sky-1: #E9F0F9;
  --sky-2: #F8F1E6;
  --sky-3: #FCDCAA;
  --sky-4: #F3B25A;
  --sun-core: rgb(255 246 222 / 0.96);
  --sun-mid: rgb(250 205 122 / 0.5);
  --haze: rgb(21 26 45 / 0.3);

  /* lines and glass */
  --line-dark: rgb(255 255 255 / 0.12);
  --line-light: rgb(21 26 45 / 0.12);
  --line-amber: rgb(21 26 45 / 0.22);
  --glass-light: rgb(255 255 255 / 0.74);
  --glass-light-line: rgb(255 255 255 / 0.85);
  --glass-dark: rgb(21 26 45 / 0.8);
  --glass-dim: rgb(255 255 255 / 0.06);
  --scrim-card: linear-gradient(180deg, rgb(13 18 34 / 0.72) 0%, rgb(13 18 34 / 0) 24%, rgb(13 18 34 / 0) 46%, rgb(13 18 34 / 0.97) 72%, rgb(13 18 34) 100%);
  --scrim: rgb(13 18 34 / 0.42);
  --ring-amber: rgb(232 167 67 / 0.45);
  --scrim-spot: radial-gradient(closest-side, rgb(13 18 34 / 0.62), rgb(13 18 34 / 0) 100%);
  --blur-glass: blur(16px) saturate(1.5);

  /* type: six sizes, no others */
  --font: "Sora", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  --fs-display: clamp(2rem, 0.2rem + 9vw, 5.25rem);
  --fs-h2: clamp(2rem, 1.42rem + 2.4vw, 3.5rem);
  --fs-h3: clamp(1.375rem, 1.2rem + 0.72vw, 1.875rem);
  --fs-lead: clamp(1.125rem, 1.06rem + 0.28vw, 1.3125rem);
  --fs-body: 1rem;
  --fs-small: 0.875rem;

  --lh-tight: 1.04;
  --lh-head: 1.12;
  --lh-body: 1.6;
  --lh-label: 1.3;
  --track-display: -0.04em;
  --track-head: -0.03em;
  --track-label: 0.01em;
  --track-caps: 0.12em;
  --word-display: 0.07em;

  --w-regular: 400;
  --w-medium: 600;
  --w-bold: 700;
  --w-heavy: 800;

  /* space */
  --sp-1: 0.25rem;
  --sp-2: 0.5rem;
  --sp-3: 0.75rem;
  --sp-4: 1rem;
  --sp-5: 1.5rem;
  --sp-6: 2rem;
  --sp-7: 3rem;
  --sp-8: 4rem;
  --sp-9: 6rem;
  --sp-10: 8rem;

  --gutter: clamp(1rem, 0.4rem + 2.6vw, 2.5rem);
  --wrap: 80rem;
  --measure: 34rem;
  --measure-wide: 46rem;
  --tap: 3rem;
  --tap-lg: 3.75rem;
  --bar-h: 4rem;
  --bar-top: var(--sp-2);
  --icon: 1.125rem;
  --icon-tile: 2.25rem;
  --brand-h: 1.875rem;
  --logo-key: 1.25px;
  --sheen-travel: 685px;
  --dot: 0.5rem;
  --avatar: 2.5rem;
  --handset-w: clamp(5.75rem, 25%, 9.5rem);
  --ph-w: 15.5rem;
  --ph-h: 31rem;
  --ph-status: 2.25rem;
  --stage-h: 27rem;
  --stage-top: var(--sp-8);
  --scene-cut: calc(var(--ph-h) + var(--stage-top) - var(--stage-h) + var(--tap) + var(--sp-4));
  --tool-y: var(--sp-8);
  --map-h: 4.5rem;
  --orbit: 18.5rem;
  --orbit-r: calc(var(--orbit) / 2 - 2.5rem);
  --orbit-core: 4.5rem;
  --who: 3.75rem;
  --cal-h: 80rem;
  --book-w: 62rem;
  --field-h: 3.25rem;
  --check: 1.5rem;
  --grid-step: 1.125rem;
  --sec-y: var(--sp-8);
  --lift: -0.375rem;

  /* shape */
  --r-sm: 0.625rem;
  --r-md: 0.875rem;
  --r-lg: 1.25rem;
  --r-xl: 1.75rem;
  --r-pill: 999px;
  --hair: 1px;
  --rule: 2px;
  --focus-w: 3px;

  /* depth: every shadow has an offset and a blur */
  --shadow-chip: 0 10px 28px -10px rgb(13 18 34 / 0.38), 0 2px 6px -2px rgb(13 18 34 / 0.18);
  --shadow-bar: 0 12px 32px -18px rgb(13 18 34 / 0.45);
  --shadow-frame: 0 50px 90px -40px rgb(13 18 34 / 0.7), 0 18px 36px -18px rgb(13 18 34 / 0.45);
  --shadow-btn: 0 14px 26px -14px rgb(160 100 12 / 0.85);
  --shadow-card: 0 30px 50px -30px rgb(0 0 0 / 0.7);
  --shadow-ph: 0 40px 60px -30px rgb(0 0 0 / 0.75), 0 0 0 1px rgb(255 255 255 / 0.08);
  --demo-fill: linear-gradient(160deg, var(--navy-3), var(--navy-2));
  --demo-fill-amber: linear-gradient(160deg, var(--amber-hi), var(--amber));
  --map-lines: linear-gradient(var(--paper) 0 0) 0 38% / 100% var(--rule) no-repeat, linear-gradient(var(--paper) 0 0) 0 72% / 100% var(--rule) no-repeat, linear-gradient(var(--paper) 0 0) 30% 0 / var(--rule) 100% no-repeat, linear-gradient(var(--paper) 0 0) 68% 0 / var(--rule) 100% no-repeat;
  --key-edge-ink: inset 0 -3px 0 var(--ink);
  --key-top: inset 0 1px 0 rgb(255 255 255 / 0.4);
  --key-edge: inset 0 -3px 0 var(--amber-lo);
  --key-edge-down: inset 0 -1px 0 var(--amber-lo);

  /* hero geometry */
  --hero-top: 7.25rem;
  --reel-w: 70rem;
  --skyline-h: clamp(3.25rem, 1.4rem + 7.6vw, 10.5rem);
  --ground-h: clamp(1.5rem, -3.2rem + 19vw, 12.5rem);
  --sun-size: min(118vw, 62rem);
  --play: 4.75rem;

  /* motion */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --t-fast: 0.2s;
  --t-mid: 0.45s;
  --t-slow: 0.9s;
  --t-rise: 1.1s;
  --t-sun: 2.4s;
  --t-bob: 6s;
  --t-breathe: 9s;
  --t-ping: 2.2s;
  --t-orbit: 56s;
  --step: 0.07s;
  --bob: 0.5rem;
  --rise: 1.75rem;
  --rise-word: 0.45em;
  --blur-in: blur(10px);
  --d-pill: 0.05s;
  --d-words: 0.15s;
  --d-sub: 0.8s;
  --d-act: 0.95s;
  --d-reel: 1.05s;
  --d-chips: 1.75s;
  --d-lit: 1.3s;
  --lit-step: 0.16s;
  --t-sheen: 1.3s;
  --d-sheen: 1.5s;

  /* layers */
  --z-sky: 0;
  --z-ground: 1;
  --z-content: 2;
  --z-chip: 3;
  --z-rail: 40;
  --z-bar: 50;
  --z-skip: 60;
}

@media (min-width: 24rem) {
  :root { --brand-h: 2.125rem; }
}

@media (min-width: 44rem) {
  :root { --cal-h: 62.5rem; }
}

@media (min-width: 48rem) {
  :root {
    --bar-h: 4.5rem;
    --bar-top: var(--sp-4);
    --hero-top: 9.5rem;
    --play: 5.75rem;
    --brand-h: 2.75rem;
    --sec-y: var(--sp-9);
    --stage-h: 29rem;
    --orbit: 25rem;
    --orbit-core: 6rem;
    --tool-y: var(--sp-10);
  }
}

@media (min-width: 56.25rem) {
  :root { --cal-h: 51.25rem; }
}
