:root {
  --paper: #f3f3f3;
  --ink: #151313;
  --red: #ed0000;
  --lime: #ecff45;
  --muted: #5e5c5c;
  --gap: 12px;
  --radius: 8px;
}

*,
*::before,
*::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Archivo", Arial, Helvetica, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; height: auto; }
h1, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; }
::selection { background: var(--lime); color: var(--ink); }

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.page {
  display: grid;
  grid-template-columns: minmax(340px, 42%) minmax(0, 1fr);
  min-height: 100vh;
  min-height: 100svh;
}

/* Colunas de fotos */

.reel {
  position: sticky;
  top: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--gap);
  height: 100vh;
  height: 100svh;
  padding-inline: var(--gap);
  overflow: hidden;
}

.reel__column { overflow: hidden; }

.reel__track li { padding-bottom: var(--gap); }

.reel__track img {
  width: 100%;
  border-radius: var(--radius);
  background: #dcdad6;
}

.reel.is-ready .reel__track {
  animation: var(--reel-animation) var(--duration, 80s) linear infinite;
  will-change: transform;
}

.reel__column--up { --reel-animation: reel-up; }
.reel__column--down { --reel-animation: reel-down; }

.reel.is-paused .reel__track { animation-play-state: paused; }

@keyframes reel-up {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(0, -50%, 0); }
}

@keyframes reel-down {
  from { transform: translate3d(0, -50%, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes reel-left {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-50%, 0, 0); }
}

@keyframes reel-right {
  from { transform: translate3d(-50%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.reel__pause {
  position: absolute;
  left: calc(var(--gap) * 2);
  bottom: calc(var(--gap) * 2);
  z-index: 2;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--paper);
  color: var(--ink);
  box-shadow: 0 0 0 1.5px rgba(21, 19, 19, 0.16);
  cursor: pointer;
}
.reel__pause svg { width: 18px; height: 18px; }
.reel__icon-play,
.reel.is-paused .reel__icon-pause { display: none; }
.reel.is-paused .reel__icon-play { display: block; }
.reel:not(.is-ready) .reel__pause { display: none; }

/* Painel de conteúdo */

.panel {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(24px, 3.4vw, 48px) clamp(24px, 6vw, 112px) clamp(20px, 2.6vw, 36px);
}

.panel__symbol {
  display: block;
  width: clamp(64px, 6vw, 92px);
  aspect-ratio: 640 / 560;
  background: var(--ink);
  -webkit-mask: var(--symbol-mask) center / contain no-repeat;
  mask: var(--symbol-mask) center / contain no-repeat;
}

.panel__body {
  margin-block: auto;
  padding-block: clamp(48px, 8vh, 96px);
}

.panel__title {
  max-width: 13ch;
  color: var(--red);
  font-size: clamp(2.4rem, 4.8vw, 4.75rem);
  font-stretch: 125%;
  font-weight: 800;
  line-height: 0.95;
  letter-spacing: -0.04em;
  text-wrap: balance;
}

.panel__lead {
  max-width: 46ch;
  margin-top: clamp(20px, 2.2vw, 28px);
  font-size: clamp(1.05rem, 1.25vw, 1.2rem);
}

.notify {
  display: flex;
  align-items: center;
  max-width: 520px;
  margin-top: clamp(32px, 4vw, 48px);
  padding: 6px;
  border-radius: 999px;
  background: #fff;
  box-shadow: 0 0 0 1.5px rgba(21, 19, 19, 0.14);
}

.notify:focus-within { box-shadow: 0 0 0 2px var(--ink); }

.notify__input {
  flex: 1;
  min-width: 0;
  padding: 12px 20px;
  border: 0;
  background: transparent;
  color: var(--ink);
  font: inherit;
  font-size: 1rem;
}
.notify__input::placeholder { color: #8a8787; }
.notify__input:focus-visible { outline: none; }

.notify__button {
  flex: none;
  padding: 14px 24px;
  border: 0;
  border-radius: 999px;
  background: var(--ink);
  color: var(--paper);
  font: inherit;
  font-size: 0.98rem;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 200ms ease;
}
.notify__button:hover { background: var(--red); }

.notify__hint {
  max-width: 520px;
  margin-top: 12px;
  padding-left: 20px;
  color: var(--muted);
  font-size: 0.92rem;
}

.follow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: clamp(28px, 3.4vw, 40px);
}

.follow__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  flex: none;
  border-radius: 50%;
  box-shadow: inset 0 0 0 1.5px var(--ink);
  color: var(--ink);
  transition: background-color 200ms ease, color 200ms ease;
}
.follow__link svg { width: 20px; height: 20px; }
.follow__link[href]:hover { background: var(--ink); color: var(--paper); }
.follow__link[aria-disabled="true"] { cursor: not-allowed; }

.follow p {
  margin-left: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.35;
}

.panel__footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px 24px;
}

.panel__tagline {
  font-size: 1.05rem;
  font-stretch: 112%;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.panel__tagline span { white-space: nowrap; }

.panel__meta {
  color: var(--muted);
  font-size: 0.88rem;
}

/* Mobile: as colunas viram faixas horizontais */

@media (max-width: 820px) {
  .page { display: block; }

  .reel {
    position: relative;
    grid-template-columns: minmax(0, 1fr);
    height: auto;
    padding: var(--gap) 0 0;
  }

  .reel__track {
    display: flex;
    width: max-content;
  }

  .reel__track li { padding: 0 var(--gap) 0 0; }

  .reel__track img {
    width: auto;
    height: clamp(120px, 22vw, 170px);
  }

  .reel__column--up { --reel-animation: reel-left; }
  .reel__column--down { --reel-animation: reel-right; }

  .reel__pause {
    left: auto;
    right: var(--gap);
    bottom: var(--gap);
    width: 40px;
    height: 40px;
  }

  .panel {
    min-height: 0;
    padding: 28px 24px 28px;
  }

  .panel__symbol { width: 64px; }
  .panel__body { padding-block: 40px 56px; }
}

@media (max-width: 420px) {
  .notify {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
    border-radius: 20px;
  }
  .notify__input { padding: 14px 16px; }
  .notify__button { padding-block: 15px; }
  .notify__hint { padding-left: 0; }
}
