/* ============================================================
   AADYA PRABHA FILMS — Design tokens
   ============================================================ */
:root {
  --black:        #0a0806;
  --charcoal:      #14110d;
  --charcoal-2:    #1b1712;
  --gold:          #c9a050;
  --gold-bright:   #e8c878;
  --gold-dim:      #8a6f38;
  --cream:         #f3eee3;
  --stone:         #a89e8c;
  --stone-dim:     #6b6355;
  --line:          rgba(201, 160, 80, 0.18);

  --font-display: 'Bodoni Moda', Georgia, serif;
  --font-body: 'Work Sans', -apple-system, sans-serif;

  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: linear-gradient(to bottom,
    #3a352c 0%,
    #211c16 14%,
    #14110d 30%,
    var(--black) 55%,
    var(--black) 100%
  );
  color: var(--cream);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 500; margin: 0; color: var(--cream); letter-spacing: 0.005em; }
p { margin: 0; }

:focus-visible {
  outline: 2px solid var(--gold-bright);
  outline-offset: 3px;
}

/* Subtle film-grain overlay, whole page */
.grain {
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: linear-gradient(to bottom, rgba(58,53,44,0.75), rgba(58,53,44,0));
  backdrop-filter: blur(6px);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 22px 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%;
  filter: brightness(1.05);
}

.brand-word {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  color: var(--cream);
}
.brand-word em { color: var(--gold); font-style: normal; font-weight: 400; }

.site-nav {
  display: flex;
  gap: 40px;
}

.site-nav a {
  font-size: 0.92rem;
  color: var(--stone);
  transition: color 0.25s ease;
  position: relative;
}
.site-nav a:hover { color: var(--gold-bright); }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--cream);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 140px 24px 100px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: 8%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 900px;
  background: radial-gradient(circle, rgba(201,160,80,0.16) 0%, rgba(201,160,80,0.05) 35%, transparent 65%);
  animation: pulse-glow 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.06); }
}

.hero-aperture {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 560px;
  height: 560px;
  transform: translate(-50%, -54%);
  pointer-events: none;
  z-index: 1;
  opacity: 0.5;
}

.aperture-blades {
  fill: none;
  stroke: var(--gold-dim);
  stroke-width: 0.75;
  stroke-linejoin: round;
  transform-origin: 200px 200px;
  animation: rotate-blades 60s linear infinite;
}

.aperture-ring {
  fill: none;
  stroke: var(--gold-dim);
  stroke-width: 0.5;
  opacity: 0.6;
}

@keyframes rotate-blades {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@media (prefers-reduced-motion: reduce) {
  .aperture-blades { animation: none; }
}

.hero-inner {
  position: relative;
  z-index: 2;
  max-width: 780px;
}

.hero-mark {
  width: min(340px, 70vw);
  height: auto;
  margin: 0 auto 32px;
  filter: drop-shadow(0 0 50px rgba(201,160,80,0.22));
}

.hero-title {
  font-size: clamp(2.1rem, 5.2vw, 3.6rem);
  line-height: 1.15;
  color: var(--cream);
  margin-bottom: 26px;
  letter-spacing: -0.01em;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--stone);
  max-width: 520px;
  margin: 0 auto 44px;
  line-height: 1.7;
}

.hero-cta {
  display: inline-block;
  padding: 15px 36px;
  border: 1px solid var(--gold-dim);
  color: var(--gold-bright);
  font-size: 0.92rem;
  letter-spacing: 0.03em;
  border-radius: 2px;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.hero-cta:hover {
  border-color: var(--gold-bright);
  background: rgba(201,160,80,0.08);
}

/* Sprocket-hole strip motif, echoing the logo's film-reel ring */
.hero-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 10px;
  background-image: repeating-linear-gradient(
    to right,
    var(--gold-dim) 0px, var(--gold-dim) 6px,
    transparent 6px, transparent 20px
  );
  opacity: 0.35;
}

/* ============================================================
   SECTION SHARED
   ============================================================ */
section { position: relative; }

.about, .vision, .projects, .contact {
  padding: 120px 32px;
}

