:root {
  color-scheme: light;
  --paper: #f5f2eb;
  --paper-light: #fbfaf7;
  --ink: #1d2925;
  --muted: #68716d;
  --line: #d9d8d0;
  --accent: #a85f3e;
  --accent-deep: #263e47;
  --serif: "Newsreader", Georgia, serif;
  --sans: "Poppins", Arial, sans-serif;
  --page-width: 1240px;
}

html[lang="ne"] body,
html[lang="ne"] button {
  font-family: "Mukta", Poppins, Arial, sans-serif;
}
html[lang="ne"] h1,
html[lang="ne"] h2,
html[lang="ne"] h3 {
  font-family: "Khand", "Mukta", sans-serif;
  font-weight: 600;
}
html[lang="ne"] .nav-links,
html[lang="ne"] .menu-toggle { font-family: "Mukta", sans-serif; }
html[lang="ne"] .nav-links {
  font-family: "Mukta", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}
html[lang="ne"] .hero-copy h1 { letter-spacing: 0; line-height: 1.05; }

[x-cloak] {
  display: none !important;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 70px;
}
html.i18n-pending body { visibility: hidden; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  display: block;
  max-width: 100%;
}
button,
a {
  -webkit-tap-highlight-color: transparent;
}
a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.page-container {
  width: min(var(--page-width), calc(100% - 40px));
  margin-inline: auto;
}
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid rgba(29, 41, 37, 0.1);
  background: rgba(251, 250, 247, 0.94);
  box-shadow: 0 5px 22px rgba(29, 41, 37, 0.035);
  backdrop-filter: blur(16px);
}
.site-nav {
  position: relative;
  display: flex;
  width: min(var(--page-width), calc(100% - 40px));
  min-height: 72px;
  margin-inline: auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.wordmark {
  display: inline-flex;
  min-width: 0;
  flex: 0 1 auto;
  align-items: center;
  gap: 11px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.wordmark-portrait {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
}
.wordmark-copy {
  display: flex;
  flex-direction: column;
  gap: 2px;
  white-space: nowrap;
}
.wordmark-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.15;
}
.wordmark-role {
  color: var(--muted);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.015em;
  line-height: 1.3;
}
.site-header .wordmark-name { font-size: 18px; font-weight: 700; }
.site-header .wordmark-role { font-size: 10px; font-weight: 500; }
html[lang="ne"] .site-header .wordmark-name {
  font-family: "Khand", "Mukta", sans-serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.05;
}
html[lang="ne"] .site-header .wordmark-role {
  font-family: "Mukta", sans-serif;
  font-size: 12px;
  letter-spacing: 0;
  line-height: 1.2;
}
.wordmark-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--accent);
  border-radius: 50%;
  color: var(--accent);
  font-family: var(--serif);
  font-size: 13px;
  letter-spacing: -0.06em;
}
.nav-links {
  position: absolute;
  top: 100%;
  right: 0;
  left: 0;
  display: none;
  align-items: stretch;
  gap: 0;
  width: 100%;
  box-sizing: border-box;
  padding: 12px 18px 18px;
  border: 1px solid rgba(29, 41, 37, 0.1);
  border-top: 0;
  border-radius: 0 0 10px 10px;
  background: rgba(251, 250, 247, 0.98);
  box-shadow: 0 18px 30px rgba(29, 41, 37, 0.12);
  color: #46534d;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 500;
}
.nav-links.nav-links-open {
  display: flex;
  flex-direction: column;
}
.nav-links a {
  padding: 12px 2px;
  border-bottom: 1px solid rgba(29, 41, 37, 0.08);
}
.nav-links a {
  transition: color 0.18s ease, background-color 0.18s ease;
}
.nav-links a:hover {
  color: var(--accent);
}
.nav-links a[aria-current="location"],
.nav-links a[aria-current="page"] {
  color: var(--accent);
  font-weight: 600;
}
.nav-links .nav-contact {
  margin-top: 12px;
  padding: 11px 14px;
  border: 1px solid rgba(168, 95, 62, 0.44);
  border-radius: 4px;
  background: rgba(168, 95, 62, 0.06);
  color: var(--ink);
  text-align: center;
}
.nav-links .nav-contact:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.nav-links .nav-contact[aria-current="location"],
.nav-links .nav-contact[aria-current="page"] {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}
.menu-toggle {
  display: inline-flex;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid rgba(29, 41, 37, 0.16);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
  font: 600 12px var(--sans);
  cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.menu-toggle:hover { border-color: var(--accent); background: #fff; }
.nav-actions {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}
.language-switch {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 3px;
  margin-left: 0;
  padding: 3px;
  border: 1px solid rgba(29, 41, 37, 0.12);
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.52);
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}
.language-switch button {
  min-width: 34px;
  min-height: 30px;
  padding: 0 8px;
  border: 0;
  border-radius: 3px;
  background: transparent;
  color: inherit;
  font: 600 10px var(--sans);
  cursor: pointer;
}
.language-switch button[aria-pressed="true"] {
  background: var(--ink);
  color: #fff;
}
@media (max-width: 380px) {
  .site-header .wordmark-name { font-size: 16px; }
  .site-header .wordmark-role { font-size: 9px; }
  html[lang="ne"] .site-header .wordmark-name { font-size: 20px; }
  html[lang="ne"] .site-header .wordmark-role { font-size: 11px; }
  .menu-toggle { padding-inline: 6px 2px; }
}
@media (max-width: 340px) {
  .site-header .wordmark-name { font-size: 15px; }
  .site-header .wordmark-role { font-size: 8px; }
}

.hero-section {
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 78% 38%, rgba(214, 154, 116, 0.16), transparent 34%),
    linear-gradient(125deg, #fbfaf7 0%, var(--paper) 58%, #eee9df 100%);
}
.hero-map {
  position: absolute;
  z-index: 0;
  top: 10px;
  left: 0;
  width: min(88vw, 520px);
  height: 430px;
  background: url("../images/ratnanagar-boundary.svg") left center / contain no-repeat;
  opacity: 0.14;
  pointer-events: none;
}
.hero-layout {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  gap: clamp(36px, 5vw, 72px);
  padding-block: 64px 76px;
}
.hero-copy {
  min-width: 0;
  max-width: 620px;
  padding-block: 8px;
}
.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
  text-transform: uppercase;
}
.eyebrow {
  display: flex;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  gap: 10px;
  padding: 9px 14px;
  border: 1px solid rgba(29, 41, 37, 0.12);
  border-radius: 5px;
  background: rgba(251, 250, 247, 0.84);
  box-shadow: 0 7px 18px rgba(29, 41, 37, 0.045);
  color: #3f5149;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.075em;
  line-height: 1.4;
  text-transform: uppercase;
}
.eyebrow-line {
  width: 16px;
  flex: 0 0 16px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.eyebrow-dot {
  color: #a0a69f;
  font-weight: 400;
}
.eyebrow-location {
  color: var(--accent);
  font-weight: 700;
}
.hero-copy h1 {
  margin: 22px 0 0;
  font-family: var(--serif);
  font-size: clamp(54px, 6.2vw, 88px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.92;
  white-space: nowrap;
}
.hero-copy h1 em,
.section-heading h2 em,
.community-copy h2 em,
.contact-layout h2 em {
  color: var(--accent);
  font-weight: 400;
}
.hero-copy h1 em {
  display: inline-block;
  margin-top: 13px;
  color: inherit;
  font-style: normal;
  font-weight: inherit;
}
.hero-profile-role {
  margin: 16px 0 0;
  color: var(--accent);
  font-family: var(--sans);
  font-size: clamp(18px, 1.7vw, 21px);
  font-weight: 700;
  line-height: 1.45;
}
.hero-profile-meta {
  max-width: 490px;
  margin: 5px 0 0;
  color: var(--muted);
  font-family: var(--sans);
  font-size: 13px;
  line-height: 1.65;
}
.hero-summary {
  max-width: 540px;
  margin: 18px 0 0;
  padding: 3px 0 3px 18px;
  border-left: 2px solid rgba(168, 95, 62, 0.62);
  color: #515d57;
  font-size: clamp(16px, 1.4vw, 18px);
  line-height: 1.8;
}
.hero-summary strong { color: var(--ink); font-weight: 600; }
.hero-facts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 28px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid rgba(29, 41, 37, 0.12);
}
.hero-facts div {
  min-width: 0;
  padding: 11px 13px;
  border: 1px solid rgba(29, 41, 37, 0.11);
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.78);
}
.hero-facts dt {
  margin-bottom: 2px;
  color: var(--accent);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.07em;
  line-height: 1.5;
  text-transform: uppercase;
}
.hero-facts dd {
  margin: 0;
  color: #414c47;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  margin-top: 24px;
}
.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 0 20px;
  border: 1px solid var(--accent-deep);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 600;
  transition:
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}
.button-primary {
  border-radius: 3px;
  background: var(--accent-deep);
  color: white;
  box-shadow: 0 8px 20px rgba(38, 62, 71, 0.16);
}
.button-primary:hover {
  border-color: var(--accent);
  background: var(--accent);
}
.button span {
  font-size: 16px;
  font-weight: 400;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.text-link span {
  color: var(--accent);
  font-size: 15px;
  transition: transform 0.18s ease;
}
.text-link:hover span {
  transform: translate(2px, -2px);
}
.hero-note {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  max-width: 100%;
  margin-top: 30px;
  padding: 15px 18px;
  border: 1px solid rgba(29, 41, 37, 0.1);
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.78);
  box-shadow: 0 8px 24px rgba(29, 41, 37, 0.045);
  color: #53605a;
  font-size: 13px;
  line-height: 1.55;
}
.hero-note-number {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 40px;
  line-height: 1;
}
.hero-note small {
  color: #7a837e;
  font-size: 11px;
}
.hero-portrait {
  position: relative;
  isolation: isolate;
  width: min(calc(100% - 14px), 430px);
  max-width: 430px;
  height: min(118vw, 520px);
  margin: 0 14px 0 0;
  border: 1px solid rgba(29, 41, 37, 0.12);
  border-radius: 4px;
  background: #d8d5cc;
  box-shadow: 0 24px 58px rgba(29, 41, 37, 0.16);
}
.hero-portrait::before {
  position: absolute;
  z-index: -1;
  top: 14px;
  right: -14px;
  bottom: -14px;
  left: 14px;
  border: 1px solid rgba(168, 95, 62, 0.52);
  border-radius: 4px;
  content: "";
}
.hero-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 34%;
}
.hero-photo-slide { position: relative; width: 100%; height: 100%; margin: 0; }
.hero-photo-slide > a { display: block; width: 100%; height: 100%; overflow: hidden; border-radius: inherit; }
.hero-photo-slide img { transition: transform .5s ease; }
.hero-photo-slide > a:hover img { transform: scale(1.025); }
.hero-index {
  position: absolute;
  right: 0;
  bottom: 21px;
  display: flex;
  gap: 18px;
  margin: 0;
  color: #778079;
  font-size: 8px;
  font-weight: 600;
  letter-spacing: 0.14em;
}
.hero-index span {
  color: var(--accent);
}

