
/* ---------- Tokens ---------- */
:root {
  /* Brand red (from Athrodax logo) */
  --teal-900: #3a0a0a;
  --teal-800: #5e0f12;
  --teal-700: #8a1419;
  --teal-600: #a8181d;
  --teal-500: #c93a3f;
  --teal-100: #fbe9ea;
  --teal-50:  #fdf5f5;

  --ink-900: #0b1d24;
  --ink-700: #2b3b42;
  --ink-500: #5b6b72;
  --ink-300: #9aa6ab;
  --line:    #e3e8ea;
  --bg:      #ffffff;
  --bg-alt:  #f6f8f9;

  --amber-50:  #fff8e6;
  --amber-200: #f5dca0;
  --amber-700: #8a6200;

  --radius-sm: 6px;
  --radius:    10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(11,29,36,.06), 0 1px 1px rgba(11,29,36,.04);
  --shadow:    0 4px 16px rgba(11,29,36,.08), 0 1px 2px rgba(11,29,36,.04);
  --shadow-lg: 0 18px 40px -12px rgba(11,29,36,.18), 0 4px 12px rgba(11,29,36,.06);

  --container: 1240px;
  --gutter: clamp(20px, 4vw, 40px);

  --font-sans: 'Inter', system-ui, -apple-system, Segoe UI, Helvetica, Arial, sans-serif;
  --font-display: 'DM Sans', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink-900);
  background: var(--bg);
  line-height: 1.55;
  font-size: 16.5px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--teal-700); text-decoration: none; }
a:hover { color: var(--teal-800); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink-900);
  letter-spacing: -0.012em;
  margin: 0;
  text-wrap: balance;
}
h1 { font-size: clamp(38px, 5.6vw, 64px); line-height: 1.04; font-weight: 600; letter-spacing: -0.022em; }
h2 { font-size: clamp(28px, 3.4vw, 40px); line-height: 1.12; font-weight: 600; letter-spacing: -0.018em; }
h3 { font-size: 22px; line-height: 1.25; font-weight: 600; }
p  { margin: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding-inline: var(--gutter);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  height: 50px;
  padding: 0 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15.5px;
  letter-spacing: 0.005em;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  font-family: var(--font-sans);
  white-space: nowrap;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(3px); }

.btn-primary {
  background: var(--teal-700);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--teal-800); color: #fff; }

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.55);
  color: #fff;
}
.btn-outline:hover { background: rgba(255,255,255,.1); border-color: #fff; }

.btn-ghost {
  background: transparent;
  border-color: var(--line);
  color: var(--ink-900);
}
.btn-ghost:hover { border-color: var(--teal-700); color: var(--teal-700); }

.btn-white {
  background: #fff;
  color: var(--teal-700);
}
.btn-white:hover { background: var(--teal-50); }

.btn-full { width: 100%; justify-content: center; margin-top: 16px; }
.btn-full-tight { margin-top: 4px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--teal-700);
  font-weight: 600;
  font-size: 15px;
}
.btn-link .arrow { transition: transform .2s ease; }
.btn-link:hover .arrow { transform: translateX(3px); }

/* ---------- Top utility bar ---------- */
.utility-bar {
  background: var(--teal-900);
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 38px;
  gap: 24px;
}
.utility-bar a { color: rgba(255,255,255,.86); }
.utility-bar a:hover { color: #fff; }
.utility-bar .ul-left { display: flex; gap: 22px; align-items: center; }
.utility-bar .ul-left span { display: inline-flex; align-items: center; gap: 8px; }
.utility-bar svg { width: 14px; height: 14px; opacity: .8; }
.utility-bar .ul-right { display: flex; gap: 20px; }
@media (max-width: 720px) {
  .utility-bar .ul-right { display: none; }
}

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.92);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 128px;
}
.nav-logo img { height: 48px; width: auto; display: block; }

/* Shrink-on-scroll: toggled by includes.js past a scroll threshold. Height
   is the only lever (not font-size) so nav text stays legible/clickable at
   the shrunk size. Reduced-motion users get an instant snap - no transition
   property at all outside this media query. */
