/* ==========================================================================
   SAM-SITE — design system inspired by technical/scientific brand sites
   Fonts: Chivo Mono (display, labels) + Space Grotesk (body)
   Edit colours and spacing here; everything reads from these variables.
   ========================================================================== */

:root {
  --paper: #f2f1ed;        /* off-white background */
  --ink: #141414;          /* near-black text */
  --ink-soft: #4c4c48;     /* secondary text */
  --line: rgba(20, 20, 20, 0.25);
  --line-strong: rgba(20, 20, 20, 0.6);
  --lime: #b6ef3a;         /* accent 1 */
  --orange: #ff5c1c;       /* accent 2 */
  --dark: #0d0d0c;         /* dark section background */
  --dark-line: rgba(242, 241, 237, 0.25);
  --header-h: 76px;
  --gutter: clamp(20px, 4vw, 64px);
  --font-display: "Chivo Mono", monospace;
  --font-body: "Space Grotesk", sans-serif;
}

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

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img, video { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; color: inherit; }

.mono {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* ---------- Header ------------------------------------------------------ */

.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  height: var(--header-h);
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(0, 2.2fr) minmax(160px, 0.6fr);
  align-items: stretch;
  background: rgba(242, 241, 237, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line-strong);
  z-index: 100;
  transition: background 0.3s ease, color 0.3s ease;
}

.site-header > * { border-left: 1px solid var(--line); }
.site-header > *:first-child { border-left: none; }

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 0 var(--gutter);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border: 2.5px solid currentColor;
  border-radius: 50%;
  position: relative;
  flex: none;
}
.brand-mark::after {
  content: "";
  position: absolute;
  right: -3px;
  bottom: -1px;
  width: 10px;
  height: 10px;
  background: transparent;
  border-left: 2.5px solid currentColor;
}

.brand-name { font-size: 13px; line-height: 1.35; letter-spacing: 0.01em; }

.header-mid { position: relative; display: flex; align-items: center; overflow: hidden; }

.main-nav {
  display: flex;
  gap: clamp(24px, 4vw, 72px);
  padding: 0 var(--gutter);
  width: 100%;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.nav-col { display: flex; flex-direction: column; justify-content: center; gap: 4px; }

.nav-link {
  font-family: var(--font-display);
  font-size: 12.5px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  white-space: nowrap;
  opacity: 0.85;
}
.nav-link:hover, .nav-link[aria-current="page"] { opacity: 1; color: var(--orange); }
.nav-link .n { opacity: 0.5; margin-right: 8px; }

.page-indicator {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 0 var(--gutter);
  font-size: 12.5px;
  opacity: 0;
  transform: translateY(12px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease;
}
.page-indicator .pi-label { opacity: 0.5; }

/* scrolled state: nav swaps for PAGE: NAME */
.site-header.is-scrolled .main-nav { opacity: 0; transform: translateY(-12px); pointer-events: none; }
.site-header.is-scrolled .page-indicator { opacity: 1; transform: none; }

.index-toggle {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  padding: 0 var(--gutter);
  font-size: 13px;
}
.index-toggle .box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border: 1.5px solid currentColor;
  font-size: 14px;
  line-height: 1;
}
.index-toggle:hover { color: var(--orange); }

/* dark header variant while over dark hero */
.site-header.on-dark {
  background: rgba(13, 13, 12, 0.75);
  color: var(--paper);
  border-bottom-color: var(--dark-line);
}
.site-header.on-dark > * { border-left-color: var(--dark-line); }
.site-header.on-dark .brand-mark::after { background: transparent; }

/* ---------- Index overlay ---------------------------------------------- */

.index-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(13, 13, 12, 0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}
.index-overlay.open { opacity: 1; pointer-events: auto; }

.index-panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(560px, 100%);
  background: rgba(20, 20, 19, 0.96);
  color: var(--paper);
  padding: 28px clamp(24px, 3vw, 48px) 60px;
  overflow-y: auto;
  transform: translateX(30px);
  transition: transform 0.3s ease;
}
.index-overlay.open .index-panel { transform: none; }

