/* ============================================================
   من أجل السيسي — الأنماط الرئيسية
   ============================================================ */

:root {
  --ink: #241509;
  --ink-2: #3a2412;
  --ink-3: #5d4028;
  --gold: #e9a81e;
  --gold-2: #c88a0a;
  --gold-3: #ffd98a;
  --gold-4: #fff0c8;
  --cream: #fbf5e8;
  --cream-2: #f4e6c9;
  --paper: #fffdf8;
  --muted: #6e5846;
  --line: rgba(58, 36, 18, 0.12);
  --line-strong: rgba(58, 36, 18, 0.22);
  --red: #b3122e;
  --green: #0e7a52;
  --radius: 26px;
  --radius-sm: 16px;
  --shadow: 0 24px 70px rgba(36, 21, 9, 0.13);
  --shadow-sm: 0 10px 30px rgba(36, 21, 9, 0.08);
  --grad-gold: linear-gradient(135deg, #fff0c8 0%, #f3c75b 28%, #e9a81e 62%, #b87a06 100%);
  --grad-dark: linear-gradient(150deg, #3a2412 0%, #241509 55%, #150c05 100%);
  --nav: 82px;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --font-ar: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-en: "Montserrat", "Cairo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--nav) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  min-height: 100vh;
  overflow-x: hidden;
  font-family: var(--font-ar);
  line-height: 1.8;
  color: var(--ink-2);
  background-color: var(--cream);
  background-image: radial-gradient(circle at 8% 6%, rgba(233, 168, 30, 0.08), transparent 34%),
    radial-gradient(circle at 92% 82%, rgba(233, 168, 30, 0.07), transparent 38%);
}

html[dir="ltr"] body {
  font-family: var(--font-en);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image: url("../images/pattern.svg");
  background-size: 220px;
  opacity: 0.5;
  -webkit-mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 45%);
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), transparent 45%);
}

body.menu-open,
body:has(dialog[open]) {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul,
ol {
  list-style: none;
}

button,
input,
select,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

svg {
  display: block;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
  border-radius: 6px;
}

::-webkit-scrollbar {
  width: 11px;
}

::-webkit-scrollbar-track {
  background: var(--cream-2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-2);
  border-radius: 999px;
  border: 3px solid var(--cream-2);
}

.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 18px;
  z-index: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.85rem;
  transition: top 0.2s;
}

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

.wrap {
  width: min(1180px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

main {
  flex: 1;
}

#view:focus {
  outline: none;
}

/* ===== Section helpers ===== */
.section {
  position: relative;
  padding-block: clamp(70px, 9vw, 118px);
}

.section[id],
.page-hero,
.detail-hero {
  scroll-margin-top: calc(var(--nav) + 16px);
}

/* Inner pages start with their own page hero, so their first grid
   does not need the extra gap used below a section heading. */
.about.no-head .about-layout,
.leadership.no-head .leadership-grid,
.committees.no-head .committee-grid,
.events.no-head .event-grid,
.gallery-section.no-head .gallery-grid {
  margin-top: 0;
}

.sec-head {
  text-align: center;
  max-width: 760px;
  margin-inline: auto;
}

.sec-head.start {
  text-align: start;
  margin-inline: 0;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold-2);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  border-radius: 2px;
  background: var(--gold-2);
}

.sec-head h2,
.section-title {
  margin: 8px 0 0;
  color: var(--ink);
  font-size: clamp(1.9rem, 4.4vw, 3.1rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.015em;
}

.sec-head h2::after {
  content: "";
  display: block;
  width: 58px;
  height: 4px;
  border-radius: 4px;
  margin: 14px auto 0;
  background: var(--grad-gold);
}

.sec-head.start h2::after {
  margin-inline-start: 0;
}

.sec-head p,
.section-sub {
  margin: 16px auto 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(0.95rem, 1.6vw, 1.08rem);
  line-height: 1.9;
}

.sec-head.start p {
  margin-inline-start: 0;
}

.sec-head.on-dark .kicker {
  color: var(--gold-3);
}

.sec-head.on-dark .kicker::before {
  background: var(--gold-3);
}

.sec-head.on-dark h2 {
  color: var(--cream);
}

.sec-head.on-dark h2::after {
  background: var(--grad-gold);
}

.sec-head.on-dark p {
  color: rgba(251, 245, 232, 0.68);
}

.section-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 26px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.section-note .ico {
  width: 16px;
  height: 16px;
  color: var(--gold-2);
}

.ico {
  width: 1.25em;
  height: 1.25em;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.arrow-icon {
  width: 18px;
  height: 18px;
}

html[dir="rtl"] .arrow-icon {
  transform: scaleX(-1);
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 26px;
  border: 1.5px solid transparent;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.92rem;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s var(--ease), color 0.25s var(--ease), border-color 0.25s var(--ease);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0) scale(0.99);
}

.btn-primary {
  background: var(--grad-gold);
  color: var(--ink);
  box-shadow: 0 10px 26px rgba(200, 138, 10, 0.28), 0 0 0 1px rgba(200, 138, 10, 0.12);
}

.btn-primary:hover {
  box-shadow: 0 16px 34px rgba(200, 138, 10, 0.38), 0 0 22px rgba(233, 168, 30, 0.3);
}

.btn-outline {
  border-color: var(--line-strong);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.35);
}

.btn-outline:hover {
  border-color: var(--ink);
  background: var(--ink);
  color: var(--cream);
}

.btn-dark {
  background: var(--ink);
  color: var(--gold-3);
  box-shadow: 0 12px 28px rgba(36, 21, 9, 0.25);
}

.btn-dark:hover {
  background: var(--ink-2);
  box-shadow: 0 18px 34px rgba(36, 21, 9, 0.32);
}

.btn-sm {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 0.84rem;
}

.btn-block {
  width: 100%;
}

.btn[disabled] {
  opacity: 0.6;
  cursor: wait;
  transform: none;
}

.btn .spinner {
  width: 16px;
  height: 16px;
  border: 2px solid currentColor;
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.link-btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  background: none;
  color: var(--gold-2);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: gap 0.2s var(--ease), color 0.2s;
}

.link-btn:hover {
  gap: 11px;
  color: var(--ink);
}

.icon-badge {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 14px;
  background: rgba(233, 168, 30, 0.12);
  border: 1px solid rgba(233, 168, 30, 0.3);
  color: var(--gold-2);
}

.icon-badge .ico {
  width: 23px;
  height: 23px;
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 13px;
  border-radius: 999px;
  border: 1px solid rgba(233, 168, 30, 0.28);
  background: rgba(255, 253, 248, 0.7);
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 700;
  backdrop-filter: blur(8px);
}

.pill .ico {
  width: 15px;
  height: 15px;
  color: var(--gold-2);
}

/* ===== Header ===== */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 100;
  background: rgba(251, 245, 232, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid transparent;
  transition: background 0.25s, box-shadow 0.25s, border-color 0.25s;
}

.site-header.scrolled {
  background: rgba(251, 245, 232, 0.97);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 32px rgba(36, 21, 9, 0.07);
}

.scroll-progress {
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 0;
  height: 3px;
  background: var(--grad-gold);
  border-radius: 0 0 4px 0;
  transition: width 0.1s linear;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  height: var(--nav);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  border-radius: 14px;
}

.brand img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 5px 16px rgba(36, 21, 9, 0.18);
}

.brand-copy b {
  display: block;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 900;
  line-height: 1.25;
  white-space: nowrap;
}

.brand-copy small {
  display: block;
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.main-menu {
  display: flex;
  align-items: center;
  gap: 2px;
}

.main-menu a {
  padding: 8px 11px;
  border-radius: 999px;
  color: var(--ink-3);
  font-size: 0.86rem;
  font-weight: 700;
  white-space: nowrap;
  transition: background 0.2s, color 0.2s;
}

.main-menu a:hover {
  background: rgba(233, 168, 30, 0.13);
  color: var(--ink);
}

.main-menu a[aria-current="page"] {
  background: var(--ink);
  color: var(--gold-3);
}

.main-menu .mobile-join {
  display: none;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.lang-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 38px;
  padding: 0 12px;
  border: 1.5px solid var(--line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-3);
  font-size: 0.78rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
}

.lang-btn:hover {
  border-color: var(--gold);
  background: var(--cream-2);
  color: var(--ink);
}

.nav-login {
  min-height: 38px;
  height: 38px;
  padding: 0 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  background: var(--ink);
  border-color: var(--ink);
  color: var(--gold-3);
}

.nav-login:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
}

.burger {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s;
}

.burger:hover {
  background: var(--cream-2);
}

