/* robertjlewis.me: the public look.
   White carries about 60% of every page, Lewis Blue about 30% (header text, the blue bands,
   the footer), Signal Orange about 10% (actions and small marks). Sora for headlines,
   Figtree for reading. Slight rounding on photos, panels and controls. */

:root {
  --white: #ffffff;
  --mist: #f3f6fa;
  --mist-2: #e7edf5;
  --line: #d8e0ea;
  --ink: #0e1b2e;
  --ink-2: #44526a;
  --ink-3: #5f6b80;
  --blue: #084287;
  --blue-deep: #06356d;
  --blue-night: #04264f;
  --blue-tint: #dfe9f6;
  --orange: #f8832d;
  --orange-hover: #ff9446;
  --orange-soft: #ffb27a;
  --orange-ink: #b9500a;
  --on-blue: #ffffff;
  --on-blue-2: rgba(255, 255, 255, 0.78);
  --on-blue-line: rgba(255, 255, 255, 0.18);
  --ok: #1d7a4a;
  --bad: #b3261e;

  --r-sm: 6px;
  --r: 12px;
  --r-lg: 18px;

  --f-display: 'Sora', 'Segoe UI', system-ui, sans-serif;
  --f-body: 'Figtree', 'Segoe UI', system-ui, sans-serif;

  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --band: clamp(72px, 9vw, 128px);
  --shadow: 0 1px 2px rgba(8, 30, 66, 0.06), 0 12px 32px -12px rgba(8, 30, 66, 0.18);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--f-body);
  font-size: 1.125rem;
  line-height: 1.65;
  font-feature-settings: 'ss01';
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--blue-deep); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 3px; border-radius: 3px; }
.band-blue :focus-visible, .site-foot :focus-visible { outline-color: var(--orange); }
::selection { background: var(--blue-tint); color: var(--blue-night); }

.sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--blue); color: #fff; padding: 10px 16px; border-radius: var(--r-sm); }
.skip:focus { top: 12px; color: #fff; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 820px; }

/* ---------- Type ---------- */
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 300; color: var(--ink); margin: 0; letter-spacing: -0.02em; text-wrap: pretty; }
.display, .hero-claim { text-wrap: balance; }
.display { font-size: clamp(2.5rem, 5.4vw, 4.6rem); line-height: 1.04; letter-spacing: -0.035em; }
.h2 { font-size: clamp(2rem, 3.6vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; }
.h3 { font-size: clamp(1.5rem, 2.2vw, 1.9rem); line-height: 1.2; font-weight: 400; }
.h4 { font-size: 1.22rem; line-height: 1.3; font-weight: 500; letter-spacing: -0.01em; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.15rem, 1.6vw, 1.32rem); line-height: 1.6; color: var(--ink-2); max-width: 40em; }
.lede p:last-child, .prose p:last-child, .section-intro p:last-child { margin-bottom: 0; }
.muted { color: var(--ink-3); }
.fine { font-size: 0.875rem; color: var(--ink-3); margin-top: 18px; }
.fine p { margin: 0; }

.kicker {
  display: inline-flex; align-items: center; gap: 12px;
  font-weight: 600; font-size: 0.98rem; color: var(--blue); margin: 0 0 22px;
}
.kicker::before { content: ''; width: 28px; height: 2px; background: var(--orange); border-radius: 2px; flex: none; }

.prose { max-width: 66ch; color: var(--ink-2); }
.prose p { margin: 0 0 1.1em; }
.prose h2 { font-size: 1.6rem; font-weight: 400; margin: 1.8em 0 0.6em; color: var(--ink); }
.prose h3 { font-size: 1.25rem; font-weight: 500; margin: 1.6em 0 0.5em; color: var(--ink); }
.prose ul, .prose ol { padding-left: 1.2em; margin: 0 0 1.2em; }
.prose li { margin: 0.35em 0; }
.prose li::marker { color: var(--orange); }
.prose blockquote { margin: 1.6em 0; padding: 0 0 0 22px; border-left: 2px solid var(--orange); font-family: var(--f-display); font-weight: 300; font-size: 1.3rem; color: var(--ink); }
.prose-lg { font-size: 1.2rem; }
.prose strong, .prose b { color: var(--ink); font-weight: 600; }
.on-dark, .on-dark p { color: var(--on-blue-2); }

