/* ============================================================
   AXEON STUDIO — SHARED STYLESHEET
   style.css · All pages
   ============================================================ */

/* ── Reset & Tokens ── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg:  #f2f0eb;
  --bg2: #ebe9e3;
  --bk:  #0d0d0d;
  --bkm: #2a2a2a;
  --bkl: #5a5a5a;
  --bl:  #1a4aff;
  --bld: #091b6e;
  --blp: rgba(26, 74, 255, .08);
  --br:  rgba(13, 13, 13, .12);
  --fd: 'Bebas Neue', sans-serif;
  --fb: 'DM Sans', sans-serif;
  --fm: 'DM Mono', monospace;
}

html, body {
  scroll-behavior: smooth;
}

html {
  cursor: none;
}

body {
  background: var(--bg);
  color: var(--bk);
  font-family: var(--fb);
  font-weight: 300;
  overflow-x: hidden;
  cursor: none;
}

a, button, input, label, [role="button"] {
  cursor: none !important;
}

/* ── Custom Cursor ── */
#cur {
  position: fixed;
  width: 10px;
  height: 10px;
  background: var(--bl);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100010;
  margin: -5px 0 0 -5px;
}

#cur-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(26, 74, 255, .6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 100009;
  margin: -18px 0 0 -18px;
  transition: width .25s, height .25s, margin .25s;
}

body.ch #cur {
  width: 6px;
  height: 6px;
  margin: -3px 0 0 -3px;
}

body.ch #cur-ring {
  width: 54px;
  height: 54px;
  margin: -27px 0 0 -27px;
}

/* ── Scroll Reveal ── */
.rv  { opacity: 0; transform: translateY(24px);  transition: opacity .7s,  transform .7s; }
.rvl { opacity: 0; transform: translateX(-30px); transition: opacity .75s, transform .75s; }
.rvr { opacity: 0; transform: translateX(30px);  transition: opacity .75s, transform .75s; }
.rv.in, .rvl.in, .rvr.in { opacity: 1; transform: none; }

/* ── Navigation ── */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 52px;
  height: 64px;
  background: rgba(242, 240, 235, .97);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
nav.scrolled {
  border-bottom-color: var(--br);
  box-shadow: 0 1px 24px rgba(13,13,13,.04);
}

/* Homepage nav starts hidden, revealed after intro */
nav.hidden-until-go {
  opacity: 0;
  transition: opacity .6s .1s;
}
nav.hidden-until-go.on {
  opacity: 1;
}

/* Logo */
.nlogo {
  font-family: var(--fd);
  font-size: 24px;
  letter-spacing: .09em;
  color: var(--bk);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 7px;
  flex-shrink: 0;
}
.nlogo em { color: var(--bl); font-style: normal; }
.nlogo-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--bl);
  box-shadow: 0 0 6px rgba(26,74,255,.7);
  animation: nav-dot-pulse 2.8s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes nav-dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(.7); }
}

/* Links */
.nlinks {
  display: flex;
  gap: 2px;
  list-style: none;
  align-items: center;
}
.nlinks li { position: relative; }
.nlinks a {
  font-family: var(--fm);
  font-size: 10px;
  color: var(--bkl);
  text-decoration: none;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 6px 13px;
  border-radius: 20px;
  transition: color .2s, background .2s;
  display: block;
  position: relative;
  z-index: 1;
}
.nlinks a:hover { color: var(--bk); background: rgba(13,13,13,.05); }
.nlinks a.act   { color: var(--bk); }
/* Active pill — slides behind links */
.nav-pill {
  position: absolute;
  background: rgba(26,74,255,.09);
  border-radius: 20px;
  pointer-events: none;
  transition: left .3s cubic-bezier(.22,1,.36,1), width .3s cubic-bezier(.22,1,.36,1), top .3s, height .3s;
  z-index: 0;
}

/* CTA */
.ncta {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: #fff;
  text-decoration: none;
  background: var(--bl);
  border: 1.5px solid var(--bl);
  padding: 8px 20px;
  border-radius: 20px;
  transition: background .25s, box-shadow .25s;
  flex-shrink: 0;
  box-shadow: 0 0 0 0 rgba(26,74,255,0);
}
.ncta:hover {
  background: var(--bld);
  box-shadow: 0 4px 18px rgba(26,74,255,.35);
}

/* ── Shared Layout ── */
.pad      { padding: 100px 60px; }
.pad-sm   { padding: 72px 60px; }
.section-pad { padding: 120px 60px; }

.ey {
  font-family: var(--fm);
  font-size: 10px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--bl);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.ey::before { content: ''; width: 20px; height: 1px; background: var(--bl); }

.sh2 {
  font-family: var(--fd);
  font-size: clamp(44px, 5.5vw, 82px);
  line-height: .93;
  color: var(--bk);
}
.sh2 em { color: var(--bl); font-style: normal; }

.sh2-wh {
  font-family: var(--fd);
  font-size: clamp(44px, 5.5vw, 82px);
  line-height: .93;
  color: #f2f0eb;
}
.sh2-wh em { color: var(--bl); font-style: normal; }

