:root {
  --brand: #1e3a8a;
  --brand-dark: #d97706;
  --brand-mid: #1e3a8a;
  --accent: #1e3a8a;
  --accent-light: #fef3c7;
  --bg: #f8fafc;
  --surface: #ffffff;
  --border: #e2e8f0;
  --text: #1e293b;
  --text-muted: #64748b;
  --radius: 14px;
  --shadow: 0 1px 3px rgba(15, 23, 42, .08), 0 1px 2px rgba(15, 23, 42, .06);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, .14);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a { color: var(--brand-mid); text-decoration: none; }
h1, h2, h3, h4 { margin: 0 0 .5rem; line-height: 1.25; }

.wrap { width: min(1160px, 92%); margin: 0 auto; }

/* ─── Buttons ─────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .68rem 1.35rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: .95rem;
  font-family: inherit;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }

.btn-nav {
  background: var(--brand);
  color: #fff;
  border: 1px solid var(--brand);
  padding: .5rem 1.1rem;
}
.btn-nav:hover { background: var(--brand-dark); color: #fff; }

.btn-hero {
  background: #fff;
  color: var(--brand);
  padding: .8rem 1.7rem;
  font-size: 1rem;
  box-shadow: var(--shadow-lg);
}
.btn-hero:hover { color: var(--brand-dark); }

/* ─── Header ──────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  color: #1f2937;
  box-shadow: 0 2px 12px rgba(15, 23, 42, .08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .8rem 0;
  flex-wrap: wrap;
}

.brand { display: flex; align-items: center; gap: .65rem; color: #1f2937; }
.brand:hover { color: #1f2937; text-decoration: none; }
.brand-logo { height: 38px; width: auto; border-radius: 8px; background: #fff; padding: 2px; }
.brand-badge {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: linear-gradient(135deg, #fde68a, #f59e0b);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: .85rem;
  color: #fff;
  flex-shrink: 0;
}
.brand-name { font-weight: 700; font-size: 1.02rem; letter-spacing: .01em; }

.site-nav { display: flex; align-items: center; gap: 1.4rem; }
.site-nav a { color: #1f2937; font-weight: 500; font-size: .93rem; }
.site-nav a:hover { color: var(--brand); text-decoration: none; }
.site-nav .btn-nav { color: #fff; }
.header-actions { display: flex; align-items: center; gap: .6rem; }

/* Submenu Styles */
.nav-item { position: relative; }
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 200px;
  background: #fff;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.5rem 0;
  list-style: none;
  z-index: 100;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
}
.nav-item:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.submenu li a {
  display: block;
  padding: 0.6rem 1.2rem;
  font-size: 0.9rem;
  color: var(--text);
  white-space: nowrap;
}
.submenu li a:hover {
  background: var(--accent-light);
  color: var(--accent);
}

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #1f2937;
  padding: .45rem .6rem;
  cursor: pointer;
}

/* ─── Hero slider ─────────────────────────────────────────── */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(115deg, var(--brand-dark) 0%, var(--brand) 55%, #f59e0b 100%);
}

.hero-track { position: relative; }

.hero-slide {
  display: none;
  min-height: 460px;
  align-items: center;
  background: linear-gradient(115deg, rgba(4, 47, 37, .92), rgba(6, 95, 70, .78)), var(--brand-dark);
  background-size: cover;
  background-position: center;
}
.hero-slide.is-active { display: flex; animation: heroFade .7s ease; }

@keyframes heroFade {
  from { opacity: .25; }
  to { opacity: 1; }
}

.hero-content { padding: 4.5rem 0; color: #fff; }

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  max-width: 720px;
  margin: 0 0 1rem;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, .85);
  max-width: 620px;
  margin: 0 0 1.8rem;
}

.hero-fallback .hero-content { text-align: left; }

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, .3);
  background: rgba(4, 47, 37, .45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s;
  z-index: 5;
}
.hero-arrow:hover { background: rgba(4, 47, 37, .8); }
.hero-prev { left: 1.25rem; }
.hero-next { right: 1.25rem; }

.hero-dots {
  position: absolute;
  bottom: 1.4rem;
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  gap: .55rem;
  z-index: 5;
}
.hero-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, .4);
  cursor: pointer;
  transition: width .2s, background .2s;
  padding: 0;
}
.hero-dot.is-active { width: 28px; background: #fff; }

/* ─── Highlights strip ────────────────────────────────────── */
.highlights { background: var(--surface); border-bottom: 1px solid var(--border); }

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 1.8rem 0;
}

.highlight { display: flex; gap: .9rem; align-items: flex-start; }
.highlight h3 { font-size: 1rem; margin: 0 0 .15rem; }
.highlight p { margin: 0; color: var(--text-muted); font-size: .88rem; }

