/* onecaye.com · the One Caye product site. The Consulting Exhibit palette (navy ink, paper, one blue accent, Georgia
   display), with the brand's amber sun for the luxe moments. Motion: the intro (main.js), scroll reveals, a sticky tour,
   a tilting hero, a voice wave and a language marquee; all of it off under prefers-reduced-motion. */
:root {
  --ink: #0B1C2C; --ink2: #3E4C5C; --grey: #6B7988; --rule: #D3DAE2; --grid: #E7ECF1; --paper: #FBFCFD; --band: #F3F6FA;
  --blue: #2457D6; --navy: #0B2A4A; --sky: #3FA9E8; --night: #07131F; --gold: #F5A83C; --sand: #EFE5D3;
  --serif: Georgia, "Times New Roman", serif; --sans: "Helvetica Neue", Helvetica, Arial, sans-serif;
  --ease: cubic-bezier(.2, .7, .1, 1);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.6 var(--sans); overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.intro-on { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: var(--blue); }
.wrap { width: min(1180px, 100% - 32px); margin: 0 auto; }
.narrow-wrap { width: min(820px, 100% - 32px); }
section { padding: clamp(72px, 10vw, 140px) 0; position: relative; }

/* type */
.kicker { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font: 600 12px/1 var(--sans); letter-spacing: .18em; text-transform: uppercase; color: var(--blue); }
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker.light { color: var(--gold); }
.display { font: 400 clamp(44px, 6.2vw, 82px)/1.02 var(--serif); letter-spacing: -.02em; margin: 0; }
.display .accent { color: var(--blue); font-style: italic; }
.h2 { font: 400 clamp(32px, 4.4vw, 54px)/1.1 var(--serif); letter-spacing: -.015em; margin: 0 0 20px; }
.narrow { max-width: 760px; }
.lede { font-size: clamp(18px, 1.7vw, 21px); color: var(--ink2); max-width: 560px; margin: 26px 0 0; }
.body { color: var(--ink2); max-width: 620px; margin: 0 0 18px; }
.light { color: #fff; } .body.light { color: rgba(255, 255, 255, .74); }
.note { color: var(--grey); font-size: 13px; margin-top: 28px; }

/* buttons */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0 18px; border-radius: 4px; font: 600 14px/1 var(--sans); text-decoration: none; transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 15px; }
.btn-ink { background: var(--navy); color: #fff; } .btn-ink:hover { background: #163889; box-shadow: 0 12px 30px -14px rgba(11, 42, 74, .6); }
.btn-line { border: 1px solid var(--rule); color: var(--ink); background: #fff; } .btn-line:hover { border-color: var(--blue); color: var(--blue); }
.btn-gold { background: var(--gold); color: var(--night); } .btn-gold:hover { box-shadow: 0 14px 40px -12px rgba(245, 168, 60, .6); }
.btn-ghost { border: 1px solid rgba(255, 255, 255, .25); color: #fff; } .btn-ghost:hover { border-color: #fff; }
.play { width: 0; height: 0; border-left: 9px solid currentColor; border-top: 6px solid transparent; border-bottom: 6px solid transparent; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; } .cta.center { justify-content: center; }

/* ===== intro: a title card. A gold line draws, "One Caye" rises letter by letter behind it, then the name docks
   into the header logo while the navy lifts away (main.js) ===== */
#intro { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: var(--night); overflow: hidden; color: #fff; transition: clip-path 1.1s cubic-bezier(.7, 0, .2, 1); clip-path: inset(0 0 0 0); }
#intro.lift { clip-path: inset(0 0 100% 0); }
#intro.gone { display: none; }
.intro-glow { position: absolute; width: 900px; height: 900px; left: 50%; top: 50%; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(36, 87, 214, .22), rgba(245, 168, 60, .06) 45%, transparent 68%); opacity: 0; transform: scale(.85); transition: opacity 2s, transform 3s var(--ease); }
#intro.go .intro-glow { opacity: 1; transform: none; }
.intro-card { position: relative; display: flex; flex-direction: column; align-items: center; }
.intro-mark-img { width: 56px; height: 56px; border-radius: 13px; opacity: 0; transform: translateY(10px) scale(.9); transition: opacity .9s .9s, transform 1.1s var(--ease) .9s; box-shadow: 0 18px 40px -18px rgba(245, 168, 60, .55); }
#intro.go .intro-mark-img { opacity: 1; transform: none; }
.intro-name { margin: 26px 0 0; display: flex; gap: .26em; font: 400 clamp(64px, 11vw, 148px)/1 var(--serif); letter-spacing: .06em; transition: letter-spacing 1.8s var(--ease) .4s; overflow: hidden; padding: .06em .04em .12em; }
#intro.go .intro-name { letter-spacing: -.02em; }
.intro-name .w { display: inline-flex; } .intro-name .w2 { color: #C9D6E8; font-style: italic; }
.intro-name i { font-style: inherit; display: inline-block; transform: translateY(110%); opacity: 0; transition: transform 1s var(--ease), opacity .6s; }
#intro.go .intro-name i { transform: none; opacity: 1; }
.intro-rule { display: block; width: min(560px, 70vw); height: 1px; margin-top: 10px; background: linear-gradient(90deg, transparent, var(--gold) 20%, var(--gold) 80%, transparent); transform: scaleX(0); transition: transform 1.2s var(--ease) .1s; }
#intro.go .intro-rule { transform: none; }
.intro-sub { margin: 22px 0 0; font: 600 12px var(--sans); letter-spacing: .5em; text-transform: uppercase; color: var(--gold); opacity: 0; transition: opacity 1s 1.5s, letter-spacing 1.6s var(--ease) 1.5s; }
#intro.go .intro-sub { opacity: 1; letter-spacing: .32em; }
#intro.dock .intro-mark-img, #intro.dock .intro-rule, #intro.dock .intro-sub { opacity: 0; transition: opacity .35s; }
.intro-flyer { position: fixed; z-index: 101; margin: 0; pointer-events: none; transform-origin: 0 0; font: 400 23px/1 var(--serif); color: var(--ink); white-space: nowrap; transition: transform 1s cubic-bezier(.7, 0, .2, 1), color 1s, opacity .3s; }
.intro-flyer em { font-style: normal; color: var(--grey); }
.intro-skip { position: absolute; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); min-height: 44px; padding: 0 16px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 4px; background: transparent; color: rgba(255, 255, 255, .8); font: 600 13px var(--sans); cursor: pointer; }
.intro-skip:hover { color: #fff; border-color: #fff; }

/* ===== nav ===== */
.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; gap: 24px; padding: 12px max(16px, calc((100% - 1180px) / 2)); background: rgba(251, 252, 253, .86); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: border-color .3s, background .3s; }
.nav.scrolled { border-color: var(--rule); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); font: 400 23px var(--serif); }
.brand em { font-style: normal; color: var(--grey); }
.nav nav { display: flex; gap: 24px; margin-left: auto; }
.nav nav a { color: var(--ink2); text-decoration: none; font-size: 14px; position: relative; }
.nav nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1px; background: var(--blue); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.nav nav a:hover { color: var(--ink); } .nav nav a:hover::after { transform: none; }
.nav-cta { display: flex; gap: 10px; }

/* ===== hero ===== */
.hero { padding-top: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 900px; height: 900px; right: -300px; top: -300px; background: radial-gradient(circle, rgba(36, 87, 214, .08), transparent 65%); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 34px 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 22px; font-size: 14px; color: var(--ink2); }
.ticks li::before { content: "—"; color: var(--blue); margin-right: 8px; }
.hero-art { position: relative; height: 560px; perspective: 1400px; }
.screen { position: absolute; margin: 0; border-radius: 8px; overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: 0 40px 80px -40px rgba(11, 28, 44, .45), 0 2px 6px rgba(11, 28, 44, .06); transition: transform .8s var(--ease); }
.screen img { width: 100%; }
.s1 { width: 78%; left: 0; top: 40px; z-index: 2; animation: float 9s ease-in-out infinite; }
.s2 { width: 62%; right: 0; top: 0; z-index: 1; opacity: .92; animation: float 11s ease-in-out infinite reverse; }
.s3 { width: 60%; right: 4%; bottom: 0; z-index: 3; animation: float 10s ease-in-out 1s infinite; }
@keyframes float { 50% { translate: 0 -12px; } }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); margin-top: clamp(56px, 8vw, 96px); }
.stats div { padding: 26px 22px; border-left: 1px solid var(--rule); } .stats div:first-child { border-left: 0; }
.stats b { display: block; font: 400 clamp(44px, 5vw, 64px)/1 var(--serif); color: var(--navy); }
.stats span { display: block; margin-top: 10px; font-size: 13px; color: var(--grey); }

