:root {
  --gold: #c2a878;
  --gold-soft: #d8c49a;
  --ink: #0a0d12;
  --fog: #141b24;
  --paper: #efe7d9;
  --muted: #8b93a0;
  --line: rgba(226, 214, 190, 0.14);
  --font-serif: "Cormorant Garamond", Georgia, serif;
  --font-script: "Dancing Script", cursive;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --pad: clamp(1.25rem, 5vw, 7rem);
}
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  color: var(--paper);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  background: var(--ink);
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background:
    radial-gradient(140% 80% at 78% 8%, rgba(60, 52, 38, 0.5), transparent 55%),
    radial-gradient(
      120% 90% at 10% 100%,
      rgba(30, 42, 58, 0.45),
      transparent 55%
    ),
    linear-gradient(180deg, #0b0f15 0%, #0a0d12 40%, #080a0f 100%);
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  background-image: radial-gradient(
    circle at 1px 1px,
    rgba(255, 255, 255, 0.6) 1px,
    transparent 0
  );
  background-size: 3px 3px;
}
body.no-scroll {
  overflow: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
button {
  font-family: inherit;
  cursor: pointer;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  font-weight: 500;
  letter-spacing: -0.02em;
}
p {
  margin: 0;
}
::selection {
  background: var(--gold);
  color: var(--ink);
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}
.eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.34em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
}
.eyebrow::before {
  content: "";
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
  opacity: 0.6;
}
.serif {
  font-family: var(--font-serif);
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  border: 1px solid transparent;
  transition:
    background 0.5s var(--ease),
    color 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.btn .arw {
  transition: transform 0.45s var(--ease);
}
.btn:hover .arw {
  transform: translateX(5px);
}
.btn-solid {
  background: var(--gold);
  color: var(--ink);
}
.btn-solid:hover {
  background: var(--gold-soft);
}
.btn-ghost {
  border-color: var(--line);
  color: var(--paper);
}
.btn-ghost:hover {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
section {
  position: relative;
  z-index: 2;
}
.writeon {
  clip-path: inset(0 100% 0 0);
}

#loader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: var(--ink);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
}

#loader img {
  height: clamp(90px, 4.4vw, 48px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

#loader {
  width: auto;
  max-width: 100%;
  object-fit: contain;
  overflow: hidden;
}

#loader .lg {
  font-family: var(--font-script);
  font-size: clamp(2rem, 6vw, 3.4rem);
  color: var(--paper);
  opacity: 0;
}
#loader .lg b {
  color: var(--gold);
  font-weight: 700;
}
#loader .bar-wrap {
  width: min(220px, 58vw);
  height: 1px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
#loader .bar {
  position: absolute;
  inset: 0;
  width: 0;
  background: var(--gold);
}
#loader.done {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.7s ease;
}

.ink-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1;
  pointer-events: none;
  overflow: visible;
}
.ink-layer svg {
  position: absolute;
  top: 0;
  left: 0;
  overflow: visible;
}
.ink-path {
  fill: none;
  stroke: var(--gold);
  stroke-width: 1.6;
  stroke-linecap: round;
  opacity: 0.55;
  filter: drop-shadow(0 0 6px rgba(194, 168, 120, 0.35));
}
.pen {
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 60px;
  margin: -54px 0 0 -10px;
  transform-origin: 16.6% 90.6%;
  will-change: transform;
}
.pen img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 3px 7px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 6px rgba(194, 168, 120, 0.35));
}
body.reduced .pen {
  display: none;
}
body.reduced .ink-path {
  opacity: 0.28;
}

/* =========================================================
  HEADER
  ========================================================= */
.site-header {
  --nav-h: 84px;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 200;
  transition:
    background 0.6s var(--ease),
    backdrop-filter 0.6s var(--ease),
    border-color 0.6s var(--ease);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  --nav-h: 72px;
  background: rgba(10, 13, 18, 0.78);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  height: var(--nav-h);
  padding: 0 var(--pad);
  transition: height 0.5s var(--ease);
}

/* Logo */
.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 0;
}
.brand img {
  height: clamp(90px, 4.4vw, 48px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

/* Desktop nav */
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(1.1rem, 2.2vw, 2.2rem);
  height: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}
.nav-links > li {
  display: flex;
  align-items: center;
  height: 100%;
}
.nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.3rem 0;
  background: none;
  border: 0;
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 500;
  color: var(--paper);
  opacity: 0.82;
  white-space: nowrap;
  transition: opacity 0.3s ease;
}
.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  height: 1px;
  width: 0;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.nav-link:hover,
.has-dd.open .nav-link {
  opacity: 1;
}
.nav-link:hover::after,
.has-dd.open .nav-link::after {
  width: 100%;
}
.nav-link .chev {
  width: 10px;
  height: 10px;
  transition: transform 0.4s var(--ease);
}
.has-dd.open .nav-link .chev {
  transform: rotate(180deg);
}

.nav-cta {
  display: inline-flex;
  border: 1px solid var(--line);
  padding: 0.9rem 1.7rem;
  border-radius: 2px;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-weight: 600;
  white-space: nowrap;
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    border-color 0.45s var(--ease);
}
.nav-cta:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* Services dropdown */
.dd {
  position: absolute;
  top: 100%;
  right: var(--pad);
  width: min(780px, calc(100vw - 2 * var(--pad)));
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.2rem, 2.4vw, 2.2rem);
  padding: clamp(1.3rem, 2.4vw, 2.2rem);
  background: rgba(15, 21, 29, 0.98);
  border: 1px solid var(--line);
  border-top-color: rgba(194, 168, 120, 0.45);
  border-radius: 2px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.7);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition:
    opacity 0.35s var(--ease),
    transform 0.5s var(--ease),
    visibility 0s 0.35s;
}
.has-dd.open .dd {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition-delay: 0s;
}
.dd-title {
  margin-bottom: 0.6rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.dd-col a {
  display: block;
  padding: 0.45rem 0;
  font-size: 0.92rem;
  color: var(--paper);
  opacity: 0.85;
  transition:
    color 0.3s ease,
    opacity 0.3s ease,
    transform 0.45s var(--ease);
}
.dd-col a:hover {
  color: var(--gold-soft);
  opacity: 1;
  transform: translateX(6px);
}

/* Burger (opens the mobile menu) */
.burger {
  display: none;
  width: 46px;
  height: 46px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
  transition:
    background 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.burger:hover {
  border-color: var(--gold);
}
.burger span {
  position: absolute;
  left: 14px;
  right: 14px;
  height: 1.5px;
  background: var(--paper);
}
.burger span:nth-child(1) {
  top: 17px;
}
.burger span:nth-child(2) {
  top: 22px;
}
.burger span:nth-child(3) {
  top: 27px;
}

/* =========================================================
  MOBILE MENU
  ========================================================= */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 300;
  height: 100vh;
  height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  overscroll-behavior: contain;
  background:
    radial-gradient(
      120% 60% at 85% 0%,
      rgba(60, 52, 38, 0.45),
      transparent 60%
    ),
    var(--fog);
  clip-path: inset(0 0 100% 0);
  visibility: hidden;
  pointer-events: none;
  transition:
    clip-path 0.7s var(--ease),
    visibility 0s 0.7s;
}
.menu-open .mobile-menu {
  clip-path: inset(0 0 0 0);
  visibility: visible;
  pointer-events: auto;
  transition:
    clip-path 0.7s var(--ease),
    visibility 0s 0s;
}

.m-top {
  position: sticky;
  top: 0;
  z-index: 2;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: 68px;
  padding: 0 var(--pad);
  background: var(--fog);
  border-bottom: 1px solid var(--line);
}
.m-close {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  background: none;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.m-close svg {
  width: 18px;
  height: 18px;
  transition: transform 0.5s var(--ease);
}
.m-close:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.m-close:hover svg {
  transform: rotate(90deg);
}

.m-nav {
  margin: auto 0;
  padding: 1.25rem var(--pad);
}
.m-nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
.m-item {
  border-bottom: 1px solid var(--line);
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}
.menu-open .m-item {
  opacity: 1;
  transform: none;
  transition:
    opacity 0.5s var(--ease),
    transform 0.5s var(--ease);
  transition-delay: calc(0.16s + var(--i, 0) * 0.06s);
}
.m-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  width: 100%;
  padding: 0.8rem 0;
  background: none;
  border: 0;
  text-align: left;
  font-family: var(--font-serif);
  font-size: clamp(1.9rem, 8vw, 2.7rem);
  font-weight: 500;
  line-height: 1.1;
  color: var(--paper);
}
.m-link:hover {
  color: var(--gold-soft);
}
.m-link .chev {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  transition: transform 0.45s var(--ease);
}
.m-has-sub.open .m-link .chev {
  transform: rotate(180deg);
}

/* Services accordion */
.m-sub {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.5s var(--ease);
}
.m-has-sub.open .m-sub {
  grid-template-rows: 1fr;
}
.m-sub-clip {
  min-height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0s 0.5s;
}
.m-has-sub.open .m-sub-clip {
  visibility: visible;
  transition-delay: 0s;
}
.m-groups {
  padding: 0.2rem 0 1.2rem;
}
.m-group + .m-group {
  margin-top: 1.1rem;
}
.m-group-title {
  margin-bottom: 0.3rem;
  font-size: 0.68rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gold);
}
.m-group a {
  display: block;
  padding: 0.55rem 0;
  font-size: 1rem;
  color: var(--paper);
  opacity: 0.85;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}
.m-group a:hover {
  color: var(--gold-soft);
  opacity: 1;
}

.m-foot {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem var(--pad) calc(2rem + env(safe-area-inset-bottom, 0px));
  color: var(--muted);
  font-size: 0.85rem;
}
.m-foot .m-tel {
  color: var(--gold);
  font-size: 0.95rem;
}

/* =========================================================
  RESPONSIVE
  ========================================================= */
