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

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

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede8e1;
  --hairline: #d3cec6;
  --hairline-soft: #e0dbd3;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --accent: #8b6f47;
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
  --rounded-xs: 4px;
  --rounded-sm: 6px;
  --rounded-md: 8px;
  --rounded-lg: 12px;
  --rounded-xl: 16px;
  --rounded-xxl: 24px;
}

html { scroll-behavior: smooth; }

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

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

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

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

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

.site-header .container {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.site-logo {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.3px;
  color: var(--ink);
  text-decoration: none;
}

.site-logo span {
  color: var(--accent);
}

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

.site-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  padding: 6px 12px;
  border-radius: var(--rounded-md);
  transition: color 0.15s, background 0.15s;
}

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

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

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

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px 0 32px;
  margin-top: 96px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--hairline-soft);
}

.footer-brand p {
  font-size: 13px;
  color: var(--ink-subtle);
  line-height: 1.6;
  margin-top: 12px;
  max-width: 260px;
}

.footer-col h4 {
  font-size: 13px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 16px;
  letter-spacing: -0.1px;
}

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

.footer-col ul a {
  font-size: 13px;
  color: var(--ink-muted);
  transition: color 0.15s;
}

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

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  font-size: 12px;
  color: var(--ink-tertiary);
}

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

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

.hero {
  padding: 80px 0 64px;
}

.hero-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -1.4px;
  color: var(--ink);
  max-width: 760px;
  margin-bottom: 20px;
}

.hero-sub {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-muted);
  max-width: 580px;
  margin-bottom: 40px;
}

.hero-image-wrap {
  margin-top: 48px;
  border-radius: var(--rounded-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
  background: var(--surface-1);
}

.hero-image-wrap img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.section {
  padding: 64px 0;
}

.section-eyebrow {
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-title {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 16px;
}

.section-sub {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.6;
  max-width: 580px;
  margin-bottom: 40px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  transition: border-color 0.15s;
}

.card:hover {
  border-color: var(--ink-muted);
}

.card-img {
  border-radius: var(--rounded-md);
  overflow: hidden;
  margin-bottom: 20px;
  aspect-ratio: 16/9;
}

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

.card-meta {
  font-size: 12px;
  color: var(--ink-tertiary);
  margin-bottom: 8px;
}

.card h3 {
  font-size: 18px;
  font-weight: 500;
  letter-spacing: -0.3px;
  line-height: 1.3;
  color: var(--ink);
  margin-bottom: 10px;
}

.card p {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.55;
}

.card-link {
  display: inline-block;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.info-strip {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: 48px;
  margin: 64px 0;
}

.info-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.info-strip-item h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-bottom: 10px;
  color: var(--ink);
}

.info-strip-item p {
  font-size: 15px;
  color: var(--ink-muted);
  line-height: 1.6;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 48px;
  padding: 48px 0 80px;
}

.article-body h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  color: var(--ink);
  margin-bottom: 12px;
}

.article-meta {
  font-size: 13px;
  color: var(--ink-tertiary);
  margin-bottom: 32px;
  display: flex;
  gap: 16px;
  align-items: center;
}

.article-hero-img {
  border-radius: var(--rounded-xl);
  overflow: hidden;
  margin-bottom: 32px;
  border: 1px solid var(--hairline);
}

.article-hero-img img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
}

.article-body h2 {
  font-size: 24px;
  font-weight: 500;
  letter-spacing: -0.4px;
  margin-top: 40px;
  margin-bottom: 14px;
  color: var(--ink);
}

.article-body h3 {
  font-size: 19px;
  font-weight: 500;
  letter-spacing: -0.2px;
  margin-top: 28px;
  margin-bottom: 10px;
  color: var(--ink);
}

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

.article-body ul, .article-body ol {
  margin: 16px 0 16px 24px;
}

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

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-sidebar {
  position: sticky;
  top: 72px;
  align-self: start;
}

