@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

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

:root {
  --c-night: #000000;
  --c-night-el: #0a0a0a;
  --c-surface-dark: #1a1a1a;
  --c-canvas: #ffffff;
  --c-canvas-cream: #fbfbf5;
  --c-shade-30: #d4d4d8;
  --c-shade-40: #a1a1aa;
  --c-shade-50: #71717a;
  --c-shade-60: #52525b;
  --c-shade-70: #3f3f46;
  --c-hairline: #e4e4e7;
  --c-aloe: #c1fbd4;
  --c-on-dark: #ffffff;
  --font: 'Inter', Helvetica, Arial, sans-serif;
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-pill: 9999px;
  --max-w: 1240px;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--c-shade-60);
  background: var(--c-canvas);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--c-night); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--c-shade-70); }

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

.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 20px;
}

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

.hdr-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.brand a {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: var(--c-on-dark);
  text-decoration: none;
  white-space: nowrap;
}
.brand a:hover { color: var(--c-aloe); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.main-nav a {
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: var(--r-md);
  transition: color 0.15s, background 0.15s;
  letter-spacing: 0.01em;
}
.main-nav a:hover, .main-nav a.active {
  color: var(--c-on-dark);
  background: rgba(255,255,255,0.08);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 36px; height: 36px;
  background: none; border: none;
  cursor: pointer; padding: 6px;
  border-radius: var(--r-md);
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  background: var(--c-on-dark);
  border-radius: 1px;
  transition: transform 0.2s, opacity 0.2s;
}
.burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-nav {
  display: none;
  flex-direction: column;
  background: var(--c-night-el);
  border-bottom: 1px solid #222;
  padding: 8px 20px 16px;
}
.mobile-nav a {
  font-size: 15px;
  font-weight: 500;
  color: rgba(255,255,255,0.7);
  text-decoration: none;
  padding: 10px 0;
  border-bottom: 1px solid #1f1f1f;
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover { color: var(--c-on-dark); }
.mobile-nav.open { display: flex; }

/* ── HERO ── */
.hero {
  background: var(--c-night);
  padding: 80px 0 72px;
}
.hero-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-aloe);
  margin-bottom: 20px;
}
.hero h1 {
  font-size: clamp(28px, 4.5vw, 50px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.1;
  color: var(--c-on-dark);
  max-width: 720px;
  margin-bottom: 20px;
}
.hero-lead {
  font-size: 17px;
  font-weight: 300;
  color: rgba(255,255,255,0.6);
  max-width: 600px;
  line-height: 1.65;
  margin-bottom: 36px;
}
.hero .btn-primary-dark, .hero .btn-secondary-dark {
  display: inline-block;
  margin-right: 12px;
  margin-bottom: 12px;
}

/* ── BUTTONS ── */
.btn-primary-dark {
  display: inline-block;
  background: var(--c-aloe);
  color: var(--c-night) !important;
  font-size: 14px;
  font-weight: 600;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  text-decoration: none;
  letter-spacing: -0.01em;
  transition: filter 0.15s;
}
.btn-primary-dark:hover { filter: brightness(0.9); }

.btn-secondary-dark {
  display: inline-block;
  background: transparent;
  color: rgba(255,255,255,0.7) !important;
  font-size: 14px;
  font-weight: 500;
  padding: 11px 24px;
  border-radius: var(--r-pill);
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.18);
  transition: border-color 0.15s, color 0.15s;
}
.btn-secondary-dark:hover {
  border-color: rgba(255,255,255,0.5);
  color: var(--c-on-dark) !important;
}

/* ── SECTIONS ── */
.sec-dark {
  background: var(--c-surface-dark);
  padding: 72px 0;
}
.sec-white {
  background: var(--c-canvas);
  padding: 72px 0;
}
.sec-cream {
  background: var(--c-canvas-cream);
  padding: 72px 0;
}
.sec-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--c-shade-50);
  margin-bottom: 12px;
}
.sec-tag.on-dark { color: var(--c-aloe); }
.sec-title {
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 300;
  letter-spacing: -0.02em;
  color: var(--c-shade-70);
  margin-bottom: 32px;
  line-height: 1.2;
}
.sec-title.on-dark { color: var(--c-on-dark); }

/* ── FEATURED LAYOUT ── */
.feat-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 32px;
  align-items: start;
}
.feat-card {
  background: var(--c-night);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.feat-card img { width: 100%; object-fit: cover; height: 260px; }
.feat-card-body { padding: 24px 28px 28px; }
.feat-card-body h2 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 10px 0 12px;
}
.feat-card-body p { font-size: 14px; color: rgba(255,255,255,0.55); margin-bottom: 20px; line-height: 1.55; }
.card-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-aloe);
}
.feat-list { display: flex; flex-direction: column; gap: 4px; }
.feat-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--c-hairline);
}
.feat-item:last-child { border-bottom: none; }
.feat-item h3 { font-size: 15px; font-weight: 500; line-height: 1.35; margin: 6px 0 6px; }
.feat-item h3 a { color: var(--c-shade-70); text-decoration: none; }
.feat-item h3 a:hover { color: var(--c-night); text-decoration: underline; }
.feat-item p { font-size: 13px; color: var(--c-shade-50); line-height: 1.5; }

