/* Layout: Exelite charter (deep black #272728, signature red #E14241, white, Montserrat). Multi-page site: black header + page band, alternating light sections, dated registers, image walls of real work. */
:root {
  --bg: #f7f6f6;
  --surface: #ffffff;
  --ink: #272728;
  --muted: #6d6d6d;
  --line: #e4e1e1;
  --brand: #272728;
  --brand-ink: #ffffff;
  --brand-soft: #fbeaea;
  --accent: #e14241;
  --accent-on-brand: #e14241;
  --on-accent: #ffffff;
  --font: "Montserrat", "Segoe UI", Arial, sans-serif;
  --radius: 16px;
  --wrap: 1120px;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #1c1c1d; --surface: #272728; --ink: #f2f2f2; --muted: #a6a6a6; --line: #3d3d3d;
    --brand: #121213; --brand-ink: #ffffff; --brand-soft: #3a2626; --accent: #ed7b78; --accent-on-brand: #e65e5d;
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #1c1c1d; --surface: #272728; --ink: #f2f2f2; --muted: #a6a6a6; --line: #3d3d3d;
  --brand: #121213; --brand-ink: #ffffff; --brand-soft: #3a2626; --accent: #ed7b78; --accent-on-brand: #e65e5d;
  color-scheme: dark;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font); font-size: 16.5px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
a { color: inherit; }
a:focus-visible, button:focus-visible, summary:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; border-radius: 6px; }
h1, h2, h3 { line-height: 1.12; margin: 0; text-wrap: balance; letter-spacing: -0.02em; }
p { margin: 0; }
img { max-width: 100%; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: max(20px, env(safe-area-inset-left, 0px)); padding-right: max(20px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-size: 12.5px; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
section { padding-block: 84px; }
section.tight { padding-top: 0; }
.alt { background: var(--surface); border-block: 1px solid var(--line); }
.sec-head { display: grid; gap: 14px; max-width: 720px; margin-bottom: 44px; }
.sec-head h2 { font-size: clamp(28px, 3.8vw, 42px); font-weight: 800; }
.sec-head p { color: var(--muted); font-size: 17px; }
.lead { font-size: 18px; color: var(--muted); max-width: 680px; }
.prose { display: grid; gap: 18px; font-size: 17px; max-width: 720px; }

/* Buttons and links */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px; text-decoration: none; border: 1.5px solid transparent; cursor: pointer; font-family: var(--font); }
.btn.solid { background: var(--accent-on-brand); color: var(--on-accent); }
.btn.solid:hover { filter: brightness(1.06); }
.btn.ghost { border-color: rgba(255,255,255,.35); color: var(--brand-ink); }
.btn.ghost:hover { border-color: rgba(255,255,255,.75); }
.btn.line { border-color: var(--line); color: var(--ink); background: var(--surface); }
.btn.line:hover { border-color: var(--accent); }
.more { font-weight: 700; font-size: 15px; color: var(--accent); text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Header */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: var(--brand); }
header.top { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: var(--brand); color: var(--brand-ink); border-bottom: 1px solid rgba(255,255,255,.08); }
header.top .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 66px; }
.mark { font-weight: 800; font-size: 19px; text-decoration: none; letter-spacing: -0.01em; white-space: nowrap; }
.mark span { color: var(--accent-on-brand); }
nav.links { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
nav.links a { text-decoration: none; padding: 8px 11px; border-radius: 8px; opacity: .8; position: relative; }
nav.links a:hover { opacity: 1; }
nav.links a[aria-current="page"] { opacity: 1; }
nav.links a[aria-current="page"]::after { content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--accent-on-brand); }
nav.links a.cta { opacity: 1; background: var(--accent-on-brand); color: var(--on-accent); padding: 8px 16px; border-radius: 999px; margin-left: 8px; }
nav.links a.cta[aria-current="page"]::after { display: none; }
details.menu { display: none; position: relative; }
details.menu summary { list-style: none; cursor: pointer; font-weight: 700; font-size: 14px; padding: 8px 14px; border-radius: 999px; border: 1px solid rgba(255,255,255,.3); }
details.menu summary::-webkit-details-marker { display: none; }
details.menu .panel-menu { position: absolute; right: 0; top: calc(100% + 10px); background: var(--brand); border: 1px solid rgba(255,255,255,.12); border-radius: 14px; padding: 8px; display: grid; min-width: 220px; box-shadow: 0 18px 40px rgba(0,0,0,.35); }
details.menu .panel-menu a { text-decoration: none; padding: 10px 14px; border-radius: 10px; font-weight: 600; }
details.menu .panel-menu a[aria-current="page"] { color: var(--accent-on-brand); }
details.menu .panel-menu a:hover { background: rgba(255,255,255,.06); }
@media (max-width: 1020px) { nav.links { display: none; } details.menu { display: block; } }