.index-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 22px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--dark-line);
  font-size: 13px;
}
.index-close {
  width: 30px; height: 30px;
  border: 1.5px solid var(--paper);
  font-size: 15px;
}
.index-close:hover { color: var(--orange); border-color: var(--orange); }

.index-section-title {
  font-size: 15px;
  margin: 26px 0 14px;
  font-family: var(--font-body);
  text-transform: none;
  letter-spacing: 0;
  color: rgba(242, 241, 237, 0.8);
}

.index-list { list-style: none; display: flex; flex-direction: column; gap: 7px; }

.index-item a {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(242,241,237,0.14), rgba(242,241,237,0.03));
  font-family: var(--font-display);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: background 0.2s ease, color 0.2s ease;
}
.index-item a:hover { background: rgba(242, 241, 237, 0.28); color: var(--lime); }
.index-item .code { opacity: 0.55; min-width: 74px; }
.index-item.sub a { margin-left: 26px; }
.index-item.sub .code::before { content: "\2514  "; opacity: 0.8; }

/* ---------- Hero (home) ------------------------------------------------- */

.hero {
  position: relative;
  height: 100vh;
  min-height: 620px;
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.hero-media { position: absolute; inset: 0; }
.hero-fallback {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, #0c2b33, #123c2b 30%, #402a55 65%, #93341b);
  background-size: 300% 300%;
  animation: heroDrift 16s ease-in-out infinite alternate;
}
.hero-fallback::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 30%, rgba(182, 239, 58, 0.18), transparent 55%),
              radial-gradient(ellipse at 20% 80%, rgba(255, 92, 28, 0.22), transparent 50%);
}
@keyframes heroDrift {
  from { background-position: 0% 0%; }
  to   { background-position: 100% 100%; }
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-inner { position: relative; z-index: 2; padding: 0 var(--gutter) 30px; }

.hero-tagline {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 13.5px;
  margin-bottom: clamp(30px, 6vh, 80px);
}

.hero-wordmark {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(64px, 14.5vw, 230px);
  line-height: 0.85;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: #f6c3ac;
  mix-blend-mode: screen;
}
.hero-wordmark sup { font-size: 0.18em; vertical-align: 55%; letter-spacing: 0; }

/* ---------- Shared section furniture ------------------------------------ */

.section { position: relative; padding: clamp(70px, 10vh, 130px) var(--gutter); }
.section.dark { background: var(--dark); color: var(--paper); }

.section-meta {
  display: flex;
  align-items: center;
  gap: 26px;
  margin-bottom: clamp(36px, 6vh, 64px);
  font-size: 12.5px;
}
.tag {
  border: 1px solid currentColor;
  padding: 5px 14px;
  white-space: nowrap;
}
.slashes { flex: 1; max-width: 420px; height: 12px; background-image: repeating-linear-gradient(115deg, currentColor 0 1px, transparent 1px 5px); opacity: 0.7; }
.meta-right { margin-left: auto; opacity: 0.7; }

.display-xl {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(44px, 7.2vw, 118px);
  line-height: 0.95;
  letter-spacing: -0.01em;
}
.display-l {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(30px, 4.2vw, 62px);
  line-height: 1.02;
}
.lede {
  font-size: clamp(19px, 1.6vw, 24px);
  line-height: 1.45;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}
.body-copy { color: var(--ink-soft); max-width: 56ch; }
.dark .body-copy { color: rgba(242, 241, 237, 0.75); }

.split {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(30px, 5vw, 90px);
  align-items: start;
}

.stack > * + * { margin-top: 22px; }

.pill {
  display: inline-flex;
  align-items: center;
  gap: 26px;
  padding: 26px 34px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  font-size: 16px;
  line-height: 1.3;
  transition: background 0.25s ease, color 0.25s ease;
}
.pill .plus { font-size: 22px; }
.pill:hover { background: var(--ink); color: var(--paper); }
.dark .pill { border-color: var(--dark-line); }
.dark .pill:hover { background: var(--paper); color: var(--ink); }
.pill.small { padding: 14px 24px; font-size: 14px; }
.pill.solid { background: var(--ink); color: var(--paper); }
.pill.solid:hover { background: var(--orange); color: var(--ink); }

/* ---------- Media placeholders ------------------------------------------ */

.media-ph {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  background: #101010 repeating-linear-gradient(45deg, rgba(242,241,237,0.06) 0 1px, transparent 1px 14px);
  border: 1px solid var(--line-strong);
  display: flex;
  align-items: center;
  justify-content: center;
}
.media-ph.wide { aspect-ratio: 16 / 9; }
.media-ph.frame { outline: 1.5px solid var(--lime); outline-offset: 10px; }
.media-ph .ph-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(242, 241, 237, 0.65);
  border: 1px solid rgba(242, 241, 237, 0.4);
  padding: 6px 14px;
  background: rgba(13, 13, 12, 0.6);
}
.media-ph .play {
  position: absolute;
  width: 64px; height: 64px;
  border: 1.5px solid rgba(242,241,237,0.9);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.media-ph .play::after {
  content: "";
  border-style: solid;
  border-width: 9px 0 9px 15px;
  border-color: transparent transparent transparent var(--orange);
  margin-left: 4px;
}

/* ---------- Inner-page banner ------------------------------------------- */

.page-banner {
  position: relative;
  min-height: 64vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding: calc(var(--header-h) + 40px) var(--gutter) clamp(56px, 9vh, 110px);
  overflow: hidden;
  background: var(--dark);
  color: var(--paper);
}
.page-banner .banner-media {
  position: absolute; inset: 0;
  background: #17171a repeating-linear-gradient(45deg, rgba(242,241,237,0.05) 0 1px, transparent 1px 16px);
}
.page-banner .banner-media::after {
  content: "[ REPLACE WITH FULL-BLEED IMAGE OR VIDEO ]";
  position: absolute;
  top: 24px; right: 24px;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(242,241,237,0.4);
}
.page-banner.tint-a .banner-media { background-color: #232336; }
.page-banner.tint-b .banner-media { background-color: #2e1a2c; }
.page-banner.tint-c .banner-media { background-color: #14291c; }
.page-banner.tint-d .banner-media { background-color: #33210f; }
.page-banner .banner-inner {
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  column-gap: clamp(24px, 5vw, 80px);
  row-gap: clamp(40px, 7vh, 70px);
}
.page-banner .display-xl { margin-bottom: 0; flex: 0 1 auto; }
.page-banner .banner-copy { flex: 0 1 620px; max-width: 620px; }
.page-banner .banner-full { flex: 1 1 100%; }
.page-banner .banner-copy h2 { margin-bottom: 18px; }

/* ---------- Cards / figures --------------------------------------------- */

.figure { display: flex; flex-direction: column; gap: 14px; }
.figure figcaption {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}

.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-strong);
  margin-top: clamp(40px, 7vh, 80px);
}
.dark .stat-row { border-top-color: var(--dark-line); }
.stat {
  padding: 26px 22px 6px;
  border-left: 1px solid var(--line);
}
.dark .stat { border-left-color: var(--dark-line); }
.stat:first-child { border-left: none; }
.stat .stat-num {
  font-family: var(--font-display);
  font-size: clamp(34px, 4vw, 56px);
  line-height: 1;
}
.stat .stat-label { font-size: 13px; opacity: 0.65; margin-top: 10px; }

/* ---------- Footer ------------------------------------------------------- */

.site-footer {
  background: var(--dark);
  color: var(--paper);
  padding: clamp(60px, 9vh, 110px) var(--gutter) 34px;
  border-top: 3px solid var(--lime);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  margin-bottom: clamp(50px, 8vh, 90px);
}
.footer-col h4 {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.55;
  margin-bottom: 16px;
}
.footer-col a { display: block; padding: 4px 0; font-size: 15px; opacity: 0.85; }
.footer-col a:hover { color: var(--lime); opacity: 1; }
.footer-wordmark {
  font-family: var(--font-display);
  font-size: clamp(40px, 8vw, 110px);
  line-height: 0.9;
  letter-spacing: -0.03em;
  text-transform: lowercase;
  color: #f6c3ac;
}
.footer-base {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--dark-line);
  padding-top: 22px;
  font-size: 12px;
  opacity: 0.6;
  flex-wrap: wrap;
}

/* ---------- Scroll progress bar (bottom of viewport) --------------------- */

.scroll-progress {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 8px;
  background: rgba(20, 20, 20, 0.18);
  z-index: 150;
  pointer-events: none;
}
.scroll-progress .bar {
  height: 100%;
  width: 0%;
  background: var(--orange);
  box-shadow: 0 0 12px rgba(255, 92, 28, 0.55);
  transition: width 0.08s linear;
}

/* ---------- Reveal animation -------------------------------------------- */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-fallback { animation: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive --------------------------------------------------- */

@media (max-width: 900px) {
  .site-header { grid-template-columns: 1fr auto; }
  .header-mid { display: none; }
  .split { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: 1fr; }
  .stat { border-left: none; border-top: 1px solid var(--line); }
  .footer-grid { grid-template-columns: 1fr; }
  .page-banner .banner-inner { flex-direction: column; align-items: stretch; gap: clamp(24px, 6vh, 48px); }
  .page-banner .banner-copy { margin-left: 0; flex: 1 1 auto; max-width: none; }
}

/* ==========================================================================
   V2 ADDITIONS — bigger nav, hover dots, mobile header, logo walls, quotes,
   newsletter popup, cookie banner, talk list, destination pills
   ========================================================================== */

/* ---------- Bigger nav text (+50%) with sliding hover dot ---------------- */

.nav-link {
  font-size: 19px;
  position: relative;
  padding-left: 0;
  transition: padding 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.nav-link::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 9px;
  height: 9px;
  background: currentColor;
  opacity: 0;
  transform: translate(-14px, -50%);
  transition: transform 0.22s ease, opacity 0.22s ease;
}
.nav-link:hover,
.nav-link[aria-current="page"] { padding-left: 20px; }
.nav-link:hover::before,
.nav-link[aria-current="page"]::before { opacity: 1; transform: translate(0, -50%); }

.index-toggle { font-size: 18px; }
.brand-name { font-size: 14px; }

/* ---------- Hero on modern mobile viewports ------------------------------ */

.hero { height: 100vh; height: 100svh; }

/* ---------- Destination note inside pills -------------------------------- */

.pill .pill-dest {
  display: block;
  font-family: var(--font-display);
  font-size: 11.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-top: 4px;
}

/* ---------- Logo walls (text cards until real logos arrive) -------------- */

.logo-wall {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: clamp(30px, 5vh, 54px);
}
.logo-card {
  border: 1px solid var(--line);
  min-height: 92px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 8px;
  padding: 20px 12px;
  font-family: var(--font-display);
  font-size: 12.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
  transition: border-color 0.2s ease, color 0.2s ease, opacity 0.2s ease;
}
.dark .logo-card { border-color: var(--dark-line); }
.logo-card:hover { border-color: var(--orange); color: var(--orange); opacity: 1; }
.logo-card small {
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.02em;
  text-transform: none;
  opacity: 0.65;
}
a.logo-card small.click { color: var(--orange); text-transform: uppercase; font-family: var(--font-display); letter-spacing: 0.1em; opacity: 1; }

/* ---------- Quotes -------------------------------------------------------- */

.quote-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
  margin-top: clamp(34px, 6vh, 58px);
}
.quote { border-top: 2px solid var(--lime); padding-top: 18px; }
.quote p { font-size: 16px; line-height: 1.5; }
.quote cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-display);
  font-size: 11.5px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.65;
  font-style: normal;
}

