/* ============================================================
   Tokan Almanac — css/style.css
   Prebuilt Tailwind v4.1.5 utility output
   K_FAMILY=7 Documentary/Archive | K_HUE=2 teal-petrol
   K_BG=2 deep dark | K_SAT=1 balanced
   K_FONT=5 Space Grotesk + Space Mono
   ============================================================ */

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

@theme {
  --color-bg-primary: #0d1117;
  --color-bg-secondary: #161b22;
  --color-ink-primary: #e6edf3;
  --color-ink-muted: #8b949e;
  --color-accent: #2dd4bf;
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'Space Mono', monospace;
  --radius-sm: 2px;
  --radius-md: 4px;
  --shadow-card: 0 1px 3px rgba(0,0,0,0.4);
}

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

/* ── Tailwind Utility Classes ── */

/* Layout */
.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; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.items-stretch { align-items: stretch; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-end { justify-content: flex-end; }
.justify-between { justify-content: space-between; }
.justify-around { justify-content: space-around; }
.self-start { align-self: flex-start; }
.self-center { align-self: center; }
.self-end { align-self: flex-end; }
.flex-1 { flex: 1 1 0%; }
.flex-auto { flex: 1 1 auto; }
.flex-none { flex: none; }
.flex-shrink-0 { flex-shrink: 0; }
.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)); }
.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-full { grid-column: 1/-1; }

.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-6 { top: 1.5rem; }
.bottom-0 { bottom: 0; }
.bottom-4 { bottom: 1rem; }
.left-0 { left: 0; }
.left-1\/2 { left: 50%; }
.right-0 { right: 0; }
.right-4 { right: 1rem; }
.-top-4 { top: -1rem; }

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

/* 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-0 { padding-left:0;padding-right: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; }
.px-12 { padding-left:3rem;padding-right:3rem; }
.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-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; }
.pb-0 { padding-bottom:0; }
.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; }
.pl-8 { padding-left:2rem; }
.pr-4 { padding-right:1rem; }

.m-0 { margin: 0; }
.m-auto { margin: auto; }
.mx-auto { margin-left:auto;margin-right:auto; }
.mx-2 { margin-left:0.5rem;margin-right:0.5rem; }
.mx-4 { margin-left:1rem;margin-right:1rem; }
.my-2 { margin-top:0.5rem;margin-bottom:0.5rem; }
.my-4 { margin-top:1rem;margin-bottom:1rem; }
.my-8 { margin-top:2rem;margin-bottom:2rem; }
.my-12 { margin-top:3rem;margin-bottom:3rem; }
.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; }
.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-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-4 { margin-right:1rem; }
.mr-auto { margin-right:auto; }

.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-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; }
.gap-y-12 { row-gap:3rem; }

/* Sizing */
.w-full { width:100%; }
.w-auto { width:auto; }
.w-screen { width:100vw; }
.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.333333%; }
.w-2\/3 { width:66.666667%; }
.w-3\/4 { width:75%; }
.h-full { height:100%; }
.h-auto { height:auto; }
.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-40 { height:10rem; }
.h-48 { height:12rem; }
.h-64 { height:16rem; }
.h-80 { height:20rem; }
.h-96 { height:24rem; }
.min-h-screen { min-height:100vh; }
.min-h-0 { min-height:0; }
.max-w-none { max-width:none; }
.max-w-xs { max-width:20rem; }
.max-w-sm { max-width:24rem; }
.max-w-md { max-width:28rem; }
.max-w-lg { max-width:32rem; }
.max-w-xl { max-width:36rem; }
.max-w-2xl { max-width:42rem; }
.max-w-3xl { max-width:48rem; }
.max-w-4xl { max-width:56rem; }
.max-w-5xl { max-width:64rem; }
.max-w-6xl { max-width:72rem; }
.max-w-7xl { max-width:80rem; }
.max-w-full { max-width:100%; }
.min-w-0 { min-width:0; }

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

