/* ============================================================
   Rsea Portfolio — "水と光"
   bright / editorial / vivid blue accent
   ============================================================ */

:root {
  --bg: #f7fafc;
  --bg-tint: #eaf3f9;
  --ink: #0e1620;
  --ink-soft: #4c5a68;
  --blue: #0a6cff;
  --blue-deep: #0653c4;
  --blue-pale: #d8e9ff;
  --line: #dbe5ec;
  --white: #ffffff;
  --radius: 18px;
  --font-jp: "Zen Kaku Gothic New", sans-serif;
  --font-serif: "Zen Old Mincho", serif;
  --font-en: "Syne", sans-serif;
  --header-h: 76px;
  --pad-x: clamp(20px, 6vw, 96px);
  --maxw: 1400px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

/* note: CSS scroll-behavior:smooth stalls on this page in Chrome
   (conflicts with the rAF parallax scroll listener); JS handles anchor scrolling */

body {
  font-family: var(--font-jp);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.8;
  font-size: 15.5px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, video { display: block; max-width: 100%; }
[hidden] { display: none !important; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

::selection { background: var(--blue); color: #fff; }

/* ------------------------------------------------ cursor */
.cursor {
  position: fixed; z-index: 9999; top: 0; left: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  pointer-events: none;
  transform: translate(-50%, -50%);
  transition: width .25s ease, height .25s ease, opacity .25s ease, background .25s ease;
  opacity: 0;
  mix-blend-mode: multiply;
}
.cursor.is-active { opacity: .85; }
.cursor.is-hover { width: 44px; height: 44px; background: var(--blue-pale); }
@media (hover: none) { .cursor { display: none; } }

/* ------------------------------------------------ header */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 var(--pad-x);
  transition: background .4s ease, box-shadow .4s ease, height .4s ease;
}
.site-header.is-scrolled {
  height: 60px;
  background: rgba(247, 250, 252, .82);
  backdrop-filter: blur(14px);
  box-shadow: 0 1px 0 var(--line);
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__mark {
  width: 30px; height: 21px;
  background: var(--blue);
  -webkit-mask: url(../assets/img/logo-mask.png) center / contain no-repeat;
  mask: url(../assets/img/logo-mask.png) center / contain no-repeat;
  transition: background .3s ease;
}
.brand:hover .brand__mark { background: var(--ink); }
.brand__name {
  font-family: var(--font-en); font-weight: 800; font-size: 21px; letter-spacing: .02em;
}

.nav { display: flex; align-items: center; gap: clamp(18px, 3vw, 34px); }
.nav a {
  font-family: var(--font-en); font-weight: 600; font-size: 14px; letter-spacing: .04em;
  position: relative; padding: 4px 0;
}
.nav a:not(.nav__cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 100%;
  background: var(--blue);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s cubic-bezier(.22,1,.36,1);
}
.nav a:not(.nav__cta):hover::after { transform: scaleX(1); transform-origin: left; }
.nav__cta {
  background: var(--ink); color: #fff !important;
  padding: 9px 22px !important; border-radius: 100px;
  transition: background .3s ease, transform .3s ease;
}
.nav__cta:hover { background: var(--blue); transform: translateY(-2px); }

/* ------------------------------------------------ hero */
.hero {
  min-height: min(100svh, 980px);
  display: flex; flex-direction: column; justify-content: center;
  padding: calc(var(--header-h) + 20px) var(--pad-x) 0;
  position: relative;
  background:
    radial-gradient(1100px 520px at 88% -10%, #e3f0fb 0%, rgba(227, 240, 251, 0) 62%),
    var(--bg);
}
.hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  align-items: center;
  gap: clamp(24px, 5vw, 72px);
  flex: 1;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}

.hero__overline {
  font-family: var(--font-en);
  font-weight: 600; font-size: 13px; letter-spacing: .14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: clamp(18px, 3vh, 30px);
  display: flex; align-items: center; gap: 12px;
}
.hero__overline::before {
  content: ""; width: 34px; height: 2px; background: var(--blue); flex: none;
}

.hero__title {
  font-family: var(--font-serif);
  font-weight: 900;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.28;
  letter-spacing: .02em;
  margin-bottom: clamp(20px, 3.5vh, 34px);
  white-space: nowrap;
}
.hero__title em {
  font-style: normal;
  color: var(--blue);
  position: relative;
}
.hero__title .line { display: block; overflow: hidden; }
.hero__title .line__in {
  display: inline-block;
  transform: translateY(110%);
  animation: lineup 1.1s cubic-bezier(.19,1,.22,1) forwards;
}
.hero__title .line:nth-child(2) .line__in { animation-delay: .14s; }
@keyframes lineup { to { transform: translateY(0); } }

.hero__lead {
  color: var(--ink-soft);
  max-width: 46em;
  margin-bottom: clamp(24px, 4vh, 40px);
}

.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-jp); font-weight: 700; font-size: 14.5px;
  padding: 15px 30px; border-radius: 100px;
  transition: transform .3s cubic-bezier(.22,1,.36,1), box-shadow .3s ease, background .3s ease, color .3s ease;
}
.btn__arrow { transition: transform .3s ease; font-family: var(--font-en); }
.btn:hover .btn__arrow { transform: translateX(4px); }
.btn--primary {
  background: var(--blue); color: #fff;
  box-shadow: 0 8px 24px rgba(10, 108, 255, .28);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(10, 108, 255, .34); background: var(--blue-deep); }
.btn--ghost {
  border: 1.5px solid var(--ink); color: var(--ink);
}
.btn--ghost:hover { background: var(--ink); color: #fff; transform: translateY(-3px); }
.btn--small { padding: 11px 22px; font-size: 13.5px; }
.btn--large { padding: 18px 40px; font-size: 16px; }

/* hero media collage — width-driven fixed aspect so the composition
   holds at any resolution; height-capped so it never overflows short screens */
.hero__media {
  position: relative;
  width: min(100%, calc((100vh - 250px) * 1.06), 620px);
  width: min(100%, calc((100svh - 250px) * 1.06), 620px);
  aspect-ratio: 1.06 / 1;
  justify-self: center;
}
.hm {
  position: absolute;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -18px rgba(14, 22, 32, .28);
  opacity: 0;
  animation: hmfade 1.2s cubic-bezier(.19,1,.22,1) forwards;
}
.hm img, .hm video { width: 100%; height: 100%; object-fit: cover; }
.hm--a {
  width: 62%; aspect-ratio: 16/10.5;
  right: 0; top: 4%;
  animation-delay: .25s;
}
.hm--b {
  width: 52%; aspect-ratio: 4/4.4;
  left: 0; bottom: 6%;
  animation-delay: .45s;
  z-index: 2;
}
.hm--c {
  width: 44%; aspect-ratio: 16/11;
  right: 6%; bottom: -4%;
  animation-delay: .65s;
  z-index: 3;
}
@keyframes hmfade {
  from { opacity: 0; transform: translateY(46px); }
  to { opacity: 1; transform: translateY(0); }
}
.bubble {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  z-index: 4;
}
.bubble--lg {
  width: 92px; height: 92px;
  border: 2px solid var(--blue);
  left: 13%; top: 2%;
  animation: hmfade 1s .85s ease forwards, bubblefloat 6.5s 1.8s ease-in-out infinite;
}
.bubble--sm {
  width: 16px; height: 16px;
  background: var(--blue);
  left: 25%; top: 13%;
  animation: hmfade 1s 1.05s ease forwards, bubblefloat 4.5s 2s ease-in-out infinite;
}
.bubble--md {
  width: 38px; height: 38px;
  border: 2px solid rgba(10, 108, 255, .45);
  left: -2%; top: 66%;
  animation: hmfade 1s 1.25s ease forwards, bubblefloat 7.5s 2.3s ease-in-out infinite;
}
@keyframes bubblefloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(5px, -18px); }
}
.hm__wave {
  position: absolute; left: -3%; top: 38%;
  width: 130px; color: var(--blue);
  opacity: 0;
  animation: hmfade 1s 1s ease forwards;
}
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

.hero__vertical {
  position: absolute;
  right: 26px; top: 50%;
  translate: 0 -50%;
  writing-mode: vertical-rl;
  font-family: var(--font-serif);
  font-size: 12px; letter-spacing: .5em;
  color: var(--ink-soft);
  opacity: 0;
  animation: hmfade 1.2s 1.2s ease forwards;
}
@media (max-width: 1250px) { .hero__vertical { display: none; } }

.hero__foot {
  display: flex; justify-content: space-between; align-items: flex-end;
  padding: 26px 0 30px;
  gap: 20px;
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
}
.hero__scroll {
  font-family: var(--font-en); font-size: 12px; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  display: flex; align-items: center; gap: 12px;
  color: var(--ink-soft);
}
.hero__scrollbar {
  display: inline-block; width: 68px; height: 2px;
  background: var(--line); position: relative; overflow: hidden;
}
.hero__scrollbar::after {
  content: ""; position: absolute; inset: 0;
  background: var(--blue);
  animation: scrollline 2.2s cubic-bezier(.65,0,.35,1) infinite;
}
@keyframes scrollline {
  0% { transform: translateX(-100%); }
  55% { transform: translateX(0); }
  100% { transform: translateX(100%); }
}
.hero__note {
  font-size: 12px; color: var(--ink-soft); letter-spacing: .05em;
  font-family: var(--font-en);
}

/* large screens: let the hero breathe wider instead of leaving voids */
@media (min-width: 1800px) {
  .hero__inner, .hero__foot { max-width: 1680px; }
  .hero__title { font-size: clamp(76px, 4vw, 100px); }
  .hero__lead { font-size: 17px; }
  .hero__media {
    width: min(100%, calc((100vh - 280px) * 1.06), 760px);
    width: min(100%, calc((100svh - 280px) * 1.06), 760px);
  }
}

/* ------------------------------------------------ marquee */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: var(--white);
  padding: 18px 0;
}
.marquee__track {
  display: flex; align-items: center; gap: 34px;
  width: max-content;
  animation: marquee 100s linear infinite;
}
.marquee__track span {
  font-family: var(--font-en);
  font-weight: 700; font-size: 22px; letter-spacing: .03em;
  color: transparent;
  -webkit-text-stroke: 1.2px rgba(14, 22, 32, .55);
  white-space: nowrap;
}
.marquee__track i { color: var(--blue); font-style: normal; font-size: 14px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ------------------------------------------------ sections */
.section { padding: clamp(80px, 12vh, 140px) var(--pad-x); }
.section--tint { background: var(--bg-tint); }
.section__head, .feature-list, .world-grid, .shop, .about {
  max-width: var(--maxw);
  margin-inline: auto;
}

.section__head {
  display: flex; align-items: baseline; gap: clamp(16px, 3vw, 40px);
  margin-bottom: clamp(44px, 7vh, 80px);
}
.section__num {
  font-family: var(--font-en); font-weight: 400; font-size: clamp(15px, 1.6vw, 19px);
  color: var(--blue);
}
.section__num::after { content: ""; display: inline-block; width: 40px; height: 1px; background: var(--blue); vertical-align: middle; margin-left: 14px; }
.section__title {
  font-family: var(--font-en); font-weight: 800;
  font-size: clamp(34px, 4.6vw, 60px);
  letter-spacing: .01em; line-height: 1.1;
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 22px;
}
.section__sub {
  font-family: var(--font-jp); font-weight: 500;
  font-size: clamp(13px, 1.4vw, 15px); color: var(--ink-soft);
  letter-spacing: .06em;
}

/* ------------------------------------------------ feature (client works) */
.feature-list { display: flex; flex-direction: column; gap: clamp(70px, 11vh, 120px); }

.feature {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(26px, 4.5vw, 64px);
  align-items: center;
}
.feature--rev { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); }
.feature--rev .feature__media { order: 2; }
.feature--rev .feature__body { order: 1; }

