/* ELBRAKOS JOURNAL — css/style.css */

/* ============================================================
   1. DESIGN TOKENS (@theme equivalent)
   ============================================================ */
:root {
  --bg-primary:    #F6F3EE;
  --bg-secondary:  #EDEAE4;
  --ink-primary:   #1A1714;
  --ink-muted:     #7B746C;
  --accent:        #3B342E;
  --font-display:  'Space Grotesk', sans-serif;
  --font-body:     'Inter', sans-serif;
  --font-mono:     'Space Mono', 'Courier New', monospace;
}

/* ============================================================
   2. BASE RESET / @layer base
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
  scroll-behavior: smooth;
}
body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--ink-primary);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, video, canvas, iframe, embed, object {
  display: block;
  vertical-align: middle;
  max-width: 100%;
}
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
address { font-style: normal; }
ul, ol { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; }

/* ============================================================
   3. LAYOUT UTILITIES
   ============================================================ */
.container { width: 100%; max-width: 80rem; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.mx-auto  { margin-left: auto; margin-right: auto; }
.ml-auto  { margin-left: auto; }
.mr-auto  { margin-right: auto; }

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

/* Position */
.static   { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }
.inset-0  { inset: 0; }
.top-0    { top: 0; }
.top-4    { top: 1rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0   { left: 0; }
.right-0  { right: 0; }
.left-1\/2 { left: 50%; }

/* Z-index */
.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-x-hidden { overflow-x: hidden; }
.overflow-y-auto   { overflow-y: auto; }

/* ============================================================
   4. FLEX UTILITIES
   ============================================================ */
.flex-row     { flex-direction: row; }
.flex-col     { flex-direction: column; }
.flex-wrap    { flex-wrap: wrap; }
.flex-nowrap  { flex-wrap: nowrap; }
.flex-1       { flex: 1 1 0%; }
.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-baseline { align-items: baseline; }
.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; }
.self-stretch { align-self: stretch; }

/* ============================================================
   5. GRID UTILITIES
   ============================================================ */
.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-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; }
.col-start-1 { grid-column-start: 1; }
.col-start-2 { grid-column-start: 2; }

/* ============================================================
   6. GAP UTILITIES
   ============================================================ */
.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-8  { gap: 2rem; }
.gap-10 { gap: 2.5rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }
.gap-x-2 { column-gap: 0.5rem; }
.gap-x-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-x-8 { column-gap: 2rem; }
.gap-y-2 { row-gap: 0.5rem; }
.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; }

/* ============================================================
   7. 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; }
.px-2  { padding-left: 0.5rem;  padding-right: 0.5rem; }
.px-3  { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4  { padding-left: 1rem;    padding-right: 1rem; }
.px-5  { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6  { padding-left: 1.5rem;  padding-right: 1.5rem; }
.px-8  { padding-left: 2rem;    padding-right: 2rem; }
.px-10 { padding-left: 2.5rem;  padding-right: 2.5rem; }
.px-12 { padding-left: 3rem;    padding-right: 3rem; }
.py-1   { padding-top: 0.25rem;  padding-bottom: 0.25rem; }
.py-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; }
.pt-0  { padding-top: 0; }
.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; }
.pb-0  { padding-bottom: 0; }
.pb-2  { padding-bottom: 0.5rem; }
.pb-4  { padding-bottom: 1rem; }
.pb-6  { padding-bottom: 1.5rem; }
.pb-8  { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-2  { padding-left: 0.5rem; }
.pl-4  { padding-left: 1rem; }
.pl-6  { padding-left: 1.5rem; }
.pl-8  { padding-left: 2rem; }
.pr-2  { padding-right: 0.5rem; }
.pr-4  { padding-right: 1rem; }
.pr-6  { padding-right: 1.5rem; }

/* ============================================================
   8. SPACING — MARGIN
   ============================================================ */
