/* KOLVA COMPENDIUM — css/style.css */

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

/* ── BASE RESET ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html {
  font-family: 'Manrope', sans-serif;
  background-color: #F5F0E8;
  color: #1C1916;
}
body { line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
address { font-style: normal; }

/* ── SPACING ──────────────────────────────────────────────── */
.p-0  { padding: 0; }
.p-2  { padding: 0.5rem; }
.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-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; }
.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; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.pt-1  { padding-top: 0.25rem; }
.pt-2  { padding-top: 0.5rem; }
.pt-4  { padding-top: 1rem; }
.pt-6  { padding-top: 1.5rem; }
.pt-8  { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-24 { padding-top: 6rem; }
.pb-1  { padding-bottom: 0.25rem; }
.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; }
.pb-16 { padding-bottom: 4rem; }
.pl-4  { padding-left: 1rem; }
.pl-6  { padding-left: 1.5rem; }
.pr-4  { padding-right: 1rem; }

.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; }
.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-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; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.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; }
.my-12 { margin-top: 3rem; margin-bottom: 3rem; }

/* GAP */
.gap-1  { gap: 0.25rem; }
.gap-2  { gap: 0.5rem; }
.gap-3  { gap: 0.75rem; }
.gap-4  { gap: 1rem; }
.gap-5  { gap: 1.25rem; }
.gap-6  { gap: 1.5rem; }
.gap-8  { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-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 */
.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; }

/* ── SIZING ───────────────────────────────────────────────── */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-1\/2  { width: 50%; }
.w-1\/3  { width: 33.333333%; }
.w-2\/3  { width: 66.666667%; }
.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; }
.h-full  { height: 100%; }
.h-auto  { height: auto; }
.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-40    { height: 10rem; }
.h-48    { height: 12rem; }
.h-64    { height: 16rem; }
.h-80    { height: 20rem; }
.h-96    { height: 24rem; }
.h-screen { height: 100vh; }
.min-h-0      { min-height: 0; }
.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-\[680px\] { max-width: 680px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[900px\] { max-width: 900px; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

/* ── FLEX ─────────────────────────────────────────────────── */
.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-1      { flex: 1 1 0%; }
.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; }
.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; }
.self-start  { align-self: flex-start; }
.self-center { align-self: center; }
.self-end    { align-self: flex-end; }

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

/* ── TYPOGRAPHY ───────────────────────────────────────────── */
.font-display { font-family: 'Fraunces', serif; }
.font-body    { font-family: 'Manrope', sans-serif; }
.font-mono    { font-family: ui-monospace, 'Cascadia Code', 'Courier New', monospace; }
.font-serif   { font-family: 'Fraunces', serif; }

.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; }
.leading-7       { line-height: 1.75rem; }
.leading-8       { line-height: 2rem; }

.tracking-tighter { letter-spacing: -0.075em; }
.tracking-tight   { letter-spacing: -0.05em; }
.tracking-snug    { 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; }

.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-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

.whitespace-normal  { white-space: normal; }
.whitespace-nowrap  { white-space: nowrap; }
.whitespace-pre     { white-space: pre; }

.list-none    { list-style: none; }
.list-disc    { list-style: disc; }
.list-decimal { list-style: decimal; }