/* ---------- Buttons and links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 50px; padding: 13px 24px; border-radius: var(--r-sm);
  font: 600 1rem/1.2 var(--f-body); text-decoration: none; letter-spacing: 0.005em;
  border: 1px solid transparent; cursor: pointer; transition: background-color .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-deep); color: #fff; }
.btn-accent { background: var(--orange); color: var(--blue-night); }
.btn-accent:hover { background: var(--orange-hover); color: var(--blue-night); }
.btn-ghost { background: transparent; color: var(--blue); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-ghost.on-dark { color: #fff; border-color: rgba(255,255,255,.4); }
.btn-ghost.on-dark:hover { border-color: #fff; color: #fff; }
.btn-lg { min-height: 56px; padding: 15px 30px; font-size: 1.05rem; }
.btn-sm { min-height: 40px; padding: 8px 16px; font-size: 0.92rem; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.ic { width: 16px; height: 16px; flex: none; }
.ic.flip { transform: scaleX(-1); }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; text-decoration: none; color: var(--blue); }
.text-link .ic { transition: transform .2s; }
.text-link:hover .ic { transform: translateX(3px); }
.text-link.on-dark { color: #fff; }
.text-link:not(:has(.ic))::after { content: ''; width: 16px; height: 16px; flex: none; background: currentColor; transition: transform .2s;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9M8.5 4.5 12 8l-3.5 3.5' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.text-link:not(:has(.ic)):hover::after { transform: translateX(3px); }
.text-link.on-dark:not(:has(.ic))::after { background: var(--orange-soft); }
.text-link.on-dark .ic { color: var(--orange-soft); }

/* ---------- Header ---------- */
.site-head { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.94); backdrop-filter: saturate(1.4) blur(10px); -webkit-backdrop-filter: saturate(1.4) blur(10px); border-bottom: 1px solid transparent; transition: border-color .2s; }
.site-head.is-scrolled { border-bottom-color: var(--line); }
.head-row { display: flex; align-items: center; justify-content: space-between; height: 78px; gap: 24px; }
.brand { display: block; flex: none; }
.brand-sig { height: 46px; width: auto; }
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav > a, .nav-group-btn {
  font: 500 0.98rem/1 var(--f-body); color: var(--ink); text-decoration: none;
  padding: 12px 14px; border-radius: var(--r-sm); background: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; gap: 6px;
}
.site-nav > a:hover, .nav-group-btn:hover { color: var(--blue); background: var(--mist); }
.site-nav a[aria-current="page"]:not(.btn), .nav-group.is-active > .nav-group-btn { color: var(--blue); box-shadow: inset 0 -2px 0 var(--orange); border-radius: 0; }
.nav-group-btn svg { width: 12px; height: 12px; transition: transform .2s; }
.nav-group { position: relative; }
.nav-menu {
  position: absolute; top: calc(100% + 8px); left: -8px; min-width: 248px; padding: 8px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--r); box-shadow: var(--shadow);
  display: grid; opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .16s, transform .16s, visibility .16s;
}
.nav-menu a { padding: 11px 14px; border-radius: var(--r-sm); text-decoration: none; color: var(--ink); font-weight: 500; font-size: 0.98rem; }
.nav-menu a:hover, .nav-menu a[aria-current="page"] { background: var(--mist); color: var(--blue); }
.nav-group.is-open .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (min-width: 1041px) { .nav-group:hover .nav-menu { opacity: 1; visibility: visible; transform: none; } }
.nav-group.is-open .nav-group-btn svg { transform: rotate(180deg); }
.site-nav > a.nav-cta { margin-left: 10px; min-height: 46px; padding: 11px 20px; background: var(--orange); color: var(--blue-night); border-radius: var(--r-sm); font-weight: 600; box-shadow: none; }
.site-nav > a.nav-cta:hover { background: var(--orange-hover); color: var(--blue-night); }
.nav-toggle { display: none; }

@media (max-width: 1040px) {
  .nav-toggle {
    display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px;
    border: 1px solid var(--line); background: #fff; border-radius: var(--r-sm); cursor: pointer;
  }
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { display: block; width: 20px; height: 2px; background: var(--blue); border-radius: 2px; position: relative; transition: transform .2s, background-color .2s; }
  .nav-toggle-bars::before, .nav-toggle-bars::after { content: ''; position: absolute; left: 0; }
  .nav-toggle-bars::before { top: -6px; } .nav-toggle-bars::after { top: 6px; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars::after { transform: translateY(-6px) rotate(-45deg); }
  .site-nav {
    position: fixed; inset: 78px 0 0 0; background: #fff; flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px var(--gutter) 40px; overflow-y: auto; display: none; border-top: 1px solid var(--line);
  }
  .site-nav.is-open { display: flex; }
  .site-nav > a, .nav-group-btn { font-size: 1.2rem; padding: 18px 4px; border-bottom: 1px solid var(--line); border-radius: 0; width: 100%; justify-content: space-between; }
  .site-nav a[aria-current="page"]:not(.btn), .nav-group.is-active > .nav-group-btn { box-shadow: none; }
  .nav-menu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 8px 12px; display: none; min-width: 0; }
  .nav-group.is-open .nav-menu { display: grid; }
  .nav-group:hover .nav-menu { display: none; }
  .nav-group.is-open:hover .nav-menu { display: grid; }
  .nav-menu a { font-size: 1.08rem; padding: 14px 8px; }
  .nav-cta { margin: 24px 0 0; min-height: 54px; }
  body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand-sig { height: 38px; } .head-row { height: 70px; } .site-nav { inset: 70px 0 0 0; } }

/* ---------- Media ---------- */
.media-fill { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); background: var(--mist-2); }
.img-empty { width: 100%; height: 100%; min-height: 200px; border-radius: var(--r); background: linear-gradient(135deg, var(--mist), var(--mist-2)); }