.m-0    { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mx-2  { margin-left: 0.5rem;  margin-right: 0.5rem; }
.mx-4  { margin-left: 1rem;    margin-right: 1rem; }
.my-2  { margin-top: 0.5rem;   margin-bottom: 0.5rem; }
.my-4  { margin-top: 1rem;     margin-bottom: 1rem; }
.my-6  { margin-top: 1.5rem;   margin-bottom: 1.5rem; }
.my-8  { margin-top: 2rem;     margin-bottom: 2rem; }
.my-12 { margin-top: 3rem;     margin-bottom: 3rem; }
.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; }
.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-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-2  { margin-right: 0.5rem; }
.mr-4  { margin-right: 1rem; }
.mr-auto { margin-right: auto; }
.-mt-1 { margin-top: -0.25rem; }
.-mt-2 { margin-top: -0.5rem; }
.-mt-4 { margin-top: -1rem; }

/* Space helpers */
.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-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* ============================================================
   9. SIZING
   ============================================================ */
.w-full    { width: 100%; }
.w-auto    { width: auto; }
.w-fit     { width: fit-content; }
.w-screen  { width: 100vw; }
.w-0       { width: 0; }
.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-16      { width: 4rem; }
.w-20      { width: 5rem; }
.w-24      { width: 6rem; }
.w-32      { width: 8rem; }
.w-40      { width: 10rem; }
.w-48      { width: 12rem; }
.w-56      { width: 14rem; }
.w-64      { width: 16rem; }
.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); }

.h-full    { height: 100%; }
.h-screen  { height: 100vh; }
.h-auto    { height: auto; }
.h-fit     { height: fit-content; }
.h-0       { height: 0; }
.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-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-\[420px\] { height: 420px; }
.h-\[480px\] { height: 480px; }
.h-\[520px\] { height: 520px; }
.h-\[560px\] { height: 560px; }
.h-\[600px\] { height: 600px; }
.h-\[640px\] { height: 640px; }
.min-h-screen  { min-height: 100vh; }
.min-h-0       { min-height: 0; }
.min-h-full    { min-height: 100%; }
.min-h-\[400px\] { min-height: 400px; }
.max-h-full    { max-height: 100%; }
.max-h-screen  { max-height: 100vh; }

.max-w-7xl  { max-width: 80rem; }
.max-w-6xl  { max-width: 72rem; }
.max-w-5xl  { max-width: 64rem; }
.max-w-4xl  { max-width: 56rem; }
.max-w-3xl  { max-width: 48rem; }
.max-w-2xl  { max-width: 42rem; }
.max-w-xl   { max-width: 36rem; }
.max-w-lg   { max-width: 32rem; }
.max-w-md   { max-width: 28rem; }
.max-w-sm   { max-width: 24rem; }
.max-w-xs   { max-width: 20rem; }
.max-w-none { max-width: none; }
.max-w-full { max-width: 100%; }
.min-w-0    { min-width: 0; }
.min-w-full { min-width: 100%; }

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

/* Object fit / position */
.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; }
.object-bottom  { object-position: bottom; }

/* ============================================================
   10. TYPOGRAPHY
   ============================================================ */
.font-display { font-family: var(--font-display); font-weight: 700; }
.font-body    { font-family: var(--font-body); }
.font-mono    { font-family: var(--font-mono); }
.font-sans    { font-family: var(--font-body); }
.font-serif   { font-family: Georgia, 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.1; }
.text-6xl  { font-size: 3.75rem;  line-height: 1.05; }
.text-7xl  { font-size: 4.5rem;   line-height: 1; }
.text-8xl  { font-size: 6rem;     line-height: 1; }
.text-9xl  { font-size: 8rem;     line-height: 1; }
.text-\[10rem\] { font-size: 10rem; line-height: 1; }
.text-\[12rem\] { font-size: 12rem; line-height: 1; }

.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.05em; }
.tracking-tight   { letter-spacing: -0.025em; }
.tracking-normal  { letter-spacing: 0em; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }

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

.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-line: underline; }
.no-underline  { text-decoration: none; }
.line-through  { text-decoration-line: line-through; }
.decoration-1  { text-decoration-thickness: 1px; }
.decoration-2  { text-decoration-thickness: 2px; }
.underline-offset-2 { text-underline-offset: 2px; }
.underline-offset-4 { text-underline-offset: 4px; }