.feature__media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 30px 70px -22px rgba(14, 22, 32, .3);
  position: relative;
}
.feature__media video, .feature__media > img {
  width: 100%; aspect-ratio: 16/9.2; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.feature__media:hover video, .feature__media:hover > img { transform: scale(1.03); }
.feature__media--grid2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: 10px;
  box-shadow: none; border-radius: 0; overflow: visible;
}
.feature__media--grid2 img {
  width: 100%; aspect-ratio: 10/12; object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 24px 54px -20px rgba(14, 22, 32, .3);
}
.feature__media--grid2 img:last-child { transform: translateY(26px); }
.feature__media--pv video { aspect-ratio: 16/7; }

.feature__meta { display: flex; gap: 8px; margin-bottom: 18px; flex-wrap: wrap; }
.tag {
  font-family: var(--font-en); font-size: 11.5px; font-weight: 700;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-pale);
  border-radius: 100px; padding: 5px 14px;
}
.tag--plain { background: transparent; border: 1px solid var(--line); color: var(--ink-soft); }

.feature__title {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(26px, 3vw, 38px); line-height: 1.35;
  margin-bottom: 16px;
}
.feature__desc { color: var(--ink-soft); margin-bottom: 22px; max-width: 34em; }

.textlink {
  font-weight: 700; font-size: 14px;
  color: var(--blue);
  display: inline-flex; align-items: center; gap: 6px;
  border-bottom: 1.5px solid transparent;
  transition: border-color .3s ease, gap .3s ease;
}
.textlink:hover { border-color: var(--blue); gap: 10px; }

