/* NaMo 25 - Multi-Page Theme Stylesheet
   Adapted from NaMo25-theme-guide.md
   Strict Light Mode Enforcement
*/

:root {
  --ink: #0A0E26;          /* Deep navy */
  --ink-2: #FFFFFF;        /* Card / surface background */
  --ink-3: #E2DFD7;        /* Subtle borders and dividers */
  --ink-4: #F0EDE5;        /* Soft tinted background */
  --paper: #0A0E26;        /* Primary text on light mode */
  --mute: #565C7E;         /* Secondary text */
  --saffron: #E85A0C;      /* Primary saffron accent */
  --green: #0B9A6A;        /* Bharat / India level */
  --chakra: #3A57E0;       /* Global level */
  --gujarat: #C98200;      /* Gujarat level */
  
  --f-display: "Bricolage Grotesque", "Poppins", "Baloo 2", system-ui, -apple-system, sans-serif;
  --f-body: "Instrument Sans", "Mukta", system-ui, -apple-system, sans-serif;
  --f-mono: "JetBrains Mono", "Mukta", ui-monospace, Menlo, monospace;
  
  --gutter: clamp(16px, 4vw, 56px);
  --r: 20px;               /* Standard card radius */
  
  --bg: #F8F6F0;           /* Luxurious warm cream page background */
  --fg: #0A0E26;           /* Headings and primary text */
  --line: rgba(10, 14, 38, 0.12);
  
  /* Legacy bridge tokens to seamlessly style embedded maps and data blocks */
  --bg2: var(--ink-2);
  --bg3: var(--ink-4);
  --fg2: #2A3152;
  --muted: var(--mute);
  --acc: var(--saffron);
  --acc-deep: #C74805;
  --acc-ink: #FFFFFF;
  --s1: #C98200;
  --s2: #0B9A6A;
  --good: #0B9A6A;
  --gold: #C98200;
  --red: #C53B27;
  --nav: rgba(248, 246, 240, 0.94);
  
  color-scheme: light !important;
}

* { box-sizing: border-box; }
html {
  scroll-behavior: smooth;
  background: var(--bg);
  color: var(--fg);
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--f-body);
  font-size: 16.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
main {
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--f-display);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.025em;
  color: var(--fg);
  margin: 0;
}
h1 { font-size: clamp(48px, 9vw, 110px); }
h2 { font-size: clamp(34px, 5.5vw, 68px); line-height: 1.1; }
h3 { font-size: clamp(20px, 3vw, 30px); }
p { margin: 0; }
a { color: var(--saffron); text-decoration: none; }
a:hover { text-decoration: underline; }

.num { font-variant-numeric: tabular-nums; font-family: var(--f-display); font-weight: 800; }
.o {
  color: transparent;
  -webkit-text-stroke: 1.5px var(--fg);
}

/* Layout */
.wrap {
  max-width: 1360px;
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* Header & Floating Navigation */
.nav-holder {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 1000 !important;
  padding: 10px var(--gutter) !important;
  pointer-events: none !important;
  width: 100% !important;
  box-sizing: border-box !important;
  transition: padding 0.2s ease, background 0.2s ease !important;
}
.nav-holder.scrolled {
  padding-top: 6px !important;
  padding-bottom: 6px !important;
}
.nav-holder.scrolled .nav-pill {
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(24px) !important;
  -webkit-backdrop-filter: blur(24px) !important;
  box-shadow: 0 10px 36px rgba(10, 14, 38, 0.12) !important;
  border-color: rgba(10, 14, 38, 0.16) !important;
}
.nav-pill {
  pointer-events: auto;
  margin: 0 auto;
  max-width: 1280px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--ink-3);
  box-shadow: 0 8px 32px rgba(10, 14, 38, 0.08);
  border-radius: 999px;
  padding: 8px 18px;
}
.nav-brand {
  font-family: var(--f-display);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--ink);
  text-decoration: none;
  white-space: nowrap;
}
.nav-brand b { color: var(--saffron); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar { display: none; }

.nav-links a {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--mute);
  white-space: nowrap;
  transition: all 0.2s ease;
  text-decoration: none;
}
.nav-links a:hover {
  color: var(--fg);
  background: var(--ink-4);
}
.nav-links a.active {
  background: var(--ink);
  color: #FFFFFF;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.lang-btn {
  background: var(--saffron);
  color: #FFFFFF;
  border: none;
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 3px 12px rgba(232, 90, 12, 0.28);
}
.menu-toggle {
  display: none;
  background: var(--ink-4);
  border: 1px solid var(--ink-3);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  cursor: pointer;
  font-size: 18px;
  align-items: center;
  justify-content: center;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  position: fixed;
  top: 76px;
  left: 16px;
  right: 16px;
  background: #FFFFFF;
  border: 1px solid var(--ink-3);
  border-radius: 20px;
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
  padding: 16px;
  z-index: 999;
}
.mobile-nav-drawer.open { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.mobile-nav-drawer a {
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--ink-4);
  color: var(--ink);
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}
.mobile-nav-drawer a.active {
  background: var(--ink);
  color: #FFFFFF;
}

