/* Nova Tempora: language navigation, board profiles, events and legal pages */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 2px;
  flex: 0 0 auto;
  padding: 2px;
  border: 1px solid rgba(235, 189, 112, .36);
  border-radius: 999px;
  background: rgba(235, 189, 112, .04);
  font-size: .875rem;
  font-weight: 750;
}
.lang-switch a {
  display: grid;
  place-items: center;
  min-width: 44px;
  min-height: 44px;
  border-radius: 999px;
  color: var(--muted);
  text-decoration: none;
}
.lang-switch a[aria-current="page"] {
  color: var(--gold);
  background: rgba(235, 189, 112, .14);
}
.lang-switch a:hover { color: var(--gold); }
.lang-switch span { color: var(--gold); }
.btn { text-align: center; }
.breadcrumb { flex-wrap: wrap; }

.leadership, .past-events {
  border-block: 1px solid var(--line);
  background: linear-gradient(130deg, #0d2032, #0a192a);
}
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr));
  gap: 18px;
}
.leader-card {
  display: flex;
  align-items: center;
  gap: clamp(14px, 3vw, 28px);
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.leader-portrait {
  flex: 0 0 auto;
  width: clamp(80px, 13vw, 144px);
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(235, 189, 112, .45);
  border-radius: 12px;
}
.portrait-dorian { object-position: center top; }
.leader-card > div { flex: 1 1 auto; min-width: 0; }
.leader-card h3 { margin: 6px 0 0; }
.domicile-card {
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}

.events-strip {
  border-top: 1px solid var(--line);
  background: linear-gradient(110deg, rgba(18, 63, 90, .22), transparent);
}
.events-strip-head, .event-spotlight {
  display: flex;
  justify-content: space-between;
  gap: 24px;
}
.events-strip-head { align-items: end; flex-wrap: wrap; margin-bottom: 24px; }
.events-strip-head h2 { margin: 10px 0 0; }
.event-spotlight, .event-feature {
  padding: clamp(20px, 4vw, 46px);
  border: 1px solid rgba(235, 189, 112, .28);
  border-radius: 18px;
  background: linear-gradient(120deg, #112b42, #122538);
}
.event-spotlight { align-items: center; }
.event-spotlight .btn { flex-shrink: 0; }
.event-spotlight h3, .event-feature h3, .event-archive-copy h3 {
  margin: 14px 0 12px;
  font-size: clamp(1.45rem, 3vw, 2.15rem);
}
.event-spotlight p { margin-bottom: 0; }
.founding-note { margin: 20px 0 0; }
.founding-story {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--line);
  background:
    radial-gradient(circle at 82% 18%, rgba(235, 189, 112, .1), transparent 30%),
    linear-gradient(135deg, #0d2132, #091827 72%);
}
.founding-story::before {
  content: "20 · 11 · 2026";
  position: absolute;
  inset-block-start: clamp(18px, 4vw, 44px);
  inset-inline-end: max(var(--page-gutter), calc((100% - 1160px) / 2));
  color: rgba(235, 189, 112, .08);
  font-size: clamp(2.2rem, 7vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -.05em;
  line-height: 1;
  pointer-events: none;
}
.founding-story-grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, .8fr);
  align-items: center;
  gap: clamp(32px, 7vw, 88px);
}
.founding-story-copy { max-width: 720px; }
.founding-story-copy h2 { margin: 13px 0 24px; }
.founding-story-copy p { font-size: 1.03rem; line-height: 1.82; }
.founding-story-closing {
  margin: 28px 0 0;
  padding-inline-start: 20px;
  border-inline-start: 2px solid var(--gold);
  color: var(--gold-soft);
  font-size: clamp(1.08rem, 2vw, 1.35rem) !important;
  font-weight: 650;
}
.founding-story-media {
  margin: 0;
  padding: clamp(10px, 2vw, 16px);
  border: 1px solid rgba(235, 189, 112, .3);
  border-radius: 18px;
  background: rgba(5, 17, 28, .55);
  box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}
.founding-story-media img { width: 100%; height: auto; border-radius: 11px; }
.founding-story-media figcaption { padding: 12px 4px 2px; color: var(--muted); font-size: .82rem; line-height: 1.5; }
.founding-story-media figcaption span { display: block; margin-bottom: 2px; color: var(--gold); font-weight: 750; letter-spacing: .08em; }
.milestone-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.event-location { margin-top: -4px; color: var(--gold-soft); font-weight: 700; }
.event-feature, .event-archive-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(20px, 4vw, 42px);
}
.event-feature-image, .event-archive-photo {
  width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 12px;
}
.event-details { display: grid; gap: 8px; margin: 18px 0; }
.event-details div {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}
.event-details dt { font-weight: 700; }
.event-details dd { margin: 0; color: var(--muted); }
.event-disclaimer { margin: 14px 0 0; color: var(--muted); }
.event-timeline { margin: 0; padding: 0; list-style: none; }
.timeline-entry {
  position: relative;
  padding: 0 0 32px clamp(19px, 4vw, 38px);
  border-left: 1px solid rgba(235, 189, 112, .45);
}
.timeline-entry:last-child { padding-bottom: 0; }
.timeline-entry::before {
  content: "";
  position: absolute;
  top: 7px;
  left: -6px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--gold);
}
.timeline-entry > time { display: block; margin-bottom: 16px; color: var(--gold); font-weight: 750; }
.event-archive-card {
  grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
  padding: clamp(16px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
}
.event-archive-copy h3 { margin-top: 0; }
.event-archive-media figcaption { margin-top: 6px; font-size: .875rem; color: var(--muted); }

.privacy-section { padding: clamp(45px, 7vw, 90px) 0; }
.privacy-layout {
  display: grid;
  grid-template-columns: minmax(0, 230px) minmax(0, 1fr);
  align-items: start;
  gap: clamp(26px, 6vw, 74px);
}
.privacy-aside {
  display: grid;
  gap: 4px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--panel);
}
.privacy-aside .tiny-label { padding: 8px 10px; }
.privacy-aside a { padding: 8px 10px; border-radius: 7px; text-decoration: none; }
.privacy-aside a:hover { color: var(--gold); background: #162e43; }
.privacy-content { max-width: 760px; min-width: 0; }
.privacy-date { font-size: .9rem; }
.privacy-content section { padding: 26px 0; border-top: 1px solid var(--line); }
.privacy-content h2 { margin: 10px 0 16px; font-size: clamp(1.45rem, 3vw, 2.15rem); }
.privacy-content a, .form-note a, .translation-disclaimer a { color: var(--gold); }
.privacy-content a { overflow-wrap: anywhere; }
.reading-column { max-width: 840px; }
.translation-disclaimer {
  padding: 18px 22px;
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(235, 189, 112, .07);
}
.statute-summary { padding: 24px 0; border-bottom: 1px solid var(--line); }
.statute-summary h2 { margin: 10px 0 12px; font-size: clamp(1.4rem, 2.7vw, 2.1rem); }
.statute-summary:last-of-type { margin-bottom: 24px; }

.join-layout .contact-aside { grid-template-columns: minmax(0, 1fr); }
.join-layout .aside-card h2 { margin-top: 0; }
.join-layout .aside-card p:last-child { margin-bottom: 0; }
.support-section { margin-block: clamp(28px, 5vw, 60px); }
.support-panel {
  display: grid;
  gap: clamp(16px, 3vw, 30px);
  padding: clamp(18px, 3.5vw, 32px);
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #10263a;
}
.support-panel h2 {
  margin: 0 0 12px;
  color: var(--gold-soft);
  font-size: clamp(1.3rem, 2.5vw, 2rem);
}
.support-panel p { margin-bottom: 0; }
.support-panel strong { color: var(--ink); }
.join-layout .support-panel { gap: 12px; }
.support-bank {
  min-width: 0;
  padding: 14px 16px;
  border: 1px solid rgba(235, 189, 112, .22);
  border-left: 3px solid var(--gold);
  border-radius: 0 10px 10px 0;
  background: rgba(235, 189, 112, .05);
}
.support-bank-status { color: var(--gold-soft); }
.support-bank-details { display: grid; gap: 9px; margin: 0; }
.support-bank-details div { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 8px; }
.support-bank-details dt { color: var(--muted); }
.support-bank-details dd { margin: 0; overflow-wrap: anywhere; }
.support-iban { font-variant-numeric: tabular-nums; }
.support-bank-qr { margin-top: 16px; }
.support-bank-qr img { max-width: 100%; height: auto; }
@media (min-width: 761px) {
  .support-panel-wide { grid-template-columns: minmax(0, 1.7fr) minmax(230px, 1fr); align-items: center; }
}
.join-fee {
  margin: 0 0 28px;
  padding: clamp(14px, 3vw, 22px);
  border: 1px solid rgba(235, 189, 112, .25);
  border-radius: 12px;
  background: rgba(235, 189, 112, .055);
}
.join-fee h3 { margin-bottom: 10px; color: var(--gold-soft); }
.join-fee p { margin-bottom: 10px; }
.join-fee p:last-child { margin-bottom: 0; }
.join-fee strong { color: var(--ink); }
.join-notice {
  margin: 0 0 24px;
  padding: 12px 16px;
  border-left: 3px solid var(--gold);
  border-radius: 0 8px 8px 0;
  background: rgba(235, 189, 112, .09);
}
.join-documents a { color: var(--gold); text-underline-offset: 3px; }
.join-group {
  min-width: 0;
  margin: 0 0 28px;
  padding: 14px 0 0;
  border: 0;
}
.join-group + .join-group { border-top: 1px solid var(--line); }
.join-group legend {
  max-width: 100%;
  padding: 0 12px 0 0;
  color: var(--ink);
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  font-weight: 700;
}
.join-optional {
  display: inline-block;
  margin-inline-start: 6px;
  color: var(--muted);
  font-size: .875rem;
  font-weight: 500;
}
.join-help { margin: 0 0 10px; font-size: .9rem; }
.join-message { margin-top: 20px; }
.join-message .join-help { margin: 0; }
.join-options, .join-confirmations { display: grid; gap: 8px; }
.join-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  min-width: 0;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #081a2a;
  font-size: .9375rem;
}
.join-option, .join-option label { cursor: pointer; }
.join-confirmations .join-option { padding: 0; }
.join-confirmations input[type="checkbox"] { margin: 14px 0 0 12px; }
.join-confirmations label { flex: 1; padding: 10px 12px 10px 0; }
.join-option input[type="checkbox"] {
  flex: 0 0 auto;
  width: 19px;
  height: 19px;
  accent-color: var(--gold);
}
.join-option:has(input:checked) { border-color: rgba(235, 189, 112, .58); }
.join-documents { margin-bottom: 0; padding-inline-start: 21px; }
.join-layout button:disabled {
  color: var(--gold-soft);
  background: #302b25;
  border-color: rgba(235, 189, 112, .32);
  cursor: not-allowed;
  transform: none;
}
@media (max-width: 630px) {
  .join-group { margin-bottom: 21px; }
  .join-fee { margin-bottom: 22px; }
}

