/* Newsreader (editorial serif) + Manrope (geometric sans) — tension between precision and warmth, suits AI consulting tone */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,600;1,6..72,300;1,6..72,400&family=Manrope:wght@400;500;600;700;800&display=swap');

/* ============================================================
   reset
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { background: none; border: none; cursor: pointer; font: inherit; }
input, textarea, select { font: inherit; }

/* ============================================================
   tokens
   ============================================================ */
:root {
  /* colors */
  --lime: #c8f53a;
  --lime-dim: #b3e020;
  --lime-pale: #eefbb8;
  --slate: #1a1f2e;
  --slate-mid: #2c3347;
  --slate-light: #4a526b;
  --mist: #f5f6f8;
  --white: #ffffff;
  --border: #e2e5ec;
  --text-main: #1a1f2e;
  --text-muted: #6b7491;
  --text-light: #9ba4c0;

  /* typography */
  --font-head: 'Newsreader', Georgia, serif;
  --font-body: 'Manrope', system-ui, sans-serif;

  /* sizing */
  --header-h: 64px;
  --logo-w: 160px;
  --logo-h: 36px;
  --container-w: 1140px;
  --content-w: 720px;

  /* spacing */
  --sp-xs: 0.25rem;
  --sp-sm: 0.5rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4.5rem;
  --sp-4xl: 6rem;

  /* radius */
  --r-sm: 4px;
  --r-md: 8px;
  --r-lg: 16px;
  --r-xl: 24px;
  --r-full: 9999px;

  /* shadow */
  --sh-sm: 0 1px 4px rgba(26,31,46,0.07);
  --sh-md: 0 4px 20px rgba(26,31,46,0.10);
  --sh-lg: 0 12px 40px rgba(26,31,46,0.14);

  /* transitions */
  --t-fast: 0.15s ease;
  --t-mid: 0.25s ease;
  --t-slow: 0.4s ease;

  /* z-index */
  --z-base: 1;
  --z-header: 100;
  --z-mobile: 200;
  --z-cookie: 300;
  --z-back-to-top: 150;
}

/* ============================================================
   base
   ============================================================ */
html { scroll-behavior: smooth; font-size: 16px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 400;
  line-height: 1.2;
  color: var(--slate);
}
h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 2.5vw, 1.5rem); }
h4 { font-size: 1.1rem; font-family: var(--font-body); font-weight: 700; }
p { margin-bottom: var(--sp-md); }
p:last-child { margin-bottom: 0; }
strong { font-weight: 700; }
em { font-style: italic; }

/* ============================================================
   layout
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-w);
  margin-inline: auto;
  padding-inline: var(--sp-xl);
}
main {
  padding-top: var(--header-h);
  min-height: 60vh;
}
.section { padding-block: var(--sp-4xl); }
.section--sm { padding-block: var(--sp-2xl); }
.section--lg { padding-block: 5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-xl); }

/* ============================================================
   header
   ============================================================ */
#site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: var(--z-header);
  overflow: hidden;
}
.nav-inner {
  display: flex;
  align-items: center;
  height: var(--header-h);
  gap: var(--sp-xl);
}
.yuckc-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.yuckc-logo img {
  max-width: var(--logo-w);
  max-height: var(--logo-h);
  width: auto;
  height: auto;
}
.footer-brand .yuckc-logo img {
  max-width: calc(var(--logo-w) * 0.9);
  max-height: calc(var(--logo-h) * 0.9);
  width: auto;
  height: auto;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  flex: 1;
justify-content: flex-end;
}
.nav-links a {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-main);
  letter-spacing: 0.01em;
  transition: color var(--t-fast);
  white-space: nowrap;
}
.nav-links a:hover,
.nav-links a.active {
  color: var(--slate);
}
.nav-links a.active {
  border-bottom: 2px solid var(--lime);
  padding-bottom: 2px;
}
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  margin-left: auto;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--slate);
  border-radius: 2px;
  transition: transform var(--t-mid), opacity var(--t-mid);
}

/* ============================================================
   mobile menu
   ============================================================ */