/* Top Progress Bar */
.scroll-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--gujarat), var(--saffron), var(--green), var(--chakra));
  z-index: 2000;
  transition: width 0.1s linear;
}

/* Section Header */
.sec {
  padding-block: clamp(60px, 8vw, 120px);
}
.sec-head {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 20px 40px;
  align-items: end;
  margin-bottom: clamp(32px, 5vw, 56px);
}
@media (max-width: 860px) {
  .sec-head { grid-template-columns: 1fr; }
}
.eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mute);
  display: inline-flex;
  gap: 0.6em;
  align-items: center;
  margin-bottom: 12px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--saffron);
  box-shadow: 0 0 10px var(--saffron);
}
.lead {
  font-size: clamp(17px, 2vw, 20px);
  color: var(--mute);
  line-height: 1.6;
  max-width: 60ch;
}

/* Jump Chips on Inner Pages */
.phero {
  padding-top: clamp(40px, 6vw, 70px);
  padding-bottom: clamp(30px, 4vw, 50px);
  border-bottom: 1px solid var(--ink-3);
  margin-bottom: clamp(36px, 5vw, 60px);
  background: linear-gradient(180deg, rgba(232, 90, 12, 0.04) 0%, transparent 100%);
}
.ph-t {
  margin-top: 10px;
  font-size: clamp(40px, 7vw, 84px);
}
.ph-p {
  font-size: clamp(17px, 2.2vw, 21px);
  color: var(--mute);
  max-width: 68ch;
  margin-top: 16px;
}
.ph-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}
.ph-jump a {
  font-family: var(--f-mono);
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ink);
  background: #FFFFFF;
  border: 1px solid var(--ink-3);
  padding: 8px 16px;
  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03);
  transition: all 0.2s ease;
}
.ph-jump a:hover, .ph-jump a.active {
  background: var(--saffron);
  color: #FFFFFF;
  border-color: var(--saffron);
}

/* Next Page Banner */
.next-card {
  margin-top: clamp(60px, 8vw, 100px);
  background: #FFFFFF;
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  padding: clamp(32px, 5vw, 60px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.next-card:hover {
  transform: translateY(-4px);
  border-color: var(--saffron);
  box-shadow: 0 16px 40px rgba(232, 90, 12, 0.12);
  text-decoration: none;
}
.next-card .nc-label {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--saffron);
  text-transform: uppercase;
}
.next-card .nc-title {
  font-size: clamp(28px, 4.5vw, 54px);
  color: var(--ink);
  margin-top: 6px;
}
.next-card .nc-arr {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--ink-4);
  color: var(--saffron);
  display: grid;
  place-items: center;
  font-size: 28px;
  font-weight: 800;
  flex: none;
  transition: transform 0.2s ease, background 0.2s ease;
}
.next-card:hover .nc-arr {
  transform: translateX(8px);
  background: var(--saffron);
  color: #FFFFFF;
}

/* Home Directory Bento */
.dir-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
  margin-top: 24px;
}
.dir-card {
  background: #FFFFFF;
  border: 1px solid var(--ink-3);
  border-radius: var(--r);
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 18px;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0,0,0,0.02);
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}
.dir-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--accent-bar, var(--saffron));
}
.dir-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-bar, var(--saffron));
  box-shadow: 0 12px 30px rgba(0,0,0,0.07);
  text-decoration: none;
}
.dir-num {
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--mute);
}
.dir-title {
  font-size: 24px;
  color: var(--ink);
  margin-top: 4px;
}
.dir-desc {
  font-size: 14.5px;
  color: var(--mute);
  line-height: 1.5;
}
.dir-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid var(--ink-4);
}
.dir-badge {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-bar, var(--saffron));
}
.dir-arrow {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--ink-4);
  color: var(--ink);
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 800;
}
.dir-card:hover .dir-arrow {
  background: var(--accent-bar, var(--saffron));
  color: #FFFFFF;
}