/* ── COLORS ───────────────────────────────────────────────── */
/* Text colors */
.text-\[\#F5F0E8\] { color: #F5F0E8; }
.text-\[\#EDE7D9\] { color: #EDE7D9; }
.text-\[\#1C1916\] { color: #1C1916; }
.text-\[\#8C8480\] { color: #8C8480; }
.text-\[\#A0762A\] { color: #A0762A; }
.text-\[\#6B5E4A\] { color: #6B5E4A; }
.text-\[\#3D3530\] { color: #3D3530; }
.text-white        { color: #ffffff; }
.text-black        { color: #000000; }

/* Background colors */
.bg-\[\#F5F0E8\]   { background-color: #F5F0E8; }
.bg-\[\#EDE7D9\]   { background-color: #EDE7D9; }
.bg-\[\#E5DFD2\]   { background-color: #E5DFD2; }
.bg-\[\#1C1916\]   { background-color: #1C1916; }
.bg-\[\#2A2520\]   { background-color: #2A2520; }
.bg-\[\#8C8480\]   { background-color: #8C8480; }
.bg-\[\#A0762A\]   { background-color: #A0762A; }
.bg-\[\#7A5820\]   { background-color: #7A5820; }
.bg-\[\#BF9240\]   { background-color: #BF9240; }
.bg-white          { background-color: #ffffff; }
.bg-transparent    { background-color: transparent; }

/* Border colors */
.border-\[\#F5F0E8\]    { border-color: #F5F0E8; }
.border-\[\#EDE7D9\]    { border-color: #EDE7D9; }
.border-\[\#1C1916\]    { border-color: #1C1916; }
.border-\[\#A0762A\]    { border-color: #A0762A; }
.border-\[\#8C8480\]    { border-color: #8C8480; }
.border-\[\#8C8480\]\/10 { border-color: rgba(140,132,128,0.10); }
.border-\[\#8C8480\]\/15 { border-color: rgba(140,132,128,0.15); }
.border-\[\#8C8480\]\/20 { border-color: rgba(140,132,128,0.20); }
.border-\[\#8C8480\]\/25 { border-color: rgba(140,132,128,0.25); }
.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\]\/15 { border-color: rgba(28,25,22,0.15); }
.border-\[\#1C1916\]\/20 { border-color: rgba(28,25,22,0.20); }
.border-\[\#1C1916\]\/30 { border-color: rgba(28,25,22,0.30); }
.border-\[\#A0762A\]\/30 { border-color: rgba(160,118,42,0.30); }
.border-\[\#A0762A\]\/40 { border-color: rgba(160,118,42,0.40); }
.border-\[\#A0762A\]\/50 { border-color: rgba(160,118,42,0.50); }

/* ── 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-t-2 { border-top-width: 2px; border-top-style: solid; }

.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; }

/* ── DISPLAY / POSITION ───────────────────────────────────── */
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline        { display: inline; }
.hidden        { display: none; }

.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; }

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

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

/* ── OPACITY ──────────────────────────────────────────────── */
.opacity-0   { opacity: 0; }
.opacity-25  { opacity: 0.25; }
.opacity-50  { opacity: 0.50; }
.opacity-60  { opacity: 0.60; }
.opacity-70  { opacity: 0.70; }
.opacity-75  { opacity: 0.75; }
.opacity-80  { opacity: 0.80; }
.opacity-90  { opacity: 0.90; }
.opacity-100 { opacity: 1; }

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

/* Quiet Luxury offset shadows */
.shadow-offset-amber { box-shadow: 4px 4px 0 0 #A0762A; }
.shadow-offset-ink   { box-shadow: 4px 4px 0 0 #1C1916; }

/* ── 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-lg  { backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); }
.backdrop-blur-xl  { backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px); }

/* ── TRANSITIONS & ANIMATIONS ─────────────────────────────── */
.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-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; }

/* TRANSFORMS */
.scale-95   { transform: scale(0.95); }
.scale-100  { transform: scale(1.00); }
.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-y-0  { transform: translateY(0); }
.translate-y-4  { transform: translateY(1rem); }
.-translate-y-4 { transform: translateY(-1rem); }
.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; }
.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\:ring-2:focus { box-shadow: 0 0 0 2px #A0762A; }
.focus\:border-\[\#A0762A\]:focus { border-color: #A0762A; }

/* ── GROUP HOVER ──────────────────────────────────────────── */
.group { }
.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; }
.group:hover .group-hover\:text-\[\#A0762A\] { color: #A0762A; }
.group:hover .group-hover\:text-\[\#1C1916\] { color: #1C1916; }

/* ── HOVER ────────────────────────────────────────────────── */
.hover\:text-\[\#A0762A\]:hover  { color: #A0762A; }
.hover\:text-\[\#1C1916\]:hover  { color: #1C1916; }
.hover\:text-\[\#F5F0E8\]:hover  { color: #F5F0E8; }
.hover\:bg-\[\#A0762A\]:hover    { background-color: #A0762A; }
.hover\:bg-\[\#7A5820\]:hover    { background-color: #7A5820; }
.hover\:bg-\[\#EDE7D9\]:hover    { background-color: #EDE7D9; }
.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\:border-\[\#A0762A\]:hover { border-color: #A0762A; }
.hover\:shadow-md:hover {
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
}

/* ── 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-italic { font-style: normal; }
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#8C8480\]\/20 > * + * { border-color: rgba(140,132,128,0.20); }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }

/* ── RESPONSIVE VARIANTS ──────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:flex    { display: flex; }
  .sm\:hidden  { display: none; }
  .sm\:block   { display: block; }
  .sm\:flex-row { flex-direction: row; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .sm\:text-left { text-align: left; }
  .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\: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\:justify-end    { justify-content: flex-end; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-center  { justify-content: center; }
  .md\:w-auto       { width: auto; }
  .md\:w-1\/2       { width: 50%; }
  .md\:w-1\/3       { width: 33.333333%; }
  .md\:w-2\/3       { width: 66.666667%; }
  .md\:w-3\/4       { width: 75%; }
  .md\:w-full       { width: 100%; }
  .md\:h-32         { height: 8rem; }
  .md\:h-40         { height: 10rem; }
  .md\:h-64         { height: 16rem; }
  .md\:h-80         { height: 20rem; }
  .md\:h-screen     { height: 100vh; }
  .md\:min-h-\[60vh\] { min-height: 60vh; }
  .md\:min-h-\[70vh\] { min-height: 70vh; }
  .md\:min-h-\[80vh\] { min-height: 80vh; }
  .md\:min-h-screen  { min-height: 100vh; }
  .md\:px-4  { padding-left: 1rem; padding-right: 1rem; }
  .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-4  { padding-top: 1rem; padding-bottom: 1rem; }
  .md\:py-6  { padding-top: 1.5rem; padding-bottom: 1.5rem; }
  .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-12 { padding-top: 3rem; }
  .md\:pt-16 { padding-top: 4rem; }
  .md\:pt-24 { padding-top: 6rem; }
  .md\:pb-12 { padding-bottom: 3rem; }
  .md\:pb-16 { padding-bottom: 4rem; }
  .md\:pl-8  { padding-left: 2rem; }
  .md\:pl-12 { padding-left: 3rem; }
  .md\:pr-8  { padding-right: 2rem; }
  .md\:mt-0  { margin-top: 0; }
  .md\:mt-4  { margin-top: 1rem; }
  .md\:mt-8  { margin-top: 2rem; }
  .md\:mt-12 { margin-top: 3rem; }
  .md\:mb-0  { margin-bottom: 0; }
  .md\:mb-4  { margin-bottom: 1rem; }
  .md\:mb-8  { margin-bottom: 2rem; }
  .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\:gap-y-8 { row-gap: 2rem; }
  .md\:grid-cols-1 { grid-template-columns: repeat(1, minmax(0,1fr)); }
  .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\:col-span-5  { grid-column: span 5 / span 5; }
  .md\:col-span-6  { grid-column: span 6 / span 6; }
  .md\:col-span-7  { grid-column: span 7 / span 7; }
  .md\:col-span-8  { grid-column: span 8 / span 8; }
  .md\:col-span-12 { grid-column: span 12 / span 12; }
  .md\:row-span-2  { grid-row: span 2 / span 2; }
  .md\:text-left   { text-align: left; }
  .md\:text-center { text-align: center; }
  .md\:text-right  { text-align: right; }
  .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\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .md\:border-l { border-left-width: 1px; border-left-style: solid; }
  .md\:border-t-0 { border-top-width: 0; }
  .md\:flex-shrink-0 { flex-shrink: 0; }
  .md\:self-center { align-self: center; }
  .md\:max-w-\[680px\] { max-width: 680px; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:max-w-3xl { max-width: 48rem; }
}

@media (min-width: 1024px) {
  .lg\:flex         { display: flex; }
  .lg\:hidden       { display: none; }
  .lg\:block        { display: block; }
  .lg\:grid         { display: grid; }
  .lg\:flex-row     { flex-direction: row; }
  .lg\:items-center { align-items: center; }
  .lg\:w-1\/2       { width: 50%; }
  .lg\:w-2\/3       { width: 66.666667%; }
  .lg\:w-1\/3       { width: 33.333333%; }
  .lg\:px-8   { padding-left: 2rem; padding-right: 2rem; }
  .lg\:px-12  { padding-left: 3rem; padding-right: 3rem; }
  .lg\:py-16  { padding-top: 4rem; padding-bottom: 4rem; }
  .lg\:py-24  { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32  { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:pt-32  { padding-top: 8rem; }
  .lg\:gap-8   { gap: 2rem; }
  .lg\:gap-12  { gap: 3rem; }
  .lg\:gap-16  { gap: 4rem; }
  .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\:col-span-8  { grid-column: span 8 / span 8; }
  .lg\:text-3xl  { font-size: 1.875rem; line-height: 2.25rem; }
  .lg\:text-4xl  { font-size: 2.25rem; line-height: 2.5rem; }
  .lg\:text-5xl  { font-size: 3rem; line-height: 1; }
  .lg\:text-6xl  { font-size: 3.75rem; line-height: 1; }
  .lg\:text-7xl  { font-size: 4.5rem; line-height: 1; }
  .lg\:text-8xl  { font-size: 6rem; line-height: 1; }
  .lg\:min-h-\[80vh\] { min-height: 80vh; }
  .lg\:min-h-screen   { min-height: 100vh; }
  .lg\:max-w-\[680px\] { max-width: 680px; }
  .lg\:max-w-\[720px\] { max-width: 720px; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0,1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0,1fr)); }
  .xl\:gap-12 { gap: 3rem; }
  .xl\:text-5xl { font-size: 3rem; line-height: 1; }
  .xl\:text-6xl { font-size: 3.75rem; line-height: 1; }
  .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; }
}

/* ── COMPONENT STYLES ─────────────────────────────────────── */

/* Header */
.site-header {
  width: 100%;
  border-bottom: 1px solid rgba(140,132,128,0.20);
  background-color: #F5F0E8;
  position: sticky;
  top: 0;
  z-index: 40;
}

/* Nav links */
nav a {
  transition: color 150ms;
}
nav a:hover {
  color: #A0762A;
}

/* CTA Button */
.btn-primary {
  display: inline-block;
  background-color: #A0762A;
  color: #F5F0E8;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  letter-spacing: 0.025em;
  transition: opacity 150ms, background-color 150ms;
  cursor: pointer;
  border: none;
  text-decoration: none;
}
.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #1C1916;
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.75rem 2rem;
  letter-spacing: 0.025em;
  border: 1px solid rgba(28,25,22,0.30);
  transition: border-color 150ms, color 150ms;
  cursor: pointer;
  text-decoration: none;
}
.btn-secondary:hover {
  border-color: #A0762A;
  color: #A0762A;
}

/* Article card hover */
.article-card { overflow: hidden; }
.article-card img {
  transition: transform 500ms cubic-bezier(0.4,0,0.2,1);
}
.article-card:hover img { transform: scale(1.05); }
.article-card:hover .card-title { text-decoration: underline; }

/* Marquee strip */
.marquee-outer {
  overflow: hidden;
  border-top: 1px solid rgba(140,132,128,0.20);
  border-bottom: 1px solid rgba(140,132,128,0.20);
  background-color: #EDE7D9;
  padding: 0.75rem 0;
}
.marquee-track {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: marqueeScroll 32s linear infinite;
}
@keyframes marqueeScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C8480;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 1rem;
}
.marquee-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #A0762A;
  display: inline-block;
  flex-shrink: 0;
}

/* Section label mono style */
.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C8480;
  font-family: ui-monospace, monospace;
}

/* Numbered section markers */
.section-num {
  font-family: 'Fraunces', serif;
  font-size: 4.5rem;
  line-height: 1;
  color: rgba(140,132,128,0.15);
  font-weight: 700;
  position: absolute;
  top: -1rem;
  left: 0;
  pointer-events: none;
  user-select: none;
}

/* Hairline divider */
.hairline {
  border: none;
  border-top: 1px solid rgba(140,132,128,0.20);
  width: 100%;
}

/* Pull quote */
.pull-quote {
  border-left: 4px solid #A0762A;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background-color: #EDE7D9;
  margin: 2rem 0;
}
.pull-quote p {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  line-height: 1.625;
  font-style: italic;
  color: #1C1916;
}

/* Statistics strip */
.stat-value {
  font-family: 'Fraunces', serif;
  font-size: 2.25rem;
  font-weight: 700;
  color: #1C1916;
  line-height: 1;
}
.stat-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C8480;
  margin-top: 0.5rem;
}

/* FAQ Accordion */
.accordion-item {
  border-bottom: 1px solid rgba(140,132,128,0.20);
}
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: 'Fraunces', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #1C1916;
  transition: color 150ms;
}
.accordion-trigger:hover { color: #A0762A; }
.accordion-trigger .accordion-icon {
  transition: transform 300ms;
  flex-shrink: 0;
}
.accordion-trigger.open .accordion-icon { transform: rotate(45deg); }
.accordion-content {
  overflow: hidden;
  max-height: 0;
  transition: max-height 300ms ease;
  font-size: 0.9375rem;
  color: #1C1916;
  line-height: 1.625;
}
.accordion-content.open {
  max-height: 600px;
  padding-bottom: 1.25rem;
}

/* Feature card */
.feature-card {
  padding: 2rem;
  border: 1px solid rgba(140,132,128,0.20);
  background-color: #F5F0E8;
  transition: border-color 150ms, box-shadow 150ms;
}
.feature-card:hover {
  border-color: rgba(160,118,42,0.40);
  box-shadow: 0 4px 6px -1px rgba(0,0,0,0.07);
}
.feature-icon {
  width: 2.5rem;
  height: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(160,118,42,0.12);
  color: #A0762A;
  margin-bottom: 1rem;
}

/* Author bio box */
.author-bio-box {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  padding: 2rem;
  border: 1px solid rgba(140,132,128,0.20);
  background-color: #EDE7D9;
}
.author-avatar {
  width: 5rem;
  height: 5rem;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #E5DFD2;
}

/* Form inputs */
input[type="text"],
input[type="email"],
textarea {
  font-family: 'Manrope', sans-serif;
  background-color: #F5F0E8;
  border: 1px solid rgba(140,132,128,0.30);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #1C1916;
  width: 100%;
  outline: none;
  transition: border-color 150ms;
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border-color: #A0762A;
}

/* Footer */
.site-footer {
  background-color: #EDE7D9;
  border-top: 1px solid rgba(140,132,128,0.20);
}

/* 404 page */
.error-404-num {
  font-family: 'Fraunces', serif;
  font-size: 8rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(140,132,128,0.20);
}

/* Rotated label (decorative) */
.label-rotated {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8C8480;
  font-family: ui-monospace, monospace;
}

/* ASCII divider */
.ascii-divider {
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  color: rgba(140,132,128,0.40);
  letter-spacing: 0.05em;
  user-select: none;
}

/* Hero overlay on image */
.hero-caption-overlay {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  color: rgba(245,240,232,0.70);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* Tag pill */
.tag-pill {
  display: inline-block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(160,118,42,0.40);
  color: #A0762A;
  font-family: ui-monospace, monospace;
}

/* Progress / timeline line */
.timeline-line {
  position: absolute;
  left: 1.25rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background-color: rgba(140,132,128,0.20);
}
.timeline-dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background-color: #A0762A;
  border: 2px solid #F5F0E8;
  box-shadow: 0 0 0 1px #A0762A;
  flex-shrink: 0;
  margin-top: 0.35rem;
}

/* Key takeaways list */
.takeaways-list {
  border: 1px solid rgba(160,118,42,0.30);
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  background-color: rgba(160,118,42,0.05);
}
.takeaways-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.375rem 0;
  font-size: 0.9375rem;
  color: #1C1916;
  line-height: 1.5;
}
.takeaways-list li::before {
  content: '—';
  color: #A0762A;
  font-family: ui-monospace, monospace;
  flex-shrink: 0;
}

/* Long-form prose */
.prose-editorial p {
  font-size: 1rem;
  line-height: 1.75;
  color: #1C1916;
  margin-bottom: 1.25rem;
}
.prose-editorial h2 {
  font-family: 'Fraunces', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #1C1916;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}
.prose-editorial h3 {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #1C1916;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.prose-editorial ul {
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}
.prose-editorial ul li {
  font-size: 1rem;
  line-height: 1.75;
  color: #1C1916;
  margin-bottom: 0.375rem;
}
.prose-editorial strong {
  font-weight: 600;
  color: #1C1916;
}
.prose-editorial em {
  font-style: italic;
  color: #3D3530;
}

/* Mobile nav */
.mobile-nav-container {
  background-color: #F5F0E8;
  border-top: 1px solid rgba(140,132,128,0.20);
}

/* Utility: visually full-bleed image container */
.img-full-bleed {
  width: 100%;
  overflow: hidden;
}
.img-full-bleed img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Cookie banner text link */
.cookie-link {
  color: #D8E2DC;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition: color 150ms;
}
