header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 20px;
}
.logos {
  display: flex;
  align-items: center;
  gap: 14px;
}
.logo-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-badge a,
.mobile-menu-top a {
  display: flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}
.logo-mark {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 0.02em;
  color: var(--white);
  flex-shrink: 0;
}
.logo-mark.gicc {
  background: var(--blue);
}
.logo-mark.mss {
  background: var(--red);
}
.logo-mark.aseic {
  background: var(--ink);
}
.logo-text {
  font-size: 10px;
  line-height: 1.15;
  color: var(--ink-soft);
  font-family: var(--font-mono);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.logo-text strong {
  display: block;
  color: var(--ink);
  font-size: 12px;
  letter-spacing: 0;
  font-family: var(--font-body);
  font-weight: 600;
}
.logo-divider {
  width: 1px;
  height: 30px;
  background: var(--line);
  margin: 0 2px;
}
.logo-img {
  height: 32px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  display: block;
}
.logo-img-gicc {
  height: 44px;
  max-width: 130px;
}
.logo-img-mss {
  height: 28px;
  max-width: 150px;
}
.logo-img-aseic {
  height: 28px;
  max-width: 175px;
}
.logo-img.small {
  height: 20px;
  max-width: 90px;
}
.footer-logos .logo-img {
  height: 40px;
  max-width: 150px;
}
.footer-logos .logo-img-gicc {
  height: 56px;
  max-width: 165px;
}
.footer-logos .logo-img-mss {
  height: 36px;
  max-width: 200px;
}
.footer-logos .logo-img-aseic {
  height: 36px;
  max-width: 225px;
}
.footer-logos {
  align-items: center;
}
.mobile-menu-top .logo-img-gicc {
  height: 36px;
  max-width: 115px;
}
@media (max-width: 720px) {
  /* Login / Register live in the mobile menu on small screens */
  .nav-right .btn-login,
  .nav-right .btn-join {
    display: none;
  }
  .header-inner {
    gap: 10px;
  }
  .nav-right {
    gap: 10px;
  }
  .logos {
    gap: 8px;
    min-width: 0;
  }
  .logo-badge {
    gap: 4px;
  }
  .logo-divider {
    height: 22px;
    margin: 0;
  }
  .logo-img-mss {
    height: 24px;
    max-width: 84px;
  }
  .logo-img-aseic {
    height: 24px;
    max-width: 100px;
  }
  .logo-img-gicc {
    height: 34px;
    max-width: 80px;
  }
}
@media (max-width: 560px) {
  /* the header language switch moves into the mobile menu */
  .nav-right .lang-switch {
    display: none;
  }
}

nav.mainnav {
  display: flex;
  align-items: center;
  gap: 26px;
}
nav.mainnav a {
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink-soft);
  white-space: nowrap;
  transition: color 0.15s ease;
}
nav.mainnav a:hover {
  color: var(--blue);
}
.nav-right {
  display: flex;
  align-items: center;
  gap: 18px;
}
.btn-join {
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 13.5px;
  padding: 10px 18px;
  border-radius: 999px;
  text-decoration: none;
  white-space: nowrap;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s ease;
}
.btn-join:hover {
  background: var(--red-dark);
}
.btn-login {
  background: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 13.5px;
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  white-space: nowrap;
  cursor: pointer;
  font-family: var(--font-body);
  transition: all 0.15s ease;
}
.btn-login:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.menu-toggle {
  display: none;
}

@media (max-width: 980px) {
  nav.mainnav {
    display: none;
  }
  .menu-toggle {
    display: flex;
    width: 38px;
    height: 38px;
    border: 1px solid var(--line);
    border-radius: 8px;
    align-items: center;
    justify-content: center;
    background: none;
    cursor: pointer;
    margin-right:20px;
  }
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 1px;
  background: var(--red);
  display: inline-block;
}
section {
  padding: 96px 0;
}
section.tight {
  padding: 72px 0;
}
h2.section-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 42px);
  color: var(--ink);
  letter-spacing: -0.01em;
  max-width: 640px;
  margin: 0;
}
p.section-desc {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 560px;
  margin: 16px 0 0;
  line-height: 1.7;
}
.section-head {
  margin-bottom: 52px;
  text-align: left;
}
.divider {
  border-top: 1px solid var(--line);
}