.mobile-menu {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-h);
  left: 0; right: 0; bottom: 0;
  z-index: var(--z-mobile);
  background: var(--white);
  padding: var(--sp-xl);
  gap: var(--sp-lg);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  overflow-y: auto;
}
.mobile-menu.open {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0s;
}
.mobile-menu a {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--slate);
  padding-block: var(--sp-sm);
  border-bottom: 1px solid var(--border);
}

/* ============================================================
   hero — typographic (Variant B)
   ============================================================ */
.hero {
  background: var(--slate);
  padding-block: var(--sp-4xl) 5rem;
  overflow: hidden;
}
.hero__inner {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xl);
  max-width: 800px;
}
.hero__label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--lime);
}
.hero__label::before {
  content: '';
  display: block;
  width: 20px;
  height: 2px;
  background: var(--lime);
}
.hero h1 {
  color: var(--white);
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-style: italic;
  line-height: 1.1;
}
.hero h1 em { color: var(--lime); font-style: normal; }
.hero__sub {
  color: rgba(255,255,255,0.72);
  font-size: 1.05rem;
  max-width: 560px;
  margin-bottom: 0;
}
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-md);
}

/* ============================================================
   buttons & pills
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-sm);
  padding: 0.625rem 1.5rem;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.875rem;
  letter-spacing: 0.01em;
  transition: background var(--t-fast), color var(--t-fast), box-shadow var(--t-fast);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--lime);
  color: var(--slate);
}
.btn-primary:hover {
  background: var(--lime-dim);
  box-shadow: var(--sh-md);
}
.btn-ghost {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-ghost:hover {
  border-color: var(--lime);
  color: var(--lime);
}
.btn-outline {
  background: transparent;
  color: var(--slate);
  border: 1.5px solid var(--border);
}
.btn-outline:hover {
  border-color: var(--slate);
  box-shadow: var(--sh-sm);
}

/* ============================================================
   process selector — unique homepage component
   ============================================================ */
.process-selector {
  background: var(--mist);
  padding-block: var(--sp-3xl);
}
.process-selector__head {
  margin-bottom: var(--sp-2xl);
}
.process-selector__head p { color: var(--text-muted); }
.ps-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
}
.ps-tab {
  padding: var(--sp-sm) var(--sp-lg);
  border-radius: var(--r-full);
  border: 1.5px solid var(--border);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-muted);
  background: var(--white);
  cursor: pointer;
  transition: all var(--t-fast);
}
.ps-tab.active, .ps-tab:hover {
  border-color: var(--slate);
  color: var(--slate);
  background: var(--white);
}
.ps-tab.active {
  background: var(--lime-pale);
  border-color: var(--lime-dim);
  color: var(--slate);
}
.ps-panel {
  display: none;
  background: var(--white);
  border-radius: var(--r-lg);
  padding: var(--sp-2xl);
  border: 1px solid var(--border);
  box-shadow: var(--sh-sm);
}
.ps-panel.active { display: block; }
.ps-panel h3 { margin-bottom: var(--sp-md); }
.ps-panel p { color: var(--text-muted); margin-bottom: var(--sp-md); }
.ps-panel ul { display: flex; flex-direction: column; gap: var(--sp-sm); margin-bottom: var(--sp-lg); }
.ps-panel ul li {
  display: flex;
  gap: var(--sp-sm);
  color: var(--text-muted);
  font-size: 0.95rem;
}
.ps-panel ul li::before {
  content: '';
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--lime-dim);
  margin-top: 0.5em;
  flex-shrink: 0;
}

/* ============================================================
   counters section
   ============================================================ */
.counters {
  background: var(--slate);
  padding-block: var(--sp-2xl);
}
.counters__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  text-align: center;
}
.counter__num {
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 300;
  color: var(--lime);
  line-height: 1;
}
.counter__label {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: var(--sp-xs);
}

/* ============================================================
   article card type
   ============================================================ */
