/* ============================================================
   MADHUKUNJ — homepage demo
   Design language: Odisha heritage · cinematic devotional · smoke
   All brand decisions live in :root tokens (one source of truth).
============================================================= */

:root {
  /* palette */
  --bg:        #0d0a08;   /* warm near-black */
  --bg-2:      #15100b;
  --bg-3:      #1d160e;
  --ink:       #080605;
  --gold:      #c9a24b;
  --gold-soft: #d8b766;
  --gold-bright:#e9cd8a;
  --gold-deep: #8a6c28;
  --accent:    #8a2515;   /* maroon / vermillion */
  --accent-br: #b23a1e;
  --ember:     #ff7a2e;
  --sand:      #ece0cb;
  --sand-dim:  #b6a98f;
  --sand-faint:#7d7361;

  /* lines & fills */
  --line:      rgba(201,162,75,0.22);
  --line-soft: rgba(236,224,203,0.10);
  --glass:     rgba(13,10,8,0.55);

  /* type */
  --f-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --f-carved:  'Marcellus', Georgia, serif;
  --f-body:    'Mukta', system-ui, -apple-system, sans-serif;

  /* rhythm */
  --pad: clamp(1.25rem, 5vw, 7rem);
  --maxw: 1320px;
}

/* ---- reset ---- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: hidden; }
body {
  margin: 0;
  width: 100%;
  max-width: 100%;
  background: var(--bg);
  color: var(--sand);
  font-family: var(--f-body);
  font-weight: 300;
  line-height: 1.65;
  overflow-x: hidden;
  cursor: auto;
}
@media (hover: hover) and (pointer: fine) { body { cursor: none; } }
body.is-loading { overflow: hidden; height: 100vh; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1,h2,h3,h4 { margin: 0; font-weight: 400; }
::selection { background: var(--accent); color: var(--sand); }

/* ============================================================
   GLOBAL TEXTURE — film grain + vignette
============================================================= */
.grain {
  position: fixed; inset: -50%; z-index: 9000; pointer-events: none;
  opacity: 0.06; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grainShift 7s steps(6) infinite;
}
@keyframes grainShift {
  0%{transform:translate(0,0)} 20%{transform:translate(-4%,3%)}
  40%{transform:translate(3%,-4%)} 60%{transform:translate(-2%,2%)}
  80%{transform:translate(4%,1%)} 100%{transform:translate(0,0)}
}
.vignette {
  position: fixed; inset: 0; z-index: 8999; pointer-events: none;
  background: radial-gradient(120% 120% at 50% 40%, transparent 55%, rgba(0,0,0,0.55) 100%);
}

/* ============================================================
   CUSTOM CURSOR
============================================================= */
.cursor { position: fixed; inset: 0; z-index: 9500; pointer-events: none; }
.cursor__dot, .cursor__ring { position: absolute; top: 0; left: 0; border-radius: 50%; transform: translate(-50%,-50%); }
.cursor__dot { width: 6px; height: 6px; margin: -3px; background: var(--gold-bright); }
.cursor__ring {
  width: 34px; height: 34px; margin: -17px; border: 1px solid var(--line);
  transition: width .3s, height .3s, margin .3s, border-color .3s, background .3s;
}
body.cursor-hot .cursor__ring { width: 56px; height: 56px; margin: -28px; border-color: var(--gold); background: rgba(201,162,75,0.07); }

/* ============================================================
   LOADER
============================================================= */
.loader {
  position: fixed; inset: 0; z-index: 9800; background: var(--ink);
  display: grid; place-items: center; transition: opacity .8s ease, visibility .8s;
}
.loader.is-out { opacity: 0; visibility: hidden; }
.loader__inner { display: grid; justify-items: center; gap: 1.6rem; }
.loader__wheel { width: 84px; height: 84px; color: var(--gold); opacity: .9; animation: spin 9s linear infinite; }
.loader__wheel .orn { width: 100%; height: 100%; }
.loader__word { font-family: var(--f-carved); letter-spacing: .55em; padding-left: .55em; color: var(--gold-soft); font-size: .8rem; }
.loader__bar { width: 140px; height: 1px; background: var(--line-soft); overflow: hidden; }
.loader__bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold-deep), var(--gold-bright)); transition: width .2s ease; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ============================================================
   NAV
