/* Shark Digital v3 — Vention-ledger design system, Shark brand tokens.
   RSMI: rsmi.md. Reference: ventionteams.com (layout language only). */

:root {
  --canvas: #E9EDF2;
  --white: #FFFFFF;
  --ink: #141414;
  --ink-2: #2C313B;
  --muted: #545B66;
  --rule: #D3DAE4;
  --rule-dark: rgba(255, 255, 255, .16);
  --blue: #2563EB;
  --blue-d: #1D4FD8;
  --navy: #12264F;
  --glass: rgba(255, 255, 255, .58);
  --font-display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Inter", -apple-system, "Helvetica Neue", Arial, sans-serif;
  --nav-h: 72px;
  --t: 260ms cubic-bezier(.2, .7, .2, 1);
  --px: clamp(20px, 4vw, 72px);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 16.5px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

h1, h2, h3, .display { font-family: var(--font-display); font-weight: 400; letter-spacing: -.01em; }

/* ---------- ledger shell ---------- */
.shell { max-width: 1440px; margin: 0 auto; background: var(--canvas); border-right: 1px solid var(--rule); border-left: 1px solid var(--rule); }
.band { border-top: 1px solid var(--rule); position: relative; }
.band-inner {
  margin-left: clamp(0px, 6vw, 110px);
  border-left: 1px solid var(--rule);
  padding: clamp(56px, 7.5vw, 104px) var(--px);
}
.band-inner.tight { padding-top: 0; padding-bottom: 0; }
.band.white { background: var(--white); }
.band.dark { background: var(--ink); color: #E8EAF0; }

/* ---------- type ---------- */
.eyebrow {
  font-family: var(--font-body);
  font-size: 16px; font-weight: 600; color: var(--navy);
  margin-bottom: 22px;
}
.dark .eyebrow { color: #9DB6E8; }
.h-display { font-size: clamp(38px, 5vw, 74px); line-height: 1.06; }
.h-section { font-size: clamp(30px, 3.6vw, 54px); line-height: 1.1; margin-bottom: 26px; }
.h-cell { font-family: var(--font-display); font-size: clamp(19px, 1.6vw, 23px); font-weight: 500; line-height: 1.25; }
.lede { font-size: clamp(16.5px, 1.3vw, 18.5px); color: var(--ink-2); max-width: 62ch; }
.dark .lede { color: #C4C9D4; }
.muted { color: var(--muted); }
.statement { font-size: clamp(24px, 2.6vw, 40px); line-height: 1.22; max-width: 26ch; }

/* two-column head: statement left, support right (Vention offset pattern) */
.head-split { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: end; }
@media (max-width: 900px) { .head-split { grid-template-columns: 1fr; align-items: start; } }

/* ---------- block CTA bar (RSMI 3) ---------- */
.bar {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  width: 100%; background: var(--blue); color: #fff;
  font-family: var(--font-body); font-size: clamp(16px, 1.35vw, 19px); font-weight: 600;
  padding: 21px 26px; text-decoration: none; border: 0; cursor: pointer;
  transition: background var(--t);
}
.bar .arr { transition: transform var(--t); flex: none; }
.bar:hover { background: var(--blue-d); }
.bar:hover .arr { transform: translate(3px, -3px); }
.bar.on-dark { background: var(--blue); }
.bar.ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); transition: background var(--t), color var(--t); }
.bar.ghost:hover { background: var(--ink); color: #fff; }
.bar.fit { width: auto; min-width: min(420px, 100%); }
.arr { width: 18px; height: 18px; }

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 60;
  background: var(--white); border-bottom: 1px solid var(--rule);
  height: var(--nav-h);
}
.nav-in { max-width: 1440px; margin: 0 auto; height: 100%; display: flex; align-items: center; }
.nav-logo { display: flex; align-items: center; gap: 0; height: 100%; padding: 0 22px; background: var(--ink); flex: none; }
.nav-logo img { height: 26px; width: auto; }
.nav-links { display: flex; align-items: center; height: 100%; margin-left: 8px; }
.nav-links > a {
  display: flex; align-items: center; height: 100%; padding: 0 clamp(12px, 1.4vw, 22px);
  font-size: 15.5px; font-weight: 500; text-decoration: none; color: var(--ink);
  border-left: 1px solid transparent; border-right: 1px solid transparent;
  transition: background var(--t), border-color var(--t);
}
.nav-links > a:hover { background: var(--canvas); border-color: var(--rule); }
.nav-links > a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--blue); }
.nav-cta {
  margin-left: auto; height: 100%; display: flex; align-items: center; gap: 12px;
  background: var(--blue); color: #fff; padding: 0 26px; font-weight: 600; font-size: 15.5px;
  text-decoration: none; transition: background var(--t);
}
.nav-cta .arr { width: 15px; height: 15px; }
.nav-cta:hover { background: var(--blue-d); }
.nav-cta:hover .arr { transform: translate(2px, -2px); }
.nav-cta .arr { transition: transform var(--t); }
.nav-burger { display: none; margin-left: auto; background: none; border: 0; width: 56px; height: 56px; cursor: pointer; }
.nav-burger span { display: block; width: 24px; height: 2px; background: var(--ink); margin: 5px auto; transition: transform var(--t), opacity var(--t); }

