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

:root {
  --primary: #181d26;
  --primary-active: #0d1218;
  --canvas: #ffffff;
  --surface-soft: #f8fafc;
  --surface-strong: #e0e2e6;
  --surface-dark: #181d26;
  --hairline: #dddddd;
  --ink: #181d26;
  --body: #333840;
  --muted: #41454d;
  --on-primary: #ffffff;
  --link: #1b61c9;
  --link-active: #1a3866;
  --coral: #aa2d00;
  --forest: #0a2e0e;
  --cream: #f5e9d4;
  --peach: #fcab79;
  --mint: #a8d8c4;
  --section: 96px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 12px;
}

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

body {
  font-family: "Inter Display", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: var(--body);
  background: var(--canvas);
}

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

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

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 48px;
}

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

.site-nav .container {
  display: flex;
  align-items: center;
  height: 100%;
  gap: 32px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-logo:hover { text-decoration: none; color: var(--ink); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  flex: 1;
}

.nav-links a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
}

.nav-links a:hover { color: var(--ink); text-decoration: none; }

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

.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
}

.nav-mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--canvas);
  z-index: 200;
  flex-direction: column;
  padding: 24px 32px;
  gap: 24px;
}

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

.nav-mobile-close {
  align-self: flex-end;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--ink);
}

.nav-mobile-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.nav-mobile-links a {
  font-size: 20px;
  color: var(--ink);
  text-decoration: none;
}

/* HERO */
.hero-band {
  padding: var(--section) 0;
  background: var(--canvas);
}

.hero-band h1 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
  color: var(--ink);
  max-width: 720px;
  margin-bottom: 20px;
}

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

/* BUTTONS */
.btn-primary {
  display: inline-block;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  text-decoration: none;
  border: none;
  cursor: pointer;
  line-height: 1.4;
}

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

.btn-secondary {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  border: 1px solid var(--hairline);
  text-decoration: none;
  cursor: pointer;
  line-height: 1.4;
}

.btn-secondary:hover { border-color: var(--ink); color: var(--ink); text-decoration: none; }

.btn-pair { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* SECTIONS */
.section { padding: var(--section) 0; }
.section-alt { background: var(--surface-soft); }

.section-title {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.35;
  letter-spacing: 0.12px;
  margin-bottom: 8px;
}

.section-sub {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 48px;
  max-width: 560px;
  line-height: 1.5;
}

/* ARTICLE CARDS GRID */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.article-card {
  background: var(--canvas);
  border-radius: var(--r-md);
  overflow: hidden;
  border: 1px solid var(--hairline);
}

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

.article-card-body {
  padding: 16px;
}

.article-card-tag {
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 8px;
}

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

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

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

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

/* SIGNATURE CARDS */
.signature-coral {
  background: var(--coral);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: 48px;
  margin: 0;
}

.signature-coral h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--on-primary);
}

.signature-coral p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
  opacity: 0.9;
}

.btn-on-dark {
  display: inline-block;
  background: var(--canvas);
  color: var(--ink);
  font-size: 16px;
  font-weight: 500;
  padding: 16px 24px;
  border-radius: var(--r-lg);
  text-decoration: none;
}

.btn-on-dark:hover { text-decoration: none; opacity: 0.9; color: var(--ink); }

.signature-forest {
  background: var(--forest);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: 48px;
}

.signature-forest h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--on-primary);
}

.signature-forest p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
  opacity: 0.9;
}

.signature-dark {
  background: var(--surface-dark);
  color: var(--on-primary);
  border-radius: var(--r-lg);
  padding: 48px;
}

.signature-dark h2 {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--on-primary);
}

.signature-dark p {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 28px;
  opacity: 0.85;
}

.signature-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* CREAM CALLOUT */
.cream-callout {
  background: var(--cream);
  border-radius: var(--r-md);
  padding: 48px;
}

.cream-callout h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
  line-height: 1.2;
}

.cream-callout p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.5;
  max-width: 640px;
}

/* CTA BAND */
.cta-band {
  background: var(--surface-strong);
  border-radius: var(--r-lg);
  padding: 48px;
  text-align: center;
}

.cta-band h2 {
  font-size: 32px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 16px;
}

.cta-band p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 28px;
  line-height: 1.5;
}

/* ARTICLE PAGE */
.article-hero {
  padding: var(--section) 0 48px;
}

.article-hero .article-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  margin-bottom: 16px;
}

.article-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 20px;
}

.article-hero .article-meta {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 36px;
}

.article-hero-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  border-radius: var(--r-md);
  margin-bottom: 48px;
}

