/* Shared finishing layer for the India site. Keep the established paper,
   rust, mustard and ink palette, existing typefaces and printed geometry. */
html { scrollbar-gutter: stable; }
html :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid #8c3a12;
  outline-offset: 5px;
}
.home :where(.dark-section, .books-section, .contact, footer) :focus-visible {
  outline-color: #d99a1f;
}
:where(.home, .doc) :where(h1, h2, h3) { text-wrap: balance; }
:where(.home, .doc) :where(p, li) { overflow-wrap: break-word; }
:where(.home, .doc) :where(button, input, select, textarea) { max-width: 100%; }
:where(.home, .doc) :where(img, video, iframe) { max-width: 100%; }
:where(.home, .doc) :where(.cards, .foot-grid, .paths-grid, .contact-layout) > * { min-width: 0; }

/* Interior pages: the full 960px content column, the same reading width as a
   blog post, with clear editorial hierarchy. The homepage carries .home, so
   these .doc-scoped rules cannot touch it. */
.doc main.wrap { padding-top: clamp(28px, 4vw, 52px); padding-bottom: 88px; }
.doc main.wrap > h1 { max-width: 24ch; margin-bottom: 24px; font-size: clamp(32px, 4.5vw, 52px); line-height: 1.12; }
.doc main.wrap > p, .doc main.wrap > .lede { max-width: none; }
.doc main.wrap p, .doc main.wrap li, .doc main.wrap blockquote {
  text-align: left; text-justify: auto; -webkit-hyphens: manual; hyphens: manual;
}
.doc main.wrap > .lede { margin: 0 0 28px; line-height: 1.75; }
.doc .crumbs { margin-bottom: 28px; line-height: 1.8; }
.doc .crumbs a { text-underline-offset: 4px; }
.doc section.sec { margin-top: clamp(36px, 4vw, 56px); }
.doc .sec > h2 { margin-bottom: 20px; }
.doc .sec > p { max-width: none; }
/* Contact-page intro copy is body text, so it reads at the same full width. */
.doc .contact-lede, .doc .contact-direct > p, .doc .contact-write-intro > p { max-width: none; }
.doc .facts { margin-top: 28px; padding: clamp(20px, 3vw, 32px); border-left: 4px solid var(--rust); }

/* Media and cards sit in the horizontal centre of the content column.
   Iframes (including the 600px Google Map), standalone video/streaming
   facades and figures all centre themselves; grid wrappers keep managing
   their own children, so the child-combinator scoping leaves them alone. */
.doc main.wrap iframe { display: block; margin-inline: auto; }
.doc main.wrap .map-frame { width: fit-content; max-width: 100%; margin-inline: auto; }
.doc .sec > .video-facade,
.doc .sec > .streaming-facade { margin-inline: auto; }
/* Card rows keep their existing card widths; flex centring also pulls an
   orphan card on a partially filled final row into the middle. */
.doc .cards { display: flex; flex-wrap: wrap; justify-content: center; }
.doc .cards > * { flex: 1 1 290px; }
.doc .cards.media-cards > * { flex-basis: 210px; }
.doc .city-grid, .doc .student-list { justify-content: center; }
/* Caps equal the width a card would have in a full row, so an orphan on the
   last row keeps a normal column width and sits in the centre. */
@media (min-width: 650px) {
  .doc .cards:not(.media-cards) > * { max-width: calc(50% - 13px); }
}
@media (min-width: 944px) {
  .doc .cards.media-cards > * { max-width: calc(25% - 15px); }
}
@media (min-width: 714px) and (max-width: 943px) {
  .doc .cards.media-cards > * { max-width: calc((100% - 40px) / 3); }
}
@media (min-width: 484px) and (max-width: 713px) {
  .doc .cards.media-cards > * { max-width: calc((100% - 20px) / 2); }
}
@media (max-width: 483px) {
  .doc .cards > * { flex-basis: 100%; max-width: 100%; }
}
.doc .facts h2 { margin-bottom: 16px; }
.doc .facts li { line-height: 1.7; }

