:root {
  --canvas: #f7f7f4;
  --canvas-soft: #fafaf7;
  --surface-card: #ffffff;
  --surface-strong: #e6e5e0;
  --primary: #f54e00;
  --primary-active: #d04200;
  --ink: #26251e;
  --body: #5a5852;
  --body-strong: #26251e;
  --muted: #807d72;
  --muted-soft: #a09c92;
  --on-primary: #ffffff;
  --hairline: #e6e5e0;
  --hairline-soft: #efeee8;
  --hairline-strong: #cfcdc4;
  --success: #1f8a65;
  --error: #cf2d56;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-pill: 9999px;
  --font-sans: 'Inter', system-ui, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-sans);
  background: var(--canvas);
  color: var(--body);
  font-size: 16px;
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { color: var(--ink); }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* NAV */
.site-nav {
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.01em;
  flex-shrink: 0;
}

.nav-logo span { color: var(--primary); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--body);
  line-height: 1.4;
  transition: color 0.15s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--ink); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* COOKIE BANNER */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: var(--canvas);
  z-index: 200;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.cookie-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-inner p { font-size: 14px; line-height: 1.5; color: var(--canvas-soft); }
.cookie-inner a { color: var(--primary); text-decoration: underline; }
.cookie-btns { display: flex; gap: 12px; flex-shrink: 0; }

/* BUTTONS */
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  height: 40px;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--primary-active); }

.btn-secondary {
  background: transparent;
  color: var(--canvas);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  height: 40px;
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-secondary:hover { border-color: rgba(255,255,255,0.6); }

.btn-ink {
  background: var(--ink);
  color: var(--canvas);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 20px;
  height: 44px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: opacity 0.15s;
}

.btn-ink:hover { opacity: 0.85; }

/* HERO */
.hero-band {
  padding: 80px 0;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero-tag {
  display: inline-block;
  background: var(--surface-strong);
  color: var(--ink);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 4px 10px;
  margin-bottom: 24px;
}

.hero-h1 {
  font-size: 72px;
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -2.16px;
  color: var(--ink);
  max-width: 800px;
  margin-bottom: 24px;
}

.hero-sub {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 40px;
}

.hero-meta {
  font-size: 13px;
  color: var(--muted);
}

/* SECTION TITLES */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.section-h2 {
  font-size: 36px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-lead {
  font-size: 16px;
  color: var(--body);
  max-width: 640px;
  line-height: 1.5;
}

/* CARDS GRID */
.cards-section {
  padding: 80px 0;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.article-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s;
}

.article-card:hover { border-color: var(--hairline-strong); }

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 12px;
}

.card-title {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 12px;
}

.card-excerpt {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  flex: 1;
  margin-bottom: 20px;
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.card-link:hover { color: var(--primary-active); }

/* FEATURED BAND */
.featured-band {
  padding: 80px 0;
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
}

.featured-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.featured-img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
}

.featured-content {}

.featured-h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  line-height: 1.2;
  color: var(--ink);
  margin-bottom: 16px;
}

.featured-body {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 32px;
}

/* ARTICLE PAGE */
.article-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.article-header { margin-bottom: 40px; }

.article-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.44px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: 20px;
}

.article-meta {
  font-size: 13px;
  color: var(--muted);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.article-lead-img {
  width: 100%;
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  margin-bottom: 12px;
}

.article-caption {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
  line-height: 1.4;
}

.article-body h2 {
  font-size: 26px;
  font-weight: 400;
  letter-spacing: -0.325px;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.25;
}

.article-body h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--ink);
  margin: 32px 0 12px;
  line-height: 1.3;
}

.article-body p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 20px;
}

.article-body a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: rgba(245, 78, 0, 0.3);
}

.article-body a:hover { text-decoration-color: var(--primary); }

.article-body ul, .article-body ol {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.article-body ol { list-style: decimal; }

.article-body li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 3px solid var(--hairline-strong);
  padding: 12px 20px;
  margin: 32px 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.5;
}