/* ---------- Hero (home) ---------- */
.hero { position: relative; padding: clamp(40px, 6vw, 88px) 0 clamp(56px, 7vw, 100px); overflow: hidden; }
.hero::before {
  content: ''; position: absolute; right: 0; top: 0; bottom: 0; width: 38%;
  background: linear-gradient(180deg, var(--mist) 0%, var(--white) 100%); z-index: -1;
}
.hero-grid { display: grid; grid-template-columns: 1.08fr 0.92fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.hero-copy { position: relative; z-index: 2; }
.hero-name { margin: 0 0 18px; line-height: 0; }
.hero-sig { width: min(100%, 640px); height: auto; margin-left: -6px; }
.hero-role { font-family: var(--f-display); font-weight: 400; font-size: clamp(1.15rem, 1.7vw, 1.4rem); line-height: 1.4; color: var(--blue); max-width: 30em; margin: 0 0 20px; letter-spacing: -0.01em; }
.hero-lede { margin-top: 0; }
.hero-media { position: relative; }
.hero-portrait { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 18%; border-radius: var(--r-lg); background: var(--mist-2); }
.hero-caption { position: absolute; left: 18px; bottom: 18px; margin: 0; padding: 8px 14px; background: rgba(255,255,255,.92); border-radius: var(--r-sm); font-size: 0.86rem; color: var(--ink-2); backdrop-filter: blur(6px); }

/* The one moment: the signature writes itself in once. */
@media (prefers-reduced-motion: no-preference) {
  .js .hero-sig { clip-path: inset(0 100% 0 0); animation: write 2.1s cubic-bezier(.55, .1, .25, 1) .25s forwards; }
  @keyframes write { to { clip-path: inset(0 0 0 0); } }
}

@media (max-width: 760px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero::before { display: none; }
  .hero-media { max-width: 520px; }
  .hero-media { order: -1; }
  .hero-portrait { aspect-ratio: 4 / 3.4; object-position: 50% 12%; }
}

/* ---------- Record ---------- */
.record { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.record-row { display: grid; grid-template-columns: repeat(4, 1fr); }
.record-item { padding: 34px 28px 32px; border-left: 1px solid var(--line); }
.record-item:first-child { border-left: 0; padding-left: 0; }
.record-value { font-family: var(--f-display); font-size: clamp(1.4rem, 2.2vw, 1.9rem); font-weight: 400; color: var(--blue); margin: 0 0 6px; letter-spacing: -0.02em; line-height: 1.15; }
.record-label { margin: 0; color: var(--ink-2); font-size: 0.98rem; line-height: 1.45; max-width: 18em; }
@media (max-width: 900px) {
  .record-row { grid-template-columns: 1fr 1fr; }
  .record-item { padding: 26px 20px; border-left: 0; border-top: 1px solid var(--line); }
  .record-item:nth-child(-n+2) { border-top: 0; }
  .record-item:nth-child(odd) { padding-left: 0; }
  .record-item:nth-child(even) { border-left: 1px solid var(--line); }
}
@media (max-width: 480px) {
  .record-item { padding: 20px 14px; }
  .record-value { font-size: 1.3rem; }
  .record-label { font-size: 0.875rem; }
}

/* ---------- Bands ---------- */
.band { padding: var(--band) 0; }
.band-tight { padding: clamp(40px, 5vw, 72px) 0; }
.band-mist { background: var(--mist); }
.band-blue { background: var(--blue); color: var(--on-blue); }
.band-blue h2, .band-blue h3, .band-blue .h2, .band-blue .h3, .band-blue .h4 { color: #fff; }
.band-blue .lede, .band-blue .prose, .band-blue .section-intro { color: var(--on-blue-2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head .h2 { margin-bottom: 18px; }
.section-head.row { max-width: none; display: flex; align-items: end; justify-content: space-between; gap: 24px; }
.section-head.row .h2 { margin: 0; }
.section-intro { font-size: 1.15rem; color: var(--ink-2); max-width: 40em; }
.split { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(36px, 6vw, 96px); align-items: start; }
.split-media { grid-template-columns: 1fr 1fr; align-items: center; }
@media (max-width: 900px) { .split, .split-media { grid-template-columns: 1fr; } }

/* ---------- Ventures ---------- */
.venture-list { display: grid; gap: clamp(56px, 7vw, 96px); }
.venture { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.venture.is-flipped .venture-media { order: 2; }
.venture-media { aspect-ratio: 16 / 10; }
.venture-media .media-fill { border-radius: var(--r-lg); }
.venture-kicker { color: var(--orange-soft); font-weight: 600; font-size: 0.95rem; margin: 0 0 10px; }
.venture .h3 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 300; margin-bottom: 18px; letter-spacing: -0.025em; }
.venture-body { color: var(--on-blue-2); margin-bottom: 24px; max-width: 32em; }
.venture-body p { margin: 0 0 1em; }
@media (max-width: 900px) {
  .venture { grid-template-columns: 1fr; }
  .venture.is-flipped .venture-media { order: 0; }
}

/* ---------- Story teaser ---------- */
.quote { margin: 0; position: relative; padding-top: 18px; }
.quote::before { content: ''; display: block; width: 44px; height: 3px; background: var(--orange); border-radius: 3px; margin-bottom: 32px; }
.quote-text { margin: 0; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 2.7vw, 2.35rem); line-height: 1.3; letter-spacing: -0.02em; color: var(--blue); }
.quote figcaption { margin-top: 28px; }
.quote-source { font-weight: 600; color: var(--ink-3); font-size: 0.98rem; }
.story-copy .h2 { margin-bottom: 24px; }
.story-copy .btn { margin-top: 18px; }

/* ---------- Principles and topics ---------- */
.principle-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.principle { padding: 30px 28px 8px 0; border-right: 1px solid var(--line); margin-right: 28px; }
.principle:last-child { border-right: 0; margin-right: 0; }
.principle .h4 { margin-bottom: 12px; }
.principle .h4::before { content: ''; display: block; width: 10px; height: 10px; background: var(--orange); border-radius: 2px; margin-bottom: 20px; }
.principle-body { color: var(--ink-2); font-size: 1.02rem; }
.principle-grid.topics { grid-template-columns: repeat(3, 1fr); }
.principle-grid.topics .principle:nth-child(3n) { border-right: 0; margin-right: 0; }
.principle-grid.topics .principle:nth-child(n+4) { border-top: 1px solid var(--line); }
@media (max-width: 1000px) {
  .principle-grid, .principle-grid.topics { grid-template-columns: 1fr 1fr; }
  .principle { border-right: 0; margin-right: 0; padding-right: 24px; border-bottom: 1px solid var(--line); }
  .principle-grid.topics .principle:nth-child(n+4) { border-top: 0; }
}
@media (max-width: 600px) { .principle-grid, .principle-grid.topics { grid-template-columns: 1fr; } .principle { padding-right: 0; } }

/* ---------- Service ---------- */
.service-media { aspect-ratio: 5 / 4; }
.service-media .media-fill { border-radius: var(--r-lg); }
.service .h2 { margin-bottom: 22px; }

/* ---------- Partners ---------- */
.partners .h2 { max-width: 12em; }
.partners-media { aspect-ratio: 4 / 3; margin-top: 40px; }
.partners-media .media-fill { border-radius: var(--r-lg); }
.ticks { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
.ticks li { position: relative; padding-left: 34px; color: var(--ink-2); }
.ticks li::before {
  content: ''; position: absolute; left: 0; top: 0.42em; width: 18px; height: 18px; border-radius: 50%;
  background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2304264f' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.ticks.on-dark li { color: #fff; }

/* ---------- Speaking teaser ---------- */
.speaking-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--mist); border-radius: var(--r-lg); overflow: hidden; }
.speaking-media { min-height: 380px; }
.speaking-media .media-fill { border-radius: 0; }
.speaking-copy { padding: clamp(32px, 5vw, 72px); align-self: center; }
.speaking-copy .h2 { margin-bottom: 18px; }
.speaking-copy .btn { margin-top: 20px; }
@media (max-width: 900px) { .speaking-panel { grid-template-columns: 1fr; } .speaking-media { min-height: 260px; aspect-ratio: 16 / 9; } }

/* ---------- Posts ---------- */
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 36px); }
.post-card-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; height: 100%; }
.post-card-link .text-link { margin-top: auto; padding-top: 6px; }
.post-card-media { aspect-ratio: 3 / 2; margin-bottom: 20px; overflow: hidden; border-radius: var(--r); }
.post-card-media .media-fill { transition: transform .5s ease; }
.post-card-link:hover .media-fill { transform: scale(1.03); }
.post-date { font-size: 0.875rem; color: var(--ink-3); margin: 0 0 8px; }
.post-card-title { font-size: 1.32rem; font-weight: 400; line-height: 1.3; margin-bottom: 10px; color: var(--ink); }
.post-card-link:hover .post-card-title { color: var(--blue); }
.post-card p:not(.post-date) { color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .post-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .post-grid { grid-template-columns: 1fr; } }

/* ---------- Page heads ---------- */
.page-hero { padding: clamp(48px, 7vw, 104px) 0 clamp(40px, 5vw, 72px); }
.page-hero-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(32px, 5vw, 80px); align-items: end; }
.page-hero-grid.no-media { grid-template-columns: 1fr; }
.page-hero-grid.no-media .page-hero-copy { max-width: 900px; }
.page-hero .display { margin-bottom: 26px; }
.page-hero-media { aspect-ratio: 4 / 3; }
.page-hero-media .media-fill { border-radius: var(--r-lg); }
@media (max-width: 900px) { .page-hero-grid { grid-template-columns: 1fr; } }