.burger span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--ink-2);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.burger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.burger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ===== Hero ===== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  padding-top: calc(var(--nav) + 30px);
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfaf1 0%, var(--cream) 52%, #f6ead0 100%);
}

.hero-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 260px;
  opacity: 0.6;
  -webkit-mask-image: radial-gradient(ellipse at 65% 35%, #000 0%, transparent 68%);
  mask-image: radial-gradient(ellipse at 65% 35%, #000 0%, transparent 68%);
}

.hero-bg::after {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  border: 1px solid rgba(233, 168, 30, 0.18);
  inset-inline-end: -220px;
  top: -260px;
  box-shadow: 0 0 0 90px rgba(233, 168, 30, 0.025), 0 0 0 180px rgba(233, 168, 30, 0.018);
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  pointer-events: none;
}

.glow-1 {
  width: 420px;
  height: 420px;
  background: rgba(233, 168, 30, 0.24);
  top: 8%;
  inset-inline-end: 4%;
}

.glow-2 {
  width: 320px;
  height: 320px;
  background: rgba(200, 138, 10, 0.1);
  bottom: 12%;
  inset-inline-start: 6%;
}

.hero-grid {
  flex: 1;
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  align-items: center;
  gap: 40px;
  padding-bottom: 70px;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 15px;
  border: 1px solid rgba(233, 168, 30, 0.32);
  border-radius: 999px;
  background: rgba(233, 168, 30, 0.09);
  color: var(--ink-3);
  font-size: 0.8rem;
  font-weight: 800;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(233, 168, 30, 0.4);
  animation: pulse 2.4s infinite;
}

.hero-title {
  margin: 20px 0 16px;
  color: var(--ink);
  font-size: clamp(3.2rem, 8vw, 6.5rem);
  font-weight: 900;
  line-height: 1.18;
  letter-spacing: -0.02em;
}

.grad-text {
  display: inline-block;
  background: var(--grad-gold);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  position: relative;
}

.grad-text::after {
  content: "";
  position: absolute;
  inset-inline: 2%;
  bottom: 0.04em;
  height: 0.09em;
  border-radius: 999px;
  background: var(--grad-gold);
  opacity: 0.35;
}

.hero-sub {
  max-width: 56ch;
  color: var(--muted);
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  line-height: 1.9;
}

.hero-slogan {
  display: flex;
  align-items: center;
  gap: 11px;
  margin: 16px 0 0;
  color: var(--gold-2);
  font-size: clamp(1rem, 1.9vw, 1.12rem);
  font-weight: 800;
}

.hero-slogan span {
  width: 36px;
  height: 3px;
  border-radius: 3px;
  background: var(--grad-gold);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin-top: 28px;
}

.hero-proof {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 30px;
  color: var(--muted);
  font-size: 0.78rem;
}

.proof-avatars {
  display: flex;
  flex-direction: row;
}

html[dir="rtl"] .proof-avatars {
  flex-direction: row;
}

.proof-avatars img {
  width: 40px;
  height: 40px;
  margin-inline-start: -11px;
  border: 2px solid var(--cream);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 3px 10px rgba(36, 21, 9, 0.12);
}

.proof-avatars img:first-child {
  margin-inline-start: 0;
}

.hero-proof b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.3;
}

.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 26px;
}

.emblem-stage {
  position: relative;
  width: min(460px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
}

.emblem-stage::before {
  content: "";
  position: absolute;
  inset: 6%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(233, 168, 30, 0.18), transparent 66%);
  border: 1px solid rgba(233, 168, 30, 0.28);
}

.emblem-stage::after {
  content: "";
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  border: 1px solid rgba(200, 138, 10, 0.16);
}

.emblem-ring {
  position: absolute;
  inset: 0;
  border: 1px dashed rgba(200, 138, 10, 0.32);
  border-radius: 50%;
  animation: spin 42s linear infinite;
}

.ring-2 {
  inset: 11%;
  border-style: solid;
  border-color: rgba(200, 138, 10, 0.14);
  animation-direction: reverse;
  animation-duration: 56s;
}

.hero-emblem {
  position: relative;
  z-index: 2;
  width: 72%;
  height: auto;
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 32px 80px rgba(36, 21, 9, 0.24), 0 0 0 10px rgba(255, 253, 248, 0.4),
    0 0 70px rgba(233, 168, 30, 0.18);
  animation: float 6s ease-in-out infinite;
}

.stage-star {
  position: absolute;
  z-index: 3;
  color: var(--gold);
  font-size: 1.2rem;
  animation: twinkle 3.2s ease-in-out infinite;
}

.star-1 {
  top: 7%;
  inset-inline-start: 18%;
}

.star-2 {
  bottom: 15%;
  inset-inline-end: 11%;
  font-size: 0.9rem;
  animation-delay: -1.4s;
}

.star-3 {
  top: 42%;
  inset-inline-end: 3%;
  font-size: 1.4rem;
  animation-delay: -0.7s;
}

.floating-card {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border: 1px solid rgba(233, 168, 30, 0.32);
  border-radius: 15px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(12px);
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.4;
  animation: float 5.4s ease-in-out infinite;
}

.floating-card small {
  display: block;
  color: var(--muted);
  font-size: 0.64rem;
  font-weight: 600;
}

.floating-card .mini-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border-radius: 10px;
  background: var(--grad-gold);
  color: var(--ink);
}

.floating-card .mini-icon .ico {
  width: 18px;
  height: 18px;
}

.card-a {
  top: 13%;
  inset-inline-start: -4%;
}

.card-b {
  bottom: 12%;
  inset-inline-end: -3%;
  animation-delay: -2.2s;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.hero-marquee {
  margin-top: auto;
  overflow: hidden;
  padding: 14px 0;
  border-block: 1px solid rgba(233, 168, 30, 0.32);
  background: var(--ink);
}

.marquee-track {
  display: flex;
  gap: 34px;
  width: max-content;
  direction: ltr;
  animation: marquee 30s linear infinite;
}

.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 34px;
  white-space: nowrap;
  direction: rtl;
  color: var(--gold-3);
  font-size: 0.82rem;
  font-weight: 700;
}

html[dir="ltr"] .marquee-track span {
  direction: ltr;
}

.marquee-track i {
  color: var(--gold);
  font-style: normal;
  font-size: 0.72rem;
}

@media (hover: hover) {
  .hero-marquee:hover .marquee-track {
    animation-play-state: paused;
  }
}

/* ===== About ===== */
.about {
  background: var(--cream);
}

.about-layout {
  display: grid;
  grid-template-columns: 1.06fr 0.94fr;
  gap: 22px;
  align-items: stretch;
  margin-top: 48px;
}

.about-story {
  position: relative;
  overflow: hidden;
  padding: clamp(28px, 4vw, 46px);
  border-radius: var(--radius);
  background: var(--grad-dark);
  color: var(--cream);
  box-shadow: var(--shadow);
  border: 1px solid rgba(233, 168, 30, 0.2);
}

.about-story::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 190px;
  opacity: 0.35;
  pointer-events: none;
}

.about-story::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(233, 168, 30, 0.1);
  filter: blur(40px);
  bottom: -130px;
  inset-inline-end: -70px;
}

.about-story > * {
  position: relative;
  z-index: 1;
}

.quote-mark {
  display: block;
  margin-bottom: -18px;
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
  opacity: 0.65;
}

.about-story > p {
  color: rgba(251, 245, 232, 0.9);
  font-size: clamp(0.98rem, 1.5vw, 1.06rem);
  line-height: 2;
}

.story-quote {
  margin-top: 26px;
  padding: 17px 20px;
  border-inline-start: 3px solid var(--gold);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.055);
}

.story-quote p {
  color: var(--gold-3);
  font-size: clamp(1rem, 2vw, 1.14rem);
  font-weight: 700;
  line-height: 1.8;
}

.story-quote span {
  display: block;
  margin-top: 4px;
  color: rgba(251, 245, 232, 0.55);
  font-size: 0.74rem;
  font-weight: 600;
}

.story-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.story-badges span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(233, 168, 30, 0.3);
  border-radius: 999px;
  background: rgba(233, 168, 30, 0.06);
  color: var(--gold-3);
  font-size: 0.73rem;
  font-weight: 700;
}

.story-badges .ico {
  width: 14px;
  height: 14px;
  color: var(--gold);
}

.about-cards {
  display: grid;
  gap: 14px;
}

.value-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 15px;
  align-items: start;
  padding: clamp(20px, 2.6vw, 26px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s var(--ease), border-color 0.3s, box-shadow 0.3s;
}

.value-card:hover {
  transform: translateY(-3px);
  border-color: rgba(233, 168, 30, 0.45);
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
}

