@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("/assets/fonts/mplus-rounded-regular-v1.ttf") format("truetype");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "M PLUS Rounded 1c";
  src: url("/assets/fonts/mplus-rounded-medium-v1.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --paper: #f6f0e4;
  --paper-deep: #ece3d1;
  --ink: #3b342e;
  --ink-soft: #73685c;
  --flame: #e8752a;
  --moss: #66745c;
  --dusk: #3e4e5e;
  --night: #17293a;
  --line: rgb(59 52 46 / 18%);
  --shell: min(1160px, calc(100% - 40px));
}

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

html {
  scroll-behavior: smooth;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  min-width: 320px;
  background: var(--paper);
  color: var(--ink);
  font-family: "M PLUS Rounded 1c", ui-rounded, system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  overflow-wrap: anywhere;
}

body::before {
  position: fixed;
  z-index: -1;
  inset: 0;
  background: url("/assets/paper-texture-v1.png") repeat;
  content: "";
  opacity: 0.035;
  pointer-events: none;
}

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

a {
  color: inherit;
  text-underline-offset: 0.22em;
  text-decoration-thickness: 0.08em;
}

:focus-visible {
  outline: 3px solid var(--flame);
  outline-offset: 4px;
}

h1,
h2,
p,
figure {
  margin-block-start: 0;
}

h1,
h2 {
  font-weight: 400;
  letter-spacing: 0.005em;
  line-height: 1.18;
}

h1 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 3.8vw, 3.35rem);
}

html[lang="en"] .hero h1 {
  font-size: clamp(2.2rem, 3.2vw, 3.05rem);
}

h2 {
  font-size: clamp(2.35rem, 4.8vw, 4.6rem);
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

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

.skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 16px;
  border-radius: 12px;
  background: var(--paper);
  color: var(--ink);
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: absolute;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  color: var(--paper);
}

.site-header__inner {
  display: flex;
  min-height: 88px;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-weight: 500;
  text-decoration: none;
}

.brand img {
  width: 44px;
  height: 44px;
  border: 1px solid rgb(246 240 228 / 35%);
  border-radius: 13px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.7vw, 32px);
  font-size: 0.88rem;
}

.site-nav a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  text-decoration: none;
}

.language-link {
  min-width: 44px;
  justify-content: center;
  border: 1px solid rgb(246 240 228 / 42%);
  border-radius: 999px;
}

.kicker {
  margin-bottom: 22px;
  color: var(--flame);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero {
  position: relative;
  min-height: 900px;
  overflow: clip;
  background-color: var(--night);
  background-image:
    linear-gradient(90deg, rgb(23 41 58 / 94%) 0%, rgb(23 41 58 / 82%) 36%, rgb(23 41 58 / 44%) 72%, rgb(23 41 58 / 62%) 100%),
    url("/assets/campsite-landscape-v1.png");
  background-position: center;
  background-size: cover;
  color: var(--paper);
}

.hero::after {
  content: none;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  min-height: 900px;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  grid-template-columns: minmax(440px, 0.92fr) minmax(500px, 1.08fr);
  padding-block: 140px 72px;
}

.hero__copy {
  align-self: center;
}

html[lang="ja"] .hero h1 {
  white-space: nowrap;
}

.hero__lead {
  margin-bottom: 26px;
  color: var(--paper-deep);
  font-size: clamp(1.05rem, 1.8vw, 1.28rem);
}

.release-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  color: var(--paper-deep);
  font-size: 0.9rem;
}

.release-status::before {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--flame);
  content: "";
}

.hero-devices {
  --mochi-end-x: 340px;
  --mochi-end-y: -82px;
  --mochi-exit-x: 352px;
  --mochi-exit-y: -88px;
  position: relative;
  width: min(600px, 100%);
  min-height: 710px;
  margin-inline: auto;
}

