/* Gorillabyte. One page: a sticky sidebar with the mark, and the content beside it. */

/* Self-hosted fonts (both are variable files, SIL Open Font License). Latin subset. */
@font-face {
  font-family: "Space Grotesk";
  src: url("fonts/space-grotesk-latin.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "IBM Plex Sans";
  src: url("fonts/ibm-plex-sans-latin.woff2") format("woff2");
  font-weight: 100 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bg: #111315;
  --panel: #1f262d;
  --panel-2: #252d34;
  --text: #eef0f2;
  --soft: #dfe3e7;
  --dim: #c3cad1;
  --muted: #8e99a4;
  --line: rgba(238, 240, 242, 0.14);
  --slate: #2f3841;
  --red: #da272e;
  --red-soft: #f2666b; /* lighter red for links and other small highlights on the dark page */
  --display: "Space Grotesk", system-ui, sans-serif;
  --body: "IBM Plex Sans", system-ui, sans-serif;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 88px;
  color-scheme: dark;
}

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

/* Fine film grain over everything. */
body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
  opacity: 0.05;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0 0.5 0 0 0 0.9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.25s;
}

a:hover {
  color: var(--red);
}

:focus-visible {
  outline: 2px solid var(--text);
  outline-offset: 3px;
  border-radius: 2px;
}

h2,
h3,
p,
dl,
dd,
ul {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.hl {
  color: var(--red-soft);
}

.hl:hover {
  color: var(--text);
}

/* A soft red light that follows the pointer (set from script.js). */
.spotlight {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0;
  background: radial-gradient(560px circle at var(--px, 30%) var(--py, 30%), rgba(218, 39, 46, 0.09), transparent 70%);
  transition: opacity 0.8s;
}

.spotlight.is-on {
  opacity: 1;
}

/* ===== layout ===== */

.page {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  min-height: 100dvh;
}

/* Narrow screens: the sidebar dissolves into a sticky header plus a footer. */
.side {
  display: contents;
}

.side-head {
  order: 0;
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  border-bottom: 1px solid var(--line);
  background: rgba(17, 19, 21, 0.82);
  backdrop-filter: blur(14px);
}

.main {
  order: 1;
  display: flex;
  flex-direction: column;
  gap: 64px;
  min-width: 0;
  padding: 32px 20px 56px;
}

.socials {
  order: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 20px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
}

.legal {
  order: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  padding: 16px 20px 32px;
  font-size: 12px;
  color: var(--muted);
}

.legal a:hover {
  color: var(--text);
}

/* ===== sidebar pieces ===== */

.logo {
  position: relative;
  display: block;
  flex: none;
  width: 40px;
}

.logo-tilt {
  position: relative;
  display: block;
}

.logo-glow {
  display: none;
}

/* The eyes: red discs multiplied onto the white of the artwork. */
.eye {
  position: absolute;
  top: 40.2%;
  width: 21.5%;
  height: 6.6%;
  border-radius: 50%;
  background: var(--red);
  mix-blend-mode: multiply;
  filter: blur(1px);
  opacity: 0;
  transition: opacity 0.45s;
}

.eye-left {
  left: 19.2%;
  transform: rotate(8deg);
}

.eye-right {
  left: 59.4%;
  transform: rotate(-8deg);
}

.logo:hover .eye,
.is-awake .eye {
  opacity: 1;
}

.wordmark {
  font-family: var(--display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1;
  letter-spacing: 0.02em;
}

.tagline {
  display: none;
  max-width: 380px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--dim);
}

.nav {
  display: flex;
  gap: 16px;
  margin-left: auto;
  font-family: var(--display);
  font-weight: 500;
  font-size: 14px;
}

.nav a {
  position: relative;
  padding: 6px 0;
  color: var(--muted);
}

.nav a[aria-current="true"] {
  color: var(--text);
}

.nav a:hover {
  color: var(--red);
}

/* Underline that draws in from the left. */
.nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.45s var(--ease);
}

.nav a:hover::after,
.nav a[aria-current="true"]::after {
  transform: scaleX(1);
}

.socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(238, 240, 242, 0.25);
  border-radius: 50%;
  color: var(--dim);
  transition:
    color 0.25s,
    border-color 0.25s,
    transform 0.45s var(--ease);
}

.socials a:hover {
  color: var(--red-soft);
  border-color: var(--red);
  transform: translateY(-3px);
}

.socials svg {
  width: 17px;
  height: 17px;
  fill: currentColor;
}

/* ===== content ===== */