.section {
  padding-block: 70px;
}
.section-profile {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 12% 15%, rgba(214, 154, 116, 0.1), transparent 30%),
    linear-gradient(135deg, #fbfaf7, #f4f1e9);
}
.section-agenda {
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 90% 8%, rgba(214, 154, 116, 0.12), transparent 30%),
    linear-gradient(145deg, #ebe8df, #f3f0e8);
}
.agenda-topline {
  align-items: end;
  gap: 28px;
  margin-bottom: 36px;
}
.agenda-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.agenda-grid li {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(29, 41, 37, 0.11);
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.82);
  box-shadow: 0 8px 22px rgba(29, 41, 37, 0.035);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}
.agenda-grid li:hover {
  transform: translateY(-3px);
  border-color: rgba(168, 95, 62, 0.42);
  box-shadow: 0 14px 28px rgba(29, 41, 37, 0.08);
}
.agenda-number {
  grid-row: auto;
  color: var(--accent);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
}
.agenda-mark {
  display: block;
  width: 28px;
  height: 2px;
  margin: 17px 0 13px;
  background: var(--accent);
  font-size: 0;
}
.agenda-grid h3 {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
  line-height: 1.35;
}
.agenda-grid p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}
html[lang="ne"] .agenda-grid p { font-size: 16px; line-height: 1.7; }
.profile-layout,
.education-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 26px;
}
.section-kicker {
  margin-bottom: 24px;
}
.section-kicker span {
  padding-inline: 5px;
  color: #b4a99d;
}
.section-heading h2,
.community-copy h2,
.contact-layout h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
#profile-title { font-size: clamp(32px, 4vw, 54px); line-height: 1.18; }
.section-heading h2 em,
.community-copy h2 em,
.contact-layout h2 em {
  display: inline-block;
  margin-top: 8px;
}
.profile-copy {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: start;
  gap: 20px 26px;
  max-width: 580px;
  padding-top: 0;
}
.profile-copy p {
  min-width: 0;
  margin: 0;
  color: #58635e;
  font-size: 14px;
  line-height: 1.9;
}
.profile-copy .profile-lead {
  grid-column: 1 / -1;
  margin: 0;
  padding: 21px 23px;
  border: 1px solid rgba(29, 41, 37, 0.1);
  border-left: 3px solid var(--accent);
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(29, 41, 37, 0.045);
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(25px, 3vw, 34px);
  line-height: 1.3;
}
.profile-copy .text-link {
  grid-column: 1 / -1;
  justify-self: start;
  margin-top: 0;
}
.profile-copy p:not(.profile-lead) {
  padding-top: 16px;
  border-top: 1px solid rgba(29, 41, 37, 0.12);
}

