:root {
  --primary: #0a0a0a;
  --primary-active: #1f1f1f;
  --primary-disabled: #e5e5e5;
  --ink: #0a0a0a;
  --body: #3a3a3a;
  --body-strong: #1a1a1a;
  --muted: #6a6a6a;
  --muted-soft: #9a9a9a;
  --hairline: #e5e5e5;
  --hairline-soft: #f0f0f0;
  --canvas: #fffaf0;
  --surface-soft: #faf5e8;
  --surface-card: #f5f0e0;
  --surface-strong: #ebe6d6;
  --surface-dark: #0a1a1a;
  --on-primary: #ffffff;
  --on-dark: #ffffff;
  --brand-pink: #ff4d8b;
  --brand-teal: #1a3a3a;
  --brand-lavender: #b8a4ed;
  --brand-peach: #ffb084;
  --brand-ochre: #e8b94a;
  --brand-mint: #a4d4c5;
  --brand-coral: #ff6b5a;
  --success: #22c55e;
  --warning: #f59e0b;
  --error: #ef4444;
  --r-xs: 6px;
  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-pill: 9999px;
  --sp-xxs: 4px;
  --sp-xs: 8px;
  --sp-sm: 12px;
  --sp-md: 16px;
  --sp-lg: 24px;
  --sp-xl: 32px;
  --sp-xxl: 48px;
  --sp-section: 96px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  background: var(--canvas);
}

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

.container { max-width: 1280px; margin: 0 auto; padding: 0 var(--sp-lg); }

/* NAV */
.top-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}
.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  height: 64px;
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  text-decoration: none;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--on-primary);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.logo-text {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.3px;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  margin-left: auto;
}
.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--r-pill);
  transition: background 0.15s, color 0.15s;
}
.nav-link:hover,
.nav-link--active {
  background: var(--surface-card);
  color: var(--ink);
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
  margin-left: auto;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.2s, opacity 0.2s;
}

/* HERO */
.hero {
  padding: var(--sp-section) 0;
  background: var(--canvas);
}
.hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.hero-eyebrow {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.hero h1 {
  font-family: 'Inter', sans-serif;
  font-size: 72px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -2.5px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.hero-sub {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--body-strong);
  margin-bottom: var(--sp-xl);
  max-width: 520px;
}
.hero-img-card {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-img-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION */
.section { padding: var(--sp-section) 0; }
.section--soft { background: var(--surface-soft); }
.section--strong { background: var(--surface-strong); }
.section--card { background: var(--surface-card); }

.section-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.section-title {
  font-family: 'Inter', sans-serif;
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.section-title--md {
  font-size: 40px;
  letter-spacing: -1px;
}
.section-title--sm {
  font-size: 32px;
  letter-spacing: -0.5px;
}
.section-lead {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--body-strong);
  max-width: 620px;
}

/* FEATURE CARDS GRID */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
}
.card {
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
}
.card--pink   { background: var(--brand-pink); color: var(--on-dark); }
.card--teal   { background: var(--brand-teal); color: var(--on-dark); }
.card--lavender { background: var(--brand-lavender); color: var(--ink); }
.card--peach  { background: var(--brand-peach); color: var(--ink); }
.card--ochre  { background: var(--brand-ochre); color: var(--ink); }
.card--cream  { background: var(--surface-card); color: var(--ink); border: 1px solid var(--hairline); }

.card-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.7;
  margin-bottom: var(--sp-sm);
}
.card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--sp-sm);
}
.card p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  opacity: 0.85;
}
.card-link {
  display: inline-block;
  margin-top: var(--sp-md);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  padding-bottom: 2px;
}
.card--pink .card-link,
.card--teal .card-link { color: var(--on-dark); }

/* ARTICLE CARDS */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  margin-top: var(--sp-xxl);
}
.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: var(--body);
  transition: box-shadow 0.15s;
}
.article-card:hover { box-shadow: 0 4px 24px rgba(10,10,10,0.08); color: var(--body); }
.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-soft);
}
.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-card-img img { transform: scale(1.03); }
.article-card-body { padding: var(--sp-lg); }
.article-card-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}
.article-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.35;
  color: var(--ink);
  margin-bottom: var(--sp-xs);
}
.article-card-body p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
}
.article-card-meta {
  font-size: 13px;
  color: var(--muted-soft);
  margin-top: var(--sp-sm);
}

/* TWO-COL */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.two-col--reverse { direction: rtl; }
.two-col--reverse > * { direction: ltr; }
.two-col-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-soft);
}
.two-col-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* PROSE */
.prose h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.prose h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: var(--sp-xxl) 0 var(--sp-md);
}
.prose h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--body-strong);
  margin: var(--sp-xl) 0 var(--sp-sm);
}
.prose p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--sp-md);
}
.prose ul, .prose ol {
  margin: var(--sp-md) 0 var(--sp-md) var(--sp-xl);
  list-style: disc;
}
.prose ol { list-style: decimal; }
.prose li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--body);
  margin-bottom: var(--sp-xs);
}
.prose a { color: var(--ink); }
.prose strong { font-weight: 600; color: var(--body-strong); }
.prose blockquote {
  border-left: 3px solid var(--brand-ochre);
  padding-left: var(--sp-lg);
  margin: var(--sp-xl) 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--body-strong);
  line-height: 1.4;
}

