/* ===========================================================================
   Darbhanga Royal Residency — public marketing site
   Palette and typography follow the Phase I launch brochure: deep royal purple,
   gold foil accents, serif display type. Deliberately a single (dark) look.
   =========================================================================== */

:root {
  --ink: #190A2E;
  --ink-2: #24103F;
  --ink-3: #2E1550;
  --panel: rgba(255, 255, 255, 0.045);
  --panel-2: rgba(255, 255, 255, 0.07);
  --gold: #D9B65F;
  --gold-bright: #F0D68C;
  --gold-dim: rgba(217, 182, 95, 0.28);
  --cream: #F7F2E8;
  --muted: rgba(247, 242, 232, 0.66);
  --muted-2: rgba(247, 242, 232, 0.44);
  --line: rgba(217, 182, 95, 0.2);
  --line-soft: rgba(255, 255, 255, 0.08);
  --good: #7FD1A1;
  --serif: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --wrap: 1180px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--ink);
  color: var(--cream);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--gold-bright); text-decoration: none; }
a:hover { text-decoration: underline; }
img, video { max-width: 100%; display: block; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 26px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ---------- shared type ---------- */
.kicker {
  font-size: 12px; letter-spacing: 3px; text-transform: uppercase;
  color: var(--gold); font-weight: 600; margin: 0 0 14px;
}
h1, h2, h3, .display { font-family: var(--serif); font-weight: 600; letter-spacing: .2px; }
h2.section-title { font-size: clamp(28px, 4vw, 42px); line-height: 1.15; margin: 0 0 18px; }
h2.section-title em { font-style: normal; color: var(--gold-bright); }
.lede { font-size: 17px; color: var(--muted); max-width: 62ch; margin: 0 0 18px; }
.rule { height: 1px; background: linear-gradient(90deg, var(--gold), transparent); border: 0; margin: 0 0 26px; width: 120px; }

section { padding: 86px 0; border-top: 1px solid var(--line-soft); }
section:first-of-type { border-top: 0; }
.section-alt { background: linear-gradient(180deg, var(--ink-2), var(--ink)); }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(25, 10, 46, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line-soft);
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 18px; }
.brandmark { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brandmark .crest {
  width: 38px; height: 38px; flex: none; border-radius: 10px;
  background: linear-gradient(140deg, var(--gold-bright), #B8912F);
  color: #2A1250; display: grid; place-items: center; font-family: var(--serif); font-weight: 700; font-size: 17px;
}
.brandmark .name { font-family: var(--serif); font-size: 17px; line-height: 1.1; white-space: nowrap; }
.brandmark .name small { display: block; font-family: var(--sans); font-size: 10.5px; letter-spacing: 2px; color: var(--muted-2); text-transform: uppercase; }
.topnav { display: flex; align-items: center; gap: 4px; }
.topnav a { padding: 8px 13px; border-radius: 8px; font-size: 14px; color: var(--muted); font-weight: 500; }
.topnav a:hover { background: var(--panel-2); color: var(--cream); text-decoration: none; }
.topnav .portal { border: 1px solid var(--line); color: var(--gold-bright); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font-family: var(--sans); font-size: 14.5px; font-weight: 700; letter-spacing: .3px;
  cursor: pointer; transition: transform .1s ease, box-shadow .2s ease, background .2s ease;
}
.btn-gold {
  background: linear-gradient(135deg, var(--gold-bright), #C79E3C);
  color: #24103F; box-shadow: 0 14px 34px -16px rgba(217, 182, 95, 0.8);
}
.btn-gold:hover { transform: translateY(-1px); text-decoration: none; }
.btn-ghost { border-color: var(--gold-dim); color: var(--gold-bright); background: transparent; }
.btn-ghost:hover { background: var(--panel-2); text-decoration: none; }
.btn-wa { background: #1EA95A; color: #fff; }
.btn-wa:hover { text-decoration: none; transform: translateY(-1px); }
.btn-block { width: 100%; }

/* ---------- hero ---------- */
/* min() so the hero stays a screenful on laptops without ballooning on very tall displays */
.hero { position: relative; min-height: min(92vh, 940px); display: grid; align-items: end; overflow: hidden; padding: 0; border: 0; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: radial-gradient(120% 90% at 70% 20%, #3A1A63, #150826 70%); }
.hero-media video { width: 100%; height: 100%; object-fit: cover; opacity: .55; }
.hero-scrim {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(180deg, rgba(21, 8, 38, 0.72) 0%, rgba(21, 8, 38, 0.35) 38%, rgba(21, 8, 38, 0.93) 88%),
    radial-gradient(90% 60% at 50% 100%, rgba(21, 8, 38, 0.9), transparent);
}
/* padding-block only: .hero-inner shares its element with .wrap, whose
   horizontal padding must survive (a shorthand here would zero it out) */
.hero-inner { position: relative; z-index: 2; padding-top: 130px; padding-bottom: 54px; }
.hero .eyebrow {
  display: inline-flex; align-items: center; gap: 10px; padding: 7px 16px; margin-bottom: 22px;
  border: 1px solid var(--gold-dim); border-radius: 999px; background: rgba(25, 10, 46, 0.55);
  font-size: 12px; letter-spacing: 2.4px; text-transform: uppercase; color: var(--gold-bright);
}
.hero h1 {
  font-size: clamp(40px, 7.2vw, 86px); line-height: 1.02; margin: 0 0 8px;
  text-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);
}
.hero h1 span { display: block; color: var(--gold-bright); }
.hero .sub { font-family: var(--serif); font-size: clamp(17px, 2.2vw, 23px); color: var(--cream); margin: 0 0 6px; }
.hero .place { font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--muted); margin: 0 0 30px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.video-toggle {
  position: absolute; right: 26px; bottom: 26px; z-index: 3;
  width: 44px; height: 44px; border-radius: 50%; cursor: pointer;
  border: 1px solid var(--gold-dim); background: rgba(25, 10, 46, 0.7); color: var(--gold-bright); font-size: 15px;
}
.video-toggle:hover { background: var(--ink-3); }

/* ---------- stat row ---------- */
.statline {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
}
.statline .stat { padding: 22px 18px; border-left: 1px solid var(--line-soft); }
.statline .stat:first-child { border-left: 0; padding-left: 0; }
.statline .stat .v { font-family: var(--serif); font-size: clamp(26px, 3.4vw, 38px); color: var(--gold-bright); line-height: 1; }
.statline .stat .v sup { font-size: .5em; margin-left: 2px; }
.statline .stat .k { font-size: 11px; letter-spacing: 2.2px; text-transform: uppercase; color: var(--muted-2); margin-top: 9px; }

/* ---------- generic grids & cards ---------- */
.grid-2 { display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: start; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
/* Column counts live in classes, never inline styles — an inline
   grid-template-columns would outrank the breakpoints below. */
.grid-2up { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.figures-row { display: grid; grid-template-columns: 1.35fr 1fr; gap: 22px; margin-top: 44px; }

/* Grid tracks default to a min-content floor, so one wide child (the
   min-width:560px comparison table) would push the page wider than the
   phone viewport. min-width:0 lets the track shrink and the child scroll. */
.grid-2 > *, .grid-2up > *, .grid-3 > *, .grid-4 > *,
.figures-row > *, .enquire > *, .founder > * { min-width: 0; }

.card {
  background: var(--panel); border: 1px solid var(--line-soft); border-radius: 16px; padding: 24px;
}
.card h3 { font-size: 18px; margin: 0 0 8px; color: var(--cream); }
.card p { margin: 0; color: var(--muted); font-size: 14.5px; }
.card .ic { font-size: 22px; display: block; margin-bottom: 12px; }

blockquote.pull {
  margin: 26px 0 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--gold);
  font-family: var(--serif); font-size: 19px; font-style: italic; color: var(--cream);
}

/* ---------- milestones ---------- */
.milestones { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 44px; }
.milestone { padding-top: 16px; border-top: 1px solid var(--line); }
.milestone .t { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; font-weight: 700; }
.milestone .b { font-size: 13.5px; color: var(--muted); margin-top: 5px; }
.milestone .state { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; margin-top: 8px; color: var(--good); }
.milestone .state.in_progress { color: var(--gold); }

/* ---------- landmarks ---------- */
.landmarks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 44px; }
.landmarks.one-col { grid-template-columns: 1fr; }
.landmark {
  display: flex; align-items: baseline; gap: 14px; padding: 15px 0;
  border-bottom: 1px dashed var(--line-soft);
}
.landmark .ic { font-size: 17px; }
.landmark .n { flex: 1; font-size: 15px; }
.landmark .d { font-family: var(--serif); font-size: 17px; color: var(--gold-bright); white-space: nowrap; }

/* ---------- master plan ---------- */
.roadlist { margin: 0; padding: 0; list-style: none; }
.roadlist li {
  display: flex; align-items: baseline; gap: 18px; padding: 15px 0; border-bottom: 1px solid var(--line-soft);
}
.roadlist .w { font-family: var(--serif); font-size: 24px; color: var(--gold-bright); min-width: 78px; }
.sizechips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.sizechip {
  padding: 9px 16px; border: 1px solid var(--line); border-radius: 999px;
  font-size: 13.5px; color: var(--cream); background: var(--panel);
}
.sizechip b { color: var(--gold-bright); font-weight: 700; }

/* ---------- pricing ---------- */
.price-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.price-card {
  position: relative; display: flex; flex-direction: column;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  border: 1px solid var(--line-soft); border-radius: 18px; padding: 26px 22px 22px;
}
.price-card.featured { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold-dim), 0 30px 60px -34px rgba(217, 182, 95, 0.6); }
.price-card .badge {
  position: absolute; top: -11px; left: 22px; padding: 4px 12px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold-bright), #C79E3C); color: #24103F;
  font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase;
}
.price-card .area { font-family: var(--serif); font-size: 30px; color: var(--cream); line-height: 1.1; margin-top: 6px; }
.price-card .area small { font-size: 15px; color: var(--muted); }
.price-card .dims { font-size: 12px; letter-spacing: 1.8px; text-transform: uppercase; color: var(--muted-2); margin: 6px 0 18px; }
.plan { padding: 14px 0; border-top: 1px solid var(--line-soft); }
.plan .plan-k { font-size: 10.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); }
.plan .plan-v { font-family: var(--serif); font-size: 25px; color: var(--gold-bright); line-height: 1.2; }
.plan .plan-note { font-size: 12px; color: var(--muted); }
.price-card .blurb { font-size: 13px; color: var(--muted); margin: 14px 0 18px; flex: 1; }
.price-card .avail { font-size: 12px; color: var(--muted-2); margin-bottom: 14px; }
.price-card .avail b { color: var(--good); }
.price-card .avail.none b { color: var(--gold); }

.plans-banner {
  display: grid; grid-template-columns: 1fr auto 1fr auto; gap: 28px; align-items: center;
  margin-top: 30px; padding: 26px 30px; border: 1px solid var(--line); border-radius: 18px;
  background: linear-gradient(120deg, rgba(217, 182, 95, 0.09), rgba(255, 255, 255, 0.02));
}
.plans-banner .opt .k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); }
.plans-banner .opt .v { font-family: var(--serif); font-size: 30px; color: var(--cream); }
.plans-banner .opt .n { font-size: 13px; color: var(--muted); }
.plans-banner .or { font-family: var(--serif); color: var(--muted-2); }
.plans-banner .seal {
  text-align: center; padding: 14px 20px; border: 1px solid var(--gold); border-radius: 14px;
}
.plans-banner .seal .v { font-family: var(--serif); font-size: 28px; color: var(--gold-bright); line-height: 1; }
.plans-banner .seal .k { font-size: 10px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted); margin-top: 5px; }

