/* BALMOR COMPENDIUM — css/style.css */

@theme {
  --color-bg-primary:   #F5F0E8;
  --color-bg-secondary: #EDE8DF;
  --color-ink-primary:  #1C1916;
  --color-ink-muted:    #8C8480;
  --color-accent:       #A07830;
  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Manrope', system-ui, sans-serif;
}

/* ─── 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); scroll-behavior: smooth; }
body { line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { cursor: pointer; background: none; border: none; }

/* ─── 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; }
.p-16  { padding: 4rem; }
.px-0  { padding-left: 0; padding-right: 0; }
.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-0  { padding-top: 0; padding-bottom: 0; }
.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-14 { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.pt-0  { padding-top: 0; }
.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-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-0  { padding-bottom: 0; }
.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; }
.pb-10 { padding-bottom: 2.5rem; }
.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; }
.pr-6  { padding-right: 1.5rem; }
.pr-8  { padding-right: 2rem; }
.m-0   { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-0  { margin-left: 0; margin-right: 0; }
.mx-2  { margin-left: 0.5rem; margin-right: 0.5rem; }
.mx-4  { margin-left: 1rem; margin-right: 1rem; }
.my-0  { margin-top: 0; margin-bottom: 0; }
.my-2  { margin-top: 0.5rem; margin-bottom: 0.5rem; }
.my-4  { margin-top: 1rem; margin-bottom: 1rem; }
.my-8  { margin-top: 2rem; margin-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-7  { margin-top: 1.75rem; }
.mt-8  { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-14 { margin-top: 3.5rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }
.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-7  { margin-bottom: 1.75rem; }
.mb-8  { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mb-16 { margin-bottom: 4rem; }
.mb-20 { margin-bottom: 5rem; }
.mb-24 { margin-bottom: 6rem; }
.ml-0  { margin-left: 0; }
.ml-1  { margin-left: 0.25rem; }
.ml-2  { margin-left: 0.5rem; }
.ml-4  { margin-left: 1rem; }
.ml-auto { margin-left: auto; }
.mr-0  { margin-right: 0; }
.mr-1  { margin-right: 0.25rem; }
.mr-2  { margin-right: 0.5rem; }
.mr-4  { margin-right: 1rem; }
.mr-auto { margin-right: auto; }

/* ─── GAP ────────────────────────────────────────────────────── */
.gap-0  { gap: 0; }
.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-7  { gap: 1.75rem; }
.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-8 { column-gap: 2rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-y-8 { row-gap: 2rem; }
.gap-y-12 { row-gap: 3rem; }

/* ─── SPACE-Y ─────────────────────────────────────────────────── */
.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }
.space-y-16 > * + * { margin-top: 4rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* ─── SIZING ─────────────────────────────────────────────────── */
.w-auto  { width: auto; }
.w-full  { width: 100%; }
.w-1\/2  { width: 50%; }
.w-1\/3  { width: 33.333333%; }
.w-2\/3  { width: 66.666667%; }
.w-1\/4  { width: 25%; }
.w-3\/4  { width: 75%; }
.w-4     { width: 1rem; }
.w-5     { width: 1.25rem; }
.w-6     { width: 1.5rem; }
.w-8     { width: 2rem; }
.w-10    { width: 2.5rem; }
.w-12    { width: 3rem; }
.w-16    { width: 4rem; }
.w-20    { width: 5rem; }
.w-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); }
.h-auto  { height: auto; }
.h-full  { height: 100%; }
.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-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; }
.min-h-\[50vh\] { min-height: 50vh; }
.min-h-\[40vh\] { min-height: 40vh; }
.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-full { max-width: 100%; }
.max-w-none { max-width: none; }
.max-h-0    { max-height: 0; }
.max-h-screen { max-height: 100vh; }

/* ─── DISPLAY ─────────────────────────────────────────────────── */
.block        { display: block; }
.inline       { display: inline; }
.inline-block { display: inline-block; }
.inline-flex  { display: inline-flex; }
.flex         { display: flex; }
.grid         { display: grid; }
.hidden       { display: none; }
.contents     { display: contents; }