.hero {
  position: relative;
  padding: 88px 0 100px;
  background: linear-gradient(180deg, var(--ivory) 0%, var(--white) 100%);
  overflow: hidden;
}
.hero-grid {
  text-align: left;
  display: flex;
  align-items: center;
  gap: 48px;
  justify-content: space-between;
}
.hero-grid .head-text {
  max-width: 620px;
  flex-shrink: 0;
}
@media (max-width: 900px) {
  .hero-grid .head-text {
    max-width: 100%;
    flex-shrink: 1;
  }
}
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.hero-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}
@media (max-width: 900px) {
  .hero-grid {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-visual {
    display: none;
  }
}

.section-head.with-visual {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.section-head.with-visual .head-text {
  flex-shrink: 0;
  max-width: 640px;
}
.section-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 0;
}
.section-visual svg {
  width: 100%;
  max-width: 220px;
  height: auto;
}
@media (max-width: 820px) {
  .section-head.with-visual {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .section-visual {
    display: none;
  }
}
.hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 18px;
}
h1.hero-title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(36px, 5.4vw, 64px);
  line-height: 1.05;
  letter-spacing: -0.015em;
  color: var(--ink);
}
h1.hero-title em {
  font-style: italic;
  color: var(--red);
}
.hero-desc {
  font-size: 17.5px;
  color: var(--ink-soft);
  max-width: 520px;
  margin-top: 22px;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.timeline {
  position: relative;
  padding-left: 0;
  margin-top: 8px;
}
.timeline-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.timeline-item:first-child {
  border-top: 1px solid var(--ink);
}
.timeline-year {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  color: var(--blue);
}
.timeline-text h4 {
  font-size: 16.5px;
  font-weight: 600;
  margin-bottom: 6px;
}
.timeline-text p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
  max-width: 560px;
}
@media (max-width: 640px) {
  .timeline-item {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

.purpose-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  margin-top: 8px;
}
@media (max-width: 720px) {
  .purpose-grid {
    grid-template-columns: 1fr;
  }
}
.purpose-card {
  background: var(--white);
  padding: 36px 32px;
}
.purpose-card .mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--blue);
  margin-bottom: 20px;
}
.purpose-card:nth-child(2) .mark {
  background: var(--red);
}
.purpose-card:nth-child(3) .mark {
  background: var(--ink);
}
.purpose-card:nth-child(4) .mark {
  background: var(--blue);
}
.purpose-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 10px;
}
.purpose-card p {
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.65;
}

.collab-band {
  background: var(--blue-deep);
  color: var(--white);
}
.collab-band .eyebrow {
  color: #ff8fa3;
}
.collab-band .eyebrow::before {
  background: #ff8fa3;
}
.collab-band h2.section-title {
  color: var(--white);
}
.collab-band p.section-desc {
  color: #c7d2e4;
}
.collab-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
  margin-top: 12px;
}
@media (max-width: 900px) {
  .collab-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .collab-grid {
    grid-template-columns: 1fr;
  }
}
.collab-card {
  background: var(--blue-deep);
  padding: 30px 26px;
}
.collab-num {
  font-family: var(--font-mono);
  font-size: 11px;
  color: #7c93be;
  margin-bottom: 16px;
  letter-spacing: 0.06em;
}
.collab-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18px;
  margin-bottom: 9px;
}
.collab-card p {
  color: #c7d2e4;
  font-size: 13.5px;
  line-height: 1.6;
}

