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

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

:root {
  --canvas: #f5f1ec;
  --surface-1: #ffffff;
  --surface-2: #ede9e4;
  --ink: #111111;
  --ink-muted: #626260;
  --ink-subtle: #7b7b78;
  --ink-tertiary: #9c9fa5;
  --hairline: #d3cec6;
  --hairline-soft: #e5e0d8;
  --inverse-canvas: #000000;
  --inverse-ink: #ffffff;
  --radius-xs: 4px;
  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-xxl: 24px;
  --space-xxs: 4px;
  --space-xs: 8px;
  --space-sm: 12px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-xxl: 48px;
  --space-section: 96px;
  --max-w: 1280px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}

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

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

/* NAV */
.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 .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-size: 15px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: -0.2px;
  white-space: nowrap;
}
.nav-logo span { color: var(--ink-muted); font-weight: 400; }
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}
.nav-links a {
  font-size: 14px;
  font-weight: 400;
  color: var(--ink-muted);
  transition: color 0.15s;
}
.nav-links a:hover { color: var(--ink); text-decoration: none; }
.nav-hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: var(--space-xs);
  flex-direction: column;
  gap: 5px;
}
.nav-hamburger span {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}

/* HERO */
.hero {
  padding: var(--space-section) 0 var(--space-xxl);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-xxl);
  align-items: center;
}
.hero-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}
.hero h1 {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.10;
  letter-spacing: -1.4px;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}
.hero-desc {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-bottom: var(--space-xl);
}
.hero-meta {
  font-size: 12px;
  color: var(--ink-subtle);
}
.hero-image-wrap {
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--surface-2);
}
.hero-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* SECTION LABELS */
.section-eyebrow {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}
.section-title {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.section-lead {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 640px;
}

/* ARTICLE CARDS GRID */
.articles-section {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--hairline);
}
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xxl);
}
.article-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.15s;
}
.article-card:hover { border-color: var(--ink-muted); }
.article-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--surface-2);
}
.article-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .article-card-image img { transform: scale(1.03); }
.article-card-body {
  padding: var(--space-lg);
}
.article-card-tag {
  font-size: 12px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-xs);
}
.article-card-title {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  letter-spacing: -0.2px;
  color: var(--ink);
  margin-bottom: var(--space-sm);
}
.article-card-title a:hover { text-decoration: none; color: var(--ink-muted); }
.article-card-excerpt {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
}
.article-card-meta {
  font-size: 12px;
  color: var(--ink-subtle);
}

/* FEATURE STRIP */
.feature-strip {
  padding: var(--space-section) 0;
  border-top: 1px solid var(--hairline);
}
.feature-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-xl);
  margin-top: var(--space-xxl);
}
.feature-item {
  padding: var(--space-lg);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
}
.feature-item-icon {
  font-size: 24px;
  margin-bottom: var(--space-md);
}
.feature-item-title {
  font-size: 17px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.feature-item-text {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}

/* ARTICLE PAGE */
.article-page {
  padding: var(--space-xxl) 0 var(--space-section);
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 720px) 1fr;
  gap: var(--space-xxl);
  align-items: start;
}
.article-breadcrumb {
  font-size: 13px;
  color: var(--ink-subtle);
  margin-bottom: var(--space-lg);
}
.article-breadcrumb a { color: var(--ink-subtle); }
.article-breadcrumb a:hover { color: var(--ink); text-decoration: none; }
.article-breadcrumb span { margin: 0 6px; }
.article-header { margin-bottom: var(--space-xxl); }
.article-tag {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-sm);
}
.article-h1 {
  font-size: 40px;
  font-weight: 500;
  line-height: 1.15;
  letter-spacing: -0.8px;
  color: var(--ink);
  margin-bottom: var(--space-lg);
}
.article-lead {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.5;
  margin-bottom: var(--space-lg);
}
.article-meta-line {
  font-size: 13px;
  color: var(--ink-subtle);
  padding-top: var(--space-md);
  border-top: 1px solid var(--hairline);
}
.article-hero-img {
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: var(--space-xxl);
  aspect-ratio: 16/9;
  background: var(--surface-2);
}
.article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-body h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: var(--space-xxl) 0 var(--space-md);
}
.article-body h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--space-xl) 0 var(--space-sm);
}
.article-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.article-body ul {
  list-style: disc;
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}
.article-body ul li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.article-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.article-body a:hover { color: var(--ink-muted); }
.article-figure {
  margin: var(--space-xxl) 0;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--surface-2);
}
.article-figure img { width: 100%; height: auto; display: block; }
.article-figure figcaption {
  font-size: 12px;
  color: var(--ink-subtle);
  padding: var(--space-sm) var(--space-md);
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-top: none;
  border-radius: 0 0 var(--radius-xl) var(--radius-xl);
}
.article-info-box {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin: var(--space-xxl) 0;
}
.article-info-box h4 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-sm);
}
.article-info-box p, .article-info-box li {
  font-size: 14px;
  color: var(--ink-muted);
  line-height: 1.5;
}
.article-info-box ul {
  list-style: disc;
  padding-left: var(--space-lg);
  margin: 0;
}
.article-sidebar { position: sticky; top: 72px; }
.sidebar-card {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-lg);
  margin-bottom: var(--space-md);
}
.sidebar-card h3 {
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-muted);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--hairline-soft);
}
.sidebar-card ul li {
  padding: var(--space-xs) 0;
  border-bottom: 1px solid var(--hairline-soft);
}
.sidebar-card ul li:last-child { border-bottom: none; }
.sidebar-card ul li a {
  font-size: 14px;
  color: var(--ink);
  line-height: 1.4;
}
.sidebar-card ul li a:hover { color: var(--ink-muted); text-decoration: none; }

