/* Twin Cities Offline
   Colors: typewriter, ink and paper. */

@font-face { font-family: "Bricolage Grotesque"; src: url("/fonts/bricolage-grotesque.woff2") format("woff2"); font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Archivo"; src: url("/fonts/archivo-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "IBM Plex Mono"; src: url("/fonts/ibm-plex-mono-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Special Elite"; src: url("/fonts/special-elite-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }

:root {
  --bond-paper: #F2EDE3;   /* the page */
  --fresh-sheet: #FBF8F1;  /* cards, the typed note */
  --ribbon-black: #1C1A17; /* text, rules, buttons */
  --ribbon-red: #A12E1D;   /* one accent per section, on paper only */
  --pen-ink: #23395D;      /* links, second accent */
  --graphite: #57534B;     /* small print */
  --rule: #C9BFAE;         /* thin lines */
  --sheet-edge: #D8CFBF;

  --display: "Bricolage Grotesque", Georgia, sans-serif;
  --label: "Archivo", system-ui, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, monospace;
  --typed: "American Typewriter", "Special Elite", "Courier New", monospace;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--bond-paper);
  color: var(--ribbon-black);
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.5;
}

a { color: var(--ribbon-red); text-underline-offset: 3px; }
a:hover { color: var(--ribbon-black); }
p { margin: 0; }
h1, h2, h3 { margin: 0; font-weight: 800; }
h2 { font-size: 40px; letter-spacing: -0.02em; line-height: 1.05; }

/* the two-color typewriter ribbon across the top */
.ribbon { height: 11px; background: linear-gradient(var(--ribbon-black) 0 6px, var(--ribbon-red) 6px 11px); }

.page {
  max-width: 1120px;
  margin: 0 auto;
  padding: 56px 24px 72px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.eyebrow {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ribbon-red);
}
.eyebrow-ink { color: var(--pen-ink); }
.eyebrow-light { color: #D9C597; }

/* top */
.top { display: flex; flex-direction: column; gap: 16px; }
.top h1 { font-size: clamp(54px, 11vw, 96px); line-height: 0.95; letter-spacing: -0.03em; }
.intro { font-size: 24px; line-height: 1.4; color: var(--graphite); max-width: 680px; }

.pills { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 8px; }
.pill {
  font-family: var(--label);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--ribbon-black);
  border: 2px solid var(--ribbon-black);
  border-radius: 999px;
  padding: 12px 20px;
}
.pill:hover { background: var(--ribbon-black); color: var(--bond-paper); }
.pill-solid { background: var(--ribbon-black); color: var(--bond-paper); }
.pill-solid:hover { background: var(--ribbon-red); border-color: var(--ribbon-red); }
.pill-ink { color: var(--pen-ink); border-color: var(--pen-ink); align-self: flex-start; }
.pill-ink:hover { background: var(--pen-ink); color: var(--bond-paper); }

/* next cohort */
.cohort {
  background: var(--ribbon-black);
  color: var(--bond-paper);
  border-radius: 14px;
  padding: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  align-items: center;
}
.cohort-text { flex: 2 1 420px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cohort h2 { font-size: clamp(34px, 5vw, 48px); line-height: 1; }
.cohort a { color: var(--bond-paper); }
.cohort .pill { flex: 0 0 auto; background: var(--bond-paper); color: var(--ribbon-black); border-color: var(--bond-paper); padding: 18px 28px; font-size: 15px; text-decoration: none; }
.cohort .pill:hover { background: #D9C597; border-color: #D9C597; }

/* how it works */
.how { display: flex; flex-direction: column; gap: 24px; }
.ruled { border-bottom: 3px solid var(--ribbon-black); padding-bottom: 12px; }
.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 28px;
  counter-reset: step;
}
.steps li { display: flex; flex-direction: column; gap: 8px; counter-increment: step; }
.steps li::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--typed);
  font-size: 44px;
  line-height: 1;
  color: var(--ribbon-red);
}
.steps h3 { font-size: 24px; }
.steps .step-body { font-size: 18px; line-height: 1.45; color: var(--graphite); }

/* calendar + side cards */
.split { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.calendar { flex: 999 1 560px; min-width: 0; }
.calendar-head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; flex-wrap: wrap; }
.calendar-note { font-family: var(--mono); font-size: 14px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.events { list-style: none; margin: 0; padding: 0; }
.event {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--rule);
  align-items: baseline;
}
.event-when { flex: 0 0 130px; font-family: var(--mono); font-weight: 600; font-size: 17px; line-height: 1.3; text-transform: uppercase; }
.event-when span { display: block; font-weight: 400; color: var(--graphite); }
.event-what { flex: 1 1 300px; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.event-name { font-size: 24px; font-weight: 800; line-height: 1.2; }
.event-place { font-size: 18px; color: var(--graphite); }
.event-tag {
  font-family: var(--label);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ribbon-red);
  border: 1.5px solid var(--ribbon-red);
  border-radius: 6px;
  padding: 5px 9px;
}
.calendar-links { margin-top: 20px; font-size: 18px; }

.side { flex: 1 1 320px; min-width: 0; display: flex; flex-direction: column; gap: 24px; }
.card {
  background: var(--fresh-sheet);
  border-radius: 14px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  box-shadow: 0 1px 0 var(--rule);
}
.card h3 { font-size: 28px; line-height: 1.1; }
.card-body { font-size: 19px; line-height: 1.45; }
.signup { display: flex; flex-direction: column; gap: 14px; }
.signup label { font-family: var(--label); font-weight: 800; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--graphite); }
.signup input {
  font: inherit;
  font-size: 18px;
  padding: 14px 16px;
  border: 2px solid var(--ribbon-black);
  border-radius: 6px;
  background: var(--bond-paper);
  color: var(--ribbon-black);
}
.signup button {
  font-family: var(--label);
  font-weight: 800;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bond-paper);
  background: var(--ribbon-black);
  border: 0;
  padding: 16px;
  border-radius: 999px;
  cursor: pointer;
}
.signup button:hover { background: var(--ribbon-red); }
.soon { font-size: 18px; color: var(--graphite); }