/* ---------- About ---------- */
.about-intro { padding-top: 0; }
.about-portrait { aspect-ratio: 4 / 5; max-height: 720px; }
.about-portrait .media-fill { object-position: 50% 15%; border-radius: var(--r-lg); }
.chapter-grid { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(28px, 6vw, 96px); }
.chapter-era { font-weight: 600; color: var(--orange-ink); margin: 0 0 12px; font-size: 0.98rem; }
.chapter-side .h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
@media (min-width: 901px) { .chapter-side { position: sticky; top: 110px; align-self: start; } }
@media (max-width: 900px) { .chapter-grid { grid-template-columns: 1fr; } }

.timeline { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.tl-item::after { content: ''; position: absolute; left: 0; right: 0; top: 7px; height: 1px; background: var(--on-blue-line); z-index: 0; }
.tl-item { position: relative; padding: 40px 28px 36px 0; }
.tl-item::before { content: ''; position: absolute; left: 0; top: 0; width: 15px; height: 15px; border-radius: 50%; background: var(--blue); border: 2px solid var(--orange); z-index: 1; }
.tl-year { font-family: var(--f-display); font-size: 1.05rem; color: var(--orange-soft); margin: 0 0 8px; }
.tl-copy .h4 { margin-bottom: 8px; }
.tl-body { color: var(--on-blue-2); font-size: 0.98rem; }
.tl-body p { margin: 0; }
@media (max-width: 1000px) { .timeline { grid-template-columns: 1fr 1fr; row-gap: 12px; } }
@media (max-width: 600px) { .timeline { grid-template-columns: 1fr; } }

.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(12px, 2vw, 24px); }
.gallery-item, .gallery-item figure { margin: 0; }
.gallery-item .media-fill { aspect-ratio: 3 / 4; height: auto; }
.gallery-item figcaption { margin-top: 12px; font-size: 0.95rem; color: var(--ink-2); font-weight: 500; }
@media (max-width: 900px) { .gallery { grid-template-columns: 1fr 1fr; } }

