/* ==========================================================================
   Ventura IP — main stylesheet
   Brand colors and fonts live in :root below; everything else follows them.
   ========================================================================== */

:root {
  --navy: #05051B;        /* header, footer */
  --black: #000000;       /* statement sections */
  --slate: #C8DFEA;       /* utility bar (news) */
  --cyan: #0DA2DF;        /* accent: links, buttons, arrows */
  --cyan-dark: #0A84B8;
  --cyan-tint: #E3F4FB;

  --ink: #111111;         /* headings */
  --text: #4D4D4D;        /* body copy */
  --gray-50: #F4F4F4;     /* cards */
  --gray-100: #EEF2F6;    /* light sections, newsletter box */
  --blue-grad: linear-gradient(120deg, #073E8C 0%, #0A5FB0 55%, #0D8AD6 100%);  /* bright color panels */
  --line: #D4D4D4;

  --font: "Montserrat", "Helvetica Neue", Arial, sans-serif;

  --radius: 6px;
  --gutter: clamp(16px, 5vw, 108px);
  --max: 1224px;
  --header-h: 75px;
  --utility-h: 30px;      /* news bar above the header */
  --ease: cubic-bezier(.2, .7, .2, 1);

  --arrow-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 12h17M13.5 5.5 20 12l-6.5 6.5'/%3E%3C/svg%3E");
  --check-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230DA2DF' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E");
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font); line-height: 1.25; color: var(--ink); }
p { margin: 0 0 1em; }
button, input, select, textarea { font: inherit; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }
[id] { scroll-margin-top: calc(var(--utility-h) + var(--header-h) + 20px); }

