/*
Theme Name: WawMUN 2026
Theme URI: https://wawmun.pl
Author: goweb.pl
Author URI: https://goweb.pl
Description: Warsaw Model United Nations 2026 — a formal, diplomatic theme for Central-Eastern Europe's largest Model UN conference. Fully editable via Advanced Custom Fields (ACF PRO). Deep navy + diplomatic gold, Cormorant Garamond + Inter.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: wawmun
*/
/* ============================================================
   WawMUN 2026 — Global Design System
   ============================================================ */

:root {
  --navy:       #0B1835;
  --navy-mid:   #142248;
  --navy-light: #1C3068;
  --blue:       #1A5FAD;
  --gold:       #C4983A;
  --gold-light: #DEB96A;
  --ivory:      #F7F8FC;
  --off-white:  #EEF0F8;
  --white:      #FFFFFF;
  --text:       #0e1320;
  --text-mid:   #48516E;
  --text-light: #8690A8;
  --border:     #DDE2EE;

  --radius-xs:  2px;
  --radius-sm:  4px;
  --radius:     8px;
  --radius-lg:  16px;

  --shadow-sm:  0 1px 4px rgba(11,24,53,0.07);
  --shadow:     0 4px 20px rgba(11,24,53,0.10);
  --shadow-md:  0 8px 32px rgba(11,24,53,0.13);
  --shadow-lg:  0 20px 64px rgba(11,24,53,0.16);

  --transition: all 0.28s cubic-bezier(0.4,0,0.2,1);
  --container:  1240px;
  --header-h:   76px;
}

/* === Reset === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--text);
  background: var(--ivory);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; font: inherit; }
input, textarea, select { font: inherit; }

/* === Typography === */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -0.01em;
}

/* === Layout === */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 48px;
}
.section { padding: 100px 0; }
.section--sm { padding: 64px 0; }
.section--lg { padding: 130px 0; }
.section--dark { background: var(--navy); color: white; }
.section--navy { background: var(--navy-mid); color: white; }
.section--light { background: var(--ivory); }
.section--white { background: var(--white); }
.section--offwhite { background: var(--off-white); }

/* === Section labels / headings === */
.eyebrow {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}
.eyebrow--light { color: rgba(196,152,58,0.8); }
.eyebrow--muted { color: var(--text-light); }
.section-heading {
  font-size: clamp(34px, 3.5vw, 52px);
  margin-bottom: 20px;
}
.section-sub {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-mid);
  max-width: 620px;
}
.section-sub--white { color: rgba(255,255,255,0.72); max-width: 620px; }

/* === Divider === */
.divider { width: 48px; height: 2px; background: var(--gold); margin: 20px 0; }
.divider--center { margin: 20px auto; }
.divider--light { background: rgba(196,152,58,0.6); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  border-radius: var(--radius-xs);
  white-space: nowrap;
}
.btn-gold { background: var(--gold); color: white; }
.btn-gold:hover { background: #a87e2e; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(196,152,58,0.4); }
.btn-navy { background: var(--navy); color: white; }
.btn-navy:hover { background: var(--navy-light); }
.btn-white { background: white; color: var(--navy); }
.btn-white:hover { background: var(--off-white); }
.btn-outline-gold { border: 1.5px solid var(--gold); color: var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: white; }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.55); color: white; background: transparent; }
.btn-outline-white:hover { border-color: white; background: rgba(255,255,255,0.1); }
.btn-sm { padding: 10px 22px; font-size: 11px; }
.btn-lg { padding: 17px 40px; font-size: 13px; }

/* === Cards === */
.card {
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  overflow: hidden;
}
.card-body { padding: 32px; }

/* === Page hero (inner pages) === */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 72px) 0 80px;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.025'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-inner { position: relative; z-index: 1; }
.page-hero-breadcrumb {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 24px;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
}
.page-hero-breadcrumb span { cursor: pointer; transition: var(--transition); }
.page-hero-breadcrumb span:hover { color: rgba(255,255,255,0.8); }
.page-hero-breadcrumb .sep { opacity: 0.4; }
.page-hero-title {
  color: white;
  font-size: clamp(40px, 5vw, 68px);
  margin-bottom: 16px;
}
.page-hero-sub {
  color: rgba(255,255,255,0.65);
  font-size: 17px;
  line-height: 1.7;
  max-width: 560px;
}