.section {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.label {
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.lead {
  max-width: 720px;
  font-size: 18px;
  line-height: 1.65;
  color: var(--soft);
  text-wrap: pretty;
}

.lead.small {
  font-size: 16px;
  color: var(--dim);
}

/* --- Hardpan banner --- */

.banner {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 6px;
  background: var(--panel);
  color: #fff;
  transform: perspective(1400px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  transition:
    transform 0.6s var(--ease),
    box-shadow 0.6s var(--ease);
}

.banner:hover {
  color: #fff;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}

.banner picture {
  position: absolute;
  inset: 0;
}

.banner-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 58% 50%;
  filter: brightness(0.7);
}

.banner-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(47, 56, 65, 0) 30%, rgba(31, 38, 45, 0.94) 100%);
}

/* A highlight that tracks the pointer across the art. */
.banner-sheen {
  position: absolute;
  inset: 0;
  opacity: 0;
  mix-blend-mode: soft-light;
  background: radial-gradient(420px circle at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.55), transparent 65%);
  transition: opacity 0.5s;
}

.banner:hover .banner-sheen {
  opacity: 1;
}

.banner-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px;
}

.banner-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: var(--dim);
}

.tag {
  padding: 4px 10px;
  border-radius: 3px;
  background: var(--red);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.banner-title {
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(36px, 5vw, 64px);
  line-height: 1;
  letter-spacing: -0.01em;
}

.banner-text {
  max-width: 520px;
  font-size: 15px;
  line-height: 1.55;
  color: var(--soft);
  text-wrap: pretty;
}

.banner-more {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 15px;
}

.arrow {
  transition: transform 0.45s var(--ease);
}

.banner:hover .arrow {
  transform: translateX(6px);
}

/* --- features --- */

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 14px;
}

.feature {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 18px;
}

/* The red rule draws itself in when the feature appears. */
.feature::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--red);
  transform-origin: left;
}

.feature h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
}

.feature p {
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
}

/* --- sign-up --- */

.signup {
  display: flex;
  flex-direction: column;
  gap: 18px;
  max-width: 720px;
  padding: 24px 20px;
  border: 1px solid var(--line);
  border-radius: 6px;
  transition:
    border-color 0.4s,
    box-shadow 0.4s;
}

.signup:focus-within {
  border-color: rgba(238, 240, 242, 0.3);
  box-shadow: 0 0 0 6px rgba(218, 39, 46, 0.08);
}

.signup h3 {
  font-family: var(--display);
  font-weight: 700;
  font-size: 24px;
  line-height: 1.2;
}

.signup p {
  margin-top: 6px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.signup-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.signup-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid rgba(238, 240, 242, 0.25);
  border-radius: 4px;
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 15px;
  transition: border-color 0.25s;
}

.signup-form input[type="email"]::placeholder {
  color: var(--muted);
}

.signup-form input[type="email"]:focus {
  outline: none;
  border-color: var(--text);
}

.signup-form input[aria-invalid="true"] {
  border-color: var(--red);
}

.signup-form button {
  height: 46px;
  padding: 0 22px;
  border: 0;
  border-radius: 4px;
  background: var(--red);
  color: #fff;
  font-family: var(--display);
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  transition:
    filter 0.25s,
    transform 0.25s var(--ease);
}

.signup-form button:hover {
  filter: brightness(1.12);
}

.signup-form button:active {
  transform: scale(0.97);
}

.signup-form button:disabled {
  cursor: wait;
  filter: saturate(0.6);
}

.signup-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  color: var(--dim);
}

.signup-check input {
  flex: none;
  width: 16px;
  height: 16px;
  margin: 2px 0 0;
  accent-color: var(--red);
}

.signup-check a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.signup-check a:hover {
  color: var(--text);
}

.signup p.signup-error {
  margin: -4px 0 0;
  font-size: 13px;
  font-weight: 500;
  color: var(--red-soft);
}

.signup p.signup-status {
  margin: 0;
  font-weight: 500;
  color: var(--text);
}

.signup p.signup-err {
  color: var(--red-soft);
}

/* Honeypot field and the invisible captcha: present for the form, out of sight and out of the tab order. */
.hp,
.signup-captcha {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

/* --- cookie consent banner (built by analytics.js) --- */

.consent {
  position: fixed;
  left: 50%;
  bottom: 16px;
  z-index: 40;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 24px;
  width: min(760px, calc(100vw - 32px));
  padding: 18px 20px;
  border: 1px solid rgba(238, 240, 242, 0.2);
  border-radius: 6px;
  background: #171b1f;
  box-shadow: 0 24px 60px -20px rgba(0, 0, 0, 0.8);
  transform: translateX(-50%);
  animation: consent-in 0.6s var(--ease) 0.4s backwards;
}

.consent[hidden] {
  display: none;
}

.consent-text {
  flex: 1 1 320px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--dim);
}