/* ---------- Talk list ----------------------------------------------------- */

.talk-list { list-style: none; counter-reset: talk; }
.talk-list li {
  counter-increment: talk;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 18px;
  align-items: baseline;
}
.talk-list li::before {
  content: "0" counter(talk);
  font-family: var(--font-display);
  font-size: 13px;
  opacity: 0.5;
  min-width: 30px;
}
.talk-list strong { font-weight: 500; }

/* ---------- Why-foresight cards on dark banners --------------------------- */

.banner-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: clamp(34px, 6vh, 60px);
}
.banner-cards .card {
  border: 1px solid var(--dark-line);
  background: rgba(13, 13, 12, 0.5);
  padding: 22px;
}
.banner-cards .card h3 {
  font-family: var(--font-display);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--lime);
  margin-bottom: 12px;
}
.banner-cards .card p { font-size: 14.5px; line-height: 1.55; color: rgba(242, 241, 237, 0.78); }

/* ---------- Newsletter popup ---------------------------------------------- */

.news-popup {
  position: fixed;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%) translateY(24px);
  width: min(920px, calc(100% - 32px));
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  box-shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  padding: 26px clamp(18px, 3vw, 36px) 22px;
  z-index: 300;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
}
.news-popup.show { opacity: 1; transform: translateX(-50%); pointer-events: auto; }
.news-popup h3 { font-size: 22px; font-weight: 500; padding-right: 40px; }
.news-close {
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 22px;
  line-height: 1;
}
.news-close:hover { color: var(--orange); }
.news-form { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }
.news-form input {
  flex: 1 1 150px;
  border: 1px solid var(--line-strong);
  background: transparent;
  padding: 14px;
  font: inherit;
  color: inherit;
}
.news-form input[type="email"] { flex: 2 1 220px; }
.news-form button {
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  padding: 12px 34px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
}
.news-form button:hover { background: var(--ink); color: var(--paper); }
.news-note { font-size: 12.5px; margin-top: 12px; opacity: 0.7; }
.news-note a { text-decoration: underline; }

