:root {
  --ground: #2A090D;
  --field: #4A1016;
  --wine: #6B1A22;
  --cream: #F2E8D5;
  --paper: #EADBC0;
  --soft: #D6C2A6;
  --ink: #2A090D;
  --ink-soft: #6A443D;
  --marigold: #E9A23B;

  --m: clamp(20px, 3.2vw, 48px);
  --gap: clamp(96px, 10vw, 156px);

  --step-small: 1rem;
  --step-body: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  --step-lead: clamp(1.375rem, 1.05rem + 1.1vw, 2.25rem);
  --step-head: clamp(2.5rem, 1.3rem + 4.4vw, 5.5rem);
  --step-giant: clamp(3rem, 0.6rem + 8.4vw, 9.5rem);

  --display: "Gloock", "Times New Roman", serif;
  --text: "Onest", system-ui, sans-serif;
  --bangla: "Tiro Bangla", "Noto Serif Bengali", serif;

  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ground);
  color: var(--cream);
  font: 400 var(--step-body)/1.5 var(--text);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--marigold); color: var(--ink); }
:focus-visible { outline: 3px solid var(--marigold); outline-offset: 3px; }
[lang="bn"] { font-family: var(--bangla); }

h2 {
  font: 400 var(--step-head)/1 var(--display);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.skip { position: absolute; left: var(--m); top: -100px; background: var(--cream); color: var(--ink); padding: 12px 16px; z-index: 10; }
.skip:focus { top: 12px; }

/* Buttons and links: one square button shape for the whole page */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6em;
  min-height: 52px; padding: 0 28px;
  background: var(--cream); color: var(--ink);
  font: 500 var(--step-small)/1 var(--text);
  text-decoration: none; border: 0; border-radius: 0; cursor: pointer;
  transition: transform 140ms var(--ease-out), background-color 200ms ease, color 200ms ease;
}
.btn:active { transform: scale(0.97); }
.btn-gold { background: var(--marigold); color: var(--ink); }
.btn-small { min-height: 44px; padding: 0 20px; }
@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: var(--marigold); }
  .btn-gold:hover { background: var(--cream); }
}
.link {
  position: relative; text-decoration: none; font-weight: 500;
  padding-bottom: 4px;
}
.link::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px;
  background: currentColor; transform-origin: left; transition: transform 300ms var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .link:hover::after { transform: scaleX(0.35); }
}

/* ---------- Hero: the counter ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; flex-direction: column; align-items: center;
  padding: 0 var(--m) clamp(48px, 9svh, 110px);
  text-align: center;
  overflow: hidden;
}
.bar {
  align-self: stretch;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding: 24px 0;
  text-align: left;
}
.bar .mark {
  font: 400 1.0625rem/1 var(--display); letter-spacing: 0.32em; text-transform: uppercase; text-decoration: none;
}
.bar ul { display: flex; gap: clamp(20px, 2.6vw, 40px); font-size: 1.0625rem; }
.bar ul a { text-decoration: none; }
.bar ul .link::after { transform: scaleX(0); }
@media (hover: hover) and (pointer: fine) { .bar ul .link:hover::after { transform: scaleX(1); } }
.bar-right { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.menu-btn { display: none; min-height: 44px; padding: 0 18px; border: 1px solid currentColor; border-radius: 0; background: transparent; color: inherit; font: 500 var(--step-small)/1 var(--text); cursor: pointer; }
/* The phone menu: a full-screen sheet in the top layer (popover), closed with its button, Esc or Back. */
.menu-sheet { position: fixed; inset: 0; width: 100%; height: 100%; max-width: none; max-height: none; margin: 0; border: 0; padding: 24px var(--m) 40px; background: var(--ground); color: var(--cream); overflow-y: auto; overscroll-behavior: contain; }
.menu-sheet:popover-open { display: flex; flex-direction: column; gap: 32px; }
.menu-top { display: flex; align-items: center; justify-content: space-between; }
.menu-top .menu-btn { display: inline-flex; align-items: center; }
.menu-sheet .mark { font: 400 1.0625rem/1 var(--display); letter-spacing: 0.24em; text-transform: uppercase; text-decoration: none; }
.menu-sheet ul { list-style: none; margin: 0; padding: 0; display: grid; }
.menu-sheet li a { display: block; padding: 12px 0; border-bottom: 1px solid rgba(214, 194, 166, 0.18); font: 400 clamp(2rem, 1.4rem + 3vw, 2.75rem)/1.1 var(--display); letter-spacing: -0.01em; text-decoration: none; }
.menu-sheet li a[aria-current="page"] { color: var(--marigold); }
.menu-sheet .btn { align-self: stretch; }
@media (prefers-reduced-motion: no-preference) { .menu-sheet:popover-open { animation: rise 400ms var(--ease-out); } }