.value-card p {
  color: var(--muted);
  font-size: 0.89rem;
  line-height: 1.85;
}

.values-card {
  grid-template-columns: 1fr;
}

.values-card .chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.chips span {
  display: inline-flex;
  padding: 5px 12px;
  border: 1px solid rgba(233, 168, 30, 0.26);
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink-3);
  font-size: 0.76rem;
  font-weight: 700;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 22px;
}

.stat-card {
  position: relative;
  overflow: hidden;
  padding: 24px 16px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
}

.stat-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--grad-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.35s var(--ease);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.stat-card:hover::before {
  transform: scaleX(1);
}

.stat-number {
  display: block;
  color: var(--ink);
  font-family: var(--font-en);
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  font-weight: 800;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}

.stat-number i {
  color: var(--gold);
  font-style: normal;
}

.stat-label {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

/* ===== Leadership ===== */
.leadership {
  overflow: hidden;
  border-block: 1px solid rgba(233, 168, 30, 0.16);
  background: linear-gradient(180deg, var(--cream-2) 0%, #f8ecd4 100%);
}

.leadership::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 230px;
  opacity: 0.35;
  pointer-events: none;
}

.leadership-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.leader-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  overflow: hidden;
  padding: 28px 20px 22px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.leader-card::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline: 0;
  height: 3px;
  background: var(--grad-gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.leader-card:hover {
  transform: translateY(-5px);
  border-color: rgba(233, 168, 30, 0.42);
  box-shadow: var(--shadow);
}

.leader-card:hover::before {
  opacity: 1;
}

.leader-card.featured {
  border-color: rgba(233, 168, 30, 0.42);
  background: var(--grad-dark);
  color: var(--cream);
  box-shadow: 0 24px 60px rgba(36, 21, 9, 0.24);
}

.leader-card.featured::before {
  opacity: 1;
}

.leader-avatar {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
}

.leader-avatar img {
  width: 100%;
  height: 100%;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 8px 20px rgba(36, 21, 9, 0.15);
}

.leader-icon {
  position: absolute;
  bottom: 0;
  inset-inline-end: 0;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 3px solid var(--paper);
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
}

.featured .leader-icon {
  border-color: var(--ink-2);
}

.leader-icon .ico {
  width: 16px;
  height: 16px;
}

.leader-role {
  color: var(--ink);
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.35;
}

.featured .leader-role {
  color: var(--gold-3);
}

.leader-card p {
  flex: 1;
  color: var(--muted);
  font-size: 0.86rem;
  line-height: 1.8;
}

.featured p {
  color: rgba(251, 245, 232, 0.73);
}

.leader-card .link-btn {
  margin-top: 2px;
}

.featured .link-btn {
  color: var(--gold-3);
}

.featured .link-btn:hover {
  color: #fff;
}

.leadership-note {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
  color: var(--muted);
  font-size: 0.78rem;
  text-align: center;
}

.leadership-note .ico {
  width: 15px;
  height: 15px;
  color: var(--gold-2);
}

/* ===== Committees ===== */
.committees {
  background: var(--cream);
}

.committee-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}

.committee-card {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  min-height: 340px;
  overflow: hidden;
  padding: 26px 21px;
  border: 1px solid rgba(233, 168, 30, 0.28);
  border-radius: 24px;
  background: var(--grad-dark);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.committee-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(circle at 85% 0%, rgba(233, 168, 30, 0.22), transparent 52%);
}

.committee-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/pattern.svg");
  background-size: 160px;
  opacity: 0.25;
}

.committee-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold);
  box-shadow: 0 26px 60px rgba(36, 21, 9, 0.26), 0 0 40px rgba(233, 168, 30, 0.16);
}

.committee-watermark {
  position: absolute;
  bottom: -30px;
  inset-inline-end: -8px;
  z-index: -1;
  color: rgba(233, 168, 30, 0.09);
  font-family: var(--font-en);
  font-size: 6.4rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.06em;
  pointer-events: none;
}

.committee-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin-bottom: 17px;
  border: 1px solid rgba(233, 168, 30, 0.35);
  border-radius: 17px;
  background: rgba(233, 168, 30, 0.12);
  color: var(--gold-3);
}

.committee-icon .ico {
  width: 27px;
  height: 27px;
}

.committee-code {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.18em;
}

.committee-card h3 {
  margin: 3px 0 1px;
  color: var(--cream);
  font-size: 1.28rem;
  font-weight: 800;
  line-height: 1.4;
}

.committee-card small {
  color: rgba(251, 245, 232, 0.52);
  font-size: 0.72rem;
}

.committee-card p {
  flex: 1;
  margin: 12px 0 20px;
  color: rgba(251, 245, 232, 0.72);
  font-size: 0.87rem;
  line-height: 1.8;
}

.committee-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-3);
  font-size: 0.8rem;
  font-weight: 800;
  transition: gap 0.25s var(--ease);
}

.committee-card:hover .committee-link {
  gap: 12px;
}

.committee-tasks {
  display: grid;
  gap: 6px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.committee-tasks li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(251, 245, 232, 0.7);
  font-size: 0.79rem;
}

.committee-tasks li::before {
  content: "✦";
  margin-top: 3px;
  color: var(--gold);
  font-size: 0.65rem;
}

.committees-page {
  padding-top: clamp(48px, 7vw, 78px);
}

.committees-page .committee-card {
  min-height: 410px;
}

/* ===== Inner page hero ===== */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav) + 58px) 0 62px;
  background: var(--grad-dark);
  color: var(--cream);
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 220px;
  opacity: 0.45;
}

.page-hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(233, 168, 30, 0.18);
  inset-inline-end: -160px;
  top: -260px;
  box-shadow: 0 0 0 70px rgba(233, 168, 30, 0.03);
}

.page-hero .wrap {
  position: relative;
  z-index: 1;
}

.page-hero .kicker {
  color: var(--gold-3);
}

.page-hero .kicker::before {
  background: var(--gold-3);
}

.page-hero h1 {
  margin: 8px 0 10px;
  color: var(--gold-3);
  font-size: clamp(2.3rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 1.22;
}

.page-hero p {
  max-width: 60ch;
  color: rgba(251, 245, 232, 0.7);
  font-size: clamp(0.95rem, 1.7vw, 1.06rem);
  line-height: 1.9;
}

/* ===== Committee detail ===== */
.detail-hero {
  position: relative;
  overflow: hidden;
  padding: calc(var(--nav) + 42px) 0 72px;
  border-bottom: 3px solid var(--gold);
  background: var(--grad-dark);
  color: var(--cream);
}

.detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 200px;
  opacity: 0.42;
}

.detail-hero .wrap {
  position: relative;
  z-index: 1;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  padding: 7px 14px;
  border: 1px solid rgba(233, 168, 30, 0.35);
  border-radius: 999px;
  color: var(--gold-3);
  font-size: 0.79rem;
  font-weight: 700;
  transition: background 0.2s, color 0.2s;
}

.back-link:hover {
  background: var(--gold);
  color: var(--ink);
}

.detail-icon {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  margin-bottom: 18px;
  border: 1px solid rgba(233, 168, 30, 0.35);
  border-radius: 22px;
  background: rgba(233, 168, 30, 0.12);
  color: var(--gold-3);
}

.detail-icon .ico {
  width: 38px;
  height: 38px;
}

.detail-code {
  color: var(--gold);
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.2em;
}

.detail-hero h1 {
  margin: 5px 0 8px;
  color: var(--cream);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 900;
  line-height: 1.25;
}

.detail-hero h1 small {
  display: block;
  margin-top: 6px;
  color: var(--gold-3);
  font-size: 0.38em;
  font-weight: 600;
}

.detail-tagline {
  max-width: 62ch;
  color: rgba(251, 245, 232, 0.72);
  font-size: clamp(0.98rem, 1.8vw, 1.1rem);
}

.detail-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 22px;
}

.detail-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(233, 168, 30, 0.3);
  border-radius: 999px;
  background: rgba(233, 168, 30, 0.06);
  color: var(--gold-3);
  font-size: 0.74rem;
  font-weight: 700;
}