/* === Grid utilities === */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }

/* === Committee card === */
.committee-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm);
  padding: 28px 20px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: var(--transition);
  cursor: pointer;
}
.committee-card:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(196,152,58,0.4);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.25);
}
.committee-card img {
  width: 72px;
  height: 72px;
  object-fit: contain;
  opacity: 0.95;
  border-radius: 6px;
}
.committee-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  line-height: 1.4;
}

/* === Reason cards === */
.reason-card {
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.reason-card-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  opacity: 0.4;
}
.reason-card h3 {
  font-size: 22px;
  font-weight: 600;
}
.reason-card p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
}

/* === Partner logo card === */
.partner-card {
  background: white;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 24px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  transition: var(--transition);
}
.partner-card:hover {
  border-color: var(--gold);
  box-shadow: var(--shadow);
  transform: translateY(-2px);
}
.partner-card-name {
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.06em;
  text-align: center;
}

/* === Sponsor logo === */
.sponsor-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  filter: grayscale(1);
  opacity: 0.6;
  transition: var(--transition);
}
.sponsor-logo:hover { filter: grayscale(0); opacity: 1; }
.sponsor-logo img { max-height: 52px; width: auto; object-fit: contain; }

/* === Prose content === */
.prose { max-width: 780px; }
.prose p { margin-bottom: 20px; font-size: 16px; line-height: 1.8; color: var(--text-mid); }
.prose p:last-child { margin-bottom: 0; }
.prose h3 { font-size: 26px; margin-bottom: 12px; margin-top: 40px; color: var(--text); }
.prose ul { padding-left: 24px; margin-bottom: 20px; }
.prose ul li { font-size: 16px; line-height: 1.8; color: var(--text-mid); margin-bottom: 8px; }
.prose a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* === Form === */
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-label { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-mid); }
.form-input, .form-textarea, .form-select {
  padding: 14px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xs);
  font-size: 15px;
  background: white;
  color: var(--text);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-textarea:focus { border-color: var(--navy); }
.form-textarea { resize: vertical; min-height: 140px; }

/* === Stats bar === */
.stats-bar {
  background: var(--navy-mid);
  padding: 36px 0;
}
.stats-bar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
  border-right: 1px solid rgba(255,255,255,0.1);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: 'Cormorant Garamond', serif;
  font-size: 52px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-top: 6px;
  text-align: center;
}

/* === Dropdown menu === */
.dropdown { position: relative; }
.dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 50%;
  transform: translateX(-50%);
  background: white;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  min-width: 220px;
  padding: 8px 0;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-8px);
  transition: opacity 0.2s, transform 0.2s;
}
.dropdown:hover .dropdown-menu,
.dropdown-menu.open {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}
.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
  font-size: 13px;
  color: var(--text);
  transition: var(--transition);
  gap: 12px;
}
.dropdown-item:hover { background: var(--ivory); color: var(--navy); }
.dropdown-item-note {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,152,58,0.1);
  padding: 2px 6px;
  border-radius: 2px;
}