/* Inner page band */
.page-band { background: var(--brand); color: var(--brand-ink); padding-block: 64px 70px; }
.page-band .wrap { display: grid; gap: 16px; }
.page-band h1 { font-size: clamp(34px, 5vw, 58px); font-weight: 800; max-width: 860px; }
.page-band h1 em { font-style: normal; color: var(--accent-on-brand); }
.page-band p.lead { color: var(--brand-ink); opacity: .78; }
.crumbs { font-size: 13px; opacity: .65; }
.crumbs a { text-decoration: none; }

/* Home hero */
.hero { background: var(--brand); color: var(--brand-ink); padding-block: 72px 0; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 48px; align-items: center; }
.hero h1 { font-size: clamp(36px, 5.6vw, 66px); font-weight: 800; letter-spacing: -0.03em; margin-top: 14px; }
.hero h1 em { font-style: normal; color: var(--accent-on-brand); }
.hero .role { margin-top: 18px; font-size: clamp(16px, 1.8vw, 19px); font-weight: 600; opacity: .92; }
.hero .thesis { margin-top: 16px; max-width: 560px; font-size: 17px; opacity: .75; }
.hero .actions { margin-top: 30px; }
.portrait { justify-self: center; position: relative; width: min(300px, 70vw); aspect-ratio: 1; max-width: 100%; }
.portrait img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 6px solid rgba(255,255,255,.1); display: block; }
.portrait .tag { position: absolute; left: -8%; bottom: 8%; background: #ffffff; color: #272728; border-radius: 12px; padding: 10px 14px; font-size: 13px; font-weight: 600; box-shadow: 0 10px 30px rgba(0,0,0,.3); line-height: 1.35; }
.portrait .tag b { display: block; font-size: 14.5px; color: #e14241; }
.ledger { margin-top: 64px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); border-top: 1px solid rgba(255,255,255,.14); }
.ledger div { padding: 26px 22px 30px 0; display: grid; gap: 6px; align-content: start; }
.ledger div + div { padding-left: 22px; border-left: 1px solid rgba(255,255,255,.14); }
.ledger b { font-size: clamp(24px, 2.9vw, 34px); font-weight: 800; color: var(--accent-on-brand); line-height: 1.05; font-variant-numeric: tabular-nums; }
.ledger span { font-size: 13.5px; opacity: .8; line-height: 1.45; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .portrait { order: -1; justify-self: start; width: 170px; }
  .portrait .tag { left: auto; right: -75%; bottom: 10%; }
  .ledger { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ledger div:nth-child(3) { padding-left: 0; border-left: 0; }
  .ledger div:nth-child(n+3) { border-top: 1px solid rgba(255,255,255,.14); }
}

/* Generic grids and cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: start; }
@media (max-width: 960px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 860px) { .grid-2, .split { grid-template-columns: 1fr; gap: 28px; } }
@media (max-width: 560px) { .grid-3 { grid-template-columns: 1fr; } }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: grid; gap: 10px; align-content: start; min-width: 0; }
.card h3 { font-size: 20px; font-weight: 700; }
.card p { color: var(--muted); font-size: 15.5px; }
.card .why { font-size: 14px; color: var(--ink); border-top: 1px dashed var(--line); padding-top: 10px; margin-top: 4px; }
.card .why b { color: var(--accent); }
.card.dark { background: var(--brand); color: var(--brand-ink); border-color: transparent; }
.card.dark p { color: var(--brand-ink); opacity: .78; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips span { padding: 6px 13px; border-radius: 999px; background: var(--brand-soft); font-size: 13.5px; font-weight: 600; }
.quote { font-size: clamp(21px, 2.5vw, 27px); font-weight: 700; line-height: 1.3; border-left: 4px solid var(--accent); padding-left: 20px; }
.big-quote { text-align: center; max-width: 860px; margin: 0 auto; display: grid; gap: 16px; }
.big-quote p { font-size: clamp(26px, 3.6vw, 40px); font-weight: 800; line-height: 1.2; letter-spacing: -0.02em; }
.big-quote span { color: var(--muted); font-weight: 600; }

/* Steps (true sequences only) */
.steps { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; counter-reset: step; }
.steps div { border-top: 3px solid var(--accent); padding-top: 16px; display: grid; gap: 6px; counter-increment: step; }
.steps div::before { content: "0" counter(step); font-weight: 800; font-size: 13px; color: var(--accent); letter-spacing: .1em; }
.steps h3 { font-size: 19px; }
.steps p { color: var(--muted); font-size: 15px; }
@media (max-width: 860px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Career register */
.register { display: grid; }
.entry { display: grid; grid-template-columns: 150px minmax(0, 1fr) minmax(0, 260px); gap: 28px; padding-block: 30px; border-top: 1px solid var(--line); }
.entry:last-child { border-bottom: 1px solid var(--line); }
.entry .when { font-weight: 700; font-size: 14px; color: var(--muted); font-variant-numeric: tabular-nums; padding-top: 4px; }
.entry .now { color: var(--accent); }
.entry h3 { font-size: 22px; font-weight: 700; }
.entry .org { margin-top: 4px; font-weight: 600; color: var(--muted); font-size: 15px; }
.entry ul { margin: 12px 0 0; padding-left: 18px; display: grid; gap: 6px; font-size: 15.5px; }
.entry .proof { align-self: start; background: var(--brand-soft); border-radius: 12px; padding: 16px 18px; display: grid; gap: 4px; }
.entry .proof b { font-size: 24px; font-weight: 800; color: var(--accent); line-height: 1.1; }
.entry .proof span { font-size: 13.5px; color: var(--muted); line-height: 1.4; }
.roles { margin-top: 12px; display: grid; gap: 4px; font-size: 15px; }
.roles div { display: flex; gap: 12px; }
.roles i { font-style: normal; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 96px; }
@media (max-width: 860px) { .entry { grid-template-columns: 1fr; gap: 10px; } }

/* Feature block */
.feature { background: var(--brand); color: var(--brand-ink); border-radius: 22px; padding: clamp(28px, 5vw, 56px); display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 40px; align-items: center; }
.feature h2 { font-size: clamp(28px, 4vw, 46px); font-weight: 800; margin-top: 12px; }
.feature p { margin-top: 18px; opacity: .85; font-size: 17px; max-width: 560px; }
.facts div { padding-block: 15px; border-top: 1px solid rgba(255,255,255,.16); display: flex; justify-content: space-between; gap: 18px; font-size: 15px; }
.facts div:last-child { border-bottom: 1px solid rgba(255,255,255,.16); }
.facts b { color: var(--accent-on-brand); font-size: 17px; text-align: right; }
@media (max-width: 860px) { .feature { grid-template-columns: 1fr; } }

/* Ventures */
.venture { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 30px; display: grid; gap: 18px; align-content: start; overflow: hidden; min-width: 0; }
.venture .shot { margin: -30px -30px 4px; aspect-ratio: 16 / 8; overflow: hidden; max-width: none; }
.venture .shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.venture .head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.venture h3 { font-size: 30px; font-weight: 800; }
.venture .since { font-size: 13.5px; font-weight: 700; color: var(--muted); }
.venture .what { font-weight: 700; color: var(--accent); font-size: 15px; }
.venture p { color: var(--muted); font-size: 15.5px; }
.logo-chip { display: inline-flex; background: #ffffff; border-radius: 10px; padding: 8px 12px; }
.logo-chip img { height: 26px; width: auto; display: block; }
.kpis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.kpis div { border-top: 2px solid var(--accent); padding-top: 10px; display: grid; gap: 2px; }
.kpis b { font-size: 23px; font-weight: 800; line-height: 1.1; font-variant-numeric: tabular-nums; }
.kpis span { font-size: 13px; color: var(--muted); line-height: 1.35; }
.rows { display: grid; font-size: 15px; }
.rows div { display: flex; justify-content: space-between; gap: 14px; padding-block: 9px; border-bottom: 1px dashed var(--line); }
.rows div span:last-child { font-weight: 700; text-align: right; }
@media (max-width: 420px) { .kpis { grid-template-columns: 1fr 1fr; } }

/* Work: cases, gallery, press */
.case { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; min-width: 0; }
.case img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: top; display: block; }
.case div { padding: 16px 18px 18px; display: grid; gap: 4px; align-content: start; }
.case small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.case b { font-size: 20px; font-weight: 800; color: var(--accent); line-height: 1.15; }
.case span { font-size: 14px; color: var(--muted); line-height: 1.4; }
.gallery { columns: 2 360px; column-gap: 18px; }
.gallery figure { break-inside: avoid; margin: 0 0 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; }
.gallery img { width: 100%; display: block; }
.gallery figcaption { padding: 12px 16px 14px; font-size: 14px; color: var(--muted); }
.gallery figcaption b { color: var(--ink); font-weight: 700; }

/* Exelite project team */
.exelite-team-grid { display: grid; gap: 18px; }
.exelite-team-grid { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
 .exelite-team-grid figure { position: relative; margin: 0; overflow: hidden; border-radius: 16px; background: var(--surface); }
.exelite-team-grid img { width: 100%; height: 320px; display: block; object-fit: cover; object-position: center 25%; }
 .exelite-team-grid figcaption { display: grid; gap: 5px; padding: 14px 16px 16px; color: var(--muted); font-size: 14px; }
.exelite-team-grid figcaption b { color: var(--ink); font-size: 15px; }
.exelite-full-team { margin: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 20px; background: var(--surface); box-shadow: 0 18px 48px rgba(39,39,40,.12); }
.exelite-full-team img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.exelite-full-team figcaption { padding: 13px 18px; color: var(--muted); font-size: 14px; font-weight: 650; }
.sub-title { margin-top: 64px; margin-bottom: 22px; font-size: clamp(22px, 2.6vw, 28px); font-weight: 800; }
.press { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.press a { display: grid; gap: 8px; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; padding: 0 0 18px; align-content: start; overflow: hidden; min-width: 0; }
.press a img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; display: block; border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.press a small, .press a span { padding-inline: 18px; }
.press a:hover { border-color: var(--accent); }
.press small { font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.press span { font-weight: 600; font-size: 15px; line-height: 1.4; }
.rank { margin-bottom: 18px; display: flex; align-items: center; gap: 16px; background: var(--brand); color: var(--brand-ink); border-radius: 16px; padding: 18px 22px; flex-wrap: wrap; }
.rank b { font-size: 34px; font-weight: 800; color: var(--accent-on-brand); line-height: 1; }
.rank span { font-size: 16px; font-weight: 600; min-width: 0; flex: 1 1 260px; }
.clients { display: flex; flex-wrap: wrap; gap: 8px 10px; align-items: center; font-size: 14px; }
.clients b { font-weight: 700; margin-right: 6px; }
.clients span { padding: 5px 11px; border-radius: 999px; background: var(--brand-soft); font-weight: 600; }
@media (max-width: 860px) { .press { grid-template-columns: 1fr; } }

/* Lists */
.list { display: grid; }
.list div { padding-block: 13px; border-bottom: 1px solid var(--line); font-weight: 600; display: flex; justify-content: space-between; gap: 12px; }
.list div span { color: var(--muted); font-weight: 500; font-size: 14px; text-align: right; }
.facts-list { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; font-size: 15.5px; }
.facts-list b { display: block; }
.facts-list span { color: var(--muted); font-size: 14px; }
.award { background: var(--brand); color: var(--brand-ink); border-radius: 20px; padding: 28px; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; column-gap: 24px; row-gap: 6px; }
.award .medal { width: 64px; height: 64px; border-radius: 50%; background: var(--accent-on-brand); color: var(--on-accent); display: grid; place-items: center; font-weight: 800; font-size: 24px; grid-row: span 2; }
.award h3 { font-size: 21px; }
.award p { opacity: .8; font-size: 15.5px; }

/* CTA band and contact */
.cta-band { background: var(--brand); color: var(--brand-ink); }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3.2vw, 36px); font-weight: 800; max-width: 640px; }
.contact-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.cc { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 22px 24px; display: grid; gap: 8px; min-width: 0; }
.cc small { font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.cc .val { font-size: 18px; font-weight: 700; overflow-wrap: anywhere; }
.cc button { justify-self: start; background: transparent; color: var(--accent); border: 0; padding: 0; font: 700 14px var(--font); cursor: pointer; }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; } }

footer.site { background: var(--brand); color: var(--brand-ink); }
footer.site .cols { padding-block: 48px 28px; display: grid; grid-template-columns: minmax(0, 1.4fr) repeat(2, minmax(0, 1fr)); gap: 32px; }
footer.site h4 { margin: 0 0 12px; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; opacity: .6; }
footer.site p, footer.site a { font-size: 14.5px; opacity: .85; text-decoration: none; }
footer.site nav { display: grid; gap: 6px; }
footer.site .base { border-top: 1px solid rgba(255,255,255,.1); padding-block: 18px 26px; display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: 13px; opacity: .65; }
@media (max-width: 760px) { footer.site .cols { grid-template-columns: 1fr; } }

/* Bold visual motion across the portfolio */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
@keyframes hero-glow {
  0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: .34; }
  50% { transform: translate3d(0, -10px, 0) scale(1.06); opacity: .55; }
}
@keyframes hero-arrive {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
body { animation: page-enter .8s cubic-bezier(.2,.7,.2,1) both; }

.page-band, .hero { position: relative; isolation: isolate; }
.page-band::after, .hero::after { content: ""; position: absolute; z-index: -1; width: clamp(240px, 42vw, 560px); aspect-ratio: 1; right: max(0vw, calc((100vw - var(--wrap)) / 2 - 8vw)); top: -10%; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb, var(--accent) 38%, transparent), transparent 68%); filter: blur(12px); pointer-events: none; animation: hero-glow 5s ease-in-out infinite; }
.page-band .wrap > *, .hero .hero-grid > * { animation: hero-arrive .9s cubic-bezier(.2,.7,.2,1) both; }
.page-band .wrap > :nth-child(2), .hero .hero-grid > :nth-child(2) { animation-delay: .18s; }
.page-band .wrap > :nth-child(3), .hero .hero-grid > :nth-child(3) { animation-delay: .34s; }
.hero .portrait img { transition: transform .8s cubic-bezier(.2,.7,.2,1), box-shadow .7s ease; box-shadow: 0 24px 70px rgba(0,0,0,.3); animation: portrait-float 5s ease-in-out 1s infinite; }
@keyframes portrait-float { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-16px) rotate(1.5deg); } }
.hero .portrait:hover img { transform: translateY(-12px) scale(1.07) rotate(-2deg); box-shadow: 0 30px 90px rgba(0,0,0,.4); }
.card, .venture, .cc, .press a, .rank, .exelite-team-grid figure, .award { transition: transform .4s cubic-bezier(.2,.7,.2,1), box-shadow .4s ease, border-color .35s ease; }
.card:hover, .venture:hover, .cc:hover, .press a:hover, .exelite-team-grid figure:hover { transform: translateY(-12px) scale(1.025); border-color: color-mix(in srgb, var(--accent) 55%, var(--line)); box-shadow: 0 24px 54px rgba(39,39,40,.18); }
.card, .venture, .cc, .press a, .exelite-team-grid figure { transform-style: preserve-3d; }
.card:nth-child(4n+1), .venture:nth-child(4n+1), .press a:nth-child(4n+1) { --reveal-shift: -42px; }
.card:nth-child(4n+2), .venture:nth-child(4n+2), .press a:nth-child(4n+2) { --reveal-shift: 34px; }
.card:nth-child(4n+3), .venture:nth-child(4n+3), .press a:nth-child(4n+3) { --reveal-shift: -24px; }
.card:nth-child(4n), .venture:nth-child(4n), .press a:nth-child(4n) { --reveal-shift: 44px; }
.js-motion .reveal { opacity: 0; transform: translate3d(var(--reveal-shift, 0), 64px, 0) scale(.94) rotateX(5deg); filter: blur(5px); transition: opacity .9s ease, transform .9s cubic-bezier(.16,1,.3,1), filter .9s ease; transition-delay: var(--reveal-delay, 0ms); }
.js-motion .reveal.is-visible { opacity: 1; transform: translate3d(0,0,0) scale(1) rotateX(0); filter: blur(0); }
.js-motion .reveal.reveal-left { --reveal-shift: -90px; }
.js-motion .reveal.reveal-right { --reveal-shift: 90px; }
.js-motion .reveal.reveal-zoom { --reveal-shift: 0; transform: translateY(24px) scale(.78); }
.js-motion .reveal.reveal-zoom.is-visible { transform: translateY(0) scale(1); }
.js-motion .page-band, .js-motion .hero { overflow: hidden; }
.page-band h1 em, .hero h1 em { display: inline-block; animation: headline-pop .8s cubic-bezier(.16,1,.3,1) .35s both; }
@keyframes headline-pop { from { opacity: 0; transform: translateY(30px) skewY(4deg); filter: blur(8px); } to { opacity: 1; transform: translateY(0) skewY(0); filter: blur(0); } }
.exelite-team-grid figure { overflow: hidden; }
.exelite-team-grid img, .gallery img, .venture .shot img { transition: transform .9s cubic-bezier(.2,.7,.2,1), filter .5s ease; }
.exelite-team-grid figure:hover img, .gallery figure:hover img, .venture:hover .shot img { transform: scale(1.12) rotate(1deg); filter: saturate(1.18); }
.btn { transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, background-color .22s ease; }
.btn:hover { transform: translateY(-5px) scale(1.045); box-shadow: 0 14px 32px rgba(39,39,40,.24); }
.btn:active { transform: translateY(0) scale(.98); }
nav.links a:not(.cta)::before { content: ""; position: absolute; left: 11px; right: 11px; bottom: 1px; height: 2px; border-radius: 2px; background: var(--accent-on-brand); transform: scaleX(0); transform-origin: left; transition: transform .24s ease; }
nav.links a:not(.cta):hover::before, nav.links a[aria-current="page"]:not(.cta)::before { transform: scaleX(1); }
details.menu .panel-menu { transform-origin: top right; animation: menu-in .18s ease both; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-6px) scale(.98); } to { opacity: 1; transform: translateY(0) scale(1); } }
footer.site a { transition: color .2s ease, opacity .2s ease; }
footer.site a:hover { color: var(--accent-on-brand); opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Tighter rhythm on phones and small tablets */
@media (max-width: 640px) {
  section { padding-block: 48px; }
  section.tight { padding-top: 0; }
  .wrap { padding-left: max(18px, env(safe-area-inset-left, 0px)); padding-right: max(18px, env(safe-area-inset-right, 0px)); }
  .page-band { padding-block: 40px 44px; }
  .page-band .wrap { gap: 11px; }
  .hero { padding-top: 38px; }
  .hero .thesis { margin-top: 12px; }
  .hero .actions { margin-top: 20px; }
  .ledger { margin-top: 34px; }
  .ledger div { padding-top: 18px; padding-bottom: 20px; }
  .sec-head { gap: 10px; margin-bottom: 26px; }
  .sec-head p, .lead { font-size: 16px; }
  .sub-title { margin-top: 38px; margin-bottom: 16px; }
  .grid-2, .grid-3, .grid-4, .contact-grid, .press { gap: 14px; }
  .split { gap: 20px; }
  .card { padding: 20px; }
  .venture { padding: 22px; gap: 14px; }
  .venture .shot { margin: -22px -22px 2px; }
  .feature { padding: 24px; gap: 20px; }
  .feature p { margin-top: 12px; }
  .entry { padding-block: 20px; }
  .cta-band .wrap { gap: 16px; }
  .exelite-team-grid { gap: 12px; }
  .exelite-full-team img { aspect-ratio: 4 / 3; }
  .exelite-team-grid img { height: 320px; object-position: center 12%; }
  .js-motion .reveal { transform: translate3d(var(--reveal-shift, 0), 34px, 0) scale(.97); filter: blur(2px); transition-duration: .65s; }
  .js-motion .reveal.reveal-left { --reveal-shift: -38px; }
  .js-motion .reveal.reveal-right { --reveal-shift: 38px; }
}
@media (max-width: 380px) {
  section { padding-block: 40px; }
  .page-band { padding-block: 34px 38px; }
  .card { padding: 17px; }
  .grid-4 { grid-template-columns: 1fr; }
}