.detail-body {
  padding-block: clamp(48px, 7vw, 88px);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.detail-card {
  padding: clamp(22px, 3vw, 32px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.detail-card.wide {
  grid-column: 1 / -1;
}

.detail-card h2 {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 15px;
  color: var(--ink);
  font-size: 1.18rem;
  font-weight: 800;
}

.detail-card h2::before {
  content: "";
  width: 4px;
  height: 21px;
  border-radius: 4px;
  background: var(--grad-gold);
}

.detail-card > p {
  color: var(--muted);
  font-size: 0.96rem;
  line-height: 1.95;
}

.tick-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.tick-list li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--ink-3);
  font-size: 0.9rem;
  line-height: 1.7;
}

.tick-list li::before {
  content: "✦";
  margin-top: 3px;
  color: var(--gold-2);
  font-size: 0.7rem;
}

.committee-leads {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.lead-mini {
  display: flex;
  align-items: center;
  gap: 13px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
}

.lead-mini img {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
}

.lead-mini b {
  display: block;
  color: var(--ink);
  font-size: 0.85rem;
}

.lead-mini small {
  color: var(--muted);
  font-size: 0.72rem;
}

.detail-cta {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 22px;
  padding: clamp(24px, 3.6vw, 34px);
  border: 1px solid rgba(233, 168, 30, 0.35);
  border-radius: 24px;
  background: var(--grad-dark);
  color: var(--cream);
}

.detail-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 180px;
  opacity: 0.35;
}

.detail-cta > * {
  position: relative;
  z-index: 1;
}

.detail-cta h2 {
  margin: 0 0 4px;
  color: var(--gold-3);
  font-size: clamp(1.2rem, 2.5vw, 1.6rem);
  font-weight: 800;
}

.detail-cta p {
  color: rgba(251, 245, 232, 0.65);
  font-size: 0.85rem;
}

/* ===== Events ===== */
.events {
  background: #fdf9f0;
}

.event-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 48px;
}

.event-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}

.event-card:hover {
  transform: translateY(-6px);
  border-color: rgba(233, 168, 30, 0.45);
  box-shadow: var(--shadow);
}

.event-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--ink);
}

.event-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s var(--ease);
}

.event-card:hover .event-media img {
  transform: scale(1.05);
}

.event-date {
  position: absolute;
  top: 13px;
  inset-inline-start: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border: 1px solid rgba(233, 168, 30, 0.32);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.92);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.event-date .ico {
  width: 14px;
  height: 14px;
  color: var(--gold-2);
}

.event-tag {
  position: absolute;
  bottom: 13px;
  inset-inline-end: 13px;
  padding: 5px 12px;
  border: 1px solid rgba(233, 168, 30, 0.4);
  border-radius: 999px;
  background: rgba(36, 21, 9, 0.82);
  color: var(--gold-3);
  font-size: 0.68rem;
  font-weight: 800;
  backdrop-filter: blur(8px);
}

.event-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 9px;
  padding: 23px 22px 24px;
}

.event-body h3 {
  color: var(--ink);
  font-size: 1.2rem;
  font-weight: 800;
  line-height: 1.4;
}

.event-body p {
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.85;
}

/* ===== Gallery ===== */
.gallery-section {
  overflow: hidden;
  background: var(--grad-dark);
  color: var(--cream);
}

.gallery-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 210px;
  opacity: 0.45;
  pointer-events: none;
}

.gallery-section .wrap {
  position: relative;
  z-index: 1;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 208px;
  grid-auto-flow: dense;
  gap: 14px;
  margin-top: 46px;
}

.gallery-tile {
  position: relative;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(233, 168, 30, 0.28);
  border-radius: 18px;
  background: var(--ink-2);
  cursor: pointer;
  text-align: start;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}

.gallery-tile:hover {
  transform: translateY(-3px);
  border-color: var(--gold);
  box-shadow: 0 16px 38px rgba(0, 0, 0, 0.3);
}

.gallery-tile.wide {
  grid-column: span 2;
}

.gallery-tile.tall {
  grid-row: span 2;
}

.gallery-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.gallery-tile:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  padding: 42px 16px 14px;
  background: linear-gradient(transparent, rgba(18, 10, 4, 0.9));
  color: var(--cream);
  font-size: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
}

.gallery-overlay b {
  max-width: 85%;
}

.gallery-zoom {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  border-radius: 50%;
  background: rgba(233, 168, 30, 0.9);
  color: var(--ink);
  opacity: 0;
  transform: translateY(5px);
  transition: opacity 0.25s, transform 0.25s;
}

.gallery-zoom .ico {
  width: 15px;
  height: 15px;
}

.gallery-tile:hover .gallery-zoom {
  opacity: 1;
  transform: none;
}

/* ===== Join CTA ===== */
.join {
  overflow: hidden;
  background: var(--grad-gold);
  color: var(--ink);
}

.join::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 200px;
  opacity: 0.55;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.join::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(36, 21, 9, 0.14);
  inset-inline-end: -170px;
  bottom: -300px;
  box-shadow: 0 0 0 80px rgba(36, 21, 9, 0.025);
}

.join-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 36px;
  align-items: center;
}

.join .kicker {
  color: var(--ink-2);
}

.join .kicker::before {
  background: var(--ink-2);
}

.join h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  line-height: 1.25;
}

.join-copy > p {
  max-width: 56ch;
  color: rgba(36, 21, 9, 0.74);
  font-size: 0.98rem;
  line-height: 1.9;
}

.join-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 24px 0 28px;
  counter-reset: step;
}

.join-steps li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 14px;
  border: 1px solid rgba(36, 21, 9, 0.16);
  border-radius: 999px;
  background: rgba(36, 21, 9, 0.07);
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 800;
}

.join-steps li::before {
  counter-increment: step;
  content: counter(step);
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--ink);
  color: var(--gold-3);
  font-size: 0.66rem;
}

.join-note {
  margin-top: 14px;
  color: rgba(36, 21, 9, 0.62) !important;
  font-size: 0.77rem !important;
}

.join-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 330px;
}

.join-emblem {
  position: relative;
  z-index: 2;
  width: min(290px, 66%);
  border-radius: 50%;
  background: var(--ink);
  box-shadow: 0 30px 70px rgba(36, 21, 9, 0.26), 0 0 0 12px rgba(255, 253, 248, 0.2);
  animation: float 6.5s ease-in-out infinite;
}

.join-orbit {
  position: absolute;
  width: 86%;
  aspect-ratio: 1;
  border: 1px dashed rgba(36, 21, 9, 0.22);
  border-radius: 50%;
  animation: spin 50s linear infinite;
}

.join-orbit.orbit-2 {
  width: 68%;
  border-style: solid;
  border-color: rgba(36, 21, 9, 0.1);
  animation-direction: reverse;
  animation-duration: 64s;
}

.join-stat {
  position: absolute;
  z-index: 3;
  bottom: 7%;
  inset-inline-end: 0;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 15px;
  border: 1px solid rgba(233, 168, 30, 0.35);
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-3);
  font-size: 0.76rem;
  font-weight: 800;
  box-shadow: 0 10px 26px rgba(36, 21, 9, 0.24);
}

.join-stat .ico {
  width: 15px;
  height: 15px;
  color: var(--gold);
}

/* ===== Suggest ===== */
.suggest {
  background: var(--cream);
}

.suggest-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 34px;
  align-items: start;
}

.suggest-copy h2 {
  margin: 8px 0 10px;
  color: var(--ink);
  font-size: clamp(1.8rem, 3.7vw, 2.7rem);
  font-weight: 900;
  line-height: 1.3;
}

.suggest-copy > p {
  max-width: 50ch;
  color: var(--muted);
  font-size: 0.97rem;
  line-height: 1.9;
}

.contact-list {
  display: grid;
  gap: 11px;
  margin-top: 26px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.contact-item .icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
}

.contact-item .icon-badge .ico {
  width: 18px;
  height: 18px;
}

.contact-item b {
  display: block;
  margin-bottom: 1px;
  color: var(--ink);
  font-size: 0.75rem;
  font-weight: 800;
}

.contact-item span,
.contact-item a {
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.6;
  word-break: break-word;
}