@media (prefers-reduced-motion: no-preference) {
  .nav { transition: height .2s ease; }
  .nav-logo img { transition: height .2s ease; }
}
.header--scrolled .nav { height: 64px; }
.header--scrolled .nav-logo img { height: 24px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a, .nav-links .nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 12px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--ink-900);
  border-radius: 8px;
  cursor: pointer;
}
.nav-links a:hover, .nav-links .nav-item:hover { color: var(--teal-700); background: var(--teal-50); }
.nav-links .caret { width: 10px; height: 10px; opacity: .65; transition: transform .2s ease; }
.nav-item:hover .caret, .has-menu.is-open .caret { transform: rotate(180deg); }
.nav-cta { margin-left: 8px; }

/* dropdowns */
.has-menu { position: relative; }
.menu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  visibility: hidden;
  transition: opacity .18s ease, transform .18s ease;
  z-index: 60;
}
/* .is-open is driven by initDropdowns() in includes.js (hover + 100ms close
   delay). :focus-within kept as a no-JS/keyboard-tab fallback. */
.has-menu.is-open > .menu,
.has-menu:focus-within > .menu {
  opacity: 1;
  transform: none;
  pointer-events: auto;
  visibility: visible;
}
.menu a {
  display: block;
  padding: 10px 12px;
  font-size: 14.5px;
  border-radius: 6px;
  color: var(--ink-900);
  font-weight: 500;
}
.menu a:hover { background: var(--teal-50); color: var(--teal-700); }
.menu .menu-label {
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-300);
  padding: 8px 12px 4px;
  font-weight: 600;
}

/* mobile nav */
.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 8px;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; color: var(--ink-900); }

@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 12px var(--gutter);
    box-shadow: var(--shadow);
  }
  .nav-links.open a, .nav-links.open .nav-item { width: 100%; }
  /* In the burger drawer submenus are always expanded - no hover, so touch
     never needs a throwaway first tap on the parent. */
  .nav-links.open .menu {
    position: static;
    box-shadow: none;
    border: 0;
    padding: 0 0 8px 12px;
    min-width: 0;
    opacity: 1;
    transform: none;
    pointer-events: auto;
    visibility: visible;
    transition: none;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--teal-900);
  color: #fff;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(58,10,10,.55) 0%, rgba(58,10,10,.92) 100%),
    linear-gradient(90deg, rgba(138,20,25,.78) 0%, rgba(58,10,10,.55) 60%, rgba(58,10,10,.35) 100%),
    url('images/home-hero-team.jpg') center/cover no-repeat;
  z-index: -1;
}
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 48px;
  padding-top: clamp(72px, 12vw, 140px);
  padding-bottom: clamp(56px, 9vw, 96px);
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px 6px 6px;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255,255,255,.86);
  margin-bottom: 28px;
}
.hero-eyebrow .dot {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--teal-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0;
}
.hero h1 { color: #fff; max-width: 18ch; }
.hero-sub {
  margin-top: 24px;
  font-size: clamp(17px, 1.6vw, 20px);
  color: rgba(255,255,255,.82);
  max-width: 58ch;
  line-height: 1.5;
}
.hero-cta {
  display: flex;
  gap: 14px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-meta {
  align-self: end;
  display: grid;
  gap: 18px;
  padding: 24px 26px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  min-width: 260px;
}
.hero-meta .meta-row { display: flex; gap: 14px; align-items: flex-start; }
.hero-meta .meta-row svg { width: 18px; height: 18px; color: var(--teal-500); flex: 0 0 auto; margin-top: 2px; }
.hero-meta .meta-row strong { display: block; color: #fff; font-weight: 600; font-size: 14.5px; }
.hero-meta .meta-row span { color: rgba(255,255,255,.7); font-size: 13.5px; }
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-meta { display: none; }
}

/* ---------- Trust bar ---------- */
.trust {
  background: var(--teal-800);
  color: #fff;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.trust-cell {
  padding: 28px 24px;
  border-left: 1px solid rgba(255,255,255,.1);
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.trust-cell:first-child { border-left: 0; }
.trust-cell .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1;
}
.trust-cell .num .unit { font-size: 18px; opacity: .65; margin-left: 2px; font-weight: 500; }
.trust-cell .lbl { font-size: 13.5px; color: rgba(255,255,255,.72); letter-spacing: 0.02em; }
@media (max-width: 760px) {
  .trust-grid { grid-template-columns: repeat(2, 1fr); }
  .trust-cell { border-left: 0; border-top: 1px solid rgba(255,255,255,.08); }
  .trust-cell:nth-child(2n) { border-left: 1px solid rgba(255,255,255,.08); }
  .trust-cell:nth-child(-n+2) { border-top: 0; }
}

/* ---------- Sections ---------- */
section { padding: clamp(64px, 9vw, 110px) 0; }
.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 48px;
}
.section-head .lead { max-width: 56ch; }
.section-head .lead .eyebrow {
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal-700);
  margin-bottom: 14px;
  display: inline-block;
}
.section-head p { color: var(--ink-500); margin-top: 14px; font-size: 17px; }
@media (max-width: 700px) {
  .section-head { flex-direction: column; align-items: flex-start; }
}