/* ---------- availability ---------- */
.availbar { margin: 34px 0 12px; }
.availbar .track {
  height: 42px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden;
  background: var(--panel); display: flex; align-items: center;
}
.availbar .fill {
  height: 100%; background: linear-gradient(135deg, var(--gold-bright), #C79E3C);
  display: grid; place-items: center; min-width: 56px;
}
.availbar .fill span { font-size: 11px; font-weight: 800; letter-spacing: 1.4px; color: #24103F; text-transform: uppercase; }
.availbar .rest { flex: 1; padding-left: 16px; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); }
.availbar .legend { display: flex; justify-content: space-between; font-size: 11.5px; letter-spacing: 1.6px; text-transform: uppercase; color: var(--muted-2); margin-top: 10px; }
.availbar .legend b { color: var(--gold-bright); }

.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 22px; margin-top: 48px; }
.step { padding-top: 16px; border-top: 1px solid var(--line); }
.step .no { font-family: var(--serif); font-size: 24px; color: var(--gold); }
.step .t { font-family: var(--serif); font-size: 16px; margin: 4px 0 4px; }
.step .b { font-size: 13px; color: var(--muted); }

/* ---------- investment chart ---------- */
.chart-frame {
  border: 1px solid var(--line-soft); border-radius: 16px; padding: 26px 22px 18px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.015));
}
.chart-frame figcaption { font-size: 12.5px; color: var(--muted-2); margin-top: 12px; }
.chart-svg { width: 100%; height: auto; overflow: visible; }