/* ── GALLERY ── */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery > div { overflow: hidden; border-radius: var(--r-md); }
.gallery img { width: 100%; object-fit: cover; height: 190px; }
.gallery-cap {
  font-size: 12px;
  color: var(--c-shade-50);
  padding: 8px 0 4px;
  line-height: 1.4;
}

/* ── ARTICLE CARDS ── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 8px;
}
.art-card {
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--c-canvas);
  display: flex;
  flex-direction: column;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.art-card:hover { border-color: var(--c-shade-40); box-shadow: 0 4px 20px rgba(0,0,0,0.06); }
.art-card-body { padding: 20px 22px 22px; display: flex; flex-direction: column; flex: 1; }
.art-card-body h2, .art-card-body h3 {
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  line-height: 1.35;
  margin: 8px 0 8px;
}
.art-card-body h2 a, .art-card-body h3 a {
  color: var(--c-shade-70);
  text-decoration: none;
}
.art-card-body h2 a:hover, .art-card-body h3 a:hover { color: var(--c-night); text-decoration: underline; }
.art-card-body p { font-size: 13px; color: var(--c-shade-50); line-height: 1.5; flex: 1; }
.read-link {
  display: inline-block;
  margin-top: 14px;
  font-size: 13px;
  font-weight: 600;
  color: var(--c-night);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.read-link:hover { color: var(--c-shade-60); }

/* ── ARTICLE LAYOUT ── */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
  padding: 48px 0 80px;
}
.art-h1 {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 300;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--c-night);
  margin: 24px 0 28px;
}
.art-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 4px;
}
.art-meta-tag {
  font-size: 12px;
  color: var(--c-shade-50);
  background: var(--c-canvas-cream);
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-sm);
  padding: 3px 10px;
}
.art-summary {
  background: var(--c-canvas-cream);
  border-left: 3px solid var(--c-night);
  padding: 18px 22px;
  border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 20px 0 28px;
}
.art-summary-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-shade-50);
  margin-bottom: 8px;
}
.art-summary p { font-size: 15px; line-height: 1.6; color: var(--c-shade-60); }
.toc {
  background: var(--c-canvas-cream);
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-md);
  padding: 18px 20px;
  margin-bottom: 32px;
}
.toc-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-shade-50);
  margin-bottom: 10px;
}
.toc ol { padding-left: 16px; }
.toc li { margin: 4px 0; }
.toc a { font-size: 13px; color: var(--c-shade-60); text-decoration: none; }
.toc a:hover { color: var(--c-night); text-decoration: underline; }
.art-body h2 {
  font-size: 22px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--c-night);
  margin: 36px 0 14px;
  line-height: 1.25;
}
.art-body p { font-size: 16px; line-height: 1.7; color: var(--c-shade-60); margin-bottom: 18px; }
.key-ctx {
  background: #f0fdf4;
  border: 1px solid #a7f3c0;
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin-bottom: 28px;
}
.key-ctx h3 {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--c-shade-50);
  margin-bottom: 8px;
}
.key-ctx p { font-size: 15px; color: var(--c-shade-60); line-height: 1.6; margin-bottom: 0; }
.not-covered {
  background: var(--c-canvas-cream);
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-md);
  padding: 18px 22px;
  margin: 32px 0;
}
.not-covered h3 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-shade-50);
  margin-bottom: 10px;
}
.not-covered li { font-size: 14px; color: var(--c-shade-60); line-height: 1.7; }
.related-sec { border-top: 1px solid var(--c-hairline); padding-top: 32px; margin-top: 40px; }
.related-sec h3 {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--c-shade-50);
  margin-bottom: 18px;
}
.rel-list { display: flex; flex-direction: column; gap: 12px; }
.rel-item { padding-bottom: 12px; border-bottom: 1px solid var(--c-hairline); }
.rel-item:last-child { border-bottom: none; }
.rel-label { font-size: 11px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--c-shade-40); margin-bottom: 4px; }
.rel-item a { font-size: 14px; color: var(--c-shade-70); text-decoration: none; font-weight: 500; }
.rel-item a:hover { color: var(--c-night); text-decoration: underline; }
.art-sidebar { position: sticky; top: 88px; }

/* ── BREADCRUMB ── */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 0;
  font-size: 12px;
  color: var(--c-shade-40);
}
.breadcrumb a { color: var(--c-shade-50); text-decoration: none; }
.breadcrumb a:hover { color: var(--c-night); text-decoration: underline; }
.breadcrumb span { color: var(--c-shade-30); }