/* ===== dark bands ===== */
.dark { background: var(--night); color: #fff; overflow: hidden; }
.band-archipelago::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 0%, rgba(36, 87, 214, .25), transparent 55%), radial-gradient(ellipse at 90% 100%, rgba(245, 168, 60, .12), transparent 50%); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 88px); align-items: start; position: relative; }
.two.center { align-items: center; }
.pains { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.pains li { padding: 24px 26px; border: 1px solid rgba(255, 255, 255, .1); border-radius: 6px; background: rgba(255, 255, 255, .03); }
.pains b { display: block; font: 400 24px var(--serif); margin-bottom: 6px; } .pains span { color: rgba(255, 255, 255, .7); font-size: 15px; }

/* ===== layers ===== */
.sticky-copy { position: sticky; top: 120px; }
.layers { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.layers li { display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.layers li:hover { transform: translateX(6px); border-color: var(--blue); box-shadow: 0 18px 40px -26px rgba(36, 87, 214, .45); }
.layers li:first-child { background: var(--navy); color: #fff; border-color: var(--navy); } .layers li:first-child span { color: rgba(255, 255, 255, .75); } .layers li:first-child i { color: var(--gold); }
.layers i { font: italic 400 28px/1 var(--serif); color: var(--blue); min-width: 40px; }
.layers b { display: block; font: 400 24px var(--serif); } .layers span { color: var(--ink2); font-size: 15px; }

/* ===== tour ===== */
.tour { background: var(--band); }
.tour-grid { display: grid; grid-template-columns: .9fr 1.25fr; gap: 64px; margin-top: 40px; }
.step { min-height: 78vh; display: flex; flex-direction: column; justify-content: center; opacity: .32; transition: opacity .5s; }
.step.active { opacity: 1; }
.step-n { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.step h3, .ind h3 { font: 400 clamp(28px, 3vw, 38px)/1.12 var(--serif); margin: 0 0 14px; }
.step p { color: var(--ink2); margin: 0 0 16px; }
.step ul { padding: 0; margin: 0; list-style: none; display: grid; gap: 8px; font-size: 15px; color: var(--ink2); }
.step li::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--blue); vertical-align: middle; margin-right: 10px; }
.step-img { display: none; }
.tour-frame { position: sticky; top: calc(50vh - 260px); height: fit-content; }
.frame { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--rule); box-shadow: 0 50px 100px -50px rgba(11, 28, 44, .5); }
.frame-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; background: #F2F4F7; border-bottom: 1px solid var(--grid); }
.frame-bar i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.frame-bar span { margin-left: 14px; font-size: 12px; color: var(--grey); background: #fff; border: 1px solid var(--grid); border-radius: 4px; padding: 3px 12px; }
.frame-shots { position: relative; aspect-ratio: 16 / 10; }
.frame-shots img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top left; opacity: 0; transform: scale(1.03); transition: opacity .7s var(--ease), transform 1.2s var(--ease); }
.frame-shots img.on { opacity: 1; transform: none; }
.frame-dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.frame-dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--rule); transition: background .3s, width .3s; }
.frame-dots i.on { background: var(--blue); width: 26px; border-radius: 4px; }

/* ===== isabella ===== */
.isabella::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 80% 30%, rgba(63, 169, 232, .18), transparent 55%); }
.checks { list-style: none; padding: 0; margin: 24px 0 0; display: grid; gap: 10px; color: var(--ink2); font-size: 15px; }
.checks li::before { content: "✓"; color: var(--blue); font-weight: 700; margin-right: 10px; }
.checks.light { color: rgba(255, 255, 255, .8); } .checks.light li::before { color: var(--gold); }
.talk { padding: 34px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .12); background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02)); backdrop-filter: blur(6px); }
.wave { display: flex; align-items: center; justify-content: center; gap: 5px; height: 70px; margin-bottom: 26px; }
.wave i { width: 4px; height: 20%; border-radius: 3px; background: linear-gradient(var(--gold), #F07E3C); animation: wave 1.2s ease-in-out infinite; }
.wave i:nth-child(odd) { animation-duration: .9s; } .wave i:nth-child(3n) { animation-duration: 1.5s; } .wave i:nth-child(4n) { animation-delay: .2s; } .wave i:nth-child(5n) { animation-delay: .4s; }
@keyframes wave { 50% { height: 100%; } }
.bubbles { display: grid; gap: 12px; }
.bubbles p { margin: 0; padding: 12px 16px; border-radius: 12px; font-size: 15px; max-width: 86%; opacity: 0; transform: translateY(10px); transition: opacity .6s, transform .6s var(--ease); }
.bubbles .you { justify-self: end; background: var(--blue); color: #fff; border-bottom-right-radius: 3px; }
.bubbles .her { background: rgba(255, 255, 255, .1); color: #fff; border-bottom-left-radius: 3px; }
.talk.in .bubbles p { opacity: 1; transform: none; }
.talk.in .bubbles p:nth-child(2) { transition-delay: 1.1s; } .talk.in .bubbles p:nth-child(3) { transition-delay: 2.4s; } .talk.in .bubbles p:nth-child(4) { transition-delay: 3.4s; }

/* ===== agents ===== */
.agent-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 44px; }
.agent { position: relative; padding: 26px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; overflow: hidden; transition: transform .5s var(--ease), border-color .3s, box-shadow .5s; }
.agent::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--blue), var(--sky)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease); }
.agent:hover { transform: translateY(-4px); border-color: transparent; box-shadow: 0 30px 60px -34px rgba(11, 28, 44, .45); } .agent:hover::after { transform: none; }
.agent i { font: 600 12px var(--sans); font-style: normal; letter-spacing: .1em; color: var(--blue); }
.agent b { display: block; font: 400 24px var(--serif); margin: 8px 0 6px; } .agent span { color: var(--ink2); font-size: 14px; }

/* ===== zodeen ===== */
.zodeen { background: linear-gradient(180deg, var(--paper), var(--band)); }
.float-shot { margin: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--rule); box-shadow: 0 50px 100px -50px rgba(11, 28, 44, .5); animation: float 10s ease-in-out infinite; }

