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

: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;
}

html { scroll-behavior: smooth; }

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

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

a { color: var(--ink); text-decoration: underline; }
a:hover { color: var(--brand-teal); }

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

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

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  text-decoration: none;
  color: var(--ink);
}

.logo-mark {
  width: 32px;
  height: 32px;
  background-color: var(--brand-teal);
  color: var(--on-dark);
  border-radius: var(--r-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 16px;
  flex-shrink: 0;
}

.logo-word {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: -0.3px;
  color: var(--ink);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--sp-xxs);
  list-style: none;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--muted);
  text-decoration: none;
  padding: var(--sp-xs) var(--sp-md);
  border-radius: var(--r-pill);
  transition: color 0.15s, background-color 0.15s;
}

.nav-link:hover,
.nav-link.active {
  color: var(--ink);
  background-color: var(--surface-card);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--sp-xs);
}

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

.hero-band {
  padding: var(--sp-section) 0;
  background-color: var(--canvas);
}

.hero-inner {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-xxl);
  align-items: center;
}

.hero-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  background-color: var(--surface-card);
  border-radius: var(--r-pill);
  padding: var(--sp-xxs) var(--sp-sm);
  margin-bottom: var(--sp-lg);
}

.hero-h1 {
  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);
}

.hero-sub {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--body);
  max-width: 520px;
  margin-bottom: var(--sp-xl);
}

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

.hero-image-card {
  background-color: var(--surface-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

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

.section { padding: var(--sp-section) 0; }

.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: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.section-sub {
  font-size: 16px;
  color: var(--body);
  max-width: 600px;
  margin-bottom: var(--sp-xxl);
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

.feature-card {
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
}

.feature-card h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  margin-bottom: var(--sp-sm);
}

.feature-card p {
  font-size: 14px;
  line-height: 1.55;
}

.fc-pink { background-color: var(--brand-pink); color: var(--on-primary); }
.fc-teal { background-color: var(--brand-teal); color: var(--on-dark); }
.fc-lavender { background-color: var(--brand-lavender); color: var(--ink); }
.fc-peach { background-color: var(--brand-peach); color: var(--ink); }
.fc-ochre { background-color: var(--brand-ochre); color: var(--ink); }
.fc-cream { background-color: var(--surface-card); color: var(--ink); }

.fc-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--r-md);
  background-color: rgba(255,255,255,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-md);
  font-size: 20px;
}

.fc-teal .fc-icon,
.fc-pink .fc-icon { background-color: rgba(255,255,255,0.15); }
.fc-lavender .fc-icon,
.fc-peach .fc-icon,
.fc-ochre .fc-icon,
.fc-cream .fc-icon { background-color: rgba(0,0,0,0.07); }

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}

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

.article-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background-color: var(--surface-soft);
}

.article-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.article-card:hover .article-card-img img { transform: scale(1.03); }

.article-card-body {
  padding: var(--sp-lg);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.article-tag {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-xs);
}

.article-card-body h3 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}

.article-card-body p {
  font-size: 14px;
  color: var(--body);
  line-height: 1.55;
  flex: 1;
  margin-bottom: var(--sp-md);
}

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

.article-card-link {
  display: inline-block;
  margin-top: var(--sp-md);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
}

.contact-band {
  padding: var(--sp-section) 0;
  background-color: var(--surface-soft);
}

.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xxl);
  align-items: start;
}

.contact-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.contact-sub {
  font-size: 16px;
  color: var(--body);
  margin-bottom: var(--sp-lg);
}

.contact-detail {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  font-size: 14px;
  color: var(--body);
}

.contact-form {
  background-color: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-xl);
  padding: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.form-field label {
  font-size: 13px;
  font-weight: 500;
  color: var(--body-strong);
}

.form-field input,
.form-field textarea {
  background-color: var(--canvas);
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  border: 1px solid var(--hairline);
  border-radius: var(--r-md);
  padding: 12px 16px;
  height: 44px;
  transition: border-color 0.15s;
  outline: none;
  width: 100%;
}

.form-field textarea {
  height: auto;
  min-height: 100px;
  resize: vertical;
}

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

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: var(--on-primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  padding: 12px 20px;
  height: 44px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.15s;
}

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

.form-notice {
  font-size: 12px;
  color: var(--muted-soft);
}

.form-success {
  display: none;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  border-radius: var(--r-md);
  padding: var(--sp-md);
  color: #166534;
  font-size: 14px;
}

.article-hero {
  padding: var(--sp-xxl) 0 0;
}

.article-hero-inner {
  max-width: 820px;
}

.breadcrumb {
  display: flex;
  gap: var(--sp-xs);
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
  list-style: none;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--ink); }
.breadcrumb-sep { color: var(--muted-soft); }

.article-tag-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  background-color: var(--surface-card);
  border-radius: var(--r-pill);
  padding: var(--sp-xxs) var(--sp-sm);
  margin-bottom: var(--sp-md);
}

.article-h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}

.article-byline {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-bottom: var(--sp-xxl);
}

.article-featured-img {
  border-radius: var(--r-xl);
  overflow: hidden;
  margin-bottom: var(--sp-section);
  max-height: 480px;
}