.highlight-icon {
  width: 44px;
  height: 44px;
  border-radius: 11px;
  background: #eff6ff;
  color: var(--brand-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.highlight p + p { margin-top: .15rem; }

/* ─── Selection-window banner ─────────────────────────────── */
.selection-banner {
  display: flex;
  align-items: center;
  gap: .8rem;
  flex-wrap: wrap;
  max-width: 860px;
  margin: 0 auto 2.2rem;
  padding: .9rem 1.2rem;
  border: 1px solid var(--border);
  border-left: 4px solid var(--brand-mid);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.selection-banner p { margin: 0; color: var(--text-muted); font-size: .92rem; flex: 1; min-width: 220px; }
.selection-banner--open { border-left-color: #16a34a; }
.selection-banner--upcoming { border-left-color: #2563eb; }
.selection-banner--closed { border-left-color: #94a3b8; }
.selection-banner--not_configured { border-left-color: #d97706; }
.selection-banner--none { border-left-color: #94a3b8; }

.status-pill {
  flex-shrink: 0;
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  padding: .35rem .7rem;
  border-radius: 999px;
  background: #f1f5f9;
  color: #475569;
}

.status-pill--open { background: #dcfce7; color: #15803d; }
.status-pill--upcoming { background: #dbeafe; color: #1d4ed8; }
.status-pill--closed { background: #f1f5f9; color: #64748b; }
.status-pill--not_configured { background: #fef3c7; color: #b45309; }
.status-pill--none { background: #f1f5f9; color: #64748b; }

/* ─── Programmes ──────────────────────────────────────────── */
.programmes-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1rem;
}

.programme-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.1rem 1.2rem;
  transition: transform .15s, box-shadow .15s;
}

.programme-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.programme-code {
  display: inline-block;
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .05em;
  color: var(--brand-mid);
  background: #eff6ff;
  padding: .2rem .5rem;
  border-radius: 6px;
  margin-bottom: .55rem;
}

.programme-name { font-size: 1rem; margin: 0 0 .3rem; }
.programme-meta { margin: 0; color: var(--text-muted); font-size: .85rem; }
.programme-unit { margin: .35rem 0 0; font-size: .78rem; color: var(--accent); font-weight: 600; }

/* ─── Portal figures ──────────────────────────────────────── */
.stats-band {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  margin-top: 2.2rem;
  padding: 1.6rem;
  border-radius: var(--radius);
  background: linear-gradient(120deg, var(--brand-dark), var(--brand-mid));
  color: #fff;
}

.stat { text-align: center; }
.stat-value { display: block; font-size: clamp(1.5rem, 3vw, 2rem); font-weight: 800; line-height: 1.15; }
.stat-label {
  display: block;
  margin-top: .2rem;
  font-size: .78rem;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .78);
}

/* ─── Sections ────────────────────────────────────────────── */
.section { padding: 4rem 0; }
.section-alt { background: var(--surface); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.section-head { text-align: center; margin-bottom: 2.5rem; }
.section-kicker {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand-mid);
  margin: 0 0 .35rem;
}
.section-title { font-size: clamp(1.5rem, 3vw, 2.1rem); font-weight: 800; color: var(--text); }

.empty-state {
  text-align: center;
  color: var(--text-muted);
  padding: 2.5rem 1rem;
  background: var(--surface);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
}

/* ─── Messages ────────────────────────────────────────────── */
.messages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.messages-carousel { overflow: hidden; position: relative; }
.messages-track { display: flex; transition: transform 0.5s ease; }
.messages-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}
@media (max-width: 768px) {
  .messages-slide { grid-template-columns: 1fr; }
}

.testimonials-carousel { overflow: hidden; position: relative; }
.testimonials-track { display: flex; transition: transform 0.5s ease; }
.testimonial-slide { min-width: 100%; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
@media (max-width: 768px) {
  .testimonial-slide { grid-template-columns: 1fr; }
}
.testimonial-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  max-width: 600px;
  text-align: center;
}
.testimonial-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--brand);
  margin: 0 auto 1rem;
  display: block;
}
.testimonial-card figcaption {
  display: flex;
  flex-direction: column;
  gap: .2rem;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
  margin-top: 1rem;
}
.testimonial-card figcaption strong { color: var(--text); }
.testimonial-card figcaption em { color: var(--text-muted); font-style: normal; font-size: .85rem; }

.message-card {
  margin: 0;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem 1.4rem;
  box-shadow: var(--shadow);
  position: relative;
}
.message-card::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: linear-gradient(180deg, var(--brand-mid), #1e3a8a);
}

.quote-mark {
  font-size: 3.4rem;
  line-height: 1;
  color: #fef3c7;
  font-family: Georgia, serif;
  margin-bottom: -.6rem;
}

.message-card blockquote {
  margin: 0 0 1.2rem;
  color: var(--text);
  font-size: .98rem;
}

.message-card figcaption {
  display: flex;
  align-items: center;
  gap: .7rem;
  border-top: 1px solid var(--border);
  padding-top: .9rem;
}
.message-card figcaption strong { display: block; font-size: .92rem; }
.message-card figcaption em { font-style: normal; color: var(--text-muted); font-size: .8rem; }

.message-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand-mid), #1e3a8a);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ─── News ────────────────────────────────────────────────── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}

.news-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .18s ease, box-shadow .18s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.news-thumb {
  height: 170px;
  background: linear-gradient(135deg, var(--brand), #f59e0b);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .75);
}

.news-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; flex-direction: column; gap: .35rem; flex: 1; }
.news-body time { color: var(--text-muted); font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.news-body h3 { font-size: 1.05rem; margin: 0; }
.news-body p { margin: .3rem 0 0; color: var(--text-muted); font-size: .9rem; }

/* ─── Events ──────────────────────────────────────────────── */
.events-list { display: grid; gap: 1rem; max-width: 860px; margin: 0 auto; }

.course-search-form { max-width: 640px; }
.course-search-bar {
  display: flex;
  align-items: center;
  width: 100%;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0 .5rem;
  box-shadow: var(--shadow);
}
.course-search-bar .search-icon {
  display: flex;
  align-items: center;
  padding: .5rem .75rem;
  color: var(--text-muted);
  flex-shrink: 0;
}
.course-search-bar input {
  border: none;
  outline: none;
  background: transparent;
  width: 100%;
  font-size: 1rem;
  padding: .6rem .25rem;
  color: var(--text);
}
.events-list--two { grid-template-columns: repeat(2, 1fr); max-width: 1100px; }
@media (max-width: 768px) {
  .events-list--two { grid-template-columns: 1fr; }
}

.event-card {
  display: flex;
  gap: 1.2rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.2rem 1.4rem;
  box-shadow: var(--shadow);
  align-items: flex-start;
  transition: transform .15s ease, box-shadow .15s ease;
}
.event-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.event-date {
  width: 68px;
  flex-shrink: 0;
  text-align: center;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #eff6ff;
}
.event-month {
  display: block;
  background: var(--brand);
  color: #fff;
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .25rem 0;
}
.event-day { display: block; font-size: 1.6rem; font-weight: 800; color: var(--brand); padding: .3rem 0 .4rem; }

.event-info { flex: 1; min-width: 0; }
.event-info h3 { font-size: 1.05rem; margin: .3rem 0 .35rem; }

.event-type {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  padding: .18rem .6rem;
  border-radius: 999px;
  background: var(--accent-light);
  color: var(--accent);
}
.event-type--exam { background: #fee2e2; color: #b91c1c; }
.event-type--deadline { background: #ffedd5; color: #c2410c; }
.event-type--holiday { background: #dcfce7; color: #15803d; }
.event-type--meeting { background: #ede9fe; color: #6d28d9; }
.event-type--academic { background: #dbeafe; color: #1d4ed8; }
.event-type--other { background: #f3f4f6; color: #4b5563; }

.event-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin: 0 0 .4rem;
  color: var(--text-muted);
  font-size: .84rem;
}
.event-meta span { display: inline-flex; align-items: center; gap: .35rem; }
.event-desc { margin: 0; color: var(--text-muted); font-size: .88rem; }

/* ─── Footer ──────────────────────────────────────────────── */
.site-footer {
  background: #002147;
  color: rgba(255, 255, 255, .9);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.2fr;
  gap: 2.5rem;
  padding: 3rem 0 2rem;
}

.footer-brand p { margin: 1rem 0 0; font-size: .9rem; max-width: 360px; color: rgba(255, 255, 255, .65); }

.footer-col h4 { color: #fff; font-size: .95rem; margin-bottom: .9rem; }
.footer-col a { display: block; color: rgba(255, 255, 255, .72); margin-bottom: .5rem; font-size: .9rem; }
.footer-col a:hover { color: #fff; text-decoration: none; }
.footer-col p { display: flex; align-items: flex-start; gap: .5rem; margin: 0 0 .6rem; font-size: .88rem; color: rgba(255, 255, 255, .72); }
.footer-col p svg { margin-top: .2rem; flex-shrink: 0; }

.footer-link-btn {
  display: block;
  background: none;
  border: none;
  padding: 0;
  margin-bottom: .5rem;
  color: rgba(255, 255, 255, .72);
  font-size: .9rem;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
}
.footer-link-btn:hover { color: #fff; }

/* ─── Login popover ──────────────────────────────────────── */
.login-popover-backdrop {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(4, 20, 16, .62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}
.login-popover-backdrop.is-open { display: flex; animation: popFade .2s ease; }

@keyframes popFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

.login-popover {
  position: relative;
  width: min(400px, 100%);
  background: var(--surface);
  border-radius: 18px;
  box-shadow: 0 24px 60px rgba(4, 47, 37, .35);
  padding: 2rem 1.9rem 1.5rem;
  animation: popUp .25s ease;
}

@keyframes popUp {
  from { opacity: 0; transform: translateY(14px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.login-popover-close {
  position: absolute;
  top: .85rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
  padding: .15rem .35rem;
  border-radius: 8px;
}
.login-popover-close:hover { background: #f1f5f9; color: var(--text); }

.login-popover-head { text-align: center; margin-bottom: 1.4rem; }

.login-popover-logo {
    height: 48px;
    width: auto;
    margin: 0 auto .6rem;
    display: block;
}
.login-popover-badge {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #fde68a, #f59e0b);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: #fff;
    margin: 0 auto .6rem;
}
.login-popover-name-am { margin: 0 0 .5rem; color: var(--text-muted); font-size: .95rem; font-weight: 700; }
.login-popover-head h3 { font-size: 1.3rem; margin: 0 0 .25rem; color: var(--text); }
.login-popover-head p { margin: 0; color: var(--text-muted); font-size: .88rem; }

.login-popover-error {
  background: #fef2f2;
  border: 1px solid #fecaca;
  color: #b91c1c;
  border-radius: 10px;
  padding: .65rem .9rem;
  font-size: .86rem;
  margin-bottom: 1rem;
}

.login-popover-label {
  display: block;
  font-size: .82rem;
  font-weight: 600;
  color: var(--text);
  margin: 0 0 .3rem;
}

.login-popover-input {
  width: 100%;
  padding: .7rem .9rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  font-size: .95rem;
  font-family: inherit;
  color: var(--text);
  background: var(--bg);
  margin-bottom: .95rem;
  transition: border-color .15s, box-shadow .15s;
}
.login-popover-input:focus {
  outline: none;
  border-color: var(--brand-mid);
  box-shadow: 0 0 0 3px rgba(6, 95, 70, .15);
  background: #fff;
}

.login-popover-remember {
  display: flex;
  align-items: center;
  gap: .45rem;
  font-size: .85rem;
  color: var(--text-muted);
  cursor: pointer;
  margin: 0 0 1.1rem;
}

.btn-login-submit {
  width: 100%;
  justify-content: center;
  background: linear-gradient(120deg, var(--brand), var(--brand-mid));
  color: #fff;
  padding: .78rem 1.2rem;
  font-size: .97rem;
  box-shadow: 0 8px 20px rgba(6, 95, 70, .3);
}
.btn-login-submit:hover { color: #fff; }

.login-popover-foot {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.15rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: .82rem;
}
.login-popover-foot a { color: var(--brand-mid); font-weight: 600; }
.login-popover-foot a:hover { text-decoration: underline; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 1.1rem 0;
  font-size: .84rem;
  color: rgba(255, 255, 255, .55);
}

/* ─── Responsive ──────────────────────────────────────────── */
@media (max-width: 900px) {
  .highlights-grid { grid-template-columns: 1fr; gap: 1.1rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .hero-slide { min-height: 380px; }
}

@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .header-actions .btn-nav { padding: .45rem .6rem; font-size: .8rem; }

  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--brand-dark);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: .5rem 4%;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a { width: 100%; padding: .75rem .25rem; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .site-nav .btn-nav { margin: .6rem 0; width: auto; border-bottom: none; }

  .hero-arrow { display: none; }
  .hero-content { padding: 3.2rem 0; }
  .event-card { flex-direction: row; }
}

.site-brand-aau {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  color: #fff;
}
.site-brand-logo {
  height: 42px;
  width: auto;
}
.site-brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: .75rem;
  border-left: 2px solid #2563eb;
  min-height: 2rem;
}
.site-brand-am {
  color: #2563eb;
  font-size: 17px;
  letter-spacing: 3px;
  line-height: 1.375;
  margin-top: -4px;
}
.site-brand-en {
  color: #dc2626;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: .025em;
  line-height: 1.375;
  margin-top: -4px;
}
.site-brand-since {
  color: #1f2937;
  font-size: 11px;
}
@media (min-width: 640px) {
  .site-brand-am { font-size: 18px; }
  .site-brand-en { font-size: 13.5px; margin-top: -5px; }
  .site-brand-text { padding-left: 1rem; min-height: 3rem; }
  .site-brand-logo { height: 48px; }
}
@media (max-width: 767px) {
  .site-brand-since { display: none; }
}
