/* ==========================================================================
   Pothikrit (পথিকৃৎ) — site stylesheet
   Plain CSS, no build step. Colours and type live in the custom properties
   below; every text/background pairing used here meets WCAG AA (≥ 4.5:1).
   ========================================================================== */

:root {
  /* Palette */
  --green: #0D4A2B;
  --deep: #062A19;
  --deep-2: #083520;
  --gold: #D2AA55;          /* gold on dark surfaces only */
  --gold-text: #7A5C2E;     /* gold-toned text on light surfaces */
  --gold-line: #B08D57;     /* decorative rules & icons */
  --cream: #FBF6EA;
  --sand: #F3EBD9;
  --white: #FFFFFF;
  --line: #E6DCC6;
  --line-soft: #EFE6D2;
  --line-sand: #DCCFB2;
  --field-border: #8F8266;
  --ink: #1A2A20;
  --body: #3B4A40;
  --muted: #5E6B62;
  --error: #A3261B;

  /* Text on dark green */
  --on-dark: #FFFFFF;
  --on-dark-soft: #CFE0D4;
  --on-dark-muted: #B4CDBD;
  --on-dark-link: #E4EEE7;
  --on-dark-faint: #8DB29B;
  --dark-rule: #2A6A47;
  --dark-rule-2: #1A5C3A;

  /* Type */
  --font-display: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-bn: "Noto Serif Bengali", "Noto Sans Bengali", serif;

  /* Layout */
  --max: 1240px;
  --gutter: 24px;
  --header-h: 92px;
  --shadow-card: 0 24px 60px rgba(6, 42, 25, 0.14);
  --ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
@supports (overflow: clip) { body { overflow-x: clip; } }

img, svg { max-width: 100%; }
img { display: block; height: auto; }

a { color: var(--green); }
a:hover { color: var(--gold-text); }

input, select, textarea, button { font: inherit; }

h1, h2, h3 { text-wrap: balance; }

[lang="bn"] { font-family: var(--font-bn); }

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 3px;
}
.on-dark :focus-visible,
.on-dark:focus-visible { outline-color: var(--gold); }

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute;
  left: 16px; top: -100px;
  z-index: 100;
  background: var(--gold);
  color: var(--deep);
  font-weight: 600;
  padding: 12px 18px;
  text-decoration: none;
}
.skip-link:focus { top: 12px; color: var(--deep); outline: 3px solid var(--white); }

.container {
  max-width: var(--max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}

/* ---------- Shared typography -------------------------------------------- */
.eyebrow {
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 13px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}
.eyebrow::before {
  content: "";
  width: 32px; height: 1px;
  background: var(--gold-line);
  flex: 0 0 auto;
}
.on-dark .eyebrow { color: var(--gold); }
.on-dark .eyebrow::before { background: var(--gold); width: 48px; }
.eyebrow--plain::before { display: none; }

.kicker {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
}

.h2 {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.25rem, 1.6rem + 2.6vw, 3.375rem);
  line-height: 1.05;
  color: var(--green);
}
.h2 em { color: var(--gold-text); font-weight: 500; }
.on-dark .h2 { color: var(--on-dark); }

.lede {
  margin: 20px 0 0;
  font-size: 17px;
  line-height: 1.7;
  color: var(--body);
}