/* Chart label sizes are CSS, not SVG attributes, so the phone breakpoint can
   scale them up: font-size in user units shrinks with the viewBox. */
.chart-svg .c-val { font-family: Palatino, Georgia, serif; font-size: 17px; }
.chart-svg .c-val-mid { font-size: 14px; }
.chart-svg .c-year,
.chart-svg .c-floor { font-family: var(--sans); font-size: 12.5px; letter-spacing: 1.4px; }
.chart-svg .c-floor { font-size: 11.5px; }

/* Phone stand-in for the in-chart floor caption */
.chart-key { display: none; align-items: center; gap: 9px; margin: 12px 0 0; font-size: 12.5px; color: var(--muted); }
.chart-key .dash {
  width: 26px; height: 0; flex: none;
  border-top: 1.5px dashed var(--gold); opacity: .75;
}
.invest-stats { display: grid; gap: 0; }
.invest-stats .row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); }
.invest-stats .row:last-child { border-bottom: 0; }
.invest-stats .v { font-family: var(--serif); font-size: 27px; color: var(--gold-bright); line-height: 1; }
.invest-stats .k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); text-align: right; }

/* ---------- comparison table ---------- */
.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
table.compare { width: 100%; border-collapse: collapse; min-width: 560px; font-size: 14.5px; }
table.compare th, table.compare td { padding: 15px 18px; text-align: left; border-bottom: 1px solid var(--line-soft); }
table.compare thead th {
  font-family: var(--sans); font-size: 11px; letter-spacing: 1.8px; text-transform: uppercase;
  color: var(--muted-2); font-weight: 700;
}
table.compare tbody th { font-weight: 600; color: var(--cream); }
table.compare .ours { background: rgba(217, 182, 95, 0.09); color: var(--gold-bright); font-weight: 700; }
table.compare thead .ours { color: var(--gold-bright); }
table.compare td.rival { color: var(--muted-2); }