.suggest-form {
  padding: clamp(22px, 3.5vw, 34px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.field {
  display: grid;
  gap: 5px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  color: var(--ink);
  font-size: 0.79rem;
  font-weight: 800;
}

.field label .req {
  color: var(--red);
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 47px;
  padding: 11px 13px;
  border: 1.5px solid var(--line-strong);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  font-size: 0.9rem;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.field textarea {
  min-height: 116px;
  resize: vertical;
  line-height: 1.7;
}

.field select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%235d4028' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='m6 9 6 6 6-6'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: left 13px center;
  background-size: 15px;
  padding-inline-end: 36px;
}

html[dir="ltr"] .field select {
  background-position: right 13px center;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
  border-color: var(--gold);
  outline: 0;
  box-shadow: 0 0 0 4px rgba(233, 168, 30, 0.15);
}

.field.is-invalid input,
.field.is-invalid select,
.field.is-invalid textarea {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(179, 18, 46, 0.08);
}

.field-error {
  min-height: 0;
  color: var(--red);
  font-size: 0.73rem;
  font-weight: 600;
  line-height: 1.5;
}

.form-status {
  min-height: 1.3em;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.83rem;
  font-weight: 700;
}

.form-status.ok {
  color: var(--green);
}

.form-status.bad {
  color: var(--red);
}

.form-hint {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.65;
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.suggest-form .btn {
  margin-top: 4px;
}

.password-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.password-wrap input {
  padding-inline-end: 44px;
}

.password-toggle {
  position: absolute;
  inset-inline-end: 6px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
}

.password-toggle:hover {
  background: var(--cream-2);
  color: var(--ink);
}

.password-toggle .ico {
  width: 18px;
  height: 18px;
}

.checkbox-field {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
  cursor: pointer;
}

.checkbox-field input {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 3px;
  accent-color: var(--gold-2);
}

/* ===== Portal auth ===== */
.portal-page {
  min-height: 100vh;
  padding: calc(var(--nav) + 34px) 0 72px;
  background: var(--cream);
}

.portal-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 24px;
  align-items: start;
  max-width: 1060px;
  margin-inline: auto;
}

.portal-aside {
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 620px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid rgba(233, 168, 30, 0.24);
  border-radius: 28px;
  background: var(--grad-dark);
  color: var(--cream);
  box-shadow: var(--shadow);
}

.portal-aside::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 190px;
  opacity: 0.4;
}

.portal-aside::after {
  content: "";
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(233, 168, 30, 0.12);
  filter: blur(45px);
  bottom: -120px;
  inset-inline-end: -80px;
}

.portal-aside > * {
  position: relative;
  z-index: 1;
}

.portal-aside .kicker {
  color: var(--gold-3);
}

.portal-aside .kicker::before {
  background: var(--gold-3);
}

.portal-aside h1 {
  margin: 10px 0 10px;
  color: var(--cream);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 900;
  line-height: 1.25;
}

.portal-aside > p {
  color: rgba(251, 245, 232, 0.7);
  font-size: 0.92rem;
  line-height: 1.9;
}

.portal-features {
  display: grid;
  gap: 9px;
  margin-top: 22px;
}

.portal-features li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: rgba(251, 245, 232, 0.82);
  font-size: 0.85rem;
  font-weight: 600;
}

.portal-features .ico {
  width: 17px;
  height: 17px;
  color: var(--gold);
}

.portal-emblem {
  width: min(210px, 55%);
  margin: auto auto 0;
  padding-top: 26px;
  opacity: 0.95;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, 0.3));
}

.portal-panel {
  align-self: start;
  padding: clamp(22px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.auth-tabs {
  display: flex;
  gap: 3px;
  margin-bottom: 24px;
  padding: 4px;
  border-radius: 999px;
  background: var(--cream-2);
}

.auth-tab {
  flex: 1;
  padding: 9px 10px;
  border: 0;
  border-radius: 999px;
  background: none;
  color: var(--muted);
  font-size: 0.84rem;
  font-weight: 800;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, box-shadow 0.2s;
}

.auth-tab.active {
  background: var(--ink);
  color: var(--gold-3);
  box-shadow: 0 5px 14px rgba(36, 21, 9, 0.16);
}

.auth-title {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
  line-height: 1.35;
}

.auth-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.85rem;
  line-height: 1.75;
}

.auth-form {
  display: grid;
  gap: 13px;
}

.auth-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.auth-form .btn {
  margin-top: 3px;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 3px 0;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 700;
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.auth-switch {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
}

.auth-switch button {
  padding: 0;
  border: 0;
  background: none;
  color: var(--gold-2);
  font-size: inherit;
  font-weight: 800;
  cursor: pointer;
}

.auth-switch button:hover {
  color: var(--ink);
}

.auth-note {
  margin-top: 4px;
  padding: 9px 12px;
  border: 1px dashed rgba(200, 138, 10, 0.4);
  border-radius: 10px;
  background: rgba(233, 168, 30, 0.07);
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.65;
  text-align: center;
}

.auth-alert {
  margin-bottom: 14px;
  padding: 9px 12px;
  border-radius: 10px;
  background: rgba(180, 45, 45, 0.08);
  line-height: 1.65;
}

.auth-loading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 34px 2px;
  color: var(--muted);
  font-size: 0.85rem;
}

.auth-loading p {
  margin: 0;
}

.auth-loading .spinner {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  border: 2px solid var(--green);
  border-top-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

/* ===== Member dashboard ===== */
.portal-dash {
  max-width: 1160px;
  margin-inline: auto;
}

.dash-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 26px;
}

.dash-head h1 {
  margin: 5px 0 4px;
  color: var(--ink);
  font-size: clamp(1.8rem, 4vw, 2.55rem);
  font-weight: 900;
  line-height: 1.3;
}

.dash-head p {
  color: var(--muted);
  font-size: 0.9rem;
}

.dash-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 13px;
  border: 1px solid rgba(14, 122, 82, 0.24);
  border-radius: 999px;
  background: rgba(14, 122, 82, 0.09);
  color: var(--green);
  font-size: 0.74rem;
  font-weight: 800;
}

.status-pill::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(14, 122, 82, 0.12);
}

.dash-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.membership-card {
  position: relative;
  isolation: isolate;
  grid-column: span 5;
  display: flex;
  flex-direction: column;
  min-height: 238px;
  overflow: hidden;
  padding: 25px;
  border: 1px solid rgba(36, 21, 9, 0.12);
  border-radius: 24px;
  background: var(--grad-gold);
  color: var(--ink);
  box-shadow: var(--shadow);
}

.membership-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: url("../images/pattern.svg");
  background-size: 150px;
  opacity: 0.75;
  mix-blend-mode: multiply;
}

.membership-card::after {
  content: "";
  position: absolute;
  width: 230px;
  height: 230px;
  border-radius: 50%;
  border: 1px solid rgba(36, 21, 9, 0.14);
  inset-inline-end: -75px;
  bottom: -95px;
  box-shadow: 0 0 0 45px rgba(36, 21, 9, 0.03);
}

.membership-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
}

.membership-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(36, 21, 9, 0.7);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.membership-label .ico {
  width: 15px;
  height: 15px;
}

.membership-logo {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 2px solid rgba(36, 21, 9, 0.28);
  background: var(--ink);
}

.membership-card h2 {
  position: relative;
  z-index: 1;
  margin: 20px 0 1px;
  color: var(--ink);
  font-size: clamp(1.3rem, 2.6vw, 1.65rem);
  font-weight: 900;
  line-height: 1.35;
}

.membership-id {
  position: relative;
  z-index: 1;
  color: rgba(36, 21, 9, 0.65);
  font-family: var(--font-en);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.membership-bottom {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  padding-top: 22px;
}

.membership-bottom small {
  display: block;
  color: rgba(36, 21, 9, 0.58);
  font-size: 0.64rem;
  font-weight: 700;
}

.membership-bottom b {
  display: block;
  margin-top: 1px;
  color: var(--ink);
  font-size: 0.86rem;
}

.membership-chip {
  width: 39px;
  height: 28px;
  border: 1px solid rgba(36, 21, 9, 0.28);
  border-radius: 8px;
  background: rgba(255, 253, 248, 0.28);
}

.membership-chip::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(135deg, transparent 44%, rgba(36, 21, 9, 0.22) 45%, transparent 47%);
}

.dash-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--paper);
  box-shadow: var(--shadow-sm);
}

.dash-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 15px;
}

.dash-card-head h2 {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 800;
}

.dash-card-head h2::before {
  content: "";
  width: 3px;
  height: 17px;
  border-radius: 3px;
  background: var(--grad-gold);
}

.dash-profile {
  grid-column: span 4;
}

.profile-summary {
  display: flex;
  align-items: center;
  gap: 13px;
}

.profile-avatar {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  flex-shrink: 0;
  border: 2px solid var(--gold);
  border-radius: 50%;
  background: var(--grad-dark);
  color: var(--gold-3);
  font-size: 1.15rem;
  font-weight: 900;
}

.profile-summary b {
  display: block;
  color: var(--ink);
  font-size: 0.95rem;
  line-height: 1.4;
}

.profile-summary small {
  display: block;
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.55;
}

.completion {
  margin-top: 17px;
}

.completion-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 700;
}

.completion-row b {
  color: var(--ink);
}

.progress-bar {
  height: 8px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cream-2);
}

.progress-bar span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: var(--grad-gold);
  transition: width 0.6s var(--ease);
}

.dash-profile .link-btn {
  margin-top: 13px;
}

.dash-tasks {
  grid-column: span 3;
}

