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

@theme {
  --color-bg-primary: #0d1b1e;
  --color-bg-secondary: #132428;
  --color-ink-primary: #e8f0ee;
  --color-ink-muted: #7a9e99;
  --color-accent: #2a9d8f;
  --font-display: 'Space Grotesk', monospace;
  --font-body: 'Space Mono', monospace;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-hard: 4px 4px 0px #2a9d8f;
}

/* ── Base Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background-color: #0d1b1e; }
body { background-color: #0d1b1e; color: #e8f0ee; font-family: 'Space Mono', monospace; font-size: 15px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
address { font-style: normal; }
button { cursor: pointer; font-family: inherit; }

/* ── Layout ─────────────────────────────────────────── */
.container { width: 100%; max-width: 1280px; margin-left: auto; margin-right: auto; padding-left: 1rem; padding-right: 1rem; }
@media (min-width: 768px) { .container { padding-left: 2rem; padding-right: 2rem; } }

.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.block { display: 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; }
.flex-grow { flex-grow: 1; }

.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-9 { grid-column: span 9 / span 9; }
.col-span-12 { grid-column: span 12 / span 12; }

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

/* ── Spacing ─────────────────────────────────────────── */
.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-2 { row-gap: 0.5rem; }
.gap-y-4 { row-gap: 1rem; }
.gap-y-6 { row-gap: 1.5rem; }

.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; }
.p-0 { padding: 0; }

.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; }
.py-32 { padding-top: 8rem; padding-bottom: 8rem; }

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

.pl-4 { padding-left: 1rem; }
.pl-6 { padding-left: 1.5rem; }
.pr-4 { padding-right: 1rem; }

.m-0 { margin: 0; }
.mx-auto { margin-left: auto; margin-right: auto; }
.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; }
.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-12 { margin-top: 3rem; }
.mt-16 { margin-top: 4rem; }
.mt-24 { margin-top: 6rem; }
.-translate-x-1\/2 { transform: translateX(-50%); }
.-mt-1 { margin-top: -0.25rem; }