/* Use the same square print treatment throughout, including late legacy rules. */
.doc :where(.city-grid a, .note, .student-list li, .sec > ul > li,
  blockquote.review, .google-score, .search-results a.result,
  .post-nav a, .post-hero img, article.post img, .page-figure, .authorbox) {
  border-radius: 0;
}
.doc .city-grid a, .doc .search-results a.result {
  background: var(--paper); border-color: var(--rule); box-shadow: 4px 4px 0 rgba(42,31,20,.12);
}
.doc .city-grid a:hover, .doc .city-grid a:focus-visible {
  border-color: var(--rust); box-shadow: 6px 6px 0 rgba(42,31,20,.16);
}
.doc .city-grid a:focus-visible { outline: 3px solid var(--rust); outline-offset: 4px; }
.doc .cards { gap: 26px; align-items: stretch; }
.doc .cards .card { padding: 26px; border-left: 1px solid var(--ink); }
/* A blog/book card is not a quotation. */
.doc .cards .card::before { content: none; }
.doc .cards .card > p { font-family: var(--sans); font-size: 16px; line-height: 1.75; }
.doc .cards .card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(42,31,20,.12), 6px 6px 0 rgba(140,58,18,.18); }
.doc .cards .card:has(> footer cite) { border-left: 3px solid var(--rust); }
.doc .cards .card:has(> footer cite) > p { font-family: var(--serif); font-size: 18px; }
.doc .cards .card > footer:has(cite), .doc blockquote.review > footer {
  display: flex; flex-direction: column; align-items: flex-start; gap: 5px; line-height: 1.6;
}
.doc blockquote.review { background: var(--paper); padding: 26px; border-color: var(--rule); border-left-color: var(--teal); }
.doc blockquote.review > p { line-height: 1.8; }
/* Explicit ratings must never inherit the legacy five-star pseudo-element. */
.doc blockquote.review:has([aria-label$="out of 5 stars"])::before { content: none; }
.doc .card:has([aria-label$="out of 5 stars"])::before { content: none; }
.doc :where(.card, blockquote.review) > p[aria-label$="out of 5 stars"] {
  color: #8c3a12; font-family: var(--sans); font-size: 20px; letter-spacing: .12em; line-height: 1.4;
}

/* Navigation and conversion controls: comfortable targets, quiet feedback. */
.doc nav.mainnav { gap: 8px 12px; }
.doc nav.mainnav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 12px; }
.doc nav.mainnav a[aria-current="page"] { background: rgba(217,154,31,.12); }
.doc .btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 20px; line-height: 1.5; text-align: center; }
.doc .cta { margin-top: 56px; padding: clamp(24px, 4vw, 40px); border-top: 4px solid var(--rust); }
.doc .cta h2 { max-width: 30ch; }
.doc .cta p { max-width: 70ch; line-height: 1.75; }
.doc details { margin-bottom: 12px; }
.doc summary { min-height: 44px; line-height: 1.5; cursor: pointer; }
.doc .site-foot .foot-grid { gap: 32px; }
.doc .site-foot h2 { margin-bottom: 18px; }
.doc .site-foot a { text-underline-offset: 4px; }
.doc .foot-bottom { line-height: 1.8; gap: 16px; }

/* Home page: consistent breathing room without replacing its bespoke layout. */
.home .section-pad { padding-block: clamp(56px, 7vw, 96px); }
.home .section-label { line-height: 1.6; }
.home .section-title-row { gap: 28px 48px; }
.home .path-card { padding: clamp(24px, 3vw, 36px); }
.home .path-card p { line-height: 1.8; }
.home .primary-button, .home .mini-cta { min-height: 46px; line-height: 1.5; }
.home .reviews-panel, .home .section-rail { border-radius: 0; }
.home .reviews-list li { line-height: 1.75; }
.home .faq-item button { min-height: 48px; }
.home .footer-links a { text-underline-offset: 4px; }

