/* ============================================================
   Staven Almanac — css/style.css
   Prebuilt Tailwind v4.1.5 utility output
   Design: Documentary/Archive (K_FAMILY=7)
   Palette: Deep Dark #0d0f0e / #0a0c0b / #080a09
   Accent: Near-neutral charcoal #b5b0a6 (K_HUE=7)
   Fonts: Space Grotesk 700 (display) + Space Mono 400 (body)
   ============================================================ */

@import "https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Space+Mono:wght@400&display=swap";

/* ── 1. THEME TOKENS ────────────────────────────────────────── */
@theme {
  --color-bg-primary:    #0d0f0e;
  --color-bg-secondary:  #0a0c0b;
  --color-bg-deep:       #080a09;
  --color-ink-primary:   #e8e4dc;
  --color-ink-muted:     #6b6b63;
  --color-ink-faint:     #3a3a36;
  --color-ink-ghost:     #1e201e;
  --color-accent:        #b5b0a6;
  --color-accent-dim:    #4a4a42;
  --color-accent-hover:  #d4d0c8;

  --font-display: 'Space Grotesk', sans-serif;
  --font-body:    'Space Mono', monospace;

  --radius-none:  0px;
  --radius-sm:    2px;
  --shadow-hard:  4px 4px 0px #b5b0a6;
  --shadow-inner: inset 0 1px 0 rgba(232,228,220,0.06);
}