/* ---------- Venture page ---------- */
/* Venture hero: the words on white at the left, the product full height at the right. */
.venture-hero { display: grid; grid-template-columns: 42fr 58fr; min-height: clamp(520px, 74vh, 760px); }
.venture-hero-copy { display: flex; align-items: center; padding: clamp(40px, 6vw, 96px) clamp(28px, 4vw, 64px) clamp(40px, 6vw, 96px) max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); }
.venture-hero-inner { max-width: 520px; }
.venture-hero-inner .display { font-size: clamp(2.3rem, 4.2vw, 3.6rem); margin: 0 0 18px; }
.venture-hero-inner .actions { margin-top: 28px; }
.venture-hero-media { position: relative; min-height: 360px; }
.venture-hero-media .media-fill { position: absolute; inset: 0; border-radius: var(--r-lg) 0 0 var(--r-lg); }
@media (max-width: 900px) {
  .venture-hero { grid-template-columns: 1fr; min-height: 0; }
  .venture-hero-copy { padding: 40px var(--gutter) 28px; }
  .venture-hero-media { aspect-ratio: 4 / 3; min-height: 0; margin: 0 var(--gutter); }
  .venture-hero-media .media-fill { border-radius: var(--r-lg); }
}
.venture-logo { height: 54px; margin-bottom: 26px; }
.venture-logo .logo-img { mix-blend-mode: multiply; }
.venture-logo .logo-img, .venture-logo .img-empty { height: 54px; width: auto; max-width: 240px; object-fit: contain; object-position: left center; border-radius: 0; background: none; min-height: 0; }
.feature-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(16px, 2.4vw, 32px); }
.feature-media { aspect-ratio: 4 / 3; margin-bottom: 20px; background: #fff; border-radius: var(--r); }
.feature .h4 { margin-bottom: 8px; }
.feature-body { color: var(--ink-2); font-size: 1rem; }
.feature-grid:has(> .feature:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 1000px) { .feature-grid, .feature-grid:has(> .feature:nth-child(3):last-child) { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .feature-grid, .feature-grid:has(> .feature:nth-child(3):last-child) { grid-template-columns: 1fr; } }
.mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: clamp(180px, 22vw, 300px); grid-auto-flow: dense; gap: clamp(10px, 1.6vw, 20px); }
.mosaic-item:nth-child(6n+3) { grid-row: span 2; }
.mosaic:not(:has(> :nth-child(6))) { grid-auto-rows: auto; }
.mosaic:not(:has(> :nth-child(6))) > .mosaic-item { grid-row: auto; grid-column: auto; aspect-ratio: 4 / 3; }
.mosaic-item:nth-child(6n+1) { grid-row: span 2; }
.mosaic-item:nth-child(6n+5) { grid-column: span 2; }
@media (max-width: 700px) { .mosaic { grid-template-columns: 1fr 1fr; grid-auto-rows: 180px; } .mosaic-item:nth-child(6n+5) { grid-column: auto; } }

/* ---------- CTA band ---------- */
.cta-band { padding: clamp(56px, 7vw, 96px) 0; }
.cta-row { display: flex; align-items: center; justify-content: space-between; gap: 32px 64px; flex-wrap: wrap; }
.cta-row .h2 { margin-bottom: 14px; }
.cta-row .actions { margin-top: 0; }

/* ---------- Speaking ---------- */
.fee-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.fee { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 32px 30px; display: flex; flex-direction: column; }
.fee-title { font-family: var(--f-display); font-size: 1.22rem; font-weight: 400; margin: 0 0 18px; }
.fee-price { font-family: var(--f-display); font-size: 2.6rem; font-weight: 300; color: var(--blue); letter-spacing: -0.03em; line-height: 1; margin: 0 0 18px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
.fee-body { color: var(--ink-2); font-size: 1rem; }
.fee:first-child { border-top: 3px solid var(--orange); }
@media (max-width: 900px) { .fee-grid { grid-template-columns: 1fr; } }
.notice { background: var(--mist); border-radius: var(--r); padding: 28px; }

/* ---------- Forms ---------- */
.form { background: #fff; border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px 18px; margin-bottom: 26px; }
.field { display: grid; gap: 8px; }
.field.full, .check.full { grid-column: 1 / -1; }
.field-label { font-weight: 600; font-size: 0.95rem; color: var(--ink); }
.opt { font-weight: 400; color: var(--ink-3); }
.field input, .field select, .field textarea {
  width: 100%; min-height: 50px; padding: 12px 14px; font: 400 1rem/1.4 var(--f-body); color: var(--ink);
  background: #fff; border: 1px solid #c7d1de; border-radius: var(--r-sm); transition: border-color .15s, box-shadow .15s;
  appearance: none; -webkit-appearance: none;
}
.field select { background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 4.5 6 8l3.5-3.5' fill='none' stroke='%23084287' stroke-width='1.6'/%3E%3C/svg%3E") right 14px center / 12px no-repeat; padding-right: 40px; }
.field textarea { resize: vertical; min-height: 140px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--bad); }
.field-hint, .field-err { font-size: 0.86rem; color: var(--ink-3); }
.field-err { color: var(--bad); }
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 0.98rem; color: var(--ink-2); cursor: pointer; }
.check input { width: 20px; height: 20px; margin: 3px 0 0; accent-color: var(--blue); flex: none; }
.form-error { color: var(--bad); background: #fdecea; border-radius: var(--r-sm); padding: 12px 14px; font-size: 0.98rem; }
.form-done { text-align: left; padding: 8px 0; }
.form-done h3 { font-size: 1.6rem; font-weight: 300; color: var(--blue); margin-bottom: 12px; }
.form-done h3::before { content: ''; display: block; width: 44px; height: 44px; border-radius: 50%; margin-bottom: 20px; background: var(--orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.3l2.6 2.5L12 5.4' fill='none' stroke='%2304264f' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .6; cursor: progress; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
.form-split { align-items: start; }
.contact-hero .display { margin-bottom: 24px; }
.contact-hero .prose { margin-top: 22px; }
.contact-card { display: flex; gap: 18px; align-items: center; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--line); }
.contact-card .contact-avatar, .contact-card .img-empty { width: 76px; height: 76px; min-height: 0; border-radius: 50%; object-fit: cover; flex: none; }
.contact-card-title { font-family: var(--f-display); font-size: 1.15rem; margin: 0 0 4px; color: var(--blue); }
.contact-card .muted { margin: 0; font-size: 0.98rem; }

/* ---------- Media kit ---------- */
.bio-box { margin: 14px 0 18px; }
.bio-long { margin-top: 14px; }
.facts { margin: 0; display: grid; }
.fact { display: grid; grid-template-columns: 9em 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.fact:first-child { border-top: 1px solid var(--line); }
.fact dt { font-weight: 600; color: var(--ink); }
.fact dd { margin: 0; color: var(--ink-2); }
@media (max-width: 520px) { .fact { grid-template-columns: 1fr; gap: 2px; } }
.bio-long { margin: 18px 0 22px; }
.download-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.download-media { aspect-ratio: 4 / 5; margin-bottom: 14px; }
.download-label { font-weight: 600; margin: 0 0 6px; }
.extra-downloads { display: flex; flex-wrap: wrap; gap: 14px 36px; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
@media (max-width: 900px) { .download-grid { grid-template-columns: 1fr 1fr; } }

/* ---------- Article ---------- */
.article-head { padding-top: clamp(40px, 6vw, 88px); }
.back { margin-bottom: 32px; }
.article-title { font-size: clamp(2.2rem, 4.6vw, 3.6rem); margin-bottom: 22px; }
.byline { display: flex; align-items: center; gap: 14px; color: var(--ink-3); font-size: 0.95rem; margin: 28px 0 0; padding-top: 24px; border-top: 1px solid var(--line); }
.byline img { width: 120px; }
.article-cover { margin-top: clamp(32px, 5vw, 56px); }
.article-cover .media-fill { aspect-ratio: 21 / 9; border-radius: var(--r-lg); }
.article-body { padding-top: clamp(36px, 5vw, 64px); padding-bottom: var(--band); }

/* ---------- Footer ---------- */
.site-foot { background: var(--blue-night); color: var(--on-blue-2); padding: clamp(56px, 7vw, 88px) 0 32px; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 48px; background: linear-gradient(var(--on-blue-line), var(--on-blue-line)) no-repeat center bottom / calc(100% - 2 * var(--gutter)) 1px; }
.foot-logo { width: 200px; }
.foot-h { font-family: var(--f-body); font-size: 0.95rem; font-weight: 600; color: #fff; margin: 6px 0 16px; letter-spacing: 0; }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col { gap: 0; }
.foot-col a { color: var(--on-blue-2); text-decoration: none; font-size: 1rem; width: fit-content; padding: 9px 0; }
.foot-col a:hover { color: #fff; text-decoration: underline; }
.foot-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; font-size: 0.86rem; }
.foot-base p { margin: 0; }
.foot-base a { color: var(--on-blue-2); }
.foot-disclaimer { max-width: 48em; }
@media (max-width: 900px) { .foot-grid { grid-template-columns: 1fr 1fr; } .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 480px) { .foot-grid { grid-template-columns: 1fr; } }

@media print {
  .site-head, .site-foot, .actions, .back, .skip, .article ~ .band, .cta-band { display: none !important; }
  .band-blue, .band-blue * { color: #000 !important; background: none !important; }
  h2, h3 { break-after: avoid; }
  img { break-inside: avoid; }
}

/* Grid children may shrink below their content's natural width. */
.split > *, .venture > *, .hero-grid > *, .page-hero-grid > *, .chapter-grid > *, .speaking-panel > * { min-width: 0; }
@media (max-width: 900px) { .speaking-panel { grid-template-columns: minmax(0, 1fr); } }
.form-split .h2 { margin-bottom: 18px; }

/* ---------- Proof band (home) ---------- */
.proof { background: var(--mist); border-bottom: 1px solid var(--line); }
.proof-row { display: grid; grid-template-columns: 1.3fr 1fr; gap: 24px 64px; align-items: center; padding-top: 40px; padding-bottom: 40px; }
.proof-quote { margin: 0; }
.proof-quote blockquote { margin: 0 0 10px; font-family: var(--f-display); font-weight: 300; font-size: clamp(1.4rem, 2.4vw, 1.9rem); line-height: 1.25; color: var(--blue); letter-spacing: -0.02em; }
.proof-quote blockquote::before { content: '\201C'; color: var(--orange); margin-right: 2px; }
.proof-quote blockquote::after { content: '\201D'; color: var(--orange); }
.proof-quote figcaption { color: var(--ink-2); font-size: 0.95rem; }
.proof-points { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 20px; }
.proof-points li { position: relative; padding-left: 20px; font-weight: 600; font-size: 0.98rem; color: var(--ink); }
.proof-points li::before { content: ''; position: absolute; left: 0; top: 0.5em; width: 8px; height: 8px; border-radius: 2px; background: var(--orange); }
@media (max-width: 900px) { .proof-row { grid-template-columns: 1fr; } }
@media (max-width: 420px) { .proof-points { grid-template-columns: 1fr; } }

.contact-address { margin-top: 22px; color: var(--ink-2); font-size: 0.98rem; }
.contact-address-title { font-weight: 600; color: var(--ink); margin: 0 0 2px; }
.contact-address p:last-child { margin: 0; }

/* ---------- Round 2 ---------- */
/* A blurred header would become the containing block of the fixed phone menu. */
@media (max-width: 1040px) { .site-head { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
.page-hero + .band, .venture-hero + .band { padding-top: calc(var(--band) * 0.6); }
.band:not(.band-mist):not(.band-blue) + .band-tight:not(.band-mist):not(.band-blue) { padding-top: 0; }
.prose h2 { font-size: 1.75rem; }
.post-card-title, .feature .h4, .principle .h4 { font-size: 1.375rem; }
.muted, .record-label, .fact dd, .post-card p:not(.post-date), .feature-body, .principle-body, .tl-body { font-size: 1rem; }
.gallery:has(> .gallery-item:only-child) { grid-template-columns: 1fr; }
.gallery-item:only-child .media-fill { aspect-ratio: 21 / 9; }
.ways { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(16px, 2.4vw, 28px); }
.way { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 28px; border-top: 3px solid var(--blue); }
.way .h4 { margin-bottom: 10px; }
.way p { color: var(--ink-2); font-size: 1rem; margin: 0; }
@media (max-width: 900px) { .ways { grid-template-columns: 1fr; } }
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 32px; }
.team-member { padding: 22px 0; border-top: 1px solid var(--line); }
.team-name { font-family: var(--f-display); font-size: 1.2rem; margin: 0 0 4px; color: var(--ink); }
.team-role { margin: 0; color: var(--ink-2); font-size: 1rem; }
@media (max-width: 900px) { .team { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .team { grid-template-columns: 1fr; } }
.check-err { display: block; color: var(--bad); font-size: 0.875rem; margin-top: 4px; }
@media (max-width: 1040px) { .site-nav > a.nav-cta { margin: 24px 0 0; justify-content: center; min-height: 54px; font-size: 1.1rem; border-bottom: 0; } }

/* ---------- Round 3 ---------- */
.hero-claim { font-family: var(--f-display); font-weight: 300; font-size: clamp(1.6rem, 2.6vw, 2.25rem); line-height: 1.2; letter-spacing: -0.025em; color: var(--ink); margin: 6px 0 20px; max-width: 18em; }
.speaking-line { border-top: 1px solid var(--line); }
.speaking-line-row { display: flex; align-items: center; justify-content: space-between; gap: 20px 40px; flex-wrap: nowrap; padding-top: 44px; padding-bottom: 44px; }
.speaking-line .h3 { margin-bottom: 6px; }
.speaking-line-body p { margin: 0; }
.page-hero-media .media-fill { object-position: 50% 10%; }
@media (min-width: 900px) { .team { grid-template-columns: repeat(5, 1fr); } }
.chapter-media { margin-top: 28px; aspect-ratio: 4 / 3; }
.chapter-media .media-fill { border-radius: var(--r-lg); }

/* ---------- Round 5 ---------- */
html { scroll-padding-top: 110px; }
@media (forced-colors: active) {
  .nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { forced-color-adjust: none; background: CanvasText; }
  .nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
  .brand-sig, .hero-sig, .byline img { forced-color-adjust: none; background: #fff; }
}
@media (min-width: 601px) and (max-width: 900px) {
  .post-grid > :nth-child(3):last-child { grid-column: 1 / -1; }
  .post-grid > :nth-child(3):last-child .post-card-media { aspect-ratio: 21 / 9; }
}
@media (min-width: 700px) and (max-width: 1000px) { .feature-grid:has(> .feature:nth-child(3):last-child) { grid-template-columns: repeat(3, 1fr); } }
.download-grid:not(:has(> :nth-child(3))) { grid-template-columns: repeat(2, minmax(0, 320px)); }
.venture-hero { container-type: inline-size; }
@supports (width: 1cqw) { .venture-hero-copy { padding-left: max(var(--gutter), calc((100cqw - var(--wrap)) / 2 + var(--gutter))); } }
.field input[type=date]::-webkit-date-and-time-value { text-align: left; }
.field input:-webkit-autofill, .field input:-webkit-autofill:hover { -webkit-box-shadow: 0 0 0 100px #fff inset; -webkit-text-fill-color: var(--ink); }
.field input:-webkit-autofill:focus { -webkit-box-shadow: 0 0 0 100px #fff inset, 0 0 0 2px var(--blue); }
.record-value { text-wrap: balance; }
.btn { text-align: center; }
@media (prefers-reduced-motion: reduce) { .post-card-media .media-fill, .text-link .ic, .text-link::after { transition: none !important; } }
@media (max-width: 700px) { .speaking-line-row { flex-wrap: wrap; } }
@media (max-width: 700px) { .mosaic:not(:has(> :nth-child(6))) > .mosaic-item:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; } }
.preview-note { background: #fff4e8; border: 1px solid #f5c79e; color: #6b3a0b; border-radius: var(--r-sm); padding: 10px 14px; font-size: 0.95rem; margin: 0 0 24px; }

/* ---------- Full logo in the header ---------- */
.head-row { height: 96px; }
.brand-logo { height: 80px; width: auto; display: block; }
@media (max-width: 1040px) { .site-nav { inset: 96px 0 0 0; } }
@media (max-width: 520px) { .head-row { height: 78px; } .brand-logo { height: 62px; } .site-nav { inset: 78px 0 0 0; } }
html { scroll-padding-top: 124px; }
@media (forced-colors: active) { .brand-logo { forced-color-adjust: none; background: #fff; } }

/* ---------- Sections from the copy docs ---------- */
.hero-title { margin: 0 0 26px; color: var(--blue); }
.doc-media { aspect-ratio: 5 / 4; }
.doc-media .media-fill { border-radius: var(--r-lg); }
.doc-portrait { aspect-ratio: 1 / 1; max-width: 520px; }
.doc-portrait .media-fill { object-position: 50% 20%; }
.doc-copy .h2 { margin: 0 0 24px; }
.doc-copy .prose { max-width: 62ch; }
.doc-section .wrap.narrow .h2 { margin-bottom: 24px; }
.band-blue .prose.on-dark, .band-blue .prose.on-dark p, .band-blue .prose.on-dark li { color: var(--on-blue-2); }
.band-blue .prose.on-dark strong { color: #fff; }
.doc-brands { font-family: var(--f-display); font-size: 1.15rem; color: var(--blue); margin: -8px 0 22px; letter-spacing: -0.01em; }
.company-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(18px, 2.5vw, 32px); }
.company { display: grid; gap: 16px; align-content: start; }
.company-media { aspect-ratio: 4 / 3; }
.company-media .media-fill { border-radius: var(--r-lg); }
.company-link { font-family: var(--f-display); font-size: 1.3rem; color: var(--blue); text-decoration: none; letter-spacing: -0.01em; }
.company-link:hover { color: var(--orange); }
@media (max-width: 760px) { .company-grid { grid-template-columns: 1fr; } }

/* ---------- Contact form as the doc lists it ---------- */
.contact-sub { margin: 0 0 22px; color: var(--blue); }
.form-title { margin: 0 0 18px; }
.field-set.full { grid-column: 1 / -1; }
.field-set { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.field-set legend { padding: 0; margin-bottom: 8px; }
.name-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field-sub { font-size: 0.88rem; color: var(--ink-3); }
@media (max-width: 520px) { .name-row { grid-template-columns: 1fr; } }

/* Company cards: the photo carries the company's logo on a white plate. */
.company-media { position: relative; display: block; overflow: hidden; border-radius: var(--r-lg); }
a.company-media .media-fill { transition: transform .5s ease; }
a.company-media:hover .media-fill { transform: scale(1.03); }
.company-badge { position: absolute; left: 16px; bottom: 16px; display: flex; align-items: center; height: 76px; padding: 12px 20px; background: rgba(255,255,255,.96); border-radius: var(--r); box-shadow: 0 6px 20px rgba(8,30,60,.18); max-width: calc(100% - 32px); }
.company-badge .company-logo, .company-badge .img-empty { height: 52px; width: auto; max-width: 220px; object-fit: contain; border-radius: 0; background: none; min-height: 0; }
@media (prefers-reduced-motion: reduce) { a.company-media .media-fill { transition: none; } a.company-media:hover .media-fill { transform: none; } }
.feature-blank { display: flex; align-items: center; justify-content: center; background: var(--mist-2); border-radius: var(--r); }
.feature-blank img { width: 56%; max-height: 40%; object-fit: contain; opacity: .55; mix-blend-mode: multiply; }

/* Home company cards: a one-line description, and the whole card opens the company page. */
.company { position: relative; }
.company-blurb { margin: -6px 0 0; color: var(--ink-2); font-size: 1rem; line-height: 1.55; max-width: 34ch; }
.company.is-linked .company-link::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-lg); }
.company.is-linked:hover .company-link { color: var(--orange); }
.company.is-linked:hover .media-fill { transform: scale(1.03); }

/* Company pages: three short sections and one button to the company's site. */
.venture-section .prose { max-width: 62ch; }
.venture-visit { padding: clamp(48px, 6vw, 80px) 0; }
.venture-visit-row { display: flex; justify-content: center; }

/* Language switcher in the menu. */
.site-nav > a.lang-switch { font-size: 0.92rem; color: var(--ink-2); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; min-height: 0; margin-left: 4px; }
.site-nav > a.lang-switch:hover { color: var(--blue); border-color: var(--blue); }
@media (max-width: 1040px) { .site-nav > a.lang-switch { align-self: flex-start; width: fit-content; margin: 18px 0 0; border-radius: 999px; padding: 10px 18px; border-bottom: 1px solid var(--line); } }

/* Home hero with the portrait on the left and the words on the right. */
@media (min-width: 761px) {
  .hero-grid.is-flipped { grid-template-columns: 0.92fr 1.08fr; }
  .hero-grid.is-flipped .hero-media { order: -1; }
  .hero-flipped::before { right: auto; left: 0; }
}
/* Stacked on a phone, every section shows its photo first, like the hero. */
@media (max-width: 900px) { .doc-split.is-flipped .doc-media { order: -1; } }
