/* Immersive Ads brand: orange #FF8C00, ink, white. Type: Hepta Slab, as on palkagrecha.com.
   Surfaces are frosted glass (iOS-style): blur + saturation behind, a bright top rim, a soft drop shadow. */
@font-face { font-family: "Hepta Slab"; src: url(assets/fonts/hepta-slab.woff2) format("woff2"); font-weight: 1 1000; font-display: block; }

:root {
  --ink: #0b0614;
  --orange: #ff8c00;
  --paper: #fff;
  --mute: rgba(255, 255, 255, 0.74);
  --soft: rgba(255, 255, 255, 0.56);
  --hair: rgba(255, 255, 255, 0.14);
  --display: "Hepta Slab", Rockwell, Georgia, serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);

  /* Glass */
  --glass-bg: linear-gradient(150deg, rgba(255, 255, 255, 0.17) 0%, rgba(255, 255, 255, 0.06) 42%, rgba(255, 255, 255, 0.09) 100%), rgba(20, 12, 36, 0.42);
  --glass-blur: blur(30px) saturate(1.8);
  --glass-rim: rgba(255, 255, 255, 0.3);
  --glass-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.55), inset 0 -1px 0 rgba(255, 255, 255, 0.12), inset 0 0 24px rgba(255, 255, 255, 0.05), 0 30px 70px rgba(4, 1, 10, 0.5), 0 6px 18px rgba(4, 1, 10, 0.3);
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; overflow: hidden; background: var(--ink); color: var(--paper); font-family: var(--display); -webkit-font-smoothing: antialiased; }
h1, h2, h3, p, ul, ol, dl, dd, figure { margin: 0; padding: 0; list-style: none; }
img, video { display: block; max-width: 100%; }

#street { position: fixed; inset: 0; width: 100vw; height: 100vh; display: block; }

/* Light shade over the street; the glass panels carry the legibility. */
#shade { position: fixed; inset: 0; pointer-events: none; transition: background 1.2s var(--ease), backdrop-filter 1.2s var(--ease), -webkit-backdrop-filter 1.2s var(--ease); }
body[data-layout="left"] #shade { background: linear-gradient(90deg, rgba(11, 6, 20, 0.55) 0%, rgba(11, 6, 20, 0.2) 45%, rgba(11, 6, 20, 0) 62%); }
body[data-layout="full"] #shade { background: rgba(11, 6, 20, 0.45); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
body[data-layout="full"][data-tone="orange"] #shade { background: rgba(255, 140, 0, 0.9); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }

/* A fixed 1920×1080 stage, scaled to the screen (app.js sets --s). */
#stage { position: fixed; left: 50%; top: 50%; width: 1920px; height: 1080px; transform: translate(-50%, -50%) scale(var(--s, 1)); }
.sec { position: absolute; inset: 0; padding: 110px 120px; visibility: hidden; pointer-events: none; }
.sec.on { visibility: visible; pointer-events: auto; }

/* ---------- Glass surfaces ---------- */
.layout-left > .col, .col.row > .col, .testi > .col, .steps li, .card, .compare, .wall li.d, .offer, .chip, .tags span, #hud > button {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-rim);
  box-shadow: var(--glass-shadow);
}
/* Panels also get a soft specular sheen across the top-left. */
.layout-left > .col, .col.row > .col, .testi > .col, .card, .compare { position: relative; overflow: hidden; }
.layout-left > .col::before, .col.row > .col::before, .testi > .col::before, .card::before, .compare::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; border-radius: inherit;
  background: radial-gradient(120% 60% at 0% 0%, rgba(255, 255, 255, 0.16), transparent 55%), linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 30%);
}
.layout-left > .col > *, .col.row > .col > *, .testi > .col > *, .card > * { position: relative; }

