:root {
  color-scheme: light;
  --paper: #dedddb;
  --ink: #10100f;
  --red: #e44838;
  --mono: "DM Mono", monospace;
  --sans: "Space Grotesk", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: #d0cfcc; }
body {
  min-height: 100vh;
  margin: 0;
  background: #d0cfcc;
  color: var(--ink);
  font-family: var(--sans);
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }

.poster {
  position: relative;
  width: min(100%, 736px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background: var(--paper);
  box-shadow: 0 0 48px rgba(0, 0, 0, .08);
}
.intro {
  position: relative;
  z-index: 1;
  height: clamp(300px, 50vw, 370px);
  overflow: hidden;
  background: var(--paper);
}
.plus {
  position: absolute;
  color: #777672;
  font: 12px var(--mono);
  line-height: 1;
}
.plus-a { left: 3.2%; top: 10.2%; }
.plus-b { left: 36.5%; top: 10.2%; }
.plus-c { left: 62.7%; top: 10.2%; }
.plus-d { right: 3.2%; top: 10.2%; }
.plus-e { left: 3.2%; bottom: 20%; }
.plus-f { right: 3.2%; bottom: 20%; }
.welcome {
  position: absolute;
  z-index: 2;
  top: 10%;
  left: 14%;
  margin: 0;
  font-size: clamp(12px, 2.45vw, 18px);
  font-weight: 700;
  line-height: .92;
  letter-spacing: -.04em;
}
.smile {
  position: absolute;
  top: 11%;
  right: 15%;
  width: clamp(23px, 3.8vw, 30px);
  aspect-ratio: 1;
  border: 2px solid var(--ink);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  gap: 5px;
  padding-top: 4px;
  font: 10px var(--sans);
}
.smile i {
  position: absolute;
  width: 7px;
  height: 4px;
  left: 50%;
  bottom: 5px;
  border-bottom: 1.5px solid var(--ink);
  border-radius: 50%;
  transform: translateX(-50%);
}
.red-column {
  position: absolute;
  top: 11%;
  left: 42%;
  width: 16%;
  height: 66%;
  background: var(--red);
}
h1 {
  position: absolute;
  z-index: 2;
  top: 45%;
  left: 50%;
  width: 112%;
  margin: 0;
  font-size: clamp(48px, 14vw, 104px);
  font-weight: 700;
  line-height: .83;
  letter-spacing: -.105em;
  white-space: nowrap;
  text-align: center;
  transform: translate(-50%, -50%) rotate(-5deg);
}
.title-outline, .title-solid {
  position: absolute;
  inset: 0;
  display: block;
}
.title-outline {
  color: transparent;
  -webkit-text-stroke: 1.2px var(--ink);
  transform: translate(-5px, -15px) skewX(-11deg);
}
.title-solid { transform: skewX(-5deg); }
.title-letter, .welcome-letter {
  display: inline-block;
  transform-origin: 50% 70%;
}
@keyframes expressive-letter {
  0%, 55%, 100% { transform: translateY(0) rotate(0) scaleY(1); }
  18% { transform: translateY(-.12em) rotate(-5deg) scaleY(1.12); }
  36% { transform: translateY(.04em) rotate(3deg) scaleY(.95); }
}
.side-mark {
  position: absolute;
  z-index: 3;
  top: 43%;
  font-size: 13px;
}
.side-left { left: 3.5%; }
.side-right { right: 3.5%; transform: rotate(180deg); }
.intro-meta {
  position: absolute;
  right: 14%;
  bottom: 19%;
  left: 14%;
  display: flex;
  align-items: end;
  justify-content: space-between;
  font: 8px/1.5 var(--mono);
}
.intro-meta p { margin: 0; }
.intro-meta p:last-child { padding-bottom: 1px; }
.intro-meta span { color: #777672; }

.collage {
  position: relative;
  height: min(118vw, 870px);
  min-height: 580px;
  overflow: hidden;
  background: var(--paper);
}
.art-card {
  position: absolute;
  overflow: hidden;
  box-shadow: 0 15px 25px rgba(0, 0, 0, .17);
}
.micro-label, .card-corner {
  position: absolute;
  z-index: 2;
  font: clamp(6px, 1vw, 8px)/1.3 var(--mono);
}
.micro-label { left: 8%; top: 7%; }
.card-corner { right: 8%; bottom: 6%; }
.blue-card {
  z-index: 1;
  top: 29%;
  left: 9%;
  width: 41%;
  height: 31%;
  border-radius: 17px;
  background: #050607;
  color: #eee;
  transform: rotate(0deg);
  transition: transform .2s ease;
}
.blue-card:hover { transform: scale(1.03); }
.blue-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.blue-orb {
  position: absolute;
  top: 17%;
  left: 15%;
  width: 71%;
  aspect-ratio: 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 50%, #faf6ca 0 3%, #57c8f7 5%, #245eff 15%, #061e5b 37%, #071022 55%, transparent 70%),
    repeating-radial-gradient(circle at 50% 50%, rgba(52, 126, 255, .8) 0 2px, transparent 3px 7px);
  box-shadow: 0 0 26px #1766ff;
}
.red-card {
  z-index: 3;
  top: 4%;
  left: 19%;
  width: 34%;
  height: 36%;
  display: block;
  border-radius: 19px;
  background: var(--red);
  color: var(--ink);
  transform: rotate(-17deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.red-card:hover { transform: rotate(-13deg) scale(1.03); }
.red-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.red-symbol {
  position: absolute;
  inset: 22% 16%;
  display: grid;
  place-items: center;
  border: 9px solid var(--ink);
  border-radius: 43%;
  transform: rotate(17deg);
}
.red-symbol::before, .red-symbol::after {
  position: absolute;
  width: 58%;
  height: 58%;
  content: "";
  border: 8px solid var(--ink);
  border-radius: 42%;
}
.red-symbol::after { transform: rotate(60deg); }
.red-symbol i {
  width: 18%;
  height: 18%;
  border-radius: 50%;
  background: var(--ink);
}
.red-symbol b { position: absolute; z-index: 1; font-size: clamp(18px, 4vw, 30px); }
.portrait-card {
  z-index: 4;
  top: 1%;
  left: 43%;
  width: 31%;
  height: 39%;
  display: block;
  border-radius: 18px;
  background: #b7b6b3;
  color: inherit;
  transform: rotate(5deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.portrait-card:hover { transform: rotate(2deg) scale(1.025); }
.portrait-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.portrait-link {
  position: absolute;
  bottom: 8%;
  left: 7%;
  padding: 5px 6px;
  background: var(--paper);
  font: clamp(5px, .75vw, 7px) var(--mono);
}
.portrait-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  filter: grayscale(1);
}
.portrait-card img { object-position: center 43%; filter: saturate(.92); }
.portrait-name {
  position: absolute;
  right: 9%;
  bottom: 8%;
  color: white;
  font-size: clamp(15px, 3vw, 23px);
  font-weight: 700;
  letter-spacing: -.06em;
}
.portrait-mark {
  position: absolute;
  top: 9%;
  right: 8%;
  font: 6px/1.2 var(--mono);
  text-align: right;
}
.white-card {
  z-index: 2;
  top: 17%;
  right: 2%;
  width: 34%;
  height: 31%;
  border: 8px solid #f6f5f2;
  border-radius: 18px;
  background: #e9e8e4;
  transform: rotate(30deg);
  color: var(--ink);
  transition: transform .2s ease;
}
.white-card:hover { transform: rotate(26deg) scale(1.03); }
.white-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.white-card .micro-label { transform: rotate(-8deg); }
.car-shape {
  position: absolute;
  top: 34%;
  left: 20%;
  width: 67%;
  height: 28%;
  border: 3px solid var(--ink);
  border-radius: 52% 38% 26% 25%;
  transform: rotate(-16deg);
}
.car-shape::before {
  position: absolute;
  top: -50%;
  left: 23%;
  width: 48%;
  height: 52%;
  content: "";
  border: 3px solid var(--ink);
  border-bottom: 0;
  border-radius: 50% 65% 0 0;
}
.car-shape i, .car-shape i::after {
  position: absolute;
  bottom: -24%;
  left: 15%;
  width: 22%;
  aspect-ratio: 1;
  border: 3px solid var(--ink);
  border-radius: 50%;
  background: #e9e8e4;
}
.car-shape i::after { left: 190%; bottom: 0; content: ""; }
.car-type {
  position: absolute;
  right: 8%;
  bottom: 9%;
  font-size: clamp(13px, 3vw, 21px);
  font-weight: 700;
  line-height: .8;
  letter-spacing: -.07em;
}
.rpl-symbol {
  position: absolute;
  top: 34%;
  left: 7%;
  color: var(--red);
  font: 700 clamp(30px, 6vw, 55px)/1 var(--mono);
  letter-spacing: -.16em;
  transform: rotate(-12deg);
}
.life-card {
  z-index: 5;
  top: 44%;
  right: 8%;
  width: 43%;
  height: 34%;
  padding: 0;
  display: block;
  border-radius: 18px;
  background:
    radial-gradient(circle at 80% 25%, rgba(228, 72, 56, .26), transparent 34%),
    #111;
  color: #eee;
  transform: rotate(0deg);
  transition: transform .2s ease, box-shadow .2s ease;
}
.life-card:hover { transform: scale(1.03); }
.life-card:focus-visible { outline: 3px solid white; outline-offset: 3px; }
.life-emoji {
  position: absolute;
  top: 20%;
  right: 12%;
  font-size: clamp(24px, 5vw, 39px);
  line-height: 1;
}
.life-title {
  position: absolute;
  left: 8%;
  bottom: 23%;
  font-size: clamp(14px, 3.2vw, 24px);
  line-height: .96;
  letter-spacing: -.06em;
}
.life-title em { color: var(--red); font-style: normal; }
.orbit-card {
  position: absolute;
  z-index: 1;
  top: 56%;
  left: 24%;
  width: 56%;
  aspect-ratio: 1;
  border: 1px solid rgba(16, 16, 15, .12);
  border-radius: 50%;
  color: #aaa9a5;
  transform: rotate(-13deg);
}
.orbit-ring {
  position: absolute;
  inset: 12%;
  border: 1px dashed rgba(16, 16, 15, .24);
  border-radius: 50%;
}
.orbit-card span {
  position: absolute;
  top: 7%;
  left: 16%;
  font: clamp(6px, 1vw, 8px) var(--mono);
  letter-spacing: .16em;
}
.orbit-card b {
  position: absolute;
  top: 7%;
  left: 49%;
  color: var(--ink);
  font-size: clamp(12px, 2.5vw, 19px);
}
.contact-card {
  position: absolute;
  z-index: 6;
  right: 7%;
  bottom: 4%;
  width: 39%;
  min-height: 130px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: var(--ink);
  color: var(--paper);
  transform: rotate(5deg);
}
.contact-card span, .contact-card small {
  font: 7px var(--mono);
}
.contact-card b {
  font-size: clamp(20px, 5vw, 35px);
  line-height: .83;
  letter-spacing: -.08em;
}
.contact-card i { color: var(--red); font-style: normal; }
.collage-note {
  position: absolute;
  z-index: 7;
  bottom: 14px;
  left: 5%;
  margin: 0;
  color: #777672;
  font: 7px var(--mono);
}
.carousel-track {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: 50% 53%;
}

@media (prefers-reduced-motion: no-preference) {
  .title-letter, .welcome-letter {
    animation: expressive-letter 2.6s ease-in-out infinite;
    animation-delay: calc(var(--letter-order) * 110ms);
  }
  .title-outline .title-letter {
    animation-delay: calc(var(--letter-order) * 110ms + 140ms);
  }
  @keyframes carousel-orbit {
    to { transform: rotate(360deg); }
  }
  @keyframes carousel-card-counter-rotation {
    to { rotate: -360deg; }
  }
  .carousel-track { animation: carousel-orbit 16s linear infinite; }
  .carousel-track > .art-card {
    animation: carousel-card-counter-rotation 16s linear infinite;
  }
}

@media (min-width: 737px) {
  .intro { height: 370px; }
  .collage { height: 870px; }
}
@media (max-width: 500px) {
  .intro { height: 300px; }
  .collage { height: 610px; min-height: 0; }
  .red-card { border-radius: 14px; }
  .portrait-card { border-radius: 13px; }
  .white-card { border-width: 5px; border-radius: 13px; }
  .life-card { border-radius: 13px; }
  .red-symbol { border-width: 6px; }
  .red-symbol::before, .red-symbol::after { border-width: 6px; }
  .car-shape, .car-shape::before, .car-shape i, .car-shape i::after { border-width: 2px; }
  .contact-card { min-height: 102px; padding: 10px; }
}
@media (max-width: 360px) {
  .intro { height: 280px; }
  .collage { height: 570px; }
  .welcome { left: 12%; }
  .intro-meta { left: 12%; right: 12%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
