/* ============================================================
   Taleva Field Notes — css/style.css
   Design Family: Industrial/Workshop (K_FAMILY=4)
   Font Pair: Space Grotesk + Space Mono (K_FONT=5)
   Accent: Cobalt Navy (K_HUE=3)
   BG: Deep Dark (K_BG=2)
   ============================================================ */

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

/* ============================================================
   1. THEME TOKENS
   ============================================================ */
@theme {
  --color-bg-primary: #0D1117;
  --color-bg-secondary: #161B22;
  --color-ink-primary: #E6EDF3;
  --color-ink-muted: #8B949E;
  --color-accent: #4D7EFF;
  --color-accent-dim: #1a3a7a;
  --color-border: rgba(139,148,158,0.18);
  --font-display: 'Space Grotesk', monospace;
  --font-body: 'Space Mono', monospace;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-hard: 4px 4px 0px #4D7EFF;
  --shadow-hard-sm: 2px 2px 0px #4D7EFF;
}

/* ============================================================
   2. BASE RESET
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

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

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

address {
  font-style: normal;
}

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */

/* display */
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

/* flex */
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 0; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.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; }

/* 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)); }
.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; }

/* position */
.static { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-8 { top: 2rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.inset-0 { inset: 0; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* overflow */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* ============================================================
   4. SPACING
   ============================================================ */

/* gap */
.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-3 { row-gap: 0.75rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-y-6 { row-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }

/* padding */
.p-0 { padding: 0; }
.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; }
.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; }
.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; }
.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-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pb-0 { padding-bottom: 0; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-4 { padding-right: 1rem; }

/* margin */
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.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-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-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-auto { margin-left: auto; }

/* ============================================================
   5. SIZING
   ============================================================ */
.w-full { width: 100%; }
.w-auto { width: auto; }
.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-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.3333%; }
.w-2\/3 { width: 66.6667%; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.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-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-px { height: 1px; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[500px\] { min-height: 500px; }
.min-h-\[600px\] { min-height: 600px; }
.min-h-\[80vh\] { min-height: 80vh; }
.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-none { max-width: none; }
.max-w-\[1220px\] { max-width: 1220px; }
.max-w-\[900px\] { max-width: 900px; }
.max-w-\[700px\] { max-width: 700px; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

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

/* ============================================================
   6. TYPOGRAPHY
   ============================================================ */
.font-display { font-family: 'Space Grotesk', monospace; }
.font-body { font-family: 'Space Mono', monospace; }
.font-mono { font-family: 'Space Mono', monospace; }
.font-sans { font-family: 'Space Grotesk', monospace; }
.font-serif { font-family: 'Space Grotesk', monospace; }

.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-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[22px\] { font-size: 22px; }
.text-\[28px\] { font-size: 28px; }
.text-\[32px\] { font-size: 32px; }
.text-\[42px\] { font-size: 42px; }
.text-\[52px\] { font-size: 52px; }
.text-\[64px\] { font-size: 64px; }
.text-\[80px\] { font-size: 80px; }
.text-\[96px\] { font-size: 96px; }

.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

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

.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-\[1\.2\] { line-height: 1.2; }
.leading-\[1\.3\] { line-height: 1.3; }
.leading-\[1\.4\] { line-height: 1.4; }
.leading-\[1\.7\] { line-height: 1.7; }
.leading-\[1\.8\] { line-height: 1.8; }

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

.underline { text-decoration-line: underline; }
.no-underline { text-decoration-line: none; }
.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; }
.break-words { word-break: break-word; overflow-wrap: break-word; }

/* ============================================================
   7. COLORS
   ============================================================ */

/* backgrounds */
.bg-\[\#0D1117\] { background-color: #0D1117; }
.bg-\[\#161B22\] { background-color: #161B22; }
.bg-\[\#1C2330\] { background-color: #1C2330; }
.bg-\[\#21262D\] { background-color: #21262D; }
.bg-\[\#0a0e14\] { background-color: #0a0e14; }
.bg-\[\#4D7EFF\] { background-color: #4D7EFF; }
.bg-\[\#1a3a7a\] { background-color: #1a3a7a; }
.bg-\[\#E6EDF3\] { background-color: #E6EDF3; }
.bg-transparent { background-color: transparent; }
.bg-\[rgba\(13\,17\,23\,0\.95\)\] { background-color: rgba(13,17,23,0.95); }
.bg-\[rgba\(13\,17\,23\,0\.85\)\] { background-color: rgba(13,17,23,0.85); }
.bg-\[rgba\(22\,27\,34\,0\.9\)\] { background-color: rgba(22,27,34,0.9); }
.bg-\[rgba\(77\,126\,255\,0\.08\)\] { background-color: rgba(77,126,255,0.08); }
.bg-\[rgba\(77\,126\,255\,0\.12\)\] { background-color: rgba(77,126,255,0.12); }
.bg-\[rgba\(77\,126\,255\,0\.15\)\] { background-color: rgba(77,126,255,0.15); }
.bg-\[rgba\(255\,255\,255\,0\.04\)\] { background-color: rgba(255,255,255,0.04); }
.bg-\[rgba\(255\,255\,255\,0\.06\)\] { background-color: rgba(255,255,255,0.06); }
.bg-\[rgba\(255\,255\,255\,0\.08\)\] { background-color: rgba(255,255,255,0.08); }
.bg-\[rgba\(255\,255\,255\,0\.10\)\] { background-color: rgba(255,255,255,0.10); }
.bg-\[rgba\(27\,38\,44\,0\.780\)\] { background-color: rgba(27,38,44,0.780); }
.bg-\[rgba\(27\,67\,50\,0\.140\)\] { background-color: rgba(27,67,50,0.140); }
.bg-\[rgba\(139\,148\,158\,0\.1\)\] { background-color: rgba(139,148,158,0.1); }

/* text colors */
.text-\[\#E6EDF3\] { color: #E6EDF3; }
.text-\[\#8B949E\] { color: #8B949E; }
.text-\[\#4D7EFF\] { color: #4D7EFF; }
.text-\[\#0D1117\] { color: #0D1117; }
.text-\[\#161B22\] { color: #161B22; }
.text-\[\#C9D1D9\] { color: #C9D1D9; }
.text-\[\#D8E2DC\] { color: #D8E2DC; }
.text-\[\#ffffff\] { color: #ffffff; }
.text-white { color: #ffffff; }

/* border colors */
.border-\[\#4D7EFF\] { border-color: #4D7EFF; }
.border-\[\#8B949E\] { border-color: #8B949E; }
.border-\[\#E6EDF3\] { border-color: #E6EDF3; }
.border-\[rgba\(139\,148\,158\,0\.18\)\] { border-color: rgba(139,148,158,0.18); }
.border-\[rgba\(139\,148\,158\,0\.20\)\] { border-color: rgba(139,148,158,0.20); }
.border-\[rgba\(139\,148\,158\,0\.25\)\] { border-color: rgba(139,148,158,0.25); }
.border-\[rgba\(77\,126\,255\,0\.3\)\] { border-color: rgba(77,126,255,0.3); }
.border-\[rgba\(77\,126\,255\,0\.5\)\] { border-color: rgba(77,126,255,0.5); }
.border-\[rgba\(255\,255\,255\,0\.180\)\] { border-color: rgba(255,255,255,0.180); }
.border-\[rgba\(216\,226\,220\,0\.280\)\] { border-color: rgba(216,226,220,0.280); }
.divide-\[rgba\(139\,148\,158\,0\.15\)\] > * + * { border-top: 1px solid rgba(139,148,158,0.15); }

/* ============================================================
   8. BORDERS & RADIUS
   ============================================================ */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.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-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-2 { border-width: 2px; border-style: solid; }
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 2px; }
.rounded { border-radius: 4px; }
.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.rounded-full { border-radius: 9999px; }
.rounded-t-none { border-top-left-radius: 0; border-top-right-radius: 0; }

/* ============================================================
   9. EFFECTS
   ============================================================ */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.4); }
.shadow { box-shadow: 0 2px 4px rgba(0,0,0,0.4); }
.shadow-md { box-shadow: 0 4px 8px rgba(0,0,0,0.4); }
.shadow-lg { box-shadow: 0 8px 24px rgba(0,0,0,0.5); }
.shadow-xl { box-shadow: 0 16px 48px rgba(0,0,0,0.6); }
.shadow-\[4px_4px_0px_\#4D7EFF\] { box-shadow: 4px 4px 0px #4D7EFF; }
.shadow-\[2px_2px_0px_\#4D7EFF\] { box-shadow: 2px 2px 0px #4D7EFF; }
.shadow-\[6px_6px_0px_\#4D7EFF\] { box-shadow: 6px 6px 0px #4D7EFF; }
.shadow-\[0_20px_60px_rgba\(15\,23\,42\,0\.24\)\] { box-shadow: 0 20px 60px rgba(15,23,42,0.24); }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-70 { opacity: 0.7; }
.opacity-80 { opacity: 0.8; }
.opacity-90 { opacity: 0.9; }
.opacity-100 { opacity: 1; }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }

/* ============================================================
   10. TRANSFORMS & TRANSITIONS
   ============================================================ */
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-y-1 { transform: translateY(0.25rem); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.rotate-\[-90deg\] { transform: rotate(-90deg); }
.rotate-90 { transform: rotate(90deg); }
.scale-105 { transform: scale(1.05); }
.scale-100 { transform: scale(1); }
.scale-95 { transform: scale(0.95); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group { /* inherits */ }

.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-transform { transition-property: transform; 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-colors { transition-property: color, background-color, border-color; transition-timing-function: cubic-bezier(0.4,0,0.2,1); transition-duration: 150ms; }
.duration-150 { transition-duration: 150ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ============================================================
   11. INTERACTIONS
   ============================================================ */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-\[\#4D7EFF\]:focus { border-color: #4D7EFF; }
.hover\:text-\[\#4D7EFF\]:hover { color: #4D7EFF; }
.hover\:text-\[\#E6EDF3\]:hover { color: #E6EDF3; }
.hover\:bg-\[\#4D7EFF\]:hover { background-color: #4D7EFF; }
.hover\:bg-\[\#21262D\]:hover { background-color: #21262D; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:border-\[\#4D7EFF\]:hover { border-color: #4D7EFF; }
.hover\:shadow-\[4px_4px_0px_\#4D7EFF\]:hover { box-shadow: 4px 4px 0px #4D7EFF; }

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

/* ============================================================
   13. RESPONSIVE VARIANTS — md: (768px+)
   ============================================================ */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:hidden { display: none; }
  .md\:inline-block { display: inline-block; }
  .md\:inline-flex { display: inline-flex; }
  .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-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }
  .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\: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-0 { padding-top: 0; }
  .md\:mt-0 { margin-top: 0; }
  .md\:mt-12 { margin-top: 3rem; }
  .md\:mt-24 { margin-top: 6rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:mb-6 { margin-bottom: 1.5rem; }
  .md\:text-left { text-align: left; }
  .md\:text-right { text-align: right; }
  .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\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-\[64px\] { font-size: 64px; }
  .md\:text-\[80px\] { font-size: 80px; }
  .md\:text-\[96px\] { font-size: 96px; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-2\/3 { width: 66.6667%; }
  .md\:col-span-4 { grid-column: span 4 / span 4; }
  .md\:items-end { align-items: flex-end; }
}

/* ============================================================
   14. RESPONSIVE VARIANTS — lg: (1024px+)
   ============================================================ */
@media (min-width: 1024px) {
  .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\:text-5xl { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-\[80px\] { font-size: 80px; }
  .lg\:text-\[96px\] { font-size: 96px; }
  .lg\:text-\[120px\] { font-size: 120px; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:flex { display: flex; }
  .lg\:hidden { display: none; }
}

/* ============================================================
   15. SPACE UTILITIES (for child spacing)
   ============================================================ */
.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-5 > * + * { margin-top: 1.25rem; }
.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; }

/* ============================================================
   16. INDUSTRIAL / WORKSHOP FAMILY COMPONENTS
   ============================================================ */

/* Hard-offset shadow cards */
.card-blueprint {
  background-color: #161B22;
  border: 1px solid rgba(77,126,255,0.25);
  position: relative;
  transition: transform 150ms ease, box-shadow 150ms ease;
}
.card-blueprint:hover {
  transform: translate(-2px, -2px);
  box-shadow: 4px 4px 0px #4D7EFF;
}

/* Blueprint grid overlay */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(77,126,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77,126,255,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Stencil label (mono uppercase small) */
.stencil-label {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #4D7EFF;
}

/* Section number markers */
.section-number {
  font-family: 'Space Mono', monospace;
  font-size: 5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(77,126,255,0.12);
  position: absolute;
  top: -1rem;
  left: 0;
  pointer-events: none;
  user-select: none;
}

/* Vertical rotated label */
.rotated-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #4D7EFF;
}

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

/* ASCII divider */
.ascii-divider {
  font-family: 'Space Mono', monospace;
  font-size: 0.6rem;
  letter-spacing: 0.05em;
  color: rgba(77,126,255,0.35);
  overflow: hidden;
  white-space: nowrap;
  user-select: none;
}

/* Tag / chip */
.tag-accent {
  display: inline-block;
  background-color: rgba(77,126,255,0.12);
  border: 1px solid rgba(77,126,255,0.3);
  color: #4D7EFF;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 0.2rem 0.6rem;
  border-radius: 2px;
}

/* Nav link styles */
header a:hover {
  color: #4D7EFF;
  transition: color 150ms ease;
}

/* Footer link hover */
footer a:hover {
  color: #4D7EFF;
}

/* Form inputs */
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #4D7EFF;
}

/* Article body typography */
.article-body h2 {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 1.5rem;
  color: #E6EDF3;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(77,126,255,0.2);
}
.article-body h3 {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 1.2rem;
  color: #E6EDF3;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.article-body p {
  font-family: 'Space Mono', monospace;
  font-size: 0.9rem;
  line-height: 1.8;
  color: #C9D1D9;
  margin-bottom: 1.25rem;
}
.article-body ul {
  list-style: none;
  margin: 1rem 0 1.5rem 0;
  padding: 0;
}
.article-body ul li {
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  line-height: 1.7;
  color: #C9D1D9;
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5rem;
}
.article-body ul li::before {
  content: '//';
  position: absolute;
  left: 0;
  color: #4D7EFF;
  font-size: 0.7rem;
  top: 0.15rem;
}
.article-body blockquote {
  border-left: 3px solid #4D7EFF;
  margin: 2rem 0;
  padding: 1rem 1.5rem;
  background-color: rgba(77,126,255,0.06);
}
.article-body blockquote p {
  font-family: 'Space Grotesk', monospace;
  font-size: 1.1rem;
  font-style: italic;
  color: #E6EDF3;
  margin: 0;
}

/* Accordion */
.accordion-content {
  display: none;
  overflow: hidden;
}
.accordion-content.open {
  display: block;
}

/* Stats counter */
.stat-number {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: #4D7EFF;
}

/* Progress / timeline connector */
.timeline-item {
  position: relative;
  padding-left: 2rem;
}
.timeline-item::before {
  content: '';
  position: absolute;
  left: 0.45rem;
  top: 1.5rem;
  bottom: -1.5rem;
  width: 1px;
  background-color: rgba(77,126,255,0.25);
}
.timeline-item:last-child::before {
  display: none;
}
.timeline-dot {
  position: absolute;
  left: 0;
  top: 0.35rem;
  width: 0.9rem;
  height: 0.9rem;
  border: 2px solid #4D7EFF;
  background-color: #0D1117;
  transform: rotate(45deg);
}

/* Cookie banner text override */
.cookie-text { font-family: 'Space Mono', monospace; }

/* Sticky header */
header.sticky-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background-color: rgba(13,17,23,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

/* Hero overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(13,17,23,0.3) 0%, rgba(13,17,23,0.7) 100%);
}

/* Not-italic for address */
.not-italic { font-style: normal; }

/* Resize none for textarea */
.resize-none { resize: none; }

/* Table-of-contents navigation */
.toc-link {
  display: block;
  font-family: 'Space Mono', monospace;
  font-size: 0.75rem;
  color: #8B949E;
  padding: 0.35rem 0;
  border-left: 2px solid transparent;
  padding-left: 0.75rem;
  transition: all 150ms ease;
}
.toc-link:hover {
  color: #4D7EFF;
  border-left-color: #4D7EFF;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid #4D7EFF;
  padding: 1rem 1.5rem;
  background-color: rgba(77,126,255,0.05);
  font-family: 'Space Grotesk', monospace;
  font-size: 1.15rem;
  font-style: italic;
  color: #E6EDF3;
  line-height: 1.6;
}

/* ============================================================
   17. UTILITY EXTRAS
   ============================================================ */
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }
.list-none { list-style: none; }
.list-disc { list-style: disc; }
.list-inside { list-style-position: inside; }
.list-outside { list-style-position: outside; }
.appearance-none { appearance: none; }
.grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }
.order-first { order: -9999; }
.order-last { order: 9999; }

/* Caption overlay on images */
.img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(13,17,23,0.85));
  padding: 1.5rem 1rem 0.75rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(230,237,243,0.7);
}

/* Numbered section markers */
.num-marker {
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  color: #4D7EFF;
  text-transform: uppercase;
}
