/* ============================================================
   AI Innovators — Long Beach City College
   Shared stylesheet. Edit tokens below to restyle the whole site.

   Palette follows LBCC brand guidelines: PMS 485 red, process
   black, white. Hex values below are the standard PMS 485
   conversion — confirm against the official brand PDF at
   lbcc.edu/branding-style-guides before launch.
   ============================================================ */

:root {
  /* Brand */
  --red:        #DA291C;   /* PMS 485 — fills, rules, large display accents */
  --red-deep:   #A81E10;   /* small text and links on white (7.3:1) */
  --red-bright: #FF6B57;   /* accents on black surfaces (6.2:1) */
  --ink:        #111111;   /* process black */
  --ink-800:    #1A1A1A;
  --ink-600:    #5A5350;   /* muted text on white (7.5:1) */
  --ink-400:    #8C8582;
  --paper:      #F7F5F4;
  --paper-2:    #FFFFFF;
  --on-dark:    #E8E4E2;   /* body text on black (15:1) */
  --rule:       rgba(17, 17, 17, 0.14);
  --rule-light: rgba(255, 255, 255, 0.18);

  /* Type */
  --display: "Bricolage Grotesque", "Trebuchet MS", sans-serif;
  --body:    "Public Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono:    "IBM Plex Mono", ui-monospace, "Courier New", monospace;

  /* Scale */
  --step--1: clamp(0.83rem, 0.80rem + 0.15vw, 0.92rem);
  --step-0:  clamp(1.00rem, 0.96rem + 0.20vw, 1.10rem);
  --step-1:  clamp(1.20rem, 1.12rem + 0.40vw, 1.44rem);
  --step-2:  clamp(1.50rem, 1.35rem + 0.75vw, 2.00rem);
  --step-3:  clamp(1.90rem, 1.60rem + 1.50vw, 2.90rem);
  --step-4:  clamp(2.40rem, 1.80rem + 3.00vw, 4.30rem);

  --wrap: 1120px;
  --gutter: clamp(1.25rem, 4vw, 3rem);
  --radius: 4px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--body);
  font-size: var(--step-0);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
p { margin: 0 0 1em; max-width: 68ch; }
a { color: var(--red-deep); }
.section--dark a { color: var(--red-bright); }

/* ---------- Accessibility ---------- */
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 200;
  background: var(--red); color: #fff;
  padding: 0.75rem 1.25rem; font-weight: 700; text-decoration: none;
}
.skip:focus { left: 0; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; border-radius: 2px; }
.section--dark :focus-visible { outline-color: var(--red-bright); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}

/* ---------- Layout ---------- */
.wrap { width: min(var(--wrap), 100% - (var(--gutter) * 2)); margin-inline: auto; }
.section { padding-block: clamp(3rem, 7vw, 5.5rem); }
.section--tight { padding-block: clamp(2rem, 4vw, 3rem); }
.section--dark { background: var(--ink); color: var(--on-dark); }
.section--dark h2, .section--dark h3 { color: #fff; }
.section--paper { background: var(--paper-2); }

.eyebrow {
  font-family: var(--mono); font-size: var(--step--1);
  letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--red-deep); margin: 0 0 1rem;
  display: flex; align-items: center; gap: 0.75rem;
}
.eyebrow::after { content: ""; flex: 1; height: 1px; background: var(--rule); }
.section--dark .eyebrow { color: var(--red-bright); }
.section--dark .eyebrow::after { background: var(--rule-light); }