.sb {
  font-size: 15px;
  line-height: 1.8;
  color: var(--bkl);
  max-width: 480px;
}

.sec-hdr {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 64px;
}

/* tcol is the homepage variant of sec-hdr */
.tcol {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: end;
  margin-bottom: 66px;
}

/* ── Buttons ── */
.btn-primary {
  background: #f2f0eb;
  color: var(--bk);
  text-decoration: none;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 16px 34px;
  white-space: nowrap;
  transition: background .2s;
  display: inline-block;
}
.btn-primary:hover { background: #fff; }

.bwh {
  background: var(--bg);
  color: var(--bk);
  text-decoration: none;
  font-family: var(--fm);
  font-size: 11px;
  letter-spacing: .13em;
  text-transform: uppercase;
  padding: 15px 32px;
  white-space: nowrap;
  flex-shrink: 0;
  transition: background .2s;
  display: inline-block;
}
.bwh:hover { background: #fff; }

/* ── Footer ── */
footer {
  padding: 50px 60px 38px;
  border-top: 1px solid var(--br);
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 32px;
  background: var(--bg);
}

.flogo { font-family: var(--fd); font-size: 24px; letter-spacing: .08em; color: var(--bk); }
.flogo em { color: var(--bl); font-style: normal; }
.ftag { font-size: 13px; color: var(--bkl); margin-top: 8px; line-height: 1.7; max-width: 210px; }

.fct {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .21em;
  text-transform: uppercase;
  color: var(--bl);
  margin-bottom: 14px;
}

.fl { list-style: none; }
.fl li { margin-bottom: 8px; }
.fl a { font-size: 13px; color: var(--bkl); text-decoration: none; transition: color .2s; }
.fl a:hover { color: var(--bk); }

.fb {
  padding: 16px 60px;
  border-top: 1px solid var(--br);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--bg);
}

.fcp { font-family: var(--fm); font-size: 10px; letter-spacing: .1em; color: var(--bkl); }

.fsoc { display: flex; gap: 18px; }
.fsoc a {
  font-family: var(--fm);
  font-size: 9px;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--bkl);
  text-decoration: none;
  transition: color .2s;
}
.fsoc a:hover { color: var(--bl); }

/* ── CTA Section (shared across pages) ── */
.cta-section {
  background: var(--bld);
  position: relative;
  overflow: hidden;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
}

.cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 52px;
}

.cta-t {
  font-family: var(--fd);
  font-size: clamp(38px, 5vw, 72px);
  line-height: .91;
  color: #f2f0eb;
}

.cta-sub {
  font-size: 15px;
  color: rgba(242, 240, 235, .42);
  margin-top: 14px;
  line-height: 1.8;
  max-width: 440px;
}
.cta-sub strong { color: rgba(242, 240, 235, .72); font-weight: 400; }

/* Homepage CTA variant */
.cta {
  background: var(--bld);
  position: relative;
  overflow: hidden;
}
.ctabg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.ctain {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 52px;
}
.ctat {
  font-family: var(--fd);
  font-size: clamp(36px, 4.8vw, 68px);
  line-height: .93;
  color: #f2f0eb;
}
.ctad {
  font-size: 15px;
  color: rgba(242, 240, 235, .44);
  margin-top: 13px;
  line-height: 1.75;
  max-width: 440px;
}

/* ── Marquee ── */
.mqw {
  border-top: 1px solid var(--br);
  border-bottom: 1px solid var(--br);
  overflow: hidden;
  padding: 13px 0;
  background: var(--bk);
}
.mqt { display: flex; width: max-content; }
.mqi {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
  font-family: var(--fd);
  font-size: 14px;
  letter-spacing: .08em;
  color: rgba(242, 240, 235, .34);
  white-space: nowrap;
  flex-shrink: 0;
}
.mqp { width: 5px; height: 5px; background: var(--bl); border-radius: 50%; flex-shrink: 0; }

/* ============================================================
   RESPONSIVE — SHARED (style.css)
   Breakpoints: 1024px (tablet-landscape), 768px (tablet), 480px (mobile)
   ============================================================ */

/* ── Hamburger menu (mobile nav) ── */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 100001;
  cursor: none !important;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--bk);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.nav-toggle.open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.nav-toggle.open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

/* ── 1200px — large tablet / small laptop ── */
@media (max-width: 1200px) {
  nav { padding: 20px 40px; }
  .pad         { padding: 80px 40px; }
  .pad-sm      { padding: 60px 40px; }
  .section-pad { padding: 90px 40px; }
  footer { padding: 44px 40px 32px; }
  .fb    { padding: 14px 40px; }
}

/* ── 1024px — tablet landscape ── */
@media (max-width: 1024px) {
  nav { padding: 18px 32px; }
  .nlinks { gap: 22px; }
  .pad         { padding: 72px 32px; }
  .pad-sm      { padding: 52px 32px; }
  .section-pad { padding: 80px 32px; }
  .tcol, .sec-hdr { grid-template-columns: 1fr; gap: 18px; margin-bottom: 48px; }
  footer { grid-template-columns: 1fr 1fr; gap: 28px; padding: 40px 32px 28px; }
  .fb    { padding: 14px 32px; flex-direction: column; gap: 10px; text-align: center; }
  .fsoc  { justify-content: center; }
  .cta-inner, .ctain { grid-template-columns: 1fr; gap: 28px; }
  .bwh { align-self: flex-start; }
}