.hero-main {
  flex: 1; width: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 1svh 0 3svh;
}
.crest {
  display: flex; align-items: center; justify-content: center; gap: 1.4vw;
  font: 400 9.2vw/0.8 var(--display); letter-spacing: -0.01em; text-transform: uppercase;
}
.crest-wrap { display: grid; width: 100%; }
.crest-wrap > * { grid-area: 1 / 1; }
.crest .half { flex: 1 1 0; padding-top: 0.08em; }
.crest .l { text-align: right; }
.crest .r { text-align: left; }
.crest .slot { flex: none; width: min(28vw, 50svh); aspect-ratio: 1; }
.dial-wrap { position: relative; justify-self: center; align-self: center; width: min(28vw, 50svh); }
.dial { width: 100%; height: auto; overflow: visible; display: block; will-change: transform; }
.ghost {
  position: absolute; left: 50%; top: 50%; width: 330%; height: auto; translate: -50% -50%;
  z-index: -1; pointer-events: none; opacity: 0.075;
  animation: tick 600s linear infinite reverse;
}
.ghost * { fill: none; stroke: var(--cream); stroke-width: 0.3; }
.dial .line { fill: none; stroke: var(--cream); stroke-width: 0.7; stroke-linejoin: round; transition: stroke 500ms ease; }
.dial .wedge { fill: var(--marigold); opacity: 0; transition: opacity 300ms ease; }
.dial .wedge.on { opacity: 0.16; }
.dial .glint { fill: none; stroke: var(--marigold); stroke-width: 1.4; stroke-linecap: round; stroke-dasharray: 110 1890; opacity: 0; transition: opacity 400ms ease; }
.dial-wrap.live .glint { opacity: 1; animation: glint 3.4s linear infinite; }
.dial-wrap.live .star { stroke: #F3CF93; }
@keyframes glint { to { stroke-dashoffset: -2000; } }
.dial .leo-g, .dial .read { transition: opacity 300ms ease; }
.dial .read { opacity: 0; }
.dial-wrap.reading .leo-g { opacity: 0; }
.dial-wrap.reading .read { opacity: 1; }
.dial .read-bn { font: 400 15px/1 var(--bangla); fill: var(--marigold); text-anchor: middle; }
.dial .read-en { font: 500 5.4px/1 var(--text); fill: var(--cream); text-anchor: middle; letter-spacing: 0.08em; }
.dial .dots { fill: none; stroke: var(--cream); stroke-width: 1.1; stroke-linecap: round; stroke-dasharray: 0 4.15; opacity: 0.7; }
.dial .glyph { font: 400 8.5px/1 var(--bangla); fill: var(--cream); text-anchor: middle; dominant-baseline: central; transition: fill 250ms ease; }
.dial .glyph.on { fill: var(--marigold); }
.dial .seed { fill: var(--cream); }
.dial .leo { fill: none; stroke: var(--marigold); stroke-width: 4.2; stroke-linecap: round; stroke-linejoin: round; }
.dial .sun { fill: var(--marigold); }
.dial .moon { fill: var(--cream); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.occult {
  margin-top: clamp(22px, 3.6svh, 40px);
  font: 400 clamp(1.125rem, 2.1vw, 2.25rem)/1 var(--display);
  letter-spacing: 0.62em; margin-right: -0.62em; text-transform: uppercase;
}
.lede {
  margin-top: clamp(14px, 2svh, 22px);
  font: 400 clamp(1.25rem, 0.8rem + 1.2vw, 2.125rem)/1.3 var(--display);
  color: var(--soft);
}
.spec {
  margin-top: clamp(26px, 4svh, 44px);
  display: flex; align-items: center; justify-content: center; gap: 48px;
  font-size: 1.0625rem; color: var(--soft);
}
.today { font-size: var(--step-small); color: var(--soft); }
.today b { font-weight: 500; color: var(--cream); }

/* load choreography: predetermined, so CSS keyframes */
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes settle { from { opacity: 0; transform: rotate(-36deg) scale(0.94); } to { opacity: 1; transform: none; } }
@keyframes rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
@keyframes pop { from { opacity: 0; transform: scale(0.6); } to { opacity: 1; transform: none; } }
@keyframes tick { to { transform: rotate(360deg); } }
.dial .star { stroke-dasharray: 2000; stroke-dashoffset: 2000; animation: draw 2.6s var(--ease-out) 0.15s forwards; }
.dial .ring { transform-origin: 0 0; animation: settle 2.2s var(--ease-out) 0.1s both; }
.dial .glyph { opacity: 0; animation: rise 0.9s var(--ease-out) forwards; animation-delay: calc(0.9s + var(--i) * 60ms); }
.dial .leo { opacity: 0; animation: pop 1.2s var(--ease-out) 1.4s forwards; transform-box: fill-box; transform-origin: center; }
.dial .pin { opacity: 0; animation: pop 0.8s var(--ease-out) 2.1s forwards; transform-box: fill-box; transform-origin: center; }
.crest .ch { display: inline-block; opacity: 0; animation: rise 1.1s var(--ease-out) forwards; animation-delay: calc(0.35s + var(--i) * 60ms); }
.hero .occult, .hero .lede, .hero .spec, .hero .today { opacity: 0; animation: rise 1s var(--ease-out) forwards; }
.hero .occult { animation-delay: 1s; }
.hero .lede { animation-delay: 1.2s; }
.hero .spec { animation-delay: 1.4s; }
.hero .today { animation-delay: 2.2s; }
.bar { animation: rise 1s var(--ease-out) 0.2s both; }

@supports (animation-timeline: scroll()) {
  @media (prefers-reduced-motion: no-preference) {
    .dial-wrap { animation: dial-away linear both; animation-timeline: scroll(root); animation-range: 0 100svh; }
    @keyframes dial-away { to { transform: translateY(12svh) scale(0.84) rotate(-14deg); opacity: 0.25; } }
  }
}

/* ---------- Marquee band ---------- */
.marquee { background: var(--wine); overflow: hidden; padding: clamp(18px, 2vw, 28px) 0; }
.mq-track { display: flex; align-items: center; width: max-content; animation: mq 46s linear infinite; }
.mq-track span { font: 400 clamp(1.75rem, 1rem + 2.6vw, 3.75rem)/1 var(--display); padding: 0 0.55em; white-space: nowrap; letter-spacing: -0.01em; }
.mq-track span[lang="bn"] { font-family: var(--bangla); color: var(--marigold); }
.mq-track i { flex: none; width: 10px; height: 10px; border-radius: 50%; background: var(--cream); opacity: 0.5; }
@keyframes mq { to { transform: translateX(-50%); } }
@media (hover: hover) and (pointer: fine) { .marquee:hover .mq-track { animation-play-state: paused; } }

/* ---------- Pointer: a follower dot and magnetic buttons ---------- */
.cursor { position: fixed; left: 0; top: 0; width: 12px; height: 12px; margin: -6px 0 0 -6px; border-radius: 50%; background: var(--marigold); pointer-events: none; z-index: 50; opacity: 0; transition: opacity 300ms ease; mix-blend-mode: difference; }
.cursor i { position: absolute; inset: 0; border-radius: 50%; background: inherit; transition: transform 350ms var(--ease-out), opacity 350ms ease; }
.cursor.on { opacity: 1; }
.cursor.big i { transform: scale(4.2); opacity: 0.35; }
.magnet { will-change: transform; }

/* ---------- Section entrances ---------- */
.js [data-r] > * { opacity: 0; transform: translateY(26px); transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out); transition-delay: calc(var(--i, 0) * 80ms); }
.js [data-r].in > * { opacity: 1; transform: none; }

/* ---------- Free Kundli band (replaced the live sky, Nov 2026) ---------- */
.kundli-band { background: var(--field); padding: var(--gap) var(--m) clamp(80px, 9vw, 140px); display: grid; grid-template-columns: 7fr 5fr; gap: 32px; align-items: start; }
.kundli-band h2 { max-width: 11ch; }
.kundli-band .lead { margin-top: 28px; font-size: var(--step-lead); line-height: 1.3; max-width: 30ch; }
.kundli-band .steps { margin-top: 0; }
.kundli-band .btn { margin-top: 40px; }

/* ---------- About: two columns, highlighted words ---------- */
.about { padding: var(--gap) var(--m); }
.about h2 { margin-bottom: clamp(40px, 5vw, 72px); }
.story {
  columns: 2; column-gap: 32px;
  font-size: clamp(1.375rem, 0.95rem + 1.15vw, 2rem); line-height: 1.22;
  hyphens: auto;
}
.story .hl {
  padding: 0 0.12em; -webkit-box-decoration-break: clone; box-decoration-break: clone;
  --d: calc(var(--i, 0) * 120ms + 300ms);
  transition: background-color 700ms ease var(--d), color 0s linear calc(var(--d) + 300ms);
}
.story.in .hl, html:not(.js) .story .hl { color: var(--ink); }
.story.in .hl.a, html:not(.js) .hl.a { background: var(--cream); }
.story.in .hl.b, html:not(.js) .hl.b { background: var(--marigold); }
.story.in .hl.c, html:not(.js) .hl.c { background: var(--paper); }
.story.in .hl.d, html:not(.js) .hl.d { background: #C98E86; }
.story .end { display: inline-block; margin-top: 0.4em; text-decoration: none; }
.story.in .end, html:not(.js) .story .end { background: var(--marigold); color: var(--ink); }
.story .end { padding: 0 0.15em; transition: background-color 700ms ease 1.2s, color 0s linear 1.5s; }
.js [data-r].story > * { transform: none; }

/* ---------- Ways in: arch and points (cream field) ---------- */
.ways {
  background: var(--cream); color: var(--ink);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px;
  padding: var(--gap) var(--m); overflow: hidden;
}
.arch { grid-column: 1 / 6; align-self: center; margin: 0; }
.arch-frame { position: relative; margin-right: 18px; transition: transform 600ms var(--ease-out); }
.arch-frame::before { content: ""; position: absolute; inset: 0; transform: translate(18px, 18px); border-radius: 999px 999px 0 0; background: var(--marigold); }
.arch-clip {
  position: relative; height: min(72svh, 720px); min-height: 460px;
  border-radius: 999px 999px 0 0; overflow: hidden; background: var(--ink);
}
.arch-clip img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 58%;
  opacity: 0; transform: scale(1.12); transition: opacity 1.2s var(--ease-in-out);
  filter: sepia(0.15) saturate(0.92);
}
.arch-clip img.on { opacity: 1; animation: drift 9s linear both; }
@keyframes drift { from { transform: scale(1.2); } to { transform: scale(1.1); } }
.arch figcaption { margin-top: 36px; font-size: var(--step-small); color: var(--ink-soft); min-height: 3em; max-width: 44ch; transition: opacity 400ms ease; }
.ways-body { grid-column: 7 / 13; align-self: center; }
.ways-body > p { margin-top: 24px; font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; }
.points { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.points li { position: relative; padding-left: 20px; cursor: default; outline-offset: 6px; }
.points li::before { content: ""; position: absolute; left: 0; top: 0.2em; bottom: 0.2em; width: 4px; background: var(--marigold); transform: scaleY(0.25); transform-origin: top; transition: transform 450ms var(--ease-out); }
.points li.on::before, .points li:focus-visible::before { transform: none; }
.points h3 { font: 400 clamp(1.5rem, 1.1rem + 1vw, 2rem)/1.05 var(--display); letter-spacing: -0.015em; color: var(--wine); transition: transform 450ms var(--ease-out), color 300ms ease; }
.points li.on h3 { transform: translateX(6px); color: var(--field); }
.points p { margin-top: 10px; font-size: var(--step-body); line-height: 1.45; max-width: 34ch; }

/* ---------- The chamber card (palm ground) ---------- */
.card-sec {
  position: relative; background: var(--field);
  display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px;
  padding: var(--gap) var(--m); overflow: hidden;
}
.palm { grid-column: 1 / 7; align-self: center; position: relative; }
.palm-stack { position: relative; max-width: 620px; }
.palm-stack img { width: 100%; filter: url(#duo-palm); }
.palm-stack .lit {
  position: absolute; inset: 0; filter: url(#duo-lit); opacity: 0; transition: opacity 400ms ease;
  -webkit-mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 40%, transparent 75%); /* taste-skill-ignore: a reading lens mask, not a painted gradient */
  mask-image: radial-gradient(circle 150px at var(--mx, 50%) var(--my, 50%), #000 40%, transparent 75%); /* taste-skill-ignore */
}
.palm-stack.reading .lit { opacity: 1; }
.palm figcaption { margin-top: 16px; font-size: var(--step-small); color: var(--soft); max-width: 40ch; }
.sheet { grid-column: 7 / 13; justify-self: center; width: min(640px, 100%); color: var(--ink); }
.scallop { display: block; width: 100%; height: 14px; }
.sheet-body { background: var(--paper); padding: 56px 64px 64px; text-align: center; }
.sheet h2 { font-size: clamp(2.25rem, 1.5rem + 1.6vw, 3rem); }
.sheet-note { margin-top: 12px; font-size: var(--step-small); color: var(--ink-soft); }
.menu-group { margin-top: 56px; }
.menu-group h3 { font: 400 1.75rem/1.1 var(--display); }
.menu-group ul { margin: 22px auto 0; max-width: 440px; display: grid; gap: 18px; text-align: left; }
.menu-group li { display: grid; grid-template-columns: 1fr auto; column-gap: 16px; }
.menu-group li b { font-weight: 500; font-size: 1.125rem; }
.menu-group li { transition: transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .menu-group li:hover { transform: translateX(6px); } .menu-group li:hover b { color: var(--wine); } }
.menu-group li span[lang="bn"] { font-size: 1.25rem; text-align: right; }
.menu-group li small { grid-column: 1 / -1; font-size: 1rem; color: var(--ink-soft); margin-top: 2px; }
.hours { margin-top: 56px; font: 400 1.25rem/1.4 var(--display); }

@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .palm-stack { animation: float-palm linear both; animation-timeline: view(); }
    @keyframes float-palm { from { transform: translateY(8%) rotate(-3deg); } to { transform: translateY(-8%) rotate(2deg); } }
  }
}

/* ---------- Sittings: tiles that step up ---------- */
.sittings { position: relative; padding: var(--gap) var(--m); }
.sittings h2 { position: absolute; top: var(--gap); left: var(--m); max-width: 8ch; font-size: clamp(2.5rem, 1rem + 4vw, 5rem); }
.tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.tile { display: flex; flex-direction: column; color: var(--cream); transform-origin: bottom; }
.tile-in { transition: transform 500ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .tile:hover .tile-in { transform: translateY(-8px); } }
.tile-in { flex: 1; padding: 28px; }
.tile:nth-child(1) { min-height: 400px; background: var(--wine); }
.tile:nth-child(2) { min-height: 540px; background: #8A2630; }
.tile:nth-child(3) { min-height: 700px; background: var(--cream); color: var(--ink); }
.tile h3 { font: 500 1.75rem/1.1 var(--text); letter-spacing: -0.01em; }
.tile .price { margin-top: 14px; font: 400 3.5rem/1 var(--display); letter-spacing: -0.02em; }
.tile .price small { font: 400 1.0625rem/1 var(--text); letter-spacing: 0; }
.tile .fee { margin-top: 10px; font-size: var(--step-small); opacity: 0.85; }
.tile ul { margin-top: 28px; display: grid; gap: 12px; font-size: 1.125rem; }
.tile-btn {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px; padding: 0 28px; text-decoration: none; font-weight: 500;
  transition: background-color 200ms ease;
}
.tile-btn .arr { font-size: 1.375rem; transition: transform 250ms var(--ease-out); }
.tile:nth-child(1) .tile-btn { background: #4E1118; }
.tile:nth-child(2) .tile-btn { background: #66161F; }
.tile:nth-child(3) .tile-btn { background: var(--marigold); color: var(--ink); }
.tile-btn:active { transform: scale(0.99); }
@media (hover: hover) and (pointer: fine) {
  .tile-btn:hover .arr { transform: translateX(6px); }
  .tile:nth-child(1) .tile-btn:hover, .tile:nth-child(2) .tile-btn:hover { background: var(--ground); }
  .tile:nth-child(3) .tile-btn:hover { background: #F0B656; }
}
.js .tiles[data-r] > * { transform: translateY(80px); }
.js .tiles[data-r].in > * { transform: none; }
.tiles[data-r] > * { transition-duration: 1.2s; }

/* ---------- Visit: address, hours, map ---------- */
.visit { background: var(--field); padding: var(--gap) var(--m) 0; }
.visit-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; align-items: stretch; }
.visit-info { grid-column: 1 / 7; }
.visit-lead { margin-top: 20px; font-size: var(--step-lead); line-height: 1.3; max-width: 26ch; color: var(--soft); }
.addr { margin-top: clamp(36px, 4vw, 56px); font: 400 clamp(1.625rem, 1rem + 1.6vw, 2.625rem)/1.2 var(--display); letter-spacing: -0.01em; font-style: normal; }
.hours-list { margin-top: 36px; display: grid; grid-template-columns: max-content 1fr; gap: 12px 40px; font-size: var(--step-body); max-width: 480px; }
.hours-list dt { color: var(--soft); }
.phone { display: inline-block; margin-top: 32px; font: 400 clamp(2.25rem, 1rem + 3vw, 4rem)/1 var(--display); letter-spacing: -0.02em; text-decoration: none; transition: color 250ms ease; }
@media (hover: hover) and (pointer: fine) { .phone:hover { color: var(--marigold); } }
.visit-actions { margin-top: 32px; display: flex; flex-wrap: wrap; gap: 12px; }
.map { grid-column: 7 / 13; margin: 0; display: flex; flex-direction: column; }
.map-crop { position: relative; flex: 1; min-height: 460px; overflow: hidden; background: var(--wine); }
.map-zoom { position: absolute; inset: 0; transform-origin: 59% 31%; transform: scale(var(--z, 2)); }
.map.in .map-zoom { animation: survey 24s ease-in-out infinite alternate; }
@keyframes survey { from { transform: scale(var(--z, 2)); } to { transform: scale(calc(var(--z, 2) * 1.12)) translate(-2%, 1.5%); } }
.map img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: url(#duo-map); }
.map-pin { position: absolute; left: 58.6%; top: 31%; width: 7px; height: 7px; margin: -3.5px 0 0 -3.5px; border-radius: 50%; background: var(--marigold); }
.map-pin::after { content: ""; position: absolute; inset: 0; border-radius: 50%; background: var(--marigold); animation: ping 2.4s var(--ease-out) infinite; }
@keyframes ping { from { transform: scale(1); opacity: 0.7; } to { transform: scale(5); opacity: 0; } }
.map figcaption { margin-top: 14px; font-size: var(--step-small); color: var(--soft); }
.greet {
  display: flex; align-items: center; gap: clamp(20px, 3vw, 48px);
  margin: var(--gap) calc(var(--m) * -1) 0; padding: clamp(28px, 3.4vw, 52px) var(--m);
  background: var(--marigold); color: var(--ink); text-decoration: none;
}
.greet-word { font: 400 clamp(3rem, 1rem + 6.4vw, 7.5rem)/0.9 var(--display); letter-spacing: -0.03em; transition: transform 500ms var(--ease-out); }
.greet-note { flex: 1; font-size: var(--step-lead); line-height: 1.35; max-width: 24ch; }
.round {
  flex: none; display: grid; place-items: center; width: clamp(64px, 7vw, 110px); height: clamp(64px, 7vw, 110px); border-radius: 50%;
  background: var(--ground); color: var(--cream); transition: transform 400ms var(--ease-out);
}
.round svg { width: 40%; height: 40%; }
.greet:active .round { transform: scale(0.94); }
@media (hover: hover) and (pointer: fine) {
  .greet:hover .round { transform: rotate(-45deg) scale(1.06); }
  .greet:hover .greet-word { transform: translateX(12px); }
}

/* ---------- Footer: the mark built large ---------- */
.foot { background: var(--ground); padding: clamp(56px, 6vw, 96px) var(--m) 32px; }
.blocks { display: flex; align-items: flex-end; gap: 4px; height: 34svh; min-height: 220px; overflow: hidden; }
.blocks span:hover { filter: brightness(1.12); }
.blocks span {
  flex: 1; display: flex; align-items: flex-end; justify-content: center;
  font: 400 clamp(3rem, 11vw, 11rem)/0.78 var(--display); color: var(--ground);
  padding-bottom: 0.06em;
  transition: transform 1.2s var(--ease-out); transition-delay: calc(var(--i) * 70ms);
}
.blocks span:nth-child(4n+1) { background: var(--wine); height: 100%; color: var(--cream); }
.blocks span:nth-child(4n+2) { background: var(--cream); height: 74%; }
.blocks span:nth-child(4n+3) { background: var(--marigold); height: 90%; }
.blocks span:nth-child(4n) { background: var(--field); height: 64%; color: var(--soft); }
.blocks span:nth-child(5) { height: 82%; }
.blocks span:nth-child(7) { height: 70%; }
.js .blocks span { transform: translateY(102%); }
.js .blocks.in span { transform: none; }
.foot-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 32px; margin-top: 56px; font-size: 1.0625rem; }
.foot-grid nav { grid-column: span 2; display: grid; gap: 10px; align-content: start; }
.foot-grid nav b, .foot-grid address b { font-weight: 500; color: var(--soft); margin-bottom: 4px; }
.foot-grid nav a { text-decoration: none; }
@media (hover: hover) and (pointer: fine) { .foot-grid nav a:hover { color: var(--marigold); } }
.foot-grid address { grid-column: 9 / 13; font-style: normal; display: grid; gap: 10px; align-content: start; }
.fine { margin-top: 56px; display: grid; grid-template-columns: 1fr auto; gap: 24px; align-items: end; font-size: var(--step-small); color: var(--soft); }
.fine p { max-width: 75ch; }
.fine p + p { margin-top: 10px; }

/* ---------- Phone ---------- */
@media (max-width: 860px) {
  .bar ul { display: none; }
  .bar .btn-small { display: none; }
  .bar .menu-btn { display: inline-flex; align-items: center; }
  .hero-main { padding-top: 3svh; }
  .crest { flex-wrap: nowrap; gap: 0; font-size: 14.4vw; }
  .crest { justify-content: center; }
  .crest .half { flex: 0 0 auto; }
  .crest-wrap > * { grid-area: auto; }
  .crest .slot { display: none; }
  .dial-wrap { order: -1; width: min(76vw, 44svh); margin-bottom: 5svh; }
  .ghost { width: 220%; }
  .occult { font-size: 4.3vw; letter-spacing: 0.5em; margin-right: -0.5em; }
  .lede { font-size: 1.25rem; }
  .spec { flex-direction: column; gap: 14px; width: 100%; }
  .spec .btn { width: 100%; }
  .today { text-align: center; padding: 0 8px; }

  .kundli-band { grid-template-columns: 1fr; }
  .about .story { columns: 1; hyphens: manual; line-height: 1.3; font-size: 1.3125rem; }

  .ways, .card-sec { grid-template-columns: 1fr; }
  .arch { grid-column: 1; }
  .arch-frame { margin-right: 14px; }
  .arch-frame::before { transform: translate(14px, 14px); }
  .arch-clip { height: 62svh; min-height: 380px; max-height: 560px; }
  .ways-body { grid-column: 1; margin-top: 56px; }
  .points { grid-template-columns: 1fr; gap: 28px; margin-top: 40px; }
  @media (min-width: 600px) { .points { grid-template-columns: 1fr 1fr; gap: 36px 32px; } }

  .palm { grid-column: 1; }
  .palm-stack { margin: 0 auto; }
  .sheet { grid-column: 1; margin: 56px calc(var(--m) * -1 + 10px) 0; width: auto; }
  .sheet-body { padding: 36px 28px 44px; }

  .sittings h2 { position: static; margin-bottom: 40px; font-size: 11vw; max-width: none; }
  .tiles { grid-template-columns: 1fr; }
  .tile:nth-child(n) { min-height: 0; }
  .tile .price { font-size: 2.75rem; }

  .visit-grid { grid-template-columns: 1fr; }
  .visit-info, .map { grid-column: 1; }
  .map { margin-top: 40px; }
  .map-crop { min-height: 0; aspect-ratio: 1; flex: none; --z: 1.5; }
  .hours-list { gap: 10px 20px; }
  .visit-actions .btn { flex: 1 1 100%; }
  .greet { flex-wrap: wrap; gap: 16px 20px; }
  .greet-word { font-size: 15vw; flex: 1; }
  .greet-note { order: 3; flex-basis: 100%; font-size: 1.125rem; }
  .round { width: 64px; height: 64px; }

  .blocks { height: 22svh; min-height: 140px; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-grid nav { grid-column: span 1; }
  .foot-grid address { grid-column: 1 / -1; }
  .fine { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-delay: 0s !important; animation-iteration-count: 1 !important; }
  .dial .dots { animation: none; }
  .js [data-r] > *, .js .tiles[data-r] > *, .js .blocks span { transform: none !important; transition: opacity 0.4s ease; }
  .mq-track { animation: none; }
  .cursor { display: none; }
}

/* Home, about: his portrait in the arch beside the story */
.about-pic { margin: 0 0 56px; }
@media (min-width: 861px) {
  .about { display: grid; grid-template-columns: repeat(12, 1fr); gap: 0 32px; }
  .about h2, .about .story { grid-column: 1 / 9; }
  .about .story { columns: 1; }
  .about-pic { margin: 0; grid-column: 9 / 13; grid-row: 1 / 3; align-self: start; }
  .about-pic .arch-clip { height: min(64svh, 600px); min-height: 420px; }
}