@media (max-width: 640px) {
  .doc main.wrap { padding-inline: 20px; }
  .doc main.wrap > h1 { margin-bottom: 20px; }
  .doc .cards { gap: 22px; }
  .doc .cards .card, .doc blockquote.review { padding: 22px 20px; }
  .doc .city-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .doc .sec > ul > li { line-height: 1.7; }
  .doc .topbar { gap: 4px 14px; font-size: 12px; }
  .doc .topbar > span { flex-basis: 100%; text-align: center; }
  .doc header.page-head { padding: 24px 16px; }
  .doc nav.mainnav { gap: 4px; margin-top: 14px; }
  .doc nav.mainnav a { padding-inline: 10px; font-size: 13px; }
  .doc .cta { margin-right: 5px; }
  .doc .cta .btn { margin: 6px 4px 6px 0; }
  .doc .chip { white-space: normal; line-height: 1.6; }
  .home .section-pad { padding-block: 52px; }
  .home .section-wrap { width: calc(100% - 40px); }
  .home .hero-ctas { gap: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html.home { scroll-behavior: auto; }
  :where(.home, .doc) *, :where(.home, .doc) *::before, :where(.home, .doc) *::after {
    animation-duration: .01ms !important; animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* --- Legal pages: on-this-page jump list, footnote, print (audit M24) --- */
/* The jump list stays in normal document flow at every width. A closed
   <details> hides its <nav> in the browser's UA shadow tree, which no author
   rule can override, so pinning the box and hiding the summary would leave an
   empty bar floating over the page. The summary is the control, always. */
.doc .on-this-page {
  margin: 0 0 30px;
  border: 1px solid var(--rule);
  border-left: 4px solid var(--rust);
  background: var(--cream);
}
.doc .on-this-page > summary {
  padding: 12px 16px;
  font-weight: 700;
  cursor: pointer;
}
.doc .on-this-page > summary::-webkit-details-marker { color: var(--rust); }
.doc .on-this-page nav { padding: 2px 16px 14px; }
.doc .on-this-page ul {
  list-style: none;
  margin: 0;
  padding: 0;
  columns: 2;
  column-gap: 34px;
}
.doc .on-this-page li { margin: 0 0 7px; break-inside: avoid; }
.doc .on-this-page a { text-decoration: none; }
.doc .on-this-page a:hover, .doc .on-this-page a:focus-visible { text-decoration: underline; }
@media (max-width: 520px) {
  .doc .on-this-page ul { columns: 1; }
}
.home .contact-form[hidden] { display: none !important; }
.doc .table-scroll {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.doc .table-scroll[role="region"] table {
  min-width: 28rem;
}
.doc .table-scroll:focus-visible {
  outline: 3px solid #8c3a12;
  outline-offset: 3px;
}
.doc .legal-note { margin-top: 30px; font-size: 13px; line-height: 1.6; color: var(--muted); }
.doc .post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; line-height: 1.5; }
.doc .post-tags span { margin-left: 0; max-width: 100%; white-space: normal; overflow-wrap: break-word; }
.doc article.post h1 { overflow-wrap: break-word; }

/* /blog/ Categories section: compact pill/chip boxes side by side instead of
   full-width stacked .sec > ul rows, overriding .doc .sec > ul (> li / ::before). */
.doc .sec .cat-list,
.doc .cat-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.doc .sec .cat-list li,
.doc .cat-list li {
  position: static;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  background: #f7f3ea;
  border: 1px solid #e0d4b8;
  border-radius: 20px;
  padding: 4px 10px;
  font-size: 12.5px;
  line-height: 1.4;
}
.doc .sec .cat-list li::before,
.doc .cat-list li::before {
  content: none;
}
.doc .sec .cat-list li a,
.doc .cat-list li a {
  color: inherit;
  text-decoration: none;
  font-weight: 600;
}
.doc .sec .cat-list li a:hover,
.doc .cat-list li a:hover {
  text-decoration: underline;
}
.doc .sec .cat-list li span,
.doc .cat-list li span {
  background: #e0d4b8;
  color: #6b4a1a;
  border-radius: 999px;
  padding: 1px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: normal;
  line-height: 1.4;
}

/* Mobile & narrow screens: keep .float-search in normal document flow right
   below the header instead of floating over body text, while preserving the
   desktop bottom-corner floating layout above 780px (768px on the homepage). */
@media (max-width: 780px) {
  .doc details.float-search,
  .doc details.float-search[open] {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    max-width: 960px;
    box-sizing: border-box;
    margin: 0 auto;
    padding: 12px 22px 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .doc details.float-search > summary {
    min-height: 44px;
    padding: 0 14px;
  }

  .doc details.float-search .float-search-panel {
    width: min(100%, 24rem);
    max-width: 100%;
  }

  .doc main.wrap {
    padding-top: 20px;
  }
}

@media (max-width: 640px) {
  .doc details.float-search,
  .doc details.float-search[open] {
    padding-inline: 20px;
  }
}

@media (max-width: 768px) {
  .home details.float-search,
  .home details.float-search[open] {
    position: static;
    left: auto;
    right: auto;
    bottom: auto;
    z-index: auto;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: calc(76px + env(safe-area-inset-top)) max(24px, env(safe-area-inset-right)) 12px max(24px, env(safe-area-inset-left));
    background: #21160d;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 0;
    box-shadow: none;
  }

  .home details.float-search > summary {
    min-height: 44px;
    padding: 0 14px;
  }

  .home details.float-search .float-search-panel {
    width: min(100%, 24rem);
    max-width: 100%;
  }

  html.home .hero,
  html.js.home .hero {
    padding-top: 28px;
  }
}

@media (max-width: 480px) {
  .home details.float-search,
  .home details.float-search[open] {
    padding-left: max(16px, env(safe-area-inset-left));
    padding-right: max(16px, env(safe-area-inset-right));
  }

  html.home .hero,
  html.js.home .hero {
    padding-top: 24px;
  }
}

@media print {
  .doc header.page-head { position: static !important; box-shadow: none !important; }
  .doc .sec::before { content: none !important; }
  .doc .sec { background-image: none !important; }
  .doc .fee-calc-tabs,
  .doc .fee-calc-actions .calc-wa-btn,
  .doc .on-this-page,
  .doc .cta,
  .doc .app-band,
  .doc .site-foot,
  .doc .float-search,
  .doc details.float-search,
  .home details.float-search,
  .doc .float-book,
  .doc .sticky-demo-btn,
  .doc .to-top { display: none !important; }
  .doc body, .doc main.wrap { background: #fff; max-width: none; padding: 0; }
  .doc main.wrap section.sec { margin-top: 22px; }
  .doc main a[href^="http"]::after { content: " (" attr(href) ")"; font-size: 0.82em; color: #000; }
  .doc main.wrap th, .doc main.wrap td { border-color: #999; }
  .doc .table-scroll { overflow: visible !important; }
  .doc .table-scroll[role="region"] table { min-width: 0 !important; width: 100% !important; }
}

/* ==========================================================================
   Premium retro polish, sticky header, visual plan highlights, fee calculator,
   and subtle Indian classical motifs (layered lightly over retro palette).
   ========================================================================== */

/* 1. Cleaner typographic spacing & hierarchy */
.doc main.wrap > h1 {
  margin-bottom: 18px;
  letter-spacing: -0.02em;
}
.doc main.wrap > .lede {
  margin: 0 0 32px;
  line-height: 1.76;
}
.doc section.sec {
  position: relative;
  margin-top: clamp(42px, 5vw, 64px);
  padding-top: 26px;
}
.doc main.wrap > section.sec:first-of-type {
  margin-top: 34px;
}
.doc .sec > h2 {
  position: relative;
  margin: 0 0 22px;
  padding-bottom: 11px;
  line-height: 1.22;
}
/* Small marigold / saffron accent underline beneath section headings */
.doc .sec > h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 3px;
  background: linear-gradient(90deg, #c1531b 0 18px, #d99a1f 18px 100%);
}
.doc .sec > h3 {
  margin: 28px 0 12px;
  line-height: 1.28;
}
.doc .sec > p + p {
  margin-top: 14px;
}
.doc [id] {
  scroll-margin-top: 108px;
}

/* 2. Sticky, polished header (.doc & .home) */
.doc header.page-head {
  position: sticky;
  top: 0;
  z-index: 100;
  color: var(--ink);
  background-color: var(--cream);
  padding: 20px 22px 18px;
  border-bottom: 2px solid var(--ink);
  box-shadow: 0 4px 16px rgba(42, 31, 20, 0.08);
  transition: padding 220ms ease, box-shadow 220ms ease, background-color 220ms ease;
}
.doc header.page-head nav.mainnav a {
  color: var(--ink);
  font-weight: 600;
}
.doc header.page-head nav.mainnav a:hover,
.doc header.page-head nav.mainnav a[aria-current="page"] {
  color: var(--rust);
  border-bottom-color: var(--rust);
}
.doc header.page-head::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -4px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(217, 154, 31, 0.65), rgba(193, 83, 27, 0.55), transparent);
  pointer-events: none;
}
html.doc.is-header-stuck header.page-head {
  padding: 11px 20px 10px;
  color: var(--ink);
  background-color: rgba(240, 228, 200, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(42, 31, 20, 0.14);
}
html.doc.is-header-stuck header.page-head .brand-line {
  margin-bottom: 6px;
  font-size: 10.5px;
}
html.doc.is-header-stuck header.page-head nav.mainnav {
  margin-top: 6px;
}
.home .site-header .desktop-nav a {
  color: var(--ink);
  font-weight: 700;
  white-space: nowrap;
}
.home .site-header .desktop-nav a:hover,
.home .site-header .desktop-nav a.active {
  color: var(--plum);
}
html.home.is-header-stuck .site-header {
  color: var(--ink);
  background: rgba(240, 228, 200, 0.98);
  border-bottom-color: var(--ink);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 8px 24px rgba(42, 31, 20, 0.18);
}
html.home.is-header-stuck .site-header .brand strong,
html.home.is-header-stuck .site-header .desktop-nav a {
  color: var(--ink);
}
html.home.is-header-stuck .site-header .desktop-nav a:hover,
html.home.is-header-stuck .site-header .desktop-nav a.active {
  color: var(--plum);
}
html.home.is-header-stuck .site-header .brand small {
  color: var(--muted);
}
@media (min-width: 1100px) and (max-width: 1360px) {
  .home .site-header .desktop-nav {
    gap: clamp(10px, 1.1vw, 18px);
  }
  .home .site-header .desktop-nav a {
    font-size: 11.5px;
    letter-spacing: 0.07em;
  }
}
@media (min-width: 769px) and (max-width: 1099px) {
  .home .site-header .desktop-nav {
    flex-wrap: wrap;
  }
}
@media (max-width: 768px) {
  .home .site-header .menu-button,
  html.home.is-header-stuck .site-header .menu-button {
    color: var(--ink);
    background: var(--paper);
    border: 1px solid var(--ink);
    border-radius: 0;
  }
  .home .site-header .menu-button:hover {
    background: var(--saffron);
    color: var(--ink);
  }
}

/* 3. Consistent Primary & Secondary Button Styling (with marigold/saffron accent) */
.doc .btn,
.home .primary-button,
.home .outline-button {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 200ms cubic-bezier(0.22, 1, 0.36, 1),
    background-color 180ms ease,
    color 180ms ease,
    border-color 180ms ease;
}
.doc .btn {
  border: 1px solid #d99a1f;
  box-shadow: 0 6px 16px rgba(42, 31, 20, 0.12), 4px 4px 0 rgba(42, 31, 20, 0.24);
}
.doc .btn:hover {
  transform: translateY(-2px);
  border-color: #c1531b;
  box-shadow: 0 10px 22px rgba(42, 31, 20, 0.16), 5px 5px 0 rgba(140, 58, 18, 0.26);
}
/* Secondary button variants (.alt and .line) */
.doc .btn.alt {
  background: var(--mustard);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 0 6px 14px rgba(42, 31, 20, 0.1), 4px 4px 0 rgba(42, 31, 20, 0.2);
}
.doc .btn.alt:hover {
  background: #e8ab2b;
  color: var(--ink);
  border-color: var(--rust);
  transform: translateY(-2px);
}
.doc .btn.line {
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 rgba(217, 154, 31, 0.32);
}
.doc .btn.line:hover {
  background: var(--ink);
  color: var(--paper);
  border-color: #d99a1f;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(42, 31, 20, 0.14), 4px 4px 0 rgba(217, 154, 31, 0.38);
}
.home .primary-button {
  border: 1px solid var(--saffron);
}
.home .outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 13px 20px;
  border: 1px solid var(--ink);
  box-shadow: 4px 4px 0 rgba(217, 154, 31, 0.34);
}
.home .outline-button:hover {
  transform: translateY(-2px);
  border-color: var(--saffron);
}

/* 4. Soft Shadow & Hover Lift Across Cards */
.doc .cards .card,
.doc .price-row,
.doc .city-grid a,
.doc .student-list li,
.doc .post-nav a,
.doc blockquote.review,
.home .path-card,
.home .tier,
.home .quote-card,
.home .detail-card,
.home .search-intent-grid article {
  transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 240ms cubic-bezier(0.22, 1, 0.36, 1),
    border-color 200ms ease,
    background-color 200ms ease;
}
.doc .cards .card,
.doc .student-list li,
.doc .post-nav a {
  box-shadow: 0 8px 20px rgba(42, 31, 20, 0.07), 5px 5px 0 rgba(42, 31, 20, 0.13);
}
.doc .student-list li:hover,
.doc .post-nav a:hover,
.doc blockquote.review:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 26px rgba(42, 31, 20, 0.11), 6px 6px 0 rgba(140, 58, 18, 0.16);
}
.doc .price-grid {
  gap: 14px;
  margin: 20px 0;
}
.doc .price-row {
  position: relative;
  padding: 20px 22px;
  background: var(--paper);
  border: 1px solid var(--ink);
  box-shadow: 0 8px 20px rgba(42, 31, 20, 0.07), 4px 4px 0 rgba(42, 31, 20, 0.13);
}
.doc .price-row:hover {
  transform: translateY(-3px);
  border-color: var(--rust);
  box-shadow: 0 14px 28px rgba(42, 31, 20, 0.12), 6px 6px 0 rgba(140, 58, 18, 0.18);
}
.doc .price-row .amount-qualifier {
  font-size: 0.78em;
  font-weight: 600;
  color: var(--rust);
}
.home .path-card {
  box-shadow: 0 8px 22px rgba(42, 31, 20, 0.08), 5px 5px 0 rgba(42, 31, 20, 0.14);
}
.home .path-card:hover {
  transform: translateY(-4px);
  border-color: var(--rust);
  box-shadow: 0 14px 30px rgba(42, 31, 20, 0.13), 7px 7px 0 rgba(140, 58, 18, 0.2);
}
.home .quote-card:hover,
.home .detail-card:hover,
.home .search-intent-grid article:hover {
  transform: translateY(-4px);
}

/* 5. Visual Plan Highlights: "Most popular" Ribbon + Glow & Physical Singing Badge */
.doc .price-row.is-popular {
  background: linear-gradient(135deg, #fffaf0 0%, #f9edd2 100%);
  border: 2px solid #d99a1f;
  padding-top: 28px;
  box-shadow: 0 0 0 1px rgba(193, 83, 27, 0.22),
    0 12px 30px rgba(217, 154, 31, 0.24),
    5px 5px 0 rgba(140, 58, 18, 0.18);
}
.doc .price-row.is-popular:hover {
  box-shadow: 0 0 0 1px rgba(193, 83, 27, 0.35),
    0 16px 36px rgba(217, 154, 31, 0.32),
    6px 6px 0 rgba(140, 58, 18, 0.22);
}
.plan-ribbon {
  position: absolute;
  top: -1px;
  right: 16px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 11px;
  background: linear-gradient(90deg, #c1531b, #d99a1f);
  color: #fffdf4;
  border: 1px solid #2a1f14;
  border-top: 0;
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  line-height: 1.2;
  box-shadow: 2px 2px 0 rgba(42, 31, 20, 0.2);
}
.plan-ribbon-inline {
  position: static;
  border-top: 1px solid #2a1f14;
  padding: 3px 9px;
  font-size: 10px;
}
.home .tier {
  position: relative;
}
.home .tier.is-popular {
  border: 1px solid #d99a1f !important;
  background: rgba(217, 154, 31, 0.09);
  box-shadow: 0 0 28px rgba(217, 154, 31, 0.2);
  padding-top: 28px;
}
.home .tier.is-popular .plan-ribbon {
  top: 0;
  right: 14px;
}

/* Separate badge highlighting Physical singing plan on singing-focused pages */
.doc .price-row.is-singing-highlight {
  border-left: 4px solid var(--teal);
  background: linear-gradient(135deg, #fdf8ec 0%, #f3ead4 100%);
  padding-top: 26px;
}
.singing-plan-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 3px 10px;
  background: var(--teal);
  color: #fffdf4;
  border: 1px solid var(--ink);
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.3;
  box-shadow: 2px 2px 0 rgba(42, 31, 20, 0.18);
}

/* 6. Interactive Fee Calculator (/fees/) */
.doc .fee-calc {
  margin-top: 20px;
  padding: clamp(18px, 3vw, 28px);
  background: var(--cream);
  border: 1px solid var(--ink);
  border-top: 4px solid #c1531b;
  box-shadow: 0 12px 28px rgba(42, 31, 20, 0.09), 6px 6px 0 rgba(42, 31, 20, 0.15);
}
.doc .fee-calc-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 20px;
  padding: 5px;
  background: var(--paper);
  border: 1px solid var(--ink);
}
.doc .fee-calc-tab {
  min-height: 46px;
  padding: 10px 14px;
  background: transparent;
  color: var(--muted);
  border: 1px solid transparent;
  font-family: var(--mono);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background-color 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}
.doc .fee-calc-tab:hover {
  color: var(--ink);
  background: rgba(217, 154, 31, 0.14);
}
.doc .fee-calc-tab.is-active {
  background: var(--ink);
  color: var(--paper);
  border-color: #d99a1f;
  box-shadow: 3px 3px 0 rgba(217, 154, 31, 0.45);
}
.doc .fee-calc-fieldset {
  margin: 0;
  padding: 0;
  border: 0;
  min-width: 0;
}
.doc .fee-calc-legend {
  margin-bottom: 10px;
  padding: 0;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--rust);
}
.doc .fee-calc-options {
  display: grid;
  gap: 12px;
}
.doc .fee-calc-option {
  position: relative;
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  align-items: start;
  gap: 12px;
  padding: 15px 16px;
  background: var(--paper);
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease, transform 180ms ease;
}
.doc .fee-calc-option:hover {
  border-color: var(--rust);
  transform: translateY(-2px);
}
.doc .fee-calc-option.is-popular {
  border-color: #d99a1f;
  box-shadow: 0 0 18px rgba(217, 154, 31, 0.18);
}
.doc .fee-calc-option.is-selected {
  background: #fffdf6;
  border: 2px solid var(--rust);
  box-shadow: 0 8px 20px rgba(42, 31, 20, 0.08), 4px 4px 0 rgba(140, 58, 18, 0.18);
}
.doc .fee-calc-option input[type="radio"] {
  width: 18px;
  height: 18px;
  margin: 3px 0 0;
  accent-color: #8c3a12;
  cursor: pointer;
}
.doc .fee-calc-option-body {
  display: grid;
  gap: 4px;
  min-width: 0;
}
.doc .fee-calc-option-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 10px;
}
.doc .fee-calc-option-title {
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.25;
  color: var(--ink);
}
.doc .fee-calc-option-price {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  color: var(--rust);
}
.doc .fee-calc-option-meta {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--muted);
}
.doc .fee-calc-summary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 18px;
  padding: 18px;
  background: var(--deep);
  color: var(--paper);
  border: 1px solid #d99a1f;
}
.doc .fee-calc-metric {
  display: grid;
  gap: 3px;
  min-width: 0;
}
.doc .fee-calc-metric + .fee-calc-metric {
  padding-left: 16px;
  border-left: 1px solid rgba(247, 238, 217, 0.22);
}
.doc .fee-calc-metric-label {
  font-family: var(--mono);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: rgba(247, 238, 217, 0.72);
}
.doc .fee-calc-metric-value {
  font-family: var(--serif);
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.15;
  color: #ffd98e;
}
.doc .fee-calc-metric-sub {
  font-family: var(--mono);
  font-size: 12px;
  color: rgba(247, 238, 217, 0.85);
  overflow-wrap: break-word;
}
.doc .fee-calc-note {
  margin: 14px 0 0;
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--muted);
  text-align: left !important;
}
.doc .fee-calc-actions {
  margin-top: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px 16px;
}
.doc .calc-wa-btn {
  margin: 0;
  background: var(--rust);
  color: #fffdf4;
  border: 1px solid #d99a1f;
}
.doc .calc-wa-btn:hover {
  background: var(--ink);
  color: #fffdf4;
}
.doc .fee-calc-selected {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--ink);
  text-align: left !important;
}

