/* Cavemen Never Do Business — one stylesheet for cavemenneverdobusiness.com and .nl (refresh 2026-10-27).
   Source: sites/cavemen-build/assets/shared/style.css; build.py copies it to both sites.
   Same structure and type system as bengosman.nl (system fonts, sticky header, dark footer, menu button
   on narrow screens); colours from the soundbites (red) and the logo (teal, ochre). No web fonts. */

:root {
  --ink: #1d2427;        /* headings */
  --text: #3a4245;       /* body text */
  --muted: #5f686c;      /* secondary (5.6:1 on --paper) */
  --paper: #faf8f4;      /* off-white page */
  --soft: #f1ede5;       /* light bands */
  --line: #e4dfd5;
  --red: #b3262b;        /* soundbite red: links, buttons */
  --red-dark: #8c1c20;
  --teal: #46636b;       /* logo teal */
  --ochre: #c98d1c;      /* logo ochre */
  --footer: #1d2629;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(29, 36, 39, .06), 0 8px 24px rgba(29, 36, 39, .09);
  --font: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --measure: 70ch;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 90px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font: 17px/1.7 var(--font);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; vertical-align: bottom; }
a { color: var(--red); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { color: var(--red-dark); }
h1, h2, h3 { color: var(--ink); line-height: 1.15; letter-spacing: -.02em; }
:focus-visible { outline: 3px solid var(--ochre); outline-offset: 2px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.eyebrow {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 13px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
}
.skip { position: absolute; left: -9999px; top: 8px; }
.skip:focus { left: 8px; z-index: 100; background: #fff; padding: 8px 12px; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 248, 244, .92);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.bar { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.brand { flex-shrink: 0; display: flex; align-items: center; gap: 12px; color: var(--ink); text-decoration: none; font-weight: 700; font-size: 18px; letter-spacing: -.01em; white-space: nowrap; }
.brand img { width: 44px; height: 43px; }
.brand:hover { color: var(--ink); }
nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
nav a {
  display: block; padding: 8px 10px; border-radius: 8px;
  color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500; white-space: nowrap;
}
nav a:hover { color: var(--ink); background: var(--soft); }
nav a[aria-current="page"] { color: var(--red); background: #f6e7e2; }
nav .lang { margin-left: 10px; padding-left: 12px; border-left: 1px solid var(--line); display: flex; gap: 2px; }
nav .lang a { display: flex; align-items: center; gap: 6px; padding: 8px; font-size: 13px; font-weight: 600; letter-spacing: .04em; }
nav .lang img { width: 18px; height: 12px; box-shadow: 0 0 0 1px rgba(0,0,0,.08); }
nav .lang a[aria-current="true"] { color: var(--muted); background: none; }
.menu-toggle { display: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px;
  background: var(--red); color: #fff; text-decoration: none; font-weight: 600; font-size: 16px; border: 0; cursor: pointer;
  font-family: var(--font);
}
.btn:hover { background: var(--red-dark); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px #cfc8bb; }
.btn-ghost:hover { background: #fff; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }

/* ---------- home: hero ---------- */
.hero { padding: 72px 0 64px; background: linear-gradient(180deg, var(--soft) 0%, var(--paper) 100%); }
.hero-grid { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 56px; align-items: center; }
.hero-logo { display: block; width: 100%; max-width: 300px; height: auto; }
.hero h1 { margin: 0 0 6px; font-size: clamp(38px, 5.6vw, 64px); font-weight: 800; letter-spacing: -.035em; }
.hero .byline { margin: 0 0 22px; color: var(--teal); font-size: clamp(17px, 1.8vw, 20px); font-weight: 600; }
.hero .lead { margin: 0; max-width: 36em; font-size: clamp(19px, 2vw, 22px); line-height: 1.55; color: var(--ink); }

/* ---------- download cards ---------- */
.downloads { margin: 36px 0 0; }
.dl-cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.dl-cards a {
  display: flex; align-items: center; gap: 14px; height: 100%;
  padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s, border-color .2s;
}
.dl-cards a:hover { box-shadow: var(--shadow); transform: translateY(-2px); border-color: #d6cfc2; color: var(--ink); }
.dl-icon { flex-shrink: 0; width: 40px; height: 48px; }
.dl-text { display: flex; flex-direction: column; line-height: 1.35; }
.dl-text strong { font-size: 16px; }
.dl-text span { color: var(--muted); font-size: 14px; margin-top: 2px; }
.dl-note { margin: 12px 0 0; color: var(--muted); font-size: 14px; }

/* ---------- soundbites ---------- */
.section { padding: 72px 0; }
.section.alt { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section-title { margin: 0 0 28px; font-size: clamp(28px, 3.4vw, 38px); font-weight: 750; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 24px; }
.section-head .section-title { margin: 0; }

.featured { margin: 0; }
.featured-frame {
  display: block; background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.featured-frame img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 400; }
.featured-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 16px; }
.featured-bar .label { font-weight: 600; color: var(--ink); text-align: center; flex: 1; }
.featured-bar .label a { color: inherit; text-decoration: none; }
.featured-bar .label a:hover { color: var(--red); }
.navbtn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 16px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); color: var(--ink);
  font: 600 15px var(--font); text-decoration: none; cursor: pointer;
}
.navbtn:hover { border-color: var(--ink); color: var(--ink); }

.sb-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.sb-grid a {
  display: block; height: 100%; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden;
  color: var(--ink); text-decoration: none; transition: box-shadow .2s, transform .2s;
}
.sb-grid a:hover { box-shadow: var(--shadow); transform: translateY(-2px); color: var(--ink); }
.sb-grid a[aria-current="true"] { outline: 3px solid var(--ochre); outline-offset: -3px; }
.sb-grid img { display: block; width: 100%; height: auto; aspect-ratio: 880 / 400; border-bottom: 1px solid var(--line); }
.sb-grid span { display: block; padding: 10px 14px 12px; font-size: 14px; line-height: 1.35; }
.sb-grid b { display: block; color: var(--red); font-size: 12px; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }

/* soundbite page */
.sb-page { padding: 16px 0 72px; }
.sb-page .featured-frame { max-width: 1000px; margin: 0 auto; }
.sb-page .featured-bar { max-width: 1000px; margin: 18px auto 0; }
.sb-cta { max-width: 1000px; margin: 48px auto 0; padding-top: 36px; border-top: 1px solid var(--line); }
.sb-cta h2 { margin: 0 0 4px; font-size: 22px; }

/* ---------- inner pages ---------- */
.page-head { background: linear-gradient(180deg, var(--soft) 0%, var(--paper) 100%); padding: 64px 0 20px; }
.page-head h1 { margin: 0; font-size: clamp(34px, 5vw, 56px); font-weight: 800; letter-spacing: -.03em; }
.page-head .eyebrow a { color: inherit; text-decoration: none; }

.content { max-width: 860px; margin: 0 auto; padding: 28px 24px 88px; overflow-wrap: break-word; }
.content > * { max-width: var(--measure); }
.content > .downloads, .content > .terms, .content > .more-ben { max-width: none; }
.content p { margin: 0 0 1.1em; }
.content ul { margin: 0 0 1.1em; padding-left: 1.2em; }
.content li { margin-bottom: .35em; }
.content h2 { margin: 2em 0 .6em; font-size: clamp(22px, 2.6vw, 28px); font-weight: 700; }
.content h2.center { margin-top: 0; font-size: 20px; line-height: 1.45; font-weight: 600; }
.content .downloads h2 { margin-top: 1.6em; }
.content .dl-cards { grid-template-columns: 1fr; max-width: 520px; padding: 0; }
.more-ben {
  margin: 40px 0 0; padding: 22px 24px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  border-left: 5px solid var(--teal); display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
}
.more-ben p { margin: 0; color: var(--ink); font-weight: 600; }
.home-text { max-width: var(--measure); }
.home-text p { margin: 0 0 1.1em; }

/* terms: two columns on wide screens */
.content > .terms { columns: 2; column-gap: 40px; font-size: 15px; line-height: 1.6; margin-top: 24px; }
.terms h3 { font-size: 15px; margin: 1.1em 0 .2em; break-after: avoid; }
.terms p { margin: 0 0 .5em; }
.notfound { min-height: 30vh; }

/* ---------- footer ---------- */
.site-footer { background: var(--footer); color: #c5cdd0; font-size: 15px; padding: 56px 0 28px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer p { margin: 0; line-height: 1.8; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.4fr 1fr 1fr; gap: 32px; }
.footer-name { color: #fff; font-weight: 700; font-size: 18px; }
.site-footer p + .footer-title { margin-top: 16px; }
.footer-title { color: #fff; font-weight: 600; margin-bottom: 4px !important; }
.copyright { margin-top: 40px; padding-top: 20px; background: linear-gradient(#2e3a3e 0 0) top / calc(100% - 48px) 1px no-repeat; font-size: 13px; color: #98a3a7; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .menu-toggle {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 10px 14px; border: 1px solid var(--line); border-radius: 999px; background: #fff;
    color: var(--ink); font: 600 15px var(--font); cursor: pointer;
  }
  .bars, .bars::before, .bars::after { display: block; width: 18px; height: 2px; background: currentColor; border-radius: 2px; }
  .bars { position: relative; }
  .bars::before, .bars::after { content: ""; position: absolute; left: 0; }
  .bars::before { top: -6px; }
  .bars::after { top: 6px; }
  .bar { flex-wrap: wrap; }
  nav { flex: 1 0 100%; }
  .js nav { display: none; }
  .js nav.open { display: block; }
  nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 4px 0 16px; }
  nav a { padding: 12px 8px; font-size: 17px; }
  nav .lang { margin: 8px 0 0; padding: 8px 0 0; border-left: 0; border-top: 1px solid var(--line); }
  .hero-grid { grid-template-columns: 200px minmax(0, 1fr); gap: 36px; }
  .dl-cards { grid-template-columns: 1fr; max-width: 520px; }
  .sb-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 16px; }
  .wrap, .content { padding-left: 20px; padding-right: 20px; }
  .bar { min-height: 64px; gap: 12px; }
  .brand { font-size: 16px; gap: 10px; }
  .brand img { width: 38px; height: 37px; }
  .hero { padding: 36px 0 44px; }
  .hero-grid { grid-template-columns: 1fr; gap: 20px; }
  .hero-logo { max-width: 150px; }
  .section { padding: 52px 0; }
  .sb-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .sb-grid span { padding: 8px 10px 10px; font-size: 13px; }
  .navbtn .t { display: none; }
  .featured-bar .label { font-size: 14px; }
  .page-head { padding: 40px 0 10px; }
  .content { padding-top: 22px; padding-bottom: 60px; }
  .content > .terms { columns: 1; }
  .footer-grid { grid-template-columns: 1fr; gap: 20px; }
}
@media (max-width: 480px) {
  .brand span { white-space: normal; max-width: 7.6em; line-height: 1.15; font-size: 15px; }
  .bar { gap: 8px; }
  .menu-toggle { padding: 8px 12px; }
}
@media (max-width: 360px) {
  .sb-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .dl-cards a, .sb-grid a { transition: none; }
  .dl-cards a:hover, .sb-grid a:hover { transform: none; }
}
