/* ==========================================================================
   SEIN Pakistan | style.css
   Palette: warm ivory · deep navy · charcoal · muted gold · light beige
   Type:    DM Serif Display (display headings) · Manrope (everything else)
   Sections: 1 Tokens · 2 Base · 3 Header & nav · 4 Hero · 5 About · 6 PMV
             7 Programmes · 8 Approach · 9 Team · 10 In Action · 11 Partner
             12 Footer · 13 Floating button & toast
   ========================================================================== */

/* 1. TOKENS ---------------------------------------------------------------- */
:root {
  --ivory: #FAF6EC;
  --navy: #14233F;
  --charcoal: #3B4048;
  --gold: #B08D57;        /* decorative: rules, numerals, icons */
  --gold-text: #8A6A35;   /* small gold text (passes contrast on ivory) */
  --beige: #EFE6D3;
  --line: rgba(20, 35, 63, 0.14);
  --error: #9B2C2C;

  --font-display: "DM Serif Display", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1240px;
  --gutter: clamp(20px, 5vw, 56px);
  --section-y: clamp(72px, 10vw, 140px);
  --radius: 2px;
}

/* 2. BASE ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--charcoal);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p, figure { margin: 0; }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  color: var(--navy);
  line-height: 1.1;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2.5rem, 5.4vw, 4.4rem); }
h2 { font-size: clamp(2.1rem, 4vw, 3.3rem); }
h3 { font-family: var(--font-body); color: var(--navy); }

:focus-visible { outline: 2px solid var(--gold); outline-offset: 3px; }
::selection { background: var(--navy); color: var(--ivory); }

.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.section { padding-block: var(--section-y); }
section[id] { scroll-margin-top: 12px; }

.sr-only {
  position: absolute; 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: 12px; top: -60px; z-index: 300;
  background: var(--navy); color: var(--ivory); padding: 10px 16px;
  font-weight: 600; text-decoration: none; transition: top 0.2s;
}
.skip-link:focus { top: 12px; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 20px;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--gold);
  vertical-align: middle;
  margin-right: 14px;
  transform: translateY(-1px);
}
.section-head { max-width: 760px; margin-bottom: clamp(40px, 6vw, 72px); }
.section-head h2 { margin-bottom: 24px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow::before { display: none; }
.section-intro { font-size: 1.125rem; color: var(--charcoal); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-body);
  font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.04em;
  text-decoration: none;
  padding: 16px 32px;
  border: 1px solid var(--navy);
  border-radius: var(--radius);
  cursor: pointer;
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.btn-primary { background: var(--navy); color: var(--ivory); }
.btn-primary:hover { background: transparent; color: var(--navy); }

/* 3. HEADER & NAVIGATION (static, not sticky) ------------------------------ */
.site-header { background: var(--ivory); border-bottom: 1px solid var(--line); }
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; gap: 32px;
}
.brand { display: inline-flex; align-items: center; text-decoration: none; }
.brand img { height: 44px; width: auto; }

.primary-nav ul { display: flex; align-items: center; gap: clamp(20px, 2.6vw, 40px); }
.primary-nav a {
  font-size: 0.9375rem; font-weight: 600; color: var(--navy);
  text-decoration: none; padding-block: 8px; position: relative;
}
.primary-nav a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 2px; height: 1px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.primary-nav a:not(.nav-cta):hover::after { transform: scaleX(1); }
.primary-nav .nav-cta {
  padding: 10px 22px;
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  transition: background-color 0.25s, color 0.25s, border-color 0.25s;
}
.primary-nav .nav-cta:hover { background: var(--navy); color: var(--ivory); border-color: var(--navy); }

.nav-toggle {
  display: none; align-items: center; gap: 12px;
  background: none; border: 0; padding: 10px 0 10px 10px; cursor: pointer;
  font-family: var(--font-body); font-size: 0.875rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy);
}
.nav-toggle-bars { display: grid; gap: 5px; width: 24px; }
.nav-toggle-bars span { display: block; height: 1.5px; background: var(--navy); }
.nav-toggle-bars span:nth-child(2) { width: 70%; margin-left: auto; background: var(--gold); }