/* Arrivals: every .in rises out of a blur, staggered by --d (set by app.js). Leaving is a quick fade. */
.in, .step { opacity: 0; transform: translateY(30px) scale(0.985); filter: blur(10px); transition: opacity 0.35s ease, transform 0.35s ease, filter 0.35s ease; }
.sec.on .in, .step.shown { opacity: 1; transform: none; filter: none; transition: opacity 0.9s var(--ease) calc(0.2s + var(--d, 0) * 0.09s), transform 0.9s var(--ease) calc(0.2s + var(--d, 0) * 0.09s), filter 0.9s var(--ease) calc(0.2s + var(--d, 0) * 0.09s); }
.step.shown { transition-delay: 0s; }
/* Panels arrive as one piece of glass. */
.layout-left > .col, .col.row > .col, .testi > .col { opacity: 0; transform: translateX(-40px); transition: opacity 0.4s ease, transform 0.4s ease; }
.sec.on > .col, .sec.on .col.row > .col, .sec.on .testi > .col { opacity: 1; transform: none; transition: opacity 0.9s var(--ease) 0.1s, transform 1s var(--ease) 0.1s; }
.layout-left > .col.row { position: static; background: none; border: 0; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; overflow: visible; opacity: 1; transform: none; padding: 0; width: auto; }
.layout-left > .col.row::before { display: none; }

/* ---------- Type ---------- */
.eyebrow { font-size: 19px; font-weight: 700; letter-spacing: 5px; text-transform: uppercase; color: var(--orange); }
h1 { font-size: 104px; font-weight: 800; line-height: 1; letter-spacing: -2px; }
h2 { font-size: 64px; font-weight: 800; line-height: 1.08; letter-spacing: -1px; text-wrap: balance; }
h2.huge { font-size: 92px; }
h2.big { font-size: 100px; }
h3 { font-size: 34px; font-weight: 700; line-height: 1.15; }
h1, h2 { text-shadow: 0 2px 20px rgba(0, 0, 0, 0.25); }
em { font-style: normal; color: var(--orange); }
.lede { font-size: 28px; line-height: 1.45; color: var(--mute); }
.lede b { color: var(--paper); }
.note { font-size: 20px; line-height: 1.45; color: var(--soft); }
.o { color: var(--orange); }

/* ---------- Layouts ---------- */
.layout-left { display: flex; align-items: center; }
.layout-left > .col { display: flex; flex-direction: column; gap: 26px; width: 860px; padding: 54px 60px; border-radius: 40px; }
.col.row { display: flex; flex-direction: row; align-items: center; gap: 40px; }
.col.row > .col { display: flex; flex-direction: column; gap: 24px; width: 660px; padding: 50px 54px; border-radius: 40px; }
.layout-full .center { height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 36px; max-width: 1500px; margin: 0 auto; }
.layout-full .center.wide { max-width: 1640px; }
.orange .center { align-items: flex-start; }
.orange .big { color: var(--ink); text-shadow: none; }
.punch { font-size: 60px; font-weight: 800; line-height: 1.1; color: var(--orange); text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3); }
.orange .punch { color: var(--paper); text-shadow: 0 3px 0 rgba(11, 6, 20, 0.18); }

/* ---------- Cover ---------- */
.has-strip > .col { width: 940px; margin-bottom: 70px; }
.logos { display: flex; align-items: center; gap: 30px; }
.ia-logo { width: 200px; height: auto; }
.logos .bar { width: 2px; height: 96px; background: linear-gradient(transparent, var(--orange), transparent); }
.chip { display: inline-flex; border-radius: 22px; padding: 12px 20px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.97), rgba(255, 255, 255, 0.86)); }
.chip img { width: 170px; height: auto; }
.chip.big img { width: 220px; }
.info { display: grid; grid-template-columns: auto auto 1fr; gap: 36px; padding-top: 24px; border-top: 1px solid var(--hair); }
.info dt { font-size: 16px; font-weight: 700; letter-spacing: 4px; text-transform: uppercase; color: var(--orange); margin-bottom: 6px; }
.info dd { font-size: 26px; font-weight: 700; line-height: 1.25; }