/* ── Sizing ──────────────────────────────────────────── */
.w-full { width: 100%; }
.w-auto { width: auto; }
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-8 { width: 2rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.w-24 { width: 6rem; }
.w-32 { width: 8rem; }
.w-40 { width: 10rem; }
.w-48 { width: 12rem; }
.w-64 { width: 16rem; }
.w-1\/2 { width: 50%; }
.w-1\/3 { width: 33.333%; }
.w-2\/3 { width: 66.667%; }

.h-full { height: 100%; }
.h-auto { height: auto; }
.h-1 { height: 0.25rem; }
.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-72 { height: 18rem; }
.h-80 { height: 20rem; }
.h-96 { height: 24rem; }
.h-screen { height: 100vh; }
.min-h-screen { min-height: 100vh; }
.min-h-[60vh] { min-height: 60vh; }
.min-h-[50vh] { min-height: 50vh; }
.min-h-[70vh] { min-height: 70vh; }
.min-h-[80vh] { min-height: 80vh; }

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

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

.object-cover { object-fit: cover; }
.object-center { object-position: center; }

/* ── Typography ──────────────────────────────────────── */
.font-display { font-family: 'Space Grotesk', monospace; }
.font-body { font-family: 'Space Mono', monospace; }
.font-mono { font-family: 'Space Mono', 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.1; }
.text-6xl { font-size: 3.75rem; line-height: 1.05; }
.text-7xl { font-size: 4.5rem; line-height: 1; }
.text-8xl { font-size: 6rem; line-height: 1; }
.text-\[11px\] { font-size: 11px; }
.text-\[13px\] { font-size: 13px; }
.text-\[40px\] { font-size: 40px; }
.text-\[48px\] { font-size: 48px; }
.text-\[56px\] { font-size: 56px; }
.text-\[64px\] { font-size: 64px; }
.text-\[72px\] { font-size: 72px; }
.text-\[10rem\] { font-size: 10rem; }

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

.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.underline { text-decoration: underline; }
.decoration-1 { text-decoration-thickness: 1px; }
.underline-offset-4 { text-underline-offset: 4px; }
.no-underline { text-decoration: none; }
.line-through { text-decoration: line-through; }

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

/* ── Colors ──────────────────────────────────────────── */
.bg-\[\#0d1b1e\] { background-color: #0d1b1e; }
.bg-\[\#132428\] { background-color: #132428; }
.bg-\[\#1a3038\] { background-color: #1a3038; }
.bg-\[\#0a1416\] { background-color: #0a1416; }
.bg-\[\#2a9d8f\] { background-color: #2a9d8f; }
.bg-\[\#1f7a6e\] { background-color: #1f7a6e; }
.bg-\[\#e8f0ee\] { background-color: #e8f0ee; }
.bg-\[\#7a9e99\] { background-color: #7a9e99; }
.bg-transparent { background-color: transparent; }
.bg-\[rgba\(13\,27\,30\,0\.85\)\] { background-color: rgba(13,27,30,0.85); }
.bg-\[rgba\(42\,157\,143\,0\.1\)\] { background-color: rgba(42,157,143,0.1); }
.bg-\[rgba\(42\,157\,143\,0\.08\)\] { background-color: rgba(42,157,143,0.08); }
.bg-\[rgba\(232\,240\,238\,0\.05\)\] { background-color: rgba(232,240,238,0.05); }
.bg-\[rgba\(232\,240\,238\,0\.03\)\] { background-color: rgba(232,240,238,0.03); }

.text-\[\#e8f0ee\] { color: #e8f0ee; }
.text-\[\#7a9e99\] { color: #7a9e99; }
.text-\[\#2a9d8f\] { color: #2a9d8f; }
.text-\[\#0d1b1e\] { color: #0d1b1e; }
.text-\[\#132428\] { color: #132428; }
.text-\[\#c8d8d4\] { color: #c8d8d4; }
.text-\[\#a0bdb7\] { color: #a0bdb7; }
.text-white { color: #ffffff; }

.border-\[\#7a9e99\] { border-color: #7a9e99; }
.border-\[\#2a9d8f\] { border-color: #2a9d8f; }
.border-\[\#e8f0ee\] { border-color: #e8f0ee; }
.border-\[\#132428\] { border-color: #132428; }

.fill-\[\#2a9d8f\] { fill: #2a9d8f; }

/* ── Border & Outline ─────────────────────────────────── */
.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-2 { border-width: 2px; border-style: solid; }

.border-\[\#7a9e99\]\/20 { border-color: rgba(122,158,153,0.2); }
.border-\[\#7a9e99\]\/30 { border-color: rgba(122,158,153,0.3); }
.border-\[\#7a9e99\]\/40 { border-color: rgba(122,158,153,0.4); }
.border-\[\#2a9d8f\]\/30 { border-color: rgba(42,157,143,0.3); }
.border-\[\#2a9d8f\]\/50 { border-color: rgba(42,157,143,0.5); }
.border-\[\#e8f0ee\]\/10 { border-color: rgba(232,240,238,0.1); }
.border-\[\#e8f0ee\]\/20 { border-color: rgba(232,240,238,0.2); }

.outline-none { outline: none; }
.focus\:outline-none:focus { outline: none; }
.focus\:border-\[\#2a9d8f\]:focus { border-color: #2a9d8f; }

.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-full { border-radius: 9999px; }
.rounded-none { border-radius: 0; }

.divide-y > * + * { border-top-width: 1px; border-top-style: solid; }
.divide-\[\#7a9e99\]\/20 > * + * { border-top-color: rgba(122,158,153,0.2); }

/* ── Effects ─────────────────────────────────────────── */
.shadow-sm { box-shadow: 0 1px 2px rgba(0,0,0,0.3); }
.shadow { box-shadow: 0 1px 3px rgba(0,0,0,0.4); }
.shadow-md { box-shadow: 0 4px 6px rgba(0,0,0,0.4); }
.shadow-lg { box-shadow: 0 10px 15px rgba(0,0,0,0.5); }
.shadow-xl { box-shadow: 0 20px 25px rgba(0,0,0,0.5); }
.shadow-hard { box-shadow: 4px 4px 0px #2a9d8f; }
.shadow-\[4px_4px_0px_\#2a9d8f\] { box-shadow: 4px 4px 0px #2a9d8f; }
.shadow-\[2px_2px_0px_\#2a9d8f\] { box-shadow: 2px 2px 0px #2a9d8f; }
.shadow-\[0_0_40px_rgba\(42\,157\,143\,0\.15\)\] { box-shadow: 0 0 40px rgba(42,157,143,0.15); }

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

/* ── 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-opacity { transition-property: opacity; transition-duration: 300ms; }
.duration-150 { transition-duration: 150ms; }
.duration-200 { transition-duration: 200ms; }
.duration-300 { transition-duration: 300ms; }
.ease-in-out { transition-timing-function: ease-in-out; }

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

/* ── Hover / Focus States ─────────────────────────────── */
.hover\:text-\[\#2a9d8f\]:hover { color: #2a9d8f; }
.hover\:text-\[\#e8f0ee\]:hover { color: #e8f0ee; }
.hover\:bg-\[\#1f7a6e\]:hover { background-color: #1f7a6e; }
.hover\:bg-\[\#132428\]:hover { background-color: #132428; }
.hover\:bg-\[rgba\(42\,157\,143\,0\.15\)\]:hover { background-color: rgba(42,157,143,0.15); }
.hover\:opacity-90:hover { opacity: 0.9; }
.hover\:opacity-80:hover { opacity: 0.8; }
.hover\:border-\[\#2a9d8f\]:hover { border-color: #2a9d8f; }
.hover\:shadow-\[4px_4px_0px_\#2a9d8f\]:hover { box-shadow: 4px 4px 0px #2a9d8f; }
.group:hover .group-hover\:text-\[\#2a9d8f\] { color: #2a9d8f; }
.group:hover .group-hover\:opacity-100 { opacity: 1; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

/* ── Size-specific arbitrary ──────────────────────────── */
.w-\[calc\(100\%-1\.5rem\)\] { width: calc(100% - 1.5rem); }
.max-w-\[1220px\] { max-width: 1220px; }
.max-w-\[640px\] { max-width: 640px; }
.max-w-\[720px\] { max-width: 720px; }
.max-w-\[800px\] { max-width: 800px; }
.max-w-\[900px\] { max-width: 900px; }
.h-\[1px\] { height: 1px; }
.h-\[2px\] { height: 2px; }
.w-\[1px\] { width: 1px; }
.h-\[300px\] { height: 300px; }
.h-\[340px\] { height: 340px; }
.h-\[360px\] { height: 360px; }
.h-\[400px\] { height: 400px; }
.h-\[420px\] { height: 420px; }
.h-\[480px\] { height: 480px; }
.h-\[520px\] { height: 520px; }
.h-\[560px\] { height: 560px; }
.h-\[600px\] { height: 600px; }
.h-\[440px\] { height: 440px; }
.min-h-\[320px\] { min-height: 320px; }
.min-h-\[400px\] { min-height: 400px; }
.min-h-\[500px\] { min-height: 500px; }
.min-h-\[540px\] { min-height: 540px; }
.min-h-\[600px\] { min-height: 600px; }

/* ── Miscellaneous ───────────────────────────────────── */
.cursor-pointer { cursor: pointer; }
.select-none { user-select: none; }
.list-none { list-style: none; }
.list-disc { list-style-type: disc; }
.list-inside { list-style-position: inside; }
.pl-5 { padding-left: 1.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }

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

/* ── Accordion ───────────────────────────────────────── */
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-body.open { max-height: 600px; }

/* ── Vertical text label ─────────────────────────────── */
.writing-mode-vertical { writing-mode: vertical-rl; text-orientation: mixed; }

/* ── Responsive ──────────────────────────────────────── */
@media (min-width: 640px) {
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sm\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .sm\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
}

@media (min-width: 768px) {
  .md\:hidden { display: none; }
  .md\:block { display: block; }
  .md\:flex { display: flex; }
  .md\:grid { display: grid; }
  .md\:inline-block { display: inline-block; }
  .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\: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-6 { grid-column: span 6 / span 6; }
  .md\:col-span-7 { grid-column: span 7 / span 7; }
  .md\:col-span-8 { grid-column: span 8 / span 8; }
  .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\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
  .md\:gap-4 { gap: 1rem; }
  .md\:gap-6 { gap: 1.5rem; }
  .md\:gap-8 { gap: 2rem; }
  .md\:gap-12 { gap: 3rem; }
  .md\:px-8 { padding-left: 2rem; padding-right: 2rem; }
  .md\:py-16 { padding-top: 4rem; padding-bottom: 4rem; }
  .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\:mt-0 { margin-top: 0; }
  .md\:mb-0 { margin-bottom: 0; }
  .md\:text-left { text-align: left; }
  .md\:text-right { text-align: right; }
  .md\:text-5xl { font-size: 3rem; line-height: 1.1; }
  .md\:text-6xl { font-size: 3.75rem; line-height: 1.05; }
  .md\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .md\:text-\[56px\] { font-size: 56px; }
  .md\:text-\[64px\] { font-size: 64px; }
  .md\:text-\[72px\] { font-size: 72px; }
  .md\:aspect-\[21\/9\] { aspect-ratio: 21 / 9; }
  .md\:w-1\/2 { width: 50%; }
  .md\:w-2\/3 { width: 66.667%; }
  .md\:max-w-\[640px\] { max-width: 640px; }
  .md\:justify-end { justify-content: flex-end; }
  .md\:items-start { align-items: flex-start; }
  .md\:border-t-0 { border-top-width: 0; }
  .md\:border-l { border-left-width: 1px; border-left-style: solid; }
  .hidden.md\:inline-block { display: inline-block; }
  .md\:flex.hidden { display: flex; }
}

@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-4 { grid-column: span 4 / span 4; }
  .lg\:col-span-8 { grid-column: span 8 / span 8; }
  .lg\:text-7xl { font-size: 4.5rem; line-height: 1; }
  .lg\:text-8xl { font-size: 6rem; line-height: 1; }
  .lg\:text-\[72px\] { font-size: 72px; }
  .lg\:text-\[80px\] { font-size: 80px; }
  .lg\:py-40 { padding-top: 10rem; padding-bottom: 10rem; }
  .lg\:px-16 { padding-left: 4rem; padding-right: 4rem; }
  .lg\:gap-16 { gap: 4rem; }
  .lg\:gap-20 { gap: 5rem; }
  .lg\:grid-cols-12 { grid-template-columns: repeat(12, minmax(0, 1fr)); }
}

@media (min-width: 1280px) {
  .xl\:grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .xl\:text-\[80px\] { font-size: 80px; }
  .xl\:text-8xl { font-size: 6rem; line-height: 1; }
}

/* ── Special Components ──────────────────────────────── */

/* Archive-style section numbering */
.section-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #2a9d8f;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.section-number::before {
  content: '';
  display: inline-block;
  width: 1.5rem;
  height: 1px;
  background-color: #2a9d8f;
}

/* Caption overlays */
.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.75rem 1rem;
  background: linear-gradient(0deg, rgba(13,27,30,0.9) 0%, transparent 100%);
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  color: rgba(232,240,238,0.7);
  letter-spacing: 0.05em;
}

/* Stats strip */
.stat-number {
  font-family: 'Space Grotesk', monospace;
  font-size: 3rem;
  font-weight: 700;
  color: #2a9d8f;
  line-height: 1;
}

/* Timeline steps */
.step-line::before {
  content: '';
  position: absolute;
  left: 1.25rem;
  top: 3rem;
  bottom: -1rem;
  width: 1px;
  background-color: rgba(42,157,143,0.3);
}

/* Hairline divider */
.hairline { width: 100%; height: 1px; background-color: rgba(122,158,153,0.2); }

/* Tag chip */
.chip {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border: 1px solid rgba(42,157,143,0.4);
  border-radius: 2px;
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2a9d8f;
  background-color: rgba(42,157,143,0.06);
}

/* Navigation active link */
.nav-active { color: #2a9d8f; border-bottom: 1px solid #2a9d8f; padding-bottom: 2px; }

/* Form base */
input, textarea, select {
  background-color: #132428;
  border: 1px solid rgba(122,158,153,0.3);
  color: #e8f0ee;
  font-family: 'Space Mono', monospace;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  width: 100%;
  outline: none;
  transition: border-color 0.15s;
  border-radius: 2px;
}
input:focus, textarea:focus, select:focus { border-color: #2a9d8f; }
input::placeholder, textarea::placeholder { color: rgba(122,158,153,0.6); }
label { display: block; font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: #7a9e99; margin-bottom: 0.5rem; }

/* CTA button */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #2a9d8f;
  color: #0d1b1e;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: none;
  transition: all 0.15s;
}
.btn-primary:hover { background-color: #1f7a6e; box-shadow: 4px 4px 0px rgba(42,157,143,0.3); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: #e8f0ee;
  font-family: 'Space Grotesk', monospace;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.875rem 2rem;
  border: 1px solid rgba(232,240,238,0.3);
  transition: all 0.15s;
}
.btn-outline:hover { border-color: #2a9d8f; color: #2a9d8f; }

/* ASCII / decorative divider */
.ascii-divider {
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  color: rgba(42,157,143,0.4);
  letter-spacing: 0.1em;
  user-select: none;
}

/* Map container */
.map-frame { width: 100%; border: 1px solid rgba(122,158,153,0.2); overflow: hidden; }
.map-frame iframe { display: block; width: 100%; height: 100%; border: 0; }