/* ── PAGE HEADER ── */
.page-header { padding: 56px 0 36px; border-bottom: 1px solid var(--c-hairline); margin-bottom: 48px; }
.page-header h1 {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 300;
  letter-spacing: -0.025em;
  color: var(--c-night);
  margin: 8px 0 12px;
}
.page-lead { font-size: 17px; color: var(--c-shade-50); line-height: 1.6; max-width: 600px; font-weight: 300; }

/* ── PROSE ── */
.prose-content {
  max-width: 720px;
  padding-bottom: 80px;
}
.prose-content h2 {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.015em;
  color: var(--c-night);
  margin: 36px 0 12px;
}
.prose-content p { font-size: 16px; line-height: 1.7; color: var(--c-shade-60); margin-bottom: 16px; }
.prose-content a { color: var(--c-night); }
.prose-content ul, .prose-content ol { padding-left: 20px; margin-bottom: 16px; }
.prose-content li { font-size: 16px; line-height: 1.7; color: var(--c-shade-60); margin-bottom: 6px; }

/* ── CONTACT ── */
.contact-layout {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 64px;
  padding-bottom: 80px;
}
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 13px; font-weight: 600; color: var(--c-shade-60); }
.form-group input, .form-group textarea {
  font-family: var(--font);
  font-size: 15px;
  color: var(--c-night);
  background: var(--c-canvas);
  border: 1px solid var(--c-hairline);
  border-radius: var(--r-md);
  padding: 10px 14px;
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.form-group input:focus, .form-group textarea:focus { border-color: var(--c-night); }
.form-group textarea { resize: vertical; min-height: 120px; }
.req { color: #dc2626; }
.contact-form button[type="submit"] {
  align-self: flex-start;
  background: var(--c-night);
  color: var(--c-on-dark);
  font-family: var(--font);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 28px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}
.contact-form button[type="submit"]:hover { opacity: 0.85; }
.contact-form button[type="submit"]:disabled { opacity: 0.5; cursor: not-allowed; }
.form-conf {
  font-size: 14px;
  color: #166534;
  background: #f0fdf4;
  border: 1px solid #a7f3c0;
  border-radius: var(--r-md);
  padding: 12px 16px;
}
.contact-info h3 { font-size: 14px; font-weight: 600; color: var(--c-night); margin: 24px 0 8px; }
.contact-info h3:first-child { margin-top: 0; }
.contact-info p { font-size: 14px; color: var(--c-shade-50); line-height: 1.6; }

/* ── FOOTER ── */
.site-footer {
  background: var(--c-night);
  padding: 56px 0 40px;
}
.ft-row {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.ft-brand strong {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--c-on-dark);
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}
.ft-brand p { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.6; }
.ft-col h4 { font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.3); margin-bottom: 12px; }
.ft-col ul { list-style: none; }
.ft-col li { margin-bottom: 6px; }
.ft-col a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; }
.ft-col a:hover { color: var(--c-on-dark); }
.ft-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.25);
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.06);
}

/* ── COOKIE BANNER ── */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--c-night);
  color: var(--c-on-dark);
  border: 1px solid #2a2a2a;
  border-radius: var(--r-lg);
  padding: 20px 24px;
  max-width: 580px;
  width: calc(100% - 32px);
  box-shadow: 0 8px 40px rgba(0,0,0,0.5);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-banner p { font-size: 13px; color: rgba(255,255,255,0.65); line-height: 1.55; }
.cookie-banner a { color: var(--c-aloe); }
.ck-row { display: flex; gap: 10px; flex-wrap: wrap; }
.ck-accept {
  background: var(--c-aloe);
  color: var(--c-night);
  border: none;
  font-size: 13px;
  font-weight: 600;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  cursor: pointer;
}
.ck-reject {
  background: transparent;
  color: rgba(255,255,255,0.6);
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 13px;
  font-weight: 500;
  padding: 8px 20px;
  border-radius: var(--r-pill);
  cursor: pointer;
}
.ck-settings {
  background: transparent;
  color: rgba(255,255,255,0.4);
  border: none;
  font-size: 12px;
  cursor: pointer;
  padding: 8px 12px;
  text-decoration: underline;
}
.ck-accept:hover { filter: brightness(0.9); }
.ck-reject:hover { border-color: rgba(255,255,255,0.4); color: var(--c-on-dark); }

/* ── COVERAGE PAGE ── */
.coverage-grid { padding-bottom: 80px; }
.card-grid.coverage-grid { grid-template-columns: repeat(2, 1fr); margin-top: 0; }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .feat-layout { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .article-layout { grid-template-columns: 1fr; gap: 32px; }
  .art-sidebar { position: static; }
  .ft-row { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .main-nav { display: none; }
  .burger { display: flex; }
  .card-grid { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; }
  .hero { padding: 52px 0 48px; }
  .sec-white, .sec-dark, .sec-cream { padding: 52px 0; }
  .ft-row { grid-template-columns: 1fr; gap: 28px; }
  .ft-copy { margin-top: 8px; }
  .container { padding: 0 16px; }
  .cookie-banner { bottom: 16px; padding: 16px 18px; }
}