@media (max-width: 1024px) {
  .site-header {
    --nav-h: 68px;
  }
  .site-header.scrolled {
    --nav-h: 62px;
  }
  .nav-links {
    display: none;
  }
  .burger {
    display: block;
  }
  .hero-book{
    top: 55% !important;
    right: 3vw !important;
    width: min(320px, 35vw) !important;
    
  }
}
@media (max-width: 480px) {
  .nav-inner {
    gap: 1rem;
  }
  .brand img {
    height: 70px;
    max-width: 62vw;
  }
  .m-foot .btn {
    width: 100%;
    justify-content: center;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-header,
  .nav-inner,
  .nav-link,
  .nav-link::after,
  .chev,
  .dd,
  .dd-col a,
  .mobile-menu,
  .m-item,
  .m-sub,
  .m-sub-clip,
  .m-close svg {
    transition-duration: 0.01ms !important;
    transition-delay: 0s !important;
  }
}

/* hero event banner ab includes/event-theme.php se aata hai (event-panel) */
.hero {
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: clip;
}
#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.hero-fallback {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: none;
}
body.no-webgl #hero-canvas {
  display: none;
}
body.no-webgl .hero-fallback {
  display: block;
}
.hero-fallback .fbook {
  position: absolute;
  top: 44%;
  left: 64%;
  transform: translate(-50%, -50%) rotate(-6deg);
  width: min(230px, 42vw);
  aspect-ratio: 3.2/4.5;
  border-radius: 3px 6px 6px 3px;
  background: linear-gradient(135deg, #1c2a3b, #141d29);
  box-shadow: -14px 22px 60px rgba(0, 0, 0, 0.55);
  border-left: 6px solid rgba(194, 168, 120, 0.5);
}
.clouds {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
  overflow: clip;
}
.cloud {
  position: absolute;
  border-radius: 50%;
  filter: blur(48px);
  opacity: 0.85;
}
.cloud.c1 {
  width: 70vw;
  height: 36vw;
  left: -8vw;
  bottom: 2vh;
  background: radial-gradient(circle, rgba(24, 32, 44, 0.95), transparent 68%);
}
.cloud.c2 {
  width: 66vw;
  height: 34vw;
  right: -10vw;
  bottom: -4vh;
  background: radial-gradient(circle, rgba(16, 22, 31, 0.98), transparent 66%);
}
.cloud.c3 {
  width: 54vw;
  height: 30vw;
  left: 22vw;
  bottom: -8vh;
  background: radial-gradient(circle, rgba(12, 17, 24, 1), transparent 62%);
}
.cloud.c4 {
  width: 40vw;
  height: 22vw;
  left: 8vw;
  top: 30vh;
  background: radial-gradient(circle, rgba(30, 40, 54, 0.6), transparent 64%);
  opacity: 0.5;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 18, 0.5) 0%,
    transparent 24%,
    transparent 52%,
    rgba(10, 13, 18, 0.92) 100%
  );
}
.hero-content {
  position: relative;
  z-index: 4;
  width: 100%;
  padding: 0 var(--pad) clamp(3rem, 9vh, 7rem);
  margin-top: 100px;
}
.hero-eyebrow {
  margin-bottom: 1.6rem;
}
.hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 7.4vw, 7.6rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  max-width: 15ch;
}
.hero-title .ln {
  display: block;
  overflow: hidden;
}
.hero-title .ln > span {
  display: block;
}
.about-hero-title {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.3rem, 5.6vw, 5.4rem);
  line-height: 0.92;
  letter-spacing: -0.04em;
  /*max-width: 15ch;*/
  max-width: 100%;
}
.hero-copy {
  margin-top: 1.8rem;
  max-width: 44ch;
  font-size: clamp(1rem, 1.4vw, 1.18rem);
  color: var(--muted);
  line-height: 1.7;
}
.hero-actions {
  margin-top: 2.4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.scroll-cue {
  position: absolute;
  bottom: 1.4rem;
  right: var(--pad);
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}
.scroll-cue .track {
  width: 1px;
  height: 46px;
  background: var(--line);
  position: relative;
  overflow: hidden;
}
.scroll-cue .track::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 40%;
  background: var(--gold);
  animation: cue 2.2s var(--ease) infinite;
}
@keyframes cue {
  0% {
    transform: translateY(-100%);
  }
  60%,
  100% {
    transform: translateY(250%);
  }
}

.stage-block {
  min-height: 88svh;
  display: flex;
  align-items: center;
  padding: clamp(5rem, 14vh, 11rem) var(--pad);
}
.stage-block .inner {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}
.intro-centered {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}
.big {
  font-family: var(--font-serif);
  font-weight: 500;
  line-height: 0.98;
  letter-spacing: -0.03em;
  font-size: clamp(2.4rem, 7.5vw, 6.6rem);
}
.mid {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3.6vw, 2.8rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
}
.lead {
  margin-top: 2rem;
  max-width: 52ch;
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  color: var(--muted);
  line-height: 1.78;
}
.floaty {
  will-change: transform;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 6rem);
  align-items: start;
  width: 100%;
}
.about .stats {
  display: flex;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  margin-top: 2.4rem;
  flex-wrap: wrap;
}
.about .stat .n {
  font-family: var(--font-serif);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  color: var(--gold);
  line-height: 1;
}
.about .stat .l {
  font-size: 0.76rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.4rem;
}
@media (max-width: 820px) {
  .about-grid {
    grid-template-columns: 1fr;
  }
}

.services .head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: clamp(2.5rem, 6vw, 4rem);
}
.services .sub {
  color: var(--muted);
  max-width: 34ch;
}
.slist {
  border-top: 1px solid var(--line);
}
.srow {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  padding: clamp(1.4rem, 3.4vw, 2.3rem) 0;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.5s var(--ease);
}
.srow .num {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--gold);
  width: 2.5rem;
  opacity: 0.8;
}
.srow .name {
  font-family: var(--font-serif);
  font-size: clamp(1.6rem, 3.6vw, 2.9rem);
  line-height: 1;
  transition: transform 0.5s var(--ease);
}
.srow .desc {
  font-size: 0.92rem;
  color: var(--muted);
  max-width: 34ch;
}
.srow .arw {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: grid;
  place-items: center;
  transition:
    background 0.45s var(--ease),
    color 0.45s var(--ease),
    transform 0.45s var(--ease);
}
.srow:hover {
  padding-left: clamp(0.5rem, 2vw, 1.5rem);
}
.srow:hover .name {
  transform: translateX(6px);
}
.srow:hover .arw,
.srow:focus-within .arw {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-45deg);
}
.svc-preview {
  position: fixed;
  top: 0;
  left: 0;
  width: 220px;
  aspect-ratio: 4/5;
  pointer-events: none;
  z-index: 150;
  border-radius: 3px;
  overflow: hidden;
  opacity: 0;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  will-change: transform, opacity;
}
.svc-preview .pv {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.35s ease;
}
.svc-preview .pv.on {
  opacity: 1;
}
@media (max-width: 900px) {
  .svc-preview {
    display: none;
  }
  .hero-banner-grid {
    grid-template-columns: 1fr minmax(0, 450px);
}
}
@media (max-width: 760px) {
  .srow {
    grid-template-columns: auto 1fr;
    grid-template-areas: "num name" ". desc" ". arw";
    row-gap: 0.6rem;
  }
  .srow .num {
    grid-area: num;
  }
  .srow .name {
    grid-area: name;
  }
  .srow .desc {
    grid-area: desc;
    max-width: none;
  }
  .srow .arw {
    grid-area: arw;
    justify-self: start;
  }
}

.book-exp .pin {
  min-height: 100svh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 2rem;
  padding: 0 var(--pad);
  overflow: clip;
}
.book-exp .phase {
  margin-top: 2.2rem;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--gold);
  min-height: 1.4em;
  line-height: 1.1;
  transition: opacity 0.35s var(--ease);
}
.stage {
  perspective: 1600px;
  display: grid;
  place-items: center;
  height: min(70vh, 560px);
}
.book3d {
  position: relative;
  width: clamp(150px, 20vw, 300px);
  height: clamp(215px, 29vw, 440px);
  transform-style: preserve-3d;
  transform: rotateY(-32deg) rotateX(8deg);
  will-change: transform;
}
.book3d .face {
  position: absolute;
  border-radius: 2px 4px 4px 2px;
}
.book3d .front,
.book3d .back {
  inset: 0;
  /* background: linear-gradient(135deg, #1c2a3b, #141d29); */
  /* border-left: 3px solid rgba(194, 168, 120, 0.55); */
  /* box-shadow: inset 0 0 60px rgba(0, 0, 0, 0.4); */
}
.book3d .front {
  transform: translateZ(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.3rem 1.1rem;
}
.book3d .front .kw {
  font-size: 0.55rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
}
.book3d .front .tt {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--paper);
  line-height: 1.05;
}
.book3d .front .em {
  width: 34px;
  height: 1px;
  background: var(--gold);
  opacity: 0.7;
}
.book3d .back {
  transform: rotateY(180deg) translateZ(20px);
}
.book3d .spine {
  width: 40px;
  inset: 0 auto 0 0;
  left: -20px;
  transform: rotateY(-90deg);
  transform-origin: right center;
  background: linear-gradient(#1c2a3b, #0a0d12);
  display: grid;
  place-items: center;
}
.book3d .spine span {
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  color: var(--gold-soft);
  transform: rotate(180deg);
}
.book3d .pages {
  top: 4px;
  bottom: 4px;
  right: 0;
  width: 40px;
  transform: rotateY(90deg);
  transform-origin: left center;
  background: repeating-linear-gradient(
    90deg,
    #efe7d8,
    #efe7d8 1px,
    #dccdb4 2px,
    #efe7d8 3px
  );
}
.book3d .top {
  inset: 0 auto auto 0;
  height: 40px;
  width: 100%;
  transform: rotateX(90deg);
  transform-origin: top center;
  background: repeating-linear-gradient(
    0deg,
    #efe7d8,
    #efe7d8 1px,
    #dccdb4 2px,
    #efe7d8 3px
  );
}
.book-exp .glow {
  position: absolute;
  width: 60vw;
  height: 60vw;
  max-width: 640px;
  max-height: 640px;
  border-radius: 50%;
  right: -8%;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  background: radial-gradient(
    circle,
    rgba(194, 168, 120, 0.16),
    transparent 62%
  );
  filter: blur(10px);
}
@media (max-width: 860px) {
  .book-exp .pin {
    grid-template-columns: 1fr;
    text-align: center;
    padding-top: 6rem;
    padding-bottom: 4rem;
    gap: 2.5rem;
  }
  .book-exp .lead,
  .book-exp .mid {
    margin-inline: auto;
  }
  .stage {
    height: min(52vh, 420px);
  }
}

.books .head {
  padding-bottom: clamp(2rem, 5vw, 3rem);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
}
.books .note {
  font-size: 0.78rem;
  color: var(--muted);
  max-width: 30ch;
}
.books-viewport {
  overflow: hidden;
}
.books-track {
  display: flex;
  gap: clamp(1.5rem, 3vw, 2.6rem);
  padding-bottom: clamp(3rem, 7vh, 5rem);
  will-change: transform;
}
.bcard {
  flex: 0 0 auto;
  width: clamp(230px, 30vw, 320px);
}
.bcover {
  aspect-ratio: 3/4.4;
  border-radius: 2px 5px 5px 2px;
  position: relative;
  overflow: hidden;
  border-left: 5px solid rgba(194, 168, 120, 0.6);
  box-shadow:
    0 24px 50px rgba(0, 0, 0, 0.4),
    inset 0 0 60px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 1.6rem 1.3rem;
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}
.bcard:hover .bcover {
  transform: translateY(-8px);
}
.bcover .kw {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
.bcover .tt {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 1.8rem);
  color: var(--paper);
  line-height: 1.05;
}
.bcover .au {
  font-size: 0.78rem;
  color: rgba(239, 231, 217, 0.7);
  letter-spacing: 0.08em;
}
.bcover.tag::after {
  content: "PLACEHOLDER";
  position: absolute;
  top: 0.7rem;
  right: -2.2rem;
  transform: rotate(45deg);
  background: rgba(194, 168, 120, 0.9);
  color: var(--ink);
  font-size: 0.5rem;
  letter-spacing: 0.16em;
  font-weight: 700;
  padding: 0.2rem 2.2rem;
}
.bmeta {
  margin-top: 1rem;
}
.bmeta .cat {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.8;
}
.bmeta .bt {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  margin-top: 0.2rem;
  line-height: 1.05;
}
.bmeta .desc {
  font-size: 0.86rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}
.bmeta .view {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.8rem;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  border-bottom: 1px solid var(--paper);
  padding-bottom: 2px;
}

.pstep {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.8rem, 4vw, 3rem) 0;
  border-top: 1px solid var(--line);
  align-items: baseline;
}
.pstep:last-child {
  border-bottom: 1px solid var(--line);
}
.pstep .pn {
  display: flex;
  align-items: baseline;
  gap: 1.2rem;
}
.pstep .pn .idx {
  font-family: var(--font-serif);
  font-size: clamp(2.6rem, 6vw, 4.4rem);
  color: var(--gold);
  line-height: 0.8;
}
.pstep .pn .pt {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 3vw, 2.4rem);
}
.pstep .pd {
  color: var(--muted);
  font-size: 1.02rem;
  line-height: 1.75;
  max-width: 46ch;
}
@media (max-width: 760px) {
  .pstep {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.vgrid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  margin-top: clamp(2.5rem, 6vw, 4rem);
}
.vcell {
  background: transparent;
  padding: clamp(2rem, 4vw, 3.2rem);
  position: relative;
}
.vcell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 36, 0.4);
  z-index: -1;
}
.vcell .vi {
  font-family: var(--font-serif);
  color: var(--gold);
  font-size: 1.4rem;
}
.vcell h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.6vw, 2.1rem);
  margin: 0.8rem 0;
}
.vcell p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.98rem;
}
@media (max-width: 700px) {
  .vgrid {
    grid-template-columns: 1fr;
  }
}