.article-body {
  max-width: 760px;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
  line-height: 1.35;
}

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

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

.article-body ul {
  margin: 0 0 20px 24px;
}

.article-body li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 6px;
}

.article-body a { color: var(--link); }

.article-aside {
  padding: 24px;
  background: var(--surface-soft);
  border-radius: var(--r-md);
  border-left: 3px solid var(--hairline);
}

.article-aside p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
  margin: 0;
  font-style: italic;
}

/* PAGE LAYOUT */
.page-with-aside {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 64px;
  align-items: start;
}

.aside-card {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--hairline);
}

.aside-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 16px;
}

.aside-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.aside-links a {
  font-size: 14px;
  color: var(--link);
}

/* FORM */
.contact-form {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 32px;
  border: 1px solid var(--hairline);
}

.contact-form h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin-bottom: 8px;
}

.contact-form p {
  font-size: 14px;
  color: var(--body);
  margin-bottom: 24px;
}

.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 textarea {
  width: 100%;
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-sm);
  padding: 12px 16px;
  font-size: 14px;
  color: var(--ink);
  font-family: inherit;
  height: 44px;
}

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

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #458fff;
}

.form-success {
  display: none;
  padding: 12px 16px;
  background: #e6f4ea;
  border-radius: var(--r-sm);
  color: #006400;
  font-size: 14px;
  margin-top: 12px;
}

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

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

.footer-brand p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 280px;
}

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

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

.footer-col a {
  font-size: 14px;
  color: var(--muted);
  text-decoration: none;
}

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

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

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

.footer-bottom-links {
  display: flex;
  gap: 20px;
  list-style: none;
}

.footer-bottom-links a {
  font-size: 13px;
  color: var(--muted);
  text-decoration: none;
}

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

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--surface-dark);
  color: var(--on-primary);
  padding: 20px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
  z-index: 999;
}

#cookie-banner p {
  font-size: 13px;
  line-height: 1.5;
  opacity: 0.9;
  max-width: 720px;
}

#cookie-banner a { color: #7eb8ff; }

.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }

.btn-cookie {
  font-size: 13.12px;
  font-weight: 600;
  padding: 12px 10px;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  line-height: 1.2;
}

.btn-cookie-accept {
  background: var(--link);
  color: var(--on-primary);
}

.btn-cookie-reject {
  background: transparent;
  color: var(--on-primary);
  border: 1px solid rgba(255,255,255,0.4);
}

/* STATIC PAGES */
.page-hero {
  padding: var(--section) 0 48px;
}

.page-hero h1 {
  font-size: 40px;
  font-weight: 400;
  color: var(--ink);
  line-height: 1.2;
  margin-bottom: 16px;
}

.page-hero p {
  font-size: 16px;
  color: var(--body);
  max-width: 600px;
  line-height: 1.5;
}

.page-body {
  max-width: 800px;
  padding-bottom: var(--section);
}

.page-body h2 {
  font-size: 24px;
  font-weight: 400;
  color: var(--ink);
  margin: 40px 0 16px;
}

.page-body h3 {
  font-size: 20px;
  font-weight: 400;
  color: var(--ink);
  margin: 28px 0 12px;
}

.page-body p {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 18px;
}

.page-body ul {
  margin: 0 0 18px 24px;
}

.page-body li {
  font-size: 15px;
  color: var(--body);
  line-height: 1.7;
  margin-bottom: 6px;
}

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

/* ABOUT TEAM GRID */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.team-card {
  background: var(--surface-soft);
  border-radius: var(--r-md);
  padding: 24px;
  border: 1px solid var(--hairline);
}

.team-card h3 {
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: 4px;
}

.team-card .team-role {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.team-card p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.6;
}

/* BREADCRUMB */
.breadcrumb {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 20px;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb span { margin: 0 6px; }

/* RELATED ARTICLES */
.related-section {
  border-top: 1px solid var(--hairline);
  padding-top: 48px;
  margin-top: 48px;
}

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

/* DISCLAIMER */
.disclaimer-bar {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  padding: 12px 0;
}

.disclaimer-bar p {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .article-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .signature-pair { grid-template-columns: 1fr; }
  .page-with-aside { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .article-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-band h1 { font-size: 28px; }
  .signature-coral, .signature-forest, .signature-dark, .cream-callout { padding: 32px 24px; }
  .signature-coral h2, .signature-forest h2, .signature-dark h2 { font-size: 24px; }
  .article-hero h1 { font-size: 28px; }
  .page-hero h1 { font-size: 28px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .team-grid { grid-template-columns: 1fr; }
  #cookie-banner { flex-direction: column; align-items: flex-start; }
}
