:root {
  color-scheme: light;
  --ink: #74051c;
  --paper: #fffbf5;
  --sun: #ffcc26;
  --pink: #f3dde0;
  --line: rgb(116 5 28 / 19%);
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
::selection { background: var(--sun); color: var(--ink); }
.page {
  max-width: 1800px;
  min-height: 100svh;
  margin: 0 auto;
  padding: 0 4.5vw;
  display: flex;
  flex-direction: column;
}
.header {
  min-height: 100px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid var(--line);
}
.brand { display: block; width: 230px; }
.brand img { display: block; width: 100%; height: auto; }
.brand-signature {
  margin: -14px 0 0 2px;
  font-size: clamp(.625rem, 2.7vw, .75rem);
  line-height: 1.35;
  letter-spacing: .01em;
}
a:focus-visible { outline: 2px solid var(--ink); outline-offset: 8px; }
.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 4.5vw;
  align-items: center;
  padding: 50px 0 64px;
  flex: 1;
}
.hero-copy { padding-bottom: 15px; animation: arrive 850ms both cubic-bezier(.2,.65,.25,1); }
.eyebrow {
  text-transform: uppercase;
  letter-spacing: .11em;
  font-size: .875rem;
  line-height: 1.6;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 28px;
}
.short-line { width: 27px; height: 1px; flex-shrink: 0; background: var(--ink); }
h1 {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  font-size: clamp(4rem, 7.4vw, 8rem);
  letter-spacing: -.055em;
  line-height: 1.06;
  margin: 0 0 38px;
}
h1 em { font-weight: 400; letter-spacing: -.06em; }
.contacts {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.contact {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 12px 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  font-size: .9375rem;
  text-decoration: none;
  transition: color 200ms, border-color 200ms;
}
.hero-art {
  position: relative;
  aspect-ratio: 4 / 4.6;
  max-height: 620px;
  min-width: 0;
  background: var(--pink);
  animation: arrive 1s 100ms both cubic-bezier(.2,.65,.25,1);
}
.art-image { position: absolute; inset: 0; overflow: hidden; }
.art-still {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
@keyframes arrive {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (hover: hover) {
  a.contact:hover { color: var(--sun); border-color: transparent; }
}
@media (max-width: 1000px) {
  .page { padding: 0 5vw; }
  .hero { gap: 28px; padding-top: 42px; }
  h1 { font-size: clamp(2.9rem, 7.1vw, 5rem); }
  .eyebrow { letter-spacing: .045em; }
  .hero-art { aspect-ratio: 4 / 5.4; }
}
@media (max-width: 680px) {
  .page { height: 100svh; min-height: 0; padding: 0 6vw; }
  .header { min-height: clamp(60px, 10svh, 84px); flex-shrink: 0; }
  .brand { width: clamp(150px, 43vw, 200px); }
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto minmax(0, 1fr);
    gap: clamp(8px, 2svh, 20px);
    padding: clamp(12px, 3svh, 24px) 0 max(12px, 2svh, env(safe-area-inset-bottom));
  }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: clamp(12px, 2svh, 20px); font-size: .8125rem; letter-spacing: .04em; }
  h1 { font-size: clamp(2rem, min(12.5vw, 7svh), 3.5rem); margin-bottom: clamp(12px, 2svh, 20px); letter-spacing: -.06em; }
  .hero-art {
    width: min(76vw, 32svh, 280px);
    height: 100%;
    max-height: min(76vw, 32svh, 280px);
    min-height: 0;
    aspect-ratio: auto;
    place-self: center;
  }
  .art-image { display: flex; align-items: center; justify-content: center; }
  .art-still { width: auto; max-width: 100%; aspect-ratio: 1; }
}
@media (max-width: 360px) {
  .eyebrow { letter-spacing: 0; gap: 10px; }
  .short-line { width: 18px; }
}
@media (max-width: 960px) and (max-height: 500px) and (orientation: landscape) {
  .page { height: 100svh; min-height: 0; }
  .header { min-height: 56px; flex-shrink: 0; }
  .brand { width: 150px; }
  .hero {
    min-height: 0;
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    gap: 20px;
    padding: 12px 0;
  }
  .hero-copy { padding: 0; }
  .eyebrow { margin-bottom: 10px; font-size: .8125rem; letter-spacing: .02em; }
  h1 { font-size: clamp(2rem, 5vw, 2.8rem); margin-bottom: 10px; }
  .contacts { gap: 12px 20px; }
  .contact { min-height: 44px; padding: 10px 0; }
  .hero-art { width: 100%; height: 100%; max-height: 100%; min-height: 0; aspect-ratio: auto; }
  .art-image { display: flex; align-items: center; justify-content: center; }
  .art-still { width: auto; max-width: 100%; aspect-ratio: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* The animated heart is the entrance to the game. */
.heart-game-link { position: absolute; inset: 0; z-index: 3; color: var(--ink); text-decoration: none; cursor: pointer; }
.heart-game-link:focus-visible { outline-offset: -8px; }
