@font-face {
  font-family: "Anton";
  src: url("/assets/anton.woff2") format("woff2");
  font-display: swap;
}
@font-face {
  font-family: "Inter Tight";
  src: url("/assets/inter-tight.woff2") format("woff2");
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Rozha One";
  src: url("/assets/rozha-hi.woff2") format("woff2");
  unicode-range: U+0900-097F, U+1CD0-1CF9, U+200C-200D, U+20A8, U+20B9, U+25CC, U+A830-A839, U+A8E0-A8FF;
  font-display: swap;
}

:root {
  --rust: #8a3818;
  --rust-deep: #3a1000;
  --cream: #ffe9b8;
  --white: #ffffff;
  --live: #ff3b5c;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --display: "Anton", "Impact", "Arial Narrow", sans-serif;
  --body: "Inter Tight", system-ui, sans-serif;

  color-scheme: dark;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  background: var(--rust);
  color: var(--white);
  font-family: var(--body);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* ------------------------------------------------------------------ scene */

.scene {
  position: fixed;
  inset: 0;
  overflow: hidden;
  perspective: 1200px;
  pointer-events: none;
}

.plate {
  position: absolute;
  inset: -4%;
  /* scene.js writes the tilt here; one composited layer, no repaints. */
  will-change: transform;
  backface-visibility: hidden;
}

.plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 72% 50%;
  display: block;
  animation:
    reveal 1.8s var(--ease) both,
    breathe 16s ease-in-out 1.8s infinite;
}

.sparks {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* Darkens the left for the type and the floor below, as on the studio's poster. */
.shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgb(58 16 0 / 0.55) 0%, rgb(58 16 0 / 0.25) 38%, transparent 60%),
    linear-gradient(to top, rgb(58 16 0 / 0.7) 0%, transparent 32%);
}

/* ------------------------------------------------------------------ type */

.page {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding: clamp(1.25rem, 3.2vw, 3rem) clamp(1.25rem, 6.25vw, 7.5rem);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgb(255 255 255 / 0.85);
  animation: fade 1s var(--ease) 0.2s both;
}

.seal {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 50%;
  background: #f4eee3;
  padding: 0.15rem;
  box-shadow:
    0 0 0 2px rgb(255 233 184 / 0.6),
    0 8px 20px rgb(58 16 0 / 0.45);
}

.hero {
  margin: auto 0;
  padding: 2rem 0;
  max-width: 48rem;
  will-change: transform;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin: 0 0 1.25rem;
  padding: 0.45rem 0.9rem;
  border-radius: 6px;
  background: var(--live);
  font-weight: 800;
  font-size: clamp(0.875rem, 0.8rem + 0.35vw, 1.0625rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  box-shadow: 0 10px 24px rgb(255 59 92 / 0.35);
  animation: pop 0.9s var(--ease) 0.5s both;
}

.dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
  background: var(--white);
  animation: pulse 1.6s ease-in-out infinite;
}

/* Extruded, cream-gilded title: stacked drop shadows give it a cast-metal depth. */
.title {
  margin: 0;
  font-family: var(--display);
  font-weight: 400;
  font-size: clamp(4.5rem, 2rem + 8.6vw, 10.5rem);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: 0.005em;
  filter: drop-shadow(0 1px 0 #e9b876) drop-shadow(0 1px 0 #d39a55) drop-shadow(0 1px 0 #b77a3b)
    drop-shadow(0 1px 0 #96592a) drop-shadow(0 1px 0 #7a421c) drop-shadow(0 14px 22px rgb(58 16 0 / 0.55));
  perspective: 800px;
}

.word {
  display: block;
  width: fit-content;
  background: linear-gradient(180deg, #ffffff 0%, #fff4dc 45%, var(--cream) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  transform-origin: 50% 100%;
  animation: drop 1.2s var(--ease) both;
}

.word:nth-child(1) {
  animation-delay: 0.6s;
}

.word:nth-child(2) {
  animation-delay: 0.78s;
}

.tagline {
  margin: 1.25rem 0 0;
  font-family: var(--display);
  font-size: clamp(1.5rem, 1rem + 1.9vw, 3.25rem);
  line-height: 1.05;
  text-transform: uppercase;
  max-width: 16em;
  text-shadow: 0 6px 18px rgb(58 16 0 / 0.5);
  animation: rise 1s var(--ease) 1.05s both;
}

.hindi {
  margin: 0.5rem 0 0;
  font-family: "Rozha One", serif;
  font-size: clamp(1.125rem, 0.9rem + 0.8vw, 1.625rem);
  color: var(--cream);
  animation: rise 1s var(--ease) 1.15s both;
}

.sub {
  margin: 1rem 0 0;
  max-width: 32rem;
  font-size: clamp(1rem, 0.92rem + 0.35vw, 1.25rem);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.86);
  animation: rise 1s var(--ease) 1.25s both;
}

.contact {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2.5rem;
  margin-top: 1.75rem;
  animation: rise 1s var(--ease) 1.4s both;
}

.key {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cream);
}

.value {
  display: inline-block;
  margin-top: 0.25rem;
  font-size: clamp(1.0625rem, 0.95rem + 0.45vw, 1.375rem);
  font-weight: 600;
}

a.value {
  border-bottom: 1px solid rgb(255 233 184 / 0.4);
  transition: border-color 0.3s;
}

a.value:hover,
a.value:focus-visible {
  border-color: var(--cream);
}

a:focus-visible {
  outline: 2px solid var(--cream);
  outline-offset: 4px;
}

/* ------------------------------------------------------------------ motion */

@keyframes reveal {
  from {
    opacity: 0;
    transform: scale(1.12);
  }
}
@keyframes breathe {
  50% {
    transform: scale(1.02);
  }
}
@keyframes drop {
  from {
    opacity: 0;
    transform: translateY(40%) rotateX(-75deg);
  }
}
@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
}
@keyframes fade {
  from {
    opacity: 0;
  }
}
@keyframes pop {
  from {
    opacity: 0;
    transform: scale(0.6);
  }
}
@keyframes pulse {
  50% {
    opacity: 0.35;
    transform: scale(0.7);
  }
}

/* ------------------------------------------------------------------ phones */

/* Slow devices (set by scene.js): no idle zoom, no sparks. */
.lite .plate img {
  animation: reveal 1.2s var(--ease) both;
}

@media (max-width: 760px) {
  .plate {
    inset: -3%;
  }
  .plate img {
    object-position: 50% 20%;
  }
  .shade {
    background: linear-gradient(to top, rgb(58 16 0 / 0.92) 0%, rgb(58 16 0 / 0.6) 36%, transparent 58%);
  }
  .hero {
    margin: auto 0 0;
    padding: 0;
  }
  .badge {
    margin-bottom: 0.875rem;
  }
  .title {
    font-size: clamp(3.5rem, 1rem + 13vw, 6rem);
  }
  .tagline {
    margin-top: 0.75rem;
    font-size: 1.375rem;
  }
  .sub {
    font-size: 0.9375rem;
    margin-top: 0.75rem;
  }
  .contact {
    margin-top: 1.25rem;
  }
  .brand .long {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
  .sparks {
    display: none;
  }
}
