/* Entangled Scientific — site styles */

:root {
  --bg: #000000;
  --panel: #0b0b0c;
  --fg: #f5f5f7;
  --fg-2: #d2d2d7;
  --muted: #a1a1a6;
  --dim: #86868b;
  --gold: #e3b56a;
  --gold-dk: #8a5a12;
  --gold-md: #b8862f;
  --cyan: #5fd4ea;
  --lt-bg: #f5f5f7;
  --lt-fg: #1d1d1f;
  --lt-muted: #6e6e73;
  --lt-body: #3d3d42;
  --line: rgba(255, 255, 255, 0.1);
  --nav-h: 52px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: 'Geist', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--cyan); text-decoration: none; }
a:hover { color: #9be6f4; text-decoration: underline; }
.lt a { color: #0a6a80; }
.lt a:hover { color: #064a5a; }

h1, h2, h3, p, ol, ul { margin: 0; }
ol, ul { padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }

.wrap { max-width: 1120px; margin: 0 auto; }

/* Motion */
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 1.1s cubic-bezier(.2, .7, .2, 1) both; }
.d1 { animation-delay: .15s; }
.d2 { animation-delay: .3s; }
.d3 { animation-delay: .45s; }
@media (prefers-reduced-motion: reduce) {
  .rise { animation: none; }
  html { scroll-behavior: auto; }
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.nav {
  max-width: 1120px; margin: 0 auto; padding: 0 24px; min-height: var(--nav-h);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 24px;
}
.brand {
  display: flex; align-items: center; gap: 10px;
  color: var(--fg); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; min-height: 44px;
}
.brand:hover { color: var(--fg); text-decoration: none; }
.nav-links { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 28px; font-size: 13px; }
.nav-links a { color: var(--fg-2); min-height: 44px; display: inline-flex; align-items: center; }
.nav-links a[aria-current="page"] { color: var(--fg); }
.nav-links a:hover { color: var(--fg); text-decoration: none; }
.nav-cta, .nav-links a.nav-cta {
  color: #000; background: var(--fg); border-radius: 980px; padding: 6px 14px; font-weight: 500; min-height: 0;
}
.nav-cta:hover, .nav-links a.nav-cta:hover { color: #000; background: #fff; }
@media (max-width: 720px) {
  .nav { padding: 6px 16px; gap: 0 16px; }
  .nav-links { gap: 4px 16px; }
  .nav-links a.nav-sec { display: none; }
}

/* Buttons and links */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 44px; padding: 12px 24px; border-radius: 980px;
  font-size: 17px; font-weight: 500; text-decoration: none;
}
.btn-light { background: var(--fg); color: #000; }
.btn-light:hover { background: #fff; color: #000; text-decoration: none; }
.btn-dark { background: var(--lt-fg); color: #fff; }
.btn-dark:hover { background: #000; color: #fff; text-decoration: none; }
.link { min-height: 44px; display: inline-flex; align-items: center; font-size: 17px; }
.ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 28px; font-size: 17px; }
.ctas.left { justify-content: flex-start; }

/* Type */
.eyebrow { font-size: 19px; font-weight: 500; color: var(--gold); letter-spacing: 0.01em; margin-bottom: 14px; }
.eyebrow-sm { font-size: 17px; font-weight: 600; color: var(--gold); margin-bottom: 10px; }
.lt .eyebrow-sm { color: var(--gold-dk); }
.h-hero { font-size: clamp(44px, 7.4vw, 96px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.h-xl { font-size: clamp(40px, 6vw, 80px); line-height: 1.02; font-weight: 600; letter-spacing: -0.035em; }
.h-lg { font-size: clamp(36px, 5vw, 64px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.h-md { font-size: clamp(36px, 4.6vw, 60px); line-height: 1.05; font-weight: 600; letter-spacing: -0.03em; }
.lead { font-size: clamp(19px, 2vw, 24px); line-height: 1.4; color: var(--muted); }
.sub { font-size: 19px; line-height: 1.5; color: var(--muted); }
.lt .sub { color: var(--lt-muted); }
.dimmed { color: var(--lt-muted); }
.dim { color: var(--dim); }
.center { text-align: center; }
.mx { margin-left: auto; margin-right: auto; }
.mt-20 { margin-top: 20px; } .mt-22 { margin-top: 22px; } .mt-28 { margin-top: 28px; }
.mt-32 { margin-top: 32px; } .mt-48 { margin-top: 48px; } .mt-56 { margin-top: 56px; } .mt-64 { margin-top: 64px; } .mt-72 { margin-top: 72px; }
.mw-520 { max-width: 520px; } .mw-560 { max-width: 560px; } .mw-580 { max-width: 580px; } .mw-600 { max-width: 600px; }
.mw-620 { max-width: 620px; } .mw-640 { max-width: 640px; } .mw-680 { max-width: 680px; } .mw-720 { max-width: 720px; }
.mw-760 { max-width: 760px; } .mw-820 { max-width: 820px; } .mw-860 { max-width: 860px; } .mw-880 { max-width: 880px; } .mw-940 { max-width: 940px; }

/* Sections */
.section { padding: 120px 24px; background: var(--bg); }
.section.tight { padding-top: 80px; }
.section.pad-top-0 { padding-bottom: 0; }
.lt { background: var(--lt-bg); color: var(--lt-fg); }
.lt.white { background: #fff; }
.hero { padding: 88px 24px 48px; text-align: center; }
.contact { padding: 140px 24px; text-align: center; border-top: 1px solid rgba(255, 255, 255, 0.08); }
.contact.no-line { border-top: 0; }
.email { margin-top: 28px; font-size: 15px; color: var(--dim); }

/* Scroll-scrub video */
.scrub-track { position: relative; background: var(--bg); }
.scrub-sticky { position: sticky; top: var(--nav-h); display: flex; justify-content: center; padding: 0 0 20px; }
.scrub-frame { margin: 0 16px; }
@media (min-width: 721px) { .scrub-frame { margin: 0; } }
.scrub-frame { position: relative; width: min(100%, calc((100vh - 72px) * 1.7778)); aspect-ratio: 16 / 9; }
.scrub-frame video { width: 100%; height: 100%; object-fit: cover; background: var(--bg); }
.scrub-spacer { height: 1400px; }
.hint {
  position: absolute; left: 4%; bottom: 5%;
  display: flex; align-items: center; gap: 8px;
  font-size: 13px; color: var(--muted); letter-spacing: 0.02em;
  transition: opacity .4s ease; opacity: 1;
}
.hint.off { opacity: 0; }
.callouts .callout { opacity: 0; transition: opacity .6s ease; }
.callouts.on .callout { opacity: 1; }
.callout.c1 { position: absolute; left: 22%; top: 52.5%; height: 21%; transform: translateX(-4px); display: flex; flex-direction: column; align-items: flex-start; transition-delay: .05s; }
.callout.c2 { position: absolute; right: 17.5%; top: 70%; height: 4%; transform: translateX(4px); display: flex; flex-direction: column; align-items: flex-end; transition-delay: .2s; }
.callout.c3 { position: absolute; left: 54%; top: 87%; width: 9%; transform: translateY(-50%); display: flex; align-items: center; transition-delay: .35s; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--fg); box-shadow: 0 0 0 3px rgba(245, 245, 247, 0.25); flex: none; }
.dot.cyan { background: var(--cyan); box-shadow: 0 0 0 3px rgba(95, 212, 234, 0.3); }
.leader-v { flex: 1; width: 1px; background: rgba(245, 245, 247, 0.5); }
.c1 .leader-v { margin-left: 3.5px; }
.c2 .leader-v { margin-right: 3.5px; }
.leader-h { flex: 1; height: 1px; background: rgba(95, 212, 234, 0.6); }
.callout-text { margin-top: 10px; display: flex; flex-direction: column; gap: 3px; white-space: nowrap; }
.c2 .callout-text { align-items: flex-end; text-align: right; }
.c3 .callout-text { position: absolute; left: 100%; margin: 0 0 0 12px; }
.callout-title { font-size: 15px; font-weight: 600; }
.callout-sub { font-size: 13px; color: var(--muted); }
@media (max-width: 720px) { .callouts { display: none; } }

/* Grids */
.cells {
  display: grid; gap: 1px; background: var(--line); border-radius: 22px; overflow: hidden;
}
.cells-5 { grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); }
.cells-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.cells-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.cell { background: var(--panel); padding: 32px 26px 36px; display: flex; flex-direction: column; gap: 10px; }
.cell-n { font-size: 13px; color: var(--gold); font-weight: 500; letter-spacing: 0.04em; }
.cell-metric { font-size: 30px; font-weight: 600; letter-spacing: -0.02em; }
.cell-title { font-size: 17px; font-weight: 500; }
.cell-title-lg { font-size: 24px; font-weight: 600; letter-spacing: -0.01em; }
.cell-desc { font-size: 15px; line-height: 1.45; color: var(--muted); }

.cards { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.cards-20 { gap: 20px; }
.cards-280 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.cards-290 { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); align-items: stretch; }
.cards-240 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card {
  border-radius: 28px; padding: 44px 40px; display: flex; flex-direction: column; gap: 14px; min-height: 360px;
  background: #fff; color: var(--lt-fg);
}
.card.dark { background: var(--bg); color: var(--fg); }
.card.panel { background: var(--panel); color: var(--fg); border: 1px solid rgba(255, 255, 255, 0.12); }
.card.plain { padding: 40px 36px; min-height: 0; }
.card.sm { padding: 32px 28px; border-radius: 24px; gap: 10px; min-height: 220px; background: var(--panel); color: var(--fg); border: 1px solid var(--line); }
.card.sm.lt-card { background: #fff; color: var(--lt-fg); border: 0; }
.card.sm.grey { background: var(--lt-bg); color: var(--lt-fg); border: 0; min-height: 200px; }
.card h3 { font-size: 32px; font-weight: 600; letter-spacing: -0.02em; }
.card.plain h3 { font-size: 26px; }
.card.sm h3 { font-size: 22px; letter-spacing: -0.01em; }
.card p { font-size: 17px; line-height: 1.5; color: var(--lt-muted); }
.card.dark p, .card.panel p, .card.sm p { color: var(--muted); font-size: 16px; }
.card.sm.lt-card p, .card.sm.grey p { color: var(--lt-muted); }
.card .link { margin-top: auto; }
.card .link.cyan { color: var(--cyan); }

/* Plan cards */
.plan { border-radius: 28px; padding: 40px 34px; display: flex; flex-direction: column; gap: 10px; }
.plan.panel { background: var(--panel); color: var(--fg); border: 1px solid rgba(255, 255, 255, 0.12); }
.plan.featured { background: var(--lt-bg); color: var(--lt-fg); }
.plan h3 { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; }
.plan .blurb { font-size: 16px; line-height: 1.5; color: var(--muted); }
.plan.featured .blurb { color: var(--lt-muted); }
.plan .price { margin-top: 6px; font-size: 34px; font-weight: 600; letter-spacing: -0.02em; }
.plan .per { font-size: 15px; font-weight: 400; color: var(--muted); }
.plan.featured .per { color: var(--lt-muted); }
.plan .btn { margin-top: auto; width: 100%; }
.badge {
  align-self: flex-start; font-size: 12px; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: #000; background: var(--gold); border-radius: 980px; padding: 5px 12px;
}

/* Check lists */
.checks { display: flex; flex-direction: column; gap: 12px; margin-top: 12px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; font-size: 15px; line-height: 1.45; }
.checks.lg li { font-size: 16px; }
.checks svg { flex: none; margin-top: 2px; }
.checks.lg svg { margin-top: 3px; }
.checks.muted li { color: var(--fg-2); }
.note { margin-top: auto; padding-top: 14px; font-size: 15px; line-height: 1.5; color: var(--muted); }

/* Tag list */
.tags { display: flex; flex-wrap: wrap; gap: 10px 12px; }
.tags li { font-size: 15px; color: var(--fg-2); border: 1px solid rgba(255, 255, 255, 0.16); border-radius: 980px; padding: 8px 16px; }
.kicker { font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); margin-bottom: 18px; }
.rule-top { border-top: 1px solid var(--line); padding-top: 32px; }

/* Split layouts */
.split { display: flex; flex-wrap: wrap; gap: 48px 64px; align-items: flex-start; }
.split > .a { flex: 1 1 420px; min-width: 0; }
.split > .b { flex: 1 1 460px; min-width: 0; }
.split.end { gap: 40px; align-items: flex-end; justify-content: space-between; }
.split.end > .a { flex: 1 1 520px; }
.prose { display: flex; flex-direction: column; gap: 18px; font-size: 19px; line-height: 1.55; color: var(--lt-body); }

/* Service hero */
.photo-hero { position: relative; overflow: hidden; background: var(--bg); }
.photo-hero img { width: 100%; min-height: 560px; max-height: 860px; aspect-ratio: 16 / 9; object-fit: cover; object-position: 60% 30%; }
.photo-hero .shade { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.55) 40%, rgba(0,0,0,0) 70%); }
.photo-hero .copy { position: absolute; inset: 0; display: flex; align-items: center; }
.photo-hero .copy .wrap { width: 100%; padding: 0 24px; }
.photo-hero .lead { color: var(--fg-2); font-size: clamp(18px, 1.8vw, 22px); line-height: 1.45; }

/* Table rows */
.rowhead { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 24px; padding-bottom: 12px; font-size: 13px; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase; color: var(--dim); }
.row { display: grid; grid-template-columns: 1.3fr 1fr 1.2fr; gap: 24px; padding: 22px 0; border-top: 1px solid rgba(255, 255, 255, 0.12); font-size: 15px; line-height: 1.45; }
.row .s { font-weight: 500; color: var(--fg); }
.row .i { color: var(--fg-2); }
.row .a { color: var(--muted); }
@media (max-width: 720px) { .row { grid-template-columns: 1fr; gap: 6px; } .rowhead { display: none; } }

/* Escalation list */
.steps { display: flex; flex-direction: column; gap: 1px; background: rgba(0, 0, 0, 0.08); border-radius: 22px; overflow: hidden; flex: 1 1 400px; min-width: 0; }
.steps li { background: #fff; padding: 20px 24px; display: flex; gap: 20px; align-items: baseline; }
.steps .t { flex: none; width: 64px; font-size: 13px; color: var(--gold-dk); font-weight: 600; letter-spacing: 0.04em; }
.steps .st { display: flex; flex-direction: column; gap: 3px; }
.steps .st b { font-size: 17px; font-weight: 500; }
.steps .st span { font-size: 14px; color: var(--lt-muted); }

/* Security bullets */
.bullets { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px 40px; font-size: 16px; line-height: 1.5; color: var(--fg-2); }
.bullets div { display: flex; gap: 10px; align-items: flex-start; }
.bullets svg { flex: none; margin-top: 4px; }
.terms { margin-top: 56px; max-width: 640px; font-size: 17px; line-height: 1.5; color: var(--dim); }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 28px 24px 40px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 24px; font-size: 13px; color: var(--dim); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 4px 24px; }
.site-footer a { color: var(--muted); }