/* 7. Subtle India-Specific Visual Theme:
      - Low-opacity mandala / paisley hairline pattern on section top borders
      - Delicate line-art Tanpura, Harmonium & Tabla icons in section corners */
.doc main.wrap > section.sec::before,
.home .about::before,
.home .music-section::before,
.home .faq-section::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 10px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='10' viewBox='0 0 48 10' fill='none'%3E%3Cpath d='M0 9.5h48M6 9.5c0-4.2 4.5-7 10-7s10 2.8 10 7M11 9.5c0-2.4 2.2-4.2 5-4.2s5 1.8 5 4.2M16 2.3a1 1 0 1 0 0 .1M32 9.5c0-3 2.7-5.2 6-5.2 2.4 0 4.2 1.4 4.2 3.2 0 1.4-1.1 2.2-2.2 2.2-1 0-1.7-.7-1.7-1.6' stroke='%238c3a12' stroke-width='0.9' stroke-opacity='0.22' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: repeat-x;
  background-position: left top;
  pointer-events: none;
}
.home .about,
.home .music-section,
.home .faq-section {
  position: relative;
}

/* Corner line-art: Tanpura (3n+1), Harmonium (3n+2), Tabla (3n) */
.doc main.wrap > section.sec {
  background-repeat: no-repeat;
  background-position: right 4px top 18px;
  background-size: 40px 40px;
}
.doc main.wrap > section.sec:nth-of-type(3n + 1) {
  /* Tanpura */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238c3a12' stroke-width='1.35' stroke-opacity='0.16' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='36' r='8.5'/%3E%3Cpath d='M18 35.5h12M18.5 32c3 1.8 8 1.8 11 0M22 6v21.5M26 6v21.5M24 6.5v29M18 8.5h4M18 12.5h4M26 8.5h4M26 12.5h4M21 6h6'/%3E%3C/svg%3E");
}
.doc main.wrap > section.sec:nth-of-type(3n + 2) {
  /* Harmonium */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238c3a12' stroke-width='1.35' stroke-opacity='0.16' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='15' width='36' height='23' rx='1'/%3E%3Cpath d='M9 15l3-5h24l3 5M11 12.5h26M9 25h30v9H9zM14 25v9M19 25v9M24 25v9M29 25v9M34 25v9M13 25v5M18 25v5M28 25v5M33 25v5'/%3E%3Ccircle cx='15' cy='20' r='1.2'/%3E%3Ccircle cx='21' cy='20' r='1.2'/%3E%3Ccircle cx='27' cy='20' r='1.2'/%3E%3Ccircle cx='33' cy='20' r='1.2'/%3E%3C/svg%3E");
}
.doc main.wrap > section.sec:nth-of-type(3n) {
  /* Tabla */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238c3a12' stroke-width='1.35' stroke-opacity='0.16' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='14.5' cy='20' rx='7.5' ry='3.6'/%3E%3Ccircle cx='14.5' cy='20' r='2.6'/%3E%3Cpath d='M7 20l2 16c1.5 2 9.5 2 11 0l2-16M10 23l2.5 13M14.5 23.6v13M19 23l-2.5 13'/%3E%3Cellipse cx='34' cy='19.5' rx='9' ry='4.2'/%3E%3Ccircle cx='32.5' cy='19.5' r='3'/%3E%3Cpath d='M25 19.5c0 11.5 3.4 17.5 9 17.5s9-6 9-17.5M28.5 23l2.5 13M34 23.7v13.3M39.5 23L37 36'/%3E%3C/svg%3E");
}