/* === Mobile nav === */
.mobile-nav {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: min(340px, 86vw);
  background: var(--navy);
  z-index: 2000;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  padding: 72px 0 32px;
  display: flex;
  flex-direction: column;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

.mobile-nav-list { display: flex; flex-direction: column; }
.mobile-nav-row {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: rgba(255,255,255,0.88);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: left;
}
.mobile-nav-row:hover, .mobile-nav-row.expanded { background: rgba(255,255,255,0.04); color: white; }
.mobile-nav-row.active { color: var(--gold); }
.mobile-nav-group { border-bottom: 1px solid rgba(255,255,255,0.07); }
.mobile-nav-group .mobile-nav-row { border-bottom: none; }
.mobile-nav-sublist {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background: rgba(0,0,0,0.18);
}
.mobile-nav-subrow {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 14px 24px 14px 36px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  font-size: 13.5px;
  cursor: pointer;
  transition: color 0.2s, background 0.2s;
  text-align: left;
}
.mobile-nav-subrow:hover { color: white; background: rgba(255,255,255,0.05); }

/* === Certificate image === */
.cert-image {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.cert-image img { width: 100%; height: auto; }

/* === Coming Soon badge === */
.badge-soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(196,152,58,0.12);
  border: 1px solid rgba(196,152,58,0.3);
  padding: 3px 8px;
  border-radius: 2px;
}

/* === Doc layout (text/legal pages) === */
.doc-layout {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 72px;
  align-items: start;
}
/* Stick below the fixed header with breathing room (header is 76px on desktop,
   64px on mobile, +32px when WP admin bar is visible). */
.doc-layout-aside { position: sticky; top: calc(var(--header-h) + 32px); padding-top: 8px; }
.admin-bar .doc-layout-aside { top: calc(var(--header-h) + 32px + 32px); }
@media (max-width: 782px) {
  .admin-bar .doc-layout-aside { top: calc(var(--header-h) + 32px + 46px); }
}
.doc-layout-main { min-width: 0; }
@media (max-width: 900px) {
  .doc-layout { grid-template-columns: 1fr; gap: 28px; }
  .doc-layout-aside { position: static; }
}

/* === Responsive grid helpers (replace inline grids) === */
.rwd-2col  { display: grid; grid-template-columns: 1fr 1fr; }
.rwd-2col-l { display: grid; grid-template-columns: 1.2fr 1fr; }
.rwd-2col-r { display: grid; grid-template-columns: 1fr 1.5fr; }
.rwd-2col-sg { display: grid; grid-template-columns: 1fr 1.6fr; }
.rwd-3col  { display: grid; grid-template-columns: repeat(3, 1fr); }
.rwd-6col  { display: grid; grid-template-columns: repeat(6, 1fr); }
.rwd-4cols { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; }

@media (max-width: 980px) {
  .rwd-6col { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .rwd-2col, .rwd-2col-l, .rwd-2col-r, .rwd-2col-sg { grid-template-columns: 1fr; }
  .rwd-3col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .rwd-4cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .rwd-3col { grid-template-columns: 1fr; }
  .rwd-6col { grid-template-columns: repeat(3, 1fr); }
  .rwd-4cols { grid-template-columns: 1fr; }
}
@media (max-width: 420px) {
  .rwd-6col { grid-template-columns: repeat(2, 1fr); }
}

/* === Responsive === */
@media (max-width: 1100px) {
  .container { padding: 0 32px; }
  .grid-6 { grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 900px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }
  .stat-item:nth-child(3) { border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-item:nth-child(4) { border-top: 1px solid rgba(255,255,255,0.1); }
  .stat-item { padding: 16px 24px; }
}
@media (max-width: 768px) {
  .section { padding: 72px 0; }
  .container { padding: 0 20px; }
  .grid-2 { grid-template-columns: 1fr; gap: 24px; }
  .grid-3 { grid-template-columns: 1fr; }
  .section-heading { font-size: 32px; }
  .grid-6 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .stats-bar-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-number { font-size: 40px; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
}

/* === Mobile polish === */
@media (max-width: 768px) {
  :root { --header-h: 64px; }
  .page-hero { padding: calc(var(--header-h) + 48px) 0 56px; }
  .page-hero-title { font-size: clamp(32px, 9vw, 44px); }
  .btn { padding: 12px 24px; }
  .btn-lg { padding: 14px 30px; }
  .section-heading { font-size: 30px; }
  /* contact form padding */
  form { padding: 28px !important; }
  /* committee section: keep tap targets reasonable */
  .committee-card { padding: 20px 12px 18px; }
  .committee-card img { width: 60px; height: 60px; }
  .reason-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section--lg { padding: 72px 0; }
  /* hero text tighter */
  .stats-bar { padding: 24px 0; }
}
@media (max-width: 400px) {
  /* shrink apply button label area in header */
  header .btn-sm { padding: 9px 14px; font-size: 10px; letter-spacing: 0.06em; }
}

/* ============================================================
   Theme additions — markup that was inline in the React build
   ============================================================ */

/* === Site header (transparent overlay → solid navy on scroll) === */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 900;
  height: var(--header-h); display: flex; align-items: center;
  transition: background 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  background: var(--navy); border-bottom: 1px solid transparent;
}
.site-header.is-transparent { background: transparent; box-shadow: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
.site-header:not(.is-transparent) { box-shadow: 0 2px 24px rgba(0,0,0,0.22); }
.site-header .container { display: flex; align-items: center; justify-content: space-between; width: 100%; }
.brand { cursor: pointer; display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand img { height: 42px; width: auto; }
.brand-name { font-family: 'Cormorant Garamond', serif; font-size: 20px; font-weight: 700; color: #fff; letter-spacing: -0.01em; line-height: 1; }
.brand-tag { font-family: 'Inter', sans-serif; font-size: 9px; font-weight: 600; letter-spacing: 0.18em; color: rgba(255,255,255,0.5); text-transform: uppercase; margin-top: 1px; }
.desktop-nav { display: flex; align-items: center; gap: 4px; flex: 1; justify-content: center; }
.nav-link { color: rgba(255,255,255,0.88); font-size: 11px; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; cursor: pointer; padding: 4px 0; display: flex; align-items: center; gap: 4px; transition: color 0.2s; white-space: nowrap; }
.nav-item { position: relative; padding: 8px 10px; }
.nav-link svg { transition: transform 0.2s; opacity: 0.6; }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }
.nav-actions { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.hamburger { background: none; border: none; cursor: pointer; display: none; flex-direction: column; gap: 5px; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: #fff; border-radius: 2px; }
.nav-dd { position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-6px); background: #fff; border-radius: 6px; box-shadow: 0 20px 60px rgba(11,24,53,0.18); border: 1px solid var(--border); min-width: 220px; padding: 6px 0; margin-top: 10px; z-index: 1000; opacity: 0; pointer-events: none; transition: opacity 0.18s ease 0.15s, transform 0.18s ease 0.15s; }
/* Invisible bridge across the visual gap so the cursor can travel from the nav
   item down to the dropdown without losing hover. */
.nav-dd::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.nav-item:hover .nav-dd,
.nav-dd:hover { opacity: 1; pointer-events: all; transform: translateX(-50%) translateY(0); transition-delay: 0s; }
.nav-dd a { display: flex; align-items: center; padding: 10px 18px; font-size: 13px; color: var(--text); transition: background 0.15s; }
.nav-dd a:hover { background: var(--ivory); }
@media (max-width: 900px) { .desktop-nav { display: none !important; } .hamburger { display: flex !important; } }

/* === Hero (home) === */
.hero { position: relative; height: 100vh; min-height: 640px; display: flex; align-items: center; justify-content: center; overflow: hidden; background: var(--navy); }
.hero-bg { position: absolute; inset: 0; z-index: 0; background-size: cover; background-position: center 40%; background-repeat: no-repeat; }
.hero-overlay { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(11,24,53,0.45) 0%, rgba(11,24,53,0.72) 60%, rgba(11,24,53,0.92) 100%); }
.hero-content { position: relative; z-index: 3; text-align: center; padding: 0 24px; max-width: 900px; }
.hero-eyebrow { font-family: 'Inter', sans-serif; font-size: 11px; font-weight: 600; letter-spacing: 0.35em; text-transform: uppercase; color: rgba(255,255,255,0.55); margin-bottom: 24px; }
.hero-title { font-family: 'Cormorant Garamond', serif; font-weight: 600; font-size: clamp(56px, 8vw, 110px); color: #fff; line-height: 1; margin-bottom: 8px; text-shadow: 0 4px 40px rgba(0,0,0,0.3); }
.hero-subtitle { font-family: 'Cormorant Garamond', serif; font-weight: 400; font-size: clamp(16px, 2.2vw, 22px); color: rgba(255,255,255,0.85); letter-spacing: 0.04em; margin-bottom: 32px; }
.hero-theme { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: clamp(16px, 2vw, 21px); color: rgba(255,255,255,0.8); max-width: 680px; margin: 0 auto 44px; line-height: 1.5; }
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-family: 'Inter', sans-serif; font-size: 10px; letter-spacing: 0.2em; color: rgba(255,255,255,0.35); text-transform: uppercase; }
.hero-scroll i { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,0.35), transparent); }

/* === Centered theme statement === */
.theme-statement { max-width: 880px; margin: 0 auto; }
.theme-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-weight: 600; color: var(--navy); text-align: center; line-height: 1.25; font-size: clamp(28px, 3.5vw, 46px); margin-bottom: 28px; }

/* === SG Letter === */
.sg-callout { margin-top: 40px; padding: 28px; background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; }
.sg-callout-quote { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 20px; color: rgba(255,255,255,0.8); line-height: 1.6; margin-bottom: 16px; }
.sg-callout-attr { font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600; letter-spacing: 0.06em; color: var(--gold); }
.sg-letter { background: rgba(255,255,255,0.04); border: 1px solid rgba(255,255,255,0.1); border-left: 3px solid var(--gold); border-radius: 6px; padding: 40px 44px; position: relative; }
.sg-letter-mark { font-family: 'Cormorant Garamond', serif; font-size: 120px; line-height: 1; color: var(--gold); opacity: 0.18; position: absolute; top: 12px; left: 28px; user-select: none; pointer-events: none; }
.sg-letter p { font-size: 16px; line-height: 1.95; color: rgba(255,255,255,0.78); margin-bottom: 20px; }
.sg-letter p.lead { font-size: 17px; color: rgba(255,255,255,0.9); font-weight: 500; }
.sg-letter-sign { display: flex; align-items: center; gap: 16px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,0.1); margin-top: 12px; }
.sg-letter-sign i { width: 36px; height: 1px; background: var(--gold); }
.sg-letter-sign span { font-family: 'Cormorant Garamond', serif; font-style: italic; font-size: 16px; color: var(--gold); }
.sg-rings { position: relative; overflow: hidden; }
.sg-rings::before, .sg-rings::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.sg-rings::before { right: -120px; top: -120px; width: 480px; height: 480px; border: 1px solid rgba(255,255,255,0.05); }
.sg-rings::after { right: -60px; top: -60px; width: 360px; height: 360px; border: 1px solid rgba(196,152,58,0.08); }

/* === Stat superscript === */
.stat-number sup { font-size: 0.45em; vertical-align: super; line-height: 0; }

/* === Generic feature/info tiles === */
.tile { display: flex; gap: 24px; align-items: center; padding: 24px; background: var(--ivory); border-radius: 4px; border: 1px solid var(--border); }
.tile-num { font-family: 'Cormorant Garamond', serif; font-size: 36px; font-weight: 700; color: var(--gold); min-width: 72px; text-align: center; }
.tile-title { font-size: 15px; font-weight: 600; color: var(--text); }
.tile-sub { font-size: 13px; color: var(--text-light); margin-top: 2px; }
.feature-tile { display: flex; gap: 16px; padding: 20px; background: var(--ivory); border-radius: 4px; border: 1px solid var(--border); }
.feature-icon { width: 40px; height: 40px; flex-shrink: 0; background: var(--navy); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #fff; }
/* SVG inherits color via currentColor; size set on the wrapper so user-pasted
   SVGs (e.g. from Flaticon) render at a consistent dimension regardless of
   their built-in width/height. */
.feature-icon svg { width: 22px; height: 22px; display: block; }
/* Force any hard-coded fill inside the icon to inherit the container colour,
   so non-transparent paths still pick up the theme tone. fill="none" (used by
   stroke-only icons like our defaults) is preserved. */
.feature-icon svg [fill]:not([fill="none"]) { fill: currentColor; }

/* === Hub link card === */
.hub-card { padding: 36px 40px; border: 1px solid var(--border); border-radius: 4px; background: #fff; cursor: pointer; transition: all 0.2s; display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.hub-card:hover { border-color: var(--gold); box-shadow: var(--shadow); transform: translateY(-2px); }
.hub-card-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.hub-card-title { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: var(--navy); }
.hub-card p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }

/* === Committee detail card === */
.committee-detail { display: flex; gap: 24px; align-items: flex-start; padding: 32px; border: 1px solid var(--border); border-radius: 4px; background: #fff; transition: all 0.2s; }
.committee-detail:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.committee-detail-logo { width: 72px; height: 72px; flex-shrink: 0; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.committee-detail-logo img { width: 72px; height: 72px; object-fit: cover; border-radius: 6px; }
.committee-detail-abbr { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.committee-detail-name { font-size: 15px; font-weight: 600; color: var(--text); margin-bottom: 8px; }
.committee-detail p { font-size: 13px; color: var(--text-mid); line-height: 1.65; }

/* === Reason (Why WawMUN page) === */
.reason-row { padding: 80px 0; }
.reason-row:nth-child(even) { background: var(--ivory); }
.reason-img { aspect-ratio: 4/3; border-radius: 6px; overflow: hidden; box-shadow: var(--shadow-md); background: var(--off-white); }
.reason-img img { width: 100%; height: 100%; object-fit: cover; }

/* === Hotel / food cards === */
.info-card { background: #fff; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.info-card-media { aspect-ratio: 16/10; overflow: hidden; background: var(--off-white); position: relative; }
.info-card-media img { width: 100%; height: 100%; object-fit: cover; }
.info-card-rating { position: absolute; top: 12px; right: 12px; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 5px 10px; border-radius: 4px; }
.info-card-body { padding: 24px 26px; display: flex; flex-direction: column; flex: 1; }
.info-card-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); }
.info-card-title { font-family: 'Cormorant Garamond', serif; font-size: 23px; font-weight: 700; color: var(--navy); margin: 4px 0 6px; line-height: 1.2; }
.info-card-addr { font-size: 13px; color: var(--text-light); margin-bottom: 12px; }
.info-card-desc { font-size: 13.5px; color: var(--text-mid); line-height: 1.65; flex: 1; }
.fares { border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.fares-head, .fares-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr; }
.fares-head { background: var(--navy); color: #fff; }
.fares-head div { padding: 12px 16px; font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.fares-row { border-top: 1px solid var(--border); }
.fares-row:nth-child(even) { background: var(--ivory); }
.fares-row div { padding: 12px 16px; font-size: 14px; color: var(--text-mid); }
.fares-row div:first-child { font-weight: 600; color: var(--text); }

/* === Secretariat team === */
.team-member { display: flex; flex-direction: column; }
.team-photo { aspect-ratio: 4/5; overflow: hidden; border-radius: 6px; background: var(--off-white); margin-bottom: 20px; box-shadow: var(--shadow-sm); }
.team-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.team-role { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.team-name { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.team-bio { font-size: 14px; color: var(--text-mid); line-height: 1.75; }

/* === Coming soon === */
.coming-soon { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 320px; gap: 24px; text-align: center; }
.coming-soon-icon { width: 80px; height: 80px; border-radius: 50%; background: var(--off-white); border: 2px solid var(--border); display: flex; align-items: center; justify-content: center; }
.coming-soon h2 { font-family: 'Cormorant Garamond', serif; font-size: 36px; color: var(--text); }
.coming-soon p { font-size: 16px; color: var(--text-mid); max-width: 440px; line-height: 1.75; }

/* === Gallery === */
.gallery-year { display: flex; align-items: baseline; gap: 16px; margin-bottom: 28px; }
.gallery-year h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 700; color: var(--navy); }
.gallery-year i { flex: 1; height: 1px; background: var(--border); }
/* Gallery grid: 3 cols desktop, 2 cols on tablet AND mobile (never 1). */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 900px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }
.gallery-item { display: block; aspect-ratio: 3/2; overflow: hidden; border-radius: 4px; background: var(--off-white); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.gallery-item:hover img { transform: scale(1.06); }

/* === Lightbox === */
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(8,14,30,0.94); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; object-fit: contain; border-radius: 4px; box-shadow: 0 20px 80px rgba(0,0,0,0.5); }
.lightbox-btn { position: absolute; background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-close { top: 24px; right: 24px; width: 44px; height: 44px; border-radius: 6px; font-size: 20px; }
.lightbox-prev, .lightbox-next { top: 50%; transform: translateY(-50%); width: 48px; height: 48px; border-radius: 50%; }
.lightbox-prev { left: 24px; } .lightbox-next { right: 24px; }
.lightbox-caption { position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,0.7); font-size: 13px; letter-spacing: 0.1em; }

/* === FAQ === */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { width: 100%; display: flex; justify-content: space-between; align-items: center; padding: 22px 0; background: none; border: none; cursor: pointer; gap: 16px; text-align: left; transition: color 0.2s ease; }
.faq-q .q { font-size: 16px; font-weight: 600; color: var(--text); transition: color 0.2s ease; }
.faq-q:hover .q,
.faq-item.open .faq-q .q { color: var(--navy); }
.faq-toggle { font-size: 22px; color: var(--gold); flex-shrink: 0; line-height: 1; transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-toggle { transform: rotate(45deg); }
/* Smooth height + fade — uses grid-rows trick so we animate without JS measuring. */
.faq-a { display: grid; grid-template-rows: 0fr; overflow: hidden; transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-a > div { min-height: 0; opacity: 0; transform: translateY(-4px); transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); }
.faq-item.open .faq-a { grid-template-rows: 1fr; }
.faq-item.open .faq-a > div { opacity: 1; transform: translateY(0); transition-delay: 0.1s; }
.faq-a p { font-size: 15px; color: var(--text-mid); line-height: 1.8; padding-bottom: 20px; margin: 0; }

/* === Numbered steps === */
.step { display: flex; gap: 28px; align-items: flex-start; padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--border); }
.step:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.step-num { font-family: 'Cormorant Garamond', serif; font-size: 44px; font-weight: 700; color: var(--gold); opacity: 0.4; line-height: 1; flex-shrink: 0; min-width: 52px; }
.step h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; margin-bottom: 8px; }
.step p { font-size: 15px; color: var(--text-mid); line-height: 1.75; }

/* === Legal / doc sections === */
.legal-section { margin-bottom: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--border); }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-family: 'Cormorant Garamond', serif; font-size: 26px; font-weight: 700; margin-bottom: 20px; color: var(--navy); }
.legal-section h2 .num { color: var(--gold); margin-right: 12px; font-weight: 400; font-size: 20px; }
.legal-section ol { padding-left: 20px; display: flex; flex-direction: column; gap: 12px; }
.legal-section ol li { font-size: 15px; line-height: 1.8; color: var(--text-mid); padding-left: 8px; }
.legal-section > p { font-size: 15px; color: var(--text-mid); margin-bottom: 12px; line-height: 1.8; }

/* === Documents list === */
.doc-row { display: flex; align-items: center; justify-content: space-between; padding: 28px 32px; border: 1px solid var(--border); border-radius: 4px; background: #fff; gap: 24px; }
.doc-row-title { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.doc-row-desc { font-size: 13px; color: var(--text-light); line-height: 1.6; }

/* === Contact === */
.contact-icon { width: 40px; height: 40px; flex-shrink: 0; border-radius: 4px; background: var(--ivory); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-label { font-size: 11px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-light); margin-bottom: 3px; }
.contact-form { background: #fff; padding: 48px; border-radius: 4px; border: 1px solid var(--border); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 24px; }
.social-btn { width: 40px; height: 40px; border-radius: 4px; border: 1px solid var(--border); background: var(--ivory); display: flex; align-items: center; justify-content: center; color: var(--navy); transition: all 0.2s; }
.social-btn:hover { background: var(--navy); color: #fff; border-color: var(--navy); }

/* === Footer === */
.site-footer { background: var(--navy); border-top: 1px solid rgba(255,255,255,0.06); padding-top: 72px; }
.footer-grid { gap: 48px; padding-bottom: 56px; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-family: 'Inter', sans-serif; font-size: 10px; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 8px; }
.footer-link { font-size: 14px; color: rgba(255,255,255,0.7); cursor: pointer; transition: color 0.2s; line-height: 1.5; }
.footer-link:hover { color: #fff; }
.footer-brand-name { font-family: 'Cormorant Garamond', serif; font-size: 22px; font-weight: 700; color: #fff; }
.footer-desc { font-size: 14px; color: rgba(255,255,255,0.5); line-height: 1.8; max-width: 280px; }
.footer-social { width: 38px; height: 38px; border-radius: 4px; border: 1px solid rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.65); transition: all 0.2s; }
.footer-social:hover { border-color: rgba(255,255,255,0.4); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 24px 0; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom > span { font-size: 13px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 24px; }
.footer-bottom-links span, .footer-bottom-links a { cursor: pointer; font-size: 12px; color: rgba(255,255,255,0.35); transition: color 0.2s; }
.footer-bottom-links span:hover, .footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }
.footer-bottom-links a.credit:hover { color: var(--gold); }
@media (max-width: 600px) { .footer-grid { gap: 32px !important; } }

/* === Mobile nav accordion === */
.mobile-nav-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1999; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
.mobile-nav-overlay.open { opacity: 1; pointer-events: all; }

/* === WP admin bar offset === */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }

/* === Page fade === */
.page-fade { animation: fadeIn 0.25s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }

/* === WYSIWYG prose helpers === */
.prose h2 { font-family: 'Cormorant Garamond', serif; font-size: 30px; margin: 32px 0 12px; color: var(--text); }
.prose ol { padding-left: 24px; margin-bottom: 20px; }
.prose ol li { font-size: 16px; line-height: 1.8; color: var(--text-mid); margin-bottom: 8px; }