/* ------------------------------------------------ world grid */
.world-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: clamp(18px, 2.6vw, 30px);
}
.wcard { grid-column: span 2; }
.wcard--wide { grid-column: span 3; }

.wcard__media {
  border-radius: var(--radius); overflow: hidden;
  position: relative;
  box-shadow: 0 18px 44px -18px rgba(14, 22, 32, .25);
}
.wcard__media img, .wcard__media video {
  width: 100%; aspect-ratio: 16/10; object-fit: cover;
  transition: transform .8s cubic-bezier(.22,1,.36,1);
}
.wcard--wide .wcard__media img, .wcard--wide .wcard__media video { aspect-ratio: 16/8.6; }
.wcard:hover .wcard__media img, .wcard:hover .wcard__media video { transform: scale(1.045); }

.wcard__body { padding: 18px 6px 0; }
.wcard__body h3 {
  font-family: var(--font-serif); font-weight: 700; font-size: 19px;
  margin-bottom: 6px;
  display: flex; align-items: center; gap: 10px;
}
.wcard__body h3::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
  background: var(--blue); flex: none;
}
.wcard__body p { color: var(--ink-soft); font-size: 13.5px; line-height: 1.75; }
.wcard__body .textlink { margin-top: 10px; font-size: 13px; }
.wcard__body .wcard__private {
  margin-top: 10px;
  font-family: var(--font-en);
  font-size: 11px; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--ink-soft);
}