.role-band {
  background: var(--blue-deep);
  color: var(--white);
}
.role-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--amber);
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 18px;
}
.role-eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
  display: inline-block;
}
.role-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  color: var(--amber);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.role-desc {
  font-size: 16px;
  color: #b9c4da;
  max-width: 720px;
  margin: 18px 0 0;
  line-height: 1.7;
}
.role-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
@media (max-width: 900px) {
  .role-grid {
    grid-template-columns: 1fr;
  }
}
.role-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px 28px;
}
.role-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 22px;
}
.role-card h4 {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 12px;
}
.role-card p {
  color: #b9c4da;
  font-size: 14.5px;
  line-height: 1.7;
}

.advantage-list {
  margin-top: 12px;
}
.advantage-row {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 32px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
  align-items: start;
}
.advantage-row:last-child {
  border-bottom: 1px solid var(--line);
}
.advantage-row h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 20px;
  color: var(--ink);
}
.advantage-row h4 .tag {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}
.advantage-row p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.7;
}
@media (max-width: 720px) {
  .advantage-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
}

.impact-band {
  background: var(--ivory);
}
.impact-roadmap {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
@media (max-width: 820px) {
  .impact-roadmap {
    grid-template-columns: 1fr;
  }
}
.roadmap-col {
  background: var(--ivory);
  padding: 32px 28px;
}
.roadmap-index {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}
.roadmap-col:nth-child(1) .roadmap-index {
  color: var(--blue);
}
.roadmap-col:nth-child(2) .roadmap-index {
  color: var(--ink);
}
.roadmap-col:nth-child(3) .roadmap-index {
  color: var(--red);
}
.roadmap-col h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 19px;
  margin-bottom: 18px;
  color: var(--ink);
}
.roadmap-list {
  list-style: none;
}
.roadmap-list li {
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.6;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  display: flex;
  gap: 9px;
}
.roadmap-list li:first-child {
  border-top: none;
}
.roadmap-col:nth-child(1) .roadmap-list li::before {
  content: "→";
  color: var(--blue);
  flex-shrink: 0;
}
.roadmap-col:nth-child(2) .roadmap-list li::before {
  content: "→";
  color: var(--ink);
  flex-shrink: 0;
}
.roadmap-col:nth-child(3) .roadmap-list li::before {
  content: "→";
  color: var(--red);
  flex-shrink: 0;
}

