/* ============================================================
   kingsleyfield.eu — Beekeeping and Natural Honey Production
   Design system: Clay (cream-canvas, dark-navy CTAs, warm palette)
   ============================================================ */

/* ── Reset & Base ───────────────────────────────────────────── */
*, *::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;
  --surface-dark-el:    #1a2a2a;
  --on-primary:         #ffffff;
  --on-dark:            #ffffff;
  --on-dark-soft:       #a0a0a0;
  --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-sec: 96px;

  --max-w: 1280px;
}

html { scroll-behavior: smooth; }

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

img { display: block; max-width: 100%; height: auto; }
a { color: var(--ink); text-decoration: underline; }
a:hover { opacity: .75; }

/* ── Typography ─────────────────────────────────────────────── */
.display-xl {
  font-family: Inter, sans-serif;
  font-size: 72px; font-weight: 500;
  line-height: 1; letter-spacing: -2.5px;
  color: var(--ink);
}
.display-lg {
  font-family: Inter, sans-serif;
  font-size: 56px; font-weight: 500;
  line-height: 1.05; letter-spacing: -2px;
  color: var(--ink);
}
.display-md {
  font-family: Inter, sans-serif;
  font-size: 40px; font-weight: 500;
  line-height: 1.1; letter-spacing: -1px;
  color: var(--ink);
}
.display-sm {
  font-family: Inter, sans-serif;
  font-size: 32px; font-weight: 500;
  line-height: 1.15; letter-spacing: -.5px;
  color: var(--ink);
}
.title-lg {
  font-family: Inter, sans-serif;
  font-size: 24px; font-weight: 600;
  line-height: 1.3; letter-spacing: -.3px;
  color: var(--ink);
}
.title-md {
  font-family: Inter, sans-serif;
  font-size: 18px; font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.title-sm {
  font-family: Inter, sans-serif;
  font-size: 16px; font-weight: 600;
  line-height: 1.4;
  color: var(--ink);
}
.body-md { font-size: 16px; font-weight: 400; line-height: 1.55; }
.body-sm { font-size: 14px; font-weight: 400; line-height: 1.55; }
.caption { font-size: 13px; font-weight: 500; line-height: 1.4; }
.caption-uc {
  font-size: 12px; font-weight: 600;
  line-height: 1.4; letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
}
.text-muted  { color: var(--muted); }
.text-body   { color: var(--body); }
.text-ink    { color: var(--ink); }

/* ── Container ──────────────────────────────────────────────── */
.container {
  max-width: var(--max-w);
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}
@media (max-width: 768px) {
  .container { padding-inline: var(--sp-md); }
}

/* ── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: var(--sp-xs);
  font-family: Inter, sans-serif;
  font-size: 14px; font-weight: 600; line-height: 1;
  text-decoration: none;
  border: none; cursor: pointer;
  border-radius: var(--r-md);
  padding: 12px 20px; height: 44px;
  transition: opacity .15s, background .15s;
  white-space: nowrap;
}
.btn-primary {
  background: var(--primary);
  color: var(--on-primary);
}
.btn-primary:hover { background: var(--primary-active); opacity: 1; }

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

.btn-on-color {
  background: var(--canvas);
  color: var(--ink);
}
.btn-on-color:hover { opacity: .9; }

/* ── Top Navigation ─────────────────────────────────────────── */
.top-nav {
  position: sticky; top: 0; z-index: 100;
  background: var(--canvas);
  border-bottom: 1px solid var(--hairline);
  height: 64px;
}
.top-nav__inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}
.top-nav__logo {
  font-family: Inter, sans-serif;
  font-size: 18px; font-weight: 700;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -.5px;
  display: flex; align-items: center; gap: var(--sp-xs);
}
.top-nav__logo .logo-hex {
  width: 28px; height: 28px;
  background: var(--brand-ochre);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
  flex-shrink: 0;
}
.nav-links {
  display: flex; align-items: center; gap: var(--sp-lg);
  list-style: none;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--muted);
  text-decoration: none; line-height: 1.4;
  transition: color .15s;
}
.nav-links a:hover { color: var(--ink); }
.nav-links a.active { color: var(--ink); }
.top-nav__cta { display: flex; align-items: center; gap: var(--sp-sm); }