/* the typed note */
.note, .why { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; }
.note h2, .why h2 { flex: 1 1 260px; }
.sheet {
  flex: 2 1 480px;
  min-width: 0;
  background: var(--fresh-sheet);
  border: 1px solid var(--sheet-edge);
  box-shadow: 0 4px 14px rgba(28, 26, 23, 0.15);
  padding: 44px 48px;
  transform: rotate(-0.8deg);
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.typed { font-family: var(--typed); font-size: 20px; line-height: 1.7; }

.why { border-top: 3px solid var(--ribbon-black); padding-top: 32px; }
.why-text { flex: 2 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 16px; }

.foot {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-family: var(--mono);
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--graphite);
  border-top: 1px solid var(--rule);
  padding-top: 20px;
}

@media (max-width: 600px) {
  .page { padding: 40px 16px 56px; gap: 48px; }
  .cohort { padding: 28px 22px; }
  .sheet { padding: 28px 24px; transform: rotate(-0.5deg); }
  h2 { font-size: 34px; }
}

/* ---- Coming soon: the sign over the blurred page ---- */
.is-soon { overflow: hidden; }
.is-soon .page, .is-soon .ribbon { filter: blur(7px); pointer-events: none; user-select: none; }

.soon-cover {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  overflow-y: auto;
  background: rgba(242, 237, 227, 0.35);
}
.sign {
  position: relative;
  width: 100%;
  max-width: 540px;
  margin: auto;
  background: var(--fresh-sheet);
  border: 1px solid var(--sheet-edge);
  box-shadow: 0 2px 4px rgba(28, 26, 23, 0.1), 0 14px 36px rgba(28, 26, 23, 0.22);
  padding: 48px 44px 36px;
  transform: rotate(-1.2deg);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.tape {
  position: absolute;
  top: -13px;
  width: 104px;
  height: 28px;
  background: rgba(236, 226, 196, 0.88);
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.08);
}
.tape-left { left: -22px; transform: rotate(-32deg); }
.tape-right { right: -22px; transform: rotate(28deg); }
.sign-title { font-size: clamp(42px, 9vw, 60px); font-weight: 800; line-height: 0.95; letter-spacing: -0.03em; }
.sign-text { display: flex; flex-direction: column; gap: 12px; font-size: 20px; line-height: 1.5; }
.sign-text h2 {
  font-family: var(--typed);
  font-weight: 400;
  font-size: 30px;
  letter-spacing: 0.02em;
  color: var(--ribbon-red);
}
.sign-text a { font-weight: 800; }

.team { margin-top: 18px; padding-top: 18px; border-top: 1px dashed var(--rule); display: flex; flex-direction: column; gap: 8px; }
.team label { font-family: var(--mono); font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--graphite); }
.team-row { display: flex; flex-wrap: wrap; gap: 8px; }
.team input {
  flex: 1 1 180px;
  min-width: 0;
  font: inherit;
  font-size: 18px;
  padding: 10px 12px;
  border: 2px solid var(--ribbon-black);
  border-radius: 6px;
  background: var(--bond-paper);
  color: var(--ribbon-black);
}
.team button {
  font-family: var(--label);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--bond-paper);
  background: var(--ribbon-black);
  border: 0;
  border-radius: 999px;
  padding: 10px 20px;
  cursor: pointer;
}
.team button:hover { background: var(--ribbon-red); }
.team-wrong { font-size: 17px; color: var(--ribbon-red); }

@media (max-width: 600px) {
  .sign { padding: 40px 24px 28px; transform: rotate(-0.8deg); }
}