.section-title { margin-bottom: 24px; }
.section-title-tight { margin-bottom: 8px; }
.section-title-tight + p { color: var(--ink-500); margin-bottom: 0; }

.event-cta-note { margin-top: 20px; }

/* ---------- Product cards ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ponytail: covers the realistic near-term case (4 items orphans 1 in a 3-col grid); other counts may still be uneven */
.product-grid:has(> :last-child:nth-child(4)) { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 920px) { .product-grid { grid-template-columns: 1fr; } }

.product-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 32px 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
  overflow: hidden;
}
.product-card::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: var(--teal-700);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .35s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.product-card:hover::after { transform: scaleX(1); }

.product-icon {
  width: 56px;
  height: 56px;
  border-radius: 12px;
  background: var(--teal-50);
  color: var(--teal-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-icon svg { width: 28px; height: 28px; }

.product-card h3 { font-size: 24px; }
.product-card p {
  color: var(--ink-500);
  font-size: 15.5px;
  line-height: 1.55;
  flex-grow: 1;
}
.product-card .meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: -6px;
}
.product-card .meta span {
  font-size: 12.5px;
  color: var(--ink-700);
  padding: 4px 10px;
  background: var(--bg-alt);
  border-radius: 999px;
  border: 1px solid var(--line);
}
.product-card .card-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--teal-700);
  margin-top: 4px;
}
.product-card:hover .card-cta .arrow { transform: translateX(3px); }

/* ---------- Sub-brands ---------- */
.brands-section {
  background: var(--bg-alt);
  position: relative;
}
.brands-section::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: var(--line);
}
.brand-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
@media (max-width: 820px) { .brand-grid { grid-template-columns: 1fr; } }

.brand-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: 22px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.brand-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.brand-card .brand-logo {
  height: 64px;
  display: flex;
  align-items: center;
}
.brand-card .brand-logo img { max-height: 56px; width: auto; }
.brand-card h3 { font-size: 22px; }
.brand-card p { color: var(--ink-500); font-size: 16px; }
.brand-card .brand-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.brand-card .card-cta { color: var(--teal-700); }
.brand-card .brand-domain {
  font-family: var(--font-sans);
  font-size: 13.5px;
  color: var(--ink-500);
  letter-spacing: 0.01em;
}

/* ---------- Events ---------- */
.events-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}
.event {
  display: grid;
  grid-template-columns: 200px 1fr auto;
  gap: 32px;
  align-items: center;
  padding: 28px 8px;
  border-bottom: 1px solid var(--line);
  transition: background .2s ease, padding .2s ease;
}
.event:hover { background: var(--teal-50); padding-inline: 24px; }
.event .date {
  font-family: var(--font-display);
  color: var(--teal-700);
  font-weight: 600;
  font-size: 17px;
  letter-spacing: -0.005em;
}
.event .date .year { display: block; color: var(--ink-300); font-weight: 500; font-size: 13px; margin-top: 2px; letter-spacing: 0; }
.event .title { font-family: var(--font-display); font-size: 19px; font-weight: 600; color: var(--ink-900); line-height: 1.35; }
.event .venue { display: block; color: var(--ink-500); font-size: 14.5px; margin-top: 4px; font-family: var(--font-sans); font-weight: 400; }
.event .pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--ink-700);
}
.event .pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal-500); }
@media (max-width: 760px) {
  .event { grid-template-columns: 1fr; gap: 8px; padding: 22px 8px; }
  .event:hover { padding-inline: 16px; }
  .event .pill { justify-self: start; }
}

