.wave-edition {
  --accent-red: #fa1734;
  --paper: #faf9f5;
  display: flow-root;
  min-height: 100svh;
  background: linear-gradient(#0003, #0003),
    #090909 url("assets/wave-background-hd.png") center top / cover no-repeat;
}

.wave-edition header {
  height: auto;
  min-height: 58px;
  margin: 18px 26px 12px;
  padding: 9px 16px;
  border: 1px solid var(--ink);
  border-radius: 14px;
  background: var(--paper);
  box-shadow: 4px 4px 0 var(--ink);
}

.wave-edition .brand { color: #df0927; }
.wave-edition .brand span { color: var(--ink); }
.wave-edition .contact-top { border-color: var(--ink); }

.wave-edition .scene {
  border: 0;
  background: transparent;
}

.wave-edition footer {
  background: transparent;
}

.wave-edition footer > span {
  padding: 5px 8px;
  border: 1px solid var(--ink);
  border-radius: 4px;
  background: var(--paper);
}

.wave-edition footer nav {
  outline: 1px solid var(--paper);
}

.wave-edition #clock,
.wave-edition .hero-eyebrow,
.wave-edition .hero-tagline > span,
.wave-edition .folder > span:last-child {
  width: fit-content;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--ink);
  box-shadow: 3px 3px 0 var(--accent-red);
}

.wave-edition #clock {
  padding: 5px 8px;
  border-radius: 7px;
}

.wave-edition .hero-eyebrow {
  margin: 0 auto;
  padding: .65em 1.1em;
  border-radius: 7px;
  transform: rotate(-3deg);
}

