/* ==========================================================================
   IJSSRF — Journal Design System
   International Journal of Social Science Research & Foundation
   Fonts: Cinzel (display/eyebrow) + Outfit (body)
   ========================================================================== */

:root {
  /* Backgrounds */
  --bg-page:        #EEF4FF;
  --bg-surface:     #FFFFFF;
  --bg-mid:         #DCE9FF;

  /* Blue ramp */
  --blue-deep:      #1A3A6B;
  --blue-mid:       #2E5BAA;
  --blue-light:     #5580CC;
  --blue-accent:    #3B6DE8;

  /* Gold ramp */
  --gold-dark:      #9B7A0E;
  --gold:           #C9A227;
  --gold-light:     #F0D98A;
  --gold-pale:      #FBF5DC;
  --gold-glow:      rgba(201, 162, 39, 0.28);
  --gold-text:      #7A5F0A; /* AA-safe amber for small/regular text on light backgrounds */

  /* Text */
  --text-heading:   #1A2D6E;
  --text-body:      #2C3E60;
  --text-muted:     #5A6E93;
  --text-on-dark:   #E7EEFC;
  --text-on-dark-muted: #AEC2EC;

  /* Borders */
  --border:         #BDD0F0;
  --border-strong:  #8AAEE0;

  /* Signature gradient */
  --gradient-signature: linear-gradient(90deg, var(--blue-deep) 0%, var(--blue-accent) 50%, var(--gold) 100%);

  /* Elevation */
  --shadow-sm: 0 2px 10px rgba(26, 58, 107, 0.07);
  --shadow-md: 0 8px 24px rgba(26, 58, 107, 0.14);
  --shadow-lg: 0 16px 40px rgba(26, 58, 107, 0.18);

  /* Layout */
  --container-max: 1200px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 18px;

  /* Type scale */
  --font-display: 'Cinzel', serif;
  --font-body: 'Outfit', sans-serif;
}

/* ==========================================================================
   Reset & base
   ========================================================================== */

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-body);
  line-height: 1.65;
  font-size: 1rem;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--blue-accent);
  text-decoration: none;
}
a:hover { color: var(--blue-deep); }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; }

/* Visible keyboard focus everywhere */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Skip link */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--blue-deep);
  color: #fff;
  padding: 0.75rem 1.25rem;
  z-index: 1000;
  border-radius: 0 0 8px 0;
  font-weight: 500;
}
.skip-link:focus {
  left: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}

/* ==========================================================================
   Layout helpers
   ========================================================================== */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 4.5rem 0;
}
.section--tight { padding: 3rem 0; }
.section--surface { background: var(--bg-surface); }
.section--mid { background: var(--bg-mid); }
.section--deep {
  background: var(--blue-deep);
  color: var(--text-on-dark);
}

.section-head {
  max-width: 760px;
  margin-bottom: 2.5rem;
}
.section-head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-text);
  margin-bottom: 0.9rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}
.section--deep .eyebrow { color: var(--gold-light); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--text-heading);
  font-weight: 600;
  line-height: 1.25;
}
.section--deep h2, .section--deep h3 { color: #fff; }

h2.section-title {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: 0.01em;
}

.section-rule {
  width: 64px;
  height: 3px;
  border-radius: 999px;
  background: var(--gradient-signature);
  margin-top: 1rem;
}
.section-head--center .section-rule { margin-inline: auto; }

p.lede {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 1rem;
}
.section--deep p.lede { color: var(--text-on-dark-muted); }

.grid {
  display: grid;
  gap: 1.75rem;
}
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }

@media (max-width: 980px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 1px solid transparent;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--blue-deep);
  box-shadow: var(--shadow-sm);
}
.btn--gold:hover { background: var(--gold-light); box-shadow: var(--shadow-md); color: var(--blue-deep); }

.btn--outline {
  background: transparent;
  border-color: var(--border-strong);
  color: var(--text-heading);
}
.btn--outline:hover { background: var(--bg-mid); color: var(--text-heading); }

.btn--outline-light {
  background: transparent;
  border-color: rgba(255,255,255,0.4);
  color: #fff;
}
.btn--outline-light:hover { background: rgba(255,255,255,0.12); color: #fff; }

.btn--block { width: 100%; justify-content: center; }
.btn--sm { padding: 0.55rem 1.2rem; font-size: 0.85rem; }

/* ==========================================================================
   Top utility bar
   ========================================================================== */

.utility-bar {
  background: var(--blue-deep);
  color: var(--text-on-dark-muted);
  font-size: 0.82rem;
}
.utility-bar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.utility-bar a { color: var(--text-on-dark-muted); }
.utility-bar a:hover { color: var(--gold-light); }

.utility-left, .utility-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
.utility-right a { display: inline-flex; align-items: center; gap: 0.4rem; }

/* ==========================================================================
   Header / brand / nav
   ========================================================================== */

.site-header {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 500;
  box-shadow: var(--shadow-sm);
}

.brand-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.1rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  color: var(--text-heading);
}
.brand:hover { color: var(--text-heading); }