.article-card {
  display: block;
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--white);
  transition: box-shadow var(--t-mid), transform var(--t-mid);
}
.article-card:hover {
  box-shadow: var(--sh-md);
  transform: translateY(-3px);
}
.article-card__img {
  aspect-ratio: 16/9;
  overflow: hidden;
}
.article-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--t-slow);
}
.article-card:hover .article-card__img img { transform: scale(1.04); }
.article-card__body {
  padding: var(--sp-lg);
}
.article-card__meta {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.775rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--sp-sm);
}
.article-card__title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 400;
  color: var(--slate);
  line-height: 1.3;
  margin-bottom: var(--sp-sm);
}
.article-card__excerpt {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* text-only article card variant */
.article-card--text {
  padding: var(--sp-lg);
}
.article-card--text:hover { box-shadow: var(--sh-md); transform: translateY(-2px); }

/* ============================================================
   inline accordion FAQ
   ============================================================ */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-block: var(--sp-lg);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1rem;
  color: var(--slate);
  text-align: left;
  gap: var(--sp-md);
}
.faq-trigger svg { flex-shrink: 0; transition: transform var(--t-mid); }
.faq-trigger[aria-expanded="true"] svg { transform: rotate(45deg); }
.faq-body {
  overflow: hidden;
  max-height: 0;
  transition: max-height var(--t-slow);
}
.faq-body__inner { padding-bottom: var(--sp-lg); color: var(--text-muted); line-height: 1.7; }

/* ============================================================
   articles index — hub
   ============================================================ */
.articles-hub { padding-block: var(--sp-4xl); }
.hub-head { margin-bottom: var(--sp-2xl); }
.hub-head p { color: var(--text-muted); }
.articles-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-xl);
}
.articles-grid .article-card:first-child {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.articles-grid .article-card:first-child .article-card__img { aspect-ratio: unset; }

/* ============================================================
   article single page
   ============================================================ */
.article-hero-img {
  width: 100%;
  aspect-ratio: 21/9;
  object-fit: cover;
  border-radius: var(--r-lg);
  margin-bottom: var(--sp-2xl);
}
.article-body {
  max-width: var(--content-w);
  margin-inline: auto;
}
.article-body h2 { margin-top: var(--sp-2xl); margin-bottom: var(--sp-md); }
.article-body h3 { margin-top: var(--sp-xl); margin-bottom: var(--sp-sm); }
.article-body p { color: var(--text-muted); line-height: 1.8; margin-bottom: var(--sp-lg); }
.article-body ul, .article-body ol {
  padding-left: var(--sp-xl);
  margin-bottom: var(--sp-lg);
}
.article-body li { color: var(--text-muted); margin-bottom: var(--sp-sm); line-height: 1.7; }
.article-body blockquote {
  border-left: 4px solid var(--lime);
  margin: var(--sp-xl) 0;
  padding: var(--sp-md) var(--sp-xl);
  background: var(--lime-pale);
  border-radius: 0 var(--r-md) var(--r-md) 0;
  font-family: var(--font-head);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--slate);
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-lg);
  margin-bottom: var(--sp-2xl);
  padding-bottom: var(--sp-xl);
  border-bottom: 1px solid var(--border);
}
.article-meta__tag {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--slate);
  background: var(--lime-pale);
  padding: 2px 10px;
  border-radius: var(--r-full);
}
.article-meta__detail {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* related reading section */
.related-reading { margin-top: var(--sp-3xl); padding-top: var(--sp-2xl); border-top: 1px solid var(--border); }
.related-reading h3 { margin-bottom: var(--sp-xl); }

/* ============================================================
   newsletter CTA (Variant A - subdued)
   ============================================================ */
.newsletter-cta {
  background: var(--mist);
  border-radius: var(--r-lg);
  padding: var(--sp-xl);
  margin: var(--sp-2xl) 0;
  border: 1px solid var(--border);
}
.newsletter-cta h4 { margin-bottom: var(--sp-xs); }
.newsletter-cta p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: var(--sp-md); }
.newsletter-form { display: flex; gap: var(--sp-sm); flex-wrap: wrap; }
.newsletter-form input[type="email"] {
  flex: 1;
  min-width: 200px;
  padding: 0.6rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-full);
  background: var(--white);
  font-size: 0.9rem;
}
.newsletter-form input[type="email"]:focus {
  outline: none;
  border-color: var(--slate-light);
}
.newsletter-confirm { color: var(--text-muted); font-size: 0.875rem; }

/* ============================================================
   how we help page — services
   ============================================================ */
