:root {
  --navy: #002147;
  --navy-m: #0a2d5e;
  --navy-l: #163a70;
  --gold: #D4AF37;
  --gold-l: #e8cb5e;
  --gold-d: #b8960c;
  --gold-pale: #fdf8e8;
  --cream: #faf8f3;
  --off: #f0ebe0;
  --mid: #6b7a8d;
  --border: rgba(0,33,71,0.10);
  --white: #ffffff;
  --radius: 12px;
  --trans: 0.28s cubic-bezier(.4,0,.2,1);
  --shadow-sm: 0 2px 12px rgba(0,33,71,.07);
  --shadow: 0 4px 32px rgba(0,33,71,.11);
  --shadow-lg: 0 12px 60px rgba(0,33,71,.16);
  --serif: 'Cormorant Garamond', Georgia, serif;
  --sans: 'DM Sans', system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--navy);
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
h1,h2,h3,h4,h5 { font-family: var(--serif); }
.hero {
  background: var(--navy);
  padding: 72px 48px 64px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 80% at 20% 50%, rgba(212,175,55,.08) 0%, transparent 70%),
    radial-gradient(ellipse 40% 60% at 80% 20%, rgba(212,175,55,.06) 0%, transparent 70%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.hero-inner { position: relative; z-index: 1; max-width: 680px; margin: 0 auto; }
.hero h1 {
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 600;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -.5px;
}
.hero p {
  font-size: 15px;
  color: rgba(255,255,255,.65);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.75;
  font-weight: 300;
}
.main-content { max-width: 1240px; margin: 0 auto; padding: 56px 24px; }
.content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.content-main { min-width: 0; }
.content-sidebar { display: flex; flex-direction: column; gap: 24px; position: sticky; top: 80px; }
.portal-header { margin-bottom: 40px; }
.portal-header h1 {
  font-size: 38px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
  line-height: 1.2;
}
.portal-intro {
  font-size: 15px;
  line-height: 1.8;
  color: var(--mid);
  max-width: 720px;
  font-weight: 300;
}
.section-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px;
  margin-bottom: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--trans);
}
.section-card:hover { box-shadow: var(--shadow); }
.section-card h2 {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.section-card h2::before {
  content: '';
  display: block;
  width: 4px;
  height: 26px;
  background: linear-gradient(180deg, var(--gold), var(--gold-d));
  border-radius: 2px;
  flex-shrink: 0;
}
.section-card > p {
  font-size: 15px;
  line-height: 1.75;
  color: var(--mid);
  margin-bottom: 24px;
  font-weight: 300;
}
.criteria-item {
  margin-bottom: 24px;
  padding: 20px 22px;
  background: var(--cream);
  border-radius: 8px;
  border-left: 3px solid var(--gold);
  transition: background var(--trans);
}
.criteria-item:last-child { margin-bottom: 0; }
.criteria-item:hover { background: var(--gold-pale); }
.criteria-item h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}
.criteria-item p {
  font-size: 14px;
  line-height: 1.7;
  color: var(--mid);
  font-weight: 300;
}
.ethics-grid,
.recognition-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
  margin-top: 8px;
}
.ethics-item,
.recognition-item {
  display: flex;
  gap: 14px;
  padding: 20px;
  background: var(--cream);
  border-radius: 8px;
  border: 1px solid var(--border);
  transition: all var(--trans);
}
.ethics-item:hover,
.recognition-item:hover { background: var(--gold-pale); border-color: rgba(212,175,55,.3); transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.ethics-icon,
.recognition-icon { font-size: 28px; flex-shrink: 0; line-height: 1; margin-top: 2px; }
.ethics-content h3,
.recognition-content h3 { font-size: 15px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.ethics-content p,
.recognition-content p { font-size: 13px; line-height: 1.6; color: var(--mid); font-weight: 300; }
.methodology-list {
  margin: 12px 0 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.methodology-list li {
  font-size: 14px;
  line-height: 1.65;
  color: var(--mid);
  font-weight: 300;
}
.methodology-list li strong { color: var(--navy); font-weight: 600; }
.reviewer-login-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
}
.reviewer-login-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold-d), var(--gold-l), var(--gold-d));
}
.reviewer-login-card::after {
  content: '';
  position: absolute;
  bottom: -60px; right: -60px;
  width: 180px; height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(212,175,55,.08), transparent 70%);
  pointer-events: none;
}
.login-header { text-align: center; margin-bottom: 28px; position: relative; z-index: 1; }
.login-header h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 6px;
}
.login-header p { color: rgba(255,255,255,.65); font-size: 13.5px; font-weight: 300; line-height: 1.5; }
.login-error {
  margin-bottom: 16px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgba(220, 53, 69, 0.15);
  border: 1px solid rgba(220, 53, 69, 0.35);
  color: #ffd7d7;
  font-size: 12.5px;
  line-height: 1.5;
  position: relative;
  z-index: 1;
}
.login-form { position: relative; z-index: 1; }
.login-form .form-group { margin-bottom: 20px; }
.login-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: var(--gold);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: .8px;
}
.login-form input {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid rgba(255,255,255,.15);
  border-radius: 8px;
  font-size: 14px;
  background: rgba(255,255,255,.08);
  color: var(--white);
  transition: var(--trans);
  font-family: var(--sans);
}
.login-form input::placeholder { color: rgba(255,255,255,.4); }
.login-form input:focus { outline: none; border-color: var(--gold); background: rgba(255,255,255,.12); box-shadow: 0 0 0 3px rgba(212,175,55,.15); }
.form-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}
.remember-me { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,.8); cursor: pointer; }
.remember-me input { width: auto; accent-color: var(--gold); }
.forgot-link { font-size: 13px; color: var(--gold); text-decoration: none; font-weight: 500; transition: var(--trans); }
.forgot-link:hover { color: var(--gold-l); text-decoration: underline; }
.login-submit {
  width: 100%;
  padding: 14px 20px;
  background: linear-gradient(135deg, var(--gold-d), var(--gold), var(--gold-l));
  color: var(--navy);
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--trans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-family: var(--sans);
  box-shadow: 0 4px 16px rgba(212,175,55,.25);
}
.login-submit:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(212,175,55,.4); filter: brightness(1.05); }
.login-footer {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.12);
  text-align: center;
  position: relative;
  z-index: 1;
}
.login-footer p { font-size: 13px; color: rgba(255,255,255,.65); margin-bottom: 6px; line-height: 1.5; font-weight: 300; }
.login-footer a { color: var(--gold); text-decoration: none; font-weight: 500; transition: var(--trans); }
.login-footer a:hover { color: var(--gold-l); text-decoration: underline; }
.mandate-intro {
  font-size: 15px;
  line-height: 1.78;
  color: var(--mid);
  font-weight: 300;
}
@media (max-width: 1024px) {
  .content-grid { grid-template-columns: 1fr; }
  .content-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
  .reviewer-login-card { flex: 1; min-width: 280px; }
  .ethics-grid, .recognition-list { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .hero { padding: 48px 24px; }
  .main-content { padding: 36px 16px; }
  .section-card { padding: 24px 20px; }
  .ethics-grid, .recognition-list { grid-template-columns: 1fr; }
  .content-sidebar { flex-direction: column; }
}
@media (max-width: 480px) {
  .hero h1 { font-size: 30px; }
  .portal-header h1 { font-size: 28px; }
  .section-card h2 { font-size: 20px; }
}
