:root {
  --primary: #fa520f;
  --primary-deep: #cc3a05;
  --cream: #fff8e0;
  --cream-light: #fffaeb;
  --cream-deeper: #fff0c2;
  --beige-deep: #e6d5a8;
  --sunshine-300: #ffd06a;
  --sunshine-500: #ffb83e;
  --sunshine-700: #ffa110;
  --sunshine-800: #ff8105;
  --yellow-sat: #ffd900;
  --ink: #1f1f1f;
  --ink-tint: #3d3d3d;
  --charcoal: #2c2c2c;
  --slate: #4a4a4a;
  --steel: #6a6a6a;
  --stone: #8a8a8a;
  --muted: #a8a8a8;
  --hairline: #e5e5e5;
  --hairline-soft: #ededed;
  --hairline-strong: #c7c7c7;
  --canvas: #ffffff;
  --surface: #fafafa;
  --footer-cream: #fff8e0;
  --link: #fa520f;
  --font-display: 'Times New Roman', Georgia, serif;
  --font-body: ui-sans-serif, system-ui, -apple-system, sans-serif;
  --r-sm: 6px;
  --r-md: 8px;
  --r-lg: 12px;
  --r-xl: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }

img { display: block; max-width: 100%; height: auto; }

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.mt-3 { margin-top: 48px; }

/* ── HEADER ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline-soft);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
  flex-shrink: 0;
}

.brand-name {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.2;
}

.brand-tagline {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  line-height: 1.2;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--slate);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: color 0.15s, background 0.15s;
}

.site-nav a:hover {
  color: var(--ink);
  background: var(--hairline-soft);
  text-decoration: none;
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: none;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  cursor: pointer;
  padding: 0;
}

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

/* ── MOBILE NAV ── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--canvas);
  z-index: 200;
  flex-direction: column;
  padding: 24px 24px 40px;
  gap: 8px;
  overflow-y: auto;
}

.mobile-nav.is-open { display: flex; }

.mobile-nav-close {
  align-self: flex-end;
  font-size: 28px;
  line-height: 1;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--ink);
  padding: 4px 8px;
  margin-bottom: 16px;
}

.mobile-nav a {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  padding: 12px 16px;
  border-radius: var(--r-md);
  border-bottom: 1px solid var(--hairline);
}

/* ── HERO ── */
.hero {
  background: linear-gradient(135deg, var(--sunshine-700) 0%, var(--sunshine-800) 50%, var(--primary) 100%);
  padding: 80px 0 72px;
  color: var(--ink);
}

.hero-kicker {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--charcoal);
  background: rgba(255,255,255,0.35);
  padding: 4px 12px;
  border-radius: 9999px;
  margin-bottom: 20px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 76px);
  font-weight: 400;
  line-height: 1.06;
  letter-spacing: -1.5px;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 20px;
}

.hero-lead {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-tint);
  max-width: 600px;
  margin-bottom: 32px;
}

.btn-primary {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  padding: 10px 20px;
  border-radius: var(--r-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-primary:hover { background: var(--charcoal); text-decoration: none; }

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.3;
  padding: 10px 20px;
  border-radius: var(--r-md);
  border: 1px solid var(--hairline-strong);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s;
}

.btn-secondary:hover { background: var(--hairline-soft); text-decoration: none; }

/* ── SECTIONS ── */
section { padding: 64px 0; }

.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 8px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.section-lead {
  font-size: 16px;
  color: var(--slate);
  line-height: 1.55;
  max-width: 640px;
  margin-bottom: 40px;
}

/* ── HERO IMAGE PLACEHOLDER ── */
.hero-image-placeholder {
  background: var(--hairline-soft);
  border-radius: var(--r-lg);
  height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--muted);
  overflow: hidden;
}

.hero-image-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* ── FEATURED ARTICLE ── */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--cream-light);
  border: 1px solid var(--beige-deep);
  border-radius: var(--r-xl);
  padding: 40px;
}

.featured-article-image {
  background: var(--hairline-soft);
  border-radius: var(--r-lg);
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
}

.featured-article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.featured-article-content .category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.featured-article-content h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 400;
  line-height: 1.18;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 16px;
}

.featured-article-content p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
  margin-bottom: 24px;
}

/* ── CARDS GRID ── */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
}

.card {
  background: var(--canvas);
  border: 1px solid var(--hairline-soft);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: rgba(0,0,0,0.04) 0px 4px 12px;
  transition: box-shadow 0.15s;
}

.card-image {
  background: var(--hairline-soft);
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 20px 24px;
}

.card-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 8px;
}

.card-title {
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: 10px;
}

.card-title a {
  color: var(--ink);
  text-decoration: none;
}

.card-title a:hover { color: var(--primary); text-decoration: none; }

.card-excerpt {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
  margin-bottom: 12px;
}

.card-meta {
  font-size: 12px;
  color: var(--stone);
}

/* ── GALLERY ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.gallery-item {
  background: var(--hairline-soft);
  border-radius: var(--r-lg);
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

/* ── SUNSET STRIPE ── */
.sunset-stripe {
  height: 20px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--sunshine-700) 30%, var(--sunshine-500) 55%, var(--yellow-sat) 78%, var(--cream) 100%);
  width: 100%;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--footer-cream);
  padding: 64px 0 32px;
  border-top: 1px solid var(--beige-deep);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
}