.service-entry {
  padding-block: var(--sp-2xl);
  border-bottom: 1px solid var(--border);
}
.service-entry:last-of-type { border-bottom: none; }
.service-entry__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: var(--sp-sm);
}
.service-entry h3 { margin-bottom: var(--sp-md); }
.service-entry p { color: var(--text-muted); }
.service-includes {
  margin-top: var(--sp-md);
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
}
.service-includes li {
  font-size: 0.9rem;
  color: var(--text-muted);
  padding-left: var(--sp-md);
  position: relative;
}
.service-includes li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--lime-dim);
}
.service-note {
  margin-top: var(--sp-md);
  padding: var(--sp-md);
  background: var(--mist);
  border-radius: var(--r-md);
  font-size: 0.875rem;
  color: var(--text-muted);
  border-left: 3px solid var(--border);
}

/* ============================================================
   about / team
   ============================================================ */
.author-bio {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  padding: var(--sp-lg);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  background: var(--mist);
}
.author-bio__name { font-weight: 700; font-size: 1rem; }
.author-bio__role { font-size: 0.8rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.author-bio__text { font-size: 0.9rem; color: var(--text-muted); line-height: 1.65; }
.author-bio__link { font-size: 0.85rem; color: var(--slate); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================
   contact page
   ============================================================ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--sp-3xl);
  align-items: start;
}
.contact-info__item {
  display: flex;
  flex-direction: column;
  gap: var(--sp-xs);
  padding-block: var(--sp-md);
  border-bottom: 1px solid var(--border);
}
.contact-info__label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
}
.contact-form .form-group { margin-bottom: var(--sp-lg); }
.contact-form label {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: var(--sp-sm);
  color: var(--slate);
}
.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  padding: 0.7rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: var(--r-md);
  background: var(--white);
  color: var(--text-main);
  font-size: 0.95rem;
  transition: border-color var(--t-fast);
}
.contact-form input:focus,
.contact-form textarea:focus,
.contact-form select:focus {
  outline: none;
  border-color: var(--slate-light);
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.form-success {
  display: none;
  padding: var(--sp-xl);
  background: var(--lime-pale);
  border-radius: var(--r-lg);
  text-align: center;
  border: 1px solid var(--lime-dim);
}
.form-success p { color: var(--slate); font-weight: 600; margin: 0; }

/* captcha */
.captcha-group { display: flex; align-items: center; gap: var(--sp-md); flex-wrap: wrap; }
.captcha-group label { margin-bottom: 0; white-space: nowrap; }
.captcha-group input { max-width: 100px; }
.captcha-error { color: #c0392b; font-size: 0.85rem; display: none; }

/* ============================================================
   page header (inner pages)
   ============================================================ */
.page-header {
  background: var(--slate);
  padding-block: var(--sp-3xl) var(--sp-2xl);
}
.page-header h1 { color: var(--white); margin-bottom: var(--sp-md); }
.page-header p { color: rgba(255,255,255,0.65); max-width: 560px; margin-bottom: 0; }

/* ============================================================
   breadcrumb
   ============================================================ */
.breadcrumb {
  padding: var(--sp-md) 0;
  border-bottom: 1px solid var(--border);
  background: var(--white);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--sp-sm);
  font-size: 0.825rem;
  color: var(--text-muted);
}
.breadcrumb li { display: flex; align-items: center; gap: var(--sp-sm); }
.breadcrumb a { color: var(--text-muted); transition: color var(--t-fast); }
.breadcrumb a:hover { color: var(--slate); }
.breadcrumb .sep { color: var(--text-light); }
.breadcrumb [aria-current="page"] { color: var(--slate); font-weight: 600; }

/* ============================================================
   legal pages
   ============================================================ */
.legal-body {
  max-width: var(--content-w);
  margin-inline: auto;
  padding-block: var(--sp-3xl);
}
.legal-body h2 { margin-top: var(--sp-2xl); margin-bottom: var(--sp-md); }
.legal-body p, .legal-body li { color: var(--text-muted); line-height: 1.8; margin-bottom: var(--sp-md); }
.legal-body ul { padding-left: var(--sp-xl); }
.legal-body li { margin-bottom: var(--sp-sm); }
.legal-updated {
  font-size: 0.825rem;
  color: var(--text-light);
  margin-bottom: var(--sp-2xl);
}
.cookie-table {
  width: 100%;
  border-collapse: collapse;
  margin: var(--sp-xl) 0;
  font-size: 0.9rem;
}
.cookie-table th {
  text-align: left;
  padding: var(--sp-sm) var(--sp-md);
  background: var(--surface);
  border-bottom: 2px solid var(--border);
  font-family: var(--font-body);
  font-weight: 600;
}
.cookie-table td {
  padding: var(--sp-sm) var(--sp-md);
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  vertical-align: top;
}
.cookie-table code {
  font-size: 0.8rem;
  background: var(--surface);
  padding: 2px 6px;
  border-radius: var(--radius-sm);
  color: var(--accent);
}

/* ============================================================
   footer — asymmetric (Variant D)
   ============================================================ */
footer {
  background: var(--slate);
  color: rgba(255,255,255,0.7);
  padding-block: var(--sp-4xl) var(--sp-2xl);
}
.footer-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-3xl);
  padding-bottom: var(--sp-3xl);
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: var(--sp-2xl);
}
.footer-slogan {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-style: italic;
  color: var(--white);
  line-height: 1.25;
}
.footer-slogan em { color: var(--lime); font-style: normal; }
.footer-cols {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}
.footer-col h4 {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: var(--sp-md);
}
.footer-col a {
  display: block;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-bottom: var(--sp-sm);
  transition: color var(--t-fast);
}
.footer-col a:hover { color: var(--lime); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--sp-md);
}
.footer-copy { font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.footer-brand { display: flex; align-items: center; }

/* ============================================================
   cookie banner
   ============================================================ */
#cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0; right: 0;
  background: var(--slate);
  color: var(--white);
  padding: var(--sp-lg) var(--sp-xl);
  z-index: var(--z-cookie);
  display: none;
  border-top: 3px solid var(--lime);
}
.cookie-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-xl);
  flex-wrap: wrap;
  max-width: var(--container-w);
  margin-inline: auto;
}
.cookie-text { font-size: 0.875rem; color: rgba(255,255,255,0.8); }
.cookie-text a { color: var(--lime); text-decoration: underline; }
.cookie-actions { display: flex; gap: var(--sp-sm); flex-shrink: 0; }
#cookie-accept {
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  background: var(--lime);
  color: var(--slate);
  font-weight: 700;
  font-size: 0.8rem;
  transition: background var(--t-fast);
}
#cookie-accept:hover { background: var(--lime-dim); }
#cookie-decline {
  padding: 0.4rem 1rem;
  border-radius: var(--r-full);
  background: transparent;
  color: rgba(255,255,255,0.6);
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all var(--t-fast);
}
#cookie-decline:hover { color: var(--white); border-color: rgba(255,255,255,0.5); }

