@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: #ede9e3;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --hairline: #d3cec6;
  --hairline-soft: #e5e1da;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --accent: #ff5600;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
  --radius-pill: 9999px;
  --spacing-xxs: 4px;
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --spacing-xl: 32px;
  --spacing-xxl: 48px;
  --spacing-section: 96px;
  --max-width: 1280px;
  --font: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-xl);
}

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

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

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

.site-nav .nav-logo:hover { text-decoration: none; }

.site-nav .nav-links {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
  list-style: none;
}

.site-nav .nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.15s;
}

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

.site-nav .nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--spacing-xs);
  flex-direction: column;
  gap: 4px;
}

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

.mobile-menu {
  display: none;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  padding: var(--spacing-md) var(--spacing-xl);
}

.mobile-menu.open { display: block; }

.mobile-menu ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.mobile-menu a {
  font-size: 15px;
  color: var(--ink-muted);
}

.hero {
  padding: var(--spacing-section) 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.hero-text {}

.eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--spacing-md);
  display: block;
}

.hero-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.10;
  letter-spacing: -1.4px;
  color: var(--ink);
  margin-bottom: var(--spacing-lg);
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-muted);
  max-width: 480px;
}

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

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

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

.section-header {
  margin-bottom: var(--spacing-xxl);
}

.section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
}

.section-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--ink-muted);
  margin-top: var(--spacing-md);
  max-width: 640px;
}

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

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

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

.card-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-lg);
}

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

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

.card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin-bottom: var(--spacing-sm);
}

.card-body {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: var(--spacing-md);
}

.card-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  border-bottom: 1px solid var(--hairline);
  padding-bottom: 2px;
  transition: border-color 0.15s;
  display: inline-block;
}

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

.info-section {
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  padding: var(--spacing-xxl);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xl);
  align-items: center;
}

.info-section img {
  border-radius: var(--radius-lg);
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.info-content .eyebrow { margin-bottom: var(--spacing-md); }

.info-title {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.info-text {
  font-size: 16px;
  color: var(--ink-muted);
  line-height: 1.6;
  margin-bottom: var(--spacing-md);
}

.info-text + .info-text { margin-top: 0; }

.divider {
  border: none;
  border-top: 1px solid var(--hairline);
  margin: 0;
}

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

.contact-card {
  background: var(--surface-1);
  border-radius: var(--radius-xl);
  border: 1px solid var(--hairline);
  padding: var(--spacing-xxl);
  max-width: 640px;
  margin: 0 auto;
}

.contact-card .section-title {
  font-size: 28px;
  margin-bottom: var(--spacing-xs);
}

.contact-card .section-subtitle {
  font-size: 16px;
  margin-bottom: var(--spacing-xxl);
}

.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-xs);
}

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s;
  min-height: 44px;
}

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

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--ink-tertiary);
}

.btn {
  display: inline-block;
  font-family: var(--font);
  font-size: 15px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-primary {
  background: var(--ink);
  color: var(--surface-1);
}

.btn-primary:hover { opacity: 0.85; text-decoration: none; }

.btn-primary:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.form-message {
  display: none;
  margin-top: var(--spacing-md);
  padding: var(--spacing-md);
  background: var(--surface-2);
  border-radius: var(--radius-md);
  font-size: 14px;
  color: var(--ink-muted);
}

.form-message.visible { display: block; }

.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px var(--spacing-xl);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--spacing-xl);
  padding-bottom: var(--spacing-xxl);
  border-bottom: 1px solid var(--hairline-soft);
  margin-bottom: var(--spacing-xl);
}

.footer-brand {}

.footer-logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  display: block;
  margin-bottom: var(--spacing-sm);
}

.footer-tagline {
  font-size: 12px;
  color: var(--ink-subtle);
  line-height: 1.5;
  max-width: 220px;
}

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

.footer-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

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

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

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--ink-tertiary);
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--spacing-xxl);
  padding: var(--spacing-section) 0;
}

.article-header {
  margin-bottom: var(--spacing-xxl);
}

.article-header .eyebrow { margin-bottom: var(--spacing-md); }

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