/* Mobile overlay */
.mobile-nav {
  position: fixed; inset: 0; z-index: 200;
  background: var(--ivory);
  display: flex; flex-direction: column;
  padding: 0 var(--gutter) 32px;
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-12px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s linear 0.3s;
}
.mobile-nav.is-open {
  opacity: 1; visibility: visible; transform: none;
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0s;
}
.mobile-nav-top {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 84px; border-bottom: 1px solid var(--line);
}
.mobile-nav-close {
  width: 44px; height: 44px; display: grid; place-items: center;
  background: none; border: 1px solid var(--gold); border-radius: var(--radius);
  color: var(--navy); font-size: 2rem; line-height: 1; cursor: pointer;
  transition: background-color 0.25s, color 0.25s;
}
.mobile-nav-close:hover { background: var(--navy); color: var(--ivory); }
.mobile-nav-links { flex: 1; display: flex; flex-direction: column; justify-content: center; padding-block: 24px; }
.mobile-nav-links ul { display: flex; flex-direction: column; }
.mobile-nav-links li { border-bottom: 1px solid var(--line); }
.mobile-nav-links li a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
  font-size: clamp(1.5rem, 6.5vw, 2rem); font-weight: 600; letter-spacing: -0.01em;
  color: var(--navy); text-decoration: none;
}
.mobile-nav-links li a::after { content: ""; width: 20px; height: 1px; background: var(--gold); transition: width 0.25s; }
.mobile-nav-links li a:hover::after { width: 36px; }
.mobile-nav-cta { margin-top: 32px; width: 100%; padding-block: 20px; font-size: 1.0625rem; border-color: var(--navy); }
.mobile-nav-tagline, .footer-tagline, .section-intro { text-wrap: balance; }
.mobile-nav-tagline {
  font-family: var(--font-display); font-size: 1.125rem; color: var(--gold-text);
  text-align: center; padding-top: 8px;
}

/* 4. HERO ------------------------------------------------------------------ */
.hero { padding-block: clamp(48px, 7vw, 100px) clamp(56px, 8vw, 110px); }
.hero-grid {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  align-items: center; gap: clamp(32px, 5vw, 80px);
}
.hero-copy h1 { margin-bottom: 28px; }
.hero-copy .lead { font-size: clamp(1.0625rem, 1.5vw, 1.1875rem); max-width: 34em; margin-bottom: 40px; }
/* Image dissolves into the ivory page on its left and bottom edges (no box, no card) */
.hero-media img {
  width: 100%; aspect-ratio: 16 / 12; object-fit: cover; object-position: center;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to top, transparent 0, #000 16%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 24%), linear-gradient(to top, transparent 0, #000 16%);
  mask-composite: intersect;
}

/* 5. ABOUT ----------------------------------------------------------------- */
.about { background: var(--ivory); border-top: 1px solid var(--line); }
.about-grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 7vw, 110px); align-items: center;
}
.about-copy h2 { margin-bottom: 32px; }
.about-copy p + p { margin-top: 1.25em; }
.about-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.about-media { position: relative; }
.about-media::before { /* subtle offset gold hairline frame */
  content: ""; position: absolute; inset: 18px -18px -18px 18px;
  border: 1px solid var(--gold); border-radius: var(--radius); z-index: -1; opacity: 0.7;
}

/* 6. PURPOSE / MISSION / VISION ------------------------------------------- */
.pmv { background: var(--beige); padding-block: clamp(56px, 8vw, 104px); }
.pmv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
.pmv-item { padding: 0 clamp(20px, 3.5vw, 52px); border-left: 1px solid rgba(176, 141, 87, 0.55); }
.pmv-item:first-child { padding-left: 0; border-left: 0; }
.pmv-item:last-child { padding-right: 0; }
.pmv-index { font-family: var(--font-display); font-size: 1.1rem; color: var(--gold-text); margin-bottom: 20px; }
.pmv-item h3 { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.8rem, 2.6vw, 2.3rem); line-height: 1.1; margin-bottom: 18px; }
.pmv-item p:last-child { font-size: 1rem; }