.consent-text a {
  color: var(--red-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.consent-text a:hover {
  color: var(--text);
}

.consent-actions {
  display: flex;
  gap: 10px;
}

/* Both choices look the same on purpose: neither is nudged. */
.consent-actions button {
  height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(238, 240, 242, 0.3);
  border-radius: 4px;
  background: none;
  color: var(--text);
  font-family: var(--display);
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition:
    border-color 0.25s,
    background-color 0.25s;
}

.consent-actions button:hover {
  border-color: var(--text);
  background: rgba(238, 240, 242, 0.08);
}

@keyframes consent-in {
  from {
    opacity: 0;
    transform: translate(-50%, 16px);
  }
}

/* --- about / press --- */

.facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 24px;
  max-width: 720px;
  margin-top: 10px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
}

.facts dt {
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.facts dd {
  margin-top: 6px;
  font-family: var(--display);
  font-weight: 500;
  font-size: 18px;
}

.sheet {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 12px 32px;
  font-size: 15px;
}

.sheet dt {
  color: var(--muted);
}

/* ===== legal dialogs (text styles shared with the privacy page) ===== */

.dialog {
  width: min(640px, calc(100vw - 32px));
  max-height: min(80dvh, 720px);
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #171b1f;
  color: var(--dim);
  font-size: 15px;
  line-height: 1.65;
}

.dialog::backdrop {
  background: rgba(8, 9, 10, 0.7);
  backdrop-filter: blur(6px);
}

.dialog[open] {
  animation: pop 0.45s var(--ease);
}

.dialog h2 {
  font-family: var(--display);
  font-size: 32px;
  line-height: 1;
  color: var(--text);
}

:is(.dialog, .doc) h3 {
  margin-top: 22px;
  font-family: var(--display);
  font-size: 18px;
  color: var(--text);
}

:is(.dialog, .doc) p,
.dialog .sheet {
  margin-top: 10px;
}

/* Long labels wrap in a fixed column; on phones each label sits above its value. */
.dialog .sheet {
  grid-template-columns: 11rem 1fr;
}

@media (max-width: 560px) {
  .dialog .sheet {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .dialog .sheet dd {
    margin-bottom: 12px;
    color: var(--text);
  }
}

:is(.dialog, .doc) ul {
  margin-top: 10px;
  padding-left: 1.2rem;
  list-style: disc;
}

:is(.dialog, .doc) li + li {
  margin-top: 6px;
}

:is(.dialog, .doc) a {
  color: var(--red-soft);
  text-decoration: underline;
  text-underline-offset: 3px;
}

:is(.dialog, .doc) a:hover {
  color: var(--text);
}

:is(.dialog, .doc) strong {
  color: var(--text);
  font-weight: 600;
}

:is(.dialog, .doc) code {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 0.92em;
}

:is(.dialog, .doc) .muted {
  margin-top: 22px;
  font-size: 13px;
  color: var(--muted);
}

.todo {
  font-family: ui-monospace, Menlo, monospace;
  font-size: 13px;
  color: var(--muted);
}

.dialog-close {
  float: right;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(238, 240, 242, 0.25);
  border-radius: 50%;
  background: none;
  color: var(--dim);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  transition:
    color 0.25s,
    border-color 0.25s;
}

.dialog-close:hover {
  color: var(--text);
  border-color: var(--text);
}

/* ===== privacy page (privacy/index.html): the policy as a page of its own ===== */

.doc {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
  padding: 20px 16px 32px;
  color: var(--dim);
  font-size: 16px;
  line-height: 1.65;
}

.doc-head {
  margin-bottom: 40px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.doc .doc-home {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.doc .doc-home:hover {
  color: var(--red);
}

.doc-home img {
  width: 32px;
}

.doc h1 {
  margin: 0 0 6px;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(32px, 4.4vw, 48px);
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
}

.doc h3 {
  margin-top: 32px;
  font-size: 20px;
}

.doc .legal {
  margin-top: 56px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
}

.doc .legal a {
  color: inherit;
  text-decoration: none;
}

.doc .legal a:hover {
  color: var(--text);
}

@media (min-width: 900px) {
  .doc {
    padding: 40px 32px 56px;
  }
}

/* ===== wide screens: the real sidebar ===== */

@media (min-width: 900px) {
  .page {
    flex-direction: row;
    align-items: flex-start;
  }

  .side {
    position: sticky;
    top: 0;
    display: flex;
    flex: 0 0 42%;
    flex-direction: column;
    gap: 22px;
    max-width: 560px;
    height: 100dvh;
    padding: 48px 48px 32px 64px;
    overflow-y: auto;
  }

  .side-head {
    position: static;
    flex-direction: column;
    align-items: flex-start;
    gap: 22px;
    padding: 0;
    border: 0;
    background: none;
    backdrop-filter: none;
  }

  .logo {
    width: min(100%, 220px);
  }

  .logo img {
    filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
  }

  /* Slate light behind the head. */
  .logo-glow {
    display: block;
    position: absolute;
    inset: -14%;
    border-radius: 50%;
    background: radial-gradient(closest-side, rgba(70, 83, 96, 0.5), transparent);
  }

  .logo-tilt {
    transform: perspective(700px) rotateX(var(--tx, 0deg)) rotateY(var(--ty, 0deg));
    will-change: transform;
  }

  .wordmark {
    font-size: 30px;
  }

  .tagline {
    display: block;
    margin-top: -10px;
  }

  .nav {
    gap: 24px;
    margin-left: 0;
    font-size: 18px;
  }

  .socials {
    gap: 8px;
    margin: 0;
    padding: 0;
    border: 0;
  }

  .socials a {
    width: 34px;
    height: 34px;
  }

  .legal {
    margin-top: auto;
    padding: 0;
  }

  .main {
    flex: 1 1 480px;
    max-width: 1120px;
    gap: 80px;
    padding: 56px 72px 96px 40px;
  }

  .banner {
    aspect-ratio: 16 / 9;
  }

  .banner-body {
    padding: 32px 36px;
  }

  .signup {
    padding: 32px 36px;
  }
}

/* ===== motion ===== */

@keyframes pop {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.98);
  }
}

@keyframes kenburns {
  from {
    transform: scale(1.02);
  }
  to {
    transform: scale(1.1) translate(-1.5%, 1%);
  }
}

/* Uses `translate`, not `transform`, so it stacks with the pointer tilt on the same element. */
@keyframes breathe {
  to {
    translate: 0 -8px;
  }
}

@keyframes glow {
  from {
    opacity: 0.65;
    transform: scale(0.94);
  }
  to {
    opacity: 1;
    transform: scale(1.06);
  }
}

@keyframes wake {
  0%,
  100% {
    opacity: 0;
  }
  30%,
  60% {
    opacity: 1;
  }
}

@media (prefers-reduced-motion: no-preference) {
  /* Reveal on load and on scroll. Only hidden when script.js is there to show it again. */
  .js .reveal {
    opacity: 0;
    transform: translateY(20px);
    transition:
      opacity 0.9s var(--ease),
      transform 0.9s var(--ease);
    transition-delay: calc(var(--d, 0) * 90ms);
  }

  .js .reveal.is-in {
    opacity: 1;
    transform: none;
  }

  .js .feature.reveal::before {
    transform: scaleX(0);
    transition: transform 1.1s var(--ease) calc(var(--d, 0) * 90ms + 250ms);
  }

  .js .feature.reveal.is-in::before {
    transform: scaleX(1);
  }

  /* The banner opens like a shutter while the art settles back. */
  .js .reveal-host .banner {
    clip-path: inset(0 0 100% 0);
    transition:
      clip-path 1.3s var(--ease),
      transform 0.6s var(--ease),
      box-shadow 0.6s var(--ease);
  }

  .js .reveal-host.is-in .banner {
    clip-path: inset(0 0 0 0);
  }

  .js .reveal-host .banner picture {
    transform: scale(1.2);
    transition: transform 1.8s var(--ease);
  }

  .js .reveal-host.is-in .banner picture {
    transform: none;
  }

  .banner-img {
    animation: kenburns 26s ease-in-out infinite alternate;
  }

  @media (min-width: 900px) {
    .logo-tilt {
      animation: breathe 5s ease-in-out infinite alternate;
    }

    .logo-glow {
      animation: glow 5s ease-in-out infinite alternate;
    }
  }

  /* On arrival the eyes light up once. */
  .eye {
    animation: wake 2.6s 1s backwards;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .banner {
    transform: none;
  }
}