.hamburger {
  display: none; flex-direction: column;
  gap: 5px; cursor: pointer;
  background: none; border: none; padding: var(--sp-xs);
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--ink); border-radius: 2px;
  transition: transform .2s, opacity .2s;
}

/* ── Hero Band ──────────────────────────────────────────────── */
.hero-band {
  background: var(--canvas);
  padding-block: var(--sp-sec);
}
.hero-band__grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.hero-band__kicker {
  display: inline-block;
  background: var(--surface-card);
  color: var(--muted);
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  border-radius: var(--r-pill);
  padding: 4px 12px;
  margin-bottom: var(--sp-lg);
}
.hero-band__h1 {
  font-family: Inter, sans-serif;
  font-size: 64px; font-weight: 500;
  line-height: 1.0; letter-spacing: -2px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
}
.hero-band__sub {
  font-size: 18px; color: var(--body);
  margin-bottom: var(--sp-xl);
  max-width: 520px;
}
.hero-band__btns { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.hero-illustration {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.hero-illustration img {
  width: 100%; height: 100%; object-fit: cover;
}

/* ── Section helpers ────────────────────────────────────────── */
.section { padding-block: var(--sp-sec); }
.section-label {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--sp-lg);
}
.section-header { margin-bottom: var(--sp-xxl); }
.section-header h2 {
  font-family: Inter, sans-serif;
  font-size: 48px; font-weight: 500;
  line-height: 1.05; letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.section-header p { font-size: 18px; color: var(--body); max-width: 560px; }

/* ── Feature Cards ──────────────────────────────────────────── */
.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);
  display: flex; flex-direction: column; gap: var(--sp-md);
}
.feature-card__icon {
  font-size: 36px; line-height: 1;
}
.feature-card h3 {
  font-size: 18px; font-weight: 600; line-height: 1.4;
}
.feature-card p { font-size: 15px; line-height: 1.6; flex: 1; }

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

/* ── Article Cards ──────────────────────────────────────────── */
.article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-lg);
}
.article-card {
  background: var(--canvas);
  border: 1px solid var(--hairline);
  border-radius: var(--r-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: box-shadow .2s;
}
.article-card:hover {
  box-shadow: 0 4px 20px rgba(0,0,0,.08);
}
.article-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card__img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .3s;
}
.article-card:hover .article-card__img img { transform: scale(1.03); }
.article-card__body {
  padding: var(--sp-lg);
  display: flex; flex-direction: column; gap: var(--sp-sm); flex: 1;
}
.article-card__cat {
  font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--muted);
}
.article-card h3 {
  font-size: 18px; font-weight: 600;
  line-height: 1.35; color: var(--ink);
}
.article-card p { font-size: 14px; color: var(--body); flex: 1; }
.article-card__link {
  font-size: 14px; font-weight: 600;
  color: var(--ink); text-decoration: none;
  display: inline-flex; align-items: center; gap: 4px;
}
.article-card__link::after { content: "→"; }

