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

:root {
  --black: #000;
  --ink: #050505;
  --white: #fff;
  --soft: rgba(255,255,255,0.68);
  --muted: rgba(255,255,255,0.44);
  --line: rgba(255,255,255,0.12);
  --glow-sm: 0 0 10px rgba(255,255,255,0.58), 0 0 28px rgba(255,255,255,0.17);
  --glow-md: 0 0 18px rgba(255,255,255,0.72), 0 0 54px rgba(255,255,255,0.2);
}

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

body {
  min-width: 320px;
  background:
    radial-gradient(circle at 50% 0%, rgba(255,255,255,0.08), transparent 36rem),
    linear-gradient(180deg, #000 0%, #040404 44%, #000 100%);
  color: var(--white);
  font-family: "Pathway Gothic One", sans-serif;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 58px 58px;
  mask-image: radial-gradient(circle at 50% 36%, black, transparent 72%);
}

img { max-width: 100%; }
a { color: inherit; }

#aura-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header, main, .site-footer { position: relative; z-index: 1; }

.site-footer { position: relative; z-index: 1; }

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 80;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 20px 46px;
  transition: background 0.32s ease, border-color 0.32s ease, padding 0.32s ease;
}

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,0.32);
  background: rgba(0,0,0,0.34);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.hamburger span {
  width: 20px;
  height: 1px;
  background: #fff;
  box-shadow: var(--glow-sm);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  padding: 112px 26px 42px;
  background:
    radial-gradient(circle at 50% 18%, rgba(255,255,255,0.12), transparent 34rem),
    rgba(0,0,0,0.96);
  backdrop-filter: blur(18px);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 18px;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: clamp(28px, 9vw, 46px);
  line-height: 1;
  letter-spacing: 8px;
  text-shadow: var(--glow-md);
}

body.nav-open { overflow: hidden; }

.site-header.scrolled {
  padding-top: 14px;
  padding-bottom: 14px;
  background: rgba(0,0,0,0.9);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(20px);
}

.logo-link { display: inline-flex; align-items: center; }
.logo-link img { width: 118px; height: auto; filter: drop-shadow(0 0 7px rgba(255,255,255,0.7)); }

.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 30px; }

.desktop-nav a, .header-action, .btn {
  text-transform: uppercase;
  text-decoration: none;
  letter-spacing: 5px;
}

.desktop-nav a {
  font-size: 12px;
  color: rgba(255,255,255,0.52);
  padding-bottom: 5px;
  border-bottom: 1px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.desktop-nav a:hover, .desktop-nav .nav-active {
  color: var(--white);
  border-color: rgba(255,255,255,0.72);
  text-shadow: var(--glow-sm);
}

.header-action {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.35);
  padding: 10px 22px;
  font-size: 11px;
}

.hero-opere {
  min-height: 92svh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.44fr);
  align-items: center;
  gap: 48px;
  padding: 140px 56px 88px;
  position: relative;
  overflow: hidden;
}

.hero-opere::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 190px;
  background: linear-gradient(180deg, transparent, #030303);
  pointer-events: none;
}

.texture {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0,0,0,0.82), rgba(0,0,0,0.94)),
    radial-gradient(circle at 35% 35%, rgba(255,255,255,0.12), transparent 34%), repeating-linear-gradient(135deg, rgba(255,255,255,0.045) 0 1px, transparent 1px 7px);
  opacity: 0.75;
  filter: contrast(1.18);
}

.hero-copy, .hero-mark { position: relative; z-index: 1; }
.hero-copy { max-width: 880px; }

.eyebrow {
  font-size: 12px;
  letter-spacing: 8px;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 24px;
}

h1, h2 {
  text-transform: uppercase;
  font-weight: 400;
}

h1 {
  max-width: 820px;
  font-size: 94px;
  line-height: 0.94;
  letter-spacing: 7px;
  margin-bottom: 30px;
  text-shadow: var(--glow-md);
}

.hero-line {
  color: rgba(255,255,255,0.78);
  font-size: 28px;
  line-height: 1.4;
  letter-spacing: 3px;
  margin-bottom: 14px;
}

