/* Take 03 — monochrome of gofest-2026/design.md
 * Keep: bento 7/5, typed lockup right, 40px radius, hatch, Gradual/Raleway stance
 * Drop: yellow paper, magenta, mint, lilac, coral
 */

@font-face {
  font-family: "Gradual";
  src: url("../../../content/screens/gofest-2026/screen-3-hero/assets/CCBGradual-ExtraBold.woff2")
    format("woff2");
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

:root {
  --paper: #f3f1ec;
  --paper-2: #e8e4dc;
  --ink: #101010;
  --ink-2: #5c5a56;
  --rule: #232323;
  --radius: 40px;
  --radius-pill: 999px;
  --font-display: "Gradual", "Raleway", sans-serif;
  --font-body: "Raleway", sans-serif;
  --page-gutter: clamp(1.25rem, 4vw, 3rem);
  --hero-h: min(62vh, 640px);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  min-height: 100%;
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  line-height: 1.45;
  overflow-x: clip;
  background-color: var(--paper);
  background-image: repeating-linear-gradient(
    -45deg,
    transparent 0 10px,
    rgba(16, 16, 16, 0.045) 10px 11px
  );
}

iframe {
  border: 0;
  width: 100%;
  height: 100%;
  display: block;
}

a {
  color: var(--ink);
  text-underline-offset: 0.18em;
}

a:hover {
  opacity: 0.55;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.mast {
  padding: 1.75rem var(--page-gutter) 1.25rem;
}

.mast-eyebrow {
  margin: 0 0 0.4rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.mast-headline {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.6rem, 3.2vw, 2.35rem);
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

/* 7/5 + negative-space gutter (design.md H2 knobs) */
.hero {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(1.5rem, 4vw, 3.25rem);
  align-items: stretch;
  padding: 0 var(--page-gutter);
  min-height: var(--hero-h);
}

.tile {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--ink);
}

.hero-media {
  min-width: 0;
  height: var(--hero-h);
  max-height: var(--hero-h);
  animation: snap 0.55s var(--ease) both;
}

.lockup {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.7rem;
  animation: snap 0.55s var(--ease) 0.08s both;
}

.edition {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.dates {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4.6vw, 3.6rem);
  line-height: 0.88;
  letter-spacing: -0.04em;
  text-transform: uppercase;
}

.venue {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1rem, 1.8vw, 1.35rem);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slogan {
  margin: 0;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.go-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0.35rem 0 0.5rem;
}

.pill {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 28px;
  line-height: 1;
}

.pill-ready {
  font-size: 0.82rem;
  padding: 0.7rem 1.1rem;
  border: 1.5px solid var(--ink);
  background: transparent;
  color: var(--ink);
}

.pill-go {
  font-size: 1.55rem;
  letter-spacing: -0.03em;
  padding: 0.45rem 1.15rem 0.55rem;
  background: var(--ink);
  color: var(--paper);
}

.chat {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  min-height: 11rem;
  max-height: 42%;
  background: var(--paper);
  border: 1.5px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
}

.chat-label {
  margin: 0;
  padding: 0.55rem 0.9rem 0;
  font-family: var(--font-display);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.chat-log {
  flex: 1;
  overflow: auto;
  padding: 0.45rem 0.9rem 0.5rem;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--ink-2);
}

.line {
  margin: 0 0 0.4rem;
}

.line.you {
  color: var(--ink);
  font-weight: 700;
}

.line.echo {
  color: var(--ink);
}

.chat-form {
  display: flex;
  gap: 0.4rem;
  padding: 0.55rem 0.75rem 0.7rem;
  border-top: 1px solid rgba(16, 16, 16, 0.12);
}

.chat-form input {
  flex: 1;
  min-width: 0;
  border: 0;
  background: transparent;
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--ink);
}

.chat-form input:focus {
  outline: none;
}

.chat-form button {
  border: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.68rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  padding: 0.45rem 0.85rem;
  cursor: pointer;
}

.deck {
  min-height: min(36vh, 16rem);
  padding: 2.75rem var(--page-gutter) 3.5rem;
}

.deck-kicker {
  margin: 0 0 0.4rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
}

.deck-title {
  margin: 0 0 0.65rem;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(1.4rem, 2.4vw, 1.85rem);
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.deck-body,
.deck-invite {
  margin: 0 0 0.85rem;
  max-width: 58ch;
  color: var(--ink-2);
}

.foot {
  padding: 0 var(--page-gutter) 2.25rem;
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  color: var(--ink-2);
  max-width: 72ch;
}

@keyframes snap {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 39.99rem) {
  :root {
    --hero-h: min(46vh, 400px);
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-media {
    height: min(46vh, 400px);
  }
  .chat {
    max-height: none;
    min-height: 12rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-media,
  .lockup {
    animation: fade 0.15s linear both;
  }
  @keyframes fade {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
}
