/* South Today - palette tokens (light values from DESIGN.md 'Modern Southern Editorial'; dark variant is ours) */
:root {
  --c-on-error-container: 147 0 10;
  --c-inverse-on-surface: 238 240 255;
  --c-on-secondary: 255 255 255;
  --c-on-error: 255 255 255;
  --c-tertiary-fixed-dim: 39 224 169;
  --c-surface-tint: 180 41 1;
  --c-surface: 250 248 255;
  --c-tertiary: 0 108 79;
  --c-surface-container-low: 242 243 255;
  --c-surface-container-highest: 218 226 253;
  --c-surface-bright: 250 248 255;
  --c-error: 186 26 26;
  --c-inverse-primary: 255 180 162;
  --c-on-secondary-container: 107 75 0;
  --c-surface-container-lowest: 255 255 255;
  --c-primary-fixed-dim: 255 180 162;
  --c-on-tertiary-fixed: 0 33 22;
  --c-surface-container-high: 226 231 255;
  --c-on-primary-fixed: 60 7 0;
  --c-error-container: 255 218 214;
  --c-on-tertiary-fixed-variant: 0 81 59;
  --c-background: 250 248 255;
  --c-inverse-surface: 40 48 68;
  --c-secondary-fixed: 255 222 169;
  --c-on-surface: 19 27 46;
  --c-on-background: 19 27 46;
  --c-secondary: 125 88 0;
  --c-primary: 180 41 1;
  --c-secondary-fixed-dim: 255 186 39;
  --c-on-primary-fixed-variant: 138 29 0;
  --c-on-primary: 255 255 255;
  --c-on-surface-variant: 90 65 58;
  --c-tertiary-fixed: 84 253 196;
  --c-on-secondary-fixed-variant: 94 65 0;
  --c-on-tertiary: 255 255 255;
  --c-surface-container: 234 237 255;
  --c-surface-dim: 210 217 244;
  --c-primary-fixed: 255 218 210;
  --c-outline-variant: 227 190 182;
  --c-on-tertiary-container: 0 52 36;
  --c-on-secondary-fixed: 39 25 0;
  --c-on-primary-container: 91 16 0;
  --c-secondary-container: 255 183 2;
  --c-surface-variant: 218 226 253;
  --c-outline: 143 112 105;
  --c-tertiary-container: 0 168 125;
  --c-primary-container: 255 94 54;
  --c-ink: 15 23 42;
  --c-white-fixed: 255 255 255;
}
html { color-scheme: light; }
html.dark {
  --c-surface: 19 17 30;
  --c-background: 19 17 30;
  --c-surface-bright: 19 17 30;
  --c-surface-dim: 13 11 22;
  --c-surface-container-lowest: 28 25 42;
  --c-surface-container-low: 34 31 50;
  --c-surface-container: 42 38 60;
  --c-surface-container-high: 52 47 72;
  --c-surface-container-highest: 62 56 84;
  --c-surface-variant: 62 56 84;
  --c-on-surface: 240 238 252;
  --c-on-background: 240 238 252;
  --c-on-surface-variant: 212 196 190;
  --c-outline: 170 148 141;
  --c-outline-variant: 84 66 62;
  --c-primary: 255 138 110;
  --c-on-primary: 60 7 0;
  --c-primary-container: 255 94 54;
  --c-on-primary-container: 60 7 0;
  --c-primary-fixed: 92 30 14;
  --c-primary-fixed-dim: 255 180 162;
  --c-on-primary-fixed: 255 218 210;
  --c-on-primary-fixed-variant: 255 180 162;
  --c-secondary: 255 186 39;
  --c-on-secondary: 39 25 0;
  --c-secondary-container: 255 183 2;
  --c-on-secondary-container: 39 25 0;
  --c-secondary-fixed: 94 65 0;
  --c-secondary-fixed-dim: 255 186 39;
  --c-on-secondary-fixed: 255 222 169;
  --c-on-secondary-fixed-variant: 255 222 169;
  --c-tertiary: 39 224 169;
  --c-on-tertiary: 0 33 22;
  --c-tertiary-container: 0 168 125;
  --c-on-tertiary-container: 0 33 22;
  --c-tertiary-fixed: 0 81 59;
  --c-tertiary-fixed-dim: 39 224 169;
  --c-on-tertiary-fixed: 84 253 196;
  --c-on-tertiary-fixed-variant: 84 253 196;
  --c-inverse-surface: 234 237 255;
  --c-inverse-on-surface: 40 48 68;
  --c-inverse-primary: 180 41 1;
  --c-surface-tint: 255 138 110;
  --c-error: 255 150 140;
  --c-on-error: 105 0 5;
  --c-error-container: 120 20 20;
  --c-on-error-container: 255 218 214;
}
html.dark { color-scheme: dark; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { overflow-x: hidden; }
.no-scrollbar { scrollbar-width: none; } .no-scrollbar::-webkit-scrollbar { display: none; }
.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24; line-height: 1; user-select: none; }
.icon-fill { font-variation-settings: 'FILL' 1, 'wght' 400, 'GRAD' 0, 'opsz' 24; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 0px); }
/* Stretched link: whole card clickable while inner buttons stay usable */
.stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.above-stretch { position: relative; z-index: 2; }
/* Editorial cards: 1.5px hairline, tinted lift on hover (DESIGN.md "tactile pop elevation") */
.lift { border: 1.5px solid rgb(var(--c-outline-variant) / .45); transition: transform .2s, box-shadow .2s, border-color .2s; }
.lift:hover { transform: translateY(-2px); box-shadow: 0 4px 12px -2px rgb(255 94 54 / .12); border-color: rgb(var(--c-outline-variant)); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.marquee { display: inline-flex; animation: marquee 60s linear infinite; }
.marquee:hover { animation-play-state: paused; }
@keyframes bars { 0%, 100% { transform: scaleY(.45); } 50% { transform: scaleY(1); } }
.wave span { transform-origin: center; }
.wave.playing span { animation: bars .9s ease-in-out infinite; }
.wave.playing span:nth-child(2n) { animation-delay: .15s; } .wave.playing span:nth-child(3n) { animation-delay: .3s; } .wave.playing span:nth-child(5n) { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) { .marquee, .wave.playing span { animation: none; } * { scroll-behavior: auto !important; } .marquee { flex-wrap: wrap; } }
.fade-edge { -webkit-mask-image: linear-gradient(90deg, #000 90%, transparent); mask-image: linear-gradient(90deg, #000 90%, transparent); }
:focus-visible { outline: 2px solid rgb(var(--c-primary-container)); outline-offset: 2px; }
.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; }
::selection { background: rgb(var(--c-tertiary-fixed)); color: rgb(var(--c-on-tertiary-fixed)); }

/* Article body typography (replaces @tailwindcss/typography) */
.prose-article { font-family: "Plus Jakarta Sans", sans-serif; font-size: 18px; line-height: 30px; font-weight: 450; color: rgb(var(--c-on-surface)); }
.prose-article > * + * { margin-top: 1.1em; }
.prose-article h2 { font-size: 26px; line-height: 32px; font-weight: 800; margin-top: 1.9em; letter-spacing: -0.02em; scroll-margin-top: 150px; }
.prose-article h3 { font-size: 20px; line-height: 26px; font-weight: 700; margin-top: 1.5em; letter-spacing: -0.015em; scroll-margin-top: 150px; }
.prose-article ul, .prose-article ol { padding-left: 1.4em; }
.prose-article ul { list-style: disc; } .prose-article ol { list-style: decimal; }
.prose-article li { margin-top: .45em; padding-left: .2em; } .prose-article li::marker { color: rgb(var(--c-secondary-container)); font-weight: 800; }
.prose-article strong { font-weight: 700; }
.prose-article > p:first-child::first-letter { font-size: 3.1em; line-height: .9; font-weight: 800; float: left; margin: .06em .12em 0 0; color: rgb(var(--c-primary)); }
.prose-article blockquote { border-left: 4px solid rgb(var(--c-secondary-container)); background: rgb(var(--c-tertiary-fixed) / .25); padding: 16px 20px; border-radius: 0 1rem 1rem 0; font-size: 19px; line-height: 30px; font-weight: 600; }
.prose-article a { color: rgb(var(--c-primary)); text-decoration: underline; }
@media (max-width: 767px) { .prose-article { font-size: 16.5px; line-height: 28px; } .prose-article h2 { font-size: 22px; line-height: 28px; } }

.prose-article { font-size: var(--prose-fs, 18px); line-height: var(--prose-lh, 31px); font-weight: 450; }
.prose-article h2, .prose-article h3 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; letter-spacing: -0.01em; }
.prose-article h2 { font-size: 28px; line-height: 36px; }
.prose-article > p:first-child::first-letter { font-family: "Playfair Display", Georgia, serif; font-size: 4.2em; line-height: .8; font-weight: 700; margin: .04em .1em 0 0; color: rgb(var(--c-primary-container)); }
@media (max-width: 767px) { .prose-article h2 { font-size: 23px; line-height: 30px; } }
.pull-quote { border-left: 4px solid rgb(var(--c-secondary-container)); border-top-left-radius: 1.5rem; }
.city-pill[aria-pressed=true] { background: rgb(var(--c-primary)); color: rgb(var(--c-on-primary)); }
.sr-clip { overflow: hidden; }