/* Language Selection Modal */
.lang-modal-ov {
  position: fixed;
  inset: 0;
  background: rgba(10, 14, 38, 0.7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 3000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.lang-modal-ov.open { display: flex; }
.lang-modal {
  background: #FFFFFF;
  border-radius: 28px;
  max-width: 540px;
  width: 100%;
  padding: 36px 30px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0,0,0,0.25);
  position: relative;
}
.lang-modal h2 { font-size: 28px; margin-bottom: 8px; }
.lang-modal p { color: var(--mute); font-size: 15px; margin-bottom: 24px; }
.lang-options {
  display: grid;
  gap: 12px;
}
.lang-opt {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-radius: 16px;
  border: 2px solid var(--ink-3);
  text-decoration: none;
  color: var(--ink);
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 20px;
  transition: all 0.2s ease;
}
.lang-opt:hover {
  border-color: var(--saffron);
  background: rgba(232, 90, 12, 0.05);
  text-decoration: none;
}
.lang-opt.hi { border-left-width: 8px; border-left-color: var(--saffron); }
.lang-opt.gu { border-left-width: 8px; border-left-color: var(--green); }
.lang-opt.en { border-left-width: 8px; border-left-color: var(--chakra); }

.lang-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--ink-3);
  background: var(--ink-4);
  font-size: 18px;
  cursor: pointer;
  display: grid;
  place-items: center;
}

/* Footer Dedication Block */
.site-footer {
  border-top: 1px solid var(--ink-3);
  background: #FFFFFF;
  padding-block: clamp(50px, 8vw, 80px) 40px;
  margin-top: clamp(60px, 10vw, 120px);
}
.foot-dedication {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 32px;
  align-items: center;
  background: var(--ink-4);
  border: 1px solid var(--ink-3);
  border-radius: 24px;
  padding: clamp(24px, 4vw, 40px);
  margin-bottom: 40px;
}
@media (max-width: 720px) {
  .foot-dedication { grid-template-columns: 1fr; text-align: center; }
  .foot-port { margin: 0 auto; }
}
.foot-port {
  width: clamp(140px, 16vw, 190px);
  aspect-ratio: 1;
  border-radius: 20px;
  overflow: hidden;
  background: #FFFFFF;
  border: 3px solid var(--saffron);
  padding: 6px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.06);
}
.foot-port img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}
.foot-ded-txt {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.foot-ded-txt .ded-title {
  font-family: var(--f-display);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  color: var(--ink);
}
.foot-ded-txt .ded-name {
  color: var(--saffron);
  font-weight: 800;
  text-decoration: underline;
}
.foot-ded-txt p {
  color: var(--mute);
  font-size: 15.5px;
  line-height: 1.6;
}

.foot-legal {
  display: flex;
  flex-direction: column;
  gap: 12px;
  font-size: 13.5px;
  color: var(--mute);
  padding-top: 24px;
  border-top: 1px solid var(--ink-3);
}

/* Sticker Pill Component */
.sticker-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--saffron);
  color: #FFFFFF;
  font-family: var(--f-display);
  font-weight: 800;
  box-shadow: 0 12px 28px rgba(232, 90, 12, 0.35);
  transform: rotate(-10deg);
  border: 3px solid #FFFFFF;
  text-align: center;
  line-height: 1;
}
.sticker-badge .sb-num { font-size: 38px; }
.sticker-badge .sb-txt { font-family: var(--f-mono); font-size: 10px; letter-spacing: 0.1em; margin-top: 4px; }

/* Responsive adjustments */
@media (max-width: 1240px) {
  .nav-links { display: none; }
  .menu-toggle { display: flex; }
}

/* ========================================================
   Material Symbols & Icon Modernization Styles
   ======================================================== */