============================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.3rem var(--pad); transition: padding .4s, background .4s, border-color .4s;
  border-bottom: 1px solid transparent;
}
.nav--solid {
  padding: 0.8rem var(--pad);
  background: var(--glass); backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; }
.nav__brand-mark { width: 30px; height: 30px; display: block; color: var(--gold); }
.nav__brand-mark .orn { width: 100%; height: 100%; }
.nav__brand-name { font-family: var(--f-carved); font-size: 1.35rem; letter-spacing: .04em; color: var(--sand); }
.nav__links { display: flex; gap: clamp(1rem, 2.4vw, 2.4rem); }
.nav__links a {
  font-size: .82rem; letter-spacing: .06em; color: var(--sand-dim); position: relative; padding: .2rem 0;
  transition: color .3s;
}
.nav__links a::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 1px; background: var(--gold); transition: width .35s ease; }
.nav__links a:hover { color: var(--sand); } .nav__links a:hover::after { width: 100%; }
.nav__actions { display: flex; align-items: center; gap: 1rem; }
.nav__burger { display: none; }

/* ============================================================
   BUTTONS
============================================================= */
.btn {
  --b: var(--gold);
  display: inline-flex; align-items: center; gap: .6rem;
  font-family: var(--f-carved); font-size: .85rem; letter-spacing: .08em;
  padding: .85rem 1.7rem; border-radius: 2px; position: relative; overflow: hidden;
  transition: color .35s, border-color .35s, background .35s, transform .35s;
}
.btn--gold { background: linear-gradient(120deg, var(--gold-deep), var(--gold)); color: var(--ink); box-shadow: 0 10px 30px -12px rgba(201,162,75,.6); }
.btn--gold:hover { transform: translateY(-2px); box-shadow: 0 16px 38px -12px rgba(201,162,75,.75); }
.btn--line { border: 1px solid var(--line); color: var(--sand); }
.btn--line:hover { border-color: var(--gold); color: var(--gold-bright); }
.btn--ghost { border: 1px solid var(--line); color: var(--sand-dim); padding: .6rem 1.1rem; font-size: .78rem; }
.btn--ghost:hover { border-color: var(--accent-br); color: var(--sand); }

/* shared small bits */
.eyebrow { font-family: var(--f-carved); letter-spacing: .28em; text-transform: uppercase; font-size: .72rem; color: var(--gold); margin: 0 0 1.4rem; }
.lede { font-size: clamp(1rem, 1.4vw, 1.18rem); color: var(--sand-dim); max-width: 46ch; }
.display {
  font-family: var(--f-display); font-weight: 500;
  font-size: clamp(2.6rem, 7vw, 6rem); line-height: 0.98; letter-spacing: -0.02em; color: var(--sand);
}
.display span { display: block; overflow: hidden; }
.display em { font-style: italic; font-weight: 400; color: var(--gold-soft); }
.display--center { text-align: center; }
.link-underline { font-family: var(--f-carved); letter-spacing: .05em; color: var(--gold-soft); border-bottom: 1px solid var(--line); padding-bottom: 3px; transition: color .3s, border-color .3s; }
.link-underline:hover { color: var(--gold-bright); border-color: var(--gold); }

