/* DRALVON JOURNAL — css/style.css */

@theme {
  --color-bg-primary:    #F5F0E8;
  --color-bg-secondary:  #EDE8DF;
  --color-ink-primary:   #0F1923;
  --color-ink-muted:     #8C8480;
  --color-accent:        #1E4D9B;
  --font-display: 'Fraunces', serif;
  --font-body:    'Manrope', sans-serif;
}

/* 3. Base reset */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { font-family: var(--font-body); background-color: var(--color-bg-primary); color: var(--color-ink-primary); }
body { line-height: 1.6; overflow-x: hidden; font-family: var(--font-body); }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
address { font-style: normal; }

/* 4. UTILITY CLASSES */

/* SPACING */
.p-0  { padding: 0; }
.p-4  { padding: 1rem; }
.p-6  { padding: 1.5rem; }
.p-8  { padding: 2rem; }
.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-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; }
.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-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pb-1 { padding-bottom: 0.25rem; }
.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; }
.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-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-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mb-0  { margin-bottom: 0; }
.mb-1  { margin-bottom: 0.25rem; }
.mb-2  { margin-bottom: 0.5rem; }
.mb-3  { margin-bottom: 0.75rem; }
.mb-4  { margin-bottom: 1rem; }
.mb-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; }
.mx-auto { margin-left: auto; margin-right: auto; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.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-4 { row-gap: 1rem; }
.gap-y-6 { row-gap: 1.5rem; }
.gap-y-8 { row-gap: 2rem; }
.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-y-12 > * + * { margin-top: 3rem; }

/* SIZING */
.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-24   { width: 6rem; }
.w-32   { width: 8rem; }
.w-48   { width: 12rem; }
.w-64   { width: 16rem; }
.w-full { width: 100%; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.h-1    { height: 0.25rem; }
.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-24   { height: 6rem; }
.h-32   { height: 8rem; }
.h-48   { height: 12rem; }
.h-64   { height: 16rem; }
.h-96   { height: 24rem; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.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-\[680px\] { max-width: 680px; }
.max-w-\[760px\] { max-width: 760px; }
.max-w-\[900px\] { max-width: 900px; }
.max-w-\[1100px\] { max-width: 1100px; }
.max-w-\[1220px\] { max-width: 1220px; }

/* FLEX / GRID */
.flex           { display: flex; }
.inline-flex    { display: inline-flex; }
.flex-col       { flex-direction: column; }
.flex-row       { flex-direction: row; }
.flex-wrap      { flex-wrap: wrap; }
.flex-nowrap    { flex-wrap: nowrap; }
.flex-shrink-0  { flex-shrink: 0; }
.flex-grow      { flex-grow: 1; }
.flex-1         { flex: 1 1 0%; }
.items-center   { align-items: center; }
.items-start    { align-items: flex-start; }
.items-end      { align-items: flex-end; }
.items-stretch  { align-items: stretch; }
.justify-between { justify-content: space-between; }
.justify-center  { justify-content: center; }
.justify-end     { justify-content: flex-end; }
.justify-start   { justify-content: flex-start; }
.self-start      { align-self: flex-start; }
.self-end        { align-self: flex-end; }
.self-center     { align-self: center; }
.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)); }
.grid-cols-6     { grid-template-columns: repeat(6, 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-full   { grid-column: 1 / -1; }
.row-span-2      { grid-row: span 2 / span 2; }

/* TYPOGRAPHY */
.font-display { font-family: var(--font-display); }
.font-body    { font-family: var(--font-body); }
.font-mono    { font-family: ui-monospace, 'Cascadia Code', 'Courier New', monospace; }
.font-serif   { font-family: var(--font-display); }
.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-9xl  { font-size: 8rem;     line-height: 1; }
.font-light    { font-weight: 300; }
.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; }
.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-tighter { letter-spacing: -0.075em; }
.tracking-tight   { letter-spacing: -0.05em; }
.tracking-normal  { letter-spacing: 0em; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }
.uppercase   { text-transform: uppercase; }
.lowercase   { text-transform: lowercase; }
.capitalize  { text-transform: capitalize; }
.not-italic  { font-style: normal; }
.italic      { font-style: italic; }
.underline   { text-decoration: underline; }
.no-underline { text-decoration: none; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-1 { text-decoration-thickness: 1px; }
.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; }

/* COLORS — brand palette */
.text-\[\#0F1923\]   { color: #0F1923; }
.text-\[\#1E4D9B\]   { color: #1E4D9B; }
.text-\[\#8C8480\]   { color: #8C8480; }
.text-\[\#F5F0E8\]   { color: #F5F0E8; }
.text-\[\#EDE8DF\]   { color: #EDE8DF; }
.text-white          { color: #ffffff; }
.text-black          { color: #000000; }
.bg-\[\#F5F0E8\]     { background-color: #F5F0E8; }
.bg-\[\#EDE8DF\]     { background-color: #EDE8DF; }
.bg-\[\#0F1923\]     { background-color: #0F1923; }
.bg-\[\#1E4D9B\]     { background-color: #1E4D9B; }
.bg-\[\#8C8480\]     { background-color: #8C8480; }
.bg-white            { background-color: #ffffff; }
.bg-transparent      { background-color: transparent; }
.border-\[\#0F1923\] { border-color: #0F1923; }
.border-\[\#1E4D9B\] { border-color: #1E4D9B; }
.border-\[\#8C8480\] { border-color: #8C8480; }
.border-\[\#F5F0E8\] { border-color: #F5F0E8; }
.border-\[\#EDE8DF\] { border-color: #EDE8DF; }
.border-white        { border-color: #ffffff; }

/* Opacity modifiers for INK_MUTED (#8C8480) */
.border-\[\#8C8480\]\/10  { border-color: rgba(140, 132, 128, 0.10); }
.border-\[\#8C8480\]\/20  { border-color: rgba(140, 132, 128, 0.20); }
.border-\[\#8C8480\]\/30  { border-color: rgba(140, 132, 128, 0.30); }
.border-\[\#8C8480\]\/40  { border-color: rgba(140, 132, 128, 0.40); }
.border-\[\#8C8480\]\/50  { border-color: rgba(140, 132, 128, 0.50); }

/* Opacity modifiers for INK_PRIMARY (#0F1923) */
.border-\[\#0F1923\]\/10  { border-color: rgba(15, 25, 35, 0.10); }
.border-\[\#0F1923\]\/20  { border-color: rgba(15, 25, 35, 0.20); }
.border-\[\#0F1923\]\/30  { border-color: rgba(15, 25, 35, 0.30); }

/* Background opacity variants */
.bg-\[\#0F1923\]\/5    { background-color: rgba(15, 25, 35, 0.05); }
.bg-\[\#0F1923\]\/10   { background-color: rgba(15, 25, 35, 0.10); }
.bg-\[\#1E4D9B\]\/10   { background-color: rgba(30, 77, 155, 0.10); }
.bg-\[\#1E4D9B\]\/90   { background-color: rgba(30, 77, 155, 0.90); }

/* Text opacity variants */
.text-\[\#0F1923\]\/70   { color: rgba(15, 25, 35, 0.70); }
.text-\[\#8C8480\]\/80   { color: rgba(140, 132, 128, 0.80); }

/* 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-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-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; }

/* DISPLAY / POSITION */
.block        { display: block; }
.inline       { display: inline; }
.inline-block { display: inline-block; }
.hidden       { display: none; }
.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; }
.right-0    { right: 0; }
.bottom-0   { bottom: 0; }
.left-0     { left: 0; }
.top-4      { top: 1rem; }
.bottom-4   { bottom: 1rem; }
.left-4     { left: 1rem; }
.right-4    { right: 1rem; }
.left-1\/2  { left: 50%; }
.top-1\/2   { top: 50%; }
.z-0        { z-index: 0; }
.z-10       { z-index: 10; }
.z-20       { z-index: 20; }
.z-30       { z-index: 30; }
.z-40       { z-index: 40; }
.z-50       { z-index: 50; }
.overflow-hidden   { overflow: hidden; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-auto     { overflow: auto; }
.cursor-pointer    { cursor: pointer; }
.cursor-default    { cursor: default; }
.pointer-events-none { pointer-events: none; }
.select-none  { user-select: none; }

/* EFFECTS */
.opacity-0   { opacity: 0; }
.opacity-30  { opacity: 0.30; }
.opacity-50  { opacity: 0.50; }
.opacity-70  { opacity: 0.70; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.80; }
.opacity-90  { opacity: 0.90; }
.opacity-100 { opacity: 1; }
.shadow-sm   { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow      { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-md   { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg   { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl   { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-none { box-shadow: none; }
.backdrop-blur-xl { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.transition          { transition-property: color,background-color,border-color,opacity,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: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-transform { transition-property: transform; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.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; }
.ease-in-out  { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.scale-95     { transform: scale(0.95); }
.scale-100    { transform: scale(1); }
.scale-105    { transform: scale(1.05); }
.scale-110    { transform: scale(1.10); }
.-translate-x-1\/2  { transform: translateX(-50%); }
.-translate-y-1\/2  { transform: translateY(-50%); }
.translate-x-0       { transform: translateX(0); }
.rotate-90    { transform: rotate(90deg); }
.-rotate-90   { transform: rotate(-90deg); }

/* ASPECT RATIO */
.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; }
.aspect-\[2\/1\]  { aspect-ratio: 2 / 1; }
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center  { object-position: center; }
.object-top     { object-position: top; }

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

/* GROUP HOVER */
.group { }
.group:hover .group-hover\:scale-105  { transform: scale(1.05); }
.group:hover .group-hover\:scale-110  { transform: scale(1.10); }
.group:hover .group-hover\:underline  { text-decoration: underline; }
.group:hover .group-hover\:text-\[\#1E4D9B\] { color: #1E4D9B; }
.group:hover .group-hover\:opacity-80 { opacity: 0.80; }

/* HOVER */
.hover\:text-\[\#1E4D9B\]:hover   { color: #1E4D9B; }
.hover\:text-\[\#0F1923\]:hover   { color: #0F1923; }
.hover\:text-\[\#F5F0E8\]:hover   { color: #F5F0E8; }
.hover\:opacity-90:hover           { opacity: 0.9; }
.hover\:opacity-80:hover           { opacity: 0.8; }
.hover\:underline:hover            { text-decoration: underline; }
.hover\:bg-\[\#EDE8DF\]:hover     { background-color: #EDE8DF; }
.hover\:bg-\[\#1E4D9B\]:hover     { background-color: #1E4D9B; }
.hover\:border-\[\#1E4D9B\]:hover { border-color: #1E4D9B; }
.hover\:scale-105:hover            { transform: scale(1.05); }
.hover\:shadow-md:hover            { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }

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

@media (min-width: 768px) {
  .md\:flex            { display: flex; }
  .md\:hidden          { display: none; }
  .md\:block           { display: block; }
  .md\:inline-block    { display: inline-block; }
  .md\:flex-row        { flex-direction: row; }
  .md\:flex-col        { flex-direction: column; }
  .md\:flex-wrap       { flex-wrap: wrap; }
  .md\:items-center    { align-items: center; }
  .md\:items-start     { align-items: flex-start; }
  .md\:justify-end     { justify-content: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-center  { justify-content: center; }
  .md\:w-1\/2          { width: 50%; }
  .md\:w-1\/3          { width: 33.333333%; }
  .md\:w-2\/3          { width: 66.666667%; }
  .md\:w-2\/5          { width: 40%; }
  .md\:w-3\/5          { width: 60%; }
  .md\:w-full          { width: 100%; }
  .md\:h-32            { height: 8rem; }
  .md\:h-48            { height: 12rem; }
  .md\:h-64            { height: 16rem; }
  .md\:h-96            { height: 24rem; }
  .md\:min-h-\[500px\] { min-height: 500px; }
  .md\:min-h-\[600px\] { min-height: 600px; }
  .md\:px-6            { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:px-8            { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-8            { padding-top: 2rem; padding-bottom: 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\:pb-0            { padding-bottom: 0; }
  .md\:mt-0            { margin-top: 0; }
  .md\:mb-0            { margin-bottom: 0; }
  .md\:ml-auto         { margin-left: auto; }
  .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\:col-span-4      { grid-column: span 4 / span 4; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 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-sm         { font-size: 0.875rem; line-height: 1.25rem; }
  .md\:text-base       { font-size: 1rem; line-height: 1.5rem; }
  .md\:text-lg         { font-size: 1.125rem; line-height: 1.75rem; }
  .md\:text-xl         { font-size: 1.25rem; line-height: 1.75rem; }
  .md\:leading-tight   { line-height: 1.25; }
  .md\:leading-snug    { line-height: 1.375; }
  .md\:max-w-2xl       { max-width: 42rem; }
  .md\:max-w-4xl       { max-width: 56rem; }
  .md\:border-t-0      { border-top-width: 0; }
  .md\:border-l        { border-left-width: 1px; border-left-style: solid; }
  .md\:col-span-full   { grid-column: 1 / -1; }
}

@media (min-width: 1024px) {
  .lg\:flex            { display: flex; }
  .lg\:hidden          { display: none; }
  .lg\:block           { display: block; }
  .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-3      { grid-column: span 3 / span 3; }
  .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-8xl        { font-size: 6rem; line-height: 1; }
  .lg\:px-12           { padding-left: 3rem; padding-right: 3rem; }
  .lg\:py-24           { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:gap-16          { gap: 4rem; }
  .lg\:w-1\/2          { width: 50%; }
  .lg\:leading-tight   { line-height: 1.25; }
}

/* MISC */
.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; }
.list-none   { list-style: none; }
.list-disc   { list-style: disc; }
.list-decimal { list-style: decimal; }
.antialiased { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.break-words { overflow-wrap: break-word; }
.whitespace-nowrap { white-space: nowrap; }
.whitespace-pre    { white-space: pre; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.resize-none  { resize: none; }

/* ARTICLE BODY PROSE STYLES */
.prose-editorial h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
  color: #0F1923;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose-editorial h3 {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  color: #0F1923;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-editorial p {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #0F1923;
  margin-bottom: 1.25rem;
}
.prose-editorial ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose-editorial ul li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #0F1923;
  margin-bottom: 0.5rem;
}
.prose-editorial ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose-editorial ol li {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #0F1923;
  margin-bottom: 0.5rem;
}
.prose-editorial blockquote {
  border-left: 3px solid #1E4D9B;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-style: italic;
  color: #0F1923;
  line-height: 1.6;
}
.prose-editorial strong { font-weight: 700; }
.prose-editorial em { font-style: italic; }
.prose-editorial a { color: #1E4D9B; text-decoration: underline; text-underline-offset: 3px; }
.prose-editorial hr { border: none; border-top: 1px solid rgba(140,132,128,0.30); margin: 2.5rem 0; }

/* BENTO GRID SPECIFIC */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
}
.bento-card {
  background-color: #EDE8DF;
  overflow: hidden;
}
.bento-card-featured {
  grid-column: span 8;
  grid-row: span 2;
}
.bento-card-small {
  grid-column: span 4;
}
@media (max-width: 767px) {
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-featured { grid-column: span 1; grid-row: span 1; }
  .bento-card-small { grid-column: span 1; }
}

/* MARQUEE */
.marquee-wrap { overflow: hidden; width: 100%; }
.marquee-track {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 28s linear infinite;
}
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* FAQ ACCORDION */
.accordion-item { border-top: 1px solid rgba(140,132,128,0.25); }
.accordion-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  background: transparent;
  border: none;
  text-align: left;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 500;
  color: #0F1923;
}
.accordion-trigger i { transition: transform 300ms ease; }
.accordion-trigger.open i { transform: rotate(45deg); }
.accordion-body { display: none; padding-bottom: 1.25rem; }
.accordion-body.open { display: block; }
.accordion-body p {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: #8C8480;
}

/* STAT STRIP */
.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid rgba(140,132,128,0.25);
  border-bottom: 1px solid rgba(140,132,128,0.25);
}
.stat-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(140,132,128,0.25);
}
.stat-item:last-child { border-right: none; }
@media (max-width: 767px) {
  .stat-strip { grid-template-columns: 1fr; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(140,132,128,0.25); }
  .stat-item:last-child { border-bottom: none; }
}

/* DIVIDER */
.ascii-divider {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: rgba(140,132,128,0.50);
  text-align: center;
  padding: 0.5rem 0;
}

/* MONO TAG */
.mono-tag {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C8480;
}

/* SECTION NUMBER */
.section-num {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  color: #1E4D9B;
  margin-bottom: 0.75rem;
  display: block;
}

/* CAPTION OVERLAY */
.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(15,25,35,0.7) 0%, transparent 100%);
  padding: 1.5rem 1rem 1rem;
}
.caption-overlay p {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.05em;
  color: rgba(245,240,232,0.85);
}

/* AOS DATA ATTRIBUTES — handled by AOS library, just ensure visibility default */
[data-aos] { opacity: 1; }

/* FORM ELEMENTS */
input, textarea, select {
  font-family: var(--font-body);
  background-color: #F5F0E8;
  color: #0F1923;
  border: 1px solid rgba(140,132,128,0.30);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}
input:focus, textarea:focus {
  outline: none;
  border-color: #1E4D9B;
}
input::placeholder, textarea::placeholder {
  color: rgba(140,132,128,0.60);
}
textarea { resize: vertical; line-height: 1.6; }
label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C8480;
  display: block;
  margin-bottom: 0.5rem;
}
button[type="submit"] {
  font-family: var(--font-body);
  font-weight: 600;
  cursor: pointer;
}

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

/* AUTHOR BIO BOX */
.author-box {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  padding: 1.5rem;
  border: 1px solid rgba(140,132,128,0.25);
  background-color: #EDE8DF;
}
.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  object-fit: cover;
  flex-shrink: 0;
  overflow: hidden;
  background-color: rgba(140,132,128,0.20);
}

/* HEADER STICKY */
header { position: sticky; top: 0; z-index: 40; }

/* METHODOLOGY TIMELINE */
.timeline-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding-bottom: 2.5rem;
  position: relative;
}
.timeline-step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 2.5rem;
  bottom: 0;
  width: 1px;
  background: rgba(140,132,128,0.25);
}
.timeline-num {
  flex-shrink: 0;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid rgba(140,132,128,0.30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: #1E4D9B;
  background: #F5F0E8;
}

/* PULL QUOTE */
.pull-quote {
  border-left: 3px solid #1E4D9B;
  padding: 1rem 0 1rem 1.5rem;
  margin: 2rem 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  line-height: 1.5;
  font-style: italic;
  color: #0F1923;
}

/* VERTICAL TEXT LABEL */
.vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(140,132,128,0.60);
}

/* KEY TAKEAWAYS */
.key-takeaways {
  background-color: rgba(30,77,155,0.07);
  border-left: 3px solid #1E4D9B;
  padding: 1.5rem;
  margin: 2rem 0;
}
.key-takeaways h4 {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #1E4D9B;
  margin-bottom: 0.75rem;
}
.key-takeaways ul {
  list-style: none;
  padding: 0;
}
.key-takeaways ul li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: #0F1923;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.4rem;
}
.key-takeaways ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #1E4D9B;
  font-size: 0.8rem;
}

/* HERO SECTION */
.hero-image-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(15,25,35,0.15) 0%, rgba(15,25,35,0.55) 100%);
}

/* NAV LINK HOVER UNDERLINE */
nav a {
  position: relative;
}
nav a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: #1E4D9B;
  transition: width 200ms ease;
}
nav a:hover::after { width: 100%; }

/* FOOTER NAV — disable underline animation for footer links */
footer nav a::after { display: none; }
footer a:hover { color: #1E4D9B; }

/* SCROLLBAR CUSTOM */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #EDE8DF; }
::-webkit-scrollbar-thumb { background: rgba(140,132,128,0.4); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(140,132,128,0.7); }

/* SELECTION */
::selection { background: rgba(30,77,155,0.15); color: #0F1923; }

/* PRINT */
@media print {
  header, footer, .cookie-banner { display: none !important; }
  body { background: white; color: black; }
}
