:root {
  --ivory: #f7f3ea;
  --ivory-deep: #efe8d9;
  --paper: #fbf8f1;
  --ink: #1c1916;
  --ink-soft: #534c44;
  --navy: #1e2a3a;
  --burgundy: #7a3b42;
  --burgundy-dark: #5c2c32;
  --bronze: #8d7349;
  --line: #d8d0c0;
  --black: #0e0d0c;
  --white: #fffdf8;
  --header-h: 84px;
  --max: 1120px;
  --font-serif: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
  --ease: 0.2s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.65;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--navy);
  text-decoration-thickness: 1px;
  text-underline-offset: 0.18em;
}

a:hover {
  color: var(--burgundy);
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.18;
  margin: 0 0 0.7rem;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.4rem, 6vw, 4.4rem);
}

h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: 1.4rem;
}

p {
  margin: 0 0 1rem;
  color: var(--ink-soft);
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -48px;
  background: var(--ink);
  color: var(--ivory);
  padding: 0.4rem 0.8rem;
  z-index: 1000;
}

.skip-link:focus {
  top: 12px;
}

.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;
}

.wrap {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 243, 234, 0.94);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.header-inner,
.footer-inner {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.header-inner {
  min-height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
  flex-shrink: 0;
}

.brand:hover {
  color: inherit;
}

.brand-logo {
  height: 58px;
  width: auto;
}

.brand-logo-on-dark {
  height: 88px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
}

.brand-legal {
  font-size: 0.68rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-soft);
  max-width: 14rem;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.15rem 0.85rem;
}

.site-nav > a:not(.btn) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ink-soft);
  text-decoration: none;
}

.site-nav > a:not(.btn):hover,
.site-nav > a[aria-current="page"] {
  color: var(--ink);
}

.site-nav > a[aria-current="page"] {
  box-shadow: inset 0 -1px 0 var(--burgundy);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: var(--paper);
}

.nav-toggle span {
  display: block;
  width: 16px;
  height: 1.5px;
  margin: 4px auto;
  background: var(--ink);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.8rem 1.25rem;
  font-family: var(--font-sans);
  font-size: 0.92rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background var(--ease), color var(--ease), border-color var(--ease);
}

.btn:hover {
  text-decoration: none;
}

.btn-primary {
  background: var(--burgundy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--burgundy-dark);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}

.btn-ghost:hover {
  background: var(--navy);
  color: var(--ivory);
}

.btn-sm {
  padding: 0.5rem 0.9rem;
  font-size: 0.82rem;
}

.hero-actions,
.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1.4rem 0 0.3rem;
}

.kicker,
.eyebrow {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.65rem;
}

.lede {
  font-size: 1.18rem;
  max-width: 40rem;
}

.section {
  padding: 4.2rem 0;
}

.section.alt {
  background: var(--ivory-deep);
}

.section.ink {
  background: var(--navy);
  color: var(--ivory);
}

.section.ink h2,
.section.ink h3 {
  color: var(--ivory);
}

.section.ink p,
.section.ink .kicker {
  color: rgba(247, 243, 234, 0.82);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.section-head p {
  max-width: 36rem;
  margin: 0.5rem 0 0;
}

.page-hero {
  padding: 3.2rem 0 1.6rem;
}

.page-hero .wrap {
  max-width: 46rem;
  margin-left: min(max(1rem, calc((100% - var(--max)) / 2)), 100%);
}

.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-bottom: 1.4rem;
}

.crumbs a {
  color: var(--ink-soft);
  text-decoration: none;
}

.crumbs a:hover {
  color: var(--burgundy);
}

.hero {
  padding: 3.4rem 0 2.8rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.crest-panel {
  display: grid;
  place-items: center;
  padding: 0.2rem 0.4rem 0.6rem;
}

.crest-panel img {
  width: min(100%, 280px);
  margin: 0 auto;
}

.crest-caption {
  margin-top: 1.1rem;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-align: center;
}

.founder-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.founder-grid.supporting {
  grid-template-columns: 1fr 1fr;
  margin-top: 1.2rem;
}

.founder-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.45rem 1.35rem;
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.founder-card .portrait {
  aspect-ratio: 4 / 3;
  background: var(--navy);
  color: var(--ivory);
  display: grid;
  place-items: center;
  margin: -1.5rem -1.45rem 1.15rem;
  font-family: var(--font-serif);
  font-size: 2.4rem;
  overflow: hidden;
}

.founder-card .portrait:has(img) {
  place-items: stretch;
}

.founder-card .portrait img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  object-position: center top;
}