.brand-mark {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--blue-deep);
  background-image: var(--gradient-signature);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.brand-mark svg { width: 28px; height: 28px; }

.brand-text h1 {
  font-size: 1.05rem;
  letter-spacing: 0.01em;
  line-height: 1.2;
}
.brand-text .brand-sub {
  font-family: var(--font-body);
  font-size: 0.74rem;
  color: var(--text-muted);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.brand-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
}

.primary-nav {
  border-top: 1px solid var(--border);
}
.primary-nav .container { display: flex; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}
.nav-list > li { position: relative; }
.nav-list > li > a {
  display: block;
  padding: 0.85rem 1rem;
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-body);
  border-bottom: 3px solid transparent;
}
.nav-list > li > a:hover,
.nav-list > li > a:focus-visible,
.nav-list > li.is-active > a {
  color: var(--blue-deep);
  border-bottom-color: var(--gold);
}

/* Dropdown */
.has-dropdown > a::after {
  content: "▾";
  font-size: 0.65em;
  margin-left: 0.35em;
}
.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  padding: 0.5rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.16s ease, transform 0.16s ease, visibility 0.16s;
  z-index: 50;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown a {
  display: block;
  padding: 0.6rem 0.75rem;
  border-radius: 6px;
  font-size: 0.88rem;
  color: var(--text-body);
}
.dropdown a:hover { background: var(--bg-mid); color: var(--blue-deep); }

@media (max-width: 900px) {
  .menu-toggle { display: flex; }
  .utility-bar .utility-left { display: none; }
  .primary-nav {
    display: none;
    position: absolute;
    left: 0; right: 0;
    background: var(--bg-surface);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-md);
  }
  .primary-nav.is-open { display: block; }
  .primary-nav .container { flex-direction: column; padding-top: 0.5rem; padding-bottom: 1rem; }
  .nav-list { flex-direction: column; width: 100%; }
  .nav-list > li > a { border-bottom: none; border-left: 3px solid transparent; }
  .nav-list > li > a:hover, .nav-list > li.is-active > a { border-left-color: var(--gold); border-bottom-color: transparent; }
  .dropdown {
    position: static;
    opacity: 1; visibility: visible; transform: none;
    box-shadow: none; border: none; background: var(--bg-mid);
    display: none;
    margin: 0.25rem 0 0.25rem 1rem;
  }
  .has-dropdown.is-open .dropdown { display: block; }
  .has-dropdown > a::after { float: right; }
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  position: relative;
  background: var(--blue-deep);
  background-image:
    radial-gradient(ellipse at top right, rgba(59, 109, 232, 0.35), transparent 60%),
    linear-gradient(160deg, var(--blue-deep) 0%, #142e57 100%);
  color: #fff;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--gradient-signature);
}
.hero .container {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 4rem;
  padding-bottom: 4rem;
}
.hero-kicker {
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 1.1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.hero-kicker::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--gold);
}
.hero h2 {
  color: #fff;
  font-size: clamp(1.9rem, 4vw, 2.85rem);
  line-height: 1.18;
  margin-bottom: 1.1rem;
}
.hero p {
  color: var(--text-on-dark-muted);
  font-size: 1.08rem;
  max-width: 540px;
  margin-bottom: 1.9rem;
}
.hero-actions {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 2.4rem;
  max-width: 480px;
}
.hero-stat {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius-md);
  padding: 0.9rem 1.1rem;
}
.hero-stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--gold-light);
}
.hero-stat span {
  font-size: 0.78rem;
  color: var(--text-on-dark-muted);
  letter-spacing: 0.02em;
}

/* Journal detail card in hero */
.detail-card {
  background: var(--bg-surface);
  color: var(--text-body);
  border-radius: var(--radius-lg);
  padding: 1.9rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}
.detail-card h3 {
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--blue-deep);
  margin-bottom: 1.1rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid var(--border);
}
.detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.detail-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.88rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px dashed var(--border);
}
.detail-row:last-child { border-bottom: none; padding-bottom: 0; }
.detail-row dt { color: var(--text-muted); flex-shrink: 0; }
.detail-row dd { color: var(--text-heading); font-weight: 500; text-align: right; }

@media (max-width: 980px) {
  .hero .container { grid-template-columns: 1fr; }
  .detail-card { max-width: 480px; }
}