/* Homepage corner motifs as subtle non-interactive pseudo-elements */
.home .about .section-wrap,
.home .music-section .section-wrap,
.home .faq-section .section-wrap {
  position: relative;
}
.home .about .section-wrap::after,
.home .music-section .section-wrap::after,
.home .faq-section .section-wrap::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 48px;
  height: 48px;
  background-repeat: no-repeat;
  background-size: contain;
  pointer-events: none;
}
.home .about .section-wrap::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238c3a12' stroke-width='1.35' stroke-opacity='0.18' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='24' cy='36' r='8.5'/%3E%3Cpath d='M18 35.5h12M18.5 32c3 1.8 8 1.8 11 0M22 6v21.5M26 6v21.5M24 6.5v29M18 8.5h4M18 12.5h4M26 8.5h4M26 12.5h4M21 6h6'/%3E%3C/svg%3E");
}
.home .music-section .section-wrap::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238c3a12' stroke-width='1.35' stroke-opacity='0.18' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='6' y='15' width='36' height='23' rx='1'/%3E%3Cpath d='M9 15l3-5h24l3 5M11 12.5h26M9 25h30v9H9zM14 25v9M19 25v9M24 25v9M29 25v9M34 25v9M13 25v5M18 25v5M28 25v5M33 25v5'/%3E%3Ccircle cx='15' cy='20' r='1.2'/%3E%3Ccircle cx='21' cy='20' r='1.2'/%3E%3Ccircle cx='27' cy='20' r='1.2'/%3E%3Ccircle cx='33' cy='20' r='1.2'/%3E%3C/svg%3E");
}
.home .faq-section .section-wrap::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48' fill='none' stroke='%238c3a12' stroke-width='1.35' stroke-opacity='0.18' stroke-linecap='round' stroke-linejoin='round'%3E%3Cellipse cx='14.5' cy='20' rx='7.5' ry='3.6'/%3E%3Ccircle cx='14.5' cy='20' r='2.6'/%3E%3Cpath d='M7 20l2 16c1.5 2 9.5 2 11 0l2-16M10 23l2.5 13M14.5 23.6v13M19 23l-2.5 13'/%3E%3Cellipse cx='34' cy='19.5' rx='9' ry='4.2'/%3E%3Ccircle cx='32.5' cy='19.5' r='3'/%3E%3Cpath d='M25 19.5c0 11.5 3.4 17.5 9 17.5s9-6 9-17.5M28.5 23l2.5 13M34 23.7v13.3M39.5 23L37 36'/%3E%3C/svg%3E");
}