/* ===== films ===== */
.films::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 0%, rgba(36, 87, 214, .2), transparent 60%); }
.film-grid { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 44px; }
.film { position: relative; padding: 0; border: 0; border-radius: 8px; overflow: hidden; cursor: pointer; background: #000; text-align: left; aspect-ratio: 16 / 9; }
.film.big { grid-column: 1 / -1; aspect-ratio: 21 / 9; }
.film-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .8s; }
.film-loop.playing { opacity: .8; }
.film:hover .film-loop.playing { opacity: 1; }
.film-loop.playing ~ .film-play { transform: scale(.7); opacity: .85; }
.film-play { transition: transform .4s var(--ease), opacity .4s; }
.film img { width: 100%; height: 100%; object-fit: cover; opacity: .72; transition: transform 1.2s var(--ease), opacity .5s; }
.film:hover img { transform: scale(1.04); opacity: .9; }
.film-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(255, 255, 255, .92); box-shadow: 0 0 0 0 rgba(255, 255, 255, .4); animation: pulse 2.4s infinite; }
.film-play::after { content: ""; position: absolute; left: 29px; top: 23px; border-left: 18px solid var(--navy); border-top: 13px solid transparent; border-bottom: 13px solid transparent; }
@keyframes pulse { 70% { box-shadow: 0 0 0 22px rgba(255, 255, 255, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); } }
.film-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 18px 20px; background: linear-gradient(transparent, rgba(7, 19, 31, .92)); color: #fff; }
.film-cap b { display: block; font: 400 21px var(--serif); } .film-cap em { font-style: normal; font-size: 13px; color: rgba(255, 255, 255, .7); }
.player { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; background: rgba(7, 19, 31, .92); padding: 16px; }
.player[hidden] { display: none; }
.player video { width: min(1200px, 100%); max-height: 86vh; border-radius: 8px; background: #000; }
.player-x { position: absolute; top: 12px; right: 16px; width: 48px; height: 48px; border: 0; background: transparent; color: #fff; font-size: 36px; cursor: pointer; }

/* ===== industries ===== */
.ind-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.ind { border: 1px solid var(--rule); border-radius: 8px; overflow: hidden; background: #fff; transition: transform .5s var(--ease), box-shadow .5s; }
.ind:hover { transform: translateY(-4px); box-shadow: 0 30px 60px -34px rgba(11, 28, 44, .45); }
.ind img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--grid); transition: transform 1.2s var(--ease); }
.ind:hover img { transform: scale(1.03); }
.ind > div { padding: 22px 24px 26px; } .ind h3 { font-size: 26px; } .ind p:last-child { color: var(--ink2); font-size: 15px; margin: 0; }

/* ===== languages ===== */
.langs { padding: 54px 0; border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); background: #fff; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-in { display: flex; gap: 56px; width: max-content; animation: marquee 40s linear infinite; }
.marquee-in span { font: 400 clamp(28px, 3.4vw, 44px) var(--serif); color: var(--navy); white-space: nowrap; }
.marquee-in span:nth-child(even) { color: var(--blue); font-style: italic; }
@keyframes marquee { to { transform: translateX(-50%); } }
.langs-cap { text-align: center; color: var(--grey); font-size: 13px; letter-spacing: .14em; text-transform: uppercase; margin: 22px 0 0; }

/* ===== trust, faq ===== */
.trust-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; border-top: 1px solid var(--ink); }
.trust-grid div { padding: 26px 22px 0 0; } .trust-grid b { display: block; font: 400 21px/1.2 var(--serif); margin-bottom: 8px; } .trust-grid span { color: var(--ink2); font-size: 14px; }
.faq { background: var(--band); }
details { border-top: 1px solid var(--rule); padding: 6px 0; } details:last-of-type { border-bottom: 1px solid var(--rule); }
summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 60px; font: 400 21px var(--serif); }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; font: 300 28px var(--sans); color: var(--blue); transition: transform .3s; } details[open] summary::after { transform: rotate(45deg); }
details p { color: var(--ink2); margin: 0 0 18px; max-width: 680px; }

