/* ============================================================
   Ross Katzenberg — Immersive Hypnotic
   Responsive: mobile · tablet · desktop
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: #000;
  color: #fff;
  font-family: 'Archivo', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; }

.mono {
  font-family: 'Space Mono', monospace;
}

/* ---------- rotating mandalas ---------- */
@keyframes rkspin  { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes rkspinr { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }

.mandala {
  border-radius: 50%;
  object-fit: cover;
  filter: contrast(1.1);
  will-change: transform;
}
.spin   { animation: rkspin  120s linear infinite; }
.spin-r { animation: rkspinr 150s linear infinite; }

/* ============================================================
   TOP BAR
   ============================================================ */
.topbar {
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: clamp(20px, 3vw, 30px) clamp(24px, 4vw, 48px);
}
.brand {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: 15px;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
}
.nav {
  display: flex;
  gap: clamp(20px, 3vw, 32px);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.nav a {
  color: #cfcfcf;
  text-decoration: none;
  transition: color 0.25s ease;
}
.nav a:hover { color: #fff; }

/* hamburger — hidden on desktop */
.menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 30px;
  padding: 6px 0;
  background: none;
  border: 0;
  cursor: pointer;
}
.menu-btn span {
  display: block;
  height: 1.8px;
  width: 24px;
  background: #fff;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.menu-btn.open span:nth-child(1) { transform: translateY(6.8px) rotate(45deg); }
.menu-btn.open span:nth-child(2) { transform: translateY(-6.8px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 90px;
}
.mandala--hero {
  position: absolute;
  width: min(980px, 150vw);
  height: min(980px, 150vw);
  opacity: 0.55;
}
.hero__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center,
    rgba(0,0,0,0.78) 0%,
    rgba(0,0,0,0.5) 34%,
    rgba(0,0,0,0.86) 72%);
}
.hero__inner {
  position: relative;
  text-align: center;
  max-width: 560px;
}
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: clamp(9.5px, 1.6vw, 12px);
  letter-spacing: 0.34em;
  text-transform: uppercase;
  color: #bdbdbd;
}
.hero h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(52px, 11vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: clamp(16px, 2.5vw, 22px) 0 0;
}
.hero p {
  font-size: clamp(14px, 1.8vw, 16px);
  line-height: 1.6;
  color: #d8d8d8;
  max-width: 480px;
  margin: clamp(22px, 3vw, 30px) auto 0;
}

/* ============================================================
   QUOTE BAND
   ============================================================ */
.quote {
  position: relative;
  min-height: clamp(340px, 55vw, 560px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #000;
}
.mandala--quote {
  position: absolute;
  right: clamp(-120px, -10vw, -150px);
  top: 50%;
  width: min(760px, 115vw);
  height: min(760px, 115vw);
  /* centered vertically via negative margin (not translate) so the
     spin animation's rotate transform doesn't fight the offset */
  margin-top: calc(min(760px, 115vw) / -2);
  opacity: 0.46;
}
.quote__veil {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 74% 50%,
    rgba(0,0,0,0.5) 0%,
    rgba(0,0,0,0.8) 46%,
    #000 80%);
}
.quote__inner {
  position: relative;
  padding: 0 clamp(26px, 6vw, 72px);
  max-width: 720px;
}
.quote__inner p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: clamp(27px, 5.2vw, 46px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
}

/* ============================================================
   WORKS / TRIPTYCH
   ============================================================ */
.works {
  padding: clamp(56px, 8vw, 90px) clamp(24px, 4vw, 48px);
}
.works__head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  margin-bottom: clamp(24px, 4vw, 34px);
}
.works__head h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 40px);
  letter-spacing: -0.02em;
  margin: 0;
}
.works__head .mono {
  font-size: 12px;
  letter-spacing: 0.16em;
  color: #9a9a9a;
  white-space: nowrap;
}
.grid3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 20px);
}
.plate {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: #111;
  margin: 0;
}
.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s ease;
}
.plate:hover img { transform: scale(1.08); }
.plate figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 18px;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 600;
  font-size: 18px;
}

/* ============================================================
   ABOUT / STATEMENT
   ============================================================ */
.about {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(40px, 5vw, 60px);
  align-items: center;
  padding: clamp(30px, 4vw, 40px) clamp(24px, 4vw, 48px) clamp(70px, 9vw, 100px);
}
.about__emblem {
  display: flex;
  justify-content: center;
}
.mandala--about {
  width: clamp(200px, 26vw, 340px);
  height: clamp(200px, 26vw, 340px);
}
.about__text .label {
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #9a9a9a;
}
.about__text p {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 400;
  font-size: clamp(20px, 2.8vw, 27px);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 20px 0 0;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: #fff;
  color: #000;
  padding: clamp(48px, 8vw, 84px) clamp(24px, 4vw, 48px);
}
.contact h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-weight: 800;
  font-size: clamp(42px, 8vw, 64px);
  letter-spacing: -0.03em;
  line-height: 0.95;
  margin: 0;
}
.contact__links {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 3vw, 48px);
  margin-top: clamp(26px, 4vw, 40px);
  font-size: 15px;
  color: #222;
}
.contact__mail {
  color: #000;
  text-decoration: none;
  border-bottom: 2px solid #000;
  padding-bottom: 3px;
  font-weight: 600;
}
.contact__foot {
  margin-top: clamp(34px, 6vw, 60px);
  display: flex;
  justify-content: space-between;
  gap: 16px;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #888;
}

a { color: #fff; }
a:hover { color: #d8d8d8; }

/* ============================================================
   TABLET  (≤ 900px)
   ============================================================ */
@media (max-width: 900px) {
  .about {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 36px;
  }
  .about__text { max-width: 620px; margin: 0 auto; }
}

/* ============================================================
   MOBILE  (≤ 620px)
   ============================================================ */
@media (max-width: 620px) {
  .menu-btn { display: flex; }

  .nav {
    position: absolute;
    top: 100%;
    right: clamp(24px, 4vw, 48px);
    flex-direction: column;
    gap: 0;
    background: rgba(10,10,10,0.96);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 10px;
    padding: 8px 4px;
    min-width: 170px;
    opacity: 0;
    transform: translateY(-8px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    backdrop-filter: blur(8px);
  }
  .nav.open {
    opacity: 1;
    transform: translateY(6px);
    pointer-events: auto;
  }
  .nav a {
    padding: 12px 18px;
    letter-spacing: 0.16em;
  }

  .grid3 { grid-template-columns: 1fr; gap: 16px; }
  .plate { aspect-ratio: 1 / 1; }

  .works__head { flex-direction: column; align-items: flex-start; gap: 6px; }

  .contact__links { flex-direction: column; gap: 12px; }
  .contact__mail { align-self: flex-start; }
  .contact__foot { flex-direction: column; gap: 6px; }
}