/* ============================================================
   back to top
   ============================================================ */
#back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px;
  height: 44px;
  background: var(--slate);
  color: var(--lime);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: var(--z-back-to-top);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity var(--t-mid), transform var(--t-mid);
  box-shadow: var(--sh-md);
  cursor: pointer;
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover { background: var(--slate-mid); }

/* ============================================================
   scroll reveal
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.in-view { opacity: 1; transform: none; }

/* ============================================================
   animations
   ============================================================ */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}
.animate-fadeup {
  animation: fadeUp 0.65s ease both;
}
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.35s; }

/* ============================================================
   responsive
   ============================================================ */
@media (min-width: 1025px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
}

@media (max-width: 1024px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .articles-grid .article-card:first-child {
    grid-template-columns: 1fr;
    grid-column: span 2;
  }
  .counters__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .container { padding-inline: var(--sp-lg); }
  .section { padding-block: var(--sp-2xl); }
  .section--lg { padding-block: var(--sp-3xl); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid .article-card:first-child {
    grid-column: span 1;
    grid-template-columns: 1fr;
  }
  .footer-top { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .contact-layout { grid-template-columns: 1fr; gap: var(--sp-2xl); }
  .hero { padding-block: var(--sp-3xl) var(--sp-2xl); }
  .counters__grid { grid-template-columns: repeat(2, 1fr); gap: var(--sp-xl); }
}

@media (max-width: 480px) {
  .counters__grid { grid-template-columns: 1fr 1fr; }
  .footer-cols { grid-template-columns: 1fr; }
  .cookie-inner { flex-direction: column; gap: var(--sp-md); }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
}