/* ---------- Cookie banner -------------------------------------------------- */

.cookie-banner {
  position: fixed;
  left: 20px;
  bottom: 20px;
  z-index: 320;
  width: min(430px, calc(100% - 40px));
  background: var(--dark);
  color: var(--paper);
  border: 1px solid var(--dark-line);
  padding: 22px;
  display: none;
}
.cookie-banner.show { display: block; }
.cookie-banner p { font-size: 14px; line-height: 1.5; }
.cookie-banner a { text-decoration: underline; }
.cookie-actions { display: flex; gap: 10px; margin-top: 16px; }
.cookie-actions button {
  border: 1.5px solid var(--paper);
  border-radius: 999px;
  padding: 10px 22px;
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cookie-actions .cookie-accept { background: var(--lime); color: var(--ink); border-color: var(--lime); }
.cookie-actions button:hover { border-color: var(--orange); color: var(--orange); }
.cookie-actions .cookie-accept:hover { background: var(--orange); border-color: var(--orange); color: var(--ink); }

/* ---------- Simple text page (privacy) ------------------------------------ */

.text-page { max-width: 760px; margin: 0 auto; padding-top: calc(var(--header-h) + 60px); }
.text-page h1 { margin-bottom: 30px; }
.text-page h2 { font-size: 20px; margin: 34px 0 10px; font-weight: 500; }
.text-page p, .text-page li { color: var(--ink-soft); margin-bottom: 12px; }
.text-page ul { padding-left: 20px; }

/* ---------- V3 fixes: overlap, banner contrast, real images ---------------- */

/* stop big headings spilling into the neighbouring column */
.split > * { min-width: 0; }
.split .display-xl {
  font-size: clamp(38px, 5.4vw, 88px);
  overflow-wrap: break-word;
}

/* real photos and logos inside figures */
.figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--line-strong);
}
.figure img.frame { outline: 1.5px solid var(--lime); outline-offset: 10px; }
.figure img.logo-sm { width: 75%; align-self: center; }
.figure:has(img.logo-sm) figcaption { width: 75%; align-self: center; }