.cta {
  text-align: center;
  padding: clamp(6rem, 15vh, 12rem) var(--pad);
}
.cta .aura {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(900px, 120vw);
  height: min(900px, 120vw);
  background: radial-gradient(
    circle,
    rgba(194, 168, 120, 0.14),
    transparent 60%
  );
  pointer-events: none;
}
.cta h2 {
  font-family: var(--font-serif);
  font-size: clamp(2.1rem, 5vw, 4rem);
  line-height: 0.98;
  max-width: 16ch;
  margin: 1.4rem auto 0;
}
.cta p {
  color: var(--muted);
  max-width: 44ch;
  margin: 1.8rem auto 0;
  font-size: 1.1rem;
}
.cta .btn {
  margin-top: 2.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
  width: 100%;
}
.contact .cintro {
  color: var(--muted);
  max-width: 38ch;
  line-height: 1.75;
}
.cinfo {
  margin-top: 2.4rem;
  display: grid;
  gap: 1.3rem;
}
.cinfo .row .k {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.cinfo .row .v {
  font-family: var(--font-serif);
  font-size: clamp(1.05rem, 2vw, 1.4rem);
  margin-top: 0.15rem;
}
.cinfo .row a:hover {
  color: var(--gold);
}
.socials {
  display: flex;
  gap: 1.2rem;
  margin-top: 2rem;
}
.socials a {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
}
.socials a:hover {
  color: var(--gold);
  border-color: var(--gold);
}
form {
  display: grid;
  gap: 1.4rem;
}
.field {
  display: grid;
  gap: 0.5rem;
}
.field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  opacity: 0.85;
}
.field input,
.field textarea,
.field select {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  padding: 0.7rem 0;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--paper);
  border-radius: 0;
  transition: border-color 0.4s var(--ease);
}
.field select option {
  background: var(--fog);
  color: var(--paper);
}
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--gold);
}
.field textarea {
  resize: vertical;
  min-height: 110px;
}
.field .err {
  font-size: 0.75rem;
  color: #e08163;
  min-height: 1em;
  opacity: 0;
  transition: opacity 0.3s;
}
.field.invalid input,
.field.invalid textarea,
.field.invalid select {
  border-color: #e08163;
}
.field.invalid .err {
  opacity: 1;
}
.two {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.4rem;
}
@media (max-width: 520px) {
  .two {
    grid-template-columns: 1fr;
  }
}
.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  line-height: 1.6;
}
.form-status {
  font-size: 0.9rem;
  min-height: 1.2em;
  color: var(--muted);
}
.form-status.ok {
  color: var(--gold-soft);
}
@media (max-width: 820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================
  FOOTER
  (Purane .site-footer, .foot-sign, .foot-tag, .foot-links,
  .foot-contact, .foot-bot, .footer-logo wale rules hata kar
  ye paste karein. Colors :root variables se aate hain.)
  ========================================================= */
.site-footer {
  position: relative;
  z-index: 2;
  padding: clamp(3.5rem, 8vw, 6rem) var(--pad) clamp(2.5rem, 5vw, 3.5rem);
  border-top: 1px solid var(--line);
  background: linear-gradient(
    180deg,
    rgba(20, 27, 36, 0.35),
    rgba(8, 10, 15, 0.85)
  );
  text-align: left;
}
.foot-grid {
  max-width: 1320px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.1fr 1.4fr;
  gap: clamp(2rem, 4vw, 4.5rem);
}
.foot-col {
  min-width: 0;
}

/* Column 1: logo + note */
.foot-logo {
  display: inline-flex;
}
.foot-logo img {
  height: clamp(52px, 5vw, 68px);
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.foot-note {
  max-width: 34ch;
  margin-top: 1.4rem;
  font-size: 0.88rem;
  line-height: 1.7;
  color: var(--muted);
}

/* Column headings */
.foot-title {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: 0.9rem;
  font-family: var(--font-serif);
  font-size: clamp(1.4rem, 2vw, 1.65rem);
  font-weight: 500;
  letter-spacing: 0;
  color: var(--paper);
}
.foot-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

/* Columns 2 & 3: link lists */
.foot-list {
  margin: 0;
  padding: 0;
  list-style: none;
}
.foot-list a {
  display: inline-block;
  padding: 0.42rem 0;
  font-size: 0.92rem;
  color: var(--muted);
  transition:
    color 0.3s ease,
    transform 0.45s var(--ease);
}
.foot-list a:hover {
  color: var(--gold-soft);
  transform: translateX(5px);
}

/* Column 4: location, contact, social */
.foot-addr {
  display: grid;
  gap: 1.1rem;
  margin: 0;
  font-style: normal;
}
.foot-label {
  display: block;
  margin-bottom: 0.15rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.foot-addr p {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--paper);
  opacity: 0.85;
}
.foot-contact {
  display: grid;
  gap: 0.1rem;
  margin-top: 1.3rem;
}
.foot-contact a {
  padding: 0.3rem 0;
  font-size: 0.92rem;
  color: var(--paper);
  opacity: 0.85;
  overflow-wrap: anywhere;
  transition:
    color 0.3s ease,
    opacity 0.3s ease;
}
.foot-contact a:hover {
  color: var(--gold-soft);
  opacity: 1;
}
.foot-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.4rem;
}
.foot-social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--paper);
  transition:
    background 0.4s var(--ease),
    color 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.foot-social a:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.foot-social svg {
  width: 18px;
  height: 18px;
}

/* ---------- Tablet: 2 columns ---------- */
@media (max-width: 1024px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem clamp(1.5rem, 4vw, 3rem);
  }
  .foot-brand,
  .foot-grid > .foot-col:last-child {
    grid-column: 1 / -1;
  }
  .foot-note {
    max-width: 46ch;
  }
  .foot-addr {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  }
}

/* ---------- Mobile: 1 column ---------- */
@media (max-width: 600px) {
  .foot-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .foot-list a,
  .foot-contact a {
    padding: 0.55rem 0;
  }
  .foot-addr {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  .foot-list a,
  .foot-social a {
    transition-duration: 0.01ms !important;
  }
}

/* ===== HERO COVER IMAGE (replaces procedural book) ===== */
#hero-canvas,
.hero-fallback {
  display: none !important;
}
.hero-book {
  position: absolute;
  top: 60%;
  right: 10vw;
  transform: translateY(-50%);
  width: min(390px, 45vw);
  z-index: 2;
  pointer-events: none;
}
.hero-book-scroll,
.hero-book-inner {
  will-change: transform;
}
.hero-book-img {
  width: 100%;
  display: block;
  filter: drop-shadow(0 40px 60px rgba(0, 0, 0, 0.6));
  will-change: transform, opacity;
  /* Speed (LCP): pehle yeh opacity:0 tha aur JS/GSAP (CDN se) load hone tak
     book nazar nahi aati thi. Ab entrance animation CSS se foran shuru hoti hai. */
  animation: heroRise 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.15s backwards;
}

/* ===== HERO entrance (CSS, JS ka intezar nahi) =====
   0.01 opacity (0 nahi) taa ke browser pehle frame ko hi LCP gine. */
@keyframes heroRise {
  from { opacity: 0.01; transform: translateY(110px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroFadeUp {
  from { opacity: 0.01; transform: translateY(34px); }
  to { opacity: 1; transform: none; }
}
@keyframes heroWordUp {
  from { transform: translateY(120%); }
  to { transform: none; }
}
.hero-eyebrow { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.05s backwards; }
.hero-title .wr > span { animation: heroWordUp 1s cubic-bezier(0.16, 1, 0.3, 1) backwards; animation-delay: calc(0.35s + var(--w, 0) * 0.07s); }
.hero-copy { animation: heroFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.6s backwards; }
.hero-actions { animation: heroFadeUp 0.7s cubic-bezier(0.16, 1, 0.3, 1) 0.8s backwards; }
.hero .scroll-cue { animation: heroFadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) 1s backwards; }
@media (prefers-reduced-motion: reduce) {
  .hero-book-img,
  .hero-eyebrow,
  .hero-title .wr > span,
  .hero-copy,
  .hero-actions,
  .hero .scroll-cue { animation: none; }
}
@media (max-width: 860px) {
  .hero-book {
    right: 50%;
    top: 40%;
    transform: translate(50%, -50%);
    width: min(300px, 72vw);
  }
  .hero-book-img {
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.6));
  }
}

/* ===== CURSOR TRAIL (self-contained canvas) ===== */
#tubesCanvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 250;
  pointer-events: none;
}
body.reduced #tubesCanvas {
  display: none;
}

/* ===== DEPTH CARD as numbered POINT (not testimonial) ===== */
.depth-card .step-no {
  font-family: var(--font-serif);
  font-size: clamp(30px, 3vw, 46px);
  color: var(--gold);
  line-height: 0.9;
}
.depth-card .step-title {
  margin: 0.5rem 0 0.55rem;
  font-family: var(--font-serif);
  font-size: clamp(19px, 2vw, 27px);
  color: var(--paper);
  line-height: 1.05;
}
.depth-card .step-desc {
  margin: 0;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--muted);
}

/* ===== REAL portfolio cover ===== */
.bcover.real {
  padding: 0;
  background: transparent;
  border-left: 0;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.bcover.real img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.55));
}

/* ===== word reveal ===== */
.wr {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  line-height: 1;
}
.wr > span {
  display: inline-block;
  will-change: transform, opacity;
}

/* ===== intro + about rhythm (less empty space) ===== */
.intro-block {
  min-height: auto !important;
  padding-top: clamp(3.5rem, 8vh, 6rem) !important;
  padding-bottom: clamp(2rem, 5vh, 3.5rem) !important;
}
.about.stage-block {
  min-height: auto !important;
  padding-top: clamp(2.5rem, 6vh, 4.5rem) !important;
  padding-bottom: clamp(3.5rem, 8vh, 6rem) !important;
}
.intro-block .lead {
  margin-top: 1.4rem;
}