/* Mobile responsiveness (320px / 360px / 390px) */
@media (max-width: 640px) {
  .doc header.page-head {
    padding: 14px 14px 12px;
  }
  html.doc.is-header-stuck header.page-head {
    padding: 8px 10px;
  }
  html.doc.is-header-stuck header.page-head .brand-line {
    margin-bottom: 4px;
  }
  html.doc.is-header-stuck header.page-head nav.mainnav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 4px 6px;
    margin-top: 4px;
  }
  html.doc.is-header-stuck header.page-head nav.mainnav a {
    min-height: 34px;
    padding: 4px 8px;
    font-size: 12.5px;
  }
  .doc main.wrap > section.sec {
    background-size: 30px 30px;
    background-position: right 0 top 16px;
  }
  .doc .sec > h2 {
    padding-right: 34px;
  }
  .doc .price-row {
    padding: 18px 16px;
  }
  .doc .price-row.is-popular {
    padding-top: 30px;
  }
  .plan-ribbon {
    right: 10px;
    font-size: 9.5px;
    padding: 3px 8px;
  }
  .doc .fee-calc {
    padding: 16px 14px;
  }
  .doc .fee-calc-option {
    padding: 13px 12px;
    gap: 10px;
  }
  .doc .fee-calc-option-title {
    font-size: 16.5px;
  }
  .doc .fee-calc-option-price {
    font-size: 18px;
  }
  .doc .fee-calc-summary {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 15px 14px;
  }
  .doc .fee-calc-metric + .fee-calc-metric {
    padding-left: 0;
    padding-top: 12px;
    border-left: 0;
    border-top: 1px solid rgba(247, 238, 217, 0.22);
  }
  .doc .calc-wa-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .doc .cards .card:hover,
  .doc .price-row:hover,
  .doc .city-grid a:hover,
  .doc .student-list li:hover,
  .doc .post-nav a:hover,
  .doc blockquote.review:hover,
  .doc .btn:hover,
  .doc .fee-calc-option:hover,
  .home .path-card:hover,
  .home .quote-card:hover,
  .home .detail-card:hover,
  .home .search-intent-grid article:hover,
  .home .primary-button:hover,
  .home .outline-button:hover {
    transform: none !important;
  }
}

/* Desktop hero: keep the "Doctorate in World Music" badge (.fc-one) inside the
   polaroid frame so it never collides with the intro paragraph at 1280px–1440px,
   leaving mobile (<= 768px / 390px), polaroid, and "Est. 1992" stamp untouched. */
@media (min-width: 769px) {
  .home .fc-one {
    left: 14px;
    top: 33%;
  }
}
@media (min-width: 769px) and (max-width: 1150px) {
  .home .fc-one {
    left: 12px;
    top: 36%;
    min-width: 152px;
    padding: 10px 12px;
  }
}