.mobile-menu {
  display: none; position: fixed; inset: var(--nav-h) 0 0 0; z-index: 55;
  background: var(--white); overflow-y: auto; padding: 12px 0 40px;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: flex; align-items: center; min-height: 52px; padding: 6px 24px;
  font-size: 18px; font-weight: 500; text-decoration: none; color: var(--ink);
  border-bottom: 1px solid var(--rule);
}
.mobile-menu .mm-group { font-size: 13px; font-weight: 600; color: var(--muted); padding: 22px 24px 8px; letter-spacing: .06em; text-transform: uppercase; }
.mobile-menu .mm-cta { background: var(--blue); color: #fff; font-weight: 600; justify-content: space-between; }
body.menu-open { overflow: hidden; }

@media (max-width: 1080px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: block; }
  body.menu-open .nav-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  body.menu-open .nav-burger span:nth-child(2) { opacity: 0; }
  body.menu-open .nav-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}

main { padding-top: var(--nav-h); }

/* ---------- hero (RSMI 2) ---------- */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--rule); }
.hero-copy {
  display: flex; flex-direction: column; justify-content: space-between;
  gap: 48px; padding: clamp(48px, 6vw, 96px) var(--px) 0;
  min-height: min(78vh, 760px);
}
.hero-copy .h-display { max-width: 13ch; }
.hero-lead { max-width: 52ch; color: var(--ink-2); font-size: clamp(16px, 1.25vw, 18px); }
.hero-bottom { display: flex; flex-direction: column; gap: 34px; }
.hero-media { position: relative; overflow: hidden; min-height: 520px; }
.hero-media > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(18, 38, 79, .18), rgba(18, 38, 79, 0) 55%); }

.glass-card {
  position: absolute; z-index: 2; right: clamp(16px, 3vw, 48px); top: 50%; transform: translateY(-50%);
  width: min(420px, calc(100% - 32px));
  background: linear-gradient(150deg, rgba(255, 255, 255, .82), rgba(255, 255, 255, .45));
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 0 100%);
  padding: clamp(22px, 2.4vw, 34px);
  display: flex; flex-direction: column; gap: 18px;
  border: 1px solid rgba(18, 38, 79, .16);
  box-shadow: 0 18px 50px rgba(16, 24, 40, .18);
}
.check-row { display: flex; gap: 14px; align-items: flex-start; font-size: 15.5px; font-weight: 500; line-height: 1.45; color: var(--ink); }
.check-dot {
  flex: none; width: 26px; height: 26px; border-radius: 50%; background: var(--blue);
  display: grid; place-items: center; margin-top: 1px;
}
.check-dot svg { width: 12px; height: 12px; stroke: #fff; }

@media (max-width: 960px) {
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 0; padding-bottom: 40px; }
  .hero-media { min-height: 560px; }
}

