:root {
  --navy: #14365c;
  --navy-deep: #0e2746;
  --navy-soft: #1e4474;
  --ink: #1a1a1a;
  --ink-soft: #3a3a3a;
  --muted: #5d6b7a;
  --rule: #d8dde3;
  --bg: #eef1f5;
  --card: #ffffff;
}

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

.page {
  max-width: 920px;
  margin: 24px auto;
  background: var(--card);
  box-shadow: 0 2px 14px rgba(20, 54, 92, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

/* ===== Masthead ===== */
.masthead {
  background:
    linear-gradient(135deg, rgba(14,39,70,0.92), rgba(20,54,92,0.92)),
    linear-gradient(135deg, #1e4474 0%, #14365c 100%);
  color: #fff;
  padding: 28px 36px;
}
.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.masthead h1 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.25;
}
.brand {
  text-align: right;
  border-left: 2px solid rgba(255,255,255,0.25);
  padding-left: 18px;
}
.brand-name {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1;
}
.brand-tag {
  margin-top: 6px;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.75;
}

/* ===== Bands ===== */
.band { padding: 28px 36px; }
.band-light { background: #f3f6fa; border-bottom: 1px solid var(--rule); }
.band-white { background: #fff; border-bottom: 1px solid var(--rule); }
.band-navy {
  background: var(--navy);
  color: #e8eef6;
}
.band-navy p, .band-navy strong { color: #fff; }
.band-navy a { color: #ffd86b; text-decoration: none; }
.band-navy a:hover { text-decoration: underline; }

/* ===== Grid / Cards ===== */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: 1fr 1fr; }

.card {
  background: transparent;
  padding: 4px 0;
}
.card p { margin: 0; color: var(--ink-soft); }

/* ===== Section tab/pill ===== */
.tab {
  display: inline-block;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--navy);
  border-bottom: none;
  padding: 4px 14px 5px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 4px 4px 0 0;
  margin-bottom: 0;
  position: relative;
  top: 1px;
}
.card .tab,
.footer-col .tab {
  margin-bottom: 10px;
}
.card .tab + p,
.footer-col .tab + p {
  border-top: 1px solid var(--navy);
  padding-top: 12px;
}
.tab-light {
  background: var(--navy);
  color: #fff;
  border-color: #ffd86b;
}
.footer-col .tab-light + p {
  border-top: 1px solid #ffd86b;
}

/* ===== Profile ===== */
.profile {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 28px;
  align-items: start;
}
.avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
  border: 3px solid #fff;
  box-shadow: 0 2px 10px rgba(20,54,92,0.25);
}
.profile h2 {
  margin: 0 0 2px;
  font-size: 22px;
  color: var(--navy);
  letter-spacing: 0.01em;
}
.profile-role {
  margin: 0 0 14px;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--muted);
  font-weight: 600;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 28px;
}

/* ===== Key-value lines ===== */
.kv {
  margin: 0 0 10px;
  font-size: 13.5px;
  color: var(--ink-soft);
}
.kv strong {
  color: var(--navy);
  font-weight: 700;
}
.band-navy .kv strong {
  color: #fff;
}
.contact-line strong { display: inline-block; min-width: 92px; }

/* ===== Footer columns ===== */
.footer-grid { gap: 36px; }
.footer-col p:last-child { margin-bottom: 0; }

/* ===== Responsive ===== */
@media (max-width: 720px) {
  .page { margin: 0; border-radius: 0; }
  .masthead { padding: 22px 20px; }
  .masthead-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .brand { text-align: left; border-left: none; border-top: 2px solid rgba(255,255,255,0.25); padding-left: 0; padding-top: 10px; }
  .band { padding: 22px 20px; }
  .grid-2 { grid-template-columns: 1fr; }
  .profile { grid-template-columns: 1fr; text-align: left; }
  .avatar { width: 84px; height: 84px; font-size: 26px; }
  .profile-grid { grid-template-columns: 1fr; }
  .masthead h1 { font-size: 17px; }
}