/* ==========================================================================
   Cards (features, process, policy, board)
   ========================================================================== */

.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  padding: 1.9rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  color: var(--blue-deep);
}
.card-icon svg { width: 26px; height: 26px; }

.card h3 { font-size: 1.05rem; margin-bottom: 0.6rem; }
.card p { color: var(--text-muted); font-size: 0.93rem; }

/* Process steps */
.process-step {
  position: relative;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.9rem 1.6rem;
  box-shadow: var(--shadow-sm);
}
.process-num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--gold);
  margin-bottom: 0.8rem;
  display: block;
}
.process-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.process-step p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 0.9rem; }
.process-link { font-size: 0.85rem; font-weight: 500; }

/* Policy / accordion-style info blocks */
.policy-list {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}
.policy-item {
  background: var(--bg-surface);
}
.policy-item summary {
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 1.5rem;
  cursor: pointer;
  font-weight: 500;
  color: var(--text-heading);
}
.policy-item summary::-webkit-details-marker { display: none; }
.policy-item summary .chevron {
  transition: transform 0.2s ease;
  flex-shrink: 0;
  color: var(--blue-accent);
}
.policy-item[open] summary .chevron { transform: rotate(180deg); }
.policy-body {
  padding: 0 1.5rem 1.4rem;
  color: var(--text-muted);
  font-size: 0.93rem;
}
.policy-body ul { margin-top: 0.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.policy-body li { padding-left: 1.1rem; position: relative; }
.policy-body li::before {
  content: "";
  position: absolute; left: 0; top: 0.55em;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--gold);
}

/* ==========================================================================
   Current issue
   ========================================================================== */

.issue-panel {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 2.4rem;
}
.issue-cover {
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, var(--blue-mid), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-light);
  text-align: center;
  padding: 1.5rem;
  font-family: var(--font-display);
}
.issue-meta { display: flex; flex-direction: column; }
.issue-vol { color: var(--text-muted); font-size: 0.85rem; letter-spacing: 0.04em; text-transform: uppercase; margin-bottom: 0.4rem; }
.issue-panel h3 { font-size: 1.5rem; margin-bottom: 1rem; }
.issue-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.1rem 0 1.5rem;
}
.tag {
  font-size: 0.78rem;
  font-weight: 500;
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: var(--bg-mid);
  color: var(--blue-deep);
  border: 1px solid var(--border);
}
.tag--open { background: var(--gold-pale); color: var(--gold-text); border-color: var(--gold-light); }
.issue-actions { display: flex; gap: 0.8rem; flex-wrap: wrap; margin-top: auto; }

@media (max-width: 760px) {
  .issue-panel { grid-template-columns: 1fr; }
  .issue-cover { max-width: 220px; }
}

/* ==========================================================================
   Article list (Archives / latest)
   ========================================================================== */

.article-row {
  display: flex;
  gap: 1.25rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid var(--border);
}
.article-row:last-child { border-bottom: none; }
.article-thumb {
  width: 64px; height: 84px;
  flex-shrink: 0;
  border-radius: 6px;
  background: linear-gradient(160deg, var(--blue-light), var(--blue-deep));
}
.article-row h4 { font-size: 1rem; margin-bottom: 0.3rem; }
.article-row h4 a { color: var(--text-heading); }
.article-row h4 a:hover { color: var(--blue-accent); }
.article-row .authors { font-size: 0.84rem; color: var(--text-muted); }
.article-row .article-date { font-size: 0.78rem; color: var(--gold-text); margin-top: 0.3rem; display: inline-block; }

/* ==========================================================================
   Editorial board preview
   ========================================================================== */

.board-card {
  text-align: center;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.2rem;
  box-shadow: var(--shadow-sm);
}
.board-avatar {
  width: 76px; height: 76px;
  border-radius: 50%;
  margin: 0 auto 1rem;
  background: var(--gradient-signature);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-family: var(--font-display); font-size: 1.4rem;
}
.board-card h4 { font-size: 0.98rem; margin-bottom: 0.2rem; }
.board-card .role { font-size: 0.82rem; color: var(--gold-text); font-weight: 500; margin-bottom: 0.4rem; }
.board-card .affil { font-size: 0.82rem; color: var(--text-muted); }

/* ==========================================================================
   Announcements
   ========================================================================== */