.device-phone {
  position: absolute;
  z-index: 2;
  top: 0;
  left: 58px;
  width: 350px;
  aspect-ratio: 390 / 844;
  padding: 8px;
  border: 1px solid rgb(246 240 228 / 20%);
  border-radius: 62px;
  background: linear-gradient(115deg, #77736e 0%, #2e2c2a 24%, #161513 58%, #5d5954 100%);
  box-shadow:
    0 38px 80px rgb(15 20 25 / 40%),
    inset 1px 0 0 rgb(246 240 228 / 25%),
    inset -1px 0 0 rgb(59 52 46 / 45%);
}

.device-phone__screen {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  border: 3px solid #191816;
  border-radius: 54px;
  background: var(--night);
}

.device-phone__screen > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.device-phone__button {
  position: absolute;
  left: -5px;
  width: 4px;
  border-radius: 4px 0 0 4px;
  background: #3b3936;
  box-shadow: inset 1px 0 rgb(246 240 228 / 18%);
}

.device-phone__button--action {
  top: 126px;
  height: 34px;
}

.device-phone__button--volume {
  top: 184px;
  height: 84px;
}

.device-phone__island {
  position: absolute;
  z-index: 8;
  top: 22px;
  left: 50%;
  width: 88px;
  height: 24px;
  border-radius: 999px;
  background: #171614;
  transform: translateX(-50%);
}

.hero-camp {
  z-index: 1;
}

.hero-home-ui {
  position: absolute;
  z-index: 4;
  inset: 0;
  color: var(--paper);
  animation: hero-home-ui 16s ease-in-out infinite;
}

.hero-home-ui span {
  position: absolute;
  top: 18px;
  left: 30px;
  font-size: 0.72rem;
  font-weight: 500;
}

.hero-home-ui strong {
  position: absolute;
  right: 0;
  bottom: 54px;
  left: 0;
  font-size: 1.05rem;
  font-weight: 400;
  text-align: center;
}

.hero-focus {
  z-index: 6;
  opacity: 0;
  animation: hero-focus 16s ease-in-out infinite;
}

.hero-mochi {
  position: absolute;
  z-index: 7;
  top: 500px;
  left: -92px;
  width: 160px;
  aspect-ratio: 320 / 250;
  transform-origin: 50% 100%;
  animation: hero-mochi-walk 16s linear infinite;
}

.hero-mochi__frame {
  position: absolute;
  inset: 0;
  width: 100%;
}

.hero-mochi__frame--a {
  animation: hero-mochi-step-a 16s step-end infinite;
}

.hero-mochi__frame--b {
  opacity: 0;
  animation: hero-mochi-step 16s step-end infinite;
}

.device-watch {
  position: absolute;
  z-index: 5;
  right: 0;
  bottom: 26px;
  width: 198px;
  height: 340px;
  transform: rotate(2deg);
}

.device-watch__strap {
  position: absolute;
  z-index: 0;
  left: 50%;
  width: 102px;
  border: 1px solid rgb(246 240 228 / 16%);
  background:
    linear-gradient(90deg, rgb(246 240 228 / 8%), transparent 24% 76%, rgb(59 52 46 / 18%)),
    #4a4742;
  transform: translateX(-50%);
}

.device-watch__strap--top {
  top: 0;
  height: 96px;
  border-radius: 28px 28px 16px 16px;
}

.device-watch__strap--bottom {
  bottom: 0;
  height: 106px;
  border-radius: 16px 16px 32px 32px;
}

.device-watch__case {
  position: absolute;
  z-index: 2;
  top: 67px;
  left: 50%;
  width: 198px;
  aspect-ratio: 416 / 496;
  padding: 7px;
  border: 1px solid rgb(246 240 228 / 25%);
  border-radius: 49px;
  background: linear-gradient(135deg, #817e78, #2c2a27 34%, #171614 68%, #66625d);
  box-shadow:
    0 28px 55px rgb(15 20 25 / 42%),
    inset 1px 1px rgb(246 240 228 / 20%);
  transform: translateX(-50%);
}

.device-watch__screen {
  overflow: hidden;
  border: 2px solid #171614;
  border-radius: 41px;
  background: var(--night);
}

.device-watch__screen img {
  width: 100%;
  height: auto;
}

.device-watch__crown {
  position: absolute;
  top: 57px;
  right: -13px;
  width: 11px;
  height: 30px;
  border-radius: 0 8px 8px 0;
  background: linear-gradient(90deg, #292724, #77736e);
}

.device-watch__side {
  position: absolute;
  top: 101px;
  right: -9px;
  width: 7px;
  height: 40px;
  border-radius: 0 5px 5px 0;
  background: #3b3936;
}

@keyframes hero-mochi-walk {
  0%,
  10% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  12% {
    opacity: 1;
    transform: translate3d(0, 0, 0) scale(1);
  }

  31% {
    opacity: 1;
    transform: translate3d(var(--mochi-end-x), var(--mochi-end-y), 0) scale(0.62);
  }

  36%,
  87% {
    opacity: 0;
    transform: translate3d(var(--mochi-exit-x), var(--mochi-exit-y), 0) scale(0.58);
  }

  100% {
    opacity: 0;
    transform: translate3d(0, 0, 0) scale(1);
  }
}

@keyframes hero-mochi-step-a {
  0%, 13.9%, 16%, 17.9%, 20%, 21.9%, 24%, 25.9%, 28%, 29.9%, 32%, 100% {
    opacity: 1;
  }

  14%, 15.9%, 18%, 19.9%, 22%, 23.9%, 26%, 27.9%, 30%, 31.9% {
    opacity: 0;
  }
}

@keyframes hero-mochi-step {
  0%, 13.9%, 16%, 17.9%, 20%, 21.9%, 24%, 25.9%, 28%, 29.9%, 32%, 100% {
    opacity: 0;
  }

  14%, 15.9%, 18%, 19.9%, 22%, 23.9%, 26%, 27.9%, 30%, 31.9% {
    opacity: 1;
  }
}

@keyframes hero-focus {
  0%,
  32%,
  92%,
  100% {
    opacity: 0;
  }

  38%,
  87% {
    opacity: 1;
  }
}

@keyframes hero-home-ui {
  0%,
  31%,
  94%,
  100% {
    opacity: 1;
  }

  37%,
  90% {
    opacity: 0;
  }
}

.section {
  padding-block: clamp(92px, 12vw, 164px);
}

.no-break {
  white-space: nowrap;
}

.story__intro {
  max-width: 760px;
  margin-bottom: clamp(62px, 9vw, 110px);
}

.story__intro h2 {
  margin-bottom: 24px;
  font-size: clamp(2.2rem, 4.25vw, 4.2rem);
}

.story__intro > p:last-child {
  max-width: 620px;
  color: var(--ink-soft);
  font-size: 1.06rem;
}

.story__screens {
  display: grid;
  align-items: start;
  gap: clamp(18px, 4vw, 58px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.story-shot {
  margin: 0;
}

.story-shot--reward,
.story-shot--site {
  margin-top: 0;
}

.story-phone {
  position: relative;
  overflow: hidden;
  border: 6px solid var(--ink);
  border-radius: 42px;
  background: var(--ink);
  box-shadow: 0 28px 62px rgb(59 52 46 / 17%);
}

.story-phone img {
  width: 100%;
  height: auto;
}

.story-shot figcaption {
  margin-top: 18px;
  font-size: 0.92rem;
  text-align: center;
}

.reactions {
  position: relative;
  overflow: hidden;
  background-color: var(--night);
  background-image:
    linear-gradient(90deg, rgb(23 41 58 / 90%) 0%, rgb(23 41 58 / 72%) 45%, rgb(23 41 58 / 40%) 100%),
    url("/assets/campsite-landscape-v1.png");
  background-position: center;
  background-size: cover;
  color: var(--paper);
}

.reactions__inner {
  display: grid;
  align-items: center;
  gap: clamp(40px, 8vw, 120px);
  grid-template-columns: minmax(280px, 0.8fr) minmax(420px, 1.2fr);
}

.reactions__copy h2 {
  margin-bottom: 24px;
}

.reactions__copy > p:last-child {
  max-width: 460px;
  color: var(--paper-deep);
}

.reactions__scene {
  display: flex;
  min-height: 440px;
  align-items: end;
  justify-content: center;
  gap: clamp(24px, 4vw, 68px);
}

.reaction {
  position: relative;
  margin: 0;
  text-align: center;
}

.reaction img {
  width: auto;
  height: 300px;
  object-fit: contain;
}

.reaction--grumpy img {
  height: 260px;
}

.reaction figcaption {
  display: inline-block;
  margin-top: 4px;
  color: var(--paper-deep);
  font-size: 0.8rem;
}

.watch-feature {
  background: var(--paper-deep);
}

.watch-feature__inner {
  display: grid;
  align-items: center;
  gap: clamp(54px, 10vw, 150px);
  grid-template-columns: minmax(320px, 0.95fr) minmax(300px, 1.05fr);
}

.watch-feature__visual {
  display: grid;
  min-height: 570px;
  place-items: center;
}

.watch-feature .device-watch {
  position: relative;
  inset: auto;
}

.device-watch--large {
  width: 278px;
  height: 478px;
  transform: rotate(-2deg);
}

.device-watch--large .device-watch__strap {
  width: 142px;
}

.device-watch--large .device-watch__strap--top {
  height: 135px;
  border-radius: 39px 39px 22px 22px;
}

.device-watch--large .device-watch__strap--bottom {
  height: 148px;
  border-radius: 22px 22px 44px 44px;
}

.device-watch--large .device-watch__case {
  top: 94px;
  width: 278px;
  padding: 9px;
  border-radius: 68px;
}

.device-watch--large .device-watch__screen {
  border-radius: 58px;
}

.device-watch--large .device-watch__crown {
  top: 82px;
  right: -17px;
  width: 15px;
  height: 42px;
}

.device-watch--large .device-watch__side {
  top: 142px;
  right: -12px;
  width: 10px;
  height: 55px;
}

.watch-feature__copy h2 {
  margin-bottom: 24px;
}

.watch-feature__copy > p:last-child {
  color: var(--ink-soft);
}

.text-link {
  font-weight: 500;
  text-decoration: none;
}

.text-link:hover {
  text-decoration: underline;
}

.final-call {
  background: var(--dusk);
  color: var(--paper);
  text-align: center;
}

.final-call__icon {
  width: 88px;
  height: 88px;
  border: 1px solid rgb(246 240 228 / 28%);
  border-radius: 25px;
  margin: 0 auto 28px;
}

.final-call h2 {
  margin-bottom: 28px;
}

.site-footer {
  padding-block: 60px 36px;
  border-top: 1px solid var(--line);
  background: var(--paper);
}

.site-footer .brand img {
  border-color: var(--line);
}

.site-footer__inner {
  display: grid;
  align-items: start;
  gap: 32px 50px;
  grid-template-columns: minmax(240px, 1fr) auto;
}

.footer-note {
  max-width: 480px;
  margin-top: 18px;
  color: var(--ink-soft);
  font-size: 0.88rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 16px 26px;
  font-size: 0.86rem;
}

.copyright {
  margin: 0;
  color: var(--ink-soft);
  font-size: 0.78rem;
  grid-column: 1 / -1;
}

@media (max-width: 930px) {
  .hero__inner {
    grid-template-columns: 1fr;
    padding-top: 134px;
  }

  .hero__copy {
    max-width: 620px;
  }

  .hero-devices {
    min-height: 690px;
  }

  .reactions__inner,
  .watch-feature__inner {
    grid-template-columns: 1fr;
  }

  .reactions__scene {
    min-height: 350px;
    justify-content: flex-start;
  }

  .watch-feature__visual {
    min-height: 510px;
  }

  .watch-feature__copy {
    max-width: 620px;
  }
}

@media (max-width: 680px) {
  :root {
    --shell: min(100% - 30px, 1160px);
  }

  body {
    font-size: 16px;
  }

  h1,
  html[lang="en"] .hero h1 {
    font-size: clamp(1.95rem, 9vw, 2.3rem);
  }

  h2 {
    font-size: clamp(2.2rem, 10.5vw, 3.4rem);
  }

  .site-header__inner {
    min-height: 76px;
  }

  .brand span {
    font-size: 0.92rem;
  }

  .brand img {
    width: 40px;
    height: 40px;
  }

  .site-nav a:not(.language-link) {
    display: none;
  }

  .site-nav {
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero__inner {
    min-height: auto;
    padding-block: 120px 58px;
  }

  .hero-devices {
    --mochi-end-x: 225px;
    --mochi-end-y: -58px;
    --mochi-exit-x: 235px;
    --mochi-exit-y: -62px;
    width: 100%;
    min-height: 610px;
  }

  .hero-mochi {
    top: 420px;
    left: -55px;
    width: 120px;
  }

  .device-phone {
    left: max(0px, calc(50% - 165px));
    width: 300px;
    border-radius: 54px;
  }

  .device-phone__screen {
    border-radius: 46px;
  }

  .device-watch {
    right: -2px;
    bottom: 12px;
    width: 156px;
    height: 278px;
  }

  .device-watch__strap {
    width: 80px;
  }

  .device-watch__strap--top {
    height: 78px;
  }

  .device-watch__strap--bottom {
    height: 86px;
  }

  .device-watch__case {
    top: 55px;
    width: 156px;
    padding: 5px;
    border-radius: 39px;
  }

  .device-watch__screen {
    border-radius: 33px;
  }

  .device-watch__crown {
    top: 46px;
    right: -10px;
    width: 9px;
    height: 25px;
  }

  .device-watch__side {
    top: 80px;
    right: -7px;
    height: 32px;
  }

  .story__screens {
    width: calc(100% + 15px);
    padding: 10px 15px 26px 0;
    margin-right: -15px;
    grid-auto-columns: 72vw;
    grid-auto-flow: column;
    grid-template-columns: none;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .story-shot {
    margin-top: 0;
    scroll-snap-align: start;
  }

  .story-phone {
    border-width: 5px;
    border-radius: 38px;
  }

  .reactions {
    background-position: 58% center;
  }

  .reactions__scene {
    min-height: 280px;
    gap: 18px;
  }

  .reaction img,
  .reaction--grumpy img {
    height: 210px;
  }

  .watch-feature__inner {
    gap: 24px;
  }

  .watch-feature__visual {
    min-height: 430px;
  }

  .device-watch--large {
    width: 228px;
    height: 398px;
  }

  .device-watch--large .device-watch__strap {
    width: 116px;
  }

  .device-watch--large .device-watch__strap--top {
    height: 112px;
  }

  .device-watch--large .device-watch__strap--bottom {
    height: 124px;
  }

  .device-watch--large .device-watch__case {
    top: 77px;
    width: 228px;
    padding: 8px;
    border-radius: 56px;
  }

  .device-watch--large .device-watch__screen {
    border-radius: 48px;
  }

  .device-watch--large .device-watch__crown {
    top: 66px;
    right: -14px;
    width: 13px;
    height: 36px;
  }

  .device-watch--large .device-watch__side {
    top: 116px;
    right: -10px;
    width: 9px;
    height: 48px;
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }

  .copyright {
    grid-column: auto;
  }
}

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

  .hero-focus {
    opacity: 1;
  }

  .hero-home-ui,
  .hero-mochi,
  .hero-mochi__frame--b,
  .hero-focus {
    animation: none;
  }

  .hero-home-ui,
  .hero-mochi {
    display: none;
  }
}