/* ===== Why Choose Us — interactive spotlight ===== */
.vcell::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(194, 168, 120, 0.18),
    transparent 62%
  );
  pointer-events: none;
  z-index: 0;
}
.vcell:hover::after {
  opacity: 1;
}
.vcell .vi {
  display: inline-block;
  transition: transform 0.5s var(--ease);
}
.vcell:hover .vi {
  transform: translateY(-5px) scale(1.18);
}
.vcell h3,
.vcell p {
  position: relative;
  z-index: 1;
}

/* ===== MEDIA SECTIONS (Times Square billboard + video trailers) ===== */
.media-sec {
  padding: clamp(4.5rem, 11vh, 8rem) var(--pad);
}
.media-head {
  max-width: 1200px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
}
.media-head .big,
.media-head .mid {
  margin-top: 1rem;
}
.media-head .msub {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 1.2rem;
  line-height: 1.7;
}
.media-note {
  font-size: 0.74rem;
  color: var(--muted);
  margin-top: 1rem;
  letter-spacing: 0.02em;
}
.play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(194, 168, 120, 0.92);
  color: #0a0d12;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease);
}
.play svg {
  width: 22px;
  height: 22px;
  margin-left: 3px;
}
.bb-card:hover .play,
.trail-card:hover .play,
.trail-feat:hover .play {
  transform: translate(-50%, -50%) scale(1.12);
  background: var(--gold-soft);
}

/* billboard */
.bb-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.2rem, 3vw, 2.2rem);
}
@media (max-width: 820px) {
  .bb-wrap {
    grid-template-columns: 1fr;
  }
}
.bb-card {
  position: relative;
  aspect-ratio: 16/10;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(194, 168, 120, 0.35);
  background: linear-gradient(135deg, #16202c, #0a0d12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition:
    transform 0.5s var(--ease),
    box-shadow 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.bb-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      120% 80% at 50% 0%,
      rgba(194, 168, 120, 0.18),
      transparent 60%
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03) 0 2px,
      transparent 2px 5px
    );
  opacity: 0.6;
  pointer-events: none;
}
.bb-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 168, 120, 0.7);
  box-shadow:
    0 40px 90px rgba(0, 0, 0, 0.6),
    0 0 44px rgba(194, 168, 120, 0.16);
}
.bb-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-soft);
  background: rgba(10, 13, 18, 0.6);
  padding: 0.4rem 0.7rem;
  border-radius: 2px;
  border: 1px solid rgba(194, 168, 120, 0.3);
}
.bb-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #e05a4a;
  box-shadow: 0 0 8px #e05a4a;
  animation: bbpulse 1.6s infinite;
}
@keyframes bbpulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.3;
  }
}
.bb-city {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.2rem 1.3rem;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  background: linear-gradient(0deg, rgba(10, 13, 18, 0.85), transparent);
}
.bb-city .t {
  font-family: var(--font-serif);
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  color: var(--paper);
  line-height: 1.05;
}
.bb-city .s {
  font-size: 0.66rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}
.marquee {
  max-width: none;
  width: 100%;
  margin: clamp(1.8rem, 4vw, 2.8rem) 0 0;
  overflow: hidden;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 0.85rem 0;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}
.marquee .track {
  display: inline-flex;
  white-space: nowrap;
  will-change: transform;
  animation: mq 26s linear infinite;
}
.marquee span {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2vw, 1.4rem);
  color: var(--muted);
  letter-spacing: 0.04em;
  padding-right: 2.5rem;
}
.marquee span b {
  color: var(--gold);
}
@keyframes mq {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
/* ===== BRAND CAROUSEL (full-bleed logo strip after hero) ===== */
.mp-brands {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: clamp(2.2rem, 5vh, 3.6rem) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.mp-brands-mask {
  position: relative;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 9%,
    #000 91%,
    transparent 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0,
    #000 9%,
    #000 91%,
    transparent 100%
  );
}
.mp-brands-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(3rem, 6vw, 6rem);
  animation: mq 34s linear infinite;
  will-change: transform;
}
.mp-brands-mask:hover .mp-brands-track {
  animation-play-state: paused;
}
.mp-brand-item {
  flex: 0 0 auto;
  height: clamp(30px, 4vw, 42px);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mp-brand-img {
  height: 100%;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.34;
  transition:
    opacity 0.3s var(--ease),
    transform 0.3s var(--ease),
    filter 0.3s var(--ease);
  user-select: none;
  -webkit-user-drag: none;
}
.mp-brand-item:hover .mp-brand-img {
  opacity: 0.95;
  transform: scale(1.06);
  filter: brightness(0) invert(1) drop-shadow(0 0 9px rgba(194, 168, 120, 0.55));
}

/* trailers */
.trail-wrap {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: clamp(1.2rem, 3vw, 2rem);
  align-items: start;
}
@media (max-width: 860px) {
  .trail-wrap {
    grid-template-columns: 1fr;
  }
}
.trail-feat {
  position: relative;
  aspect-ratio: 16/9;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid rgba(194, 168, 120, 0.3);
  background: linear-gradient(135deg, #1b1526, #0a0d12);
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.5);
  transition: border-color 0.5s var(--ease);
}
.trail-feat:hover {
  border-color: rgba(194, 168, 120, 0.6);
}
.trail-feat .cap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 3;
  padding: 1.3rem;
  background: linear-gradient(0deg, rgba(10, 13, 18, 0.85), transparent);
}
.trail-feat .cap .t {
  font-family: var(--font-serif);
  font-size: clamp(1.3rem, 2.4vw, 2rem);
  color: var(--paper);
}
.trail-feat .cap .s {
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin-top: 0.2rem;
}
.trail-list {
  display: grid;
  gap: 1rem;
}
.trail-card {
  position: relative;
  aspect-ratio: 16/8.2;
  border-radius: 6px;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, #161d28, #0a0d12);
  transition:
    transform 0.4s var(--ease),
    border-color 0.4s var(--ease);
}
.trail-card:hover {
  transform: translateX(5px);
  border-color: rgba(194, 168, 120, 0.5);
}
.trail-card .tc {
  position: absolute;
  left: 14px;
  bottom: 12px;
  z-index: 3;
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--paper);
}
.trail-card .play {
  width: 44px;
  height: 44px;
}
.trail-card .play svg {
  width: 15px;
  height: 15px;
}
.poster-motif {
  position: absolute;
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  background:
    radial-gradient(
      80% 60% at 30% 20%,
      rgba(194, 168, 120, 0.16),
      transparent 60%
    ),
    radial-gradient(
      60% 50% at 80% 90%,
      rgba(159, 180, 204, 0.12),
      transparent 60%
    );
}

/* lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(6, 8, 11, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.lightbox.open {
  display: flex;
}
.lightbox .frame {
  position: relative;
  width: min(1000px, 100%);
  aspect-ratio: 16/9;
  background: #0a0d12;
  border: 1px solid rgba(194, 168, 120, 0.4);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7);
}
.lightbox .frame iframe,
.lightbox .frame video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.lightbox .ph {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 2rem;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.65;
}
.lightbox .ph b {
  color: var(--gold);
  font-family: var(--font-serif);
  font-size: 1.3rem;
  display: block;
  margin-bottom: 0.6rem;
  letter-spacing: 0.01em;
}
.lightbox .close {
  position: absolute;
  top: -3px;
  right: -3px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  z-index: 9;
  border-radius: 50%;
  background: transparent;
  color: var(--paper);
  font-size: 1rem;
  display: grid;
  place-items: center;
  transition:
    background 0.3s,
    color 0.3s,
    border-color 0.3s;
}
.lightbox .close:hover {
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}

/* ===== PORTFOLIO FULL-BLEED ===== */
.books.stage-block {
  padding-left: 0;
  padding-right: 0;
}
.books .inner {
  max-width: none;
}
.books .head {
  padding: 0 var(--pad) clamp(2rem, 5vw, 3rem);
}
.books-track {
  padding-left: var(--pad);
  padding-right: var(--pad);
}

