/* Public-site commercial look. Loaded after site.css; admin pages load site.css only. */
:root {
  --ink: #101828;
  --paper: #f3f5f8;
  --card: #ffffff;
  --line: #d3dae3;
  --pine: #0f2740;
  --pine-2: #091a2c;
  --copper: #b93a0b;
  --steel: #475467;
  --link: #0b4a8f;
  --edge: #667085;
  --serif: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
body { background: var(--paper); color: var(--ink); font-size: 1.0625rem; line-height: 1.5; }
a { color: var(--link); }
h1, h2, h3, .wordmark { font-family: var(--serif); letter-spacing: -0.01em; }
h1 { font-size: 1.85rem; line-height: 1.12; font-weight: 800; margin: 0.2rem 0 0.7rem; }
h2 { font-size: 1.4rem; line-height: 1.2; font-weight: 800; color: var(--pine); margin: 1.6rem 0 0.5rem; }
h3 { font-size: 1.1rem; color: var(--pine); }
main { max-width: 62rem; padding: 1rem 1rem 2.5rem; }
.fine { color: var(--steel); }

/* header */
.banner { background: var(--pine-2); color: #e7edf5; font-size: 0.95rem; padding: 0.4rem 0.7rem; }
.banner a { color: #fff; }
.site-header { background: var(--pine); border-bottom: 3px solid var(--copper); padding: 0.65rem 1rem; }
.wordmark { color: #fff; font-size: 1.55rem; font-weight: 800; letter-spacing: 0.01em; line-height: 1.05; display: flex; flex-direction: column; }
.wordmark small { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: #c9d6e6; margin-top: 0.2rem; }
.nav { gap: 0.15rem 0.35rem; align-items: center; }
.nav a { color: #eef3f9; font-weight: 650; font-size: 0.98rem; padding: 0.4rem 0.55rem; border-radius: 0.35rem; }
.nav a:hover, .nav a:focus-visible { background: rgba(255, 255, 255, 0.14); }
.nav a.nav-cta { background: var(--copper); color: #fff; padding: 0.4rem 0.9rem; }
.nav a.nav-cta:hover { background: #9c2f08; }
@media (max-width: 700px) { .topstack { position: static; } }

/* hero */
.hero { background: linear-gradient(135deg, var(--pine) 0%, #17406a 100%); color: #fff; border-radius: 0.5rem; padding: 1.2rem 1.1rem 1.1rem; margin: 0.2rem 0 1rem; }
.hero h1 { color: #fff; font-size: 2rem; margin: 0.1rem 0 0.6rem; }
.hero .eyebrow { margin: 0; text-transform: uppercase; letter-spacing: 0.07em; font-size: 0.78rem; font-weight: 700; color: #ffd2b8; }
.hero-sub { margin: 0 0 0.9rem; font-size: 1.05rem; color: #eaf0f7; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.6rem; margin: 0 0 0.7rem; }
.hero-actions .button { flex: 1 1 11rem; }
.hero-fine { margin: 0; font-size: 0.9rem; color: #d3deec; }

/* controls */
input, select, textarea { border: 2px solid var(--edge); border-radius: 0.4rem; }
input:focus-visible, select:focus-visible, textarea:focus-visible, button:focus-visible, .button:focus-visible, a:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }
button, .button { background: var(--copper); border-color: var(--copper); border-radius: 0.4rem; letter-spacing: 0.01em; }
button:hover, .button:hover { background: #9c2f08; border-color: #9c2f08; }
a.button.quiet, button.quiet { background: #fff; color: var(--pine); border-color: var(--pine); }
.button.ghost { background: transparent; color: #fff; border-color: #fff; }
.button.ghost:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; }
.quote { background: var(--card); border: 1px solid var(--line); border-radius: 0.5rem; padding: 1rem; }
.chip { border-color: var(--edge); border-radius: 0.4rem; }
.pill { border-color: var(--pine); color: var(--pine); border-radius: 999px; }
.pill.on { background: var(--pine); border-color: var(--pine); color: #fff; }

/* lanes */
.lanes, .magnets { gap: 0.75rem; margin: 0.4rem 0 1.2rem; }
.lane, .lanes .lane { background: var(--card); border: 1px solid var(--line); border-top: 4px solid var(--pine); border-radius: 0.5rem; padding: 0.9rem 1rem; box-shadow: 0 1px 2px rgba(16, 24, 40, 0.06); }
.lane h2, .lane h3 { color: var(--pine); font-size: 1.2rem; margin: 0 0 0.3rem; }
.lanes .lane p { font-size: 0.98rem; color: var(--steel); margin: 0 0 0.7rem; }
.lanes .lane:first-child { background: var(--pine); border-color: var(--pine); border-top-color: var(--copper); }
.lanes .lane:first-child h2 { color: #fff; }
.lanes .lane:first-child p { color: #dbe5f1; }
@media (min-width: 40rem) { .lanes { grid-template-columns: repeat(3, 1fr); } .lanes .lane { display: flex; flex-direction: column; } .lanes .lane p { flex: 1; } }

/* experience */
.experience { background: var(--card); border: 1px solid var(--line); border-left: 5px solid var(--copper); border-radius: 0.5rem; padding: 0.9rem 1rem 1rem; margin: 0 0 1.2rem; }
.experience h2 { margin-top: 0.1rem; }
.xp-grid, .creds { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.6rem; }
.xp { display: grid; border-left: 3px solid var(--pine); padding: 0.1rem 0 0.1rem 0.7rem; }
.xp strong { color: var(--ink); font-size: 1.02rem; }
.xp span { color: var(--steel); font-size: 0.95rem; }
.creds { grid-template-columns: 1fr; gap: 0.4rem; margin-bottom: 0.5rem; }
.creds li { background: #eaf0f7; color: var(--pine); border-radius: 0.35rem; padding: 0.4rem 0.65rem; font-weight: 600; font-size: 0.97rem; }
@media (min-width: 40rem) {
  .xp-grid { grid-template-columns: repeat(3, 1fr); gap: 0.9rem; }
  .creds { grid-template-columns: repeat(2, 1fr); }
}

/* tables and lists */
.top-links li { border-bottom-color: var(--line); }
.trip-line, .bundle { background: var(--card); border-color: var(--line); border-radius: 0.5rem; }
table.sheet { background: var(--card); border: 1px solid var(--line); }
table.sheet th { background: #e6ecf3; color: var(--pine); }
table.sheet th, table.sheet td { border-bottom-color: var(--line); }
@media (max-width: 700px) { table.sheet tr { border-color: var(--line); border-radius: 0.5rem; } }
.lede { color: var(--steel); }

/* footer and dock */
.site-footer { background: var(--pine-2); color: #d3deec; padding: 1.2rem 1rem 1.4rem; margin-top: 1rem; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0.25rem 0; }
.dock { background: var(--pine-2); }
.dock a:last-child { background: var(--copper); }
