/* ORTELVAN JOURNAL — css/style.css */

@import url('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: #EAE6DF;
  --color-ink-primary: #1C1B17;
  --color-ink-muted: #87837A;
  --color-accent: #3B3928;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0.25rem;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; background-color: #F6F3EE; }
body { font-family: 'Inter', sans-serif; color: #1C1B17; background-color: #F6F3EE; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── LAYOUT ──────────────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.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; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 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%; }
.top-1\/2 { top: 50%; }
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }
.overflow-hidden { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.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-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.h-1 { height: 0.25rem; }
.h-px { height: 1px; }
.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-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-[60vh] { min-height: 60vh; }
.min-h-[70vh] { min-height: 70vh; }
.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-[720px] { max-width: 720px; }
.max-w-[600px] { max-width: 600px; }
.w-[calc(100%-1.5rem)] { width: calc(100% - 1.5rem); }

/* ── SPACING ─────────────────────────────────────────────────── */
.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; }
.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-1\.5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-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; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-4 { padding-right: 1rem; }
.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2 { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4 { margin-left: 1rem; margin-right: 1rem; }
.my-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; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-5 { margin-top: 1.25rem; }
.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; }
.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; }
.ml-2 { margin-left: 0.5rem; }
.ml-auto { margin-left: auto; }
.mr-2 { margin-right: 0.5rem; }
.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; }
.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; }

/* ── GRID COLUMNS ───────────────────────────────────────────── */
.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-full { grid-column: 1 / -1; }
.col-span-[2] { grid-column: span 2 / span 2; }
.row-span-2 { grid-row: span 2 / span 2; }