.events-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.event-card {
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow: hidden;
  display: flex;
  flex-direction: row;
}
.event-image {
  flex: 0 0 180px;
  background: var(--ivory);
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}
.event-image svg {
  width: 60px;
  height: 60px;
}
.event-image.has-photo {
  flex: 0 0 260px;
  position: relative;
}
.event-image.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.event-top {
  flex: 0 0 200px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid var(--line);
}
.event-body {
  flex: 1;
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.event-cta-row {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 16px;
  flex-wrap: wrap;
}
.btn-event {
  background: var(--ink);
  color: var(--white);
  font-weight: 600;
  font-size: 13px;
  padding: 9px 18px;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background 0.15s ease;
}
.btn-event:hover {
  background: var(--blue);
}
.event-cta-note {
  font-size: 12px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.events-note {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  background: var(--ivory);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 28px;
  font-size: 13.5px;
  color: var(--ink-soft);
  line-height: 1.6;
}
.events-note strong {
  color: var(--ink);
}
@media (max-width: 640px) {
  .event-card {
    flex-direction: column;
  }
  .event-image {
    flex: none;
    width: 100%;
    height: 120px;
    border-right: none;
    border-bottom: 1px solid var(--line);
  }
  .event-image.has-photo {
    flex: none;
    height: 190px;
  }
  .event-top {
    flex: none;
    border-right: none;
    border-bottom: 1px solid var(--line);
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}
.event-tag {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--red);
  background: #fdecee;
  padding: 4px 10px;
  border-radius: 999px;
  display: inline-block;
}
.event-date {
  font-size: 13px;
  color: var(--ink-soft);
  margin-top: 14px;
  font-family: var(--font-mono);
}
.event-card h4 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 18.5px;
  margin: 0;
}
.event-card p {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.6;
  margin-top: 8px;
}

.join-band {
  background: var(--white);
}
.join-shell {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
}
@media (max-width: 900px) {
  .join-shell {
    grid-template-columns: 1fr;
  }
}
.join-info {
  background: var(--ink);
  color: var(--white);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.join-info .eyebrow {
  color: #ff8fa3;
  justify-content: flex-start;
}
.join-info .eyebrow::before {
  background: #ff8fa3;
}
.join-info h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 28px;
  margin-top: 6px;
}
.join-info p {
  color: #b9bec7;
  font-size: 14.5px;
  margin-top: 16px;
  line-height: 1.7;
  max-width: 380px;
}
.join-info ul {
  margin-top: 28px;
  list-style: none;
}
.join-info li {
  font-size: 13.5px;
  color: #dadde2;
  padding: 8px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  display: flex;
  gap: 10px;
}
.join-info li::before {
  content: "—";
  color: var(--red);
}

.join-form {
  padding: 44px 40px;
  background: var(--white);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 16px;
}
@media (max-width: 560px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
.field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.field.full {
  grid-column: 1 / -1;
}
.field label {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
}
.field {
  min-width: 0;
}
.field input,
.field select,
.field textarea {
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-radius: 9px;
  padding: 11px 13px;
  font-size: 14.5px;
  font-family: var(--font-body);
  background: var(--ivory);
  color: var(--ink);
  outline: none;
  transition: border-color 0.15s ease;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--blue);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(30, 80, 160, 0.12);
}
.field textarea {
  resize: vertical;
  min-height: 80px;
}
.btn-submit {
  width: 100%;
  margin-top: 6px;
  background: var(--red);
  color: var(--white);
  font-weight: 600;
  font-size: 15px;
  padding: 14px;
  border: none;
  border-radius: 9px;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn-submit:hover {
  background: var(--red-dark);
}
.form-note {
  font-size: 12px;
  color: var(--ink-soft);
  margin-top: 12px;
}
.form-error {
  display: none;
  color: #c0392b;
  font-size: 13px;
  margin-bottom: 10px;
}
.form-success {
  display: none;
  align-items: center;
  gap: 12px;
  background: #eef6f0;
  border: 1px solid #bfe0c6;
  color: #1f5c34;
  padding: 14px 16px;
  border-radius: 9px;
  font-size: 14px;
  margin-bottom: 16px;
}
.form-success.show {
  display: flex;
}

footer {
  background: var(--ivory);
  border-top: 1px solid var(--line);
  padding: 56px 0 30px;
}
.footer-top {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.footer-logos {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-cols {
  display: flex;
  gap: 56px;
  flex-wrap: wrap;
}
.footer-col h5 {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.footer-col a {
  display: block;
  font-size: 14px;
  color: var(--ink);
  text-decoration: none;
  margin-bottom: 10px;
}
.footer-col a:hover {
  color: var(--blue);
}
.footer-bottom {
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p {
  font-size: 12.5px;
  color: var(--ink-soft);
}

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 200;
  padding: 24px 24px;
  overflow-y: auto;
}
.mobile-menu.open {
  display: block;
}
.mobile-menu-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.mobile-menu a,
.mobile-menu button.mobile-link {
  display: block;
  width: 100%;
  text-align: left;
  font-size: 20px;
  font-family: var(--font-display);
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  border-top: none;
  border-left: none;
  border-right: none;
  text-decoration: none;
  color: var(--ink);
  background: none;
  cursor: pointer;
}
.close-btn {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-box .join-shell {
  border: none;
  border-radius: 0;
}
.login-box {
  padding: 48px 40px;
}
.login-box .eyebrow {
  color: var(--red);
  justify-content: flex-start;
}
.login-box h3 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  margin-top: 6px;
}
.login-box p.sub {
  color: var(--ink-soft);
  font-size: 14.5px;
  margin-top: 10px;
  line-height: 1.6;
}
.login-box form[hidden] {
  display: none;
}
.login-box form {
  margin-top: 26px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.login-forgot {
  text-align: right;
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
  margin-top: -6px;
}
.modal-switch {
  margin-top: 22px;
  font-size: 13.5px;
  color: var(--ink-soft);
  text-align: center;
}
.modal-switch button {
  background: none;
  border: none;
  color: var(--red);
  font-weight: 600;
  cursor: pointer;
  font-size: 13.5px;
  font-family: var(--font-body);
}

/* Events — empty state shown when no landing events have been published */
.events-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 56px 24px;
  border: 1px dashed var(--line);
  border-radius: 16px;
  background: var(--white);
  color: var(--ink-soft);
}
.events-empty-icon {
  font-size: 34px;
  margin-bottom: 10px;
}
.events-empty h4 {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--ink);
  margin-bottom: 6px;
}
.events-empty p {
  font-size: 14px;
  max-width: 420px;
  margin: 0 auto;
}

.mobile-menu .lang-switch {
  display: inline-flex;
  margin-top: 20px;
}

/* Password field: toggle, strength meter, requirement checklist */
.pw-wrap {
  position: relative;
  display: flex;
}
.pw-wrap input {
  width: 100%;
  padding-right: 42px;
}
.pw-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: none;
  cursor: pointer;
  font-size: 16px;
  padding: 6px;
  opacity: 0.55;
}
.pw-toggle:hover,
.pw-toggle.on {
  opacity: 1;
}
.pw-meter {
  height: 4px;
  border-radius: 4px;
  background: var(--line);
  overflow: hidden;
}
.pw-meter span {
  display: block;
  height: 100%;
  width: 0;
  background: #c0392b;
  transition: width 0.2s ease, background 0.2s ease;
}
.pw-match {
  min-height: 16px;
  font-size: 12px;
  font-weight: 600;
}
.pw-match.ok { color: #1f7a3d; }
.pw-match.no { color: #c0392b; }
.pw-rules {
  margin: -4px 0 16px;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--ivory);
}
.pw-rules-title {
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink-soft);
  margin-bottom: 8px;
}
.pw-rules ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px 16px;
}
@media (max-width: 560px) {
  .pw-rules ul { grid-template-columns: 1fr; }
}
.pw-rules li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--ink-soft);
  transition: color 0.15s ease;
}
.pw-ico {
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 1.5px solid #b5bac4;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  transition: all 0.15s ease;
}
.pw-rules li.met {
  color: #1f7a3d;
  font-weight: 600;
}
.pw-rules li.met .pw-ico {
  background: #1f7a3d;
  border-color: #1f7a3d;
}
.pw-rules li.met .pw-ico::before {
  content: "✓";
}
.pw-rules.touched li:not(.met) {
  color: #c0392b;
}
.pw-rules.touched li:not(.met) .pw-ico {
  border-color: #c0392b;
}
.field input.invalid {
  border-color: #c0392b;
}