/* ── Info Band ──────────────────────────────────────────────── */
.info-band {
  background: var(--surface-soft);
  padding-block: var(--sp-sec);
}
.info-band__grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: var(--sp-xxl);
  align-items: center;
}
.info-band__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}
.info-band__img img { width: 100%; height: 100%; object-fit: cover; }
.info-band__content { display: flex; flex-direction: column; gap: var(--sp-lg); }
.info-band__content h2 {
  font-family: Inter, sans-serif;
  font-size: 40px; font-weight: 500;
  letter-spacing: -1px; line-height: 1.1;
  color: var(--ink);
}
.info-band__content p { font-size: 16px; color: var(--body); line-height: 1.6; }
.info-list { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.info-list li {
  display: flex; align-items: flex-start; gap: var(--sp-sm);
  font-size: 15px; color: var(--body-strong);
}
.info-list li::before {
  content: "✦";
  color: var(--brand-ochre);
  font-size: 12px; line-height: 2; flex-shrink: 0;
}

/* ── Stat Strip ─────────────────────────────────────────────── */
.stat-strip {
  background: var(--surface-card);
  border-top: 1px solid var(--hairline);
  border-bottom: 1px solid var(--hairline);
  padding-block: var(--sp-xxl);
}
.stat-strip__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}
.stat-item__number {
  font-family: Inter, sans-serif;
  font-size: 40px; font-weight: 500;
  letter-spacing: -1px; color: var(--ink);
  line-height: 1.1;
}
.stat-item__label { font-size: 14px; color: var(--muted); margin-top: var(--sp-xs); }

/* ── CTA Band ───────────────────────────────────────────────── */
.cta-band {
  background: var(--surface-soft);
  border-radius: var(--r-xl);
  padding: 80px var(--sp-sec);
  text-align: center;
  margin-block: var(--sp-sec);
}
.cta-band h2 {
  font-family: Inter, sans-serif;
  font-size: 40px; font-weight: 500;
  letter-spacing: -1px; line-height: 1.1;
  color: var(--ink);
  margin-bottom: var(--sp-md);
}
.cta-band p { font-size: 18px; color: var(--body); margin-bottom: var(--sp-xl); }
.cta-band__btns { display: flex; gap: var(--sp-sm); justify-content: center; flex-wrap: wrap; }