.material-symbols-outlined {
  font-family: 'Material Symbols Outlined' !important;
  font-weight: normal;
  font-style: normal;
  font-size: 20px;
  line-height: 1;
  display: inline-block;
  text-transform: none;
  letter-spacing: normal;
  word-wrap: normal;
  white-space: nowrap;
  direction: ltr;
  vertical-align: middle;
  -webkit-font-smoothing: antialiased;
}

/* Modal and dialog close buttons */
.ib, #sheetClose, #shX, #siClose, #langClose {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer;
}
.ib .material-symbols-outlined,
#sheetClose .material-symbols-outlined,
#shX .material-symbols-outlined,
#siClose .material-symbols-outlined,
#langClose .material-symbols-outlined {
  font-size: 20px;
}

/* Share modal format tabs and actions */
.shfmt button {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
}
.shacts .btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
}

/* ========================================================
   Definitive Modal, Sheet & Social Share System (Fully Responsive)
   ======================================================== */

/* Modal Overlays sit completely on top of all page elements, including floating navbar (z-index: 1000) */
.shov,
.ov,
.lang-modal-ov {
  position: fixed !important;
  inset: 0 !important;
  z-index: 99999 !important;
  background: rgba(10, 14, 38, 0.78) !important;
  backdrop-filter: blur(12px) !important;
  -webkit-backdrop-filter: blur(12px) !important;
  overscroll-behavior: contain !important;
}

.shov[hidden],
.ov:not(.open),
.lang-modal-ov:not(.open) {
  display: none !important;
}

/* When modal is open, completely disable background document scrolling */
html.shlock,
body.shlock,
html.modal-open,
body.modal-open {
  overflow: hidden !important;
  height: 100% !important;
  touch-action: none !important;
  overscroll-behavior: none !important;
}

/* Disable pointer events on background navigation while modal is open */
body.shlock .nav-holder,
body.modal-open .nav-holder {
  pointer-events: none !important;
}

