/* Absurdismus design system v0.1
   One rule: gold is the boulder. It marks the single thing that matters on a screen. */

/* Fonts are self-hosted (SIL Open Font License): no visitor data goes to Google. */
@font-face { font-family: "Marcellus SC"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/marcellus-sc-latin-400.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: "Marcellus SC"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/marcellus-sc-latin-ext-400.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: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/marcellus-latin-400.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: "Marcellus"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/marcellus-latin-ext-400.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: "IBM Plex Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-300.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: "IBM Plex Sans"; font-style: normal; font-weight: 300; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-ext-300.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-400.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: "IBM Plex Sans"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-ext-400.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-500.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: "IBM Plex Sans"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-sans-latin-ext-500.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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-400.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: "IBM Plex Mono"; font-style: normal; font-weight: 400; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-ext-400.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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-500.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: "IBM Plex Mono"; font-style: normal; font-weight: 500; font-display: swap; src: url("assets/fonts/ibm-plex-mono-latin-ext-500.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 {
  /* colour */
  --ink: #0B0A0D;
  --stone: #16141A;
  --line: #2B2830;
  --bone: #EDE6DA;
  --ash: #9A9289;
  --gold: #C9A24A;
  --gold-hi: #E0BE6A;
  --dusk: #2A1B40;
  --ember: #C2564A;
  --moss: #7FA37A;

  /* type */
  --display: "Marcellus SC", "Times New Roman", serif; /* wordmark, labels, short lines */
  --serif: "Marcellus", "Times New Roman", serif;       /* sentences: statements, quotes */
  --sans: "IBM Plex Sans", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --t-xs: 0.75rem;
  --t-sm: 0.875rem;
  --t-md: 1rem;
  --t-lg: 1.25rem;
  --t-xl: 1.5625rem;
  --t-2xl: 1.953rem;
  --t-3xl: clamp(2.1rem, 6vw, 3.8rem);

  /* space: 8px grid */
  --s1: 0.5rem;
  --s2: 1rem;
  --s3: 1.5rem;
  --s4: 2rem;
  --s6: 3rem;
  --s8: 4rem;

  /* shape and motion: carved stone, things settle with weight */
  --radius: 2px;
  --hair: 1px solid var(--line);
  --ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --slow: 600ms;
}

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

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--bone);
  font: 300 var(--t-md)/1.6 var(--sans);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; }

::selection { background: var(--gold); color: var(--ink); }

:focus-visible { outline: 1px solid var(--gold); outline-offset: 4px; }

/* ---------- wordmark: crossbar-less A, gold dot over the I ---------- */
.wordmark {
  font-family: var(--display);
  font-weight: 400;
  letter-spacing: 0.32em;
  margin-right: -0.32em; /* optical centring: tracking adds space after the last letter */
  line-height: 1;
  white-space: nowrap;
}
.wordmark .a { display: inline-block; transform: rotate(180deg); }
.wordmark .i { position: relative; display: inline-block; }
.wordmark .i::before {
  content: "";
  position: absolute;
  left: 50%;
  top: -0.3em;
  width: 0.11em;
  height: 0.11em;
  margin-left: -0.055em;
  border-radius: 50%;
  background: var(--gold);
}
.wordmark.no-dot .i::before { display: none; }

/* ---------- text ---------- */
.eyebrow {
  font: 400 var(--t-xs)/1 var(--display);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}
.tagline {
  font-family: var(--display);
  letter-spacing: 0.18em;
  color: var(--gold);
}
.muted { color: var(--ash); }
.mono { font-family: var(--mono); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6em;
  min-height: 48px;
  padding: 0 var(--s3);
  border: 1px solid var(--bone);
  border-radius: var(--radius);
  background: transparent;
  color: var(--bone);
  font: 400 var(--t-sm)/1 var(--sans);
  letter-spacing: 0.08em;
  text-decoration: none;
  cursor: pointer;
  transition: background var(--slow) var(--ease), color var(--slow) var(--ease), border-color var(--slow) var(--ease);
}
.btn:hover { border-color: var(--gold); color: var(--gold); }
.btn svg { width: 18px; height: 18px; flex: none; }

/* the boulder: one per screen */
.btn--gold { background: var(--gold); border-color: var(--gold); color: var(--ink); font-weight: 500; }
.btn--gold:hover { background: var(--gold-hi); border-color: var(--gold-hi); color: var(--ink); }

.btn--quiet { border-color: var(--line); }

.btn[aria-disabled="true"] { border-color: var(--line); color: var(--ash); cursor: default; }
.btn[aria-disabled="true"]:hover { border-color: var(--line); color: var(--ash); }

.soon {
  font: 400 0.625rem/1 var(--sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 3px 6px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ash);
}

/* tooltip voice: hover/focus reveals a line of microcopy */
[data-say] { position: relative; }
[data-say]::after {
  content: attr(data-say);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 4px);
  white-space: nowrap;
  padding: 6px 10px;
  background: var(--stone);
  border: var(--hair);
  border-radius: var(--radius);
  color: var(--bone);
  font: 300 var(--t-xs)/1.2 var(--sans);
  letter-spacing: 0.02em;
  opacity: 0;
  pointer-events: none;
  transition: opacity 300ms var(--ease), transform 300ms var(--ease);
}
[data-say]:hover::after, [data-say]:focus-visible::after { opacity: 1; transform: translate(-50%, 0); }

.hairline { height: 1px; background: var(--line); border: 0; margin: 0; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
