/* Full service pages: editorial layout (owner's reference, 2026-10-21), in our own brand colours.
   Parchment and night, large serif headings (Cormorant / Noto Serif Devanagari), small spaced labels, live data,
   a kundli that draws itself, a marquee and a turning badge. Text never moves. */
@font-face { font-family: "Cormorant"; src: url("../fonts/cormorant.dc1ef8ca97cb.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Noto Serif Deva"; src: url("../fonts/noto-serif-deva.8527ba0296bf.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

.ed { --paper: #F2ECE0; --paper2: #EAE2D3; --sandy: #E4DCCB; --night: #151A2C; --night2: #1B2138; --ink: #1E1E24;
  --kum: #8C2F39; --rust: #9A4426; --gold: #C9A45C; --line: rgba(30, 30, 36, .12);
  --serif: "Cormorant", "Noto Serif Deva", Georgia, serif; --mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;
  background: var(--paper); color: var(--ink); }
.ed[lang="hi"] { --serif: "Noto Serif Deva", "Cormorant", Georgia, serif; }
.ed-in { max-width: 1200px; margin: 0 auto; padding: 0 32px; position: relative; z-index: 1; }
.ed-narrow { max-width: 900px; }
.ed-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.ed-paper { background: var(--paper2); }
.ed-sand { background: var(--sandy); }
.ed-center { text-align: center; }
.ed-mono { font-family: var(--mono); font-size: .78rem; letter-spacing: .16em; text-transform: uppercase; color: #6d665a; margin: 0; }
.ed[lang="hi"] .ed-mono { letter-spacing: .04em; font-size: .86rem; font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-weight: 600; }
.ed-mono.kum { color: var(--rust); } .ed-mono.gold { color: var(--gold); }
.ed-h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.1rem, 4.6vw, 3.6rem); line-height: 1.08; letter-spacing: -.01em; color: var(--ink); margin: 10px 0 18px; }
.ed[lang="hi"] .ed-h2 { font-weight: 500; line-height: 1.25; font-size: clamp(1.9rem, 4vw, 3.1rem); }
.ed-p { font-size: clamp(1.02rem, 1.5vw, 1.14rem); line-height: 1.7; color: #3b3a40; max-width: 64ch; margin: 0 0 28px; }
.ed-p.small { font-size: 1rem; margin: 18px 0 0; }
.ed-note { color: #6d665a; margin: 26px 0 0; }
.ed-link { color: var(--rust); font-weight: 600; white-space: nowrap; }   /* the drawn arrow never drops to a line of its own */
.ed-row-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 8px; }
.ed-pill { display: inline-block; font-family: var(--mono); font-size: .76rem; letter-spacing: .16em; text-transform: uppercase;
  padding: 7px 14px; border: 1px solid rgba(242, 236, 224, .5); border-radius: 999px; color: #f2ece0; margin: 0 0 22px; }
.ed[lang="hi"] .ed-pill { letter-spacing: .04em; font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-weight: 600; font-size: .86rem; }
.ed-pill.dark { color: var(--ink); border-color: rgba(30, 30, 36, .3); background: rgba(255, 255, 255, .35); }
.ed-btn { display: inline-block; padding: 14px 28px; border-radius: 999px; background: var(--rust); color: #fff; text-decoration: none;
  font-weight: 600; letter-spacing: .02em; border: 1px solid var(--rust); transition: background .2s ease, color .2s ease; cursor: pointer; font-size: 1rem; }
.ed-btn:hover { background: #7f3519; }
.ed-btn.ghost { background: transparent; color: #f2ece0; border-color: rgba(242, 236, 224, .55); }
.ed-btn.ghost:hover { background: rgba(242, 236, 224, .1); }

/* ticker */
.ed-ticker { background: var(--night); color: #cfc8b8; font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase;
  padding: 9px 32px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.ed[lang="hi"] .ed-ticker { letter-spacing: .03em; font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-size: .86rem; }
.ed-ticker b { color: var(--gold); font-weight: 600; }
.ed-ticker .dot { color: #f2ece0; }
.ed-ticker-r { margin-left: auto; opacity: .8; }

/* 1. opening */
.ed-hero { position: relative; overflow: hidden; min-height: min(86vh, 760px); display: flex; align-items: flex-end;
  background: radial-gradient(ellipse at 70% 30%, #2a2f55 0%, #171c33 50%, #0e1222 100%); color: #f2ece0; padding: 80px 0 72px; }
.ed-hero .sv-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-wheel { position: absolute; right: -120px; top: 50%; width: min(760px, 70vw); translate: 0 -50%; fill: none; stroke: rgba(201, 164, 92, .35);
  stroke-width: 1; animation: edTurn 240s linear infinite; }
.ed-wheel text { fill: rgba(201, 164, 92, .55); stroke: none; font-size: 22px; text-anchor: middle;
  font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", serif; }
@keyframes edTurn { to { rotate: 360deg; } }
.ed-hero-in { width: 100%; }
.ed-hero h1 { font-family: var(--serif); font-weight: 400; color: #f5efe3; font-size: clamp(2.8rem, 7vw, 5.6rem); line-height: 1.02; letter-spacing: -.02em; margin: 0 0 22px; max-width: 14ch; }
.ed[lang="hi"] .ed-hero h1 { font-weight: 500; line-height: 1.2; font-size: clamp(2.4rem, 6vw, 4.6rem); max-width: 16ch; }
.ed-lead { font-size: clamp(1.05rem, 1.6vw, 1.22rem); line-height: 1.6; color: #ddd5c4; max-width: 52ch; margin: 0 0 30px; }
.ed-btns { display: flex; flex-wrap: wrap; gap: 12px; }
.ed-featured { position: absolute; right: 64px; bottom: 64px; z-index: 2; width: 340px; background: #ede6d8; color: var(--ink); border-radius: 6px;
  padding: 20px 22px; text-decoration: none; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
.ed-featured .ed-mono { color: var(--rust); display: flex; justify-content: space-between; align-items: center; }
.ed-featured .ed-mono i { font-style: normal; }
.ed-featured strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.7rem; margin: 6px 0 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.ed-featured-meta { color: #5d574c; font-size: .95rem; }
.ed-featured-meta em { font-style: normal; color: var(--rust); }
@media (prefers-reduced-motion: reduce) { .ed-wheel { animation: none; } }

/* 2. the sky right now */
.ed-sky { background: var(--paper); padding: 46px 0 56px; }
.ed-sky .ed-row-head { margin-bottom: 16px; }
.ed-sky-grid { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.ed-sky-grid div { padding: 16px 16px 18px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.ed-sky-grid .g { color: var(--rust); font-size: 1.15rem; font-family: "Apple Symbols", "Segoe UI Symbol", "Noto Sans Symbols 2", serif; }
.ed-sky-grid .pos { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.ed-sky-grid .pos b { font-weight: 400; color: #6d665a; font-family: "Apple Symbols", "Segoe UI Symbol", serif; font-size: 1rem; }
.ed-sky-grid small { font-family: var(--mono); color: var(--rust); font-size: .7rem; }

/* 3. start */
.ed-start { background: var(--paper); padding-top: 40px; }
.ed-card { background: #fbf8f2; border: 1px solid var(--line); border-radius: 10px; padding: clamp(14px, 3vw, 28px); }
.ed-card .step { box-shadow: none; }

/* 4. story */
.ed-story { background: var(--night); color: #e8e1d2; padding: clamp(70px, 9vw, 120px) 0; }
.ed-story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.ed-story-steps > .ed-mono { margin-bottom: 30px; }
.ed-step { min-height: 46vh; padding: 20px 0; border-top: 1px solid rgba(232, 225, 210, .14); }
.ed-step .ed-mono { color: #a39b89; }
.ed-step.on .ed-mono { color: #f2ece0; }
.ed-step-text { font-family: var(--serif); font-size: clamp(1.5rem, 2.6vw, 2.1rem); line-height: 1.3; color: #f2ece0; margin: 14px 0 0; max-width: 24ch; }
.ed-story-chart { position: sticky; top: 14vh; margin: 0; }
.story-chart { width: 100%; max-width: 480px; display: block; margin: 0 auto; fill: none; stroke: var(--gold); stroke-width: 1.4; }
.story-chart :is(.s1, .s2, .s3) > :is(rect, path, circle) { stroke-dasharray: 1800; stroke-dashoffset: 1800; transition: stroke-dashoffset 1.6s ease; }
.story-chart text { stroke: none; text-anchor: middle; opacity: 0; transition: opacity .8s ease; }
.story-chart .n { fill: #a39b89; font-size: 13px; font-family: var(--mono); }
.story-chart .l { fill: var(--gold); font-size: 12px; font-family: var(--mono); letter-spacing: .1em; }
.story-chart .g { fill: #f2ece0; font-size: 16px; font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-weight: 600; }
.story-chart .m { fill: var(--rust); stroke: var(--gold); opacity: 0; transition: opacity .8s ease; }
.story-chart .k { fill: #a39b89; font-size: 11px; font-family: var(--mono); }
.story-chart .t { fill: #f2ece0; font-size: 46px; font-family: var(--serif); }
.story-chart .link { stroke: var(--rust); stroke-width: 4; stroke-linecap: round; }
.story-chart .bar { stroke-width: 9; stroke-linecap: round; }
.story-chart .track { stroke: #3a3f55; stroke-width: 9; stroke-linecap: round; }
.ed-story-chart:is([data-at="1"], [data-at="2"], [data-at="3"], [data-at="4"]) .s1 > *,
.ed-story-chart:is([data-at="2"], [data-at="3"], [data-at="4"]) .s2 > *,
.ed-story-chart:is([data-at="3"], [data-at="4"]) .s3 > *,
.ed-story-chart[data-at="4"] .s4 > * { stroke-dashoffset: 0; opacity: 1; }
.ed-story-chart figcaption { text-align: center; margin-top: 16px; color: #a39b89; }
@media (prefers-reduced-motion: reduce) { .story-chart * { stroke-dashoffset: 0 !important; } .story-chart text { opacity: 1; } }

/* 5. arched frames */
.ed-arches { display: grid; grid-template-columns: repeat(3, 1fr); gap: 36px 30px; margin-top: 10px; }
.ed-arches.n4 { grid-template-columns: repeat(4, 1fr); gap: 36px 24px; }
.ed-arch { margin: 0; }
/* The top is a half circle as wide as the frame. Paddings are % of that same width, so at every size the page's
   top corners (and its sample ribbon) sit inside the curve: the whole page shows, nothing is clipped. */
.ed-arch .frame { display: block; border-radius: 999px 999px 8px 8px; border: 1px solid rgba(154, 68, 38, .35); padding: 24% 10% 10%;
  background: #f6f1e6; box-shadow: 8px 8px 0 -1px rgba(154, 68, 38, .18); }
.ed-arch .frame img { width: 100%; height: auto; display: block; aspect-ratio: 900 / 1273; object-fit: contain; border-radius: 3px; background: #fff; box-shadow: 0 2px 10px rgba(21, 26, 44, .12); }
.ed-arch figcaption { margin-top: 16px; color: #4d4a44; line-height: 1.55; font-size: .97rem; }
.ed-arch figcaption strong { display: block; font-family: var(--serif); font-weight: 500; font-size: 1.45rem; color: var(--ink); margin: 4px 0; }

/* 6. contents */
.ed-cols { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0 30px; margin-top: 14px; }
.ed-col ul { list-style: none; padding: 0; margin: 12px 0 0; border-top: 1px solid var(--line); }
.ed-col li { font-family: var(--serif); font-size: 1.18rem; line-height: 1.35; padding: 13px 0; border-bottom: 1px solid var(--line); color: var(--ink); }
.ed[lang="hi"] .ed-col li { font-size: 1.08rem; }

/* marquee */
.ed-marquee { background: var(--rust); color: #f6efe3; overflow: hidden; padding: 16px 0; white-space: nowrap; }
.ed-marquee > div { display: inline-flex; gap: 28px; align-items: center; animation: edMarquee 40s linear infinite; padding-left: 28px; }
.ed-marquee span { font-family: var(--mono); letter-spacing: .18em; text-transform: uppercase; font-size: .9rem; }
.ed[lang="hi"] .ed-marquee span { letter-spacing: .04em; font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-weight: 600; font-size: 1rem; }
.ed-marquee b { color: #f0c98a; font-weight: 400; }
@keyframes edMarquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ed-marquee > div { animation: none; } }

/* 7. brand */
.ed-brand { display: grid; grid-template-columns: 400px 1fr; gap: clamp(30px, 6vw, 90px); align-items: center; }
.ed-brand-art { position: relative; }
.ed-brand-art .frame { display: block; border-radius: 999px 999px 8px 8px; border: 1px solid rgba(154, 68, 38, .35); padding: 26px 22px 30px;
  background: radial-gradient(circle at 50% 40%, #fff9ee, #efe5d2); box-shadow: 10px 10px 0 -1px rgba(154, 68, 38, .16); }
.ed-brand-art .frame img { width: 100%; height: auto; display: block; }
.ed-badge { position: absolute; left: -28px; bottom: 24px; width: 150px; height: 150px; animation: edTurn 36s linear infinite; }
.ed-badge circle { fill: #f6efe3; stroke: rgba(154, 68, 38, .5); }
.ed-badge circle.dot { fill: var(--rust); stroke: none; }
.ed-badge text { font-family: var(--mono); font-size: 13.5px; letter-spacing: .18em; fill: var(--rust); }
.ed[lang="hi"] .ed-badge text { font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-size: 14px; letter-spacing: .02em; font-weight: 600; }
.ed-shloka { margin: 6px 0 10px; font-family: "Noto Serif Deva", serif; font-size: clamp(1.15rem, 2vw, 1.4rem); line-height: 1.75; color: var(--kum); }
.ed-chips { list-style: none; padding: 0; margin: 18px 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ed-chips li { font-family: var(--mono); font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; padding: 7px 12px; border: 1px solid rgba(30, 30, 36, .25); border-radius: 999px; }
.ed[lang="hi"] .ed-chips li { letter-spacing: .02em; font-family: system-ui, "Noto Sans Devanagari", sans-serif; font-weight: 600; font-size: .86rem; }
.ed-points { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 10px 0 0; }
.ed-points div { border-top: 1px solid var(--line); padding: 14px 0; margin: 0; }
.ed-points dt { font-family: var(--serif); font-size: 1.3rem; color: var(--ink); }
.ed-points dd { margin: 4px 0 0; color: #4d4a44; line-height: 1.55; }
@media (prefers-reduced-motion: reduce) { .ed-badge { animation: none; } }

/* 8. accuracy figures */
.ed-figures { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); margin: 6px 0 0; }
.ed-figures div { padding: 22px 22px 22px 0; border-right: 1px solid var(--line); margin: 0; }
.ed-figures div + div { padding-left: 22px; }
.ed-figures div:last-child { border-right: 0; }
.ed-figures dt { font-family: var(--serif); font-size: clamp(2.6rem, 5vw, 4rem); line-height: 1; color: var(--rust); }
.ed-figures dd { margin: 10px 0 0; color: #4d4a44; line-height: 1.5; font-size: .95rem; }
.ed-aside { border-left: 2px solid var(--gold); padding: 6px 0 6px 18px; margin: 26px 0 0; color: #3b3a40; font-family: var(--serif); font-size: 1.2rem; line-height: 1.55; max-width: 70ch; }
.ed[lang="hi"] .ed-aside { font-size: 1.1rem; }

/* 9. three steps */
.ed-three { list-style: none; padding: 0; margin: 34px 0 10px; display: grid; grid-template-columns: 1fr 110px 1fr 110px 1fr; align-items: start; text-align: center; }
.ed-three .num { display: block; font-family: "Cormorant", Georgia, serif; font-size: clamp(3.6rem, 6vw, 5rem); color: var(--rust); line-height: 1; }
.ed-three h3 { font-family: var(--serif); font-weight: 500; font-size: 1.45rem; margin: 10px 0 8px; color: var(--ink); }
.ed-three p { color: #4d4a44; line-height: 1.55; margin: 0 auto; max-width: 30ch; }
.ed-three .arrow { padding-top: 34px; }
.ed-three .arrow svg { width: 90px; fill: none; stroke: var(--rust); stroke-width: 1.3; stroke-linecap: round; }
.ed-center .ed-note { margin: 18px 0 26px; }

/* 10. guide */
.ed-guide { display: grid; grid-template-columns: 340px 1fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.ed-guide-side { position: sticky; top: 90px; }
.ed-toc { list-style: none; padding: 0; margin: 10px 0 0; border-top: 1px solid var(--line); }
.ed-toc a { display: block; padding: 9px 0; border-bottom: 1px solid var(--line); color: #4d4a44; text-decoration: none; font-size: .98rem; }
.ed-toc a:hover, .ed-toc a.on { color: var(--rust); }
.ed-article { max-width: 70ch; }
.ed-part { border-top: 1px solid var(--line); padding-top: 26px; margin-top: 30px; scroll-margin-top: 90px; }
.ed-part h3 { font-family: var(--serif); font-weight: 500; font-size: 1.8rem; margin: 0 0 12px; color: var(--ink); display: flex; gap: 14px; align-items: baseline; }
.ed-part p { font-size: 1.06rem; line-height: 1.8; color: #3b3a40; margin: 0 0 12px; }
.ed-houses { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 28px; margin: 8px 0 0; }
.ed-houses div { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--line); margin: 0; }
.ed-houses dt { min-width: 74px; font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; color: var(--rust); padding-top: 3px; }
.ed[lang="hi"] .ed-houses dt { font-family: system-ui, sans-serif; letter-spacing: 0; font-weight: 600; font-size: .95rem; }
.ed-houses dd { margin: 0; color: #3b3a40; }

/* 11. questions: heading left, quiet lines right */
.ed-faq-grid { display: grid; grid-template-columns: 1fr 1.6fr; gap: clamp(30px, 6vw, 90px); align-items: start; }
.ed-faq { border-top: 1px solid rgba(30, 30, 36, .18); }
.ed-faq details { border-bottom: 1px solid rgba(30, 30, 36, .18); }
.ed-faq details[hidden] { display: none; }
.ed-faq summary { list-style: none; cursor: pointer; padding: 20px 40px 20px 0; font-family: var(--serif); font-size: 1.32rem; position: relative; color: var(--ink); line-height: 1.35; }
.ed[lang="hi"] .ed-faq summary { font-size: 1.15rem; }
.ed-faq summary::-webkit-details-marker { display: none; }
.ed-faq summary::after { content: "+"; position: absolute; right: 6px; top: 18px; color: var(--rust); font-size: 1.4rem; transition: transform .25s ease; }
.ed-faq details[open] summary::after { transform: rotate(45deg); }
.ed-faq .pg-ans { overflow: hidden; transition: height .3s ease; }
.ed-faq .pg-ans p { margin: 0; padding: 0 30px 22px 0; color: #3b3a40; line-height: 1.7; }

/* 12. other services: rows */
.ed-list { list-style: none; padding: 0; margin: 14px 0 0; border-top: 1px solid var(--line); }
.ed-list a { display: grid; grid-template-columns: 52px 1fr auto 30px; gap: 18px; align-items: center; padding: 18px 0; border-bottom: 1px solid var(--line);
  text-decoration: none; color: var(--ink); transition: background .2s ease; }
.ed-list a:hover { background: rgba(154, 68, 38, .05); }
.ed-list .ico { width: 44px; height: 44px; animation: oa-float 7s ease-in-out infinite; }
.ed-list .ico svg { width: 100%; height: 100%; }
.ed-list strong { font-family: var(--serif); font-weight: 500; font-size: 1.55rem; }
.ed[lang="hi"] .ed-list strong { font-size: 1.3rem; }
.ed-list i { font-style: normal; color: var(--rust); font-size: 1.3rem; }

/* 13. closing */
.ed-final { position: relative; overflow: hidden; text-align: center; padding: clamp(80px, 11vw, 150px) 24px; color: #f2ece0;
  background: radial-gradient(ellipse at 50% 0%, #2a2f55 0%, #151a2c 60%); }
.ed-final .sv-stars { position: absolute; inset: 0; width: 100%; height: 100%; }
.ed-final > *:not(canvas) { position: relative; }
.ed-final h2 { font-family: var(--serif); font-weight: 400; font-size: clamp(2.2rem, 5vw, 4rem); color: #f5efe3; margin: 12px 0 30px; }

/* see more (page.js) */
.pg-more { position: relative; }
.pg-more > [data-more] { overflow: hidden; overflow: clip; transition: max-height .45s ease; }   /* clip: links into it cannot scroll it */
@media (prefers-reduced-motion: reduce) { .pg-more > [data-more] { transition: none; } }
.pg-more.clipped > [data-more] { -webkit-mask-image: linear-gradient(180deg, #000 72%, transparent); mask-image: linear-gradient(180deg, #000 72%, transparent); }
.pg-more-btn { display: inline-block; min-height: 44px; margin: 16px 0 0; padding: 10px 22px; border-radius: 999px; font-family: var(--mono); font-size: .78rem; letter-spacing: .14em;
  text-transform: uppercase; cursor: pointer; color: var(--rust); background: transparent; border: 1px solid rgba(154, 68, 38, .5); }
.ed[lang="hi"] .pg-more-btn { font-family: system-ui, "Noto Sans Devanagari", sans-serif; letter-spacing: .02em; font-weight: 600; font-size: .95rem; }
.pg-more-btn:hover { background: var(--rust); color: #fff; }

/* swipe rows (site.js): the edge fades melt into the section behind them */
.ed .slide-wrap { --fade: var(--paper); }
.ed-paper .slide-wrap { --fade: var(--paper2); }
.ed-sand .slide-wrap { --fade: var(--sandy); }

@media (max-width: 1000px) {
  .ed-featured { position: relative; right: auto; bottom: auto; margin: 34px 32px 0; width: auto; max-width: 420px; }
  .ed-hero { flex-direction: column; align-items: stretch; }
  .ed-sky-grid { grid-template-columns: repeat(3, 1fr); }
  .ed-story-grid, .ed-brand, .ed-guide, .ed-faq-grid { grid-template-columns: minmax(0, 1fr); }
  .ed-story-chart { position: relative; top: 0; order: -1; max-width: 420px; margin: 0 auto 20px; }
  .ed-step { min-height: 0; }
  .ed-cols { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .ed-figures { grid-template-columns: repeat(2, 1fr); }
  .ed-figures div:nth-child(2) { border-right: 0; }
  .ed-guide-side { position: static; }
  .ed-brand-art { max-width: 340px; margin: 0 auto; }
}
@media (max-width: 640px) {
  .ed-in { padding: 0 18px; }
  .ed-ticker { padding: 8px 18px; }
  .ed-ticker-r { display: none; }
  .ed-hero { min-height: 0; padding: 56px 0 40px; }
  .ed-wheel { right: -220px; width: 520px; opacity: .6; }
  .ed-featured { margin: 28px 18px 0; }
  .ed-sky-grid div { padding: 12px 10px; }
  .ed-sky-grid .pos { font-size: 1.05rem; }
  .ed-arches { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: 18px; gap: 16px; margin: 0 -18px; padding: 0 18px 8px; }
  .ed-arch { flex: 0 0 74%; scroll-snap-align: start; }
  .ed .slide-wrap::before { left: -18px; }        /* the row runs to the screen edge (margin 0 -18px): so do its fades */
  .ed .slide-wrap::after { right: -18px; }
  .ed-cols { grid-template-columns: minmax(0, 1fr); }
  .ed-points, .ed-houses { grid-template-columns: minmax(0, 1fr); }
  .ed-three { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .ed-three .arrow { display: none; }
  .ed-toc { display: none; }
  .ed-list a { grid-template-columns: 40px 1fr 24px; }
  .ed-list .ed-mono { display: none; }
  .ed-badge { width: 110px; height: 110px; left: -8px; }
}

/* Arrows are drawn, not typed: some Hindi font stacks show "→" as an empty box. */
.ed-arrow { display: inline-block; position: relative; width: .95em; height: .1em; min-height: 1.5px; background: currentColor; vertical-align: middle; margin-left: .2em; }
.ed-arrow::after { content: ""; position: absolute; right: 0; top: 50%; width: .42em; height: .42em; border: solid currentColor; border-width: 1.5px 1.5px 0 0; transform: translateY(-50%) rotate(45deg); }
.ed-part:focus { outline: none; }
.ed-part:focus-visible h3 { text-decoration: underline; text-decoration-color: var(--gold); text-underline-offset: 6px; }
.ed-open { display: inline-flex; align-items: center; gap: .3em; min-height: 44px; margin-top: 6px; font-family: var(--mono); font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--rust); }
.ed[lang="hi"] .ed-open { font-family: system-ui, "Noto Sans Devanagari", sans-serif; letter-spacing: .02em; font-size: .92rem; font-weight: 600; }
.ed-arch > a { text-decoration: none; display: block; }