/* ------------------------------------------------ products */
.shop {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 8fr);
  gap: clamp(28px, 4.5vw, 70px);
  align-items: start;
}
.shop + .shop { margin-top: clamp(70px, 11vh, 120px); }

.shop__intro { position: sticky; top: 110px; }
.shop__name {
  font-family: var(--font-en); font-weight: 800;
  font-size: clamp(26px, 3vw, 36px);
  display: flex; flex-direction: column; gap: 2px;
  margin-bottom: 16px;
}
.shop__kana { font-family: var(--font-jp); font-weight: 500; font-size: 12.5px; color: var(--ink-soft); letter-spacing: .2em; }
.shop__desc { color: var(--ink-soft); margin-bottom: 24px; }

.shop__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2vw, 26px);
}
.shop__grid--pairs {
  grid-template-columns: repeat(2, 1fr);
  max-width: 660px;
}
.product { display: block; }
.product figure {
  border-radius: 14px; overflow: hidden;
  background: var(--white);
  box-shadow: 0 14px 34px -16px rgba(14, 22, 32, .22);
  margin-bottom: 12px;
  position: relative;
}
.product figure::after {
  content: "View on BOOTH ↗";
  position: absolute; inset: auto 10px 10px auto;
  font-family: var(--font-en); font-size: 10.5px; font-weight: 700; letter-spacing: .06em;
  background: rgba(255, 255, 255, .92); color: var(--ink);
  padding: 6px 12px; border-radius: 100px;
  opacity: 0; transform: translateY(6px);
  transition: opacity .35s ease, transform .35s ease;
}
.product:hover figure::after { opacity: 1; transform: translateY(0); }
.product img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  transition: transform .7s cubic-bezier(.22,1,.36,1);
}
.product:hover img { transform: scale(1.05); }
.product__name { font-weight: 700; font-size: 14.5px; line-height: 1.5; }
.product__name span { color: var(--blue); font-family: var(--font-en); font-size: 12.5px; font-weight: 700; margin-left: 4px; }
.product__cat { font-family: var(--font-en); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-soft); }

/* ------------------------------------------------ about */
.about {
  display: grid;
  grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
  gap: clamp(30px, 5vw, 80px);
}
.about__name {
  font-family: var(--font-en); font-weight: 800; font-size: clamp(30px, 3.4vw, 44px);
  margin-bottom: 22px;
  display: flex; align-items: baseline; gap: 14px;
}
.about__kana { font-family: var(--font-jp); font-size: 13px; font-weight: 500; color: var(--ink-soft); letter-spacing: .2em; }
.about__text { color: var(--ink-soft); max-width: 40em; }
.about__text + .about__text { margin-top: 16px; }