.task-list {
  display: grid;
  gap: 2px;
}

.task-item {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 8px 0;
  border-bottom: 1px dashed var(--line);
  color: var(--ink-3);
  font-size: 0.79rem;
  line-height: 1.55;
  cursor: pointer;
}

.task-item:last-child {
  border-bottom: 0;
}

.task-item input {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  margin-top: 2px;
  accent-color: var(--gold-2);
  cursor: pointer;
}

.task-item.done {
  color: var(--muted);
  text-decoration: line-through;
  text-decoration-color: rgba(110, 88, 70, 0.3);
}

.dash-committee {
  grid-column: span 4;
}

.dash-committee .committee-badge {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 12px;
  border-radius: 14px;
  background: var(--ink);
  color: var(--gold-3);
}

.dash-committee .committee-badge .ico {
  width: 24px;
  height: 24px;
}

.dash-committee h3 {
  margin: 0;
  color: var(--ink);
  font-size: 1.08rem;
}

.dash-committee .committee-en {
  display: block;
  margin-bottom: 8px;
  color: var(--gold-2);
  font-family: var(--font-en);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.dash-committee p {
  color: var(--muted);
  font-size: 0.81rem;
  line-height: 1.75;
}

.dash-committee .link-btn {
  margin-top: 10px;
}

.dash-events {
  grid-column: span 8;
}

.dash-events-list {
  display: grid;
  gap: 4px;
}

.dash-event {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 7px;
  border-radius: 13px;
  transition: background 0.2s;
}

.dash-event:hover {
  background: var(--cream);
}

.dash-event img {
  width: 62px;
  height: 52px;
  flex-shrink: 0;
  border-radius: 9px;
  object-fit: cover;
  background: var(--ink);
}

.dash-event b {
  display: block;
  color: var(--ink);
  font-size: 0.81rem;
  line-height: 1.45;
}

.dash-event small {
  display: block;
  margin-top: 1px;
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 700;
}

.dash-event .link-btn {
  margin-inline-start: auto;
  font-size: 0.7rem;
  white-space: nowrap;
}

.dash-account {
  grid-column: span 4;
}

.account-list {
  display: grid;
  gap: 7px;
  font-size: 0.78rem;
}

.account-list > div {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 6px;
  border-bottom: 1px dashed var(--line);
}

.account-list > div:last-child {
  border-bottom: 0;
}

.account-list span {
  color: var(--muted);
}

.account-list b {
  max-width: 65%;
  color: var(--ink);
  font-weight: 700;
  text-align: end;
  overflow-wrap: anywhere;
}

.dash-account .btn {
  width: 100%;
  margin-top: 12px;
}

.dash-note {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 16px;
  color: var(--muted);
  font-size: 0.71rem;
  line-height: 1.6;
}

.dash-note .ico {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  color: var(--gold-2);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  padding: clamp(46px, 7vw, 76px) 0 22px;
  border-top: 3px solid var(--gold);
  background: var(--ink);
  color: var(--cream);
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 230px;
  opacity: 0.35;
  pointer-events: none;
}

.site-footer .wrap {
  position: relative;
  z-index: 1;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr 1fr 1fr;
  gap: 30px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 15px;
}

.footer-logo img {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 50%;
  background: #150c05;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

.footer-logo b {
  display: block;
  color: var(--cream);
  font-size: 1.12rem;
  font-weight: 900;
  line-height: 1.3;
}

.footer-logo small {
  display: block;
  color: rgba(251, 245, 232, 0.5);
  font-size: 0.68rem;
}

.footer-brand > p {
  max-width: 42ch;
  color: rgba(251, 245, 232, 0.6);
  font-size: 0.84rem;
  line-height: 1.85;
}

.footer-tag {
  display: inline-flex;
  align-items: center;
  margin-top: 14px;
  padding: 4px 12px;
  border: 1px solid rgba(233, 168, 30, 0.3);
  border-radius: 999px;
  color: var(--gold-3);
  font-size: 0.7rem;
  font-weight: 700;
}

.footer-col h3 {
  margin: 0 0 13px;
  color: var(--gold-3);
  font-size: 0.86rem;
  font-weight: 800;
}

.footer-col a,
.footer-col p {
  display: block;
  margin-bottom: 7px;
  color: rgba(251, 245, 232, 0.6);
  font-size: 0.82rem;
  line-height: 1.7;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--gold-3);
}

.footer-email {
  color: var(--gold-3) !important;
  font-weight: 700;
  overflow-wrap: anywhere;
}

.footer-note {
  margin-top: 12px !important;
  color: rgba(251, 245, 232, 0.4) !important;
  font-size: 0.7rem !important;
  line-height: 1.7 !important;
}

.socials {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.social-link {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(233, 168, 30, 0.32);
  border-radius: 50%;
  color: var(--gold-3);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.social-link:hover {
  background: var(--gold);
  color: var(--ink);
  transform: translateY(-3px);
}

.social-link svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

.social-link.disabled {
  opacity: 0.32;
  cursor: help;
}

.social-link.disabled:hover {
  background: none;
  color: var(--gold-3);
  transform: none;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 38px;
  padding-top: 18px;
  border-top: 1px solid rgba(233, 168, 30, 0.16);
}

.footer-bottom p {
  color: rgba(251, 245, 232, 0.42);
  font-size: 0.71rem;
  line-height: 1.7;
}

.footer-bottom p:last-child {
  max-width: 62ch;
  text-align: end;
}

/* ===== Dialogs ===== */
dialog {
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
}

dialog::backdrop {
  background: rgba(12, 7, 3, 0.74);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

dialog[open] {
  animation: dialogIn 0.28s var(--ease);
}

.dialog-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(20, 11, 5, 0.55);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}

.dialog-icon:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--ink);
  transform: scale(1.06);
}

.dialog-icon svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
}

/* Lightbox */
.lightbox {
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  overflow: hidden;
  background: rgba(10, 6, 2, 0.96);
  color: #fff;
}

.lightbox[open] {
  display: block;
}

.lightbox-stage {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  height: 100%;
  padding: 64px 74px 52px;
}

.lightbox-figure {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: min(1120px, 100%);
  max-height: 100%;
}

.lightbox-figure img {
  width: min(1120px, 100%, calc((100vh - 190px) * 4 / 3));
  height: auto;
  max-height: none;
  border: 2px solid var(--gold);
  border-radius: 14px;
  background: var(--ink);
  object-fit: contain;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5), 0 0 45px rgba(233, 168, 30, 0.12);
}

.lightbox-figure figcaption {
  color: var(--gold-3);
  font-size: 0.86rem;
  font-weight: 600;
  text-align: center;
}

.lightbox-close {
  position: absolute;
  top: 18px;
  inset-inline-end: 18px;
  z-index: 3;
}

.lightbox-open {
  position: absolute;
  top: 18px;
  inset-inline-start: 18px;
  z-index: 3;
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: rgba(36, 21, 9, 0.7);
  color: var(--gold-3);
  cursor: pointer;
  transform: translateY(-50%);
  transition: background 0.2s, color 0.2s, transform 0.2s;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--ink);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

html[dir="rtl"] .lightbox-nav svg {
  transform: scaleX(-1);
}

.lightbox-prev {
  inset-inline-start: 18px;
}

.lightbox-next {
  inset-inline-end: 18px;
}

.lightbox-count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  padding: 3px 12px;
  border: 1px solid rgba(233, 168, 30, 0.3);
  border-radius: 999px;
  background: rgba(36, 21, 9, 0.7);
  color: var(--gold-3);
  font-family: var(--font-en);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

/* Info dialog (events + roles) */
.info-dialog {
  position: relative;
  width: min(760px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  overscroll-behavior: contain;
}

.info-dialog .dialog-close {
  position: absolute;
  top: 15px;
  inset-inline-end: 15px;
  z-index: 4;
  background: rgba(36, 21, 9, 0.55);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

.modal-hero {
  position: relative;
  aspect-ratio: 16 / 8;
  overflow: hidden;
  background: var(--ink);
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.modal-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 55%, rgba(20, 11, 5, 0.5));
}

.modal-body {
  padding: clamp(22px, 4vw, 34px);
}

.modal-date {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border: 1px solid rgba(233, 168, 30, 0.3);
  border-radius: 999px;
  background: var(--cream-2);
  color: var(--ink-3);
  font-size: 0.72rem;
  font-weight: 800;
}

.modal-date .ico {
  width: 14px;
  height: 14px;
  color: var(--gold-2);
}

.modal-body h2 {
  margin: 10px 0 10px;
  color: var(--ink);
  font-size: clamp(1.5rem, 3.4vw, 2rem);
  font-weight: 900;
  line-height: 1.35;
}

.modal-body > p {
  color: var(--muted);
  font-size: 0.94rem;
  line-height: 1.95;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 12px 0 0;
}

.tag {
  display: inline-flex;
  padding: 3px 11px;
  border: 1px solid rgba(233, 168, 30, 0.28);
  border-radius: 999px;
  background: rgba(233, 168, 30, 0.08);
  color: var(--gold-2);
  font-size: 0.68rem;
  font-weight: 800;
}

.highlight-list {
  display: grid;
  gap: 7px;
  margin: 16px 0 0;
  padding: 16px 18px;
  border-radius: 14px;
  background: var(--cream);
}

.highlight-list h3 {
  margin: 0 0 4px;
  color: var(--ink);
  font-size: 0.82rem;
  font-weight: 800;
}

.highlight-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: var(--ink-3);
  font-size: 0.82rem;
  line-height: 1.7;
}