/* ── Footer ─────────────────────────────────────────────────── */
.footer {
  background: var(--surface-soft);
  border-top: 1px solid var(--hairline);
  padding-block: 80px var(--sp-xxl);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--sp-xxl);
  margin-bottom: var(--sp-xxl);
}
.footer__brand { display: flex; flex-direction: column; gap: var(--sp-md); }
.footer__logo {
  font-family: Inter, sans-serif;
  font-size: 16px; font-weight: 700;
  color: var(--ink); text-decoration: none;
  letter-spacing: -.4px;
  display: flex; align-items: center; gap: var(--sp-xs);
}
.footer__logo .logo-hex {
  width: 22px; height: 22px;
  background: var(--brand-ochre);
  clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%);
}
.footer__desc { font-size: 14px; color: var(--muted); max-width: 260px; line-height: 1.6; }
.footer__col-title {
  font-size: 13px; font-weight: 600;
  letter-spacing: .5px; color: var(--ink);
  margin-bottom: var(--sp-md);
}
.footer__links { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.footer__links a {
  font-size: 14px; color: var(--muted);
  text-decoration: none; transition: color .15s;
}
.footer__links a:hover { color: var(--ink); }
.footer__bottom {
  border-top: 1px solid var(--hairline);
  padding-top: var(--sp-lg);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: var(--sp-sm);
}
.footer__copy { font-size: 13px; color: var(--muted-soft); }
.footer__legal { display: flex; gap: var(--sp-lg); }
.footer__legal a { font-size: 13px; color: var(--muted-soft); text-decoration: none; }
.footer__legal a:hover { color: var(--muted); }

/* ── Cookie Banner ──────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: var(--sp-lg); left: var(--sp-lg); right: var(--sp-lg);
  background: var(--surface-dark);
  color: var(--on-dark);
  border-radius: var(--r-lg);
  padding: var(--sp-lg) var(--sp-xl);
  display: flex; align-items: center; gap: var(--sp-xl);
  flex-wrap: wrap;
  z-index: 9999;
  box-shadow: 0 8px 40px rgba(0,0,0,.25);
  transition: opacity .3s, transform .3s;
}
.cookie-banner.hidden {
  opacity: 0; transform: translateY(20px); pointer-events: none;
}
.cookie-banner__text { flex: 1; font-size: 14px; color: var(--on-dark-soft); min-width: 200px; }
.cookie-banner__text a { color: var(--on-dark); }
.cookie-banner__btns { display: flex; gap: var(--sp-sm); }
.cookie-accept { background: var(--brand-ochre); color: var(--ink); border: none;
  font-size: 14px; font-weight: 600; padding: 10px 18px; border-radius: var(--r-md);
  cursor: pointer; }
.cookie-reject { background: transparent; color: var(--on-dark-soft); border: 1px solid #444;
  font-size: 14px; font-weight: 500; padding: 10px 18px; border-radius: var(--r-md);
  cursor: pointer; }

/* ── Article Page ───────────────────────────────────────────── */
.article-hero {
  background: var(--canvas);
  padding-top: var(--sp-xxl);
  padding-bottom: var(--sp-xl);
}
.article-hero__meta {
  display: flex; align-items: center; gap: var(--sp-sm);
  margin-bottom: var(--sp-lg);
}
.article-hero__cat {
  background: var(--surface-card);
  color: var(--muted); font-size: 12px; font-weight: 600;
  letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 12px; border-radius: var(--r-pill);
  text-decoration: none;
}
.article-hero__date { font-size: 13px; color: var(--muted-soft); }
.article-hero h1 {
  font-family: Inter, sans-serif;
  font-size: 48px; font-weight: 500;
  line-height: 1.08; letter-spacing: -1.5px;
  color: var(--ink);
  margin-bottom: var(--sp-lg);
  max-width: 820px;
}
.article-hero__lead {
  font-size: 18px; color: var(--body); max-width: 700px; line-height: 1.6;
  margin-bottom: var(--sp-xl);
}
.article-hero__img {
  border-radius: var(--r-xl);
  overflow: hidden;
  aspect-ratio: 21/9;
  max-height: 480px;
}
.article-hero__img img { width: 100%; height: 100%; object-fit: cover; }

.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: var(--sp-xxl);
  align-items: start;
  padding-block: var(--sp-sec);
}
.article-body h2 {
  font-family: Inter, sans-serif;
  font-size: 28px; font-weight: 500;
  letter-spacing: -.5px; line-height: 1.2;
  color: var(--ink); margin-top: var(--sp-xxl); margin-bottom: var(--sp-md);
}
.article-body h3 {
  font-size: 20px; font-weight: 600;
  line-height: 1.3; color: var(--ink);
  margin-top: var(--sp-xl); margin-bottom: var(--sp-sm);
}
.article-body p {
  font-size: 16px; color: var(--body); line-height: 1.7;
  margin-bottom: var(--sp-md);
}
.article-body ul, .article-body ol {
  margin-left: var(--sp-lg); margin-bottom: var(--sp-md);
}
.article-body li {
  font-size: 16px; color: var(--body); line-height: 1.7;
  margin-bottom: var(--sp-xs);
}
.article-body img {
  border-radius: var(--r-lg);
  margin-block: var(--sp-xl);
  width: 100%;
}
.article-body .callout {
  background: var(--surface-card);
  border-left: 4px solid var(--brand-ochre);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  padding: var(--sp-lg);
  margin-block: var(--sp-xl);
  font-size: 15px; color: var(--body-strong);
}
.article-sidebar { display: flex; flex-direction: column; gap: var(--sp-lg); }
.sidebar-card {
  background: var(--surface-card);
  border-radius: var(--r-lg);
  padding: var(--sp-lg);
}
.sidebar-card h4 {
  font-size: 14px; font-weight: 600;
  letter-spacing: .5px; color: var(--ink);
  margin-bottom: var(--sp-md);
}
.sidebar-card ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-sm); }
.sidebar-card ul li a {
  font-size: 14px; color: var(--body);
  text-decoration: none; transition: color .15s;
}
.sidebar-card ul li a:hover { color: var(--ink); }
.sidebar-toc ol { list-style: decimal; margin-left: var(--sp-md); }
.sidebar-toc ol li { font-size: 13px; color: var(--muted); margin-bottom: 6px; }
.sidebar-toc ol li a { color: var(--muted); text-decoration: none; }
.sidebar-toc ol li a:hover { color: var(--ink); }

