/* ============================================================
   Indrave Almanac — css/style.css
   Prebuilt Tailwind v4.1.5 utility output
   Design family: Industrial/Workshop (K_FAMILY=4)
   Palette: Deep Dark + Cobalt-Navy muted accent
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,700&family=Inter+Tight:wght@400;500&display=swap');

@theme {
  --color-bg-primary: #0D1117;
  --color-bg-secondary: #151B24;
  --color-ink-primary: #E8EAF0;
  --color-ink-muted: #8892A4;
  --color-accent: #4A6FA5;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Inter Tight', system-ui, sans-serif;
}

/* ============================================================
   BASE RESET — @layer base
   ============================================================ */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #0D1117;
  color: #E8EAF0;
}

body {
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 400;
  line-height: 1.6;
  background-color: #0D1117;
  color: #E8EAF0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
address { font-style: normal; }
ul, ol { list-style: none; }

/* ============================================================
   TAILWIND UTILITY CLASSES
   ============================================================ */

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

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

/* --- Grid utilities --- */
.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-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-12 { grid-column: span 12 / span 12; }

/* --- Position --- */
.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; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.left-1\/2 { left: 50%; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-50 { z-index: 50; }

/* --- Width & Height --- */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-screen { width: 100vw; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[50vh\] { min-height: 50vh; }
.min-h-\[40vh\] { min-height: 40vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[680px\] { max-width: 680px; }
.max-w-\[600px\] { max-width: 600px; }
.max-w-\[1220px\] { max-width: 1220px; }
.h-1 { height: 0.25rem; }
.h-2 { height: 0.5rem; }
.h-px { height: 1px; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-40 { height: 10rem; }
.h-48 { height: 12rem; }
.h-56 { height: 14rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.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-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

/* --- Aspect ratio --- */
.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-square { aspect-ratio: 1/1; }

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

/* --- 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-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.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; }
.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-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-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; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-8 { padding-left: 2rem; }
.pr-4 { padding-right: 1rem; }

/* --- Spacing — Margin --- */
.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.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; }
.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-24 { margin-top: 6rem; }
.mt-auto { margin-top: auto; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.ml-2 { margin-left: 0.5rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }

/* --- 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-2 { column-gap: 0.5rem; }
.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; }
.gap-y-12 { row-gap: 3rem; }

/* --- Typography --- */
.font-display { font-family: 'Fraunces', Georgia, serif; }
.font-body { font-family: 'Inter Tight', system-ui, sans-serif; }
.font-mono { font-family: 'Courier New', Courier, 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-\[clamp\(2\.5rem\,6vw\,5rem\)\] { font-size: clamp(2.5rem, 6vw, 5rem); }
.text-\[clamp\(2rem\,5vw\,4rem\)\] { font-size: clamp(2rem, 5vw, 4rem); }
.text-\[clamp\(1\.5rem\,3vw\,2\.5rem\)\] { font-size: clamp(1.5rem, 3vw, 2.5rem); }
.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; }
.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; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.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; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }
.underline { text-decoration-line: underline; }
.no-underline { text-decoration-line: none; }
.line-through { text-decoration-line: 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; }

/* --- Colors --- */
.text-\[#E8EAF0\] { color: #E8EAF0; }
.text-\[#8892A4\] { color: #8892A4; }
.text-\[#4A6FA5\] { color: #4A6FA5; }
.text-\[#0D1117\] { color: #0D1117; }
.text-\[#151B24\] { color: #151B24; }
.text-\[#D8E2DC\] { color: #D8E2DC; }
.text-white { color: #ffffff; }
.bg-\[#0D1117\] { background-color: #0D1117; }
.bg-\[#151B24\] { background-color: #151B24; }
.bg-\[#4A6FA5\] { background-color: #4A6FA5; }
.bg-\[#E8EAF0\] { background-color: #E8EAF0; }
.bg-\[#1C2530\] { background-color: #1C2530; }
.bg-\[#242D3A\] { background-color: #242D3A; }
.bg-\[#0A0E14\] { background-color: #0A0E14; }
.bg-transparent { background-color: transparent; }

/* --- Border --- */
.border { border-width: 1px; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-t { border-top-width: 1px; }
.border-b { border-bottom-width: 1px; }
.border-l { border-left-width: 1px; }
.border-r { border-right-width: 1px; }
.border-l-2 { border-left-width: 2px; }
.border-l-4 { border-left-width: 4px; }
.border-t-2 { border-top-width: 2px; }
.border-\[#E8EAF0\] { border-color: #E8EAF0; }
.border-\[#4A6FA5\] { border-color: #4A6FA5; }
.border-\[#8892A4\] { border-color: #8892A4; }
.border-\[#8892A4\]\/10 { border-color: rgba(136,146,164,0.1); }
.border-\[#8892A4\]\/20 { border-color: rgba(136,146,164,0.2); }
.border-\[#8892A4\]\/30 { border-color: rgba(136,146,164,0.3); }
.border-\[#E8EAF0\]\/10 { border-color: rgba(232,234,240,0.1); }
.border-\[#E8EAF0\]\/20 { border-color: rgba(232,234,240,0.2); }
.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-xl { border-radius: 0.75rem; }
.rounded-full { border-radius: 9999px; }

/* --- Shadow & Effects --- */
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.4); }
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.5), 0 1px 2px -1px rgba(0,0,0,0.5); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.5), 0 2px 4px -2px rgba(0,0,0,0.5); }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.6), 0 4px 6px -4px rgba(0,0,0,0.6); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.7), 0 8px 10px -6px rgba(0,0,0,0.7); }
.shadow-\[4px_4px_0_\#4A6FA5\] { box-shadow: 4px 4px 0 #4A6FA5; }
.shadow-\[6px_6px_0_\#4A6FA5\] { box-shadow: 6px 6px 0 #4A6FA5; }
.shadow-\[2px_2px_0_\#4A6FA5\] { box-shadow: 2px 2px 0 #4A6FA5; }
.shadow-\[8px_8px_0_\#4A6FA5\] { box-shadow: 8px 8px 0 #4A6FA5; }
.opacity-0 { opacity: 0; }
.opacity-30 { opacity: 0.3; }
.opacity-50 { opacity: 0.5; }
.opacity-60 { opacity: 0.6; }
.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); }

/* --- Object fit --- */
.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center { object-position: center; }
.object-top { object-position: top; }

/* --- Transforms --- */
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.10); }
.-rotate-90 { transform: rotate(-90deg); }
.rotate-90 { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }

/* --- 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-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: 300ms; }
.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; }

/* --- Cursor --- */
.cursor-pointer { cursor: pointer; }

/* --- Select --- */
.select-none { user-select: none; }
.pointer-events-none { pointer-events: none; }

/* --- Outline --- */
.outline-none { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:border-\[#4A6FA5\]:focus { border-color: #4A6FA5; }
.focus\:ring-0:focus { box-shadow: none; }

/* --- Hover states --- */
.hover\:text-\[#4A6FA5\]:hover { color: #4A6FA5; }
.hover\:text-\[#E8EAF0\]:hover { color: #E8EAF0; }
.hover\:bg-\[#4A6FA5\]:hover { background-color: #4A6FA5; }
.hover\:bg-\[#151B24\]:hover { background-color: #151B24; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration-line: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-\[6px_6px_0_\#4A6FA5\]:hover { box-shadow: 6px 6px 0 #4A6FA5; }

/* --- Group hover --- */
.group { }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration-line: underline; }
.group:hover .group-hover\:text-\[#4A6FA5\] { color: #4A6FA5; }
.group:hover .group-hover\:opacity-80 { opacity: 0.8; }

/* ============================================================
   ARBITRARY VALUE CLASSES
   ============================================================ */

/* Colors — arbitrary */
.text-\[#C5CAD6\] { color: #C5CAD6; }
.text-\[#A0A8B8\] { color: #A0A8B8; }
.bg-\[#0D1117\]\/90 { background-color: rgba(13,17,23,0.9); }
.bg-\[#4A6FA5\]\/10 { background-color: rgba(74,111,165,0.1); }
.bg-\[#4A6FA5\]\/20 { background-color: rgba(74,111,165,0.2); }
.bg-\[#1C2530\]\/80 { background-color: rgba(28,37,48,0.8); }
.border-\[#4A6FA5\]\/40 { border-color: rgba(74,111,165,0.4); }
.border-\[#4A6FA5\]\/50 { border-color: rgba(74,111,165,0.5); }

/* Sizing — arbitrary */
.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.h-\[60px\] { height: 60px; }
.h-\[80px\] { height: 80px; }
.h-\[100px\] { height: 100px; }
.h-\[120px\] { height: 120px; }
.w-\[60px\] { width: 60px; }
.w-\[80px\] { width: 80px; }
.w-\[120px\] { width: 120px; }
.w-\[2px\] { width: 2px; }
.min-w-\[120px\] { min-width: 120px; }

/* --- Space-y (vertical stacking) --- */
.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; }

/* ============================================================
   RESPONSIVE VARIANTS
   ============================================================ */

@media (min-width: 640px) {
  .sm\:block { display: block; }
  .sm\:flex { display: flex; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:inline-block { display: inline-block; }
  .md\:grid { display: grid; }
  .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\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .md\:items-center { align-items: center; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:gap-16 { gap: 4rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .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\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:w-auto { width: auto; }
  .md\:w-1\/2 { width: 50%; }
  .md\:max-w-none { max-width: none; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21/9; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16/9; }
}

@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .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-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:col-span-4 { grid-column: span 4 / span 4; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .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\:text-7xl { font-size: 4.5rem; line-height: 1; }
}

/* ============================================================
   COMPONENT-LEVEL PATTERNS (structural, not semantic classes)
   ============================================================ */

/* Marquee / Scrolling strip */
.marquee-track {
  display: flex;
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  border-top: 1px solid rgba(136,146,164,0.2);
  border-bottom: 1px solid rgba(136,146,164,0.2);
  background-color: #151B24;
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: marquee-scroll 28s linear infinite;
  padding: 0.75rem 0;
}
@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hard offset shadow — Industrial family signature */
.industrial-card {
  border: 1px solid rgba(74,111,165,0.3);
  background-color: #151B24;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.industrial-card:hover {
  box-shadow: 6px 6px 0 #4A6FA5;
  transform: translate(-2px, -2px);
}

/* Rotated label */
.rotated-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #8892A4;
  white-space: nowrap;
}

/* Blueprint grid overlay */
.blueprint-bg {
  background-image:
    linear-gradient(rgba(74,111,165,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,111,165,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* Section number marker */
.section-marker {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4A6FA5;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-marker::after {
  content: '';
  display: block;
  width: 2rem;
  height: 1px;
  background-color: #4A6FA5;
}

/* Pull-quote */
blockquote.pull-quote {
  border-left: 3px solid #4A6FA5;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1.25rem;
  line-height: 1.6;
  color: #E8EAF0;
  font-style: italic;
}

/* Article body prose */
.article-prose p { margin-bottom: 1.5rem; line-height: 1.75; font-size: 1rem; color: #C5CAD6; }
.article-prose h2 { font-family: 'Fraunces', Georgia, serif; font-size: 1.5rem; font-weight: 700; color: #E8EAF0; margin-top: 2.5rem; margin-bottom: 1rem; }
.article-prose h3 { font-family: 'Fraunces', Georgia, serif; font-size: 1.2rem; font-weight: 700; color: #E8EAF0; margin-top: 2rem; margin-bottom: 0.75rem; }
.article-prose ul { list-style: none; padding: 0; margin-bottom: 1.5rem; }
.article-prose ul li { padding-left: 1.25rem; position: relative; margin-bottom: 0.5rem; color: #C5CAD6; }
.article-prose ul li::before { content: '—'; position: absolute; left: 0; color: #4A6FA5; }
.article-prose strong { color: #E8EAF0; font-weight: 600; }
.article-prose a { color: #4A6FA5; text-decoration: underline; text-decoration-thickness: 1px; }

/* Key takeaways box */
.takeaways-box {
  border: 1px solid rgba(74,111,165,0.4);
  background-color: rgba(74,111,165,0.06);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
}

/* Author bio box */
.author-bio-box {
  border-top: 1px solid rgba(136,146,164,0.2);
  border-bottom: 1px solid rgba(136,146,164,0.2);
  padding: 2rem 0;
  margin: 3rem 0;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

/* FAQ accordion */
.faq-item {
  border-bottom: 1px solid rgba(136,146,164,0.2);
}
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'Fraunces', Georgia, serif;
  font-size: 1rem;
  font-weight: 700;
  color: #E8EAF0;
  background: none;
  border: none;
  cursor: pointer;
  transition: color 0.15s;
}
.faq-question:hover { color: #4A6FA5; }
.faq-answer {
  display: none;
  padding-bottom: 1.25rem;
  font-size: 0.9rem;
  color: #8892A4;
  line-height: 1.7;
}
.faq-answer.open { display: block; }

/* Contact form */
.form-field-label {
  display: block;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8892A4;
  margin-bottom: 0.5rem;
  font-family: 'Inter Tight', system-ui, sans-serif;
}
.form-input {
  width: 100%;
  background-color: #0D1117;
  border: 1px solid rgba(136,146,164,0.3);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #E8EAF0;
  font-family: 'Inter Tight', system-ui, sans-serif;
  transition: border-color 0.15s;
  outline: none;
}
.form-input:focus { border-color: #4A6FA5; }

/* Stencil/mono label */
.mono-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #4A6FA5;
}

/* Geometric divider */
.geo-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(136,146,164,0.4);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  margin: 2rem 0;
}
.geo-divider::before,
.geo-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background-color: rgba(136,146,164,0.2);
}

/* Category tag pill */
.category-tag {
  display: inline-block;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #4A6FA5;
  font-family: 'Inter Tight', system-ui, sans-serif;
  font-weight: 500;
}

/* Reading time chip */
.reading-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.7rem;
  color: #8892A4;
  font-family: 'Courier New', Courier, monospace;
  letter-spacing: 0.08em;
}

/* Stats strip */
.stats-number {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #E8EAF0;
  line-height: 1;
}

/* Numbered section marker large */
.num-marker {
  font-family: 'Fraunces', Georgia, serif;
  font-size: 3rem;
  font-weight: 700;
  color: rgba(74,111,165,0.25);
  line-height: 1;
  user-select: none;
}

/* === FOOTER OVERRIDE for not-italic address === */
.not-italic { font-style: normal; }