/* ── 2. BASE RESET ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background-color: #0d0f0e;
  color: #e8e4dc;
}

body {
  margin: 0;
  font-family: 'Space Mono', monospace;
  font-size: 14px;
  line-height: 1.6;
  background-color: #0d0f0e;
  color: #e8e4dc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { margin: 0; font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
p { margin: 0; }
address { font-style: normal; }
button { cursor: pointer; background: none; border: none; padding: 0; font: inherit; color: inherit; }
input, textarea, select { font: inherit; }

/* ── 3. TYPOGRAPHY UTILITIES ────────────────────────────────── */
.font-display   { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.font-mono      { font-family: 'Space Mono', monospace; }
.font-body      { font-family: 'Space Mono', monospace; }
.font-bold      { font-weight: 700; }
.font-semibold  { font-weight: 600; }
.font-medium    { font-weight: 500; }
.font-normal    { font-weight: 400; }

.text-xs    { font-size: 0.75rem;  line-height: 1rem; }
.text-sm    { font-size: 0.875rem; line-height: 1.25rem; }
.text-base  { font-size: 1rem;     line-height: 1.5rem; }
.text-lg    { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl    { font-size: 1.25rem;  line-height: 1.75rem; }
.text-2xl   { font-size: 1.5rem;   line-height: 2rem; }
.text-3xl   { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl   { font-size: 2.25rem;  line-height: 2.5rem; }
.text-5xl   { font-size: 3rem;     line-height: 1; }
.text-6xl   { font-size: 3.75rem;  line-height: 1; }
.text-7xl   { font-size: 4.5rem;   line-height: 1; }
.text-8xl   { font-size: 6rem;     line-height: 1; }
.text-9xl   { font-size: 8rem;     line-height: 1; }

.leading-none    { line-height: 1; }
.leading-tight   { line-height: 1.25; }
.leading-snug    { line-height: 1.375; }
.leading-normal  { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose   { line-height: 2; }
.leading-6       { line-height: 1.5rem; }
.leading-7       { line-height: 1.75rem; }
.leading-8       { line-height: 2rem; }

.tracking-tighter  { letter-spacing: -0.05em; }
.tracking-tight    { letter-spacing: -0.025em; }
.tracking-normal   { letter-spacing: 0em; }
.tracking-wide     { letter-spacing: 0.025em; }
.tracking-wider    { letter-spacing: 0.05em; }
.tracking-widest   { letter-spacing: 0.1em; }
.tracking-\[0\.15em\]  { letter-spacing: 0.15em; }
.tracking-\[0\.2em\]   { letter-spacing: 0.2em; }
.tracking-\[0\.25em\]  { letter-spacing: 0.25em; }
.tracking-\[0\.3em\]   { letter-spacing: 0.3em; }

.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-justify { text-align: justify; }

.uppercase    { text-transform: uppercase; }
.lowercase    { text-transform: lowercase; }
.capitalize   { text-transform: capitalize; }
.normal-case  { text-transform: none; }

.italic       { font-style: italic; }
.not-italic   { font-style: normal; }

.underline    { text-decoration: underline; }
.no-underline { text-decoration: none; }
.line-through { text-decoration: line-through; }

.decoration-1         { text-decoration-thickness: 1px; }
.underline-offset-4   { text-underline-offset: 4px; }

.truncate     { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre    { white-space: pre; }
.break-words  { overflow-wrap: break-word; }
.select-none  { user-select: none; }

/* ── 4. COLOR UTILITIES ─────────────────────────────────────── */
.text-\[\#e8e4dc\]  { color: #e8e4dc; }
.text-\[\#d4d0c8\]  { color: #d4d0c8; }
.text-\[\#b5b0a6\]  { color: #b5b0a6; }
.text-\[\#9a9690\]  { color: #9a9690; }
.text-\[\#6b6b63\]  { color: #6b6b63; }
.text-\[\#4a4a42\]  { color: #4a4a42; }
.text-\[\#3a3a36\]  { color: #3a3a36; }
.text-\[\#1e201e\]  { color: #1e201e; }
.text-\[\#0d0f0e\]  { color: #0d0f0e; }
.text-\[\#080a09\]  { color: #080a09; }
.text-white         { color: #ffffff; }
.text-transparent   { color: transparent; }

.bg-\[\#0d0f0e\]    { background-color: #0d0f0e; }
.bg-\[\#0a0c0b\]    { background-color: #0a0c0b; }
.bg-\[\#080a09\]    { background-color: #080a09; }
.bg-\[\#141614\]    { background-color: #141614; }
.bg-\[\#1a1c1a\]    { background-color: #1a1c1a; }
.bg-\[\#1e201e\]    { background-color: #1e201e; }
.bg-\[\#2a2c2a\]    { background-color: #2a2c2a; }
.bg-\[\#3a3a36\]    { background-color: #3a3a36; }
.bg-\[\#4a4a42\]    { background-color: #4a4a42; }
.bg-\[\#b5b0a6\]    { background-color: #b5b0a6; }
.bg-\[\#e8e4dc\]    { background-color: #e8e4dc; }
.bg-\[\#d4d0c8\]    { background-color: #d4d0c8; }
.bg-white           { background-color: #ffffff; }
.bg-transparent     { background-color: transparent; }

.border-\[\#0d0f0e\]          { border-color: #0d0f0e; }
.border-\[\#1e201e\]          { border-color: #1e201e; }
.border-\[\#2a2c2a\]          { border-color: #2a2c2a; }
.border-\[\#3a3a36\]          { border-color: #3a3a36; }
.border-\[\#4a4a42\]          { border-color: #4a4a42; }
.border-\[\#6b6b63\]          { border-color: #6b6b63; }
.border-\[\#b5b0a6\]          { border-color: #b5b0a6; }
.border-\[\#e8e4dc\]          { border-color: #e8e4dc; }
.border-\[\#3a3a36\]\/40      { border-color: rgba(58,58,54,0.4); }
.border-\[\#3a3a36\]\/50      { border-color: rgba(58,58,54,0.5); }
.border-\[\#3a3a36\]\/60      { border-color: rgba(58,58,54,0.6); }
.border-\[\#1e201e\]\/40      { border-color: rgba(30,32,30,0.4); }
.border-white\/20             { border-color: rgba(255,255,255,0.2); }

.fill-\[\#b5b0a6\]  { fill: #b5b0a6; }
.stroke-\[\#3a3a36\] { stroke: #3a3a36; }

/* ── 5. OPACITY ─────────────────────────────────────────────── */
.opacity-0   { opacity: 0; }
.opacity-10  { opacity: 0.10; }
.opacity-20  { opacity: 0.20; }
.opacity-30  { opacity: 0.30; }
.opacity-40  { opacity: 0.40; }
.opacity-50  { opacity: 0.50; }
.opacity-60  { opacity: 0.60; }
.opacity-70  { opacity: 0.70; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.80; }
.opacity-90  { opacity: 0.90; }
.opacity-100 { opacity: 1; }

/* ── 6. LAYOUT — FLEX ───────────────────────────────────────── */
.flex          { display: flex; }
.inline-flex   { display: inline-flex; }
.flex-col      { flex-direction: column; }
.flex-row      { flex-direction: row; }
.flex-wrap     { flex-wrap: wrap; }
.flex-nowrap   { flex-wrap: nowrap; }
.flex-1        { flex: 1 1 0%; }
.flex-auto     { flex: 1 1 auto; }
.flex-none     { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow     { flex-grow: 1; }
.items-start   { align-items: flex-start; }
.items-center  { align-items: center; }
.items-end     { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }
.justify-start   { justify-content: flex-start; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around  { justify-content: space-around; }
.self-start   { align-self: flex-start; }
.self-center  { align-self: center; }
.self-end     { align-self: flex-end; }
.self-stretch { align-self: stretch; }

/* ── 7. LAYOUT — GRID ───────────────────────────────────────── */
.grid          { display: grid; }
.inline-grid   { display: inline-grid; }
.grid-cols-1   { grid-template-columns: repeat(1, minmax(0, 1fr)); }
.grid-cols-2   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4   { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-cols-6   { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.grid-cols-12  { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.col-span-1    { grid-column: span 1 / span 1; }
.col-span-2    { grid-column: span 2 / span 2; }
.col-span-3    { grid-column: span 3 / span 3; }
.col-span-4    { grid-column: span 4 / span 4; }
.col-span-full { grid-column: 1 / -1; }
.row-span-2    { grid-row: span 2 / span 2; }

/* ── 8. SPACING — GAP ───────────────────────────────────────── */
.gap-0   { gap: 0; }
.gap-1   { gap: 0.25rem; }
.gap-2   { gap: 0.5rem; }
.gap-3   { gap: 0.75rem; }
.gap-4   { gap: 1rem; }
.gap-5   { gap: 1.25rem; }
.gap-6   { gap: 1.5rem; }
.gap-7   { gap: 1.75rem; }
.gap-8   { gap: 2rem; }
.gap-10  { gap: 2.5rem; }
.gap-12  { gap: 3rem; }
.gap-14  { gap: 3.5rem; }
.gap-16  { gap: 4rem; }
.gap-x-4  { column-gap: 1rem; }
.gap-x-6  { column-gap: 1.5rem; }
.gap-x-8  { column-gap: 2rem; }
.gap-y-2  { row-gap: 0.5rem; }
.gap-y-4  { row-gap: 1rem; }
.gap-y-6  { row-gap: 1.5rem; }
.gap-y-8  { row-gap: 2rem; }

/* ── 9. SPACING — PADDING ───────────────────────────────────── */
.p-0    { padding: 0; }
.p-1    { padding: 0.25rem; }
.p-2    { padding: 0.5rem; }
.p-3    { padding: 0.75rem; }
.p-4    { padding: 1rem; }
.p-5    { padding: 1.25rem; }
.p-6    { padding: 1.5rem; }
.p-7    { padding: 1.75rem; }
.p-8    { padding: 2rem; }
.p-10   { padding: 2.5rem; }
.p-12   { padding: 3rem; }
.px-2   { padding-left: 0.5rem;  padding-right: 0.5rem; }
.px-3   { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4   { padding-left: 1rem;    padding-right: 1rem; }
.px-5   { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6   { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-7   { padding-left: 1.75rem; padding-right: 1.75rem; }
.px-8   { padding-left: 2rem;    padding-right: 2rem; }
.px-10  { padding-left: 2.5rem;  padding-right: 2.5rem; }
.py-0   { padding-top: 0; padding-bottom: 0; }
.py-1   { padding-top: 0.25rem;  padding-bottom: 0.25rem; }
.py-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2   { padding-top: 0.5rem;   padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3   { padding-top: 0.75rem;  padding-bottom: 0.75rem; }
.py-3\.5 { padding-top: 0.875rem; padding-bottom: 0.875rem; }
.py-4   { padding-top: 1rem;     padding-bottom: 1rem; }
.py-5   { padding-top: 1.25rem;  padding-bottom: 1.25rem; }
.py-6   { padding-top: 1.5rem;   padding-bottom: 1.5rem; }
.py-8   { padding-top: 2rem;     padding-bottom: 2rem; }
.py-10  { padding-top: 2.5rem;   padding-bottom: 2.5rem; }
.py-12  { padding-top: 3rem;     padding-bottom: 3rem; }
.py-14  { padding-top: 3.5rem;   padding-bottom: 3.5rem; }
.py-16  { padding-top: 4rem;     padding-bottom: 4rem; }
.py-20  { padding-top: 5rem;     padding-bottom: 5rem; }
.py-24  { padding-top: 6rem;     padding-bottom: 6rem; }
.py-28  { padding-top: 7rem;     padding-bottom: 7rem; }
.py-32  { padding-top: 8rem;     padding-bottom: 8rem; }
.py-36  { padding-top: 9rem;     padding-bottom: 9rem; }
.py-40  { padding-top: 10rem;    padding-bottom: 10rem; }
.pt-0   { padding-top: 0; }
.pt-2   { padding-top: 0.5rem; }
.pt-4   { padding-top: 1rem; }
.pt-6   { padding-top: 1.5rem; }
.pt-8   { padding-top: 2rem; }
.pt-10  { padding-top: 2.5rem; }
.pb-0   { padding-bottom: 0; }
.pb-0\.5 { padding-bottom: 0.125rem; }
.pb-1   { padding-bottom: 0.25rem; }
.pb-2   { padding-bottom: 0.5rem; }
.pb-3   { padding-bottom: 0.75rem; }
.pb-4   { padding-bottom: 1rem; }
.pb-5   { padding-bottom: 1.25rem; }
.pb-6   { padding-bottom: 1.5rem; }
.pb-8   { padding-bottom: 2rem; }
.pl-4   { padding-left: 1rem; }
.pl-5   { padding-left: 1.25rem; }
.pl-6   { padding-left: 1.5rem; }
.pl-8   { padding-left: 2rem; }
.pl-10  { padding-left: 2.5rem; }
.pr-4   { padding-right: 1rem; }
.pr-6   { padding-right: 1.5rem; }
.pr-8   { padding-right: 2rem; }
.pr-12  { padding-right: 3rem; }
.pr-16  { padding-right: 4rem; }

/* ── 10. SPACING — MARGIN ───────────────────────────────────── */
.m-0    { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2   { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4   { margin-left: 1rem;   margin-right: 1rem; }
.my-0   { margin-top: 0; margin-bottom: 0; }
.my-4   { margin-top: 1rem;    margin-bottom: 1rem; }
.my-8   { margin-top: 2rem;    margin-bottom: 2rem; }
.my-12  { margin-top: 3rem;    margin-bottom: 3rem; }
.my-16  { margin-top: 4rem;    margin-bottom: 4rem; }
.mt-0   { margin-top: 0; }
.mt-1   { margin-top: 0.25rem; }
.mt-2   { margin-top: 0.5rem; }
.mt-3   { margin-top: 0.75rem; }
.mt-4   { margin-top: 1rem; }
.mt-6   { margin-top: 1.5rem; }
.mt-8   { margin-top: 2rem; }
.mt-10  { margin-top: 2.5rem; }
.mt-12  { margin-top: 3rem; }
.mt-14  { margin-top: 3.5rem; }
.mt-16  { margin-top: 4rem; }
.mt-20  { margin-top: 5rem; }
.mt-24  { margin-top: 6rem; }
.mb-0   { margin-bottom: 0; }
.mb-1   { margin-bottom: 0.25rem; }
.mb-2   { margin-bottom: 0.5rem; }
.mb-3   { margin-bottom: 0.75rem; }
.mb-4   { margin-bottom: 1rem; }
.mb-5   { margin-bottom: 1.25rem; }
.mb-6   { margin-bottom: 1.5rem; }
.mb-7   { margin-bottom: 1.75rem; }
.mb-8   { margin-bottom: 2rem; }
.mb-10  { margin-bottom: 2.5rem; }
.mb-12  { margin-bottom: 3rem; }
.mb-14  { margin-bottom: 3.5rem; }
.mb-16  { margin-bottom: 4rem; }
.mb-20  { margin-bottom: 5rem; }
.ml-0   { margin-left: 0; }
.ml-2   { margin-left: 0.5rem; }
.ml-4   { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.mr-0   { margin-right: 0; }
.mr-2   { margin-right: 0.5rem; }
.mr-4   { margin-right: 1rem; }
.mr-auto { margin-right: auto; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-mt-px { margin-top: -1px; }

/* ── 11. SIZING ─────────────────────────────────────────────── */
.w-full     { width: 100%; }
.w-auto     { width: auto; }
.w-0        { width: 0; }
.w-1        { width: 0.25rem; }
.w-2        { width: 0.5rem; }
.w-3        { width: 0.75rem; }
.w-4        { width: 1rem; }
.w-5        { width: 1.25rem; }
.w-6        { width: 1.5rem; }
.w-8        { width: 2rem; }
.w-10       { width: 2.5rem; }
.w-12       { width: 3rem; }
.w-14       { width: 3.5rem; }
.w-16       { width: 4rem; }
.w-20       { width: 5rem; }
.w-24       { width: 6rem; }
.w-32       { width: 8rem; }
.w-48       { width: 12rem; }
.w-64       { width: 16rem; }
.w-px       { width: 1px; }
.w-screen   { width: 100vw; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

.h-full     { height: 100%; }
.h-auto     { height: auto; }
.h-0        { height: 0; }
.h-1        { height: 0.25rem; }
.h-2        { height: 0.5rem; }
.h-3        { height: 0.75rem; }
.h-4        { height: 1rem; }
.h-5        { height: 1.25rem; }
.h-6        { height: 1.5rem; }
.h-8        { height: 2rem; }
.h-10       { height: 2.5rem; }
.h-12       { height: 3rem; }
.h-14       { height: 3.5rem; }
.h-16       { height: 4rem; }
.h-20       { height: 5rem; }
.h-24       { height: 6rem; }
.h-32       { height: 8rem; }
.h-48       { height: 12rem; }
.h-64       { height: 16rem; }
.h-96       { height: 24rem; }
.h-px       { height: 1px; }
.h-screen   { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }

.max-w-xs    { max-width: 20rem; }
.max-w-sm    { max-width: 24rem; }
.max-w-md    { max-width: 28rem; }
.max-w-lg    { max-width: 32rem; }
.max-w-xl    { max-width: 36rem; }
.max-w-2xl   { max-width: 42rem; }
.max-w-3xl   { max-width: 48rem; }
.max-w-4xl   { max-width: 56rem; }
.max-w-5xl   { max-width: 64rem; }
.max-w-6xl   { max-width: 72rem; }
.max-w-7xl   { max-width: 80rem; }
.max-w-full  { max-width: 100%; }
.max-w-none  { max-width: none; }
.max-w-\[1220px\] { max-width: 1220px; }
.max-w-\[40rem\]  { max-width: 40rem; }
.max-w-\[48rem\]  { max-width: 48rem; }
.max-w-\[56rem\]  { max-width: 56rem; }
.max-w-\[65ch\]   { max-width: 65ch; }

.min-w-0    { min-width: 0; }
.min-w-full { min-width: 100%; }

/* Aspect ratios */
.aspect-square    { aspect-ratio: 1 / 1; }
.aspect-video     { aspect-ratio: 16 / 9; }
.aspect-\[3\/2\]  { aspect-ratio: 3 / 2; }
.aspect-\[4\/3\]  { aspect-ratio: 4 / 3; }
.aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
.aspect-\[21\/9\] { aspect-ratio: 21 / 9; }

/* ── 12. BORDERS ────────────────────────────────────────────── */
.border     { border-width: 1px; border-style: solid; }
.border-0   { border-width: 0; }
.border-2   { border-width: 2px; border-style: solid; }
.border-t   { border-top-width: 1px; border-top-style: solid; }
.border-b   { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l   { border-left-width: 1px; border-left-style: solid; }
.border-r   { border-right-width: 1px; border-right-style: solid; }
.border-t-0 { border-top-width: 0; }
.border-b-0 { border-bottom-width: 0; }

.rounded-none { border-radius: 0; }
.rounded-sm   { border-radius: 0.125rem; }
.rounded      { border-radius: 0.25rem; }
.rounded-md   { border-radius: 0.375rem; }
.rounded-lg   { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

.divide-y > * + *    { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#1e201e\] > * + * { border-color: #1e201e; }

/* ── 13. POSITION & DISPLAY ─────────────────────────────────── */
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline        { display: inline; }
.hidden        { display: none; }
.invisible     { visibility: hidden; }
.visible       { visibility: visible; }

.static    { position: static; }
.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.sticky    { position: sticky; }

.inset-0      { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0    { left: 0; right: 0; }
.inset-y-0    { top: 0; bottom: 0; }
.top-0        { top: 0; }
.top-4        { top: 1rem; }
.right-0      { right: 0; }
.right-4      { right: 1rem; }
.bottom-0     { bottom: 0; }
.bottom-4     { bottom: 1rem; }
.left-0       { left: 0; }
.left-1\/2    { left: 50%; }

.z-0   { z-index: 0; }
.z-10  { z-index: 10; }
.z-20  { z-index: 20; }
.z-30  { z-index: 30; }
.z-40  { z-index: 40; }
.z-50  { z-index: 50; }
.-z-10 { z-index: -10; }

.overflow-hidden  { overflow: hidden; }
.overflow-auto    { overflow: auto; }
.overflow-x-auto  { overflow-x: auto; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto  { overflow-y: auto; }

/* ── 14. OBJECT FIT ─────────────────────────────────────────── */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center  { object-position: center; }
.object-top     { object-position: top; }

/* ── 15. SHADOWS & EFFECTS ──────────────────────────────────── */
.shadow-sm    { box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.shadow       { box-shadow: 0 1px 3px rgba(0,0,0,0.4), 0 1px 2px rgba(0,0,0,0.3); }
.shadow-md    { box-shadow: 0 4px 6px rgba(0,0,0,0.4); }
.shadow-lg    { box-shadow: 0 10px 15px rgba(0,0,0,0.4); }
.shadow-xl    { box-shadow: 0 20px 25px rgba(0,0,0,0.5); }
.shadow-2xl   { box-shadow: 0 25px 50px rgba(0,0,0,0.6); }
.shadow-none  { box-shadow: none; }
.shadow-\[4px_4px_0px_\#b5b0a6\] { box-shadow: 4px 4px 0px #b5b0a6; }

.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px);  -webkit-backdrop-filter: blur(4px); }

.blur-sm  { filter: blur(4px); }
.blur     { filter: blur(8px); }
.blur-md  { filter: blur(12px); }

/* ── 16. TRANSITIONS & TRANSFORMS ───────────────────────────── */
.transition         { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-colors  { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.transition-all     { transition-property: all; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }

.duration-150  { transition-duration: 150ms; }
.duration-200  { transition-duration: 200ms; }
.duration-300  { transition-duration: 300ms; }
.duration-500  { transition-duration: 500ms; }
.duration-700  { transition-duration: 700ms; }

.ease-in      { transition-timing-function: cubic-bezier(0.4,0,1,1); }
.ease-out     { transition-timing-function: cubic-bezier(0,0,0.2,1); }
.ease-in-out  { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.ease-linear  { transition-timing-function: linear; }

.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-95  { transform: scale(0.95); }
.rotate-90  { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.-rotate-90 { transform: rotate(-90deg); }
.translate-y-1 { transform: translateY(0.25rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.translate-x-0 { transform: translateX(0); }

/* ── 17. HOVER / FOCUS / GROUP STATES ───────────────────────── */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.outline-none   { outline: none; }
.outline-0      { outline: 0; }
.ring-0         { box-shadow: none; }

/* Focus ring */
.focus\:outline-none:focus  { outline: none; }
.focus\:border-\[\#b5b0a6\]:focus { border-color: #b5b0a6; }
.focus\:border-\[\#e8e4dc\]:focus { border-color: #e8e4dc; }
.focus\:ring-1:focus { box-shadow: 0 0 0 1px #b5b0a6; }

/* Group hover */
.group { }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:text-\[\#b5b0a6\] { color: #b5b0a6; }
.group:hover .group-hover\:text-\[\#e8e4dc\] { color: #e8e4dc; }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:border-\[\#3a3a36\] { border-color: #3a3a36; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }

/* Hover utilities */
.hover\:text-\[\#b5b0a6\]:hover  { color: #b5b0a6; }
.hover\:text-\[\#e8e4dc\]:hover  { color: #e8e4dc; }
.hover\:text-\[\#d4d0c8\]:hover  { color: #d4d0c8; }
.hover\:text-\[\#6b6b63\]:hover  { color: #6b6b63; }
.hover\:bg-\[\#d4d0c8\]:hover    { background-color: #d4d0c8; }
.hover\:bg-\[\#1a1c1a\]:hover    { background-color: #1a1c1a; }
.hover\:bg-\[\#2a2c2a\]:hover    { background-color: #2a2c2a; }
.hover\:border-\[\#6b6b63\]:hover { border-color: #6b6b63; }
.hover\:border-\[\#3a3a36\]:hover { border-color: #3a3a36; }
.hover\:border-\[\#b5b0a6\]:hover { border-color: #b5b0a6; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover  { text-decoration: underline; }

/* ── 18. COLUMNS (container) ────────────────────────────────── */
.container { width: 100%; margin-left: auto; margin-right: auto; }
@media (min-width: 640px)  { .container { max-width: 640px; } }
@media (min-width: 768px)  { .container { max-width: 768px; } }
@media (min-width: 1024px) { .container { max-width: 1024px; } }
@media (min-width: 1280px) { .container { max-width: 1280px; } }
@media (min-width: 1536px) { .container { max-width: 1536px; } }

/* ── 19. RESPONSIVE sm: ──────────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex-row  { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex  { display: flex; }
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:text-xl   { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl  { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:text-4xl  { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:px-6   { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-12  { padding-top: 3rem; padding-bottom: 3rem; }
  .sm\:col-span-2 { grid-column: span 2 / span 2; }
  .sm\:items-center { align-items: center; }
  .sm\:justify-center { justify-content: center; }
}

/* ── 20. RESPONSIVE md: ──────────────────────────────────────── */
@media (min-width: 768px) {
  .md\:flex      { display: flex; }
  .md\:block     { display: block; }
  .md\:hidden    { display: none; }
  .md\:inline-block { display: inline-block; }
  .md\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-1   { grid-column: span 1 / span 1; }
  .md\:col-span-2   { grid-column: span 2 / span 2; }
  .md\:col-span-3   { grid-column: span 3 / span 3; }
  .md\:col-span-4   { grid-column: span 4 / span 4; }
  .md\:flex-row  { flex-direction: row; }
  .md\:flex-col  { flex-direction: column; }
  .md\:items-center  { align-items: center; }
  .md\:items-start   { align-items: flex-start; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-end   { justify-content: flex-end; }
  .md\:gap-4   { gap: 1rem; }
  .md\:gap-6   { gap: 1.5rem; }
  .md\:gap-8   { gap: 2rem; }
  .md\:gap-10  { gap: 2.5rem; }
  .md\:gap-12  { gap: 3rem; }
  .md\:gap-14  { gap: 3.5rem; }
  .md\:gap-16  { gap: 4rem; }
  .md\:px-6    { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:px-8    { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-10   { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:py-12   { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-16   { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20   { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24   { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:py-28   { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:py-32   { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:py-36   { padding-top: 9rem; padding-bottom: 9rem; }
  .md\:mt-0    { margin-top: 0; }
  .md\:mt-6    { margin-top: 1.5rem; }
  .md\:mt-8    { margin-top: 2rem; }
  .md\:mt-16   { margin-top: 4rem; }
  .md\:mb-0    { margin-bottom: 0; }
  .md\:text-sm   { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:text-base { font-size: 1rem;     line-height: 1.5rem; }
  .md\:text-lg   { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl   { font-size: 1.25rem;  line-height: 1.75rem; }
  .md\:text-2xl  { font-size: 1.5rem;   line-height: 2rem; }
  .md\:text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl  { font-size: 2.25rem;  line-height: 2.5rem; }
  .md\:text-5xl  { font-size: 3rem;     line-height: 1; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:w-1\/2   { width: 50%; }
  .md\:w-2\/3   { width: 66.666%; }
  .md\:w-auto   { width: auto; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:max-w-3xl { max-width: 48rem; }
}

/* ── 21. RESPONSIVE lg: ──────────────────────────────────────── */
@media (min-width: 1024px) {
  .lg\:flex       { display: flex; }
  .lg\:block      { display: block; }
  .lg\:hidden     { display: none; }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2  { grid-column: span 2 / span 2; }
  .lg\:col-span-3  { grid-column: span 3 / span 3; }
  .lg\:gap-12  { gap: 3rem; }
  .lg\:gap-16  { gap: 4rem; }
  .lg\:px-8    { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-24   { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32   { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:py-40   { padding-top: 10rem; padding-bottom: 10rem; }
  .lg\:text-xl  { font-size: 1.25rem; line-height: 1.75rem; }
  .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:leading-tight { line-height: 1.25; }
}

/* ── 22. RESPONSIVE xl: ──────────────────────────────────────── */
@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:col-span-3  { grid-column: span 3 / span 3; }
  .xl\:text-5xl    { font-size: 3rem; line-height: 1; }
  .xl\:text-7xl    { font-size: 4.5rem; line-height: 1; }
  .xl\:px-0        { padding-left: 0; padding-right: 0; }
}

/* ── 23. ARBITRARY CLASSES ──────────────────────────────────── */
.text-\[10px\]   { font-size: 10px; }
.text-\[11px\]   { font-size: 11px; }
.text-\[12px\]   { font-size: 12px; }
.text-\[13px\]   { font-size: 13px; }
.text-\[14px\]   { font-size: 14px; }
.text-\[15px\]   { font-size: 15px; }
.text-\[16px\]   { font-size: 16px; }
.text-\[18px\]   { font-size: 18px; }
.text-\[20px\]   { font-size: 20px; }
.text-\[clamp\(42px\,7vw\,96px\)\] { font-size: clamp(42px, 7vw, 96px); }
.text-\[clamp\(36px\,5vw\,72px\)\] { font-size: clamp(36px, 5vw, 72px); }
.text-\[clamp\(28px\,4vw\,56px\)\] { font-size: clamp(28px, 4vw, 56px); }
.text-\[clamp\(120px\,20vw\,220px\)\] { font-size: clamp(120px, 20vw, 220px); }

.ml-4   { margin-left: 1rem; }
.ml-6   { margin-left: 1.5rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* Clamp font sizes for hero titles */
h1 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }

/* ── 24. FORM ELEMENTS ──────────────────────────────────────── */
input, textarea, select {
  background-color: transparent;
  border: 1px solid rgba(58,58,54,0.5);
  color: #e8e4dc;
  padding: 0.75rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  width: 100%;
  outline: none;
  -webkit-appearance: none;
  appearance: none;
  transition: border-color 0.2s;
}
input:focus, textarea:focus, select:focus {
  border-color: #b5b0a6;
}
input::placeholder, textarea::placeholder {
  color: #3a3a36;
}
label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #6b6b63;
  display: block;
  margin-bottom: 0.5rem;
}

/* ── 25. DOCUMENTARY ARCHIVE DECORATIVE ─────────────────────── */

/* Hard offset shadow card (Swiss/Archive signature) */
.card-archive {
  border: 1px solid #1e201e;
  background-color: #0a0c0b;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.card-archive:hover {
  border-color: #3a3a36;
  box-shadow: 4px 4px 0px #1e201e;
}

/* ISO-style label chip */
.chip-ref {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border: 1px solid #1e201e;
  padding: 0.125rem 0.5rem;
  color: #3a3a36;
}

/* Numbered section markers */
.section-num {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #3a3a36;
  letter-spacing: 0.1em;
  display: block;
  margin-bottom: 0.25rem;
}

/* Mono terminal label */
.label-mono {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: #6b6b63;
}

/* Caption overlay on images */
.img-caption {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  color: #6b6b63;
  letter-spacing: 0.1em;
  margin-top: 0.5rem;
}

/* ── 26. MARQUEE ANIMATION ──────────────────────────────────── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee 40s linear infinite;
}

/* ── 27. ACCORDION ──────────────────────────────────────────── */
.accordion-panel.hidden { display: none; }
.accordion-panel { display: block; }

/* ── 28. AOS OVERRIDES (dark bg) ────────────────────────────── */
[data-aos] { transition-property: opacity, transform; }

/* ── 29. ARTICLE BODY TYPOGRAPHY ────────────────────────────── */
.article-body p {
  font-family: 'Space Mono', monospace;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #9a9690;
  margin-bottom: 1.5rem;
}
.article-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: #e8e4dc;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.article-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: #b5b0a6;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}
.article-body ul li {
  font-family: 'Space Mono', monospace;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #9a9690;
  margin-bottom: 0.5rem;
}
.article-body blockquote {
  border-left: 2px solid #b5b0a6;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.125rem;
  color: #e8e4dc;
  font-style: italic;
}

/* ── 30. LEGAL PAGE TYPOGRAPHY ──────────────────────────────── */
.legal-body h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #e8e4dc;
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #1e201e;
}
.legal-body h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: #b5b0a6;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}
.legal-body p {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.8;
  color: #6b6b63;
  margin-bottom: 1.25rem;
}
.legal-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.legal-body ul li {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #6b6b63;
  margin-bottom: 0.4rem;
}
.legal-body a {
  color: #b5b0a6;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-body a:hover { color: #e8e4dc; }

/* ── 31. PULL-QUOTE ─────────────────────────────────────────── */
.pull-quote {
  border-top: 2px solid #b5b0a6;
  border-bottom: 1px solid #1e201e;
  padding: 2rem 0;
  margin: 2.5rem 0;
}
.pull-quote p {
  font-family: 'Space Grotesk', sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  color: #e8e4dc !important;
  line-height: 1.5 !important;
}

/* ── 32. STATS STRIP ────────────────────────────────────────── */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #e8e4dc;
  line-height: 1;
}
.stat-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: #3a3a36;
  margin-top: 0.5rem;
}

/* ── 33. MISC ───────────────────────────────────────────────── */
.not-italic { font-style: normal; }
.sr-only    { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }

/* Scrollbar styling */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #0d0f0e; }
::-webkit-scrollbar-thumb { background: #1e201e; border-radius: 0; }
::-webkit-scrollbar-thumb:hover { background: #3a3a36; }