.article-featured-img img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--sp-xxl);
  align-items: start;
  padding-bottom: var(--sp-section);
}

.article-body 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);
}

.article-body h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}

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

.article-body ul,
.article-body ol {
  margin: 0 0 var(--sp-lg) var(--sp-xl);
}

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

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

.article-body .callout {
  background-color: var(--surface-card);
  border-left: 3px solid var(--brand-teal);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-lg);
  margin: var(--sp-xl) 0;
}

.article-body .callout p { margin: 0; }

.article-body .data-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: var(--sp-xl);
  font-size: 14px;
}

.article-body .data-table th {
  background-color: var(--surface-card);
  color: var(--ink);
  font-weight: 600;
  padding: var(--sp-sm) var(--sp-md);
  text-align: left;
  border-bottom: 2px solid var(--hairline);
}

.article-body .data-table td {
  padding: var(--sp-sm) var(--sp-md);
  border-bottom: 1px solid var(--hairline-soft);
  color: var(--body);
}

.article-body .data-table tr:last-child td { border-bottom: none; }

.article-sidebar {
  position: sticky;
  top: 80px;
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.sidebar-card {
  background-color: var(--surface-card);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
}

.sidebar-card h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: var(--sp-sm);
}

.sidebar-card ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}

.sidebar-card ul li a {
  font-size: 14px;
  color: var(--body);
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.sidebar-card ul li a:hover {
  color: var(--ink);
  border-bottom-color: var(--hairline);
}

.page-hero {
  padding: var(--sp-xxl) 0;
  background-color: var(--canvas);
  border-bottom: 1px solid var(--hairline);
}

.page-h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.page-sub {
  font-size: 16px;
  color: var(--muted);
}

.page-content {
  padding: var(--sp-section) 0;
  max-width: 820px;
}

.page-content h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--ink);
  margin: var(--sp-xl) 0 var(--sp-sm);
}

.page-content p,
.page-content li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--sp-md);
}

.page-content ul,
.page-content ol {
  margin-left: var(--sp-xl);
  margin-bottom: var(--sp-lg);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-section);
  padding: var(--sp-section) 0;
  align-items: start;
}

.about-img {
  border-radius: var(--r-xl);
  overflow: hidden;
}

.about-img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

.about-text h2 {
  font-size: 32px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.about-text p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  margin-bottom: var(--sp-md);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
  padding: var(--sp-xxl) 0;
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  margin: var(--sp-xxl) 0;
}

.stat-item { text-align: center; }

.stat-number {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -1px;
  color: var(--ink);
  display: block;
}

.stat-label {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
  margin-top: var(--sp-xxs);
}

.cookie-banner {
  position: fixed;
  bottom: var(--sp-lg);
  left: var(--sp-lg);
  right: var(--sp-lg);
  max-width: 640px;
  background-color: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-xl);
  padding: var(--sp-lg);
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: var(--sp-md);
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
  color: rgba(255,255,255,0.8);
}

.cookie-banner a { color: #fff; }

.cookie-actions {
  display: flex;
  gap: var(--sp-sm);
  flex-wrap: wrap;
}

.btn-cookie-accept {
  background-color: var(--on-primary);
  color: var(--primary);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: none;
  border-radius: var(--r-md);
  padding: 10px 20px;
  cursor: pointer;
}

.btn-cookie-reject {
  background-color: transparent;
  color: rgba(255,255,255,0.7);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--r-md);
  padding: 10px 20px;
  cursor: pointer;
}

.footer {
  background-color: var(--surface-soft);
  padding: 80px 0;
}

.footer-inner { display: flex; flex-direction: column; gap: var(--sp-xxl); }

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-xl);
}

.footer-logo { margin-bottom: var(--sp-md); }

.footer-tagline {
  font-size: 14px;
  line-height: 1.55;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
  max-width: 320px;
}

.footer-contact {
  font-style: normal;
  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-heading {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}

.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-xs); }
.footer-col ul li a { font-size: 14px; color: var(--muted); text-decoration: none; }
.footer-col ul li a:hover { color: var(--ink); }

.footer-bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-xl);
  display: flex;
  flex-direction: column;
  gap: var(--sp-sm);
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  color: var(--muted-soft);
  max-width: 760px;
}

.footer-legal {
  font-size: 13px;
  font-weight: 500;
  color: var(--muted);
}

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

@media (max-width: 1024px) {
  .hero-h1 { font-size: 44px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-inner { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background-color: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--sp-md) var(--sp-lg);
    gap: var(--sp-xxs);
  }

  .nav-menu.open { display: flex; }
  .nav-toggle { display: flex; }
  .top-nav { position: relative; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-image-card { display: none; }
  .hero-h1 { font-size: 36px; }
  .hero-sub { font-size: 16px; }

  .section-title { font-size: 28px; }
  .feature-grid { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr; }
  .contact-form { padding: var(--sp-lg); }
  .article-h1 { font-size: 28px; }
  .page-h1 { font-size: 28px; }
  .cookie-banner { left: var(--sp-sm); right: var(--sp-sm); bottom: var(--sp-sm); }
}
