/* Alicom — alicom.ai
   Palette lifted from the capability statement PDF so the site and the
   handout read as one identity. No external requests: system fonts only. */

:root {
  --navy:       #0B3D91;
  --navy-deep:  #082C6B;
  --navy-text:  #0B3D91;
  --red:        #B0261D;
  --bg:         #ffffff;
  --panel:      #eef2f8;
  --ink:        #222222;
  --muted:      #5a5a5a;
  --rule:       #d6deea;

  --font-sans: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI",
               Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  --wrap: 1120px;
  --gap: 56px;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg:        #0d1117;
    --panel:     #151c29;
    --ink:       #e6eaf2;
    --muted:     #9aa6bc;
    --rule:      #263141;
    --navy:      #1c4fae;
    --navy-text: #8fb0f2;
    --red:       #e0827a;
  }
}

:root[data-theme="dark"] {
  --bg:        #0d1117;
  --panel:     #151c29;
  --ink:       #e6eaf2;
  --muted:     #9aa6bc;
  --rule:      #263141;
  --navy:      #1c4fae;
  --navy-text: #8fb0f2;
  --red:       #e0827a;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 16.5px;
  line-height: 1.62;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

a { color: var(--navy-text); }
a:focus-visible,
button:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 2px; }

.skip {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: saturate(150%) blur(10px);
  border-bottom: 1px solid var(--rule);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 68px;
}

.brand { display: flex; align-items: baseline; gap: 12px; text-decoration: none; }

.wordmark {
  font-size: 22px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--navy-text); line-height: 1;
}

.brand-sub {
  font-size: 11.5px; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--red); font-weight: 600;
}

.nav { display: flex; gap: 26px; }

.nav a {
  font-size: 13px; letter-spacing: 0.055em; text-transform: uppercase;
  font-weight: 600; color: var(--muted); text-decoration: none;
  padding: 4px 0; border-bottom: 2px solid transparent;
}
.nav a:hover { color: var(--navy-text); border-bottom-color: var(--red); }

/* ---------- hero ---------- */

.hero { padding: 64px 0 52px; border-bottom: 1px solid var(--rule); }

.eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--red); margin: 0 0 18px;
}

.hero h1 {
  margin: 0 0 20px;
  font-size: clamp(30px, 4.4vw, 48px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  font-weight: 750;
  color: var(--navy-text);
  max-width: 19ch;
}

.hero .lede {
  margin: 0 0 30px; max-width: 62ch;
  font-size: clamp(17px, 1.6vw, 19.5px); line-height: 1.55; color: var(--ink);
}

.tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 32px; padding: 0; list-style: none; }

.tags li {
  font-size: 12.5px; font-weight: 600; letter-spacing: 0.03em;
  color: var(--navy-text); background: var(--panel);
  border: 1px solid var(--rule); border-radius: 999px; padding: 5px 13px;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }

.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font-size: 15px; font-weight: 650; text-decoration: none;
  padding: 12px 22px; border-radius: 4px; border: 1.5px solid var(--navy);
  transition: background .15s ease, color .15s ease;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-deep); border-color: var(--navy-deep); }
.btn-ghost { color: var(--navy-text); background: transparent; }
.btn-ghost:hover { background: var(--panel); }

/* ---------- layout ---------- */

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 60px;
  padding: var(--gap) 0 0;
  align-items: start;
}

section { margin: 0 0 46px; }

.sec-head {
  display: flex; align-items: center; gap: 14px;
  margin: 0 0 20px; padding: 0 0 10px;
  border-bottom: 1px solid var(--rule);
}

.sec-head h2 {
  margin: 0;
  font-size: 13px; font-weight: 750; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--navy-text);
}

.sec-head::before {
  content: ""; flex: none;
  width: 4px; height: 18px; background: var(--red); border-radius: 1px;
}

p { margin: 0 0 16px; }
p:last-child { margin-bottom: 0; }

.prose { max-width: 70ch; }

/* ---------- capabilities ---------- */

.cap-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1px; background: var(--rule);
  border: 1px solid var(--rule); border-radius: 4px; overflow: hidden;
}

.cap {
  background: var(--bg); padding: 22px 22px 24px;
}

.cap h3 {
  margin: 0 0 8px; font-size: 15px; font-weight: 700;
  color: var(--navy-text); line-height: 1.3;
}

.cap p { margin: 0; font-size: 14.5px; line-height: 1.55; color: var(--muted); }

/* ---------- checklist ---------- */

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

.checklist li {
  position: relative; padding-left: 26px; max-width: 72ch; font-size: 15.5px;
}