/* ---------- logo strip (RSMI 9) ---------- */
.strip { display: grid; grid-template-columns: minmax(220px, 4fr) minmax(0, 8fr); }
.strip-label { padding: 26px var(--px); font-weight: 600; font-size: 15.5px; display: flex; align-items: center; }
.strip-marks { border-left: 1px solid var(--rule); display: flex; flex-wrap: wrap; align-items: center; gap: 8px clamp(20px, 2.6vw, 44px); padding: 22px var(--px); }
.strip-marks a {
  font-family: var(--font-display); font-weight: 500; font-size: clamp(15px, 1.25vw, 18px);
  text-decoration: none; color: var(--ink); opacity: .58;
  transition: opacity var(--t), color var(--t);
  min-height: 44px; display: inline-flex; align-items: center;
}
.strip-marks a:hover { opacity: 1; color: var(--navy); }
@media (max-width: 760px) { .strip { grid-template-columns: 1fr; } .strip-marks { border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- ledger stats (RSMI 4) ---------- */
.ledger { display: grid; border-top: 1px solid var(--rule); }
.ledger > * { border-right: 1px solid var(--rule); border-bottom: 1px solid var(--rule); padding: clamp(26px, 3vw, 44px) var(--px); }
.ledger.cols-3 { grid-template-columns: repeat(3, 1fr); }
.ledger.cols-4 { grid-template-columns: repeat(4, 1fr); }
.ledger.lead-row { grid-template-columns: 2fr 1fr 1fr; }
.stat-n {
  font-family: var(--font-display); font-weight: 300; color: var(--navy);
  font-size: clamp(44px, 5.6vw, 92px); line-height: 1.02; letter-spacing: -.02em;
}
.stat-c { color: var(--muted); font-size: 15.5px; margin-top: 10px; }
.dark .stat-n { color: #fff; }
.dark .stat-c { color: #B9BFCC; }
@media (max-width: 900px) {
  .ledger.cols-4 { grid-template-columns: repeat(2, 1fr); }
  .ledger.cols-3, .ledger.lead-row { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .ledger.cols-4 { grid-template-columns: 1fr; } }

/* ---------- dark quad (RSMI 6) ---------- */
.split-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: 1px solid var(--rule); }
.split-media { position: relative; min-height: 420px; }
.split-media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.quad { background: linear-gradient(135deg, #17181C 0%, #101115 60%, #0D1B36 100%); color: #E8EAF0; display: grid; grid-template-columns: 1fr 1fr; }
.quad-cell { padding: clamp(28px, 3vw, 46px); border-left: 1px solid var(--rule-dark); border-top: 1px solid var(--rule-dark); display: flex; flex-direction: column; gap: 14px; }
.quad-cell:nth-child(-n+2) { border-top: 0; }
.quad-cell .h-cell { color: #fff; }
.quad-cell p { color: #B9BFCC; font-size: 15px; flex: 1; }
.quad-link { color: #fff; font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 4px; transition: color var(--t), text-underline-offset var(--t); }
.quad-link:hover { color: #9DB6E8; text-underline-offset: 7px; }
@media (max-width: 960px) { .split-band { grid-template-columns: 1fr; } .quad { grid-template-columns: 1fr; } .quad-cell:nth-child(2) { border-top: 1px solid var(--rule-dark); } }

/* ---------- accordion (RSMI 7) ---------- */
.acc-band { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); border-top: 1px solid var(--rule); }
.acc-photo { padding: clamp(28px, 3.4vw, 56px); display: flex; align-items: flex-start; }
.acc-photo img { width: 100%; height: auto; max-height: 560px; object-fit: cover; object-position: top; border: 1px solid var(--rule); }
.acc { border-left: 1px solid var(--rule); }
.acc-item { border-bottom: 1px solid var(--rule); }
.acc-item:last-child { border-bottom: 0; }
.acc-head {
  width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: none; border: 0; cursor: pointer; text-align: left;
  font-family: var(--font-display); font-size: clamp(18px, 1.7vw, 24px); font-weight: 500; color: var(--ink);
  padding: clamp(20px, 2.2vw, 30px) var(--px);
  transition: color var(--t), background var(--t);
}
.acc-head:hover { color: var(--navy); background: rgba(255, 255, 255, .5); }
.acc-item.open .acc-head { color: var(--navy); }
.acc-ico { flex: none; width: 22px; height: 22px; position: relative; }
.acc-ico::before, .acc-ico::after { content: ""; position: absolute; background: currentColor; transition: transform var(--t); }
.acc-ico::before { left: 0; right: 0; top: 10px; height: 2px; }
.acc-ico::after { top: 0; bottom: 0; left: 10px; width: 2px; }
.acc-item.open .acc-ico::after { transform: scaleY(0); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 340ms cubic-bezier(.2, .7, .2, 1); }
.acc-body-in { padding: 0 var(--px) clamp(24px, 2.6vw, 36px); color: var(--ink-2); }
.acc-body-in p { max-width: 68ch; }
.checks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 28px; margin-top: 18px; list-style: none; }
.checks li { display: flex; gap: 10px; font-size: 15px; align-items: flex-start; }
.checks svg { flex: none; width: 15px; height: 15px; stroke: var(--navy); margin-top: 4px; }
@media (max-width: 960px) { .acc-band { grid-template-columns: 1fr; } .acc { border-left: 0; border-top: 1px solid var(--rule); } .checks { grid-template-columns: 1fr; } }

/* ---------- featured case (RSMI 8) ---------- */
.case-feature { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); }
.case-shot { padding: clamp(24px, 3vw, 52px); background: var(--white); }
.case-shot img { border: 1px solid var(--rule); width: 100%; max-height: 460px; object-fit: cover; object-position: top; }
.case-meta { border-left: 1px solid var(--rule); display: flex; flex-direction: column; }
.case-meta-in { padding: clamp(28px, 3.2vw, 48px) var(--px); flex: 1; }
.case-stats { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--rule); }
.case-stats > div { padding: 20px var(--px); border-right: 1px solid var(--rule); }
.case-row {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: clamp(20px, 2.2vw, 28px) var(--px);
  border-top: 1px solid var(--rule); text-decoration: none; color: var(--ink);
  font-family: var(--font-display); font-size: clamp(17px, 1.6vw, 22px); font-weight: 500;
  transition: background var(--t), color var(--t), padding-left var(--t);
}
.case-row:hover { background: var(--white); color: var(--navy); padding-left: calc(var(--px) + 8px); }
.case-row .tag { font-family: var(--font-body); font-size: 13px; font-weight: 600; color: var(--muted); margin-left: auto; }
.case-row .acc-ico { width: 18px; height: 18px; }
.case-row .acc-ico::before { top: 8px; }
.case-row .acc-ico::after { left: 8px; }
@media (max-width: 960px) { .case-feature { grid-template-columns: 1fr; } .case-meta { border-left: 0; border-top: 1px solid var(--rule); } }

/* ---------- plan cells ---------- */
.plan-cell { display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.plan-cell.pop { background: var(--navy); color: #fff; }
.plan-cell.pop .muted, .plan-cell.pop li { color: #C7D2E8; }
.plan-price { font-family: var(--font-display); font-weight: 300; font-size: clamp(34px, 3.4vw, 52px); line-height: 1; }
.plan-price small { font-size: .38em; font-weight: 500; }
.plan-cell ul { list-style: none; display: grid; gap: 9px; font-size: 14.5px; color: var(--ink-2); }
.plan-cell ul li { padding-left: 20px; position: relative; }
.plan-cell ul li::before { content: ""; position: absolute; left: 0; top: 8px; width: 9px; height: 9px; background: var(--blue); }
.plan-link { margin-top: auto; font-weight: 600; text-decoration: underline; text-underline-offset: 4px; transition: color var(--t), text-underline-offset var(--t); }
.plan-link:hover { color: var(--blue); text-underline-offset: 7px; }
.plan-cell.pop .plan-link:hover { color: #9DB6E8; }

/* ---------- FAQ ---------- */
.faq-wrap { max-width: 900px; }

/* ---------- page hero (subpages) ---------- */
.pagehero { padding: clamp(56px, 7vw, 100px) var(--px) clamp(40px, 5vw, 72px); }
.pagehero .h-display { max-width: 20ch; }
.pagehero .lede { margin-top: 26px; }
.crumb { font-size: 13.5px; font-weight: 600; color: var(--muted); margin-bottom: 30px; display: flex; gap: 8px; flex-wrap: wrap; }
.crumb a { color: var(--muted); text-decoration: none; transition: color var(--t); }
.crumb a:hover { color: var(--navy); text-decoration: underline; }

/* ---------- generic ledger feature cells ---------- */
.cell-h { display: flex; flex-direction: column; gap: 12px; }
.cell-h p { color: var(--muted); font-size: 15px; }
.cell-num { font-family: var(--font-display); font-weight: 300; font-size: 30px; color: var(--navy); }

/* ---------- footer ---------- */
.footer { background: var(--ink); color: #C4C9D4; border-top: 1px solid var(--rule); }
.footer-in { max-width: 1440px; margin: 0 auto; padding: clamp(48px, 6vw, 84px) var(--px) 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-family: var(--font-body); font-size: 13px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: #8A92A3; margin-bottom: 16px; }
.footer a { color: #C4C9D4; text-decoration: none; font-size: 14.5px; display: inline-block; padding: 4px 0; transition: color var(--t), transform var(--t); }
.footer a:hover { color: #fff; transform: translateX(3px); }
.footer-logo img { height: 30px; margin-bottom: 18px; }
.footer-note { font-size: 14px; color: #8A92A3; max-width: 44ch; }
.footer-base { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid var(--rule-dark); margin-top: 48px; padding-top: 24px; font-size: 13.5px; color: #8A92A3; }
@media (max-width: 1000px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }

/* ---------- reveal motion ---------- */
@media (prefers-reduced-motion: no-preference) {
  .rv { opacity: 0; transform: translateY(22px); transition: opacity 620ms ease, transform 620ms cubic-bezier(.2, .7, .2, 1); }
  .rv.in { opacity: 1; transform: none; }
  @keyframes rise { from { opacity: 0; transform: translateY(22px); } to { opacity: 1; transform: none; } }
  .glass-card { animation: rise 800ms 250ms cubic-bezier(.2, .7, .2, 1) both; }
}

/* ---------- forms ---------- */
.field { display: grid; gap: 8px; }
.field label { font-size: 14px; font-weight: 600; }
.field input, .field textarea, .field select {
  font: inherit; padding: 14px 16px; border: 1.5px solid var(--rule); background: var(--white);
  color: var(--ink); min-height: 48px; transition: border-color var(--t), box-shadow var(--t);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(37, 99, 235, .18); }
.field ::placeholder { color: var(--muted); }
