:root {
  color-scheme: dark;
  --image-x: 0px;
  --image-y: 0px;
  --geometry-x: 0px;
  --geometry-y: 0px;
  --ink: #f8f3e8;
  --ink-soft: rgba(248, 243, 232, 0.76);
  --ink-muted: rgba(248, 243, 232, 0.56);
  --gold: #d8b46b;
  --gold-bright: #f2d890;
  --teal: #0f3a3e;
  --charcoal: #071212;
  --line: rgba(248, 243, 232, 0.2);
  --shadow: rgba(0, 0, 0, 0.34);
  --page-x: clamp(22px, 5vw, 72px);
}

@property --ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--charcoal);
  overflow-x: hidden;
}

body {
  min-height: 100%;
  margin: 0;
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  color: var(--ink);
  background: var(--charcoal);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    linear-gradient(rgba(248, 243, 232, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(248, 243, 232, 0.045) 1px, transparent 1px);
  background-size: min(18vw, 178px) min(18vw, 178px);
  mask-image: radial-gradient(circle at 66% 43%, black 0%, transparent 72%);
  content: "";
  z-index: 2;
}

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

.page-shell {
  min-height: 100svh;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(7, 18, 18, 0) 0%, var(--charcoal) 96%),
    var(--charcoal);
}

.hero {
  position: relative;
  display: grid;
  min-height: 100svh;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr) minmax(0, 0.8fr);
  grid-template-rows: auto minmax(0, 1fr) auto;
  isolation: isolate;
}

.hero::before,
.hero::after {
  position: absolute;
  pointer-events: none;
  content: "";
}

.hero::before {
  right: -8vw;
  top: 5vh;
  z-index: -1;
  width: min(46vw, 680px);
  aspect-ratio: 1;
  border: 1px solid rgba(242, 216, 144, 0.22);
  border-radius: 50%;
  background:
    repeating-radial-gradient(circle, transparent 0 12%, rgba(242, 216, 144, 0.08) 12.4% 12.75%),
    conic-gradient(from 38deg, transparent 0 13%, rgba(242, 216, 144, 0.12) 13% 14%, transparent 14% 38%, rgba(248, 243, 232, 0.08) 38% 39%, transparent 39% 100%);
}

.hero::after {
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(7, 18, 18, 0.88) 0%, rgba(7, 18, 18, 0.72) 28%, rgba(7, 18, 18, 0.2) 58%, rgba(7, 18, 18, 0.5) 100%),
    radial-gradient(circle at 18% 49%, rgba(7, 18, 18, 0.82), transparent 34rem),
    linear-gradient(180deg, rgba(7, 18, 18, 0.12) 0%, #071212 100%);
}

.hero__image,
.hero__wash,
.hero__geometry,
.hero__grain {
  position: absolute;
  inset: 0;
}

.hero__image {
  z-index: -4;
  background-image: url("/assets/taj-mahal-cinema-hero.jpg");
  background-image: image-set(
    url("/assets/taj-mahal-cinema-hero.avif") type("image/avif"),
    url("/assets/taj-mahal-cinema-hero.webp") type("image/webp"),
    url("/assets/taj-mahal-cinema-hero.jpg") type("image/jpeg")
  );
  background-position: 58% bottom;
  background-size: cover;
  transform: scale(1.035) translate3d(var(--image-x), var(--image-y), 0);
  will-change: transform;
}

.hero__wash {
  z-index: -3;
  background: radial-gradient(circle at 58% 48%, rgba(242, 216, 144, 0.08) 0%, rgba(7, 18, 18, 0.22) 52%, rgba(7, 18, 18, 0.86) 100%);
}

.hero__geometry {
  z-index: -2;
  overflow: hidden;
  transform: translate3d(var(--geometry-x), var(--geometry-y), 0);
  transition: transform 180ms ease-out;
  will-change: transform;
}