/* ── 768px — tablet portrait ── */
@media (max-width: 768px) {
  html { cursor: auto; }
  body { cursor: auto; }
  a, button, input, label, [role="button"] { cursor: auto !important; }
  #cur, #cur-ring { display: none; }

  nav {
    padding: 16px 24px;
    position: sticky;
    top: 0;
    z-index: 100001;
    background: rgba(242,240,235,.99);
  }

  /* Ensure homepage nav is always visible on mobile, even with hidden-until-go class */
  nav.hidden-until-go {
    opacity: 1 !important;
  }

  .nlinks {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg);
    z-index: 100000;
    align-items: center;
    justify-content: flex-start;
    padding: 100px 32px 60px;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                visibility 0.4s;
  }
  .nlinks.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nlinks li {
    width: 100%;
    max-width: 320px;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .nlinks.open li {
    opacity: 1;
    transform: translateY(0);
  }
  .nlinks.open li:nth-child(1) { transition-delay: 0.05s; }
  .nlinks.open li:nth-child(2) { transition-delay: 0.1s; }
  .nlinks.open li:nth-child(3) { transition-delay: 0.15s; }
  .nlinks.open li:nth-child(4) { transition-delay: 0.2s; }
  .nlinks.open li:nth-child(5) { transition-delay: 0.25s; }
  .nlinks.open li:nth-child(6) { transition-delay: 0.3s; }
  .nlinks a {
    display: block;
    padding: 20px 24px;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: .08em;
    text-transform: uppercase;
    background: none !important;
    border-radius: 0;
    color: var(--bkl);
    transition: color 0.3s cubic-bezier(0.4, 0, 0.2, 1),
                background 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid var(--br);
  }
  .nlinks a:hover, .nlinks a.act {
    color: var(--bl);
    background: none !important;
  }
  .nav-pill { display: none; }
  .ncta { display: none; }
  .nav-toggle { display: flex; position: relative; z-index: 100002; }
  .nav-toggle.open span { background: var(--bk); }

  .pad         { padding: 60px 24px; }
  .pad-sm      { padding: 48px 24px; }
  .section-pad { padding: 72px 24px; }
  .tcol, .sec-hdr { grid-template-columns: 1fr; gap: 14px; margin-bottom: 40px; }
  .sb { max-width: 100%; }
  .sh2 { font-size: clamp(38px, 9vw, 60px); }
  .sh2-wh { font-size: clamp(38px, 9vw, 60px); }

  footer { grid-template-columns: 1fr 1fr; gap: 24px; padding: 40px 24px 24px; }
  .fb    { padding: 14px 24px; flex-direction: column; gap: 8px; text-align: center; }
  .fsoc  { justify-content: center; }

  .cta-inner, .ctain {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .ctat, .cta-t { font-size: clamp(34px, 8vw, 54px); }
  .bwh { width: 100%; text-align: center; }
}

/* ── 480px — mobile ── */
@media (max-width: 480px) {
  nav { padding: 14px 20px; }
  .pad         { padding: 48px 20px; }
  .pad-sm      { padding: 40px 20px; }
  .section-pad { padding: 56px 20px; }
  footer { grid-template-columns: 1fr; gap: 28px; padding: 36px 20px 20px; }
  .fb    { padding: 12px 20px; }
  .sh2   { font-size: clamp(34px, 10vw, 52px); }
  .sh2-wh { font-size: clamp(34px, 10vw, 52px); }
  .ctat, .cta-t { font-size: clamp(30px, 9vw, 44px); }

  /* Larger touch targets for mobile buttons */
  .btn-primary, .bwh, .bblu { padding: 18px 36px; min-height: 48px; }
}

/* ============================================================
   GLOBAL INTERACTIONS
   ============================================================ */



/* Magnetic button wrapper */
.mag-wrap {
  display: inline-block;
  position: relative;
}

/* Text scramble effect */
.scramble {
  display: inline-block;
}

/* Split text char animation */
.split-char {
  display: inline-block;
  transition: transform .3s, color .3s;
}
.split-char:hover {
  color: var(--bl);
  transform: translateY(-3px);
}

/* Spotlight overlay on cards */
.spotlight-card {
  position: relative;
  overflow: hidden;
}
.spotlight-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 200px at -100px -100px, rgba(26,74,255,.07), transparent);
  opacity: 0;
  transition: opacity .3s;
  pointer-events: none;
}
.spotlight-card:hover::after {
  opacity: 1;
}

/* ── Top scroll progress bar ── */
#scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--bl);
  z-index: 99999;
  pointer-events: none;
  box-shadow: 0 0 10px rgba(26,74,255,.7), 0 0 2px rgba(26,74,255,1);
  transition: width .08s linear;
}