/* ===== DEPTH JOURNEY (from reference, brand-tinted) ===== */
.depth-section {
  position: relative;
  height: 420vh;
  z-index: 2;
}
.depth-sticky {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  height: 100svh;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1200px;
  transform-style: preserve-3d;
  isolation: isolate;
}
.depth-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background: radial-gradient(
    circle at 50% 40%,
    #1a2434 0%,
    #10151d 58%,
    #0a0d12 100%
  );
}
.depth-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    58% 46% at 50% 42%,
    rgba(194, 168, 120, 0.16),
    transparent 70%
  );
}
.depth-cards {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-style: preserve-3d;
  pointer-events: none;
}
.depth-card {
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(250px, 23vw, 370px);
  padding: clamp(22px, 2.4vw, 34px);
  border: 1px solid rgba(226, 214, 190, 0.18);
  border-radius: 18px;
  background: rgba(20, 27, 36, 0.55);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  box-shadow:
    0 30px 80px rgba(0, 0, 0, 0.45),
    0 8px 24px rgba(0, 0, 0, 0.3);
  transform-style: preserve-3d;
  backface-visibility: hidden;
  will-change: transform, opacity, filter;
}
.depth-card .q {
  margin: 0 0 26px;
  font-family: var(--font-serif);
  font-size: clamp(18px, 1.7vw, 25px);
  font-weight: 500;
  line-height: 1.32;
  color: var(--paper);
}
.depth-card .person {
  display: flex;
  align-items: center;
  gap: 13px;
}
.depth-card .avatar {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-family: var(--font-serif);
  font-size: 15px;
  font-weight: 600;
}
.depth-card .person h3 {
  margin: 0 0 3px;
  font-size: 15px;
  color: var(--paper);
  font-weight: 600;
}
.depth-card .person span {
  font-size: 12.5px;
  color: var(--muted);
}
.card-1 {
  margin-left: -40vw;
  margin-top: -30vh;
}
.card-2 {
  margin-left: 20vw;
  margin-top: -27vh;
}
.card-3 {
  margin-left: -38vw;
  margin-top: 20vh;
}
.card-4 {
  margin-left: 22vw;
  margin-top: 22vh;
}
.card-5 {
  margin-left: -6vw;
  margin-top: -40vh;
}
.depth-content {
  position: relative;
  z-index: 10;
  width: min(980px, calc(100% - 40px));
  text-align: center;
  pointer-events: auto;
}
.depth-h1 {
  margin: 18px 0 0;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(46px, 7vw, 104px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  color: var(--paper);
}
.depth-h1 span {
  display: block;
}
.depth-desc {
  width: min(560px, 90%);
  margin: 24px auto 0;
  font-size: clamp(15px, 1.3vw, 18px);
  line-height: 1.6;
  color: var(--muted);
}
.scroll-label {
  position: absolute;
  bottom: 24px;
  left: 50%;
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  transform: translateX(-50%);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}
.scroll-line {
  width: 1px;
  height: 34px;
  overflow: hidden;
  background: rgba(226, 214, 190, 0.2);
}
.scroll-line::after {
  content: "";
  display: block;
  width: 100%;
  height: 45%;
  background: var(--gold);
  animation: scrollLine 1.5s infinite ease-in-out;
}
@keyframes scrollLine {
  from {
    transform: translateY(-120%);
  }
  to {
    transform: translateY(250%);
  }
}
.depth-section.static {
  height: auto;
}
.depth-section.static .depth-sticky {
  position: static;
  height: auto;
  min-height: 0;
  display: block;
  padding: clamp(4rem, 10vh, 7rem) var(--pad);
  perspective: none;
}
.depth-section.static .depth-cards {
  position: static;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.2rem;
  margin-top: 2.5rem;
  pointer-events: auto;
}
.depth-section.static .depth-card {
  position: static;
  margin: 0 !important;
  transform: none !important;
  opacity: 1 !important;
  filter: none !important;
  width: auto;
}
.depth-section.static .scroll-label {
  display: none;
}
@media screen and (max-width: 991px) {
  .depth-section {
    height: 400vh;
  }
  .depth-card {
    width: clamp(230px, 31vw, 320px);
  }
  .card-1 {
    margin-left: -43vw;
    margin-top: -30vh;
  }
  .card-2 {
    margin-left: 17vw;
    margin-top: -29vh;
  }
  .card-3 {
    margin-left: -42vw;
    margin-top: 20vh;
  }
  .card-4 {
    margin-left: 18vw;
    margin-top: 21vh;
  }
  .card-5 {
    margin-left: -8vw;
    margin-top: -41vh;
  }
}
@media screen and (max-width: 767px) {
  .depth-section {
    height: 380vh;
  }
  .depth-sticky {
    min-height: 100svh;
    perspective: 900px;
  }
  .depth-h1 {
    font-size: clamp(40px, 12vw, 66px);
  }
  .depth-card {
    width: clamp(220px, 68vw, 290px);
    padding: 22px;
    border-radius: 16px;
  }
  .depth-card .q {
    margin-bottom: 20px;
    font-size: 17px;
  }
  .card-1 {
    margin-left: -56vw;
    margin-top: -31vh;
  }
  .card-2 {
    margin-left: 20vw;
    margin-top: -32vh;
  }
  .card-3 {
    margin-left: -56vw;
    margin-top: 22vh;
  }
  .card-4 {
    margin-left: 20vw;
    margin-top: 23vh;
  }
  .card-5 {
    margin-left: -22vw;
    margin-top: -43vh;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.2s !important;
    scroll-behavior: auto !important;
  }
  .writeon {
    clip-path: none !important;
  }
  .scroll-cue .track::after {
    animation: none;
  }
}

/* ===== SCROLL SCALER (scoped, themed onto the dark canvas) ===== */
.ss-scaler-sec {
  --ss-gutter: 2rem;
  --ss-gap: clamp(10px, 4vw, 56px);
  --ss-cols: 5;
  --ss-ratio-h: 0.75;
  --ss-avail-w: min(1600px, calc(100vw - (2 * var(--ss-gutter))));
  --ss-avail-h: calc(100svh - (2 * var(--ss-gutter)));
  --ss-col: min(
    calc(
      (var(--ss-avail-w) - ((var(--ss-cols) - 1) * var(--ss-gap))) /
        var(--ss-cols)
    ),
    calc((var(--ss-avail-h) - (2 * var(--ss-gap))) / (3 * var(--ss-ratio-h)))
  );
  --ss-row: calc(var(--ss-col) * var(--ss-ratio-h));
  min-height: 140vh;
  position: relative;
  z-index: 2;
  background: transparent;
}
@media (max-width: 900px) {
  .ss-scaler-sec {
    --ss-gutter: 1.25rem;
  }
}
@media (max-width: 600px) {
  .ss-scaler-sec {
    --ss-gutter: 1rem;
    --ss-gap: clamp(8px, 3.5vw, 20px);
    --ss-cols: 3;
  }
}
.ss-content {
  min-height: 100svh;
  width: 100vw;
  display: flex;
  place-items: center;
  align-content: center;
  position: sticky;
  top: 0;
  overflow: hidden;
}
.ss-grid {
  --ss-offset: 0;
  display: grid;
  grid-template-columns: repeat(var(--ss-cols), var(--ss-col));
  grid-template-rows: repeat(3, var(--ss-row));
  gap: var(--ss-gap);
  justify-content: center;
  align-content: center;
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
}
@media (max-width: 600px) {
  .ss-grid {
    --ss-offset: -1;
  }
  .ss-grid > .ss-layer:nth-of-type(1) {
    display: none;
  }
}
.ss-grid > .ss-layer {
  display: grid;
  grid-column: 1 / -1;
  grid-row: 1 / -1;
  grid-template-columns: subgrid;
  grid-template-rows: subgrid;
}
.ss-grid > .ss-layer:nth-of-type(1) div:nth-of-type(odd) {
  grid-column: 1;
}
.ss-grid > .ss-layer:nth-of-type(1) div:nth-of-type(even) {
  grid-column: -2;
}
.ss-grid > .ss-layer:nth-of-type(2) div:nth-of-type(odd) {
  grid-column: calc(2 + var(--ss-offset));
}
.ss-grid > .ss-layer:nth-of-type(2) div:nth-of-type(even) {
  grid-column: calc(-3 - var(--ss-offset));
}
.ss-grid > .ss-layer:nth-of-type(3) div:first-of-type {
  grid-column: calc(3 + var(--ss-offset));
  grid-row: 1;
}
.ss-grid > .ss-layer:nth-of-type(3) div:last-of-type {
  grid-column: calc(3 + var(--ss-offset));
  grid-row: -1;
}
.ss-grid > .ss-layer > div {
  width: 100%;
  height: 100%;
  overflow: hidden;
  border-radius: clamp(0.5rem, 1.2vw, 1rem);
}
.ss-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: inherit;
  display: block;
}
.ss-grid .ss-scaler {
  position: relative;
  grid-area: 2 / calc(3 + var(--ss-offset));
  width: 100%;
  height: 100%;
  z-index: 2;
}
.ss-scaler img {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  object-fit: contain;
  border-radius: clamp(0.5rem, 1.2vw, 1rem);
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== ISOMETRIC AUTHOR-SITES GRID (scoped + themed; sits below the scaler) ===== */
.iso-sec {
  --iso-accent: #c2a878;
  --iso-fade: #0a0d12;
  position: relative;
  height: 200vh;
  z-index: 2;
}
.iso-sticky {
  position: sticky;
  top: 0;
  height: 100svh;
  overflow: hidden;
}
.iso-scene {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 2400px;
  perspective-origin: 50% 40%;
  z-index: 1;
}
.iso-grid {
  --iso-cols: 4;
  --iso-tile: clamp(120px, 19vw, 280px);
  --iso-gap: clamp(12px, 2.2vw, 26px);
  display: grid;
  grid-template-columns: repeat(var(--iso-cols), var(--iso-tile));
  grid-auto-rows: var(--iso-tile);
  gap: var(--iso-gap);
  transform-style: preserve-3d;
  transform: rotateX(55deg) rotateZ(45deg) translateZ(-40px) translateY(0px);
  will-change: transform;
}
.iso-cell {
  width: var(--iso-tile);
  height: var(--iso-tile);
  transform-style: preserve-3d;
  position: relative;
  cursor: pointer;
}
.iso-card-stack {
  position: absolute;
  inset: 0;
  transform-style: preserve-3d;
  transition: transform 0.42s cubic-bezier(0.25, 0.85, 0.32, 1);
  transform: translateZ(0);
  will-change: transform;
  pointer-events: none;
}
.iso-layer {
  position: absolute;
  inset: 0;
  border-radius: 10px;
  overflow: hidden;
  transition:
    transform 0.42s cubic-bezier(0.25, 0.85, 0.32, 1),
    opacity 0.42s ease;
  will-change: transform, opacity;
}
.iso-layer-canvas {
  z-index: 1;
  transform: translate(20px, 20px);
  opacity: 0.8;
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.45);
}
.iso-layer-wire {
  z-index: 2;
  transform: translate(10px, 10px);
  background: rgba(17, 18, 22, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 26px rgba(0, 0, 0, 0.5);
}
.iso-layer-wire svg {
  width: 100%;
  height: 100%;
  padding: 16%;
  opacity: 0.5;
}
.iso-layer-image {
  z-index: 3;
  transform: translate(0, 0);
  background-size: cover;
  background-position: top center;
  background-color: #26282f;
  box-shadow: 0 18px 30px rgba(0, 0, 0, 0.55);
  filter: saturate(0.85) brightness(0.85);
}
.iso-layer-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 55%,
    rgba(0, 0, 0, 0.5) 100%
  );
  opacity: 1;
  transition: opacity 0.42s ease;
}
.iso-layer-image .iso-label {
  position: absolute;
  left: 14px;
  bottom: 12px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  color: #fff;
  opacity: 0;
  transform: translateY(6px);
  transition:
    opacity 0.3s ease 0.15s,
    transform 0.3s ease 0.15s;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  font-family: var(--font-sans);
}
.iso-cell.iso-hovering {
  z-index: 200;
}
.iso-cell.iso-hovering .iso-card-stack {
  transform: translateZ(90px) scale(1.08);
}
.iso-cell.iso-hovering .iso-layer-canvas {
  transform: translate(20px, 20px) translateZ(-10px);
  opacity: 1;
  box-shadow: 0 30px 46px rgba(0, 0, 0, 0.5);
}
.iso-cell.iso-hovering .iso-layer-wire {
  transform: translate(10px, 10px) translateZ(-5px);
  opacity: 0.95;
  box-shadow: 0 34px 52px rgba(0, 0, 0, 0.55);
}
.iso-cell.iso-hovering .iso-layer-image {
  transform: translate(0, 0) translateZ(0);
  filter: saturate(1.05) brightness(1);
  box-shadow:
    0 38px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(194, 168, 120, 0.22);
}
.iso-cell.iso-hovering .iso-layer-image::after {
  opacity: 0.3;
}
.iso-cell.iso-hovering .iso-layer-image .iso-label {
  opacity: 1;
  transform: translateY(0);
}
.iso-cell.iso-touch-active .iso-card-stack {
  transform: translateZ(90px) scale(1.08);
}
.iso-cell.iso-touch-active .iso-layer-canvas {
  transform: translate(20px, 20px) translateZ(-10px);
  opacity: 1;
}
.iso-cell.iso-touch-active .iso-layer-wire {
  transform: translate(10px, 10px) translateZ(-5px);
  opacity: 0.95;
}
.iso-cell.iso-touch-active .iso-layer-image {
  filter: saturate(1.05) brightness(1);
  box-shadow:
    0 38px 60px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(194, 168, 120, 0.22);
}
.iso-cell.iso-touch-active .iso-layer-image::after {
  opacity: 0.3;
}
.iso-cell.iso-touch-active .iso-layer-image .iso-label {
  opacity: 1;
  transform: translateY(0);
}
.iso-fade-edge {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 15;
  background: radial-gradient(
    circle at 50% 45%,
    transparent 30%,
    var(--iso-fade) 78%
  );
}
.iso-cv-0 {
  background:
    radial-gradient(circle at 25% 30%, #6fae67 0%, transparent 55%),
    radial-gradient(circle at 75% 70%, #2f6b41 0%, transparent 55%),
    linear-gradient(135deg, #284a30, #0f2016);
}
.iso-cv-1 {
  background:
    radial-gradient(circle at 30% 25%, #ffd23f 0%, transparent 50%),
    radial-gradient(circle at 75% 75%, #3f7cff 0%, transparent 55%),
    linear-gradient(135deg, #101a3a, #050814);
}
.iso-cv-2 {
  background:
    radial-gradient(circle at 30% 30%, #7fa6c9 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #c98f4a 0%, transparent 55%),
    linear-gradient(135deg, #1c2a20, #0c130e);
}
.iso-cv-3 {
  background:
    radial-gradient(circle at 30% 30%, #ff9d7a 0%, transparent 55%),
    radial-gradient(circle at 70% 70%, #f7c8d6 0%, transparent 55%),
    linear-gradient(135deg, #3a1f22, #1a0e10);
}
@media (max-width: 900px) {
  .iso-grid {
    --iso-cols: 3;
  }
  .iso-scene {
    perspective: 1800px;
  }
}
@media (max-width: 560px) {
  .iso-grid {
    --iso-cols: 2;
    --iso-tile: clamp(130px, 40vw, 190px);
    --iso-gap: 14px;
  }
  .iso-scene {
    perspective: 1400px;
    perspective-origin: 50% 35%;
  }
  .iso-cell:hover .iso-card-stack {
    transform: translateZ(50px) scale(1.03);
  }
  .iso-cell:hover .iso-layer-canvas {
    transform: translate(20px, 20px) translateZ(-6px);
  }
  .iso-cell:hover .iso-layer-wire {
    transform: translate(10px, 10px) translateZ(-3px);
  }
  .iso-cell.iso-touch-active .iso-card-stack {
    transform: translateZ(50px) scale(1.03);
  }
  .iso-cell.iso-touch-active .iso-layer-canvas {
    transform: translate(20px, 20px) translateZ(-6px);
  }
  .iso-cell.iso-touch-active .iso-layer-wire {
    transform: translate(10px, 10px) translateZ(-3px);
  }
}
@media (max-width: 380px) {
  .iso-grid {
    --iso-tile: clamp(110px, 44vw, 150px);
    --iso-gap: 10px;
  }
}

.section-eight {
  padding: 40px 0 0px 0;
  margin-top: 40px;
  position: relative;
}
.op-eight-section {
  position: relative;
}
.sec-eight-text-area {
  text-align: center;
  padding: 60px 0 90px;
}
.sec-eight-text-area img {
  padding: 2vh 0;
}
.sec-eight-text-area h1 {
  padding: 2vh 0 3vh 0;
  color: var(--paper);
  line-height: 1.3;
  font-size: 40px;
  font-family: var(--font-serif);
  letter-spacing: 2px;
  padding-bottom: 30px;
}
.sec-eight-text-area p {
  padding: 2vh 0;
  font-size: 14px;
  line-height: 1.6;
  color: var(--paper);
  font-family: var(--font-sans);
}
.section-eight .container-pe-quote {
  position: absolute;
  height: 100%;
  top: 0px;
  z-index: 1;
}
.section-eight .container-pe-quote.left {
  left: 0px;
}
.section-eight .container-pe-quote.right {
  right: 0px;
}
.section-eight .container-pe-quote .pp-quote {
  cursor: pointer;
  position: absolute;
  border-radius: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  animation-name: floating;
  -webkit-animation-name: floating;
  animation-iteration-count: infinite;
  -webkit-animation-iteration-count: infinite;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-transform-origin: 50% 1px;
  -moz-transform-origin: 50% 1px;
  -ms-transform-origin: 50% 1px;
  -o-transform-origin: 50% 1px;
  transform-origin: 50% 1px;
  opacity: 0;
  -webkit-transition: all 2s ease;
  -moz-transition: all 2s ease;
  -ms-transition: all 2s ease;
  -o-transition: all 2s ease;
  transition: all 2s ease;
}
.container-pe-quote .pp-quote img {
  overflow: hidden;
  border-radius: 100%;
  height: 100%;
  width: 100%;
  position: relative;
  z-index: 1;
}
.section-eight .container-pe-quote .pp-quote:after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  height: calc(100% + 5px);
  width: calc(100% + 5px);
  border-radius: 100%;
  background-color: var(--gold);
  -webkit-transform: translate(-50%, -50%) scale(0.9);
  -moz-transform: translate(-50%, -50%) scale(0.9);
  -ms-transform: translate(-50%, -50%) scale(0.9);
  -o-transform: translate(-50%, -50%) scale(0.9);
  transform: translate(-50%, -50%) scale(0.9);
  -webkit-transition: all 0.25s ease;
  -moz-transition: all 0.25s ease;
  -ms-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}
.container-pe-quote .pp-quote:hover:after,
.container-pe-quote .pp-quote.active:after {
  -webkit-transform: translate(-50%, -50%) scale(1);
  -moz-transform: translate(-50%, -50%) scale(1);
  -ms-transform: translate(-50%, -50%) scale(1);
  -o-transform: translate(-50%, -50%) scale(1);
  transform: translate(-50%, -50%) scale(1);
}
.section-eight .container-pe-quote .li-quote-1 {
  height: 104px;
  width: 104px;
  left: 15px;
  top: 95px;
  animation-duration: 10s;
  -webkit-animation-duration: 10s;
  -webkit-transition-delay: 0.6s;
  transition-delay: 0.6s;
  opacity: 1;
}
.section-eight .container-pe-quote .li-quote-2 {
  height: 63px;
  width: 63px;
  left: 120px;
  top: 270px;
  animation-duration: 12s;
  -webkit-animation-duration: 12s;
  -webkit-transition-delay: 0s;
  transition-delay: 0s;
  opacity: 1;
}
.section-eight .container-pe-quote .li-quote-3 {
  height: 64px;
  width: 64px;
  left: 68px;
  top: 380px;
  animation-duration: 6s;
  -webkit-animation-duration: 6s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  opacity: 1;
}
.section-eight .container-pe-quote .li-quote-4 {
  height: 73px;
  width: 73px;
  right: -15px;
  top: 110px;
  animation-duration: 5s;
  -webkit-animation-duration: 5s;
  -webkit-transition-delay: 0.7s;
  transition-delay: 0.7s;
  opacity: 1;
}
.section-eight .container-pe-quote .li-quote-5 {
  height: 73px;
  width: 73px;
  right: 28px;
  top: 265px;
  animation-duration: 8s;
  -webkit-animation-duration: 8s;
  -webkit-transition-delay: 0.4s;
  transition-delay: 0.4s;
  opacity: 1;
}
.section-eight .container-pe-quote .li-quote-6 {
  height: 45px;
  width: 45px;
  right: 108px;
  top: 170px;
  animation-duration: 7s;
  -webkit-animation-duration: 7s;
  -webkit-transition-delay: 0.2s;
  transition-delay: 0.2s;
  opacity: 1;
}
.section-eight .container-pe-quote .li-quote-7 {
  height: 48px;
  width: 48px;
  right: 40px;
  top: 414px;
  animation-duration: 7s;
  -webkit-animation-duration: 7s;
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
  opacity: 1;
}

@keyframes floating {
  0% {
    transform: rotate(0deg) translate(-10px) rotate(0deg);
  }
  100% {
    transform: rotate(360deg) translate(-10px) rotate(-360deg);
  }
}
@-webkit-keyframes floating {
  0% {
    -webkit-transform: rotate(0deg) translate(-10px) rotate(0deg);
  }
  100% {
    -webkit-transform: rotate(360deg) translate(-10px) rotate(-360deg);
  }
}

.section-eight .container-quote {
  position: relative;
  width: 100%;
  margin-top: 10px;
  height: 135px;
  perspective: 10000px;
}
.section-eight .container-quote .quote {
  max-width: 520px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 50%;
  cursor: pointer;
  text-align: center;
  transform: translateX(-50%);
  transition: all 1s cubic-bezier(0.5, -0.01, 0, 1.005);
}
.section-eight .container-quote .quote.hide-bottom {
  opacity: 0;
  transform: translateX(-50%) translateY(100%) rotateX(-70deg);
}
.section-eight .container-quote .quote.hide-top {
  opacity: 0;
  transform: translateX(-50%) translateY(-100%) rotateX(70deg);
}
.section-eight .container-quote .quote.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0%) rotateX(0deg);
}

.section-eight .container-dp-name {
  position: relative;
  width: 100%;
  margin-top: 10px;
  height: 70px;
  perspective: 10000px;
  text-align: center;
}
.section-eight .container-dp-name .box-dpname {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0px;
  left: 0;
  cursor: pointer;
  text-align: center;
  transition: all 1s cubic-bezier(0.5, -0.01, 0, 1.005);
}
.section-eight .container-dp-name .box-dpname.hide-dp-bottom {
  opacity: 0;
  transform: translateX(0%) translateY(100%) rotateX(-70deg);
}
.section-eight .container-dp-name .box-dpname.hide-dp-top {
  opacity: 0;
  transform: translateX(0%) translateY(-100%) rotateX(70deg);
}
.section-eight .container-dp-name .box-dpname.look {
  opacity: 1;
  transform: translateX(0%) translateY(0%) rotateX(0deg);
}

@media screen and (max-width: 767px) {
  .sec-eight-text-area {
    padding: 10px 0 10px 0;
  }
  .section-eight .container-pe-quote {
    position: relative;
    height: 500px;
    top: 0px;
    z-index: 1;
    max-width: 300px;
    margin: -70px auto 0;
  }
}
@media screen and (max-width: 480px) {
  .section-eight {
    position: relative;
  }
  .section-eight .bottom-ani-cs {
    position: absolute;
    top: 150px;
    right: 16px;
  }
  .section-eight .container-pe-quote .li-quote-2 {
    left: 60px;
    top: 270px;
  }
  .section-eight .container-pe-quote .li-quote-6 {
    right: 100px;
    top: 179px;
  }
  .section-eight .container-pe-quote .li-quote-3 {
    left: 0;
  }
  .section-eight .container-quote {
    height: 205px;
    overflow: hidden;
    overflow-y: auto;
  }
  .sec-eight-text-area {
    padding: 10px 0 100px 0;
  }
  .foot-logo img{
      height: clamp(70px, 5vw, 68px) !important;
  }
  }
}

/* ===== TESTIMONIALS (imported; de-bootstrapped + themed) ===== */
.tr-sec .tr-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}
.tr-sec .tr-row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: center;
}
.tr-sec .tr-col {
  padding: 0 15px;
  box-sizing: border-box;
}
.tr-sec .tr-col-3 {
  flex: 0 0 25%;
  max-width: 25%;
}
.tr-sec .tr-col-6 {
  flex: 0 0 50%;
  max-width: 50%;
}
.tr-sec .section-eight {
  margin-top: 0;
}
.tr-sec .sec-eight-text-area h1 {
  color: var(--gold);
}
.tr-sec .pp-quote img {
  background: #16202c;
}
@media (max-width: 767px) {
  .tr-sec .tr-col-3,
  .tr-sec .tr-col-6 {
    flex: 0 0 100%;
    max-width: 100%;
  }
}
/* stop the "What We Bring to Every Story" hover book-cover preview from showing */
#svcPreview {
  display: none !important;
}

/* ============================================================
  RESPONSIVE POLISH — global guards + small-screen refinements
  (additive only; desktop layout & animations unchanged)
  ============================================================ */
html {
  overflow-x: clip;
}
img,
svg,
video,
canvas,
iframe {
  max-width: 100%;
}
.tr-sec {
  overflow: hidden;
} /* contain floating avatars */
.stage-block .inner,
.media-head,
.bb-wrap,
.trail-wrap,
.tr-container,
.about-grid,
.contact-grid {
  width: 100%;
}
.hero-title,
.big,
.mid,
.cta h2,
.depth-h1,
.foot-sign {
  overflow-wrap: break-word;
}

/* ---- large tablets ---- */
@media (max-width: 1024px) {
  .depth-card {
    width: clamp(230px, 34vw, 330px);
  }
  .hero-banner-grid {
grid-template-columns: 1fr minmax(0, 500px) !important;
}
}

/* ---- tablets / large phones ---- */
@media (max-width: 768px) {
  .services .head {
    flex-direction: column;
    align-items: flex-start;
  }
  .books .head {
    flex-direction: column;
    align-items: flex-start;
  }
  .cta p,
  .contact .cintro,
  .services .sub,
  .books .note {
    max-width: 100%;
  }
  .scroll-cue {
    display: none;
  }
  .lightbox .close {
    top: 0;
    right: 0;
    transform: translate(-8px, 8px);
  }
  .cta h2 {
    max-width: 100%;
  }
}

/* ---- phones ---- */
@media (max-width: 600px) {
  .stage-block {
    padding-top: clamp(3.2rem, 9vh, 5rem);
    padding-bottom: clamp(3.2rem, 9vh, 5rem);
  }
  .media-sec {
    padding-top: clamp(3.2rem, 8vh, 5rem);
    padding-bottom: clamp(3.2rem, 8vh, 5rem);
  }
  .hero-content {
    padding-bottom: clamp(2.4rem, 7vh, 4rem);
  }

  .tr-sec .sec-eight-text-area h1 {
    font-size: clamp(24px, 7vw, 40px);
  }
  .tr-sec .container-quote .quote p {
    font-size: 14px;
  }
}

/* ---- small phones ---- */
@media (max-width: 480px) {
  :root {
    --pad: 1.15rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }
  .about .stats {
    gap: 1.4rem 2rem;
  }
  .socials {
    flex-wrap: wrap;
    gap: 0.9rem;
  }
  .btn {
    padding: 0.9rem 1.4rem;
  }
}

/* ---- very small phones ---- */
@media (max-width: 380px) {
  :root {
    --pad: 1rem;
  }
  .brand {
    font-size: 1.08rem;
  }
  .cinfo .row .v {
    font-size: 1.05rem;
  }
}

/* ============================================================
  FIXES: banner stack · journey cards · kind-words avatars
  (sirf chhoti screens par; desktop layout waisa hi hai)
  ============================================================ */

/* ---- 1) BANNER: pehle puri image, phir text ---- */
@media (max-width: 991px) {
  .hero {
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding-top: clamp(5.25rem, 16vw, 6.5rem);
  }
  .hero-book {
    position: relative;
    top: auto;
    right: auto;
    left: auto;
    transform: none;
    margin: 0 auto;
    width: min(320px, 72vw);
    flex: 0 0 auto;
  }
  .hero-content {
    margin-top: clamp(1.6rem, 5vw, 2.4rem);
  }
  /* image ko dark overlay se mat dhako, sirf neeche ka hissa halka dark */
  .hero::after {
    background: linear-gradient(
      180deg,
      transparent 0%,
      transparent 55%,
      rgba(10, 13, 18, 0.85) 100%
    );
  }
}

/* ---- 2) THE JOURNEY: saare cards screen ke andar / center ke qareeb ---- */
@media screen and (max-width: 991px) {
  .card-1 {
    margin-left: -24vw;
    margin-top: -30vh;
    margin-top: -30svh;
  }
  .card-2 {
    margin-left: 24vw;
    margin-top: 22vh;
    margin-top: 22svh;
  }
  .card-3 {
    margin-left: 24vw;
    margin-top: -30vh;
    margin-top: -30svh;
  }
  .card-4 {
    margin-left: -24vw;
    margin-top: 22vh;
    margin-top: 22svh;
  }
  .card-5 {
    margin-left: 0;
    margin-top: -30vh;
    margin-top: -30svh;
  }
}
@media screen and (max-width: 767px) {
  .depth-card {
    width: clamp(210px, 62vw, 270px);
    padding: 20px;
  }
  .card-1 {
    margin-left: -6vw;
    margin-top: -28vh;
    margin-top: -28svh;
  }
  .card-2 {
    margin-left: 6vw;
    margin-top: 24vh;
    margin-top: 24svh;
  }
  .card-3 {
    margin-left: 6vw;
    margin-top: -28vh;
    margin-top: -28svh;
  }
  .card-4 {
    margin-left: -6vw;
    margin-top: 24vh;
    margin-top: 24svh;
  }
  .card-5 {
    margin-left: 0;
    margin-top: -28vh;
    margin-top: -28svh;
  }
}

/* ---- 3) KIND WORDS: mobile par saare avatars upar (4 + 3 = 2 lines) ---- */
@media screen and (max-width: 767px) {
  .tr-sec .tr-row {
    --tr-av: clamp(46px, 14.5vw, 64px);
    --tr-m: clamp(6px, 2.2vw, 11px);
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  /* side columns ke boxes hata do taake avatars seedha row ke item ban jayen */
  .tr-sec .tr-col-3,
  .tr-sec .container-pe-quote {
    display: contents;
  }
  .tr-sec .section-eight .container-pe-quote .pp-quote {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    width: var(--tr-av);
    height: var(--tr-av);
    margin: var(--tr-m);
    flex: 0 0 auto;
    order: 1;
  }
  /* pehli line: 1-4 | doosri line: 5-7 */
  .tr-sec .section-eight .container-pe-quote .li-quote-5,
  .tr-sec .section-eight .container-pe-quote .li-quote-6,
  .tr-sec .section-eight .container-pe-quote .li-quote-7 {
    order: 3;
  }
  .tr-sec .tr-row::before {
    content: "";
    flex: 0 0 100%;
    height: 0;
    order: 2;
  }
  .tr-sec .tr-col-6 {
    order: 4;
    padding: 0;
  }
  .tr-sec .sec-eight-text-area {
    padding: 18px 0 24px;
  }
}

/* ============================================================
  SPACING: chhoti screens par faltu khali jagah kam
  ============================================================ */
@media (max-width: 991px) {
  /* banner ki height ab content se banegi (100svh nahi), neeche ka gap khatam */
  .hero {
    min-height: auto;
  }
  .hero-content {
    padding-bottom: 1.75rem;
  }
  /* scroll parallax stacked layout mein text ke neeche gap bana raha tha */
  .hero-content {
    transform: none !important;
    opacity: 1 !important;
  }
  .hero-book-scroll {
    transform: none !important;
  }
}
@media (max-width: 767px) {
  .hero-eyebrow {
    margin-bottom: 1rem;
  }
  .hero-copy {
    margin-top: 1.1rem;
  }
  .hero-actions {
    margin-top: 1.5rem;
    gap: 0.75rem;
  }
  .mp-brands {
    padding: 1.5rem 0;
  }

  /* sections ke upar/neeche ki padding */
  .stage-block {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
  .intro-block {
    padding-top: 2.5rem !important;
    padding-bottom: 1rem !important;
  }
  .about.stage-block {
    padding-top: 1.25rem !important;
    padding-bottom: 2.5rem !important;
  }
  .media-sec {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
  .cta {
    padding: 3.25rem var(--pad);
  }

  /* heading / paragraph / grid ke beech ki jagah */
  .lead {
    margin-top: 1.25rem;
  }
  .intro-block .lead {
    margin-top: 1rem;
  }
  .about .stats {
    margin-top: 1.6rem;
  }
  .services .head {
    margin-bottom: 1.6rem;
  }
  .media-head {
    margin-bottom: 1.6rem;
  }
  .media-head .msub {
    margin-top: 0.9rem;
  }
  .marquee {
    margin-top: 1.4rem;
  }
  .srow {
    padding: 1.15rem 0;
  }
  .pstep {
    padding: 1.4rem 0;
  }
  .vgrid {
    margin-top: 1.75rem;
  }
  .vcell {
    padding: 1.5rem;
  }
  .books .head {
    padding-bottom: 1.25rem;
  }
  .books-track {
    padding-bottom: 1.5rem;
  }
  .cta h2 {
    margin-top: 1rem;
  }
  .cta p {
    margin-top: 1.1rem;
  }
  .cta .btn {
    margin-top: 1.75rem;
  }
  .section-eight {
    padding-top: 10px;
  }
}

/* about us page */
/* ================================================================
  GHOSTWRITING PAGE — background canvas + page-specific additions
  (theme tokens/classes above are carried over as-is from the
  main site so colors, type and components match exactly)
  ================================================================ */

/* ---- background canvas (Quill Stars) sits fixed behind everything ---- */
#stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: var(--ink);
}
main {
  position: relative;
  z-index: 2;
}

/* ---- inner page hero (lighter than the homepage's WebGL hero) ---- */
.inner-hero {
  min-height: 56svh;
  display: flex;
  align-items: flex-end;
  padding: clamp(7rem, 16vh, 10rem) var(--pad) clamp(3rem, 7vh, 5rem);
  overflow: clip;
}
.inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    120% 70% at 80% 0%,
    rgba(194, 168, 120, 0.14),
    transparent 55%
  );
}
.inner-hero .hero-content {
  position: relative;
  z-index: 1;
  max-width: 900px;
}
.inner-hero .hero-title {
  max-width: 16ch;
}
.inner-hero .hero-copy {
  max-width: 56ch;
}

/* ---- intro copy block ---- */
.intro-copy .lead + .lead {
  margin-top: 1.3rem;
}

/* ---- quote / lead-capture box ---- */
.quote-box {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(2rem, 5vw, 3.2rem);
  background: rgba(20, 27, 36, 0.42);
  backdrop-filter: blur(6px);
  max-width: 640px;
}
.quote-box h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--paper);
}
.quote-box .form-sub {
  color: var(--muted);
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.6;
}
.quote-box form {
  margin-top: 1.8rem;
}
.captcha-note {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  padding: 0.9rem 1.1rem;
  color: var(--muted);
  font-size: 0.82rem;
  letter-spacing: 0.02em;
}
.captcha-note .box {
  width: 18px;
  height: 18px;
  border: 1px solid var(--line);
  border-radius: 2px;
  flex: 0 0 auto;
}

/* ---- genre / service-category grid (reuses .vgrid/.vcell look, sized for 10 items) ---- */
.genre-head {
  max-width: 1200px;
  margin: 0 auto clamp(2.2rem, 5vw, 3.4rem);
}
.genre-head .msub {
  color: var(--muted);
  max-width: 56ch;
  margin-top: 1.2rem;
  line-height: 1.7;
}
.genre-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  max-width: 1200px;
  margin: 0 auto;
}
.genre-cell {
  background: transparent;
  padding: clamp(1.8rem, 3.6vw, 2.6rem);
  position: relative;
}
.genre-cell::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 27, 36, 0.4);
  z-index: -1;
}
.genre-cell::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.45s ease;
  background: radial-gradient(
    240px circle at var(--mx, 50%) var(--my, 50%),
    rgba(194, 168, 120, 0.16),
    transparent 62%
  );
  pointer-events: none;
  z-index: 0;
}
.genre-cell:hover::after {
  opacity: 1;
}
.genre-cell h3 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.4vw, 1.85rem);
  color: var(--paper);
  position: relative;
  z-index: 1;
}
.genre-cell p {
  color: var(--muted);
  line-height: 1.7;
  font-size: 0.94rem;
  margin-top: 0.6rem;
  position: relative;
  z-index: 1;
}
@media (max-width: 700px) {
  .genre-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- testimonials (kept in the same eyebrow / serif-heading language as the
  main site's "Kind Words" section, as clean cards rather than the JS carousel) ---- */
.testi-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(1.4rem, 3vw, 2rem);
}
.testi-card {
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: clamp(1.8rem, 3vw, 2.4rem);
  background: rgba(20, 27, 36, 0.38);
  position: relative;
  transition:
    transform 0.5s var(--ease),
    border-color 0.5s var(--ease);
}
.testi-card:hover {
  transform: translateY(-6px);
  border-color: rgba(194, 168, 120, 0.45);
}
.testi-card .mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}
.testi-card p {
  color: var(--paper);
  font-family: var(--font-serif);
  font-size: 1.15rem;
  line-height: 1.65;
  margin-top: 0.6rem;
}
.testi-card .who {
  margin-top: 1.4rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.testi-card .who .dot {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-weight: 600;
}
.testi-card .who .name {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-soft);
}
@media (max-width: 860px) {
  .testi-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- offer ribbon (small, non-intrusive nod to the homepage's discount badge) ---- */
.offer-note {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 2rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--gold-soft);
  border-top: 1px solid var(--line);
  padding-top: 1rem;
}

/* ================================================================
  ABOUT US PAGE — extra components (timeline, SELF/PUBLISHER list,
  process steps) — reuses the same theme tokens as the rest of the site
  ================================================================ */

/* ---- services section: left copy+cover / right acronym lists ---- */
.services-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  max-width: 1200px;
  margin: 0 auto;
  align-items: start;
}
.services-left .book-cover-wrap {
  margin-top: clamp(1.8rem, 4vw, 2.6rem);
  max-width: 280px;
}
.services-left .book-cover-wrap img {
  width: 100%;
  /* border-radius: 2px 6px 6px 2px; */
  /* box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5); */
  /* border-left: 4px solid rgba(194, 168, 120, 0.55); */
}
@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }
  .services-left .book-cover-wrap {
    max-width: 220px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* ---- acronym / value lists (SELF + PUBLISHER) ---- */
.acronym-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: clamp(2rem, 5vw, 4rem);
  width: 100%;
  margin: 0;
}
.acronym-list {
  display: grid;
  gap: 1.4rem;
}
.acronym-row {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}
.acronym-row .letter {
  flex: 0 0 auto;
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--line);
  display: grid;
  place-items: center;
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--gold);
  background: rgba(194, 168, 120, 0.08);
}
.acronym-row p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.6;
  padding-top: 0.35rem;
}
@media (max-width: 820px) {
  .acronym-wrap {
    grid-template-columns: 1fr;
  }
}

