:root {
  --bg: #08060d;
  --bg2: #0e0a15;
  --panel: #14101c;
  --paper: #f3f0f5;
  --ink: #17131d;
  --white: #f9f7fb;
  --muted: #aaa3b3;
  --purple: #8f48d4;
  --purple2: #bd7af5;
  --gold: #f1c75b;
  --line: rgba(255, 255, 255, 0.11);
  --radius: 22px;
  --max: 1240px;
  --pad: clamp(22px, 5vw, 72px);
  --sans: "Manrope", system-ui, sans-serif;
  --arabic: "Alexandria", system-ui, sans-serif;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
}
[dir="rtl"] body {
  font-family: var(--arabic);
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a {
  color: inherit;
}
a {
  text-decoration: none;
}
button {
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
.ambient {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  background:
    radial-gradient(
      circle at 75% 12%,
      rgba(143, 72, 212, 0.13),
      transparent 25%
    ),
    radial-gradient(
      circle at 16% 65%,
      rgba(241, 199, 91, 0.05),
      transparent 23%
    );
}
.nav-shell {
  height: 96px;
  position: absolute;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: 240px 1fr 240px;
  align-items: center;
  padding: 0 var(--pad);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(8, 6, 13, 0.75), transparent);
}
.logo-frame {
  width: 230px;
  height: 88px;
  display: block;
  overflow: hidden;
}
.logo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.nav-shell nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 45px);
  font-size: 13px;
  color: #d5d0da;
}
.nav-shell nav a,
.nav-login {
  transition: 0.2s;
}
.nav-shell nav a:hover,
.nav-login:hover {
  color: var(--gold);
}
.nav-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 15px;
}
.lang-switch {
  min-width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  color: var(--gold);
  font-weight: 700;
}
.nav-login {
  font-size: 13px;
}
.hero {
  min-height: 100svh;
  position: relative;
  display: flex;
  align-items: center;
  padding: 150px max(var(--pad), calc((100vw - var(--max)) / 2)) 70px;
  overflow: hidden;
}
.hero-grid {
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.07) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, #000, transparent 82%);
}
.hero-content {
  position: relative;
  z-index: 3;
  width: min(780px, 72%);
}
.kicker {
  margin: 0 0 24px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}
