@charset "UTF-8";

:root {
  --bg: #fbf9f5;
  --bg-alt: #f4efe5;
  --peach: #f8e2c6;
  --sky: #dff3fb;
  --ink: #2e2118;
  --ink-soft: #5f4935;
  --ink-faint: #8a755d;
  --orange: #e08526;
  --orange-dark: #a65e12;
  --orange-soft: #fbe5c9;
  --line: #e0d5c3;
  --white: #fff;
  --hand: "Yomogi", "Hiragino Maru Gothic ProN", "Klee One", sans-serif;
  --wrap: 1080px;
  --pad: clamp(1.25rem, 5vw, 4rem);
  --shadow: 0 24px 45px -30px rgba(46, 33, 24, 0.55);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--hand);
  font-size: 18px;
  line-height: 1.85;
  letter-spacing: .02em;
  -webkit-font-smoothing: antialiased;
  -webkit-text-stroke: .012em currentColor;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
p, h1, h2, h3, figure { margin-top: 0; }
.nb { display: inline-block; }
::selection { background: var(--orange-soft); }

.skip-link {
  position: fixed;
  z-index: 999;
  top: 10px;
  left: 10px;
  transform: translateY(-160%);
  padding: .55rem 1rem;
  border-radius: 999px;
  background: var(--white);
}
.skip-link:focus { transform: none; }

.site-header {
  position: fixed;
  z-index: 40;
  inset: 0 0 auto;
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .75rem var(--pad);
  background: rgba(251, 249, 245, .9);
  border-bottom: 2px dotted rgba(224, 213, 195, .8);
  backdrop-filter: blur(12px);
}
.brand {
  position: relative;
  font-size: 1.28rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
  rotate: -1deg;
}
.brand::after {
  content: "";
  position: absolute;
  left: -.12em;
  right: -.12em;
  bottom: .15em;
  height: .46em;
  z-index: -1;
  border-radius: 999px;
  background: #ffe092;
}
.site-header nav { display: flex; gap: clamp(.75rem, 2.4vw, 1.7rem); }
.site-header nav a {
  position: relative;
  color: var(--ink-soft);
  font-size: .86rem;
  font-weight: 700;
  text-decoration: none;
}
.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -.25rem;
  height: 3px;
  border-radius: 3px;
  background: var(--orange);
  transform: scaleX(0);
  transition: transform .35s ease;
}
.site-header nav a:hover::after, .site-header nav a:focus-visible::after { transform: scaleX(1); }

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  grid-template-columns: minmax(330px, .8fr) minmax(480px, 1.2fr);
  align-items: center;
  gap: clamp(2.5rem, 6vw, 5.5rem);
  padding: 132px max(var(--pad), calc((100vw - var(--wrap)) / 2)) 88px;
  background:
    radial-gradient(circle at 12% 24%, rgba(255, 220, 119, .55) 0 7%, transparent 7.2%),
    radial-gradient(circle at 90% 12%, rgba(166, 224, 245, .6) 0 13%, transparent 13.2%),
    radial-gradient(circle at 72% 88%, rgba(247, 193, 203, .5) 0 9%, transparent 9.2%),
    linear-gradient(180deg, #fffdf8, var(--bg));
}
.hero::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: -22px;
  width: 104%;
  height: 46px;
  border-radius: 50%;
  background: var(--bg);
}
.hero-copy, .hero-visual { position: relative; z-index: 2; }
.eyebrow {
  margin-bottom: .8rem;
  color: var(--orange-dark);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .06em;
}
h1 {
  width: max-content;
  max-width: 100%;
  margin-bottom: .65rem;
  color: var(--ink);
  font-size: clamp(3.6rem, 7.2vw, 6.2rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: .06em;
  rotate: -2deg;
  -webkit-text-stroke: .095em var(--bg);
  paint-order: stroke fill;
  filter: drop-shadow(0 5px 0 rgba(224, 133, 38, .4)) drop-shadow(0 14px 18px rgba(46, 33, 24, .14));
}
.lead { margin-bottom: 0; color: var(--ink-soft); font-size: 1.02rem; }
.content-index {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.content-index p {
  width: 100%;
  margin: 0 0 .15rem;
  color: var(--ink-faint);
  font-size: .78rem;
  font-weight: 700;
}
.content-index a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  padding: .35rem 1rem;
  border: 2px solid var(--line);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink-soft);
  font-size: .78rem;
  font-weight: 700;
  text-decoration: none;
  transition: border-color .3s ease, background .3s ease, transform .3s ease;
}
.content-index a:hover { transform: translateY(-2px); border-color: var(--orange); background: var(--orange-soft); }
.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: .65rem 1.55rem;
  border: 2.5px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  color: var(--orange-dark);
  font: inherit;
  font-size: .92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 8px 0 var(--orange-soft);
  transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}