/* ABOUT / GENERIC PAGE */
.page-hero {
  padding: var(--space-section) 0 var(--space-xxl);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-size: 40px;
  font-weight: 500;
  letter-spacing: -0.8px;
  line-height: 1.15;
  margin-bottom: var(--space-md);
}
.page-hero p {
  font-size: 18px;
  color: var(--ink-muted);
  line-height: 1.5;
  max-width: 600px;
}
.page-body {
  padding: var(--space-section) 0;
}
.page-body h2 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  color: var(--ink);
  margin: var(--space-xxl) 0 var(--space-md);
}
.page-body h2:first-child { margin-top: 0; }
.page-body h3 {
  font-size: 20px;
  font-weight: 500;
  color: var(--ink);
  margin: var(--space-xl) 0 var(--space-sm);
}
.page-body p {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.page-body ul, .page-body ol {
  padding-left: var(--space-xl);
  margin-bottom: var(--space-md);
}
.page-body ul { list-style: disc; }
.page-body ol { list-style: decimal; }
.page-body li {
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  margin-bottom: var(--space-xs);
}
.page-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.two-col-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: var(--space-xxl);
  align-items: start;
}

/* CONTACT FORM */
.contact-form-wrap {
  background: var(--surface-1);
  border: 1px solid var(--hairline);
  border-radius: var(--radius-lg);
  padding: var(--space-xl);
}
.contact-form-wrap h2 {
  font-size: 22px;
  font-weight: 500;
  margin-bottom: var(--space-lg);
}
.form-group {
  margin-bottom: var(--space-md);
}
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-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: 'Inter', sans-serif;
  font-size: 16px;
  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 { resize: vertical; min-height: 100px; }
.btn-primary {
  background: var(--ink);
  color: var(--inverse-ink);
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.15s;
  min-height: 40px;
}
.btn-primary:hover { opacity: 0.8; }
.btn-primary:disabled { opacity: 0.5; cursor: not-allowed; }
.form-status {
  margin-top: var(--space-md);
  font-size: 14px;
  color: var(--ink-muted);
  min-height: 20px;
}

