/* globals.css — converted from src/app/globals.css
 *
 * Two substitutions, both forced by licensing (see ../_licenses/19-oreana):
 *   PP Neue Montreal (Pangram Pangram, all rights reserved) -> Archivo
 *   GT America Mono *Trial* (Grilli Type)                   -> Geist Mono
 * Both replacements are SIL OFL and self-hosted. The family names below are the
 * ones the rest of the stylesheets ask for, so a later swap only touches here.
 */

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin.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;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/archivo-latin-ext.woff2") format("woff2");
  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: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geistmono-latin.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;
}

@font-face {
  font-family: "Geist Mono";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/geistmono-latin-ext.woff2") format("woff2");
  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;
}

:root {
  --color-amber-yellow: #ffc32a;
  --color-surface-black: #080808;
  --color-medium-grey: #242424;
  --color-mid-grey: #999999;
  --color-pure-black: #000000;
  --color-pure-white: #ffffff;
  --color-warm-off-white: #fdfdf9;
  --color-dark-charcoal: #171717;
  --color-primary: var(--color-amber-yellow);
  --color-text: var(--color-amber-yellow);
  --color-background: var(--color-surface-black);

  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

  --radius-sm: 7px;
  --radius-md: 15px;
  --radius-lg: 27px;

  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 30px;
  --space-2xl: 36px;
  --space-3xl: 48px;
  --space-4xl: 64px;
  --space-section: 100px;
  --space-column: 128px;
  --space-pane: 200px;
  --space-content-max: 428px;
  --space-wide-col: 756px;

  --container-max: 2000px;
  --container-pad: var(--space-4xl);
  --cols: 12;
  --cols-gap: var(--space-xl);

  --ease-power1-in-out: cubic-bezier(0.37, 0, 0.63, 1);
  --ease-power2-out: cubic-bezier(0.8, 0, 0.2, 1);
  --ease-power3-out: cubic-bezier(0.76, -0.18, 0.38, 1);
  --ease-power4-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-power4-in-out: cubic-bezier(0.87, 0, 0.13, 1);
  --ease-hop: cubic-bezier(0.75, 0, 0.1, 1);
}

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

* {
  -webkit-tap-highlight-color: transparent;
  user-select: none;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

*::-webkit-scrollbar {
  display: none;
}

html,
body {
  background-color: var(--color-background);
  color: var(--color-text);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: clamp(0.9rem, 0.2vw + 0.9rem, 1rem);
  line-height: 1.1;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2rem, 4vw + 1rem, 3.5rem);
}

h2 {
  font-size: clamp(1.75rem, 3vw + 0.85rem, 2.5rem);
}

h3 {
  font-size: clamp(1.5rem, 1.5vw + 0.85rem, 1.75rem);
}

h4 {
  font-size: clamp(1.25rem, 1vw + 0.85rem, 1.45rem);
  letter-spacing: -0.01em;
}

h5 {
  font-size: clamp(1rem, 0.5vw + 0.9rem, 1.25rem);
  letter-spacing: -0.01em;
}

h6 {
  font-size: clamp(0.9rem, 0.2vw + 0.9rem, 1rem);
  letter-spacing: -0.01em;
}

p {
  font-family: var(--font-sans);
  font-size: clamp(1rem, 0.2vw + 0.9rem, 1.25rem);
  font-weight: 400;
  color: var(--color-text);
  line-height: 1.35;
  letter-spacing: -0.0025em;
}

a {
  font-family: inherit;
  font-size: inherit;
  font-weight: inherit;
  color: var(--color-primary);
  line-height: 1.35;
  text-decoration: none;
  letter-spacing: 0;
}

.mono {
  font-family: var(--font-mono);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0;
}

.mono-sm {
  font-family: var(--font-mono);
  font-weight: 400;
  font-size: clamp(0.7rem, 0.2vw + 0.35rem, 0.8rem);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding: 2.75rem;
}

.cols {
  display: grid;
  grid-template-columns: repeat(var(--cols), minmax(0, 1fr));
  gap: var(--cols-gap);
}

.col-1 { grid-column: span 1; }
.col-2 { grid-column: span 2; }
.col-3 { grid-column: span 3; }
.col-4 { grid-column: span 4; }
.col-5 { grid-column: span 5; }
.col-6 { grid-column: span 6; }
.col-7 { grid-column: span 7; }
.col-8 { grid-column: span 8; }
.col-9 { grid-column: span 9; }
.col-10 { grid-column: span 10; }
.col-11 { grid-column: span 11; }
.col-12 { grid-column: span 12; }

@media (max-width: 1000px) {
  .cols {
    grid-template-columns: 1fr;
  }

  .col-1,
  .col-2,
  .col-3,
  .col-4,
  .col-5,
  .col-6,
  .col-7,
  .col-8,
  .col-9,
  .col-10,
  .col-11,
  .col-12 {
    grid-column: span 1;
  }
}

/* The page-transition panel. The source drove this through the View
   Transitions API, which only animates same-document navigations; a static
   multi-page site drives the same panel by hand in js/transition.js. */
.revealer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100svh;
  transform: scaleY(0);
  transform-origin: center top;
  background-color: var(--color-amber-yellow);
  pointer-events: none;
  z-index: 40;
}

@media (max-width: 1000px) {
  .container {
    padding: 2rem;
  }
}