.footer-brand-desc {
  font-size: 13px;
  color: var(--steel);
  line-height: 1.5;
  max-width: 220px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-col h5 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--primary);
  text-decoration: none;
  padding: 4px 0;
  line-height: 1.5;
}

.footer-col a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid var(--beige-deep);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-size: 13px;
  color: var(--steel);
}

.footer-disclaimer-note {
  font-size: 13px;
  color: var(--stone);
}

.footer-disclaimer-note a {
  color: var(--stone);
}

/* ── ARTICLE ── */
.article-header {
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 40px;
}

.breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
  color: var(--stone);
  margin-bottom: 20px;
}

.breadcrumb a {
  color: var(--stone);
  text-decoration: none;
}

.breadcrumb a:hover { color: var(--primary); }

.breadcrumb span { color: var(--muted); }

.article-category-badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #fff;
  background: var(--primary);
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 16px;
}

.article-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 20px;
}

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

.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 48px;
  align-items: start;
}

.article-summary {
  font-size: 17px;
  line-height: 1.6;
  color: var(--slate);
  border-left: 3px solid var(--primary);
  padding-left: 20px;
  margin-bottom: 36px;
  font-style: italic;
}

.article-toc {
  background: var(--cream-light);
  border: 1px solid var(--beige-deep);
  border-radius: var(--r-lg);
  padding: 24px;
  margin-bottom: 36px;
}

.article-toc h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

.article-toc ol {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.article-toc a {
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
}

.article-toc a:hover { color: var(--primary); }

.article-body h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 28px 0 12px;
}

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

.article-image-wrap {
  margin: 32px 0;
}

.img-placeholder {
  background: var(--hairline-soft);
  border-radius: var(--r-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: var(--muted);
  overflow: hidden;
}

.img-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--r-lg);
}

.article-image-caption {
  font-size: 13px;
  color: var(--stone);
  margin-top: 8px;
  line-height: 1.4;
}

.key-context-box {
  background: var(--cream-light);
  border: 1px solid var(--beige-deep);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 24px 0;
}

.key-context-box h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.key-context-box ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.key-context-box li {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}

.not-covered-box {
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  padding: 24px;
  margin: 32px 0;
}

.not-covered-box h3 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 12px;
}

.not-covered-box ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.not-covered-box li {
  font-size: 14px;
  color: var(--slate);
  line-height: 1.5;
}

.related-articles { margin-top: 40px; }

.related-articles h3 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 20px;
}

/* ── SIDEBAR ── */
.article-sidebar { display: flex; flex-direction: column; gap: 24px; }

.sidebar-box {
  background: var(--cream-light);
  border: 1px solid var(--beige-deep);
  border-radius: var(--r-lg);
  padding: 20px;
}

.sidebar-box h4 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--stone);
  margin-bottom: 12px;
}

/* ── INNER PAGE HEADER ── */
.page-header {
  padding: 56px 0 40px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
}

.page-header .breadcrumb { margin-bottom: 20px; }

.page-header h1 {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 400;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-header .page-lead {
  font-size: 17px;
  color: var(--slate);
  line-height: 1.55;
  max-width: 600px;
}

/* ── PROSE ── */
.prose { max-width: 740px; }

.prose h2 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  margin: 36px 0 14px;
}

.prose h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  margin: 24px 0 10px;
}

.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--charcoal);
  margin-bottom: 18px;
}

.prose ul, .prose ol {
  padding-left: 22px;
  margin-bottom: 18px;
}

.prose li {
  font-size: 15px;
  line-height: 1.6;
  color: var(--charcoal);
  margin-bottom: 6px;
}

/* ── CONTACT FORM ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-intro h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 400;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 16px;
}

.contact-intro p {
  font-size: 15px;
  color: var(--slate);
  line-height: 1.6;
}

.contact-form-panel {
  background: var(--cream);
  border: 1px solid var(--beige-deep);
  border-radius: var(--r-lg);
  padding: 32px;
}

.form-group {
  margin-bottom: 16px;
}

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  padding: 10px 14px;
  border: 1px solid var(--hairline-strong);
  border-radius: var(--r-md);
  outline: none;
  transition: border-color 0.15s;
  height: 44px;
}

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

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border: 2px solid var(--primary);
}

.form-submit-btn {
  display: inline-block;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 24px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: background 0.15s;
  width: 100%;
  text-align: center;
}

.form-submit-btn:hover { background: var(--charcoal); }

.form-success {
  display: none;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-md);
  padding: 16px 20px;
  font-size: 15px;
  color: #166534;
  text-align: center;
  margin-top: 16px;
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--ink);
  color: #fff;
  padding: 16px 24px;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.85);
  flex: 1;
  min-width: 200px;
}

.cookie-banner-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.cookie-btn {
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: var(--r-md);
  cursor: pointer;
  text-decoration: none;
  border: none;
}

.cookie-btn-accept {
  background: var(--primary);
  color: #fff;
}

.cookie-btn-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}

.cookie-btn-settings {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ── RESPONSIVE ── */
@media (max-width: 1023px) {
  .site-nav { display: none; }
  .burger { display: flex; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .featured-article {
    grid-template-columns: 1fr;
  }

  .featured-article-image { height: 240px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

@media (max-width: 767px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .article-sidebar { display: none; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero { padding: 56px 0 48px; }

  .cards-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 479px) {
  .gallery-grid { grid-template-columns: 1fr; }

  .article-meta {
    flex-direction: column;
    gap: 6px;
  }
}
