:root {
  --navy: #102f4f;
  --blue: #1f6fae;
  --olive: #71834a;
  --gold: #d8a43b;
  --teal: #3e8c8a;
  --ivory: #faf7f0;
  --paper: #fffefd;
  --ink: #10243a;
  --muted: #667482;
  --line: rgba(16, 47, 79, .15);
  --shadow: 0 24px 70px rgba(16, 47, 79, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--ivory); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; line-height: 1.6; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 4px; }
.skip-link { position: fixed; top: 10px; left: 10px; z-index: 20; padding: 10px 15px; color: white; background: var(--navy); border-radius: 8px; transform: translateY(-160%); }
.skip-link:focus { transform: none; }

.selector-header { width: min(1280px, calc(100% - 48px)); min-height: 92px; margin-inline: auto; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); }
.wordmark { font-size: 32px; font-weight: 850; letter-spacing: -.05em; text-decoration: none; }
.wordmark span { color: var(--olive); }
.admin-link { font-size: 13px; font-weight: 750; text-decoration: none; }

main, footer { width: min(1280px, calc(100% - 48px)); margin-inline: auto; }
.selector-intro { padding: 86px 0 64px; display: grid; grid-template-columns: 1.4fr .6fr; gap: 48px; align-items: end; }
.eyebrow { grid-column: 1 / -1; margin: 0 0 -28px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .16em; text-transform: uppercase; }
.selector-intro h1 { margin: 0; max-width: 900px; font: 400 clamp(48px, 6.5vw, 92px)/.98 Georgia, serif; letter-spacing: -.05em; }
.selector-intro h1 em { color: var(--olive); font-weight: 400; }
.selector-intro > p:last-child { margin: 0 0 8px; color: var(--muted); font-size: 15px; }

.design-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.design-card { position: relative; overflow: hidden; border: 1px solid var(--line); border-radius: 28px; background: var(--paper); box-shadow: var(--shadow); }
.design-card::before { content: ""; position: absolute; inset: 0 0 auto; height: 5px; background: linear-gradient(90deg, var(--blue), var(--olive)); }
.design-card-gold::before { background: linear-gradient(90deg, var(--navy), var(--gold), var(--teal)); }
.card-number { position: absolute; z-index: 2; top: 24px; left: 24px; display: grid; width: 44px; height: 44px; place-items: center; color: white; border-radius: 50%; background: var(--navy); font: 700 11px/1 system-ui; }
.design-card-gold .card-number { background: var(--gold); color: var(--navy); }
.logo-sheet { aspect-ratio: 1.77; overflow: hidden; display: grid; place-items: center; background: white; border-bottom: 1px solid var(--line); text-decoration: none; }
.logo-sheet img { width: 100%; height: 100%; object-fit: contain; transition: transform .25s ease; }
.logo-sheet:hover img { transform: scale(1.018); }
.card-copy { min-height: 220px; padding: 30px; display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.card-copy p { margin: 0 0 8px; color: var(--blue); font-size: 11px; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.design-card-gold .card-copy p { color: #956a12; }
.card-copy h2 { margin: 0 0 8px; font: 400 36px/1.1 Georgia, serif; }
.card-copy span { color: var(--muted); font-size: 12px; }
.card-copy a, .other-version > a { flex: 0 0 auto; display: inline-flex; gap: 18px; align-items: center; padding: 12px 16px; color: white; border-radius: 999px; background: var(--navy); font-size: 12px; font-weight: 800; text-decoration: none; }
.card-copy a span, .other-version > a span { color: inherit; }

.other-version { margin-block: 88px 34px; padding: 38px 42px; display: flex; align-items: center; justify-content: space-between; gap: 32px; border: 1px solid var(--line); border-radius: 24px; background: rgba(255,255,255,.55); }
.other-version .eyebrow { margin: 0 0 8px; }
.other-version h2 { margin: 0; font: 400 34px/1.1 Georgia, serif; }
.other-version p:last-child { margin: 8px 0 0; color: var(--muted); font-size: 13px; }
footer { padding: 26px 0 40px; display: flex; justify-content: space-between; gap: 24px; color: var(--muted); border-top: 1px solid var(--line); font-size: 11px; }

@media (max-width: 860px) {
  .selector-intro { grid-template-columns: 1fr; padding-top: 64px; }
  .selector-intro .eyebrow { margin-bottom: -12px; }
  .design-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .selector-header, main, footer { width: min(100% - 28px, 1280px); }
  .selector-header { min-height: 76px; }
  .admin-link { font-size: 0; }
  .admin-link::before { content: "Admin"; font-size: 12px; }
  .selector-intro { padding: 52px 0 44px; }
  .selector-intro h1 { font-size: 47px; }
  .card-copy, .other-version { align-items: flex-start; flex-direction: column; }
  .card-copy { min-height: 250px; }
  .other-version { margin-top: 58px; padding: 28px; }
  footer { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