.intro-extra {
  max-width: 660px;
  color: rgba(255,255,255,0.58);
  font-size: 20px;
  line-height: 1.7;
  letter-spacing: 2px;
}

.hero-mark {
  min-height: 420px;
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(255,255,255,0.14);
}

.hero-mark::before {
  content: "";
  position: absolute;
  inset: 20% -12%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.18), transparent 66%);
  filter: blur(10px);
}

.hero-mark img {
  position: relative;
  width: min(330px, 80%);
  filter: drop-shadow(0 0 36px rgba(255,255,255,0.26));
}

.works-intro {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 1px;
  background: rgba(255,255,255,0.05);
}

.works-intro > div, .works-intro > p {
  min-height: 128px;
  background: #050505;
  border: 1px solid rgba(255,255,255,0.08);
  padding: 30px 46px;
}

.works-intro div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.works-intro span {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 6px;
  margin-bottom: 10px;
}

.works-intro strong {
  font-size: 32px;
  letter-spacing: 4px;
  font-weight: 400;
  text-transform: uppercase;
}

.works-intro p {
  color: var(--soft);
  font-size: 21px;
  line-height: 1.55;
  letter-spacing: 2px;
}

.opera-stage { padding: 84px 46px 64px; }

.opere-loading {
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 70px 24px;
  color: rgba(255,255,255,0.5);
  font-size: 15px;
  letter-spacing: 5px;
  text-align: center;
  text-transform: uppercase;
}

.opera-box {
  width: min(1180px, 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(380px, 1.15fr) minmax(320px, 0.85fr);
  gap: 58px;
  align-items: center;
}

.opera-box-reverse .opera-image { order: 2; }

.opera-separator {
  width: min(1180px, 100%);
  height: 1px;
  margin: 78px auto;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  box-shadow: 0 0 24px rgba(255,255,255,0.22);
}

.opera-image {
  position: relative;
  min-height: 620px;
  display: grid;
  place-items: center;
}

.opera-image::before {
  content: "";
  position: absolute;
  inset: 8%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,0.16), transparent 68%);
  filter: blur(16px);
}

.opera-image img {
  position: relative;
  width: min(560px, 96%);
  max-height: 82svh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: 0 30px 110px rgba(0,0,0,0.82), 0 0 40px rgba(255,255,255,0.12);
}

.opera-info { max-width: 680px; }
.opera-id {
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 7px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.opera-info h2, .modal-text h2 {
  font-size: 76px;
  line-height: 0.95;
  letter-spacing: 7px;
  margin-bottom: 18px;
  text-shadow: var(--glow-md);
}

.slogan {
  color: rgba(255,255,255,0.78);
  font-size: 28px;
  line-height: 1.35;
  letter-spacing: 3px;
  margin-bottom: 12px;
}

.details {
  color: rgba(255,255,255,0.58);
  font-size: 18px;
  line-height: 1.5;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.preview, .modal-text p:not(.opera-id):not(.slogan):not(.details):not(.subnote) {
  color: rgba(255,255,255,0.66);
  font-size: 20px;
  line-height: 1.65;
  letter-spacing: 2px;
}

.preview {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

.opera-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,0.2);
  padding: 16px 30px;
  background: transparent;
  color: var(--white);
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, color 0.25s ease;
}

.btn.primary {
  border-color: rgba(255,255,255,0.82);
  box-shadow: var(--glow-sm), inset 0 0 24px rgba(255,255,255,0.035);
}

.btn.secondary { color: rgba(255,255,255,0.62); }

.btn:hover, .btn:focus-visible {
  transform: translateY(-2px);
  border-color: var(--white);
  box-shadow: var(--glow-sm);
  color: var(--white);
  outline: none;
}

.closing-slogan {
  display: grid;
  place-items: center;
  gap: 22px;
  text-align: center;
  padding: 80px 24px 100px;
}

.closing-slogan img {
  width: 160px;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.25));
}