/* darken the moving banner background so text stays readable */
.page-banner .banner-media::after {
  content: "";
  position: absolute;
  inset: 0;
  top: 0;
  right: 0;
  background: linear-gradient(180deg,
    rgba(13, 13, 12, 0.30) 0%,
    rgba(13, 13, 12, 0.55) 55%,
    rgba(13, 13, 12, 0.80) 100%);
}
.page-banner .body-copy { color: rgba(242, 241, 237, 0.92); }
.banner-cards .card { background: rgba(13, 13, 12, 0.72); }
.banner-cards .card p { color: rgba(242, 241, 237, 0.85); }

/* ---------- V4: real logo cards + full-width home copy ---------------------- */

.logo-card.has-img {
  background: #fff;
  border-color: rgba(20, 20, 20, 0.12);
  padding: 18px 16px;
}
.logo-card.has-img img {
  max-height: 58px;
  max-width: 82%;
  width: auto;
  height: auto;
  object-fit: contain;
  border: none;
}
.logo-card.has-img:hover { border-color: var(--orange); }

/* home intro copy runs the full width beneath the heading and portrait */
.copy-wide { margin-top: clamp(34px, 6vh, 56px); }
.copy-wide .body-copy { max-width: none; }
.copy-wide .pill { margin-top: 10px; }

