/* ============================================================
   Ruldano Compendium — css/style.css
   Prebuilt Tailwind v4.1.5 output
   Design family: Techno Cyberpunk (K_FAMILY=2)
   Palette: warm cream + cobalt navy
   Fonts: Space Grotesk (display) + Space Mono (body)
   ============================================================ */

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

@theme {
  --color-bg-primary: #F5F0E8;
  --color-bg-secondary: #EDE7D5;
  --color-ink-primary: #0F1729;
  --color-ink-muted: #6E7B8A;
  --color-accent: #2148C8;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Space Mono', monospace;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-hard: 4px 4px 0px #0F1729;
  --shadow-hard-accent: 4px 4px 0px #2148C8;
}

/* ============================================================
   1. BASE RESET
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background-color: #F5F0E8;
  color: #0F1729;
  font-family: 'Space Mono', monospace;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; }

/* ============================================================
   2. TYPOGRAPHY BASE
   ============================================================ */

.font-display  { font-family: 'Space Grotesk', sans-serif; }
.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; }
.italic        { font-style: italic; }

.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-center  { text-align: center; }
.text-left    { text-align: left; }
.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; }

.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; }

.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; }

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

.underline        { text-decoration: underline; }
.no-underline     { text-decoration: none; }
.line-through     { text-decoration: line-through; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-1     { text-decoration-thickness: 1px; }

/* ============================================================
   3. COLORS
   ============================================================ */

/* Text colors */
.text-\[\#0F1729\]  { color: #0F1729; }
.text-\[\#2148C8\]  { color: #2148C8; }
.text-\[\#6E7B8A\]  { color: #6E7B8A; }
.text-\[\#F5F0E8\]  { color: #F5F0E8; }
.text-\[\#EDE7D5\]  { color: #EDE7D5; }
.text-\[\#ffffff\]  { color: #ffffff; }
.text-\[\#D8E2DC\]  { color: #D8E2DC; }
.text-\[\#1a1a1a\]  { color: #1a1a1a; }

/* Background colors */
.bg-\[\#F5F0E8\]    { background-color: #F5F0E8; }
.bg-\[\#EDE7D5\]    { background-color: #EDE7D5; }
.bg-\[\#0F1729\]    { background-color: #0F1729; }
.bg-\[\#2148C8\]    { background-color: #2148C8; }
.bg-\[\#6E7B8A\]    { background-color: #6E7B8A; }
.bg-\[\#ffffff\]    { background-color: #ffffff; }
.bg-white           { background-color: #ffffff; }
.bg-transparent     { background-color: transparent; }

/* Border colors */
.border-\[\#6E7B8A\]  { border-color: #6E7B8A; }
.border-\[\#0F1729\]  { border-color: #0F1729; }
.border-\[\#2148C8\]  { border-color: #2148C8; }
.border-\[\#F5F0E8\]  { border-color: #F5F0E8; }
.border-\[\#EDE7D5\]  { border-color: #EDE7D5; }

/* Opacity modifiers on colors */
.border-\[\#6E7B8A\]\/20 { border-color: rgba(110,123,138,0.20); }
.border-\[\#6E7B8A\]\/30 { border-color: rgba(110,123,138,0.30); }
.border-\[\#6E7B8A\]\/40 { border-color: rgba(110,123,138,0.40); }
.border-\[\#0F1729\]\/20 { border-color: rgba(15,23,41,0.20); }
.border-\[\#2148C8\]\/30 { border-color: rgba(33,72,200,0.30); }

.text-\[\#6E7B8A\]\/80    { color: rgba(110,123,138,0.80); }
.bg-\[\#EDE7D5\]\/60      { background-color: rgba(237,231,213,0.60); }
.bg-\[\#0F1729\]\/5       { background-color: rgba(15,23,41,0.05); }
.bg-\[\#0F1729\]\/10      { background-color: rgba(15,23,41,0.10); }
.bg-\[\#2148C8\]\/10      { background-color: rgba(33,72,200,0.10); }
.bg-\[\#2148C8\]\/5       { background-color: rgba(33,72,200,0.05); }

/* ============================================================
   4. LAYOUT — DISPLAY
   ============================================================ */

.block           { display: block; }
.inline-block    { display: inline-block; }
.inline          { display: inline; }
.flex            { display: flex; }
.inline-flex     { display: inline-flex; }
.grid            { display: grid; }
.inline-grid     { display: inline-grid; }
.hidden          { display: none; }

/* ============================================================
   5. FLEXBOX
   ============================================================ */

.flex-row         { flex-direction: row; }
.flex-col         { flex-direction: column; }
.flex-row-reverse { flex-direction: row-reverse; }
.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; }
.grow             { flex-grow: 1; }
.shrink           { flex-shrink: 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; }
.justify-evenly   { justify-content: space-evenly; }

.self-start    { align-self: flex-start; }
.self-center   { align-self: center; }
.self-end      { align-self: flex-end; }
.self-stretch  { align-self: stretch; }

/* ============================================================
   6. 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-5  { grid-template-columns: repeat(5, 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-5  { grid-column: span 5 / span 5; }
.col-span-6  { grid-column: span 6 / span 6; }
.col-span-7  { grid-column: span 7 / span 7; }
.col-span-8  { grid-column: span 8 / span 8; }
.col-span-9  { grid-column: span 9 / span 9; }
.col-span-10 { grid-column: span 10 / span 10; }
.col-span-12 { grid-column: span 12 / span 12; }
.col-span-full { grid-column: 1 / -1; }

.row-span-1 { grid-row: span 1 / span 1; }
.row-span-2 { grid-row: span 2 / span 2; }
.row-span-3 { grid-row: span 3 / span 3; }

.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-8   { gap: 2rem; }
.gap-10  { gap: 2.5rem; }
.gap-12  { gap: 3rem; }
.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; }

/* ============================================================
   7. SPACING — PADDING & MARGIN
   ============================================================ */

.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-8  { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }

.px-0  { padding-left: 0; padding-right: 0; }
.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-8  { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.px-16 { padding-left: 4rem; padding-right: 4rem; }

.py-0  { padding-top: 0; padding-bottom: 0; }
.py-1  { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.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-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-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-0  { padding-top: 0; }
.pt-1  { padding-top: 0.25rem; }
.pt-2  { padding-top: 0.5rem; }
.pt-3  { padding-top: 0.75rem; }
.pt-4  { padding-top: 1rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }

.pb-0  { padding-bottom: 0; }
.pb-2  { padding-bottom: 0.5rem; }
.pb-3  { padding-bottom: 0.75rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-6  { padding-bottom: 1.5rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }

.pl-0  { padding-left: 0; }
.pl-2  { padding-left: 0.5rem; }
.pl-4  { padding-left: 1rem; }
.pl-6  { padding-left: 1.5rem; }
.pl-8  { padding-left: 2rem; }

.pr-0  { padding-right: 0; }
.pr-2  { padding-right: 0.5rem; }
.pr-4  { padding-right: 1rem; }
.pr-6  { padding-right: 1.5rem; }

/* Margin */
.m-0    { margin: 0; }
.m-auto { margin: auto; }
.mx-auto  { margin-left: auto; margin-right: auto; }
.mx-0     { margin-left: 0; margin-right: 0; }
.mx-4     { margin-left: 1rem; margin-right: 1rem; }
.my-0     { margin-top: 0; margin-bottom: 0; }
.my-2     { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4     { margin-top: 1rem; margin-bottom: 1rem; }
.my-6     { margin-top: 1.5rem; margin-bottom: 1.5rem; }
.my-8     { margin-top: 2rem; margin-bottom: 2rem; }
.my-12    { margin-top: 3rem; margin-bottom: 3rem; }
.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-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-6     { margin-bottom: 1.5rem; }
.mb-8     { margin-bottom: 2rem; }
.mb-10    { margin-bottom: 2.5rem; }
.mb-12    { margin-bottom: 3rem; }
.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; }

/* ============================================================
   8. SIZING
   ============================================================ */

.w-full    { width: 100%; }
.w-auto    { width: auto; }
.w-screen  { width: 100vw; }
.w-0       { width: 0; }
.w-1       { width: 0.25rem; }
.w-2       { width: 0.5rem; }
.w-4       { width: 1rem; }
.w-6       { width: 1.5rem; }
.w-8       { width: 2rem; }
.w-10      { width: 2.5rem; }
.w-12      { width: 3rem; }
.w-16      { width: 4rem; }
.w-20      { width: 5rem; }
.w-24      { width: 6rem; }
.w-32      { width: 8rem; }
.w-40      { width: 10rem; }
.w-48      { width: 12rem; }
.w-64      { width: 16rem; }
.w-1\/2    { width: 50%; }
.w-1\/3    { width: 33.333333%; }
.w-2\/3    { width: 66.666667%; }
.w-1\/4    { width: 25%; }
.w-3\/4    { width: 75%; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

.h-full    { height: 100%; }
.h-auto    { height: auto; }
.h-screen  { height: 100vh; }
.h-0       { height: 0; }
.h-1       { height: 0.25rem; }
.h-2       { height: 0.5rem; }
.h-4       { height: 1rem; }
.h-6       { height: 1.5rem; }
.h-8       { height: 2rem; }
.h-10      { height: 2.5rem; }
.h-12      { height: 3rem; }
.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-80      { height: 20rem; }
.h-96      { height: 24rem; }
.h-\[80vh\]  { height: 80vh; }
.h-\[70vh\]  { height: 70vh; }
.h-\[60vh\]  { height: 60vh; }
.h-\[50vh\]  { height: 50vh; }
.h-\[40vh\]  { height: 40vh; }
.h-\[420px\] { height: 420px; }
.h-\[480px\] { height: 480px; }
.h-\[520px\] { height: 520px; }

.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-0 { min-height: 0; }

.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-\[720px\]  { max-width: 720px; }
.max-w-\[800px\]  { max-width: 800px; }
.max-w-\[680px\]  { max-width: 680px; }
.max-w-\[600px\]  { max-width: 600px; }
.max-w-\[500px\]  { max-width: 500px; }
.max-w-\[400px\]  { max-width: 400px; }
.max-w-\[320px\]  { max-width: 320px; }

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

/* ============================================================
   9. ASPECT RATIOS
   ============================================================ */

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

/* ============================================================
   10. BORDERS
   ============================================================ */

.border        { border-width: 1px; border-style: solid; }
.border-0      { border-width: 0; }
.border-2      { border-width: 2px; border-style: solid; }
.border-4      { border-width: 4px; border-style: solid; }
.border-t      { border-top-width: 1px; border-top-style: solid; }
.border-t-2    { border-top-width: 2px; border-top-style: solid; }
.border-t-4    { border-top-width: 4px; border-top-style: solid; }
.border-b      { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2    { border-bottom-width: 2px; border-bottom-style: solid; }
.border-l      { border-left-width: 1px; border-left-style: solid; }
.border-l-2    { border-left-width: 2px; border-left-style: solid; }
.border-l-4    { border-left-width: 4px; border-left-style: solid; }
.border-r      { border-right-width: 1px; border-right-style: solid; }

.border-dashed { border-style: dashed; }
.border-dotted { border-style: dotted; }

.rounded       { border-radius: 0.25rem; }
.rounded-sm    { border-radius: 0.125rem; }
.rounded-md    { border-radius: 0.375rem; }
.rounded-lg    { border-radius: 0.5rem; }
.rounded-xl    { border-radius: 0.75rem; }
.rounded-2xl   { border-radius: 1rem; }
.rounded-full  { border-radius: 9999px; }
.rounded-none  { border-radius: 0; }
.rounded-\[999px\] { border-radius: 999px; }
.rounded-\[26px\]  { border-radius: 26px; }

.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#6E7B8A\]\/20 > * + * { border-color: rgba(110,123,138,0.20); }

/* ============================================================
   11. POSITION
   ============================================================ */

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

.top-0     { top: 0; }
.top-1     { top: 0.25rem; }
.top-2     { top: 0.5rem; }
.top-4     { top: 1rem; }
.top-8     { top: 2rem; }
.top-12    { top: 3rem; }
.bottom-0  { bottom: 0; }
.bottom-2  { bottom: 0.5rem; }
.bottom-4  { bottom: 1rem; }
.bottom-8  { bottom: 2rem; }
.left-0    { left: 0; }
.left-1\/2 { left: 50%; }
.left-4    { left: 1rem; }
.right-0   { right: 0; }
.right-4   { right: 1rem; }
.inset-0   { top: 0; right: 0; bottom: 0; left: 0; }

.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; }

/* ============================================================
   12. OVERFLOW & VISIBILITY
   ============================================================ */

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

.visible    { visibility: visible; }
.invisible  { visibility: hidden; }

/* ============================================================
   13. OBJECT FIT
   ============================================================ */

.object-cover    { object-fit: cover; }
.object-contain  { object-fit: contain; }
.object-fill     { object-fit: fill; }
.object-center   { object-position: center; }
.object-top      { object-position: top; }
.object-bottom   { object-position: bottom; }

/* ============================================================
   14. SHADOWS
   ============================================================ */

.shadow-none { box-shadow: none; }
.shadow-sm   { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow      { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-md   { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl   { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-2xl  { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-hard { box-shadow: 4px 4px 0px #0F1729; }
.shadow-hard-accent { box-shadow: 4px 4px 0px #2148C8; }
.shadow-hard-sm { box-shadow: 2px 2px 0px #0F1729; }
.shadow-\[4px_4px_0px_\#0F1729\] { box-shadow: 4px 4px 0px #0F1729; }
.shadow-\[4px_4px_0px_\#2148C8\] { box-shadow: 4px 4px 0px #2148C8; }
.shadow-\[2px_2px_0px_\#0F1729\] { box-shadow: 2px 2px 0px #0F1729; }
.shadow-\[0_20px_60px_rgba\(15\,23\,42\,0\.24\)\] { box-shadow: 0 20px 60px rgba(15,23,42,0.24); }

/* ============================================================
   15. OPACITY
   ============================================================ */

.opacity-0   { opacity: 0; }
.opacity-10  { opacity: 0.1; }
.opacity-20  { opacity: 0.2; }
.opacity-25  { opacity: 0.25; }
.opacity-30  { opacity: 0.3; }
.opacity-40  { opacity: 0.4; }
.opacity-50  { opacity: 0.5; }
.opacity-60  { opacity: 0.6; }
.opacity-70  { opacity: 0.7; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.8; }
.opacity-90  { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* ============================================================
   16. TRANSFORMS
   ============================================================ */

.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-x-0     { transform: translateX(0); }
.translate-y-0     { transform: translateY(0); }
.translate-y-4     { transform: translateY(1rem); }
.-translate-y-4    { transform: translateY(-1rem); }

.scale-100  { transform: scale(1); }
.scale-105  { transform: scale(1.05); }
.scale-110  { transform: scale(1.10); }
.scale-95   { transform: scale(0.95); }

.rotate-0     { transform: rotate(0deg); }
.rotate-45    { transform: rotate(45deg); }
.rotate-90    { transform: rotate(90deg); }
.-rotate-90   { transform: rotate(-90deg); }
.rotate-180   { transform: rotate(180deg); }
.-rotate-45   { transform: rotate(-45deg); }
.rotate-\[-2deg\] { transform: rotate(-2deg); }

/* ============================================================
   17. TRANSITIONS
   ============================================================ */

.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-all     { transition-property: all; 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; }

.duration-75   { transition-duration: 75ms; }
.duration-100  { transition-duration: 100ms; }
.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; }
.duration-1000 { transition-duration: 1000ms; }

.ease-linear   { transition-timing-function: linear; }
.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); }

/* ============================================================
   18. BACKDROP FILTER
   ============================================================ */

.backdrop-blur-sm  { backdrop-filter: blur(4px); }
.backdrop-blur     { backdrop-filter: blur(8px); }
.backdrop-blur-md  { backdrop-filter: blur(12px); }
.backdrop-blur-lg  { backdrop-filter: blur(16px); }
.backdrop-blur-xl  { backdrop-filter: blur(24px); }

/* ============================================================
   19. CURSOR & POINTER
   ============================================================ */

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }

/* ============================================================
   20. LIST STYLES
   ============================================================ */

.list-none    { list-style-type: none; }
.list-disc    { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.list-inside  { list-style-position: inside; }
.list-outside { list-style-position: outside; }

/* ============================================================
   21. TABLE
   ============================================================ */

.w-full table { width: 100%; border-collapse: collapse; }

/* ============================================================
   22. FOCUS & OUTLINE
   ============================================================ */

.focus\:outline-none:focus  { outline: none; }
.focus\:ring-2:focus        { box-shadow: 0 0 0 2px #2148C8; }
.outline-none               { outline: none; }

/* ============================================================
   23. SPECIAL COMPONENTS — Techno Cyberpunk family
   ============================================================ */

/* Marquee strip */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 35s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ASCII divider */
.ascii-divider {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
  color: rgba(110,123,138,0.60);
  overflow: hidden;
  white-space: nowrap;
}

/* Terminal label */
.terminal-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #6E7B8A;
}

/* Hard offset card */
.card-hard {
  border: 1px solid #0F1729;
  box-shadow: 4px 4px 0px #0F1729;
  transition: box-shadow 0.15s ease, transform 0.15s ease;
}
.card-hard:hover {
  box-shadow: 6px 6px 0px #2148C8;
  transform: translate(-1px, -1px);
}

/* Accent hard card */
.card-hard-accent {
  border: 1px solid #2148C8;
  box-shadow: 4px 4px 0px #2148C8;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid #2148C8;
  padding-left: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #0F1729;
  line-height: 1.4;
}

/* Number marker */
.section-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #2148C8;
  text-transform: uppercase;
}

/* Caption overlay */
.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background-color: rgba(15,23,41,0.80);
  color: #F5F0E8;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.05em;
}

/* Stats strip number */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  color: #0F1729;
  line-height: 1;
}

/* Article body typography */
.prose-article h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #0F1729;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(110,123,138,0.20);
}
.prose-article p {
  font-family: 'Space Mono', monospace;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #0F1729;
  margin-bottom: 1.25rem;
}
.prose-article ul {
  list-style: none;
  padding-left: 0;
  margin-bottom: 1.25rem;
}
.prose-article ul li {
  padding-left: 1.25rem;
  position: relative;
  font-family: 'Space Mono', monospace;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: #0F1729;
  margin-bottom: 0.5rem;
}
.prose-article ul li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: #2148C8;
  font-weight: 700;
}

/* Form inputs */
.form-input {
  width: 100%;
  background-color: #F5F0E8;
  border: 1px solid rgba(110,123,138,0.30);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  font-family: 'Space Mono', monospace;
  color: #0F1729;
  transition: border-color 0.15s ease;
  outline: none;
}
.form-input:focus { border-color: #2148C8; }

/* Nav active */
.nav-active { color: #2148C8; }

/* Chip / badge */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.625rem;
  background-color: rgba(33,72,200,0.10);
  color: #2148C8;
  font-family: 'Space Mono', monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  border: 1px solid rgba(33,72,200,0.20);
}

/* ============================================================
   24. HOVER STATES
   ============================================================ */

.hover\:text-\[\#2148C8\]:hover { color: #2148C8; }
.hover\:text-\[\#0F1729\]:hover { color: #0F1729; }
.hover\:text-\[\#F5F0E8\]:hover { color: #F5F0E8; }
.hover\:bg-\[\#2148C8\]:hover   { background-color: #2148C8; }
.hover\:bg-\[\#0F1729\]:hover   { background-color: #0F1729; }
.hover\:bg-\[\#EDE7D5\]:hover   { background-color: #EDE7D5; }
.hover\:opacity-90:hover         { opacity: 0.9; }
.hover\:opacity-80:hover         { opacity: 0.8; }
.hover\:scale-105:hover          { transform: scale(1.05); }
.hover\:underline:hover          { text-decoration: underline; }
.hover\:border-\[\#2148C8\]:hover { border-color: #2148C8; }
.hover\:shadow-hard-accent:hover  { box-shadow: 6px 6px 0px #2148C8; }

/* Group hover */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:text-\[\#2148C8\] { color: #2148C8; }

/* Focus states */
.focus\:outline-none:focus           { outline: none; }
.focus\:border-\[\#2148C8\]:focus    { border-color: #2148C8; }

/* ============================================================
   25. RESPONSIVE — sm: (640px)
   ============================================================ */

@media (min-width: 640px) {
  .sm\:flex           { display: flex; }
  .sm\:block          { display: block; }
  .sm\:hidden         { display: none; }
  .sm\:grid-cols-2    { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:grid-cols-3    { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .sm\:px-6           { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-2xl       { font-size: 1.5rem; }
  .sm\:text-3xl       { font-size: 1.875rem; }
  .sm\:text-4xl       { font-size: 2.25rem; }
  .sm\:text-5xl       { font-size: 3rem; }
  .sm\:flex-row       { flex-direction: row; }
  .sm\:items-center   { align-items: center; }
  .sm\:gap-4          { gap: 1rem; }
  .sm\:gap-6          { gap: 1.5rem; }
  .sm\:gap-8          { gap: 2rem; }
  .sm\:col-span-6     { grid-column: span 6 / span 6; }
}

/* ============================================================
   26. RESPONSIVE — md: (768px)
   ============================================================ */

@media (min-width: 768px) {
  .md\:flex            { display: flex; }
  .md\:block           { display: block; }
  .md\:hidden          { display: none; }
  .md\:inline-block    { display: inline-block; }
  .md\:inline-flex     { display: inline-flex; }
  .md\:grid            { display: grid; }
  .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\: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\:col-span-5      { grid-column: span 5 / span 5; }
  .md\:col-span-6      { grid-column: span 6 / span 6; }
  .md\:col-span-7      { grid-column: span 7 / span 7; }
  .md\:col-span-8      { grid-column: span 8 / span 8; }
  .md\:col-span-full   { grid-column: 1 / -1; }
  .md\:gap-6           { gap: 1.5rem; }
  .md\:gap-8           { gap: 2rem; }
  .md\:gap-12          { gap: 3rem; }
  .md\:gap-16          { gap: 4rem; }
  .md\:px-8            { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-12           { padding-left: 3rem; padding-right: 3rem; }
  .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-32           { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-12           { padding-top: 3rem; }
  .md\:pt-16           { padding-top: 4rem; }
  .md\:pb-16           { padding-bottom: 4rem; }
  .md\:mt-0            { margin-top: 0; }
  .md\:mt-12           { margin-top: 3rem; }
  .md\:mt-16           { margin-top: 4rem; }
  .md\:mb-0            { margin-bottom: 0; }
  .md\:text-sm         { font-size: 0.875rem; }
  .md\:text-base       { font-size: 1rem; }
  .md\:text-lg         { font-size: 1.125rem; }
  .md\:text-xl         { font-size: 1.25rem; }
  .md\:text-2xl        { font-size: 1.5rem; }
  .md\:text-3xl        { font-size: 1.875rem; }
  .md\:text-4xl        { font-size: 2.25rem; }
  .md\:text-5xl        { font-size: 3rem; }
  .md\:text-6xl        { font-size: 3.75rem; }
  .md\:text-7xl        { font-size: 4.5rem; }
  .md\:text-left       { text-align: left; }
  .md\:text-right      { text-align: right; }
  .md\:text-center     { text-align: center; }
  .md\:w-1\/2          { width: 50%; }
  .md\:w-1\/3          { width: 33.333333%; }
  .md\:w-2\/3          { width: 66.666667%; }
  .md\:w-auto          { width: auto; }
  .md\:h-\[70vh\]      { height: 70vh; }
  .md\:h-\[80vh\]      { height: 80vh; }
  .md\:h-\[520px\]     { height: 520px; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21/9; }
  .md\:justify-start   { justify-content: flex-start; }
  .md\:max-w-\[680px\] { max-width: 680px; }
  .md\:max-w-3xl       { max-width: 48rem; }
  .md\:not-italic      { font-style: normal; }
  .md\:flex-nowrap     { flex-wrap: nowrap; }
  .md\:border-l        { border-left-width: 1px; border-left-style: solid; }
  .md\:pl-8            { padding-left: 2rem; }
  .md\:pl-12           { padding-left: 3rem; }
}

/* ============================================================
   27. RESPONSIVE — lg: (1024px)
   ============================================================ */

@media (min-width: 1024px) {
  .lg\:flex            { display: flex; }
  .lg\:block           { display: block; }
  .lg\:hidden          { display: none; }
  .lg\:grid            { display: grid; }
  .lg\:grid-cols-2     { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .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-4      { grid-column: span 4 / span 4; }
  .lg\:col-span-5      { grid-column: span 5 / span 5; }
  .lg\:col-span-6      { grid-column: span 6 / span 6; }
  .lg\:col-span-7      { grid-column: span 7 / span 7; }
  .lg\:col-span-8      { grid-column: span 8 / span 8; }
  .lg\:gap-12          { gap: 3rem; }
  .lg\:gap-16          { gap: 4rem; }
  .lg\:px-12           { padding-left: 3rem; padding-right: 3rem; }
  .lg\:py-20           { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-24           { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32           { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:text-4xl        { font-size: 2.25rem; }
  .lg\:text-5xl        { font-size: 3rem; }
  .lg\:text-6xl        { font-size: 3.75rem; }
  .lg\:text-7xl        { font-size: 4.5rem; }
  .lg\:text-8xl        { font-size: 6rem; }
  .lg\:text-left       { text-align: left; }
  .lg\:items-start     { align-items: flex-start; }
  .lg\:justify-between { justify-content: space-between; }
  .lg\:w-1\/2          { width: 50%; }
  .lg\:max-w-4xl       { max-width: 56rem; }
  .lg\:h-\[80vh\]      { height: 80vh; }
  .lg\:not-italic      { font-style: normal; }
  .lg\:pl-12           { padding-left: 3rem; }
}

/* ============================================================
   28. RESPONSIVE — xl: (1280px)
   ============================================================ */

@media (min-width: 1280px) {
  .xl\:text-7xl { font-size: 4.5rem; }
  .xl\:text-8xl { font-size: 6rem; }
  .xl\:py-32    { padding-top: 8rem; padding-bottom: 8rem; }
  .xl\:gap-16   { gap: 4rem; }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
}

/* ============================================================
   29. NOT-ITALIC (address reset)
   ============================================================ */

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

/* ============================================================
   30. SPACE-Y (vertical rhythm)
   ============================================================ */

.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; }

/* ============================================================
   31. ACCESSIBILITY
   ============================================================ */

.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;
}

/* ============================================================
   32. PRINT
   ============================================================ */

@media print {
  .no-print { display: none !important; }
}