/* ---------- figures (brochure renders) ---------- */
.figure {
  margin: 0; border: 1px solid var(--line-soft); border-radius: 16px; overflow: hidden;
  background: #120720;
}
.figure img { width: 100%; height: auto; }
.figure figcaption {
  padding: 12px 16px; font-size: 12.5px; color: var(--muted-2);
  border-top: 1px solid var(--line-soft);
}

/* ---------- founder ---------- */
.founder { display: grid; grid-template-columns: 300px 1fr; gap: 46px; align-items: start; }
.founder .portrait {
  margin: 0; border-radius: 18px; border: 1px solid var(--line); overflow: hidden;
  background: linear-gradient(160deg, #3A1A63, #1C0B33);
}
.founder .portrait img { width: 100%; height: auto; display: block; }

/* ---------- enquiry ---------- */
.enquire { display: grid; grid-template-columns: 1fr 1.05fr; gap: 56px; align-items: start; }
.form-card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 18px; padding: 30px;
}
.field { margin-bottom: 17px; }
.field label { display: block; font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; color: var(--muted); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border-radius: 11px; font-size: 15px; font-family: var(--sans);
  background: rgba(0, 0, 0, 0.25); border: 1px solid var(--line-soft); color: var(--cream);
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(217, 182, 95, 0.16);
}
.field textarea { min-height: 88px; resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-note { font-size: 12px; color: var(--muted-2); margin-top: 13px; }
.flash {
  border: 1px solid rgba(127, 209, 161, 0.5); background: rgba(127, 209, 161, 0.12);
  color: #C6EFD8; padding: 14px 16px; border-radius: 12px; font-size: 14.5px; margin-bottom: 20px;
}
.contact-list { margin: 0; padding: 0; list-style: none; }
.contact-list li { padding: 16px 0; border-bottom: 1px solid var(--line-soft); }
.contact-list .k { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted-2); }
.contact-list .v { font-family: var(--serif); font-size: 19px; margin-top: 4px; }
.contact-list .v a { color: var(--cream); }

/* ---------- footer ---------- */
footer.site {
  background: #120720; border-top: 1px solid var(--line); padding: 56px 0 34px; text-align: center;
}
footer.site .crest-row { display: flex; justify-content: center; margin-bottom: 20px; }
footer.site .motto { font-family: var(--serif); font-size: 19px; color: var(--gold-bright); margin-bottom: 26px; }
footer.site .flinks { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px 22px; font-size: 14px; margin-bottom: 24px; }
footer.site .flinks a { color: var(--muted); }
footer.site .legal { font-size: 12px; color: var(--muted-2); line-height: 1.8; }

/* ---------- responsive ---------- */
@media (max-width: 1024px) {
  .price-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(3, 1fr); }
  .plans-banner { grid-template-columns: 1fr; text-align: center; gap: 18px; }
}

