/* Model Communicator — landing page */

:root {
  --ink: #16181d;
  --ink-soft: #4d545f;
  --ink-faint: #8b939f;
  --paper: #ffffff;
  --paper-2: #f5f6f8;
  --line: #e3e6ea;

  /* Fitzgerald-style tile colors */
  --c-pronoun: #ffd23f;
  --c-verb:    #46c07a;
  --c-desc:    #4aa8f0;
  --c-noun:    #ff9f45;
  --c-social:  #f57ec0;
  --c-neg:     #ff6b6b;

  --radius: 14px;
  --shell: 1120px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f2f4f7;
    --ink-soft: #a8b0bd;
    --ink-faint: #6f7784;
    --paper: #101216;
    --paper-2: #171a20;
    --line: #262b33;
  }
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: ui-sans-serif, -apple-system, "Segoe UI", Inter, Roboto, Helvetica, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3 { line-height: 1.12; letter-spacing: -0.025em; margin: 0; }
p { margin: 0; }
a { color: inherit; }

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--paper) 82%, transparent);
  backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--line);
}

.wordmark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 650;
  font-size: 16px;
  letter-spacing: -0.02em;
  text-decoration: none;
}

.mark {
  width: 20px; height: 20px;
  border-radius: 6px;
  background:
    linear-gradient(135deg, var(--c-pronoun) 0 50%, var(--c-verb) 50% 100%);
  box-shadow: 0 0 0 1px rgba(0,0,0,.06) inset;
}

.nav { display: flex; align-items: center; gap: 26px; }
.nav a { text-decoration: none; font-size: 15px; color: var(--ink-soft); }
.nav a:hover { color: var(--ink); }

@media (max-width: 720px) {
  .nav a { display: none; }
}

/* ---------- coming-soon pill ---------- */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 15px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper-2);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: -0.005em;
  white-space: nowrap;
}
.pill::before {
  content: "";
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--c-verb);
}

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

.hero {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px 28px 56px;
  text-align: center;
}

.eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--line);
  margin-bottom: 26px;
}

.hero h1 {
  font-size: clamp(2.6rem, 7vw, 4.6rem);
  font-weight: 700;
  margin-bottom: 22px;
}

.lede {
  max-width: 620px;
  margin: 0 auto;
  font-size: clamp(1.05rem, 2vw, 1.2rem);
  color: var(--ink-soft);
}

/* ---------- tile wall ---------- */

.wall {
  position: relative;
  padding: 26px 0 30px;
  overflow: hidden;
  -webkit-user-select: none;
  user-select: none;
}

.row { display: flex; overflow: hidden; }
.row + .row { margin-top: 12px; }

.track {
  display: flex;
  gap: 12px;
  padding-right: 12px;
  flex: 0 0 auto;
  will-change: transform;
}

.row-left  .track { animation: slide-left  46s linear infinite; }
.row-right .track { animation: slide-right 46s linear infinite; }

/* stagger so columns never line up into a grid */
.row:nth-child(4) .track { animation-duration: 58s; }
.row:nth-child(5) .track { animation-duration: 38s; }
.row:nth-child(6) .track { animation-duration: 52s; }

@keyframes slide-left {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@keyframes slide-right {
  from { transform: translateX(-50%); }
  to   { transform: translateX(0); }
}

.tile {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  min-width: 132px;
  height: 92px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-size: 1.28rem;
  font-weight: 650;
  letter-spacing: -0.015em;
  color: #16181d;
  box-shadow: 0 1px 2px rgba(16,18,22,.10), 0 8px 18px -12px rgba(16,18,22,.35);
  border: 1px solid rgba(0,0,0,.07);
}

@media (max-width: 640px) {
  .tile { min-width: 100px; height: 74px; font-size: 1.08rem; }
}

.c-pronoun { background: var(--c-pronoun); }
.c-verb    { background: var(--c-verb); }
.c-desc    { background: var(--c-desc); }
.c-noun    { background: var(--c-noun); }
.c-social  { background: var(--c-social); }
.c-neg     { background: var(--c-neg); }

.wall-fade {
  position: absolute;
  top: 0; bottom: 0;
  width: 14vw;
  max-width: 180px;
  z-index: 2;
  pointer-events: none;
}
.wall-fade-l { left: 0;  background: linear-gradient(to right, var(--paper), transparent); }
.wall-fade-r { right: 0; background: linear-gradient(to left,  var(--paper), transparent); }

/* ---------- legend ---------- */

.legend {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 26px;
  padding: 8px 28px 8px;
  font-size: 14px;
  color: var(--ink-soft);
}
.key { display: inline-flex; align-items: center; gap: 8px; }
.key i {
  width: 12px; height: 12px;
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,.08);
}

/* ---------- sections ---------- */

.section {
  max-width: var(--shell);
  margin: 0 auto;
  padding: 96px 28px;
}

.section h2 {
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  font-weight: 700;
  max-width: 18ch;
}

.section-lede {
  margin-top: 18px;
  max-width: 58ch;
  font-size: 1.08rem;
  color: var(--ink-soft);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 18px;
  margin-top: 48px;
}

.card {
  padding: 28px;
  border-radius: 18px;
  background: var(--paper-2);
  border: 1px solid var(--line);
}
.card h3 { font-size: 1.15rem; font-weight: 650; margin-bottom: 10px; }
.card p { color: var(--ink-soft); font-size: .97rem; }

/* ---------- makers ---------- */

.makers { border-top: 1px solid var(--line); }

.maker-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 18px;
  margin-top: 44px;
}

.maker {
  padding: 32px;
  border-radius: 18px;
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
}
.maker::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 5px;
}
.maker:nth-child(1)::before { background: var(--c-desc); }
.maker:nth-child(2)::before { background: var(--c-social); }

.maker-badge {
  font-size: 12px;
  font-weight: 650;
  letter-spacing: .07em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-bottom: 14px;
}
.maker h3 { font-size: 1.5rem; font-weight: 700; }
.maker-role { font-size: .95rem; color: var(--ink-soft); margin: 6px 0 14px; font-weight: 550; }
.maker p:last-child { color: var(--ink-soft); font-size: .97rem; }

/* ---------- closer ---------- */

.closer {
  background: var(--ink);
  color: var(--paper);
  text-align: center;
  padding: 100px 28px;
}
.closer h2 {
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  font-weight: 700;
  max-width: 20ch;
  margin: 0 auto;
}
.closer p {
  margin: 18px auto 0;
  max-width: 46ch;
  opacity: .72;
}

/* ---------- footer ---------- */

.site-footer {
  padding: 40px 28px 56px;
  text-align: center;
  font-size: 14px;
  color: var(--ink-soft);
}
.site-footer .quiet { color: var(--ink-faint); margin-top: 6px; font-size: 13px; }

/* ---------- motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .row-left .track,
  .row-right .track { animation: none; }
  .row { overflow-x: auto; }
}