/* ---------- Notice banner ---------- */
.notice {
  background: var(--amber-50);
  border: 1px solid var(--amber-200);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 22px;
  align-items: center;
}
.notice .ico {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid var(--amber-200);
  color: var(--amber-700);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.notice .ico svg { width: 22px; height: 22px; }
.notice .text strong { display: block; color: var(--ink-900); font-weight: 600; margin-bottom: 4px; font-size: 15.5px; }
.notice .text p { color: var(--ink-700); font-size: 14.5px; }
.notice .actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.notice .actions a { font-weight: 600; font-size: 14.5px; color: var(--amber-700); }
.notice .actions a:hover { text-decoration: underline; }
@media (max-width: 760px) {
  .notice { grid-template-columns: 1fr; }
}

/* ---------- Waldmann notice ---------- */
.waldmann {
  background: var(--teal-800);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  display: grid;
  grid-template-columns: 1fr 1.4fr auto;
  gap: 40px;
  align-items: center;
}
.waldmann .wm-logo img { height: 60px; width: auto; object-fit: contain; border-radius: 4px; }
.waldmann h3 { color: #fff; font-size: 22px; margin-bottom: 8px; }
.waldmann p { color: rgba(255,255,255,.78); font-size: 15.5px; }
.waldmann .contacts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 14.5px;
}
.waldmann .contacts a { color: #fff; font-weight: 500; display: inline-flex; align-items: center; gap: 8px; }
.waldmann .contacts svg { width: 16px; height: 16px; opacity: .8; }
@media (max-width: 900px) {
  .waldmann { grid-template-columns: 1fr; gap: 24px; padding: 32px; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--teal-900);
  color: rgba(255,255,255,.7);
  padding: 80px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 56px;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr; gap: 40px; } }

.footer-grid h4 {
  color: #fff;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 18px;
  font-family: var(--font-sans);
  font-weight: 600;
}
.footer-logo img { height: 108px; width: auto; margin-bottom: 22px; }
.footer-grid p { line-height: 1.65; }
.footer-grid a { color: rgba(255,255,255,.78); }
.footer-grid a:hover { color: #fff; }
.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 16px;
}
.footer-contact span { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; color: var(--teal-500); margin-top: 3px; flex: 0 0 auto; }
.footer-links { display: grid; gap: 10px; }
.footer-brands { display: grid; gap: 14px; }
.footer-brands a {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 8px;
  font-weight: 500;
  color: #fff;
  transition: background .2s ease, border-color .2s ease;
}
.footer-brands a:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); }
.footer-brands .arrow { margin-left: auto; opacity: .6; }

.footer-iso {
  margin-top: 22px;
  display: inline-block;
}
.footer-iso img { height: 72px; width: auto; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 13px;
  color: rgba(255,255,255,.55);
}
.footer-bottom a { color: rgba(255,255,255,.7); }
@media (max-width: 600px) {
  .footer-bottom { flex-direction: column; text-align: center; }
}

/* ---------- Cookie consent ---------- */
.cookie-bar {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  z-index: 100;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  max-width: 760px;
  margin: 0 auto;
  font-size: 14px;
  color: var(--ink-700);
  transform: translateY(0);
  transition: transform .35s ease, opacity .35s ease;
}
.cookie-bar.hidden { transform: translateY(120%); opacity: 0; pointer-events: none; }
.cookie-bar .cb-text { flex: 1; min-width: 0; }
.cookie-bar .cb-text strong { color: var(--ink-900); display: block; margin-bottom: 2px; }
.cookie-bar .cb-actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-bar button {
  font-family: var(--font-sans);
  height: 40px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--ink-900);
  cursor: pointer;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.cookie-bar button.primary { background: var(--teal-700); color: #fff; border-color: var(--teal-700); }
.cookie-bar button.primary:hover { background: var(--teal-800); border-color: var(--teal-800); }
.cookie-bar button:hover { border-color: var(--ink-300); }
@media (max-width: 640px) {
  .cookie-bar { flex-direction: column; align-items: flex-start; }
  .cookie-bar .cb-actions { width: 100%; }
  .cookie-bar .cb-actions button { flex: 1; }
}

/* Hairline rule under hero */
.hero-bottom-rule { height: 1px; background: rgba(0,0,0,0); }

/* Ensure primary button stays white inside nav */
.nav-links a.btn-primary, .nav-links a.btn-primary:hover { color: #fff !important; background: var(--teal-700); }
.nav-links a.btn-primary:hover { background: var(--teal-800); }