@media (max-width: 860px) {
  section { padding: 62px 0; }
  .grid-2, .enquire, .founder, .figures-row { grid-template-columns: 1fr; gap: 34px; }
  .figures-row { gap: 22px; margin-top: 32px; }
  .grid-3 { grid-template-columns: 1fr; }
  .landmarks { grid-template-columns: 1fr; }
  .milestones { grid-template-columns: repeat(2, 1fr); }
  .statline { grid-template-columns: repeat(2, 1fr); }
  .statline .stat:nth-child(3) { border-left: 0; padding-left: 0; }
  .topnav .hide-sm { display: none; }
  .founder .portrait { max-width: 260px; }
}

/* ---------- phone ---------- */
@media (max-width: 640px) {
  .wrap { padding: 0 18px; }
  section { padding: 48px 0; }
  h2.section-title { font-size: 27px; }
  .lede { font-size: 16px; }

  /* Header: the brand name must wrap rather than force the page wider */
  .topbar .wrap { height: auto; min-height: 58px; padding: 10px 18px; gap: 10px; }
  .brandmark { gap: 9px; }
  .brandmark .crest { width: 32px; height: 32px; font-size: 14px; border-radius: 9px; }
  .brandmark .name { font-size: 14px; line-height: 1.15; white-space: normal; }
  .brandmark .name small { display: none; }
  .topnav .portal { padding: 7px 12px; font-size: 12.5px; }

  /* Hero: a 16:9 film band with the copy below it, instead of a tall
     cover-cropped background that shows ~25% of the frame on a phone. */
  .hero { min-height: 0; display: block; }
  .hero-media { position: relative; aspect-ratio: 16 / 9; }
  .hero-media video { opacity: .9; }
  .hero-media::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(21, 8, 38, 0.25) 40%, rgba(21, 8, 38, 0.92));
  }
  .hero-scrim { display: none; }
  .hero-inner { padding-top: 22px; padding-bottom: 34px; }
  .hero .eyebrow { margin-bottom: 16px; font-size: 11px; letter-spacing: 1.8px; }
  .hero .eyebrow .phase { display: none; }
  .hero h1 { font-size: 38px; }
  .hero .sub { font-size: 17px; }
  .hero .place { font-size: 11px; letter-spacing: 2px; margin-bottom: 22px; }
  .hero-cta { gap: 10px; margin-bottom: 28px; }
  .hero-cta .btn { flex: 1 1 100%; padding: 13px 20px; }
  .video-toggle { top: 14px; right: 14px; bottom: auto; width: 38px; height: 38px; }

  .statline { grid-template-columns: repeat(2, 1fr); }
  .statline .stat { padding: 16px 12px; }
  .statline .stat:nth-child(odd) { border-left: 0; padding-left: 0; }
  .statline .stat .k { font-size: 10px; letter-spacing: 1.4px; }

  .price-grid, .grid-4, .grid-2up, .steps, .milestones { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .form-card { padding: 22px 18px; }
  .card { padding: 20px; }

  blockquote.pull { font-size: 17px; padding-left: 16px; }
  .plans-banner { padding: 22px 20px; }
  .plans-banner .or { display: none; }

  /* Availability bar: stack the caption instead of squeezing it beside the fill */
  .availbar .track { height: auto; min-height: 38px; }
  .availbar .rest { padding-left: 12px; font-size: 10.5px; letter-spacing: 1.2px; }
  .availbar .legend { flex-direction: column; align-items: flex-start; gap: 4px; }

  /* Chart: scale labels up (they are in viewBox units), drop the interior
     ones, and move the floor caption out to .chart-key below the figure */
  .chart-frame { padding: 20px 14px 14px; }
  .chart-svg .c-val { font-size: 30px; transform: translateY(-10px); }
  .chart-svg .c-val-below { transform: translateY(14px); }
  .chart-svg .c-val-mid { display: none; }
  .chart-svg .c-year { font-size: 21px; letter-spacing: .5px; }
  .chart-svg .c-floor { display: none; }
  .chart-key { display: flex; }

  .invest-stats .v { font-size: 24px; }
  .invest-stats .k { font-size: 10px; letter-spacing: 1.4px; }
  table.compare th, table.compare td { padding: 12px 14px; }
  footer.site { padding: 44px 0 28px; }
  footer.site .flinks { gap: 6px 16px; font-size: 13.5px; }
}

/* Only the very narrowest phones drop the stat row to one column — at 390px
   two columns still fit the longest label ("TO AIIMS DARBHANGA"). */
@media (max-width: 340px) {
  .hero h1 { font-size: 31px; }
  .statline { grid-template-columns: 1fr; }
  .statline .stat { border-left: 0; padding-left: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