.about-inner, .vision-inner, .projects-inner, .contact-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.about-label, .vision-label, .projects-label, .contact-label {
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 0.04em;
  margin-bottom: 20px;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.about-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  line-height: 1.25;
}

.about-copy p {
  color: var(--stone);
  font-size: 1.02rem;
  margin-bottom: 20px;
  max-width: 46ch;
}
.about-copy p:last-child { margin-bottom: 0; }

/* ============================================================
   VISION
   ============================================================ */
.vision-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.vision-item {
  display: grid;
  grid-template-columns: 56px 200px 1fr;
  gap: 28px;
  align-items: baseline;
  padding: 38px 0;
  border-top: 1px solid var(--line);
}
.vision-item:last-child { border-bottom: 1px solid var(--line); }

.vision-icon {
  width: 34px;
  height: 34px;
  color: var(--gold);
  align-self: center;
}

.vision-index {
  font-family: var(--font-display);
  font-size: 1.65rem;
  color: var(--gold-bright);
  font-style: italic;
  letter-spacing: 0.01em;
}

.vision-item p {
  color: var(--stone);
  font-size: 1.05rem;
  max-width: 56ch;
  line-height: 1.75;
}

/* ============================================================
   PROJECTS
   ============================================================ */
.projects { border-bottom: 1px solid var(--line); }

.slate-card {
  border: 1px solid var(--gold-dim);
  border-radius: 3px;
  padding: 44px 48px;
  max-width: 560px;
  background: linear-gradient(160deg, rgba(201,160,80,0.06), transparent 60%);
}

.slate-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 22px;
  font-size: 0.85rem;
}

.slate-tag {
  color: var(--stone);
  letter-spacing: 0.02em;
}

.slate-status {
  color: var(--gold-bright);
  border: 1px solid var(--gold-dim);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
}

.slate-genre {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 14px;
}

.slate-note {
  color: var(--stone-dim);
  font-size: 0.95rem;
  font-style: italic;
}

.projects-footnote {
  margin-top: 28px;
  color: var(--stone-dim);
  font-size: 0.92rem;
  max-width: 480px;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
}

.contact-heading {
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  line-height: 1.3;
  margin: 14px 0 18px;
}

.contact-sub {
  color: var(--stone);
  font-size: 1rem;
  max-width: 38ch;
}

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 4px;
}

.contact-line {
  font-size: 1.05rem;
  color: var(--cream);
  border-bottom: 1px solid var(--line);
  padding-bottom: 16px;
  transition: color 0.25s ease;
}
a.contact-line:hover { color: var(--gold-bright); }

.contact-address {
  color: var(--stone);
  font-size: 0.95rem;
  line-height: 1.7;
}

.contact-social {
  display: flex;
  gap: 24px;
  margin-top: 8px;
  font-size: 0.88rem;
  color: var(--stone);
}
.contact-social a { transition: color 0.25s ease; }
.contact-social a:hover { color: var(--gold-bright); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  padding: 60px 32px 40px;
  text-align: center;
  border-top: 1px solid var(--line);
}

.footer-mark {
  width: 44px;
  height: 44px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 18px;
  opacity: 0.9;
}

.footer-tagline {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold);
  font-size: 1rem;
  margin-bottom: 14px;
}

.footer-copy {
  color: var(--stone-dim);
  font-size: 0.82rem;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .vision-item { grid-template-columns: 40px 1fr; gap: 16px 20px; }
  .vision-item p { grid-column: 1 / -1; }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 720px) {
  .site-nav {
    position: fixed;
    top: 0; right: 0;
    height: 100vh;
    width: min(78vw, 320px);
    background: var(--charcoal);
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    padding: 40px;
    transform: translateX(100%);
    transition: transform 0.35s ease;
    border-left: 1px solid var(--line);
    z-index: 100;
  }
  .site-nav.open { transform: translateX(0); }
  .site-nav a { font-size: 1.1rem; }
  .nav-toggle { display: flex; z-index: 101; position: relative; }

  .about, .vision, .projects, .contact { padding: 80px 22px; }
  .slate-card { padding: 32px 28px; }
}

.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.55);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
  z-index: 99;
}
.nav-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}