.checklist li::before {
  content: ""; position: absolute; left: 0; top: 9px;
  width: 9px; height: 9px; border-radius: 1px;
  background: var(--red);
}

/* ---------- experience ---------- */

.disclosure {
  background: var(--panel); border-left: 3px solid var(--navy);
  padding: 14px 18px; margin: 0 0 24px; font-size: 15px; color: var(--ink);
  border-radius: 0 4px 4px 0;
}

.timeline { list-style: none; margin: 0; padding: 0 0 0 22px; border-left: 2px solid var(--rule); display: grid; gap: 28px; }

.timeline > li { position: relative; }

.timeline > li::before {
  content: ""; position: absolute; left: -29px; top: 7px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--bg); border: 2.5px solid var(--navy);
}

.role { margin: 0 0 3px; font-size: 16px; font-weight: 700; color: var(--navy-text); }

.period {
  display: block; margin: 0 0 8px;
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.02em;
  color: var(--red); font-weight: 600;
}

.timeline p { margin: 0; font-size: 15px; color: var(--muted); max-width: 66ch; }

/* ---------- right rail ---------- */

.rail { display: grid; gap: 24px; position: sticky; top: 92px; }

.card {
  background: var(--panel);
  border: 1px solid var(--rule);
  border-radius: 5px;
  padding: 22px;
}

.card > .sec-head { border-bottom-color: color-mix(in srgb, var(--navy) 22%, transparent); }

.data { margin: 0; font-size: 14px; }
.data div { padding: 9px 0; border-bottom: 1px dotted var(--rule); }
.data div:last-child { border-bottom: 0; padding-bottom: 0; }
.data dt {
  font-size: 11px; font-weight: 700; letter-spacing: 0.09em;
  text-transform: uppercase; color: var(--muted); margin: 0 0 3px;
}
.data dd { margin: 0; color: var(--ink); line-height: 1.45; }
.data .code { font-family: var(--font-mono); font-size: 13.5px; color: var(--navy-text); font-weight: 600; }
.pending { color: var(--red); font-style: italic; }

.rail ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 13px; }
.rail ul li { font-size: 14.2px; line-height: 1.5; padding-left: 16px; position: relative; color: var(--ink); }
.rail ul li::before {
  content: ""; position: absolute; left: 0; top: 8px;
  width: 6px; height: 6px; background: var(--red); border-radius: 50%;
}

.cred-block + .cred-block { margin-top: 16px; }
.cred-block h3 {
  margin: 0 0 5px; font-size: 11px; font-weight: 700;
  letter-spacing: 0.09em; text-transform: uppercase; color: var(--muted);
}
.cred-block p { margin: 0; font-size: 14.2px; line-height: 1.5; }

/* ---------- contact ---------- */

.contact { border-top: 3px solid var(--navy); margin-top: 20px; padding: 48px 0 0; }

.contact h2 {
  margin: 0 0 10px; font-size: clamp(24px, 3vw, 32px);
  color: var(--navy-text); letter-spacing: -0.015em;
}

.contact-lines { display: grid; gap: 6px; margin: 0 0 8px; font-size: 17px; }
.contact-lines a { font-weight: 650; text-decoration: none; }
.contact-lines a:hover { text-decoration: underline; }

.site-footer {
  margin-top: 56px; padding: 22px 0 40px;
  border-top: 1px solid var(--rule);
  font-size: 13px; color: var(--muted);
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
}

/* ---------- responsive ---------- */

@media (max-width: 940px) {
  :root { --gap: 40px; }
  .layout { grid-template-columns: 1fr; gap: 40px; }
  .rail { position: static; }
  .nav { display: none; }
  .hero { padding: 44px 0 38px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .brand { flex-direction: column; gap: 3px; align-items: flex-start; }
  .header-inner { min-height: 62px; }
  .cta-row .btn { width: 100%; justify-content: center; }
  .cap { padding: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* ---------- print ---------- */

@media print {
  :root { --bg: #fff; --ink: #000; --muted: #333; --panel: #f4f6fa; }
  .site-header, .cta-row, .skip { display: none; }
  body { font-size: 10.5pt; line-height: 1.4; }
  .layout { grid-template-columns: 1fr 260px; gap: 28px; padding-top: 18px; }
  .rail { position: static; }
  section { margin-bottom: 20px; break-inside: avoid; }
  .cap, .timeline > li, .card { break-inside: avoid; }
  a { color: #000; text-decoration: none; }
  .contact { padding-top: 22px; }
}