/* 7. PROGRAMMES ------------------------------------------------------------ */
.programmes .section-head { margin-bottom: clamp(24px, 4vw, 48px); }
.programme {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(32px, 6vw, 96px); align-items: center;
  padding-block: clamp(40px, 6vw, 80px);
  border-top: 1px solid var(--line);
}
.programme:last-child { border-bottom: 1px solid var(--line); }
.programme-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.programme--text-first .programme-media { order: 2; }
.programme-name {
  font-size: clamp(2.2rem, 4vw, 3.4rem); font-weight: 800; letter-spacing: -0.02em;
  line-height: 1.05; margin-bottom: 12px;
}
.programme-grade {
  display: inline-block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-text);
  padding-bottom: 14px; margin-bottom: 22px; border-bottom: 1px solid var(--gold);
}
.programme-desc { margin-bottom: 28px; }
.topics-label {
  font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--navy); margin-bottom: 12px;
}
.topics li {
  position: relative; padding: 7px 0 7px 26px; font-size: 0.975rem; line-height: 1.5;
}
.topics li::before {
  content: ""; position: absolute; left: 0; top: 1.05em; width: 12px; height: 1px; background: var(--gold);
}
@media (min-width: 1100px) {
  .topics--long { columns: 2; column-gap: 32px; }
  .topics--long li { break-inside: avoid; }
}

/* 8. OUR APPROACH ---------------------------------------------------------- */
.approach { background: var(--beige); }
.principles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(40px, 7vw, 110px); }
.principle {
  display: grid; grid-template-columns: 56px 1fr; gap: 12px;
  padding-block: 36px; border-top: 1px solid rgba(176, 141, 87, 0.6);
}
.principle-index { font-family: var(--font-display); font-size: 1.6rem; line-height: 1.2; color: var(--gold-text); }
.principle h3 { font-size: 1.3125rem; font-weight: 700; margin-bottom: 10px; letter-spacing: -0.01em; }
.principle p { font-size: 1rem; }

/* 9. OUR TEAM -------------------------------------------------------------- */
.team-viewer { max-width: 1020px; margin-inline: auto; }
.team-viewer-top {
  display: flex; align-items: center; justify-content: space-between;
  padding-bottom: 22px; margin-bottom: clamp(24px, 4vw, 44px); border-bottom: 1px solid var(--line);
}
.team-logo { height: 40px; width: auto; }
.team-counter { font-size: 0.875rem; font-weight: 700; letter-spacing: 0.14em; color: var(--gold-text); font-variant-numeric: tabular-nums; }
.team-profile {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: clamp(28px, 5vw, 72px); align-items: center;
}
.team-profile[hidden] { display: none; }
.team-photo img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top; border-radius: var(--radius); background: var(--beige); }
.team-name { font-size: clamp(1.6rem, 2.8vw, 2.25rem); font-weight: 800; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 12px; }
.team-position { font-size: 1rem; font-weight: 700; color: var(--gold-text); margin-bottom: 22px; }
.team-credentials {
  font-size: 1.0625rem; line-height: 1.75; color: var(--charcoal);
  padding-top: 22px; border-top: 1px solid var(--gold); margin-bottom: 26px;
}
.team-email { font-size: 0.875rem; color: var(--charcoal); opacity: 0.85; text-decoration: none; border-bottom: 1px solid var(--line); overflow-wrap: anywhere; transition: color 0.2s, border-color 0.2s; }
.team-email:hover { color: var(--navy); border-color: var(--gold); opacity: 1; }
.team-controls { display: flex; justify-content: space-between; gap: 16px; margin-top: clamp(28px, 4vw, 48px); padding-top: 24px; border-top: 1px solid var(--line); }
.team-btn {
  font-family: var(--font-body); font-size: 0.9375rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--navy); background: transparent; border: 1px solid var(--navy); border-radius: var(--radius);
  padding: 14px 28px; cursor: pointer; transition: background-color 0.25s, color 0.25s;
}
.team-btn:hover { background: var(--navy); color: var(--ivory); }

