/* ==========================================================================
   360° MKT Anonymous — Base styles
   Shared by index.html and landing.html: reset, design tokens, background
   chrome (webgl/vignette/grain), typography primitives, cursor, preloader.
   ========================================================================== */

:root{
  --black:#000000;
  --void:#050300;
  --charcoal:#0a0a0a;
  --white:#ffffff;
  --yellow:#F9C300;
  --gray:#9a9a9a;
  --line: rgba(255,255,255,.14);
  --line-y: rgba(249,195,0,.4);
  --glass: rgba(5,3,0,.42);
  --glass-strong: rgba(5,3,0,.72);
  --ease: cubic-bezier(.65,0,.35,1);

  --f-display: 'Clash Display', 'Avenir Next', 'Manrope', sans-serif;
  --f-body: 'Manrope', 'Avenir Next', sans-serif;
  --f-accent: 'Comfortaa', 'Avenir Next', sans-serif;
}

*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
/* `hidden` turns this axis into a scroll container in some browsers and can
   prevent descendants from sticking to the viewport (notably Safari/iOS). */
html,body{ overflow-x:clip; width:100%; background:var(--void); }
body{
  color:var(--white);
  font-family:var(--f-body);
  font-weight:400;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  cursor:default;
}
img,svg{ display:block; max-width:100%; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
button{ font:inherit; background:none; border:none; color:inherit; cursor:pointer; }
::selection{ background:var(--yellow); color:var(--black); }

.container{ width:min(1360px, 90vw); margin-inline:auto; }

/* ---------- webgl canvas ---------- */
#webgl{
  position:fixed; inset:0; width:100vw; height:100vh; z-index:0;
  pointer-events:none;
}
.vignette{
  position:fixed; inset:0; z-index:1; pointer-events:none;
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.55) 100%);
}
.grain{
  position:fixed; inset:0; z-index:2; pointer-events:none; opacity:.04; mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, header, footer{ position:relative; z-index:3; }

/* ---------- typography helpers ---------- */
.eyebrow{
  display:flex; align-items:center; gap:12px;
  font-family:var(--f-accent); font-weight:400;
  font-size:.76rem; letter-spacing:.3em; text-transform:uppercase;
  color:var(--yellow); margin-bottom:clamp(1.2rem,3vw,2.2rem);
}
.eyebrow::before{ content:''; display:block; width:34px; height:2px; background:var(--yellow); flex:none; }

.h-huge{
  font-family:var(--f-display); font-weight:600;
  font-size:clamp(2.8rem, 9vw, 9rem);
  line-height:.98; letter-spacing:-.02em; text-transform:uppercase;
}
.h-section{
  font-family:var(--f-display); font-weight:600;
  font-size:clamp(2.1rem, 5.2vw, 4.6rem);
  line-height:1.03; letter-spacing:-.01em; text-transform:uppercase;
}
p.lead{ font-size:clamp(1.02rem, 1.5vw, 1.35rem); color:#dcdcdc; font-weight:300; max-width:46ch; }

.line{ overflow:hidden; }
.line span{ display:inline-block; will-change:transform; }

/* ---------- custom cursor ---------- */
.cursor-dot,.cursor-ring{ position:fixed; top:0; left:0; pointer-events:none; z-index:1000; border-radius:50%; transform:translate(-50%,-50%); }
.cursor-dot{ width:6px; height:6px; background:var(--yellow); }
.cursor-ring{ width:38px; height:38px; border:1.5px solid rgba(249,195,0,.6); transition:width .25s var(--ease), height .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease); }
.cursor-ring.hover{ width:70px; height:70px; background:rgba(249,195,0,.12); border-color:var(--yellow); }
@media (hover:none), (pointer:coarse){ .cursor-dot,.cursor-ring{ display:none; } }

/* ---------- preloader ---------- */
#preloader{ position:fixed; inset:0; background:var(--void); z-index:2000; display:flex; align-items:center; justify-content:center; flex-direction:column; gap:1.6rem; }
#preloader .pl-mark{ width:100px; height:100px; position:relative; }
#preloader .pl-count{ font-family:var(--f-display); font-weight:600; color:var(--white); font-size:.95rem; letter-spacing:.08em; }
.arc-ring circle{ stroke-linecap:round; }

.arcs-mark circle{ fill:none; stroke:currentColor; }