.about__list { border-top: 1px solid var(--line); }
.about__list > div {
  display: grid; grid-template-columns: 130px 1fr; gap: 14px;
  padding: 15px 4px;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.about__list dt {
  font-family: var(--font-en); font-weight: 700; font-size: 12px;
  letter-spacing: .12em; text-transform: uppercase; color: var(--blue);
}
.about__list dd { font-size: 14px; font-weight: 500; }

/* ------------------------------------------------ contact */
.contact {
  padding: clamp(90px, 14vh, 160px) var(--pad-x);
  background:
    radial-gradient(900px 480px at 12% 110%, #dcecfb 0%, rgba(220, 236, 251, 0) 60%),
    var(--bg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.contact::before,
.contact::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.contact::before {
  width: 200px; height: 200px;
  border: 1.5px solid rgba(10, 108, 255, .22);
  left: 7%; bottom: 10%;
  animation: bubblefloat 8s ease-in-out infinite;
}
.contact::after {
  width: 72px; height: 72px;
  border: 1.5px solid rgba(10, 108, 255, .3);
  right: 9%; top: 16%;
  animation: bubblefloat 6s 1s ease-in-out infinite;
}
.contact__inner {
  max-width: 900px;
  margin-inline: auto;
  position: relative;
}
.contact__overline {
  font-family: var(--font-en); font-weight: 700; font-size: 13px;
  letter-spacing: .22em; text-transform: uppercase; color: var(--blue);
  margin-bottom: 20px;
}
.contact__title {
  font-family: var(--font-serif); font-weight: 900;
  font-size: clamp(28px, 4.2vw, 52px); line-height: 1.45;
  margin-bottom: 22px;
}
.contact__desc { color: var(--ink-soft); margin-bottom: 14px; }
.contact__note {
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 36px;
}
.contact__actions { display: flex; justify-content: center; }
.contact__wave { width: 120px; color: var(--blue); margin: 48px auto 0; display: block; }

/* ------------------------------------------------ footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 34px var(--pad-x);
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  flex-wrap: wrap;
}
.footer__brand { font-family: var(--font-en); font-weight: 800; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.footer__links { display: flex; gap: 24px; }
.footer__links a {
  font-family: var(--font-en); font-size: 13px; font-weight: 600; color: var(--ink-soft);
  transition: color .3s ease;
}
.footer__links a:hover { color: var(--blue); }
.footer__copy { font-family: var(--font-en); font-size: 12px; color: var(--ink-soft); }

/* ------------------------------------------------ lightbox */
.lightbox {
  position: fixed; inset: 0; z-index: 999;
  background: rgba(10, 16, 24, .88);
  display: flex; align-items: center; justify-content: center;
  padding: 4vmin;
  opacity: 0; transition: opacity .3s ease;
}
.lightbox.is-open { opacity: 1; }
.lightbox img,
.lightbox video {
  max-width: 100%; max-height: 100%;
  border-radius: 10px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, .5);
}
.lightbox video { width: min(100%, 1200px); }
.feature__media video, .wcard__media video, .hero__media video { cursor: zoom-in; }
.lightbox__close {
  position: absolute; top: 22px; right: 30px;
  font-size: 34px; color: #fff; background: none; border: none; cursor: pointer;
  line-height: 1;
}
.lightboxable { cursor: zoom-in; }

/* ------------------------------------------------ reveal animations */
.reveal, .reveal-group > * {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity .9s cubic-bezier(.19,1,.22,1), transform .9s cubic-bezier(.19,1,.22,1);
}
.reveal.is-in, .reveal-group.is-in > * { opacity: 1; transform: translateY(0); }
.reveal-group.is-in > *:nth-child(2) { transition-delay: .1s; }
.reveal-group.is-in > *:nth-child(3) { transition-delay: .2s; }
.reveal-group.is-in > *:nth-child(4) { transition-delay: .3s; }

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

/* ------------------------------------------------ responsive */
@media (max-width: 1080px) {
  .world-grid { grid-template-columns: repeat(2, 1fr); }
  .wcard, .wcard--wide { grid-column: span 1; }
  .shop { grid-template-columns: 1fr; }
  .shop__intro { position: static; }
}

@media (max-width: 820px) {
  body { font-size: 15px; }
  .hero { padding-top: calc(var(--header-h) + 8px); }
  .hero__inner { grid-template-columns: 1fr; gap: 40px; }
  .hero__media { width: min(100%, 460px); justify-self: start; }
  .feature, .feature--rev { grid-template-columns: 1fr; gap: 24px; }
  .feature--rev .feature__media { order: 0; }
  .feature--rev .feature__body { order: 1; }
  .about { grid-template-columns: 1fr; }
  .shop__grid { grid-template-columns: repeat(2, 1fr); }
  .nav a:not(.nav__cta) { display: none; }
  .hero__note { display: none; }
}

@media (max-width: 560px) {
  .world-grid { grid-template-columns: 1fr; }
  .section__head { flex-direction: column; gap: 10px; }
}