/* ---- timeline ---- */
.timeline {
  max-width: 900px;
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  position: relative;
}
.timeline::before {
  content: "";
  position: absolute;
  left: 2.6rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}
.tl-item {
  position: relative;
  padding: 0 0 clamp(2.2rem, 5vw, 3.2rem) 6rem;
}
.tl-item:last-child {
  padding-bottom: 0;
}
.tl-item .dot {
  position: absolute;
  left: calc(2.6rem - 5px);
  top: 0.35rem;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(194, 168, 120, 0.15);
}
.tl-item .yr {
  font-family: var(--font-serif);
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--paper);
  line-height: 1;
}
.tl-item .idx {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  opacity: 0.85;
  margin-bottom: 0.3rem;
  display: block;
}
.tl-item p {
  color: var(--muted);
  margin-top: 0.6rem;
  line-height: 1.7;
  max-width: 52ch;
}
@media (max-width: 600px) {
  .timeline::before {
    left: 1.2rem;
  }
  .tl-item {
    padding-left: 3.2rem;
  }
  .tl-item .dot {
    left: calc(1.2rem - 5px);
  }
}

/* ---- lively touches: hover glow + a slow pulse on timeline dots ---- */
.tl-item .dot {
  transition:
    transform 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.tl-item:hover .dot {
  transform: scale(1.35);
  box-shadow: 0 0 0 7px rgba(194, 168, 120, 0.22);
}
.tl-item .yr {
  transition:
    color 0.4s var(--ease),
    transform 0.4s var(--ease);
}
.tl-item:hover .yr {
  color: var(--gold);
  transform: translateX(4px);
}
@keyframes dotpulse {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(194, 168, 120, 0.15);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(194, 168, 120, 0.05);
  }
}
.tl-item .dot {
  animation: dotpulse 2.6s ease-in-out infinite;
}