.announcement {
  display: flex;
  gap: 1.3rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.announcement-date {
  flex-shrink: 0;
  width: 64px;
  text-align: center;
  border-right: 1px solid var(--border);
  padding-right: 1.3rem;
}
.announcement-date .day { font-family: var(--font-display); font-size: 1.5rem; color: var(--blue-deep); display: block; }
.announcement-date .mon { font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.announcement h4 { font-size: 1rem; margin-bottom: 0.4rem; }
.announcement p { font-size: 0.9rem; color: var(--text-muted); }

/* ==========================================================================
   Contact & submit
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 800px) { .contact-grid { grid-template-columns: 1fr; } }

.contact-info-list { display: flex; flex-direction: column; gap: 1.3rem; }
.contact-info-item { display: flex; gap: 1rem; align-items: flex-start; }
.contact-info-item .icon {
  width: 42px; height: 42px; flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: var(--gold-pale);
  display: flex; align-items: center; justify-content: center;
  color: var(--blue-deep);
}
.contact-info-item h4 { font-size: 0.92rem; margin-bottom: 0.2rem; }
.contact-info-item p, .contact-info-item a { font-size: 0.9rem; color: var(--text-muted); }

.form-field { margin-bottom: 1.1rem; }
.form-field label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-heading);
  margin-bottom: 0.4rem;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.75rem 0.95rem;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  color: var(--text-body);
}
.form-field textarea { resize: vertical; min-height: 120px; }
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: 3px solid var(--gold);
  outline-offset: 1px;
  border-color: var(--blue-accent);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 540px) { .form-row { grid-template-columns: 1fr; } }
.form-note { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.6rem; }
.form-status {
  margin-top: 1rem;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-sm);
  display: none;
}
.form-status.is-success { display: block; background: var(--gold-pale); color: var(--gold-text); border: 1px solid var(--gold-light); }
.form-status.is-error { display: block; background: #FBEAEA; color: #8B2C2C; border: 1px solid #E3B0B0; }

/* ==========================================================================
   Submit CTA banner
   ========================================================================== */

.cta-banner {
  background: var(--gradient-signature);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  color: #fff;
}
.cta-banner h2, .cta-banner h3 { color: #fff; margin-bottom: 0.5rem; }
.cta-banner p { color: rgba(255,255,255,0.88); max-width: 480px; }
.cta-banner .btn--gold { background: #fff; color: var(--blue-deep); }
.cta-banner .btn--gold:hover { background: var(--gold-pale); }

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
  background: var(--blue-deep);
  color: var(--text-on-dark-muted);
}
.footer-top {
  padding: 3.5rem 0 2.5rem;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 2.5rem;
}
@media (max-width: 900px) { .footer-top { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-top { grid-template-columns: 1fr; } }

.footer-brand { display: flex; align-items: center; gap: 0.8rem; margin-bottom: 1rem; }
.footer-brand .brand-mark { width: 44px; height: 44px; }
.footer-brand h2 { color: #fff; font-size: 1rem; }
.footer-col h3 {
  color: var(--gold-light);
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { display: flex; flex-direction: column; gap: 0.65rem; }
.footer-col a { color: var(--text-on-dark-muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--gold-light); }
.footer-col p { font-size: 0.9rem; color: var(--text-on-dark-muted); }

.footer-social { display: flex; gap: 0.6rem; margin-top: 1.2rem; }
.footer-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
}
.footer-social a:hover { background: var(--gold); border-color: var(--gold); color: var(--blue-deep); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.14);
  padding: 1.3rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
}
.footer-bottom a { color: var(--text-on-dark-muted); }

/* ==========================================================================
   Back to top
   ========================================================================== */

.back-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  width: 48px; height: 48px;
  border-radius: 50%;
  background: var(--blue-deep);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-md);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s;
  z-index: 400;
  border: none;
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold); color: var(--blue-deep); }

/* ==========================================================================
   Misc utility
   ========================================================================== */

.text-center { text-align: center; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 1.2rem; }
.mb-3 { margin-bottom: 1.5rem; }
.flex-between { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }
.gap-lg { gap: 3rem; }
.items-center { align-items: center; }
.items-start { align-items: start; }
.text-muted { color: var(--text-muted); }
.stack { display: flex; flex-direction: column; gap: 1rem; }
.cluster { display: flex; gap: 0.9rem; flex-wrap: wrap; }

.card--padded { padding: 2.2rem; }

.numbered-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-top: 0.6rem;
}
.numbered-list li {
  display: flex;
  gap: 0.7rem;
  color: var(--text-body);
}
.numbered-list strong {
  color: var(--gold-text);
  flex-shrink: 0;
}

/* ==========================================================================
   Anchor / scroll offset fix for sticky header
   Prevents sections from being hidden under the fixed header when
   navigating via in-page anchor links (e.g. about.html#aim-scope).
   ========================================================================== */

[id] {
  scroll-margin-top: 160px;
} 