/* ---------- V5: lighter text on all dark backgrounds ------------------------ */

.dark .body-copy,
.site-footer .body-copy { color: rgba(242, 241, 237, 0.92); }
.site-footer .footer-col a { opacity: 0.95; }
.footer-base { opacity: 0.8; }

/* ---------- Mobile header: keep the menu visible --------------------------- */

@media (max-width: 900px) {
  :root { --header-h: 106px; }
  .site-header {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
    height: auto;
  }
  .brand { padding: 10px var(--gutter); }
  .index-toggle { padding: 10px var(--gutter); font-size: 15px; }
  .header-mid {
    display: block;
    grid-column: 1 / -1;
    border-left: none;
    border-top: 1px solid var(--line);
    overflow: visible;
  }
  .site-header.on-dark .header-mid { border-top-color: var(--dark-line); }
  .main-nav { padding: 9px var(--gutter) 11px; gap: 6px 20px; flex-wrap: wrap; }
  .nav-col { flex-direction: row; gap: 20px; }
  .nav-link { font-size: 14.5px; }
  .nav-link:hover, .nav-link[aria-current="page"] { padding-left: 14px; }
  .page-indicator { display: none; }
  /* the menu never swaps away on small screens */
  .site-header.is-scrolled .main-nav { opacity: 1; transform: none; pointer-events: auto; }
  .logo-wall { grid-template-columns: repeat(2, 1fr); }
  .banner-cards { grid-template-columns: 1fr; }
  .hero-wordmark { font-size: clamp(56px, 17vw, 120px); }
}


/* ---------- Footer newsletter sign-up ---------------------------------- */
.footer-signup { display: flex; flex-direction: column; gap: 10px; margin-top: 22px; max-width: 340px; }
.footer-signup-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.85;
}
.footer-signup input {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--dark-line);
  background: transparent;
  color: var(--paper);
  font: inherit;
}
.footer-signup input::placeholder { color: rgba(242, 241, 237, 0.5); }
.footer-signup input:focus { outline: none; border-color: var(--lime); }
.footer-signup button {
  align-self: flex-start;
  border: 1.5px solid var(--lime);
  background: var(--lime);
  color: var(--dark);
  border-radius: 999px;
  padding: 12px 34px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 14px;
  cursor: pointer;
}
.footer-signup button:hover { background: transparent; color: var(--paper); }
.footer-signup-privacy { font-size: 12.5px; opacity: 0.7; }
.footer-signup-privacy a { color: inherit; text-decoration: underline; }