.sidebar-box {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 24px;
  margin-bottom: 20px;
}

.sidebar-box h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 14px;
}

.sidebar-box ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sidebar-box ul a {
  font-size: 13px;
  color: var(--ink-muted);
  text-decoration: none;
  line-height: 1.4;
}

.sidebar-box ul a:hover {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--ink-tertiary);
  padding: 16px 0;
  display: flex;
  gap: 6px;
  align-items: center;
}

.breadcrumb a {
  color: var(--ink-tertiary);
}

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

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

.page-header {
  padding: 48px 0 32px;
  border-bottom: 1px solid var(--hairline);
  margin-bottom: 48px;
}

.page-header h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.12;
  color: var(--ink);
  margin-bottom: 12px;
}

.page-header p {
  font-size: 17px;
  color: var(--ink-muted);
  max-width: 560px;
}

.prose h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  margin-top: 40px;
  margin-bottom: 12px;
  color: var(--ink);
}

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

.prose ul {
  margin: 12px 0 14px 24px;
}

.prose li {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 5px;
}

.contact-form-wrap {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-xl);
  padding: 40px;
  max-width: 600px;
}

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

.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(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-md);
  padding: 10px 14px;
  font-size: 16px;
  font-family: var(--font);
  color: var(--ink);
  transition: border-color 0.15s;
  min-height: 44px;
}

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

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

.btn-primary {
  background: var(--ink);
  color: #fff;
  border: none;
  border-radius: var(--rounded-md);
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 500;
  font-family: var(--font);
  cursor: pointer;
  transition: opacity 0.15s;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-primary:hover { opacity: 0.85; }
.btn-primary:disabled { opacity: 0.6; cursor: not-allowed; }

.form-message {
  display: none;
  margin-top: 16px;
  padding: 14px 16px;
  background: #f0faf0;
  border: 1px solid #c6e8c6;
  border-radius: var(--rounded-md);
  font-size: 14px;
  color: #1a5c1a;
}

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: 600px;
  background: var(--inverse-canvas);
  color: var(--inverse-ink);
  border-radius: var(--rounded-xl);
  padding: 20px 24px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  z-index: 1000;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
}

.cookie-banner p {
  font-size: 14px;
  line-height: 1.55;
  color: #ccc;
  flex: 1;
}

.cookie-banner p a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
  align-items: center;
}

.btn-cookie-accept {
  background: #fff;
  color: #000;
  border: none;
  border-radius: var(--rounded-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
}

.btn-cookie-reject {
  background: transparent;
  color: #aaa;
  border: 1px solid #444;
  border-radius: var(--rounded-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  font-family: var(--font);
}

.btn-cookie-accept:hover { opacity: 0.9; }
.btn-cookie-reject:hover { color: #fff; border-color: #777; }

.article-index {
  padding: 48px 0 80px;
}

.article-index h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  margin-bottom: 12px;
}

.article-index-sub {
  font-size: 17px;
  color: var(--ink-muted);
  margin-bottom: 48px;
}

.disclaimer-box {
  background: var(--surface-2);
  border: 1px solid var(--hairline);
  border-radius: var(--rounded-lg);
  padding: 20px 24px;
  margin: 32px 0;
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .info-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 36px; letter-spacing: -0.8px; }
  .section-title { font-size: 28px; }
  .card-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .info-strip { padding: 32px 24px; }
  .info-strip-grid { grid-template-columns: 1fr; gap: 24px; }
  .site-nav { display: none; }
  .nav-hamburger { display: flex; }
  .site-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: 16px 24px;
    gap: 4px;
  }
  .cookie-banner { bottom: 16px; left: 16px; right: 16px; flex-direction: column; }
  .cookie-actions { width: 100%; }
  .page-header h1 { font-size: 30px; }
  .contact-form-wrap { padding: 24px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .article-body h1 { font-size: 28px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
}