.profile-document {
  max-width: 1080px;
  color: var(--ink);
  font-family: "Mukta", sans-serif;
}
.profile-document-section { margin-top: 30px; }
.profile-document-section h3 {
  margin: 0 0 14px;
  padding-left: 13px;
  border-left: 4px solid var(--accent);
  font-family: "Khand", "Mukta", sans-serif;
  font-size: clamp(25px, 3vw, 32px);
  font-weight: 600;
  line-height: 1.3;
}
.profile-document-section p {
  margin: 0;
  color: #414c47;
  font-size: 17px;
  line-height: 1.95;
  text-align: justify;
  text-justify: inter-word;
}
.profile-document-section strong { color: var(--ink); font-weight: 700; }
.profile-pledge {
  margin-top: 30px;
  padding: 18px 22px;
  border: 1px solid rgba(35, 142, 177, 0.24);
  border-left: 5px solid #238eb1;
  border-radius: 5px;
  background: #eff9fc;
}
.profile-pledge h3 {
  margin: 0 0 5px;
  color: #238eb1;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
}
.profile-pledge p {
  margin: 0;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}
@media (max-width: 820px) {
  .hero-facts { gap: 8px; }
}
@media (max-width: 480px) {
  .profile-pledge { padding: 16px; }
}
@media (max-width: 340px) {
  .hero-facts { grid-template-columns: minmax(0, 1fr); }
}

.section-experience {
  background: var(--paper);
}
.section-topline {
  display: flex;
  align-items: start;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 30px;
}
.section-aside {
  max-width: 400px;
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.experience-list {
  position: relative;
  padding-left: 30px;
  border-top: 0;
}
.experience-list::before {
  position: absolute;
  top: 8px;
  bottom: 12px;
  left: 7px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(168, 95, 62, 0.5), #c9c7bd 88%, transparent);
  content: "";
}
.experience-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  padding: 0 0 26px;
  border-bottom: 1px solid var(--line);
}
.experience-row + .experience-row { padding-top: 24px; }
.experience-date {
  display: flex;
  min-width: 0;
  grid-column: 1;
  align-items: center;
  gap: 0;
  color: #606d66;
  font-size: 12px;
}
.status-dot {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px var(--paper);
}
.past-mark {
  position: absolute;
  top: 5px;
  left: 3px;
  width: 8px;
  height: 8px;
  border: 1px solid #89928c;
  border-radius: 50%;
  background: var(--paper);
}
.experience-detail h3,
.education-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(21px, 2.4vw, 29px);
  font-weight: 400;
  letter-spacing: -0.025em;
}
.experience-detail p,
.education-row p {
  margin: 7px 0 0;
  color: #64706a;
  font-size: 11px;
  line-height: 1.7;
}
.detail-divider {
  padding-inline: 5px;
  color: #b3a999;
}
.experience-type {
  grid-column: 1;
  grid-row: 3;
  justify-self: start;
  max-width: 100%;
  padding: 4px 10px;
  border: 1px solid rgba(168, 95, 62, 0.22);
  border-radius: 999px;
  background: rgba(251, 250, 247, 0.72);
  color: #717c76;
  font-size: 11px;
  line-height: 1.4;
  text-align: left;
}
.experience-row-past .experience-date,
.experience-row-past .experience-type {
  color: #87908a;
}