/* 10. SEIN IN ACTION ------------------------------------------------------- */
.action { background: var(--beige); }
.action-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 32px); }
.action-item img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.action-item figcaption {
  display: flex; align-items: baseline; gap: 12px;
  margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--gold);
  font-size: 0.9375rem; font-weight: 700; color: var(--navy); letter-spacing: 0.02em;
}
.action-item figcaption span { font-family: var(--font-display); font-weight: 400; color: var(--gold-text); }

/* 11. PARTNER WITH US ------------------------------------------------------ */
.partner-inner { max-width: 860px; }
.partner .section-head { margin-bottom: 40px; }
.form-config-notice {
  font-size: 0.9375rem; text-align: center; color: var(--navy);
  border: 1px dashed var(--gold); padding: 14px 18px; margin-bottom: 36px; background: rgba(176, 141, 87, 0.08);
}
.form-config-notice[hidden] { display: none; }
.enquiry-form { text-align: left; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; }
.field--full { grid-column: 1 / -1; }
.field label { display: block; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; color: var(--navy); margin-bottom: 8px; }
.req { color: var(--gold-text); }
.optional { font-weight: 500; letter-spacing: 0; color: var(--charcoal); opacity: 0.8; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 1rem; color: var(--navy);
  background: transparent; border: 0; border-bottom: 1px solid rgba(20, 35, 63, 0.4);
  border-radius: 0; padding: 10px 0 12px; transition: border-color 0.2s;
}
.field textarea { border: 1px solid rgba(20, 35, 63, 0.4); padding: 14px; resize: vertical; min-height: 140px; border-radius: var(--radius); }
.field select {
  appearance: none; -webkit-appearance: none; cursor: pointer;
  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='%23B08D57' stroke-width='1.6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 4px center; padding-right: 28px;
}
.field select:invalid { color: rgba(59, 64, 72, 0.7); }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 1px 0 0 var(--gold); }
.field textarea:focus { box-shadow: 0 0 0 1px var(--gold); }
.field.has-error input, .field.has-error select, .field.has-error textarea { border-color: var(--error); }
.field-error { min-height: 0; margin-top: 6px; font-size: 0.8125rem; font-weight: 600; color: var(--error); }
.field-error:empty { display: none; }
.hp-field { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn-submit { display: flex; margin: 24px auto 0; min-width: 280px; }
.btn-submit[disabled] { opacity: 0.55; cursor: progress; }
.form-status { margin-top: 28px; text-align: center; font-size: 1rem; }
.form-status:empty { display: none; }
.form-status.is-success { color: var(--navy); border-top: 1px solid var(--gold); border-bottom: 1px solid var(--gold); padding: 24px 12px; font-family: var(--font-display); font-size: 1.3rem; line-height: 1.45; }
.form-status.is-error { color: var(--error); font-weight: 600; padding: 14px 16px; border: 1px solid var(--error); border-radius: var(--radius); }

/* 12. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy); color: var(--ivory); padding-block: clamp(56px, 8vw, 96px) 36px; }
/* Keep the floating WhatsApp button clear of the legal line */
.footer-legal { padding-right: 76px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: clamp(32px, 6vw, 96px); padding-bottom: clamp(40px, 6vw, 72px); }
.footer-title { font-family: var(--font-display); font-weight: 400; font-size: 1.6rem; line-height: 1.2; color: var(--ivory); margin-bottom: 18px; }
.footer-org p { color: rgba(250, 246, 236, 0.78); max-width: 30em; font-size: 1rem; }
.footer-heading {
  font-family: var(--font-body); font-size: 0.75rem; font-weight: 800; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 22px; padding-bottom: 14px; border-bottom: 1px solid rgba(176, 141, 87, 0.45);
}
.footer-col li + li { margin-top: 12px; }
.footer-col a { color: var(--ivory); text-decoration: none; font-size: 1rem; transition: color 0.2s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(176, 141, 87, 0.45); padding-top: 36px; }
.footer-tagline { font-family: var(--font-display); font-size: clamp(1.3rem, 2.4vw, 1.75rem); color: var(--gold); text-align: center; margin-bottom: 36px; }
.footer-legal { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; padding-top: 24px; border-top: 1px solid rgba(250, 246, 236, 0.18); font-size: 0.875rem; color: rgba(250, 246, 236, 0.7); }
.footer-legal a { color: rgba(250, 246, 236, 0.85); }
.footer-legal a:hover { color: var(--gold); }

/* 13. FLOATING WHATSAPP + TOAST ------------------------------------------- */
.wa-float {
  position: fixed; right: clamp(16px, 3vw, 28px); bottom: clamp(16px, 3vw, 28px); z-index: 150;
  width: 56px; height: 56px; display: grid; place-items: center;
  background: var(--navy); color: var(--ivory); border: 1px solid var(--gold); border-radius: 50%;
  box-shadow: 0 6px 20px rgba(20, 35, 63, 0.25); text-decoration: none; transition: background-color 0.25s, transform 0.25s;
}
.wa-float:hover { background: #1d3258; transform: translateY(-2px); }
.toast {
  position: fixed; left: 50%; bottom: 96px; transform: translateX(-50%); z-index: 400;
  max-width: min(92vw, 460px); background: var(--navy); color: var(--ivory);
  padding: 14px 20px; font-size: 0.9375rem; text-align: center; border: 1px solid var(--gold); border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(20, 35, 63, 0.3);
}
.toast[hidden], .wa-float[hidden] { display: none; }

/* Contact links that are not configured yet */
[data-contact].is-pending { cursor: help; }
.site-footer [data-contact].is-pending::after { content: " \2013  to be added"; font-size: 0.8em; opacity: 0.55; }

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

/* Tablet & below: switch to hamburger / overlay navigation */
@media (max-width: 960px) {
  .primary-nav { display: none; }
  .nav-toggle { display: inline-flex; }
  .header-inner { min-height: 72px; }
  .brand img { height: 38px; }

  .hero-grid { grid-template-columns: 1fr; }
  .hero-copy .lead { max-width: none; }
  /* Mobile: headline → paragraph → CTA → photograph (DOM order already matches) */
  .hero-media img {
    aspect-ratio: 4 / 3;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0, #000 14%, #000 82%, transparent 100%);
    -webkit-mask-composite: source-over; mask-composite: add;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-media::before { inset: 14px -8px -14px 14px; }

  .pmv-grid { grid-template-columns: 1fr; }
  .pmv-item { padding: 32px 0; border-left: 0; border-top: 1px solid rgba(176, 141, 87, 0.55); }
  .pmv-item:first-child { padding-top: 0; border-top: 0; }
  .pmv-item:last-child { padding-bottom: 0; }

  /* Programmes: always photo → name → grade → description → topics */
  .programme { grid-template-columns: 1fr; gap: 28px; }
  .programme--text-first .programme-media { order: 0; }

  .principles { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-org { grid-column: 1 / -1; }
}

@media (max-width: 760px) {
  .team-profile { grid-template-columns: 1fr; gap: 28px; }
  .team-photo { max-width: 360px; margin-inline: auto; width: 100%; }
  .action-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
  .field-grid { grid-template-columns: 1fr; gap: 24px; }
}

@media (max-width: 520px) {
  body { font-size: 1rem; }
  .eyebrow { letter-spacing: 0.12em; }
  .wa-float { width: 52px; height: 52px; }
  .footer-legal { padding-right: 0; padding-bottom: 64px; }
  .brand img { height: 34px; }
  .nav-toggle-label { display: none; }
  .btn { width: 100%; }
  .btn-submit { min-width: 0; }
  .team-controls { gap: 10px; }
  .team-btn { flex: 1; padding-inline: 12px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-legal { flex-direction: column; }
  .principle { grid-template-columns: 44px 1fr; }
}
