/* Nucleus Studio website — Nucleus night/navy with cyan, Studio amber, Nucleus red CTA.
   Layout: dark hero with the nucleus band (CrossFit, Gym, Academy orbiting), belt-rank stripe, three discipline cards, easy-vs-heavy split, key card, pricing, sign-up. */
.site { background: var(--bg); --cond: 'Archivo', 'Arial Narrow', 'Inter', system-ui, sans-serif; --plate-navy: #123044; --plate-cyan: #0e7490; --plate-amber: #b45309; }
.wrap { width: min(1140px, calc(100% - 32px)); margin: 0 auto; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; }
.center { text-align: center; }
.eyebrow { font: 800 12.5px/1 var(--display); letter-spacing: .18em; text-transform: uppercase; color: var(--accent); }
.eyebrow.dark { color: var(--accent-ink); }

/* nav */
.nav { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 20; background: rgba(7, 19, 28, .94); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.nav-in { display: flex; align-items: center; gap: 14px; min-height: 64px; }
.nav .brand { color: #fff; }
.nav .links { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.nav .links a:not(.btn) { color: #cfe3ee; text-decoration: none; font: 700 14.5px var(--display); padding: 9px 11px; border-radius: 9px; }
.nav .links a:not(.btn):hover { background: rgba(255, 255, 255, .08); color: #fff; }
@media (max-width: 760px) { .nav .links a:not(.btn):not(.signin) { display: none; } }

/* hero */
.hero { position: relative; color: #fff; overflow: hidden;
  background: radial-gradient(760px 420px at 85% 10%, rgba(245, 158, 11, .17), transparent 62%), radial-gradient(640px 380px at 0% 100%, rgba(34, 211, 238, .12), transparent 60%), linear-gradient(180deg, var(--night), var(--navy)); }
.hero::before { content: ''; position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgba(255, 255, 255, .03) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .03) 1px, transparent 1px); background-size: 44px 44px;
  -webkit-mask-image: linear-gradient(180deg, #000, transparent 80%); mask-image: linear-gradient(180deg, #000, transparent 80%); }
.hero-in { position: relative; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: center; padding: 64px 0 28px; }
@media (max-width: 880px) { .hero-in { grid-template-columns: 1fr; padding: 40px 0 16px; } .phone { display: none; } }
.hero h1 { margin: 16px 0 18px; font-family: var(--cond); font-weight: 900; text-transform: uppercase; letter-spacing: -.005em; line-height: .98; }
.hero h1 span { display: block; font-stretch: 75%; }
.h1-a { font-size: clamp(30px, 4.4vw, 50px); color: #cfe3ee; font-weight: 800; }
.h1-b { font-size: clamp(42px, 7vw, 82px); color: #fff; }
.hero h1 em { font-style: normal; color: var(--accent); }
.lead { font-size: clamp(17px, 1.7vw, 19.5px); color: #c7dbe6; max-width: 580px; margin: 0 0 24px; }
.ctas { gap: 12px; }
.btn.ghost.light { color: #fff; border-color: rgba(255, 255, 255, .35); }
.btn.ghost.light:hover { border-color: var(--cyan); }
.fine { color: #9fb9c8; font-size: 14px; margin: 16px 0 0; }
.fine.light { color: #9fb9c8; }

/* key card phone */
.phone { justify-self: center; width: 250px; height: 486px; border-radius: 38px; background: #0b1117; padding: 12px; box-shadow: 0 30px 80px rgba(0, 0, 0, .5), inset 0 0 0 2px #22313d; }
.phone-in { height: 100%; border-radius: 28px; background: radial-gradient(260px 160px at 100% 0%, rgba(14, 116, 144, .55), transparent 70%), linear-gradient(160deg, #102a3a, #07131c); display: flex; flex-direction: column; align-items: center; padding: 24px 16px; text-align: center; }
.ph-gym { font: 800 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--accent); }
.ph-name { font: 900 26px var(--display); margin: 6px 0 6px; }
.ph-belt { display: flex; align-items: center; gap: 8px; color: #9fb9c8; font-size: 12px; margin-bottom: 14px; }
.ph-belt i { width: 46px; height: 9px; border-radius: 2px; background: linear-gradient(90deg, #1d4ed8 0 70%, #111 70% 100%); box-shadow: inset -7px 0 0 -4px #fff, inset -13px 0 0 -10px #fff; }
.ph-qr { background: #fff; border-radius: 16px; padding: 12px; }
.ph-qr canvas { display: block; width: 180px; height: 180px; image-rendering: pixelated; }
.ph-bar { width: 180px; height: 5px; border-radius: 5px; background: rgba(255, 255, 255, .15); margin: 14px 0 10px; overflow: hidden; }
.ph-bar i { display: block; height: 100%; background: var(--accent); width: 100%; }
.ph-note { color: #9fb9c8; font-size: 13px; }

/* the nucleus band — CrossFit, Gym and Academy orbiting one engine, the chores we lift on either side */
.orbit-band { position: relative; display: grid; grid-template-columns: 1fr minmax(260px, 400px) 1fr; align-items: center; gap: 20px; padding: 8px 0 30px; }
.orbit { width: 100%; }
.orbit svg { width: 100%; aspect-ratio: 1 / 1; height: auto; overflow: visible; display: block; }
.orb-ring { fill: none; stroke: rgba(103, 232, 249, .30); stroke-width: 1.4; }
.orb-glow { fill: rgba(34, 211, 238, .14); }
.orb-logo { filter: drop-shadow(0 10px 28px rgba(34, 211, 238, .35)); transform-origin: 200px 200px; animation: orbFloat 6s ease-in-out infinite; }
.orb-hit { fill: transparent; }
.orb-dot { stroke: #07131c; stroke-width: 3; filter: drop-shadow(0 0 8px currentColor); transition: r .15s; }
.orb-shine { fill: rgba(255, 255, 255, .75); pointer-events: none; }
.orb-back .orb-dot { opacity: .9; }
.orb-link { cursor: pointer; outline: none; }
.orb-link:hover .orb-dot, .orb-link:focus-visible .orb-dot { r: 14; }
.orb-link:hover .orb-lbl, .orb-link:focus-visible .orb-lbl { fill: var(--cyan); text-decoration: underline; }
.orb-link:focus-visible .orb-hit { stroke: var(--cyan); stroke-width: 2; stroke-dasharray: 4 4; }
.orb-lbl { font: 800 15px var(--display); fill: #e6f6fb; letter-spacing: .02em; paint-order: stroke; stroke: #07131c; stroke-width: 4px; stroke-linejoin: round; }
.orb-legend { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-top: 8px; }
.orb-legend a { display: inline-flex; align-items: center; gap: 7px; color: #cfe3ee; text-decoration: none; font: 700 13.5px var(--display); }
.orb-legend a:hover { color: var(--cyan); } .orb-legend i { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.pulse { transform-origin: 200px 200px; animation: orbPulse 3.2s ease-in-out infinite; }
@keyframes orbFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@keyframes orbPulse { 0%, 100% { opacity: .55; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@media (prefers-reduced-motion: reduce) { .orb-logo, .pulse { animation: none; } }
.chores { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.chores.l { align-items: flex-end; } .chores.r { align-items: flex-start; }
.chores li { font: 800 13px var(--display); letter-spacing: .14em; text-transform: uppercase; color: #fff; padding: 9px 16px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .14); background: rgba(18, 48, 68, .85); }
.chores li:nth-child(2) { background: rgba(14, 116, 144, .85); } .chores li:nth-child(3) { background: rgba(180, 83, 9, .85); }
.chores.l li:nth-child(2), .chores.r li:nth-child(2) { margin: 0 18px; }
.bar-cap { grid-column: 1 / -1; margin: 6px 0 0; text-align: center; color: #9fb9c8; font: 700 13px var(--display); letter-spacing: .16em; text-transform: uppercase; }
@media (max-width: 760px) {
  .orbit-band { grid-template-columns: 1fr 1fr; gap: 14px; }
  .orbit { grid-column: 1 / -1; grid-row: 1; max-width: 320px; margin: 0 auto; }
  .chores { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 8px; grid-column: 1 / -1; }
  .chores.l, .chores.r { align-items: center; } .chores li { padding: 7px 12px; font-size: 11.5px; } .chores.l li:nth-child(2), .chores.r li:nth-child(2) { margin: 0; }
}

/* belt-rank stripe */
.belts { display: grid; grid-template-columns: repeat(5, 1fr); height: 8px; }
.belts i { display: block; } .belts .w { background: #e8eef2; } .belts .b { background: #1d4ed8; } .belts .p { background: #6d28d9; } .belts .br { background: #78350f; } .belts .bk { background: #0b0f13; box-shadow: inset -40px 0 0 0 var(--red); }

/* sections */
.sec { padding: 76px 0; }
.sec-h { max-width: 700px; margin-bottom: 30px; }
.sec-h h2, .sec h2 { font: 900 clamp(28px, 3.6vw, 42px)/1.08 var(--display); margin: 10px 0 8px; text-wrap: balance; }

/* three disciplines */
.disc { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 900px) { .disc { grid-template-columns: 1fr; } }
.d-card { position: relative; background: var(--card); border: 1px solid var(--line); border-radius: 18px; padding: 24px 22px 20px; display: flex; flex-direction: column; gap: 8px; overflow: hidden; }
.d-card::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 5px; background: var(--d); }
.d-strength { --d: var(--plate-cyan); } .d-mind { --d: var(--accent); } .d-warrior { --d: var(--red); }
.d-ic { width: 44px; height: 44px; fill: var(--d); stroke: var(--d); }
.d-tag { font: 800 12px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.d-card h3 { font: 900 22px/1.15 var(--display); }
.d-card p { margin: 0; color: var(--ink2); }
.d-card ul { margin: 6px 0 0; padding: 0; list-style: none; display: grid; gap: 4px; }
.d-card li { padding-left: 18px; position: relative; font-size: 14.5px; color: var(--ink2); }
.d-card li::before { content: ''; position: absolute; left: 2px; top: .62em; width: 7px; height: 7px; border-radius: 2px; background: var(--d); }

/* easy vs heavy */
.split-sec { background: linear-gradient(180deg, var(--bg), var(--card)); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 16px; align-items: stretch; }
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.side { border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 14px; min-width: 0; }
.side-h { display: flex; flex-direction: column; gap: 4px; }
.side-k { font: 900 26px/1.05 var(--cond); font-stretch: 78%; text-transform: uppercase; letter-spacing: .01em; }
.side-w { font-size: 14px; }
.side ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 12px; }
.side li { padding-left: 30px; position: relative; }
.easy { background: var(--card); border: 1px solid var(--line); }
.easy .side-k { color: var(--ink); } .easy .side-w { color: var(--muted); }
.easy li { color: var(--ink2); } .easy li b { color: var(--ink); }
.easy li::before { content: ''; position: absolute; left: 0; top: .35em; width: 16px; height: 16px; border-radius: 50%; border: 3px solid var(--accent); }
.heavy { background: linear-gradient(160deg, #0c1f2c, #07131c); color: #cfe3ee; box-shadow: var(--shadow); }
.heavy .side-k { color: #fff; }
.heavy .side-w { color: #8fb3c4; }
.heavy li b { color: #fff; }
.heavy li::before { content: ''; position: absolute; left: 0; top: .2em; width: 20px; height: 20px; border-radius: 4px; background: linear-gradient(90deg, var(--plate-amber) 0 30%, transparent 30% 38%, var(--plate-cyan) 38% 68%, transparent 68% 76%, var(--plate-navy) 76%); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .15); }

/* key card section */
.sec.dark { background: var(--night); color: #fff; }
.kc-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; }
@media (max-width: 860px) { .kc-in { grid-template-columns: 1fr; } }
.lead2 { color: #c7dbe6; font-size: 17.5px; }
.steps { padding-left: 20px; color: #c7dbe6; } .steps li { margin-bottom: 10px; } .steps b { color: #fff; }
.kiosk-demo { background: #0f2533; border-radius: 22px; padding: 18px; border: 1px solid #22394a; }
.kd-top { color: #8fb3c4; font: 700 13px var(--display); margin-bottom: 14px; }
.kd-ok { background: #065f46; border-radius: 16px; padding: 28px 18px; text-align: center; color: #fff; }
.kd-av { width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .18); display: grid; place-items: center; margin: 0 auto 10px; font: 900 24px var(--display); }
.kd-ok b { display: block; font: 900 28px var(--display); } .kd-ok span { color: #a7f3d0; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-bottom: 14px; }
@media (max-width: 900px) { .prices { grid-template-columns: 1fr 1fr; } } @media (max-width: 520px) { .prices { grid-template-columns: 1fr; } }
.price { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 20px; position: relative; overflow: hidden; }
.price::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 5px; background: var(--plate-navy); }
.price:nth-child(2)::before { background: var(--plate-cyan); } .price:nth-child(3)::before { background: var(--accent); } .price:nth-child(4)::before { background: var(--red); }
.price small { font: 800 12px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.price b { display: block; font: 900 36px var(--display); margin: 6px 0 2px; font-variant-numeric: tabular-nums; } .price b span { font-size: 15px; color: var(--muted); font-weight: 700; }
.price .up { color: var(--ink2); font-size: 14.5px; } .price .fd { margin-top: 8px; font-size: 13px; color: var(--accent-ink); font-weight: 700; }

/* start + faq + footer */
.start { background: linear-gradient(180deg, var(--bg), var(--card)); }
.start-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 36px; align-items: start; }
@media (max-width: 860px) { .start-in { grid-template-columns: 1fr; } }
.ticks { padding-left: 0; list-style: none; } .ticks li { padding-left: 26px; position: relative; margin-bottom: 8px; } .ticks li::before { content: '✓'; position: absolute; left: 0; color: var(--green-ink); font-weight: 900; }
.callbox { margin-top: 24px; border: 1.5px dashed var(--line); border-radius: 14px; padding: 14px 16px; }
.callbox p { margin: 4px 0 10px; }
.form h3 { font-size: 22px; margin-bottom: 12px; }
.types { margin: 6px 0 14px; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px 16px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font: 800 16px var(--display); } .faq details p { margin: 10px 0 0; color: var(--ink2); }
.foot { background: var(--night); color: #cfe3ee; padding: 34px 0; border-top: 8px solid; border-image: linear-gradient(90deg, #e8eef2 0 20%, #1d4ed8 20% 40%, #6d28d9 40% 60%, #78350f 60% 80%, #0b0f13 80%) 1; }
.foot .brand { color: #fff; }
.foot-in { display: flex; gap: 24px; justify-content: space-between; flex-wrap: wrap; }
.foot .muted { color: #8fa6b4; }
.links2 { display: grid; gap: 6px; } .links2 a { color: #cfe3ee; text-decoration: none; }
.done-card { text-align: center; padding: 28px 10px; }

/* fitness + martial arts under one roof */
.combo { margin-top: 16px; display: flex; gap: 16px; align-items: center; background: var(--card); border: 1px dashed var(--line); border-radius: 18px; padding: 16px 18px; }
.combo b { display: block; font: 800 17px var(--display); } .combo span { color: var(--ink2); font-size: 15px; }
.combo-mark { position: relative; width: 56px; height: 40px; flex: none; }
.combo-mark i { position: absolute; top: 4px; width: 32px; height: 32px; border-radius: 50%; }
.combo-mark .c1 { left: 0; background: var(--plate-cyan); } .combo-mark .c2 { left: 22px; background: var(--red); mix-blend-mode: multiply; opacity: .9; }
@media (max-width: 560px) { .combo { flex-direction: column; align-items: flex-start; } }

/* A to Z */
.az { background: var(--card); }
.lead2.dk { color: var(--ink2); }
.az-path { list-style: none; margin: 0 0 28px; padding: 0; display: grid; grid-template-columns: repeat(8, 1fr); gap: 6px; counter-reset: az; }
.az-path li { position: relative; background: var(--bg); border: 1px solid var(--line); border-radius: 12px; padding: 12px 10px 10px; counter-increment: az; }
.az-path li::before { content: counter(az); position: absolute; top: -10px; left: 10px; width: 22px; height: 22px; border-radius: 50%; background: var(--accent); color: #1f1306; font: 900 12px/22px var(--display); text-align: center; }
.az-path b { display: block; font: 800 15px var(--display); } .az-path span { font-size: 12.5px; color: var(--muted); }
@media (max-width: 980px) { .az-path { grid-template-columns: repeat(4, 1fr); row-gap: 16px; } }
@media (max-width: 520px) { .az-path { grid-template-columns: 1fr 1fr; } }
.feat6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .feat6 { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .feat6 { grid-template-columns: 1fr; } }
.f-card { border: 1px solid var(--line); border-radius: 16px; padding: 18px; background: var(--bg); }
.f-card h3 { font-size: 18px; margin: 6px 0; } .f-card p { margin: 0; color: var(--ink2); font-size: 15px; } .f-ic { font-size: 28px; }
/* security */
.sec-security { background: radial-gradient(700px 300px at 90% 0%, rgba(34, 211, 238, .12), transparent 70%), var(--night); }
.sec6 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
@media (max-width: 900px) { .sec6 { grid-template-columns: 1fr 1fr; } } @media (max-width: 560px) { .sec6 { grid-template-columns: 1fr; } }
.s-card { border: 1px solid rgba(255, 255, 255, .1); border-radius: 16px; padding: 18px; background: rgba(255, 255, 255, .04); }
.s-card h3 { color: #fff; font-size: 17px; margin-bottom: 6px; } .s-card p { margin: 0; color: #a9c1cf; font-size: 14.5px; }
.own-band { margin-top: 22px; background: #fff; color: #0f172a; border-radius: 18px; padding: 20px 22px; display: grid; grid-template-columns: 1fr 1.4fr auto; gap: 18px; align-items: center; }
.own-band b { font: 900 18px var(--display); } .own-band p { margin: 4px 0 0; color: #475569; font-size: 14px; }
.own-band ul { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 14px; font-size: 14px; color: #334155; } .own-band ul b { font: 800 14px var(--body); color: #0f172a; }
@media (max-width: 860px) { .own-band { grid-template-columns: 1fr; } .own-band ul { grid-template-columns: 1fr; } }
.d-card { scroll-margin-top: 84px; }