.hero__geometry::before {
  position: absolute;
  right: 4%;
  top: 4%;
  width: min(48vw, 680px);
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    conic-gradient(from var(--ring-angle), transparent 0 18%, rgba(242, 216, 144, 0.22) 19%, transparent 20% 56%, rgba(248, 243, 232, 0.14) 57%, transparent 58% 100%),
    repeating-radial-gradient(circle, transparent 0 13%, rgba(248, 243, 232, 0.08) 13.15% 13.45%);
  opacity: 0.58;
  content: "";
  animation: ring-turn 34s linear infinite;
}

.geo-ring,
.geo-triangle {
  position: absolute;
  display: block;
  pointer-events: none;
}

.geo-ring {
  border: 1px solid rgba(242, 216, 144, 0.18);
  border-radius: 50%;
}

.geo-ring--primary {
  right: 13%;
  bottom: 15%;
  width: min(30vw, 410px);
  aspect-ratio: 1;
}

.geo-ring--secondary {
  right: 34%;
  top: 23%;
  width: min(16vw, 220px);
  aspect-ratio: 1;
  border-color: rgba(248, 243, 232, 0.12);
}

.geo-triangle {
  right: 20%;
  top: 28%;
  width: min(22vw, 300px);
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(242, 216, 144, 0.12), transparent 68%);
  clip-path: polygon(50% 0, 100% 86%, 0 86%);
  opacity: 0.28;
  transform: rotate(11deg);
}

.hero__grain {
  z-index: 0;
  opacity: 0.16;
  pointer-events: none;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.4) 0 1px, transparent 1.5px),
    radial-gradient(circle at 70% 20%, rgba(255, 255, 255, 0.32) 0 1px, transparent 1.5px),
    radial-gradient(circle at 83% 65%, rgba(242, 216, 144, 0.28) 0 1px, transparent 1.5px);
  background-size: 180px 180px, 240px 240px, 310px 310px;
  mix-blend-mode: screen;
}

.site-header {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  grid-column: 1 / 4;
  width: calc(100% - (var(--page-x) * 2));
  margin: 0 var(--page-x);
  padding: 28px 0 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand__mark {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(242, 216, 144, 0.62);
  border-radius: 50%;
  color: var(--gold-bright);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
  background: rgba(7, 18, 18, 0.34);
  box-shadow: 0 20px 70px var(--shadow);
}

.brand__name,
.domain,
.signal-band p {
  font-size: 13px;
  font-weight: 650;
  letter-spacing: 0;
  line-height: 1.25;
  text-transform: uppercase;
}

.brand__name {
  color: var(--ink);
}

.domain {
  color: var(--ink-soft);
  white-space: nowrap;
}

.hero__content {
  position: relative;
  z-index: 1;
  grid-column: 1 / 3;
  grid-row: 2;
  align-self: center;
  width: min(690px, calc(100vw - (var(--page-x) * 2)));
  margin-left: var(--page-x);
  padding: 10vh 0 8vh;
  text-align: left;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--ink);
  font-family:
    Georgia, "Times New Roman", ui-serif, serif;
  font-size: 118px;
  font-weight: 500;
  letter-spacing: 0;
  line-height: 0.88;
  text-wrap: balance;
  text-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
}

