/* ==========================================================================
   TECHNOGRAIL — BASE / RESET
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: auto;
  background: var(--tg-black);
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--tg-black);
  color: var(--tg-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  cursor: none;
}

@media (pointer: coarse) {
  body { cursor: auto; }
}

img, svg, video, canvas { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

button, input, textarea, select {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
}

h1, h2, h3, h4, p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }

h1, h2, h3, .font-display {
  font-family: var(--font-display);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: var(--lh-tight);
}

.font-mono {
  font-family: var(--font-mono);
  letter-spacing: 0.02em;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: var(--fs-small);
  color: var(--tg-copper-glow);
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

:focus-visible {
  outline: 2px solid var(--tg-copper-glow-soft);
  outline-offset: 3px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100px;
  left: var(--sp-2);
  background: var(--tg-copper-glow);
  color: var(--tg-black);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  z-index: 10000;
  font-weight: 600;
  transition: top var(--dur-fast) var(--ease-snap);
}
.skip-link:focus { top: var(--sp-2); }

.visually-hidden {
  position: absolute;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

::selection { background: var(--tg-bronze-secondary); color: var(--tg-text-primary); }

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--tg-black); }
::-webkit-scrollbar-thumb { background: var(--tg-bronze-primary); border-radius: 4px; }

.noise-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.035;
  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");
}

.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-pad);
}

.experience {
  position: relative;
  padding-block: var(--sp-7);
}

@media (max-width: 720px) {
  .experience { padding-block: var(--sp-5); }
}