@media (max-width: 860px) {
  .founding-story-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .founding-story-media { width: 100%; max-width: 480px; }
  .event-feature,.event-archive-card { grid-template-columns: minmax(0, 1fr); }
  .event-archive-media { width: 100%; max-width: 400px; justify-self: center; }
  .privacy-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .privacy-aside { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .privacy-aside .tiny-label { grid-column: 1 / -1; }
  .privacy-aside a { display: flex; align-items: center; min-height: 44px; }
}
@media (max-width: 760px) {
  .founding-story::before { inset-block-start: 14px; opacity: .75; }
  .founding-story-copy p { font-size: 1rem; line-height: 1.65; }
  .founding-story-closing { margin-top: 22px; }
  .event-spotlight { align-items: stretch; flex-direction: column; gap: 16px; }
  .event-spotlight .btn { width: 100%; }
  .event-spotlight h3,.event-feature h3,.event-archive-copy h3 { font-size: 1.3rem; }
  .event-feature p,.event-archive-copy p,.event-spotlight p { line-height: 1.6; }
  .privacy-section { padding: 28px 0 46px; }
  .privacy-aside {
    padding: 9px;
    gap: 4px;
  }
  .privacy-aside a {
    padding: 6px 7px;
    font-size: .875rem;
    border: 1px solid var(--line);
  }
  .privacy-content section { padding: 20px 0; }
  .statutes-group { font-size: 1.4rem; margin: 34px 0 16px; padding-top: 18px; }
  .statutes-content h3 { font-size: 1.2rem; line-height: 1.3; margin: 23px 0 9px; scroll-margin-top: 0; }
  .statutes-content p { line-height: 1.7; }
  .statutes-notice { padding: 16px; margin-bottom: 24px; }
  .join-option,.join-help { font-size: 1rem; line-height: 1.6; }
  .join-option span,.join-option label { min-width: 0; overflow-wrap: break-word; }
  .join-documents a { display: inline-flex; align-items: center; min-height: 44px; }
}
@media (max-width: 560px) {
  .event-details { gap: 10px; }
  .event-details div { grid-template-columns: minmax(0, 1fr); gap: 1px; line-height: 1.5; }
  .support-bank-details div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
}
@media (max-width: 430px) {
  .timeline-entry { padding-inline-start: 13px; }
  .event-feature,.event-archive-card,.event-spotlight { padding: 15px; gap: 16px; }
  .event-archive-copy h3 { font-size: clamp(1.2rem, .8rem + 2vw, 1.45rem); }
}