.founder-card .portrait .photo-sushil {
  object-position: 50% 3%;
}

.founder-card .portrait .photo-david {
  object-position: 48% 6%;
}

.founder-card.compact .portrait {
  aspect-ratio: 16 / 7;
  font-size: 1.7rem;
}

.founder-card .role {
  font-size: 0.82rem;
  color: var(--bronze);
  margin-bottom: 0.55rem;
}

.founder-card p:last-of-type {
  margin-bottom: 1.1rem;
}

.founder-card .text-link {
  margin-top: auto;
}

.text-link {
  font-weight: 600;
  color: var(--burgundy);
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.note {
  font-size: 0.95rem;
  border-left: 2px solid var(--burgundy);
  padding-left: 1rem;
  margin-top: 1.4rem;
}

.timeline {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.timeline-item {
  display: grid;
  grid-template-columns: 8.5rem 1fr;
  gap: 1.4rem;
  padding: 1.35rem 0;
  border-bottom: 1px solid var(--line);
}

.timeline-item .year {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--burgundy);
}

.prose {
  max-width: 42rem;
}

.prose h2 {
  margin-top: 2.4rem;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose blockquote {
  margin: 1.4rem 0;
  padding: 0.2rem 0 0.2rem 1.1rem;
  border-left: 2px solid var(--burgundy);
}

.prose blockquote p {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-style: italic;
  color: var(--ink);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}

.pathway-list {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line);
}

.pathway {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1.2rem;
  padding: 1.3rem 0;
  border-bottom: 1px solid var(--line);
}

.pathway .label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bronze);
}

.cards-3,
.cards-2,
.resource-groups {
  display: grid;
  gap: 1.1rem;
}

.cards-3 {
  grid-template-columns: repeat(3, 1fr);
}

.programme-cards .card {
  display: flex;
  flex-direction: column;
}

.programme-cards .card > p:last-of-type {
  margin-bottom: 1.15rem;
}

.programme-cards .card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.application-tiles .resource-card {
  display: flex;
  flex-direction: column;
}

.application-tiles .resource-card > p:last-of-type {
  margin-bottom: 1.15rem;
}

.application-tiles .resource-card .btn {
  margin-top: auto;
  align-self: flex-start;
}

.cards-2 {
  grid-template-columns: 1fr 1fr;
}

.syndicate-feed {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 46rem;
}

.syndicate-item {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem;
}

.syndicate-item h2,
.syndicate-item h3 {
  margin: 0.15rem 0 0.45rem;
}

.syndicate-meta {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 0.75rem;
}

.blog-list {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  max-width: 46rem;
}

.blog-entry {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.5rem 1.4rem 1.35rem;
}

.blog-entry h2 {
  margin: 0.1rem 0 0.85rem;
  font-size: clamp(1.45rem, 2.4vw, 1.85rem);
}

.tldr-label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.35rem;
}

.prose h2.tldr-label {
  margin-top: 0;
  font-family: var(--font-sans);
}

.related-reading {
  margin-top: 2.6rem;
  padding-top: 0.2rem;
}

.related-reading ul {
  list-style: none;
  padding: 0;
  margin: 0.6rem 0 0;
  display: grid;
  gap: 0.45rem;
}

.sitemap-page .sitemap-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem 1.6rem;
  margin-top: 2.4rem;
}

.sitemap-groups h2 {
  font-size: 1.15rem;
  margin: 0 0 0.7rem;
}

.sitemap-groups ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.4rem;
}

@media (max-width: 800px) {
  .sitemap-page .sitemap-groups {
    grid-template-columns: 1fr;
  }
}

.blog-entry .tldr {
  margin-bottom: 1.15rem;
}

.syndicate-item > p:last-of-type {
  margin-bottom: 1.15rem;
}

.syndicate-item .btn {
  align-self: flex-start;
}

.card,
.resource-card {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.3rem;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.4rem;
}