/* ---------- Buttons ------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--ease);
}
.btn--lg { padding: 17px 30px; font-size: 16px; min-height: 52px; }
.btn--gold { background: var(--gold); color: var(--deep); border-color: var(--gold); }
.btn--gold:hover { background: #E0BE73; color: var(--deep); }
.btn--outline { border-color: var(--gold); color: var(--white); }
.btn--outline:hover { background: rgba(210, 170, 85, 0.14); color: var(--white); }
.btn--ghost { border-color: #5E8F72; color: var(--white); font-weight: 500; }
.btn--ghost:hover { border-color: var(--gold); color: var(--white); }
.btn--green { background: var(--green); color: var(--white); border: 0; }
.btn--green:hover { background: var(--deep-2); color: var(--white); }
.btn--pill { border-radius: 999px; }

.link-arrow {
  display: inline-block;
  font-weight: 600;
  font-size: 15px;
  color: var(--green);
  border-bottom: 1px solid var(--gold);
  padding-bottom: 4px;
  text-decoration: none;
}

/* ---------- Top bar ------------------------------------------------------- */
.topbar {
  background: var(--deep);
  color: var(--on-dark-soft);
  font-size: 13px;
}
.topbar__inner {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  padding-bottom: 10px;
}
.topbar__tag { letter-spacing: 0.04em; }
.topbar__links { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.topbar a { color: var(--white); text-decoration: none; }
.topbar a:hover { text-decoration: underline; color: var(--white); }
.topbar .topbar__tel { color: var(--gold); font-weight: 600; }

/* ---------- Header -------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--green);
  color: var(--white);
  border-bottom: 1px solid var(--gold);
  transition: box-shadow .25s var(--ease);
}
.site-header.is-scrolled { box-shadow: 0 8px 24px rgba(6, 42, 25, 0.28); }

.site-header__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
  padding-top: 14px;
  padding-bottom: 14px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
  text-decoration: none;
  min-width: 0;
}
.brand:hover { color: var(--white); }
.brand__logo {
  width: 60px; height: 60px;
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--gold);
  flex: 0 0 auto;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.05; min-width: 0; }
.brand__names { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.brand__en {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.brand__bn { font-size: 20px; font-weight: 600; color: var(--gold); }
.brand__tag {
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--on-dark-muted);
  margin-top: 4px;
}

.nav-panel {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: space-between;
  gap: 16px 40px;
}
.nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 28px;
  font-size: 15px;
  font-weight: 500;
}
.nav a {
  color: var(--white);
  text-decoration: none;
  padding: 6px 0;
  border-bottom: 1px solid transparent;
}
.nav a:hover { color: var(--white); border-bottom-color: var(--gold); }
.nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.header-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  padding: 0;
  background: transparent;
  color: var(--white);
  border: 1px solid var(--gold);
  cursor: pointer;
}
.nav-toggle__bars,
.nav-toggle__bars::before,
.nav-toggle__bars::after {
  display: block;
  width: 22px; height: 2px;
  background: currentColor;
  transition: transform .2s var(--ease), opacity .2s var(--ease);
}
.nav-toggle__bars { position: relative; }
.nav-toggle__bars::before,
.nav-toggle__bars::after { content: ""; position: absolute; left: 0; }
.nav-toggle__bars::before { top: -7px; }
.nav-toggle__bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1140px) {
  :root { --header-h: 78px; }
  .brand__logo { width: 50px; height: 50px; }
  .brand__en { font-size: 24px; }
  .brand__bn { font-size: 17px; }
  .js .nav-toggle { display: inline-flex; }
  .nav-panel {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 8px 0 12px;
    border-top: 1px solid var(--dark-rule);
  }
  .js .nav-panel { display: none; }
  .js .site-header.is-open .nav-panel { display: flex; }
  .nav__list { flex-direction: column; gap: 0; font-size: 17px; }
  .nav a { padding: 12px 0; border-bottom: 1px solid var(--dark-rule); }
  .nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--dark-rule); color: var(--gold); }
  .header-actions .btn { flex: 1 1 140px; }
}
@media (max-width: 480px) {
  .brand__tag { display: none; }
  .brand { gap: 10px; }
  .brand__logo { width: 44px; height: 44px; }
  .brand__en { font-size: 21px; }
  .brand__bn { font-size: 15px; }
}

/* ---------- Hero ---------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--green);
  color: var(--white);
}
.hero__watermark {
  position: absolute;
  right: -160px; top: -60px;
  width: 760px; height: 760px;
  border-radius: 50%;
  opacity: 0.07;
  pointer-events: none;
  max-width: none;
}
.hero__inner {
  position: relative;
  display: flex;
  flex-wrap: wrap;
  gap: 64px;
  align-items: center;
  padding-top: 112px;
  padding-bottom: 176px;
}
.hero__copy { flex: 999 1 600px; min-width: 0; }
.hero__eyebrow { margin-bottom: 28px; }
.hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(3rem, 1.6rem + 5.6vw, 5.5rem);
  line-height: 0.98;
  letter-spacing: -0.015em;
}
.hero__title em { display: block; color: var(--gold); font-weight: 500; }
.hero__text {
  margin: 32px 0 0;
  max-width: 600px;
  font-size: clamp(17px, 1rem + .3vw, 19px);
  line-height: 1.65;
  color: var(--on-dark-soft);
}
.hero__ctas { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 44px; }
.hero__seal-wrap {
  flex: 1 1 320px;
  display: flex;
  justify-content: center;
}
.hero__seal-ring {
  padding: 14px;
  border: 1px solid var(--dark-rule);
  border-radius: 50%;
  width: min(348px, 100%);
}
.hero__seal {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 50%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

/* Inner-page hero */
.page-hero { background: var(--green); color: var(--white); position: relative; overflow: hidden; }
.page-hero__inner { position: relative; padding-top: 72px; padding-bottom: 80px; }
.page-hero__eyebrow { margin-bottom: 20px; }
.page-hero__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(2.75rem, 1.8rem + 3.6vw, 4.25rem);
  line-height: 1;
}
.page-hero__title em { color: var(--gold); font-weight: 500; }
.page-hero__meta { margin: 20px 0 0; font-size: 16px; color: var(--on-dark-muted); max-width: 640px; }
.page-hero .hero__watermark { width: 520px; height: 520px; right: -140px; top: -120px; }

/* ---------- Pillars strip ------------------------------------------------- */
.pillars-wrap { padding: 0 var(--gutter); }
.pillars {
  max-width: var(--max);
  margin: -96px auto 0;
  position: relative;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  background: var(--white);
  box-shadow: var(--shadow-card);
  border-top: 3px solid var(--gold);
  list-style: none;
  padding: 0;
}
.pillar { padding: 36px 36px 40px; border-right: 1px solid var(--line-soft); }
.pillar:last-child { border-right: 0; }
.pillar__title {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 600;
  color: var(--green);
  line-height: 1.2;
}
@media (max-width: 860px) {
  .pillar { border-right: 0; border-bottom: 1px solid var(--line-soft); padding: 28px 24px 30px; }
  .pillar:last-child { border-bottom: 0; }
}

/* ---------- Sections ------------------------------------------------------ */
.section { padding: 120px 0; }
.section--sand { background: var(--sand); }
.section--white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.section--first { padding-top: 128px; }
@media (max-width: 720px) {
  .section { padding: 80px 0; }
  .section--first { padding-top: 88px; }
}

.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 56px;
}
.section-head__aside { margin: 0; max-width: 420px; font-size: 16px; line-height: 1.7; color: var(--body); }
.section-head__meta { margin: 0; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }

/* ---------- About --------------------------------------------------------- */
.split { display: flex; flex-wrap: wrap; gap: 64px; }
.split__side { flex: 1 1 360px; min-width: 0; }
.split__main { flex: 999 1 520px; min-width: 0; }

.facts {
  margin: 40px 0 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 14px 20px;
  font-size: 15px;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 600; }
@media (max-width: 400px) { .facts { grid-template-columns: 1fr; gap: 2px; } .facts dd { margin-bottom: 12px; } }

.prose { font-size: 18px; line-height: 1.8; color: var(--body); }
.prose p { margin: 0 0 22px; }
.prose p:last-of-type { margin-bottom: 0; }
.prose .prose__lead {
  font-family: var(--font-display);
  font-size: clamp(23px, 1.1rem + 1vw, 28px);
  line-height: 1.45;
  color: var(--ink);
}
.prose .link-arrow { margin-top: 28px; }

/* ---------- Areas of focus ------------------------------------------------ */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.card {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 36px 32px;
  background: var(--white);
  color: var(--ink);
  border-top: 3px solid var(--green);
  height: 100%;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(6, 42, 25, 0.10); }
.card__icon { width: 40px; height: 40px; color: var(--gold-line); }
.card__title {
  margin: 8px 0 0;
  font-family: var(--font-display);
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1;
  color: var(--green);
}
.card__text { margin: 0; font-size: 15px; line-height: 1.65; color: var(--body); }
.card__link {
  margin-top: auto;
  align-self: flex-start;
  font-size: 14px;
  font-weight: 600;
  color: var(--gold-text);
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.card__link:hover { color: var(--green); border-bottom-color: var(--gold); }

/* ---------- Founder ------------------------------------------------------- */
.founder { display: flex; flex-wrap: wrap; gap: 80px; align-items: center; }
.founder__media {
  flex: 1 1 360px;
  max-width: 480px;
  position: relative;
  padding: 0 24px 24px 0;
}
.founder__media::before {
  content: "";
  position: absolute;
  left: 24px; top: 24px; right: 0; bottom: 0;
  border: 1px solid var(--gold);
}
.founder__photo {
  position: relative;
  width: 100%;
  height: 560px;
  object-fit: cover;
  object-position: 50% 30%;
}
.founder__body { flex: 999 1 480px; min-width: 0; }
.founder__mark {
  margin: 0;
  font-family: var(--font-display);
  font-size: 120px;
  line-height: 0.6;
  color: var(--gold);
}
.founder__quote {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(30px, 1.4rem + 1.6vw, 40px);
  line-height: 1.25;
  color: var(--green);
  font-weight: 500;
}
.founder__quote p { margin: 0; }
.founder__text { margin-top: 32px; font-size: 17px; line-height: 1.8; color: var(--body); }
.founder__text p { margin: 0 0 18px; }
.founder__text p:last-child { margin-bottom: 0; }
.founder__sign { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.founder__name { margin: 0; font-family: var(--font-display); font-size: 26px; font-weight: 600; color: var(--green); }
.founder__role { margin: 4px 0 0; font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--gold-text); }
@media (max-width: 720px) {
  .founder { gap: 48px; }
  .founder__photo { height: 420px; }
}

/* ---------- Team ---------------------------------------------------------- */
.team-group__label {
  margin: 48px 0 0;
  padding: 0 0 14px;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-text);
  border-bottom: 2px solid var(--green);
}
.team-group:first-of-type .team-group__label { margin-top: 0; }
.team-list { list-style: none; margin: 0; padding: 0; }
.member {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 32px;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}
.member__photo,
.member__badge {
  width: 84px; height: 84px;
  flex: 0 0 auto;
  object-fit: cover;
}
.member__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--green);
  color: var(--gold);
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.06em;
}
.member__name {
  margin: 0;
  flex: 1 1 300px;
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  line-height: 1.2;
  color: var(--green);
}
.member__role { margin: 0; flex: 1 1 300px; color: var(--body); }
@media (max-width: 600px) {
  .member { display: grid; grid-template-columns: 72px 1fr; gap: 4px 18px; }
  .member__photo, .member__badge { width: 72px; height: 72px; grid-row: span 2; font-size: 19px; }
  .member__name { font-size: 23px; align-self: end; }
  .member__role { font-size: 15px; align-self: start; }
}

/* ---------- Help panel ---------------------------------------------------- */
.help-panel {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
  gap: 48px;
  justify-content: space-between;
  padding: 64px;
  background: var(--green);
  color: var(--white);
  border-radius: 28px;
}
.help-panel__watermark {
  position: absolute;
  left: -120px; bottom: -160px;
  width: 420px; height: 420px;
  border-radius: 50%;
  opacity: 0.06;
  pointer-events: none;
  max-width: none;
}
.help-panel__intro { flex: 999 1 420px; min-width: 0; position: relative; }
.help-panel__intro .eyebrow { margin-bottom: 16px; }
.help-panel__text { margin: 20px 0 0; max-width: 480px; font-size: 17px; line-height: 1.7; color: var(--on-dark-soft); }
.help-panel__text strong { color: var(--white); }
.help-panel__cta { margin-top: 32px; }
.helplines { flex: 1 1 360px; position: relative; list-style: none; margin: 0; padding: 0; min-width: 0; }
.helpline {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--dark-rule);
  color: var(--on-dark-link);
  text-decoration: none;
}
.helplines li:last-child .helpline { border-bottom: 0; }
.helpline:hover { color: var(--white); }
.helpline__num {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
  text-align: right;
}
.helpline__alt { color: var(--gold); text-decoration: none; }
.helpline__alt:hover { color: var(--white); text-decoration: underline; }
@media (max-width: 720px) {
  .help-panel { padding: 40px 24px; border-radius: 20px; gap: 32px; }
  .helpline { flex-wrap: wrap; }
  .helpline__num { font-size: 23px; }
}

/* ---------- Contact ------------------------------------------------------- */
.contact { display: flex; flex-wrap: wrap; gap: 64px; }
.contact__info { flex: 1 1 340px; min-width: 0; }
.contact__email-block { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line-sand); }
.contact__email {
  display: inline-block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-size: clamp(26px, 1.3rem + 1vw, 30px);
  font-weight: 600;
  color: var(--green);
  text-decoration: none;
  overflow-wrap: anywhere;
}
.contact__email:hover { text-decoration: underline; }
.contact__note { margin: 28px 0 0; font-size: 14px; line-height: 1.6; color: var(--muted); }

.form {
  flex: 999 1 560px;
  min-width: 0;
  background: var(--white);
  padding: 48px;
  border-top: 3px solid var(--green);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
@media (max-width: 600px) { .form { padding: 32px 20px; } }
.field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.field--full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; }
.field__optional { font-weight: 400; color: var(--muted); }
.field__req { color: var(--error); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--field-border);
  border-radius: 0;
  background: var(--white);
  color: var(--ink);
  font-size: 16px;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 44px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%230D4A2B' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
}
.field textarea { resize: vertical; min-height: 140px; }
.field input::placeholder,
.field textarea::placeholder { color: #66716A; }
.field input:focus-visible,
.field select:focus-visible,
.field textarea:focus-visible { outline-offset: 0; border-color: var(--green); }
.field [aria-invalid="true"] { border-color: var(--error); box-shadow: inset 0 0 0 1px var(--error); }
.field__error {
  margin: 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--error);
}
.field__error[hidden] { display: none; }

.consent { display: flex; gap: 12px; align-items: flex-start; }
.consent input {
  width: 20px; height: 20px;
  margin: 3px 0 0;
  flex: 0 0 auto;
  accent-color: var(--green);
}
.consent label { font-size: 14px; line-height: 1.6; color: var(--body); font-weight: 400; }
.consent-field .field__error { margin-left: 32px; }

.form__status {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 18px;
  font-size: 15px;
  line-height: 1.6;
  border-left: 4px solid var(--green);
  background: #EAF2EC;
  color: var(--ink);
}
.form__status[hidden] { display: none; }
.form__status--error { border-left-color: var(--error); background: #FBECEA; }
.form__status a { font-weight: 600; }
.form__actions { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.form__hint { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Disclaimer callout ------------------------------------------- */
.callout {
  margin: 16px 0 24px;
  padding: 24px 28px;
  background: var(--green);
  color: var(--on-dark-link);
  border-radius: 16px;
}
.callout p { margin: 0; font-size: 17px; line-height: 1.7; }
.callout strong { color: var(--gold); }
.callout a { color: var(--gold); font-weight: 600; }
.callout a:hover { color: var(--white); }

/* ---------- Legal pages --------------------------------------------------- */
.legal { display: flex; flex-wrap: wrap; gap: 64px; }
.legal__nav {
  flex: 1 1 240px;
  align-self: flex-start;
  background: var(--white);
  border-top: 3px solid var(--green);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  font-size: 15px;
}
@media (min-width: 960px) { .legal__nav { position: sticky; top: calc(var(--header-h) + 24px); } }
.legal__nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.legal__nav a { color: var(--green); font-weight: 600; text-decoration: none; display: inline-block; padding: 2px 0; border-bottom: 1px solid transparent; }
.legal__nav a:hover { color: var(--gold-text); border-bottom-color: var(--gold); }
.legal__nav a[aria-current="page"] { border-bottom-color: var(--gold); }
.legal__nav a[aria-current="page"]::after { content: " ←"; color: var(--gold-text); }
.legal__nav-foot { margin-top: 12px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.6; color: var(--body); }
.legal__nav-foot a { font-weight: 400; text-decoration: underline; }

.legal__body { flex: 999 1 640px; min-width: 0; max-width: 780px; font-size: 16px; line-height: 1.8; color: var(--body); }
.legal__intro { margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--line); font-size: 18px; }
.legal__body h2 { margin: 32px 0 8px; font-size: 17px; line-height: 1.5; color: var(--ink); font-family: var(--font-body); font-weight: 600; }
.legal__body p { margin: 0; }
.legal__next { margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 16px 32px; }

.legal-index { list-style: none; margin: 0; padding: 0; display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ---------- 404 ----------------------------------------------------------- */
.notfound { text-align: left; }
.notfound__code { font-family: var(--font-display); font-size: clamp(5rem, 3rem + 10vw, 10rem); line-height: .9; color: var(--gold); margin: 0; font-weight: 600; }
.notfound__links { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 40px; }

/* ---------- Footer -------------------------------------------------------- */
.site-footer { background: var(--deep); color: var(--on-dark-muted); padding: 88px 0 0; }
.site-footer__grid { display: flex; flex-wrap: wrap; gap: 48px; }
.site-footer__brand { flex: 2 1 320px; min-width: 0; }
.site-footer__id { display: flex; gap: 18px; align-items: center; }
.site-footer__logo { width: 76px; height: 76px; border-radius: 50%; flex: 0 0 auto; }
.site-footer__name { margin: 0; font-family: var(--font-display); font-size: 28px; color: var(--white); font-weight: 600; line-height: 1.2; }
.site-footer__name [lang="bn"] { font-size: 22px; color: var(--gold); }
.site-footer__motto { margin: 4px 0 0; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.site-footer__about { margin: 24px 0 0; max-width: 360px; font-size: 14px; line-height: 1.7; }
.footer-nav { flex: 1 1 160px; font-size: 15px; }
.footer-nav__title { margin: 0 0 18px; font-size: 12px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); font-weight: 400; font-family: var(--font-body); }
.footer-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.footer-nav a { color: var(--on-dark-link); text-decoration: none; }
.footer-nav a:hover { color: var(--gold); text-decoration: underline; }
.site-footer__bottom {
  margin-top: 64px;
  padding-top: 24px;
  padding-bottom: 32px;
  border-top: 1px solid var(--dark-rule-2);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 32px;
  justify-content: space-between;
  font-size: 13px;
  color: var(--on-dark-faint);
}
.site-footer__bottom > * { border-top: 0; }
@media (max-width: 720px) {
  .site-footer { padding-top: 64px; }
  .site-footer__grid { gap: 36px 24px; }
  .footer-nav { flex: 1 1 140px; }
}

/* ---------- Reveal on scroll --------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
  .js .reveal { opacity: 1; transform: none; }
  .card:hover { transform: none; }
}

/* ---------- Print --------------------------------------------------------- */
@media print {
  .topbar, .site-header, .nav-toggle, .hero__watermark, .help-panel__watermark, .form { display: none !important; }
  body { background: #fff; }
  .js .reveal { opacity: 1; transform: none; }
}

/* ---------- Small helpers ------------------------------------------------- */
.eyebrow--heading { font-family: var(--font-body); font-weight: 400; line-height: 1.6; }
.founder__figure { margin: 0; }
.section--legal { padding-top: 80px; }
.page-hero__meta a { color: var(--white); }
.notfound .page-hero__inner { padding-top: 96px; padding-bottom: 112px; }
