/* The Venture Plant — home. Layout, rhythm and type scale follow legora.com (measured at 1728px). */
:root {
  --bg: #FAFAF9;
  --ink: #0D1016;
  --muted: #68655E;
  --grey: #6B6B6B;
  --line: rgba(13, 16, 22, .12);
  --green: #005032;
  --green-deep: #003D26;
  --stage: #E6E6E6;
  --sand: #E1DFDA;
  --night: #0D1016;
  --gutter: 24px;
  --bar: 44px;
  --head: 72px;
  --space: 230px;
  --ease: cubic-bezier(.22, .61, .36, 1);
  --f-en: "Instrument Sans", "Helvetica Neue", Arial, sans-serif;
  --f-he: "IBM Plex Sans Hebrew", "Instrument Sans", Arial, sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; }
html.geo-wait body { opacity: 0; }
body { transition: opacity .25s ease; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
html.l-he .en, html.l-en .he { display: none !important; }
body {
  background: var(--bg); color: var(--ink);
  font: 400 16px/1.3 var(--f-en);
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
html.l-he body { font-family: var(--f-he); }
a { color: inherit; text-decoration: none; }
img, video, canvas { display: block; max-width: 100%; }
button, input { font: inherit; color: inherit; }

/* type scale */
.t-hero { font-size: clamp(38px, 3.48vw, 60px); line-height: 1; letter-spacing: -.01em; font-weight: 400; }
.t-h2 { font-size: clamp(32px, 2.55vw, 44px); line-height: 1; letter-spacing: -.01em; font-weight: 400; }
.t-h3l { font-size: clamp(26px, 2.08vw, 36px); line-height: 1.1; letter-spacing: -.01em; font-weight: 400; }
.t-lead { font-size: clamp(17px, 1.11vw, 19.2px); line-height: 1.3; }
.t-h4 { font-size: clamp(18px, 1.2vw, 20.8px); line-height: 1.3; font-weight: 500; }
.t-body { font-size: 16px; line-height: 1.3; }
.t-small { font-size: 14.08px; line-height: 1.3; }
.muted { color: var(--muted); }
.grey { color: var(--grey); }
html.l-he .t-hero, html.l-he .t-h2, html.l-he .t-h3l { letter-spacing: 0; }

.gut { padding-inline: var(--gutter); }
.space { height: var(--space); }

/* announcement bar + header */
.topbar {
  position: fixed; inset: 0 0 auto 0; z-index: 50; height: var(--bar);
  background: var(--green); color: #fff; display: flex; align-items: center; justify-content: center; gap: 10px;
  font-size: 15px;
}
.topbar a { color: rgba(255, 255, 255, .6); display: inline-flex; gap: 6px; transition: color .3s var(--ease); }
.topbar a:hover { color: #fff; }
.head {
  position: fixed; inset: var(--bar) 0 auto 0; z-index: 50; height: var(--head);
  background: var(--bg); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-inline: var(--gutter);
}
.head nav { display: flex; gap: 28px; }
.head nav a { font-size: 16px; transition: opacity .3s var(--ease); }
.head nav a:hover { opacity: .55; }
.wordmark { font: 500 18px/1 var(--f-en); letter-spacing: .16em; text-transform: uppercase; white-space: nowrap; }
.head-end { display: flex; justify-content: flex-end; align-items: center; gap: 22px; }
.lang { background: none; border: 0; cursor: pointer; font-size: 16px; }
.lang:hover { opacity: .55; }
.menu { display: none; background: none; border: 0; cursor: pointer; width: 36px; height: 36px; }
.under-head { height: calc(var(--bar) + var(--head)); }

/* pill button */
.pill {
  display: inline-flex; align-items: center; gap: 10px; height: 34px; padding: 5px; padding-inline-start: 14px;
  border-radius: 48px; background: var(--green); color: #fff; font-weight: 500; font-size: 15.36px; letter-spacing: -.01em;
  border: 0; cursor: pointer; transition: background .3s var(--ease); white-space: nowrap;
}
.pill:hover { background: var(--green-deep); }
.pill .dot {
  width: 24px; height: 24px; border-radius: 50%; background: #fff; color: var(--green);
  display: grid; place-items: center; transition: transform .35s var(--ease);
}
.pill:hover .dot { transform: translateX(2px); }
html.l-he .pill .dot svg { transform: scaleX(-1); }
html.l-he .pill:hover .dot { transform: translateX(-2px); }
.pill.light { background: #E6E6E6; color: var(--ink); }
.pill.light .dot { background: var(--ink); color: #fff; }
.pill.light:hover { background: #fff; }

/* hero */
.hero { position: relative; height: calc(100svh - var(--bar) - var(--head)); min-height: 560px; overflow: hidden; background: #1b1a17; color: #fff; }
.hero video, .hero .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero .poster { background: #2b221a url(/assets/vp/media/hero-poster.jpg) center / cover no-repeat; transition: opacity .6s; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.55) 100%); }
.hero-copy { position: absolute; inset: auto 0 64px 0; z-index: 2; text-align: center; display: grid; justify-items: center; gap: 18px; padding-inline: var(--gutter); }
.hero-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; justify-content: center; }
.hero-mail {
  display: flex; align-items: center; height: 44px; padding: 5px; padding-inline-start: 18px; gap: 8px; border-radius: 48px;
  background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .28);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.hero-mail input { background: none; border: 0; outline: 0; width: 230px; color: #fff; font-size: 15.36px; }
.hero-mail input::placeholder { color: rgba(255, 255, 255, .7); }
.hero-mail .pill { height: 34px; }

/* trusted strip */
.trusted { padding: 28px var(--gutter) 0; }
.trusted .lbl { color: var(--muted); font-size: 14.08px; }
.marquee { overflow: hidden; margin-top: 26px; mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee-in { display: flex; gap: 72px; width: max-content; animation: marq 46s linear infinite; }
html.l-he .marquee-in { animation-name: marq-rtl; }
.marquee span { font-size: 22px; color: #8D8A83; white-space: nowrap; letter-spacing: -.01em; }
@keyframes marq { to { transform: translateX(-50%); } }
@keyframes marq-rtl { to { transform: translateX(50%); } }

/* section heads */
.center-head { text-align: center; display: grid; gap: 22px; justify-items: center; padding-inline: var(--gutter); }
.center-head p { max-width: 460px; }
.left-head { display: grid; gap: 22px; max-width: 680px; }

/* layers (scroll-driven glass stack) */
.layers { position: relative; height: 620vh; margin-top: 54px; }
.stage {
  position: sticky; top: calc(var(--bar) + var(--head)); height: calc(100svh - var(--bar) - var(--head));
  margin-inline: var(--gutter); background: var(--stage); overflow: hidden;
}
.stage canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; }
.stage-list { position: absolute; inset-block-start: 24px; inset-inline-start: 24px; z-index: 2; display: grid; gap: 8px; justify-items: start; max-width: calc(100% - 48px); }
.lp {
  display: grid; grid-template-columns: 1fr auto; align-items: center; column-gap: 10px;
  background: rgba(0, 0, 0, .5); color: #fff; border: 0; cursor: pointer; text-align: start;
  border-radius: 24px; padding: 8px 8px 8px 14px; padding-inline: 14px 8px;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  transition: background .5s var(--ease), padding .5s var(--ease), width .5s var(--ease);
  font-size: 16px; line-height: 1.3;
}
.lp .ic { width: 20px; height: 20px; border-radius: 48px; background: rgba(255, 255, 255, .25); display: grid; place-items: center; transition: transform .5s var(--ease); }
.lp .ds { grid-column: 1 / -1; width: 0; max-height: 0; opacity: 0; overflow: hidden; color: rgba(255, 255, 255, .82); transition: max-height .6s var(--ease), opacity .5s var(--ease), margin .5s var(--ease); }
.lp.on { width: min(480px, 100%); padding: 14px 14px 18px; padding-inline: 18px 14px; background: rgba(0, 0, 0, .58); }
.lp.on .ic { transform: rotate(45deg); }
.lp.on .ds { width: auto; max-height: 120px; opacity: 1; margin-top: 30px; }
.stage-prog { position: absolute; inset-block-end: 24px; inset-inline-start: 24px; z-index: 2; width: 110px; height: 30px; border-radius: 32px; background: rgba(0, 0, 0, .4); display: grid; place-items: center; }
.stage-prog i { display: block; width: 80px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .4); overflow: hidden; }
.stage-prog b { display: block; height: 100%; width: 0; background: #fff; border-radius: 5px; }
html.l-he .stage-prog i { transform: scaleX(-1); }

/* four ways (cards grid) */
.ways-head { display: grid; gap: 22px; max-width: 460px; }
.ways { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 90px; }
.way { display: grid; gap: 14px; align-content: start; }
.way .shot { aspect-ratio: 4 / 3; background: #EDEDEB; position: relative; overflow: hidden; margin-bottom: 8px; }
.way h3 { margin-top: 2px; }
.way p { color: var(--grey); max-width: 380px; }
.more { display: inline-flex; gap: 8px; align-items: baseline; font-size: 14.08px; color: var(--ink); }
.more::before { content: "↳"; }
html.l-he .more::before { content: "↲"; }
.more:hover { opacity: .55; }

/* product-shot mockups (our own UI, rendered in HTML) */
.ui { position: absolute; background: #fff; border-radius: 10px; box-shadow: 0 1px 2px rgba(13,16,22,.06), 0 12px 30px -12px rgba(13,16,22,.18); font-size: 12px; color: var(--ink); }
.ui .row { display: flex; align-items: center; justify-content: space-between; gap: 10px; padding: 9px 12px; border-top: 1px solid rgba(13,16,22,.07); }
.ui .row:first-child { border-top: 0; }
.ui .k { color: var(--grey); }
.ui .ok { width: 16px; height: 16px; border-radius: 50%; background: var(--green); color: #fff; display: grid; place-items: center; font-size: 10px; }
.ui .wip { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid var(--green); position: relative; }
.ui .wip::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--green); }
.ui .todo { width: 16px; height: 16px; border-radius: 50%; border: 1.5px dashed rgba(13,16,22,.25); }
.ui .tag { font-size: 11px; padding: 2px 8px; border-radius: 20px; background: #EEF3F0; color: var(--green); white-space: nowrap; }
.ui .bar { height: 6px; border-radius: 6px; background: #EDEDEB; flex: 1; overflow: hidden; }
.ui .bar b { display: block; height: 100%; background: var(--green); border-radius: 6px; }
.ui .av { width: 26px; height: 26px; border-radius: 50%; background: #DCD9D2; display: grid; place-items: center; font-size: 10px; font-weight: 500; flex: none; }
.ui .ttl { font-weight: 500; font-size: 12.5px; padding: 11px 12px 4px; }
.fade-b::after { content: ""; position: absolute; inset: auto 0 0 0; height: 30%; background: linear-gradient(180deg, rgba(237,237,235,0), #EDEDEB); pointer-events: none; }

/* every company carousel */
.deck-dots { display: flex; justify-content: center; gap: 6px; margin-top: 40px; }
.deck-dots button { width: 24px; height: 5px; border-radius: 99px; background: rgba(13, 16, 22, .25); border: 0; cursor: pointer; transition: background .3s var(--ease), width .3s var(--ease); }
.deck-dots button.on { background: var(--ink); width: 40px; }
.deck { display: flex; justify-content: center; align-items: flex-start; gap: 24px; margin-top: 40px; padding-inline: var(--gutter); transition: transform .7s var(--ease); }
section:has(> .deck) { overflow-x: clip; }
.card {
  flex: none; width: clamp(140px, 13.3vw, 230px); cursor: pointer; transition: width .7s var(--ease);
}
.card .ph { position: relative; height: clamp(180px, 16.8vw, 290px); overflow: hidden; background: #cfccc5; transition: height .7s var(--ease); }
.card .ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.card .ph::before { content: ""; position: absolute; inset: 0 0 auto; height: 90px; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.38), rgba(0,0,0,0)); }
.card .ph .lb { position: absolute; inset: 14px 0 auto; text-align: center; color: #fff; font-size: 16px; z-index: 2; text-shadow: 0 1px 8px rgba(0,0,0,.25); }
.card .tx { opacity: 0; max-height: 0; overflow: hidden; transition: opacity .5s var(--ease), max-height .6s var(--ease); }
.card .tx h4 { font-size: 19.2px; font-weight: 400; margin: 14px 0 12px; }
.card .tx p { color: var(--muted); }
.card.on { width: clamp(300px, 24.9vw, 430px); }
.card.on .ph { height: clamp(380px, 31.2vw, 540px); }
.card.on .tx { opacity: 1; max-height: 200px; }
.card:not(.on):hover .ph img { transform: scale(1.04); }
.ph-fallback { position: absolute; inset: 0; }

/* full-bleed video band */
.band { position: relative; height: calc(100svh - var(--bar) - var(--head)); min-height: 520px; overflow: hidden; color: #fff; background: #2a2b2d; }
.band video, .band .poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.band .poster { background: #3b3d40 url(/assets/vp/media/street-poster.jpg) center / cover no-repeat; transition: opacity .6s; }
.band::after { content: ""; position: absolute; inset: 0; background: rgba(0, 0, 0, .28); }
.band-copy { position: absolute; z-index: 2; inset: 60px 0 auto; text-align: center; display: grid; justify-items: center; gap: 6px; padding-inline: var(--gutter); }
.band-copy .k { color: rgba(255, 255, 255, .6); }
.band-copy .more { color: #fff; font-size: clamp(26px, 2.08vw, 36px); }

/* stats */
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 140px; }
.stats-l { max-width: 470px; }
.stats-r { display: grid; }
.stat { display: grid; grid-template-columns: 1fr 200px; gap: 24px; align-items: start; padding: 34px 0 40px; border-top: 1px solid var(--line); }
.stat:first-child { border-top: 0; padding-top: 0; }
.stat .n { font-size: clamp(56px, 4.6vw, 80px); line-height: 1; letter-spacing: -.02em; font-weight: 300; }
.stat .d { color: var(--grey); font-size: 14.08px; padding-top: 8px; }

/* vision + people (sand) */
.vision { background: var(--sand); padding: 60px var(--gutter) 70px; }
.vision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.vision-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; color: #343434; }
.people { display: flex; gap: 24px; margin-top: 120px; align-items: flex-end; }
.person { width: 230px; }
.person .ph { aspect-ratio: 4 / 5; background: #CFCBC3; overflow: hidden; }
.person .ph img { width: 100%; height: 100%; object-fit: cover; filter: grayscale(.15) contrast(1.02); }
.person .pnm { margin-top: 12px; color: var(--muted); }
.person .rl { color: var(--grey); }
.vision-media { margin-top: 40px; aspect-ratio: 16 / 11; background: #BDB8AE; overflow: hidden; position: relative; }
.vision-media img { width: 100%; height: 100%; object-fit: cover; }

/* regulation (night) */
.reg { background: var(--night); color: #fff; padding: 0 var(--gutter) 90px; }
.reg-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-top: 0; }
.reg-top h2 { max-width: 860px; }
.reg-top .more { color: #fff; font-size: clamp(26px, 2.08vw, 36px); margin-top: 6px; }
.reg-sub { color: #E6E6E6; margin-top: 30px; max-width: 520px; }
.reg-cards { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 150px; border: 1px solid rgba(255, 255, 255, .12); }
.reg-card { padding: 26px 26px 28px; min-height: 280px; display: grid; align-content: space-between; gap: 30px; border-inline-start: 1px solid rgba(255, 255, 255, .12); }
.reg-card:first-child { border-inline-start: 0; }
.reg-card h4 { font-size: 16px; font-weight: 400; color: #E6E6E6; }
.reg-card p { color: rgba(230, 230, 230, .78); font-size: 14.08px; margin-top: 10px; }
.seal { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); display: grid; place-items: center; font-size: 9.5px; letter-spacing: .06em; color: rgba(255,255,255,.85); position: relative; }
.seal::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; border: 1px dashed rgba(255, 255, 255, .25); }

/* CTA card */
.cta-wrap { padding: 200px var(--gutter) 230px; }
.cta {
  max-width: 1080px; margin: 0 auto; background: var(--green-deep); border-radius: 15px; color: #fff;
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 26px; min-height: 533px; position: relative; overflow: hidden;
}
.cta-l { display: grid; align-content: space-between; padding: 6px 4px 4px; }
.cta-l h2 { max-width: 420px; }
.cta-l p { margin-top: 26px; max-width: 330px; }
.cta-r { background: #fff; border-radius: 6px; position: relative; overflow: hidden; min-height: 400px; color: var(--ink); }

/* needs map (Slash-style product shot) */
.nm { position: absolute; inset: 22px; display: grid; grid-template-rows: auto auto auto 1fr auto; gap: 18px; font-size: 13px; }
.nm-h { display: flex; justify-content: space-between; align-items: center; }
.nm-h b { font-weight: 500; font-size: 15px; }
.nm-row { display: grid; grid-template-columns: 110px 1fr 38px; gap: 12px; align-items: center; }
.nm-row .bar { height: 8px; border-radius: 8px; background: #EFEEEA; overflow: hidden; }
.nm-row .bar b { display: block; height: 100%; border-radius: 8px; background: var(--green); width: 0; transition: width 1.4s var(--ease); }
.nm.in .nm-row .bar b { width: var(--w); }
.nm-row .v { text-align: end; color: var(--grey); font-variant-numeric: tabular-nums; }
.nm-list { display: grid; gap: 10px; align-content: start; }
.nm-ex { display: flex; gap: 8px; flex-wrap: wrap; }
.nm-ex span { border: 1px solid rgba(13,16,22,.12); border-radius: 20px; padding: 5px 10px; font-size: 12px; }
.nm-tl { display: grid; grid-template-columns: 1fr 14px 1fr 14px 1fr; align-items: center; gap: 8px; align-self: end; }
.nm-st { border: 1px solid rgba(13,16,22,.1); border-radius: 8px; padding: 10px; display: grid; gap: 4px; font-size: 12px; }
.nm-st i { width: 8px; height: 8px; border-radius: 50%; border: 1.5px solid var(--green); }
.nm-st.done i { background: var(--green); }
.nm-st em { font-style: normal; color: var(--grey); font-size: 11px; }
.nm-tl .gate { width: 10px; height: 10px; transform: rotate(45deg); border: 1.5px solid var(--green); justify-self: center; }
.nm-foot { display: flex; justify-content: space-between; align-items: center; padding-top: 12px; border-top: 1px solid rgba(13,16,22,.08); color: var(--grey); font-size: 12px; }

/* footer */
.foot { background: #fff; padding: 30px var(--gutter) 20px; overflow: hidden; }
.foot-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.foot-cols h5 { font-size: 14.08px; font-weight: 400; color: var(--muted); margin-bottom: 14px; }
.foot-cols a { display: block; font-size: 14.08px; line-height: 1.7; }
.foot-cols a:hover { opacity: .55; }
.foot-mark { text-align: center; color: #A9B8AF; font: 400 clamp(28px, 9.4vw, 162px)/1 var(--f-en); letter-spacing: .04em; text-transform: uppercase; margin: 120px 0 90px; white-space: nowrap; }
.foot-base { display: grid; grid-template-columns: 1fr auto 1fr; gap: 24px; font-size: 13px; }
.foot-base > :last-child { text-align: end; }
.foot-base nav { display: flex; gap: 14px; flex-wrap: wrap; }

/* reveal */
.rv { opacity: 0; transform: translateY(14px); filter: blur(6px); transition: opacity 1s var(--ease), transform 1s var(--ease), filter 1s var(--ease); }
.rv.in { opacity: 1; transform: none; filter: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; filter: none; } .marquee-in { animation: none; } }

/* ---- responsive ---- */
@media (max-width: 1100px) {
  .ways { grid-template-columns: 1fr 1fr; row-gap: 56px; }
  .reg-cards { grid-template-columns: 1fr 1fr; }
  .reg-card { border-top: 1px solid rgba(255,255,255,.12); }
}
@media (max-width: 820px) {
  :root { --gutter: 16px; --head: 60px; --bar: 40px; --space: 120px; }
  .topbar { font-size: 13px; }
  .head { grid-template-columns: auto 1fr auto; }
  .head nav { display: none; position: fixed; inset: calc(var(--bar) + var(--head)) 0 auto 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .head nav.open { display: flex; }
  .head nav a { padding: 12px 0; font-size: 18px; border-top: 1px solid var(--line); }
  .menu { display: grid; place-items: center; order: -1; }
  .wordmark { font-size: 14px; letter-spacing: .12em; text-align: center; }
  .head-end .pill { display: none; }
  .hero-copy { bottom: 40px; }
  .hero-mail input { width: 170px; }
  .layers { height: 560vh; }
  .stage { margin-inline: 0; }
  .stage-list { inset-inline-start: 12px; inset-block-start: 12px; gap: 6px; }
  .lp { font-size: 14px; }
  .lp.on .ds { margin-top: 14px; }
  .ways { grid-template-columns: 1fr; margin-top: 50px; }
  .deck { justify-content: flex-start; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; padding-bottom: 6px; }
  .card, .card.on { width: 78vw; scroll-snap-align: center; }
  .card .ph, .card.on .ph { height: 100vw; }
  .card .tx { opacity: 1; max-height: 220px; }
  .stats { grid-template-columns: 1fr; padding-top: 70px; }
  .stat { grid-template-columns: 1fr; gap: 8px; }
  .vision-grid, .vision-cols { grid-template-columns: 1fr; }
  .people { margin-top: 40px; }
  .person { width: 50%; }
  .reg-top { grid-template-columns: 1fr; }
  .reg-cards { grid-template-columns: 1fr; margin-top: 60px; }
  .reg-card { min-height: 0; border-inline-start: 0; }
  .cta-wrap { padding: 100px var(--gutter) 120px; }
  .cta { grid-template-columns: 1fr; min-height: 0; padding: 20px; }
  .cta-l { gap: 30px; }
  .cta-r { min-height: 600px; }
  .foot-cols { grid-template-columns: 1fr 1fr; row-gap: 30px; }
  .foot-mark { margin: 60px 0 40px; }
  .foot-base { grid-template-columns: 1fr; }
  .foot-base > :last-child { text-align: start; }
}

/* ---------- sub-pages ---------- */
.head nav a[aria-current="page"] { opacity: .5; }
.nav-cta { display: none; }
.phero { padding: 130px var(--gutter) 90px; text-align: center; display: grid; justify-items: center; gap: 22px; }
.phero .kick { color: var(--muted); font-size: 16px; }
.phero h1 { max-width: 980px; }
.phero p { max-width: 560px; }
.phero .acts { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 6px; }
.pmedia { margin-inline: var(--gutter); height: min(78svh, 760px); overflow: hidden; position: relative; background: #d8d5ce; }
.pmedia img { width: 100%; height: 100%; object-fit: cover; }
.pmedia.duo { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; background: none; }
.pmedia.duo div { overflow: hidden; background: #d8d5ce; }
.pmedia.duo img { transition: transform 1.6s var(--ease); }
.pmedia.duo div:hover img { transform: scale(1.03); }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-inline: var(--gutter); }
.split > :first-child { display: grid; gap: 22px; align-content: start; max-width: 560px; }
.split.sticky > :first-child { position: sticky; top: calc(var(--bar) + var(--head) + 40px); }

.rows { display: grid; }
.rowi { display: grid; grid-template-columns: 64px 1fr 1fr; gap: 24px; padding: 26px 0 30px; border-top: 1px solid var(--line); align-items: baseline; }
.rowi:last-child { border-bottom: 1px solid var(--line); }
.rowi .no { color: var(--muted); font-size: 14.08px; font-variant-numeric: tabular-nums; }
.rowi h3 { font-size: clamp(18px, 1.2vw, 20.8px); font-weight: 400; }
.rowi p { color: var(--grey); }
.rows.two .rowi { grid-template-columns: 64px 1fr; }
.rows.two .rowi p { grid-column: 2; margin-top: -14px; }

.group-t { font-size: 14.08px; color: var(--muted); padding: 34px 0 12px; }
.group-t:first-child { padding-top: 0; }

.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0 24px; padding-inline: var(--gutter); }
.tile { border-top: 1px solid var(--line); padding: 24px 0 46px; display: grid; gap: 12px; align-content: start; }
.tile h3 { font-size: clamp(18px, 1.2vw, 20.8px); font-weight: 400; }
.tile p { color: var(--grey); max-width: 420px; }
.tiles.four { grid-template-columns: repeat(4, 1fr); }
.tiles.two { grid-template-columns: 1fr 1fr; }

/* stage flow (companies) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; gap: 0; padding-inline: var(--gutter); align-items: stretch; }
.flow .st { border-top: 1px solid var(--ink); padding: 22px 0 10px; display: grid; gap: 14px; align-content: start; }
.flow .st .when { color: var(--muted); font-size: 14.08px; }
.flow .st h3 { font-size: clamp(26px, 2.08vw, 36px); font-weight: 400; line-height: 1.1; letter-spacing: -.01em; }
.flow .st p { color: var(--grey); max-width: 360px; }
.flow .gt { width: 64px; display: grid; justify-items: center; align-content: start; padding-top: 0; position: relative; }
.flow .gt i { width: 14px; height: 14px; border: 1.5px solid var(--green); background: var(--bg); transform: translateY(-7px) rotate(45deg); display: block; }
.flow .gt span { writing-mode: vertical-rl; color: var(--green); font-size: 13px; margin-top: 18px; }
html.l-he .flow .gt span { writing-mode: vertical-lr; transform: rotate(180deg); }
.models { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; padding: 50px var(--gutter) 0; }
.chip2 { border: 1px solid var(--line); border-radius: 40px; padding: 8px 14px; font-size: 14.08px; }
.night .chip2 { border-color: rgba(255,255,255,.2); }

/* night + sand sections for sub-pages */
.night { background: var(--night); color: #fff; padding: 110px 0 120px; }
.night .grey, .night .rowi p, .night .tile p, .night .flow .st p { color: rgba(230,230,230,.72); }
.night .rowi, .night .tile { border-color: rgba(255,255,255,.12); }
.night .rowi:last-child { border-bottom-color: rgba(255,255,255,.12); }
.night .rowi .no, .night .kick { color: rgba(255,255,255,.5); }
.sand { background: var(--sand); padding: 110px 0 120px; }

/* people page */
.bios { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding-inline: var(--gutter); }
.bio { display: grid; grid-template-columns: 230px 1fr; gap: 24px; align-items: start; border-top: 1px solid var(--line); padding-top: 24px; }
.bio .ph { aspect-ratio: 4 / 5; overflow: hidden; background: #CFCBC3; }
.bio .ph img { width: 100%; height: 100%; object-fit: cover; }
.bio h2 { font-size: clamp(26px, 2.08vw, 36px); font-weight: 400; line-height: 1.1; }
.bio .rl { color: var(--muted); margin: 8px 0 18px; }
.bio ul { list-style: none; display: grid; gap: 12px; color: #343434; }
.bio li { padding-inline-start: 16px; position: relative; }
.bio li::before { content: ""; position: absolute; inset-inline-start: 0; top: .62em; width: 6px; height: 1px; background: var(--ink); }

/* forms in the Legora language */
.form { display: grid; gap: 18px; }
.form label, .fl { display: grid; gap: 8px; font-size: 14.08px; color: var(--muted); }
.form input:not([type=checkbox]):not([type=radio]), .form textarea, .form select {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid rgba(13,16,22,.22); border-radius: 0;
  padding: 10px 0 12px; font-size: 18px; color: var(--ink); outline: 0; transition: border-color .3s var(--ease);
}
.form textarea { border: 1px solid rgba(13,16,22,.22); padding: 12px 14px; font-size: 16px; resize: vertical; }
.form input:focus, .form textarea:focus, .form select:focus { border-color: var(--green); }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.form .check { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 15px; cursor: pointer; }
.form .check input { width: 18px; height: 18px; accent-color: var(--green); margin-top: 2px; flex: none; }
.hp { position: absolute; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.err { color: #9A3324; font-size: 14.08px; }
.note, .disclaimer { color: var(--muted); font-size: 14.08px; }
.btn { display: inline-flex; align-items: center; gap: 10px; height: 44px; padding: 0 20px; border-radius: 48px; border: 0; cursor: pointer; font-size: 15.36px; font-weight: 500; transition: background .3s var(--ease), border-color .3s var(--ease), opacity .3s; }
.btn-navy { background: var(--green); color: #fff; }
.btn-navy:hover { background: var(--green-deep); }
.btn-line { background: transparent; border: 1px solid rgba(13,16,22,.25); color: var(--ink); }
.btn-line:hover { border-color: var(--ink); }
.btn[disabled] { opacity: .45; cursor: default; }
.btn .arrow { display: inline-block; }
html.l-he .btn .arrow { transform: scaleX(-1); }

/* diagnostic */
.quiz { max-width: 820px; margin: 0 auto; padding: 90px var(--gutter) 140px; min-height: 70vh; }
.progress { height: 3px; background: rgba(13,16,22,.08); border-radius: 3px; overflow: hidden; margin-bottom: 70px; }
.progress span { display: block; height: 100%; width: 0; background: var(--green); transition: width .5s var(--ease); }
.q-step, .result { display: grid; gap: 22px; }
.q-step .eyebrow, .result .eyebrow, .q-count { color: var(--muted); font-size: 14.08px; }
.q-title { font-size: clamp(30px, 2.55vw, 44px); line-height: 1.08; font-weight: 400; letter-spacing: -.01em; }
html.l-he .q-title { letter-spacing: 0; }
.q-help { color: var(--grey); margin-top: -8px; }
.q-step .lead { font-size: clamp(17px, 1.11vw, 19.2px); color: var(--ink); }
.opts { display: grid; gap: 0; border-top: 1px solid var(--line); }
.opt { display: flex; align-items: center; gap: 14px; padding: 18px 4px; border-bottom: 1px solid var(--line); cursor: pointer; font-size: 18px; transition: background .25s var(--ease), padding .25s var(--ease); }
.opt:hover { background: rgba(13,16,22,.03); padding-inline-start: 12px; }
.opt input { width: 18px; height: 18px; accent-color: var(--green); flex: none; }
.opt:has(input:checked) { color: var(--green); }
.tri { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 17px; }
.tri .r { display: flex; gap: 6px; }
.tri label { display: inline-flex; align-items: center; gap: 6px; border: 1px solid var(--line); border-radius: 40px; padding: 6px 12px; font-size: 14px; cursor: pointer; }
.tri label:has(input:checked) { background: var(--green); border-color: var(--green); color: #fff; }
.tri input { position: absolute; opacity: 0; pointer-events: none; }
.q-nav { display: flex; justify-content: space-between; gap: 12px; margin-top: 10px; }
.result .blk { border-top: 1px solid var(--line); padding-top: 18px; display: grid; gap: 12px; }
.result .blk h3 { font-size: 14.08px; font-weight: 400; color: var(--muted); }
.result .blk ul { list-style: none; display: grid; gap: 10px; font-size: 17px; }
.result .blk li { padding-inline-start: 18px; position: relative; }
.result .blk li::before { content: ""; position: absolute; inset-inline-start: 0; top: .7em; width: 8px; height: 1px; background: var(--green); }
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { border: 1px solid var(--line); border-radius: 40px; padding: 7px 14px; font-size: 14.08px; }
.result .h3 { font-size: clamp(22px, 1.6vw, 28px); font-weight: 400; }

/* contact */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; padding: 90px var(--gutter) 140px; align-items: start; }
.contact .side { display: grid; gap: 22px; max-width: 520px; }
.contact .side .ph { aspect-ratio: 4 / 3; overflow: hidden; margin-top: 30px; background: #d8d5ce; }
.contact .side .ph img { width: 100%; height: 100%; object-fit: cover; }
.prose { max-width: 760px; margin: 0 auto; padding: 90px var(--gutter) 140px; display: grid; gap: 18px; font-size: 17px; line-height: 1.55; }
.prose h1 { font-size: clamp(32px, 2.55vw, 44px); font-weight: 400; line-height: 1.05; }
.prose h2 { font-size: 20px; font-weight: 500; margin-top: 18px; }
.prose p, .prose li { color: #343434; }
.prose ul { padding-inline-start: 20px; display: grid; gap: 6px; }

@media (max-width: 1100px) {
  .tiles.four { grid-template-columns: 1fr 1fr; }
  .bios { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-cta { display: block; color: var(--green); }
  .phero { padding: 70px var(--gutter) 50px; }
  .pmedia { height: 60svh; }
  .pmedia.duo { grid-template-columns: 1fr; height: auto; gap: 12px; }
  .pmedia.duo div { height: 52svh; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.sticky > :first-child { position: static; }
  .rowi { grid-template-columns: 40px 1fr; gap: 6px 14px; }
  .rowi p { grid-column: 2; }
  .tiles, .tiles.four, .tiles.two { grid-template-columns: 1fr; }
  .tile { padding-bottom: 30px; }
  .flow { grid-template-columns: 1fr; }
  .flow .gt { width: auto; justify-items: start; padding: 14px 0 26px; display: flex; gap: 12px; align-items: center; }
  .flow .gt i { transform: rotate(45deg); }
  .flow .gt span, html.l-he .flow .gt span { writing-mode: horizontal-tb; transform: none; margin: 0; }
  .night, .sand { padding: 70px 0 80px; }
  .bio { grid-template-columns: 1fr; }
  .bio .ph { max-width: 280px; }
  .form .row2 { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; padding-top: 50px; }
  .quiz { padding-top: 50px; }
  .progress { margin-bottom: 40px; }
  .tri { flex-direction: column; align-items: flex-start; }
}
.lead { font-size: clamp(17px, 1.11vw, 19.2px); line-height: 1.35; }

/* medium screens: the nav collapses into the menu before it can touch the wordmark */
@media (max-width: 1180px) {
  .head { grid-template-columns: auto 1fr auto; }
  .head nav { display: none; position: fixed; inset: calc(var(--bar) + var(--head)) 0 auto 0; background: var(--bg); flex-direction: column; gap: 0; padding: 8px var(--gutter) 20px; border-bottom: 1px solid var(--line); }
  .head nav.open { display: flex; }
  .head nav a { padding: 12px 0; font-size: 18px; border-top: 1px solid var(--line); }
  .nav-cta { display: block; color: var(--green); }
  .menu { display: grid; place-items: center; order: -1; }
  .wordmark { text-align: center; }
}