/* ---------- The brand ribbon: orange tape with the black text logo, always moving ---------- */
/* Reaches far past the 16:9 stage, so it runs edge to edge on any screen shape. */
.strip { position: absolute; left: -1200px; right: -1200px; bottom: 40px; height: 76px; background: linear-gradient(180deg, #ffa22e, var(--orange) 55%, #f07f00); transform: rotate(-2deg); overflow: hidden; display: flex; align-items: center; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.55), inset 0 -2px 0 rgba(0, 0, 0, 0.12), 0 14px 40px rgba(255, 140, 0, 0.35), 0 10px 30px rgba(0, 0, 0, 0.45); }
.sec .strip { opacity: 0; transform: translateX(-110%) rotate(-2deg); transition: transform 0.4s ease, opacity 0.3s; }
.sec.on .strip { opacity: 1; transform: translateX(0) rotate(-2deg); transition: transform 1.3s var(--ease) 0.6s, opacity 0.3s 0.6s; }
.track { display: flex; align-items: center; gap: 52px; width: max-content; flex: none; padding-left: 52px; animation: marquee 26s linear infinite; will-change: transform; }
.track img { height: 42px; width: auto; flex: none; }
.track i { width: 12px; height: 12px; border-radius: 50%; background: var(--ink); flex: none; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- AR steps ---------- */
.steps { display: flex; flex-direction: column; gap: 14px; }
.steps li { display: flex; align-items: center; gap: 24px; border-radius: 24px; padding: 18px 26px; font-size: 26px; line-height: 1.35; }
.steps b { flex: none; display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: radial-gradient(circle at 30% 25%, #ffb347, var(--orange) 60%, #e07000); color: var(--ink); font-size: 30px; font-weight: 800; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.5), 0 8px 20px rgba(255, 140, 0, 0.35); }

/* ---------- Stats ---------- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; padding-top: 6px; }
.stats.two { grid-template-columns: 1fr 1fr; gap: 26px 40px; }
.stats li { font-size: 21px; line-height: 1.35; color: var(--soft); padding-left: 18px; border-left: 3px solid var(--orange); }
.stats b { display: block; font-size: 48px; font-weight: 800; line-height: 1.05; color: var(--paper); margin-bottom: 4px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stats.two b { font-size: 52px; }

/* ---------- Photos ---------- */
.photo { position: relative; border-radius: 32px; overflow: hidden; border: 1px solid var(--glass-rim); box-shadow: var(--glass-shadow); flex: none; }
.photo::after { content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; box-shadow: inset 0 1.5px 0 rgba(255, 255, 255, 0.5); background: linear-gradient(160deg, rgba(255, 255, 255, 0.14), transparent 35%); }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall { width: 400px; height: 680px; }
.sec.on .photo img { animation: kenburns 9s ease-out both; }
@keyframes kenburns { from { transform: scale(1.14); } }
.points { display: flex; flex-direction: column; gap: 18px; }
.points li { font-size: 25px; line-height: 1.45; color: var(--mute); }
.points b { color: var(--orange); }

/* ---------- Hall of fame ---------- */
.wall { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.wall li { height: 200px; border-radius: 28px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 30px; }
.wall li.w { background: linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.86)); border: 1px solid rgba(255, 255, 255, 0.9); box-shadow: inset 0 2px 0 #fff, inset 0 -2px 6px rgba(0, 0, 0, 0.06), 0 26px 60px rgba(4, 1, 10, 0.45); }
.wall li.d { background: linear-gradient(150deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03)), rgba(8, 5, 14, 0.72); }
.wall img { max-width: 260px; max-height: 124px; width: auto; height: auto; object-fit: contain; }
.wall .word { font-family: Georgia, "Times New Roman", serif; font-style: italic; font-size: 52px; color: #6b1f3a; line-height: 1.1; }
.wall small { font-size: 17px; letter-spacing: 3px; text-transform: uppercase; color: #5b524c; }

/* ---------- Testimonial ---------- */
.testi { height: 100%; display: flex; align-items: center; gap: 48px; }
.photo.hero { width: 780px; height: 780px; }
.testi > .col { display: flex; flex-direction: column; gap: 24px; flex: 1; padding: 50px 54px; border-radius: 40px; }
.testi h2 { font-size: 58px; }
.who { border-left: 3px solid var(--orange); padding-left: 22px; display: flex; flex-direction: column; gap: 4px; }
.who b { font-size: 44px; font-weight: 800; color: var(--orange); }
.who span { font-size: 21px; color: var(--soft); }
.thumbs { display: flex; gap: 18px; }
.thumbs img { width: 50%; height: 200px; object-fit: cover; border-radius: 20px; border: 1px solid var(--glass-rim); box-shadow: 0 16px 40px rgba(4, 1, 10, 0.4); }

/* ---------- Godrej ---------- */
.tags { display: flex; gap: 12px; flex-wrap: wrap; }
.tags span { border-radius: 999px; padding: 10px 22px; font-size: 19px; font-weight: 700; color: var(--paper); }
.phone { position: absolute; right: 40px; top: 50%; width: 416px; height: 741px; margin-top: -370px; border-radius: 58px; overflow: hidden; padding: 12px; background: linear-gradient(150deg, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0.08)); border: 1px solid rgba(255, 255, 255, 0.45); box-shadow: var(--glass-shadow); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); }
.phone video { width: 100%; height: 100%; object-fit: cover; border-radius: 47px; }
.phone figcaption { position: absolute; left: 12px; right: 12px; bottom: 12px; border-radius: 0 0 47px 47px; padding: 40px 20px 18px; font-size: 21px; text-align: center; background: linear-gradient(transparent, rgba(0, 0, 0, 0.7)); }

/* ---------- JBN, cards ---------- */
.head-row { display: flex; align-items: center; justify-content: space-between; gap: 48px; }
.head-row > div { display: flex; flex-direction: column; gap: 20px; }
.cards { display: grid; gap: 24px; }
.cards.two { grid-template-columns: 1fr 1fr; }
.cards.three { grid-template-columns: repeat(3, 1fr); }
.card { border-radius: 32px; padding: 34px 38px; display: flex; flex-direction: column; gap: 12px; }
.card h3 { font-size: 40px; }
.cards.three .card h3 { font-size: 32px; }
.card p:not(.eyebrow) { font-size: 23px; line-height: 1.45; color: var(--mute); }
.card .eyebrow { font-size: 16px; }

/* ---------- Compare table ---------- */
.compare { width: 100%; border-collapse: separate; border-spacing: 0; border-radius: 32px; font-size: 25px; padding: 14px 18px; }
.compare th { text-align: left; font-size: 17px; letter-spacing: 4px; text-transform: uppercase; color: var(--soft); padding: 18px 24px 14px; font-weight: 700; }
.compare th:last-child { color: var(--orange); }
.compare td { padding: 17px 24px; border-top: 1px solid var(--hair); color: var(--soft); }
.compare td:first-child { font-weight: 700; color: var(--paper); width: 22%; }
.compare td:last-child { color: var(--paper); font-weight: 600; background: linear-gradient(90deg, rgba(255, 140, 0, 0.16), rgba(255, 140, 0, 0.06)); }
.compare tbody tr:last-child td:last-child { border-radius: 0 0 18px 0; }

/* ---------- Close ---------- */
.offer { border-radius: 26px; padding: 22px 28px; display: flex; flex-direction: column; gap: 6px; background: linear-gradient(150deg, rgba(255, 140, 0, 0.3), rgba(255, 140, 0, 0.1)); border-color: rgba(255, 170, 80, 0.6); }
.offer .eyebrow { color: #ffc37a; }
.offer p:last-child { font-size: 23px; line-height: 1.45; }
.contact { display: flex; flex-direction: column; gap: 4px; padding-top: 6px; }
.contact b { font-size: 36px; font-weight: 800; }
.contact span { font-size: 21px; color: var(--soft); }
.credits { font-size: 12px; line-height: 1.4; margin-top: -8px; color: rgba(255, 255, 255, 0.4); }

/* ---------- Controls ---------- */
#hud { position: fixed; right: 22px; bottom: 18px; display: flex; align-items: center; gap: 12px; opacity: 0; transition: opacity 0.4s; z-index: 5; }
body:hover #hud, #hud:focus-within { opacity: 1; }
#dots { display: flex; gap: 8px; padding: 8px 12px; border-radius: 999px; background: rgba(20, 12, 36, 0.45); -webkit-backdrop-filter: blur(16px); backdrop-filter: blur(16px); }
#dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, 0.35); cursor: pointer; }
#dots button[aria-current="true"] { background: var(--orange); transform: scale(1.35); }
#hud > button { font: 700 14px var(--display); color: var(--paper); border-radius: 999px; padding: 8px 16px; cursor: pointer; }
#bar { position: fixed; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, 0.08); z-index: 4; }
#bar i { display: block; height: 100%; width: 0; background: var(--orange); box-shadow: 0 0 12px var(--orange); transition: width 1.2s var(--ease); }

#loading { position: fixed; inset: 0; z-index: 10; display: grid; place-content: center; justify-items: center; gap: 24px; background: var(--ink); transition: opacity 1s ease, visibility 1s; }
#loading img { width: 300px; }
#loading p { color: var(--soft); font-size: 18px; letter-spacing: 4px; text-transform: uppercase; }
body.ready #loading { opacity: 0; visibility: hidden; }

/* ---------- Exceptions to the panel rule `> * { position: relative }` ---------- */
.layout-left .col.row > .phone { position: absolute; }
.layout-left > .col > .credits { position: static; }

/* ---------- Hoardings question: a street of forgettable boards rolling past ---------- */
.hoard { display: flex; align-items: center; }
.hoard .ask { position: relative; z-index: 2; width: 900px; display: flex; flex-direction: column; gap: 28px; }
.hoard .ask h2 { font-size: 86px; line-height: 1.04; }
.hoard .reveal { display: flex; flex-direction: column; gap: 10px; padding: 28px 34px; border-radius: 30px; background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); border: 1px solid var(--glass-rim); box-shadow: var(--glass-shadow); align-self: flex-start; }
.hoard .reveal .punch { font-size: 58px; }
.hoard .reveal .lede { font-size: 26px; }

/* The boards: a 3D lane on the right, scrolling past like traffic-side hoardings. */
.street { position: absolute; right: -80px; top: 50%; width: 1250px; height: 760px; margin-top: -380px; perspective: 1300px; perspective-origin: 30% 40%; -webkit-mask: linear-gradient(90deg, transparent 0%, #000 18%, #000 88%, transparent 100%); mask: linear-gradient(90deg, transparent 0%, #000 18%, #000 88%, transparent 100%); }
.lane { position: absolute; inset: 0; transform: rotateY(-34deg) translateZ(-120px); transform-style: preserve-3d; }
.belt { position: absolute; left: 0; top: 150px; display: flex; gap: 70px; width: max-content; animation: belt 34s linear infinite; }
@keyframes belt { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.board { flex: none; display: flex; flex-direction: column; align-items: center; transition: filter 1.2s var(--ease), opacity 1.2s var(--ease), transform 1.2s var(--ease); }
.board .panel { position: relative; width: 360px; height: 230px; border-radius: 10px; padding: 28px 30px; display: flex; flex-direction: column; justify-content: center; gap: 8px; overflow: hidden;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c) 92%, #fff), var(--c) 55%, color-mix(in srgb, var(--c) 70%, #000));
  border: 8px solid #2a2530; box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.25), 0 30px 50px rgba(0, 0, 0, 0.45);
  filter: saturate(0.55) brightness(0.82) contrast(0.95); }
/* Weathered vinyl: a dull sheen and some dust. */
.board .panel::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, rgba(255, 255, 255, 0.18), transparent 40%), repeating-linear-gradient(0deg, rgba(0, 0, 0, 0.05) 0 3px, transparent 3px 7px); }
.board b { font: 900 46px/1 var(--display); color: #fff; letter-spacing: -0.5px; }
.board span { font-size: 22px; color: rgba(255, 255, 255, 0.85); }
.board i { display: block; height: 8px; width: 70%; border-radius: 4px; background: rgba(255, 255, 255, 0.35); }
.board i + i { width: 45%; }
.board .legs { width: 220px; height: 150px; background: linear-gradient(90deg, transparent 18%, #2a2530 18%, #2a2530 24%, transparent 24%, transparent 76%, #2a2530 76%, #2a2530 82%, transparent 82%); }

/* The reveal: once "Name a few brands" is up, every board blurs away, forgotten. */
.hoard:has(.reveal.shown) .board { filter: blur(14px) grayscale(1); opacity: 0.18; transform: scale(0.94); }
.hoard:has(.reveal.shown) .belt { animation-play-state: paused; }

/* No reduced-motion override: this is a stage presentation, and the motion is part of the talk. */