.button:hover { transform: translateY(-4px) rotate(-1deg); box-shadow: 0 12px 0 var(--orange-soft); }
.button-primary { background: var(--orange); color: var(--white); box-shadow: 0 8px 0 #bf6d16; }
.button-primary:hover { box-shadow: 0 12px 0 #bf6d16; }
.hero-visual { margin: 0; }
.hero-visual img {
  width: 100%;
  border-radius: 18px;
}

.section { position: relative; padding: clamp(5rem, 11vh, 7.5rem) var(--pad); }
.section-heading {
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: 1fr minmax(260px, .48fr);
  align-items: end;
  gap: 2rem;
  margin: 0 auto 3rem;
}
.section-heading h2, .closing h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 3.35rem);
  font-weight: 700;
  line-height: 1.45;
  letter-spacing: .02em;
}
.section-heading h2::before {
  content: "";
  display: block;
  width: 42px;
  height: 5px;
  margin-bottom: 1rem;
  border-radius: 5px;
  background: var(--orange);
}
.section-heading > p { margin-bottom: 0; color: var(--ink-soft); font-size: .92rem; }
.listen-section .section-heading { grid-template-columns: 1fr; }

.listen-section { background: var(--bg); }
.video-grid {
  max-width: var(--wrap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
  margin-inline: auto;
}
.video-card {
  overflow: hidden;
  border: 2.5px solid var(--line);
  border-radius: 24px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .55s cubic-bezier(.34, 1.4, .64, 1), border-color .4s ease;
}
.video-card:nth-child(1) { rotate: -.6deg; }
.video-card:nth-child(2) { rotate: .6deg; }
.video-card:hover { transform: translateY(-7px); border-color: var(--orange); }
.video-image { position: relative; overflow: hidden; }
.video-image img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .55s ease; }
.video-card:hover .video-image img { transform: scale(1.025); }
.duration {
  position: absolute;
  right: 14px;
  bottom: 12px;
  padding: .22em .8em;
  border: 2px solid var(--white);
  border-radius: 999px;
  background: var(--orange);
  color: var(--white);
  font-size: .74rem;
  font-weight: 700;
}
.video-copy { padding: 1.55rem 1.65rem 1.8rem; }
.card-kicker { margin-bottom: .1rem; color: var(--orange-dark); font-size: .82rem; font-weight: 700; }
.video-copy h3 { margin-bottom: .6rem; font-size: 1.38rem; }
.video-copy > p:not(.card-kicker) { margin-bottom: .9rem; color: var(--ink-soft); font-size: .92rem; }
.button-gold { margin-top: .2rem; }
.video-copy small { display: block; margin-top: .8rem; color: var(--ink-faint); font-size: .68rem; line-height: 1.6; }

.light-section { background: var(--sky); }
.light-section::before, .light-section::after, .icon-section::after {
  content: "";
  position: absolute;
  left: -2%;
  width: 104%;
  height: 42px;
  border-radius: 50%;
  background: inherit;
}
.light-section::before { top: -21px; }
.light-section::after { bottom: -21px; }
.icon-section { padding-top: 7rem; background: var(--peach); }
.icon-section::after { bottom: -21px; }
.wallpaper-grid, .icon-grid {
  max-width: var(--wrap);
  display: flex;
  gap: 1.15rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-color: var(--orange) rgba(255,255,255,.55);
  scrollbar-width: thin;
  padding: .75rem .2rem 2rem;
  margin-inline: auto;
}
.wallpaper-card, .icon-card { position: relative; margin: 0; }
.wallpaper-card { flex: 0 0 230px; scroll-snap-align: start; }
.wallpaper-card:nth-child(odd) { rotate: -.5deg; }
.wallpaper-card:nth-child(even) { rotate: .5deg; }
.wallpaper-card img {
  width: 100%;
  aspect-ratio: 9 / 19.5;
  object-fit: cover;
  border: 6px solid var(--white);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .5s cubic-bezier(.34, 1.4, .64, 1);
}
.wallpaper-card:hover img { transform: translateY(-6px) rotate(-.5deg); }
.asset-actions { padding: .7rem .15rem 0; }
.asset-name { margin: 0; overflow: hidden; color: var(--ink-soft); font-size: .7rem; font-weight: 700; text-overflow: ellipsis; white-space: nowrap; }
.device-downloads { display: flex; gap: .4rem; margin-top: .55rem; }
.download-button {
  flex: 1;
  min-width: 0;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 .8rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  color: var(--orange-dark);
  font-size: .72rem;
  font-weight: 700;
  text-decoration: none;
  transition: transform .35s cubic-bezier(.34, 1.4, .64, 1), background .35s ease;
}
.download-button:hover { transform: translateY(-3px); background: var(--orange-soft); }
.icon-grid { gap: 1.6rem; }
.icon-card { flex: 0 0 210px; scroll-snap-align: start; }
.icon-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border: 8px solid var(--white);
  border-radius: 50%;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: transform .55s cubic-bezier(.34, 1.45, .64, 1);
}
.icon-card:nth-child(3n+1) img { rotate: -1.5deg; }
.icon-card:nth-child(3n+2) img { rotate: 1.2deg; }
.icon-card:hover img { transform: translateY(-7px) rotate(2deg); }
.icon-card .asset-name { display: none; }
.icon-card .device-downloads { margin-top: .8rem; }