/* ── General page layouts ───────────────────────────────────── */
.page-hero {
  background: var(--canvas);
  padding-block: var(--sp-sec) var(--sp-xxl);
  border-bottom: 1px solid var(--hairline);
}
.page-hero h1 {
  font-family: Inter, sans-serif;
  font-size: 48px; font-weight: 500;
  letter-spacing: -1.5px; line-height: 1.08;
  color: var(--ink); margin-bottom: var(--sp-md);
}
.page-hero p { font-size: 18px; color: var(--body); max-width: 600px; }
.prose-section { padding-block: var(--sp-sec); }
.prose { max-width: 760px; }
.prose h2 {
  font-family: Inter, sans-serif;
  font-size: 28px; font-weight: 500;
  letter-spacing: -.5px; line-height: 1.2;
  color: var(--ink); margin-top: var(--sp-xxl); margin-bottom: var(--sp-md);
}
.prose h3 { font-size: 20px; font-weight: 600; color: var(--ink); margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.prose p { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: var(--sp-md); }
.prose ul, .prose ol { margin-left: var(--sp-lg); margin-bottom: var(--sp-md); }
.prose li { font-size: 16px; color: var(--body); line-height: 1.7; margin-bottom: var(--sp-xs); }
.prose a { color: var(--ink); }

/* ── Mobile Nav ─────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed; inset: 0; z-index: 200;
  background: var(--canvas);
  flex-direction: column;
  padding: var(--sp-xl);
  overflow-y: auto;
}
.mobile-nav.open { display: flex; }
.mobile-nav__close {
  align-self: flex-end; background: none; border: none;
  font-size: 24px; cursor: pointer; padding: var(--sp-xs);
  color: var(--ink);
}
.mobile-nav__links {
  list-style: none;
  display: flex; flex-direction: column;
  gap: var(--sp-xl);
  margin-top: var(--sp-xxl);
}
.mobile-nav__links a {
  font-size: 28px; font-weight: 500; letter-spacing: -.5px;
  color: var(--ink); text-decoration: none;
}

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-band__h1 { font-size: 48px; letter-spacing: -1.5px; }
  .feature-grid  { grid-template-columns: repeat(2, 1fr); }
  .article-grid  { grid-template-columns: repeat(2, 1fr); }
  .footer__grid  { grid-template-columns: 1fr 1fr; }
  .stat-strip__grid { grid-template-columns: repeat(2, 1fr); }
  .article-layout { grid-template-columns: 1fr; }
  .article-sidebar { display: none; }
}
@media (max-width: 768px) {
  .hero-band__grid   { grid-template-columns: 1fr; }
  .hero-band__h1     { font-size: 36px; letter-spacing: -1px; }
  .hero-illustration { display: none; }
  .hero-band         { padding-block: 64px; }
  .feature-grid      { grid-template-columns: 1fr; }
  .article-grid      { grid-template-columns: 1fr; }
  .info-band__grid   { grid-template-columns: 1fr; }
  .info-band__img    { display: none; }
  .footer__grid      { grid-template-columns: 1fr; }
  .stat-strip__grid  { grid-template-columns: repeat(2, 1fr); }
  .section-header h2 { font-size: 32px; }
  .nav-links         { display: none; }
  .top-nav__cta      { display: none; }
  .hamburger         { display: flex; }
  .cta-band          { padding: 48px var(--sp-lg); border-radius: var(--r-lg); }
  .cta-band h2       { font-size: 28px; }
  .article-hero h1   { font-size: 32px; }
  .page-hero h1      { font-size: 32px; }
}