/* FOOTER */
.site-footer {
  background: var(--canvas);
  border-top: 1px solid var(--hairline);
  padding: 64px var(--space-xl);
}
.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: var(--space-xxl);
}
.footer-brand p {
  font-size: 13px;
  color: var(--ink-subtle);
  line-height: 1.5;
  margin-top: var(--space-sm);
  max-width: 260px;
}
.footer-col h4 {
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  margin-bottom: var(--space-md);
}
.footer-col ul li {
  margin-bottom: var(--space-xs);
}
.footer-col ul li a {
  font-size: 13px;
  color: var(--ink-subtle);
  transition: color 0.15s;
}
.footer-col ul li a:hover { color: var(--ink); text-decoration: none; }
.footer-bottom {
  max-width: var(--max-w);
  margin: var(--space-xxl) auto 0;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--hairline-soft);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-md);
  flex-wrap: wrap;
}
.footer-bottom p {
  font-size: 12px;
  color: var(--ink-tertiary);
}
.footer-bottom-links {
  display: flex;
  gap: var(--space-lg);
}
.footer-bottom-links a {
  font-size: 12px;
  color: var(--ink-tertiary);
}
.footer-bottom-links a:hover { color: var(--ink-muted); text-decoration: none; }

/* COOKIE BANNER */
#cookie-banner {
  position: fixed;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  background: var(--inverse-canvas);
  color: var(--inverse-ink);
  border-radius: var(--radius-lg);
  padding: var(--space-lg) var(--space-xl);
  display: flex;
  align-items: center;
  gap: var(--space-xl);
  max-width: 720px;
  width: calc(100% - var(--space-xxl));
  box-shadow: 0 8px 32px rgba(0,0,0,0.3);
}
#cookie-banner p {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  line-height: 1.4;
  flex: 1;
}
#cookie-banner p a { color: rgba(255,255,255,0.9); text-decoration: underline; }
.cookie-actions {
  display: flex;
  gap: var(--space-sm);
  flex-shrink: 0;
}
.btn-cookie-accept {
  background: var(--surface-1);
  color: var(--ink);
  border: none;
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-reject {
  background: transparent;
  color: rgba(255,255,255,0.7);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius-md);
  padding: 8px 16px;
  font-size: 14px;
  cursor: pointer;
  white-space: nowrap;
}
.btn-cookie-accept:hover { opacity: 0.9; }
.btn-cookie-reject:hover { color: var(--inverse-ink); border-color: rgba(255,255,255,0.5); }

/* POLLEN CALENDAR TABLE */
.pollen-table-wrap { overflow-x: auto; margin: var(--space-xl) 0; }
.pollen-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.pollen-table th {
  font-weight: 500;
  color: var(--ink-muted);
  padding: var(--space-sm) var(--space-xs);
  border-bottom: 1px solid var(--hairline);
  text-align: center;
}
.pollen-table th:first-child { text-align: left; padding-left: 0; }
.pollen-table td {
  padding: var(--space-sm) var(--space-xs);
  border-bottom: 1px solid var(--hairline-soft);
  text-align: center;
  color: var(--ink-muted);
}
.pollen-table td:first-child {
  text-align: left;
  padding-left: 0;
  font-weight: 500;
  color: var(--ink);
}
.pollen-high { background: #d32f2f; color: #fff; border-radius: 3px; padding: 2px 6px; }
.pollen-med { background: #f57c00; color: #fff; border-radius: 3px; padding: 2px 6px; }
.pollen-low { background: #388e3c; color: #fff; border-radius: 3px; padding: 2px 6px; }

/* DISCLAIMER */
.disclaimer-bar {
  background: var(--surface-2);
  border-top: 1px solid var(--hairline);
  padding: var(--space-md) 0;
  text-align: center;
}
.disclaimer-bar p {
  font-size: 12px;
  color: var(--ink-subtle);
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 var(--space-xl);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { position: static; }
  .two-col-layout { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .container { padding: 0 var(--space-md); }
  .hero { padding: var(--space-xxl) 0; }
  .hero-inner { grid-template-columns: 1fr; gap: var(--space-xl); }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
  .hero-desc { font-size: 16px; }
  .hero-image-wrap { order: -1; }
  .section-title { font-size: 28px; }
  .articles-grid { grid-template-columns: 1fr; }
  .feature-strip-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--hairline);
    padding: var(--space-md) var(--space-xl);
    gap: var(--space-md);
  }
  .site-nav { position: relative; }
  .article-h1 { font-size: 28px; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  #cookie-banner { flex-direction: column; gap: var(--space-md); }
  .cookie-actions { width: 100%; justify-content: flex-end; }
  .page-hero h1 { font-size: 28px; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom-links { justify-content: center; }
}