.official-links {
  padding: 2.4rem var(--pad);
  border-top: 2px dotted var(--line);
  border-bottom: 2px dotted var(--line);
  background: var(--bg-alt);
  text-align: center;
}
.official-links > p { margin-bottom: .8rem; color: var(--ink-faint); font-size: .76rem; font-weight: 700; }
.official-links > div { display: flex; justify-content: center; gap: .45rem 1.15rem; flex-wrap: wrap; }
.official-links a {
  color: var(--ink-soft);
  font-size: .74rem;
  font-weight: 700;
  text-decoration-color: var(--line);
  text-underline-offset: .3em;
}
.official-links a:hover { color: var(--orange-dark); text-decoration-color: var(--orange); }

.closing {
  position: relative;
  min-height: 560px;
  overflow: hidden;
  padding: 11rem var(--pad) 8rem;
  text-align: center;
  background: var(--bg);
}
.closing img {
  width: clamp(210px, 35vw, 380px);
  margin: -7.5rem auto -1rem;
  animation: breathe 7s ease-in-out infinite;
}
@keyframes breathe { 50% { transform: translateY(-8px) rotate(-1deg); } }
.closing h2 { max-width: 720px; margin: 0 auto 1.2rem; }
.closing > p:not(.eyebrow) { color: var(--ink-soft); }
.text-link { display: inline-block; margin-top: 1.4rem; color: var(--orange-dark); font-weight: 700; text-underline-offset: .35em; }
footer {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.4rem max(var(--pad), calc((100vw - var(--wrap)) / 2));
  border-top: 2px dotted var(--line);
  color: var(--ink-faint);
  font-size: .72rem;
}
footer p { margin: 0; }
.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: 1.4rem;
  transform: translate(-50%, 140%);
  padding: .65rem 1.2rem;
  border: 2px solid var(--orange);
  border-radius: 999px;
  background: var(--white);
  color: var(--ink);
  box-shadow: var(--shadow);
  font-size: .8rem;
  font-weight: 700;
  transition: transform .25s ease;
}
.toast.show { transform: translate(-50%, 0); }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 116px; }
  .hero-copy { max-width: 680px; }
  .hero-visual { max-width: 720px; }
  .video-grid { grid-template-columns: 1fr; }
  .wallpaper-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .icon-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .site-header { min-height: 64px; padding-inline: 1rem; }
  .site-header nav { gap: .8rem; }
  .site-header nav a { font-size: .72rem; }
  .brand { font-size: 1rem; }
  .hero { min-height: auto; gap: 3.6rem; padding: 108px 1.25rem 6rem; }
  h1 { font-size: clamp(3rem, 16vw, 4.4rem); }
  .hero-visual img { border-radius: 12px; }
  .section { padding: 5.5rem 1.25rem; }
  .section-heading { grid-template-columns: 1fr; gap: .8rem; margin-bottom: 2.2rem; }
  .section-heading h2 { font-size: 2rem; }
  .video-copy { padding: 1.25rem; }
  .wallpaper-grid, .icon-grid { width: calc(100% + 1.25rem); margin-right: -1.25rem; padding-right: 1.25rem; }
  .wallpaper-card { flex-basis: min(72vw, 290px); }
  .asset-name { white-space: normal; line-height: 1.45; }
  .icon-section { padding-top: 5.5rem; }
  .icon-card { flex-basis: min(64vw, 260px); }
  .closing { min-height: 480px; padding: 9rem 1.25rem 6rem; }
  footer { flex-direction: column; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