.article-body code {
  font-family: var(--font-mono);
  font-size: 13px;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-xs);
  padding: 2px 6px;
}

.article-divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 48px 0;
}

.article-refs {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.5;
}

.article-refs a { color: var(--muted); text-decoration: underline; }

/* RELATED ARTICLES */
.related-section {
  border-top: 1px solid var(--hairline);
  padding: 64px 24px 80px;
  max-width: 740px;
  margin: 0 auto;
}

.related-section h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  color: var(--ink);
  margin-bottom: 24px;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.related-card {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: border-color 0.15s;
}

.related-card:hover { border-color: var(--hairline-strong); }

.related-card-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.88px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 8px;
}

.related-card-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

/* CONTACT FORM */
.contact-section {
  padding: 80px 0;
  background: var(--canvas-soft);
  border-top: 1px solid var(--hairline);
}

.contact-inner {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 24px;
}

.contact-h2 {
  font-size: 36px;
  font-weight: 400;
  letter-spacing: -0.72px;
  color: var(--ink);
  margin-bottom: 12px;
}

.contact-lead {
  font-size: 16px;
  color: var(--body);
  margin-bottom: 40px;
}

.contact-form { display: flex; flex-direction: column; gap: 20px; }

.form-group { display: flex; flex-direction: column; gap: 6px; }

.form-group label {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
}

.form-group input,
.form-group textarea {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface-card);
  border: 1px solid var(--hairline-strong);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}

.form-group textarea {
  height: auto;
  min-height: 120px;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--ink);
}

.form-group input.error,
.form-group textarea.error {
  border-color: var(--error);
}

.form-error-msg {
  font-size: 13px;
  color: var(--error);
  display: none;
}

.form-submit-btn {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 500;
  padding: 12px 24px;
  height: 44px;
  cursor: pointer;
  align-self: flex-start;
  transition: background 0.15s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.form-submit-btn:hover { background: var(--primary-active); }
.form-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; }

.form-confirmation {
  display: none;
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: 24px;
  color: var(--success);
  font-size: 16px;
  font-weight: 500;
}

/* STATIC PAGES */
.static-page {
  max-width: 740px;
  margin: 0 auto;
  padding: 64px 24px 80px;
}

.static-page h1 {
  font-size: 48px;
  font-weight: 400;
  letter-spacing: -1.44px;
  color: var(--ink);
  margin-bottom: 12px;
}

.static-page .page-updated {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 40px;
}

.static-page h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.11px;
  color: var(--ink);
  margin: 40px 0 12px;
}

.static-page p {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 20px;
}

.static-page ul {
  margin: 0 0 20px 24px;
  list-style: disc;
}

.static-page li {
  font-size: 16px;
  line-height: 1.5;
  color: var(--body);
  margin-bottom: 8px;
}

.static-page a { color: var(--primary); text-decoration: underline; }

/* ABOUT PAGE */
.about-hero {
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 0;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px 48px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  display: block;
  margin-bottom: 12px;
}

.footer-logo span { color: var(--primary); }

.footer-desc {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
}

.footer-col ul { display: flex; flex-direction: column; gap: 10px; }

.footer-col a {
  font-size: 14px;
  color: var(--body);
  transition: color 0.15s;
}

.footer-col a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding: 20px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  font-size: 13px;
  color: var(--muted);
}

.footer-bottom a { color: var(--muted); text-decoration: underline; }

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero-h1 { font-size: 56px; letter-spacing: -1.6px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .featured-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    border-bottom: 1px solid var(--hairline);
    padding: 8px 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { padding: 12px 24px; display: block; }
  .site-nav { position: relative; }
  .hero-band { padding: 48px 0; }
  .hero-h1 { font-size: 36px; letter-spacing: -1px; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-section { padding: 48px 0; }
  .article-h1 { font-size: 32px; letter-spacing: -0.5px; }
  .related-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  .hero-h1 { font-size: 32px; }
  .section-h2 { font-size: 26px; }
}