.highlight-list li::before {
  content: "✦";
  margin-top: 3px;
  color: var(--gold-2);
  font-size: 0.65rem;
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 22px;
}

.modal-note {
  margin-top: 13px;
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.65;
}

/* Role modal */
.role-modal-head {
  position: relative;
  overflow: hidden;
  padding: 38px 30px 26px;
  background: var(--grad-dark);
  color: var(--cream);
  text-align: center;
}

.role-modal-head::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("../images/pattern.svg");
  background-size: 160px;
  opacity: 0.4;
}

.role-modal-head > * {
  position: relative;
  z-index: 1;
}

.role-modal-head img {
  width: 100px;
  height: 100px;
  margin: 0 auto 12px;
  border: 3px solid var(--gold);
  border-radius: 50%;
  background: var(--ink);
}

.role-modal-head h2 {
  margin: 0;
  color: var(--gold-3);
  font-size: 1.45rem;
  font-weight: 900;
}

.role-modal-head p {
  margin-top: 4px;
  color: rgba(251, 245, 232, 0.65);
  font-size: 0.8rem;
}

.role-duties {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.role-duties li {
  display: flex;
  align-items: flex-start;
  gap: 9px;
  padding: 10px 13px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--cream);
  color: var(--ink-3);
  font-size: 0.85rem;
}

.role-duties li::before {
  content: "✦";
  margin-top: 3px;
  color: var(--gold-2);
  font-size: 0.65rem;
}

/* Edit profile dialog */
.edit-dialog {
  position: relative;
  width: min(650px, 94vw);
  max-height: 92vh;
  overflow-y: auto;
  padding: clamp(24px, 4vw, 34px);
  border-radius: 26px;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 40px 120px rgba(0, 0, 0, 0.45);
  overscroll-behavior: contain;
}

.edit-dialog > .dialog-close {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  background: var(--cream);
  border-color: var(--line);
  color: var(--ink);
}

.edit-dialog h2 {
  margin: 0 0 3px;
  color: var(--ink);
  font-size: 1.5rem;
  font-weight: 900;
}

.edit-sub {
  margin: 0 0 20px;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.7;
}

.edit-form {
  display: grid;
  gap: 13px;
}

.edit-form .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.edit-form .form-actions {
  margin-top: 5px;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  z-index: 400;
  max-width: min(92vw, 440px);
  padding: 10px 20px;
  border: 1px solid rgba(233, 168, 30, 0.35);
  border-radius: 999px;
  background: var(--ink);
  color: var(--gold-3);
  box-shadow: 0 18px 45px rgba(36, 21, 9, 0.3);
  font-size: 0.82rem;
  font-weight: 700;
  text-align: center;
  opacity: 0;
  pointer-events: none;
  transform: translate(-50%, 18px);
  transition: opacity 0.28s var(--ease), transform 0.28s var(--ease);
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.noscript {
  position: fixed;
  inset: 0;
  z-index: 999;
  display: grid;
  place-items: center;
  padding: 30px;
  background: var(--cream);
  color: var(--ink);
  font-weight: 700;
  text-align: center;
}

/* ===== Animations ===== */
.rv {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease),
    border-color 0.3s, box-shadow 0.3s;
  transition-delay: var(--delay, 0ms);
}

.rv.in {
  opacity: 1;
  transform: none;
}

@keyframes float {
  50% {
    transform: translateY(-12px);
  }
}

@keyframes pulse {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(233, 168, 30, 0.4);
  }
  50% {
    box-shadow: 0 0 0 9px rgba(233, 168, 30, 0);
  }
}

@keyframes twinkle {
  0%,
  100% {
    opacity: 0.45;
    transform: scale(0.9);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}

@keyframes dialogIn {
  from {
    opacity: 0;
    transform: translateY(14px) scale(0.98);
  }
}

@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
}

@media (hover: none) {
  .gallery-zoom {
    opacity: 1;
    transform: none;
  }
}

/* ===== Extras ===== */
.dash-links {
  grid-column: span 8;
}

.dash-link-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.dash-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--cream);
  color: var(--ink-3);
  font-size: 0.8rem;
  font-weight: 700;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
}

.dash-link:hover {
  border-color: rgba(233, 168, 30, 0.45);
  background: var(--cream-2);
  transform: translateY(-2px);
}

.dash-link .ico {
  width: 17px;
  height: 17px;
  color: var(--gold-2);
}

.dash-link .arrow-icon {
  width: 14px;
  height: 14px;
  margin-inline-start: auto;
  color: var(--muted);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
}

.empty-state {
  padding: 28px 18px;
  border: 1px dashed var(--line-strong);
  border-radius: 16px;
  background: var(--cream);
  color: var(--muted);
  font-size: 0.84rem;
  text-align: center;
}

.hidden {
  display: none !important;
}

