@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@700&family=Inter:wght@400;500&display=swap');

@theme {
  --color-bg-primary: #F7F4EF;
  --color-bg-secondary: #EDE8DF;
  --color-ink-primary: #1C1A16;
  --color-ink-muted: #7A7468;
  --color-accent: #A0783A;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-card: 0 2px 12px rgba(28,26,22,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  background-color: #F7F4EF;
  color: #1C1A16;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 { font-family: 'Space Grotesk', sans-serif; line-height: 1.2; }
p { line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
address { font-style: normal; }

/* ── Layout utilities ── */
.container { width: 100%; max-width: 1200px; margin-left: auto; margin-right: auto; padding-left: 1.5rem; padding-right: 1.5rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.min-h-screen { min-height: 100vh; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: block; }
.inline-block { display: inline-block; }
.hidden { display: none; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-end { align-items: flex-end; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.flex-col { flex-direction: column; }
.flex-row { flex-direction: row; }
.flex-wrap { flex-wrap: wrap; }
.flex-1 { flex: 1 1 0%; }
.flex-shrink-0 { flex-shrink: 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-4 { column-gap: 1rem; }
.gap-x-6 { column-gap: 1.5rem; }
.gap-y-2 { row-gap: 0.5rem; }
.gap-y-4 { row-gap: 1rem; }
.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-y-10 > * + * { margin-top: 2.5rem; }
.space-y-12 > * + * { margin-top: 3rem; }

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

/* ── Spacing ── */
.p-0 { padding: 0; }
.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; }
.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; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-10 { padding-top: 2.5rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.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-10 { padding-bottom: 2.5rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-4 { padding-right: 1rem; }
.mt-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-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; }
.mr-2 { margin-right: 0.5rem; }
.mr-3 { margin-right: 0.75rem; }
.mr-4 { margin-right: 1rem; }
.ml-auto { margin-left: auto; }
.mr-auto { margin-right: auto; }

/* ── Sizing ── */
.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; }
.w-auto { width: auto; }
.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-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-screen { height: 100vh; }
.min-h-[320px] { min-height: 320px; }
.min-h-[400px] { min-height: 400px; }
.min-h-[480px] { min-height: 480px; }
.min-h-[520px] { min-height: 520px; }
.min-h-[560px] { min-height: 560px; }
.min-h-[600px] { min-height: 600px; }
.max-h-0 { max-height: 0; }
.max-h-[800px] { max-height: 800px; }
.aspect-[3\/2] { aspect-ratio: 3/2; }
.aspect-[16\/9] { aspect-ratio: 16/9; }
.aspect-[21\/9] { aspect-ratio: 21/9; }
.aspect-square { aspect-ratio: 1/1; }

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

/* ── Typography ── */
.text-xs { font-size: 0.75rem; line-height: 1.5; }
.text-sm { font-size: 0.875rem; line-height: 1.5; }
.text-base { font-size: 1rem; line-height: 1.5; }
.text-lg { font-size: 1.125rem; line-height: 1.5; }
.text-xl { font-size: 1.25rem; line-height: 1.4; }
.text-2xl { font-size: 1.5rem; line-height: 1.3; }
.text-3xl { font-size: 1.875rem; line-height: 1.2; }
.text-4xl { font-size: 2.25rem; line-height: 1.15; }
.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.0; }
.text-8xl { font-size: 6rem; line-height: 1.0; }
.text-[11px] { font-size: 11px; }
.text-[13px] { font-size: 13px; }
.text-[14px] { font-size: 14px; }
.text-[15px] { font-size: 15px; }
.text-[40px] { font-size: 40px; }
.text-[48px] { font-size: 48px; }
.text-[56px] { font-size: 56px; }
.text-[64px] { font-size: 64px; }
.font-normal { font-weight: 400; }
.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-display { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.font-body { font-family: 'Inter', sans-serif; }
.font-mono { font-family: 'Space Mono', monospace; }
.italic { font-style: italic; }
.not-italic { font-style: normal; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.tracking-tight { letter-spacing: -0.025em; }
.tracking-normal { letter-spacing: 0; }
.tracking-wide { letter-spacing: 0.025em; }
.tracking-wider { letter-spacing: 0.05em; }
.tracking-widest { letter-spacing: 0.1em; }
.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; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.decoration-1 { text-decoration-thickness: 1px; }
.underline-offset-4 { text-underline-offset: 4px; }
.line-clamp-2 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.line-clamp-3 { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }

/* ── Colors — text ── */
.text-[#F7F4EF] { color: #F7F4EF; }
.text-[#EDE8DF] { color: #EDE8DF; }
.text-[#1C1A16] { color: #1C1A16; }
.text-[#7A7468] { color: #7A7468; }
.text-[#A0783A] { color: #A0783A; }
.text-[#ffffff] { color: #ffffff; }
.text-[#D8D0C4] { color: #D8D0C4; }
.text-[#5A5550] { color: #5A5550; }
.text-[#3D3A34] { color: #3D3A34; }
.text-white { color: #ffffff; }
.text-black { color: #000000; }

/* ── Colors — background ── */
.bg-[#F7F4EF] { background-color: #F7F4EF; }
.bg-[#EDE8DF] { background-color: #EDE8DF; }
.bg-[#1C1A16] { background-color: #1C1A16; }
.bg-[#7A7468] { background-color: #7A7468; }
.bg-[#A0783A] { background-color: #A0783A; }
.bg-[#D8D0C4] { background-color: #D8D0C4; }
.bg-[#3D3A34] { background-color: #3D3A34; }
.bg-[#2A2720] { background-color: #2A2720; }
.bg-white { background-color: #ffffff; }
.bg-transparent { background-color: transparent; }
.bg-[rgba(27,38,44,0.780)] { background-color: rgba(27,38,44,0.780); }
.bg-[rgba(255,255,255,0.100)] { background-color: rgba(255,255,255,0.100); }
.bg-[rgba(27,67,50,0.140)] { background-color: rgba(27,67,50,0.140); }

/* ── Colors — border ── */
.border-[#1C1A16] { border-color: #1C1A16; }
.border-[#7A7468] { border-color: #7A7468; }
.border-[#A0783A] { border-color: #A0783A; }
.border-[#EDE8DF] { border-color: #EDE8DF; }
.border-[#D8D0C4] { border-color: #D8D0C4; }
.border-white { border-color: #ffffff; }

/* ── Borders ── */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-l-2 { border-left-width: 2px; border-left-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-l-[3px] { border-left-width: 3px; border-left-style: solid; }
.rounded-sm { border-radius: 0.125rem; }
.rounded { border-radius: 0.25rem; }
.rounded-md { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }
.rounded-full { border-radius: 9999px; }
.rounded-none { border-radius: 0; }

/* Opacity borders */
.border-[#1C1A16\/10] { border-color: rgba(28,26,22,0.1); }
.border-[#1C1A16\/15] { border-color: rgba(28,26,22,0.15); }
.border-[#1C1A16\/20] { border-color: rgba(28,26,22,0.2); }
.border-[#7A7468\/20] { border-color: rgba(122,116,104,0.2); }
.border-[#7A7468\/30] { border-color: rgba(122,116,104,0.3); }
.border-[#A0783A\/30] { border-color: rgba(160,120,58,0.3); }
.border-[rgba(255,255,255,0.180)] { border-color: rgba(255,255,255,0.180); }
.border-[rgba(216,226,220,0.280)] { border-color: rgba(216,226,220,0.280); }

/* ── Effects ── */
.shadow-sm { box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.shadow { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }
.shadow-md { box-shadow: 0 4px 16px rgba(0,0,0,0.1); }
.shadow-lg { box-shadow: 0 8px 32px rgba(0,0,0,0.12); }
.shadow-xl { box-shadow: 0 16px 48px rgba(0,0,0,0.14); }
.shadow-[0_2px_12px_rgba(28,26,22,0.08)] { box-shadow: 0 2px 12px rgba(28,26,22,0.08); }
.shadow-[0_20px_60px_rgba(15,23,42,0.24)] { box-shadow: 0 20px 60px rgba(15,23,42,0.24); }
.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.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); }
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }

/* ── Transforms ── */
.-translate-x-1\/2 { transform: translateX(-50%); }
.translate-y-0 { transform: translateY(0); }
.rotate-90 { transform: rotate(90deg); }
.-rotate-90 { transform: rotate(-90deg); }
.scale-100 { transform: scale(1); }
.scale-105 { transform: scale(1.05); }

/* ── Transitions ── */
.transition { transition-property: all; transition-duration: 150ms; transition-timing-function: ease; }
.transition-all { transition-property: all; transition-duration: 150ms; transition-timing-function: ease; }
.transition-colors { transition-property: color, background-color, border-color; transition-duration: 150ms; transition-timing-function: ease; }
.transition-opacity { transition-property: opacity; transition-duration: 300ms; }
.transition-transform { transition-property: transform; transition-duration: 300ms; transition-timing-function: ease; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.ease-in-out { transition-timing-function: ease-in-out; }

/* ── Cursor ── */
.cursor-pointer { cursor: pointer; }

/* ── Object fit ── */
.object-cover { object-fit: cover; }
.object-center { object-position: center; }
.object-top { object-position: top; }

/* ── Misc ── */
.list-none { list-style: none; }
.list-disc { list-style-type: disc; }
.list-decimal { list-style-type: decimal; }
.appearance-none { appearance: none; }
.outline-none { outline: none; }
.resize-none { resize: none; }
.select-none { user-select: none; }

/* ── Arbitrary width classes ── */
.w-[calc(100%-1.5rem)] { width: calc(100% - 1.5rem); }
.max-w-[1220px] { max-width: 1220px; }
.h-[1px] { height: 1px; }
.h-[2px] { height: 2px; }
.h-[60px] { height: 60px; }
.h-[280px] { height: 280px; }
.h-[320px] { height: 320px; }
.h-[360px] { height: 360px; }
.h-[400px] { height: 400px; }
.h-[420px] { height: 420px; }
.h-[460px] { height: 460px; }
.h-[480px] { height: 480px; }
.h-[500px] { height: 500px; }
.h-[520px] { height: 520px; }
.h-[560px] { height: 560px; }
.min-h-[200px] { min-height: 200px; }
.min-h-[300px] { min-height: 300px; }
.min-h-[440px] { min-height: 440px; }

/* ── Marquee animation ── */
@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee { animation: marquee 28s linear infinite; }
.marquee-track { display: flex; width: max-content; }

/* ── Accordion ── */
.accordion-body { overflow: hidden; max-height: 0; transition: max-height 0.35s ease, padding 0.25s ease; }
.accordion-body.open { max-height: 800px; }

/* ── Article prose ── */
.prose h2 { font-family: 'Space Grotesk', sans-serif; font-size: 1.5rem; font-weight: 700; color: #1C1A16; margin-top: 2.5rem; margin-bottom: 1rem; line-height: 1.3; }
.prose h3 { font-family: 'Space Grotesk', sans-serif; font-size: 1.2rem; font-weight: 700; color: #1C1A16; margin-top: 2rem; margin-bottom: 0.75rem; }
.prose p { color: #3D3A34; font-size: 1.0625rem; line-height: 1.8; margin-bottom: 1.5rem; }
.prose ul { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.prose ul li { color: #3D3A34; font-size: 1.0625rem; line-height: 1.8; margin-bottom: 0.5rem; list-style-type: disc; }
.prose ol { margin-bottom: 1.5rem; padding-left: 1.5rem; }
.prose ol li { color: #3D3A34; font-size: 1.0625rem; line-height: 1.8; margin-bottom: 0.5rem; list-style-type: decimal; }
.prose blockquote { border-left: 3px solid #A0783A; padding-left: 1.5rem; margin: 2rem 0; color: #5A5550; font-style: italic; font-size: 1.125rem; line-height: 1.7; }
.prose strong { color: #1C1A16; font-weight: 600; }

/* ── Form elements ── */
input, textarea, select {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  background-color: #F7F4EF;
  color: #1C1A16;
  border: 1px solid rgba(122,116,104,0.3);
  padding: 0.75rem 1rem;
  width: 100%;
  transition: border-color 0.15s ease;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  border-color: #A0783A;
}
label { display: block; font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7A7468; margin-bottom: 0.5rem; }

/* ── Hover states ── */
.hover\:text-[#A0783A]:hover { color: #A0783A; }
.hover\:text-[#1C1A16]:hover { color: #1C1A16; }
.hover\:text-[#F7F4EF]:hover { color: #F7F4EF; }
.hover\:bg-[#8B6530]:hover { background-color: #8B6530; }
.hover\:bg-[#EDE8DF]:hover { background-color: #EDE8DF; }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:underline:hover { text-decoration: underline; }
.hover\:scale-105:hover { transform: scale(1.05); }
.hover\:border-[#A0783A]:hover { border-color: #A0783A; }
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-[#A0783A]:focus { border-color: #A0783A; }

/* ── Divider ── */
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; border-top-color: rgba(122,116,104,0.2); }

/* ── Stat strip ── */
.stat-number { font-family: 'Space Grotesk', sans-serif; font-size: 3rem; font-weight: 700; color: #1C1A16; line-height: 1; }
.stat-label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.1em; color: #7A7468; margin-top: 0.5rem; }

/* ── Tag/chip ── */
.tag { display: inline-block; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.12em; padding: 0.25rem 0.75rem; border: 1px solid; border-radius: 9999px; }
.tag-accent { background-color: transparent; border-color: #A0783A; color: #A0783A; }
.tag-neutral { background-color: #EDE8DF; border-color: #D8D0C4; color: #7A7468; }

/* ── Archive metadata ── */
.meta-strip { display: flex; align-items: center; gap: 0.5rem; font-size: 0.75rem; color: #7A7468; }
.meta-strip span { font-size: 0.625rem; }

/* ── Category label ── */
.category-label { font-size: 0.7rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.12em; color: #A0783A; }

/* ── Hero overlay ── */
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(28,26,22,0.15) 0%, rgba(28,26,22,0.55) 100%); }

/* ── Section marker ── */
.section-marker { font-family: 'Space Grotesk', sans-serif; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.2em; color: #7A7468; }

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

/* ── Pull quote ── */
.pull-quote { font-family: 'Space Grotesk', sans-serif; font-size: 1.375rem; font-weight: 700; color: #1C1A16; line-height: 1.45; border-top: 2px solid #A0783A; border-bottom: 1px solid rgba(122,116,104,0.2); padding: 1.5rem 0; margin: 2rem 0; }

/* ── Author bio card ── */
.author-card { background-color: #EDE8DF; border-left: 3px solid #A0783A; padding: 1.5rem 2rem; margin-top: 3rem; }

/* ── Related articles ── */
.related-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; margin-top: 2rem; }

/* ── 404 ── */
.error-code { font-family: 'Space Grotesk', sans-serif; font-size: clamp(6rem, 20vw, 14rem); font-weight: 700; color: #EDE8DF; line-height: 1; user-select: none; }

/* ── Map container ── */
.map-container { width: 100%; border: 1px solid rgba(122,116,104,0.2); overflow: hidden; }

/* ── Nav active ── */
nav a.active, nav a:hover { color: #A0783A; }

/* ── Button ── */
.btn-primary { display: inline-block; background-color: #A0783A; color: #F7F4EF; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.875rem 2rem; border: none; cursor: pointer; transition: background-color 0.15s ease, opacity 0.15s ease; }
.btn-primary:hover { background-color: #8B6530; }
.btn-outline { display: inline-block; background-color: transparent; color: #1C1A16; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 0.8125rem; text-transform: uppercase; letter-spacing: 0.08em; padding: 0.875rem 2rem; border: 1px solid #1C1A16; cursor: pointer; transition: all 0.15s ease; }
.btn-outline:hover { background-color: #1C1A16; color: #F7F4EF; }

/* ── Inline anchor ── */
.link-accent { color: #A0783A; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.link-accent:hover { color: #8B6530; }

/* ── Hairline ── */
.hairline { border: none; border-top: 1px solid rgba(122,116,104,0.2); margin: 0; }

/* ── Caption overlay ── */
.img-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.5rem 0.75rem; background: rgba(28,26,22,0.6); font-size: 0.65rem; text-transform: uppercase; letter-spacing: 0.1em; color: rgba(247,244,239,0.8); }

/* ── Responsive: md (768px) ── */
@media (min-width: 768px) {
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:hidden { display: none; }
  .md\:inline-block { display: inline-block; }
  .md\:items-center { align-items: center; }
  .md\:items-start { align-items: flex-start; }
  .md\:justify-between { justify-content: space-between; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .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\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-12 { padding-top: 3rem; padding-bottom: 3rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .md\:py-20 { padding-top: 5rem; padding-bottom: 5rem; }
  .md\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .md\:pt-20 { padding-top: 5rem; }
  .md\:pb-20 { padding-bottom: 5rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:mt-12 { margin-top: 3rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:text-left { text-align: left; }
  .md\:text-right { text-align: right; }
  .md\:text-4xl { font-size: 2.25rem; line-height: 1.15; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .md\:text-[56px] { font-size: 56px; }
  .md\:text-[64px] { font-size: 64px; }
  .md\:aspect-[21\/9] { aspect-ratio: 21/9; }
  .md\:justify-center { justify-content: center; }
  .md\:flex-wrap { flex-wrap: wrap; }
  .related-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Responsive: lg (1024px) ── */
@media (min-width: 1024px) {
  .lg\:block { display: block; }
  .lg\:flex { display: flex; }
  .lg\:grid { display: grid; }
  .lg\:hidden { display: none; }
  .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\: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.0; }
  .lg\:text-[72px] { font-size: 72px; }
  .lg\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .lg\:gap-16 { gap: 4rem; }
}

/* ── Responsive: small only ── */
@media (max-width: 767px) {
  .related-grid { grid-template-columns: 1fr; }
  .error-code { font-size: 7rem; }
  .stat-number { font-size: 2.25rem; }
}