.hero__lead {
  max-width: 570px;
  margin: 30px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  font-weight: 420;
  letter-spacing: 0;
  line-height: 1.5;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.hero__note {
  display: inline-flex;
  align-items: center;
  min-height: 46px;
  margin: 34px 0 0;
  padding: 0 18px;
  border: 1px solid rgba(242, 216, 144, 0.32);
  border-radius: 999px;
  color: var(--gold-bright);
  font-size: 14px;
  font-weight: 680;
  letter-spacing: 0;
  line-height: 1.25;
  background: rgba(7, 18, 18, 0.38);
  backdrop-filter: blur(18px);
  box-shadow: 0 24px 90px rgba(0, 0, 0, 0.26);
  transition: border-color 220ms ease, color 220ms ease, transform 220ms ease;
}

.hero__note:hover {
  border-color: rgba(242, 216, 144, 0.64);
  color: #fff3bf;
  transform: translateY(-2px);
}

.signal-band {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  width: min(1180px, calc(100% - (var(--page-x) * 2)));
  margin: -72px auto 44px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: rgba(248, 243, 232, 0.14);
}

.signal-band p {
  margin: 0;
  padding: 22px 18px;
  color: var(--ink-muted);
  text-align: center;
  background: rgba(7, 18, 18, 0.72);
}

@media (max-width: 760px) {
  .hero {
    min-height: 100svh;
    display: flex;
    flex-direction: column;
  }

  .hero::before {
    right: -36vw;
    top: 12vh;
    width: 108vw;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(7, 18, 18, 0.74) 0%, rgba(7, 18, 18, 0.34) 42%, rgba(7, 18, 18, 0.92) 100%),
      linear-gradient(90deg, rgba(7, 18, 18, 0.72) 0%, rgba(7, 18, 18, 0.18) 100%);
  }

  .hero__image {
    background-position: 57% bottom;
    transform: scale(1.045) translate3d(var(--image-x), var(--image-y), 0);
  }

  .hero__geometry::before {
    right: -40vw;
    top: 8vh;
    width: 118vw;
  }

  .geo-ring--primary {
    right: -20vw;
    bottom: 20vh;
    width: 74vw;
  }

  .geo-ring--secondary,
  .geo-triangle {
    display: none;
  }

  .site-header {
    width: calc(100% - 32px);
    margin: 0 16px;
    padding-top: 22px;
  }

  .brand__mark {
    width: 40px;
    height: 40px;
    font-size: 12px;
  }

  .brand__name,
  .domain,
  .signal-band p {
    font-size: 11px;
  }

  .domain {
    display: none;
  }

  .hero__content {
    width: calc(100% - 32px);
    margin: auto 16px 0;
    padding: 18vh 0 108px;
  }

  h1 {
    max-width: 10ch;
    font-size: 64px;
  }

  .hero__lead {
    max-width: 21rem;
    margin-top: 22px;
    font-size: 17px;
    text-wrap: pretty;
  }

  .hero__note {
    min-height: 42px;
    margin-top: 28px;
    font-size: 13px;
  }

  .signal-band {
    width: min(100% - 32px, 1180px);
    grid-template-columns: 1fr;
    margin-top: -44px;
    margin-bottom: 32px;
  }

  .signal-band p {
    padding: 18px 14px;
  }
}

@media (max-width: 380px) {
  h1 {
    font-size: 52px;
  }

  .hero__lead {
    font-size: 16px;
  }
}

@media (min-width: 1280px) {
  h1 {
    font-size: 136px;
  }
}

@media (max-width: 1040px) and (min-width: 761px) {
  h1 {
    font-size: 94px;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .hero__image {
    animation: quiet-drift 18s ease-in-out infinite alternate;
  }

  .brand,
  .domain,
  .hero__content > *,
  .signal-band {
    animation: rise-in 800ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
  }

  .domain {
    animation-delay: 80ms;
  }

  .hero__lead {
    animation-delay: 120ms;
  }

  .hero__note {
    animation-delay: 200ms;
  }

  .signal-band {
    animation-delay: 320ms;
  }
}

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .signal-band {
      animation-name: band-parallax;
      animation-timeline: scroll(root block);
      animation-range: 0 100svh;
    }
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
  }
}

@keyframes quiet-drift {
  from {
    transform: scale(1.035) translate3d(var(--image-x), var(--image-y), 0);
  }

  to {
    transform: scale(1.055) translate3d(var(--image-x), calc(var(--image-y) - 8px), 0);
  }
}

@keyframes ring-turn {
  to {
    --ring-angle: 360deg;
  }
}

@keyframes rise-in {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(0);
  }
}

@keyframes band-parallax {
  from {
    transform: translateY(18px);
  }

  to {
    transform: translateY(-22px);
  }
}