.wave-edition .wordmark {
  color: #a25beb;
  text-shadow: 0 2px 0 #d5a4ff, 0 5px 0 #8542c0, 0 9px 0 #7137a6,
    0 14px 0 #592d83, 0 19px 0 #3d215e, 0 24px 6px #09050db3;
  filter: drop-shadow(7px 10px 7px #0008);
}

.wave-edition .hero-tagline > span,
.wave-edition .hero-tagline strong {
  display: table;
  margin: 0 auto;
  padding: .12em .32em .17em;
  border-radius: .18em;
}

.wave-edition .hero-tagline strong {
  margin-top: .16em;
  box-shadow: 4px 4px 0 var(--accent-red);
}

.wave-edition .film-window,
.wave-edition .photo-card {
  outline: 1px solid #2225;
  box-shadow: 5px 7px 0 #09090990;
}

.wave-edition .reel {
  box-shadow: 5px 5px 0 var(--accent-red), 7px 11px 0 #09090990;
}

.wave-edition .folder > span:last-child {
  display: table;
  margin: 0 auto;
  padding: 5px 8px;
  border-radius: 4px;
}

.wave-edition .note {
  box-shadow: 5px 5px 0 var(--accent-red), 7px 10px 0 #09090990;
}

.wave-edition .note::before {
  background: #ff2442;
  backdrop-filter: none;
}

.wave-edition .floating:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
  filter: drop-shadow(0 0 3px #000);
}

@media (max-width: 650px) {
  .wave-edition header { margin: 10px 12px 8px; padding-inline: 10px; }
  .wave-edition .scene { margin-inline: 12px; }
  .wave-edition .hero-eyebrow { letter-spacing: .14em; }
}

.wave-edition .brand span,
.wave-edition #clock,
.wave-edition .hero-eyebrow,
.wave-edition footer > span {
  font-size: 12px;
}

.wave-edition .contact-top,
.wave-edition footer nav button {
  font-size: clamp(13px, 1.1vw, 17px);
  font-weight: 600;
}

.wave-edition footer nav .nav-logo { font-weight: 900; }
.wave-edition footer nav .motion { font-size: 19px; }

.wave-edition .hero .hero-tagline {
  font-size: clamp(27px, 3vw, 43px);
}

.wave-edition .window-bar,
.wave-edition .reel-top,
.wave-edition .reel-bottom,
.wave-edition .photo-caption,
.wave-edition .note > span:first-child,
.wave-edition .note small {
  font-size: clamp(10px, .9vw, 13px);
}

.wave-edition .window-bar {
  gap: 4px;
  height: 32px;
}

.wave-edition .under,
.wave-edition .folder > span:last-child {
  font-size: clamp(12px, 1.05vw, 16px);
  font-weight: 600;
}

.wave-edition .timecode { font-size: 9px; }
.wave-edition .reel-bottom { line-height: 1.2; }
.wave-edition .photo-caption { gap: 4px; }

@media (min-width: 1001px) {
  .wave-edition .scene { min-height: 680px; }
  .wave-edition .wordmark { font-size: clamp(118px, 11.6vw, 174px); }

  .wave-edition .film-window { left: 3%; width: clamp(270px, 23vw, 370px); }
  .wave-edition .film-image { height: auto; aspect-ratio: 1.6; }
  .wave-edition .film-label { font-size: clamp(28px, 2.65vw, 42px); }

  .wave-edition .reel {
    right: 7%;
    width: clamp(155px, 12.2vw, 200px);
    height: auto;
  }
  .wave-edition .reel-visual { height: auto; aspect-ratio: 0.69; }
  .wave-edition .reel-word { font-size: clamp(37px, 3.35vw, 54px); }

  .wave-edition .folder { left: 4%; bottom: 15%; width: clamp(156px, 15vw, 230px); }
  .wave-edition .folder-shape { width: 76%; height: auto; aspect-ratio: 1.4; }
  .wave-edition .folder-stamp { font-size: clamp(15px, 1.3vw, 20px); }
  .wave-edition .folder-stamp small { font-size: 8px; }

  .wave-edition .sticker { left: 22%; bottom: 13%; width: clamp(125px, 11vw, 174px); height: auto; aspect-ratio: 1; }
  .wave-edition .photo-card { right: 22%; bottom: 5%; width: clamp(148px, 12vw, 194px); }
  .wave-edition .photo-card img { height: auto; aspect-ratio: 0.81; }

  .wave-edition .note { right: 3%; bottom: 9%; width: clamp(172px, 15vw, 235px); height: auto; min-height: 168px; padding: 19px; }
  .wave-edition .note strong { font-size: clamp(30px, 2.75vw, 43px); font-weight: 600; }
}

@media (min-width: 651px) and (max-width: 1000px) {
  .wave-edition .reel { height: auto; }
  .wave-edition .photo-caption { font-size: 8px; }
}

@media (max-width: 650px) {
  .wave-edition .hero .hero-tagline { font-size: clamp(25px, 7vw, 39px); }
  .wave-edition .hero-eyebrow { font-size: 11px; }
  .wave-edition .window-bar,
  .wave-edition .photo-caption { font-size: clamp(7px, 2.05vw, 10px); }
  .wave-edition .reel { width: 100%; max-width: 158px; height: auto; }
  .wave-edition .reel-visual { height: auto; aspect-ratio: .74; }
  .wave-edition .folder-shape { width: min(128px, 90%); height: 88px; }
  .wave-edition .sticker[data-open="btl"] { grid-area: 4 / 2; }
  .wave-edition .photo-card { grid-area: 5 / 1; }
  .wave-edition .note { grid-row: 5; height: auto; min-height: 157px; }
  .wave-edition .note strong { font-weight: 600; }
  .wave-edition footer nav button { padding-inline: 7px; font-size: clamp(11px, 3.25vw, 14px); }
  .wave-edition footer nav button span { margin-left: 2px; }
}

@media (max-width: 360px) {
  .wave-edition footer nav button span { display: none; }
}

@media (max-width: 650px) and (prefers-reduced-motion: no-preference) {
  .wave-edition .floating {
    animation-name: waves-mobile-float;
    animation-duration: 5.5s;
  }
}

@keyframes waves-mobile-float {
  0%, 100% { transform: translateY(0) rotate(var(--r, 0deg)); }
  50% { transform: translateY(-13px) rotate(calc(var(--r, 0deg) + 2deg)); }
}
