:root {
  --black: #000000;
  --white: #ffffff;
  --off-white: #e8e8e8;
  --dim: rgba(255,255,255,0.08);
  --dim-2: rgba(255,255,255,0.14);
  --dim-3: rgba(255,255,255,0.03);
  --accent: #ffffff;
  --accent-dim: rgba(255,255,255,0.5);
  --border: rgba(255,255,255,0.1);
  --border-hover: rgba(255,255,255,0.3);
  --mono: 'DM Mono', monospace;
  --sans: 'Syne', sans-serif;
  --display: 'Bebas Neue', sans-serif;
  --nav-height: 76px;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.6;
  cursor: none;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
}

/* Sections */
section {
  position: relative;
}

/* Typography */
.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dim);
  margin-bottom: 24px;
  overflow: visible;
  padding: 0.1em 0;
}

.section-title {
  font-family: var(--display);
  font-size: clamp(52px, 7vw, 96px);
  letter-spacing: 0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: var(--white);
  overflow: visible;
  padding: 0.05em 0;
}

.section-sub {
  font-size: 17px;
  color: var(--accent-dim);
  max-width: 520px;
  line-height: 1.85;
  font-weight: 400;
  overflow: visible;
  padding: 0.05em 0;
}

.section-header {
  text-align: center;
  padding: 0 5vw;
  margin-bottom: 80px;
}

.section-header .section-sub {
  margin: 0 auto;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  color: var(--black);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s ease;
  font-weight: 500;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--off-white);
  transform: translateX(-100%);
  transition: transform 0.3s ease;
}

.btn-primary:hover::before {
  transform: translateX(0);
}

.btn-primary:hover {
  gap: 14px;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid var(--border);
  color: var(--white);
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 14px 28px;
  transition: all 0.25s ease;
}

.btn-ghost:hover {
  border-color: var(--white);
  background: var(--dim);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

/* Ticker */
.ticker-wrap {
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--dim-3);
  padding: 14px 0;
}

.ticker {
  display: flex;
  gap: 32px;
  white-space: nowrap;
  animation: tickerScroll 22s linear infinite;
  width: max-content;
  align-items: center;
}

.ticker span {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--accent-dim);
}

@keyframes tickerScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* =============================================
   GLOBAL TEXT CLIPPING PREVENTION
   Prevents font ascenders/descenders being cut
   off by tight line-heights or overflow:hidden
   ============================================= */
* {
  overflow: visible;
}

/* Re-apply hidden only where layout truly needs it */
.noise-overlay,
.mobile-menu,
.ticker-wrap,
.ticker,
.hero-bg-grid,
.service-card-bg,
.scroll-line {
  overflow: hidden;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.1;
  padding: 0.06em 0;
}

p, span, a, li, label, div {
  line-height: inherit;
}

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--black); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: var(--accent-dim); }