.container { width: min(var(--max), calc(100% - 2 * var(--gutter))); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 16px; top: -60px; z-index: 100; padding: 10px 16px; background: var(--cyan); color: #fff; }
.skip-link:focus { top: 12px; }

/* ---------- Shared bits ---------- */
.arrow-icon {
  display: inline-block;
  flex: none;
  width: 26px;
  height: 26px;
  background: var(--cyan);
  -webkit-mask: var(--arrow-icon) center / contain no-repeat;
  mask: var(--arrow-icon) center / contain no-repeat;
  transition: transform .25s var(--ease);
}

.read-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: .01em;
  text-transform: uppercase;
  color: var(--cyan);
}
.read-more::after {
  content: "";
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: var(--arrow-icon) center / contain no-repeat;
  mask: var(--arrow-icon) center / contain no-repeat;
  transition: transform .25s var(--ease);
}
.read-more:hover { color: var(--cyan-dark); }
.read-more:hover::after,
.post-card:hover .read-more::after,
.promo-card:hover .arrow-icon,
.tile:hover .arrow-icon,
.affiliate.is-open:hover .arrow-icon { transform: translateX(5px); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 22px;
  border: 0;
  border-radius: 3px;
  background: var(--cyan);
  color: #fff;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s;
}
.btn:hover { background: var(--cyan-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-sm { padding: 10px 16px; font-size: .7rem; }

.label { display: block; margin-bottom: 12px; font-size: .78rem; font-weight: 500; letter-spacing: .02em; text-transform: uppercase; color: var(--ink); }
.eyebrow { display: block; margin-bottom: 14px; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan); }
.section-heading { margin-bottom: 28px; font-size: clamp(1.25rem, 1.9vw, 1.55rem); font-weight: 700; letter-spacing: .01em; text-transform: uppercase; }
.rule-top { padding-top: 30px; border-top: 1px solid #8C8C8C; }

/* ---------- Utility bar & header ---------- */
/* Both bars stick: the utility bar at the very top, the header right under it */
.utility-bar { position: sticky; top: 0; z-index: 51; background: var(--slate); color: var(--navy); font-size: .8rem; letter-spacing: .02em; text-transform: uppercase; }
.utility-inner { display: flex; align-items: center; justify-content: flex-start; gap: 14px; height: var(--utility-h); }
.utility-bar a:hover { color: var(--cyan-dark); }
/* News ticker: lines come from ventura-news-website-update.txt (see main.js) */
.news-ticker { display: flex; align-items: center; gap: 14px; min-width: 0; }
.news-ticker[hidden] { display: none; }
.news-line { min-width: 0; margin: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: .85rem; font-weight: 500; letter-spacing: .01em; text-transform: none; clip-path: inset(0 0 0 0); transition: clip-path .8s ease-in-out; }
/* Wipe: the line is erased from its end back to its start, then the next is revealed left to right (keep .8s in sync with main.js) */
.news-line.is-wiped { clip-path: inset(0 100% 0 0); }

.site-header { position: sticky; top: var(--utility-h); z-index: 50; background: var(--navy); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 40px; height: var(--header-h); }

.logo { display: inline-flex; flex: none; align-items: center; gap: 10px; font-size: 1.3rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: #fff; }
.logo svg { width: 34px; height: 34px; }
.logo svg path { fill: none; stroke-width: 5.5; stroke-linecap: round; }
.logo b { font-weight: 700; color: var(--cyan); }

.site-nav { display: flex; flex: 1; align-items: center; justify-content: flex-end; }
.nav-list { display: flex; flex: 1; align-items: center; justify-content: space-between; gap: 24px; max-width: 980px; margin: 0; padding: 0; list-style: none; }
.nav-list > li { position: relative; display: flex; align-items: center; }
.nav-link { display: block; padding: 26px 0; font-size: .88rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; white-space: nowrap; color: #fff; transition: color .2s; }
.nav-link:hover, .nav-link[aria-current="page"] { color: var(--cyan); }

.dropdown-toggle { display: none; }
.dropdown {
  position: absolute;
  top: 100%;
  left: -24px;
  min-width: 270px;
  margin: 0;
  padding: 12px 0;
  list-style: none;
  background: var(--navy);
  border-top: 3px solid var(--cyan);
  box-shadow: 0 16px 32px rgba(0, 0, 0, .35);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity .2s, transform .2s var(--ease), visibility 0s .2s;
}
/* Dropdown of an item near the right edge (Legal): open leftward so it stays on screen */
.dropdown-right { left: auto; right: -24px; }
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: none; transition: opacity .2s, transform .2s var(--ease); }
.dropdown a { display: block; padding: 10px 24px; font-size: .86rem; font-weight: 500; letter-spacing: .03em; color: #fff; }
.dropdown a:hover { color: var(--cyan); background: rgba(255, 255, 255, .04); }
.nav-toggle { display: none; }

/* Seven menu items: shrink them in steps so they stay on one line down to 1024px */
@media (max-width: 1340px) {
  .nav-link { font-size: .8rem; letter-spacing: .09em; }
}
@media (max-width: 1200px) {
  .header-inner { gap: 28px; }
  .nav-list { gap: 12px; }
  .nav-link { font-size: .74rem; letter-spacing: .05em; }
}

@media (max-width: 1023px) {
  :root { --utility-h: 0px; }
  .utility-bar { display: none; }
  .hero { height: calc(100vh - 135px); height: calc(100svh - 135px); }
  .nav-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 10px;
    border: 0;
    background: none;
    cursor: pointer;
  }
  .nav-toggle span:not(.sr-only) { display: block; height: 2px; background: #fff; border-radius: 2px; transition: transform .3s, opacity .2s; }
  .nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    display: block;
    padding: 8px var(--gutter) 40px;
    background: var(--navy);
    overflow-y: auto;
    visibility: hidden;
    transform: translateX(100%);
    transition: transform .35s var(--ease), visibility 0s .35s;
  }
  .nav-open .site-nav { visibility: visible; transform: none; transition: transform .35s var(--ease); }
  body.nav-open { overflow: hidden; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; max-width: none; }
  .nav-list > li { flex-wrap: wrap; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-link { flex: 1; padding: 18px 0; font-size: .9rem; }
  .dropdown-toggle {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    background: none;
    color: #fff;
    cursor: pointer;
  }
  .dropdown-toggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .2s; }
  .has-dropdown.open .dropdown-toggle::before { transform: translateY(2px) rotate(-135deg); }
  .dropdown,
  .has-dropdown:hover .dropdown,
  .has-dropdown:focus-within .dropdown {
    position: static;
    display: none;
    flex-basis: 100%;
    min-width: 0;
    padding: 0 0 12px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .has-dropdown.open .dropdown { display: block; }
  .dropdown a { padding: 10px 0 10px 16px; color: rgba(255, 255, 255, .8); }
}

/* ---------- Home hero ---------- */
/* Hero fills the first screen: viewport minus the two header bars (105px) and the
   part of the promo cards that hangs below the photo (60px). */
.hero { position: relative; display: flex; align-items: flex-end; height: calc(100vh - 165px); height: calc(100svh - 165px); min-height: 460px; overflow: hidden; background: #1A1A1A; }
.hero-bg, .page-hero-bg, .band-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, 0) 35%, rgba(0, 0, 0, .5)); }
.hero .container { position: relative; z-index: 2; padding-bottom: 185px; }
/* Title: pulled left of the content column (144px = 1.5in beyond the gutter offset),
   but never closer than 16px to the screen edge. */
.hero h1 {
  width: fit-content; max-width: 15.5em;
  margin-left: max(calc(16px - var(--gutter) - 144px), calc(16px - max(var(--gutter), (100vw - var(--max)) / 2)));
  font-size: clamp(1.7rem, 3.2vw, 2.85rem); font-weight: 700; line-height: 1.1; color: #fff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .35);
}

.promo-row { position: relative; z-index: 3; margin-top: -150px; }
/* The video ends at the middle of the promo cards: page white covers it behind their lower
   half. The marquee pads the cards 8px above and 18px below, so their middle is 5px above the row's. */
.promo-row::before { content: ""; position: absolute; inset: calc(50% - 5px) 0 0; z-index: -1; background: #fff; }
.promo-marquee {
  --promo-gap: 30px;
  padding: 8px 0 18px;
  overflow-x: auto;
  scrollbar-width: none;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.promo-marquee::-webkit-scrollbar { display: none; }
.promo-track { display: flex; gap: var(--promo-gap); width: max-content; padding: 0 var(--gutter); }
.promo-track .promo-card { flex: 0 0 clamp(260px, 27vw, 388px); }
/* Added by js/main.js: the card set is duplicated and the track drifts right by one set, then loops. */
.promo-marquee.is-animated { overflow: hidden; }
.promo-marquee.is-animated .promo-track { padding: 0 var(--promo-gap) 0 0; animation: promo-drift var(--marquee-duration, 80s) linear infinite; }
.promo-marquee.is-animated:hover .promo-track,
.promo-marquee.is-animated:focus-within .promo-track { animation-play-state: paused; }
@keyframes promo-drift { from { transform: translateX(-50%); } to { transform: translateX(0); } }
.promo-card {
  display: flex;
  flex-direction: column;
  min-height: 175px;
  padding: 28px 24px 22px;
  border-radius: var(--radius);
  background: var(--gray-50);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .22);
  color: var(--ink);
  transition: transform .25s var(--ease), box-shadow .25s;
}
.promo-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .2); }
.promo-title { margin-bottom: 12px; font-size: 1.22rem; font-weight: 700; line-height: 1.4; }
.promo-card .arrow-icon { margin-top: auto; align-self: flex-end; }

/* ---------- Intro (tagline + copy) ---------- */
.intro { padding: 40px 0 64px; }
.intro-grid { display: grid; grid-template-columns: 5fr 6fr; gap: 40px 80px; }
.tagline { font-size: clamp(1.35rem, 2vw, 1.6rem); font-weight: 400; line-height: 1.3; letter-spacing: .01em; text-transform: uppercase; color: var(--cyan); }
.tagline b { font-weight: 700; }
.intro-copy p { font-size: 1.08rem; line-height: 1.8; }
.intro-copy p:last-child { margin-bottom: 0; }

/* ---------- Photo tiles (big title, arrow) ---------- */
.tiles-section { padding: 0 0 64px; }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.5vw, 50px); }
.tile { position: relative; display: block; aspect-ratio: 2 / 3; overflow: hidden; border-radius: var(--radius); background: #222; color: #fff; }
.tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .45), rgba(0, 0, 0, 0) 40%, rgba(0, 0, 0, 0) 72%, rgba(0, 0, 0, .45)); }
.tile:hover img { transform: scale(1.05); }
.tile-title { position: absolute; z-index: 2; top: 20px; left: 22px; right: 22px; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 400; line-height: 1.08; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.tile .arrow-icon { position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 34px; height: 34px; background: #fff; }
.section-gray .tiles-section, .section-gray.tiles-section { padding: 96px 0; }
/* Nine-tile grid (home and Research & Innovation: technology focus) */
.tiles.tiles-9 { grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.5vw, 32px); }
.tiles-9 .tile { aspect-ratio: 1 / 1; }
.tiles-9 .tile-title { font-size: clamp(1.6rem, 2.8vw, 2.6rem); }
@media (max-width: 860px) {
  .tiles.tiles-9 { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .tiles-9 .tile:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 2 / 1; }
}
@media (max-width: 560px) {
  .tiles-9 .tile-title { top: 14px; left: 14px; right: 14px; font-size: 1.15rem; }
  .tiles-9 .tile .arrow-icon { right: 14px; bottom: 14px; width: 26px; height: 26px; }
}

/* ---------- Affiliates: expanding photo cards ----------
   Three rows of three. In each row, one wide open card (.is-open, moved by
   js/main.js) and a narrow strip for each of the others, labelled with its name.
   Below 861px the strips stack vertically. */
.affiliates { display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(420px, 40vw, 540px); }
.affiliates + .affiliates { margin-top: clamp(8px, 1vw, 14px); }
.affiliate { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--radius); background: #222; color: #fff; transition: flex-grow .6s var(--ease); }
.affiliate.is-open { flex-grow: 4; }
.affiliate img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.affiliate::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 20, 50, .72), rgba(5, 20, 50, .25) 55%, rgba(5, 20, 50, .5)); }
.affiliate-name { position: absolute; z-index: 2; left: 50%; bottom: 22px; writing-mode: vertical-rl; transform: translateX(-50%) rotate(180deg); white-space: nowrap; font-size: .78rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; transition: opacity .3s; }
.affiliate.is-open .affiliate-name { opacity: 0; }
/* Text fades in once the card has widened, so it never reflows while narrow */
.affiliate-body { position: absolute; z-index: 2; top: 26px; left: 28px; width: calc(100% - 56px); min-width: 280px; max-width: 32em; opacity: 0; visibility: hidden; transition: opacity .2s, visibility 0s .2s; }
.affiliate.is-open .affiliate-body { opacity: 1; visibility: visible; transition: opacity .4s .35s; }
.affiliate-body h3 { margin-bottom: 16px; font-size: clamp(2rem, 3.4vw, 3.1rem); font-weight: 400; line-height: 1.08; color: #fff; text-shadow: 0 1px 14px rgba(0, 0, 0, .45); }
.affiliate-body p { margin: 0; font-size: 1rem; line-height: 1.55; color: #fff; text-shadow: 0 1px 10px rgba(0, 0, 0, .5); }
.affiliate .arrow-icon { position: absolute; z-index: 2; right: 22px; bottom: 22px; width: 34px; height: 34px; opacity: 0; transition: opacity .2s, transform .25s var(--ease); }
.affiliate.is-open .arrow-icon { opacity: 1; transition: opacity .4s .35s, transform .25s var(--ease); }
@media (max-width: 860px) {
  .affiliates { flex-direction: column; height: auto; }
  .affiliate { flex: none; height: 64px; transition: height .5s var(--ease); }
  .affiliate.is-open { height: 380px; }
  .affiliate-name { top: 50%; bottom: auto; left: 20px; writing-mode: horizontal-tb; transform: translateY(-50%); }
  .affiliate-body { top: 22px; left: 20px; width: calc(100% - 40px); min-width: 0; }
  .affiliate-body h3 { margin-bottom: 12px; }
  .affiliate-body p { font-size: .95rem; }
  .affiliate .arrow-icon { right: 18px; bottom: 18px; }
}
.affiliates.no-transition .affiliate,
.affiliates.no-transition .affiliate * { transition: none; }

/* ---------- Photo band with white card ---------- */
.feature-band { position: relative; display: flex; align-items: center; min-height: 640px; padding: 96px 0; overflow: hidden; background: #DDE6EE; }
.feature-card {
  position: relative;
  z-index: 1;
  width: 52%;
  margin-left: auto;
  padding: 56px max(var(--gutter), calc((100vw - var(--max)) / 2)) 52px 60px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: #fff;
}
.feature-card h2 { margin-bottom: 20px; font-size: clamp(1.4rem, 2vw, 1.75rem); font-weight: 700; line-height: 1.3; }
.feature-card p { max-width: 620px; margin-bottom: 30px; font-size: 1rem; line-height: 1.6; }

/* ---------- Newsletter / subscribe ---------- */
.newsletter { padding: 52px 0 80px; }
.newsletter-box { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px 48px; padding: 40px; border-radius: var(--radius); background: var(--gray-100); }
.newsletter-box h2 { max-width: 22em; font-size: clamp(1.15rem, 1.8vw, 1.45rem); font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.subscribe-form { width: min(100%, 420px); }
.input-group { display: flex; padding: 5px; border-radius: 4px; background: #fff; box-shadow: 0 1px 2px rgba(0, 0, 0, .08); }
.input-group:focus-within { outline: 2px solid var(--cyan); outline-offset: 1px; }
.input-group input { flex: 1; min-width: 0; padding: 8px 12px; border: 0; background: transparent; color: var(--ink); font-size: .85rem; outline: none; }
.input-group .btn { padding: 10px 18px; font-size: .7rem; }
.consent { display: flex; align-items: center; gap: 8px; margin-top: 12px; font-size: .75rem; color: var(--ink); cursor: pointer; }
.consent input { width: 14px; height: 14px; margin: 0; accent-color: var(--cyan); }
.form-status { margin: 10px 0 0; font-size: .85rem; }
.form-status:empty { display: none; }

/* ---------- Black statement ---------- */
.statement { position: relative; display: flex; align-items: flex-end; min-height: 600px; padding: 120px 0 72px; overflow: hidden; background: var(--blue-grad); color: #fff; }
.statement-bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 68%;
  height: 100%;
  object-fit: cover;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 50%);
  mask-image: linear-gradient(90deg, transparent, #000 50%);
}
.statement .container { position: relative; }
.statement h2 { margin-bottom: 10px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; text-transform: uppercase; color: #fff; }
.statement .read-more { color: #fff; }
.statement p { max-width: 560px; margin-bottom: 18px; font-size: clamp(1.1rem, 1.6vw, 1.32rem); line-height: 1.45; color: #fff; }
.statement.center { align-items: center; text-align: center; padding: 120px 0; }
.statement.center p { margin-inline: auto; }

/* ---------- Insights ---------- */
.insights { padding: 72px 0 40px; }
.insights-layout { display: grid; grid-template-columns: 210px 1fr; gap: 28px; align-items: start; }
.insights-intro h2 { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; }
.insights-intro p { margin: 12px 0 22px; font-size: .95rem; line-height: 1.6; }
.carousel {
  display: flex;
  gap: 32px;
  margin-right: calc((100vw - min(var(--max), 100vw - 2 * var(--gutter))) / -2);
  padding: 4px var(--gutter) 48px 4px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: #CFCFCF #F0F0F0;
}
.carousel::-webkit-scrollbar { height: 10px; }
.carousel::-webkit-scrollbar-track { border-radius: 10px; background: #F0F0F0; }
.carousel::-webkit-scrollbar-thumb { border-radius: 10px; background: #CFCFCF; }
.carousel .post-card { flex: 0 0 min(420px, 78vw); scroll-snap-align: start; }

.post-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: var(--radius); background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .18); transition: box-shadow .25s, transform .25s var(--ease); }
.post-card:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(0, 0, 0, .18); }
.post-card[hidden] { display: none; }
.post-media { aspect-ratio: 7 / 5; overflow: hidden; background: #222; }
.post-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.post-card:hover .post-media img { transform: scale(1.04); }
.post-body { display: flex; flex: 1; flex-direction: column; padding: 22px 18px 20px; }
.post-body .label { font-size: .7rem; }
.post-title { margin-bottom: 14px; font-size: 1.1rem; font-weight: 700; line-height: 1.4; }
.post-title a::after { content: ""; position: absolute; inset: 0; }
.post-text { margin-bottom: 18px; font-size: .92rem; line-height: 1.6; }
.post-body .read-more { margin-top: auto; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }

.filters { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 8px 12px; border: 1px solid var(--cyan); border-radius: 2px; background: #fff; color: var(--cyan); font-size: .66rem; font-weight: 600; letter-spacing: .03em; text-transform: uppercase; cursor: pointer; transition: background-color .2s, color .2s; }
.chip:hover { background: var(--cyan-tint); }
.chip[aria-pressed="true"] { background: var(--cyan); color: #fff; }

/* Insights page: featured mosaic + per-topic rows */
.featured { display: grid; grid-template-columns: 1.35fr 1fr; gap: 12px; }
.featured-side { display: grid; gap: 12px; }
.feature-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 228px; padding: 28px; overflow: hidden; border-radius: var(--radius); background: #111; color: #fff; }
.feature-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.feature-tile::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 20, 50, .2), rgba(5, 20, 50, .72)); }
.feature-tile:hover > img { transform: scale(1.04); }
.feature-tile > :not(img) { position: relative; z-index: 2; }
.feature-tile .label { color: #fff; font-size: .7rem; }
.feature-tile h3 { max-width: 20em; padding-right: 48px; font-size: 1.2rem; font-weight: 700; line-height: 1.35; color: #fff; }
.feature-tile p { max-width: 34em; margin: 18px 0 0; font-size: .95rem; color: rgba(255, 255, 255, .88); }
.feature-tile .arrow-icon { position: absolute; right: 24px; bottom: 22px; width: 34px; height: 34px; }
.feature-tile.large { justify-content: flex-start; min-height: 470px; padding: 40px 32px; }
.feature-tile.large h3 { font-size: 1.55rem; }
.feature-tile a::after { content: ""; position: absolute; inset: 0; }

.topic { padding: 56px 0 8px; }
.topic-head { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 24px; margin-bottom: 26px; padding-bottom: 14px; border-bottom: 1px solid #8C8C8C; }
.topic-head .section-heading { margin: 0; }
.post-body .request { font-size: .9rem; }

/* Stats row */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.stat-num { display: block; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #8C8C8C; font-size: clamp(2.2rem, 3.6vw, 3.1rem); font-weight: 400; line-height: 1.1; color: var(--cyan); }
.stat p { margin: 0; font-size: .95rem; }

/* Process row with icon squares on a dotted line */
.process-section { overflow: hidden; }
.process { position: relative; display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.process::before { content: ""; position: absolute; top: 30px; left: -50vw; right: -50vw; border-top: 2px dotted #6E6E6E; }
.process-icon { position: relative; display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 22px; border-radius: var(--radius); background: linear-gradient(180deg, #23B9EF, var(--cyan-dark)); color: #fff; box-shadow: 0 4px 10px rgba(0, 0, 0, .2); }
.process-icon svg { width: 30px; height: 30px; }
.process h3 { min-height: 3.6em; margin-bottom: 16px; padding-bottom: 14px; border-bottom: 1px solid #8C8C8C; font-size: 1.12rem; font-weight: 700; line-height: 1.3; color: var(--cyan); }
.process p { margin: 0; font-size: .95rem; }
/* One-line note under the steps (Licensing > How we work), styled like the step titles */
.process-note { margin: 44px 0 0; font-size: 1.12rem; font-weight: 700; line-height: 1.4; color: var(--cyan); }

/* Wide photo with a white side card */
.media-card { display: grid; grid-template-columns: 2fr 1fr; align-items: center; }
.media-card-img { aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--radius); }
.media-card-img img { width: 100%; height: 100%; object-fit: cover; }
.media-card-box { align-self: stretch; margin: 6% 0; padding: 40px 32px; display: flex; flex-direction: column; justify-content: center; border-radius: 0 var(--radius) var(--radius) 0; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .18); }
.media-card-box h3 { margin-bottom: 12px; font-size: 1.3rem; font-weight: 500; }
.media-card-box p { font-size: .95rem; margin-bottom: 20px; }

/* Licensing: heading beside a 2x2 grid of photo cards */
.explore { display: grid; grid-template-columns: 230px 1fr; gap: 40px; align-items: start; }
.explore-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.explore-card { position: relative; display: flex; flex-direction: column; justify-content: space-between; aspect-ratio: 2.25 / 1; padding: 18px 20px; overflow: hidden; border-radius: var(--radius); background: #111; color: #fff; }
.explore-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.explore-card::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(5, 20, 50, .5), rgba(5, 20, 50, .2) 45%, rgba(5, 20, 50, .78)); }
.explore-card:hover img { transform: scale(1.05); }
.explore-card h3, .explore-card .read-more { position: relative; z-index: 2; }
.explore-card h3 { font-size: 1.1rem; font-weight: 400; color: #fff; }
.explore-card .read-more { font-size: .92rem; color: #fff; }
.explore-card:hover .read-more { color: #BFE8FA; }
.prose { max-width: 860px; margin-inline: auto; }
.prose h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; text-transform: uppercase; }
.prose p { font-size: .98rem; line-height: 1.7; }

/* Standards strip */
.standards-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.standard-chip { flex: 1 1 140px; padding: 22px 16px; border-radius: var(--radius); background: #fff; text-align: center; font-size: 1.15rem; font-weight: 700; letter-spacing: .02em; color: #2B2B2B; box-shadow: 0 2px 6px rgba(0, 0, 0, .08); }
.standard-chip small { display: block; margin-top: 4px; font-size: .7rem; font-weight: 500; letter-spacing: .04em; text-transform: uppercase; color: var(--text); }
.standards-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.standards-grid .standard-chip { display: flex; flex-direction: column; justify-content: center; text-wrap: balance; }

@media (max-width: 1023px) {
  .standards-grid { grid-template-columns: repeat(3, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .process { grid-template-columns: repeat(2, 1fr); }
  .process::before { display: none; }
  .explore { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .featured, .media-card { grid-template-columns: 1fr; }
  .feature-tile.large { min-height: 380px; }
  .media-card-box { margin: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .explore-grid { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .standards-grid { grid-template-columns: repeat(2, 1fr); }
  .stats, .process { grid-template-columns: 1fr; }
  .process h3 { min-height: 0; }
}

/* ---------- Inner page hero ---------- */
.page-hero { position: relative; display: flex; align-items: center; min-height: clamp(380px, 32vw, 460px); overflow: hidden; background: #222; }
.page-hero::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(7, 40, 90, .82) 0%, rgba(7, 40, 90, .45) 45%, rgba(7, 40, 90, 0) 80%); }
.page-hero .container { position: relative; z-index: 2; padding: 72px 0; }
.page-hero h1 { max-width: 15em; font-size: clamp(2rem, 3.8vw, 3.25rem); font-weight: 400; line-height: 1.12; color: #fff; }
.page-hero p { max-width: 600px; margin: 18px 0 0; font-size: 1.08rem; color: rgba(255, 255, 255, .88); }
.page-hero .btn { margin-top: 36px; }
/* Short tagline stack, indented, each line led by a square accent bullet.
   Heroes that carry one pin their heading to the top so it sits at the same height on every such page. */
.page-hero:has(.hero-lines) { align-items: flex-start; }
.page-hero:has(.hero-lines) .container { padding-top: clamp(56px, 7.5vw, 108px); }
.page-hero .hero-lines { display: flex; flex-direction: column; gap: .6em; max-width: none; margin-top: 30px; padding-left: 2.4em; font-size: clamp(1.2rem, 1.9vw, 1.55rem); font-weight: 600; line-height: 1.4; color: #fff; }
.hero-lines span { position: relative; padding-left: 1.1em; animation: hero-line-in 2s var(--ease) both; }
.hero-lines span:nth-child(2) { animation-delay: 2s; }
.hero-lines span:nth-child(3) { animation-delay: 4s; }
.hero-lines span::before { content: ""; position: absolute; left: 0; top: .5em; width: .4em; height: .4em; background: var(--cyan); }
@keyframes hero-line-in { from { opacity: 0; transform: translateX(-60px); } to { opacity: 1; transform: translateX(0); } }

/* Moving background (Contact hero): soft, out-of-focus blue/violet shapes drifting slowly.
   Pure CSS; only transforms animate, so the blurred shapes are rasterized once and moved on the GPU. */
.page-hero-flow::before { background: linear-gradient(90deg, rgba(7, 40, 90, .45) 0%, rgba(7, 40, 90, 0) 60%); }
.hero-flow { z-index: 0; overflow: hidden; background: linear-gradient(125deg, #1f4fcf 0%, #1269d6 40%, #2f62d4 70%, #5348c6 100%); }
.hero-flow span { position: absolute; border-radius: 50%; filter: blur(40px); will-change: transform; animation: hero-flow-a 9s ease-in-out infinite alternate; }
.hero-flow span:nth-child(1) { left: -10%; top: -35%; width: 55%; height: 130%; background: radial-gradient(closest-side, #3d8bff, rgba(61, 139, 255, 0)); }
.hero-flow span:nth-child(2) { right: -12%; top: -45%; width: 50%; height: 140%; background: radial-gradient(closest-side, #7b52e6, rgba(123, 82, 230, 0)); animation-name: hero-flow-b; animation-duration: 11s; animation-delay: -3s; }
.hero-flow span:nth-child(3) { left: 30%; top: 10%; width: 40%; height: 120%; background: radial-gradient(closest-side, rgba(10, 52, 150, .9), rgba(10, 52, 150, 0)); animation-name: hero-flow-c; animation-duration: 8s; animation-delay: -2s; }
.hero-flow span:nth-child(4) { left: 8%; bottom: -55%; width: 45%; height: 120%; background: radial-gradient(closest-side, #8a6cf0, rgba(138, 108, 240, 0)); opacity: .8; animation-name: hero-flow-b; animation-duration: 10s; animation-delay: -5s; }
.hero-flow span:nth-child(5) { left: 45%; top: -30%; width: 30%; height: 90%; background: radial-gradient(closest-side, rgba(170, 205, 255, .55), rgba(170, 205, 255, 0)); animation-name: hero-flow-c; animation-duration: 12s; animation-delay: -7s; }
.hero-flow span:nth-child(6) { right: 5%; bottom: -40%; width: 38%; height: 110%; background: radial-gradient(closest-side, #1b7fe6, rgba(27, 127, 230, 0)); animation-duration: 8.5s; animation-delay: -4s; }
@keyframes hero-flow-a { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(32%, 20%) rotate(36deg) scale(1.15); } 100% { transform: translate(-10%, 32%) rotate(-12deg) scale(.95); } }
@keyframes hero-flow-b { 0% { transform: translate(0, 0) rotate(0deg) scale(1.1); } 50% { transform: translate(-36%, 14%) rotate(-40deg) scale(.9); } 100% { transform: translate(12%, 30%) rotate(16deg) scale(1.2); } }
@keyframes hero-flow-c { 0% { transform: translate(0, 0) rotate(0deg) scale(1); } 50% { transform: translate(26%, -26%) rotate(20deg) scale(1.3); } 100% { transform: translate(-28%, 10%) rotate(-8deg) scale(.85); } }
@media (prefers-reduced-motion: reduce) { .hero-flow span { animation: none; } }

/* Moving glass (Affiliates hero; Acquisitions, Licensing and Legal use the calmer variant below): the glass-building photo zooms in slowly, a band of light sweeps
   across the façade, and cyan light trails run along the floors and up the building.
   Only transforms and opacity animate. Sheen and trails start invisible (opacity 0), so with
   reduced motion they stay hidden and only the still photo shows. */
.hero-glass { z-index: 0; overflow: hidden; background: #0a2a4d; }
.hero-glass img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; transform-origin: 60% 60%; will-change: transform; animation: glass-zoom 10s ease-in-out infinite alternate; }
.hero-glass span { position: absolute; opacity: 0; pointer-events: none; will-change: transform, opacity; }
.hero-glass-sheen { top: -20%; bottom: -20%; left: 0; width: 35%; background: linear-gradient(90deg, rgba(160, 215, 255, 0), rgba(160, 215, 255, .16) 35%, rgba(205, 238, 255, .42) 50%, rgba(160, 215, 255, .16) 65%, rgba(160, 215, 255, 0)); mix-blend-mode: screen; animation: glass-sheen 9s ease-in-out 1.5s infinite; }
/* Light trails live in their own layer, faded out on the left so they never run behind the heading. */
.hero-glass-lights { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(90deg, transparent 40%, #000 65%); mask-image: linear-gradient(90deg, transparent 40%, #000 65%); }
/* Horizontal trails: a fading tail with a glowing head at its right end. */
.hero-glass-trail { left: 0; width: 28%; height: 2px; background: linear-gradient(90deg, rgba(13, 162, 223, 0), rgba(127, 211, 245, .85) 85%, #fff); animation: glass-trail 8s cubic-bezier(.45, 0, .55, 1) infinite; }
.hero-glass-trail::after { content: ""; position: absolute; right: -3px; top: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(13, 162, 223, .9); }
.hero-glass-trail:nth-of-type(1) { top: 40%; animation-duration: 9s; animation-delay: .4s; }
.hero-glass-trail:nth-of-type(2) { top: 55%; animation-duration: 7s; animation-delay: 2.6s; }
.hero-glass-trail:nth-of-type(3) { top: 66%; animation-duration: 10s; animation-delay: 5s; }
.hero-glass-trail:nth-of-type(4) { top: 77%; animation-duration: 8s; animation-delay: 1.4s; }
.hero-glass-trail:nth-of-type(5) { top: 88%; animation-duration: 11s; animation-delay: 3.8s; }
/* Vertical trails rising up the façade, head at the top. */
.hero-glass-rise { top: 0; width: 2px; height: 45%; background: linear-gradient(0deg, rgba(13, 162, 223, 0), rgba(127, 211, 245, .8) 88%, #fff); animation: glass-rise 9s cubic-bezier(.45, 0, .55, 1) infinite; }
.hero-glass-rise::after { content: ""; position: absolute; top: -3px; left: -2px; width: 6px; height: 6px; border-radius: 50%; background: #fff; box-shadow: 0 0 10px 3px rgba(13, 162, 223, .9); }
.hero-glass-rise:nth-of-type(6) { left: 64%; animation-delay: 1s; }
.hero-glass-rise:nth-of-type(7) { left: 77%; animation-duration: 11s; animation-delay: 4.5s; }
.hero-glass-rise:nth-of-type(8) { left: 90%; animation-duration: 10s; animation-delay: 7s; }
@keyframes glass-zoom { from { transform: scale(1.02); } to { transform: scale(1.1) translate(-2%, -1%); } }
@keyframes glass-sheen { 0% { transform: translateX(-120%) skewX(-18deg); opacity: 0; } 8%, 42% { opacity: 1; } 50%, 100% { transform: translateX(320%) skewX(-18deg); opacity: 0; } }
@keyframes glass-trail { 0% { transform: translateX(-100%); opacity: 0; } 4%, 46% { opacity: 1; } 50%, 100% { transform: translateX(360%); opacity: 0; } }
@keyframes glass-rise { 0% { transform: translateY(225%); opacity: 0; } 5%, 40% { opacity: 1; } 45%, 100% { transform: translateY(-100%); opacity: 0; } }
/* Calmer variant (Acquisitions, Licensing and Legal heroes): same zoom and trails, but no light sweep (the
   sheen span is left out of the markup) and plain lines with no glowing dot or white tip at the front. */
.hero-glass-soft img { object-position: 50% 50%; transform-origin: 50% 35%; }
.hero-glass-soft .hero-glass-trail { background: linear-gradient(90deg, rgba(13, 162, 223, 0), rgba(127, 211, 245, .85)); }
.hero-glass-soft .hero-glass-rise { background: linear-gradient(0deg, rgba(13, 162, 223, 0), rgba(127, 211, 245, .8)); }
.hero-glass-soft span::after { display: none; }
/* On phones the heading spans the full width, so vertical trails would cut through the words: drop them. */
@media (max-width: 640px) { .hero-glass-trail:nth-of-type(3), .hero-glass-rise { display: none; } }
@media (prefers-reduced-motion: reduce) { .hero-glass img, .hero-glass span { animation: none; } }

/* ---------- Generic sections ---------- */
.section { padding: clamp(56px, 7vw, 96px) 0; }
.section-gray { background: var(--gray-100); }
.section-dark { background: var(--navy); color: rgba(255, 255, 255, .82); }
.section-dark h2, .section-dark h3 { color: #fff; }
.lede h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; text-transform: uppercase; }
.lede p { max-width: 1100px; font-size: 1.05rem; line-height: 1.75; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: center; }
.split + .split { margin-top: clamp(64px, 8vw, 110px); }
.split.reverse .split-media { order: 2; }
.split-media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: var(--radius); background: #222; }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-body h2 { margin-bottom: 18px; font-size: clamp(1.5rem, 2.6vw, 2.1rem); font-weight: 700; line-height: 1.25; }
.split-body p { font-size: 1.05rem; line-height: 1.75; }

.check-list { display: grid; gap: 12px; margin: 22px 0 30px; padding: 0; list-style: none; }
.check-list li { position: relative; padding-left: 34px; }
.check-list li::before { content: ""; position: absolute; left: 0; top: .2em; width: 22px; height: 22px; border-radius: 50%; background: var(--cyan-tint) var(--check-icon) center / 13px no-repeat; }
.section-dark .check-list li::before { background-color: rgba(13, 162, 223, .18); }

.grid { display: grid; gap: 30px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.icon-badge { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 20px; border-radius: 50%; background: var(--cyan-tint); color: var(--cyan); }
.icon-badge svg { width: 26px; height: 26px; }
.icon-feature h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; }
.icon-feature p { margin: 0; font-size: .95rem; }
.feature-box { padding: 32px 26px; border-radius: var(--radius); background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .1); }

.step { padding: 32px 26px; border-top: 4px solid var(--cyan); border-radius: 0 0 var(--radius) var(--radius); background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .1); }
.step-num { display: block; margin-bottom: 16px; font-size: 2.2rem; font-weight: 300; line-height: 1; color: var(--cyan); }
.step h3 { margin-bottom: 10px; font-size: 1.1rem; font-weight: 700; text-transform: uppercase; }
.step p { margin: 0; font-size: .95rem; }

.cta-band { padding: clamp(56px, 7vw, 88px) 0; background: var(--blue-grad); color: rgba(255, 255, 255, .9); }
.cta-band .btn { background: #fff; color: var(--cyan-dark); }
.cta-band .btn:hover { background: var(--cyan-tint); }
.cta-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 28px; }
.cta-inner h2 { max-width: 26em; margin-bottom: 10px; font-size: clamp(1.3rem, 2.2vw, 1.75rem); font-weight: 700; text-transform: uppercase; color: #fff; }
.cta-inner h2 + p { max-width: 600px; margin: 0; }
.cta-band .eyebrow { margin-bottom: 10px; color: #BFE8FA; }
/* CTA band with a compact form beside the text (Legal page): fields sit straight on the blue
   gradient, and the text is sized so its block is as tall as the form on desktop */
.cta-form { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); gap: clamp(28px, 4vw, 56px); align-items: center; }
.cta-form .eyebrow { font-size: .9rem; }
.cta-form h2 { font-size: clamp(1.6rem, 3vw, 2.5rem); line-height: 1.08; }
.cta-form h2 + p { font-size: clamp(1rem, 1.3vw, 1.1rem); line-height: 1.55; }
.cta-form-box .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px 10px; }
.cta-form-box .form-grid .half { grid-column: span 2; }
.cta-form-box .form-grid input, .cta-form-box .form-grid select, .cta-form-box .form-grid textarea { padding: 0 12px; border-color: transparent; font-size: .8rem; }
.cta-form-box .form-grid input, .cta-form-box .form-grid select { height: 36px; }
.cta-form-box .form-grid textarea { display: block; height: 64px; min-height: 36px; padding-top: 8px; padding-bottom: 8px; }
.cta-form-box .form-grid select:invalid { color: #757575; }
.cta-form-box .form-grid input:focus, .cta-form-box .form-grid select:focus, .cta-form-box .form-grid textarea:focus { border-color: #fff; box-shadow: 0 0 0 3px rgba(255, 255, 255, .35); }
.cta-form-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 10px 20px; margin-top: 10px; }
.cta-form-box .consent { margin: 0; color: rgba(255, 255, 255, .88); }
.cta-form-box .btn { padding: 11px 28px; }
.cta-form-box .form-status { color: #fff; }
@media (max-width: 1000px) { .cta-form-box .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .cta-form { grid-template-columns: 1fr; }
  .cta-form-box .form-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 600px) { .cta-form-box .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 5vw, 64px); align-items: start; }
.contact-list { display: grid; gap: 16px; }
.contact-item { display: flex; gap: 18px; padding: 24px; border-radius: var(--radius); background: #fff; box-shadow: 0 3px 10px rgba(0, 0, 0, .1); }
.contact-item .icon-badge { flex: none; width: 48px; height: 48px; margin: 0; }
.contact-item .icon-badge svg { width: 22px; height: 22px; }
.contact-item h3 { margin-bottom: 4px; font-size: 1rem; font-weight: 700; }
.contact-item p { margin: 0 0 6px; font-size: .92rem; }
.contact-item a { font-weight: 600; color: var(--cyan); }
.contact-item a:hover { text-decoration: underline; }

.form { display: grid; gap: 20px; padding: clamp(24px, 4vw, 44px); border-radius: var(--radius); background: var(--gray-100); }
.form h2 { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.field label { display: block; margin-bottom: 8px; font-size: .82rem; font-weight: 600; color: var(--ink); }
.field input, .field select, .field textarea { width: 100%; padding: 13px 14px; border: 1px solid #C8C8C8; border-radius: 3px; background: #fff; color: var(--ink); }
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(13, 162, 223, .2); }
.form .btn { justify-self: start; }

/* ---------- Footer ---------- */
.site-footer { padding: 32px 0 44px; background: var(--navy); color: #fff; }
.footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 48px 96px; padding-bottom: 64px; }
.footer-mission p { max-width: 420px; margin-bottom: .5em; font-size: .75rem; line-height: 1.5; color: #fff; }
.footer-mission p:last-child { margin-bottom: 0; }
.footer-subscribe h2 { margin-bottom: 16px; font-size: 1.6rem; font-weight: 700; text-transform: uppercase; color: #fff; }
.footer-subscribe .consent { color: rgba(255, 255, 255, .7); }
.footer-subscribe .form-status { color: #fff; }
.footer-bottom { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 28px; }
.footer-bottom .logo { font-size: 1.1rem; }
.footer-bottom .logo svg { width: 28px; height: 28px; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 22px; font-size: .64rem; letter-spacing: .02em; text-transform: uppercase; }
.footer-legal a:hover { color: var(--cyan); }
.social { display: flex; gap: 16px; margin-left: auto; }
.social a { color: #fff; transition: color .2s; }
.social a:hover { color: var(--cyan); }
.social svg { width: 20px; height: 20px; }

/* ---------- 404 ---------- */
.not-found { display: grid; place-items: center; min-height: 55vh; text-align: center; }
.not-found h1 { margin-bottom: 12px; font-size: clamp(4rem, 12vw, 7rem); font-weight: 300; line-height: 1; color: var(--cyan); }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s var(--ease), transform .7s var(--ease); }
.js .reveal.visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1023px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .post-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card { width: 64%; }
}

@media (max-width: 860px) {
  .hero .container { padding-bottom: 175px; }
  .promo-track .promo-card { flex-basis: 270px; min-height: 165px; }
  .promo-marquee { --promo-gap: 16px; }
  .intro { padding: 32px 0 48px; }
  .intro-grid, .split, .contact-grid, .footer-top { grid-template-columns: 1fr; }
  .split.reverse .split-media { order: 0; }
  .tiles, .grid-3 { grid-template-columns: 1fr; }
  .tile { aspect-ratio: 4 / 3; }
  .feature-band { display: block; min-height: 0; padding: 0; background: #fff; }
  .feature-band .band-bg { position: relative; height: 300px; }
  .feature-card { width: auto; padding: 36px var(--gutter) 8px; border-radius: 0; }
  .statement { min-height: 0; padding-top: 280px; }
  .statement-bg { width: 100%; height: 320px; -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .statement.center { padding: 96px 0; }
  .statement.center .statement-bg { height: 100%; opacity: .45; -webkit-mask-image: none; mask-image: none; }
  .insights-layout { grid-template-columns: 1fr; }
  .carousel { margin-right: calc(-1 * var(--gutter)); }
  .newsletter-box { padding: 28px 22px; }
  .social { margin-left: 0; }
}

@media (max-width: 640px) {
  .grid-4, .post-grid, .form-row { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Sub-page templates (lab, inventors, about, careers, contact)
   ========================================================================== */

/* Split hero: color panel + photo */
.split-hero { display: grid; grid-template-columns: 1fr 1fr; min-height: clamp(380px, 32vw, 460px); background: var(--blue-grad); color: #fff; }
.split-hero-text { display: flex; flex-direction: column; justify-content: center; padding: 64px 56px 64px max(var(--gutter), calc((100vw - var(--max)) / 2)); }
.split-hero h1 { max-width: 12em; font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 400; line-height: 1.1; color: #fff; }
.split-hero p { max-width: 470px; margin: 22px 0 0; font-size: 1rem; color: rgba(255, 255, 255, .92); }
.split-hero .btn { align-self: flex-start; margin-top: 32px; }
.split-hero-media { position: relative; min-height: 260px; }
.split-hero-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Label on the left, large paragraph on the right */
.label-intro { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.label-intro h2 { font-size: 1.4rem; font-weight: 700; text-transform: uppercase; }
.label-intro p { margin: 0; font-size: clamp(1.05rem, 1.4vw, 1.22rem); line-height: 1.6; color: #333; }

/* "Work in action" grid: icon, rule, cyan title, text */
.impact-intro { max-width: 640px; margin: -12px 0 44px; }
.impact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 52px 40px; }
.impact-icon { width: 60px; height: 60px; margin-bottom: 20px; color: var(--cyan); }
.impact-icon svg { width: 100%; height: 100%; stroke-width: 1.3; }
.impact h3 { margin-bottom: 14px; padding-top: 22px; border-top: 1px solid #8C8C8C; font-size: 1.05rem; font-weight: 700; color: var(--cyan); }
.impact p { margin: 0; font-size: .95rem; }

/* Image beside heading, text and bullets */
.image-text { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(28px, 4vw, 56px); align-items: center; }
.image-text img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.image-text h2 { margin-bottom: 16px; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; text-transform: uppercase; }
.bullets { display: grid; gap: 10px; margin: 18px 0; padding: 0; list-style: none; }
.bullets li { position: relative; padding-left: 20px; }
.bullets li::before { content: ""; position: absolute; left: 2px; top: .62em; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan); }

/* Tabs */
.tab-list { display: flex; flex-wrap: wrap; border-bottom: 1px solid #BDBDBD; }
.tab { margin-bottom: -1px; padding: 14px 28px; border: 0; border-bottom: 3px solid transparent; background: none; font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); cursor: pointer; }
.tab:hover { color: var(--cyan); }
.tab[aria-selected="true"] { border-bottom-color: var(--cyan); color: var(--cyan); }
.tab-panel { max-width: 760px; padding-top: 28px; }
.tab-panel h3 { margin-bottom: 18px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; color: var(--cyan); }
.tab-panel .lead-in { font-weight: 700; color: var(--ink); }
.plus-list { display: grid; gap: 12px; margin: 0; padding: 0; list-style: none; }
.plus-list li::before { content: "+ "; font-weight: 700; color: var(--ink); }

/* Standards block: text left, chips right */
.standards-block { display: grid; grid-template-columns: 320px 1fr; gap: 48px; align-items: center; }
.standards-block h2 { margin-bottom: 14px; font-size: clamp(1.25rem, 2vw, 1.55rem); font-weight: 700; text-transform: uppercase; }
.standards-block p { margin: 0; }

/* Values row */
.values { display: grid; grid-template-columns: repeat(4, 1fr); gap: 32px; }
.value .impact-icon { width: 54px; height: 54px; }
.value h3 { margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid #8C8C8C; font-size: 1.02rem; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--cyan); }
.value strong { display: block; margin-bottom: 14px; color: var(--ink); }
.value p { margin: 0; font-size: .95rem; }

/* Media card variant: box on the left */
.media-card.reverse { grid-template-columns: 1fr 2fr; }
.media-card.reverse .media-card-box { order: -1; border-radius: var(--radius) 0 0 var(--radius); }
.media-card + .media-card { margin-top: 40px; }


/* Two-column intro (careers) */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 40px 64px; }
.two-col h2 { margin-bottom: 18px; font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.3; text-transform: uppercase; }
.two-col .lead-in { font-weight: 700; color: var(--ink); }
.link-list { display: grid; gap: 14px; margin: 18px 0 0; padding: 0; list-style: none; }
.link-list .read-more { text-transform: uppercase; }
.media-card .media-card-box.gray { background: var(--gray-100); box-shadow: none; }
.media-card-box h3.cyan { font-size: 1.5rem; font-weight: 700; color: var(--cyan); }
.roles { display: grid; grid-template-columns: 1fr 1fr; gap: 0 56px; margin: 0; padding: 0 0 0 18px; }
.roles li { margin-bottom: 14px; }
.roles strong { color: var(--ink); }

/* Contact: departments + form box */
.contact-layout { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px 64px; align-items: start; }
.dept { margin-bottom: 26px; }
.dept h2 { margin-bottom: 4px; font-size: 1.3rem; font-weight: 700; }
.dept p { margin: 0 0 2px; font-size: .92rem; color: var(--ink); }
.dept a { font-weight: 600; color: var(--cyan); }
.dept a:hover { text-decoration: underline; }
/* Single catch-all address under the department list */
.contact-all { margin: 34px 0 0; padding-top: 20px; border-top: 2px solid var(--cyan); font-size: 1.02rem; font-weight: 600; color: var(--ink); }
.contact-all a { font-weight: 700; color: var(--cyan); }
.contact-all a:hover { text-decoration: underline; }
.form-box { padding: clamp(24px, 3.5vw, 40px); border-radius: var(--radius) 0 0 var(--radius); background: var(--gray-100); }
.form-box h2 { margin-bottom: 22px; font-size: 1.5rem; font-weight: 500; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.form-grid .full { grid-column: 1 / -1; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; padding: 11px 14px; border: 1px solid #D5DBE2; border-radius: 4px; background: #fff; color: var(--ink); font-size: .85rem; }
.form-grid textarea { min-height: 120px; resize: vertical; }
.form-grid input:focus, .form-grid select:focus, .form-grid textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(13, 162, 223, .2); }
.form-box .consent { margin: 16px 0; }
.form-box .form-status { color: var(--ink); }

/* Single featured-card slider */
.slider { position: relative; padding: 0 56px; }
.slide { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center; padding: 22px 22px 22px 32px; border-radius: var(--radius); background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .16); }
.slide[hidden] { display: none; }
.slide h3 { margin-bottom: 18px; font-size: clamp(1.25rem, 2vw, 1.6rem); font-weight: 700; line-height: 1.3; }
.slide img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: 4px; }
.slider-btn { position: absolute; top: 50%; display: grid; place-items: center; width: 34px; height: 34px; margin-top: -17px; border: 1px solid #8C8C8C; border-radius: 50%; background: #fff; color: var(--ink); cursor: pointer; }
.slider-btn:hover { border-color: var(--cyan); color: var(--cyan); }
.slider-btn.prev { left: 0; }
.slider-btn.next { right: 0; }
.slider-btn::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); margin-right: 3px; }
.slider-btn.prev::before { transform: rotate(135deg); margin: 0 0 0 3px; }

@media (max-width: 1023px) {
  .values { grid-template-columns: repeat(2, 1fr); }
  .standards-block { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .split-hero, .label-intro, .image-text, .two-col, .contact-layout, .slide, .media-card.reverse { grid-template-columns: 1fr; }
  .split-hero-text { padding: 56px var(--gutter); }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .media-card.reverse .media-card-box { order: 0; border-radius: 0 0 var(--radius) var(--radius); }
  .form-box { border-radius: var(--radius); }
  .slider { padding: 0 0 56px; }
  .slider-btn { top: auto; bottom: 0; margin: 0; }
  .slider-btn.prev { left: calc(50% - 44px); }
  .slider-btn.next { right: calc(50% - 44px); }
}
@media (max-width: 560px) {
  .impact-grid, .values, .roles, .form-grid { grid-template-columns: 1fr; }
  .tab { padding: 12px 14px; }
}

/* ==========================================================================
   Cookie consent (banner + settings window, built by js/main.js).
   Neutral colors only: no brand blue.
   ========================================================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 90;
  border-radius: 18px 18px 0 0;
  background: #F6F6F6;
  box-shadow: 0 -6px 28px rgba(0, 0, 0, .14);
  transform: translateY(110%);
  visibility: hidden;
  transition: transform .45s var(--ease), visibility 0s .45s;
}
.cookie-banner.is-visible { transform: none; visibility: visible; transition: transform .45s var(--ease); }
.cookie-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 56px; padding: 26px 0; }
.cookie-text h2 { margin-bottom: 8px; font-size: 1.2rem; font-weight: 500; color: #2B2B2B; }
.cookie-text p { max-width: 800px; margin: 0; font-size: .9rem; line-height: 1.65; color: #3A3A3A; }
.cookie-link { padding: 0; border: 0; background: none; color: #111; font: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 2px; cursor: pointer; }
.cookie-link:hover { color: #555; }
.cookie-actions { display: grid; flex: none; gap: 10px; width: 300px; }
.cookie-btn { height: 44px; padding: 0 24px; border: 0; border-radius: 999px; background: #1A1A1A; color: #fff; font-size: .82rem; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; cursor: pointer; transition: background-color .2s; }
.cookie-btn:hover { background: #3D3D3D; }
.cookie-btn:focus-visible, .cookie-link:focus-visible, .cookie-close:focus-visible { outline: 2px solid #1A1A1A; outline-offset: 3px; }

.cookie-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, .5); }
.cookie-modal[hidden] { display: none; }
.cookie-dialog { display: flex; flex-direction: column; width: min(620px, 100%); max-height: min(88vh, 720px); overflow: hidden; border-radius: 18px; background: #fff; box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.cookie-dialog-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px solid #E4E4E4; }
.cookie-dialog-head h2 { font-size: 1.2rem; font-weight: 600; color: #2B2B2B; }
.cookie-close { position: relative; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; background: none; color: #333; cursor: pointer; }
.cookie-close:hover { background: #EFEFEF; }
.cookie-close::before, .cookie-close::after { content: ""; position: absolute; top: 50%; left: 50%; width: 16px; height: 2px; margin: -1px 0 0 -8px; background: currentColor; transform: rotate(45deg); }
.cookie-close::after { transform: rotate(-45deg); }
.cookie-dialog-body { padding: 20px 24px; overflow-y: auto; }
.cookie-dialog-body > p { margin-bottom: 8px; font-size: .9rem; line-height: 1.65; color: #3A3A3A; }
.cookie-cat { margin-top: 12px; padding: 14px 16px; border: 1px solid #E4E4E4; border-radius: 12px; background: #FAFAFA; }
.cookie-cat-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-cat h3 { font-size: .98rem; font-weight: 600; color: #2B2B2B; }
.cookie-cat p { margin: 6px 0 0; font-size: .85rem; line-height: 1.55; color: #5A5A5A; }
.cookie-always { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: #1A1A1A; }
.cookie-switch { position: relative; flex: none; width: 44px; height: 24px; cursor: pointer; }
.cookie-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cookie-switch::before { content: ""; position: absolute; inset: 0; border-radius: 999px; background: #C9C9C9; transition: background-color .2s; }
.cookie-switch::after { content: ""; position: absolute; top: 3px; left: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; box-shadow: 0 1px 3px rgba(0, 0, 0, .25); transition: transform .2s; }
.cookie-switch:has(input:checked)::before { background: #1A1A1A; }
.cookie-switch:has(input:checked)::after { transform: translateX(20px); }
.cookie-switch:has(input:focus-visible) { outline: 2px solid #1A1A1A; outline-offset: 3px; border-radius: 999px; }
.cookie-dialog-foot { display: flex; justify-content: flex-end; padding: 16px 24px; border-top: 1px solid #E4E4E4; }

.footer-legal .cookie-settings-link { padding: 0; border: 0; background: none; color: inherit; font: inherit; letter-spacing: inherit; text-transform: inherit; cursor: pointer; }
.footer-legal .cookie-settings-link:hover { color: var(--cyan); }

@media (max-width: 860px) {
  .cookie-inner { flex-direction: column; align-items: stretch; padding: 22px 0; }
  .cookie-actions { grid-template-columns: 1fr 1fr; width: 100%; }
}
@media (max-width: 480px) {
  .cookie-actions { grid-template-columns: 1fr; }
  .cookie-text p { font-size: .85rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .js .reveal { opacity: 1; transform: none; }
}
