:root {
  --navy: #0A2240;
  --navy-deep: #071829;
  --gold: #C9A84C;
  --gold-soft: rgba(201, 168, 76, 0.24);
  --ink: #142033;
  --paper: #f7f8fb;
  --white: #fff;
  --M: 'Montserrat', sans-serif;
  --R: 'Roboto', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: var(--R);
  color: var(--ink);
  background: linear-gradient(180deg, #eef1f7 0%, #f8f4e8 100%);
}

.skip-link {
  position: absolute;
  left: -9999px;
}
.skip-link:focus {
  left: 10px;
  top: 10px;
  background: var(--navy);
  color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  z-index: 1000;
}

.sheet-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: rgba(10, 34, 64, 0.96);
  border-bottom: 1px solid rgba(201, 168, 76, 0.28);
}

.topbar-link,
.download-btn {
  min-height: 44px;
  border-radius: 8px;
  font-family: var(--M);
  font-weight: 700;
  letter-spacing: 0.03em;
}

.topbar-link {
  display: inline-flex;
  align-items: center;
  padding: 0 14px;
  color: #f5f6fb;
  border: 1px solid rgba(255, 255, 255, 0.24);
  text-decoration: none;
}

.download-btn {
  border: 1px solid rgba(201, 168, 76, 0.65);
  color: #10223d;
  background: linear-gradient(180deg, #ebd189 0%, #c9a84c 100%);
  padding: 0 16px;
  cursor: pointer;
}

.sheet-viewport {
  padding: 18px 14px 32px;
}

.one-sheet {
  margin: 0 auto;
  width: min(100%, 860px);
  background: var(--paper);
  border: 1px solid #d3dbe8;
  border-top: 8px solid var(--gold);
  border-radius: 14px;
  box-shadow: 0 18px 38px rgba(6, 16, 31, 0.16);
  padding: 28px;
}

.sheet-hero {
  background: linear-gradient(115deg, var(--navy) 0%, var(--navy-deep) 70%);
  color: #fff;
  border-radius: 12px;
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 18px;
}

.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.73rem;
  color: #dfc274;
  font-weight: 700;
}

h1 {
  font-family: var(--M);
  margin: 0 0 8px;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.identity,
.pitch {
  margin: 0;
  line-height: 1.5;
}
.pitch { margin-top: 10px; color: #dae6ff; }

.hero-badge {
  border: 1px solid var(--gold-soft);
  background: linear-gradient(180deg, rgba(255,255,255,0.1), rgba(255,255,255,0.03));
  border-radius: 10px;
  min-width: 120px;
  padding: 12px;
  text-align: center;
  align-self: start;
}

.badge-label { display: block; color: #d7e4ff; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; }
.badge-year { display: block; margin-top: 4px; font-family: var(--M); font-size: 2rem; color: #f0d083; font-weight: 900; }

.sheet-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-top: 14px;
}

.sheet-card {
  border: 1px solid #d4dbe8;
  border-radius: 10px;
  padding: 16px;
  background: #fff;
}

h2 {
  margin: 0 0 12px;
  font-family: var(--M);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--navy);
}

.metric-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.metric-list li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #e4e9f2;
  padding-bottom: 7px;
  font-size: 0.96rem;
}
.metric-list li:last-child { border-bottom: 0; padding-bottom: 0; }
.metric-label { color: #465166; font-weight: 500; }
.metric-value { color: #0f2038; font-weight: 700; font-family: var(--M); }

.summary p {
  margin: 0;
  line-height: 1.65;
  color: #2c3c53;
}

.sheet-footer {
  margin-top: 14px;
  border-radius: 10px;
  border: 1px solid #d4dbe8;
  padding: 16px;
  background: #fff;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px 20px;
  align-items: start;
}

.contact-line { margin: 0 0 8px; }
.contact-line a { color: #143f8a; text-decoration: none; }
.contact-line a:hover,
.contact-line a:focus-visible { text-decoration: underline; }

.profile-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
}

.profile-link {
  padding: 8px 11px;
  border-radius: 999px;
  border: 1px solid #ccd6ea;
  color: #1d325a;
  text-decoration: none;
  font-family: var(--M);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}

@media (max-width: 760px) {
  .sheet-hero,
  .sheet-grid,
  .sheet-footer {
    grid-template-columns: 1fr;
  }

  .hero-badge,
  .profile-links {
    justify-content: flex-start;
  }

  .one-sheet { padding: 16px; }
}

@page {
  size: Letter;
  margin: 0.4in;
}

@media print {
  body {
    background: #fff;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .sheet-topbar,
  .skip-link {
    display: none !important;
  }

  .sheet-viewport {
    padding: 0;
  }

  .one-sheet {
    width: 100%;
    max-width: none;
    box-shadow: none;
    border-radius: 0;
    border: 1px solid #d0d6e2;
    padding: 0.22in;
    page-break-inside: avoid;
  }

  .sheet-card,
  .sheet-footer,
  .sheet-hero {
    page-break-inside: avoid;
  }
}