.acronym-row {
  transition: transform 0.4s var(--ease);
}
.acronym-row .letter {
  transition:
    transform 0.4s var(--ease),
    background 0.4s var(--ease),
    box-shadow 0.4s var(--ease);
}
.acronym-row:hover {
  transform: translateX(6px);
}
.acronym-row:hover .letter {
  background: var(--gold);
  color: var(--ink);
  transform: scale(1.1);
  box-shadow: 0 0 18px rgba(194, 168, 120, 0.4);
}

/* ---- scroll reveal ---- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.8s var(--ease),
    transform 0.8s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---- banner that now carries the quote form (page content unchanged, form added) ---- */
.inner-hero.has-form {
  min-height: auto;
  align-items: center;
  padding-top: clamp(8rem, 17vh, 11rem);
  padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
}
.hero-banner-grid {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr minmax(0, 640px);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.inner-hero.has-form .hero-content {
  max-width: 560px;
  padding: 0;
}
.hero-banner-grid .quote-box {
  width: 100%;
}
@media (max-width: 960px) {
  .hero-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem;
  }
  .inner-hero.has-form .hero-content {
    max-width: none;
  }
}

/* innerpage */
/* popup */
.pop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 5vw;
  background: rgba(6, 8, 11, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.pop.open {
  display: flex;
}
.pop-box {
  position: relative;
  width: min(880px, 100%);
  max-height: 92vh;
  overflow: auto;
  background: linear-gradient(180deg, #10151d, #0b0f15);
  border: 1px solid var(--line, rgba(226, 214, 190, 0.14));
  border-radius: 12px;
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.7);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  animation: popIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (max-width: 720px) {
  .pop-box {
    grid-template-columns: 1fr;
    max-height: 88vh;
  }
}
.pop-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 6;
  width: 40px;
  height: 40px;
  border: 1px solid var(--line, rgba(226, 214, 190, 0.14));
  border-radius: 50%;
  background: rgba(10, 13, 18, 0.65);
  color: var(--paper, #efe7d9);
  font-size: 1rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: 0.3s;
}
.pop-close:hover {
  background: var(--gold, #c2a878);
  color: var(--ink, #0a0d12);
  border-color: var(--gold, #c2a878);
}
.pop-form {
  padding: clamp(1.6rem, 3.4vw, 2.8rem);
  z-index: 0;
}
@media (max-width: 600px){
    .pop-form::before {
    content: "";
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}
.pop-form::after {
    content: "";
    background-color: black;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    filter: opacity(0.8);
}
}
.pop-form .p-eyebrow {
  color: var(--gold, #c2a878);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}
.pop-form h3 {
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  font-size: clamp(1.55rem, 3vw, 2.1rem);
  margin: 0.55rem 0 0.35rem;
  color: var(--paper, #efe7d9);
  line-height: 1.1;
  font-weight: 500;
}
.pop-sub {
  color: var(--muted, #8b93a0);
  font-size: 0.92rem;
  margin: 0 0 1.3rem;
}
.pop-form form {
  display: grid;
  gap: 1.05rem;
}
.pop-field {
  display: grid;
  gap: 0.5rem;
}
.pop-field label {
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold, #c2a878);
  opacity: 0.85;
}
.pop-field input {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line, rgba(226, 214, 190, 0.14));
  padding: 0.7rem 0;
  font: inherit;
  font-size: 1rem;
  color: var(--paper, #efe7d9);
  border-radius: 0;
}
.pop-field input:focus {
  outline: none;
  border-color: var(--gold, #c2a878);
}
.pop-field.invalid input {
  border-color: #e08163;
}
.pop-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 1rem 1.7rem;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 0;
  border-radius: 2px;
  background: var(--gold, #c2a878);
  color: var(--ink, #0a0d12);
  cursor: pointer;
}
.pop-btn:hover {
  background: var(--gold-soft, #d8c49a);
}
.pop-note {
  font-size: 0.72rem;
  color: var(--muted, #8b93a0);
  margin: 0.9rem 0 0;
  text-align: center;
}
.pop-status {
  font-size: 0.8rem;
  min-height: 1em;
  margin: 0;
  color: #e08163;
}
.pop-status.ok {
  color: var(--gold-soft, #d8c49a);
}
.pop-visual {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #1a2434, #0a0d12);
  border-left: 1px solid var(--line, rgba(226, 214, 190, 0.14));
}
@media (max-width: 720px) {
  .pop-visual {
    display: none;
  }
}
.pop-visual img,
.pop-visual video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.92;
}
.pop-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(10, 13, 18, 0.1),
    rgba(10, 13, 18, 0.6)
  );
}
.pop-visual .pv-cap {
  position: absolute;
  left: 1.4rem;
  right: 1.4rem;
  bottom: 1.3rem;
  z-index: 2;
}
.pop-visual .pv-cap b {
  font-family: var(--font-serif, "Cormorant Garamond", Georgia, serif);
  color: var(--paper, #efe7d9);
  font-size: 1.2rem;
  display: block;
  line-height: 1.15;
  font-weight: 500;
}
.pop-visual .pv-cap span {
  color: var(--gold-soft, #d8c49a);
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}
body.no-scroll {
  overflow: hidden;
}
/* thank you */
.thank-you {
  padding-top: clamp(8rem, 17vh, 11rem);
  padding-bottom: clamp(3.5rem, 8vh, 5.5rem);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.thank-you .tick {
  width: 74px;
  height: 74px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-size: 2rem;
  display: grid;
  place-items: center;
  margin: 0 auto 1.6rem;
  box-shadow: 0 18px 44px rgba(194, 168, 120, 0.35);
}
.thank-you .eyebrow {
  color: var(--gold);
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  font-weight: 600;
}
.thank-you h1 {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(2.4rem, 6vw, 4rem);
  line-height: 1.05;
  margin: 1rem 0 0.6rem;
}
.thank-you p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 52ch;
  margin: 0 auto 2rem;
}
.thank-you .btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.7rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: 2px;
  background: var(--gold);
  color: var(--ink);
  text-decoration: none;
}
/* custom input */
.captcha-note label {
  cursor: pointer;
}

.captcha-note input {
  cursor: pointer;
}
.captcha-note input[type="checkbox"] {
  accent-color: var(--gold);
}
/* ===== inline video (card ke andar play) ===== */
.js-play .inline-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  z-index: 5;
  background: #000;
  object-fit: contain;
}
.js-play.is-playing {
  cursor: default;
}
.js-play.is-playing .play,
.js-play.is-playing .cap,
.js-play.is-playing .tc,
.js-play.is-playing .poster-motif,
.js-play.is-playing .bb-badge,
.js-play.is-playing .bb-city {
  opacity: 0;
  pointer-events: none;
}
.trail-card.is-playing:hover {
  transform: none;
}