.filters button {
  font: inherit;
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.filters button.is-active,
.filters button:hover {
  border-color: var(--navy);
  color: var(--ink);
}

.members-panel {
  background: var(--paper);
  border: 1px solid var(--line);
  padding: 1.35rem 1.35rem 1.1rem;
  margin-top: 0.85rem;
}

.members-toolbar {
  display: grid;
  grid-template-columns: minmax(12rem, 18rem) 1fr;
  gap: 1rem 1.4rem;
  align-items: end;
  margin-bottom: 1rem;
}

.members-search label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.4rem;
}

.members-search input {
  width: 100%;
  font: inherit;
  font-size: 0.98rem;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  padding: 0.55rem 0.75rem;
}

.members-search input:focus {
  outline: 2px solid var(--burgundy);
  outline-offset: 2px;
  border-color: var(--burgundy);
}

.members-toolbar .filters {
  margin-bottom: 0;
}

.members-count {
  font-size: 0.88rem;
  color: var(--ink-soft);
  margin: 0 0 0.85rem;
}

.members-table-wrap {
  overflow-x: auto;
  border-top: 1px solid var(--line);
}

.members-table {
  width: 100%;
  border-collapse: collapse;
  min-width: 40rem;
}

.members-table thead th {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--burgundy);
  text-align: left;
  padding: 0.95rem 0.85rem 0.7rem;
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
}

.members-table tbody th,
.members-table tbody td {
  padding: 0.95rem 0.85rem;
  border-bottom: 1px solid var(--line);
  vertical-align: middle;
  font-weight: 400;
}

.members-table tbody th {
  font-family: var(--font-serif);
  font-size: 1.28rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}

.members-table tbody tr:nth-child(even) {
  background: rgba(239, 232, 217, 0.45);
}

.members-table tbody tr:hover {
  background: var(--ivory-deep);
}

.grad-status {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--navy);
  border: 1px solid var(--line);
  background: var(--ivory);
  padding: 0.22rem 0.6rem;
  white-space: nowrap;
}

.members-email {
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  color: var(--ink-soft);
  font-variant-ligatures: none;
  white-space: nowrap;
}

.members-empty td {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--ink-soft);
  padding: 2rem 0.85rem;
}

.members-pager {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1rem;
}

.members-page-status {
  margin: 0;
  font-size: 0.88rem;
}

.members-page-btn {
  font: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.4rem 0.85rem;
  border: 1px solid var(--line);
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.members-page-btn:hover:not(:disabled) {
  border-color: var(--navy);
}

.members-page-btn:disabled {
  opacity: 0.4;
  cursor: default;
}

.members-note {
  margin-top: 1.2rem;
}

.city-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  margin: 1rem 0 0;
  list-style: none;
}

.city-list li {
  border: 1px solid var(--line);
  padding: 0.3rem 0.7rem;
  font-size: 0.88rem;
}

.cta-band {
  padding: 3.2rem 0;
  background: var(--navy);
  color: var(--ivory);
}

.cta-band h2,
.cta-band p {
  color: inherit;
}

.cta-band p {
  opacity: 0.86;
  max-width: 38rem;
}

.cta-band .btn-ghost {
  border-color: var(--ivory);
  color: var(--ivory);
}

.cta-band .btn-ghost:hover {
  background: var(--ivory);
  color: var(--navy);
}

.site-footer {
  background: var(--black);
  color: rgba(247, 243, 234, 0.78);
  padding: 3rem 0 0;
}

.site-footer a {
  color: rgba(247, 243, 234, 0.82);
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--ivory);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 0.8fr;
  gap: 1.6rem 1.2rem;
  padding-bottom: 2.2rem;
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  color: var(--ivory);
  margin: 0.8rem 0 0.4rem;
}

.footer-tagline,
.footer-brand p {
  color: rgba(247, 243, 234, 0.7);
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.footer-col h3 {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(247, 243, 234, 0.5);
  margin-bottom: 0.55rem;
}

.footer-bar {
  border-top: 1px solid rgba(247, 243, 234, 0.12);
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
  padding: 1rem 0 1.3rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.4rem 1rem;
  font-size: 0.85rem;
}

.footer-bar p {
  margin: 0;
  color: rgba(247, 243, 234, 0.55);
}

.wa-float {
  position: fixed;
  left: max(1.2rem, env(safe-area-inset-left, 0px) + 0.85rem);
  bottom: max(1.35rem, env(safe-area-inset-bottom, 0px) + 0.9rem);
  z-index: 80;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--white);
  color: #128c7e;
  border: 1px solid rgba(30, 42, 58, 0.16);
  box-shadow: 0 10px 28px rgba(14, 13, 12, 0.16);
  text-decoration: none;
  touch-action: manipulation;
  transition: transform var(--ease), border-color var(--ease), background var(--ease), color var(--ease), box-shadow var(--ease);
}

