/* Explicit surface/text pairs keep the typography legible across photo crops. */
:root {
  color-scheme: light;
  --ink: #172d27;
  --muted: #49584f;
  --saffron: #9b4924;
}
body { color: var(--ink); }
.hero-shell, .intro-section, .explore-section, .closing-section, .site-footer { color: var(--ink); }
.hero-description, .section-description, .principles p { color: var(--muted); }
.hero-description { font-weight: 500; }
.hero-eyebrow, .concept-bar, .hero-footnote, .suggestion-label,
.section-heading .eyebrow, .section-index, .footer-top p, .footer-bottom { color: #505d51; }
.intro-section h2 em, .closing-section h2 em { color: #4c654f; }
.eyebrow, .hero-eyebrow, .concept-bar, .hero-footnote, .section-index { font-size: 12px; }
.desktop-nav, .language-button, .menu-button, .suggestions button,
.light-button, .dark-button, .footer-top p, .footer-top button { font-size: 14px; font-weight: 500; }
.suggestions button { color: var(--ink); background: #fffefa; }
.principles h3 { font-size: 20px; font-weight: 600; }
.principles p, .section-description { font-size: 16px; line-height: 1.75; }
.footer-bottom, .footer-bottom button { font-size: 12px; }
.footer-bottom button { color: #354c3d; }
.ask-form input { color: var(--ink); caret-color: var(--ink); }
.ask-form input::placeholder { color: #526052; }

/* Photos are the entire carousel; controls have their own opaque surface. */
.region-slide::after { display: none; }
.carousel-controls { background: #17382e; color: #fff; padding: 8px 10px 8px 18px; border-radius: 99px; bottom: 22px; right: 22px; }
.carousel-controls button { background: #17382e; border-color: #9daea3; width: 44px; height: 44px; backdrop-filter: none; }
.slide-count { font-size: 14px; }
.slide-count span { opacity: 1; }
.slide-picker { display: flex; justify-content: center; gap: 2px; margin: 10px auto 0; }
.slide-picker button { width: 44px; height: 44px; background: transparent; display: grid; place-items: center; border-radius: 50%; }
.slide-picker button::after { content: ""; width: 8px; height: 8px; background: #758175; border-radius: 10px; transition: width .2s ease; }
.slide-picker button.is-active::after { width: 24px; background: #244a3c; }

/* Service descriptions sit on solid ivory instead of changing photographs. */
.story-card { padding: 0; background: #ece9df; color: var(--ink); }
.story-card > img { height: 62%; z-index: 0; }
.story-overlay { display: none; }
.story-category { position: relative; z-index: 1; margin: 20px; color: #17382e; background: #fffefa; border-color: #d8ddcf; backdrop-filter: none; font-size: 12px; font-weight: 600; }
.story-bottom { position: relative; z-index: 1; background: #f3f0e6; color: #172d27; padding: 24px; width: 100%; border-top: 1px solid #e2dece; }
.story-title { color: #172d27; font-size: 40px; margin-bottom: 16px; }
.story-link { color: #294739; font-size: 14px; font-weight: 500; }
.circle-arrow, .learning-card .circle-arrow { border-color: #6d806e; }
.story-card:hover .circle-arrow { color: #fff; background: #244a3c; }
.learning-card .story-category { color: #17382e; background: #fffefa; }
.book-art { z-index: 0; top: 50px; }
.book-two { color: #332517; }
.language-section { background: #233e33; color: #fcf7e7; }
.language-content h2 { color: #fcf7e7; }
.language-content > p:not(.eyebrow) { color: #e5ebdd; font-size: 16px; }
.language-content .eyebrow, .language-note { color: #d1dec5; font-size: 12px; }
.light-button { color: #17382e; background: #f5f0df; }
dialog p, .answer-steps { color: #49584f; font-size: 16px; }
dialog .eyebrow, .answer-source small, .answer-demo-note { font-size: 12px !important; }
.answer-source small { color: #4c5e44; }
.answer-again, .example-options button { font-size: 14px; }
@media (max-width: 720px) {
  .hero-description { font-size: 17px; }
  .hero h1 { white-space: normal; }
  .concept-bar, .hero-eyebrow, .hero-footnote { font-size: 11px; }
  .hero-footnote { text-align: center; }
  .hero-eyebrow { letter-spacing: .08em; }
  .story-card { min-height: 430px; height: auto; }
  .story-category { font-size: 11px; margin: 18px; }
  .story-bottom { padding: 22px; }
  .story-title { font-size: 42px; }
  .carousel-controls { bottom: 16px; right: 16px; }
  .section-description, .principles p, .language-content > p:not(.eyebrow) { font-size: 16px; }
  .footer-top { gap: 16px; flex-wrap: wrap; }
  .footer-bottom { line-height: 1.7; }
}

/* One near-white surface, upright display type, and a clearer service hierarchy. */
:root {
  --paper: #fffefa;
  --cream: var(--paper);
  --line: #d2d7cb;
  --serif: "Libre Caslon Display", "Noto Serif Devanagari", Georgia, serif;
}
body { background: var(--paper); font-size: 20px; }
.hero-shell, .story-card, .story-bottom, .destination-feature, .rail-feature,
.admin-section, .admin-card, .telecom-actions article,
.telecom-actions article + article, .language-section, .language-art,
.site-menu, dialog, .answer-source, .answer-demo-note, .example-options button {
  background: var(--paper);
  color: var(--ink);
}
.hero-shell { border-radius: 0; }
.site-header { border-bottom: 1px solid var(--line); }
.hero-intro { padding-top: 40px; }
.hero h1 { font-size: clamp(96px, 11.25vw, 160px); line-height: 1; letter-spacing: -.045em; margin: 24px 0; }
.hero h1 em, .intro-section h2 em, .language-content h2 em, .closing-section h2 em {
  font-style: normal;
  color: inherit;
}
.hero h1 em { color: #bd541c; }
.hero-description { font-size: clamp(22px, 2.2vw, 28px); line-height: 1.45; font-weight: 400; letter-spacing: -.025em; }
.desktop-nav, .language-button, .menu-button { font-size: 16px; }
.ask-form { height: 90px; top: -42px; border: 1px solid var(--ink); background: var(--paper); }
.ask-form input { font-size: 22px; }
.suggestions button { font-size: 16px; background: transparent; border-color: var(--line); }
.suggestion-label, .hero-footnote { font-size: 14px; }
.eyebrow, .hero-eyebrow, .section-heading .eyebrow { font-size: 13px; letter-spacing: .11em; }
.intro-section { padding-top: 130px; padding-bottom: 120px; }
.intro-section h2 { font-size: clamp(66px, 7.5vw, 106px); line-height: 1.03; letter-spacing: -.04em; margin: 30px 0; }
.section-description { font-size: 24px; line-height: 1.5; }
.principles { margin-top: 72px; }
.principles article { padding: 0 28px; }
.principles h3 { font-size: 27px; line-height: 1.2; font-weight: 500; letter-spacing: -.025em; }
.principles p { font-size: 18px; line-height: 1.55; }
.principle-symbol { background: transparent; color: var(--green); border: 1px solid var(--line); width: 50px; height: 50px; }
.section-heading h2 { font-size: clamp(64px, 6.3vw, 90px); line-height: 1.04; letter-spacing: -.035em; }
.story-card { display: grid; grid-template-rows: 270px auto; height: 100%; min-height: 540px; padding: 0; border: 1px solid var(--line); border-radius: 20px; }
.story-card > img { height: 270px; }
.story-category { grid-row: 1; align-self: start; justify-self: start; background: var(--paper); }
.story-bottom { grid-row: 2; display: flex; flex-direction: column; padding: 28px; border-color: var(--line); }
.story-title { font-family: var(--sans); font-size: 40px; font-weight: 500; line-height: 1.08; letter-spacing: -.045em; margin-bottom: 28px; }
.story-link { font-size: 16px; line-height: 1.45; margin-top: auto; }
.discovery-nav { font-size: 16px; }
.discovery-heading { max-width: 980px; }
.discovery-heading h2 { font-size: clamp(70px, 7.4vw, 106px); letter-spacing: -.04em; line-height: 1.03; margin: 26px 0; }
.discovery-heading > p:last-child { font-size: 24px; line-height: 1.5; max-width: 620px; }
.destination-feature, .rail-feature, .admin-card, .telecom-actions article { border: 1px solid var(--line); }
.destination-copy h3, .rail-feature h3, .admin-card h3, .telecom-actions h3 {
  font-family: var(--sans); font-style: normal; font-size: 42px; font-weight: 500;
  line-height: 1.1; letter-spacing: -.04em;
}
.destination-copy p, .rail-feature p, .admin-card p, .telecom-actions p,
.telecom-actions article + article p { color: var(--muted); font-size: 20px; line-height: 1.55; }
.admin-card p { max-width: 460px; }
.text-action, .question-action, .telecom-actions .question-action { font-size: 18px; line-height: 1.5; }
.text-action, .question-action, .telecom-actions .question-action,
.telecom-actions article + article .question-action { color: var(--green); border-color: var(--line); }
.telecom-actions .question-action:hover { color: var(--saffron); }
.dark-button, .light-button { font-size: 18px; min-height: 54px; }
.rail-route, .route-note, .authority-label { font-size: 14px; }
.admin-section { padding: 0; }
.admin-section > .page-width { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding-top: 100px; padding-bottom: 100px; }
.admin-card .eyebrow, .telecom-actions .eyebrow, .telecom-actions article + article .eyebrow { color: var(--saffron); font-size: 13px; }
.telecom-section { gap: 56px; }
.telecom-intro h2 { font-size: clamp(58px, 5.5vw, 80px); letter-spacing: -.04em; line-height: 1.05; }
.telecom-intro > p { font-size: 22px; line-height: 1.55; }
.telecom-actions h3 { font-size: 38px; }
.quiet-mark { font-size: 16px; }
.quiet-mark svg { background: transparent; border: 1px solid var(--line); }
.language-section { width: min(1200px, calc(100% - 112px)); margin: 0 auto; border-radius: 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.language-content { padding-right: 0; }
.language-content h2 { color: var(--ink); font-size: clamp(56px, 5.2vw, 78px); letter-spacing: -.035em; line-height: 1.08; }
.language-content > p:not(.eyebrow) { color: var(--muted); font-size: 20px; line-height: 1.55; }
.language-content .eyebrow { color: var(--saffron); font-size: 13px; }
.language-note { color: var(--muted); font-size: 14px; line-height: 1.5; }
.light-button { background: var(--green); color: var(--paper); }
.light-button:hover { background: #18352a; }
.word-hindi, .word-tamil, .word-telugu, .word-bengali, .word-english { color: #4c654f; transform: none; letter-spacing: -.04em; }
.word-hindi { color: var(--saffron); }
.closing-section h2 { font-size: clamp(86px, 9.2vw, 132px); line-height: 1; letter-spacing: -.04em; }
.footer-top p, .footer-top button { font-size: 16px; }
.footer-bottom, .footer-bottom button { font-size: 13px; }
dialog h2 { font-size: 58px; }
dialog p, .answer-steps { font-size: 18px; line-height: 1.6; }
.question-echo { font-style: normal; }
.answer-source, .answer-demo-note, .example-options button { border: 1px solid var(--line); }
.answer-again, .example-options button { font-size: 16px; }
html[lang="hi"] .intro-section h2 { font-size: clamp(42px, 5vw, 70px); }
html[lang="hi"] .discovery-heading h2 { font-size: clamp(44px, 5.2vw, 72px); }
html[lang="hi"] .story-title { font-size: 34px; font-weight: 400; }

@media (min-width: 721px) and (max-width: 1000px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-card { grid-template-columns: 42% minmax(0, 1fr); grid-template-rows: auto; min-height: 330px; }
  .story-card > img { width: 42%; height: 100%; }
  .story-bottom { grid-row: 1; grid-column: 2; border-top: 0; border-left: 1px solid var(--line); }
  .book-art { width: 42%; right: auto; transform: scale(.75); }
  .telecom-section { gap: 30px; }
}
@media (max-width: 720px) {
  body { font-size: 18px; }
  .hero-shell { margin: 0; }
  .hero-intro { padding: 32px 24px 0; }
  .hero h1 { font-size: clamp(70px, 20vw, 112px); line-height: 1; letter-spacing: -.045em; margin: 28px 0 22px; }
  .hero h1 em { display: block; }
  .hero-description { font-size: 22px; line-height: 1.45; max-width: 370px; }
  .hero-eyebrow { font-size: 11px; }
  .site-header { margin: 0 24px; }
  .language-button, .menu-button { font-size: 14px; }
  .menu-button { min-height: 44px; }
  .header-actions { gap: 14px; }
  .india-carousel { margin-top: 68px; }
  .india-carousel .photo-stage { width: calc(100% - 32px); }
  .ask-form { top: -34px; height: 72px; width: calc(100% - 8px); padding-left: 14px; gap: 6px; }
  .ask-form input { font-size: 16px; }
  .ask-submit { width: 44px; height: 44px; }
  .suggestions button { font-size: 14px; }
  .hero-footnote { font-size: 12px; padding: 0 24px; }
  .intro-section { padding: 80px 0; }
  .intro-section h2 { font-size: clamp(48px, 12.5vw, 76px); line-height: 1.06; margin: 26px 0; }
  .section-description { font-size: 21px; line-height: 1.5; }
  .principles { gap: 32px; margin-top: 48px; }
  .principles article { padding: 0 0 0 66px; }
  .principles h3 { font-size: 25px; }
  .principles p { font-size: 18px; }
  .section-heading h2 { font-size: clamp(52px, 13vw, 76px); }
  .story-card { min-height: 500px; padding: 0; }
  .story-title { font-size: 40px; }
  .story-bottom { padding: 26px; }
  .book-art { top: 50px; }
  .discovery-nav { font-size: 15px; gap: 6px 20px; }
  .discovery-heading h2 { font-size: clamp(52px, 13.5vw, 76px); letter-spacing: -.04em; }
  .discovery-heading > p:last-child { font-size: 21px; }
  .destination-copy h3, .rail-feature h3, .admin-card h3, .telecom-actions h3 { font-size: 36px; }
  .destination-copy p, .rail-feature p, .admin-card p, .telecom-actions p,
  .telecom-actions article + article p { font-size: 18px; }
  .text-action, .question-action, .telecom-actions .question-action { font-size: 17px; }
  .dark-button, .light-button { font-size: 16px; gap: 16px; }
  .route-note { font-size: 13px; }
  .admin-section > .page-width { padding-top: 65px; padding-bottom: 65px; }
  .telecom-intro h2 { font-size: clamp(50px, 13vw, 72px); }
  .telecom-intro > p { font-size: 21px; }
  .language-section { width: calc(100% - 48px); }
  .language-content { padding: 55px 0 20px; }
  .language-content h2 { font-size: clamp(52px, 13vw, 76px); }
  .language-content > p:not(.eyebrow) { font-size: 20px; }
  .closing-section h2 { font-size: clamp(66px, 17vw, 92px); }
  dialog h2 { font-size: 46px; }
  html[lang="hi"] .hero h1 { font-size: clamp(54px, 13.5vw, 80px); line-height: 1.35; }
  html[lang="hi"] .hero-description { font-size: 20px; }
  html[lang="hi"] .intro-section h2 { font-size: 37px; }
  html[lang="hi"] .discovery-heading h2 { font-size: 40px; }
  html[lang="hi"] .story-title { font-size: 32px; }
}

/* Informational pages stay reachable without opening a dialog. */
.footer-info-links { display:flex; flex-wrap:wrap; gap:24px; align-items:center; }
.footer-info-links a { color:var(--ink); font-size:17px; font-weight:500; text-decoration:underline; text-underline-offset:5px; }
.agent-privacy a { color:inherit; text-decoration:underline; text-underline-offset:3px; }
.footer-info-links a:focus-visible, .agent-privacy a:focus-visible { outline:2px solid #173d6b; outline-offset:5px; border-radius:2px; }