/* ===== final ===== */
.final { text-align: center; }
.final::before { content: ""; position: absolute; left: 50%; bottom: -320px; width: 760px; height: 760px; margin-left: -380px; border-radius: 50%; background: radial-gradient(circle, rgba(245, 168, 60, .35), transparent 62%); animation: rise 8s ease-in-out infinite; }
@keyframes rise { 50% { transform: translateY(-30px); } }
.final-in { position: relative; display: flex; flex-direction: column; align-items: center; }
.final-mark { margin-bottom: 26px; border-radius: 14px; box-shadow: 0 20px 50px -20px rgba(245, 168, 60, .6); }
.final .body { margin: 22px auto 0; text-align: center; }
.foot { padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); border-top: 1px solid var(--rule); }
.foot-in { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.foot nav { display: flex; gap: 22px; margin-left: auto; } .foot nav a { color: var(--ink2); text-decoration: none; font-size: 14px; }
.foot p { color: var(--grey); font-size: 13px; margin: 0; width: 100%; }

/* ===== reveal ===== */
[data-reveal] { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
[data-reveal].in { opacity: 1; transform: none; }

/* ===== responsive ===== */
@media (max-width: 980px) {
  .nav nav { display: none; }
  .nav .nav-cta { margin-left: auto; }
  .hero-grid, .two, .tour-grid { grid-template-columns: 1fr; }
  .hero-art { height: auto; aspect-ratio: 4 / 3.2; }
  .sticky-copy { position: static; }
  .tour-frame { display: none; }
  .step { min-height: 0; opacity: 1; padding: 34px 0; border-top: 1px solid var(--rule); }
  .step-img { display: block; margin-top: 22px; border-radius: 8px; border: 1px solid var(--rule); box-shadow: 0 30px 60px -36px rgba(11, 28, 44, .45); }
  .agent-grid, .ind-grid, .film-grid { grid-template-columns: 1fr 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; gap: 0 22px; }
}
@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand { font-size: 21px; }
  .brand span { white-space: nowrap; }
  .nav { gap: 12px; } .nav-cta { gap: 8px; } .nav-cta .btn { padding: 0 12px; }
  .stats { grid-template-columns: 1fr 1fr; } .stats div:nth-child(3) { border-left: 0; } .stats div:nth-child(n+3) { border-top: 1px solid var(--rule); }
  .ticks, .agent-grid, .ind-grid, .film-grid, .trust-grid { grid-template-columns: 1fr; }
  .film.big { aspect-ratio: 16 / 9; }
  .hero-art { aspect-ratio: 1 / 1; }
  .layers li { padding: 20px; gap: 14px; }
  .talk { padding: 22px; }
  .foot nav { margin-left: 0; flex-wrap: wrap; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  [data-reveal] { opacity: 1; transform: none; }
  #intro { display: none; }
  .bubbles p { opacity: 1; transform: none; }
}

/* ===== the live hero: a working mini One Caye (main.js) ===== */
.live { position: relative; border-radius: 10px; background: #fff; border: 1px solid var(--rule); box-shadow: 0 60px 120px -60px rgba(11, 28, 44, .55), 0 2px 8px rgba(11, 28, 44, .06); overflow: hidden; font-size: 13px; line-height: 1.4; user-select: none; }
.live-bar { display: flex; align-items: center; gap: 6px; height: 34px; padding: 0 12px; background: #F2F4F7; border-bottom: 1px solid var(--grid); }
.live-bar > i { width: 10px; height: 10px; border-radius: 50%; background: var(--rule); }
.live-bar > span { margin-left: 10px; font-size: 11.5px; color: var(--grey); background: #fff; border: 1px solid var(--grid); border-radius: 4px; padding: 2px 10px; }
.live-tag { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font: 600 10.5px var(--sans); font-style: normal; letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.live-tag b { width: 7px; height: 7px; border-radius: 50%; background: #2bb673; box-shadow: 0 0 0 0 rgba(43, 182, 115, .5); animation: livepulse 1.8s infinite; }
@keyframes livepulse { 70% { box-shadow: 0 0 0 7px rgba(43, 182, 115, 0); } 100% { box-shadow: 0 0 0 0 rgba(43, 182, 115, 0); } }
.live-replay { margin-left: 10px; border: 1px solid var(--rule); background: #fff; border-radius: 4px; font: 600 11px var(--sans); padding: 3px 8px; color: var(--ink2); cursor: pointer; }
.live-body { display: grid; grid-template-columns: 132px 1fr; min-height: 470px; }
.live-nav { padding: 14px 10px; border-right: 1px solid var(--grid); background: #FAFBFC; display: flex; flex-direction: column; gap: 2px; }
.live-brand { font: 400 17px var(--serif); margin: 0 0 12px 6px; } .live-brand em { font-style: normal; color: var(--grey); }
.live-nav button { display: flex; align-items: center; gap: 8px; text-align: left; border: 0; background: transparent; padding: 8px; border-radius: 4px; font: 500 12.5px var(--sans); color: var(--ink2); cursor: pointer; transition: background .2s, color .2s; }
.live-nav button .ic { width: 14px; color: var(--grey); }
.live-nav button:hover { background: var(--grid); }
.live-nav button.on { background: #E6EEFA; color: var(--navy); font-weight: 600; } .live-nav button.on .ic { color: var(--blue); }
.live-list { margin: auto 0 0 8px; font-size: 11.5px; color: var(--grey); } .live-list b { display: inline-grid; place-items: center; min-width: 18px; height: 18px; padding: 0 5px; margin-left: 4px; border-radius: 9px; background: var(--navy); color: #fff; font-size: 10.5px; transition: transform .3s var(--ease); }
.live-list b.bump { transform: scale(1.35); }
.live-main { position: relative; padding: 16px 18px 58px; overflow: hidden; }
.view { animation: viewin .5s var(--ease); } .view[hidden] { display: none; }
@keyframes viewin { from { opacity: 0; transform: translateY(8px); } }
.v-kick { margin: 0 0 10px; font: 600 10.5px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.kpis { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--ink); border-bottom: 1px solid var(--grid); }
.kpis.two { grid-template-columns: 1fr 1fr; }
.kpis div { padding: 9px 10px 10px; border-left: 1px solid var(--grid); } .kpis div:first-child { border-left: 0; padding-left: 0; }
.kpis span { display: block; font-size: 10.5px; color: var(--grey); text-transform: uppercase; letter-spacing: .06em; }
.kpis b { display: block; font: 400 24px/1.15 var(--serif); color: var(--ink); transition: color .4s; } .kpis b.warn { color: #C2581B; } .kpis b.flash { color: var(--blue); }
.chart { display: flex; align-items: flex-end; gap: 6px; height: 92px; margin: 14px 0 12px; padding-bottom: 1px; border-bottom: 1px solid var(--ink2); }
.chart i { flex: 1; display: flex; flex-direction: column; justify-content: flex-end; height: 100%; }
.chart u { display: block; background: var(--blue); height: 0; transition: height 1.1s var(--ease); }
.chart s { display: block; background: #C2581B; height: 0; transition: height 1.1s var(--ease) .15s; }
.signals { position: relative; min-height: 132px; }
.sig { position: absolute; inset: 0 0 auto; padding: 12px 14px; border: 1px solid var(--rule); border-left: 3px solid var(--blue); border-radius: 4px; background: #fff; opacity: 0; transform: translateX(24px); pointer-events: none; transition: opacity .45s, transform .45s var(--ease); }
.sig.on { opacity: 1; transform: none; pointer-events: auto; }
.sig.out { opacity: 0; transform: translateX(-24px); }
.sig.prop { position: relative; margin-top: 12px; }
.sig p { margin: 0 0 4px; font: 600 10.5px var(--sans); letter-spacing: .1em; text-transform: uppercase; color: var(--grey); } .sig p i { font-style: normal; color: var(--blue); margin-right: 6px; }
.sig h4 { margin: 0 0 4px; font: 400 16px/1.25 var(--serif); color: var(--ink); }
.sig > span { color: var(--ink2); font-size: 12.5px; }
.sig-done { position: absolute; inset: 0 0 auto; margin: 0; padding: 14px; border: 1px dashed var(--rule); border-radius: 4px; color: var(--grey); text-align: center; }
.acts { display: flex; gap: 8px; margin-top: 10px; }
.acts button { border: 1px solid var(--rule); background: #fff; border-radius: 4px; padding: 6px 12px; font: 600 12px var(--sans); color: var(--ink2); cursor: pointer; transition: background .2s, color .2s, transform .15s; }
.acts button.ok { background: var(--navy); border-color: var(--navy); color: #fff; }
.acts button:hover { transform: translateY(-1px); } .acts button.ok:hover { background: #163889; }
.acts button.pressed { transform: scale(.94); }
.acts button:disabled { opacity: .45; cursor: default; transform: none; }
.queue { list-style: none; margin: 10px 0 0; padding: 0; }
.queue li { display: grid; grid-template-columns: 88px 1fr auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--grid); transition: opacity .5s, background .5s; }
.queue li span { color: var(--grey); font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.queue em { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 3px; }
.t-bad { background: #F6E3DA; color: #8A3A12; } .t-warn { background: #FBEFE7; color: #C2581B; } .t-ok { background: #E6EEFA; color: var(--navy); }
.queue li.clean.gone { opacity: .35; text-decoration: line-through; }
.zhead { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; font-size: 12.5px; color: var(--ink2); }
.zhead b { font: 400 18px var(--serif); color: var(--ink); } .zhead s { color: var(--grey); text-decoration: none; margin-left: 4px; }
.pill { font: 600 10px var(--sans); letter-spacing: .1em; text-transform: uppercase; padding: 3px 8px; border-radius: 3px; border: 1px solid; transition: all .4s; }
.pill.bad { color: #8A3A12; border-color: #C26F4E; } .pill.good { color: var(--blue); border-color: var(--blue); }
.cap { display: grid; grid-template-columns: 82px 1fr 44px; gap: 10px; align-items: center; padding: 5px 0; font-size: 12px; color: var(--ink2); }
.cap i { position: relative; height: 12px; background: var(--grid); }
.cap u { position: absolute; left: 0; top: 0; bottom: 0; width: var(--w); background: var(--navy); transition: width 1.4s var(--ease), background .6s; }
.cap s { position: absolute; top: -3px; bottom: -3px; left: 48%; border-left: 2px solid var(--ink); }
.cap b { text-align: right; font-weight: 700; color: var(--ink); } .cap.hot u { background: #C2581B; } .cap.hot b { color: #C2581B; }
.isa { position: absolute; left: 18px; right: 18px; bottom: 12px; display: flex; align-items: center; gap: 10px; padding: 8px 12px; border-radius: 20px; background: var(--night); color: #fff; font-size: 12px; min-height: 36px; }
.isa-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--gold); flex: none; animation: livepulse 1.8s infinite; }
.isa p { margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .isa-q { font-weight: 600; margin-right: 8px; } .isa-a { color: rgba(255, 255, 255, .78); }
.cursor { position: absolute; left: 0; top: 0; width: 18px; height: 18px; border-radius: 50%; background: rgba(36, 87, 214, .35); border: 2px solid var(--blue); pointer-events: none; opacity: 0; transform: translate(-50%, -50%); transition: left .9s var(--ease), top .9s var(--ease), opacity .3s; z-index: 5; }
.cursor.on { opacity: 1; } .cursor.click { animation: click .4s; }
@keyframes click { 50% { transform: translate(-50%, -50%) scale(.6); } }
.toast { position: absolute; left: 50%; bottom: 62px; transform: translate(-50%, 12px); padding: 8px 14px; border-radius: 4px; background: var(--navy); color: #fff; font-size: 12px; opacity: 0; transition: opacity .3s, transform .3s var(--ease); pointer-events: none; white-space: nowrap; z-index: 4; }
.toast.on { opacity: 1; transform: translate(-50%, 0); }
@media (max-width: 620px) {
  .live-body { grid-template-columns: 1fr; min-height: 0; }
  .live-nav { flex-direction: row; flex-wrap: wrap; border-right: 0; border-bottom: 1px solid var(--grid); padding: 8px; }
  .live-brand, .live-list { display: none; }
  .live-nav button { padding: 6px 8px; font-size: 12px; }
  .live-main { padding: 12px 12px 56px; min-height: 420px; }
  .kpis { grid-template-columns: 1fr 1fr; } .kpis div:nth-child(3) { border-left: 0; padding-left: 0; } .kpis div:nth-child(n+3) { border-top: 1px solid var(--grid); }
  .queue li { grid-template-columns: 70px 1fr auto; } .live-tag { display: none; }
}
@media (prefers-reduced-motion: reduce) { .live-tag b, .isa-dot { animation: none; } }
.live section { padding: 0; }
.film:has(.film-loop.playing) img { opacity: 0; }
.intro-name i { transition-delay: calc(.35s + var(--i) * 70ms); }
.nav .brand span.docking { visibility: hidden; }

/* live hero: Analytics and Reports views */
.live-nav button { padding: 7px 8px; }
.a-tabs { display: inline-flex; margin: 12px 0 6px; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; }
.a-tabs button { border: 0; background: #fff; padding: 5px 10px; font: 600 11px var(--sans); color: var(--ink2); cursor: pointer; border-left: 1px solid var(--rule); }
.a-tabs button:first-child { border-left: 0; } .a-tabs button.on { background: var(--navy); color: #fff; }
.a-chart { position: relative; height: 96px; border-bottom: 1px solid var(--ink2); }
.a-chart svg { width: 100%; height: 100%; display: block; }
.a-line { fill: none; stroke: var(--blue); stroke-width: 2; vector-effect: non-scaling-stroke; transition: d .9s var(--ease); }
.a-area { fill: rgba(36, 87, 214, .1); stroke: none; transition: d .9s var(--ease); }
.a-chart.ot .a-line { stroke: #C2581B; } .a-chart.ot .a-area { fill: rgba(194, 88, 27, .1); }
.a-bars { position: absolute; inset: 0; display: grid; align-content: center; gap: 6px; background: #fff; }
.a-bars[hidden] { display: none; }
.a-bars p { margin: 0; display: grid; grid-template-columns: 112px 1fr; gap: 8px; align-items: center; font-size: 11.5px; color: var(--ink2); }
.a-bars p span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.a-bars u { display: block; height: 11px; width: 0; background: var(--navy); transition: width 1s var(--ease); }
.a-bars p:first-child u { background: #C2581B; }
.ask { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; padding: 10px 12px; border: 1px solid var(--rule); border-radius: 4px; background: #FAFBFC; }
.ask-q { margin: 0; min-width: 0; } .ask-q span { display: block; font: 600 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); }
.ask-q b { display: block; font: 400 14px var(--serif); color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ask .acts { margin: 0; flex: none; }
.reps { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--ink); }
.reps li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--grid); }
.reps li b { display: block; font: 400 14.5px var(--serif); color: var(--ink); } .reps li span { font-size: 11px; color: var(--grey); }
.reps em { font-style: normal; font-size: 10.5px; font-weight: 600; padding: 2px 7px; border-radius: 3px; white-space: nowrap; }
.rep-open { border: 1px solid var(--rule); background: #fff; border-radius: 4px; padding: 4px 9px; font: 600 11px var(--sans); color: var(--ink2); cursor: pointer; }
.rep-open:hover { border-color: var(--blue); color: var(--blue); }
.rep-prev { position: absolute; left: 18px; right: 18px; top: 40px; padding: 14px 16px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; box-shadow: 0 30px 60px -30px rgba(11, 28, 44, .45); animation: viewin .4s var(--ease); z-index: 3; }
.rep-prev[hidden] { display: none; }
.rep-tr { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font: 600 10px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.rep-tr i { width: 20px; height: 2px; background: var(--blue); }
.rep-prev h4 { margin: 0 0 10px; font: 400 16px/1.25 var(--serif); color: var(--ink); }
.rep-mini { display: flex; align-items: flex-end; gap: 5px; height: 70px; border-bottom: 1px solid var(--ink2); }
.rep-mini i { flex: 1; background: var(--blue); height: 0; transition: height .8s var(--ease); } .rep-mini i.hi { background: #C2581B; }
@media (max-width: 620px) { .a-bars p { grid-template-columns: 90px 1fr; } .ask { flex-direction: column; align-items: stretch; } .rep-prev { left: 12px; right: 12px; } }

/* tour: a tall frame (most of the window) and each screen scrolls inside it as you read its step (main.js) */
.tour-frame { top: 92px; }
.frame-shots { aspect-ratio: auto; height: min(calc(100vh - 170px), 820px); overflow: hidden; background: #FBFCFD; }
.frame-shots img { inset: 0 0 auto 0; height: auto; object-fit: initial; transform: translateY(var(--pan, 0px)) scale(1.02); transition: opacity .7s var(--ease), transform .25s linear; }
.frame-shots img.on { transform: translateY(var(--pan, 0px)); }
.step { min-height: 115vh; }
@media (min-width: 981px) {
  /* wider than the page: the screens are the point (no sidebar in the shots, so they fill the frame) */
  .tour-grid.wrap { width: min(1480px, 100% - 48px); grid-template-columns: minmax(300px, .62fr) 1.6fr; gap: 56px; }
  .frame-shots { height: min(calc(100vh - 150px), 940px); }
}
@media (max-width: 980px) { .step { min-height: 0; } }

/* ===== industries: a carousel of 12 (3 live demos, 9 scenarios) and the chosen one's detail below (main.js) ===== */
.ind-carousel { position: relative; margin-top: 36px; }
.ind-nav { display: flex; align-items: center; justify-content: flex-end; gap: 10px; margin-bottom: 14px; }
.ind-count { font: 600 12px var(--sans); letter-spacing: .12em; color: var(--grey); margin-right: 6px; }
.ind-arrow { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--rule); background: #fff; font-size: 20px; color: var(--ink); cursor: pointer; transition: border-color .2s, background .2s, transform .2s; }
.ind-arrow:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-1px); }
.ind-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(300px, calc((100% - 36px) / 3)); gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; padding: 6px 2px 18px; scrollbar-width: none; outline: none; }
.ind-track::-webkit-scrollbar { display: none; }
.ind-track .ind { scroll-snap-align: start; text-align: left; cursor: pointer; display: flex; flex-direction: column; }
.ind-track .ind.on { border-color: var(--blue); box-shadow: 0 0 0 2px var(--blue), 0 30px 60px -34px rgba(11, 28, 44, .45); }
.ind-track .ind:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.ind-vis { aspect-ratio: 16 / 10; border-bottom: 1px solid var(--grid); background: linear-gradient(160deg, #0B2A4A, #07131F); color: #fff; padding: 22px; display: flex; flex-direction: column; justify-content: space-between; }
.ind-glyph { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid rgba(245, 168, 60, .55); border-radius: 50%; font: italic 400 26px/1 var(--serif); color: var(--gold); }
.ind-vis ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.ind-vis li { font-size: 12.5px; padding: 6px 10px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 4px; color: rgba(255, 255, 255, .88); }
.ind-tag { font-style: normal; margin-left: 8px; padding: 2px 6px; border-radius: 3px; font-size: 10px; letter-spacing: .08em; background: var(--grid); color: var(--ink2); }
.ind-tag.live { background: #E6EEFA; color: var(--blue); }
.ind-detail { margin-top: 18px; padding: clamp(22px, 3vw, 36px); border: 1px solid var(--rule); border-radius: 8px; background: #fff; box-shadow: 0 40px 80px -50px rgba(11, 28, 44, .4); animation: viewin .5s var(--ease); }
.ind-detail h3 { font: 400 clamp(26px, 3vw, 36px)/1.1 var(--serif); margin: 0 0 14px; }
.ind-scn { font: 400 19px/1.55 var(--serif); color: var(--ink); max-width: 820px; margin: 0 0 22px; }
.ind-cols { display: grid; grid-template-columns: 1.3fr 1fr; gap: 34px; }
.ind-cols h4 { margin: 0 0 10px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); }
.ind-cols ul { margin: 0 0 18px; padding: 0; list-style: none; display: grid; gap: 9px; color: var(--ink2); font-size: 15px; }
.ind-cols ul li::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--blue); vertical-align: middle; margin-right: 10px; }
.ind-cols ul.val li { color: var(--ink); font-weight: 600; } .ind-cols ul.val li::before { content: "✓"; width: auto; height: auto; background: none; color: var(--blue); }
.ind-met { color: var(--grey); font-size: 14px; margin: 0; }
.ind-detail .btn { margin-top: 8px; }
@media (max-width: 980px) { .ind-track { grid-auto-columns: minmax(280px, 70%); } .ind-cols { grid-template-columns: 1fr; gap: 6px; } }
@media (max-width: 620px) { .ind-track { grid-auto-columns: 86%; } .ind-nav { justify-content: space-between; } }

/* ===== /analytics and /analytics/*: the Analytics product pages (built by scripts/site_analytics.mjs). The real
   app loads in a hidden frame (.an-app, analytics.js) and is shown full screen on "Open … in Analytics" ===== */
.an-page .nav { border-color: var(--rule); }
.an-sub { position: sticky; top: 68px; z-index: 40; background: rgba(251, 252, 253, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--rule); }
.an-sub-in { display: flex; gap: 26px; overflow-x: auto; scrollbar-width: none; }
.an-sub-in::-webkit-scrollbar { display: none; }
.an-sub a { flex: none; display: flex; align-items: center; min-height: 46px; color: var(--ink2); text-decoration: none; font-size: 14px; border-bottom: 2px solid transparent; }
.an-sub a:hover { color: var(--ink); } .an-sub a[aria-current] { color: var(--blue); border-color: var(--blue); font-weight: 600; }
.an-hero { padding-top: clamp(44px, 6vw, 84px); padding-bottom: clamp(56px, 7vw, 96px); }
.an-hero .display { max-width: 960px; font-size: clamp(40px, 5.4vw, 70px); }
.an-hero .lede { max-width: 700px; }
.an-hero-shot { margin-top: 48px; }
.an-status { display: flex; align-items: center; gap: 8px; margin: 16px 0 0; color: var(--grey); font-size: 13px; }
.an-status i { width: 8px; height: 8px; border-radius: 50%; background: var(--rule); animation: an-pulse 1.4s ease-in-out infinite; }
.an-status.ok i { background: var(--blue); animation: none; }
@keyframes an-pulse { 50% { opacity: .3; } }
.an-shot { margin: 0; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; background: #fff; box-shadow: 0 30px 60px -40px rgba(11, 28, 44, .45); }
.an-shot img { width: 100%; }
.an-band { background: var(--band); }
.an-two { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.an-big { font: 400 clamp(22px, 2.2vw, 28px)/1.35 var(--serif); margin: 0 0 26px; }
.an-small { color: var(--grey); font-size: 14px; margin: 22px 0 0; max-width: 680px; }
.an-who { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.an-who span { width: 100%; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); margin-bottom: 2px; }
.an-who b { font: 500 14px var(--sans); padding: 6px 12px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; }
.an-qs { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.an-qs li { display: flex; justify-content: space-between; gap: 20px; padding: 14px 0; border-bottom: 1px solid var(--rule); }
.an-qs b { font: 400 19px/1.35 var(--serif); } .an-qs span { flex: none; color: var(--grey); font-size: 13px; padding-top: 4px; }
.an-how { list-style: none; padding: 0; margin: 0; counter-reset: none; }
.an-how li { display: flex; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.an-how li:first-child { border-top: 1px solid var(--ink); }
.an-how i { flex: none; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font: 600 13px var(--sans); font-style: normal; }
.an-how b { display: block; font: 400 20px/1.25 var(--serif); margin-bottom: 4px; } .an-how span { color: var(--ink2); font-size: 15px; }
.an-chain { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.an-chain li { position: relative; padding: 22px 26px 24px 0; border-top: 2px solid var(--blue); }
.an-chain li:not(:last-child)::after { content: "→"; position: absolute; right: 8px; top: 18px; color: var(--blue); }
.an-chain span { display: block; font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 10px; }
.an-chain b { font: 400 18px/1.4 var(--serif); }
.an-defs { margin: 36px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.an-defs div { padding: 20px 24px 22px 0; border-bottom: 1px solid var(--rule); }
.an-defs dt { font: 400 21px var(--serif); margin-bottom: 6px; } .an-defs dd { margin: 0; color: var(--ink2); font-size: 15px; }
.an-table { margin-top: 36px; overflow-x: auto; border-top: 1px solid var(--ink); }
.an-table table { width: 100%; border-collapse: collapse; min-width: 680px; font-size: 15px; }
.an-table th, .an-table td { text-align: left; vertical-align: top; padding: 14px 18px 14px 0; border-bottom: 1px solid var(--rule); }
.an-table thead th { font: 600 12px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); }
.an-table tbody th { font: 400 19px var(--serif); white-space: nowrap; } .an-table td { color: var(--ink2); }
.an-inside .h2 { margin-bottom: 0; }
.an-row { display: grid; grid-template-columns: .75fr 1.25fr; gap: 56px; align-items: center; padding: 56px 0; border-bottom: 1px solid var(--rule); }
.an-row:last-of-type { border-bottom: 0; }
.an-row.an-flip .an-row-copy { order: 2; }
.an-row h3 { font: 400 clamp(26px, 2.6vw, 34px)/1.15 var(--serif); margin: 0 0 14px; }
.an-tab { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); margin: 0 0 12px; }
.an-note { margin-top: 40px; padding: 22px 26px; background: var(--band); border-left: 3px solid var(--blue); color: var(--ink2); }
.an-note b { color: var(--ink); }
.an-trust { margin: 40px 0 0; padding-top: 22px; border-top: 1px solid var(--rule); color: var(--ink2); font-size: 15px; max-width: 820px; }
.an-trust b { color: var(--ink); }
.an-three { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 40px; border-top: 1px solid var(--ink); }
.an-three > div { padding: 26px 32px 6px 0; }
.an-three i { display: block; font: 400 15px var(--serif); font-style: normal; color: var(--blue); margin-bottom: 10px; }
.an-three b { display: block; font: 400 27px/1.2 var(--serif); margin-bottom: 10px; } .an-three span { color: var(--ink2); font-size: 15px; }
.an-three p { display: flex; flex-wrap: wrap; gap: 6px 16px; margin: 14px 0 0; } .an-three a { font-size: 14px; font-weight: 600; text-decoration: none; }
.an-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: 40px; }
.an-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 6px; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .3s, transform .3s var(--ease), box-shadow .3s; }
.an-card:hover { border-color: var(--blue); transform: translateY(-2px); box-shadow: 0 20px 40px -30px rgba(11, 28, 44, .5); }
.an-card img { aspect-ratio: 16 / 10; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--rule); }
.an-card b { font: 400 22px var(--serif); margin: 16px 18px 6px; } .an-card span { color: var(--ink2); font-size: 14px; margin: 0 18px 18px; }
.an-grid { list-style: none; padding: 0; margin: 28px 0 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--ink); }
.an-grid li { padding: 22px 24px 24px 0; border-bottom: 1px solid var(--rule); }
.an-grid b { display: block; font: 400 21px/1.2 var(--serif); margin-bottom: 8px; } .an-grid span { color: var(--ink2); font-size: 15px; }
.an-next-sec { padding: 0 0 20px; }
.an-next { display: grid; grid-template-columns: auto 1fr auto; grid-template-areas: "k k i" "b e i"; gap: 4px 24px; align-items: center; padding: 28px 30px; border: 1px solid var(--rule); border-radius: 6px; background: #fff; color: var(--ink); text-decoration: none; transition: border-color .3s; }
.an-next:hover { border-color: var(--blue); }
.an-next span { grid-area: k; font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.an-next b { grid-area: b; font: 400 32px var(--serif); } .an-next em { grid-area: e; font-style: normal; color: var(--ink2); font-size: 15px; }
.an-next i { grid-area: i; font-style: normal; font-size: 28px; color: var(--blue); }
.an-final { overflow: hidden; } .an-final .body { margin-left: auto; margin-right: auto; }
.an-app { position: fixed; inset: 0; z-index: 200; display: flex; flex-direction: column; background: #fff; visibility: hidden; pointer-events: none; opacity: 0; transition: opacity .25s; }
.an-app.on { visibility: visible; pointer-events: auto; opacity: 1; }
.an-app iframe { flex: 1; width: 100%; border: 0; }
.an-bar { display: flex; align-items: center; gap: 16px; min-height: 44px; padding: env(safe-area-inset-top) max(12px, env(safe-area-inset-right)) 0 max(12px, env(safe-area-inset-left)); border-bottom: 1px solid var(--rule); background: var(--paper); font-size: 13px; }
.an-bar button { min-height: 44px; border: 0; background: none; color: var(--ink); font: 600 13px var(--sans); cursor: pointer; padding: 0 4px; }
.an-bar span { color: var(--grey); } .an-bar a { margin-left: auto; color: var(--ink2); text-decoration: none; }
.an-veil { position: absolute; inset: 45px 0 0; display: flex; align-items: center; justify-content: center; gap: 10px; background: #fff; color: var(--grey); font-size: 14px; transition: opacity .3s; }
.an-veil i { width: 18px; height: 18px; border: 2px solid var(--rule); border-top-color: var(--blue); border-radius: 50%; animation: an-spin .8s linear infinite; }
.an-veil.gone { opacity: 0; pointer-events: none; }
@keyframes an-spin { to { transform: rotate(360deg); } }
body.an-open { overflow: hidden; }
@media (max-width: 980px) {
  .an-two, .an-row { grid-template-columns: 1fr; gap: 32px; } .an-row.an-flip .an-row-copy { order: 0; }
  .an-chain { grid-template-columns: 1fr 1fr; } .an-defs, .an-grid { grid-template-columns: 1fr 1fr; }
  .an-three { grid-template-columns: 1fr; } .an-cards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
  .an-sub { top: 66px; } .an-chain, .an-defs, .an-grid, .an-cards { grid-template-columns: 1fr; }
  .an-chain li:not(:last-child)::after { content: "↓"; right: 0; }
  .an-qs li { flex-direction: column; gap: 4px; } .an-qs span { padding: 0; }
  .an-row { padding: 40px 0; } .an-bar span { display: none; }
  .an-next { grid-template-areas: "k i" "b i" "e e"; } .an-next b { font-size: 26px; }
}
@media (max-width: 420px) {
  .brand { flex-shrink: 0; font-size: 19px; gap: 8px; }
  .nav-cta .btn { font-size: 13px; } .nav-cta .btn span { display: none; }
}
/* analytics pages: grouped sub-nav, in-page jump links, the page's own findings and each chart's reading */
.an-sub-g { flex: none; display: flex; align-items: center; padding-left: 18px; border-left: 1px solid var(--rule); font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.an-sub-in { gap: 22px; }
.an-jump { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: 34px; padding-top: 18px; border-top: 1px solid var(--rule); }
.an-jump span { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--grey); }
.an-jump a { font-size: 15px; color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--rule); } .an-jump a:hover { color: var(--blue); border-color: var(--blue); }
section[id] { scroll-margin-top: 130px; }
.an-group { font: 600 12px var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--blue); margin: 44px 0 0; padding-top: 18px; border-top: 1px solid var(--ink); }
.an-group + .an-cards { margin-top: 18px; }
.an-month { background: var(--night); color: #fff; }
.an-month .kicker { color: var(--gold); } .an-month .h2 { color: #fff; } .an-month .an-small { color: rgba(255, 255, 255, .55); }
.an-finds { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 48px; counter-reset: f; }
.an-finds li { counter-increment: f; display: flex; gap: 16px; padding: 20px 0; border-top: 1px solid rgba(255, 255, 255, .16); font: 400 20px/1.4 var(--serif); }
.an-finds li::before { content: counter(f, decimal-leading-zero); flex: none; font: 600 12px/2.2 var(--sans); color: var(--gold); letter-spacing: .1em; }
.an-finds-link a { color: #fff; text-decoration: none; } .an-finds-link a:hover { color: #C9D6E8; }
.an-finds-link em { display: block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: rgba(255, 255, 255, .55); font-style: normal; margin-bottom: 6px; }
.an-reading { margin-top: 22px; padding: 16px 18px; background: #FBF5EF; border-left: 3px solid #C2581B; border-radius: 0 4px 4px 0; }
.an-reading span { display: block; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: #A9570C; margin-bottom: 8px; }
.an-reading ul { margin: 0; padding-left: 18px; } .an-reading li { color: var(--ink); font-size: 15px; margin: 4px 0; }
.an-defs-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .an-finds { grid-template-columns: 1fr; } .an-defs-4 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .an-defs-4 { grid-template-columns: 1fr; } .an-finds li { font-size: 18px; } }
/* the sub-nav marks the three groups with a divider; the hub's page map names them */
.an-sub-g { font-size: 0; padding-left: 0; letter-spacing: 0; } .an-sub-in { gap: 18px; } .an-sub a { font-size: 13.5px; }
@media (max-width: 1240px) { .an-sub-in { mask-image: linear-gradient(90deg, #000 88%, transparent); -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent); } }
/* the hub's showcase: group tabs, one large chart with its story, and a strip to step through the group */
.an-show { margin-top: 36px; }
.an-show-tabs { display: flex; gap: 4px; flex-wrap: wrap; border-bottom: 1px solid var(--rule); }
.an-show-tabs button { min-height: 46px; padding: 0 18px; border: 0; border-bottom: 2px solid transparent; margin-bottom: -1px; background: none; color: var(--ink2); font: 500 15px var(--sans); cursor: pointer; }
.an-show-tabs button em { font-style: normal; color: var(--grey); font-size: 12px; margin-left: 4px; }
.an-show-tabs button:hover { color: var(--ink); }
.an-show-tabs button[aria-selected="true"] { color: var(--blue); border-color: var(--blue); font-weight: 600; }
.an-show-stage { display: grid; grid-template-columns: 1.55fr 1fr; gap: 40px; align-items: center; margin-top: 28px; padding: 28px; background: #fff; border: 1px solid var(--rule); border-radius: 6px; box-shadow: 0 30px 60px -45px rgba(11, 28, 44, .45); }
.an-show-fig { margin: 0; display: grid; place-items: center; height: clamp(300px, 36vw, 520px); background: var(--paper); border: 1px solid var(--grid); border-radius: 4px; overflow: hidden; }
.an-show-fig img { max-width: 100%; max-height: 100%; object-fit: contain; transition: opacity .16s, transform .3s var(--ease); }
.an-show-fig img.swap { opacity: 0; transform: scale(.985); }
.an-show-copy h3 { font: 400 clamp(30px, 3vw, 40px)/1.1 var(--serif); margin: 0 0 14px; }
.an-show-copy .body { font-size: 16px; }
.an-show-copy .an-reading p { margin: 0; color: var(--ink); font-size: 15px; }
.an-show-acts { display: flex; align-items: center; gap: 14px; margin-top: 24px; flex-wrap: wrap; }
.an-show-arrows { display: flex; gap: 8px; margin-left: auto; }
.an-show-arrows button { width: 44px; height: 44px; border: 1px solid var(--rule); border-radius: 4px; background: #fff; color: var(--ink); font-size: 18px; cursor: pointer; }
.an-show-arrows button:hover { border-color: var(--blue); color: var(--blue); }
.an-show-strip { display: flex; gap: 12px; margin-top: 18px; padding: 4px 2px 10px; overflow-x: auto; scroll-snap-type: x proximity; }
.an-show-item { flex: 0 0 168px; scroll-snap-align: start; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: 4px; overflow: hidden; color: var(--ink); text-decoration: none; transition: border-color .2s, transform .2s var(--ease); }
.an-show-item[hidden] { display: none; }
.an-show-item img { height: 84px; object-fit: cover; object-position: top left; border-bottom: 1px solid var(--grid); opacity: .75; transition: opacity .2s; }
.an-show-item span { padding: 8px 10px 10px; font: 500 14px/1.25 var(--sans); }
.an-show-item em { display: block; font: 600 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: var(--grey); font-style: normal; margin-bottom: 3px; }
.an-show-item:hover { border-color: var(--blue); } .an-show-item:hover img { opacity: 1; }
.an-show-item[aria-current] { border-color: var(--blue); box-shadow: inset 0 -3px 0 var(--blue); } .an-show-item[aria-current] img { opacity: 1; }
@media (max-width: 980px) { .an-show-stage { grid-template-columns: 1fr; gap: 24px; padding: 18px; } .an-show-fig { height: auto; aspect-ratio: 16 / 10; } }
@media (max-width: 620px) { .an-show-tabs { flex-wrap: nowrap; overflow-x: auto; } .an-show-tabs button { flex: none; padding: 0 12px; } .an-show-item { flex-basis: 140px; } .an-show-copy .body { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; } }

/* analytics hub: demo figures in the hero, reading-to-action chain, role and industry tabs, comparison */
.an-proof { display: grid; grid-template-columns: repeat(3, 1fr); margin-top: 40px; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--rule); }
.an-proof a { padding: 20px 22px 20px 0; text-decoration: none; color: var(--ink); border-right: 1px solid var(--rule); }
.an-proof a + a { padding-left: 22px; } .an-proof a:nth-child(3) { border-right: 0; }
.an-proof b { display: block; font: 400 clamp(26px, 3vw, 36px)/1.1 var(--serif); } .an-proof span { display: block; margin-top: 6px; font-size: 14px; color: var(--ink2); }
.an-proof a:hover b { color: var(--blue); }
.an-proof p { grid-column: 1 / -1; margin: 0; padding: 10px 0; font-size: 12px; color: var(--grey); border-top: 1px solid var(--grid); }
.an-act-sec, .an-role-sec, .an-cmp-sec { padding: clamp(64px, 9vw, 112px) 0; }
.an-act { list-style: none; padding: 0; margin: 36px 0 0; display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--ink); }
.an-act li { position: relative; padding: 22px 20px 22px 0; border-right: 1px solid var(--rule); }
.an-act li + li { padding-left: 20px; } .an-act li:last-child { border-right: 0; }
.an-act li:not(:last-child)::after { content: "→"; position: absolute; right: -9px; top: 22px; background: var(--paper); color: var(--blue); font-size: 14px; line-height: 1; padding: 2px 0; }
.an-act i { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); color: #fff; font: 600 12px var(--sans); font-style: normal; }
.an-act em { display: block; margin: 14px 0 6px; font: 600 11px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); font-style: normal; }
.an-act b { display: block; font: 400 19px/1.3 var(--serif); margin-bottom: 8px; } .an-act span { display: block; font-size: 14px; color: var(--ink2); }
.an-tabs { margin-top: 32px; }
.an-tabs-bar { display: flex; gap: 6px; border-bottom: 1px solid var(--rule); overflow-x: auto; }
.an-tabs-bar button { flex: none; appearance: none; border: 0; background: none; padding: 12px 16px; font: 500 15px var(--sans); color: var(--ink2); cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; }
.an-tabs-bar button[aria-selected="true"] { color: var(--ink); border-bottom-color: var(--blue); }
.an-tabs-bar button:hover { color: var(--blue); }
.an-tabs-panel { padding-top: 28px; }
.an-role { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: start; }
.an-role .an-big { margin: 0; }
.an-role ol { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--ink); }
.an-role li { display: flex; justify-content: space-between; gap: 18px; padding: 16px 0; border-bottom: 1px solid var(--rule); }
.an-role li b { font: 400 18px/1.35 var(--serif); } .an-role li a { flex: none; font-size: 14px; font-weight: 600; text-decoration: none; }
.an-ind { display: grid; grid-template-columns: 1.5fr 1fr; gap: clamp(24px, 4vw, 56px); align-items: center; }
.an-ind .an-shot { margin: 0; }
.an-ind h3 { font: 400 clamp(24px, 2.4vw, 30px)/1.2 var(--serif); margin: 0 0 12px; }
.an-ind-copy p:not(.kicker) { color: var(--ink2); margin: 0 0 16px; }
.an-ind-copy .kicker { margin-bottom: 14px; letter-spacing: .12em; }
.an-ind ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 8px; font-size: 15px; color: var(--ink2); }
.an-ind li::before { content: ""; display: inline-block; width: 14px; height: 2px; background: var(--blue); vertical-align: middle; margin-right: 10px; }
.an-cmp table { min-width: 760px; }
.an-cmp thead th:nth-child(2) { color: var(--blue); }
.an-cmp td.yes { color: var(--ink); font-weight: 600; background: rgba(36, 87, 214, .05); padding-left: 14px; }
.an-cmp thead th:nth-child(2) { padding-left: 14px; }
.an-cmp tbody th { white-space: normal; font-size: 17px; }
@media (max-width: 980px) {
  .an-act { grid-template-columns: 1fr; }
  .an-act li, .an-act li + li { padding: 18px 0 18px 0; border-right: 0; border-bottom: 1px solid var(--rule); }
  .an-act li:not(:last-child)::after { content: "↓"; right: auto; left: 34px; top: 24px; }
  .an-role, .an-ind { grid-template-columns: 1fr; }
}
@media (max-width: 620px) {
  .an-proof { grid-template-columns: 1fr; }
  .an-proof a, .an-proof a + a { padding: 16px 0; border-right: 0; border-bottom: 1px solid var(--grid); }
  .an-role li { flex-direction: column; gap: 6px; }
}

/* hub: "Who it's for" (industries, then roles as four short columns; stacked and collapsed on a phone) */
.an-roles-h { margin: 56px 0 4px; font: 400 24px var(--serif); }
.an-roles { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 18px; border-top: 1px solid var(--ink); }
.an-roles details { padding: 14px 18px 18px 0; border-bottom: 1px solid var(--rule); }
.an-roles summary { font: 600 12px var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--blue); cursor: pointer; list-style: none; }
.an-roles summary::-webkit-details-marker { display: none; }
.an-roles details p { margin: 10px 0 12px; color: var(--ink2); font-size: 15px; line-height: 1.5; }
.an-roles ol { margin: 0; padding: 0; list-style: none; display: grid; gap: 10px; }
.an-roles li { display: grid; gap: 2px; font-size: 14px; } .an-roles li a { font-weight: 600; }
.an-roles li span { color: var(--grey); }
@media (min-width: 701px) { .an-roles summary { pointer-events: none; } }
@media (max-width: 980px) { .an-roles { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px) { .an-roles { grid-template-columns: 1fr; } .an-roles summary::after { content: "+"; float: right; } .an-roles details[open] summary::after { content: "–"; } }

/* the hero shows at once (the supporting sections still fade in as they are scrolled to) */
.an-hero [data-reveal] { transition-duration: .35s; transition-delay: 0s; }
/* while the app is open the page behind it is not drawn, so nothing shows through the fade */
body.an-open .nav, body.an-open main, body.an-open .an-sub, body.an-open footer { visibility: hidden; }
.an-app.instant { transition: none; }
@media (min-width: 701px) { .an-roles summary::after { display: none !important; } }

/* Related pages, About, Contact, Changelog (19 Nov 2026 SEO pass) */
.h3 { font: 400 24px/1.25 var(--serif); margin: 36px 0 10px; }
.an-rel { list-style: none; padding: 0; margin: 12px 0 0; display: flex; flex-wrap: wrap; gap: 8px 24px; }
.an-rel li { font-size: 16px; color: var(--ink2); }
.an-rel a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.an-log { grid-template-columns: 1fr; max-width: 760px; }
.an-log dd time { font-weight: 600; }