.section-cta {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.page-hero .page-hero-cta {
  margin-top: 24px;
}

.page-hero.not-found {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.page-hero.not-found .wrap {
  width: 100%;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 1120px) {
  .main-menu {
    display: none;
  }

  .burger {
    display: flex;
  }

  .main-menu.open {
    position: fixed;
    top: calc(var(--nav) + 8px);
    inset-inline: 14px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 3px;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: rgba(255, 253, 248, 0.99);
    box-shadow: 0 24px 60px rgba(36, 21, 9, 0.18);
    animation: menuIn 0.22s var(--ease);
    max-height: calc(100dvh - var(--nav) - 22px);
    overflow-y: auto;
  }

  .main-menu.open a {
    padding: 12px 16px;
    border-radius: 13px;
    color: var(--ink-2);
    font-size: 0.94rem;
  }

  .main-menu.open a[aria-current="page"] {
    background: var(--cream-2);
    color: var(--ink);
  }

  .main-menu.open .mobile-join {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 5px;
    background: var(--grad-gold);
    color: var(--ink);
    font-weight: 900;
  }

  .main-menu.open .mobile-join:hover {
    background: var(--gold-2);
    color: var(--cream);
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 90;
    background: rgba(20, 11, 5, 0.34);
    backdrop-filter: blur(2px);
    animation: dialogIn 0.2s var(--ease);
  }

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

@media (max-width: 980px) {
  .hero {
    min-height: auto;
    padding-top: calc(var(--nav) + 20px);
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 16px;
    text-align: center;
    padding-bottom: 50px;
  }

  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .hero-title {
    font-size: clamp(3rem, 12vw, 5.3rem);
  }

  .hero-sub {
    max-width: 46ch;
  }

  .hero-slogan,
  .hero-actions,
  .hero-proof {
    justify-content: center;
  }

  .hero-visual {
    order: -1;
    width: 100%;
  }

  .emblem-stage {
    width: min(310px, 64%);
  }

  .floating-card {
    display: none;
  }

  .hero-badges {
    margin-top: -2px;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

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

  .values-card {
    grid-column: 1 / -1;
  }

  .portal-layout {
    grid-template-columns: 1fr;
    max-width: 680px;
  }

  .portal-aside {
    min-height: auto;
    padding: 30px;
  }

  .portal-emblem {
    display: none;
  }

  .portal-features {
    grid-template-columns: 1fr 1fr;
  }

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

  .suggest-copy > p {
    max-width: 62ch;
  }

  .contact-list {
    grid-template-columns: 1fr 1fr;
  }

  .join-inner {
    grid-template-columns: 1fr;
  }

  .join-art {
    min-height: 300px;
  }

  .join-emblem {
    width: min(230px, 52%);
  }

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

  .detail-cta {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 184px;
  }

  .gallery-tile.wide {
    grid-column: span 2;
  }

  .gallery-tile.tall {
    grid-row: span 1;
  }

  .membership-card {
    grid-column: span 6;
  }

  .dash-profile {
    grid-column: span 6;
  }

  .dash-tasks {
    grid-column: span 6;
  }

  .dash-committee {
    grid-column: span 6;
  }

  .dash-events {
    grid-column: span 12;
  }

  .dash-account {
    grid-column: span 12;
  }

  .dash-links {
    grid-column: span 12;
  }

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

  .footer-brand {
    grid-column: 1 / -1;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-bottom p:last-child {
    text-align: start;
  }
}

@media (max-width: 760px) {
  .leadership-grid {
    grid-template-columns: 1fr 1fr;
  }

  .leader-card.featured {
    transform: none;
  }

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

  .dash-head {
    flex-direction: column;
    align-items: flex-start;
  }

  .event-grid {
    grid-template-columns: 1fr;
    max-width: 540px;
    margin-inline: auto;
  }

  .committee-leads {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    gap: 24px;
  }

  .dash-grid {
    gap: 13px;
  }
}

@media (max-width: 640px) {
  :root {
    --nav: 68px;
    --radius: 22px;
  }

  .wrap {
    padding-inline: 17px;
  }

  .section {
    padding-block: 62px;
  }

  .brand img {
    width: 42px;
    height: 42px;
  }

  .brand-copy b {
    font-size: 0.9rem;
  }

  .brand-copy small {
    font-size: 0.6rem;
  }

  .nav-actions {
    gap: 6px;
  }

  .lang-btn {
    min-width: 38px;
    height: 34px;
    padding: 0 10px;
    font-size: 0.72rem;
  }

  .nav-login {
    height: 34px;
    min-height: 34px;
    padding: 0 13px;
    font-size: 0.75rem;
  }

  .burger {
    width: 36px;
    height: 36px;
    border-radius: 10px;
  }

  .main-menu.open {
    top: calc(var(--nav) + 6px);
    inset-inline: 10px;
  }

  .hero {
    padding-top: calc(var(--nav) + 16px);
  }

  .hero-grid {
    gap: 8px;
    padding-bottom: 42px;
  }

  .emblem-stage {
    width: min(250px, 62%);
  }

  .hero-title {
    margin: 15px 0 12px;
    font-size: clamp(2.75rem, 13.5vw, 4.15rem);
  }

  .hero-sub {
    font-size: 0.95rem;
    line-height: 1.85;
  }

  .hero-slogan {
    font-size: 0.92rem;
    margin-top: 10px;
  }

  .hero-slogan span {
    width: 24px;
  }

  .hero-actions {
    width: 100%;
    gap: 8px;
  }

  .hero-actions .btn {
    flex: 1 1 140px;
  }

  .hero-proof {
    flex-direction: column;
    gap: 7px;
    margin-top: 24px;
    font-size: 0.74rem;
  }

  .hero-badges .pill {
    font-size: 0.7rem;
    padding: 5px 10px;
  }

  .marquee-track {
    gap: 22px;
  }

  .marquee-track span {
    gap: 22px;
    font-size: 0.74rem;
  }

  .sec-head h2 {
    font-size: clamp(1.65rem, 7vw, 2.15rem);
  }

  .sec-head p {
    margin-top: 12px;
    font-size: 0.9rem;
  }

  .about-layout,
  .leadership-grid,
  .committee-grid {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

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

  .about-story {
    padding: 26px 21px;
  }

  .quote-mark {
    font-size: 4rem;
  }

  .committee-card {
    min-height: 285px;
  }

  .committees-page .committee-card {
    min-height: 340px;
  }

  .suggest-grid {
    gap: 24px;
  }

  .contact-list {
    grid-template-columns: 1fr;
  }

  .suggest-form {
    padding: 21px 17px;
  }

  .form-grid,
  .form-row,
  .auth-form .form-row,
  .edit-form .form-row {
    grid-template-columns: 1fr;
  }

  .field.full {
    grid-column: auto;
  }

  .join-inner {
    gap: 26px;
  }

  .join-art {
    min-height: 250px;
  }

  .join-emblem {
    width: min(200px, 54%);
  }

  .join-stat {
    bottom: 2%;
  }

  .portal-page {
    padding-top: calc(var(--nav) + 18px);
    padding-bottom: 48px;
  }

  .portal-aside {
    padding: 24px 21px;
    border-radius: 22px;
  }

  .portal-features {
    grid-template-columns: 1fr;
  }

  .portal-panel {
    padding: 21px 17px;
    border-radius: 22px;
  }

  .auth-title {
    font-size: 1.3rem;
  }

  .membership-card,
  .dash-profile,
  .dash-tasks,
  .dash-committee,
  .dash-events,
  .dash-account,
  .dash-links {
    grid-column: span 12;
  }

  .membership-card {
    min-height: 215px;
  }

  .dash-link-grid {
    grid-template-columns: 1fr;
  }

  .dash-event .link-btn {
    font-size: 0 !important;
  }

  .dash-event .link-btn .arrow-icon {
    width: 17px;
    height: 17px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .footer-logo img {
    width: 56px;
    height: 56px;
  }

  .footer-bottom {
    margin-top: 28px;
  }

  .gallery-grid {
    grid-auto-rows: 152px;
    gap: 9px;
    margin-top: 32px;
  }

  .gallery-overlay {
    padding: 30px 11px 10px;
    font-size: 0.72rem;
  }

  .gallery-zoom {
    display: none;
  }

  .detail-hero {
    padding-top: calc(var(--nav) + 28px);
    padding-bottom: 52px;
  }

  .detail-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
  }

  .detail-icon .ico {
    width: 31px;
    height: 31px;
  }

  .detail-card {
    padding: 21px 18px;
  }

  .detail-cta {
    padding: 23px 19px;
  }

  .modal-body {
    padding: 21px 17px 26px;
  }

  .role-modal-head {
    padding: 34px 20px 22px;
  }

  .lightbox-stage {
    padding: 58px 12px 86px;
  }

  .lightbox-figure img {
    width: min(100%, calc((100vh - 220px) * 4 / 3));
  }

  .lightbox-figure figcaption {
    padding-inline: 48px;
    font-size: 0.78rem;
  }

  .lightbox-nav {
    top: auto;
    bottom: 20px;
    transform: none;
    width: 42px;
    height: 42px;
  }

  .lightbox-prev {
    inset-inline-start: 14px;
  }

  .lightbox-next {
    inset-inline-end: 14px;
  }

  .lightbox-count {
    bottom: 29px;
  }

  .lightbox-close {
    top: 12px;
    inset-inline-end: 12px;
  }

  .lightbox-open {
    top: 12px;
    inset-inline-start: 12px;
  }

  .info-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
  }

  .edit-dialog {
    width: 100vw;
    height: 100dvh;
    max-height: 100dvh;
    border-radius: 0;
    margin: 0;
    padding: 74px 20px 30px;
  }

  .modal-hero {
    aspect-ratio: 16 / 10;
  }

  .toast {
    bottom: 16px;
    font-size: 0.78rem;
  }
}

@media (max-width: 520px) {
  .nav-login {
    display: none;
  }

  .brand-copy small {
    display: none;
  }

  .hero-title {
    font-size: clamp(2.55rem, 14vw, 3.5rem);
  }

  .emblem-stage {
    width: min(225px, 66%);
  }

  .hero-actions .btn {
    flex: 1 1 100%;
  }

  .join-art {
    display: none;
  }

  .stats-grid {
    gap: 10px;
  }

  .stat-card {
    padding: 19px 10px;
  }

  .join-steps {
    gap: 6px;
  }

  .join-steps li {
    font-size: 0.75rem;
    padding: 6px 11px;
  }

  .dash-actions {
    width: 100%;
  }

  .dash-actions .btn {
    flex: 1;
  }

  .membership-card {
    padding: 21px;
  }

  .dash-event img {
    width: 54px;
    height: 46px;
  }

  .footer-bottom p {
    font-size: 0.68rem;
  }
}

@media (max-width: 380px) {
  .wrap {
    padding-inline: 13px;
  }

  .brand img {
    width: 38px;
    height: 38px;
  }

  .brand-copy b {
    font-size: 0.82rem;
  }

  .lang-btn {
    min-width: 34px;
    padding: 0 8px;
  }

  .hero-title {
    font-size: 2.35rem;
  }

  .hero-sub {
    font-size: 0.9rem;
  }

  .gallery-grid {
    grid-auto-rows: 132px;
  }

  .main-menu.open {
    inset-inline: 7px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .rv {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .skip-link,
  .hero-marquee,
  .toast,
  .burger,
  .nav-actions {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .hero {
    min-height: auto;
  }

  .section {
    padding-block: 24px;
  }
}