.article-meta {
  font-size: 14px;
  color: var(--ink-muted);
  display: flex;
  gap: var(--spacing-md);
}

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

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

.article-body h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

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

.article-body ul, .article-body ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-xl);
}

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

.article-body strong { color: var(--ink); font-weight: 500; }

.article-body blockquote {
  border-left: 3px solid var(--hairline);
  padding-left: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
  color: var(--ink-muted);
  font-size: 18px;
  line-height: 1.6;
  font-style: italic;
}

.info-box {
  background: var(--surface-2);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin: var(--spacing-xl) 0;
}

.info-box p {
  font-size: 15px;
  color: var(--ink-muted);
  margin-bottom: 0;
}

.article-sidebar {}

.sidebar-widget {
  background: var(--surface-1);
  border-radius: var(--radius-lg);
  border: 1px solid var(--hairline);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.sidebar-widget h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.sidebar-widget ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.sidebar-widget ul li a {
  font-size: 13px;
  color: var(--ink-muted);
  line-height: 1.4;
  display: block;
  transition: color 0.15s;
}

.sidebar-widget ul li a:hover {
  color: var(--ink);
  text-decoration: none;
}

.page-header {
  padding: var(--spacing-section) 0 var(--spacing-xxl);
}

.page-header .eyebrow { margin-bottom: var(--spacing-md); }

.page-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: var(--spacing-md);
}

.page-subtitle {
  font-size: 18px;
  color: var(--ink-muted);
  max-width: 640px;
}

.page-content {
  padding-bottom: var(--spacing-section);
  max-width: 720px;
}

.page-content h2 {
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.3px;
  color: var(--ink);
  margin: var(--spacing-xxl) 0 var(--spacing-md);
}

.page-content h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--spacing-xl) 0 var(--spacing-sm);
}

.page-content p {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: var(--spacing-md);
}

.page-content ul, .page-content ol {
  margin: var(--spacing-md) 0;
  padding-left: var(--spacing-xl);
}

.page-content li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink-muted);
  margin-bottom: var(--spacing-xs);
}

.page-content strong { color: var(--ink); font-weight: 500; }

.last-updated {
  font-size: 12px;
  color: var(--ink-tertiary);
  margin-top: var(--spacing-xl);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 200;
  background: var(--surface-1);
  border-top: 1px solid var(--hairline);
  padding: var(--spacing-lg) var(--spacing-xl);
  display: none;
}

.cookie-banner.show { display: block; }

.cookie-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.cookie-text {
  font-size: 13px;
  color: var(--ink-muted);
  max-width: 640px;
  line-height: 1.5;
}

.cookie-text a {
  color: var(--ink);
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--spacing-sm);
  flex-shrink: 0;
}

.btn-secondary {
  background: var(--surface-1);
  color: var(--ink);
  border: 1px solid var(--hairline);
}

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

.breadcrumb {
  font-size: 13px;
  color: var(--ink-tertiary);
  margin-bottom: var(--spacing-lg);
  display: flex;
  gap: var(--spacing-xs);
  align-items: center;
}

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

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-xxl);
  align-items: start;
  margin-bottom: var(--spacing-section);
}

.about-image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--hairline);
}

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

@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .article-layout { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .container { padding: 0 var(--spacing-lg); }
  
  .site-nav .nav-links { display: none; }
  .site-nav .nav-hamburger { display: flex; }
  
  .hero {
    grid-template-columns: 1fr;
    padding: var(--spacing-xxl) 0;
  }
  
  .hero-title { font-size: 36px; letter-spacing: -0.8px; }
  .section-title { font-size: 28px; }
  .article-title { font-size: 28px; }
  .page-title { font-size: 28px; }
  
  .cards-grid { grid-template-columns: 1fr; }
  
  .info-section {
    grid-template-columns: 1fr;
    padding: var(--spacing-xl);
  }
  
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--spacing-sm); text-align: center; }
  
  .cookie-inner { flex-direction: column; align-items: flex-start; }
  
  .contact-card { padding: var(--spacing-xl); }
}

@media (max-width: 480px) {
  .hero-title { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr; }
}