.section-education {
  background:
    radial-gradient(ellipse at 88% 12%, rgba(214, 154, 116, 0.11), transparent 32%),
    linear-gradient(135deg, #ebe8df, #f4f1e9);
}
.education-layout {
  align-items: start;
}
.education-list {
  position: relative;
  display: grid;
  gap: 14px;
  padding-left: 24px;
  border-top: 0;
}
.education-list::before {
  position: absolute;
  top: 16px;
  bottom: 16px;
  left: 5px;
  width: 1px;
  background: linear-gradient(to bottom, rgba(168, 95, 62, 0.48), #c9c7bd 88%, transparent);
  content: "";
}
.education-row {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  align-items: start;
  gap: 10px;
  padding: 18px 20px;
  border: 1px solid rgba(29, 41, 37, 0.1);
  border-radius: 4px;
  background: rgba(251, 250, 247, 0.82);
  box-shadow: 0 8px 22px rgba(29, 41, 37, 0.035);
}
.education-row::before {
  position: absolute;
  top: 22px;
  left: -24px;
  width: 8px;
  height: 8px;
  border: 1px solid var(--accent);
  border-radius: 50%;
  background: var(--paper-light);
  box-shadow: 0 0 0 4px #ebe8df;
  content: "";
}
.education-year {
  grid-column: auto;
  width: fit-content;
  padding: 4px 9px;
  border: 1px solid rgba(168, 95, 62, 0.2);
  border-radius: 999px;
  background: rgba(214, 154, 116, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.45;
}
.education-row h3 {
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.3;
}
.education-row p { font-size: 14px; line-height: 1.7; }

.community-feature {
  display: grid;
  grid-template-columns: 1fr;
  background: linear-gradient(125deg, #20343a 0%, var(--accent-deep) 52%, #1d2925 100%);
  color: #f8f6f0;
}
.community-photo-wrap {
  position: relative;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  isolation: isolate;
  background: #9a9a8f;
}
.community-photo-wrap::before,
.community-photo-wrap::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}
.community-photo-wrap::before {
  z-index: 2;
  inset: 15px;
  border: 1px solid rgba(248, 246, 240, 0.42);
}
.community-photo-wrap::after {
  z-index: 1;
  background: linear-gradient(180deg, rgba(29, 41, 37, 0.02) 45%, rgba(29, 41, 37, 0.24) 100%);
}
.community-photo-wrap img {
  z-index: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  object-fit: cover;
  object-position: center 42%;
}
.community-copy {
  display: flex;
  max-width: 680px;
  flex-direction: column;
  justify-content: center;
  padding: 64px 20px 70px;
  background: radial-gradient(ellipse at 92% 8%, rgba(214, 154, 116, 0.11), transparent 34%);
}
.section-kicker-light {
  color: #d69a74;
}
.community-copy .section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  padding: 7px 11px;
  border: 1px solid rgba(214, 154, 116, 0.28);
  border-radius: 999px;
  background: rgba(248, 246, 240, 0.035);
}
.community-copy h2 {
  font-size: clamp(45px, 5vw, 68px);
}
.community-copy h2 em,
.contact-layout h2 em {
  color: #d69a74;
}
.community-copy > p:not(.section-kicker) {
  max-width: 420px;
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(214, 154, 116, 0.72);
  color: rgba(248, 246, 240, 0.72);
  font-size: 15px;
  line-height: 1.8;
}
.community-list {
  margin: 30px 0 0;
  padding: 0;
  border-top: 1px solid rgba(248, 246, 240, 0.2);
  list-style: none;
}
.community-list > li {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: start;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(248, 246, 240, 0.2);
}
.community-list > li > span {
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  border: 1px solid rgba(214, 154, 116, 0.48);
  border-radius: 50%;
  color: #d69a74;
  font-size: 11px;
}
.community-list p {
  margin: 0;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.5;
}
.community-list small {
  display: block;
  margin-top: 4px;
  color: rgba(248, 246, 240, 0.62);
  font-size: 13px;
  line-height: 1.5;
  font-weight: 400;
}

/* === Certificate feature === */
.certificate-feature {
  padding-block: clamp(70px, 9vw, 120px);
  background:
    radial-gradient(ellipse at 8% 18%, rgba(214, 154, 116, 0.1), transparent 34%),
    linear-gradient(135deg, #fbfaf7, #f2efe7);
}
.certificate-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  gap: clamp(32px, 6vw, 76px);
}
.certificate-card {
  margin: 0;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 5px;
  background: white;
  box-shadow: 12px 12px 0 #e6e1d6, 0 20px 42px rgba(29, 41, 37, 0.08);
}
.certificate-card img {
  width: 100%;
  height: auto;
}
.certificate-copy {
  max-width: 430px;
}
.certificate-copy .section-kicker {
  display: inline-flex;
  align-items: center;
  margin-bottom: 22px;
  padding: 7px 11px;
  border: 1px solid rgba(168, 95, 62, 0.2);
  border-radius: 999px;
  background: rgba(214, 154, 116, 0.08);
}
.certificate-copy h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(42px, 5vw, 66px);
  font-weight: 400;
  letter-spacing: -0.055em;
  line-height: 0.98;
}
.certificate-copy h2 em {
  display: inline-block;
  margin-top: 8px;
  color: var(--accent);
  font-weight: 400;
}
.certificate-copy > p:not(.section-kicker) {
  margin: 22px 0 0;
  padding-left: 16px;
  border-left: 2px solid rgba(168, 95, 62, 0.58);
  color: #58635e;
  font-size: 15px;
  line-height: 1.8;
}

.section-press {
  background:
    radial-gradient(ellipse at 92% 6%, rgba(214, 154, 116, 0.1), transparent 32%),
    var(--paper-light);
}
.press-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
.press-row {
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  padding: 22px;
  border: 1px solid rgba(29, 41, 37, 0.1);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 8px 22px rgba(29, 41, 37, 0.035);
}
.press-label {
  width: fit-content;
  padding: 5px 9px;
  border: 1px solid rgba(168, 95, 62, 0.22);
  border-radius: 999px;
  background: rgba(214, 154, 116, 0.08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.press-row h3 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(20px, 2vw, 25px);
  font-weight: 400;
  line-height: 1.35;
}
.press-row p {
  margin: 0;
  color: #737d77;
  font-size: 14px;
  line-height: 1.65;
}

.contact-section {
  padding-block: clamp(68px, 8vw, 105px);
  background:
    radial-gradient(ellipse at 88% 12%, rgba(214, 154, 116, 0.14), transparent 34%),
    linear-gradient(125deg, #1d2925, #263e47 72%, #20343a);
  color: #f7f4ee;
}
.contact-layout {
  display: grid;
  grid-template-columns: 1fr;
  align-items: end;
  gap: 30px;
}
.contact-layout h2 {
  font-size: clamp(48px, 6vw, 76px);
}
.contact-copy {
  max-width: 430px;
  padding: 28px;
  border: 1px solid rgba(247, 244, 238, 0.16);
  border-radius: 4px;
  background: rgba(247, 244, 238, 0.045);
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.1);
}
.contact-copy > p {
  margin: 0;
  color: rgba(247, 244, 238, 0.76);
  font-family: var(--serif);
  font-size: 22px;
  line-height: 1.45;
}
.contact-location {
  margin: 24px 0 0;
  color: #d69a74;
  font-family: var(--sans);
  font-size: clamp(14px, 1.5vw, 17px);
  line-height: 1.6;
}
.contact-call-button {
  width: fit-content;
  min-height: 50px;
  margin-top: 26px;
  border-radius: 3px;
  border-color: #d69a74;
  background: #d69a74;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}
.contact-call-button svg { width: 18px; height: 18px; }
.site-footer {
  background: var(--ink);
  color: rgba(247, 244, 238, 0.62);
}
.footer-layout {
  display: flex;
  min-height: 76px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(247, 244, 238, 0.16);
  font-size: 9px;
}
.footer-layout p {
  margin: 0;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 18px;
}
.footer-links a {
  color: #f7f4ee;
  font-size: 9px;
  transition: color 0.18s ease;
}
.footer-links a:hover {
  color: #d69a74;
}
.footer-links .fa-facebook-f {
  margin-right: 6px;
  font-size: 14px;
}
.footer-links a span {
  margin-left: 3px;
  color: #d69a74;
  font-size: inherit;
}
.footer-wordmark {
  color: #f7f4ee;
  font-size: 11px;
}
.footer-wordmark .wordmark-portrait {
  width: 44px;
  height: 44px;
  flex-basis: 44px;
}
.footer-wordmark .wordmark-role {
  color: rgba(247, 244, 238, 0.74);
}
.footer-wordmark .wordmark-mark {
  width: 28px;
  height: 28px;
  border-color: rgba(214, 154, 116, 0.8);
  color: #d69a74;
  font-size: 11px;
}
.site-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(125deg, #1d2925, #263e47);
}
.site-footer::after {
  position: absolute;
  z-index: 0;
  right: 0;
  bottom: 0;
  left: 0;
  height: min(100%, 460px);
  background:
    linear-gradient(180deg, rgba(29, 41, 37, 0.97) 0%, rgba(29, 41, 37, 0.86) 46%, rgba(29, 41, 37, 0.72) 100%),
    url("../images/footer-ratnanagar-photo.png") center bottom / 100% auto no-repeat;
  content: "";
  pointer-events: none;
}
.site-footer::before {
  position: absolute;
  z-index: 2;
  top: 0;
  right: 0;
  left: 0;
  height: 2px;
  background: linear-gradient(90deg, #a85f3e, #d69a74 36%, rgba(214, 154, 116, 0.08) 82%);
  content: '';
}
.footer-main {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  padding-block: 56px 48px;
}
.footer-brand { grid-column: 1 / -1; max-width: 440px; }
.footer-wordmark {
  gap: 14px;
  color: #f7f4ee;
  font-family: var(--sans);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.025em;
}
.footer-wordmark .wordmark-name { font-size: 22px; font-weight: 700; line-height: 1.15; }
.footer-wordmark .wordmark-role { font-size: 11px; font-weight: 500; letter-spacing: 0; line-height: 1.35; }
.footer-wordmark .wordmark-portrait {
  width: 48px;
  height: 48px;
  flex-basis: 48px;
  padding: 2px;
  border: 1px solid rgba(241, 180, 140, 0.44);
  border-radius: 50%;
  background: rgba(247, 244, 238, 0.08);
}
.footer-brand > p {
  max-width: 390px;
  margin: 20px 0 18px;
  color: rgba(247, 244, 238, 0.82);
  font-size: 14px;
  line-height: 1.75;
}
.footer-location {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: rgba(247, 244, 238, 0.82);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
}
.footer-location-icon {
  width: 19px;
  height: 19px;
  flex: 0 0 19px;
  color: #e0a47d;
}
.footer-label {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: 0 0 18px;
  color: #f1b48c;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.footer-label::after { width: 28px; height: 1px; background: rgba(241, 180, 140, 0.7); content: ""; }
.footer-nav,
.footer-connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.footer-nav a,
.footer-connect a {
  color: rgba(247, 244, 238, 0.88);
  font-size: 13px;
  line-height: 1.6;
  transition: color 0.18s ease, transform 0.18s ease;
}
.footer-nav a + a,
.footer-connect a + a { margin-top: 12px; }
.footer-nav a:hover,
.footer-connect a:hover {
  color: #f1b48c;
  transform: translateX(2px);
}
.footer-connect a {
  display: flex;
  width: 100%;
  align-items: center;
  gap: 10px;
  overflow-wrap: anywhere;
}
.footer-link-icon {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
  color: #d69a74;
  font-size: 16px;
}
.footer-connect a span {
  margin-left: auto;
  color: #d69a74;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 58px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid rgba(247, 244, 238, 0.15);
  font-size: 11px;
}
.footer-bottom p { margin: 0; }
.footer-bottom p:nth-child(2) { color: rgba(247, 244, 238, 0.68); }
.footer-bottom a { color: rgba(247, 244, 238, 0.88); }
.footer-bottom a:hover { color: #f1b48c; }
.footer-bottom a span { margin-left: 5px; color: #d69a74; }

/* === Floating contact action === */
.whatsapp-float {
  position: fixed;
  z-index: 40;
  right: 24px;
  bottom: 24px;
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 8px 24px rgba(29, 41, 37, 0.2);
  color: white;
  font-size: 25px;
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease;
}

.service-gallery {
  padding-block: 66px 74px;
  border-bottom: 1px solid var(--line);
  background:
    radial-gradient(ellipse at 12% 8%, rgba(214, 154, 116, 0.1), transparent 30%),
    linear-gradient(145deg, #fbfaf7, #f1eee6);
}
.service-gallery-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 28px;
}
.service-gallery-heading .section-heading h2 {
  margin: 0;
  font-family: var(--serif);
  font-size: clamp(38px, 8vw, 66px);
  font-weight: 400;
  letter-spacing: -.055em;
  line-height: .96;
}
.service-gallery-heading h2 em { color: var(--accent); font-weight: 400; }
.service-gallery-intro { max-width: 380px; }
.service-gallery-intro p { margin: 0 0 12px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.service-photo-swiper { overflow: hidden; }
.service-photo-card { min-width: 0; margin: 0; }
.service-photo-card > a { display: block; overflow: hidden; aspect-ratio: 16 / 7; background: #dedbd2; box-shadow: 0 18px 38px rgba(29, 41, 37, 0.12); }
.service-photo-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-photo-card > a:hover img { transform: scale(1.035); }
.service-gallery-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; width: min(var(--page-width), calc(100% - 40px)); margin: 23px auto 0; }
.service-gallery-pagination { display: flex; min-width: 0; align-items: center; gap: 14px; }
.service-gallery-controls .swiper-pagination { position: static; display: flex; width: auto; align-items: center; gap: 4px; }
.service-gallery-controls .swiper-pagination-bullet { width: 6px; height: 6px; margin: 0 !important; background: #a9ada7; opacity: .7; }
.service-gallery-controls .swiper-pagination-bullet-active { width: 20px; border-radius: 5px; background: var(--accent); opacity: 1; }
.service-gallery-counter { min-width: 44px; color: var(--muted); font-size: 12px; font-variant-numeric: tabular-nums; font-weight: 600; letter-spacing: .06em; text-align: center; }
.service-gallery-arrows { display: flex; gap: 7px; }
.service-gallery-arrows button { display: inline-flex; min-height: 40px; align-items: center; justify-content: center; gap: 7px; padding: 0 12px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255, 255, 255, .45); color: var(--ink); font: 500 12px/1 var(--sans); white-space: nowrap; cursor: pointer; transition: border-color .18s ease, background .18s ease, color .18s ease; }
.service-gallery-arrows button:hover { border-color: var(--accent); background: #fff; color: var(--accent); }
.service-gallery-arrows button.swiper-button-disabled { opacity: .38; cursor: default; }
.service-gallery-arrows button span[aria-hidden="true"] { font-size: 17px; line-height: 1; }

@media (max-width: 600px) {
  .service-gallery { padding-block: 48px 58px; }
  .service-gallery-heading { align-items: start; flex-direction: column; gap: 14px; }
  .service-gallery-intro { max-width: 400px; }
  .service-gallery-controls { flex-wrap: wrap; }
  .service-gallery-arrows { margin-left: auto; }
  .service-photo-card > a { aspect-ratio: 4 / 3; }
}

@media (min-width: 681px) and (max-width: 900px) {
  .hero-portrait { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .service-photo-card img,
  .hero-photo-slide img { transition: none; }
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 11px 28px rgba(29, 41, 37, 0.28);
}

.footer-bottom {
  min-height: 0;
  flex-wrap: wrap;
  gap: 12px 20px;
  padding-block: 16px;
}
.footer-bottom p:nth-child(2) { flex-basis: 100%; order: 1; }
.whatsapp-float {
  right: 16px;
  bottom: 16px;
  width: 48px;
  height: 48px;
  font-size: 23px;
}

@media (min-width: 681px) {
  html { scroll-padding-top: 88px; }
  .page-container,
  .site-nav { width: min(var(--page-width), calc(100% - 64px)); }
  .site-nav { height: 78px; }
  .section { padding-block: clamp(76px, 9vw, 126px); }
  .agenda-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .agenda-grid li { min-height: 220px; padding: 26px; }
  .section-topline {
    align-items: end;
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
    margin-bottom: 42px;
  }
  .section-aside { max-width: 280px; margin: 0 0 5px; }
  .experience-row {
    grid-template-columns: 150px minmax(0, 1fr) 130px;
    align-items: center;
    gap: 18px 42px;
    padding: 24px 0;
  }
  .experience-list { padding-left: 0; }
  .experience-list::before { top: 22px; bottom: 22px; left: 171px; }
  .experience-row + .experience-row { padding-top: 24px; }
  .experience-date { grid-column: 1; grid-row: 1; justify-content: flex-end; padding-right: 16px; text-align: right; }
  .status-dot,
  .past-mark { top: 50%; left: 167px; transform: translateY(-50%); }
  .experience-detail { grid-column: 2; grid-row: 1; }
  .experience-type {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
    max-width: 130px;
    text-align: center;
  }
  .education-row {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    padding: 22px 24px;
  }
  .education-year { grid-column: auto; }
  .community-photo-wrap { aspect-ratio: 4 / 3; }
  .community-copy { padding: 55px 42px; }
  .press-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .press-row { padding: 24px; }
  .press-row h3 { font-size: clamp(18px, 2.2vw, 24px); }
  .contact-layout { grid-template-columns: 1fr 1fr; gap: 40px; }
  .contact-copy > p { font-size: 24px; }
  .footer-main {
    grid-template-columns: minmax(0, 1fr) minmax(0, 0.8fr);
    gap: 34px;
    padding-block: 50px 42px;
  }
  .footer-bottom {
    min-height: 58px;
    flex-wrap: nowrap;
    gap: 20px;
    padding-block: 0;
  }
  .footer-bottom p:nth-child(2) { flex-basis: auto; order: 0; }
  .whatsapp-float { right: 24px; bottom: 24px; width: 52px; height: 52px; font-size: 25px; }
}

@media (min-width: 1101px) {
  .site-nav { gap: clamp(20px, 3vw, 44px); }
  .menu-toggle { display: none; }
  .nav-links {
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    display: flex;
    width: max-content;
    flex: 0 0 auto;
    align-items: center;
    gap: clamp(12px, 1.45vw, 20px);
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    font-size: 12px;
    line-height: 1.45;
    transform: translate(-50%, -50%);
  }
  .nav-links.nav-links-open { flex-direction: row; }
  .nav-links a { position: relative; padding: 10px 0; border: 0; white-space: nowrap; }
  .nav-links a:not(.nav-contact)::after {
    position: absolute;
    right: 0;
    bottom: 3px;
    left: 0;
    height: 2px;
    transform: scaleX(0);
    transform-origin: left;
    background: var(--accent);
    content: "";
    transition: transform 0.18s ease;
  }
  .nav-links a:not(.nav-contact):hover::after,
  .nav-links a:not(.nav-contact)[aria-current="location"]::after,
  .nav-links a:not(.nav-contact)[aria-current="page"]::after { transform: scaleX(1); }
  .nav-links .nav-contact {
    margin: 0;
    padding: 10px 15px;
    border: 1px solid var(--accent-deep);
    border-radius: 4px;
    background: var(--accent-deep);
    color: #fff;
    transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
  }
  .nav-links .nav-contact:hover { transform: translateY(-1px); border-color: var(--accent); background: var(--accent); color: #fff; }
  .nav-links .nav-contact[aria-current="location"],
  .nav-links .nav-contact[aria-current="page"] { border-color: var(--accent); background: var(--accent); color: #fff; }
  .nav-actions { margin-left: auto; }
  html[lang="ne"] .nav-links { font-size: 13px; line-height: 1.4; }
}

@media (min-width: 901px) {
  .hero-map {
    top: 28px;
    left: max(0px, calc((100vw - var(--page-width)) / 2));
    width: min(48vw, 590px);
    height: calc(100% - 56px);
    opacity: 0.27;
  }
  .hero-layout {
    box-sizing: border-box;
    min-height: 650px;
    min-height: min(760px, max(640px, calc(100svh - 78px)));
    grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.82fr);
    gap: clamp(42px, 6vw, 88px);
    padding-block: 52px 72px;
  }
  .hero-copy h1 { margin-top: 24px; font-size: clamp(54px, 6.2vw, 88px); }
  .hero-actions { gap: 22px; margin-top: 22px; }
  .hero-facts { margin-top: 30px; }
  .hero-note { margin-top: 38px; }
  .hero-portrait {
    width: 100%;
    max-width: 430px;
    height: min(520px, 54vw);
    margin: 0 0 0 auto;
  }
  .hero-portrait::before { top: 22px; right: -22px; bottom: -22px; left: 22px; }
  .hero-index { bottom: 30px; }
  .profile-layout,
  .education-layout {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    gap: clamp(45px, 8vw, 110px);
  }
  .profile-copy { padding-top: 31px; }
  .experience-row {
    min-height: 122px;
  }
  .experience-type { justify-self: end; }
  .education-row { grid-template-columns: 135px minmax(0, 1fr); }
  .community-feature {
    min-height: 620px;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  .community-photo-wrap { min-height: 620px; aspect-ratio: auto; }
  .community-copy { padding: clamp(48px, 8vw, 110px); }
  .certificate-layout {
    grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
    gap: clamp(42px, 8vw, 110px);
  }
  .certificate-card { box-shadow: 12px 12px 0 #e6e1d6; }
  .press-list { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .contact-layout { gap: 60px; }
  .footer-main {
    grid-template-columns: minmax(0, 1.4fr) minmax(150px, 0.65fr) minmax(240px, 0.9fr);
    gap: clamp(34px, 7vw, 100px);
    padding-block: 58px 52px;
  }
  .footer-brand { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

/* Nepali glyphs need more vertical room and should wrap naturally on small screens. */
html[lang="ne"] body { overflow-wrap: anywhere; }
html[lang="ne"] .hero-copy h1,
html[lang="ne"] .section-heading h2,
html[lang="ne"] .community-copy h2,
html[lang="ne"] .contact-layout h2,
html[lang="ne"] .certificate-copy h2,
html[lang="ne"] .experience-detail h3,
html[lang="ne"] .education-row h3,
html[lang="ne"] .press-row h3,
html[lang="ne"] .gallery-intro h1 {
  font-family: "Khand", "Mukta", sans-serif;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.2;
}
html[lang="ne"] .profile-copy .profile-lead,
html[lang="ne"] .contact-copy > p,
html[lang="ne"] .hero-profile-role,
html[lang="ne"] .hero-profile-meta,
html[lang="ne"] .hero-facts {
  font-family: "Mukta", sans-serif;
  line-height: 1.7;
}
html[lang="ne"] .hero-profile-role { font-size: 20px; }
html[lang="ne"] .hero-profile-meta { font-size: 15px; }
html[lang="ne"] .hero-facts dt { font-size: 14px; letter-spacing: 0; text-transform: none; }
html[lang="ne"] .hero-facts dd { font-size: 15px; }
html[lang="ne"] .hero-copy .eyebrow {
  font-family: "Mukta", sans-serif;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.35;
  text-transform: none;
}

@media (max-width: 680px) {
  .hero-layout { min-width: 0; gap: 34px; padding-block: 48px 60px; }
  .profile-copy { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .profile-copy .profile-lead { padding: 18px 20px; }
  .hero-summary { box-sizing: border-box; width: 100%; max-width: 100%; padding-right: 16px; overflow-wrap: normal; word-break: normal; text-align: justify; text-justify: inter-word; }
  .hero-copy h1 { font-size: clamp(30px, 10vw, 64px); line-height: 1.22; white-space: nowrap; }
  .hero-copy h1 br { display: none; }
  .hero-copy h1 em { margin-top: 0; }
  .hero-portrait { margin-inline: auto; }
  html[lang="ne"] .site-nav { gap: 6px; }
  html[lang="ne"] .wordmark { min-width: 0; gap: 6px; }
  html[lang="ne"] .wordmark-copy { min-width: 0; white-space: normal; gap: 1px; }
  html[lang="ne"] .site-header .wordmark-name { font-size: 20px; }
  html[lang="ne"] .site-header .wordmark-role { font-size: 11px; letter-spacing: 0; line-height: 1.2; }
  html[lang="ne"] .nav-actions { gap: 4px; }
  html[lang="ne"] .menu-toggle { padding-inline: 10px; font-family: "Mukta", sans-serif; font-size: 13px; }
  html[lang="ne"] .language-switch button { min-width: 36px; padding-inline: 7px; font-family: "Mukta", sans-serif; font-size: 12px; }
  html[lang="ne"] .eyebrow { flex-wrap: wrap; }
  html[lang="ne"] .hero-copy .eyebrow { gap: 7px; padding: 8px 11px; font-size: 14px; line-height: 1.45; }
  html[lang="ne"] .hero-note > span:last-child { min-width: 0; }

  html[lang="ne"] .hero-copy h1 { font-size: clamp(30px, 10vw, 64px); line-height: 1.22; }
  html[lang="ne"] .section-heading h2,
  html[lang="ne"] .community-copy h2,
  html[lang="ne"] .contact-layout h2,
  html[lang="ne"] .certificate-copy h2,
  html[lang="ne"] .gallery-intro h1 { font-size: clamp(34px, 9vw, 48px); line-height: 1.22; }

  html[lang="ne"] .eyebrow,
  html[lang="ne"] .section-kicker { font-size: 12px; letter-spacing: 0.02em; line-height: 1.6; }
  html[lang="ne"] .hero-summary,
  html[lang="ne"] .profile-copy p,
  html[lang="ne"] .section-aside,
  html[lang="ne"] .agenda-grid p,
  html[lang="ne"] .experience-detail p,
  html[lang="ne"] .education-row p,
  html[lang="ne"] .community-copy > p:not(.section-kicker),
  html[lang="ne"] .community-list p,
  html[lang="ne"] .service-gallery-intro p,
  html[lang="ne"] .certificate-copy > p:not(.section-kicker),
  html[lang="ne"] .press-row p,
  html[lang="ne"] .contact-copy > p,
  html[lang="ne"] .footer-brand > p,
  html[lang="ne"] .footer-nav a,
  html[lang="ne"] .footer-connect a,
  html[lang="ne"] .gallery-intro-copy > p {
    font-size: 16px;
    line-height: 1.75;
  }
  html[lang="ne"] p:not(.section-kicker):not(.eyebrow) { font-size: 16px; line-height: 1.75; }
  html[lang="ne"] .profile-copy p.profile-lead:not(.section-kicker) { font-size: 22px; line-height: 1.5; }
  html[lang="ne"] .contact-copy > p:not(.section-kicker) { font-size: 20px; }
  html[lang="ne"] .agenda-grid h3 { font-size: 17px; line-height: 1.45; }
  html[lang="ne"] .hero-note { align-items: flex-start; font-size: 15px; line-height: 1.65; }
  html[lang="ne"] .hero-note small,
  html[lang="ne"] .community-list small { font-size: 14px; line-height: 1.6; }
  html[lang="ne"] .experience-date,
  html[lang="ne"] .experience-type,
  html[lang="ne"] .education-year,
  html[lang="ne"] .press-label,
  html[lang="ne"] .footer-bottom,
  html[lang="ne"] .footer-label,
  html[lang="ne"] .gallery-count span { font-size: 13px; line-height: 1.6; }
  html[lang="ne"] .experience-type { max-width: 120px; }
  html[lang="ne"] .press-row { grid-template-columns: minmax(68px, auto) minmax(0, 1fr); }
  html[lang="ne"] .press-label { max-width: 100%; overflow-wrap: anywhere; }
  html[lang="ne"] .button,
  html[lang="ne"] .text-link { font-family: "Mukta", sans-serif; font-size: 15px; line-height: 1.5; }
  html[lang="ne"] .button { min-height: 48px; max-width: 100%; padding-block: 8px; }
}

html[lang="ne"] .footer-wordmark .wordmark-name {
  font-family: "Khand", "Mukta", sans-serif;
  font-size: 26px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.08;
}
html[lang="ne"] .footer-wordmark .wordmark-role,
html[lang="ne"] .footer-brand > p,
html[lang="ne"] .footer-location,
html[lang="ne"] .footer-nav a,
html[lang="ne"] .footer-connect a,
html[lang="ne"] .footer-bottom {
  font-family: "Mukta", sans-serif;
  line-height: 1.65;
}
html[lang="ne"] .footer-wordmark .wordmark-role { font-size: 14px; line-height: 1.25; }
html[lang="ne"] .footer-brand > p,
html[lang="ne"] .footer-nav a,
html[lang="ne"] .footer-connect a { font-size: 15px; }
html[lang="ne"] .footer-location { font-size: 14px; letter-spacing: 0; }
html[lang="ne"] .site-footer .footer-label {
  font-family: "Mukta", sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  line-height: 1.4;
  text-transform: none;
}
html[lang="ne"] .footer-bottom { font-size: 13px; }


/* Alternating editorial layout for the Nepali profile story. */
.profile-document { max-width: 1200px; }
.profile-document-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(0, 1.12fr);
  align-items: start;
  column-gap: clamp(32px, 5vw, 76px);
  row-gap: 0;
  margin-top: 0;
}
.profile-document-section + .profile-document-section {
  margin-top: clamp(58px, 8vw, 96px);
  padding-top: clamp(38px, 5vw, 64px);
  border-top: 1px solid rgba(29, 41, 37, 0.13);
}
.profile-document-copy { grid-column: 2; grid-row: 1; min-width: 0; }
.profile-document-copy p { text-align: justify; text-justify: inter-word; }
html[lang="en"] .profile-document { font-family: var(--sans); }
html[lang="en"] .profile-document-section h3 { font-family: var(--serif); font-size: clamp(26px, 2.6vw, 32px); line-height: 1.2; }
html[lang="en"] .profile-document-section p { font-size: 16px; line-height: 1.8; }
.profile-document-visual {
  grid-column: 1;
  grid-row: 1;
  aspect-ratio: 4 / 3;
  align-self: start;
  position: sticky;
  top: 100px;
  margin: 5px 0 0;
  overflow: hidden;
  border: 1px solid rgba(29, 41, 37, 0.12);
  border-radius: 5px;
  background: #e8e5dc;
  box-shadow: 0 18px 44px rgba(29, 41, 37, 0.12);
}
.profile-document-visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.profile-document-section--politics .profile-document-copy { grid-column: 1; }
.profile-document-section--politics .profile-document-visual { grid-column: 2; }

@media (max-width: 820px) {
  .profile-document-section {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 22px;
  }
  .profile-document-copy,
  .profile-document-section--politics .profile-document-copy {
    grid-column: 1;
    grid-row: 2;
  }
  .profile-document-visual,
  .profile-document-section--politics .profile-document-visual {
    aspect-ratio: 16 / 10;
    position: static;
    grid-column: 1;
    grid-row: 1;
    width: min(100%, 620px);
    margin: 0 auto;
  }
}


/* Shared section rhythm and component styling */
:root {
  --section-space: clamp(56px, 7.2vw, 104px);
  --section-header-gap: clamp(28px, 3vw, 36px);
  --card-radius: 5px;
  --card-shadow: 0 8px 24px rgba(29, 41, 37, 0.045);
}
.section {
  padding-block: var(--section-space);
  border-bottom: 1px solid var(--line);
}
.service-gallery,
.certificate-feature,
.contact-section {
  padding-block: var(--section-space);
}
.certificate-feature { border-bottom: 1px solid var(--line); }
.section-topline,
.agenda-topline,
.service-gallery-heading { margin-bottom: var(--section-header-gap); }
.section-kicker {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 5px;
  margin-bottom: 16px;
  padding: 6px 10px;
  border: 1px solid rgba(168, 95, 62, 0.2);
  border-radius: 999px;
  background: rgba(214, 154, 116, 0.06);
}
.section-kicker-light {
  border-color: rgba(214, 154, 116, 0.3);
  background: rgba(248, 246, 240, 0.04);
}
.section-heading h2,
.service-gallery-heading .section-heading h2,
.community-copy h2,
.certificate-copy h2,
.contact-layout h2 {
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
}
.agenda-grid li,
.education-row,
.press-row,
.certificate-card,
.contact-copy,
.hero-facts div,
.profile-pledge { border-radius: var(--card-radius); }
.agenda-grid li,
.education-row,
.press-row { box-shadow: var(--card-shadow); }

@media (max-width: 680px) {
  .section-topline,
  .agenda-topline,
  .service-gallery-heading { margin-bottom: 28px; }
}