/* ── 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-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; }
.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.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.05; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-[0.65rem] { font-size: 0.65rem; }
.text-[0.7rem] { font-size: 0.7rem; }
.text-[2.5rem] { font-size: 2.5rem; }
.text-[3rem] { font-size: 3rem; }
.text-[3.5rem] { font-size: 3.5rem; }
.text-[4rem] { font-size: 4rem; }
.text-[5rem] { font-size: 5rem; }
.text-[6rem] { font-size: 6rem; }
.text-[7rem] { font-size: 7rem; line-height: 1; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.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.2em] { letter-spacing: 0.2em; }
.tracking-[0.3em] { letter-spacing: 0.3em; }
.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.15] { line-height: 1.15; }
.leading-[1.2] { line-height: 1.2; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: 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; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ── COLORS ──────────────────────────────────────────────────── */
.text-[#F6F3EE] { color: #F6F3EE; }
.text-[#EAE6DF] { color: #EAE6DF; }
.text-[#1C1B17] { color: #1C1B17; }
.text-[#3B3928] { color: #3B3928; }
.text-[#87837A] { color: #87837A; }
.text-[#D8D4CC] { color: #D8D4CC; }
.text-[#C5C1B8] { color: #C5C1B8; }
.text-[#ffffff] { color: #ffffff; }
.text-white { color: #ffffff; }
.text-black { color: #000000; }
.bg-[#F6F3EE] { background-color: #F6F3EE; }
.bg-[#EAE6DF] { background-color: #EAE6DF; }
.bg-[#E2DDD5] { background-color: #E2DDD5; }
.bg-[#1C1B17] { background-color: #1C1B17; }
.bg-[#3B3928] { background-color: #3B3928; }
.bg-[#87837A] { background-color: #87837A; }
.bg-[#2C2A1E] { background-color: #2C2A1E; }
.bg-[#24221A] { background-color: #24221A; }
.bg-white { background-color: #ffffff; }
.bg-transparent { background-color: transparent; }
.border-[#1C1B17] { border-color: #1C1B17; }
.border-[#3B3928] { border-color: #3B3928; }
.border-[#87837A] { border-color: #87837A; }
.border-[#D8D4CC] { border-color: #D8D4CC; }
.border-[#C5C1B8] { border-color: #C5C1B8; }
.border-[#EAE6DF] { border-color: #EAE6DF; }
.border-[#F6F3EE] { border-color: #F6F3EE; }

/* Opacity modifiers */
.text-[#87837A]\/60 { color: rgba(135,131,122,0.6); }
.border-[#87837A]\/20 { border-color: rgba(135,131,122,0.2); }
.border-[#87837A]\/30 { border-color: rgba(135,131,122,0.3); }
.border-[#1C1B17]\/10 { border-color: rgba(28,27,23,0.1); }
.border-[#1C1B17]\/20 { border-color: rgba(28,27,23,0.2); }
.border-[#3B3928]\/20 { border-color: rgba(59,57,40,0.2); }
.border-[#3B3928]\/30 { border-color: rgba(59,57,40,0.3); }
.bg-[#3B3928]\/10 { background-color: rgba(59,57,40,0.1); }
.bg-[#3B3928]\/5 { background-color: rgba(59,57,40,0.05); }
.bg-[#1C1B17]\/5 { background-color: rgba(28,27,23,0.05); }
.bg-[#F6F3EE]\/90 { background-color: rgba(246,243,238,0.9); }

/* ── 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-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-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-full { border-radius: 9999px; }
.rounded-none { border-radius: 0; }

/* ── EFFECTS ─────────────────────────────────────────────────── */
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.08); }
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.07); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.05); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.08), 0 4px 6px rgba(0,0,0,0.04); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.08), 0 10px 10px rgba(0,0,0,0.04); }
.shadow-[4px_4px_0px_#1C1B17] { box-shadow: 4px 4px 0px #1C1B17; }
.shadow-[3px_3px_0px_#1C1B17] { box-shadow: 3px 3px 0px #1C1B17; }
.shadow-[2px_2px_0px_#3B3928] { box-shadow: 2px 2px 0px #3B3928; }
.opacity-0 { opacity: 0; }
.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); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ── 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); }
.rotate-90 { transform: rotate(90deg); }
.-rotate-90 { transform: rotate(-90deg); }
.rotate-180 { transform: rotate(180deg); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-95 { transform: scale(0.95); }

/* ── TRANSITIONS ─────────────────────────────────────────────── */
.transition { transition-property: color, background-color, border-color, fill, stroke, opacity, box-shadow, transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-opacity { transition-property: opacity; transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-duration: 500ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.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); }

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

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

/* ── CURSOR ─────────────────────────────────────────────────── */
.cursor-pointer { cursor: pointer; }

/* ── OUTLINE ─────────────────────────────────────────────────── */
.outline-none { outline: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-\[#3B3928\]:focus { border-color: #3B3928; }

/* ── HOVER STATES ────────────────────────────────────────────── */
.hover\:text-\[#3B3928\]:hover { color: #3B3928; }
.hover\:text-\[#1C1B17\]:hover { color: #1C1B17; }
.hover\:text-\[#F6F3EE\]:hover { color: #F6F3EE; }
.hover\:bg-\[#3B3928\]:hover { background-color: #3B3928; }
.hover\:bg-\[#1C1B17\]:hover { background-color: #1C1B17; }
.hover\:bg-\[#EAE6DF\]:hover { background-color: #EAE6DF; }
.hover\:border-\[#3B3928\]:hover { border-color: #3B3928; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:scale-\[1\.03\]:hover { transform: scale(1.03); }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:opacity-90 { opacity: 0.9; }

/* ── RESPONSIVE UTILITIES ─────────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:flex-row { flex-direction: row; }
  .sm\:block { display: block; }
  .sm\:hidden { display: none; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:text-5xl { font-size: 3rem; line-height: 1.1; }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .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\: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\:mt-0 { margin-top: 0; }
  .md\:mt-6 { margin-top: 1.5rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .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\:pt-0 { padding-top: 0; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .md\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .md\:text-xl { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:text-base { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-sm { font-size: 0.875rem; line-height: 1.25rem; }
  .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\:row-span-2 { grid-row: span 2 / span 2; }
  .md\:w-auto { width: auto; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21/9; }
  .md\:min-h-\[80vh\] { min-height: 80vh; }
  .md\:min-h-\[70vh\] { min-height: 70vh; }
  .md\:max-w-\[600px\] { max-width: 600px; }
  .md\:justify-end { justify-content: flex-end; }
}

@media (min-width: 1024px) {
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .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-2 { grid-column: span 2 / span 2; }
  .lg\:col-span-1 { grid-column: span 1 / span 1; }
  .lg\:col-span-3 { grid-column: span 3 / span 3; }
  .lg\:row-span-2 { grid-row: span 2 / span 2; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .lg\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .lg\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-3xl { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .lg\:gap-8 { gap: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:items-end { align-items: flex-end; }
}

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

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

/* ── ACCORDION ───────────────────────────────────────────────── */
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body.open { max-height: 800px; }

/* ── ARTICLE BODY ────────────────────────────────────────────── */
.prose h2 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.5rem; color: #1C1B17; margin-top: 2.5rem; margin-bottom: 1rem; line-height: 1.25; }
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.2rem; color: #1C1B17; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p { margin-bottom: 1.25rem; line-height: 1.75; color: #2E2D27; }
.prose ul { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose ul li { margin-bottom: 0.5rem; color: #2E2D27; line-height: 1.7; list-style-type: disc; }
.prose ol { margin-bottom: 1.25rem; padding-left: 1.5rem; }
.prose ol li { margin-bottom: 0.5rem; color: #2E2D27; line-height: 1.7; list-style-type: decimal; }
.prose blockquote { border-left: 3px solid #3B3928; padding-left: 1.25rem; margin: 2rem 0; color: #3B3928; font-size: 1.1rem; font-style: italic; }
.prose strong { font-weight: 600; color: #1C1B17; }

/* ── NUMBERED MARKERS ────────────────────────────────────────── */
.section-marker { font-family: 'Space Grotesk', sans-serif; font-size: 5rem; font-weight: 700; color: rgba(28,27,23,0.06); line-height: 1; user-select: none; }

/* ── HAIRLINE DIVIDER ────────────────────────────────────────── */
.hairline { width: 100%; height: 1px; background-color: rgba(135,131,122,0.25); }

/* ── MONO TERMINAL LABEL ─────────────────────────────────────── */
.mono-label { font-family: 'Space Mono', 'Courier New', monospace; font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.2em; color: #87837A; }

/* ── BENTO CARD ──────────────────────────────────────────────── */
.bento-card { background-color: #EAE6DF; border: 1px solid rgba(135,131,122,0.2); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.bento-card:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(28,27,23,0.08); }

/* ── FORM ELEMENTS ───────────────────────────────────────────── */
input, textarea, select { font-family: 'Inter', sans-serif; font-size: 0.875rem; color: #1C1B17; background-color: #F6F3EE; border: 1px solid rgba(135,131,122,0.3); padding: 0.75rem 1rem; width: 100%; transition: border-color 0.15s ease; }
input:focus, textarea:focus, select:focus { outline: none; border-color: #3B3928; }
button { cursor: pointer; font-family: 'Inter', sans-serif; }

/* ── RESIZE ──────────────────────────────────────────────────── */
.resize-none { resize: none; }

/* ── VISIBILITY ──────────────────────────────────────────────── */
.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; }
.not-sr-only { position: static; width: auto; height: auto; padding: 0; margin: 0; overflow: visible; clip: auto; white-space: normal; }

/* ── SCROLL SNAP ─────────────────────────────────────────────── */
.snap-x { scroll-snap-type: x mandatory; }
.snap-start { scroll-snap-align: start; }

/* ── LIST STYLE ──────────────────────────────────────────────── */
.list-none { list-style-type: none; }
.list-disc { list-style-type: disc; }

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

/* ── AOS CUSTOM ──────────────────────────────────────────────── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }
