/* ==========================================================================
   RTP MASSIOUI — corporate website styles
   ========================================================================== */

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-latin-variable.woff2') format('woff2');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --navy: #10243a;
  --navy-deep: #0b1b2c;
  --blue: #174a75;
  --blue-soft: #235f8f;
  --gold: #c5a15b;
  --gold-ink: #7d6229;
  --gold-light: #e7d4aa;
  --white: #ffffff;
  --gray: #f4f6f8;
  --ink: #1b2733;
  --muted: #596876;
  --line: #dee4ea;
  --error: #b42318;
  --success: #16794c;
  --shadow-sm: 0 6px 20px rgba(16, 36, 58, 0.06);
  --shadow-md: 0 18px 48px rgba(16, 36, 58, 0.1);
  --container: 1200px;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  margin: 0 0 0.6em;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.14;
  color: var(--navy);
}

h1 { font-size: clamp(2.5rem, 5vw, 4.25rem); }
h2 { font-size: clamp(1.95rem, 3.5vw, 2.9rem); }
h3 { font-size: 1.22rem; letter-spacing: -0.02em; }
p { margin: 0 0 1.1em; }
ul { margin: 0; padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-soft); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

::selection { background: var(--gold); color: var(--navy); }

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -100px;
  z-index: 200;
  padding: 0.7rem 1.1rem;
  background: var(--gold);
  color: var(--navy);
  font-weight: 700;
  border-radius: 3px;
}
.skip-link:focus { top: 0.75rem; color: var(--navy); }

.eyebrow {
  display: block;
  margin-bottom: 1rem;
  color: var(--gold-ink);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero .eyebrow,
.trade-feature .eyebrow,
.final-cta .eyebrow,
.approach-panel .eyebrow,
.contact-panel .eyebrow,
.section--navy .eyebrow { color: var(--gold); }

.section { padding-block: clamp(4.5rem, 8vw, 7rem); }
.section--light { background: var(--gray); }
.section--navy { background: var(--navy); color: var(--white); }
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: rgba(255, 255, 255, 0.76); }

.section-head { max-width: 760px; margin-bottom: 3rem; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head p.lead { font-size: 1.1rem; color: var(--muted); }
.section--navy .section-head p.lead { color: rgba(255, 255, 255, 0.75); }

/* ---------- Buttons and links ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 48px;
  padding: 0.8rem 1.5rem;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--font);
  font-size: 0.9rem;
  font-weight: 650;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--navy); color: var(--white); }
.btn-primary:hover { background: var(--blue); color: var(--white); }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: var(--gold-light); color: var(--navy); }
.btn-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-outline:hover { background: var(--navy); color: var(--white); }
.btn-light { background: var(--white); color: var(--navy); }
.btn-light:hover { background: var(--gold); color: var(--navy); }
.btn-sm { min-height: 40px; padding: 0.55rem 1rem; font-size: 0.82rem; }
.btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--blue);
  font-size: 0.9rem;
  font-weight: 650;
}
.text-link svg { width: 17px; height: 17px; transition: transform 0.2s ease; }
.text-link:hover { color: var(--navy); }
.text-link:hover svg { transform: translateX(4px); }

.button-row { display: flex; flex-wrap: wrap; gap: 0.9rem; }
.section-actions { margin-top: 2.5rem; }

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

/* ---------- Brand and header ---------- */

.brand { display: inline-flex; align-items: center; color: var(--navy); }
.brand:hover { opacity: 0.88; }
.brand-logo { display: block; width: auto; height: 52px; max-width: 165px; object-fit: contain; }
.brand-light .brand-logo { height: 58px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s ease;
}
.site-header.is-scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.primary-nav { display: flex; align-items: center; gap: clamp(1rem, 2vw, 1.8rem); }
.nav-list { display: flex; align-items: center; gap: clamp(1rem, 1.7vw, 1.6rem); }
.nav-link {
  position: relative;
  display: inline-block;
  padding-block: 0.5rem;
  color: var(--ink);
  font-size: 0.86rem;
  font-weight: 550;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--gold);
  transition: right 0.25s ease;
}
.nav-link:hover, .nav-link.is-active { color: var(--navy); }
.nav-link:hover::after, .nav-link.is-active::after { right: 0; }
.nav-mobile-cta { display: none; }
.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-toggle-close { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-bars { display: none; }
.nav-toggle[aria-expanded='true'] .nav-toggle-close { display: block; }

/* ---------- Language picker ---------- */

.lang-picker { position: relative; flex: 0 0 auto; }
.lang-picker summary {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 48px;
  height: 44px;
  padding: 0 0.7rem;
  border: 1px solid var(--line);
  border-radius: 3px;
  background: var(--white);
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.04em;
  cursor: pointer;
  list-style: none;
}
.lang-picker summary::-webkit-details-marker { display: none; }
.lang-picker summary::after {
  content: '';
  width: 6px;
  height: 6px;
  margin-inline-start: 0.4rem;
  border-inline-end: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  inset-inline-end: 0;
  z-index: 150;
  min-width: 220px;
  max-height: min(70vh, 420px);
  overflow: auto;
  padding: 0.5rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 4px;
  box-shadow: var(--shadow-md);
}
.lang-menu a {
  display: block;
  padding: 0.55rem 0.7rem;
  border-radius: 3px;
  color: var(--ink);
  font-size: 0.9rem;
}
.lang-menu a:hover, .lang-menu a[aria-current='true'] {
  background: var(--gray);
  color: var(--navy);
  font-weight: 650;
}

/* ---------- Hero ---------- */

.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media .responsive-img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 25, 41, 0.94) 0%, rgba(11, 29, 48, 0.82) 42%, rgba(13, 32, 52, 0.46) 100%);
}
.hero-inner { padding-block: clamp(6rem, 11vw, 9.5rem); }
.hero-copy { max-width: 760px; }
.hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.hero h1 span { color: var(--gold-light); }
.hero p { color: rgba(255, 255, 255, 0.85); font-size: clamp(1rem, 1.5vw, 1.15rem); max-width: 680px; margin-bottom: 2rem; }
.hero .eyebrow { color: var(--gold); }
.hero-rule { width: 64px; height: 3px; background: var(--gold); margin: 2rem 0; }

/* ---------- Generic page hero ---------- */

.page-hero { background: var(--gray); border-bottom: 1px solid var(--line); }
.page-hero-inner { padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.page-hero h1 { max-width: 900px; margin-bottom: 1rem; }
.page-hero p { max-width: 760px; color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }

/* ---------- Values, cards and grids ---------- */

.grid { display: grid; gap: 1.5rem; }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }

.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 1.5rem;
  background: #f7f2e7;
  color: var(--blue);
  border-radius: 3px;
}
.icon-tile svg { width: 26px; height: 26px; }

.value-card, .activity-card {
  position: relative;
  padding: 2rem 1.8rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.value-card:hover, .activity-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.value-card p, .activity-card p { color: var(--muted); font-size: 0.94rem; margin-bottom: 1.2rem; }
.value-card h3, .activity-card h3 { margin-bottom: 0.8rem; }
.value-card h3 a { color: var(--navy); }
.value-card h3 a:hover { color: var(--blue); }
.card-index {
  position: absolute;
  top: 0.8rem;
  right: 1.2rem;
  color: var(--line);
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  pointer-events: none;
}

.industry-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 3px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.industry-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.industry-art { aspect-ratio: 3 / 2; overflow: hidden; background: var(--gray); }
.industry-art svg { width: 100%; height: 100%; }
.industry-body { padding: 1.6rem; }
.industry-body h3 { margin-bottom: 0.6rem; }
.industry-body p { color: var(--muted); font-size: 0.92rem; }
.category-label {
  display: inline-block;
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 650;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.tick-list { margin-bottom: 1.8rem; }
.tick-list li { position: relative; padding-left: 1.7rem; margin-bottom: 0.65rem; color: var(--muted); font-size: 0.94rem; }
.tick-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 8px;
  height: 8px;
  border: 2px solid var(--gold);
  border-radius: 50%;
}

/* ---------- Why work with us ---------- */

.split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(2rem, 5vw, 5rem); align-items: start; }
.approach-panel {
  position: relative;
  padding: 2.5rem;
  background: var(--navy);
  color: var(--white);
  border-radius: 3px;
  overflow: hidden;
}
.approach-panel::after {
  content: '';
  position: absolute;
  right: -60px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(197, 161, 91, 0.35);
  border-radius: 50%;
}
.approach-panel h2 { color: var(--white); }
.approach-panel p { color: rgba(255, 255, 255, 0.75); }
.reason-list li {
  display: flex;
  gap: 1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--line);
}
.reason-list li:first-child { padding-top: 0; }
.reason-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 34px;
  height: 34px;
  background: #f7f2e7;
  color: var(--blue);
  border-radius: 50%;
}
.reason-check svg { width: 18px; height: 18px; }
.reason-list h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.reason-list p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* ---------- International trade image section ---------- */

.trade-feature { position: relative; isolation: isolate; overflow: hidden; background: var(--navy); }
.trade-feature-media { position: absolute; inset: 0; z-index: -2; }
.trade-feature-media .responsive-img { width: 100%; height: 100%; object-fit: cover; }
.trade-feature::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(9, 25, 41, 0.94), rgba(11, 29, 48, 0.78) 55%, rgba(11, 29, 48, 0.42));
}
.trade-feature-inner { padding-block: clamp(5rem, 9vw, 7.5rem); }
.trade-feature-copy { max-width: 700px; }
.trade-feature h1, .trade-feature h2, .trade-feature p { color: var(--white); }
.trade-feature h1 { font-size: clamp(2.4rem, 4.6vw, 3.7rem); }
.trade-feature p { color: rgba(255, 255, 255, 0.84); font-size: 1.08rem; }
.trade-points { display: flex; flex-wrap: wrap; gap: 1.5rem 2.5rem; margin: 2rem 0 2.5rem; }
.trade-points li { display: flex; align-items: center; gap: 0.6rem; color: rgba(255, 255, 255, 0.9); font-size: 0.92rem; }
.trade-points svg { width: 20px; height: 20px; color: var(--gold); }

/* ---------- Final CTA ---------- */

.final-cta { background: var(--navy); border-top: 4px solid var(--gold); color: var(--white); text-align: center; }
.final-cta-inner { padding-block: clamp(4.5rem, 8vw, 6.5rem); }
.final-cta h2 { max-width: 820px; margin-inline: auto; color: var(--white); }
.final-cta p { max-width: 680px; margin-inline: auto; color: rgba(255, 255, 255, 0.78); }
.final-cta .button-row { justify-content: center; margin-top: 2rem; }

/* ---------- Activity detail sections ---------- */

.activity-detail {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  padding-block: 3.5rem;
  border-bottom: 1px solid var(--line);
  scroll-margin-top: 100px;
}
.activity-detail:first-of-type { padding-top: 0; }
.activity-detail:last-of-type { border-bottom: 0; padding-bottom: 0; }
.activity-detail:nth-child(even) .activity-detail-media { order: 2; }
.activity-detail-media { border-radius: 3px; overflow: hidden; background: var(--gray); }
.activity-detail-media .responsive-img { width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.activity-visual svg { width: 100%; height: 100%; min-height: 300px; }
.activity-detail-body h2 { margin-bottom: 1rem; }
.activity-detail-body > p { color: var(--muted); }
.activity-detail-body h3 { font-size: 1rem; margin-top: 1.5rem; margin-bottom: 0.8rem; }

/* ---------- About page ---------- */

.about-media { border-radius: 3px; overflow: hidden; box-shadow: var(--shadow-md); }
.about-media .responsive-img { width: 100%; height: 100%; min-height: 340px; object-fit: cover; }
.about-lead { font-size: 1.12rem; color: var(--navy); font-weight: 500; }
.value-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
.value-list-item { padding: 1.8rem; background: var(--white); border: 1px solid var(--line); border-radius: 3px; }
.value-list-item h3 { margin-bottom: 0.5rem; }
.value-list-item p { color: var(--muted); font-size: 0.94rem; margin: 0; }
.story-note { padding: 1.5rem 1.8rem; border-left: 3px solid var(--gold); background: var(--gray); color: var(--muted); }
.story-note h3 { font-size: 1rem; color: var(--navy); }
.story-note p { margin: 0; font-size: 0.94rem; }

/* ---------- Contact page ---------- */

.contact-layout { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.contact-panel { padding: 2.5rem; background: var(--navy); color: var(--white); border-radius: 3px; }
.contact-panel h2 { color: var(--white); }
.contact-panel p { color: rgba(255, 255, 255, 0.75); }
.contact-detail { display: flex; gap: 1rem; align-items: flex-start; margin-top: 2rem; padding-top: 2rem; border-top: 1px solid rgba(255, 255, 255, 0.16); }
.contact-detail svg { width: 22px; height: 22px; flex: none; color: var(--gold); margin-top: 0.2rem; }
.contact-detail span { display: block; color: rgba(255, 255, 255, 0.65); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; }
.contact-detail a { color: var(--white); font-weight: 600; word-break: break-word; }
.contact-detail a:hover { color: var(--gold-light); }
.contact-note { margin-top: 2rem; font-size: 0.88rem; color: rgba(255, 255, 255, 0.65); }

.form-card { padding: clamp(1.5rem, 4vw, 2.75rem); background: var(--white); border: 1px solid var(--line); border-radius: 3px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1.5rem; }
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field--full { grid-column: 1 / -1; }
.field label { color: var(--navy); font-size: 0.86rem; font-weight: 650; }
.field .req { color: var(--error); }
.field input, .field select, .field textarea {
  width: 100%;
  min-height: 48px;
  padding: 0.7rem 0.9rem;
  font-family: var(--font);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid #c8d1da;
  border-radius: 3px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color: var(--blue); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(23, 74, 117, 0.14);
}
.field input[aria-invalid='true'], .field select[aria-invalid='true'], .field textarea[aria-invalid='true'] { border-color: var(--error); }
.field-error { min-height: 0; color: var(--error); font-size: 0.79rem; }
.field-error:empty { display: none; }
.checkbox-field { display: flex; align-items: flex-start; gap: 0.75rem; margin-top: 1.25rem; padding-block: 0.25rem; font-size: 0.86rem; color: var(--muted); }
.checkbox-field input { width: 24px; height: 24px; margin: 0; flex: none; accent-color: var(--blue); cursor: pointer; }
.checkbox-field a { color: var(--blue); text-decoration: underline; }
.form-actions { margin-top: 1.75rem; }
.form-status { margin-bottom: 1.25rem; padding: 1rem 1.1rem; border-radius: 3px; font-size: 0.9rem; display: none; }
.form-status.is-visible { display: block; }
.form-status--success { background: #eaf6f0; border: 1px solid #b9e2cd; color: var(--success); }
.form-status--error { background: #fdecea; border: 1px solid #f3c2bc; color: var(--error); }
.form-status ul { margin: 0.5rem 0 0 1.2rem; list-style: disc; }
.honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-footnote { margin-top: 1rem; color: var(--muted); font-size: 0.8rem; }
.form-footnote a { color: var(--blue); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Legal pages ---------- */

.legal-body { max-width: 820px; }
.legal-body h2 { font-size: 1.5rem; margin-top: 2.5rem; }
.legal-body h2:first-child { margin-top: 0; }
.legal-body p, .legal-body li { color: var(--muted); }
.legal-body ul { list-style: disc; padding-left: 1.4rem; margin-bottom: 1.2rem; }
.legal-body a { text-decoration: underline; }

/* ---------- 404 ---------- */

.error-page { text-align: center; padding-block: clamp(5rem, 12vw, 9rem); }
.error-code { color: var(--gold-ink); font-size: 1rem; font-weight: 700; letter-spacing: 0.3em; }
.error-page h1 { margin-top: 0.5rem; }
.error-page p { max-width: 560px; margin-inline: auto; color: var(--muted); }
.error-page .button-row { justify-content: center; margin-top: 2rem; }

/* ---------- Footer ---------- */

.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, 0.72); }
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 0.8fr;
  gap: clamp(2rem, 4vw, 4rem);
  padding-block: clamp(3.5rem, 6vw, 5rem);
}
.footer-intro p { max-width: 360px; margin-top: 1.5rem; font-size: 0.92rem; color: rgba(255, 255, 255, 0.65); }
.footer-email { display: inline-flex; align-items: center; gap: 0.6rem; color: var(--white); font-weight: 600; font-size: 0.92rem; word-break: break-word; }
.footer-email:hover { color: var(--gold-light); }
.footer-email svg { width: 18px; height: 18px; color: var(--gold); flex: none; }
.footer-col h2 { margin-bottom: 1.3rem; color: var(--white); font-size: 0.78rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; }
.footer-col li { margin-bottom: 0.7rem; }
.footer-col a { color: rgba(255, 255, 255, 0.68); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem 2rem;
  padding-block: 1.4rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}
.footer-bottom p { margin: 0; }

/* ---------- Reveal animation (progressive enhancement) ---------- */

.reveal-ready .reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */

@media (max-width: 1100px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .header-cta { display: none; }
}

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.75rem 1.25rem 1.4rem;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link { display: block; padding: 0.8rem 0; border-bottom: 1px solid var(--line); font-size: 0.95rem; }
  .nav-link::after { display: none; }
  .nav-mobile-cta { display: inline-flex; margin-top: 1.2rem; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .activity-detail, .contact-layout { grid-template-columns: 1fr; }
  .activity-detail:nth-child(even) .activity-detail-media { order: 0; }
  .footer-top { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .grid-4, .grid-3, .grid-2, .value-list { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .field--full { grid-column: auto; }
  .section { padding-block: 4rem; }
  .activity-detail { padding-block: 2.5rem; }
  .footer-top { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-bottom { flex-direction: column; }
  .approach-panel, .contact-panel { padding: 1.75rem; }
  .hero-inner { padding-block: 5rem; }
}

@media (max-width: 420px) {
  .container { width: min(100% - 1.75rem, var(--container)); }
  .brand-logo { height: 44px; }
  .brand-light .brand-logo { height: 50px; }
  .btn { width: 100%; }
  .button-row .btn { width: 100%; }
}

/* ---------- Right-to-left and non-Latin script support ---------- */

[lang='ar'] { font-family: Tahoma, 'Segoe UI', Arial, sans-serif; }
[lang='zh'] { font-family: 'Microsoft YaHei', 'PingFang SC', 'Noto Sans CJK SC', var(--font); }
[lang='hi'] { font-family: 'Nirmala UI', Mangal, 'Noto Sans Devanagari', var(--font); }
[lang='bn'] { font-family: 'Nirmala UI', 'Noto Sans Bengali', var(--font); }

[dir='rtl'] .skip-link { left: auto; inset-inline-start: 1rem; }
[dir='rtl'] .text-link:hover svg { transform: translateX(-4px); }
[dir='rtl'] .nav-link::after { left: auto; right: 0; transition: left 0.25s ease; }
[dir='rtl'] .nav-link:hover::after,
[dir='rtl'] .nav-link.is-active::after { right: auto; left: 0; }
[dir='rtl'] .lang-menu { right: auto; left: 0; inset-inline-end: auto; }
[dir='rtl'] .card-index { right: auto; left: 1.2rem; }
[dir='rtl'] .approach-panel::after { right: auto; left: -60px; }
[dir='rtl'] .tick-list li { padding-left: 0; padding-right: 1.7rem; }
[dir='rtl'] .tick-list li::before { left: auto; right: 0; }
[dir='rtl'] .story-note { border-left: 0; border-right: 3px solid var(--gold); }
[dir='rtl'] .honeypot { left: auto; right: -9999px; }
[dir='rtl'] .legal-body ul { padding-left: 0; padding-right: 1.4rem; }

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