.text-balance { text-wrap: balance; }
.text-pretty  { text-wrap: pretty; }

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

.truncate          { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.overflow-ellipsis { text-overflow: ellipsis; }
.text-ellipsis     { text-overflow: ellipsis; }

.antialiased  { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
.subpixel-antialiased { -webkit-font-smoothing: auto; -moz-osx-font-smoothing: auto; }

/* ============================================================
   11. COLORS
   ============================================================ */
/* Text */
.text-\[\#1A1714\]   { color: #1A1714; }
.text-\[\#7B746C\]   { color: #7B746C; }
.text-\[\#3B342E\]   { color: #3B342E; }
.text-\[\#F6F3EE\]   { color: #F6F3EE; }
.text-\[\#EDEAE4\]   { color: #EDEAE4; }
.text-\[\#D8E2DC\]   { color: #D8E2DC; }
.text-white          { color: #ffffff; }
.text-black          { color: #000000; }
/* Opacity variants */
.text-\[\#F6F3EE\]\/80  { color: rgba(246, 243, 238, 0.80); }
.text-\[\#F6F3EE\]\/60  { color: rgba(246, 243, 238, 0.60); }
.text-\[\#1A1714\]\/70  { color: rgba(26, 23, 20, 0.70); }
.text-\[\#7B746C\]\/70  { color: rgba(123, 116, 108, 0.70); }

/* Background */
.bg-\[\#F6F3EE\]     { background-color: #F6F3EE; }
.bg-\[\#EDEAE4\]     { background-color: #EDEAE4; }
.bg-\[\#1A1714\]     { background-color: #1A1714; }
.bg-\[\#3B342E\]     { background-color: #3B342E; }
.bg-\[\#7B746C\]     { background-color: #7B746C; }
.bg-white            { background-color: #ffffff; }
.bg-black            { background-color: #000000; }
.bg-transparent      { background-color: transparent; }
/* Opacity bg variants */
.bg-\[\#1A1714\]\/80   { background-color: rgba(26, 23, 20, 0.80); }
.bg-\[\#1A1714\]\/60   { background-color: rgba(26, 23, 20, 0.60); }
.bg-\[\#1A1714\]\/40   { background-color: rgba(26, 23, 20, 0.40); }
.bg-\[\#1A1714\]\/20   { background-color: rgba(26, 23, 20, 0.20); }
.bg-\[\#3B342E\]\/10   { background-color: rgba(59, 52, 46, 0.10); }
.bg-\[\#3B342E\]\/20   { background-color: rgba(59, 52, 46, 0.20); }
.bg-\[\#7B746C\]\/10   { background-color: rgba(123, 116, 108, 0.10); }
.bg-\[\#F6F3EE\]\/90   { background-color: rgba(246, 243, 238, 0.90); }

/* ============================================================
   12. BORDER
   ============================================================ */
.border    { border-width: 1px; border-style: solid; }
.border-0  { border-width: 0; }
.border-2  { border-width: 2px; }
.border-4  { border-width: 4px; }
.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-2 { border-top-width: 2px; border-top-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }

/* Border colors */
.border-\[\#1A1714\]      { border-color: #1A1714; }
.border-\[\#3B342E\]      { border-color: #3B342E; }
.border-\[\#7B746C\]      { border-color: #7B746C; }
.border-\[\#F6F3EE\]      { border-color: #F6F3EE; }
.border-\[\#EDEAE4\]      { border-color: #EDEAE4; }
.border-white             { border-color: #ffffff; }
.border-\[\#7B746C\]\/10  { border-color: rgba(123, 116, 108, 0.10); }
.border-\[\#7B746C\]\/20  { border-color: rgba(123, 116, 108, 0.20); }
.border-\[\#7B746C\]\/30  { border-color: rgba(123, 116, 108, 0.30); }
.border-\[\#1A1714\]\/20  { border-color: rgba(26, 23, 20, 0.20); }
.border-\[\#1A1714\]\/10  { border-color: rgba(26, 23, 20, 0.10); }
.border-\[\#3B342E\]\/20  { border-color: rgba(59, 52, 46, 0.20); }

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

/* Divide */
.divide-y > * + *      { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#7B746C\]\/20 > * + * { border-top-color: rgba(123, 116, 108, 0.20); }

/* ============================================================
   13. EFFECTS
   ============================================================ */
.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); }

.opacity-0   { opacity: 0; }
.opacity-10  { opacity: 0.1; }
.opacity-20  { opacity: 0.2; }
.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-80  { opacity: 0.8; }
.opacity-90  { opacity: 0.9; }
.opacity-100 { opacity: 1; }

.backdrop-blur-sm  { backdrop-filter: blur(4px); }
.backdrop-blur     { backdrop-filter: blur(8px); }
.backdrop-blur-md  { backdrop-filter: blur(12px); }
.backdrop-blur-lg  { backdrop-filter: blur(16px); }
.backdrop-blur-xl  { backdrop-filter: blur(24px); }
.backdrop-blur-2xl { backdrop-filter: blur(40px); }

/* ============================================================
   14. TRANSFORMS
   ============================================================ */
.scale-90  { transform: scale(0.9); }
.scale-95  { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }
.scale-125 { transform: scale(1.25); }
.rotate-90  { transform: rotate(90deg); }
.rotate-180 { transform: rotate(180deg); }
.-rotate-90 { transform: rotate(-90deg); }
.rotate-45  { transform: rotate(45deg); }
.-rotate-45 { transform: rotate(-45deg); }
.translate-x-0    { transform: translateX(0); }
.translate-x-full { transform: translateX(100%); }
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-y-0    { transform: translateY(0); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.translate-y-full { transform: translateY(100%); }
.-translate-y-full { transform: translateY(-100%); }
.skew-x-0 { transform: skewX(0); }
.-skew-x-3 { transform: skewX(-3deg); }

/* ============================================================
   15. TRANSITIONS & ANIMATIONS
   ============================================================ */
.transition         { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-all     { transition-property: all; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-colors  { transition-property: color, background-color, border-color, text-decoration-color, fill, stroke; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-opacity { transition-property: opacity; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-transform { transition-property: transform; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }
.transition-shadow  { transition-property: box-shadow; transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); transition-duration: 150ms; }

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

/* Marquee animation */
@keyframes marquee-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  animation: marquee-scroll 32s linear infinite;
  display: flex;
  width: max-content;
  will-change: transform;
}
.marquee-track {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
}

/* Fade in */
@keyframes fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}
.animate-fade-in {
  animation: fade-in 0.6s ease-out forwards;
}

/* ============================================================
   16. CURSOR / MISC
   ============================================================ */
.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; }
.outline-none      { outline: none; }
.resize-none       { resize: none; }
.appearance-none   { appearance: none; }

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

/* ============================================================
   17. HOVER STATES
   ============================================================ */
.hover\:opacity-90:hover  { opacity: 0.9; }
.hover\:opacity-100:hover { opacity: 1; }
.hover\:opacity-80:hover  { opacity: 0.8; }
.hover\:text-\[\#3B342E\]:hover  { color: #3B342E; }
.hover\:text-\[\#1A1714\]:hover  { color: #1A1714; }
.hover\:text-\[\#F6F3EE\]:hover  { color: #F6F3EE; }
.hover\:underline:hover   { text-decoration-line: underline; }
.hover\:no-underline:hover { text-decoration: none; }
.hover\:bg-\[\#EDEAE4\]:hover  { background-color: #EDEAE4; }
.hover\:bg-\[\#3B342E\]:hover  { background-color: #3B342E; }
.hover\:bg-\[\#1A1714\]:hover  { background-color: #1A1714; }
.hover\:scale-105:hover   { transform: scale(1.05); }
.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\:border-\[\#3B342E\]:hover { border-color: #3B342E; }
.hover\:border-\[\#1A1714\]:hover { border-color: #1A1714; }
.hover\:text-white:hover  { color: #ffffff; }

/* GROUP HOVER */
.group { }
.group:hover .group-hover\:underline   { text-decoration-line: underline; }
.group:hover .group-hover\:scale-105   { transform: scale(1.05); }
.group:hover .group-hover\:opacity-80  { opacity: 0.8; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:text-\[\#3B342E\] { color: #3B342E; }

/* FOCUS STATES */
.focus\:outline-none:focus          { outline: none; }
.focus\:border-\[\#3B342E\]:focus   { border-color: #3B342E; }
.focus\:border-\[\#1A1714\]:focus   { border-color: #1A1714; }
.focus\:ring-0:focus                { box-shadow: none; }
.focus\:ring-2:focus                { box-shadow: 0 0 0 2px #3B342E; }

/* ============================================================
   18. RESPONSIVE — md: (min-width: 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\:grid          { display: grid; }
  .md\:hidden        { display: none; }
  .md\:flex-row      { flex-direction: row; }
  .md\:flex-col      { flex-direction: column; }
  .md\:flex-wrap     { flex-wrap: wrap; }
  .md\:items-start   { align-items: flex-start; }
  .md\:items-center  { align-items: center; }
  .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\:gap-2   { gap: 0.5rem; }
  .md\:gap-3   { gap: 0.75rem; }
  .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-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\:row-span-2  { grid-row: span 2 / span 2; }
  .md\:px-6  { padding-left: 1.5rem;  padding-right: 1.5rem; }
  .md\:px-8  { padding-left: 2rem;    padding-right: 2rem; }
  .md\:px-10 { padding-left: 2.5rem;  padding-right: 2.5rem; }
  .md\:py-0  { padding-top: 0;        padding-bottom: 0; }
  .md\:py-6  { padding-top: 1.5rem;   padding-bottom: 1.5rem; }
  .md\:py-8  { padding-top: 2rem;     padding-bottom: 2rem; }
  .md\:py-10 { padding-top: 2.5rem;   padding-bottom: 2.5rem; }
  .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-0  { padding-top: 0; }
  .md\:pt-4  { padding-top: 1rem; }
  .md\:pt-8  { padding-top: 2rem; }
  .md\:pt-12 { padding-top: 3rem; }
  .md\:pb-0  { padding-bottom: 0; }
  .md\:pb-8  { padding-bottom: 2rem; }
  .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-6  { margin-top: 1.5rem; }
  .md\:mt-8  { margin-top: 2rem; }
  .md\:mb-0  { margin-bottom: 0; }
  .md\:mb-4  { margin-bottom: 1rem; }
  .md\:ml-0  { margin-left: 0; }
  .md\:mr-0  { margin-right: 0; }
  .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.1; }
  .md\:text-6xl  { font-size: 3.75rem;  line-height: 1.05; }
  .md\:text-7xl  { font-size: 4.5rem;   line-height: 1; }
  .md\:w-auto    { width: auto; }
  .md\:w-fit     { width: fit-content; }
  .md\:w-1\/2    { width: 50%; }
  .md\:w-1\/3    { width: 33.333333%; }
  .md\:w-2\/3    { width: 66.666667%; }
  .md\:w-full    { width: 100%; }
  .md\:h-full    { height: 100%; }
  .md\:h-auto    { height: auto; }
  .md\:h-\[480px\] { height: 480px; }
  .md\:h-\[520px\] { height: 520px; }
  .md\:h-\[560px\] { height: 560px; }
  .md\:h-\[600px\] { height: 600px; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:max-w-3xl { max-width: 48rem; }
  .md\:max-w-4xl { max-width: 56rem; }
  .md\:max-w-xl  { max-width: 36rem; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .md\:col-start-1 { grid-column-start: 1; }
  .md\:col-start-2 { grid-column-start: 2; }
  .md\:flex-1    { flex: 1 1 0%; }
}

/* ============================================================
   19. RESPONSIVE — lg: (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  .lg\:block        { display: block; }
  .lg\:flex         { display: flex; }
  .lg\:grid         { display: grid; }
  .lg\:hidden       { display: none; }
  .lg\:inline-block { display: inline-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-1   { grid-column: span 1 / span 1; }
  .lg\:col-span-2   { grid-column: span 2 / span 2; }
  .lg\:col-span-3   { grid-column: span 3 / span 3; }
  .lg\:row-span-2   { grid-row: span 2 / span 2; }
  .lg\:px-8  { padding-left: 2rem;  padding-right: 2rem; }
  .lg\:px-12 { padding-left: 3rem;  padding-right: 3rem; }
  .lg\:py-24 { padding-top: 6rem;   padding-bottom: 6rem; }
  .lg\:py-28 { padding-top: 7rem;   padding-bottom: 7rem; }
  .lg\:py-32 { padding-top: 8rem;   padding-bottom: 8rem; }
  .lg\:py-36 { padding-top: 9rem;   padding-bottom: 9rem; }
  .lg\:py-40 { padding-top: 10rem;  padding-bottom: 10rem; }
  .lg\:text-5xl  { font-size: 3rem;    line-height: 1.1; }
  .lg\:text-6xl  { font-size: 3.75rem; line-height: 1.05; }
  .lg\:text-7xl  { font-size: 4.5rem;  line-height: 1; }
  .lg\:text-8xl  { font-size: 6rem;    line-height: 1; }
  .lg\:gap-8    { gap: 2rem; }
  .lg\:gap-10   { gap: 2.5rem; }
  .lg\:gap-12   { gap: 3rem; }
  .lg\:gap-16   { gap: 4rem; }
  .lg\:mt-0  { margin-top: 0; }
  .lg\:mt-8  { margin-top: 2rem; }
  .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\:h-\[560px\] { height: 560px; }
  .lg\:h-\[640px\] { height: 640px; }
  .lg\:max-w-3xl { max-width: 48rem; }
  .lg\:max-w-4xl { max-width: 56rem; }
}

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

/* ============================================================
   21. ARBITRARY CLASSES (JIT-style)
   ============================================================ */
.w-\[calc\(100\%\-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.py-\[7rem\]   { padding-top: 7rem; padding-bottom: 7rem; }
.py-\[9rem\]   { padding-top: 9rem; padding-bottom: 9rem; }
.pt-\[7rem\]   { padding-top: 7rem; }
.pb-\[7rem\]   { padding-bottom: 7rem; }
.text-\[10rem\]  { font-size: 10rem; line-height: 1; }
.text-\[11rem\]  { font-size: 11rem; line-height: 1; }
.min-h-\[300px\] { min-height: 300px; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[500px\] { min-height: 500px; }
.h-\[360px\]  { height: 360px; }
.h-\[400px\]  { height: 400px; }
.h-\[440px\]  { height: 440px; }
.max-w-\[1220px\] { max-width: 1220px; }
.bg-\[rgba\(27\,38\,44\,0\.78\)\]  { background-color: rgba(27, 38, 44, 0.78); }

/* ============================================================
   22. CUSTOM COMPONENTS (minimal, site-specific)
   ============================================================ */

/* Article card hover group */
.article-card { transition: transform 150ms ease; }
.article-card:hover { transform: translateY(-2px); }

/* Section marker (numbered, Modern Sport style) */
.section-marker {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Diagonal rule (Modern Sport decorative) */
.diagonal-rule {
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent) 0%, transparent 100%);
  transform: skewX(-20deg);
}

/* Mono label */
.mono-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink-muted);
}

/* Caption overlay text (for images) */
.caption-overlay {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(246, 243, 238, 0.80);
  pointer-events: none;
}

/* Stats large number */
.stat-digit {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1;
  color: var(--ink-primary);
}

/* Bento card base */
.bento-card {
  background-color: var(--bg-secondary);
  border: 1px solid rgba(123, 116, 108, 0.20);
  overflow: hidden;
  position: relative;
}

/* Scrollbar minimal */
::-webkit-scrollbar { width: 4px; height: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(123, 116, 108, 0.40); border-radius: 2px; }

/* Input / textarea base */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  color: var(--ink-primary);
  background-color: var(--bg-primary);
  border: 1px solid rgba(123, 116, 108, 0.30);
  outline: none;
  width: 100%;
}
input:focus, textarea:focus, select:focus {
  border-color: var(--accent);
}

/* Print */
@media print {
  .hidden-print { display: none !important; }
  body { background: white; color: black; }
}