.prose-wrap {
  max-width: 800px;
  margin: 0 auto;
}

.article-header {
  padding: var(--sp-section) 0 var(--sp-xxl);
  background: var(--canvas);
}
.article-header-meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.article-hero-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-top: var(--sp-xxl);
  aspect-ratio: 16/6;
  background: var(--surface-soft);
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* CONTACT FORM */
.form-section {
  background: var(--surface-soft);
  padding: var(--sp-section) 0;
}
.form-wrap {
  max-width: 560px;
  margin: 0 auto;
}
.form-group { margin-bottom: var(--sp-md); }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--body-strong);
  margin-bottom: var(--sp-xs);
}
.form-group input {
  width: 100%;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-family: inherit;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 16px;
  height: 44px;
  outline: none;
  transition: border-color 0.15s;
}
.form-group input:focus { border-color: var(--ink); }
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  padding: 12px 20px;
  height: 44px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.15s;
}
.btn-primary:hover { background: var(--primary-active); color: var(--on-primary); }
.form-note {
  font-size: 13px;
  color: var(--muted);
  margin-top: var(--sp-sm);
}

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: var(--sp-lg);
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 720px;
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex;
  align-items: center;
  gap: var(--sp-xl);
  z-index: 999;
  box-shadow: 0 8px 40px rgba(0,0,0,0.2);
}
#cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
  flex: 1;
  color: rgba(255,255,255,0.85);
}
#cookie-banner a { color: var(--on-dark); }
.cookie-btns { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
.btn-cookie-accept {
  background: var(--canvas);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  padding: 10px 18px;
  cursor: pointer;
  font-family: inherit;
}
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--r-md);
  padding: 10px 18px;
  cursor: pointer;
  font-family: inherit;
}
.btn-cookie-accept:hover { background: var(--surface-strong); }
.btn-cookie-reject:hover { border-color: rgba(255,255,255,0.5); color: var(--on-dark); }

/* BADGE */
.badge {
  display: inline-block;
  background: var(--surface-card);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  border-radius: var(--r-pill);
  padding: 4px 12px;
}

/* CTA BAND */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  padding: 80px var(--sp-xxl);
  margin: var(--sp-section) 0;
  text-align: center;
}
.cta-band h2 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.cta-band p { font-size: 18px; color: var(--muted); margin-bottom: var(--sp-xl); }

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

/* RELATED */
.related { padding: var(--sp-section) 0; background: var(--surface-soft); }

/* FOOTER */
.footer {
  background: var(--surface-soft);
  padding: 80px 0 var(--sp-xxl);
  border-top: 1px solid var(--hairline);
}
.footer-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xxl);
}
.footer-brand {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}
.footer-tagline {
  font-size: 14px;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.footer-contact {
  font-size: 13px;
  line-height: 1.8;
  color: var(--muted);
}
.footer-contact a { color: var(--muted); text-decoration: none; }
.footer-contact a:hover { color: var(--ink); }
.footer-col-title {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-md);
}
.footer-col ul li { margin-bottom: var(--sp-xs); }
.footer-col ul a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}
.footer-col ul a:hover { color: var(--ink); }
.footer-bottom {
  max-width: 1280px;
  margin: var(--sp-xxl) auto 0;
  padding: var(--sp-lg) var(--sp-lg) 0;
  border-top: 1px solid var(--hairline);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom p { font-size: 13px; color: var(--muted-soft); }

/* DISCLAIMER */
.disclaimer {
  background: var(--surface-card);
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: var(--sp-md) var(--sp-lg);
  font-size: 13px;
  line-height: 1.6;
  color: var(--muted);
  margin-top: var(--sp-xxl);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero h1 { font-size: 52px; }
  .section-title { font-size: 44px; }
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--sp-xl); }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: fixed;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    flex-direction: column;
    padding: var(--sp-md) var(--sp-lg);
    gap: var(--sp-xs);
    z-index: 99;
  }
  .nav-menu.nav-open { display: flex; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero h1 { font-size: 36px; letter-spacing: -1px; }
  .hero-img-card { display: none; }
  .section-title { font-size: 32px; letter-spacing: -0.5px; }
  .section-title--md { font-size: 28px; }
  .cards-grid { grid-template-columns: 1fr; }
  .article-grid { grid-template-columns: 1fr; }
  .two-col { grid-template-columns: 1fr; }
  .two-col--reverse { direction: ltr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-xs); text-align: center; }
  .cta-band { padding: var(--sp-xxl) var(--sp-lg); }
  .cta-band h2 { font-size: 28px; }
  #cookie-banner { flex-direction: column; align-items: flex-start; gap: var(--sp-md); }
  .prose h1 { font-size: 36px; letter-spacing: -1px; }
  .prose h2 { font-size: 26px; }
}
