:root {
  --ink: #111;
  --cream: #faf4e4;
  --yellow: #ffd400;
  --red: #e01b24;
  --blue: #00b3e6;
  --font-display: 'Archivo Black', system-ui, sans-serif;
  --font-body: 'Space Grotesk', system-ui, sans-serif;
  --font-comic: 'Bangers', cursive;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--red);
  text-decoration: none;
}
a:hover { color: var(--ink); }

/* Hero */
.hero {
  min-height: 100vh;
  padding: clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--yellow);
  background-image: radial-gradient(circle at center, rgba(224, 27, 36, .35) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
}

.hero__grid {
  width: 100%;
  max-width: 1120px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

/* Intro column */
.intro {
  display: flex;
  flex-direction: column;
  gap: 22px;
  min-width: 0;
}

.badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: var(--ink);
  color: var(--yellow);
  border: 3px solid var(--ink);
  border-radius: 999px;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .18em;
  text-transform: uppercase;
}

.headline {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(46px, 9vw, 104px);
  line-height: .86;
  letter-spacing: -.02em;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 4px 4px 0 var(--ink), 8px 8px 0 var(--red);
}

.lede {
  margin: 0;
  max-width: 38ch;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  text-wrap: pretty;
}

.cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 18px 34px;
  background: var(--red);
  color: #fff;
  border: 4px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  text-transform: uppercase;
  letter-spacing: .02em;
  box-shadow: 8px 8px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease, background .12s ease, color .12s ease;
}
.cta {
  cursor: pointer;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.cta--loose {
  position: fixed;
  z-index: 50;
  margin: 0;
  transition: left .18s cubic-bezier(.2, 1.4, .4, 1), top .18s cubic-bezier(.2, 1.4, .4, 1);
}
.cta__arrow {
  font-size: 1.1em;
  line-height: 1;
}

.hotspot {
  position: absolute;
  left: 71%;
  top: 52%;
  width: 15%;
  height: 16%;
  cursor: default;
  background: transparent;
  outline: none;
  -webkit-tap-highlight-color: transparent;
}

/* Portrait column */
@keyframes popIn {
  0%   { transform: scale(.9) rotate(-3deg); opacity: 0; }
  100% { transform: scale(1) rotate(-2deg); opacity: 1; }
}

.portrait {
  margin: 0;
  min-width: 0;
  justify-self: center;
  animation: popIn .5s cubic-bezier(.2, 1.4, .4, 1) both;
}

.portrait__frame {
  position: relative;
  transform: rotate(-2deg);
  border: 6px solid var(--ink);
  border-radius: 6px;
  background: #fff;
  box-shadow: 16px 16px 0 var(--ink);
  overflow: hidden;
}
.portrait__frame img {
  display: block;
  width: 100%;
  height: auto;
}

.portrait__caption {
  margin-top: 18px;
  transform: rotate(-2deg);
  display: flex;
  justify-content: center;
}
.portrait__caption span {
  padding: 8px 18px;
  background: var(--blue);
  color: var(--ink);
  border: 4px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--font-comic);
  font-size: clamp(18px, 2vw, 26px);
  letter-spacing: .06em;
}

@media (prefers-reduced-motion: reduce) {
  .portrait { animation: none; }
  .cta, .cta--loose { transition: none; }
}

/* Login page */
.login {
  min-height: 100vh;
  padding: clamp(20px, 4vw, 56px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  background-image: radial-gradient(circle at center, rgba(17, 17, 17, .22) 1.6px, transparent 1.7px);
  background-size: 14px 14px;
}

.login__card {
  width: 100%;
  max-width: 440px;
  padding: clamp(24px, 4vw, 38px);
  background: var(--cream);
  border: 6px solid var(--ink);
  border-radius: 8px;
  box-shadow: 16px 16px 0 var(--ink);
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.login__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(32px, 5vw, 44px);
  line-height: .9;
  text-transform: uppercase;
  color: var(--red);
  text-shadow: 3px 3px 0 var(--ink);
}

.login__sub {
  margin: -8px 0 0;
  font-size: 15px;
  font-weight: 500;
  color: rgba(17, 17, 17, .7);
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  font: 700 11px/1 var(--font-body);
  letter-spacing: .16em;
  text-transform: uppercase;
}
.field input {
  font: 400 16px/1 var(--font-body);
  padding: 14px 16px;
  border: 3px solid var(--ink);
  border-radius: 4px;
  background: #fff;
  color: var(--ink);
  outline: none;
}
.field input:focus-visible {
  box-shadow: 0 0 0 3px var(--yellow);
}

.login__submit {
  margin-top: 4px;
  cursor: pointer;
  padding: 16px 28px;
  background: var(--yellow);
  color: var(--ink);
  border: 4px solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-display);
  font-size: 19px;
  text-transform: uppercase;
  box-shadow: 7px 7px 0 var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
}
.login__submit:hover,
.login__submit:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 2px 2px 0 var(--ink);
  outline: none;
}
.login__submit:active {
  transform: translate(7px, 7px);
  box-shadow: 0 0 0 var(--ink);
}

.login__back {
  align-self: center;
  font: 700 12px/1 var(--font-body);
  letter-spacing: .14em;
  text-transform: uppercase;
}
