:root {
  color-scheme: light;
  container-type: inline-size;
  --unit: calc(min(100cqw, 1440px) / 736);
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  background: #f8f8f8;
  color: #111;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
@media (min-width: 600px) {
  body { background: linear-gradient(#f4f4f4 calc(470 * var(--unit)), #f8f8f8 0); }
}
a { color: inherit; text-decoration: none; }
a:focus-visible { outline: 2px solid #516b64; outline-offset: 5px; }
img { display: block; width: 100%; }
figure, h1, h2, p { margin: 0; }
.masthead, .hero { max-width: 1440px; margin-inline: auto; }
.masthead {
  height: calc(60 * var(--unit)); position: relative; display: grid; place-items: center;
  background: #f4f4f4;
}
nav { display: flex; gap: calc(36 * var(--unit)); align-items: center; font-size: calc(7 * var(--unit)); text-transform: uppercase; letter-spacing: .025em; }
nav a { display: inline-flex; align-items: center; min-height: calc(35 * var(--unit)); }
nav a:hover, footer a:hover { text-decoration: underline; text-underline-offset: .3em; }
.bag { width: calc(32 * var(--unit)); height: calc(34 * var(--unit)); display: grid; place-items: center; position: absolute; right: calc(34 * var(--unit)); top: calc(13 * var(--unit)); }
.bag svg { width: calc(13 * var(--unit)); height: calc(13 * var(--unit)); }
.hero {
  height: calc(410 * var(--unit)); background: #f4f4f4; isolation: isolate;
  overflow: hidden; position: relative;
}
.hero-copy { position: absolute; z-index: 1; top: calc(78 * var(--unit)); left: calc(91 * var(--unit)); }
h1 { font-size: calc(46 * var(--unit)); line-height: .975; letter-spacing: -.059em; font-weight: 500; }
h1 em { color: #a6a6a6; font-style: normal; }
.hero-figure { position: absolute; width: calc(408 * var(--unit)); right: 0; top: 0; }
.hero-figure::before {
  content: "";
  position: absolute;
  left: 8%;
  top: 86%;
  width: 65%;
  height: 7%;
  background: radial-gradient(ellipse, #25211e48 0%, #25211e20 36%, #25211e00 72%);
  pointer-events: none;
}
.hero-figure img { position: relative; height: auto; transform: translate3d(var(--x, 0px), var(--y, 0px), 0); transition: transform .45s ease-out; }
.button {
  display: inline-flex; align-items: center; justify-content: space-between; gap: calc(19 * var(--unit));
  min-height: calc(35 * var(--unit)); padding: 0 calc(16 * var(--unit)); border-radius: 99px; background: #fff;
  font-size: calc(8.5 * var(--unit)); font-weight: 500; white-space: nowrap;
  box-shadow: 0 calc(3 * var(--unit)) calc(12 * var(--unit)) #00000006;
  transition: background .25s, transform .25s;
}
.button:hover { background: #f7f7f7; transform: translateY(-3px); }
.button span { font-size: calc(11 * var(--unit)); line-height: 1; }
.hero .button { margin-top: calc(22 * var(--unit)); min-width: calc(155 * var(--unit)); }
.wrap { width: calc(612 * var(--unit)); margin-inline: auto; padding-top: calc(14 * var(--unit)); }
.features { display: grid; gap: calc(10 * var(--unit)); }
.feature { display: grid; align-items: center; gap: calc(25 * var(--unit)); }
.first { grid-template-columns: calc(330 * var(--unit)) 1fr; }
.second { grid-template-columns: calc(207 * var(--unit)) calc(381 * var(--unit)); }
.third { grid-template-columns: calc(343 * var(--unit)) 1fr; gap: calc(24 * var(--unit)); }
.second .feature-copy { grid-area: 1 / 1; padding-left: calc(23 * var(--unit)); }
.second .detail-image { grid-area: 1 / 2; }
.detail-image { overflow: hidden; border-radius: calc(5 * var(--unit)); --zoom: 1; }
.detail-image img { height: auto; scale: var(--zoom); transform-origin: var(--origin); transition: scale .65s cubic-bezier(.2,.65,.2,1); }
.detail-image:hover img { scale: calc(var(--zoom) + .2); }
.cup { --origin: 64% 74%; }
.band { --origin: 49% 21%; }
.cushion { --origin: 33% 64%; }
.number { font-size: calc(29 * var(--unit)); letter-spacing: -.055em; line-height: 1; margin-bottom: calc(10 * var(--unit)); }
.feature h2 { font-size: calc(16 * var(--unit)); letter-spacing: -.035em; font-weight: 500; line-height: 1.12; }
.feature-copy p:last-child, .banner p { font-size: calc(8.5 * var(--unit)); line-height: 1.55; color: #727272; margin-top: calc(8 * var(--unit)); max-width: calc(185 * var(--unit)); }
.products { position: relative; margin-top: calc(14 * var(--unit)); }
.product-window { position: relative; clip-path: inset(-32px 0); }
.product-track { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: calc(8 * var(--unit)); }
.products figure { min-width: 0; background: #f3f3f3; border-radius: calc(5 * var(--unit)); overflow: hidden; text-align: center; }
.products img { height: calc(94 * var(--unit)); object-fit: contain; }
figcaption { min-height: calc(42 * var(--unit)); font-size: calc(9 * var(--unit)); line-height: 1.55; padding: calc(4 * var(--unit)) calc(2 * var(--unit)) calc(8 * var(--unit)); }
figcaption small { display: block; font-size: inherit; }
.banner {
  display: flex; justify-content: space-between; align-items: center; gap: calc(12 * var(--unit));
  min-height: calc(90 * var(--unit)); margin-top: calc(15 * var(--unit)); padding: calc(14 * var(--unit)) calc(32 * var(--unit));
  background: #eaeaea url("assets/reference/waves.webp") center / auto 100% no-repeat; border-radius: calc(5 * var(--unit));
}
.banner h2 { font-weight: 500; font-size: calc(19 * var(--unit)); line-height: 1.05; letter-spacing: -.045em; }
.banner p { margin-top: calc(6 * var(--unit)); }
.banner .button { align-self: end; min-width: calc(120 * var(--unit)); }
footer { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: calc(12 * var(--unit)); min-height: calc(54 * var(--unit)); font-size: calc(7 * var(--unit)); text-transform: uppercase; }
footer div { display: flex; align-items: center; gap: calc(26 * var(--unit)); }
.footer-center { gap: calc(16 * var(--unit)); font-size: calc(11 * var(--unit)); }
.footer-right { justify-content: flex-end; }
@media (prefers-reduced-motion: no-preference) {
  .hero-copy { animation: enter .85s both; }
  .hero-figure { animation: enter 1.2s .12s both; }
  .motion .reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s, transform .7s; }
  .motion .reveal.visible { opacity: 1; transform: none; }
  .motion .feature:nth-child(2) { transition-delay: .08s; }
  .motion .feature:nth-child(3) { transition-delay: .16s; }
}
@keyframes enter { from { opacity: 0; translate: 0 24px; } to { opacity: 1; translate: 0 0; } }

@media (max-width: 599px) {
  .masthead { height: 3.5rem; padding: 0 2.75rem 0 .75rem; }
  nav { gap: clamp(.55rem, 2.55vw, 1.25rem); font-size: clamp(.58rem, 1.85vw, .75rem); }
  nav a { min-height: 2.75rem; }
  .bag { right: .15rem; top: .4rem; width: 2.625rem; height: 2.625rem; }
  .bag svg { width: .95rem; height: .95rem; }
  .hero { height: auto; display: grid; }
  .hero-copy { position: relative; inset: auto; padding: 2.5rem 1.4rem 0; }
  h1 { font-size: clamp(2.8rem, 11.5vw, 4.5rem); }
  .hero-figure { position: relative; width: min(100%, 25rem); justify-self: end; margin-top: -.75rem; }
  .button { min-height: 2.75rem; padding-inline: .9rem; font-size: .75rem; gap: .75rem; }
  .button span { font-size: .9rem; }
  .hero .button { margin-top: 1rem; }
  .wrap { width: auto; padding: 1rem; }
  .features { gap: 1.5rem; }
  .feature { grid-template-columns: minmax(0, 1fr); gap: .7rem; }
  .second .feature-copy, .second .detail-image { grid-area: auto; padding: 0; }
  .number { font-size: 1.65rem; margin-bottom: .35rem; }
  .feature h2, .banner h2 { font-size: 1.25rem; }
  .feature-copy p:last-child, .banner p { max-width: 37ch; font-size: .875rem; margin-top: .3rem; }
  .products { margin-top: 1.5rem; }
  .product-track { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .5rem; }
  .products img { height: auto; aspect-ratio: 1.55; object-fit: cover; }
  figcaption { font-size: .8rem; padding: .4rem .2rem .55rem; }
  .banner { padding: 1rem; margin-top: 1rem; flex-wrap: wrap; }
  footer { min-height: 3.5rem; grid-template-columns: 1fr auto; font-size: .6rem; gap: .6rem; }
  footer div { gap: .6rem; flex-wrap: wrap; }
  .footer-center { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-figure img, .button:hover { transform: none; }
  .detail-image:hover img { scale: var(--zoom); }
}

.product-pause {
  position: absolute;
  z-index: 2;
  right: .35rem;
  bottom: .35rem;
  min-height: 1.75rem;
  padding: .15rem .65rem;
  border: 1px solid #c7c7c7;
  border-radius: 99px;
  background: #fff;
  color: #171919;
  font: inherit;
  font-size: .72rem;
  cursor: pointer;
}
@media (hover: hover) {
  .product-pause { opacity: 0; }
  .products:hover .product-pause, .product-pause:focus { opacity: 1; }
}
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
  .product-track:hover figure { overflow: visible; }
  .product-track img {
    border-radius: calc(5 * var(--unit));
    transform: translateY(var(--thumbnail-lift, 0)) scale(var(--thumbnail-scale, 1));
    transition: transform 220ms cubic-bezier(.2,.75,.3,1);
  }
}