.wa-float:hover,
.wa-float:focus-visible {
  color: #0d6e5c;
  background: var(--paper);
  border-color: var(--burgundy);
  box-shadow: 0 12px 32px rgba(14, 13, 12, 0.2);
  text-decoration: none;
}

@media (hover: hover) and (pointer: fine) {
  .wa-float:hover {
    transform: translateY(-2px);
  }
}

.wa-float-icon {
  display: block;
}

@media (prefers-reduced-motion: reduce) {
  .wa-float {
    transition: none;
  }

  .wa-float:hover {
    transform: none;
  }
}

.contact-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
}

.profile-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.4rem;
  align-items: start;
}

.profile-mark {
  display: grid;
  place-items: center;
  padding: 0.2rem 0;
}

.profile-mark img {
  width: min(100%, 220px);
}

.profile-photo-wrap img {
  width: min(100%, 320px);
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
}

.profile-photo-wrap .photo-sushil {
  object-position: 58% 10%;
}

.profile-photo-wrap .photo-david {
  object-position: 48% 10%;
}

.memorial-band {
  background: var(--ivory-deep);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.memorial-band h2 {
  font-size: clamp(1.9rem, 3.6vw, 2.85rem);
}

.memorial-lede {
  margin-bottom: 1.8rem;
}

.memorial-video {
  margin: 0;
}

.video-frame {
  background: var(--black);
}

.video-frame video {
  display: block;
  width: 100%;
  height: auto;
}

.memorial-video figcaption {
  margin-top: 0.95rem;
  font-size: 0.95rem;
  color: var(--ink-soft);
}

.memorial-video figcaption .text-link {
  margin-left: 0.55rem;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.1rem;
}

.gallery-item {
  background: var(--paper);
  border: 1px solid var(--line);
  margin: 0;
}

.gallery-item img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  object-position: center 18%;
}

.gallery-item figcaption {
  padding: 0.85rem 1rem 1rem;
  font-size: 0.92rem;
}

.gallery-item figcaption p {
  margin: 0;
}

.gallery-item .year {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--burgundy);
  margin-bottom: 0.25rem;
}

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

@media (max-width: 980px) {
  .hero-grid,
  .split,
  .profile-layout,
  .contact-panel,
  .founder-grid,
  .cards-3,
  .footer-inner,
  .members-toolbar,
  .members-pager {
    grid-template-columns: 1fr;
  }

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

  .members-pager {
    display: grid;
    justify-content: stretch;
  }

  .pathway,
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .nav-toggle {
    display: block;
  }

  .site-nav {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: var(--header-h);
    background: var(--ivory);
    border-bottom: 1px solid var(--line);
    padding: 1rem 1rem 1.3rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav .btn {
    width: 100%;
  }

  .header-inner {
    position: relative;
  }

  .brand-legal {
    display: none;
  }

  .crest-panel {
    padding: 0.1rem 0 0.4rem;
  }

  .footer-bar {
    padding-bottom: 5rem;
  }

  .wa-float {
    width: 48px;
    height: 48px;
    left: max(1rem, env(safe-area-inset-left, 0px) + 0.7rem);
    bottom: max(1.1rem, env(safe-area-inset-bottom, 0px) + 0.75rem);
  }
}

@media (max-width: 640px) {
  .founder-grid.supporting,
  .cards-2,
  .gallery-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 2rem;
  }

  .section {
    padding: 3rem 0;
  }

  .members-table {
    min-width: 0;
  }

  .members-table thead {
    display: none;
  }

  .members-table tbody tr {
    display: block;
    padding: 0.85rem 0.2rem 0.35rem;
    border-bottom: 1px solid var(--line);
  }

  .members-table tbody th,
  .members-table tbody td {
    display: block;
    padding: 0.2rem 0.5rem 0.45rem;
    border: 0;
  }

  .members-table tbody td::before {
    content: attr(data-label);
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--burgundy);
    margin-bottom: 0.15rem;
  }

  .members-email {
    white-space: normal;
    word-break: break-word;
  }
}