/* ============================================================
   ACT 1 — HERO
============================================================= */
.hero {
  position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden;
  /* faint warmth rising from the base, falling off to dark at the edges */
  background:
    radial-gradient(78% 52% at 50% 98%, rgba(118,62,22,0.30) 0%, rgba(56,28,12,0.12) 38%, transparent 64%),
    radial-gradient(140% 120% at 50% 100%, #1a120c 0%, #0e0a07 62%, #080605 100%);
}
.hero__smoke { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 2; }

/* real smoke footage (shot on black) — screen blend drops the black,
   leaving only the smoke. Two sides alternate; opacity is driven by JS. */
.hero__smoke-video {
  position: absolute; z-index: 2; bottom: 0;
  width: 54%; height: 100%; object-fit: cover; object-position: center bottom;
  mix-blend-mode: screen; opacity: 0; pointer-events: none; will-change: opacity;
  filter: saturate(1.05) brightness(1.04) sepia(0.12) hue-rotate(-6deg);
}
.hero__smoke-video--right { right: -4%; }
.hero__smoke-video--left  { left: -4%; transform: scaleX(-1); }   /* mirror so it reads as different smoke */
.hero__wheel {
  position: absolute; z-index: 0; top: 50%; left: 50%; width: min(118vh, 96vw); aspect-ratio: 1;
  transform: translate(-50%,-50%); color: var(--gold);
  opacity: 0.07; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 55%, transparent 78%);
          mask-image: radial-gradient(circle, #000 55%, transparent 78%);
}
.hero__wheel .orn { width: 100%; height: 100%; }

/* Konark sun-ring of architecture, concentric around the wheel */
.hero__ring {
  position: absolute; z-index: 0; top: 50%; left: 50%; width: min(152vh, 122vw); aspect-ratio: 1;
  transform: translate(-50%,-50%); color: var(--gold); opacity: 0.05; pointer-events: none;
  -webkit-mask-image: radial-gradient(circle, #000 58%, transparent 80%);
          mask-image: radial-gradient(circle, #000 58%, transparent 80%);
  animation: ringTurn 220s linear infinite;
}
.hero__ring .orn { width: 100%; height: 100%; }
@keyframes ringTurn { to { transform: translate(-50%,-50%) rotate(-360deg); } }

/* carved Konark pillars framing the empty hero side-margins (hollow outline) */
.hero__pillar {
  position: absolute; z-index: 0; top: 0; bottom: 0; width: clamp(64px, 8.5vw, 132px);
  color: var(--gold); opacity: 0.25; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 16%, #000 88%, transparent);
          mask-image: linear-gradient(transparent, #000 16%, #000 88%, transparent);
}
.hero__pillar .orn { width: 100%; height: 100%; }
.hero__pillar--left  { left: 0.5%; }
.hero__pillar--right { right: 0.5%; transform: scaleX(-1); }
@media (max-width: 760px) { .hero__pillar { opacity: 0.18; width: 46px; } }

/* same carved pillars framing the inner content sections */
.col-pillar {
  position: absolute; z-index: 0; top: 0; bottom: 0; width: clamp(50px, 6.5vw, 104px);
  color: var(--gold); opacity: 0.25; pointer-events: none;
  -webkit-mask-image: linear-gradient(transparent, #000 14%, #000 88%, transparent);
          mask-image: linear-gradient(transparent, #000 14%, #000 88%, transparent);
}
.col-pillar .orn { width: 100%; height: 100%; }
.col-pillar--left  { left: 0.5%; }
.col-pillar--right { right: 0.5%; transform: scaleX(-1); }
@media (max-width: 760px) { .col-pillar { opacity: 0.17; width: 40px; } }

/* deep-background Kalinga temple skyline along the horizon */
.hero__skyline {
  position: absolute; z-index: 0; left: 0; right: 0; bottom: 0; height: 36vh;
  color: var(--gold); opacity: 0.06; pointer-events: none;
  -webkit-mask-image: linear-gradient(to top, #000 28%, transparent 92%);
          mask-image: linear-gradient(to top, #000 28%, transparent 92%);
}
.hero__skyline .orn { width: 100%; height: 100%; }

/* warm divine bloom — makes the gold wordmark read as a LIGHT SOURCE that
   spills into the scene, rather than a flat gradient fill on murk */
.hero__glow {
  position: absolute; z-index: 1; top: 44%; left: 50%; transform: translate(-50%,-50%);
  width: min(150vh, 124vw); aspect-ratio: 1.35 / 1; pointer-events: none;
  background: radial-gradient(closest-side,
    rgba(255,178,92,0.14) 0%, rgba(225,130,48,0.07) 28%, rgba(150,80,30,0.03) 48%, transparent 68%);
  mix-blend-mode: screen; filter: blur(16px);
  animation: heroGlowBreathe 7s ease-in-out infinite;
}
@keyframes heroGlowBreathe {
  0%, 100% { opacity: 0.82; transform: translate(-50%,-50%) scale(1); }
  50%      { opacity: 1;    transform: translate(-50%,-50%) scale(1.05); }
}

.hero__content { position: relative; z-index: 4; text-align: center; padding: 0 var(--pad); }
.hero__eyebrow { font-family: var(--f-carved); letter-spacing: .42em; text-transform: uppercase; font-size: clamp(.62rem,1.1vw,.78rem); color: var(--gold); opacity: 0; margin: 0 0 1.6rem; }
.hero__word {
  font-family: var(--f-display); font-weight: 600;
  font-size: clamp(3.6rem, 15vw, 13rem); line-height: 0.86; letter-spacing: .02em;
  background: linear-gradient(180deg, var(--gold-bright) 0%, var(--gold) 45%, var(--gold-deep) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: url(#smokeReveal); opacity: 0; will-change: filter, opacity, transform;
  /* the wordmark emits a soft warm light — restrained */
  text-shadow:
    0 0 16px rgba(255,178,90,0.20),
    0 0 46px rgba(232,142,52,0.12);
}
.hero__tagline { font-family: var(--f-carved); font-size: clamp(1rem, 2.2vw, 1.5rem); letter-spacing: .12em; color: var(--sand); opacity: 0; margin: 1.4rem 0 0; }
.hero__cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 2.4rem; opacity: 0; }
.hero__scroll { position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%); z-index: 4; display: grid; justify-items: center; gap: .6rem; opacity: 0; }
.hero__scroll span { font-family: var(--f-carved); letter-spacing: .3em; font-size: .65rem; color: var(--sand-dim); text-transform: uppercase; }
.hero__scroll i { width: 1px; height: 46px; background: linear-gradient(var(--gold), transparent); position: relative; overflow: hidden; }
.hero__scroll i::after { content:''; position:absolute; top:-50%; left:0; width:100%; height:50%; background: var(--gold-bright); animation: scrollDrop 2.2s ease-in-out infinite; }
@keyframes scrollDrop { 0%{transform:translateY(-100%)} 60%,100%{transform:translateY(300%)} }

/* ============================================================
   ACT 2 — RITUAL
============================================================= */
.ritual { position: relative; padding: clamp(4.5rem, 9vh, 7rem) var(--pad) clamp(2.5rem, 5vh, 4rem); background: linear-gradient(var(--bg), var(--bg-2)); }
.ritual__rail { position: absolute; left: var(--pad); top: 0; bottom: 0; width: 1px; background: linear-gradient(transparent, var(--line), transparent); }
.ritual__grid { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(2rem, 6vw, 6rem); align-items: center; }
.ritual__copy .display { margin: 0 0 1.8rem; }
.ritual__copy .lede { margin: 0 0 2rem; }
.ritual__img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; display: block; min-height: 320px; }
.ritual__media figcaption { font-family: var(--f-carved); letter-spacing: .12em; font-size: .78rem; color: var(--sand-dim); margin-top: 1rem; text-align: right; }

/* image slots — designed placeholders (never broken boxes) */
.slot {
  position: relative; width: 100%; height: 100%; min-height: 320px; border: 1px solid var(--line);
  background:
    radial-gradient(120% 120% at 70% 20%, rgba(201,162,75,0.10), transparent 60%),
    repeating-linear-gradient(45deg, rgba(236,224,203,0.018) 0 14px, transparent 14px 28px),
    var(--bg-3);
  display: grid; place-items: center; gap: .8rem; overflow: hidden; border-radius: 2px;
}
.slot::after { content:''; position:absolute; inset:10px; border:1px solid var(--line-soft); pointer-events:none; }
.slot--tall { aspect-ratio: 3/4; min-height: 420px; }
.slot__label { font-family: var(--f-carved); letter-spacing: .14em; font-size: .72rem; color: var(--sand-faint); text-transform: uppercase; }
.slot__seal { width: 64px; height: 64px; color: var(--gold); opacity: .8; }
.slot__seal .orn { width: 100%; height: 100%; }

/* ============================================================
   ACT 3 — HERITAGE
============================================================= */
.heritage { position: relative; padding: clamp(1rem,2vh,2rem) 0; background: var(--bg-2); }
.border-pattichitra { height: 34px; color: var(--gold); opacity: .7; margin: 0 var(--pad); }
.border-pattichitra .orn { width: 100%; height: 100%; }
.border-pattichitra--flip { transform: scaleY(-1); }
.heritage__inner { max-width: 1100px; margin: 0 auto; padding: clamp(1.6rem,3.5vh,3rem) var(--pad); position: relative; text-align: center; }
.heritage__spire { position: absolute; top: 4%; left: 50%; transform: translateX(-50%); width: clamp(100px, 16vw, 190px); color: var(--accent-br); opacity: .22; z-index: 0; }
.heritage__spire .orn { width: 100%; height: 100%; }
.heritage__lead { position: relative; z-index: 1; margin-bottom: 1.6rem; }
.heritage__lead .eyebrow { display: block; }
.heritage__cols { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem,4vw,3.5rem); max-width: 760px; margin: 0 auto; text-align: left; }
.heritage__cols p { color: var(--sand-dim); margin: 0; position: relative; padding-top: 1.5rem; }
.heritage__cols p::before { content: ''; position: absolute; top: 0; left: 0; width: 42px; height: 2px; background: var(--gold); }

/* ---- RECOGNIZED BY INDIA ---- */
.recognized { position: relative; overflow: hidden; padding: clamp(3rem,7vh,5.5rem) var(--pad); background: var(--bg); border-top: 1px solid var(--line-soft); }
.recognized__inner { max-width: var(--maxw); margin: 0 auto; text-align: center; }
.recog__title { margin-bottom: 2.5rem; color: var(--sand); }
.recog__title em { color: var(--gold); }
.recognized__stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 1rem; max-width: 900px; margin: 0 auto 3.5rem; }
.rstat { display: flex; flex-direction: column; align-items: center; gap: .18rem; }
.rstat__pre { font-family: var(--f-carved); letter-spacing: .12em; text-transform: uppercase; font-size: .68rem; color: var(--sand-dim); }
.rstat__num { font-family: var(--f-display); font-weight: 500; font-size: clamp(2.2rem,4.5vw,3.4rem); color: var(--gold); line-height: 1.05; }
.rstat__label { font-family: var(--f-carved); letter-spacing: .1em; text-transform: uppercase; font-size: .7rem; color: var(--sand-dim); }
.recognized__images { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.2rem,3vw,2.4rem); max-width: 860px; margin: 0 auto; }
.award-slot { margin: 0; }
.award-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 3px; border: 1px solid var(--line); display: block; }
.award-slot figcaption { font-family: var(--f-carved); letter-spacing: .08em; font-size: .76rem; color: var(--sand-dim); margin-top: .8rem; text-transform: uppercase; }
.slot--award { aspect-ratio: 4/3; min-height: 0; border-radius: 3px; }

/* ============================================================
   ACT 4 — SERIES (offset, art-directed)
============================================================= */
.series { padding: clamp(4rem,9vh,7rem) var(--pad); background: linear-gradient(var(--bg-2), var(--bg)); }
.series__head { max-width: var(--maxw); margin: 0 auto 2.5rem; }
.series__head .display { margin: .4rem 0; }
.series__note { color: var(--sand-dim); font-size: 1.05rem; }

/* dense 3-up grid: image + title, no big gaps */
.series__stack {
  max-width: var(--maxw); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1rem, 2.4vw, 2rem) clamp(1rem, 2vw, 1.8rem);
}
.scard { display: block; }
.scard__media { aspect-ratio: 4 / 3; overflow: hidden; border-radius: 3px; border: 1px solid var(--line); }
.scard__media .slot, .scard__img { width: 100%; height: 100%; min-height: 0; object-fit: cover; display: block; transition: transform .7s ease; }
.scard__media .slot { border: 0; border-radius: 0; }
.scard:hover .scard__img, .scard:hover .scard__media .slot { transform: scale(1.04); }
.scard__name { font-family: var(--f-display); font-weight: 500; font-size: clamp(1.05rem, 1.6vw, 1.5rem); color: var(--sand); margin: .85rem 0 .12rem; }
.scard__meta { font-family: var(--f-carved); letter-spacing: .05em; text-transform: uppercase; font-size: clamp(.66rem,.9vw,.78rem); color: var(--sand-dim); margin: 0; }
.series__all { text-align: center; margin-top: clamp(2.5rem,5vw,4rem); }

/* ============================================================
   TESTIMONIALS — alternating infinite-scroll columns
============================================================= */
.testimonials {
  position: relative; overflow: hidden; background: var(--bg);
  height: clamp(560px, 82vh, 760px);
  border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft);
  /* fade the top & bottom edges so cards dissolve in/out */
  -webkit-mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
          mask-image: linear-gradient(transparent, #000 9%, #000 91%, transparent);
}
.testimonials__inner {
  display: flex; gap: 1rem; align-items: flex-start; height: 100%;
}
.testi__col {
  flex: 0 0 calc(100% / 5 - .8rem);
  display: flex; flex-direction: column; gap: 1rem;
  will-change: transform;
}
/* odd cols scroll UP, even cols scroll DOWN — never change direction */
.testi__col--up   { animation: testiUp   var(--dur,32s) linear infinite; }
.testi__col--down { animation: testiDown var(--dur,28s) linear infinite; }
@keyframes testiUp   { from{transform:translateY(0)} to{transform:translateY(-50%)} }
@keyframes testiDown { from{transform:translateY(-50%)} to{transform:translateY(0)} }

/* pause on hover for readability */
.testimonials:hover .testi__col { animation-play-state: paused; }

.tcard {
  border-radius: 4px; padding: 1.6rem 1.4rem;
  border: 1.5px solid var(--gold-deep); flex-shrink: 0;
  transition: border-color .3s;
}
.tcard:hover { border-color: var(--gold); }
/* white variant */
.tcard--white { background: #fff; }
/* light-gold variant */
.tcard--lgold { background: rgba(201,162,75,0.08); }

.tcard__quote {
  font-family: var(--f-display); font-weight: 400; font-style: italic;
  font-size: clamp(.9rem,1.15vw,1.05rem); line-height: 1.55;
  color: var(--ink); margin: 0 0 1.1rem;
}
.tcard__marks { font-size: 1.6rem; color: var(--gold-deep); line-height: 1; margin-bottom: .5rem; display: block; }
.tcard__name { font-family: var(--f-carved); letter-spacing: .14em; text-transform: uppercase; font-size: .7rem; color: var(--gold-deep); }
.tcard__role { font-family: var(--f-carved); letter-spacing: .1em; text-transform: uppercase; font-size: .64rem; color: var(--sand-faint); }

/* ============================================================
   FOOTER
============================================================= */
.foot { background: var(--ink); border-top: 1px solid var(--line); padding: clamp(4rem,9vh,7rem) var(--pad) 2rem; }
.foot__top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.foot__wheel { display: block; width: 48px; height: 48px; color: var(--gold); margin-bottom: 1rem; }
.foot__wheel .orn { width: 100%; height: 100%; }
.foot__name { font-family: var(--f-display); font-size: 1.8rem; color: var(--sand); margin: 0; }
.foot__line { font-family: var(--f-carved); letter-spacing: .1em; color: var(--gold-soft); margin: .2rem 0 1rem; font-size: .9rem; }
.foot__by { color: var(--sand-faint); font-size: .82rem; margin: 0; }
.foot__col h4 { font-family: var(--f-carved); letter-spacing: .16em; text-transform: uppercase; font-size: .76rem; color: var(--gold); margin-bottom: 1.1rem; font-weight: 400; }
.foot__col a, .foot__col p { display: block; color: var(--sand-dim); font-size: .92rem; margin-bottom: .6rem; transition: color .3s; }
.foot__col a:hover { color: var(--gold-bright); }
.foot__base { max-width: var(--maxw); margin: 3rem auto 0; padding-top: 1.5rem; border-top: 1px solid var(--line-soft); display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .78rem; color: var(--sand-faint); }

/* ============================================================
   FLOATING WHATSAPP
============================================================= */
.wa {
  position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1200;
  width: 56px; height: 56px; display: grid; place-items: center; border-radius: 50%;
  background: #1faf54; color: #fff; box-shadow: 0 12px 30px -8px rgba(31,175,84,.6);
  transition: transform .35s; animation: waPulse 3s ease-in-out infinite;
}
.wa:hover { transform: scale(1.08); }
@keyframes waPulse { 0%,100%{box-shadow:0 12px 30px -8px rgba(31,175,84,.6)} 50%{box-shadow:0 12px 40px -6px rgba(31,175,84,.85)} }

/* ============================================================
   RESPONSIVE
============================================================= */
@media (max-width: 900px) {
  .nav__links {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: center;
    gap: 2rem; background: var(--bg); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
  }
  .nav__links a { font-size: 1.4rem; font-family: var(--f-display); color: var(--sand); }
  body.nav-open .nav__links { opacity: 1; visibility: visible; z-index: 999; }
  .nav__dealer { display: none; }
  .nav__burger {
    display: flex; flex-direction: column; gap: 5px; width: 30px; height: 24px; justify-content: center;
    background: none; border: 0; z-index: 1001; cursor: pointer;
  }
  .nav__burger span { display: block; height: 1.5px; width: 100%; background: var(--sand); transition: transform .35s, opacity .35s; }
  .nav__burger.is-x span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav__burger.is-x span:nth-child(2) { transform: translateY(-6.5px) rotate(-45deg); }

  .ritual__grid { grid-template-columns: 1fr; }
  .ritual__media { order: -1; max-width: 100%; width: 100%; margin-left: 0; margin-right: 0; }
  .ritual__media figcaption { text-align: left; }
  .heritage__cols { grid-template-columns: 1fr; text-align: center; }
  .heritage__cols p::before { left: 50%; transform: translateX(-50%); }
  .recognized__stats { grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
  .recognized__images { grid-template-columns: 1fr; }
  .testi__col { flex: 0 0 calc(100% / 2 - .5rem); }
  .foot__top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .series__stack { grid-template-columns: repeat(2, 1fr); gap: 0.9rem; }
}
@media (max-width: 540px) {
  .foot__top { grid-template-columns: 1fr; }
  .hero__cta { flex-direction: column; align-items: center; }
  .hero__cta .btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* ---- reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001s !important; transition-duration: .001s !important; }
  .hero__word { filter: none; opacity: 1; }
}
