/* DALVE COMPENDIUM — css/style.css */

@theme {
  --color-bg-primary:   #F6F1E9;
  --color-bg-secondary: #EDE7DC;
  --color-ink-primary:  #1E1A16;
  --color-ink-muted:    #8A7D72;
  --color-accent:       #9C6F2E;
  --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; }
button { cursor: pointer; background: none; border: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-weight: inherit; line-height: 1.2; }

/* ============================================================
   SPACING — PADDING
   ============================================================ */
.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; }

.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-28   { padding-top: 7rem; padding-bottom: 7rem; }
.py-32   { padding-top: 8rem; padding-bottom: 8rem; }
.py-40   { padding-top: 10rem; padding-bottom: 10rem; }
.py-48   { padding-top: 12rem; padding-bottom: 12rem; }

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

.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-5    { padding-top: 1.25rem; }
.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-5    { padding-bottom: 1.25rem; }
.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-0    { padding-left: 0; }
.pl-2    { padding-left: 0.5rem; }
.pl-4    { padding-left: 1rem; }
.pl-5    { padding-left: 1.25rem; }
.pl-6    { padding-left: 1.5rem; }
.pl-8    { padding-left: 2rem; }

.pr-0    { padding-right: 0; }
.pr-2    { padding-right: 0.5rem; }
.pr-4    { padding-right: 1rem; }
.pr-6    { padding-right: 1.5rem; }
.pr-8    { padding-right: 2rem; }

/* ============================================================
   SPACING — MARGIN
   ============================================================ */
.m-0   { margin: 0; }
.m-2   { margin: 0.5rem; }
.m-4   { margin: 1rem; }
.m-auto { margin: 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; }
.mx-auto { margin-left: auto; margin-right: auto; }
.-mx-4   { margin-left: -1rem; margin-right: -1rem; }

.my-0    { margin-top: 0; margin-bottom: 0; }
.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-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-28   { margin-top: 7rem; }
.mt-32   { margin-top: 8rem; }
.mt-40   { margin-top: 10rem; }
.mt-48   { margin-top: 12rem; }

.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-14   { margin-bottom: 3.5rem; }
.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-3    { margin-left: 0.75rem; }
.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-3    { margin-right: 0.75rem; }
.mr-4    { margin-right: 1rem; }
.mr-auto { margin-right: auto; }

/* ============================================================
   SPACING — GAP & SPACE
   ============================================================ */
.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-14  { gap: 3.5rem; }
.gap-16  { gap: 4rem; }
.gap-20  { gap: 5rem; }
.gap-24  { gap: 6rem; }

.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-x-12 { column-gap: 3rem; }
.gap-y-2  { row-gap: 0.5rem; }
.gap-y-4  { row-gap: 1rem; }
.gap-y-6  { row-gap: 1.5rem; }
.gap-y-8  { row-gap: 2rem; }

