@font-face { font-family: "Washi Menu"; src: url(assets/type/shippori-Regular.woff2) format("woff2"); font-display: swap; }
@font-face { font-family: Geist; src: url(assets/type/geist.woff2) format("woff2"); font-weight: 100 900; font-display: swap; }
:root {
  --ink: #1d1d1f; --paper-white: #fff; --mist: #f5f5f7; --soft: #45464b;
  --sky: #f5f5f7; --ai: #1d1d1f;
  --out: cubic-bezier(.23, 1, .32, 1);
  --nav: 52px;
  --edge: clamp(20px, 5.5vw, 120px);
}
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { background: var(--paper-white); -webkit-tap-highlight-color: transparent; -webkit-text-size-adjust: 100%; }
body { color: var(--ink); font: 450 1.0625rem/1.47 Geist, sans-serif; -webkit-font-smoothing: antialiased; }
img, canvas, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; touch-action: manipulation; }
button, input { font: inherit; color: inherit; }
button { padding: 0; border: 0; background: none; cursor: pointer; touch-action: manipulation; user-select: none; -webkit-user-select: none; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3 { font-weight: 640; text-wrap: balance; }
:focus-visible { outline: 3px solid currentColor; outline-offset: 4px; }
.skip { position: fixed; z-index: 90; left: 8px; top: -80px; padding: 12px 16px; background: var(--ink); color: #fff; }
.skip:focus { top: 8px; }

.nav {
  position: fixed; z-index: 50; inset: 0 0 auto; padding-top: env(safe-area-inset-top, 0px);
  background: #fff;
}
.nav.dark { background: #101012; color: #f5f5f7; }
.nav-in { height: var(--nav); max-width: 1120px; margin: auto; padding: 0 20px; display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.mark { display: flex; align-items: center; gap: 9px; min-height: 44px; font-weight: 640; font-size: 1.25rem; }
.pill {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 30px; border-radius: 99px;
  background: var(--ink); color: #fff; font-weight: 600; font-size: 1.1875rem; white-space: nowrap;
  transition: scale 120ms var(--out);
}
.nav.dark .pill { background: #f5f5f7; color: var(--ink); }
.pill-small { min-height: 34px; padding: 0 17px; font-size: .9375rem; }
.pill:active { scale: .96; }
@media (hover: hover) and (pointer: fine) { .pill:hover { scale: 1.05; } .pill:active { scale: .96; } }

.film { position: relative; }
.film-stage { position: relative; height: 100vh; height: 100svh; min-height: 520px; overflow: hidden; background: #fff; }
.film-canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.say { position: absolute; left: var(--edge); right: var(--edge); top: calc(var(--nav) + env(safe-area-inset-top, 0px) + clamp(14px, 3.4vh, 48px)); text-align: center; pointer-events: none; }
.settled { visibility: hidden; }
.m { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .13em; margin-bottom: -.13em; }
.m > span { display: inline-block; white-space: nowrap; }
.say h1, .say h2 { font-size: clamp(2.5rem, min(6.2vw, 11vh), 9.5rem); line-height: 1.02; letter-spacing: -.018em; }
.product { font-weight: 640; font-size: clamp(1.25rem, min(2.1vw, 3.6vh), 2.5rem); }
.offer { margin-top: clamp(10px, 2.2vh, 24px); }
.offer .m { padding: 8px; }
.offer .m > span { display: inline-flex; align-items: center; gap: 16px; }
.offer a { pointer-events: auto; }
.offer b { font-size: 1.1875rem; font-weight: 600; }
.lay p { margin-top: 12px; font-size: clamp(1.125rem, min(1.7vw, 3vh), 1.875rem); font-weight: 580; }
.inside { top: auto; bottom: clamp(18px, 5vh, 56px); }
.chip {
  display: inline-grid; grid-template-columns: auto auto; align-items: center; gap: 6px 26px; max-width: 100%;
  padding: 16px 28px; border-radius: 26px; background: var(--ink); color: #f5f5f7; text-align: left;
}
.chip b { font-size: clamp(1.625rem, min(3.2vw, 5.6vh), 3.5rem); line-height: 1.05; font-weight: 640; }
.chip span { grid-column: 1; font-size: clamp(1rem, 1.4vw, 1.375rem); line-height: 1.25; }
.chip ol { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 6px; }
.chip li { width: 8px; height: 8px; border-radius: 50%; background: #5b5b60; }
.chip li.on { background: #f5f5f7; }
.does { margin: clamp(6px, 1.4vh, 14px) auto 0; font-size: clamp(1rem, min(1.6vw, 2.7vh), 1.75rem); font-weight: 560; line-height: 1.3; }
@media (max-aspect-ratio: 17/20) {
  .inside { top: calc(var(--nav) + env(safe-area-inset-top, 0px) + 14px); bottom: auto; left: 12px; right: 12px; }
  .chip { width: 100%; grid-template-columns: 1fr; }
  .chip ol { grid-column: 1; grid-row: auto; }
  .offer { margin-top: 4px; }
  .offer .pill { min-height: 46px; }
}
.tour-list { display: none; }
@media (max-aspect-ratio: 17/25) and (min-height: 720px) {
  .inside { bottom: calc(env(safe-area-inset-bottom, 0px) + 14px); }
  .tour-list {
    position: absolute; left: 8px; right: 8px; bottom: 0;
    display: grid; grid-template-columns: 1fr 1fr; column-gap: 14px; text-align: left; color: #6e6e73;
    font-size: 1rem; line-height: 1.75;
  }
  .tour-list li.on { color: var(--ink); font-weight: 640; }
}
/* The words wait for nothing: no script, no 3D, no pictures */
@media (prefers-reduced-motion: no-preference) {
  .open .m > span { animation: rise 500ms var(--out) backwards; }
  .open .does .m > span { animation-delay: 60ms; }
  .open .offer .m > span { animation-delay: 110ms; }
}
@keyframes rise { from { translate: 0 108%; } }
