/* Drisshyam Entertainment — site styles */

:root {
  --cream: #F6EFE3;
  --paper: #FFFBF4;
  --line: #E5D9C4;
  --ink: #1A1714;
  --muted: #5A5247;
  --muted-2: #6B6153;
  --green: #1E4733;
  --green-deep: #163828;
  --green-soft: #E8F0EA;
  --maroon: #8A1F28;
  --maroon-deep: #721820;
  --gold: #B8893E;
  --gold-text: #8A6420;
  --gold-light: #E2C27F;

  --font-display: "Bodoni Moda", "Didot", "Times New Roman", serif;
  --font-body: "Outfit", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mark: "Cinzel", "Trajan Pro", serif;

  --radius-lg: 32px;
  --radius-md: 28px;
  --radius-sm: 18px;
  --container: 1360px;
  --ease: cubic-bezier(.22, .61, .36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: var(--maroon); }
a:hover { color: var(--green); }

:focus-visible { outline: 2px solid var(--maroon); outline-offset: 3px; border-radius: 6px; }

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--green); color: #fff; padding: 10px 16px; border-radius: 999px; text-decoration: none;
}
.skip-link:focus { top: 16px; color: #fff; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 20px; }

.serif { font-family: var(--font-display); font-weight: 400; letter-spacing: -0.01em; }
.serif em, em.accent { font-style: italic; color: var(--maroon); }

.eyebrow {
  margin: 0; font-size: 13px; font-weight: 500; letter-spacing: 0.24em; text-transform: uppercase; color: var(--gold-text);
}

/* ---------- Wordmark ---------- */
.brand { display: inline-flex; align-items: baseline; gap: 10px; text-decoration: none; }
.brand__mark { font-family: var(--font-mark); font-weight: 700; font-size: 24px; line-height: 1; color: var(--green); }
.brand__mark .r { color: var(--maroon); }
.brand__mark .ma { font-family: "Tiro Devanagari Hindi", serif; font-weight: 400; color: var(--maroon); font-size: 1.17em; }
.brand__sub { font-size: 10px; letter-spacing: 0.36em; color: var(--green); font-weight: 500; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 14px 24px; border-radius: 999px;
  font: 500 16px/1 var(--font-body); text-decoration: none; cursor: pointer;
  border: 1px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn svg { flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--maroon); color: #fff; box-shadow: 0 14px 30px -16px rgba(138, 31, 40, .8); }
.btn--primary:hover { background: var(--maroon-deep); color: #fff; }
.btn--ghost { border-color: #DCCFB8; color: var(--ink); background: transparent; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--green { background: var(--green); color: #fff; padding: 10px 10px 10px 22px; }
.btn--green:hover { background: var(--green-deep); color: #fff; }

.round-arrow {
  width: 28px; height: 28px; border-radius: 999px; background: var(--cream); color: var(--green);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .35s var(--ease);
}
.btn:hover .round-arrow, .card-link:hover .round-arrow { transform: rotate(45deg); }

/* ---------- Header ---------- */
.site-header {
  position: relative; z-index: 20; margin: 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: rgba(255, 251, 244, .88);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, .6); border-radius: 999px;
  padding: 10px 10px 10px 26px;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a:not(.btn) {
  color: var(--ink); text-decoration: none; font-size: 15px; font-weight: 500;
  padding: 10px 16px; border-radius: 999px; transition: background-color .2s;
}
.site-nav a:not(.btn):hover { background: rgba(30, 71, 51, .08); }
.nav-toggle {
  display: none; width: 48px; height: 48px; border-radius: 999px; border: 0;
  background: var(--green); color: #fff; cursor: pointer; align-items: center; justify-content: center;
}

/* ---------- Hero ---------- */
.hero { padding-top: 20px; }
.hero__frame {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  min-height: min(820px, 92vh); display: flex; flex-direction: column;
  background: #2a211a;
}
.hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: heroZoom 14s var(--ease) forwards; }
@keyframes heroZoom { to { transform: scale(1); } }
.hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,.45) 0%, rgba(20,16,12,0) 30%, rgba(20,16,12,0) 55%, rgba(20,16,12,.55) 100%);
}
.hero__bottom {
  position: relative; margin-top: auto; padding: 20px;
  display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.hero__card {
  flex: 0 1 640px; background: var(--paper); border-radius: 26px; padding: 40px 40px 36px;
  display: flex; flex-direction: column; gap: 18px;
  box-shadow: 0 30px 60px -30px rgba(20, 16, 12, .45);
}
.hero__card h1 { margin: 0; font-size: clamp(40px, 5vw, 70px); line-height: 1.02; letter-spacing: -0.015em; }
.hero__card p { margin: 0; color: var(--muted); max-width: 480px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 4px; }

.status-chip {
  align-self: flex-start; display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; color: var(--green); background: var(--green-soft);
  padding: 7px 14px; border-radius: 999px;
}
.status-chip__dot { width: 8px; height: 8px; border-radius: 999px; background: #2E8C57; animation: pulse 1.8s infinite; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(46,140,87,.5); } 100% { box-shadow: 0 0 0 10px rgba(46,140,87,0); } }

.seal { position: relative; width: 132px; height: 132px; flex: none; margin: 0 12px 12px 0; }
.seal__ring { position: absolute; inset: 0; animation: spin 22s linear infinite; }
.seal__lotus { position: absolute; left: 46px; top: 46px; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; padding: 34px 0; border-bottom: 1px solid var(--line); }
.marquee__track {
  display: flex; width: max-content; gap: 40px; align-items: center; white-space: nowrap;
  font-family: var(--font-display); font-style: italic; font-size: 34px; color: var(--green);
  animation: marquee 40s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Section heads ---------- */
.section { padding: 112px 0 56px; }
.section-head {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 44px; padding: 0 8px;
}
.section-head h2 { margin: 0; font-size: clamp(36px, 4vw, 58px); line-height: 1.04; max-width: 680px; }
.section-head p { margin: 0; max-width: 380px; color: var(--muted); }

/* ---------- Bento services ---------- */
.bento { display: flex; flex-wrap: wrap; gap: 16px; }
.tile {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between; gap: 24px;
  padding: 32px; min-height: 360px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.tile:hover { transform: translateY(-4px); box-shadow: 0 28px 50px -30px rgba(26, 23, 20, .45); }
.tile h3 { margin: 0; font-size: 34px; line-height: 1.05; }
.tile p { margin: 0; font-size: 16px; }
.tile__body { display: flex; flex-direction: column; gap: 10px; }
.tile__icon { width: 60px; height: 60px; border-radius: 18px; display: inline-flex; align-items: center; justify-content: center; }

.tile--feature { flex: 2 1 560px; min-height: 440px; justify-content: flex-end; padding: 0; color: #fff; }
.tile--feature img, .tile--photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.tile--feature:hover img, .tile--photo:hover img { transform: scale(1.05); }
.tile--feature::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,16,12,0) 40%, rgba(20,16,12,.8) 100%);
}
.tile__overlay {
  position: relative; z-index: 1; padding: 32px;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 20px;
}
.tile--feature h3 { font-size: 40px; }
.tile--feature p { color: #EDE6DA; }
.tag {
  align-self: flex-start; font-size: 12px; letter-spacing: .16em; text-transform: uppercase;
  background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  padding: 6px 12px; border-radius: 999px;
}
.card-link {
  flex: none; width: 52px; height: 52px; border-radius: 999px; background: var(--paper); color: var(--ink);
  display: inline-flex; align-items: center; justify-content: center; transition: transform .35s var(--ease);
}
.card-link:hover { transform: rotate(45deg); color: var(--ink); }

.tile--green { flex: 1 1 300px; min-height: 440px; background: var(--green); color: #F3EEE3; }
.tile--green h3 { color: #fff; }
.tile--green p { color: #C9D6CD; }
.tile--green .tile__icon { background: rgba(255,255,255,.1); }

.tile--paper { flex: 1 1 300px; background: var(--paper); border: 1px solid var(--line); }
.tile--paper p { color: var(--muted); }
.tile--photo { flex: 1 1 300px; padding: 0; }

/* ---------- Process: journey timeline ---------- */
.journey {
  position: relative; overflow: hidden;
  background: var(--green); color: #F3EEE3; border-radius: var(--radius-lg);
  padding: 64px 56px 60px; display: flex; flex-direction: column; gap: 56px;
}
.journey::before {
  /* soft lotus watermark */
  content: ""; position: absolute; right: -60px; top: -60px; width: 320px; height: 320px; opacity: .06; pointer-events: none;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23E2C27F'%3E%3Cpath d='M12 3c2.2 2.7 2.7 6.4 0 10.5C9.3 9.4 9.8 5.7 12 3z'/%3E%3Cpath d='M12 14c-1.6-3.2-4.8-5.2-8.6-5.2 0 3.8 3.8 6.4 8.6 5.2z'/%3E%3Cpath d='M12 14c1.6-3.2 4.8-5.2 8.6-5.2 0 3.8-3.8 6.4-8.6 5.2z'/%3E%3C/svg%3E") center / contain no-repeat;
}
.journey__head { position: relative; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px; }
.journey__intro { display: flex; flex-direction: column; gap: 14px; max-width: 640px; }
.journey .eyebrow { color: var(--gold-light); }
.journey h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; color: #fff; }
.journey h2 em { color: var(--gold-light); }
.journey__stamp {
  display: flex; align-items: center; gap: 18px; max-width: 380px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(226,194,127,.28); border-radius: 22px; padding: 18px 22px;
  font-size: 15px; color: #D5E0D8;
}
.journey__stamp-year { font-size: 44px; line-height: 1; color: var(--gold-light); font-style: italic; }

.timeline { position: relative; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.tl-step { position: relative; display: flex; flex-direction: column; gap: 22px; }
.tl-step:not(:last-child)::after {
  /* connector to the next node */
  content: ""; position: absolute; top: 32px; left: 80px; width: calc(100% - 80px + 28px - 16px);
  border-top: 1px dashed rgba(226,194,127,.55);
}
.tl-node {
  position: relative; z-index: 1; width: 64px; height: 64px; border-radius: 999px; flex: none;
  display: inline-flex; align-items: center; justify-content: center;
  background: #24543C; color: var(--gold-light); border: 1px solid rgba(226,194,127,.45);
  box-shadow: 0 0 0 8px rgba(255,255,255,.03);
  transition: transform .5s var(--ease), background-color .3s, box-shadow .5s var(--ease);
}
.tl-step:hover .tl-node { transform: translateY(-4px); box-shadow: 0 0 0 10px rgba(226,194,127,.1); }
.tl-step--final .tl-node { background: var(--gold-light); color: var(--green); border-color: var(--gold-light); }
.tl-body { display: flex; flex-direction: column; gap: 10px; }
.tl-label { font-size: 12px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-light); font-weight: 500; }
.tl-body h3 { margin: 0; font-size: 32px; line-height: 1.05; color: #fff; }
.tl-body p { margin: 0; font-size: 15px; color: #C9D6CD; }
.tl-chip {
  align-self: flex-start; margin-top: 6px; font-size: 13px; color: #F3EEE3;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: 6px 12px; border-radius: 999px;
}

@media (max-width: 1080px) {
  .timeline { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 44px; }
  .tl-step:nth-child(2)::after { display: none; }
}
@media (max-width: 640px) {
  .timeline { grid-template-columns: 1fr; row-gap: 0; }
  .tl-step { flex-direction: row; gap: 20px; padding-bottom: 36px; }
  .tl-step:last-child { padding-bottom: 0; }
  .tl-step:not(:last-child)::after,
  .tl-step:nth-child(2)::after {
    display: block; top: 76px; left: 31px; bottom: 12px; width: 0; border-top: 0; border-left: 1px dashed rgba(226,194,127,.55);
  }
  .tl-node { width: 56px; height: 56px; }
  .tl-step:not(:last-child)::after { left: 27px; top: 68px; }
  .tl-body h3 { font-size: 28px; }
}

/* ---------- Contact ---------- */
.contact { display: flex; flex-wrap: wrap; gap: 16px; padding-bottom: 96px; }
.contact__arch { flex: 1 1 380px; position: relative; min-height: 560px; border-radius: 260px 260px var(--radius-md) var(--radius-md); overflow: hidden; }
.contact__arch img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact__panel {
  flex: 1.4 1 480px; background: var(--maroon); color: #FBEFEA; border-radius: var(--radius-md);
  padding: 56px 48px; display: flex; flex-direction: column; justify-content: space-between; gap: 36px;
}
.contact__panel .eyebrow { color: #F2C9A0; }
.contact__panel h2 { margin: 0; font-size: clamp(36px, 4vw, 56px); line-height: 1.04; color: #fff; }
.contact__panel h2 em { color: #fff; }
.contact__panel p { margin: 0; color: #F1D9D4; max-width: 460px; }
.contact__intro { display: flex; flex-direction: column; gap: 16px; }
.contact__list { display: flex; flex-direction: column; gap: 10px; }
.contact__row { display: flex; flex-wrap: wrap; gap: 10px; }

.contact-main {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  background: var(--paper); color: var(--ink); padding: 18px 18px 18px 24px; border-radius: var(--radius-sm);
  text-decoration: none; transition: transform .35s var(--ease);
}
.contact-main:hover { transform: translateY(-2px); color: var(--ink); }
.contact-main__label { display: flex; align-items: center; gap: 14px; }
.contact-main small { display: block; font-size: 13px; color: var(--muted-2); }
.contact-main strong { font-weight: 600; font-size: 18px; }
.contact-main .round-arrow { width: 40px; height: 40px; background: var(--green); color: #fff; }
.contact-main:hover .round-arrow { transform: rotate(45deg); }

.contact-chip {
  flex: 1 1 200px; display: flex; align-items: center; gap: 12px;
  border: 1px solid rgba(255,255,255,.28); color: #fff; padding: 16px 20px; border-radius: var(--radius-sm);
  text-decoration: none; transition: background-color .25s;
}
a.contact-chip:hover { background: rgba(255,255,255,.08); color: #fff; }
.contact-chip svg { flex: none; }

/* ---------- Footer ---------- */
.site-footer { padding-bottom: 32px; }
.footer-grid {
  border-top: 1px solid var(--line); padding: 32px 8px 0;
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 28px;
}
.footer-biz { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted-2); max-width: 520px; }
.footer-biz strong { color: var(--ink); font-weight: 600; }
.footer-legal { display: flex; flex-wrap: wrap; gap: 8px; align-items: flex-start; }
.pill-link {
  text-decoration: none; color: var(--ink); background: var(--paper); border: 1px solid var(--line);
  padding: 9px 16px; border-radius: 999px; font-size: 14px; transition: border-color .2s;
}
.pill-link:hover { border-color: var(--ink); color: var(--ink); }
.footer-copy { width: 100%; font-size: 13px; color: var(--muted-2); margin: 0; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .hero__img { transform: none; }
}

/* ---------- Legal pages ---------- */
.legal-header {
  max-width: 980px; margin: 20px auto 0;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 10px 10px 10px 26px;
}
.legal { max-width: 980px; margin: 0 auto; padding: 64px 20px 96px; }
.legal__head { padding: 0 4px 36px; border-bottom: 1px solid var(--line); margin-bottom: 40px; }
.legal__head h1 { margin: 12px 0 10px; font-size: clamp(40px, 5vw, 64px); line-height: 1.04; }
.legal__head p { margin: 0; color: var(--muted); }
.legal__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; }
.toc {
  flex: 1 1 220px; position: sticky; top: 24px;
  background: var(--paper); border: 1px solid var(--line); border-radius: 22px; padding: 22px;
}
.toc p { margin: 0 0 10px; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold-text); font-weight: 500; }
.toc ol { margin: 0; padding-left: 18px; display: flex; flex-direction: column; gap: 6px; font-size: 14px; }
.toc a { color: var(--ink); text-decoration: none; }
.toc a:hover { color: var(--maroon); text-decoration: underline; }
.prose { flex: 999 1 520px; min-width: 0; color: #2E2A25; }
.prose h2 { font-family: var(--font-display); font-weight: 400; font-size: 30px; line-height: 1.15; margin: 44px 0 12px; color: var(--ink); scroll-margin-top: 24px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-size: 18px; margin: 24px 0 8px; }
.prose p, .prose li { color: #3D3832; }
.prose ul { padding-left: 20px; }
.prose li { margin: 6px 0; }
.prose .note {
  background: var(--paper); border: 1px solid var(--line); border-radius: 18px; padding: 20px 22px; margin: 20px 0;
}
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; margin: 16px 0; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 12px 14px; border-bottom: 1px solid var(--line); }
.prose th { font-weight: 600; background: var(--paper); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; }
.table-wrap table { margin: 0; }
.fill { background: #FFF1C9; color: #5B4300; padding: 0 4px; border-radius: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .nav-toggle { display: inline-flex; }
  .site-header { flex-wrap: wrap; border-radius: 28px; padding: 8px 8px 8px 20px; }
  .site-nav {
    display: none; width: 100%; flex-direction: column; align-items: stretch; gap: 4px; padding: 8px 4px 6px;
  }
  .site-nav.is-open { display: flex; }
  .site-nav a:not(.btn) { padding: 14px 12px; }
  .site-nav .btn { justify-content: space-between; }
  .seal { display: none; }
  .hero__card { padding: 28px 24px; }
  .journey, .contact__panel { padding: 40px 24px; }
  .journey { gap: 40px; }
  .contact__arch { min-height: 420px; }
  .toc { position: static; }
}
@media (max-width: 520px) {
  body { font-size: 16px; }
  .site-header { margin: 12px; }
  .hero { padding-top: 12px; }
  .container { padding: 0 12px; }
  .hero__bottom { padding: 12px; }
  .hero__frame { min-height: 640px; border-radius: 26px; }
  .brand__sub { display: none; }
  .tile { padding: 26px; }
  .tile__overlay { padding: 24px; }
  .tile--feature h3 { font-size: 34px; }
  .marquee__track { font-size: 26px; }
  .section { padding-top: 80px; }
  .legal-header { margin: 12px; border-radius: 28px; }
  .legal { padding: 40px 16px 72px; }
}
