/* ===== PDS — PUNE (Peshwa maroon + copper, varsity badge) ===== */
@import url('./assets/fonts/trench-slab/trench-slab.css');

:root {
  --ink: #24080d; --bone: #c4ac90; --acc: #cf6b35; --copper: #b0562e;
  --glass: rgba(242,232,220,.06); --glass-b: rgba(242,232,220,.2);
  --display: 'Anton', sans-serif; --body: 'Trench Slab', 'Space Grotesk', sans-serif;
  --ease-spring: cubic-bezier(.2,.8,.2,1);
}
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  /* body alone is not enough — without this the document still
     drags sideways on phones. Safe here: no sticky on city pages. */
  overflow-x: hidden;
}
body {
  background: radial-gradient(circle at 50% 20%, #3d0d16 0%, var(--ink) 65%);
  color: var(--bone); font-family: var(--body); overflow-x: hidden;
}
.rg { font-family: 'Noto Sans Devanagari', sans-serif; }

/* ─── BG ── */
.bg-word {
  position: fixed; top: 46%; left: 50%; transform: translate(-50%, -50%);
  font-family: 'Noto Sans Devanagari', sans-serif; font-weight: 700;
  font-size: clamp(8rem, 24vw, 22rem);
  color: transparent; -webkit-text-stroke: 1px rgba(207,107,53,.16);
  white-space: nowrap; pointer-events: none; z-index: 0; will-change: transform;
}
.grain {
  position: fixed; inset: 0; pointer-events: none; z-index: 1; opacity: .5;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.06'/%3E%3C/svg%3E");
  animation: grainShift 8s steps(2) infinite;
}
@keyframes grainShift { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-2px,2px); } }
.glass {
  background: var(--glass); border: 1px solid var(--glass-b);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}

/* ─── NAV ── */
.nav {
  position: fixed; top: 14px; left: 14px; right: 14px; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 20px; border-radius: 4px;
}
.back {
  color: rgba(242,232,220,.8); text-decoration: none;
  font-size: .75rem; letter-spacing: .22em; font-weight: 700;
  transition: color .3s, letter-spacing .3s;
}
.back:hover { color: var(--acc); letter-spacing: .32em; }
.logo-tile {
  background: #efeae0; padding: 5px 10px; border-radius: 3px;
  display: flex; align-items: center;
  transform: rotate(-7deg);
  box-shadow: 2px 3px 12px rgba(0,0,0,.4);
  transition: transform .4s var(--ease-spring), box-shadow .4s;
}
.logo-tile:hover { transform: rotate(-2deg) scale(1.06); box-shadow: 3px 6px 20px rgba(0,0,0,.5); }
.logo-tile img { height: 34px; width: auto; }
.nav-city { font-size: .7rem; letter-spacing: .32em; color: var(--acc); }

/* ─── HERO ── */
.hero {
  position: relative; z-index: 2; min-height: 100svh;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  text-align: center; padding: 140px 20px 70px;
}
/* Rotating varsity ring */
.badge { width: clamp(130px, 18vw, 190px); margin-bottom: 22px; animation: spin 26s linear infinite; }
.badge svg { width: 100%; height: auto; }
.badge text { fill: var(--acc); font-family: var(--body); font-weight: 700; font-size: 15px; letter-spacing: 3px; }
@keyframes spin { to { transform: rotate(360deg); } }

.eyebrow { font-size: .72rem; letter-spacing: .5em; color: var(--acc); margin-bottom: 24px; }
.hero-title {
  font-family: var(--display);
  font-size: clamp(5rem, 19vw, 16rem); line-height: .88;
}
.hero-title span { display: inline-block; }
.hero-title .outline {
  color: transparent; -webkit-text-stroke: 2px var(--copper);
  transition: color .35s, -webkit-text-stroke-color .35s, text-shadow .35s;
}
.hero-title .outline:hover {
  color: var(--copper);
  text-shadow: 0 0 50px rgba(176,86,46,.5);
}
.hero-sub { margin-top: 26px; line-height: 1.8; opacity: .9; font-size: 1.02rem; }
.cta {
  margin-top: 38px; display: inline-block; padding: 16px 36px;
  border: 2px solid var(--copper); color: var(--bone); text-decoration: none;
  font-weight: 700; letter-spacing: .22em; font-size: .78rem;
  position: relative; overflow: hidden;
  transition: color .35s, transform .35s var(--ease-spring);
}
.cta::before {
  content: ''; position: absolute; inset: 0;
  background: var(--copper); transform: translateX(-100%);
  transition: transform .42s var(--ease-spring); z-index: 0;
}
.cta:hover::before { transform: translateX(0); }
.cta:hover { color: var(--bone); }