.lede { font-size: var(--step-1); color: var(--ink-800); line-height: 1.45; }
.section--dark .lede { color: var(--on-dark); }
.muted { color: var(--ink-600); }
.section--dark .muted { color: #B5AFAC; }
.small { font-size: var(--step--1); }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(8px);
  color: #fff;
  border-bottom: 3px solid var(--red);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding-block: 0.9rem;
}
.brand {
  display: flex; align-items: baseline; gap: 0.6rem;
  text-decoration: none; color: #fff;
  font-family: var(--display); font-weight: 800;
  font-size: 1.2rem; letter-spacing: -0.02em;
}
.brand-mark {
  font-family: var(--mono); font-size: 0.7rem; font-weight: 500;
  color: var(--red-bright); letter-spacing: 0.1em; text-transform: uppercase;
}
.nav-toggle {
  display: none; background: none; border: 1px solid var(--rule-light);
  color: inherit; font-family: var(--mono); font-size: 0.8rem;
  padding: 0.5rem 0.8rem; border-radius: var(--radius); cursor: pointer;
}
.nav-list { display: flex; align-items: center; gap: 0.3rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: block; text-decoration: none; padding: 0.5rem 0.65rem;
  font-size: 0.94rem; border-radius: var(--radius); color: #D8D3D1;
}
.nav-list a:hover { color: #fff; background: rgba(255,255,255,0.09); }
.nav-list a[aria-current="page"] { color: #fff; box-shadow: inset 0 -2px 0 var(--red); }
.nav-list .nav-cta {
  background: var(--red); color: #fff; font-weight: 700;
  padding: 0.55rem 1rem; margin-left: 0.4rem;
}
.nav-list .nav-cta:hover { background: #F03B2D; color: #fff; }

@media (max-width: 940px) {
  .nav-toggle { display: block; }
  .nav-list {
    display: none; position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--ink); padding: 0.5rem var(--gutter) 1.25rem;
    border-bottom: 3px solid var(--red);
  }
  .nav-list.is-open { display: flex; }
  .nav-list a { padding: 0.85rem 0.2rem; border-bottom: 1px solid var(--rule-light); }
  .nav-list .nav-cta { margin: 0.75rem 0 0; text-align: center; border-bottom: 0; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; text-decoration: none; cursor: pointer;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.5rem; border-radius: var(--radius);
  border: 2px solid transparent; transition: transform 0.12s ease, background 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--red); color: #fff; }
.btn--primary:hover { background: #F03B2D; color: #fff; }
.btn--ghost { border-color: currentColor; background: transparent; color: inherit; }
.btn--ghost:hover { background: rgba(17,17,17,0.06); }
.section--dark .btn--ghost:hover, .hero .btn--ghost:hover { background: rgba(255,255,255,0.12); }
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.75rem; }

/* ---------- Institutional lockup ----------
   Sits in a light band between the red rule and the black footer.
   Both marks are red AND black artwork on white: on a dark background
   the black elements disappear, so they stay on a light band and are
   never recolored, cropped, or knocked out. */
.lockup-band {
  background: var(--paper);
  border-top: 4px solid var(--red);
}
.lockup {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 1rem 2.25rem; padding-block: 1.5rem;
}
.lockup__logo { width: auto; display: block; }
.lockup__logo--lbcc { height: 64px; }
.lockup__logo--we   { height: 58px; }

.lockup__note {
  margin: 0; max-width: 38ch;
  font-size: 0.8rem; line-height: 1.45; color: var(--ink-600);
  border-left: 1px solid var(--rule); padding-left: 1.75rem;
}

@media (max-width: 700px) {
  .lockup { gap: 1.25rem 1.75rem; padding-block: 1.25rem; }
  .lockup__logo--lbcc { height: 52px; }
  .lockup__logo--we   { height: 47px; }
  .lockup__note { border-left: 0; padding-left: 0; max-width: none; }
}

/* ---------- Hero ---------- */
.hero {
  background: var(--ink); color: #fff;
  padding-block: clamp(2.5rem, 7vw, 5rem);
  position: relative; overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; inset: auto 0 0 0; height: 5px;
  background: linear-gradient(90deg, var(--red) 0 55%, #6E1409 55% 100%);
}
.hero-grid { display: grid; gap: clamp(2rem, 5vw, 3.5rem); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 950px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { font-size: var(--step-4); margin-bottom: 0.4em; color: #fff; }
.hero h1 em { font-style: normal; color: var(--red-bright); }
.hero .lede { max-width: 46ch; color: var(--on-dark); }
.hero-meta {
  font-family: var(--mono); font-size: var(--step--1);
  color: var(--red-bright); letter-spacing: 0.1em; text-transform: uppercase;
  margin-bottom: 1.25rem;
}

/* ---------- Signature: prompt panel ---------- */
.prompt-panel {
  background: #000; border: 1px solid rgba(255,255,255,0.16);
  border-radius: 8px; box-shadow: 0 24px 60px rgba(0,0,0,0.5); overflow: hidden;
}
.prompt-panel__bar {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.6rem 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--mono); font-size: 0.72rem;
  color: #A39D9A; letter-spacing: 0.08em; text-transform: uppercase;
}
.prompt-panel__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.prompt-panel__body { padding: 1.15rem 1.1rem 1.35rem; }
.prompt-label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--red-bright); margin-bottom: 0.55rem;
}
.prompt-line {
  font-family: var(--mono); font-size: 1.02rem; line-height: 1.6;
  color: #FFFFFF; min-height: 5.2em; margin: 0 0 1.25rem;
}
.caret {
  display: inline-block; width: 0.55em; height: 1.05em;
  background: var(--red-bright); vertical-align: -0.16em; margin-left: 2px;
  animation: blink 1.05s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.prompt-out { border-top: 1px dashed rgba(255,255,255,0.2); padding-top: 1rem; }
.prompt-out__label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; color: #fff; margin-bottom: 0.7rem;
}
.chip-row { display: flex; flex-wrap: wrap; gap: 0.4rem; margin: 0; padding: 0; list-style: none; }
.chip {
  font-family: var(--mono); font-size: 0.76rem;
  border: 1px solid rgba(255,255,255,0.3); border-radius: 999px;
  padding: 0.3rem 0.7rem; color: #E8E4E2;
}
.prompt-foot { margin: 1rem 0 0; font-size: 0.84rem; color: #B5AFAC; line-height: 1.5; }

/* ---------- Deadline bar + countdown ---------- */
.deadline-bar { background: var(--red); color: #fff; }
.deadline-bar .wrap {
  display: flex; flex-wrap: wrap; align-items: center;
  justify-content: space-between; gap: 1rem 2.5rem; padding-block: 1rem;
}
.deadline-bar__label {
  font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.12em;
  text-transform: uppercase; margin: 0 0 0.2rem; opacity: 0.92;
}
.deadline-bar__date { font-family: var(--display); font-weight: 800; font-size: var(--step-1); margin: 0; color: #fff; }
.deadline-bar .btn--ghost { border-color: #fff; color: #fff; }
.deadline-bar .btn--ghost:hover { background: rgba(255,255,255,0.18); }

.countdown {
  display: flex; margin: 0; padding: 0; list-style: none;
  flex: 1 1 320px;                 /* take the leftover width */
  justify-content: space-evenly;   /* and share it between the four units */
  max-width: 640px;                /* but don't sprawl on very wide screens */
  gap: 1rem;
}
.countdown li { text-align: center; min-width: 44px; }
.countdown b {
  display: block; font-family: var(--display); font-size: 1.75rem;
  font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums;
}
.countdown span {
  font-family: var(--mono); font-size: 0.6rem;
  letter-spacing: 0.12em; text-transform: uppercase; opacity: 0.9;
}
@media (max-width: 560px) {
  .countdown { flex-basis: 100%; justify-content: space-between; gap: 0.5rem; }
  .countdown b { font-size: 1.4rem; }
}

/* ---------- Key dates ---------- */
.dates { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 760px) { .dates { grid-template-columns: repeat(4, 1fr); } }
.date-step { background: var(--paper-2); padding: 1.35rem 1.25rem; }
.date-step__when { font-family: var(--display); font-weight: 800; font-size: var(--step-1); color: var(--red-deep); margin-bottom: 0.3rem; letter-spacing: -0.02em; }
.date-step__what { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.4rem; }
.date-step p { font-size: 0.9rem; color: var(--ink-600); margin: 0; }

/* ---------- Sequence ---------- */
.seq { display: grid; gap: 1px; background: var(--rule); border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; }
@media (min-width: 800px) { .seq { grid-template-columns: repeat(4, 1fr); } }
.seq-step { background: var(--paper-2); padding: 1.5rem 1.35rem; }
.seq-step__when { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 0.75rem; }
.seq-step__code { font-family: var(--display); font-size: var(--step-1); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 0.15rem; }
.seq-step__title { font-weight: 700; font-size: 0.95rem; margin-bottom: 0.6rem; }
.seq-step p { font-size: 0.92rem; color: var(--ink-600); margin: 0; }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 1.25rem; }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.card { background: var(--paper-2); border: 1px solid var(--rule); border-radius: var(--radius); padding: 1.5rem; }
.card h3 { font-size: var(--step-1); }
.card p:last-child { margin-bottom: 0; }
.card__key { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--red-deep); margin-bottom: 0.7rem; }
.section--dark .card { background: rgba(255,255,255,0.05); border-color: var(--rule-light); color: var(--on-dark); }
.section--dark .card__key { color: var(--red-bright); }

/* ---------- Facts ---------- */
.facts { display: grid; gap: 1px; background: var(--rule); border-block: 1px solid var(--rule); grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.fact { background: var(--paper); padding: 1.4rem 1.25rem; }
.fact dt { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-600); margin-bottom: 0.4rem; }
.fact dd { margin: 0; font-family: var(--display); font-weight: 700; font-size: var(--step-1); letter-spacing: -0.02em; }

/* ---------- Lists ---------- */
.ticks { list-style: none; margin: 0 0 1rem; padding: 0; }
.ticks li { position: relative; padding-left: 1.6rem; margin-bottom: 0.6rem; max-width: 66ch; }
.ticks li::before { content: "\2192"; position: absolute; left: 0; top: 0; font-family: var(--mono); color: var(--red); }

/* ---------- Callout ---------- */
.callout { border-left: 4px solid var(--red); background: var(--paper-2); padding: 1.25rem 1.4rem; border-radius: 0 var(--radius) var(--radius) 0; }
.callout p:last-child { margin-bottom: 0; }
.section--dark .callout { background: rgba(255,255,255,0.06); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--red); color: #fff; }
.cta-band h2 { color: #fff; font-size: var(--step-3); }
.cta-band .lede { color: #fff; }
.cta-band .btn--primary { background: #fff; color: var(--red-deep); }
.cta-band .btn--primary:hover { background: #FFF0EE; color: var(--red-deep); }
.cta-band .btn--ghost { border-color: #fff; color: #fff; }
.cta-band .btn--ghost:hover { background: rgba(255,255,255,0.18); }

/* ---------- Native form ---------- */
.form-card {
  background: var(--paper-2); border: 1px solid var(--rule);
  border-top: 4px solid var(--red); border-radius: var(--radius);
  padding: clamp(1.5rem, 4vw, 2.25rem); max-width: 720px;
}
.field { margin-bottom: 1.15rem; }
.field label { display: block; font-weight: 700; font-size: 0.95rem; margin-bottom: 0.35rem; }
.field .hint { display: block; font-size: 0.82rem; color: var(--ink-600); margin-bottom: 0.4rem; font-weight: 400; }
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field select,
.field textarea {
  width: 100%; font-family: var(--body); font-size: 1rem; color: var(--ink);
  padding: 0.7rem 0.8rem; border: 1.5px solid #C9C3C0;
  border-radius: var(--radius); background: #fff;
}
.field textarea { min-height: 96px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--red); }
.field-row { display: grid; gap: 1.15rem; grid-template-columns: 1fr; }
@media (min-width: 620px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; align-items: flex-start; gap: 0.55rem; margin-bottom: 0.5rem; font-size: 0.95rem; }
.choice input { margin-top: 0.3rem; flex: 0 0 auto; }
.req { color: var(--red-deep); font-weight: 700; }
.honey { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.form-status { margin-top: 1rem; padding: 0.9rem 1.1rem; border-radius: var(--radius); font-size: 0.95rem; display: none; }
.form-status.is-error { display: block; background: #FDECEA; border-left: 4px solid var(--red); color: #7A1409; }
.form-status.is-ok { display: block; background: #ECF6EE; border-left: 4px solid #2E7D4F; color: #1C5233; }
.is-hidden { display: none !important; }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 1.1rem 0; }
.faq summary {
  cursor: pointer; font-family: var(--display); font-weight: 700;
  font-size: var(--step-1); letter-spacing: -0.02em; list-style: none;
  display: flex; justify-content: space-between; gap: 1rem; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--red); }
.faq details[open] summary::after { content: "\2013"; }
.faq details > *:not(summary) { margin-top: 0.85rem; }

/* ---------- Table ---------- */
.table-wrap { overflow-x: auto; border: 1px solid var(--rule); border-radius: var(--radius); background: var(--paper-2); }
table { border-collapse: collapse; width: 100%; font-size: 0.95rem; }
th, td { text-align: left; padding: 0.85rem 1rem; border-bottom: 1px solid var(--rule); vertical-align: top; }
th { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-600); background: var(--paper); }
tbody tr:last-child td { border-bottom: 0; }

/* ---------- Notice ---------- */
.notice {
  background: #FFF6F5; border: 1px solid #F3C4BE; border-left: 4px solid var(--red);
  border-radius: var(--radius); padding: 1rem 1.25rem; margin-bottom: 1.75rem;
}
.notice p { margin: 0; font-size: 0.95rem; }

/* ---------- Team ---------- */
.person { display: flex; gap: 1rem; align-items: flex-start; }
.person__initials {
  flex: 0 0 auto; width: 52px; height: 52px; border-radius: 50%;
  background: var(--red); color: #fff; display: grid; place-items: center;
  font-family: var(--mono); font-weight: 600; font-size: 0.95rem;
}
.person__role { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-600); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #B5AFAC; padding-block: 0 2rem; font-size: 0.92rem; }
.footer-grid { display: grid; gap: 2rem; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); padding-block: 2.5rem 2rem; border-bottom: 1px solid var(--rule-light); }
.site-footer h2 { font-family: var(--mono); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--red-bright); margin-bottom: 0.9rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 0.45rem; }
.site-footer a { color: #D8D3D1; text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-legal { padding-top: 1.5rem; font-size: 0.82rem; color: #A39D9A; }
.footer-legal p { max-width: 80ch; margin-bottom: 0.6rem; }

/* ---------- Draft banner (remove before launch) ---------- */
.draft-flag {
  background: repeating-linear-gradient(45deg, #1A1A1A, #1A1A1A 12px, #262626 12px, #262626 24px);
  color: #FF8B7A; font-family: var(--mono); font-size: 0.75rem;
  text-align: center; padding: 0.5rem 1rem; letter-spacing: 0.04em;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .btn:hover { transform: none; }
}