.hero h1 {
  font-size: clamp(58px, 8vw, 122px);
  line-height: 0.98;
  letter-spacing: -0.065em;
  margin: 0;
  font-weight: 500;
  max-width: 900px;
}
.hero .lead {
  max-width: 650px;
  color: #c2bbc8;
  font-size: clamp(16px, 1.5vw, 20px);
  line-height: 1.8;
  margin: 35px 0;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.primary-btn,
.quiet-btn {
  min-height: 50px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 13px;
  font-weight: 700;
}
.primary-btn {
  background: linear-gradient(120deg, var(--purple), #6e2cae);
  color: #fff;
  box-shadow: 0 15px 45px rgba(113, 43, 169, 0.25);
}
.primary-btn:hover {
  border-color: var(--gold);
  transform: translateY(-1px);
}
.quiet-btn {
  background: transparent;
  border-color: var(--line);
  color: #ddd6e2;
}
.quiet-btn:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.star-core {
  position: absolute;
  right: 8vw;
  top: 23%;
  width: clamp(260px, 35vw, 560px);
  height: clamp(260px, 35vw, 560px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 35% 30%,
    #c780ff,
    #7534b4 22%,
    #2b123c 52%,
    #09070c 72%
  );
  box-shadow:
    0 0 120px rgba(154, 72, 216, 0.2),
    inset -40px -35px 80px #030205;
}
.star-core span {
  font-size: clamp(90px, 13vw, 190px);
  color: var(--gold);
  filter: drop-shadow(0 0 35px rgba(241, 199, 91, 0.25));
}
.orbit {
  position: absolute;
  border: 1px solid rgba(241, 199, 91, 0.23);
  border-radius: 50%;
  right: -5vw;
  top: 15%;
  width: 55vw;
  height: 55vw;
  transform: rotate(-25deg) scaleY(0.45);
}
.orbit-b {
  border-color: rgba(157, 78, 218, 0.25);
  right: 2vw;
  top: 22%;
  width: 40vw;
  height: 40vw;
  transform: rotate(35deg) scaleY(0.58);
}
.hero-meta {
  position: absolute;
  bottom: 30px;
  left: var(--pad);
  right: var(--pad);
  display: flex;
  justify-content: space-between;
  color: #6f6877;
  font-size: 9px;
  letter-spacing: 0.16em;
}
.section {
  padding: clamp(90px, 10vw, 150px)
    max(var(--pad), calc((100vw - var(--max)) / 2));
}
.mission {
  background: var(--paper);
  color: var(--ink);
  display: grid;
  grid-template-columns: 80px 1.2fr 1fr;
  gap: clamp(30px, 5vw, 80px);
  align-items: start;
}
.section-number,
.section-head > span {
  font-size: 11px;
  color: #827989;
}
.mission .kicker,
.light-section .kicker {
  color: #7433a9;
}
.mission h2,
.section-head h2,
.join-section h2 {
  font-size: clamp(44px, 6.3vw, 90px);
  line-height: 1.06;
  letter-spacing: -0.055em;
  margin: 0;
  font-weight: 500;
}
.mission-copy {
  font-size: clamp(17px, 1.8vw, 23px);
  line-height: 1.85;
  color: #5f5865;
  margin: 45px 0 0;
}
.dark-section {
  background: var(--bg);
}
.light-section {
  background: var(--paper);
  color: var(--ink);
}
.section-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 60px;
}
.project-list {
  border-top: 1px solid var(--line);
}
.project-list article {
  display: grid;
  grid-template-columns: 70px 1fr 150px;
  gap: 25px;
  align-items: start;
  padding: 35px 0;
  border-bottom: 1px solid var(--line);
}
.project-list article > span {
  color: var(--gold);
  font-size: 11px;
}
.project-list h3,
.event-list h3 {
  font-size: clamp(22px, 2.3vw, 34px);
  margin: 0 0 12px;
  font-weight: 500;
}
.project-list p,
.event-list p {
  margin: 0;
  max-width: 720px;
  color: var(--muted);
}
.project-list article > b {
  color: var(--purple2);
  font-size: 11px;
  text-align: right;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}
.team-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.team-list article {
  border: 1px solid rgba(23, 19, 29, 0.14);
  padding: 14px 14px 28px;
}
.member-image {
  height: 300px;
  background: linear-gradient(145deg, #2b173d, #120d18);
  display: grid;
  place-items: center;
  overflow: hidden;
  margin-bottom: 22px;
}
.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-image span {
  font-size: 80px;
  color: var(--gold);
}
.team-list h3 {
  font-size: 20px;
  margin: 0 8px 5px;
}
.team-list b {
  font-size: 10px;
  color: #7634a9;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  margin: 0 8px;
}
.team-list p {
  font-size: 13px;
  color: #6e6772;
  margin: 14px 8px 0;
}
.event-list {
  display: grid;
  gap: 14px;
}
.event-list article {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 25px;
  display: grid;
  grid-template-columns: 85px 1fr auto;
  gap: 25px;
  align-items: center;
  background: linear-gradient(135deg, rgba(143, 72, 212, 0.07), transparent);
}
.event-date {
  height: 82px;
  border: 1px solid rgba(241, 199, 91, 0.28);
  display: grid;
  place-items: center;
  align-content: center;
}
.event-date b {
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
}
.event-date span {
  font-size: 10px;
  text-transform: uppercase;
  margin-top: 7px;
}
.event-list small {
  color: #756e7d;
}
.join-section {
  text-align: center;
  min-height: 650px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle, rgba(139, 65, 204, 0.2), transparent 46%), #0b0810;
}
.join-star {
  font-size: 70px;
  color: var(--gold);
  margin-bottom: 25px;
}
.join-section h2 {
  max-width: 850px;
}
.join-section > p {
  max-width: 610px;
  color: var(--muted);
  margin: 25px auto 35px;
  font-size: 17px;
}
footer {
  padding: 45px var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  color: #8d8693;
  font-size: 12px;
}
footer > div:first-child {
  display: flex;
  align-items: center;
  gap: 20px;
}
footer img {
  width: 170px;
  height: 70px;
  object-fit: cover;
}
footer p {
  margin: 0;
}
.socials {
  display: flex;
  gap: 24px;
}
.socials a:hover {
  color: var(--gold);
}
.empty {
  grid-column: 1/-1;
  color: var(--muted);
  padding: 30px 0;
}
dialog {
  width: min(480px, calc(100% - 30px));
  border: 1px solid var(--line);
  border-radius: 26px;
  background: #120e19;
  color: #fff;
  padding: 45px;
  text-align: center;
  box-shadow: 0 30px 100px #000;
}
dialog::backdrop {
  background: rgba(3, 2, 5, 0.82);
  backdrop-filter: blur(10px);
}
.modal-close {
  position: absolute;
  right: 18px;
  top: 16px;
  border: 0;
  background: transparent;
  color: #aaa;
  font-size: 28px;
}
.modal-star {
  display: block;
  color: var(--gold);
  font-size: 50px;
}
.modal-message {
  min-height: 25px;
  color: var(--gold);
  font-size: 13px;
}
.modal-message a {
  border-bottom: 1px solid currentColor;
}
.portal-body {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 100px 20px 40px;
  background:
    radial-gradient(
      circle at 50% 20%,
      rgba(143, 72, 212, 0.18),
      transparent 32%
    ),
    var(--bg);
}
.portal-logo {
  position: absolute;
  top: 10px;
  left: var(--pad);
}
.portal-lang {
  position: absolute;
  top: 30px;
  right: var(--pad);
}
.portal-card {
  width: min(470px, 100%);
  padding: 45px;
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(18, 14, 25, 0.86);
  text-align: center;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.38);
}
.portal-card h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 10px 0;
}
.portal-card > p {
  color: var(--muted);
}
#google-login,
#google-button {
  display: flex;
  justify-content: center;
  margin: 28px 0;
}
.divider {
  display: flex;
  align-items: center;
  gap: 15px;
  color: #6f6877;
  font-size: 9px;
  letter-spacing: 0.16em;
  margin: 28px 0;
}
.divider:before,
.divider:after {
  content: "";
  height: 1px;
  background: var(--line);
  flex: 1;
}
.portal-card details {
  text-align: left;
}
.portal-card summary {
  cursor: pointer;
  color: #b8b1bf;
  font-size: 12px;
}
.portal-card form,
.form-stack {
  display: grid;
  gap: 15px;
  margin-top: 20px;
}
.portal-card label,
.console-panel label {
  display: grid;
  gap: 7px;
  text-align: left;
  color: #aaa3b3;
  font-size: 11px;
}
.portal-card input,
.console-panel input,
.console-panel textarea,
.console-panel select {
  width: 100%;
  background: #0b0810;
  color: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 13px;
  outline: 0;
}
.portal-card input:focus,
.console-panel input:focus,
.console-panel textarea:focus,
.console-panel select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(241, 199, 91, 0.08);
}
.form-message {
  color: var(--gold);
  font-size: 12px;
  min-height: 18px;
}
.dashboard-body,
.admin-app {
  min-height: 100vh;
  background: #09070d;
}
.dash-top {
  height: 95px;
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 var(--pad);
}
.dash-top > div {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 12px;
}
.text-btn {
  border: 0;
  background: transparent;
  color: #aaa;
}
.member-console {
  width: min(var(--max), calc(100% - 40px));
  margin: auto;
  padding: 70px 0 100px;
}
.console-title {
  margin-bottom: 45px;
}
.console-title h1,
.admin-workspace header h1 {
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1.1;
  margin: 0;
}
.console-title > span,
.secure-pill {
  display: inline-block;
  border: 1px solid rgba(241, 199, 91, 0.25);
  color: var(--gold);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 10px;
  margin-top: 18px;
}
.member-console-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 20px;
}
.identity-card,
.console-panel {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--panel);
  padding: 28px;
}
.identity-card {
  text-align: center;
  align-self: start;
}
.identity-photo {
  width: 190px;
  height: 190px;
  margin: 0 auto 22px;
  border-radius: 50%;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: linear-gradient(145deg, #411865, #1c1128);
  color: var(--gold);
  font-size: 60px;
  border: 1px solid var(--gold);
}
.identity-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.identity-card h2 {
  margin: 0;
}
.identity-card p,
.identity-card small {
  color: var(--muted);
  overflow-wrap: anywhere;
}
.two-fields {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.admin-app {
  display: grid;
  grid-template-columns: 270px 1fr;
}
.admin-rail {
  position: sticky;
  top: 0;
  height: 100vh;
  border-right: 1px solid var(--line);
  padding: 20px;
  display: flex;
  flex-direction: column;
  background: #0d0a12;
}
.admin-rail > p {
  text-align: center;
  color: #6f6877;
  font-size: 9px;
  letter-spacing: 0.2em;
}
.admin-rail nav {
  display: grid;
  gap: 7px;
  margin-top: 25px;
}
.admin-rail nav button,
.rail-bottom button,
.rail-bottom a {
  border: 0;
  background: transparent;
  color: #918a98;
  padding: 13px 15px;
  text-align: left;
  font-size: 12px;
  border-radius: 10px;
}
.admin-rail nav button.active {
  background: rgba(143, 72, 212, 0.15);
  color: #d2a5f8;
}
.admin-rail nav b {
  float: right;
  background: var(--gold);
  color: #111;
  border-radius: 99px;
  padding: 1px 6px;
}
.rail-bottom {
  margin-top: auto;
  display: grid;
  gap: 4px;
}
.admin-workspace {
  padding: 40px clamp(24px, 4vw, 60px);
}
.admin-workspace > header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}
.admin-workspace header h1 {
  font-size: 48px;
}
.admin-tab {
  display: none;
}
.admin-tab.active {
  display: block;
}
.stat-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
.stat-cards article {
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 23px;
  background: var(--panel);
}
.stat-cards span {
  color: #8d8693;
  font-size: 11px;
}
.stat-cards b {
  display: block;
  color: var(--gold);
  font-size: 40px;
  margin-top: 18px;
}
.welcome-panel {
  margin-top: 16px;
  display: flex;
  align-items: center;
  gap: 30px;
}
.welcome-panel > span {
  font-size: 70px;
  color: var(--gold);
}
.welcome-panel h2 {
  font-size: 28px;
  margin: 0 0 8px;
}
.welcome-panel p,
.section-toolbar p {
  color: var(--muted);
}
.section-toolbar {
  margin-bottom: 25px;
}
.section-toolbar h2 {
  font-size: 30px;
  margin: 0;
}
.record-list {
  display: grid;
  gap: 10px;
}
.record {
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 20px;
  background: var(--panel);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.record-person {
  display: flex;
  align-items: center;
  gap: 15px;
}
.record-person img,
.record-person > span {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  display: grid;
  place-items: center;
  background: #2c173e;
  color: var(--gold);
}
.record h3 {
  margin: 0 0 3px;
  font-size: 15px;
}
.record p,
.record small {
  display: block;
  margin: 0;
  color: #8f8895;
  font-size: 11px;
}
.record-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}
.record button {
  border: 1px solid var(--line);
  border-radius: 9px;
  background: transparent;
  color: #aaa;
  padding: 8px 12px;
  font-size: 11px;
}
.record button.approve {
  border-color: rgba(99, 220, 151, 0.35);
  color: #7ee4a9;
}
.publish-toggle {
  display: flex !important;
  align-items: center;
  gap: 8px;
}
.split-admin {
  display: grid;
  grid-template-columns: minmax(330px, 0.8fr) 1.2fr;
  gap: 18px;
}
.compact-list {
  margin-top: 15px;
}
.event-record {
  align-items: flex-start;
}
.event-record small {
  margin-top: 5px;
}
.console-panel h2 {
  margin: 0 0 20px;
}
@media (max-width: 1000px) {
  .nav-shell {
    grid-template-columns: 190px 1fr 150px;
  }
  .logo-frame {
    width: 190px;
  }
  .hero-content {
    width: 68%;
  }
  .mission {
    grid-template-columns: 50px 1fr;
  }
  .mission-copy {
    grid-column: 2;
  }
  .team-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .admin-app {
    grid-template-columns: 220px 1fr;
  }
  .stat-cards {
    grid-template-columns: repeat(2, 1fr);
  }
  .split-admin {
    grid-template-columns: 1fr;
  }
  .member-console-grid {
    grid-template-columns: 260px 1fr;
  }
}
@media (max-width: 760px) {
  body {
    font-size: 15px;
  }
  .nav-shell {
    height: 80px;
    grid-template-columns: 1fr auto;
    padding: 0 18px;
  }
  .nav-shell .logo-frame {
    width: 165px;
    height: 70px;
  }
  .nav-shell nav {
    display: none;
  }
  .nav-actions {
    grid-column: 2;
  }
  .hero {
    min-height: 820px;
    padding: 125px 22px 55px;
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
    z-index: 5;
  }
  .hero h1 {
    font-size: 56px;
  }
  .hero .lead {
    font-size: 15px;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    width: min(100%, 320px);
  }
  .star-core {
    width: 360px;
    height: 360px;
    right: -120px;
    top: 52%;
    opacity: 0.55;
  }
  .orbit {
    top: 50%;
    width: 600px;
    height: 600px;
    right: -280px;
  }
  .hero-meta {
    display: none;
  }
  .section {
    padding: 85px 22px;
  }
  .mission {
    grid-template-columns: 1fr;
  }
  .section-number {
    display: none;
  }
  .mission-copy {
    grid-column: 1;
    margin-top: 0;
  }
  .mission h2,
  .section-head h2,
  .join-section h2 {
    font-size: 46px;
  }
  .project-list article {
    grid-template-columns: 35px 1fr;
  }
  .project-list article > b {
    grid-column: 2;
    text-align: left;
  }
  .team-list {
    grid-template-columns: 1fr;
  }
  .member-image {
    height: 360px;
  }
  .event-list article {
    grid-template-columns: 65px 1fr;
  }
  .event-list .primary-btn {
    grid-column: 1/-1;
  }
  .event-date {
    height: 65px;
  }
  .event-date b {
    font-size: 24px;
  }
  footer {
    align-items: flex-start;
    flex-direction: column;
    gap: 25px;
  }
  .socials {
    flex-wrap: wrap;
    gap: 14px;
  }
  .portal-logo {
    left: 15px;
  }
  .portal-lang {
    right: 20px;
  }
  .portal-card {
    padding: 35px 22px;
  }
  .dash-top {
    height: auto;
    padding: 10px 18px;
  }
  .dash-top .logo-frame {
    width: 160px;
    height: 70px;
  }
  .dash-top > div a {
    display: none;
  }
  .member-console {
    padding-top: 45px;
  }
  .member-console-grid,
  .two-fields {
    grid-template-columns: 1fr;
  }
  .admin-app {
    display: block;
  }
  .admin-rail {
    position: static;
    height: auto;
    border: 0;
    border-bottom: 1px solid var(--line);
  }
  .admin-rail .logo-frame {
    margin: auto;
  }
  .admin-rail nav {
    grid-template-columns: repeat(2, 1fr);
  }
  .rail-bottom {
    margin-top: 15px;
    grid-template-columns: repeat(3, 1fr);
  }
  .admin-workspace {
    padding: 30px 16px;
  }
  .admin-workspace header h1 {
    font-size: 36px;
  }
  .stat-cards {
    grid-template-columns: 1fr 1fr;
  }
  .record {
    align-items: flex-start;
    flex-direction: column;
  }
  .record-actions {
    width: 100%;
    flex-wrap: wrap;
  }
  .split-admin {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 420px) {
  .hero h1 {
    font-size: 47px;
  }
  .stat-cards {
    grid-template-columns: 1fr;
  }
  .member-image {
    height: 300px;
  }
  .section-head h2 {
    font-size: 40px;
  }
  .admin-rail nav {
    grid-template-columns: 1fr;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
.hero-ar {
  font-family: var(--arabic);
  font-size: clamp(27px, 3vw, 46px);
  font-weight: 400;
  color: var(--gold);
  margin: 20px 0 0;
}
.dual-copy {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  max-width: 800px;
  margin: 28px 0 35px;
  color: #c2bbc8;
}
.dual-copy p {
  margin: 0;
}
.dual-copy [dir="rtl"],
.dual-body [dir="rtl"],
.content-pair [dir="rtl"],
.section-ar {
  font-family: var(--arabic);
}
.section-ar {
  font-size: clamp(25px, 3.5vw, 50px);
  line-height: 1.35;
  color: var(--purple2);
  font-weight: 400;
  margin: 18px 0 0;
}
.dark-ar {
  color: #7433a9;
}
.dual-body p {
  margin: 0 0 24px;
}
.content-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}
.content-pair h3,
.content-pair p,
.content-pair b {
  margin-top: 0;
}
.team-list .content-pair {
  display: block;
}
.team-list .content-pair b {
  display: block;
  margin: 5px 8px;
}
.team-list .content-pair p {
  margin: 10px 8px;
}
.upload-note {
  color: var(--muted);
}
@media (max-width: 760px) {
  .dual-copy,
  .content-pair {
    grid-template-columns: 1fr;
  }
  .hero-ar {
    font-size: 30px;
  }
  .section-ar {
    font-size: 30px;
  }
  .nav-shell nav {
    display: none;
  }
}
.vision {
  padding-top: 22px;
  border-top: 1px solid rgba(23, 19, 29, 0.13);
}
.project-card:has(.project-image) {
  grid-template-columns: minmax(180px, 260px) 50px 1fr 130px;
}
.project-image {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 14px;
}
.card-links {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 18px;
}
.card-links a {
  border: 1px solid currentColor;
  border-radius: 999px;
  padding: 7px 11px;
  color: var(--gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
}
.card-links a:hover {
  background: var(--gold);
  color: #16101b;
}
.team-list .card-links {
  margin: 18px 8px 0;
}
.team-list > article > b {
  display: block;
  margin: 5px 8px;
  color: #7634a9;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.11em;
}
.team-list > article > p {
  margin: 12px 8px;
  color: #6e6772;
  font-size: 13px;
}
[dir="rtl"] body {
  font-family: var(--arabic);
}
[dir="rtl"] .nav-shell,
[dir="rtl"] .hero,
[dir="rtl"] .mission,
[dir="rtl"] .section,
[dir="rtl"] footer {
  text-align: right;
}
@media (max-width: 760px) {
  .project-card:has(.project-image) {
    grid-template-columns: 35px 1fr;
  }
  .project-card .project-image {
    grid-column: 1/-1;
  }
  .project-card > b {
    grid-column: 2;
  }
}

/* Refined responsive space experience */
:root {
  --max: 1120px;
  --pad: clamp(18px, 4vw, 56px);
  --radius: 18px;
}
.nav-shell {
  position: fixed;
  height: 78px;
  grid-template-columns: 190px 1fr 190px;
  background: rgba(8, 6, 13, 0.68);
  backdrop-filter: blur(18px);
  border-color: rgba(255, 255, 255, 0.08);
}
.logo-frame {
  width: 178px;
  height: 68px;
}
.nav-shell nav {
  font-size: 12px;
}
.lang-switch {
  width: auto;
  min-width: 54px;
  height: 36px;
  padding: 0 13px;
  border-radius: 999px;
  background: rgba(143, 72, 212, 0.12);
  transition:
    transform 0.25s,
    background 0.25s;
}
.lang-switch:hover {
  transform: translateY(-2px);
  background: rgba(143, 72, 212, 0.26);
}
.hero {
  min-height: min(860px, 100svh);
  padding-top: 120px;
}
.hero-content {
  width: min(610px, 58%);
}
.hero h1 {
  font-size: clamp(52px, 6.7vw, 94px);
  line-height: 0.96;
}
.hero .lead {
  max-width: 560px;
  font-size: clamp(15px, 1.25vw, 18px);
  margin: 26px 0 30px;
}
.hero-grid {
  background-size: 62px 62px;
  transform: perspective(500px) rotateX(58deg) scale(1.5);
  transform-origin: 50% 100%;
  opacity: 0.12;
}
.space-dust {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, #fff 0 1px, transparent 1.6px),
    radial-gradient(circle, var(--gold) 0 1px, transparent 1.5px);
  background-position:
    0 0,
    35px 50px;
  background-size:
    110px 110px,
    170px 170px;
  opacity: 0.3;
  animation: dustDrift 22s linear infinite;
}
.star-core {
  right: 7vw;
  top: 19%;
  width: clamp(280px, 34vw, 460px);
  height: clamp(280px, 34vw, 460px);
  background: none;
  box-shadow: none;
  perspective: 900px;
  transform-style: preserve-3d;
  animation: sceneFloat 7s ease-in-out infinite;
}
.planet {
  position: absolute;
  inset: 12%;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(
    circle at 31% 27%,
    #e1b2ff 0 3%,
    #b86ff0 13%,
    #7534b4 36%,
    #271331 68%,
    #07050a 100%
  );
  box-shadow:
    -24px -18px 55px rgba(197, 126, 255, 0.22),
    30px 36px 65px #020103,
    inset -28px -24px 55px rgba(0, 0, 0, 0.7);
  animation: planetTurn 12s ease-in-out infinite;
  z-index: 2;
}
.planet:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    ellipse at 28% 35%,
    transparent 0 15px,
    rgba(255, 255, 255, 0.025) 17px 19px
  );
  mix-blend-mode: screen;
}
.planet span {
  font-size: clamp(74px, 9vw, 130px);
  color: var(--gold);
  filter: drop-shadow(0 0 28px rgba(241, 199, 91, 0.3));
  animation: starPulse 3s ease-in-out infinite;
}
.planet-ring {
  position: absolute;
  left: -3%;
  right: -3%;
  top: 43%;
  height: 20%;
  border: 2px solid rgba(241, 199, 91, 0.52);
  border-radius: 50%;
  transform: rotate(-18deg);
  box-shadow: 0 0 20px rgba(241, 199, 91, 0.12);
  z-index: 3;
}
.ring-two {
  left: 2%;
  right: 2%;
  border-color: rgba(190, 115, 246, 0.3);
  transform: rotate(31deg);
  z-index: 1;
}
.moon {
  position: absolute;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 18px var(--gold);
  z-index: 4;
  animation: moonOrbit 6s ease-in-out infinite;
}
.moon-one {
  left: 5%;
  top: 46%;
}
.moon-two {
  right: 8%;
  top: 35%;
  width: 7px;
  height: 7px;
  background: var(--purple2);
  animation-delay: -3s;
}
.orbit {
  animation: orbitBreath 8s ease-in-out infinite;
}
.orbit-b {
  animation-delay: -4s;
}
.section {
  padding-top: clamp(72px, 8vw, 108px);
  padding-bottom: clamp(72px, 8vw, 108px);
}
.mission {
  grid-template-columns: 52px 1.05fr 0.95fr;
}
.mission h2,
.section-head h2 {
  font-size: clamp(38px, 5vw, 66px);
}
.mission-copy {
  font-size: clamp(15px, 1.45vw, 19px);
  margin-top: 22px;
}
.section-head {
  margin-bottom: 38px;
}
.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  border: 0;
}
.project-list article,
.project-card:has(.project-image) {
  position: relative;
  display: grid;
  grid-template-columns: 32px 1fr !important;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.045),
    rgba(143, 72, 212, 0.035)
  );
  overflow: hidden;
  transition:
    transform 0.35s,
    border-color 0.35s,
    box-shadow 0.35s;
}
.project-list article:hover {
  transform: translateY(-6px) rotateX(1deg);
  border-color: rgba(241, 199, 91, 0.3);
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.3);
}
.project-image {
  grid-column: 1/-1;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #050407;
  border-radius: 14px;
}
.project-list article > b {
  grid-column: 2;
  text-align: left;
}
.project-list h3 {
  font-size: clamp(20px, 2vw, 27px);
}
.team-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.team-list article {
  padding: 10px 10px 22px;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 12px 35px rgba(30, 16, 40, 0.07);
  transition:
    transform 0.35s,
    box-shadow 0.35s;
}
.team-list article:hover {
  transform: translateY(-7px);
  box-shadow: 0 22px 50px rgba(50, 22, 70, 0.14);
}
.member-image {
  height: auto;
  aspect-ratio: 4/5;
  border-radius: 14px;
  margin-bottom: 17px;
}
.member-image img {
  object-fit: cover;
  object-position: center top;
  image-rendering: auto;
}
.team-list h3 {
  font-size: 18px;
}
.team-list > article > p {
  line-height: 1.65;
}
.card-links a {
  transition:
    transform 0.2s,
    background 0.2s;
}
.card-links a:hover {
  transform: translateY(-2px);
}
footer {
  padding-top: 32px;
  padding-bottom: 32px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}