.closing-slogan p {
  max-width: 760px;
  color: rgba(255,255,255,0.72);
  font-size: 36px;
  line-height: 1.28;
  letter-spacing: 4px;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  overflow-y: auto;
  padding: 80px 22px 32px;
  background: rgba(0,0,0,0.92);
  backdrop-filter: blur(12px);
}

.modal.is-open { display: block; }

.modal-panel {
  width: min(1100px, 100%);
  margin: 0 auto;
  border: 1px solid rgba(255,255,255,0.12);
  background: #080808;
  box-shadow: 0 30px 120px rgba(0,0,0,0.86);
}

.modal-body {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(320px, 1.12fr);
  gap: 34px;
  align-items: start;
  padding: 32px;
}

.modal-body img {
  width: 100%;
  max-height: 74svh;
  object-fit: contain;
  border: 1px solid rgba(255,255,255,0.12);
}

.modal-close {
  position: fixed;
  right: 24px;
  top: 18px;
  z-index: 70;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  background: rgba(0,0,0,0.72);
  border: 1px solid rgba(255,255,255,0.32);
  color: var(--white);
  font-size: 32px;
  line-height: 1;
  cursor: pointer;
}

.modal-close:hover, .modal-close:focus-visible {
  border-color: var(--white);
  box-shadow: var(--glow-sm);
  outline: none;
}

.subnote {
  color: var(--muted);
  font-size: 16px;
  letter-spacing: 2px;
  margin-top: 20px;
}


.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 34px 46px;
  border-top: 1px solid var(--line);
  background: rgba(0,0,0,0.84);
}

.site-footer div:first-child {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.site-footer strong {
  font-size: 24px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 400;
}

.site-footer span, .footer-links a {
  color: rgba(255,255,255,0.48);
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
}

.footer-links { display: flex; gap: 22px; flex-wrap: wrap; justify-content: flex-end; }
.footer-links a:hover { color: var(--white); }

body.modal-open { overflow: hidden; }

@media (max-width: 980px) {
  .site-header {
    position: fixed;
    padding: 18px 22px;
    align-items: center;
  }

  .desktop-nav { display: none; }
  .header-action { display: none; }
  .hamburger { display: inline-flex; }

  .hero-opere {
    min-height: 88svh;
    grid-template-columns: 1fr;
    padding: 118px 24px 64px;
  }

  .hero-mark {
    min-height: 180px;
    border-left: 0;
    border-top: 1px solid rgba(255,255,255,0.12);
    padding-top: 34px;
  }

  h1 { font-size: 64px; }
  .hero-line { font-size: 24px; }

  .works-intro, .opera-box, .modal-body {
    grid-template-columns: 1fr;
  }

  .opera-box-reverse .opera-image { order: 0; }

  .works-intro > div, .works-intro > p {
    padding: 26px 24px;
  }

  .opera-stage { padding: 58px 22px 42px; }
  .opera-separator { margin: 58px auto; }
  .opera-image { min-height: 520px; }
  .opera-info h2, .modal-text h2 { font-size: 58px; }


  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 24px;
  }

  .footer-links { justify-content: flex-start; }
}

@media (max-width: 560px) {
  .logo-link img { width: 92px; }
  .header-action { min-height: 38px; padding: 9px 14px; letter-spacing: 3px; }
  .mobile-nav a { letter-spacing: 5px; }

  .hero-opere { padding: 102px 18px 52px; }
  h1 { font-size: 48px; letter-spacing: 4px; }
  .eyebrow { letter-spacing: 5px; }
  .hero-line { font-size: 21px; }
  .intro-extra, .works-intro p, .preview, .modal-text p:not(.opera-id):not(.slogan):not(.details):not(.subnote) {
    font-size: 18px;
  }

  .opera-info h2, .modal-text h2 {
    font-size: 46px;
    letter-spacing: 5px;
  }

  .slogan { font-size: 23px; }
  .modal { padding: 72px 12px 20px; }
  .modal-body { padding: 18px; }
  .opera-image { min-height: 420px; }
  .closing-slogan p { font-size: 28px; }
}