.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-1 > * + * { margin-left: 0.25rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* ============================================================
   SIZING — WIDTH
   ============================================================ */
.w-0     { width: 0; }
.w-px    { width: 1px; }
.w-1     { width: 0.25rem; }
.w-2     { width: 0.5rem; }
.w-3     { width: 0.75rem; }
.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-14    { width: 3.5rem; }
.w-16    { width: 4rem; }
.w-20    { width: 5rem; }
.w-24    { width: 6rem; }
.w-28    { width: 7rem; }
.w-32    { width: 8rem; }
.w-40    { width: 10rem; }
.w-48    { width: 12rem; }
.w-56    { width: 14rem; }
.w-64    { width: 16rem; }
.w-72    { width: 18rem; }
.w-80    { width: 20rem; }
.w-96    { width: 24rem; }
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-screen { width: 100vw; }
.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-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

/* ============================================================
   SIZING — HEIGHT
   ============================================================ */
.h-0     { height: 0; }
.h-px    { height: 1px; }
.h-1     { height: 0.25rem; }
.h-2     { height: 0.5rem; }
.h-3     { height: 0.75rem; }
.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-14    { height: 3.5rem; }
.h-16    { height: 4rem; }
.h-20    { height: 5rem; }
.h-24    { height: 6rem; }
.h-28    { height: 7rem; }
.h-32    { height: 8rem; }
.h-40    { height: 10rem; }
.h-48    { height: 12rem; }
.h-56    { height: 14rem; }
.h-64    { height: 16rem; }
.h-72    { height: 18rem; }
.h-80    { height: 20rem; }
.h-96    { height: 24rem; }
.h-full  { height: 100%; }
.h-screen { height: 100vh; }

.min-h-0       { min-height: 0; }
.min-h-full    { min-height: 100%; }
.min-h-screen  { min-height: 100vh; }
.min-h-\[40vh\] { min-height: 40vh; }
.min-h-\[50vh\] { min-height: 50vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.min-h-\[80vh\] { min-height: 80vh; }

.max-h-0      { max-height: 0; }
.max-h-32     { max-height: 8rem; }
.max-h-48     { max-height: 12rem; }
.max-h-64     { max-height: 16rem; }
.max-h-96     { max-height: 24rem; }
.max-h-screen { max-height: 100vh; }

.max-w-none    { max-width: none; }
.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-screen-xl { max-width: 1280px; }

.min-w-0       { min-width: 0; }
.min-w-full    { min-width: 100%; }

/* ============================================================
   FLEX / GRID
   ============================================================ */
.flex          { display: flex; }
.inline-flex   { display: inline-flex; }
.flex-col      { flex-direction: column; }
.flex-row      { flex-direction: row; }
.flex-col-reverse { flex-direction: column-reverse; }
.flex-wrap     { flex-wrap: wrap; }
.flex-nowrap   { flex-wrap: nowrap; }
.flex-shrink-0 { flex-shrink: 0; }
.flex-shrink   { flex-shrink: 1; }
.flex-grow     { flex-grow: 1; }
.flex-grow-0   { flex-grow: 0; }
.flex-1        { flex: 1 1 0%; }
.flex-auto     { flex: 1 1 auto%; }
.flex-none     { flex: none; }
.flex-initial  { flex: 0 1 auto; }

.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-auto    { align-self: auto; }
.self-start   { align-self: flex-start; }
.self-center  { align-self: center; }
.self-end     { align-self: flex-end; }
.self-stretch { align-self: stretch; }

.grid              { display: grid; }
.inline-grid       { display: inline-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-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; }

.grid-rows-1   { grid-template-rows: repeat(1, minmax(0, 1fr)); }
.grid-rows-2   { grid-template-rows: repeat(2, minmax(0, 1fr)); }

.place-items-center { place-items: center; }
.place-content-center { place-content: center; }

/* ============================================================
   DISPLAY / POSITION
   ============================================================ */
.block         { display: block; }
.inline-block  { display: inline-block; }
.inline        { display: inline; }
.hidden        { display: none; }
.contents      { display: contents; }
.table         { display: table; }
.table-cell    { display: table-cell; }

.relative  { position: relative; }
.absolute  { position: absolute; }
.fixed     { position: fixed; }
.sticky    { position: sticky; }
.static    { position: static; }

.inset-0   { top: 0; right: 0; bottom: 0; left: 0; }
.top-0     { top: 0; }
.top-2     { top: 0.5rem; }
.top-4     { top: 1rem; }
.top-1\/2  { top: 50%; }
.right-0   { right: 0; }
.right-2   { right: 0.5rem; }
.right-4   { right: 1rem; }
.bottom-0  { bottom: 0; }
.bottom-4  { bottom: 1rem; }
.bottom-6  { bottom: 1.5rem; }
.bottom-8  { bottom: 2rem; }
.left-0    { left: 0; }
.left-2    { left: 0.5rem; }
.left-4    { left: 1rem; }
.left-1\/2 { left: 50%; }
.-top-px   { top: -1px; }

.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-10  { z-index: -10; }

.overflow-hidden    { overflow: hidden; }
.overflow-auto      { overflow: auto; }
.overflow-scroll    { overflow: scroll; }
.overflow-visible   { overflow: visible; }
.overflow-x-hidden  { overflow-x: hidden; }
.overflow-x-auto    { overflow-x: auto; }
.overflow-y-auto    { overflow-y: auto; }
.overflow-y-hidden  { overflow-y: hidden; }

.cursor-pointer  { cursor: pointer; }
.cursor-default  { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.select-none     { user-select: none; }
.select-all      { user-select: all; }
.pointer-events-none { pointer-events: none; }
.pointer-events-auto { pointer-events: 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: Georgia, 'Times New Roman', 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-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-4       { line-height: 1rem; }
.leading-5       { line-height: 1.25rem; }
.leading-6       { line-height: 1.5rem; }
.leading-7       { line-height: 1.75rem; }
.leading-8       { line-height: 2rem; }
.leading-9       { line-height: 2.25rem; }
.leading-10      { line-height: 2.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; }
.normal-case  { text-transform: none; }
.italic       { font-style: italic; }
.not-italic   { font-style: normal; }

.text-left    { text-align: left; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.text-justify { text-align: justify; }

.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; }
.underline-offset-8    { text-underline-offset: 8px; }
.decoration-1          { text-decoration-thickness: 1px; }
.decoration-2          { text-decoration-thickness: 2px; }

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

.line-clamp-1 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 1; }
.line-clamp-2 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.line-clamp-3 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.line-clamp-4 { overflow: hidden; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; }

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

/* ============================================================
   COLORS — PALETTE
   ============================================================ */
/* BG_PRIMARY #F6F1E9 */
.bg-\[\#F6F1E9\]     { background-color: #F6F1E9; }
.text-\[\#F6F1E9\]   { color: #F6F1E9; }
.border-\[\#F6F1E9\] { border-color: #F6F1E9; }
.fill-\[\#F6F1E9\]   { fill: #F6F1E9; }

/* BG_SECONDARY #EDE7DC */
.bg-\[\#EDE7DC\]     { background-color: #EDE7DC; }
.text-\[\#EDE7DC\]   { color: #EDE7DC; }
.border-\[\#EDE7DC\] { border-color: #EDE7DC; }

/* INK_PRIMARY #1E1A16 */
.bg-\[\#1E1A16\]     { background-color: #1E1A16; }
.text-\[\#1E1A16\]   { color: #1E1A16; }
.border-\[\#1E1A16\] { border-color: #1E1A16; }
.fill-\[\#1E1A16\]   { fill: #1E1A16; }

/* ACCENT #9C6F2E */
.bg-\[\#9C6F2E\]      { background-color: #9C6F2E; }
.text-\[\#9C6F2E\]    { color: #9C6F2E; }
.border-\[\#9C6F2E\]  { border-color: #9C6F2E; }
.fill-\[\#9C6F2E\]    { fill: #9C6F2E; }

/* INK_MUTED #8A7D72 */
.bg-\[\#8A7D72\]      { background-color: #8A7D72; }
.text-\[\#8A7D72\]    { color: #8A7D72; }
.border-\[\#8A7D72\]  { border-color: #8A7D72; }

/* INK_MUTED opacity border variants */
.border-\[\#8A7D72\]\/5   { border-color: rgba(138,125,114,0.05); }
.border-\[\#8A7D72\]\/10  { border-color: rgba(138,125,114,0.10); }
.border-\[\#8A7D72\]\/15  { border-color: rgba(138,125,114,0.15); }
.border-\[\#8A7D72\]\/20  { border-color: rgba(138,125,114,0.20); }
.border-\[\#8A7D72\]\/25  { border-color: rgba(138,125,114,0.25); }
.border-\[\#8A7D72\]\/30  { border-color: rgba(138,125,114,0.30); }
.border-\[\#8A7D72\]\/40  { border-color: rgba(138,125,114,0.40); }
.border-\[\#8A7D72\]\/50  { border-color: rgba(138,125,114,0.50); }

/* INK_MUTED opacity text variants */
.text-\[\#8A7D72\]\/60    { color: rgba(138,125,114,0.60); }
.text-\[\#8A7D72\]\/80    { color: rgba(138,125,114,0.80); }

/* ACCENT opacity bg variants */
.bg-\[\#9C6F2E\]\/5    { background-color: rgba(156,111,46,0.05); }
.bg-\[\#9C6F2E\]\/10   { background-color: rgba(156,111,46,0.10); }
.bg-\[\#9C6F2E\]\/15   { background-color: rgba(156,111,46,0.15); }
.bg-\[\#9C6F2E\]\/20   { background-color: rgba(156,111,46,0.20); }

/* INK_PRIMARY opacity bg variants */
.bg-\[\#1E1A16\]\/5   { background-color: rgba(30,26,22,0.05); }
.bg-\[\#1E1A16\]\/10  { background-color: rgba(30,26,22,0.10); }
.bg-\[\#1E1A16\]\/30  { background-color: rgba(30,26,22,0.30); }
.bg-\[\#1E1A16\]\/50  { background-color: rgba(30,26,22,0.50); }
.bg-\[\#1E1A16\]\/70  { background-color: rgba(30,26,22,0.70); }
.bg-\[\#1E1A16\]\/80  { background-color: rgba(30,26,22,0.80); }

/* White variants for cookie banner and overlays */
.text-white   { color: #ffffff; }
.bg-white     { background-color: #ffffff; }
.border-white { border-color: #ffffff; }
.border-white\/10  { border-color: rgba(255,255,255,0.10); }
.border-white\/18  { border-color: rgba(255,255,255,0.18); }
.border-white\/20  { border-color: rgba(255,255,255,0.20); }
.border-white\/28  { border-color: rgba(255,255,255,0.28); }
.bg-white\/10      { background-color: rgba(255,255,255,0.10); }
.text-white\/70    { color: rgba(255,255,255,0.70); }
.text-white\/80    { color: rgba(255,255,255,0.80); }

/* Transparent */
.bg-transparent    { background-color: transparent; }
.border-transparent { border-color: transparent; }
.text-transparent  { color: transparent; }

/* ============================================================
   BORDERS
   ============================================================ */
.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-8  { border-width: 8px; 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-t-0 { border-top-width: 0; }
.border-b-0 { border-bottom-width: 0; }
.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; }
.border-t-4 { border-top-width: 4px; border-top-style: solid; }
.border-dashed { border-style: dashed; }
.border-dotted { border-style: dotted; }
.border-solid  { border-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-3xl   { border-radius: 1.5rem; }
.rounded-full  { border-radius: 9999px; }
.rounded-t-lg  { border-top-left-radius: 0.5rem; border-top-right-radius: 0.5rem; }
.rounded-b-lg  { border-bottom-left-radius: 0.5rem; border-bottom-right-radius: 0.5rem; }

/* ============================================================
   EFFECTS — SHADOW & OPACITY
   ============================================================ */
.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); }
.shadow-2xl   { box-shadow: 0 25px 50px -12px rgba(0,0,0,0.25); }
.shadow-inner { box-shadow: inset 0 2px 4px 0 rgba(0,0,0,0.05); }

.opacity-0    { opacity: 0; }
.opacity-5    { opacity: 0.05; }
.opacity-10   { opacity: 0.10; }
.opacity-20   { opacity: 0.20; }
.opacity-25   { opacity: 0.25; }
.opacity-40   { opacity: 0.40; }
.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-95   { opacity: 0.95; }
.opacity-100  { opacity: 1; }

.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); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); -webkit-backdrop-filter: blur(40px); }

/* ============================================================
   TRANSITIONS & TRANSFORMS
   ============================================================ */
.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-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); }
.transition-all       { transition-property: all; transition-duration: 150ms; transition-timing-function: cubic-bezier(0.4,0,0.2,1); }
.transition-none      { transition-property: none; }

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

.scale-0      { transform: scale(0); }
.scale-75     { transform: scale(0.75); }
.scale-90     { transform: scale(0.90); }
.scale-95     { transform: scale(0.95); }
.scale-100    { transform: scale(1); }
.scale-105    { transform: scale(1.05); }
.scale-110    { transform: scale(1.10); }
.scale-125    { transform: scale(1.25); }

.-translate-x-1\/2  { transform: translateX(-50%); }
.translate-x-1\/2   { transform: translateX(50%); }
.-translate-y-1\/2  { transform: translateY(-50%); }
.translate-y-0      { transform: translateY(0); }
.translate-y-1      { transform: translateY(0.25rem); }
.translate-y-2      { transform: translateY(0.5rem); }
.-translate-y-1     { transform: translateY(-0.25rem); }
.-translate-y-2     { transform: translateY(-0.5rem); }
.-translate-y-full  { transform: translateY(-100%); }
.translate-y-full   { transform: translateY(100%); }
.translate-x-0      { transform: translateX(0); }
.-translate-x-full  { transform: translateX(-100%); }

.rotate-0    { transform: rotate(0deg); }
.rotate-45   { transform: rotate(45deg); }
.rotate-90   { transform: rotate(90deg); }
.rotate-180  { transform: rotate(180deg); }
.-rotate-90  { transform: rotate(-90deg); }
.-rotate-45  { transform: rotate(-45deg); }

.skew-x-2    { transform: skewX(2deg); }
.-skew-y-2   { transform: skewY(-2deg); }

.origin-center  { transform-origin: center; }
.origin-top     { transform-origin: top; }
.origin-top-right { transform-origin: top right; }
.origin-bottom  { transform-origin: bottom; }
.origin-left    { transform-origin: left; }

.will-change-transform { will-change: transform; }
.will-change-auto      { will-change: auto; }

/* ============================================================
   IMAGES & MEDIA
   ============================================================ */
.object-cover     { object-fit: cover; }
.object-contain   { object-fit: contain; }
.object-fill      { object-fit: fill; }
.object-none      { object-fit: none; }
.object-center    { object-position: center; }
.object-top       { object-position: top; }
.object-bottom    { object-position: bottom; }
.object-left      { object-position: left; }
.object-right     { object-position: right; }

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

/* ============================================================
   FORMS
   ============================================================ */
.resize-none   { resize: none; }
.resize-y      { resize: vertical; }
.resize-x      { resize: horizontal; }
.resize        { resize: both; }
.appearance-none { appearance: none; -webkit-appearance: none; }

.placeholder-\[\#8A7D72\]::placeholder { color: #8A7D72; opacity: 0.7; }

.focus\:outline-none:focus { outline: 2px solid transparent; outline-offset: 2px; }
.focus\:ring-0:focus       { box-shadow: none; }
.focus\:border-\[\#9C6F2E\]:focus { border-color: #9C6F2E; }
.focus\:bg-\[\#F6F1E9\]:focus { background-color: #F6F1E9; }

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

.isolate    { isolation: isolate; }
.isolation-auto { isolation: auto; }

.group {}

/* ============================================================
   HOVER VARIANTS
   ============================================================ */
.hover\:text-\[\#9C6F2E\]:hover   { color: #9C6F2E; }
.hover\:text-\[\#1E1A16\]:hover   { color: #1E1A16; }
.hover\:text-\[\#F6F1E9\]:hover   { color: #F6F1E9; }
.hover\:text-white:hover           { color: #ffffff; }
.hover\:bg-\[\#EDE7DC\]:hover     { background-color: #EDE7DC; }
.hover\:bg-\[\#9C6F2E\]:hover     { background-color: #9C6F2E; }
.hover\:bg-\[\#1E1A16\]:hover     { background-color: #1E1A16; }
.hover\:bg-\[\#F6F1E9\]:hover     { background-color: #F6F1E9; }
.hover\:opacity-80:hover           { opacity: 0.80; }
.hover\:opacity-90:hover           { opacity: 0.90; }
.hover\:underline:hover            { text-decoration: underline; }
.hover\:no-underline:hover         { text-decoration: none; }
.hover\:scale-105:hover            { transform: scale(1.05); }
.hover\:scale-95:hover             { transform: scale(0.95); }
.hover\:border-\[\#9C6F2E\]:hover  { border-color: #9C6F2E; }
.hover\:border-\[\#1E1A16\]:hover  { border-color: #1E1A16; }
.hover\:shadow-lg:hover            { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.hover\:shadow-md:hover            { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.hover\:tracking-wide:hover        { letter-spacing: 0.025em; }

/* ============================================================
   GROUP-HOVER VARIANTS
   ============================================================ */
.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\:no-underline { text-decoration: none; }
.group:hover .group-hover\:text-\[\#9C6F2E\] { color: #9C6F2E; }
.group:hover .group-hover\:text-\[\#1E1A16\] { color: #1E1A16; }
.group:hover .group-hover\:opacity-80   { opacity: 0.80; }
.group:hover .group-hover\:opacity-100  { opacity: 1; }

/* ============================================================
   RESPONSIVE — md: 768px+
   ============================================================ */
@media (min-width: 768px) {
  .md\:block         { display: block; }
  .md\:inline-block  { display: inline-block; }
  .md\:inline        { display: inline; }
  .md\:flex          { display: flex; }
  .md\:inline-flex   { display: inline-flex; }
  .md\:hidden        { display: none; }
  .md\:grid          { display: grid; }

  .md\:flex-row      { flex-direction: row; }
  .md\:flex-col      { flex-direction: column; }
  .md\:flex-wrap     { flex-wrap: wrap; }
  .md\:flex-nowrap   { flex-wrap: nowrap; }
  .md\:flex-1        { flex: 1 1 0%; }

  .md\:items-center  { align-items: center; }
  .md\:items-start   { align-items: flex-start; }
  .md\:items-end     { align-items: flex-end; }
  .md\:justify-start   { justify-content: flex-start; }
  .md\:justify-center  { justify-content: center; }
  .md\:justify-end     { justify-content: flex-end; }
  .md\:justify-between { justify-content: space-between; }

  .md\:w-full    { width: 100%; }
  .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-1\/4    { width: 25%; }
  .md\:w-3\/4    { width: 75%; }

  .md\:h-32       { height: 8rem; }
  .md\:h-48       { height: 12rem; }
  .md\:h-64       { height: 16rem; }
  .md\:h-96       { height: 24rem; }
  .md\:min-h-screen { min-height: 100vh; }

  .md\:max-w-xl   { max-width: 36rem; }
  .md\:max-w-2xl  { max-width: 42rem; }
  .md\:max-w-3xl  { max-width: 48rem; }
  .md\:max-w-4xl  { max-width: 56rem; }
  .md\:max-w-5xl  { max-width: 64rem; }

  .md\:p-8        { padding: 2rem; }
  .md\:p-12       { padding: 3rem; }
  .md\:px-8       { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-10      { padding-left: 2.5rem; padding-right: 2.5rem; }
  .md\:px-12      { padding-left: 3rem; padding-right: 3rem; }
  .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-28      { padding-top: 7rem; padding-bottom: 7rem; }
  .md\:py-32      { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-24      { padding-top: 6rem; }
  .md\:pb-24      { padding-bottom: 6rem; }
  .md\:pl-8       { padding-left: 2rem; }
  .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\:mt-16      { margin-top: 4rem; }
  .md\:mb-0       { margin-bottom: 0; }
  .md\:mb-4       { margin-bottom: 1rem; }
  .md\:mb-8       { margin-bottom: 2rem; }
  .md\:ml-auto    { margin-left: auto; }

  .md\:gap-2       { gap: 0.5rem; }
  .md\:gap-4       { gap: 1rem; }
  .md\:gap-6       { gap: 1.5rem; }
  .md\:gap-8       { gap: 2rem; }
  .md\:gap-10      { gap: 2.5rem; }
  .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\:grid-cols-5   { grid-template-columns: repeat(5, 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-full { grid-column: 1 / -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\: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-9xl    { font-size: 8rem; line-height: 1; }

  .md\:leading-tight   { line-height: 1.25; }
  .md\:leading-snug    { line-height: 1.375; }
  .md\:leading-normal  { line-height: 1.5; }
  .md\:leading-relaxed { line-height: 1.625; }
  .md\:tracking-tight  { letter-spacing: -0.05em; }
  .md\:tracking-tighter { letter-spacing: -0.075em; }

  .md\:aspect-\[3\/2\]  { aspect-ratio: 3 / 2; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }

  .md\:border-l  { border-left-width: 1px; border-left-style: solid; }
  .md\:border-t  { border-top-width: 1px; border-top-style: solid; }
  .md\:border-0  { border-width: 0; }
  .md\:border-b  { border-bottom-width: 1px; border-bottom-style: solid; }

  .md\:text-left    { text-align: left; }
  .md\:text-center  { text-align: center; }
  .md\:text-right   { text-align: right; }
}

/* ============================================================
   RESPONSIVE — lg: 1024px+
   ============================================================ */
@media (min-width: 1024px) {
  .lg\:block        { display: block; }
  .lg\:flex         { display: flex; }
  .lg\:hidden       { display: none; }
  .lg\:grid         { display: grid; }

  .lg\:grid-cols-2  { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .lg\:grid-cols-3  { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lg\:grid-cols-4  { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .lg\:col-span-2   { grid-column: span 2 / span 2; }
  .lg\:col-span-3   { grid-column: span 3 / span 3; }
  .lg\:col-span-4   { grid-column: span 4 / span 4; }

  .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\:text-9xl     { font-size: 8rem; line-height: 1; }

  .lg\:py-24        { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:py-32        { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:px-12        { padding-left: 3rem; padding-right: 3rem; }

  .lg\:gap-12       { gap: 3rem; }
  .lg\:gap-16       { gap: 4rem; }

  .lg\:max-w-3xl    { max-width: 48rem; }
  .lg\:max-w-4xl    { max-width: 56rem; }
  .lg\:max-w-5xl    { max-width: 64rem; }

  .lg\:mt-0         { margin-top: 0; }
  .lg\:w-1\/2       { width: 50%; }
  .lg\:w-2\/3       { width: 66.666667%; }
}

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

/* ============================================================
   ACCORDION
   ============================================================ */
.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0,0,0.2,1);
}
.accordion-body.is-open {
  max-height: 700px;
}
.accordion-icon {
  transition: transform 0.3s ease;
}
.accordion-icon.is-open {
  transform: rotate(45deg);
}

/* ============================================================
   PROSE (ARTICLE BODY)
   ============================================================ */
.prose p {
  color: #1E1A16;
  line-height: 1.85;
  margin-bottom: 1.375rem;
  font-size: 1.0625rem;
}
.prose h2 {
  font-family: var(--font-display);
  font-size: 1.625rem;
  line-height: 1.3;
  font-weight: 700;
  color: #1E1A16;
  margin-top: 3rem;
  margin-bottom: 1.125rem;
}
.prose h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
  color: #1E1A16;
  margin-top: 2.25rem;
  margin-bottom: 0.875rem;
}
.prose ul {
  margin-bottom: 1.375rem;
  padding-left: 1.5rem;
  list-style-type: disc;
}
.prose ol {
  margin-bottom: 1.375rem;
  padding-left: 1.5rem;
  list-style-type: decimal;
}
.prose li {
  margin-bottom: 0.5rem;
  line-height: 1.75;
  color: #1E1A16;
  font-size: 1.0625rem;
}
.prose blockquote {
  border-left: 3px solid #9C6F2E;
  padding: 0.75rem 1.25rem;
  margin: 2.25rem 0;
  font-style: italic;
  color: #8A7D72;
  font-size: 1.125rem;
  line-height: 1.75;
  background-color: rgba(156,111,46,0.05);
}
.prose strong { font-weight: 600; }
.prose em { font-style: italic; }
.prose a { color: #9C6F2E; text-decoration: underline; text-underline-offset: 3px; }
.prose a:hover { color: #1E1A16; }
.prose hr {
  border: none;
  border-top: 1px solid rgba(138,125,114,0.25);
  margin: 2.5rem 0;
}

/* ============================================================
   SECTION NUMBERS (decorative element #8)
   ============================================================ */
.section-num {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(138,125,114,0.14);
  line-height: 1;
  letter-spacing: -0.04em;
  user-select: none;
  pointer-events: none;
}

/* ============================================================
   MONO LABEL (decorative element #5)
   ============================================================ */
.mono-label {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.6875rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A7D72;
}

/* ============================================================
   HAIRLINE BORDER (decorative element #4)
   ============================================================ */
.hairline {
  width: 100%;
  height: 1px;
  background-color: rgba(138,125,114,0.20);
}
.hairline-v {
  width: 1px;
  height: 100%;
  background-color: rgba(138,125,114,0.20);
}

/* ============================================================
   NAV / ACTIVE
   ============================================================ */
nav a.active,
nav a[aria-current="page"] {
  color: #9C6F2E;
  border-bottom: 1px solid currentColor;
}
nav a:hover { color: #9C6F2E; }

/* ============================================================
   HERO
   ============================================================ */
.hero-gradient {
  background: linear-gradient(to bottom, rgba(30,26,22,0.08) 0%, rgba(30,26,22,0.50) 100%);
}
.hero-gradient-light {
  background: linear-gradient(to bottom, rgba(246,241,233,0.0) 0%, rgba(246,241,233,0.85) 100%);
}

/* ============================================================
   STATS STRIP
   ============================================================ */
.stat-value {
  font-family: var(--font-display);
  font-size: 3.25rem;
  font-weight: 700;
  color: #1E1A16;
  line-height: 1;
  letter-spacing: -0.04em;
}

/* ============================================================
   ARTICLE CARD
   ============================================================ */
.article-card {
  display: flex;
  flex-direction: column;
}
.article-card-image {
  overflow: hidden;
  background-color: #EDE7DC;
}
.article-card:hover .article-card-image img {
  transform: scale(1.04);
  transition: transform 0.55s ease;
}

/* ============================================================
   FORM ELEMENTS
   ============================================================ */
.form-input {
  width: 100%;
  background-color: #F6F1E9;
  border: 1px solid rgba(138,125,114,0.30);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #1E1A16;
  outline: none;
  transition: border-color 0.15s ease;
}
.form-input:focus {
  border-color: #9C6F2E;
}
.form-input::placeholder {
  color: #8A7D72;
  opacity: 0.6;
}

/* ============================================================
   COOKIE BANNER STATE
   ============================================================ */
[data-target="cookies.banner"][style*="display: none"] {
  display: none !important;
}

/* ============================================================
   CAPTION OVERLAY (decorative element #7)
   ============================================================ */
.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(30,26,22,0.55);
  font-family: ui-monospace, monospace;
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(246,241,233,0.75);
}

/* ============================================================
   AUTHOR BIO CARD
   ============================================================ */
.author-bio {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.75rem;
  background-color: #EDE7DC;
  border-left: 3px solid #9C6F2E;
}
.author-avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  overflow: hidden;
  flex-shrink: 0;
  background-color: #8A7D72;
}

/* ============================================================
   PULL QUOTE
   ============================================================ */
.pull-quote {
  border-top: 1px solid rgba(138,125,114,0.30);
  border-bottom: 1px solid rgba(138,125,114,0.30);
  padding: 1.5rem 0;
  margin: 2.5rem 0;
}
.pull-quote p {
  font-family: var(--font-display);
  font-size: 1.375rem;
  font-weight: 700;
  color: #1E1A16;
  line-height: 1.45;
  font-style: italic;
  margin: 0 !important;
}

/* ============================================================
   METHODOLOGY STEP
   ============================================================ */
.method-step {
  display: flex;
  gap: 1.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(138,125,114,0.15);
}
.method-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}
.method-step-num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: rgba(138,125,114,0.25);
  line-height: 1;
  flex-shrink: 0;
  min-width: 3.5rem;
  letter-spacing: -0.03em;
}

/* ============================================================
   LEGAL PAGE
   ============================================================ */
.legal-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid rgba(138,125,114,0.15);
}
.legal-section:last-child {
  border-bottom: none;
}
.legal-section h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: #1E1A16;
  margin-bottom: 0.875rem;
  margin-top: 0;
}
.legal-section p {
  color: #1E1A16;
  line-height: 1.75;
  margin-bottom: 0.875rem;
  font-size: 0.9375rem;
}
.legal-section ul {
  padding-left: 1.25rem;
  list-style-type: disc;
  margin-bottom: 0.875rem;
}
.legal-section li {
  color: #1E1A16;
  line-height: 1.75;
  margin-bottom: 0.375rem;
  font-size: 0.9375rem;
}
.legal-section a {
  color: #9C6F2E;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ============================================================
   KEY TAKEAWAYS BOX
   ============================================================ */
.takeaway-box {
  background-color: #EDE7DC;
  border-left: 3px solid #9C6F2E;
  padding: 1.5rem 1.75rem;
  margin: 2.5rem 0;
}
.takeaway-box h3 {
  font-family: ui-monospace, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8A7D72;
  margin-bottom: 1rem;
}
.takeaway-box ul {
  padding-left: 1.25rem;
  list-style-type: disc;
}
.takeaway-box li {
  color: #1E1A16;
  line-height: 1.7;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

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

/* ============================================================
   CONTACT MAP WRAPPER
   ============================================================ */
.map-wrapper {
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border: 1px solid rgba(138,125,114,0.20);
}
@media (min-width: 768px) {
  .map-wrapper {
    aspect-ratio: 21 / 9;
  }
}

/* ============================================================
   404 PAGE
   ============================================================ */
.error-404 {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 700;
  color: rgba(138,125,114,0.18);
  line-height: 1;
  letter-spacing: -0.05em;
}
@media (min-width: 768px) {
  .error-404 {
    font-size: 14rem;
  }
}

/* ============================================================
   PRINT STYLES
   ============================================================ */
@media print {
  header nav,
  footer,
  [data-target="cookies.banner"],
  .marquee-track { display: none !important; }
  body { font-size: 12pt; }
  a { color: inherit; text-decoration: none; }
}