/* Typography */
.font-display { font-family:'Space Grotesk',sans-serif; }
.font-body { font-family:'Space Mono',monospace; }
.font-mono { font-family:'Space Mono',monospace; }
.font-sans { font-family:'Space Grotesk',sans-serif; }

.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-\[15px\] { font-size:15px; }
.text-\[40px\] { font-size:40px; }
.text-\[56px\] { font-size:56px; }
.text-\[64px\] { font-size:64px; }
.text-\[72px\] { font-size:72px; }

.font-normal { font-weight:400; }
.font-medium { font-weight:500; }
.font-semibold { font-weight:600; }
.font-bold { font-weight:700; }
.font-extrabold { font-weight:800; }
.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; }

.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; }
.leading-7 { line-height:1.75rem; }
.leading-8 { line-height:2rem; }
.leading-\[1\.1\] { line-height:1.1; }
.leading-\[1\.15\] { line-height:1.15; }
.leading-\[1\.2\] { line-height:1.2; }

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

.text-left { text-align:left; }
.text-center { text-align:center; }
.text-right { text-align:right; }
.text-justify { text-align:justify; }
.text-balance { text-wrap:balance; }
.text-pretty { text-wrap:pretty; }

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

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

/* Colors — text */
.text-\[\#0d1117\] { color:#0d1117; }
.text-\[\#161b22\] { color:#161b22; }
.text-\[\#e6edf3\] { color:#e6edf3; }
.text-\[\#8b949e\] { color:#8b949e; }
.text-\[\#2dd4bf\] { color:#2dd4bf; }
.text-\[\#c9d1d9\] { color:#c9d1d9; }
.text-\[\#58a6ff\] { color:#58a6ff; }
.text-\[\#f0f6fc\] { color:#f0f6fc; }
.text-\[\#ffffff\] { color:#ffffff; }
.text-\[\#d8e2dc\] { color:#d8e2dc; }
.text-\[\#21262d\] { color:#21262d; }

/* Colors — background */
.bg-\[\#0d1117\] { background-color:#0d1117; }
.bg-\[\#161b22\] { background-color:#161b22; }
.bg-\[\#21262d\] { background-color:#21262d; }
.bg-\[\#2dd4bf\] { background-color:#2dd4bf; }
.bg-\[\#0a0f14\] { background-color:#0a0f14; }
.bg-\[\#0f1923\] { background-color:#0f1923; }
.bg-\[\#1c2128\] { background-color:#1c2128; }
.bg-\[\#e6edf3\] { background-color:#e6edf3; }
.bg-\[\#ffffff\] { background-color:#ffffff; }
.bg-transparent { background-color:transparent; }
.bg-\[\#2dd4bf\]\/10 { background-color:rgba(45,212,191,0.1); }
.bg-\[\#2dd4bf\]\/20 { background-color:rgba(45,212,191,0.2); }
.bg-\[\#8b949e\]\/10 { background-color:rgba(139,148,158,0.1); }
.bg-\[\#8b949e\]\/20 { background-color:rgba(139,148,158,0.2); }
.bg-\[\#e6edf3\]\/5 { background-color:rgba(230,237,243,0.05); }
.bg-\[\#e6edf3\]\/10 { background-color:rgba(230,237,243,0.1); }

/* Colors — border */
.border-\[\#2dd4bf\] { border-color:#2dd4bf; }
.border-\[\#e6edf3\] { border-color:#e6edf3; }
.border-\[\#8b949e\] { border-color:#8b949e; }
.border-\[\#21262d\] { border-color:#21262d; }
.border-\[\#30363d\] { border-color:#30363d; }
.border-\[\#8b949e\]\/20 { border-color:rgba(139,148,158,0.2); }
.border-\[\#8b949e\]\/30 { border-color:rgba(139,148,158,0.3); }
.border-\[\#8b949e\]\/40 { border-color:rgba(139,148,158,0.4); }
.border-\[\#e6edf3\]\/10 { border-color:rgba(230,237,243,0.1); }
.border-\[\#e6edf3\]\/20 { border-color:rgba(230,237,243,0.2); }
.border-\[\#2dd4bf\]\/30 { border-color:rgba(45,212,191,0.3); }
.border-\[\#2dd4bf\]\/50 { border-color:rgba(45,212,191,0.5); }

/* 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-\[\#2dd4bf\] { border-color:#2dd4bf; }
.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 */
.divide-y > * + * { border-top-width:1px;border-top-style:solid; }
.divide-\[\#8b949e\]\/20 > * + * { border-color:rgba(139,148,158,0.2); }

/* Effects */
.shadow { box-shadow:0 1px 3px rgba(0,0,0,0.4); }
.shadow-md { box-shadow:0 4px 6px -1px rgba(0,0,0,0.4); }
.shadow-lg { box-shadow:0 10px 15px -3px rgba(0,0,0,0.4); }
.shadow-xl { box-shadow:0 20px 25px -5px rgba(0,0,0,0.5); }
.shadow-\[\#2dd4bf\]\/20 { box-shadow:0 0 30px rgba(45,212,191,0.2); }
.shadow-none { box-shadow:none; }
.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); }

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

/* Transitions */
.transition { transition-property:color,background-color,border-color,opacity,box-shadow,transform;transition-duration:150ms; }
.transition-all { transition-property:all;transition-duration:150ms; }
.transition-colors { transition-property:color,background-color,border-color;transition-duration:150ms; }
.transition-opacity { transition-property:opacity;transition-duration:150ms; }
.transition-transform { transition-property:transform;transition-duration:150ms; }
.duration-150 { transition-duration:150ms; }
.duration-200 { transition-duration:200ms; }
.duration-300 { transition-duration:300ms; }
.duration-500 { transition-duration:500ms; }
.duration-700 { transition-duration:700ms; }
.ease-in { 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); }

/* States */
.cursor-pointer { cursor:pointer; }
.cursor-not-allowed { cursor:not-allowed; }
.select-none { user-select:none; }
.pointer-events-none { pointer-events:none; }
.resize-none { resize:none; }
.appearance-none { appearance:none; }
.outline-none { outline:2px solid transparent;outline-offset:2px; }
.focus\:outline-none:focus { outline:2px solid transparent;outline-offset:2px; }
.focus\:border-\[\#2dd4bf\]:focus { border-color:#2dd4bf; }
.focus\:ring-0:focus { box-shadow:none; }

/* Hover states */
.hover\:text-\[\#2dd4bf\]:hover { color:#2dd4bf; }
.hover\:text-\[\#e6edf3\]:hover { color:#e6edf3; }
.hover\:bg-\[\#2dd4bf\]:hover { background-color:#2dd4bf; }
.hover\:bg-\[\#21262d\]:hover { background-color:#21262d; }
.hover\:opacity-90:hover { opacity:0.9; }
.hover\:opacity-80:hover { opacity:0.8; }
.hover\:underline:hover { text-decoration-line:underline; }
.hover\:scale-105:hover { transform:scale(1.05); }
.hover\:border-\[\#2dd4bf\]:hover { border-color:#2dd4bf; }

/* Group hover */
.group { position:relative; }
.group:hover .group-hover\:scale-105 { transform:scale(1.05); }
.group:hover .group-hover\:underline { text-decoration-line:underline; }
.group:hover .group-hover\:text-\[\#2dd4bf\] { color:#2dd4bf; }
.group-hover\:scale-105 { transition:transform 0.5s ease; }

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

/* Special utilities */
.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; }
.not-sr-only { position:static;width:auto;height:auto;padding:0;margin:0;overflow:visible;clip:auto;white-space:normal; }
.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-x-2 > * + * { margin-left:0.5rem; }
.space-x-4 > * + * { margin-left:1rem; }

/* Max width container */
.container { width:100%;margin-left:auto;margin-right:auto; }

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

/* Responsive — md breakpoint (768px) */
@media (min-width:768px) {
  .md\:block { display:block; }
  .md\:inline-block { display:inline-block; }
  .md\:flex { display:flex; }
  .md\:grid { display:grid; }
  .md\:hidden { display:none; }
  .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\:mt-0 { margin-top:0; }
  .md\:mb-0 { margin-bottom:0; }
  .md\:px-8 { padding-left:2rem;padding-right:2rem; }
  .md\:py-24 { padding-top:6rem;padding-bottom:6rem; }
  .md\:py-32 { padding-top:8rem;padding-bottom:8rem; }
  .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\: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\:gap-8 { gap:2rem; }
  .md\:gap-12 { gap:3rem; }
  .md\:gap-16 { gap:4rem; }
  .md\:text-left { text-align:left; }
  .md\:text-2xl { font-size:1.5rem;line-height:2rem; }
  .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\:aspect-\[21\/9\] { aspect-ratio:21/9; }
  .md\:w-1\/2 { width:50%; }
  .md\:w-2\/3 { width:66.666667%; }
  .md\:inline-block { display:inline-block; }
  .md\:items-start { align-items:flex-start; }
}

/* Responsive — lg breakpoint (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\:text-5xl { font-size:3rem;line-height:1; }
  .lg\:text-6xl { font-size:3.75rem;line-height:1; }
  .lg\:text-7xl { font-size:4.5rem;line-height:1; }
  .lg\:px-12 { padding-left:3rem;padding-right:3rem; }
  .lg\:py-40 { padding-top:10rem;padding-bottom:10rem; }
  .lg\:mt-0 { margin-top:0; }
  .lg\:flex { display:flex; }
  .lg\:hidden { display:none; }
  .lg\:w-1\/2 { width:50%; }
}

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

/* ── Marquee Animation ── */
@keyframes marquee-left {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.animate-marquee {
  display: flex;
  animation: marquee-left 28s linear infinite;
  white-space: nowrap;
}
.marquee-track {
  overflow: hidden;
  width: 100%;
}

/* ── AOS overrides for dark theme ── */
[data-aos] { pointer-events: none; }
[data-aos].aos-animate { pointer-events: auto; }

/* ── Vertical label (decorative) ── */
.label-vertical {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
}

/* ── Archive metadata strip ── */
.meta-strip {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  color: #8b949e;
  font-family: 'Space Mono', monospace;
}
.meta-strip span.sep { color: #30363d; }

/* ── Section number marker ── */
.section-num {
  font-family: 'Space Mono', monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #2dd4bf;
  text-transform: uppercase;
}

/* ── Caption overlay ── */
.caption-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 0.5rem 0.75rem;
  background: rgba(13,17,23,0.75);
  font-family: 'Space Mono', monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #8b949e;
  text-transform: uppercase;
}

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

/* ── Hairline divider ── */
.hairline { border-top: 1px solid rgba(139,148,158,0.2); }

/* ── Teal text colour shorthand ── */
.text-teal { color:#2dd4bf; }
.bg-teal { background-color:#2dd4bf; }
.border-teal { border-color:#2dd4bf; }

/* ── Article prose styles ── */
.prose-dark h2 {
  font-family:'Space Grotesk',sans-serif;
  font-size:1.375rem;
  font-weight:700;
  color:#e6edf3;
  margin-top:2.5rem;
  margin-bottom:1rem;
  letter-spacing:-0.01em;
}
.prose-dark h3 {
  font-family:'Space Grotesk',sans-serif;
  font-size:1.1rem;
  font-weight:700;
  color:#e6edf3;
  margin-top:2rem;
  margin-bottom:0.75rem;
}
.prose-dark p {
  color:#c9d1d9;
  line-height:1.8;
  margin-bottom:1.25rem;
  font-size:0.9375rem;
}
.prose-dark ul {
  padding-left:1.5rem;
  margin-bottom:1.25rem;
}
.prose-dark li {
  color:#c9d1d9;
  line-height:1.8;
  margin-bottom:0.4rem;
  font-size:0.9375rem;
}
.prose-dark strong {
  color:#e6edf3;
  font-weight:600;
}
.prose-dark blockquote {
  border-left:3px solid #2dd4bf;
  padding-left:1.25rem;
  color:#8b949e;
  font-style:italic;
  margin:2rem 0;
}
