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

@theme {
  --color-bg-primary: #F8F9FA;
  --color-bg-secondary: #EEF0F2;
  --color-ink-primary: #1C1F23;
  --color-ink-muted: #6B7280;
  --color-accent: #8B5E17;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Space Mono', monospace;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-hard: 4px 4px 0px #1C1F23;
  --shadow-hard-sm: 2px 2px 0px #1C1F23;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Space Mono', monospace;
  background-color: #F8F9FA;
  color: #1C1F23;
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ── Base reset ── */
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
address { font-style: normal; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; }

/* ── Typography base ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: #1C1F23;
}

/* ── Layout utilities ── */
.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-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.justify-end { justify-content: flex-end; }
.justify-start { justify-content: flex-start; }
.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; }
.flex-grow { flex-grow: 1; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }

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

/* ── Container ── */
.container { width: 100%; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
.max-w-7xl { max-width: 80rem; }
.max-w-6xl { max-width: 72rem; }
.max-w-5xl { max-width: 64rem; }
.max-w-4xl { max-width: 56rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-xl { max-width: 36rem; }
.max-w-lg { max-width: 32rem; }
.max-w-md { max-width: 28rem; }
.max-w-sm { max-width: 24rem; }
.max-w-xs { max-width: 20rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333333%; }
.w-2\/3 { width: 66.666667%; }
.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-full { height: 100%; }
.h-auto { height: 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-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-24 { height: 6rem; }
.h-32 { height: 8rem; }
.h-48 { height: 12rem; }
.h-64 { height: 16rem; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-\[60vh\] { min-height: 60vh; }
.min-h-\[70vh\] { min-height: 70vh; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[500px\] { min-height: 500px; }
.max-h-\[600px\] { max-height: 600px; }

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

/* ── Position ── */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.sticky { position: sticky; }
.static { position: static; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.inset-x-0 { left: 0; right: 0; }
.top-0 { top: 0; }
.top-4 { top: 1rem; }
.top-8 { top: 2rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.left-1\/2 { left: 50%; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-translate-y-1\/2 { transform: translateY(-50%); }
.top-1\/2 { top: 50%; }

/* ── Z-index ── */
.z-10 { z-index: 10; }
.z-20 { z-index: 20; }
.z-30 { z-index: 30; }
.z-40 { z-index: 40; }
.z-50 { z-index: 50; }

/* ── Overflow ── */
.overflow-hidden { overflow: hidden; }
.overflow-auto { overflow: auto; }
.overflow-x-hidden { overflow-x: hidden; }

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

/* ── Spacing — padding ── */
.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; }
.pt-2 { padding-top: 0.5rem; }
.pt-4 { padding-top: 1rem; }
.pt-6 { padding-top: 1.5rem; }
.pt-8 { padding-top: 2rem; }
.pt-12 { padding-top: 3rem; }
.pt-16 { padding-top: 4rem; }
.pt-20 { padding-top: 5rem; }
.pt-24 { padding-top: 6rem; }
.pb-2 { padding-bottom: 0.5rem; }
.pb-4 { padding-bottom: 1rem; }
.pb-6 { padding-bottom: 1.5rem; }
.pb-8 { padding-bottom: 2rem; }
.pb-12 { padding-bottom: 3rem; }
.pb-16 { padding-bottom: 4rem; }
.pb-20 { padding-bottom: 5rem; }
.pb-24 { padding-bottom: 6rem; }
.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pl-8 { padding-left: 2rem; }
.pr-4 { padding-right: 1rem; }
.pr-6 { padding-right: 1.5rem; }
.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-10 { padding-left: 2.5rem; padding-right: 2.5rem; }
.px-12 { padding-left: 3rem; padding-right: 3rem; }
.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; }

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

/* ── Typography ── */
.font-display { font-family: 'Space Grotesk', sans-serif; font-weight: 700; }
.font-body { font-family: 'Space Mono', monospace; }
.font-mono { font-family: 'Space Mono', monospace; }
.font-sans { font-family: 'Space Grotesk', sans-serif; }
.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; }
.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-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[14px\] { font-size: 14px; }
.text-\[16px\] { font-size: 16px; }
.text-\[18px\] { font-size: 18px; }
.text-\[22px\] { font-size: 22px; }
.text-\[28px\] { font-size: 28px; }
.text-\[36px\] { font-size: 36px; }
.text-\[48px\] { font-size: 48px; }
.text-\[56px\] { font-size: 56px; }
.text-\[72px\] { font-size: 72px; }
.text-\[96px\] { font-size: 96px; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.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; }
.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\.15em\] { letter-spacing: 0.15em; }
.tracking-\[0\.2em\] { letter-spacing: 0.2em; }
.uppercase { text-transform: uppercase; }
.lowercase { text-transform: lowercase; }
.capitalize { text-transform: capitalize; }
.underline { text-decoration: underline; }
.no-underline { text-decoration: none; }
.line-through { text-decoration: line-through; }
.underline-offset-4 { text-underline-offset: 4px; }
.decoration-1 { text-decoration-thickness: 1px; }
.truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.whitespace-nowrap { white-space: nowrap; }
.break-words { word-break: break-word; }
.text-balance { text-wrap: balance; }
.text-pretty { text-wrap: pretty; }

/* ── Colors — text ── */
.text-\[\#F8F9FA\] { color: #F8F9FA; }
.text-\[\#EEF0F2\] { color: #EEF0F2; }
.text-\[\#1C1F23\] { color: #1C1F23; }
.text-\[\#8B5E17\] { color: #8B5E17; }
.text-\[\#6B7280\] { color: #6B7280; }
.text-\[\#ffffff\] { color: #ffffff; }
.text-\[\#D8E2DC\] { color: #D8E2DC; }
.text-white { color: #ffffff; }
.text-inherit { color: inherit; }

/* ── Colors — background ── */
.bg-\[\#F8F9FA\] { background-color: #F8F9FA; }
.bg-\[\#EEF0F2\] { background-color: #EEF0F2; }
.bg-\[\#1C1F23\] { background-color: #1C1F23; }
.bg-\[\#8B5E17\] { background-color: #8B5E17; }
.bg-\[\#6B7280\] { background-color: #6B7280; }
.bg-\[\#ffffff\] { background-color: #ffffff; }
.bg-\[\#2a2d32\] { background-color: #2a2d32; }
.bg-\[\#f0f1f2\] { background-color: #f0f1f2; }
.bg-\[\#e5e7ea\] { background-color: #e5e7ea; }
.bg-transparent { background-color: transparent; }

/* ── Border ── */
.border { border-width: 1px; border-style: solid; }
.border-0 { border-width: 0; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-b { border-bottom-width: 1px; border-bottom-style: solid; }
.border-t { border-top-width: 1px; border-top-style: solid; }
.border-l { border-left-width: 1px; border-left-style: solid; }
.border-r { border-right-width: 1px; border-right-style: solid; }
.border-b-2 { border-bottom-width: 2px; border-bottom-style: solid; }
.border-t-2 { border-top-width: 2px; border-top-style: solid; }
.border-l-4 { border-left-width: 4px; border-left-style: solid; }
.border-\[\#1C1F23\] { border-color: #1C1F23; }
.border-\[\#8B5E17\] { border-color: #8B5E17; }
.border-\[\#6B7280\] { border-color: #6B7280; }
.border-\[\#EEF0F2\] { border-color: #EEF0F2; }
.border-\[\#1C1F23\]\/10 { border-color: rgba(28,31,35,0.10); }
.border-\[\#1C1F23\]\/20 { border-color: rgba(28,31,35,0.20); }
.border-\[\#1C1F23\]\/30 { border-color: rgba(28,31,35,0.30); }
.border-\[\#6B7280\]\/20 { border-color: rgba(107,114,128,0.20); }
.border-\[\#6B7280\]\/30 { border-color: rgba(107,114,128,0.30); }
.border-\[\#8B5E17\]\/30 { border-color: rgba(139,94,23,0.30); }
.divide-y > * + * { border-top-width: 1px; border-top-style: solid; border-color: rgba(107,114,128,0.20); }
.rounded-none { border-radius: 0; }
.rounded-sm { border-radius: 2px; }
.rounded { border-radius: 4px; }
.rounded-md { border-radius: 6px; }
.rounded-lg { border-radius: 8px; }
.rounded-full { border-radius: 9999px; }

/* ── Effects ── */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.05); }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.1), 0 10px 10px rgba(0,0,0,0.04); }
.shadow-hard { box-shadow: 4px 4px 0px #1C1F23; }
.shadow-hard-sm { box-shadow: 2px 2px 0px #1C1F23; }
.shadow-hard-accent { box-shadow: 4px 4px 0px #8B5E17; }
.shadow-none { box-shadow: none; }
.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; }

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

/* ── Transitions ── */
.transition { transition-property: color, background-color, border-color, opacity, box-shadow, transform; 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: 150ms; transition-timing-function: ease; }
.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 { 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); }

/* ── Transform ── */
.scale-105 { transform: scale(1.05); }
.scale-95 { transform: scale(0.95); }
.rotate-90 { transform: rotate(90deg); }
.-rotate-90 { transform: rotate(-90deg); }
.rotate-\[-90deg\] { transform: rotate(-90deg); }
.rotate-\[90deg\] { transform: rotate(90deg); }

/* ── Backdrop ── */
.backdrop-blur-xl { backdrop-filter: blur(24px); }
.backdrop-blur-sm { backdrop-filter: blur(4px); }

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

/* ── Outline ── */
.outline-none { outline: none; }
.focus\:outline-none:focus { outline: none; }

/* ── Hover states ── */
.hover\:text-\[\#8B5E17\]:hover { color: #8B5E17; }
.hover\:text-\[\#1C1F23\]:hover { color: #1C1F23; }
.hover\:text-\[\#F8F9FA\]:hover { color: #F8F9FA; }
.hover\:bg-\[\#8B5E17\]:hover { background-color: #8B5E17; }
.hover\:bg-\[\#1C1F23\]:hover { background-color: #1C1F23; }
.hover\:bg-\[\#EEF0F2\]:hover { background-color: #EEF0F2; }
.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-hard:hover { box-shadow: 4px 4px 0px #1C1F23; }
.hover\:border-\[\#8B5E17\]:hover { border-color: #8B5E17; }
.focus\:border-\[\#8B5E17\]:focus { border-color: #8B5E17; }

/* ── Group hover ── */
.group:hover .group-hover\:scale-105 { transform: scale(1.05); }
.group:hover .group-hover\:underline { text-decoration: underline; }
.group:hover .group-hover\:text-\[\#8B5E17\] { color: #8B5E17; }
.group:hover .group-hover\:opacity-90 { opacity: 0.9; }

/* ── Space utilities ── */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-x-2 > * + * { margin-left: 0.5rem; }
.space-x-4 > * + * { margin-left: 1rem; }

/* ── Calc / special ── */
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }

/* ── Responsive: md (768px) ── */
@media (min-width: 768px) {
  .md\:flex { display: flex; }
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:inline-block { display: inline-block; }
  .md\:grid { display: grid; }
  .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\:flex-row { flex-direction: row; }
  .md\:flex-col { flex-direction: column; }
  .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\: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\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:px-12 { padding-left: 3rem; padding-right: 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-24 { padding-top: 6rem; }
  .md\:mt-0 { margin-top: 0; }
  .md\:mt-24 { margin-top: 6rem; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-2\/3 { width: 66.666667%; }
  .md\:w-1\/3 { width: 33.333333%; }
  .md\:max-w-2xl { max-width: 42rem; }
  .md\:max-w-3xl { max-width: 48rem; }
  .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-left { text-align: left; }
  .md\:text-right { text-align: right; }
  .md\:inline-block { display: inline-block; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21/9; }
  .md\:justify-end { justify-content: flex-end; }
}

/* ── Responsive: lg (1024px) ── */
@media (min-width: 1024px) {
  .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\:flex { display: flex; }
  .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\:gap-16 { gap: 4rem; }
  .lg\:px-12 { padding-left: 3rem; padding-right: 3rem; }
  .lg\:py-24 { padding-top: 6rem; padding-bottom: 6rem; }
  .lg\:max-w-4xl { max-width: 56rem; }
}

/* ── Marquee animation ── */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite;
}
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  border-top: 1px solid rgba(28,31,35,0.15);
  border-bottom: 1px solid rgba(28,31,35,0.15);
  background-color: #1C1F23;
}
.marquee-inner {
  display: flex;
  animation: marquee 28s linear infinite;
}

/* ── Industrial/Workshop decorative elements ── */
.blueprint-grid {
  background-image:
    linear-gradient(rgba(139,94,23,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,94,23,0.07) 1px, transparent 1px);
  background-size: 32px 32px;
}
.stencil-label {
  font-family: 'Space Mono', monospace;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  font-size: 0.7rem;
  color: #6B7280;
}
.section-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 5rem;
  color: rgba(28,31,35,0.06);
  line-height: 1;
  user-select: none;
}
.hard-border {
  border: 2px solid #1C1F23;
}
.accent-border-l {
  border-left: 4px solid #8B5E17;
}

/* ── FAQ accordion ── */
.accordion-content { display: none; }
.accordion-content.open { display: block; }

/* ── Article card ── */
.article-card {
  border: 1px solid rgba(28,31,35,0.12);
  transition: box-shadow 200ms ease, transform 200ms ease;
}
.article-card:hover {
  box-shadow: 4px 4px 0px #1C1F23;
  transform: translate(-2px,-2px);
}

/* ── CTA button ── */
.btn-primary {
  display: inline-block;
  background-color: #8B5E17;
  color: #F8F9FA;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid #8B5E17;
  transition: all 150ms ease;
}
.btn-primary:hover {
  background-color: #1C1F23;
  border-color: #1C1F23;
}
.btn-secondary {
  display: inline-block;
  background-color: transparent;
  color: #1C1F23;
  font-family: 'Space Mono', monospace;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 2px solid #1C1F23;
  transition: all 150ms ease;
}
.btn-secondary:hover {
  background-color: #1C1F23;
  color: #F8F9FA;
}

/* ── Tag chip ── */
.tag-chip {
  display: inline-block;
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  padding: 0.25rem 0.625rem;
  border: 1px solid rgba(139,94,23,0.4);
  color: #8B5E17;
  background-color: rgba(139,94,23,0.06);
}

/* ── Pull quote ── */
.pull-quote {
  border-left: 4px solid #8B5E17;
  padding-left: 1.5rem;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  color: #1C1F23;
}

/* ── Stat block ── */
.stat-number {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 3.5rem;
  line-height: 1;
  color: #1C1F23;
}

/* ── Timeline ── */
.timeline-step {
  border-left: 2px solid rgba(139,94,23,0.3);
  padding-left: 2rem;
  padding-bottom: 2rem;
  position: relative;
}
.timeline-step::before {
  content: '';
  position: absolute;
  left: -6px;
  top: 4px;
  width: 10px;
  height: 10px;
  background-color: #8B5E17;
  border-radius: 50%;
}

/* ── Hero overlay ── */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(28,31,35,0.72) 0%, rgba(28,31,35,0.25) 60%, transparent 100%);
}

/* ── Author box ── */
.author-box {
  border: 1px solid rgba(28,31,35,0.12);
  border-left: 4px solid #8B5E17;
  background-color: #EEF0F2;
}

/* ── Form inputs ── */
.form-input {
  width: 100%;
  background-color: #F8F9FA;
  border: 1px solid rgba(28,31,35,0.20);
  padding: 0.875rem 1rem;
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  color: #1C1F23;
  transition: border-color 150ms;
  border-radius: 0;
  outline: none;
}
.form-input:focus {
  border-color: #8B5E17;
}

/* ── Divider ── */
.divider-dots::before {
  content: '● ● ● ● ● ● ● ● ● ●';
  letter-spacing: 0.4em;
  color: rgba(28,31,35,0.15);
  font-size: 0.5rem;
}

/* ── Vertical label ── */
.vertical-label {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #6B7280;
}

/* ── Not-italic ── */
.not-italic { font-style: normal; }
