/* DRIFFFT site styles */
:root {
  --bg: #000000;
  --bg2: #020202;
  --text: #ffffff;
  --muted: rgba(255, 255, 255, .6);
  --stroke: rgba(255, 255, 255, .08);
  --shadow: 0 0 0 transparent;
  --shadow2: 0 20px 40px rgba(0, 70, 255, .05);
  --r: 2px;
  --r2: 4px;
  --max: 1120px;
  --accent1: #0047FF;
  --accent2: #00E5FF;
  --accent3: #5200FF;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background: #05070f;
  color: var(--text);
  overflow-x: hidden;
  scrollbar-gutter: stable;
}

a {
  color: inherit;
  text-decoration: none;
}

p {
  line-height: 1.55;
  margin: 0;
  color: var(--muted);
}

strong {
  color: rgba(233, 236, 245, .92);
  font-weight: 600;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  border: 1px solid var(--stroke);
  transform: translateY(-140%);
  transition: transform .2s ease;
  z-index: 9999;
}

.skip-link:focus {
  transform: translateY(0);
  outline: none;
}

.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.7' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='160' height='160' filter='url(%23n)' opacity='.22'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: .16;
}

.bg-orbs {
  position: fixed;
  inset: 0;
  pointer-events: none;
  filter: blur(34px);
  opacity: .95;
}

.orb {
  position: absolute;
  width: 44vw;
  height: 44vw;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(0, 71, 255, .2), rgba(0, 71, 255, .01) 60%);
}

.orb-a {
  left: -10vw;
  top: 10vh;
  opacity: 0.6;
}

.orb-b {
  width: 36vw;
  height: 36vw;
  right: -5vw;
  top: 15vh;
  background: radial-gradient(circle at 30% 30%, rgba(0, 229, 255, .15), rgba(0, 229, 255, .01) 60%);
}

.orb-c {
  width: 50vw;
  height: 50vw;
  left: 20vw;
  bottom: -30vh;
  background: radial-gradient(circle at 30% 30%, rgba(82, 0, 255, .15), rgba(82, 0, 255, .01) 60%);
}

.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 22px;
  height: 22px;
  border-radius: 999px;
  border: 1px solid rgba(233, 236, 245, .34);
  box-shadow: 0 0 0 8px rgba(124, 92, 255, .06);
  transform: translate(-50%, -50%);
  pointer-events: none;
  opacity: 0;
  z-index: 9998;
  backdrop-filter: blur(6px);
}

main {
  padding-top: 40px;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 120px;
  display: grid;
  align-items: center;
  justify-items: center;
  overflow: hidden;
}

.hero-inner {
  width: min(960px, calc(100% - 48px));
  margin: 0 auto;
  padding: 40px 0 60px;
  position: relative;
  z-index: 3;
  text-align: center;
}

.hero-title {
  margin: 0;
  font-size: clamp(38px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -.04em;
}

.glow {
  background: linear-gradient(90deg, var(--accent1), var(--accent2), var(--accent3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 10px 22px rgba(124, 92, 255, .2));
}

.hero-sub {
  margin-top: 18px;
  font-size: clamp(15px, 2.6vw, 18px);
  max-width: 48ch;
  margin-left: auto;
  margin-right: auto;
}

.scroll-hint {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(233, 236, 245, .7);
  font-size: 12px;
  z-index: 50;
  pointer-events: none;
  transition: opacity .35s ease, transform .35s ease;
}

.scroll-dot {
  width: 26px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(233, 236, 245, .22);
  position: relative;
  overflow: hidden;
}

.scroll-dot:after {
  content: "";
  position: absolute;
  left: 50%;
  top: 10px;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  transform: translateX(-50%);
  background: rgba(233, 236, 245, .74);
  animation: dot 1.25s infinite ease-in-out;
}

@keyframes dot {
  0% {
    transform: translate(-50%, 0);
    opacity: .9;
  }

  70% {
    transform: translate(-50%, 14px);
    opacity: .2;
  }

  100% {
    transform: translate(-50%, 0);
    opacity: .9;
  }
}

.hero-art {
  position: absolute;
  left: 50%;
  top: 50%;
  width: clamp(540px, 90vw, 960px);
  height: clamp(540px, 90vw, 960px);
  pointer-events: none;
  z-index: 1;
  transform-origin: center;
  transform: translate(-50%, -50%);
}

@media (max-width: 980px) {
  .hero-art {
    display: block;
    top: 52%;
    width: clamp(420px, 94vw, 760px);
    height: clamp(420px, 94vw, 760px);
  }
}

.hero-particles {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.9;
}

.rings {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  opacity: .36;
  pointer-events: none;
  z-index: 2;
}

.ring {
  position: absolute;
  width: 90vh;
  height: 90vh;
  border-radius: 999px;
  border: 1px solid rgba(233, 236, 245, .14);
  box-shadow: inset 0 0 0 1px rgba(124, 92, 255, .12);
}

.ring:nth-child(2) {
  width: 68vh;
  height: 68vh;
  border-color: rgba(0, 229, 255, .14);
}

.ring:nth-child(3) {
  width: 50vh;
  height: 50vh;
  border-color: rgba(82, 0, 255, .12);
}

.marquee {
  display: none;
}

.marquee-track {
  display: flex;
  gap: 28px;
  padding: 10px 0;
  width: max-content;
  will-change: transform;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(233, 236, 245, .5);
}

.section {
  padding: 88px 0;
  position: relative;
}


.section-head {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto 22px;
}

.section-title {
  margin: 0;
  font-size: 34px;
  letter-spacing: -.03em;
}

.section-sub {
  margin-top: 10px;
  max-width: 62ch;
  color: rgba(233, 236, 245, .66);
}

.grid {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: grid;
  gap: 14px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 920px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }
}

.work-list {
  width: min(var(--max), calc(100% - 32px));
  margin: 16px auto 0;
  display: grid;
  gap: 12px;
}

.work-item {
  position: relative;
  padding: 18px 18px 16px;
  border: 1px solid rgba(233, 236, 245, .12);
  border-radius: 18px;
  background: linear-gradient(145deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .01));
  transition: border-color .2s ease, transform .2s ease, background .2s ease;
  display: block;
}

.work-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 229, 255, .35);
  background: linear-gradient(145deg, rgba(0, 71, 255, .08), rgba(0, 229, 255, .03));
}

.work-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
}

.work-meta {
  color: rgba(233, 236, 245, .55);
}

.work-desc {
  margin: 10px 0 0;
  color: rgba(233, 236, 245, .82);
  max-width: 56ch;
}

.work-arrow {
  font-size: 18px;
  color: rgba(233, 236, 245, .7);
}

.mono {
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.soft {
  opacity: .7;
}

.footer {
  padding: 22px 0 34px;
}

.footer-inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(233, 236, 245, .10);
  padding-top: 18px;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
  }

  .scroll-dot:after {
    animation: none !important;
  }
}
