/* TARELON LETTERS JOURNAL — css/style.css */

@theme {
  --color-bg-primary:   #F6F2E8;
  --color-bg-secondary: #EDE8D6;
  --color-ink-primary:  #1C1712;
  --color-ink-muted:    #8C7E6A;
  --color-accent:       #C8860A;
  --font-display: 'Clash Display', serif;
  --font-body:    'Satoshi', 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);
}
body { line-height: 1.6; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }

/* ==========================================================================
   SPACING — PADDING
   ========================================================================== */
.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; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }
.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-12 { padding-left: 3rem; padding-right: 3rem; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pb-1 { padding-bottom: 0.25rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-3 { padding-bottom: 0.75rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-4 { padding-right: 1rem; }

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

/* ==========================================================================
   SPACING — 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-8  { column-gap: 2rem; }
.gap-y-4  { row-gap: 1rem; }
.gap-y-8  { row-gap: 2rem; }

/* ==========================================================================
   SPACING — SPACE-Y (stacked children)
   ========================================================================== */
.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-x-2 > * + *  { margin-left: 0.5rem; }
.space-x-4 > * + *  { margin-left: 1rem; }

/* ==========================================================================
   SIZING
   ========================================================================== */
.w-full  { width: 100%; }
.w-auto  { width: auto; }
.w-4     { width: 1rem; }
.w-6     { width: 1.5rem; }
.w-8     { width: 2rem; }
.w-10    { width: 2.5rem; }
.w-12    { width: 3rem; }
.w-16    { width: 4rem; }
.w-20    { width: 5rem; }
.w-24    { width: 6rem; }
.w-32    { width: 8rem; }
.w-48    { width: 12rem; }
.w-64    { width: 16rem; }
.w-1\/2  { width: 50%; }
.w-1\/3  { width: 33.333333%; }
.w-2\/3  { width: 66.666667%; }
.w-3\/4  { width: 75%; }
.h-auto  { height: auto; }
.h-4     { height: 1rem; }
.h-6     { height: 1.5rem; }
.h-8     { height: 2rem; }
.h-10    { height: 2.5rem; }
.h-12    { height: 3rem; }
.h-16    { height: 4rem; }
.h-20    { height: 5rem; }
.h-24    { height: 6rem; }
.h-32    { height: 8rem; }
.h-48    { height: 12rem; }
.h-64    { height: 16rem; }
.h-full  { height: 100%; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\]  { min-height: 60vh; }
.min-h-\[50vh\]  { min-height: 50vh; }
.min-h-\[40vh\]  { min-height: 40vh; }
.min-h-\[200px\] { min-height: 200px; }
.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%; }
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.w-\[1px\]  { width: 1px; }
.h-\[1px\]  { height: 1px; }
.h-\[2px\]  { height: 2px; }
.h-\[4px\]  { height: 4px; }
.h-\[400px\] { height: 400px; }
.h-\[500px\] { height: 500px; }
.h-\[600px\] { height: 600px; }

/* ==========================================================================
   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-auto     { flex: 1 1 auto; }
.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-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; }
.col-span-full  { grid-column: 1 / -1; }
.row-span-2     { grid-row: span 2 / span 2; }
.row-span-3     { grid-row: span 3 / span 3; }

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

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

.tracking-tighter { letter-spacing: -0.08em; }
.tracking-tight   { letter-spacing: -0.05em; }
.tracking-normal  { letter-spacing: 0em; }
.tracking-wide    { letter-spacing: 0.025em; }
.tracking-wider   { letter-spacing: 0.05em; }
.tracking-widest  { letter-spacing: 0.1em; }

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

.truncate {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.whitespace-nowrap { white-space: nowrap; }
.break-words { overflow-wrap: break-word; }

/* ==========================================================================
   COLORS — BACKGROUND
   ========================================================================== */
.bg-transparent  { background-color: transparent; }
.bg-white        { background-color: #ffffff; }
.bg-black        { background-color: #000000; }
.bg-\[\#F6F2E8\] { background-color: #F6F2E8; }
.bg-\[\#EDE8D6\] { background-color: #EDE8D6; }
.bg-\[\#1C1712\] { background-color: #1C1712; }
.bg-\[\#C8860A\] { background-color: #C8860A; }
.bg-\[\#8C7E6A\] { background-color: #8C7E6A; }
.bg-\[\#F0EBD8\] { background-color: #F0EBD8; }
.bg-\[\#E6DFC8\] { background-color: #E6DFC8; }
.bg-\[\#2C2418\] { background-color: #2C2418; }
.bg-\[\#D4950D\] { background-color: #D4950D; }
.bg-\[\#FAF8F2\] { background-color: #FAF8F2; }

/* Opacity backgrounds */
.bg-\[\#C8860A\]\/10 { background-color: rgba(200,134,10,0.10); }
.bg-\[\#C8860A\]\/15 { background-color: rgba(200,134,10,0.15); }
.bg-\[\#C8860A\]\/20 { background-color: rgba(200,134,10,0.20); }
.bg-\[\#1C1712\]\/5  { background-color: rgba(28,23,18,0.05); }
.bg-\[\#1C1712\]\/10 { background-color: rgba(28,23,18,0.10); }
.bg-\[\#1C1712\]\/80 { background-color: rgba(28,23,18,0.80); }
.bg-\[\#1C1712\]\/90 { background-color: rgba(28,23,18,0.90); }
.bg-white\/10       { background-color: rgba(255,255,255,0.10); }
.bg-white\/20       { background-color: rgba(255,255,255,0.20); }

/* ==========================================================================
   COLORS — TEXT
   ========================================================================== */
.text-white        { color: #ffffff; }
.text-black        { color: #000000; }
.text-\[\#F6F2E8\] { color: #F6F2E8; }
.text-\[\#EDE8D6\] { color: #EDE8D6; }
.text-\[\#1C1712\] { color: #1C1712; }
.text-\[\#C8860A\] { color: #C8860A; }
.text-\[\#8C7E6A\] { color: #8C7E6A; }
.text-\[\#D4950D\] { color: #D4950D; }
.text-\[\#2C2418\] { color: #2C2418; }
.text-\[\#A89070\] { color: #A89070; }

/* ==========================================================================
   COLORS — BORDER
   ========================================================================== */
.border-\[\#F6F2E8\] { border-color: #F6F2E8; }
.border-\[\#EDE8D6\] { border-color: #EDE8D6; }
.border-\[\#1C1712\] { border-color: #1C1712; }
.border-\[\#C8860A\] { border-color: #C8860A; }
.border-\[\#8C7E6A\] { border-color: #8C7E6A; }

/* Opacity border modifiers (INK_MUTED = #8C7E6A) */
.border-\[\#8C7E6A\]\/10 { border-color: rgba(140,126,106,0.10); }
.border-\[\#8C7E6A\]\/20 { border-color: rgba(140,126,106,0.20); }
.border-\[\#8C7E6A\]\/30 { border-color: rgba(140,126,106,0.30); }
.border-\[\#8C7E6A\]\/40 { border-color: rgba(140,126,106,0.40); }
.border-\[\#C8860A\]\/30 { border-color: rgba(200,134,10,0.30); }
.border-\[\#1C1712\]\/10 { border-color: rgba(28,23,18,0.10); }
.border-\[\#1C1712\]\/20 { border-color: rgba(28,23,18,0.20); }
.border-white\/18        { border-color: rgba(255,255,255,0.18); }
.border-white\/28        { border-color: rgba(255,255,255,0.28); }

/* ==========================================================================
   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-t     { border-top-width: 1px; border-top-style: solid; }
.border-b     { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l     { border-left-width: 1px; border-left-style: solid; }
.border-r     { border-right-width: 1px; border-right-style: solid; }
.border-l-2   { border-left-width: 2px; border-left-style: solid; }
.border-l-4   { border-left-width: 4px; border-left-style: solid; }
.border-l-\[\#C8860A\] { border-left-color: #C8860A; }
.border-t-\[\#C8860A\] { border-top-color: #C8860A; }

.rounded        { border-radius: 0.25rem; }
.rounded-sm     { border-radius: 0.125rem; }
.rounded-md     { border-radius: 0.375rem; }
.rounded-lg     { border-radius: 0.5rem; }
.rounded-xl     { border-radius: 0.75rem; }
.rounded-2xl    { border-radius: 1rem; }
.rounded-full   { border-radius: 9999px; }
.rounded-none   { border-radius: 0; }

/* ==========================================================================
   DISPLAY & VISIBILITY
   ========================================================================== */
.block        { display: block; }
.inline       { display: inline; }
.inline-block { display: inline-block; }
.hidden       { display: none; }
.contents     { display: contents; }
.invisible    { visibility: hidden; }
.visible      { visibility: visible; }
.opacity-0    { opacity: 0; }
.opacity-25   { opacity: 0.25; }
.opacity-50   { opacity: 0.5; }
.opacity-75   { opacity: 0.75; }
.opacity-100  { opacity: 1; }

/* ==========================================================================
   POSITION
   ========================================================================== */
.static   { position: static; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed    { position: fixed; }
.sticky   { position: sticky; }

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

.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-x-hidden { overflow-x: hidden; }
.overflow-y-auto   { overflow-y: auto; }
.overflow-auto     { overflow: auto; }
.overflow-visible  { overflow: visible; }

/* ==========================================================================
   OBJECT FIT
   ========================================================================== */
.object-cover   { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-center  { object-position: center; }
.object-top     { object-position: top; }

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

/* ==========================================================================
   TRANSFORMS
   ========================================================================== */
.-translate-x-1\/2  { transform: translateX(-50%); }
.-translate-y-1\/2  { transform: translateY(-50%); }
.translate-y-0      { transform: translateY(0); }
.-translate-y-2     { transform: translateY(-0.5rem); }
.scale-100          { transform: scale(1); }
.scale-105          { transform: scale(1.05); }
.scale-110          { transform: scale(1.10); }
.rotate-90          { transform: rotate(90deg); }
.-rotate-90         { transform: rotate(-90deg); }
.rotate-180         { transform: rotate(180deg); }
.-rotate-3          { transform: rotate(-3deg); }

/* ==========================================================================
   TRANSITIONS & ANIMATIONS
   ========================================================================== */
.transition {
  transition-property: color, background-color, border-color, opacity, transform, box-shadow;
  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; }
.ease-in-out   { transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1); }
.ease-out      { transition-timing-function: cubic-bezier(0, 0, 0.2, 1); }
.ease-in       { transition-timing-function: cubic-bezier(0.4, 0, 1, 1); }

/* ==========================================================================
   EFFECTS
   ========================================================================== */
.shadow-sm  { box-shadow: 0 1px 2px 0 rgba(0,0,0,0.05); }
.shadow     { box-shadow: 0 1px 3px 0 rgba(0,0,0,0.1), 0 1px 2px -1px rgba(0,0,0,0.1); }
.shadow-md  { box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1); }
.shadow-lg  { box-shadow: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -4px rgba(0,0,0,0.1); }
.shadow-xl  { box-shadow: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1); }
.shadow-none { box-shadow: none; }

/* amber offset shadow — Premium Soft editorial accent */
.shadow-amber { box-shadow: 4px 4px 0 0 #C8860A; }
.shadow-amber-lg { box-shadow: 6px 6px 0 0 rgba(200,134,10,0.25); }

.backdrop-blur-xl {
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}
.backdrop-blur-sm {
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

/* ==========================================================================
   CURSOR
   ========================================================================== */
.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.select-none    { user-select: none; }

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

/* ==========================================================================
   HOVER
   ========================================================================== */
.hover\:bg-\[\#C8860A\]:hover  { background-color: #C8860A; }
.hover\:bg-\[\#D4950D\]:hover  { background-color: #D4950D; }
.hover\:bg-\[\#EDE8D6\]:hover  { background-color: #EDE8D6; }
.hover\:text-\[\#C8860A\]:hover { color: #C8860A; }
.hover\:text-\[\#D4950D\]:hover { color: #D4950D; }
.hover\:text-\[\#1C1712\]:hover { color: #1C1712; }
.hover\:text-white:hover        { color: #ffffff; }
.hover\:opacity-80:hover  { opacity: 0.8; }
.hover\:opacity-90:hover  { opacity: 0.9; }
.hover\:underline:hover   { text-decoration: underline; }
.hover\:no-underline:hover { text-decoration: none; }
.hover\:border-\[\#C8860A\]:hover { border-color: #C8860A; }
.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\:scale-105:hover   { transform: scale(1.05); }
.hover\:-translate-y-1:hover { transform: translateY(-0.25rem); }
.hover\:shadow-amber:hover   { box-shadow: 4px 4px 0 0 #C8860A; }

/* ==========================================================================
   GROUP HOVER
   ========================================================================== */
.group { /* marker class */ }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:text-\[\#C8860A\] { color: #C8860A; }
.group:hover .group-hover\:opacity-75 { opacity: 0.75; }

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

/* ==========================================================================
   RESPONSIVE — md (768px+)
   ========================================================================== */
@media (min-width: 768px) {
  .md\:block         { display: block; }
  .md\:flex          { display: flex; }
  .md\:inline-block  { display: inline-block; }
  .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-center  { align-items: center; }
  .md\:items-start   { align-items: flex-start; }
  .md\:items-end     { align-items: flex-end; }
  .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-full        { width: 100%; }
  .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\:h-32          { height: 8rem; }
  .md\:h-48          { height: 12rem; }
  .md\:h-64          { height: 16rem; }
  .md\:h-\[500px\]   { height: 500px; }
  .md\:h-\[600px\]   { height: 600px; }
  .md\:min-h-\[70vh\]{ min-height: 70vh; }
  .md\:px-8          { padding-left: 2rem; padding-right: 2rem; }
  .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-32         { padding-top: 8rem; padding-bottom: 8rem; }
  .md\:pt-0          { padding-top: 0; }
  .md\:pt-8          { padding-top: 2rem; }
  .md\:pb-0          { padding-bottom: 0; }
  .md\:pl-8          { padding-left: 2rem; }
  .md\:pl-12         { padding-left: 3rem; }
  .md\:mt-0          { margin-top: 0; }
  .md\:mt-4          { margin-top: 1rem; }
  .md\:mt-8          { margin-top: 2rem; }
  .md\:mb-0          { margin-bottom: 0; }
  .md\:mb-4          { margin-bottom: 1rem; }
  .md\:gap-4         { gap: 1rem; }
  .md\:gap-6         { gap: 1.5rem; }
  .md\:gap-8         { gap: 2rem; }
  .md\:gap-12        { gap: 3rem; }
  .md\:gap-16        { gap: 4rem; }
  .md\:grid-cols-2   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .md\:grid-cols-3   { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .md\:grid-cols-4   { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .md\:col-span-1    { grid-column: span 1 / span 1; }
  .md\:col-span-2    { grid-column: span 2 / span 2; }
  .md\:col-span-3    { grid-column: span 3 / span 3; }
  .md\:col-span-4    { grid-column: span 4 / span 4; }
  .md\:col-span-8    { grid-column: span 8 / span 8; }
  .md\:col-span-9    { grid-column: span 9 / span 9; }
  .md\:col-span-12   { grid-column: span 12 / span 12; }
  .md\:col-span-full { grid-column: 1 / -1; }
  .md\:row-span-2    { grid-row: span 2 / span 2; }
  .md\:aspect-\[21\/9\]  { aspect-ratio: 21 / 9; }
  .md\:aspect-\[16\/9\]  { aspect-ratio: 16 / 9; }
  .md\:text-xl    { font-size: 1.25rem;  line-height: 1.75rem; }
  .md\:text-2xl   { font-size: 1.5rem;   line-height: 2rem; }
  .md\:text-3xl   { font-size: 1.875rem; line-height: 2.25rem; }
  .md\:text-4xl   { font-size: 2.25rem;  line-height: 2.5rem; }
  .md\:text-5xl   { font-size: 3rem;     line-height: 1; }
  .md\:text-6xl   { font-size: 3.75rem;  line-height: 1; }
  .md\:text-7xl   { font-size: 4.5rem;   line-height: 1; }
  .md\:text-8xl   { font-size: 6rem;     line-height: 1; }
  .md\:text-left  { text-align: left; }
  .md\:text-right { text-align: right; }
  .md\:border-l   { border-left-width: 1px; border-left-style: solid; }
  .md\:border-t-0 { border-top-width: 0; }
  .md\:flex-1     { flex: 1 1 0%; }
  .md\:max-w-2xl  { max-width: 42rem; }
  .md\:max-w-3xl  { max-width: 48rem; }
  .md\:max-w-4xl  { max-width: 56rem; }
}

/* ==========================================================================
   RESPONSIVE — lg (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
  .lg\:block        { display: block; }
  .lg\:flex         { display: flex; }
  .lg\:grid         { display: grid; }
  .lg\:hidden       { display: none; }
  .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\: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-4   { grid-column: span 4 / span 4; }
  .lg\:col-span-8   { grid-column: span 8 / span 8; }
  .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-16       { gap: 4rem; }
}

/* ==========================================================================
   SITE-SPECIFIC COMPONENTS
   ========================================================================== */

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

/* Nav links */
.nav-link {
  color: #1C1712;
  text-decoration: none;
  font-size: 0.875rem;
  letter-spacing: 0.025em;
  transition: color 150ms;
}
.nav-link:hover { color: #C8860A; }
.nav-link.active { color: #C8860A; border-bottom: 1px solid #C8860A; }

/* Article card */
.article-card { display: flex; flex-direction: column; }
.article-card:hover .card-image img { transform: scale(1.05); }

/* Divider line */
.divider-amber {
  width: 3rem;
  height: 2px;
  background-color: #C8860A;
  display: block;
  margin-bottom: 1.5rem;
}

/* Category tag */
.category-tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #C8860A;
  margin-bottom: 0.5rem;
}

/* Pull quote */
.pull-quote {
  border-left: 3px solid #C8860A;
  padding: 1rem 1.5rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
  line-height: 1.5;
  color: #1C1712;
  background-color: #F0EBD8;
  margin: 2rem 0;
}

/* Stats bar */
.stat-number {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: #C8860A;
  line-height: 1;
}

/* Marquee strip */
.marquee-strip {
  overflow: hidden;
  white-space: nowrap;
  background-color: #1C1712;
  color: #F6F2E8;
  padding: 0.75rem 0;
}
.marquee-inner {
  display: inline-block;
  animation: marquee 28s linear infinite;
}
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* FAQ accordion */
.faq-item { border-bottom: 1px solid rgba(140,126,106,0.20); }
.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.25rem 0;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: #1C1712;
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 150ms;
}
.faq-question:hover { color: #C8860A; }
.faq-answer {
  padding-bottom: 1.25rem;
  font-size: 0.9375rem;
  color: #8C7E6A;
  line-height: 1.7;
  display: none;
}
.faq-answer.open { display: block; }

/* Form fields */
.form-field {
  width: 100%;
  background-color: #F6F2E8;
  border: 1px solid rgba(140,126,106,0.30);
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  color: #1C1712;
  outline: none;
  transition: border-color 150ms;
  font-family: var(--font-body);
}
.form-field:focus { border-color: #C8860A; }
.form-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #8C7E6A;
  margin-bottom: 0.5rem;
}

/* Author bio box */
.author-bio {
  background-color: #EDE8D6;
  border-left: 4px solid #C8860A;
  padding: 1.5rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
  margin: 3rem 0;
}

/* Reading progress */
.reading-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: #8C7E6A;
}

/* Mono label (decorative) */
.mono-label {
  font-family: ui-monospace, 'Cascadia Code', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #8C7E6A;
}

/* Section number decoration */
.section-number {
  font-family: var(--font-display);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(200,134,10,0.12);
  line-height: 1;
  position: absolute;
  top: -1rem;
  left: -1rem;
  pointer-events: none;
  user-select: none;
}

/* Horizontal rule */
.hr-amber {
  border: none;
  border-top: 1px solid rgba(200,134,10,0.25);
  margin: 3rem 0;
}

/* Image caption overlay */
.img-caption {
  font-size: 0.7rem;
  font-family: ui-monospace, 'Cascadia Code', monospace;
  letter-spacing: 0.08em;
  color: #8C7E6A;
  margin-top: 0.5rem;
}

/* Key takeaways list */
.takeaway-list {
  background-color: #EDE8D6;
  border-top: 2px solid #C8860A;
  padding: 1.5rem;
  margin: 2rem 0;
}
.takeaway-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #1C1712;
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(140,126,106,0.15);
}
.takeaway-list li:last-child { border-bottom: none; }
.takeaway-dot {
  width: 6px;
  height: 6px;
  min-width: 6px;
  border-radius: 50%;
  background-color: #C8860A;
  margin-top: 0.5rem;
}

/* Footer */
.site-footer {
  width: 100%;
  background-color: #EDE8D6;
  border-top: 1px solid rgba(140,126,106,0.20);
  margin-top: 6rem;
}

/* 404 */
.error-404 {
  font-family: var(--font-display);
  font-size: 8rem;
  font-weight: 900;
  color: rgba(200,134,10,0.15);
  line-height: 1;
}

/* Cookie banner override */
[data-target="cookies.banner"] {
  display: none;
}
