/* DREVANOL ALMANAC — css/style.css */

@theme {
  --color-bg-primary: #F4EFE6;
  --color-bg-secondary: #EBE3D4;
  --color-ink-primary: #111008;
  --color-ink-muted: #7A7166;
  --color-accent: #3D3626;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius: 0rem;
}

/* ============================================================
   BASE RESET
   ============================================================ */

*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-family: var(--font-body);
  font-size: 16px;
  scroll-behavior: smooth;
  background-color: #F4EFE6;
  color: #111008;
}

body {
  margin: 0;
  padding: 0;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: #F4EFE6;
}

img, video {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  cursor: pointer;
  font-family: inherit;
  background: none;
  border: none;
  padding: 0;
}

address {
  font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}

p {
  margin: 0;
}

ul, ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

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

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

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

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

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

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

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

.container {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

.mx-auto { margin-left: auto; margin-right: auto; }

/* ============================================================
   SPACING UTILITIES
   ============================================================ */

.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-7 { padding: 1.75rem; }
.p-8 { padding: 2rem; }
.p-10 { padding: 2.5rem; }
.p-12 { padding: 3rem; }
.p-16 { padding: 4rem; }
.p-20 { padding: 5rem; }

.px-0 { padding-left: 0; padding-right: 0; }
.px-1 { padding-left: 0.25rem; padding-right: 0.25rem; }
.px-2 { padding-left: 0.5rem; padding-right: 0.5rem; }
.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-5 { padding-left: 1.25rem; padding-right: 1.25rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.px-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }

.py-0 { padding-top: 0; padding-bottom: 0; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-2\.5 { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-5 { padding-top: 1.25rem; padding-bottom: 1.25rem; }
.py-6 { padding-top: 1.5rem; padding-bottom: 1.5rem; }
.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-10 { padding-top: 2.5rem; padding-bottom: 2.5rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.py-24 { padding-top: 6rem; padding-bottom: 6rem; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

.pt-0 { padding-top: 0; }
.pt-1 { padding-top: 0.25rem; }
.pt-2 { padding-top: 0.5rem; }
.pt-3 { padding-top: 0.75rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }

.pb-0 { padding-bottom: 0; }
.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-0 { padding-left: 0; }
.pl-2 { padding-left: 0.5rem; }
.pl-4 { padding-left: 1rem; }
.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; }

.m-0 { margin: 0; }
.m-1 { margin: 0.25rem; }
.m-2 { margin: 0.5rem; }
.m-4 { margin: 1rem; }
.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-5 { margin-top: 1.25rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-20 { margin-top: 5rem; }
.mt-24 { margin-top: 6rem; }
.mt-32 { margin-top: 8rem; }
.-mt-1 { margin-top: -0.25rem; }
.-mt-2 { margin-top: -0.5rem; }
.-mt-4 { margin-top: -1rem; }

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

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

.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; }
.space-x-6 > * + * { margin-left: 1.5rem; }

/* ============================================================
   SIZING UTILITIES
   ============================================================ */

.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-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }

.h-auto { height: auto; }
.h-full { height: 100%; }
.h-screen { height: 100vh; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-8 { height: 2rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-px { height: 1px; }

.min-h-screen { min-height: 100vh; }
.min-h-full { min-height: 100%; }
.min-h-0 { min-height: 0; }
.min-h-\[300px\] { min-height: 300px; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[500px\] { min-height: 500px; }

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

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

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

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */

.font-display { font-family: var(--font-display); }
.font-body { font-family: var(--font-body); }
.font-mono { font-family: 'Courier New', Courier, monospace; }

.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; }
.text-\[10rem\] { font-size: 10rem; line-height: 1; }
.text-\[12rem\] { font-size: 12rem; line-height: 1; }
.text-\[clamp\(3rem\2C 8vw\2C 7rem\)\] { font-size: clamp(3rem, 8vw, 7rem); }
.text-\[clamp\(2rem\2C 5vw\2C 5rem\)\] { font-size: clamp(2rem, 5vw, 5rem); }

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

.italic { font-style: italic; }
.not-italic { font-style: normal; }

.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.normal-case { text-transform: none; }

.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; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.tracking-\[0\.3em\] { letter-spacing: 0.3em; }

.leading-none { line-height: 1; }
.leading-tight { line-height: 1.25; }
.leading-snug { line-height: 1.375; }
.leading-normal { line-height: 1.5; }
.leading-relaxed { line-height: 1.625; }
.leading-loose { line-height: 2; }
.leading-6 { line-height: 1.5rem; }

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

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

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

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

.break-words { overflow-wrap: break-word; }
.break-all { word-break: break-all; }

/* ============================================================
   COLOR UTILITIES
   ============================================================ */

.text-\[\#111008\] { color: #111008; }
.text-\[\#F4EFE6\] { color: #F4EFE6; }
.text-\[\#EBE3D4\] { color: #EBE3D4; }
.text-\[\#7A7166\] { color: #7A7166; }
.text-\[\#3D3626\] { color: #3D3626; }
.text-white { color: #ffffff; }
.text-black { color: #000000; }

.bg-\[\#F4EFE6\] { background-color: #F4EFE6; }
.bg-\[\#EBE3D4\] { background-color: #EBE3D4; }
.bg-\[\#111008\] { background-color: #111008; }
.bg-\[\#3D3626\] { background-color: #3D3626; }
.bg-\[\#7A7166\] { background-color: #7A7166; }
.bg-white { background-color: #ffffff; }
.bg-black { background-color: #000000; }
.bg-transparent { background-color: transparent; }

.border-\[\#111008\] { border-color: #111008; }
.border-\[\#3D3626\] { border-color: #3D3626; }
.border-\[\#7A7166\] { border-color: #7A7166; }
.border-\[\#EBE3D4\] { border-color: #EBE3D4; }
.border-white { border-color: #ffffff; }
.border-transparent { border-color: transparent; }

/* ============================================================
   BORDER UTILITIES
   ============================================================ */

.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-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-t-4 { border-top-width: 4px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-b-4 { border-bottom-width: 4px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-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-8 { border-left-width: 8px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-r-2 { border-right-width: 2px; border-right-style: solid; }

.border-dashed { border-style: dashed; }
.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-full { border-radius: 9999px; }

.divide-y-2 > * + * { border-top-width: 2px; border-top-style: solid; }
.divide-\[\#111008\] > * + * { border-color: #111008; }

/* ============================================================
   EFFECT & SHADOW UTILITIES — Swiss Brutalist Hard Shadows
   ============================================================ */

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

/* Swiss Brutalist hard offset shadows */
.shadow-\[4px_4px_0px_0px_\#111008\] { box-shadow: 4px 4px 0px 0px #111008; }
.shadow-\[3px_3px_0px_0px_\#111008\] { box-shadow: 3px 3px 0px 0px #111008; }
.shadow-\[6px_6px_0px_0px_\#111008\] { box-shadow: 6px 6px 0px 0px #111008; }
.shadow-\[8px_8px_0px_0px_\#111008\] { box-shadow: 8px 8px 0px 0px #111008; }
.shadow-\[2px_2px_0px_0px_\#111008\] { box-shadow: 2px 2px 0px 0px #111008; }
.shadow-\[4px_4px_0px_0px_\#3D3626\] { box-shadow: 4px 4px 0px 0px #3D3626; }

.opacity-0 { opacity: 0; }
.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-xl { backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

/* ============================================================
   TRANSFORM & TRANSITION UTILITIES
   ============================================================ */

.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-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); }
.ease-linear { transition-timing-function: linear; }

.scale-95 { transform: scale(0.95); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }
.scale-110 { transform: scale(1.1); }

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

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

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

/* ============================================================
   OBJECT FIT
   ============================================================ */

.object-cover { object-fit: cover; }
.object-contain { object-fit: contain; }
.object-fill { object-fit: fill; }
.object-center { object-position: center; }
.object-top { object-position: top; }

/* ============================================================
   CURSOR & POINTER
   ============================================================ */

.cursor-pointer { cursor: pointer; }
.cursor-default { cursor: default; }
.cursor-not-allowed { cursor: not-allowed; }
.pointer-events-none { pointer-events: none; }
.select-none { user-select: none; }

/* ============================================================
   VISIBILITY
   ============================================================ */

.visible { visibility: visible; }
.invisible { visibility: hidden; }
.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;
}

/* ============================================================
   ARBITRARY VALUE CLASSES
   ============================================================ */

.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.w-\[calc\(100\%\+2px\)\] { width: calc(100% + 2px); }
.max-w-\[1220px\] { max-width: 1220px; }
.max-w-\[900px\] { max-width: 900px; }
.max-w-\[760px\] { max-width: 760px; }
.max-w-\[680px\] { max-width: 680px; }
.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.h-\[80px\] { height: 80px; }
.h-\[120px\] { height: 120px; }
.h-\[200px\] { height: 200px; }
.h-\[300px\] { height: 300px; }
.h-\[400px\] { height: 400px; }
.h-\[500px\] { height: 500px; }
.h-\[600px\] { height: 600px; }
.min-h-\[60px\] { min-height: 60px; }
.min-h-\[120px\] { min-height: 120px; }
.min-h-\[200px\] { min-height: 200px; }
.min-h-\[280px\] { min-height: 280px; }
.min-h-\[320px\] { min-height: 320px; }
.min-h-\[360px\] { min-height: 360px; }
.min-h-\[440px\] { min-height: 440px; }
.min-h-\[480px\] { min-height: 480px; }
.min-h-\[520px\] { min-height: 520px; }
.min-h-\[560px\] { min-height: 560px; }
.top-\[50\%\] { top: 50%; }
.left-\[50\%\] { left: 50%; }

/* ============================================================
   PROSE — ARTICLE BODY TEXT
   ============================================================ */

.prose {
  color: #111008;
  max-width: 65ch;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.75;
}

.prose p { margin-bottom: 1.5em; }
.prose h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
  margin-top: 2.5em;
  margin-bottom: 0.75em;
  color: #111008;
  border-left: 4px solid #111008;
  padding-left: 1rem;
}
.prose h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  margin-top: 2em;
  margin-bottom: 0.5em;
  color: #111008;
}
.prose ul {
  list-style: none;
  margin-bottom: 1.5em;
  padding-left: 0;
}
.prose ul li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 0.5em;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #3D3626;
  font-weight: 700;
}
.prose ol {
  list-style: decimal;
  padding-left: 1.5rem;
  margin-bottom: 1.5em;
}
.prose ol li { margin-bottom: 0.5em; }
.prose blockquote {
  border-left: 4px solid #111008;
  padding: 1rem 1.5rem;
  margin: 2em 0;
  background-color: #EBE3D4;
  font-style: italic;
  font-size: 1.125rem;
}
.prose strong { font-weight: 700; }
.prose a { text-decoration: underline; color: #3D3626; }
.prose a:hover { color: #111008; }

/* ============================================================
   MARQUEE ANIMATION
   ============================================================ */

@keyframes marquee-scroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

.marquee-track {
  display: flex;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.marquee-inner {
  display: flex;
  flex-shrink: 0;
  animation: marquee-scroll 28s linear infinite;
}

.marquee-inner:hover {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  padding: 0 2rem;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-body.open {
  max-height: 500px;
  transition: max-height 0.4s ease-in;
}

/* ============================================================
   ARTICLE BODY IMAGE
   ============================================================ */

.article-img-float {
  float: right;
  margin-left: 2rem;
  margin-bottom: 1rem;
  width: 40%;
}

/* ============================================================
   RESPONSIVE UTILITIES
   ============================================================ */

@media (min-width: 640px) {
  .sm\:flex { display: flex; }
  .sm\:hidden { display: none; }
  .sm\:block { display: block; }
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sm\:text-lg { font-size: 1.125rem; line-height: 1.75rem; }
  .sm\:text-2xl { font-size: 1.5rem; line-height: 2rem; }
  .sm\:text-4xl { font-size: 2.25rem; line-height: 2.5rem; }
  .sm\:px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
}

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

@media (min-width: 1024px) {
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:hidden { display: none; }
  .lg\:block { display: block; }
  .lg\:flex-row { flex-direction: row; }
  .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\:gap-8 { gap: 2rem; }
  .lg\:gap-12 { gap: 3rem; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .lg\:py-32 { padding-top: 8rem; padding-bottom: 8rem; }
  .lg\:text-5xl { font-size: 3rem; }
  .lg\:text-6xl { font-size: 3.75rem; }
  .lg\:text-7xl { font-size: 4.5rem; }
  .lg\:text-8xl { font-size: 6rem; }
  .lg\:text-9xl { font-size: 8rem; }
  .lg\:w-1\/2 { width: 50%; }
  .lg\:w-2\/3 { width: 66.666667%; }
  .lg\:mt-0 { margin-top: 0; }
  .lg\:items-start { align-items: flex-start; }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:col-span-2 { grid-column: span 2 / span 2; }
  .xl\:px-0 { padding-left: 0; padding-right: 0; }
  .xl\:text-9xl { font-size: 8rem; }
}

/* ============================================================
   STATE VARIANTS
   ============================================================ */

.hover\:text-\[\#3D3626\]:hover { color: #3D3626; }
.hover\:text-\[\#111008\]:hover { color: #111008; }
.hover\:text-\[\#F4EFE6\]:hover { color: #F4EFE6; }
.hover\:bg-\[\#111008\]:hover { background-color: #111008; }
.hover\:bg-\[\#3D3626\]:hover { background-color: #3D3626; }
.hover\:bg-\[\#EBE3D4\]:hover { background-color: #EBE3D4; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:shadow-\[6px_6px_0px_0px_\#111008\]:hover { box-shadow: 6px 6px 0px 0px #111008; }
.hover\:shadow-\[2px_2px_0px_0px_\#111008\]:hover { box-shadow: 2px 2px 0px 0px #111008; }
.hover\:border-\[\#111008\]:hover { border-color: #111008; }

.focus\:outline-none:focus { outline: none; }
.focus\:border-\[\#111008\]:focus { border-color: #111008; }
.focus\:border-\[\#3D3626\]:focus { border-color: #3D3626; }
.focus\:ring-2:focus { box-shadow: 0 0 0 2px #3D3626; }

.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:text-\[\#3D3626\] { color: #3D3626; }

/* ============================================================
   PRINT
   ============================================================ */

@media print {
  .print\:hidden { display: none; }
}

/* ============================================================
   CUSTOM COMPONENT PATTERNS — Swiss Brutalist
   ============================================================ */

/* Hard-border card with offset shadow */
.brutalist-card {
  border: 2px solid #111008;
  box-shadow: 4px 4px 0px 0px #111008;
  background-color: #F4EFE6;
  transition: box-shadow 150ms ease, transform 150ms ease;
}

.brutalist-card:hover {
  box-shadow: 6px 6px 0px 0px #111008;
  transform: translate(-1px, -1px);
}

/* Mono terminal label */
.terminal-label {
  font-family: 'Courier New', Courier, monospace;
  font-size: 0.6875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #7A7166;
}

/* Section number marker */
.section-number {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: #7A7166;
  text-transform: uppercase;
}

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

/* Vertical rotated label */
.rotate-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-size: 0.6875rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #7A7166;
}

/* Pull-quote */
.pull-quote {
  border-left: 4px solid #111008;
  padding: 1.5rem 2rem;
  margin: 2.5rem 0;
  background-color: #EBE3D4;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  line-height: 1.4;
  color: #111008;
}

/* CTA Button — Swiss Brutalist */
.btn-primary {
  display: inline-block;
  background-color: #111008;
  color: #F4EFE6;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid #111008;
  box-shadow: 4px 4px 0px 0px #3D3626;
  transition: all 150ms ease;
  cursor: pointer;
}

.btn-primary:hover {
  background-color: #3D3626;
  box-shadow: 2px 2px 0px 0px #3D3626;
  transform: translate(2px, 2px);
}

.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #111008;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid #111008;
  transition: all 150ms ease;
  cursor: pointer;
}

.btn-secondary:hover {
  background-color: #111008;
  color: #F4EFE6;
}

/* Hairline divider */
.hairline {
  height: 1px;
  background-color: #7A7166;
  opacity: 0.3;
}

/* Article hero overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(17,16,8,0.7) 100%);
}

/* Bento grid layout */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 0;
}

@media (min-width: 768px) {
  .bento-grid {
    grid-template-columns: repeat(12, 1fr);
  }
  .bento-col-5 { grid-column: span 5; }
  .bento-col-7 { grid-column: span 7; }
  .bento-col-4 { grid-column: span 4; }
  .bento-col-8 { grid-column: span 8; }
  .bento-col-6 { grid-column: span 6; }
}

/* Form elements */
input, textarea, select {
  font-family: var(--font-body);
  font-size: 0.875rem;
  background-color: #F4EFE6;
  color: #111008;
  border: 2px solid #7A7166;
  padding: 0.75rem 1rem;
  outline: none;
  width: 100%;
  transition: border-color 150ms ease;
  -webkit-appearance: none;
  appearance: none;
}

input:focus, textarea:focus {
  border-color: #111008;
}

/* ============================================================
   UTILITIES USED IN HEADER / FOOTER
   ============================================================ */

.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }

/* ============================================================
   DARK SECTION VARIANT
   ============================================================ */

.section-dark {
  background-color: #111008;
  color: #F4EFE6;
}

.section-dark .terminal-label { color: #7A7166; }
.section-dark h2 { color: #F4EFE6; }
.section-dark p { color: #EBE3D4; }

/* ============================================================
   ICON UTILITIES
   ============================================================ */

.text-\[0\.6875rem\] { font-size: 0.6875rem; }
.text-\[10px\] { font-size: 10px; }

/* Table */
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.75rem 1rem; text-align: left; border-bottom: 1px solid #7A7166; }
th { font-family: var(--font-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; }

/* ============================================================
   ADDITIONAL ARBITRARY CLASSES
   ============================================================ */

.w-\[180px\] { width: 180px; }
.h-\[180px\] { height: 180px; }
.w-\[220px\] { width: 220px; }
.h-\[220px\] { height: 220px; }
.top-\[4px\] { top: 4px; }
.left-\[4px\] { left: 4px; }
.border-\[2px\] { border-width: 2px; border-style: solid; }
.border-\[3px\] { border-width: 3px; border-style: solid; }
.text-\[0\.65rem\] { font-size: 0.65rem; }
.text-\[0\.7rem\] { font-size: 0.7rem; }
.text-\[0\.75rem\] { font-size: 0.75rem; }
.leading-\[1\.2\] { line-height: 1.2; }
.leading-\[1\.1\] { line-height: 1.1; }
.py-\[0\.625rem\] { padding-top: 0.625rem; padding-bottom: 0.625rem; }
.py-\[3\.5rem\] { padding-top: 3.5rem; padding-bottom: 3.5rem; }
.mt-\[6rem\] { margin-top: 6rem; }
.mb-\[6rem\] { margin-bottom: 6rem; }
.gap-\[1px\] { gap: 1px; }
.bg-\[\#F4EFE6\]\/80 { background-color: rgba(244,239,230,0.8); }
.border-\[\#111008\]\/20 { border-color: rgba(17,16,8,0.2); }
.border-\[\#111008\]\/10 { border-color: rgba(17,16,8,0.1); }
.border-\[\#7A7166\]\/30 { border-color: rgba(122,113,102,0.3); }
.border-\[\#7A7166\]\/20 { border-color: rgba(122,113,102,0.2); }
.text-\[\#111008\]\/60 { color: rgba(17,16,8,0.6); }

/* ============================================================
   NOT-ITALIC UTILITY
   ============================================================ */

.not-italic { font-style: normal; }

/* ============================================================
   RESPONSIVE GRID EXTRAS
   ============================================================ */

@media (min-width: 768px) {
  .md\:w-\[40\%\] { width: 40%; }
  .md\:w-\[60\%\] { width: 60%; }
  .md\:aspect-\[16\/9\] { aspect-ratio: 16 / 9; }
  .md\:gap-0 { gap: 0; }
}

@media (min-width: 768px) {
  .md\:sticky { position: sticky; }
  .md\:top-24 { top: 6rem; }
}