/* ─── MARQUEE ── */
.marquee {
  position: relative; z-index: 2; overflow: hidden; padding: 16px 0;
  background: var(--copper); color: var(--bone);
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}
.marquee-track {
  display: flex; width: max-content;
  animation: scroll 32s linear infinite;
  font-family: var(--display); font-size: 1.05rem; letter-spacing: .15em; white-space: nowrap;
}
@keyframes scroll { to { transform: translateX(-50%); } }

/* ─── SECTIONS ── */
.section { position: relative; z-index: 2; padding: 110px 6vw; max-width: 1300px; margin: 0 auto; }
.section-head { margin-bottom: 54px; }
.section-head h2, .wait h2 {
  font-family: var(--display); font-size: clamp(2.4rem, 6vw, 4.8rem); margin: 16px 0 12px; line-height: .95;
}
.section-head p { opacity: .82; max-width: 460px; line-height: 1.7; font-size: 1rem; }
.stamp { display: inline-block; font-size: .66rem; letter-spacing: .38em; padding: 7px 14px; border: 1px solid var(--acc); color: var(--acc); }

/* ─── CARDS ── */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 24px; }
.card {
  border-radius: 3px; overflow: hidden;
  border-left: 4px solid var(--copper);
  transition: transform .5s var(--ease-spring), box-shadow .5s, border-color .4s;
  transform-style: preserve-3d; will-change: transform;
}
.card:hover { border-color: var(--acc); }
.ph {
  position: relative; aspect-ratio: 4/5;
  display: flex; align-items: center; justify-content: center;
  background: repeating-linear-gradient(90deg, rgba(242,232,220,.045) 0 16px, transparent 16px 32px);
  border-bottom: 1px solid var(--glass-b); overflow: hidden;
}
.ph::before {
  content: ''; position: absolute; top: -100%; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--acc), transparent);
  animation: scanLine 3.2s linear infinite;
}
@keyframes scanLine { to { top: 110%; } }
.ph span { font-family: var(--display); letter-spacing: .2em; text-align: center; opacity: .3; position: relative; z-index: 1; }
.ph::after { content: attr(data-label); position: absolute; top: 14px; left: 14px; font-size: .6rem; letter-spacing: .2em; color: var(--acc); }
.card-body { padding: 22px; }
.card-body h3 { font-family: var(--display); letter-spacing: .05em; font-size: 1.1rem; }
.card-body .rg { color: var(--acc); font-size: .86rem; margin: 5px 0 11px; }
.card-body p:last-child { opacity: .78; font-size: .9rem; line-height: 1.65; }

/* ─── WAIT ── */
.wait { text-align: center; padding: 74px 32px; border-radius: 3px; position: relative; }
.wait::before { content: ''; position: absolute; inset: 6px; border: 1px dashed rgba(242,232,220,.14); border-radius: 2px; pointer-events: none; }
.wait p { opacity: .82; margin-bottom: 28px; line-height: 1.7; }
.wait .cta { margin-top: 0; }

/* ─── FOOTER ── */
.footer { position: relative; z-index: 2; text-align: center; padding: 32px; border-top: 1px solid var(--glass-b); font-size: .75rem; letter-spacing: .22em; }
.footer p { opacity: .65; }
.footer .rg { color: var(--acc); }

/* ─── REVEAL ── */
.reveal { opacity: 0; transform: perspective(800px) rotateX(4deg) translateY(36px) translateZ(-20px) scale(.98); transform-origin: center bottom; transition: opacity .85s, transform .85s var(--ease-spring); }
.reveal.in { opacity: 1; transform: perspective(800px) rotateX(0) translateY(0) translateZ(0) scale(1); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; cursor: auto; }
  #cursor, #cursor-aura { display: none; }
  a, button, .card, .cta { cursor: pointer; }
  .marquee-track, .badge, .ph::before, .grain { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ─── EXTRA MOBILE ── */
@media (max-width: 480px) {
  .nav { padding: 12px 14px; }
  .hero { padding: 100px 16px 50px; }
  .hero-title { font-size: clamp(3.5rem, 22vw, 8rem); }
  .eyebrow { font-size: .6rem; letter-spacing: .35em; }
  .section { padding: 60px 16px; }
  .grid { grid-template-columns: 1fr; gap: 18px; }
  .section-head h2, .wait h2 { font-size: clamp(1.8rem, 8vw, 3rem); }
  .stamp { font-size: .58rem; padding: 5px 10px; }
  .footer { padding: 24px 16px; font-size: .65rem; }
  .marquee-track { font-size: .85rem; }
}
