/* ==============================
   RESET & BASE
   ============================== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue:       #1D3D66;
  --blue-dark:  #152d4d;
  --blue-mid:   #254f87;
  --blue-light: #e8eef6;
  --gold:       #c9a84c;
  --gold-light: #e0c070;
  --white:      #ffffff;
  --off-white:  #f7f8fa;
  --text:       #1a1a2e;
  --text-soft:  #4a5568;
  --text-muted: #8a96a8;
  --border:     #d0d9e8;
}

html, body {
  height: 100%;
  font-family: 'Montserrat', sans-serif;
  background: var(--off-white);
  color: var(--text);
}

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

/* ==============================
   PAGE LAYOUT
   ============================== */
.page-wrap {
  min-height: 100vh;
  display: grid;
  grid-template-rows: auto 1fr auto;
}

/* ==============================
   TOP BAR
   ============================== */
.top-bar {
  background: var(--blue);
  padding: 10px 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.top-bar-text {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}

.top-bar-divider {
  width: 1px;
  height: 12px;
  background: rgba(255,255,255,0.25);
}

/* ==============================
   HERO
   ============================== */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 52px 24px 40px;
  gap: 36px;
  position: relative;
  background: linear-gradient(180deg, rgba(29,61,102,0.04) 0%, transparent 60%);
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  width: 120px;
  height: 120px;
  border: 1px solid rgba(29,61,102,0.1);
  pointer-events: none;
}
.hero::before { top: 20px; left: 20px; border-right: none; border-bottom: none; }
.hero::after  { bottom: 20px; right: 20px; border-left: none; border-top: none; }

/* ==============================
   LOGO
   ============================== */
.logo-wrap {
  position: relative;
  z-index: 1;
}

.logo-placeholder {
  width: 120px;
  height: 120px;
  border: 2px dashed var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  overflow: hidden;
  transition: border-color 0.3s;
}

.logo-placeholder img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-hint {
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-muted);
  text-align: center;
  padding: 8px;
}

/* ==============================
   TITLE BLOCK
   ============================== */
.title-block {
  text-align: center;
  max-width: 660px;
  position: relative;
  z-index: 1;
}

.eyebrow {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.main-title {
  font-size: clamp(1.5rem, 4.5vw, 2.6rem);
  font-weight: 700;
  color: var(--blue);
  line-height: 1.25;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.title-rule {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.title-rule-line {
  width: 40px;
  height: 1px;
  background: var(--border);
}

.title-rule-diamond {
  width: 6px;
  height: 6px;
  background: var(--gold);
  transform: rotate(45deg);
  flex-shrink: 0;
}

.subtitle {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==============================
   BUTTONS
   ============================== */
.nav-buttons {
  display: flex;
  gap: 16px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  max-width: 660px;
}

.nav-btn {
  flex: 1;
  min-width: 160px;
  max-width: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 24px 20px;
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  position: relative;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s, transform 0.3s;
  isolation: isolate;
}

.nav-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--blue);
  transform: translateY(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 0;
}

.nav-btn:hover::before { transform: translateY(0); }

.nav-btn:hover {
  border-color: var(--blue);
  box-shadow: 0 8px 28px rgba(29,61,102,0.2);
  transform: translateY(-3px);
}

.nav-btn::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.nav-btn:hover::after { transform: scaleX(1); }

.btn-icon {
  font-size: 1.4rem;
  position: relative;
  z-index: 1;
  transition: transform 0.3s;
  line-height: 1;
}

.nav-btn:hover .btn-icon { transform: scale(1.15); }

.btn-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.nav-btn:hover .btn-label { color: var(--white); }

.btn-hint {
  font-size: 0.6rem;
  font-weight: 400;
  color: var(--text-muted);
  position: relative;
  z-index: 1;
  transition: color 0.3s;
}

.nav-btn:hover .btn-hint { color: rgba(255,255,255,0.6); }

/* ==============================
   FOOTER
   ============================== */
.footer {
  text-align: center;
  padding: 16px 24px 20px;
  border-top: 1px solid var(--border);
  background: var(--white);
}

.footer-city {
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-muted);
}

/* ==============================
   OVERLAY & MODAL
   ============================== */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(15, 30, 55, 0.65);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
}



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

.modal {
  background: var(--white);
  width: 100%;
  max-width: 560px;
  max-height: 82vh;
  overflow-y: auto;
  padding: 40px;
  position: relative;
  border-top: 4px solid var(--blue);
  animation: slideUp 0.28s cubic-bezier(0.4,0,0.2,1);
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to   { transform: translateY(0);    opacity: 1; }
}

.modal-close {
  position: absolute;
  top: 14px; right: 16px;
  background: none;
  border: 1px solid var(--border);
  width: 30px; height: 30px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-family: 'Montserrat', sans-serif;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.modal-close:hover {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}

.modal-tag {
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--border);
}

.authors-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.author-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px;
  background: var(--blue-light);
  border-left: 3px solid var(--blue);
}

.author-index {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  min-width: 24px;
  padding-top: 2px;
  letter-spacing: 0.05em;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 3px;
}

.author-role {
  font-size: 0.75rem;
  color: var(--text-soft);
  font-style: italic;
}

.lit-list {
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.lit-list li {
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--text-soft);
}

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 520px) {
  .top-bar { padding: 10px 16px; }
  .hero { padding: 36px 16px 28px; gap: 28px; }
  .hero::before, .hero::after { width: 60px; height: 60px; }
  .nav-buttons { gap: 10px; }
  .nav-btn { min-width: 130px; padding: 18px 14px; }
  .modal { padding: 28px 18px; }
}