@keyframes sceneFloat {
  0%,
  100% {
    transform: translateY(0) rotateY(-4deg);
  }
  50% {
    transform: translateY(-16px) rotateY(4deg);
  }
}
@keyframes planetTurn {
  0%,
  100% {
    transform: rotate(-2deg);
  }
  50% {
    transform: rotate(3deg);
  }
}
@keyframes starPulse {
  0%,
  100% {
    transform: scale(0.94);
    opacity: 0.88;
  }
  50% {
    transform: scale(1.05);
    opacity: 1;
  }
}
@keyframes moonOrbit {
  0%,
  100% {
    transform: translate3d(0, -22px, 40px) scale(0.8);
  }
  50% {
    transform: translate3d(24px, 30px, -30px) scale(1.2);
  }
}
@keyframes orbitBreath {
  0%,
  100% {
    opacity: 0.42;
  }
  50% {
    opacity: 0.85;
  }
}
@keyframes dustDrift {
  to {
    background-position:
      110px 110px,
      205px 220px;
  }
}
@media (max-width: 900px) {
  .nav-shell {
    grid-template-columns: 170px 1fr 90px;
  }
  .hero {
    min-height: 760px;
  }
  .hero-content {
    width: 64%;
  }
  .star-core {
    right: -4vw;
    opacity: 0.82;
  }
  .team-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 680px) {
  .nav-shell {
    height: 68px;
    padding: 0 16px;
    grid-template-columns: 1fr auto;
  }
  .nav-shell .logo-frame {
    width: 145px;
    height: 58px;
  }
  .hero {
    min-height: 690px;
    padding: 102px 20px 48px;
    align-items: flex-start;
  }
  .hero-content {
    width: 100%;
  }
  .hero h1 {
    font-size: clamp(43px, 14vw, 58px);
    max-width: 520px;
  }
  .hero .lead {
    font-size: 14px;
    line-height: 1.65;
    max-width: 88%;
  }
  .star-core {
    width: 280px;
    height: 280px;
    right: -82px;
    top: 54%;
    opacity: 0.5;
  }
  .hero-actions {
    width: auto;
  }
  .primary-btn {
    min-height: 46px;
    padding: 0 18px;
  }
  .section {
    padding: 64px 20px;
  }
  .mission {
    gap: 18px;
  }
  .mission h2,
  .section-head h2 {
    font-size: clamp(34px, 11vw, 48px);
  }
  .mission-copy {
    font-size: 15px;
  }
  .project-list {
    grid-template-columns: 1fr;
  }
  .project-list article,
  .project-card:has(.project-image) {
    grid-template-columns: 28px 1fr !important;
    padding: 14px;
  }
  .team-list {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }
  .team-list article {
    padding: 7px 7px 17px;
    border-radius: 15px;
  }
  .member-image {
    border-radius: 11px;
    margin-bottom: 12px;
  }
  .team-list h3 {
    font-size: 15px;
    margin: 0 5px 3px;
  }
  .team-list > article > b {
    margin: 4px 5px;
    font-size: 8px;
  }
  .team-list > article > p {
    margin: 8px 5px;
    font-size: 11px;
  }
  .team-list .card-links {
    margin: 12px 5px 0;
  }
  .card-links a {
    padding: 6px 8px;
    font-size: 8px;
  }
  footer img {
    width: 135px;
    height: 55px;
  }
}
@media (max-width: 390px) {
  .team-list {
    grid-template-columns: 1fr;
  }
  .team-list h3 {
    font-size: 17px;
  }
  .team-list > article > p {
    font-size: 12px;
  }
  .star-core {
    right: -105px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .space-dust,
  .star-core,
  .planet,
  .planet span,
  .orbit,
  .moon {
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Brand-dark surfaces and reliable view switching */
[hidden] {
  display: none !important;
}
.mission,
.light-section {
  background: linear-gradient(155deg, #100a18 0%, #08060d 62%, #120a1b 100%);
  color: var(--white);
}
.mission {
  border-top: 1px solid rgba(189, 122, 245, 0.13);
  border-bottom: 1px solid rgba(241, 199, 91, 0.08);
}
.mission .kicker,
.light-section .kicker {
  color: var(--gold);
}
.mission-copy,
.team-list > article > p {
  color: #aaa3b3;
}
.vision {
  border-color: rgba(255, 255, 255, 0.1);
}
.section-number,
.section-head > span {
  color: #746b7e;
}
.team-list article {
  background: linear-gradient(
    145deg,
    rgba(27, 18, 37, 0.96),
    rgba(12, 8, 17, 0.98)
  );
  border-color: rgba(189, 122, 245, 0.15);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.25);
}
.team-list article:hover {
  border-color: rgba(241, 199, 91, 0.28);
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.38);
}
.team-list h3 {
  color: var(--white);
}
.team-list > article > b {
  color: var(--purple2);
}
.member-image {
  background: #050407;
}
.member-image img,
.project-image {
  filter: none !important;
  backface-visibility: hidden;
  transform: translateZ(0);
}
.portal-body {
  position: fixed;
  inset: 0;
  z-index: 50;
}
.admin-app:not([hidden]) {
  display: grid;
}
@media (max-width: 760px) {
  .admin-app:not([hidden]) {
    display: block;
  }
}

/* Final brief palette: warm light canvas, purple identity, yellow accent */
:root {
  --paper: #f4f0e8;
  --ink: #24172a;
  --purple: #8055a1;
  --purple2: #611c75;
  --gold: #fee718;
  --muted: #746b78;
}
.ambient {
  background:
    radial-gradient(
      circle at 78% 8%,
      rgba(128, 85, 161, 0.14),
      transparent 28%
    ),
    #f4f0e8;
}
.nav-shell {
  background: rgba(244, 240, 232, 0.88);
  border-color: rgba(97, 28, 117, 0.12);
  color: var(--ink);
}
.nav-shell nav {
  gap: clamp(12px, 1.7vw, 28px);
  color: #4e3d54;
}
.nav-shell nav a:hover {
  color: #611c75;
}
.lang-switch {
  color: #611c75;
  border-color: rgba(97, 28, 117, 0.22);
  background: rgba(128, 85, 161, 0.1);
}
.hero {
  background: linear-gradient(145deg, #f7f4ed 0%, #eee7f0 100%);
  color: var(--ink);
}
.hero-grid {
  background-image:
    linear-gradient(rgba(97, 28, 117, 0.11) 1px, transparent 1px),
    linear-gradient(90deg, rgba(97, 28, 117, 0.11) 1px, transparent 1px);
}
.space-dust {
  opacity: 0.16;
}
.hero .lead {
  color: #665b69;
}
.primary-btn {
  background: #611c75;
  color: #fff;
  box-shadow: 0 14px 35px rgba(97, 28, 117, 0.2);
}
.primary-btn:hover {
  border-color: #fee718;
}
.quiet-btn {
  color: #611c75;
  border-color: rgba(97, 28, 117, 0.28);
  background: rgba(255, 255, 255, 0.45);
}
.quiet-btn:hover {
  background: #fee718;
  color: #29132f;
  border-color: #fee718;
}
.planet {
  background: radial-gradient(
    circle at 31% 27%,
    #e8d7f4 0 3%,
    #a77bc4 14%,
    #8055a1 38%,
    #611c75 70%,
    #260b30 100%
  );
}
.planet-ring {
  border-color: rgba(97, 28, 117, 0.5);
}
.mission,
.light-section {
  background: #f4f0e8;
  color: var(--ink);
  border-color: rgba(97, 28, 117, 0.1);
}
.dark-section {
  background: #611c75;
}
.dark-section .kicker {
  color: #fee718;
}
.mission-copy {
  color: #5e5362;
}
.vision {
  border-color: rgba(97, 28, 117, 0.16);
}
.team-list article {
  background: #fff;
  border-color: rgba(97, 28, 117, 0.13);
  box-shadow: 0 14px 40px rgba(73, 45, 79, 0.08);
}
.team-list h3 {
  color: var(--ink);
}
.team-list > article > p {
  color: #746b78;
}
.team-list > article > b {
  color: #611c75;
}
.member-image {
  background: linear-gradient(145deg, #d9d9d9, #e9dfeb);
}
.join-section {
  min-height: auto;
  background: linear-gradient(145deg, #8055a1, #611c75);
  color: #fff;
}
.join-section > p {
  color: #eee7f0;
}
.public-form,
.rsvp-form {
  width: min(620px, 100%);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 30px auto 0;
  text-align: left;
}
.public-form textarea,
.public-form button,
.public-form .form-message,
.rsvp-form .check,
.rsvp-form button,
.rsvp-form .form-message {
  grid-column: 1/-1;
}
.public-form .form-row {
  grid-column: 1/-1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}
.public-form input,
.public-form textarea,
.rsvp-form input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(97, 28, 117, 0.16);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.public-form input:focus,
.public-form textarea:focus,
.rsvp-form input:focus {
  border-color: #fee718;
  box-shadow: 0 0 0 3px rgba(254, 231, 24, 0.18);
}
.events-section {
  background: #eee9e1;
  color: var(--ink);
}
.events-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.event-card {
  overflow: hidden;
  border-radius: 20px;
  background: #fff;
  border: 1px solid rgba(97, 28, 117, 0.12);
  box-shadow: 0 14px 40px rgba(73, 45, 79, 0.08);
}
.event-card > img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: contain;
  background: #eee9e1;
}
.event-card > div {
  padding: 22px;
}
.event-card time {
  color: #8055a1;
  font-size: 12px;
  font-weight: 700;
}
.event-card h3 {
  margin: 8px 0;
  font-size: 25px;
}
.event-card p {
  color: #746b78;
}
.rsvp-form {
  grid-template-columns: 1fr;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid #d9d9d9;
}
.rsvp-form[hidden] {
  display: none !important;
}
.check {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #5b4e60;
  font-size: 13px;
}
.check input {
  width: auto;
}
.contact-section {
  text-align: center;
  background: #fff;
  color: var(--ink);
}
.contact-section h2 {
  font-size: clamp(38px, 6vw, 72px);
  margin: 0;
}
.contact-section > p {
  max-width: 680px;
  margin: 22px auto;
  color: #746b78;
}
.contact-links {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
.contact-links a {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid rgba(97, 28, 117, 0.2);
  color: #611c75;
}
.contact-links a:hover {
  background: #fee718;
  border-color: #fee718;
}
footer {
  background: #24172a;
  color: #d9d9d9;
}
@media (max-width: 900px) {
  .nav-shell nav {
    font-size: 10px;
    gap: 10px;
  }
  .events-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 680px) {
  .public-form .form-row {
    grid-template-columns: 1fr;
  }
  .public-form {
    grid-template-columns: 1fr;
  }
  .public-form textarea,
  .public-form button,
  .public-form .form-message {
    grid-column: 1;
  }
  .contact-section {
    text-align: left;
  }
  [dir="rtl"] .contact-section {
    text-align: right;
  }
  .contact-links {
    justify-content: flex-start;
  }
}

/* Professional color balance */
:root {
  --paper: #f6f3ed;
  --ink: #211826;
  --purple: #76518f;
  --purple2: #542064;
  --gold: #e3ca18;
  --muted: #6f6872;
}
.ambient {
  background:
    radial-gradient(
      circle at 80% 5%,
      rgba(118, 81, 143, 0.12),
      transparent 30%
    ),
    #f6f3ed;
}
.nav-shell {
  background: rgba(246, 243, 237, 0.92);
  box-shadow: 0 8px 30px rgba(51, 31, 59, 0.05);
}
.hero {
  background: linear-gradient(145deg, #faf8f3 0%, #eee8f0 100%);
}
.kicker {
  color: #76518f;
}
.primary-btn {
  background: linear-gradient(135deg, #542064, #76518f);
  box-shadow: 0 12px 28px rgba(84, 32, 100, 0.18);
}
.primary-btn:hover {
  border-color: #e3ca18;
  box-shadow: 0 16px 34px rgba(84, 32, 100, 0.25);
}
.dark-section {
  background: linear-gradient(145deg, #27182e, #3a1b45);
}
.project-list article,
.project-card:has(.project-image) {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.1);
}
.project-list article > b {
  color: #f1dc4a;
}
.join-section {
  background: linear-gradient(135deg, #69427f 0%, #542064 72%, #36143f 100%);
}
.join-section .kicker {
  color: #f1dc4a;
}
.events-section {
  background: #efebe4;
}
.contact-section {
  background: #faf9f6;
}
.contact-email {
  display: inline-block;
  margin: 0 auto 24px;
  color: #542064;
  font-size: clamp(17px, 2vw, 25px);
  font-weight: 700;
  letter-spacing: 0.06em;
  border-bottom: 2px solid #e3ca18;
}
.contact-links a {
  background: #fff;
  border-color: rgba(84, 32, 100, 0.16);
  box-shadow: 0 6px 18px rgba(51, 31, 59, 0.05);
}
.contact-links a:hover {
  background: #542064;
  color: #fff;
  border-color: #542064;
}
footer {
  background: #1d1421;
  color: #cfc7d2;
}
.socials a:hover {
  color: #f1dc4a;
}

/* High-contrast contact block */
.contact-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #34143f 0%, #542064 54%, #76518f 100%);
  color: #fff;
}
.contact-section:before {
  content: "";
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  right: -170px;
  top: -230px;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 0 55px rgba(255, 255, 255, 0.025);
}
.contact-section > * {
  position: relative;
  z-index: 1;
}
.contact-section .kicker {
  color: #f1dc4a;
}
.contact-section > p {
  color: #eee7f1;
}
.contact-email {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 24px;
  margin: 2px auto 26px;
  border: 0;
  border-radius: 999px;
  background: #f1dc4a;
  color: #25112d;
  font-size: clamp(14px, 1.6vw, 19px);
  font-weight: 800;
  letter-spacing: 0.045em;
  box-shadow: 0 14px 32px rgba(20, 7, 24, 0.25);
  transition:
    transform 0.2s,
    box-shadow 0.2s;
}
.contact-email:before {
  content: "✉";
  margin-inline-end: 10px;
}
.contact-email:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 38px rgba(20, 7, 24, 0.34);
}
.contact-links a {
  min-width: 118px;
  background: #fff;
  color: #542064;
  border: 2px solid #fff;
  box-shadow: 0 8px 22px rgba(20, 7, 24, 0.18);
  font-weight: 700;
}
.contact-links a:hover {
  background: transparent;
  color: #fff;
  border-color: #f1dc4a;
}
.contact-links a:last-child {
  display: none;
}
@media (max-width: 680px) {
  .contact-email {
    width: 100%;
    padding: 0 14px;
  }
  .contact-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .contact-links a {
    text-align: center;
    min-width: 0;
  }
}

/* Logo-led master theme */
:root {
  --bg: #070509;
  --bg2: #100a15;
  --panel: #17101d;
  --paper: #0d0911;
  --ink: #f8f7fa;
  --white: #fff;
  --muted: #aaa3b3;
  --purple: #8055a1;
  --purple2: #a56bc6;
  --gold: #fee718;
  --line: rgba(255, 255, 255, 0.11);
}
body {
  background: var(--bg);
  color: #fff;
}
.ambient {
  background:
    radial-gradient(
      circle at 78% 8%,
      rgba(128, 85, 161, 0.18),
      transparent 28%
    ),
    #070509;
}
.nav-shell {
  background: rgba(7, 5, 9, 0.88);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
  box-shadow: 0 8px 34px rgba(0, 0, 0, 0.28);
}
.nav-shell nav {
  color: #d9d4dc;
}
.nav-shell nav a:hover {
  color: #fee718;
}
.lang-switch {
  background: #8055a1;
  color: #fff;
  border-color: #9c70ba;
}
.lang-switch:hover {
  background: #fee718;
  color: #160c1b;
}
.hero {
  background:
    radial-gradient(
      circle at 77% 35%,
      rgba(128, 85, 161, 0.22),
      transparent 30%
    ),
    linear-gradient(145deg, #08060d, #120a18);
  color: #fff;
}
.hero-grid {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
}
.hero .lead {
  color: #bbb4bf;
}
.kicker {
  color: #fee718;
}
.primary-btn {
  background: #fee718;
  color: #160c1b;
  border: 2px solid #fee718;
  box-shadow: 0 12px 30px rgba(254, 231, 24, 0.16);
}
.primary-btn:hover {
  background: #fff;
  border-color: #fff;
  box-shadow: 0 16px 38px rgba(254, 231, 24, 0.24);
}
.quiet-btn {
  background: #8055a1;
  color: #fff;
  border: 2px solid #9c70ba;
}
.quiet-btn:hover {
  background: #fff;
  color: #611c75;
  border-color: #fff;
}
.mission,
.light-section {
  background: #0d0911;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.08);
}
.mission-copy,
.team-list > article > p {
  color: #aaa3b3;
}
.vision {
  border-color: rgba(255, 255, 255, 0.1);
}
.mission .kicker,
.light-section .kicker {
  color: #fee718;
}
.dark-section {
  background: linear-gradient(145deg, #160b1c, #351441);
}
.project-list article,
.project-card:has(.project-image) {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.12);
}
.project-list h3 {
  color: #fff;
}
.project-list p {
  color: #b8b0bd;
}
.project-list article > b {
  color: #fee718;
}
.team-list article {
  background: linear-gradient(145deg, #19101f, #0c080f);
  border-color: rgba(128, 85, 161, 0.35);
  box-shadow: 0 15px 38px rgba(0, 0, 0, 0.3);
}
.team-list h3 {
  color: #fff;
}
.team-list > article > b {
  color: #c991e4;
}
.member-image {
  background: #050307;
}
.card-links a {
  background: #8055a1;
  color: #fff;
  border-color: #8055a1;
}
.card-links a:hover {
  background: #fee718;
  color: #160c1b;
}
.events-section {
  background: #100a15;
  color: #fff;
}
.event-card {
  background: #19101f;
  border-color: rgba(128, 85, 161, 0.34);
  box-shadow: 0 16px 42px rgba(0, 0, 0, 0.28);
}
.event-card > img {
  background: #08060d;
}
.event-card time {
  color: #fee718;
}
.event-card h3 {
  color: #fff;
}
.event-card p {
  color: #aaa3b3;
}
.rsvp-form {
  border-color: rgba(255, 255, 255, 0.1);
}
.check {
  color: #d1cad5;
}
.public-form input,
.public-form textarea,
.rsvp-form input {
  background: #fff;
  color: #160c1b;
  border: 2px solid transparent;
}
.public-form input:focus,
.public-form textarea:focus,
.rsvp-form input:focus {
  border-color: #fee718;
}
.join-section {
  background: linear-gradient(135deg, #8055a1, #611c75 65%, #2b0f34);
}
.contact-section {
  background: linear-gradient(135deg, #1c0d23, #611c75 58%, #8055a1);
}
.contact-email {
  background: #fee718;
  color: #160c1b;
}
.contact-links a {
  background: #fff;
  color: #611c75;
  border-color: #fff;
}
.contact-links a:hover {
  background: #fee718;
  color: #160c1b;
  border-color: #fee718;
}
footer {
  background: #050307;
  color: #bdb5c1;
  border-top-color: rgba(255, 255, 255, 0.1);
}

/* Phone readability and admin registration records */
.hero h1,
.section h2,
.project-list h3,
.team-list h3,
.event-card h3,
.record h3 {
  word-break: normal;
  overflow-wrap: normal;
  hyphens: none;
}
.record small {
  max-width: 100%;
  overflow-wrap: anywhere;
}
.event-record small {
  padding: 9px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  line-height: 1.6;
}
.contact-email,
.socials a {
  overflow-wrap: anywhere;
}
@media (max-width: 680px) {
  body {
    font-size: 14px;
  }
  .hero {
    min-height: 650px;
  }
  .hero h1 {
    font-size: clamp(38px, 11.5vw, 50px);
    line-height: 1.08;
    letter-spacing: -0.035em;
  }
  .hero .lead {
    max-width: 100%;
    font-size: 14px;
  }
  .star-core {
    opacity: 0.28;
  }
  .mission,
  .team-list,
  .events-grid,
  .project-list,
  .public-form,
  .rsvp-form {
    grid-template-columns: 1fr !important;
  }
  .team-list {
    gap: 16px;
  }
  .team-list article {
    padding: 10px 10px 22px;
  }
  .member-image {
    aspect-ratio: 4/3;
  }
  .team-list h3 {
    font-size: 18px;
  }
  .team-list > article > b {
    font-size: 10px;
  }
  .team-list > article > p {
    font-size: 13px;
  }
  .event-card > div {
    padding: 18px;
  }
  .public-form input,
  .public-form textarea,
  .rsvp-form input {
    font-size: 16px;
  }
  .primary-btn,
  .quiet-btn {
    width: 100%;
    white-space: normal;
    text-align: center;
  }
  .record {
    width: 100%;
  }
  .record > div {
    width: 100%;
  }
  .event-record small {
    display: block;
  }
  .contact-email {
    font-size: 13px;
    letter-spacing: 0.02em;
  }
  .socials {
    width: 100%;
    flex-direction: column;
  }
  .socials a {
    width: 100%;
  }
}

/* Responsive media: preserve uploaded image proportions without stretching. */
.project-image,
.event-card > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16/9;
  object-fit: contain;
  object-position: center;
  background: #08060d;
}
.member-image {
  width: 100%;
  height: auto;
  aspect-ratio: 4/5;
}
.member-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.event-link {
  width: max-content;
  margin-top: 18px;
}
.event-card.shared-event {
  border-color: var(--gold);
  box-shadow:
    0 0 0 3px rgba(254, 231, 24, 0.16),
    0 20px 55px rgba(0, 0, 0, 0.38);
}
.project-image,
.event-card > img,
.member-image img {
  image-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
@media (max-width: 680px) {
  .project-image,
  .event-card > img {
    aspect-ratio: 16/10;
  }
  .member-image {
    grid-row: 1 / 3;
    width: 112px;
    height: 132px;
    aspect-ratio: auto;
    margin: 0;
  }
  .member-image img {
    object-fit: cover;
    object-position: center 18%;
  }
  .event-link {
    width: 100%;
  }
  .team-list {
    grid-template-columns: 1fr !important;
  }
  .team-list article {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: start;
    gap: 8px 15px;
    padding: 12px;
  }
  .team-list h3 {
    align-self: end;
    margin: 0;
    font-size: 18px;
  }
  .team-list > article > b {
    margin: 0;
    font-size: 9px;
    line-height: 1.45;
  }
  .team-list > article > p,
  .team-list .card-links {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-right: 0;
  }
  .project-list article,
  .event-card,
  .team-list article {
    width: 100%;
    min-width: 0;
  }
  .project-image,
  .event-card > img,
  .member-image img {
    max-width: 100%;
  }
}
@media (max-width: 390px) {
  .member-image {
    width: 96px;
    height: 116px;
  }
  .team-list article {
    grid-template-columns: 96px minmax(0, 1fr);
  }
}
