/* OSTRUN JOURNAL — css/style.css */

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

@theme {
  --color-bg-primary: #F6F3EE;
  --color-bg-secondary: #EDE9E1;
  --color-ink-primary: #1a1a18;
  --color-ink-muted: #6B6860;
  --color-accent: #2C2C2A;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
}

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

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

body {
  font-family: 'Inter', sans-serif;
  background-color: #F6F3EE;
  color: #1a1a18;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ---- LAYOUT ---- */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.grid { display: 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; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-fit { width: fit-content; }
.w-\[100\%\] { width: 100%; }
.w-\[50\%\] { width: 50%; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.h-\[60px\] { height: 60px; }
.h-\[80px\] { height: 80px; }
.h-\[300px\] { height: 300px; }
.h-\[400px\] { height: 400px; }
.h-\[480px\] { height: 480px; }
.h-\[520px\] { height: 520px; }
.h-\[560px\] { height: 560px; }
.min-h-screen { min-height: 100vh; }
.min-h-\[300px\] { min-height: 300px; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[500px\] { min-height: 500px; }
.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; }
.mx-auto { margin-left: auto; margin-right: auto; }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-auto { overflow-x: auto; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { inset: 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-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.block { display: block; }
.inline-block { display: inline-block; }
.inline { display: inline; }
.hidden { display: none; }

/* ---- SPACING ---- */
.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-4 { row-gap: 1rem; }
.gap-y-6 { row-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }
.gap-y-12 { row-gap: 3rem; }
.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; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.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-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; }
.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; }
.pr-4 { padding-right: 1rem; }
.m-0 { margin: 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-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.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; }
.mr-2 { margin-right: 0.5rem; }
.ml-auto { margin-left: auto; }

/* ---- TYPOGRAPHY ---- */
.font-display { font-family: 'Space Grotesk', sans-serif; }
.font-body { font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'Space Mono', 'Courier New', monospace; }
.font-sans { font-family: 'Inter', sans-serif; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-medium { font-weight: 500; }
.font-normal { font-weight: 400; }
.text-xs { font-size: 0.75rem; line-height: 1rem; }
.text-sm { font-size: 0.875rem; line-height: 1.25rem; }
.text-base { font-size: 1rem; line-height: 1.5rem; }
.text-lg { font-size: 1.125rem; line-height: 1.75rem; }
.text-xl { font-size: 1.25rem; line-height: 1.75rem; }
.text-2xl { font-size: 1.5rem; line-height: 2rem; }
.text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
.text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
.text-5xl { font-size: 3rem; line-height: 1; }
.text-6xl { font-size: 3.75rem; line-height: 1; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-\[0\.65rem\] { font-size: 0.65rem; }
.text-\[0\.7rem\] { font-size: 0.7rem; }
.text-\[0\.8rem\] { font-size: 0.8rem; }
.text-\[1rem\] { font-size: 1rem; }
.text-\[1\.1rem\] { font-size: 1.1rem; }
.text-\[1\.2rem\] { font-size: 1.2rem; }
.text-\[1\.4rem\] { font-size: 1.4rem; }
.text-\[1\.6rem\] { font-size: 1.6rem; }
.text-\[1\.75rem\] { font-size: 1.75rem; }
.text-\[2rem\] { font-size: 2rem; }
.text-\[2\.2rem\] { font-size: 2.2rem; }
.text-\[2\.5rem\] { font-size: 2.5rem; }
.text-\[2\.8rem\] { font-size: 2.8rem; }
.text-\[3rem\] { font-size: 3rem; }
.text-\[3\.5rem\] { font-size: 3.5rem; }
.text-\[4rem\] { font-size: 4rem; }
.text-\[4\.5rem\] { font-size: 4.5rem; }
.text-\[5rem\] { font-size: 5rem; }
.text-\[6rem\] { font-size: 6rem; }
.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\.1\] { line-height: 1.1; }
.leading-\[1\.2\] { line-height: 1.2; }
.leading-\[1\.3\] { line-height: 1.3; }
.leading-\[1\.4\] { line-height: 1.4; }
.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; }
.tracking-\[-0\.03em\] { letter-spacing: -0.03em; }
.tracking-\[-0\.02em\] { letter-spacing: -0.02em; }
.tracking-\[-0\.01em\] { letter-spacing: -0.01em; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.underline { text-decoration-line: underline; }
.no-underline { text-decoration-line: none; }
.line-through { text-decoration-line: line-through; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }
.decoration-1 { text-decoration-thickness: 1px; }
.underline-offset-4 { text-underline-offset: 4px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ---- COLORS ---- */
.bg-\[\#F6F3EE\] { background-color: #F6F3EE; }
.bg-\[\#EDE9E1\] { background-color: #EDE9E1; }
.bg-\[\#1a1a18\] { background-color: #1a1a18; }
.bg-\[\#2C2C2A\] { background-color: #2C2C2A; }
.bg-\[\#6B6860\] { background-color: #6B6860; }
.bg-\[\#E8E4DC\] { background-color: #E8E4DC; }
.bg-\[\#D8D4CC\] { background-color: #D8D4CC; }
.bg-\[\#F0EDE6\] { background-color: #F0EDE6; }
.bg-white { background-color: #ffffff; }
.bg-transparent { background-color: transparent; }
.bg-\[rgba\(27\,38\,44\,0\.780\)\] { background-color: rgba(27, 38, 44, 0.780); }
.bg-\[rgba\(255\,255\,255\,0\.100\)\] { background-color: rgba(255, 255, 255, 0.100); }
.bg-\[rgba\(27\,67\,50\,0\.140\)\] { background-color: rgba(27, 67, 50, 0.140); }
.text-\[\#F6F3EE\] { color: #F6F3EE; }
.text-\[\#EDE9E1\] { color: #EDE9E1; }
.text-\[\#1a1a18\] { color: #1a1a18; }
.text-\[\#2C2C2A\] { color: #2C2C2A; }
.text-\[\#6B6860\] { color: #6B6860; }
.text-\[\#D8E2DC\] { color: #D8E2DC; }
.text-\[\#E8E4DC\] { color: #E8E4DC; }
.text-white { color: #ffffff; }
.text-\[\#ffffff\] { color: #ffffff; }
.border-\[\#1a1a18\] { border-color: #1a1a18; }
.border-\[\#2C2C2A\] { border-color: #2C2C2A; }
.border-\[\#6B6860\] { border-color: #6B6860; }
.border-\[\#EDE9E1\] { border-color: #EDE9E1; }
.border-\[\#D8D4CC\] { border-color: #D8D4CC; }
.border-white { border-color: #ffffff; }
.border-transparent { border-color: transparent; }

/* opacity modifiers */
.border-\[\#1a1a18\]\/20 { border-color: rgba(26,26,24,0.20); }
.border-\[\#6B6860\]\/20 { border-color: rgba(107,104,96,0.20); }
.border-\[\#6B6860\]\/30 { border-color: rgba(107,104,96,0.30); }
.border-\[\#6B6860\]\/40 { border-color: rgba(107,104,96,0.40); }
.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); }

/* ---- BORDERS ---- */
.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-r { border-right-width: 1px; border-right-style: solid; }
.border-2 { border-width: 2px; border-style: solid; }
.border-\[1px\] { border-width: 1px; border-style: solid; }
.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-\[26px\] { border-radius: 26px; }
.rounded-\[999px\] { border-radius: 999px; }

/* ---- EFFECTS ---- */
.shadow { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-sm { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.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-\[4px_4px_0_\#1a1a18\] { box-shadow: 4px 4px 0 #1a1a18; }
.shadow-\[6px_6px_0_\#1a1a18\] { box-shadow: 6px 6px 0 #1a1a18; }
.shadow-\[2px_2px_0_\#1a1a18\] { box-shadow: 2px 2px 0 #1a1a18; }
.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-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }

/* ---- TRANSFORMS ---- */
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-y-0 { transform: translateY(0); }
.-translate-y-1 { transform: translateY(-0.25rem); }
.rotate-90 { transform: rotate(90deg); }
.-rotate-90 { transform: rotate(-90deg); }
.rotate-\[-90deg\] { transform: rotate(-90deg); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.10); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }

/* ---- 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; 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; }
.transition-transform { transition-property: transform; 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; }
.ease-in-out { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ---- HOVER STATES ---- */
.hover\:text-\[\#2C2C2A\]:hover { color: #2C2C2A; }
.hover\:text-\[\#1a1a18\]:hover { color: #1a1a18; }
.hover\:text-\[\#6B6860\]:hover { color: #6B6860; }
.hover\:bg-\[\#2C2C2A\]:hover { background-color: #2C2C2A; }
.hover\:bg-\[\#1a1a18\]:hover { background-color: #1a1a18; }
.hover\:bg-\[\#EDE9E1\]:hover { background-color: #EDE9E1; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-\[6px_6px_0_\#1a1a18\]:hover { box-shadow: 6px 6px 0 #1a1a18; }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }

/* ---- FOCUS STATES ---- */
.focus\:outline-none:focus { outline: none; }
.focus\:border-\[\#2C2C2A\]:focus { border-color: #2C2C2A; }
.focus\:ring-0:focus { box-shadow: none; }

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

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

/* ---- CURSOR ---- */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.select-none { user-select: none; }

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

/* ---- MISC ---- */
.not-italic { font-style: normal; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre { white-space: pre; }
.break-words { overflow-wrap: break-word; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border-width: 0; }

/* ---- DIVIDERS ---- */
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#6B6860\]\/20 > * + * { border-top-color: rgba(107,104,96,0.20); }

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

/* ---- GROUP ---- */
.group { position: relative; }

/* ---- RESPONSIVE MD ---- */
@media (min-width: 768px) {
  .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 { display: flex; }
  .md\:hidden { display: none; }
  .md\:inline-block { display: inline-block; }
  .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\:mt-0 { margin-top: 0; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-8 { padding-top: 2rem; padding-bottom: 2rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21/9; }
  .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\:text-\[5rem\] { font-size: 5rem; }
  .md\:text-\[6rem\] { font-size: 6rem; }
  .md\:text-left { text-align: left; }
  .md\:h-\[480px\] { height: 480px; }
  .md\:h-\[560px\] { height: 560px; }
  .md\:min-h-\[500px\] { min-height: 500px; }
  .md\:w-auto { width: auto; }
  .md\:max-w-none { max-width: none; }
}

/* ---- RESPONSIVE LG ---- */
@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-\[5rem\] { font-size: 5rem; }
  .lg\:text-\[5\.5rem\] { font-size: 5.5rem; }
  .lg\:text-\[6rem\] { font-size: 6rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:gap-16 { gap: 4rem; }
}

/* ---- MARQUEE ---- */
.marquee-wrapper { overflow: hidden; white-space: nowrap; border-top: 1px solid rgba(26,26,24,0.15); border-bottom: 1px solid rgba(26,26,24,0.15); }
.marquee-track { display: inline-flex; animation: marqueeScroll 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item { display: inline-flex; align-items: center; padding: 0.875rem 2rem; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.15em; color: #6B6860; white-space: nowrap; }
.marquee-sep { display: inline-block; width: 4px; height: 4px; border-radius: 9999px; background: #6B6860; margin: 0 1rem; opacity: 0.5; flex-shrink: 0; vertical-align: middle; }

/* ---- NUMBERED SECTION MARKERS ---- */
.section-number { font-family: 'Space Grotesk', sans-serif; font-size: 5rem; font-weight: 700; color: rgba(26,26,24,0.06); line-height: 1; user-select: none; }

/* ---- MONO LABEL ---- */
.mono-label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: #6B6860; font-family: 'Inter', sans-serif; }

/* ---- HAIRLINE BORDER ---- */
.hairline { border: 1px solid rgba(26,26,24,0.12); }
.hairline-t { border-top: 1px solid rgba(26,26,24,0.12); }
.hairline-b { border-bottom: 1px solid rgba(26,26,24,0.12); }

/* ---- BENTO BLOCKS ---- */
.bento-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 1rem; }
.bento-cell { background: #EDE9E1; border: 1px solid rgba(26,26,24,0.10); overflow: hidden; }
.bento-cell-large { grid-column: span 7; }
.bento-cell-medium { grid-column: span 5; }
.bento-cell-full { grid-column: span 12; }
.bento-cell-third { grid-column: span 4; }
@media (max-width: 768px) {
  .bento-cell-large, .bento-cell-medium, .bento-cell-third { grid-column: span 12; }
}

/* ---- HEADER SPECIFIC ---- */
header { background-color: #F6F3EE; border-bottom: 1px solid rgba(26,26,24,0.12); }
header a { text-decoration: none; color: #1a1a18; font-size: 0.875rem; transition: color 150ms; }
header a:hover { color: #6B6860; }
nav a { font-size: 0.875rem; font-weight: 500; letter-spacing: -0.01em; }

/* ---- FOOTER SPECIFIC ---- */
footer { background-color: #EDE9E1; border-top: 1px solid rgba(26,26,24,0.12); margin-top: 6rem; }
footer a { text-decoration: none; color: #1a1a18; transition: color 150ms; }
footer a:hover { color: #6B6860; }

/* ---- ARTICLE BODY PROSE ---- */
.prose h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: #1a1a18; margin-top: 2.5rem; margin-bottom: 1rem; letter-spacing: -0.02em; }
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: #1a1a18; margin-top: 1.75rem; margin-bottom: 0.75rem; }
.prose p { font-size: 1rem; line-height: 1.75; color: #1a1a18; margin-bottom: 1.25rem; }
.prose ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul li { font-size: 1rem; line-height: 1.75; color: #1a1a18; margin-bottom: 0.25rem; }
.prose ol { list-style-type: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol li { font-size: 1rem; line-height: 1.75; color: #1a1a18; margin-bottom: 0.25rem; }
.prose strong { font-weight: 600; color: #1a1a18; }
.prose blockquote { border-left: 3px solid #2C2C2A; padding-left: 1.25rem; margin: 2rem 0; font-style: italic; color: #6B6860; }
.prose a { color: #2C2C2A; text-decoration: underline; text-underline-offset: 3px; }

/* ---- FORM ELEMENTS ---- */
input, textarea, select { appearance: none; -webkit-appearance: none; background: #F6F3EE; border: 1px solid rgba(107,104,96,0.3); color: #1a1a18; font-family: 'Inter', sans-serif; font-size: 0.875rem; padding: 0.75rem 1rem; width: 100%; transition: border-color 150ms; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #2C2C2A; }
label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: #6B6860; display: block; margin-bottom: 0.5rem; }

/* ---- BUTTON BASE ---- */
.btn-primary { display: inline-block; background-color: #2C2C2A; color: #F6F3EE; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.875rem; padding: 0.75rem 2rem; letter-spacing: 0.02em; transition: opacity 150ms; cursor: pointer; border: none; text-decoration: none; }
.btn-primary:hover { opacity: 0.85; }
.btn-outline { display: inline-block; background-color: transparent; color: #1a1a18; font-family: 'Inter', sans-serif; font-weight: 600; font-size: 0.875rem; padding: 0.75rem 2rem; letter-spacing: 0.02em; border: 1px solid #1a1a18; transition: all 150ms; cursor: pointer; text-decoration: none; }
.btn-outline:hover { background-color: #1a1a18; color: #F6F3EE; }

/* ---- STATS STRIP ---- */
.stats-strip { background-color: #EDE9E1; border-top: 1px solid rgba(26,26,24,0.10); border-bottom: 1px solid rgba(26,26,24,0.10); }

/* ---- ACCORDION ---- */
.accordion-item { border-bottom: 1px solid rgba(26,26,24,0.12); }
.accordion-trigger { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 1.25rem 0; cursor: pointer; background: none; border: none; text-align: left; font-family: 'Inter', sans-serif; font-size: 0.9375rem; font-weight: 500; color: #1a1a18; }
.accordion-trigger:hover { color: #6B6860; }
.accordion-content { overflow: hidden; max-height: 0; transition: max-height 0.35s ease; }
.accordion-content.open { max-height: 400px; }
.accordion-body { padding: 0 0 1.25rem 0; font-size: 0.9rem; line-height: 1.7; color: #6B6860; }

/* ---- PULL QUOTE ---- */
.pull-quote { border-left: 3px solid #2C2C2A; padding: 1.5rem 2rem; background: #EDE9E1; margin: 2.5rem 0; }
.pull-quote p { font-family: 'Space Grotesk', sans-serif; font-size: 1.25rem; font-weight: 700; color: #1a1a18; line-height: 1.4; margin: 0; }

/* ---- AUTHOR BIO BOX ---- */
.author-bio { background: #EDE9E1; border: 1px solid rgba(26,26,24,0.10); padding: 1.5rem; display: flex; gap: 1.25rem; align-items: flex-start; }
.author-bio-avatar { width: 64px; height: 64px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: #D8D4CC; }
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }

/* ---- RELATED ARTICLES ---- */
.related-grid { display: grid; grid-template-columns: repeat(1, 1fr); gap: 2rem; }
@media (min-width: 768px) {
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ---- LEGAL PAGES ---- */
.legal-content h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.3rem; font-weight: 700; color: #1a1a18; margin-top: 2.5rem; margin-bottom: 0.75rem; letter-spacing: -0.01em; }
.legal-content h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.05rem; font-weight: 700; color: #1a1a18; margin-top: 1.5rem; margin-bottom: 0.5rem; }
.legal-content p { font-size: 0.9375rem; line-height: 1.75; color: #1a1a18; margin-bottom: 1rem; }
.legal-content ul { list-style-type: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { font-size: 0.9375rem; line-height: 1.75; color: #1a1a18; margin-bottom: 0.25rem; }
.legal-content a { color: #2C2C2A; text-decoration: underline; text-underline-offset: 3px; }

/* ---- 404 PAGE ---- */
.error-code { font-family: 'Space Grotesk', sans-serif; font-size: 10rem; font-weight: 700; color: rgba(26,26,24,0.08); line-height: 1; letter-spacing: -0.05em; user-select: none; }
@media (max-width: 768px) {
  .error-code { font-size: 6rem; }
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #F6F3EE; }
::-webkit-scrollbar-thumb { background: rgba(26,26,24,0.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(26,26,24,0.4); }

/* ---- SELECTION ---- */
::selection { background: rgba(44,44,42,0.15); color: #1a1a18; }

/* ---- TAG CHIP ---- */
.tag-chip { display: inline-block; font-size: 0.65rem; letter-spacing: 0.15em; text-transform: uppercase; color: #2C2C2A; background: transparent; border: 1px solid rgba(44,44,42,0.25); padding: 0.25rem 0.625rem; font-family: 'Inter', sans-serif; }

/* ---- IMAGE OVERLAY CAPTION ---- */
.img-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 0.75rem; background: rgba(26,26,24,0.55); font-size: 0.65rem; letter-spacing: 0.12em; text-transform: uppercase; color: rgba(246,243,238,0.90); font-family: 'Inter', sans-serif; }
