/* ==========================================================================
   Danijel Slisko — prototype theme
   Design reference: dark editorial layout, condensed display type, pill CTAs.
   ========================================================================== */

:root {
  --c-bg: #08090b;
  --c-bg-2: #0f1114;
  --c-bg-3: #16191d;
  --c-line: rgba(255, 255, 255, .1);
  --c-text: #f5f5f5;
  --c-muted: #9aa0a8;
  --c-dim: #6b7178;
  --c-accent: #b02a30;
  --c-accent-2: #d2414a;
  --c-light: #f4f2ef;
  --c-ink: #111;

  --f-display: "Bebas Neue", "Arial Narrow", Impact, sans-serif;
  --f-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 0;
  --radius-lg: 0;
  --header-h: 76px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--c-bg);
  color: var(--c-text);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; border-radius: 4px; }

.skip-link { position: absolute; left: -9999px; top: 8px; z-index: 999; background: var(--c-accent); color: #fff; padding: 10px 16px; border-radius: 999px; }
.skip-link:focus { left: 8px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }
.section { padding-block: clamp(72px, 10vw, 140px); position: relative; }
.section--tight { padding-block: clamp(48px, 6vw, 80px); }
.section--light { background: var(--c-light); color: var(--c-ink); }
.section--light .lead, .section--light p { color: #4a4d52; }
.section--alt { background: var(--c-bg-2); }

/* ---------- Type ---------- */
.display, h1, h2, h3.display {
  font-family: var(--f-display);
  font-weight: 400;
  line-height: .92;
  letter-spacing: .005em;
  text-transform: uppercase;
  margin: 0 0 .3em;
}
.display-xl { font-size: clamp(56px, 9vw, 132px); }
.display-lg { font-size: clamp(46px, 6.4vw, 96px); }
.display-md { font-size: clamp(38px, 4.6vw, 68px); }
.display-sm { font-size: clamp(30px, 3vw, 42px); }
.display .muted, h2 .muted { color: var(--c-dim); }
.section--light .display .muted { color: #a3a5a8; }

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--c-accent);
  margin-bottom: 14px;
}
.eyebrow--script { font-size: clamp(17px, 1.6vw, 21px); letter-spacing: 0; text-transform: none; font-weight: 600; }
.lead { font-size: clamp(18px, 1.5vw, 21px); color: var(--c-muted); max-width: 60ch; }
.lead strong, .story strong { color: var(--c-text); font-weight: 600; }
.section--light .lead strong { color: var(--c-ink); }
.story p { color: var(--c-muted); margin: 0 0 1em; max-width: 60ch; }
.story p.hl { color: var(--c-text); font-weight: 500; }
.center { text-align: center; }
.center .lead { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 600; font-size: 15px; line-height: 1;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--c-accent); color: #fff; }
.btn--primary:hover { background: var(--c-accent-2); }
.btn--light { background: #fff; color: var(--c-ink); }
.btn--light:hover { background: var(--c-accent); color: #fff; }
.btn--ghost { border-color: rgba(255,255,255,.35); color: #fff; }
.btn--ghost:hover { border-color: #fff; }
.btn--dark { background: var(--c-ink); color: #fff; }
.btn--sm { padding: 10px 18px; font-size: 14px; }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

/* ---------- Announcement bar ---------- */
.announce {
  background: linear-gradient(90deg, #6e1418, var(--c-accent) 50%, #6e1418);
  color: #fff; text-align: center;
  font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 10px var(--gutter);
}
.announce a { display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center; }
.announce .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 4px rgba(255,255,255,.25); animation: pulse 2s infinite; }
.announce span.sep { opacity: .6; }
@keyframes pulse { 50% { box-shadow: 0 0 0 7px rgba(255,255,255,0); } }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: rgba(8, 9, 11, .72);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, background .3s;
}
.site-header.is-scrolled { border-color: var(--c-line); background: rgba(8, 9, 11, .92); }
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.logo { display: inline-flex; align-items: center; gap: 10px; }
.logo__mark { height: 42px; width: auto; transition: transform .4s var(--ease); }
.logo:hover .logo__mark { transform: rotate(-4deg) scale(1.04); }
.logo__text { font-family: var(--f-body); font-weight: 700; font-size: 23px; line-height: 1; letter-spacing: -.035em; }
.newsletter__brand img { width: 46px; height: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav > a, .nav .has-sub > button {
  background: none; border: 0; color: #d7d9dc;
  font-size: 14px; font-weight: 500;
  padding: 10px 14px; border-radius: 999px;
  transition: color .2s, background .2s;
}
.nav > a:hover, .nav .has-sub > button:hover, .nav > a[aria-current="page"] { color: #fff; background: rgba(255,255,255,.06); }
.has-sub { position: relative; }
.has-sub > button::after { content: ""; display: inline-block; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-3px); margin-left: 8px; }
.submenu {
  position: absolute; top: calc(100% + 10px); left: 50%; transform: translate(-50%, 8px);
  min-width: 230px; padding: 8px;
  background: var(--c-bg-3); border: 1px solid var(--c-line); border-radius: 14px;
  box-shadow: 0 30px 60px rgba(0,0,0,.5);
  opacity: 0; visibility: hidden; transition: .25s var(--ease);
}
.has-sub:hover .submenu, .has-sub:focus-within .submenu, .has-sub.is-open .submenu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.submenu a { display: block; padding: 10px 14px; border-radius: 10px; font-size: 14px; color: #d7d9dc; }
.submenu a:hover { background: rgba(255,255,255,.06); color: #fff; }
.submenu a small { display: block; color: var(--c-dim); font-size: 12px; }
.header-cta { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border-radius: 12px; background: rgba(255,255,255,.08); border: 1px solid var(--c-line); position: relative; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; border-radius: 2px; content: ""; transition: .3s var(--ease); }
.menu-toggle span { top: 50%; margin-top: -1px; }
.menu-toggle span::before { left: 0; right: 0; top: -6px; }
.menu-toggle span::after { left: 0; right: 0; top: 6px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { top: 0; transform: rotate(45deg); }
.menu-open .menu-toggle span::after { top: 0; transform: rotate(-45deg); }

/* Mobile drawer */
.drawer {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 99;
  background: var(--c-bg); padding: 24px var(--gutter) 48px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: .3s var(--ease);
}
.menu-open .drawer { opacity: 1; visibility: visible; transform: none; }
.menu-open { overflow: hidden; }
.drawer a { display: block; font-family: var(--f-display); font-size: 40px; line-height: 1.15; text-transform: uppercase; padding: 6px 0; border-bottom: 1px solid var(--c-line); }
.drawer a:hover, .drawer a[aria-current="page"] { color: var(--c-accent); }
.drawer__group { margin-top: 20px; }
.drawer .drawer__group a { font-size: 26px; padding-left: 14px; } /* .drawer prefix: outranks the later `.drawer a` size */
.drawer__label { display: block; font-size: 12px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-dim); padding: 8px 0 4px; }
.drawer__group + a { margin-top: 20px; }
.drawer .btn { font-family: var(--f-body); font-size: 15px; text-transform: none; border: 0; margin-top: 28px; padding: 16px 26px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(92vh, 900px);
  display: flex; align-items: center;
  overflow: hidden; isolation: isolate;
}
.hero__media { position: absolute; inset: 0; z-index: -2; }
.hero__media img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; transform: scale(1.06); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,9,11,.95) 0%, rgba(8,9,11,.75) 38%, rgba(8,9,11,.15) 75%), linear-gradient(0deg, var(--c-bg) 0%, transparent 30%); }
.hero__content { max-width: 680px; padding-block: 80px; }
.hero__content .lead { color: #e1e3e6; }
.rotator { display: inline-grid; }
.rotator > span { grid-area: 1 / 1; opacity: 0; transform: translateY(12px); transition: .6s var(--ease); }
.rotator > span.is-active { opacity: 1; transform: none; }

/* Home: photo sits on the right so the subject isn't covered by copy */
@media (min-width: 761px) {
  .hero--home .hero__media { left: 38%; }
  .hero--home .hero__media img { object-position: 50% 40%; }
  .hero--home::before { background: linear-gradient(90deg, var(--c-bg) 0%, var(--c-bg) 38%, rgba(8,9,11,.55) 52%, rgba(8,9,11,0) 72%), linear-gradient(0deg, var(--c-bg) 0%, transparent 25%); }
}

.page-hero { min-height: min(72vh, 680px); }
.page-hero .hero__content { padding-block: 100px 70px; }

/* ---------- Logo strip ---------- */
.logos { border-block: 1px solid var(--c-line); }
.logos .container { display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.logos p { margin: 0; font-size: 13px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--c-dim); }
.logos__row { display: flex; align-items: center; gap: clamp(32px, 6vw, 80px); flex-wrap: wrap; }
.logos__row img { height: 40px; width: auto; opacity: .7; transition: opacity .3s; filter: grayscale(1); }
.logos__row a:hover img { opacity: 1; }

/* ---------- Cards (audience / companies) ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 48px; }
.card {
  position: relative; min-height: 460px; border-radius: var(--radius-lg); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 28px; isolation: isolate; background: var(--c-bg-3); color: #fff;
}
.card__img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,.55) 0%, rgba(0,0,0,.05) 35%, rgba(0,0,0,.25) 55%, rgba(0,0,0,.92) 100%); }
.card:hover .card__img { transform: scale(1.05); }
.card__top { display: flex; align-items: flex-start; gap: 14px; }
.card__icon { flex: none; width: 40px; height: 40px; border-radius: 12px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); display: grid; place-items: center; color: var(--c-accent-2); }
.card h3 { font-size: 22px; line-height: 1.15; margin: 6px 0 0; font-weight: 700; }
.card p { margin: 0 0 18px; color: #e6e6e6; font-size: 16px; }
.card .btn { align-self: flex-start; }
.card--logo .card__brand { height: 44px; width: auto; margin-bottom: 16px; }

/* ---------- Split feature (full-bleed photo + copy) ---------- */
.feature { position: relative; isolation: isolate; overflow: hidden; min-height: 640px; display: flex; align-items: center; }
.feature__media { position: absolute; inset: 0; z-index: -2; }
.feature__media img { width: 100%; height: 100%; object-fit: cover; }
.feature::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.85) 40%, rgba(8,9,11,.1) 80%); }
.feature--right::before { background: linear-gradient(270deg, rgba(8,9,11,.96) 0%, rgba(8,9,11,.85) 40%, rgba(8,9,11,.1) 80%); }
.feature .container { display: flex; }
.feature--right .container { justify-content: flex-end; }
.feature__body { max-width: 580px; padding-block: 100px; }

/* Split (contained) */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.split--rev .split__media { order: 2; }
.split__media { position: relative; }
.split__media img { width: 100%; border-radius: var(--radius-lg); aspect-ratio: 4/5; object-fit: cover; }
.split__media .badge { position: absolute; left: -18px; bottom: 32px; background: var(--c-accent); color: #fff; padding: 18px 22px; border-radius: var(--radius); font-family: var(--f-display); font-size: 30px; line-height: .95; text-transform: uppercase; box-shadow: 0 20px 40px rgba(0,0,0,.35); }

/* ---------- Values marquee ---------- */
.marquee { overflow: hidden; border-block: 1px solid var(--c-line); padding-block: 26px; background: var(--c-bg-2); }
.marquee__track { display: flex; gap: 48px; width: max-content; animation: marquee 40s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span { font-family: var(--f-display); font-size: clamp(28px, 3.4vw, 46px); text-transform: uppercase; white-space: nowrap; display: inline-flex; align-items: center; gap: 48px; }
.marquee__track span::after { content: "✦"; color: var(--c-accent); font-size: .55em; }
.marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.5); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Timeline / achievements ---------- */
.timeline { margin-top: 56px; display: grid; gap: 14px; }
.tl-item { border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-2); overflow: hidden; transition: border-color .3s; }
.tl-item[open] { border-color: rgba(176, 42, 48, .6); }
.tl-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 70px 1fr 36px; gap: 18px; align-items: center; padding: 22px 26px; }
.tl-item summary::-webkit-details-marker { display: none; }
.tl-item .num { font-family: var(--f-display); font-size: 40px; color: var(--c-accent); line-height: 1; }
.tl-item h3 { margin: 0; font-size: clamp(18px, 1.6vw, 22px); font-weight: 600; line-height: 1.3; }
.tl-item .plus { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--c-line); position: relative; transition: transform .3s var(--ease), background .3s; }
.tl-item .plus::before, .tl-item .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 1.5px; background: #fff; transform: translate(-50%, -50%); }
.tl-item .plus::after { transform: translate(-50%, -50%) rotate(90deg); }
.tl-item[open] .plus { transform: rotate(45deg); background: var(--c-accent); border-color: var(--c-accent); }
.tl-item .tl-body { padding: 0 26px 26px calc(26px + 70px + 18px); color: var(--c-muted); }
.tl-item .tl-body p { margin: 0 0 .8em; }
.tl-item .tl-body img { border-radius: 12px; margin-top: 10px; max-height: 360px; object-fit: cover; }
.tl-item .tl-body a { color: var(--c-accent-2); font-weight: 600; }

/* ---------- Testimonials ---------- */
.testimonials { position: relative; }
.t-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; margin-top: 48px; }
.t-track::-webkit-scrollbar { display: none; }
.t-card {
  flex: 0 0 min(520px, 86vw); scroll-snap-align: start;
  background: var(--c-bg-3); border: 1px solid var(--c-line); border-radius: var(--radius-lg);
  padding: 36px; display: flex; flex-direction: column; gap: 24px;
}
.t-card .q { font-family: var(--f-display); font-size: 80px; line-height: .6; color: var(--c-accent); height: 34px; }
.t-card blockquote { margin: 0; color: #d4d6d9; font-size: 16px; flex: 1; }
.t-card blockquote.is-long { display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.t-card.is-expanded blockquote { -webkit-line-clamp: unset; display: block; }
.t-card .more { background: none; border: 0; color: var(--c-accent-2); padding: 0; font-weight: 600; font-size: 14px; align-self: flex-start; }
.t-card footer { display: flex; align-items: center; gap: 14px; border-top: 1px solid var(--c-line); padding-top: 20px; }
.t-card .avatar { width: 46px; height: 46px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.t-card cite { font-style: normal; font-weight: 700; letter-spacing: .06em; font-size: 14px; display: block; }
.t-card .role { color: var(--c-dim); font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.t-nav { display: flex; gap: 10px; }
.t-nav button { width: 48px; height: 48px; border-radius: 50%; background: transparent; border: 1px solid var(--c-line); color: #fff; font-size: 18px; transition: .25s; }
.t-nav button:hover { background: var(--c-accent); border-color: var(--c-accent); }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.section-head .lead { margin: 0; }

/* ---------- Blog cards ---------- */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px; }
.post-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; background: var(--c-bg-2); border: 1px solid var(--c-line); transition: transform .35s var(--ease), border-color .35s; }
.post-card:hover { transform: translateY(-6px); border-color: rgba(255,255,255,.22); }
.post-card__media { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--c-bg-3); }
.post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.post-card:hover .post-card__media img { transform: scale(1.05); }
.tag { position: absolute; top: 14px; right: 14px; background: rgba(8,9,11,.75); backdrop-filter: blur(6px); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; padding: 6px 12px; border-radius: 999px; }
.post-card__body { padding: 24px; display: flex; flex-direction: column; gap: 14px; flex: 1; }
.post-card h3 { margin: 0; font-size: 21px; line-height: 1.3; font-weight: 700; }
.post-card .meta { margin-top: auto; display: flex; justify-content: space-between; color: var(--c-dim); font-size: 13px; }
.post-card .meta b { color: var(--c-accent-2); font-weight: 700; letter-spacing: .08em; }
.section--light .post-card { background: #fff; border-color: #e7e4df; }

/* ---------- Photo grid ---------- */
.photo-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
.photo-grid figure { margin: 0; aspect-ratio: 1; overflow: hidden; position: relative; }
.photo-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease), filter .5s; filter: grayscale(.35); }
.photo-grid figure:hover img { transform: scale(1.06); filter: none; }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--c-line); border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px; }
.stat { background: var(--c-bg); padding: 32px 28px; }
.stat b { display: block; font-family: var(--f-display); font-size: clamp(48px, 5vw, 72px); line-height: 1; color: #fff; font-weight: 400; }
.stat span { color: var(--c-muted); font-size: 15px; }

/* ---------- Generic grids / tiles ---------- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.tile { background: var(--c-bg-2); border: 1px solid var(--c-line); border-radius: var(--radius-lg); padding: 30px; transition: border-color .3s, transform .3s var(--ease); }
.tile:hover { border-color: rgba(255,255,255,.22); transform: translateY(-4px); }
.tile h3 { font-size: 21px; margin: 0 0 10px; line-height: 1.25; }
.tile p { color: var(--c-muted); margin: 0; font-size: 16px; }
.tile .ico { width: 48px; height: 48px; border-radius: 14px; background: rgba(176,42,48,.12); color: var(--c-accent-2); display: grid; place-items: center; margin-bottom: 20px; }
.tile img.cover { border-radius: 12px; aspect-ratio: 4/3; object-fit: cover; width: 100%; margin-bottom: 20px; }
.section--light .tile { background: #fff; border-color: #e7e4df; }

/* Pill images (DNA from the current site) */
.pills { display: flex; gap: 16px; align-items: center; justify-content: center; flex-wrap: wrap; }
.pills img { width: 180px; height: 300px; object-fit: cover; border-radius: 999px; }
.pills img:nth-child(even) { height: 240px; }

/* Books (library) */
.books { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 28px 22px; margin-top: 48px; }
.book img { aspect-ratio: 2/3; object-fit: cover; border-radius: 6px 12px 12px 6px; box-shadow: 0 18px 40px rgba(0,0,0,.45); transition: transform .4s var(--ease); width: 100%; background: var(--c-bg-3); }
.book:hover img { transform: translateY(-6px) rotate(-1deg); }
.book h3 { font-size: 15px; margin: 14px 0 2px; line-height: 1.3; }
.book p { margin: 0; color: var(--c-dim); font-size: 13px; }

/* Events list */
.event { display: grid; grid-template-columns: 110px 1fr auto; gap: 28px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.event .date { font-family: var(--f-display); font-size: 46px; line-height: .9; color: var(--c-accent); text-transform: uppercase; }
.event .date small { display: block; font-size: 18px; color: var(--c-muted); }
.event h3 { margin: 0 0 4px; font-size: 22px; }
.event p { margin: 0; color: var(--c-muted); font-size: 15px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--c-muted); margin-bottom: 8px; }
.field input, .field textarea, .field select, .newsletter input {
  width: 100%; background: var(--c-bg-2); border: 1px solid var(--c-line); color: #fff;
  border-radius: 12px; padding: 15px 18px; font: inherit; font-size: 16px; transition: border-color .2s;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus, .newsletter input:focus { outline: none; border-color: var(--c-accent); }
.form-note { font-size: 13px; color: var(--c-dim); }
.form-status { font-size: 14px; color: #8be28b; min-height: 1.2em; }

.contact-cards { display: grid; gap: 14px; }
.contact-card { display: flex; gap: 18px; align-items: center; padding: 22px; border: 1px solid var(--c-line); border-radius: var(--radius); background: var(--c-bg-2); transition: border-color .3s; }
.contact-card:hover { border-color: var(--c-accent); }
.contact-card .ico { width: 46px; height: 46px; flex: none; border-radius: 12px; background: rgba(176,42,48,.12); color: var(--c-accent-2); display: grid; place-items: center; }
.contact-card small { display: block; color: var(--c-dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- CTA band ---------- */
.cta-band { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: clamp(40px, 6vw, 80px); background: radial-gradient(120% 140% at 100% 0%, #6d1013 0%, #2a0a0b 40%, var(--c-bg-2) 75%); border: 1px solid rgba(176,42,48,.35); }
.cta-band .display { max-width: 16ch; }

/* ---------- Article ---------- */
.article { max-width: 760px; margin-inline: auto; }
.article-hero { padding-block: 80px 40px; }
.article-hero .meta { color: var(--c-muted); font-size: 14px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.article-hero .meta .tag { position: static; background: var(--c-accent); }
.article-cover { border-radius: var(--radius-lg); overflow: hidden; margin-bottom: 56px; max-height: 620px; }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.prose { font-size: 19px; line-height: 1.75; color: #d0d3d6; }
.prose h2 { font-size: clamp(32px, 3.6vw, 46px); margin: 1.6em 0 .5em; color: #fff; }
.prose h3 { font-size: 24px; margin: 1.6em 0 .5em; color: #fff; }
.prose p { margin: 0 0 1.3em; }
.prose a { color: var(--c-accent-2); text-decoration: underline; text-underline-offset: 3px; }
.prose blockquote { margin: 2em 0; padding: 4px 0 4px 26px; border-left: 3px solid var(--c-accent); font-size: 22px; color: #fff; font-weight: 500; }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.3em; }
.prose li { margin-bottom: .5em; }
.prose strong { color: #fff; }
.prose img { border-radius: var(--radius); margin: 2em 0; }
.author-box { display: flex; gap: 20px; align-items: center; padding: 28px; border: 1px solid var(--c-line); border-radius: var(--radius-lg); background: var(--c-bg-2); margin-top: 56px; }
.author-box img { width: 76px; height: 76px; border-radius: 50%; object-fit: cover; flex: none; }
.author-box p { margin: 4px 0 0; color: var(--c-muted); font-size: 15px; }
.share { display: flex; gap: 10px; align-items: center; color: var(--c-dim); font-size: 14px; margin-top: 32px; }
.share a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--c-line); display: grid; place-items: center; transition: .25s; }
.share a:hover { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }

/* Filter chips */
.chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 32px; }
.chip { background: transparent; border: 1px solid var(--c-line); color: #d7d9dc; padding: 9px 18px; border-radius: 999px; font-size: 14px; font-weight: 500; transition: .2s; }
.chip:hover { border-color: rgba(255,255,255,.4); }
.chip.is-active { background: #fff; color: var(--c-ink); border-color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: #050607; border-top: 1px solid var(--c-line); padding-top: 64px; }
.newsletter { display: grid; grid-template-columns: 1.1fr 1fr; gap: 40px; align-items: center; padding-bottom: 56px; border-bottom: 1px solid var(--c-line); }
.newsletter__brand { display: flex; gap: 22px; align-items: center; }
.newsletter__brand img { width: 56px; height: 56px; flex: none; }
.newsletter h2 { font-size: clamp(30px, 3vw, 40px); margin: 0; }
.newsletter p { margin: 2px 0 0; color: var(--c-accent-2); font-size: 15px; }
.newsletter form { display: flex; gap: 10px; }
.newsletter input { border-radius: 999px; padding-inline: 22px; }
.newsletter .btn { flex: none; }
.footer-cols { display: grid; grid-template-columns: repeat(3, 1fr) 1.3fr; gap: 32px; padding-block: 48px; }
.footer-cols h3 { font-family: var(--f-body); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: #fff; margin: 0 0 16px; font-weight: 700; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols li a, .footer-cols address { color: var(--c-muted); font-size: 15px; font-style: normal; transition: color .2s; }
.footer-cols li a:hover { color: #fff; }
.socials { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.06); transition: .25s; }
.socials a:hover { background: var(--c-accent); }
.socials svg { width: 18px; height: 18px; fill: currentColor; }
.footer-bottom { border-top: 1px solid var(--c-line); padding-block: 22px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; color: var(--c-dim); font-size: 13px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
.reveal-stagger > * { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal-stagger.is-in > * { opacity: 1; transform: none; }
.reveal-stagger.is-in > *:nth-child(2) { transition-delay: .1s; }
.reveal-stagger.is-in > *:nth-child(3) { transition-delay: .2s; }
.reveal-stagger.is-in > *:nth-child(4) { transition-delay: .3s; }
.reveal-stagger.is-in > *:nth-child(5) { transition-delay: .4s; }
.reveal-stagger.is-in > *:nth-child(6) { transition-delay: .5s; }
.no-js .reveal, .no-js .reveal-stagger > * { opacity: 1; transform: none; }

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

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
  .cards, .posts, .grid-3 { grid-template-columns: 1fr 1fr; }
  .grid-4, .stats { grid-template-columns: 1fr 1fr; }
  .photo-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-cols { grid-template-columns: 1fr 1fr; }
  .newsletter { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 16px; }
  .cards, .posts, .grid-2, .grid-3, .grid-4, .split { grid-template-columns: 1fr; }
  .split--rev .split__media { order: 0; }
  .split__media .badge { left: 12px; }
  .card { min-height: 400px; }
  .hero::before, .feature::before, .feature--right::before { background: linear-gradient(0deg, rgba(8,9,11,.97) 0%, rgba(8,9,11,.8) 50%, rgba(8,9,11,.3) 100%); }
  .hero { align-items: flex-end; }
  .feature { align-items: flex-end; min-height: 560px; }
  .feature__body { padding-block: 220px 64px; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
  .tl-item summary { grid-template-columns: 48px 1fr 32px; gap: 12px; padding: 18px; }
  .tl-item .num { font-size: 30px; }
  .tl-item .tl-body { padding: 0 18px 20px; }
  .event { grid-template-columns: 80px 1fr; }
  .event .btn { grid-column: 1 / -1; justify-self: start; }
  .form .row { grid-template-columns: 1fr; }
  .newsletter form { flex-direction: column; }
  .newsletter__brand { flex-direction: column; align-items: flex-start; gap: 14px; }
  .footer-cols { grid-template-columns: 1fr; }
  .logos .container { justify-content: center; text-align: center; }
  .logos__row { justify-content: center; }
  .pills img { width: 130px; height: 220px; }
  .pills img:nth-child(even) { height: 180px; }
  .stat { padding: 24px 20px; }
  .t-card { padding: 26px; }
}

.hero--home h1 { font-size: clamp(52px, 6.4vw, 100px); }

/* ==========================================================================
   LIGHT THEME  —  html[data-theme="light"]
   Photo cards keep their dark overlay; the footer stays dark to ground the page.
   ========================================================================== */
[data-theme="light"] {
  --c-bg: #ffffff;
  --c-bg-2: #f6f5f2;
  --c-bg-3: #efede8;
  --c-line: rgba(17, 17, 17, .1);
  --c-text: #111214;
  --c-muted: #555a61;
  --c-dim: #8b9097;
  --c-accent: #b02a30;
  --c-accent-2: #c7343b;
}
[data-theme="light"] body { background: var(--c-bg); color: var(--c-text); }

/* Header */
[data-theme="light"] .site-header { background: rgba(255,255,255,.8); }
[data-theme="light"] .site-header.is-scrolled { background: rgba(255,255,255,.94); }
[data-theme="light"] .logos__row img { filter: invert(1); }
[data-theme="light"] .logos__row img { opacity: .75; }
[data-theme="light"] .nav > a, [data-theme="light"] .nav .has-sub > button { color: #3a3e44; }
[data-theme="light"] .nav > a:hover, [data-theme="light"] .nav .has-sub > button:hover, [data-theme="light"] .nav > a[aria-current="page"] { color: var(--c-text); background: rgba(0,0,0,.05); }
[data-theme="light"] .submenu { background: #fff; box-shadow: 0 24px 50px rgba(0,0,0,.12); }
[data-theme="light"] .submenu a { color: #3a3e44; }
[data-theme="light"] .submenu a:hover { background: var(--c-bg-2); color: var(--c-text); }
[data-theme="light"] .menu-toggle { background: var(--c-bg-2); }
[data-theme="light"] .menu-toggle span, [data-theme="light"] .menu-toggle span::before, [data-theme="light"] .menu-toggle span::after { background: var(--c-text); }
[data-theme="light"] .menu-open .menu-toggle span { background: transparent; }

/* Buttons */
[data-theme="light"] .btn--light { background: var(--c-ink); color: #fff; }
[data-theme="light"] .btn--light:hover { background: var(--c-accent); }
[data-theme="light"] .card .btn--light { background: #fff; color: var(--c-ink); }
[data-theme="light"] .card .btn--light:hover { background: var(--c-accent); color: #fff; }
[data-theme="light"] .btn--ghost { border-color: rgba(17,17,17,.25); color: var(--c-text); }
[data-theme="light"] .btn--ghost:hover { border-color: var(--c-text); }

/* Hero + full-bleed features fade to white instead of black */
[data-theme="light"] .hero::before { background: linear-gradient(90deg, #fff 0%, rgba(255,255,255,.85) 38%, rgba(255,255,255,0) 75%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 25%); }
[data-theme="light"] .hero__content .lead { color: var(--c-muted); }
[data-theme="light"] .feature::before { background: linear-gradient(90deg, #fff 0%, #fff 36%, rgba(255,255,255,.75) 46%, rgba(255,255,255,0) 64%); }
[data-theme="light"] .feature--right::before { background: linear-gradient(270deg, #fff 0%, #fff 36%, rgba(255,255,255,.75) 46%, rgba(255,255,255,0) 64%); }
@media (min-width: 761px) {
  [data-theme="light"] .hero--home::before { background: linear-gradient(90deg, #fff 0%, #fff 38%, rgba(255,255,255,.6) 50%, rgba(255,255,255,0) 66%); }
  /* Light: features become a clean 50/50 split — photo half, white copy half */
  [data-theme="light"] .feature__media { left: 50%; }
  [data-theme="light"] .feature--right .feature__media { left: 0; right: 50%; }
  [data-theme="light"] .feature__body { max-width: min(560px, calc(50% - 48px)); }
  [data-theme="light"] .feature::before, [data-theme="light"] .feature--right::before { background: none; }
}
[data-theme="light"] .display .muted, [data-theme="light"] h2 .muted { color: #b4b7bc; }

/* Components */
[data-theme="light"] .section--alt { background: var(--c-bg-2); }
[data-theme="light"] .stat b { color: var(--c-text); }
[data-theme="light"] .tl-item { background: #fff; }
[data-theme="light"] .tl-item .plus::before, [data-theme="light"] .tl-item .plus::after { background: var(--c-text); }
[data-theme="light"] .tl-item[open] .plus::before, [data-theme="light"] .tl-item[open] .plus::after { background: #fff; }
[data-theme="light"] .t-card { background: var(--c-bg-2); }
[data-theme="light"] .t-card blockquote { color: #33373c; }
[data-theme="light"] .t-card .avatar { color: #fff; }
[data-theme="light"] .t-nav button { color: var(--c-text); }
[data-theme="light"] .t-nav button:hover { color: #fff; }
[data-theme="light"] .post-card { background: #fff; }
[data-theme="light"] .post-card:hover { border-color: rgba(17,17,17,.25); box-shadow: 0 24px 50px rgba(0,0,0,.08); }
[data-theme="light"] .tile:hover { border-color: rgba(17,17,17,.25); }
[data-theme="light"] .photo-grid img { filter: none; }
[data-theme="light"] .chip { color: var(--c-muted); }
[data-theme="light"] .chip.is-active { background: var(--c-ink); color: #fff; border-color: var(--c-ink); }
[data-theme="light"] .field input, [data-theme="light"] .field textarea, [data-theme="light"] .field select { color: var(--c-text); background: #fff; }
[data-theme="light"] .prose { color: #33373c; }
[data-theme="light"] .prose h2, [data-theme="light"] .prose h3, [data-theme="light"] .prose strong, [data-theme="light"] .prose blockquote { color: var(--c-text); }
[data-theme="light"] .share a:hover { color: #fff; }

/* Marquee becomes a red accent band */
[data-theme="light"] .marquee { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
[data-theme="light"] .marquee__track span::after { color: #fff; }
[data-theme="light"] .marquee__track span:nth-child(even) { -webkit-text-stroke: 1px rgba(255,255,255,.8); }

/* Footer stays dark */
[data-theme="light"] .site-footer {
  --c-bg-2: #15171a; --c-line: rgba(255,255,255,.1); --c-text: #f5f5f5; --c-muted: #9aa0a8; --c-dim: #6b7178; --c-accent-2: #e0525a;
  background: #0b0c0e; color: var(--c-text); border-top: 0;
}
[data-theme="light"] .site-footer .newsletter input { color: #fff; }

/* Mobile: overlays fade up from the bottom */
@media (max-width: 760px) {
  [data-theme="light"] .hero::before, [data-theme="light"] .feature::before, [data-theme="light"] .feature--right::before { background: linear-gradient(0deg, #fff 0%, rgba(255,255,255,.92) 48%, rgba(255,255,255,0) 80%); }
}

/* Prototype-only theme switcher */
.theme-switch { position: fixed; right: 16px; bottom: 16px; z-index: 200; display: flex; gap: 4px; padding: 4px; border-radius: 999px; background: rgba(20,20,22,.85); backdrop-filter: blur(8px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.theme-switch button { border: 0; background: transparent; color: #cfd2d6; font-size: 12px; font-weight: 600; padding: 8px 14px; border-radius: 999px; }
.theme-switch button[aria-pressed="true"] { background: #fff; color: #111; }
@media (min-width: 761px) { [data-theme="light"] .hero--home .hero__content { max-width: 540px; } }

/* ==========================================================================
   Inner pages
   ========================================================================== */
.page-intro { padding-block: clamp(64px, 9vw, 120px) clamp(40px, 5vw, 64px); }
.page-intro .split { align-items: center; }
.page-intro .split__media img { aspect-ratio: 4/3; }
.back-link { display: inline-block; color: var(--c-muted); font-size: 14px; font-weight: 600; margin-bottom: 22px; }
.back-link:hover { color: var(--c-accent); }

/* Featured post (blog index) */
.post-feature { display: grid; grid-template-columns: 1.15fr 1fr; gap: 0; border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); background: var(--c-bg-2); transition: box-shadow .35s; }
.post-feature:hover { box-shadow: 0 30px 60px rgba(0,0,0,.1); }
.post-feature__media { min-height: 420px; overflow: hidden; }
.post-feature__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.post-feature:hover .post-feature__media img { transform: scale(1.04); }
.post-feature__body { padding: clamp(28px, 4vw, 56px); display: flex; flex-direction: column; justify-content: center; }
.post-feature__body .lead { font-size: 17px; }
.post-feature__body .btn { align-self: flex-start; margin-top: 20px; }

/* Article */
.article-hero .meta .tag { position: static; color: #fff; }
.article-cover { margin-inline: auto; }
.post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 32px; }
.post-nav a { padding: 20px 22px; border: 1px solid var(--c-line); border-radius: var(--radius); font-weight: 600; font-size: 15px; line-height: 1.35; transition: border-color .25s; }
.post-nav a:hover { border-color: var(--c-accent); }
.post-nav a.next { text-align: right; }
.post-nav small { display: block; color: var(--c-dim); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; margin-bottom: 6px; }

/* Events */
.notice { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding: 30px 34px; border-radius: var(--radius-lg); background: var(--c-bg-2); border: 1px solid var(--c-line); border-left: 4px solid var(--c-accent); }
.notice h2 { margin: 0 0 6px; }
.notice p { margin: 0; color: var(--c-muted); }
.event-list { display: grid; gap: 22px; margin-top: 40px; }
.event-card { display: grid; grid-template-columns: 360px 1fr; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-bg); }
.event-card__media { position: relative; background: var(--c-bg-3); min-height: 260px; }
.event-card__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.date-badge { position: absolute; top: 16px; left: 16px; background: var(--c-accent); color: #fff; border-radius: 12px; padding: 10px 14px; text-align: center; font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; line-height: 1.2; }
.date-badge b { display: block; font-family: var(--f-display); font-weight: 400; font-size: 36px; line-height: 1; letter-spacing: 0; }
.event-card__body { padding: 30px 34px; }
.event-card__body h3 { font-size: clamp(21px, 2vw, 26px); line-height: 1.25; margin: 0 0 14px; }
.event-card__body p { color: var(--c-muted); margin: 0 0 .8em; font-size: 16px; }
.event-meta { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 6px; font-size: 15px; }
.event-meta b { display: inline-block; min-width: 64px; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--c-dim); }
.event-more summary { cursor: pointer; color: var(--c-accent); font-weight: 600; font-size: 15px; margin-top: 4px; }
.event-more[open] summary { margin-bottom: 12px; }

/* Library */
.book { margin: 0; }
.book figcaption { font-size: 14px; font-weight: 600; margin-top: 12px; line-height: 1.3; }

@media (max-width: 1080px) {
  .event-card { grid-template-columns: 280px 1fr; }
}
@media (max-width: 760px) {
  .post-feature, .event-card { grid-template-columns: 1fr; }
  .post-feature__media { min-height: 240px; aspect-ratio: 16/10; }
  .event-card__media { aspect-ratio: 16/10; min-height: 0; }
  .event-card__body { padding: 24px; }
  .post-nav { grid-template-columns: 1fr; }
  .post-nav a.next { text-align: left; }
}
[data-theme="light"] .cta-band { background: radial-gradient(120% 140% at 100% 0%, #f6dcdd 0%, #faf0ef 35%, var(--c-bg-2) 70%); border-color: rgba(176,42,48,.2); }
[data-theme="light"] .tile .ico { font-family: var(--f-display); font-size: 22px; }
.tile .ico { font-family: var(--f-display); font-size: 22px; }

/* What I Do — alternating passion rows */
.passions { display: grid; gap: clamp(56px, 8vw, 110px); }
.passion { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 6vw, 90px); align-items: center; }
.passion:nth-child(even) > img { order: 2; }
.passion > img { width: 100%; aspect-ratio: 4/5; max-height: 620px; object-fit: cover; border-radius: 999px 999px var(--radius-lg) var(--radius-lg); }
.passion:nth-child(even) > img { border-radius: var(--radius-lg) var(--radius-lg) 999px 999px; }
.passion .num { font-family: var(--f-display); font-size: 22px; color: var(--c-accent); display: block; margin-bottom: 6px; }
.passion .kicker { font-weight: 600; color: var(--c-text); margin: 0 0 18px; font-size: 18px; }
.passion p { color: var(--c-muted); max-width: 58ch; }
span.chip { cursor: default; }
@media (max-width: 760px) {
  .passion { grid-template-columns: 1fr; }
  .passion:nth-child(even) > img { order: 0; }
  .passion > img { aspect-ratio: 1; }
}

/* Achievements — milestone rows on a vertical rail */
.milestones { display: grid; gap: 0; position: relative; }
.milestone { display: grid; grid-template-columns: 300px 1fr; gap: clamp(24px, 4vw, 56px); padding-block: clamp(36px, 5vw, 56px); border-top: 1px solid var(--c-line); align-items: start; }
.milestone > img { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: var(--radius-lg); position: sticky; top: calc(var(--header-h) + 24px); }
.milestone .num { font-family: var(--f-display); font-size: 56px; line-height: 1; color: var(--c-accent); display: block; }
.milestone h2 { font-family: var(--f-body); text-transform: none; font-weight: 700; font-size: clamp(24px, 2.4vw, 32px); line-height: 1.2; letter-spacing: -.01em; margin: 8px 0 18px; }
.milestone p { color: var(--c-muted); max-width: 66ch; margin: 0 0 1em; }
.milestone .btn { margin-top: 8px; }
@media (max-width: 760px) {
  .milestone { grid-template-columns: 1fr; }
  .milestone > img { position: static; aspect-ratio: 16/10; }
}

/* Speaking gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 280px; gap: 4px; }
.gallery figure { margin: 0; overflow: hidden; }
.gallery .g-wide { grid-column: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery figure:hover img { transform: scale(1.05); }
.tile--lg { padding: 36px; }
.tile--lg h3 { font-size: 23px; }
@media (max-width: 760px) { .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } }

/* Ventures */
.ventures { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; margin-top: 40px; }
.venture { display: grid; grid-template-rows: 240px 1fr; border: 1px solid var(--c-line); border-radius: var(--radius-lg); overflow: hidden; background: var(--c-bg); transition: transform .35s var(--ease), box-shadow .35s; }
.venture:hover { transform: translateY(-4px); box-shadow: 0 24px 50px rgba(0,0,0,.08); }
.venture--feature { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1.2fr; }
.venture__media { overflow: hidden; background: var(--c-bg-3); }
.venture__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.venture:hover .venture__media img { transform: scale(1.05); }
.venture__media--type { display: flex; flex-direction: column; align-items: center; justify-content: center; background: var(--c-ink); color: #fff; text-align: center; }
.venture__media--type span { font-family: var(--f-display); font-size: 92px; line-height: .9; letter-spacing: .02em; text-transform: uppercase; }
.venture__media--type small { font-size: 12px; font-weight: 700; letter-spacing: .3em; text-transform: uppercase; color: var(--c-accent-2); margin-top: 8px; }
.venture__media--soft { background: var(--c-accent); }
.venture__media--soft small { color: #fff; opacity: .85; }
.venture__body { padding: 28px 30px 30px; display: flex; flex-direction: column; }
.venture--feature .venture__body { padding: clamp(28px, 4vw, 52px); justify-content: center; }
.venture__meta { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; font-size: 13px; color: var(--c-dim); font-weight: 600; margin-bottom: 14px; }
.venture h3 { font-size: 24px; line-height: 1.2; margin: 0 0 10px; letter-spacing: -.01em; }
.venture--feature h3 { font-family: var(--f-display); font-weight: 400; text-transform: uppercase; font-size: clamp(40px, 4.4vw, 64px); line-height: .95; letter-spacing: 0; }
.venture p { color: var(--c-muted); margin: 0 0 16px; font-size: 16px; }
.venture .tagline { color: var(--c-text); font-weight: 600; font-style: italic; margin-bottom: 10px; }
.venture__link { margin-top: auto; color: var(--c-accent); font-weight: 700; font-size: 15px; }
.venture__link:hover { text-decoration: underline; text-underline-offset: 3px; }
.pill { display: inline-block; padding: 5px 12px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; background: var(--c-bg-2); color: var(--c-text); border: 1px solid var(--c-line); }
.pill--live { background: rgba(176,42,48,.1); color: var(--c-accent); border-color: rgba(176,42,48,.2); }

.past-list { display: grid; margin-top: 40px; border-top: 1px solid var(--c-line); }
.past { display: grid; grid-template-columns: 160px 1fr 120px; gap: 32px; align-items: center; padding: 28px 0; border-bottom: 1px solid var(--c-line); }
.past__years { font-family: var(--f-display); font-size: 30px; color: var(--c-accent); line-height: 1; }
.past h3 { margin: 0 0 6px; font-size: 22px; }
.past p { margin: 0; color: var(--c-muted); font-size: 16px; max-width: 70ch; }
.past img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; }

@media (max-width: 900px) {
  .ventures { grid-template-columns: 1fr; }
  .venture--feature { grid-template-columns: 1fr; }
  .venture--feature .venture__media { height: 260px; }
}
@media (max-width: 760px) {
  .past { grid-template-columns: 1fr; gap: 10px; }
  .past img { display: none; }
  .venture__media--type span { font-size: 72px; }
}
.venture--feature .venture__media, .ventures > .venture:last-child:nth-child(even) .venture__media { position: relative; min-height: 340px; }
.venture--feature .venture__media img, .ventures > .venture:last-child:nth-child(even) .venture__media img { position: absolute; inset: 0; }
.ventures > .venture:last-child:nth-child(even) { grid-column: 1 / -1; grid-template-rows: none; grid-template-columns: 1fr 1.2fr; }
.ventures > .venture:last-child:nth-child(even) .venture__body { padding: clamp(28px, 4vw, 48px); justify-content: center; }
@media (max-width: 900px) {
  .ventures > .venture:last-child:nth-child(even) { grid-template-columns: 1fr; }
  .venture--feature .venture__media, .ventures > .venture:last-child:nth-child(even) .venture__media { min-height: 240px; }
}

@media (max-width: 760px) {
  [data-theme="light"] .hero--home::before { background: linear-gradient(0deg, #fff 0%, #fff 52%, rgba(255,255,255,.85) 64%, rgba(255,255,255,0) 86%); }
}

/* ==========================================================================
   CERCO SKIN — matches cerco.design: DM Sans, Cerco red, grey rounded cards,
   pill navigation, typed hero word, red subscribe band, light footer.
   ========================================================================== */
:root {
  --f-display: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --f-body: "DM Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --c-accent: #c02126;
  --c-accent-2: #d8343a;
  --c-ink: #111013;
  --radius: 0;
  --radius-lg: 0;
}
[data-theme="light"] {
  --c-bg: #ffffff;
  --c-bg-2: #f8f6f9;
  --c-bg-3: #f0eef0;
  --c-text: #161518;
  --c-muted: #57565a;
  --c-dim: #868589;
  --c-line: rgba(17, 16, 19, .1);
  --c-accent: #c02126;
  --c-accent-2: #d8343a;
}
body { font-size: 16.5px; }

/* Type: mixed case, semibold, tight tracking */
.display, h1, h2, h3.display {
  font-family: var(--f-display); font-weight: 600; text-transform: none;
  letter-spacing: -.045em; line-height: 1.02;
}
.display-xl { font-size: clamp(46px, 6vw, 86px); letter-spacing: -.06em; line-height: .95; }
.display-lg { font-size: clamp(36px, 4.4vw, 60px); }
.display-md { font-size: clamp(28px, 3.2vw, 44px); }
.display-sm { font-size: clamp(24px, 2.4vw, 32px); }
.eyebrow { font-size: 12.5px; letter-spacing: .14em; }
.stat b, .tl-item .num, .date-badge b, .past__years, .passion .num, .milestone .num, .t-card .q, .event .date { font-family: var(--f-display); font-weight: 600; letter-spacing: -.04em; }
.venture--feature h3 { font-weight: 600; text-transform: none; letter-spacing: -.05em; line-height: 1; }
.venture__media--type span { font-weight: 700; letter-spacing: -.04em; text-transform: uppercase; font-size: 76px; }
.marquee__track span { font-weight: 600; letter-spacing: -.03em; text-transform: none; }
.drawer a { font-family: var(--f-display); font-weight: 600; text-transform: none; letter-spacing: -.04em; font-size: 34px; }
.logo__text { letter-spacing: -.04em; }

/* Buttons: black pills, red on hover */
.btn { font-weight: 600; padding: 14px 24px; }
.btn--primary { background: var(--c-ink); color: #fff; }
.btn--primary:hover { background: var(--c-accent); }
[data-theme="dark"] .btn--primary { background: #fff; color: var(--c-ink); }
[data-theme="dark"] .btn--primary:hover { background: var(--c-accent); color: #fff; }

/* Header: grey pill nav, black pill CTA, round menu button */
.site-header { height: 84px; background: rgba(255,255,255,.88); }
[data-theme="dark"] .site-header { background: rgba(8,9,11,.85); }
.nav { background: var(--c-bg-3); border-radius: 14px; padding: 5px; gap: 2px; }
[data-theme="dark"] .nav { background: rgba(255,255,255,.06); }
.nav > a, .nav .has-sub > button { border-radius: 10px; font-size: 15px; padding: 9px 14px; }
[data-theme="light"] .nav > a[aria-current="page"], .nav > a[aria-current="page"] { color: var(--c-accent); background: transparent; }
[data-theme="light"] .nav > a:hover, [data-theme="light"] .nav .has-sub > button:hover { background: #fff; color: var(--c-accent); }
.header-cta .btn { background: var(--c-ink); color: #fff; border-radius: 12px; padding: 13px 20px; }
.header-cta .btn:hover { background: var(--c-accent); }
.menu-toggle { display: block; width: 46px; height: 46px; border-radius: 50%; background: var(--c-bg-3); border: 0; }
[data-theme="light"] .menu-toggle { background: var(--c-bg-3); }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { left: 14px; right: 14px; }
.menu-toggle span::before, .menu-toggle span::after { left: 0; right: 0; }
@media (min-width: 1281px) { .menu-toggle { display: none; } }
.announce { background: var(--c-ink); }
.announce .dot { background: var(--c-accent); box-shadow: 0 0 0 4px rgba(192,33,38,.35); }

/* Cerco hero: art left, red headline + typed black word right */
.hero-c { position: relative; overflow: hidden; padding-block: clamp(40px, 6vw, 80px) clamp(48px, 6vw, 80px); }
.hero-c__watermark { position: absolute; right: -6%; top: -10%; width: min(900px, 80vw); aspect-ratio: 1; color: var(--c-text); opacity: .05; pointer-events: none; animation: spin 80s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero-c__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(24px, 4vw, 64px); align-items: center; position: relative; }
.hero-c__art { position: relative; aspect-ratio: 1; max-width: 520px; width: 100%; }
.hero-c__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-c__photo { position: absolute; left: 22%; top: 18%; width: 60%; aspect-ratio: 1; border-radius: 50%; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.18); }
.hero-c__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.hero-c__copy { text-align: right; }
.hero-c h1 { font-size: clamp(44px, 5.8vw, 84px); letter-spacing: -.065em; line-height: .95; color: var(--c-accent); margin: 0; }
.typed { display: block; color: var(--c-text); text-transform: uppercase; letter-spacing: -.05em; margin-top: .08em; min-height: 1em; white-space: nowrap; }
.typed::after { content: ""; display: inline-block; width: .07em; height: .85em; margin-left: .06em; background: currentColor; vertical-align: -.06em; animation: caret 1s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.hero-c__intro { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: clamp(20px, 3vw, 48px); margin-top: clamp(32px, 4vw, 56px); align-items: start; }
.hero-c__intro > * { border-top: 1px solid var(--c-text); padding-top: 22px; margin: 0; }
.hero-c__intro p { font-size: 16px; color: var(--c-muted); }
.hero-c__intro p strong { color: var(--c-text); }
.hero-c__intro .btn-row { margin: 0; border-top-color: transparent; justify-content: flex-end; }

/* Feature sections → Cerco service rows: grey text card + rounded photo card */
.feature, [data-theme="light"] .feature {
  display: grid; grid-template-columns: 1fr 1.25fr; gap: 20px; min-height: 0;
  max-width: var(--container); margin: clamp(56px, 7vw, 96px) auto; padding-inline: var(--gutter); overflow: visible;
}
.feature::before, .feature--right::before, [data-theme="light"] .feature::before, [data-theme="light"] .feature--right::before { display: none; }
.feature--right, [data-theme="light"] .feature--right { grid-template-columns: 1.25fr 1fr; }
.feature__media, [data-theme="light"] .feature__media, [data-theme="light"] .feature--right .feature__media { position: relative; inset: auto; left: auto; right: auto; min-height: 520px; border-radius: var(--radius-lg); overflow: hidden; order: 2; z-index: 0; }
.feature--right .feature__media { order: 0; }
.feature__media img { position: absolute; inset: 0; }
.feature__media::after { content: "↗"; position: absolute; left: 22px; bottom: 22px; width: 52px; height: 52px; border-radius: 50%; background: rgba(17,16,19,.55); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; font-size: 20px; }
.feature .container { background: var(--c-bg-3); border-radius: var(--radius-lg); padding: clamp(28px, 4vw, 56px); display: flex; align-items: center; justify-content: center; max-width: none; margin: 0; }
[data-theme="dark"] .feature .container { background: var(--c-bg-2); }
.feature__body, [data-theme="light"] .feature__body { max-width: 520px; padding: 0; text-align: center; }
.feature__body .btn-row { justify-content: center; }
.feature__body .lead { font-size: 16.5px; margin-inline: auto; }

/* Cards, tiles, testimonials on grey */
.tile, .t-card, .post-card, .tl-item, .venture, .event-card, .notice, .contact-card { border-radius: var(--radius-lg); }
[data-theme="light"] .tile { background: var(--c-bg-3); border-color: transparent; }
[data-theme="light"] .tl-item { background: var(--c-bg-3); border-color: transparent; }
[data-theme="light"] .contact-card { background: var(--c-bg-3); border-color: transparent; }
.card { border-radius: var(--radius-lg); }
.card__icon { border-radius: 50%; }

/* Stats → red block */
.stats, [data-theme="light"] .stats { background: var(--c-accent); border: 0; gap: 0; }
.stat, [data-theme="light"] .stat { background: transparent; border-right: 1px solid rgba(255,255,255,.18); }
.stat:last-child { border-right: 0; }
.stat b, [data-theme="light"] .stat b { color: #fff; }
.stat span { color: rgba(255,255,255,.82); }

/* Testimonials → charcoal band */
.testimonials { background: #23252b; color: #f5f5f5; --c-text: #f5f5f5; --c-muted: #b9bbc0; --c-dim: #8d9096; --c-line: rgba(255,255,255,.12); }
.testimonials .t-card, [data-theme="light"] .testimonials .t-card { background: rgba(255,255,255,.05); border-color: rgba(255,255,255,.1); }
.testimonials .t-card blockquote, [data-theme="light"] .testimonials .t-card blockquote { color: #d6d8dc; }
.testimonials .display .muted { color: #8d9096; }
[data-theme="light"] .testimonials .t-nav button { color: #fff; }

/* Marquee → grey band, red stars */
[data-theme="light"] .marquee { background: var(--c-bg-3); color: var(--c-text); border-color: transparent; }
[data-theme="light"] .marquee__track span::after { color: var(--c-accent); }
[data-theme="light"] .marquee__track span:nth-child(even) { color: transparent; -webkit-text-stroke: 1px rgba(17,16,19,.45); }

/* CTA band → solid red */
.cta-band, [data-theme="light"] .cta-band { background: var(--c-accent); border: 0; color: #fff; }
.cta-band .eyebrow, .cta-band .lead { color: rgba(255,255,255,.85); }
.cta-band .btn--primary { background: #fff; color: var(--c-ink); }
.cta-band .btn--primary:hover { background: var(--c-ink); color: #fff; }
.cta-band .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }

/* Footer → red subscribe band + light grey footer */
[data-theme="light"] .site-footer, .site-footer {
  --c-text: #161518; --c-muted: #57565a; --c-dim: #868589; --c-line: rgba(17,16,19,.1); --c-bg-2: #fff;
  background: var(--c-bg-3, #f0eef0); color: var(--c-text); padding-top: 0; border-top: 0;
}
[data-theme="dark"] .site-footer { --c-text: #f5f5f5; --c-muted: #9aa0a8; --c-dim: #6b7178; --c-line: rgba(255,255,255,.1); --c-bg-2: #15171a; background: #0b0c0e; }
.site-footer .newsletter { background: var(--c-accent); color: #fff; border-radius: 0; margin-inline: calc(50% - 50vw); padding: clamp(36px, 5vw, 64px) calc(50vw - 50% + var(--gutter)); border-bottom: 0; }
.site-footer .newsletter h2 { color: #fff; font-size: clamp(30px, 3.4vw, 46px); letter-spacing: -.05em; }
.site-footer .newsletter p { color: rgba(255,255,255,.85); }
.site-footer .newsletter__brand img { filter: brightness(0) invert(1); }
.site-footer .newsletter input, [data-theme="light"] .site-footer .newsletter input { background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.35); color: #fff; }
.site-footer .newsletter input::placeholder { color: rgba(255,255,255,.75); }
.site-footer .newsletter .btn { background: #fff; color: var(--c-ink); }
.site-footer .newsletter .btn:hover { background: var(--c-ink); color: #fff; }
.footer-cols h3 { color: var(--c-dim); font-weight: 600; letter-spacing: .02em; text-transform: none; font-size: 14px; }
.footer-cols li a, .footer-cols address { color: var(--c-text); font-weight: 600; font-size: 15px; }
.footer-cols li a:hover { color: var(--c-accent); }
.socials a { background: var(--c-ink); color: #fff; }
[data-theme="dark"] .socials a { background: rgba(255,255,255,.1); }
.footer-bottom a:hover { color: var(--c-accent); }

/* Side "Scroll to top" indicator */
.scroll-rail { position: fixed; left: 18px; top: 50%; transform: translateY(-50%); z-index: 90; display: flex; flex-direction: column; align-items: center; gap: 14px; color: var(--c-text); font-size: 12px; font-weight: 600; opacity: 0; transition: opacity .3s; }
.scroll-rail.is-visible { opacity: 1; }
.scroll-rail button { writing-mode: vertical-rl; transform: rotate(180deg); background: none; border: 0; color: inherit; font: inherit; padding: 0; letter-spacing: .04em; }
.scroll-rail .track { width: 2px; height: 90px; background: var(--c-line); position: relative; border-radius: 2px; overflow: hidden; }
.scroll-rail .track i { position: absolute; left: 0; top: 0; width: 100%; height: 0; background: var(--c-text); }
@media (max-width: 1200px) { .scroll-rail { display: none; } }

/* Theme toggle → round button (bottom-left, like Cerco) */
.theme-switch { left: 18px; right: auto; bottom: 18px; padding: 0; background: transparent; box-shadow: none; }
.theme-switch button { display: none; width: 44px; height: 44px; border-radius: 50%; padding: 0; font-size: 18px; background: var(--c-bg-3); color: var(--c-text); box-shadow: 0 6px 18px rgba(0,0,0,.12); }
.theme-switch button[aria-pressed="false"] { display: grid; place-items: center; }
.menu-open .theme-switch { display: none; } /* it sat on top of the last drawer link */

@media (max-width: 1080px) {
  .hero-c__grid { grid-template-columns: 1fr; }
  .hero-c__art { max-width: 380px; margin-inline: auto; order: 2; }
  .hero-c__copy { text-align: left; }
  .hero-c__intro { grid-template-columns: 1fr 1fr; }
  .hero-c__intro .btn-row { grid-column: 1 / -1; justify-content: flex-start; }
}
@media (max-width: 760px) {
  .feature, [data-theme="light"] .feature, .feature--right, [data-theme="light"] .feature--right { grid-template-columns: 1fr; }
  .feature__media, .feature--right .feature__media { order: 0; min-height: 300px; }
  [data-theme="light"] .feature__body { max-width: none; }
  .feature__body { padding-block: 0; }
  .hero-c__intro { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .typed { white-space: normal; }
  .site-footer .newsletter { padding-inline: var(--gutter); margin-inline: calc(-1 * var(--gutter)); }
}
.venture__media--logo { display: grid; place-items: center; background: var(--c-bg-3); padding: 40px 48px; }
.venture__media--logo img { width: auto; height: auto; max-width: 78%; max-height: 120px; object-fit: contain; }
.venture:hover .venture__media--logo img { transform: scale(1.04); }
[data-theme="dark"] .venture__media--logo { background: #f0eef0; }
.eyebrow--script { font-size: clamp(16px, 1.4vw, 19px); letter-spacing: -.01em; text-transform: none; font-weight: 600; }
.hero--home h1 { letter-spacing: -.045em; line-height: 1; font-size: clamp(46px, 5.6vw, 84px); }

/* Achievements on home: thumbnails in every row + photo when opened */
.tl-item summary { grid-template-columns: 56px 64px 1fr 36px; }
.tl-thumb { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; transition: opacity .3s; }
.tl-item[open] .tl-thumb { opacity: 0; }
.tl-body--media { display: grid; grid-template-columns: 260px 1fr; gap: 28px; align-items: start; padding-left: 26px !important; }
.tl-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; border-radius: 16px; margin: 0 !important; max-height: none !important; }
@media (max-width: 760px) {
  .tl-item summary { grid-template-columns: 36px 48px 1fr 32px; }
  .tl-thumb { width: 48px; height: 48px; border-radius: 10px; }
  .tl-body--media { grid-template-columns: 1fr; padding-left: 18px !important; }
  .tl-photo { aspect-ratio: 16/10; }
}
.tl-thumb--logo { object-fit: contain; background: #fff; padding: 8px; }
.tl-photo--logo { aspect-ratio: 4/5; border-radius: 16px; background: #fff; display: grid; place-items: center; padding: 28px; }
.tl-photo--logo img { max-width: 100%; max-height: 120px; object-fit: contain; }
.milestone__logo { aspect-ratio: 4/5; border-radius: var(--radius-lg); background: var(--c-bg-3); display: grid; place-items: center; padding: 36px; position: sticky; top: calc(var(--header-h) + 24px); }
.milestone__logo img { max-width: 100%; max-height: 120px; object-fit: contain; }
@media (max-width: 760px) { .tl-photo--logo, .milestone__logo { aspect-ratio: 16/9; position: static; } }

/* Footer band: "Subscribe to BRAND Magazine" (matches cerco.design) */
.site-footer .newsletter--brand { display: flex; align-items: center; justify-content: space-between; gap: 24px 40px; flex-wrap: wrap; }
.subscribe-title { margin: 0; color: #fff; font-family: var(--f-display); font-weight: 600; font-size: clamp(30px, 3.6vw, 50px); line-height: 1.12; letter-spacing: -.045em; }
.subscribe-title img { display: inline-block; height: .78em; width: auto; vertical-align: -.04em; margin-left: .12em; filter: brightness(0) invert(1); }
.btn--light-pill { background: #fff; color: var(--c-ink); padding: 16px 28px; font-size: 16px; }
.btn--light-pill:hover { background: var(--c-ink); color: #fff; }

/* Logo: "Founder" under the name */
.logo__words { display: flex; flex-direction: column; line-height: 1; }
.logo__sub { font-size: 10.5px; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--c-muted); margin-top: 5px; padding-left: 1px; }

/* Videos */
.video-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 22px; margin-top: 40px; align-items: start; }
.video-card { background: var(--c-bg); border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--c-line); }
.section--alt .video-card { background: #fff; border-color: transparent; }
[data-theme="dark"] .section--alt .video-card { background: var(--c-bg-3); }
.video { position: relative; aspect-ratio: 16/9; background: #000; overflow: hidden; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease), opacity .3s; }
.video:hover img { transform: scale(1.03); opacity: .9; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video__play { position: absolute; inset: 0; margin: auto; width: 84px; height: 84px; border-radius: 50%; border: 0; background: var(--c-accent); box-shadow: 0 16px 40px rgba(192,33,38,.45); transition: transform .3s var(--ease), background .3s; }
.video__play span { display: block; width: 0; height: 0; margin-left: 6px; border-style: solid; border-width: 13px 0 13px 22px; border-color: transparent transparent transparent #fff; margin-inline: auto; transform: translateX(3px); }
.video:hover .video__play { transform: scale(1.08); background: var(--c-ink); }
.video-card--feature .video__play { width: 96px; height: 96px; }
.video-card__body { padding: 24px 26px 28px; }
.video-card__body h3 { margin: 12px 0 6px; font-size: 22px; line-height: 1.25; letter-spacing: -.02em; }
.video-card--feature .video-card__body h3 { font-size: clamp(22px, 2.2vw, 28px); }
.video-card__body p { margin: 0; color: var(--c-muted); font-size: 15px; }
@media (max-width: 900px) { .video-grid { grid-template-columns: 1fr; } }
.video-card--feature { grid-row: span 2; }
@media (max-width: 900px) { .video-card--feature { grid-row: auto; } }
/* Videos layout: featured on top (horizontal), others in a row */
.video-grid { display: block; }
.video-card--feature { grid-row: auto; display: grid; grid-template-columns: 1.7fr 1fr; align-items: center; }
.video-card--feature .video-card__body { padding: clamp(24px, 3vw, 44px); }
.video-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 22px; }
.video-row .video__play { width: 64px; height: 64px; }
.video-row .video__play span { border-width: 10px 0 10px 17px; }
.video-row .video-card__body h3 { font-size: 18px; }
@media (max-width: 900px) {
  .video-card--feature { grid-template-columns: 1fr; }
  .video-row { grid-template-columns: 1fr; }
}
@media (min-width: 901px) and (max-width: 1080px) { .video-row { grid-template-columns: 1fr 1fr; } }
.video-row { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.video-row { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.video-row .video-card__body { padding: 18px 18px 22px; }
.video-row .video-card__body h3 { font-size: 16.5px; }
.video-row .video-card__body p { font-size: 14px; }

/* Full banner hero (inner pages) */
.hero--banner { min-height: min(88vh, 860px); }
@media (min-width: 761px) {
  [data-theme="light"] .hero--banner .hero__media { left: 34%; }
  [data-theme="light"] .hero--banner::before { background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255,255,255,.6) 46%, rgba(255,255,255,0) 64%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 22%); }
  .hero--banner .hero__content { max-width: 560px; }
  .hero--banner .hero__media img { object-position: 35% 40%; }
}
@media (max-width: 760px) {
  [data-theme="light"] .hero--banner::before { background: linear-gradient(0deg, #fff 0%, #fff 50%, rgba(255,255,255,.85) 62%, rgba(255,255,255,0) 85%); }
}
[data-theme="dark"] .header-cta .btn { background: #fff; color: var(--c-ink); }
[data-theme="dark"] .header-cta .btn:hover { background: var(--c-accent); color: #fff; }
@media (min-width: 761px) { .hero--library .hero__media img { object-position: 60% 60%; } }

/* Video banner: iframe sized to "cover" the hero, fades in over the poster photo */
.hero--video .hero__media { overflow: hidden; background: #000; }
.bg-video { position: absolute; top: 50%; left: 50%; width: max(100%, calc(100vh * 16 / 9 * 1.1)); height: max(100%, calc(100vw * 9 / 16)); min-width: 177.78vh; min-height: 56.25vw; transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity 1.2s ease; }
.hero--video .hero__media.video-on .bg-video { opacity: 1; }
.hero--video .hero__media img { animation: none; transform: none; }
@media (min-width: 761px) { .hero--video .hero__media img { object-position: 30% 50%; } }
/* Library video has burned-in subtitles near the bottom — zoom and lift so they fall outside the frame */
.nav .ext { font-size: .8em; opacity: .6; margin-left: 2px; }
.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; }
.nav > a, .nav .has-sub > button { white-space: nowrap; }
@media (max-width: 1200px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
}
@media (min-width: 761px) { .hero--contact .hero__media img { object-position: 50% 30%; } }
/* Prevent a sub-pixel photo edge showing as a grey line under light-theme banners */
[data-theme="light"] .hero .hero__media { bottom: 2px; }
[data-theme="light"] .hero::before { bottom: -1px; }

/* Ventures dropdown: two columns */
.submenu--wide { min-width: 520px; display: grid; grid-template-columns: 1fr 1fr; gap: 2px; }
.submenu--wide a:first-child { grid-column: 1 / -1; border-bottom: 1px solid var(--c-line); border-radius: 10px 10px 0 0; margin-bottom: 4px; font-weight: 600; }
.submenu a .ext { font-size: .8em; opacity: .55; }
.nav .has-sub > button.is-current { color: var(--c-accent); }
@media (min-width: 761px) { .hero--whatido .hero__media img { object-position: 50% 25%; } }
.hero .chips { margin-top: 22px; }

/* Stats motion: staggered rise, one-time light sweep, number pop, hover lift */
.stats { position: relative; overflow: hidden; }
.stats::after { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 30%, rgba(255,255,255,.22) 50%, transparent 70%); transform: translateX(-120%); pointer-events: none; }
.stats.is-counting::after { animation: statSweep 1.6s .2s cubic-bezier(.3,.6,.2,1) forwards; }
@keyframes statSweep { to { transform: translateX(120%); } }
.stat { transition: transform .35s var(--ease), background .35s; }
.stat:hover { transform: translateY(-4px); background: rgba(255,255,255,.08); }
.stat b { display: block; width: max-content; transform-origin: left center; font-variant-numeric: tabular-nums; }
.stats.is-counted .stat b { animation: statPop .5s var(--ease); }
.stats.is-counted .stat:nth-child(2) b { animation-delay: .08s; }
.stats.is-counted .stat:nth-child(3) b { animation-delay: .16s; }
.stats.is-counted .stat:nth-child(4) b { animation-delay: .24s; }
@keyframes statPop { 40% { transform: scale(1.08); } 100% { transform: none; } }
.stats.reveal-stagger > .stat { transform: translateY(36px); }
.stats.reveal-stagger.is-in > .stat { transform: none; }
.stats.reveal-stagger.is-in > .stat:hover { transform: translateY(-4px); }
@media (prefers-reduced-motion: reduce) { .stats::after { display: none; } }
@media (min-width: 761px) { .hero--speaking .hero__media img { object-position: 30% 35%; } }

/* Lighter header: soft white gradient + lighter nav pill (light theme) */
[data-theme="light"] .site-header,
[data-theme="light"] .site-header.is-scrolled {
  background: linear-gradient(180deg, rgba(255,255,255,.97) 0%, rgba(253,251,252,.92) 100%);
  border-bottom-color: rgba(17,16,19,.06);
}
[data-theme="light"] .nav {
  background: linear-gradient(180deg, #ffffff 0%, #f8f6f8 100%);
  box-shadow: inset 0 0 0 1px rgba(17,16,19,.06), 0 6px 18px rgba(17,16,19,.04);
}
[data-theme="light"] .nav > a:hover, [data-theme="light"] .nav .has-sub > button:hover { background: #f3f1f3; }
[data-theme="light"] .menu-toggle { background: linear-gradient(180deg, #ffffff, #f4f2f4); box-shadow: inset 0 0 0 1px rgba(17,16,19,.08); }
/* Speaking video has a name/title card in its lower third — zoom and lower it so that strip stays out of frame */

/* Gallery grid */
.g-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; grid-auto-flow: dense; gap: 12px; margin-top: 36px; }
.g-tile { margin: 0; position: relative; border-radius: var(--radius); overflow: hidden; background: var(--c-bg-3); }
.g-tile--tall { grid-row: span 2; }
.g-tile--wide { grid-column: span 2; }
.g-tile a { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.g-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.g-tile:hover img { transform: scale(1.05); }
.g-tile figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; color: #fff; background: linear-gradient(0deg, rgba(0,0,0,.75), transparent); opacity: 0; transform: translateY(8px); transition: .35s var(--ease); pointer-events: none; }
.g-tile:hover figcaption, .g-tile a:focus-visible + figcaption { opacity: 1; transform: none; }
.g-tile figcaption span { display: block; font-weight: 600; font-size: 15px; line-height: 1.3; }
.g-tile figcaption small { font-size: 12px; opacity: .8; letter-spacing: .04em; }
#photos .section-head .chips { margin-top: 0; }
/* Private Exchange promo (events) and brand-card icon */
.notice--px { border-left-color: #e03a3a; }
.notice--px > div:first-of-type { flex: 1 1 380px; }
.notice__icon { width: 64px; height: 64px; border-radius: 12px; flex: none; }
.notice--px .btn-row { margin: 0; }
.bc-mark img.bc-logo-tall { max-height: 70px; max-width: 110px; margin-bottom: 14px; }  /* tall logos sit clear of the caption rule */
.bc-mark img.bc-on-white { mix-blend-mode: multiply; max-width: 170px; max-height: 70px; margin-bottom: 14px; }  /* logo art on white: white drops into the tile */
[data-theme="dark"] .bc-mark img.bc-on-white { mix-blend-mode: normal; background: #fff; padding: 6px; }
.bc-icon img.bc-px { border-radius: 8px; height: 40px; max-height: 40px; }
/* Homepage achievements preview: one large tile linking to the full timeline */
.ach-preview { display: grid; grid-template-columns: 1fr 1.1fr; margin-top: 40px; border-radius: var(--radius-lg); overflow: hidden; background: #111013; color: #fff; text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.ach-preview:hover { transform: translateY(-4px); box-shadow: 0 30px 60px rgba(17,16,19,.22); }
.ach-preview__body { padding: clamp(32px, 4.5vw, 64px); display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 16px; }
.ach-preview__body .eyebrow { color: #ff6b70; }
.ach-preview__body h3 { margin: 0; font-size: clamp(26px, 2.6vw, 38px); line-height: 1.12; letter-spacing: -.03em; font-weight: 600; color: #fff; }
.ach-preview__body p { margin: 0; color: rgba(255,255,255,.75); max-width: 52ch; }
.ach-preview__body .btn { margin-top: 8px; }
.ach-preview:hover .btn--light { background: var(--c-accent); color: #fff; }
.ach-preview__mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: repeat(2, minmax(200px, 1fr)); gap: 3px; min-height: 440px; }
.ach-preview__mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ach-preview:hover .ach-preview__mosaic img { transform: scale(1.04); }
@media (max-width: 900px) {
  .ach-preview { grid-template-columns: 1fr; }
  .ach-preview__mosaic { order: -1; min-height: 0; grid-template-rows: repeat(2, 140px); }
}
.caps { text-transform: uppercase; }
/* Flipbook */
.flipbook { margin: 48px auto 0; max-width: 1100px; }
.flipbook__stage { display: flex; justify-content: center; filter: drop-shadow(0 30px 50px rgba(0,0,0,.28)); }
.flipbook__stage > div { width: 100%; max-width: max(520px, calc((100vh - 220px) * 1000 / 1414 * 2)); margin-inline: auto; }
.flipbook__fallback { width: min(100%, 420px); height: auto; border-radius: 6px; }
.flipbook__page { background: #fff; overflow: hidden; }
.flipbook__page img { width: 100%; height: 100%; object-fit: cover; display: block; user-select: none; }
.flipbook__bar { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 28px; }
.flipbook__btn { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--c-line); background: var(--c-bg); color: var(--c-text); font-size: 20px; line-height: 1; display: grid; place-items: center; transition: background .2s, color .2s, border-color .2s; }
.flipbook__btn:hover, .flipbook__btn:focus-visible { background: var(--c-accent); border-color: var(--c-accent); color: #fff; }
.flipbook__btn[hidden] { display: none; }
.flipbook__count { min-width: 104px; text-align: center; font-weight: 600; font-variant-numeric: tabular-nums; font-size: 15px; }
.flipbook.is-full { max-width: none; margin: 0; background: #111013; color: #fff; display: flex; flex-direction: column; justify-content: center; padding: 24px; }
.flipbook.is-full .flipbook__stage > div { max-width: calc((100vh - 120px) * 1000 / 1414 * 2); margin-inline: auto; }
.flipbook.is-full .flipbook__btn { background: rgba(255,255,255,.08); border-color: transparent; color: #fff; }
@media (max-width: 760px) { .flipbook { margin-top: 32px; } .flipbook__bar { gap: 4px; } .flipbook__btn { width: 40px; height: 40px; } .flipbook__count { min-width: 84px; font-size: 14px; } }
@media (max-width: 1080px) { .g-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; } }
@media (max-width: 760px) {
  .g-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; gap: 8px; }
  .g-tile--wide { grid-column: span 2; }
  .g-tile figcaption { opacity: 1; transform: none; padding: 28px 10px 8px; }
  .g-tile figcaption span { font-size: 13px; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(10,10,12,.94); display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px; }
.lightbox[hidden] { display: none; }
.lightbox figure { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 14px; max-height: 100%; }
.lightbox img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; border-radius: 10px; box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.lightbox figcaption { color: #d9dbdf; font-size: 14px; text-align: center; }
.lightbox button { background: rgba(255,255,255,.08); border: 0; color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 30px; line-height: 1; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: var(--c-accent); }
.lb-close { position: absolute; top: 20px; right: 20px; font-size: 26px !important; }
.lb-open { overflow: hidden; }
@media (max-width: 760px) { .lightbox { grid-template-columns: 44px 1fr 44px; padding: 10px; } .lightbox button { width: 40px; height: 40px; font-size: 24px; } }
.logo { flex: none; }
.logo__text, .logo__sub { white-space: nowrap; }
.nav { flex: none; }
@media (max-width: 1280px) {
  .nav, .header-cta .btn { display: none; }
  .menu-toggle { display: block; }
}

/* Homepage gallery banner: full-bleed photo mosaic with overlay copy */
.gallery-banner { position: relative; isolation: isolate; overflow: hidden; min-height: min(88vh, 860px); display: flex; align-items: center; justify-content: center; text-align: center; color: #fff; background: #111013; }
.gallery-banner__mosaic { position: absolute; inset: -4%; z-index: -2; display: grid; grid-template-columns: repeat(4, 1fr); grid-template-rows: repeat(2, 1fr); gap: 4px; animation: mosaicDrift 30s ease-in-out infinite alternate; }
.gallery-banner__mosaic figure { margin: 0; overflow: hidden; }
.gallery-banner__mosaic img { width: 100%; height: 100%; object-fit: cover; }
@keyframes mosaicDrift { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.06) translate(-1.5%, -1%); } }
.gallery-banner::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(17,16,19,.55) 0%, rgba(17,16,19,.78) 70%), linear-gradient(0deg, rgba(17,16,19,.4), transparent 40%); }
.gallery-banner__content { max-width: 820px; padding-block: 120px; }
.gallery-banner .eyebrow { color: #fff; opacity: .85; }
.gallery-banner .display { color: #fff; }
.gallery-banner .lead { color: rgba(255,255,255,.85); margin-inline: auto; }
.gallery-banner .btn-row { justify-content: center; }
@media (max-width: 760px) {
  .gallery-banner { min-height: 640px; }
  .gallery-banner__mosaic { grid-template-columns: repeat(2, 1fr); grid-template-rows: repeat(4, 1fr); }
}
@media (prefers-reduced-motion: reduce) { .gallery-banner__mosaic { animation: none; } }

/* Homepage brands carousel (infinite marquee, pauses on hover/focus) */
.brands { border-block: 1px solid var(--c-line); padding-block: clamp(48px, 6vw, 80px); overflow: hidden; }
.brands .section-head { margin-bottom: 32px; }
.brand-marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.brand-track { display: flex; width: max-content; animation: brandScroll 55s linear infinite; }
.brand-marquee:hover .brand-track, .brand-marquee:focus-within .brand-track { animation-play-state: paused; }
.brand-set { display: flex; gap: 8px; padding-right: 8px; }
@keyframes brandScroll { to { transform: translateX(-50%); } }
.brand-card { flex: none; width: 240px; height: 168px; border-radius: 0; background: var(--c-bg-3); display: flex; flex-direction: column; justify-content: space-between; padding: 20px 22px; color: var(--c-text); transition: transform .3s var(--ease), box-shadow .3s, background .3s; }
a.brand-card:hover { transform: translateY(-4px); background: #fff; box-shadow: 0 18px 40px rgba(17,16,19,.1); }
.bc-mark { flex: 1; display: flex; align-items: center; justify-content: center; }
.bc-mark img { max-width: 160px; max-height: 54px; width: auto; height: auto; object-fit: contain; }
.bc-mark img.invert { filter: invert(1); }
.bc-icon { display: inline-flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; letter-spacing: -.03em; }
.bc-icon img { height: 46px; max-height: 46px; width: auto; }
.bc-word { font-size: 22px; font-weight: 500; letter-spacing: -.04em; line-height: 1.05; text-align: center; }
.bc-word b { font-weight: 700; color: var(--c-accent); }
.bc-word i { font-family: Georgia, "Times New Roman", serif; font-size: 30px; font-weight: 400; }
.bc-cap { display: block; font-size: 12px; color: var(--c-dim); line-height: 1.35; border-top: 1px solid var(--c-line); padding-top: 10px; }
.bc-cap b { display: block; color: var(--c-text); font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.brand-card--past .bc-mark { opacity: .75; }
.brand-card--past .bc-mark:has(img) { opacity: 1; }  /* real brand logos keep their brand colours */
[data-theme="dark"] .bc-mark img.invert { filter: none; }
[data-theme="dark"] .brand-card { background: var(--c-bg-2); }
@media (prefers-reduced-motion: reduce) {
  .brand-track { animation: none; }
  .brand-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .brand-set[aria-hidden] { display: none; }
}
@media (max-width: 760px) { .brand-card { width: 200px; height: 150px; } .brand-track { animation-duration: 45s; } }
.venture__media--logo img.invert { filter: invert(1); }
@media (min-width: 761px) { .hero--gallery .hero__media img { object-position: 40% 55%; } }
@media (min-width: 761px) {
  [data-theme="light"] .hero--gallery .hero__media { left: 40%; }
  [data-theme="light"] .hero--gallery::before { background: linear-gradient(90deg, #fff 0%, #fff 40%, rgba(255,255,255,0) 47%), linear-gradient(0deg, #fff 0%, rgba(255,255,255,0) 18%); }
  .hero--gallery .hero__media img { object-position: 30% 60%; }
}
@media (min-width: 761px) { .hero--gallery .hero__content { max-width: min(560px, calc(40vw - max(0px, (100vw - var(--container)) / 2) - 72px)); } }
@media (min-width: 761px) { .hero--gallery .hero__media img { object-position: 50% 60%; } }
.hero--gallery .hero__media img { object-position: 50% 60%; }

/* Gallery hero: true full-bleed photo with dark overlay and white copy */
.hero--gallery .hero__media, [data-theme="light"] .hero--gallery .hero__media { left: 0 !important; right: 0; bottom: 0 !important; }
.hero--gallery .hero__media img { object-position: 62% 60% !important; }
.hero--gallery::before, [data-theme="light"] .hero--gallery::before {
  background: linear-gradient(90deg, rgba(10,10,12,.82) 0%, rgba(10,10,12,.62) 32%, rgba(10,10,12,.15) 62%, rgba(10,10,12,0) 80%), linear-gradient(0deg, rgba(10,10,12,.45) 0%, rgba(10,10,12,0) 30%) !important;
  bottom: 0 !important;
}
.hero--gallery .hero__content { max-width: 600px !important; color: #fff; }
.hero--gallery .display, .hero--gallery .hero__content .lead, .hero--gallery .hero__content .lead strong { color: #fff; }
.hero--gallery .hero__content .lead { color: rgba(255,255,255,.88); }
.hero--gallery .eyebrow { color: #ff6b70; }
.hero--gallery .btn--primary { background: #fff; color: var(--c-ink); }
.hero--gallery .btn--primary:hover { background: var(--c-accent); color: #fff; }
@media (max-width: 760px) {
  .hero--gallery::before, [data-theme="light"] .hero--gallery::before { background: linear-gradient(0deg, rgba(10,10,12,.88) 0%, rgba(10,10,12,.6) 45%, rgba(10,10,12,.1) 75%) !important; }
  .hero--gallery .hero__media img { object-position: 58% 50% !important; }
}
@media (min-width: 761px) {
  .hero--gallery .hero__media img { animation: none !important; transform: scale(1.32) !important; transform-origin: 0% 72%; object-position: 50% 60% !important; }
}

/* ==========================================================================
   ALL BANNERS: full-bleed photo/video, dark fade on the left, white copy
   (same treatment as the Gallery banner). Per-page --hero-shift slides the
   photo right when the subject sits under the copy; exposed edge is black.
   ========================================================================== */
.hero { background: #0a0a0c; min-height: min(88vh, 860px); }
.hero .hero__media, [data-theme="light"] .hero .hero__media,
[data-theme="light"] .hero--home .hero__media, [data-theme="light"] .hero--banner .hero__media {
  left: 0 !important; right: 0 !important; bottom: 0 !important;
  transform: translateX(var(--hero-shift, 0));
}
.hero::before, [data-theme="light"] .hero::before,
[data-theme="light"] .hero--home::before, [data-theme="light"] .hero--banner::before {
  background:
    linear-gradient(90deg, rgba(10,10,12,.86) 0%, rgba(10,10,12,.66) 30%, rgba(10,10,12,.18) 60%, rgba(10,10,12,0) 80%),
    linear-gradient(0deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,0) 32%) !important;
  bottom: 0 !important;
}
.hero .hero__content, [data-theme="light"] .hero--home .hero__content, [data-theme="light"] .hero--banner .hero__content { max-width: 620px !important; color: #fff; }
.hero .display, .hero h1 { color: #fff; }
.hero .hero__content .lead, [data-theme="light"] .hero__content .lead { color: rgba(255,255,255,.86); }
.hero .hero__content .lead strong { color: #fff; }
.hero .eyebrow, .hero .eyebrow--script { color: #ff6b70; }
.hero .btn--primary, [data-theme="light"] .hero .btn--primary { background: #fff; color: var(--c-ink); }
.hero .btn--primary:hover { background: var(--c-accent); color: #fff; }
.hero .btn--ghost, [data-theme="light"] .hero .btn--ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.hero .btn--ghost:hover { border-color: #fff; }
.hero .chip, [data-theme="light"] .hero .chip { border-color: rgba(255,255,255,.35); color: #fff; background: rgba(255,255,255,.06); }

/* Per-page framing (desktop) */
@media (min-width: 761px) {
  .hero--about { --hero-shift: 16%; }
  .hero--ventures { --hero-shift: 34%; }
  .hero--events { --hero-shift: 18%; }
  .hero--whatido { --hero-shift: 14%; }
  .hero--achievements { --hero-shift: 14%; }
  .hero--contact { --hero-shift: 10%; }
  .hero--home .hero__media img { object-position: 50% 40%; }
  .hero--about .hero__media img { object-position: 50% 28%; }
  .hero--ventures .hero__media img { object-position: 20% 40%; }
  .hero--events .hero__media img { object-position: 50% 40%; }
  .hero--whatido .hero__media img { object-position: 50% 22%; }
  .hero--contact .hero__media img { object-position: 50% 25%; }
}
/* Phones: photo on top, copy below over a bottom fade */
@media (max-width: 760px) {
  .hero::before, [data-theme="light"] .hero::before, [data-theme="light"] .hero--home::before, [data-theme="light"] .hero--banner::before {
    background: linear-gradient(0deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.7) 45%, rgba(10,10,12,.1) 78%) !important;
  }
  .hero .hero__media { transform: none; }
}

/* Header phone number (right of the Contact button) */
.header-phone { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; color: var(--c-text); white-space: nowrap; padding: 10px 4px; transition: color .2s; }
.header-phone svg { width: 16px; height: 16px; fill: var(--c-accent); }
.header-phone:hover { color: var(--c-accent); }
@media (max-width: 1280px) { .header-phone span { display: none; } .header-phone { width: 46px; height: 46px; justify-content: center; border-radius: 50%; background: var(--c-bg-3); padding: 0; } .header-phone svg { width: 18px; height: 18px; } }
/* Header room for the phone number */
.site-header .container { max-width: 1440px; }
.nav > a, .nav .has-sub > button { padding: 9px 11px; font-size: 14.5px; }
.header-cta { gap: 12px; }
@media (max-width: 1359px) {
  .header-phone span { display: none; }
  .header-phone { width: 44px; height: 44px; justify-content: center; border-radius: 50%; background: var(--c-bg-3); padding: 0; flex: none; }
  [data-theme="light"] .header-phone { background: linear-gradient(180deg, #fff, #f4f2f4); box-shadow: inset 0 0 0 1px rgba(17,16,19,.08); }
}
/* Gallery uses exactly the same fade as every other banner */
.hero--gallery::before, [data-theme="light"] .hero--gallery::before {
  background:
    linear-gradient(90deg, rgba(10,10,12,.86) 0%, rgba(10,10,12,.66) 30%, rgba(10,10,12,.18) 60%, rgba(10,10,12,0) 80%),
    linear-gradient(0deg, rgba(10,10,12,.5) 0%, rgba(10,10,12,0) 32%) !important;
}
.hero--gallery .hero__content { max-width: 620px !important; }
@media (max-width: 760px) {
  .hero--gallery::before, [data-theme="light"] .hero--gallery::before { background: linear-gradient(0deg, rgba(10,10,12,.92) 0%, rgba(10,10,12,.7) 45%, rgba(10,10,12,.1) 78%) !important; }
}
/* Events: the group fills the whole photo, so fit it to the right of the copy instead of sliding it off-screen */
@media (min-width: 761px) {
  .hero--events { --hero-shift: 0; }
  .hero.hero--events .hero__media, [data-theme="light"] .hero.hero--events .hero__media { left: 24% !important; -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%); mask-image: linear-gradient(90deg, transparent 0, #000 22%); }
  .hero--events .hero__media img { object-position: 50% 35%; }
}
@media (min-width: 761px) { .hero--whatido { --hero-shift: 26%; } .hero--contact { --hero-shift: 22%; } }

/* Call panel (replaces forms until a form service is connected) */
.call-panel { background: var(--c-bg-3); border-radius: var(--radius-lg); padding: clamp(32px, 4vw, 56px); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; }
.call-panel__icon { width: 64px; height: 64px; border-radius: 50%; background: var(--c-accent); display: grid; place-items: center; margin-bottom: 18px; }
.call-panel__icon svg { width: 28px; height: 28px; fill: #fff; }
.call-panel .lead { margin-bottom: 18px; }
.call-panel__btn { font-size: 18px; padding: 18px 30px; }

/* Square, sharp corners on every tile, card, photo block and badge (the radius tokens above are 0).
   Navigation, menus, form fields, pill buttons and circles keep their own shapes. */
.card__icon, .tile .ico, .tile img.cover, .contact-card .ico, .notice__icon, .bc-icon img.bc-px,
.tl-item .tl-body img, .tl-thumb, .tl-photo, .tl-photo--logo, .past img, .book img,
.passion > img, .passion:nth-child(even) > img, .date-badge, .flipbook__fallback, .lightbox img { border-radius: 0; }