/* Modal containers base rules */
.shs,
.sheet,
.lang-modal {
  background: var(--bg, #FFF7EA) !important;
  color: var(--fg) !important;
  border: 1px solid var(--line, #E5DECE) !important;
  box-sizing: border-box !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  box-shadow: 0 24px 60px rgba(0,0,0,0.3) !important;
}

.shbody,
.shprev,
.shtxt {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
}

/* Social share network buttons */
.shnet {
  display: grid !important;
  gap: 8px !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.shnet button {
  min-width: 0 !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  padding: 10px 12px !important;
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  justify-content: flex-start !important;
  border-radius: 12px !important;
  background: #FFFFFF !important;
  border: 1px solid var(--ink-3, #E5DECE) !important;
  border-left: 4px solid var(--c) !important;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
  transition: all .2s ease !important;
  cursor: pointer !important;
}

.shnet button:hover {
  background: #FAF8F5 !important;
  border-color: var(--c) !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.06) !important;
}

.shnet button .net-ico {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 20px !important;
  height: 20px !important;
  min-width: 20px !important;
  flex: 0 0 20px !important;
  overflow: visible !important;
}

.shnet button .net-ico svg {
  width: 18px !important;
  height: 18px !important;
  display: block !important;
}

.shnet button .net-lbl {
  overflow: hidden !important;
  text-overflow: ellipsis !important;
  white-space: nowrap !important;
  font-family: var(--f-display) !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--fg) !important;
  line-height: 1.2 !important;
}

.shnet button i {
  display: none !important;
}

/* Desktop styles (700px and up) */
@media (min-width: 700px) {
  .shov,
  .ov,
  .lang-modal-ov {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 24px !important;
  }
  .shs {
    width: 100% !important;
    max-width: 900px !important;
    border-radius: 24px !important;
    max-height: 88vh !important;
    max-height: 88dvh !important;
  }
  .sheet {
    width: 100% !important;
    max-width: 760px !important;
    border-radius: 24px !important;
    max-height: 88vh !important;
    max-height: 88dvh !important;
  }
  .shnet {
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  }
}

/* Mobile & Small Tablet styles (699px and down) */
@media (max-width: 699px) {
  .shov,
  .ov,
  .lang-modal-ov {
    display: flex !important;
    align-items: flex-end !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .shs,
  .sheet,
  .lang-modal {
    width: 100% !important;
    max-width: 100% !important;
    align-self: flex-end !important;
    margin: 0 !important;
    max-height: 90vh !important;
    max-height: 90dvh !important;
    border-radius: 22px 22px 0 0 !important;
    border-bottom: none !important;
    box-shadow: 0 -12px 40px rgba(0,0,0,0.35) !important;
    overflow-y: auto !important;
    -webkit-overflow-scrolling: touch !important;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 16px)) !important;
  }

  .shbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 20 !important;
    padding: 10px 16px !important;
    background: #FFF7EA !important;
    border-bottom: 1px solid var(--ink-3, #E5DECE) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 12px !important;
  }

  .shbar::before {
    content: '' !important;
    position: absolute !important;
    top: 5px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 36px !important;
    height: 4px !important;
    border-radius: 999px !important;
    background: var(--ink-4, #DDD6C6) !important;
  }

  .shh {
    min-width: 0 !important;
    flex: 1 1 auto !important;
  }

  .shk {
    font-size: 11px !important;
    letter-spacing: 0.1em !important;
  }

  .shh b {
    font-size: 14.5px !important;
    line-height: 1.25 !important;
    margin-top: 1px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #shX {
    flex: 0 0 34px !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50% !important;
    background: var(--ink-4, #EFECE6) !important;
    border: none !important;
  }

  .shbody {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    padding: 12px 14px 20px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .shtxt {
    order: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
  }

  /* 4 columns x 2 rows compact native-feel social share grid on mobile */
  .shnet {
    order: -1 !important;
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 6px !important;
    margin: 0 0 10px !important;
    width: 100% !important;
  }

  .shnet button {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px 2px !important;
    min-height: 50px !important;
    border-radius: 10px !important;
    background: #FFFFFF !important;
    border: 1px solid var(--ink-3, #E5DECE) !important;
    border-top: 3px solid var(--c) !important;
    border-left: 1px solid var(--ink-3, #E5DECE) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04) !important;
    gap: 3px !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    min-width: 0 !important;
  }

  .shnet button:active {
    transform: scale(0.96) !important;
    background: #F8F5EE !important;
  }

  .shnet button .net-ico {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 18px !important;
    height: 18px !important;
    flex: 0 0 18px !important;
  }

  .shnet button .net-ico svg {
    width: 16px !important;
    height: 16px !important;
  }

  .shnet button .net-lbl {
    font-size: 11px !important;
    font-weight: 700 !important;
    text-align: center !important;
    line-height: 1.1 !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    max-width: 100% !important;
  }

  .shtxt label {
    display: block !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    margin-bottom: 4px !important;
    color: var(--fg) !important;
  }

  .shtxt textarea {
    width: 100% !important;
    min-height: 64px !important;
    height: 64px !important;
    font-size: 13px !important;
    line-height: 1.35 !important;
    padding: 8px 10px !important;
    border-radius: 10px !important;
    background: var(--bg2, #F8F4EC) !important;
    border: 1px solid var(--line, #E5DECE) !important;
    resize: vertical !important;
    box-sizing: border-box !important;
  }

  .shcnt {
    font-size: 11px !important;
    color: var(--mute, #786C5A) !important;
    margin-top: 3px !important;
    font-weight: 600 !important;
  }

  .shacts {
    display: flex !important;
    gap: 6px !important;
    margin-top: 6px !important;
    width: 100% !important;
  }

  .shacts .btn {
    flex: 1 1 calc(50% - 4px) !important;
    min-height: 36px !important;
    padding: 6px 10px !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .shnote {
    font-size: 11.5px !important;
    line-height: 1.4 !important;
    margin-top: 6px !important;
    color: var(--mute, #786C5A) !important;
  }

  .shprev {
    order: 2 !important;
    width: 100% !important;
    margin-top: 4px !important;
    padding-top: 10px !important;
    border-top: 1px dashed var(--line, #E5DECE) !important;
  }

  .shfmt {
    display: flex !important;
    gap: 6px !important;
    margin-bottom: 6px !important;
    width: 100% !important;
  }

  .shfmt button {
    flex: 1 1 calc(50% - 4px) !important;
    min-height: 32px !important;
    padding: 5px 8px !important;
    font-size: 11.5px !important;
    font-weight: 700 !important;
    border-radius: 999px !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .shimgw {
    position: relative !important;
    background: var(--bg2, #F8F4EC) !important;
    border: 1px solid var(--line, #E5DECE) !important;
    border-radius: 12px !important;
    padding: 6px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 130px !important;
  }

  .shimgw img {
    display: block !important;
    max-height: 170px !important;
    max-width: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    border-radius: 6px !important;
    box-shadow: 0 4px 14px rgba(0,0,0,0.18) !important;
  }

  .shprev .shacts {
    margin-top: 8px !important;
  }

  .shprev .shacts .btn {
    flex: 1 1 100% !important;
    width: 100% !important;
    min-height: 42px !important;
    font-size: 13.5px !important;
    font-weight: 800 !important;
    background: var(--acc, #E85A0C) !important;
    color: #FFFFFF !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 4px 14px rgba(232, 90, 12, 0.3) !important;
  }
}

/* Typography anti-overlap safeguards across all components */
.st .card {
  padding: 48px 28px 28px !important;
  gap: 12px !important;
}
.st .yr {
  font-size: 16px !important;
  line-height: 1.35 !important;
  margin-bottom: 8px !important;
  display: block !important;
  position: relative !important;
  z-index: 2 !important;
}
.st .bigt {
  font-size: clamp(38px, 9.5vw, 64px) !important;
  line-height: 1.2 !important;
  margin: 0 0 8px 0 !important;
  padding-top: 6px !important;
  position: relative !important;
  z-index: 2 !important;
}
.bento .card .v {
  line-height: 1.15 !important;
  margin-bottom: 4px !important;
}
.bento .card .k {
  line-height: 1.3 !important;
  margin-top: 6px !important;
}
.hero .giant {
  line-height: 1.02 !important;
}
.hero .giant .o {
  margin-top: 4px !important;
}

/* ========================================================
   Custom Scrollbar - NaMo 25 Saffron & Cream Palette
   ======================================================== */

/* Root / Global Page Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: #E85A0C #F4F1EA;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #F4F1EA;
  border-radius: 999px;
  margin: 3px;
}

::-webkit-scrollbar-thumb {
  background: #E85A0C;
  border-radius: 999px;
  border: 2px solid #F4F1EA;
  box-shadow: inset 0 0 1px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: #C74805;
}

::-webkit-scrollbar-thumb:active {
  background: #9E3700;
}

::-webkit-scrollbar-corner {
  background: #F4F1EA;
}

/* Internal scrollable panels, modals, chips, bottom sheets, code blocks */
.shs,
.sheet,
.body,
.nav-scroll,
.chips,
.sgrid,
textarea,
pre {
  scrollbar-width: thin;
  scrollbar-color: #E85A0C rgba(244, 241, 234, 0.8);
}

.shs::-webkit-scrollbar,
.sheet::-webkit-scrollbar,
.body::-webkit-scrollbar,
.nav-scroll::-webkit-scrollbar,
.chips::-webkit-scrollbar,
.sgrid::-webkit-scrollbar,
textarea::-webkit-scrollbar,
pre::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.shs::-webkit-scrollbar-track,
.sheet::-webkit-scrollbar-track,
.body::-webkit-scrollbar-track,
.nav-scroll::-webkit-scrollbar-track,
.chips::-webkit-scrollbar-track,
.sgrid::-webkit-scrollbar-track,
textarea::-webkit-scrollbar-track,
pre::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.04);
  border-radius: 999px;
}

.shs::-webkit-scrollbar-thumb,
.sheet::-webkit-scrollbar-thumb,
.body::-webkit-scrollbar-thumb,
.nav-scroll::-webkit-scrollbar-thumb,
.chips::-webkit-scrollbar-thumb,
.sgrid::-webkit-scrollbar-thumb,
textarea::-webkit-scrollbar-thumb,
pre::-webkit-scrollbar-thumb {
  background: #E85A0C;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.7);
}

.shs::-webkit-scrollbar-thumb:hover,
.sheet::-webkit-scrollbar-thumb:hover,
.body::-webkit-scrollbar-thumb:hover,
.nav-scroll::-webkit-scrollbar-thumb:hover,
.chips::-webkit-scrollbar-thumb:hover,
.sgrid::-webkit-scrollbar-thumb:hover,
textarea::-webkit-scrollbar-thumb:hover,
pre::-webkit-scrollbar-thumb:hover {
  background: #C74805;
}