/* Consistent custom select arrow so both dropdowns look identical */
.field select {
  appearance: none;
  -webkit-appearance: none;
  height: 44px;
  padding-right: 36px;
  text-overflow: ellipsis;
  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' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
}
.field input:not([type="checkbox"]) { height: 44px; }
.field textarea { height: auto; }
.pw-toggle { display: inline-flex; align-items: center; color: var(--ink-soft); opacity: 0.7; }
.pw-toggle .ico-eye-off { display: none; }
.pw-toggle.on .ico-eye { display: none; }
.pw-toggle.on .ico-eye-off { display: block; }

.form-row[hidden] {
  display: none;
}

/* Events section: search + pagination */
.events-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}
.events-search {
  flex: 1;
  min-width: 220px;
  max-width: 420px;
  padding: 11px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  outline: none;
}
.events-search:focus {
  border-color: var(--blue);
}
.events-count {
  font-size: 13px;
  color: var(--ink-soft);
}
.events-pager {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 28px;
}
.events-pager[hidden] {
  display: none;
}
.pager-btn {
  min-width: 38px;
  height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 600;
  cursor: pointer;
}
.pager-btn:hover:not(:disabled):not(.active) {
  border-color: var(--blue);
  color: var(--blue);
}
.pager-btn.active {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--white);
}
.pager-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.pager-gap {
  color: var(--ink-soft);
  padding: 0 4px;
}