/* ─── FLEX ───────────────────────────────────────────────────── */
.flex-row     { flex-direction: row; }
.flex-col     { flex-direction: column; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap    { flex-wrap: wrap; }
.flex-nowrap  { flex-wrap: nowrap; }
.flex-1       { flex: 1 1 0%; }
.flex-auto    { flex: 1 1 auto; }
.flex-none    { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-grow    { flex-grow: 1; }
.items-start  { align-items: flex-start; }
.items-center { align-items: center; }
.items-end    { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.items-baseline { align-items: baseline; }
.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; }
.justify-evenly  { justify-content: space-evenly; }
.self-start  { align-self: flex-start; }
.self-center { align-self: center; }
.self-end    { align-self: flex-end; }
.self-stretch { align-self: stretch; }

/* ─── 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-5 { grid-template-columns: repeat(5, 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-1  { grid-row: span 1 / span 1; }
.row-span-2  { grid-row: span 2 / span 2; }
.row-span-3  { grid-row: span 3 / span 3; }

/* ─── POSITION ───────────────────────────────────────────────── */
.static   { position: static; }
.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; }
.top-4    { top: 1rem; }
.top-8    { top: 2rem; }
.right-0  { right: 0; }
.right-4  { right: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0   { left: 0; }
.left-4   { left: 1rem; }
.left-1\/2 { left: 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; }
.z-\[60\] { z-index: 60; }

/* ─── OVERFLOW ───────────────────────────────────────────────── */
.overflow-hidden   { overflow: hidden; }
.overflow-visible  { overflow: visible; }
.overflow-auto     { overflow: auto; }
.overflow-scroll   { overflow: scroll; }
.overflow-x-hidden { overflow-x: hidden; }
.overflow-y-auto   { overflow-y: auto; }

/* ─── 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-sans    { font-family: var(--font-body); }
.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-thin       { font-weight: 100; }
.font-extralight { font-weight: 200; }
.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-extrabold  { font-weight: 800; }
.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-\[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-tighter { letter-spacing: -0.08em; }
.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; }
.tracking-\[0\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.2em\]  { letter-spacing: 0.2em; }
.uppercase    { text-transform: uppercase; }
.lowercase    { text-transform: lowercase; }
.capitalize   { text-transform: capitalize; }
.normal-case  { text-transform: none; }
.italic       { font-style: italic; }
.not-italic   { font-style: normal; }
.underline    { text-decoration: underline; }
.no-underline { text-decoration: none; }
.line-through { text-decoration: line-through; }
.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-1 { text-decoration-thickness: 1px; }
.decoration-2 { text-decoration-thickness: 2px; }
.text-left   { text-align: left; }
.text-center { text-align: center; }
.text-right  { text-align: right; }
.text-justify { text-align: justify; }
.align-middle { vertical-align: middle; }
.align-top    { vertical-align: top; }
.whitespace-nowrap  { white-space: nowrap; }
.whitespace-normal  { white-space: normal; }
.whitespace-pre     { white-space: pre; }
.whitespace-pre-line { white-space: pre-line; }
.whitespace-pre-wrap { white-space: pre-wrap; }
.break-words  { overflow-wrap: break-word; }
.truncate     { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* ─── COLORS — TEXT ──────────────────────────────────────────── */
.text-\[\#1C1916\]  { color: #1C1916; }
.text-\[\#8C8480\]  { color: #8C8480; }
.text-\[\#A07830\]  { color: #A07830; }
.text-\[\#F5F0E8\]  { color: #F5F0E8; }
.text-\[\#EDE8DF\]  { color: #EDE8DF; }
.text-white         { color: #ffffff; }
.text-black         { color: #000000; }

/* ─── COLORS — BACKGROUND ────────────────────────────────────── */
.bg-\[\#F5F0E8\]    { background-color: #F5F0E8; }
.bg-\[\#EDE8DF\]    { background-color: #EDE8DF; }
.bg-\[\#1C1916\]    { background-color: #1C1916; }
.bg-\[\#A07830\]    { background-color: #A07830; }
.bg-\[\#8C8480\]    { background-color: #8C8480; }
.bg-white           { background-color: #ffffff; }
.bg-transparent     { background-color: transparent; }
.bg-\[\#F5F0E8\]\/50  { background-color: rgba(245,240,232,0.50); }
.bg-\[\#F5F0E8\]\/80  { background-color: rgba(245,240,232,0.80); }
.bg-\[\#1C1916\]\/5   { background-color: rgba(28,25,22,0.05); }
.bg-\[\#1C1916\]\/10  { background-color: rgba(28,25,22,0.10); }
.bg-\[\#A07830\]\/10  { background-color: rgba(160,120,48,0.10); }
.bg-\[\#A07830\]\/20  { background-color: rgba(160,120,48,0.20); }

/* ─── COLORS — BORDER ────────────────────────────────────────── */
.border-\[\#8C8480\]      { border-color: #8C8480; }
.border-\[\#1C1916\]      { border-color: #1C1916; }
.border-\[\#A07830\]      { border-color: #A07830; }
.border-\[\#F5F0E8\]      { border-color: #F5F0E8; }
.border-\[\#EDE8DF\]      { border-color: #EDE8DF; }
.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); }
.border-\[\#1C1916\]\/10  { border-color: rgba(28,25,22,0.10); }
.border-\[\#1C1916\]\/20  { border-color: rgba(28,25,22,0.20); }
.border-\[\#A07830\]\/30  { border-color: rgba(160,120,48,0.30); }

/* ─── BORDER ─────────────────────────────────────────────────── */
.border      { border-width: 1px; border-style: solid; }
.border-0    { border-width: 0; }
.border-2    { border-width: 2px; border-style: solid; }
.border-4    { border-width: 4px; border-style: solid; }
.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-l-\[\#A07830\] { border-left-color: #A07830; }
.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-2xl  { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }

/* ─── SHADOWS ────────────────────────────────────────────────── */
.shadow-none { box-shadow: none; }
.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); }

/* ─── OPACITY ────────────────────────────────────────────────── */
.opacity-0   { opacity: 0; }
.opacity-10  { opacity: 0.1; }
.opacity-20  { opacity: 0.2; }
.opacity-25  { opacity: 0.25; }
.opacity-30  { opacity: 0.3; }
.opacity-40  { opacity: 0.4; }
.opacity-50  { opacity: 0.5; }
.opacity-60  { opacity: 0.6; }
.opacity-70  { opacity: 0.7; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.8; }
.opacity-90  { opacity: 0.9; }
.opacity-100 { opacity: 1; }

/* ─── TRANSFORM ──────────────────────────────────────────────── */
.scale-95    { transform: scale(0.95); }
.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-3   { transform: rotate(-3deg); }
.rotate-3    { transform: rotate(3deg); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-0  { transform: translateY(0); }
.translate-y-4  { transform: translateY(1rem); }
.-translate-y-4 { transform: translateY(-1rem); }

/* ─── TRANSITIONS ────────────────────────────────────────────── */
.transition          { transition-property: color, background-color, border-color, text-decoration-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, text-decoration-color, fill, stroke; 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-75   { transition-duration: 75ms; }
.duration-100  { transition-duration: 100ms; }
.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; }
.duration-1000 { transition-duration: 1000ms; }
.ease-linear    { transition-timing-function: linear; }
.ease-in        { transition-timing-function: cubic-bezier(0.4,0,1,1); }
.ease-out       { transition-timing-function: cubic-bezier(0,0,0.2,1); }
.ease-in-out    { transition-timing-function: cubic-bezier(0.4,0,0.2,1); }

/* ─── BACKDROP ───────────────────────────────────────────────── */
.backdrop-blur-sm { backdrop-filter: blur(4px);  -webkit-backdrop-filter: blur(4px); }
.backdrop-blur    { backdrop-filter: blur(8px);  -webkit-backdrop-filter: blur(8px); }
.backdrop-blur-md { backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.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-fill    { object-fit: fill; }
.object-center  { object-position: center; }
.object-top     { object-position: top; }

/* ─── 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; }
.aspect-\[1\/1\]   { aspect-ratio: 1 / 1; }

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

/* ─── USER SELECT ────────────────────────────────────────────── */
.select-none { user-select: none; }
.select-text { user-select: text; }
.select-all  { user-select: all; }

/* ─── OUTLINE ────────────────────────────────────────────────── */
.outline-none    { outline: none; }
.outline         { outline: 1px solid; }
.ring-0          { box-shadow: 0 0 0 0; }
.ring-1          { box-shadow: 0 0 0 1px currentColor; }
.ring-2          { box-shadow: 0 0 0 2px currentColor; }

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

/* ─── TABLE ──────────────────────────────────────────────────── */
.table           { display: table; }
.table-auto      { table-layout: auto; }
.table-fixed     { table-layout: fixed; }
.border-collapse { border-collapse: collapse; }

/* ─── SPECIAL ────────────────────────────────────────────────── */
.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; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: auto; }
.resize-none { resize: none; }
.resize      { resize: both; }
.appearance-none { appearance: none; -webkit-appearance: none; }

/* ─── VISIBILITY ─────────────────────────────────────────────── */
.visible   { visibility: visible; }
.invisible { visibility: hidden; }

/* ─── HOVER STATES ───────────────────────────────────────────── */
.hover\:text-\[\#A07830\]:hover  { color: #A07830; }
.hover\:text-\[\#1C1916\]:hover  { color: #1C1916; }
.hover\:text-\[\#8C8480\]:hover  { color: #8C8480; }
.hover\:text-\[\#F5F0E8\]:hover  { color: #F5F0E8; }
.hover\:bg-\[\#EDE8DF\]:hover    { background-color: #EDE8DF; }
.hover\:bg-\[\#A07830\]:hover    { background-color: #A07830; }
.hover\:bg-\[\#1C1916\]:hover    { background-color: #1C1916; }
.hover\:border-\[\#A07830\]:hover { border-color: #A07830; }
.hover\:opacity-90:hover          { opacity: 0.9; }
.hover\:opacity-80:hover          { opacity: 0.8; }
.hover\:underline:hover           { text-decoration: underline; }
.hover\:no-underline:hover        { text-decoration: none; }
.hover\:scale-105:hover           { transform: scale(1.05); }
.hover\:shadow-md:hover           { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1); }
.hover\:shadow-lg:hover           { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1); }

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

/* ─── GROUP HOVER ────────────────────────────────────────────── */
.group { position: relative; }
.group:hover .group-hover\:scale-105    { transform: scale(1.05); }
.group:hover .group-hover\:underline    { text-decoration: underline; }
.group:hover .group-hover\:text-\[\#A07830\] { color: #A07830; }
.group:hover .group-hover\:opacity-90   { opacity: 0.9; }
.group:hover .group-hover\:opacity-80   { opacity: 0.8; }

/* ─── PROSE STYLES (article body) ───────────────────────────── */
.prose h2 { font-family: var(--font-display); font-size: 1.75rem; font-weight: 700; color: #1C1916; line-height: 1.3; margin-top: 2.5rem; margin-bottom: 1rem; }
.prose h3 { font-family: var(--font-display); font-size: 1.375rem; font-weight: 700; color: #1C1916; line-height: 1.3; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p  { font-size: 1rem; line-height: 1.75; color: #1C1916; margin-bottom: 1.25rem; }
.prose ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ul li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1.25rem; }
.prose ol li { margin-bottom: 0.5rem; line-height: 1.7; }
.prose blockquote { border-left: 3px solid #A07830; padding-left: 1.5rem; margin: 2rem 0; color: #8C8480; font-style: italic; font-size: 1.1rem; line-height: 1.6; }
.prose a { color: #A07830; text-decoration: underline; text-underline-offset: 3px; }
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }

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

/* ─── ACCORDION ──────────────────────────────────────────────── */
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.accordion-body.open { max-height: 600px; }
.accordion-icon { transition: transform 0.25s ease; }
.accordion-icon.open { transform: rotate(180deg); }

/* ─── CUSTOM DECORATIVE ──────────────────────────────────────── */
.section-label { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: #8C8480; }
.hairline { border-top: 1px solid rgba(140,132,128,0.2); }
.stat-number { font-family: var(--font-display); font-size: 3.5rem; font-weight: 700; color: #1C1916; line-height: 1; }
.stat-label  { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #8C8480; margin-top: 0.5rem; }
.article-meta { font-size: 0.8rem; color: #8C8480; display: flex; align-items: center; gap: 0.5rem; }
.tag-label { display: inline-block; font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; color: #A07830; margin-bottom: 0.5rem; }
.pull-quote { border-left: 3px solid #A07830; padding: 1.25rem 1.5rem; background: rgba(160,120,48,0.06); margin: 2rem 0; }
.pull-quote p { font-family: var(--font-display); font-size: 1.25rem; font-style: italic; color: #1C1916; line-height: 1.5; }
.numbered-section { display: flex; align-items: flex-start; gap: 1.5rem; padding: 1.5rem 0; border-top: 1px solid rgba(140,132,128,0.2); }
.numbered-section .num { font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #A07830; flex-shrink: 0; width: 2.5rem; }
.key-takeaway { background: #EDE8DF; border-left: 3px solid #A07830; padding: 1.25rem 1.5rem; margin: 1.5rem 0; }
.key-takeaway h4 { font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; color: #A07830; margin-bottom: 0.75rem; }
.key-takeaway ul { list-style: none; padding: 0; }
.key-takeaway ul li { font-size: 0.9rem; color: #1C1916; line-height: 1.6; padding-left: 1rem; position: relative; margin-bottom: 0.4rem; }
.key-takeaway ul li::before { content: '—'; position: absolute; left: 0; color: #A07830; }
.author-bio-box { border: 1px solid rgba(140,132,128,0.2); padding: 2rem; background: #EDE8DF; }

/* ─── FORM ELEMENTS ──────────────────────────────────────────── */
input[type="text"], input[type="email"], textarea, select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: #1C1916;
  background-color: #F5F0E8;
}
input::placeholder, textarea::placeholder { color: #8C8480; }
input:focus, textarea:focus, select:focus { outline: none; }

/* ─── 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\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:text-lg      { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-xl      { font-size: 1.25rem; line-height: 1.75rem; }
  .sm\:text-2xl     { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-3xl     { font-size: 1.875rem; line-height: 2.25rem; }
  .sm\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
  .sm\:py-8         { padding-top: 2rem; padding-bottom: 2rem; }
  .sm\:mt-0         { margin-top: 0; }
  .sm\:w-auto       { width: auto; }
}

@media (min-width: 768px) {
  .md\:flex         { display: flex; }
  .md\:inline-block { display: inline-block; }
  .md\:inline-flex  { display: inline-flex; }
  .md\:block        { display: block; }
  .md\:hidden       { display: none; }
  .md\:grid         { display: grid; }
  .md\:flex-row     { flex-direction: row; }
  .md\:flex-col     { flex-direction: column; }
  .md\:items-center { align-items: center; }
  .md\:items-start  { align-items: flex-start; }
  .md\:items-end    { align-items: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-center  { justify-content: center; }
  .md\:justify-end     { justify-content: flex-end; }
  .md\:gap-4        { gap: 1rem; }
  .md\:gap-6        { gap: 1.5rem; }
  .md\:gap-8        { gap: 2rem; }
  .md\:gap-12       { gap: 3rem; }
  .md\:gap-16       { gap: 4rem; }
  .md\:w-1\/2       { width: 50%; }
  .md\:w-1\/3       { width: 33.333333%; }
  .md\:w-2\/3       { width: 66.666667%; }
  .md\:w-auto       { width: auto; }
  .md\:h-32         { height: 8rem; }
  .md\:h-48         { height: 12rem; }
  .md\:h-64         { height: 16rem; }
  .md\:h-96         { height: 24rem; }
  .md\:px-6         { padding-left: 1.5rem; padding-right: 1.5rem; }
  .md\:px-8         { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-12        { padding-left: 3rem; padding-right: 3rem; }
  .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\:py-32        { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-0         { padding-top: 0; }
  .md\:pt-8         { padding-top: 2rem; }
  .md\:pt-12        { padding-top: 3rem; }
  .md\:pt-16        { padding-top: 4rem; }
  .md\:pt-24        { padding-top: 6rem; }
  .md\:pb-0         { padding-bottom: 0; }
  .md\:pb-8         { padding-bottom: 2rem; }
  .md\:pb-16        { padding-bottom: 4rem; }
  .md\:mt-0         { margin-top: 0; }
  .md\:mb-0         { margin-bottom: 0; }
  .md\:mt-8         { margin-top: 2rem; }
  .md\:mt-12        { margin-top: 3rem; }
  .md\:mt-16        { margin-top: 4rem; }
  .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\:col-span-6   { grid-column: span 6 / span 6; }
  .md\:col-span-8   { grid-column: span 8 / span 8; }
  .md\:col-span-full { grid-column: 1 / -1; }
  .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\:grid-cols-5  { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  .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\: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-8xl     { font-size: 6rem; line-height: 1; }
  .md\:text-left    { text-align: left; }
  .md\:text-center  { text-align: center; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .md\:max-w-2xl    { max-width: 42rem; }
  .md\:max-w-3xl    { max-width: 48rem; }
  .md\:max-w-4xl    { max-width: 56rem; }
  .md\:leading-\[1\.1\] { line-height: 1.1; }
  .md\:leading-tight    { line-height: 1.25; }
}

@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\:col-span-4   { grid-column: span 4 / span 4; }
  .lg\:px-8         { padding-left: 2rem; padding-right: 2rem; }
  .lg\:px-12        { padding-left: 3rem; padding-right: 3rem; }
  .lg\:py-24        { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32        { padding-top: 8rem; padding-bottom: 8rem; }
  .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\:w-1\/2       { width: 50%; }
  .lg\:w-2\/3       { width: 66.666667%; }
  .lg\:max-w-2xl    { max-width: 42rem; }
  .lg\:max-w-4xl    { max-width: 56rem; }
  .lg\:mt-0         { margin-top: 0; }
  .lg\:gap-12       { gap: 3rem; }
  .lg\:gap-16       { gap: 4rem; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:text-8xl     { font-size: 6rem; line-height: 1; }
  .xl\:text-9xl     { font-size: 8rem; line-height: 1; }
  .xl\:px-12        { padding-left: 3rem; padding-right: 3rem; }
  .xl\:py-32        { padding-top: 8rem; padding-bottom: 8rem; }
  .xl\:max-w-3xl    { max-width: 48rem; }
}

/* ─── MISC HELPERS ───────────────────────────────────────────── */
.rotate-\[-90deg\]   { transform: rotate(-90deg); }
.writing-vertical    { writing-mode: vertical-rl; text-orientation: mixed; }
.border-\[\#8C8480\]\/20 { border-color: rgba(140,132,128,0.20); }
.divider-ornament::before { content: '── ○ ──'; color: #A07830; font-size: 0.9rem; }
.ascii-rule { border: none; border-top: 1px solid rgba(140,132,128,0.2); margin: 2rem 0; }
.col-span-\[2\] { grid-column: span 2 / span 2; }

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