.s-home-hero {
  --home-hero-navy: var(--navy-deep, #1d2d56);
  --home-hero-navy-2: #06295a;
  --home-hero-ibis: var(--ibis, #df5f58);
  --home-hero-gold: var(--gold, #b9872f);
  --home-hero-paper: var(--paper, #fff9f1);
  --home-hero-ink: var(--ink, #1e2528);
  /* How far the brush wave dips below the hero into the next section. */
  --hero-spill: clamp(48px, 7vw, 132px);
  position: relative;
  z-index: 1; /* lift hero (and the spilling wave) above the next section */
  background: transparent;
  color: var(--home-hero-ink);
  overflow: visible;
}

.s-home-hero__stage {
  position: relative;
  min-height: 101svh;
  overflow: visible;
  background: transparent;
  isolation: isolate;
}

.s-home-hero__picture {
  position: absolute;
  /* extend the artwork downward so the wave clears the hero bottom edge */
  inset: 0 0 calc(-1 * var(--hero-spill)) 0;
  display: block;
  z-index: -3;
}

.s-home-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* keep the right side (ibis + landscape + wave tail); crop the empty left */
  object-position: right bottom;
}

@media (min-width: 768px) {
  .s-home-hero__image {
    transform: translate3d(0, 0, 0) scale(1.03);
    transform-origin: center bottom;
    will-change: transform;
  }
}

.s-home-hero__shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(255, 249, 241, 0.9) 0%,
      rgba(255, 249, 241, 0.7) 30%,
      rgba(255, 249, 241, 0.12) 55%,
      rgba(255, 249, 241, 0) 75%
    ),
    linear-gradient(
      180deg,
      rgba(255, 249, 241, 0.2) 0%,
      rgba(255, 249, 241, 0) 48%,
      rgba(255, 249, 241, 0) 100%
    );
  -webkit-mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.18) 70%,
    transparent 82%
  );
  mask-image: linear-gradient(
    180deg,
    #000 0%,
    #000 58%,
    rgba(0, 0, 0, 0.18) 70%,
    transparent 82%
  );
}

.s-home-hero__inner {
  position: relative;
  width: min(100%, var(--container-wide, 1280px));
  min-height: inherit;
  margin-inline: auto;
  padding: clamp(128px, 13vw, 178px) var(--gutter, 24px)
    clamp(118px, 13vw, 172px);
  display: grid;
  grid-template-columns: minmax(710px, 1fr) minmax(300px, 0.48fr);
  align-items: center;
}

.s-home-hero__copy {
  max-width: 735px;
  /* tie the title's cqi sizing to this column's width */
  container-type: inline-size;
  transform: translateY(clamp(-34px, -3vw, -18px));
}

.s-home-hero__eyebrow {
  margin: 0 0 clamp(14px, 1.6vw, 20px);
  color: var(--home-hero-gold);
  font-family: var(--font-serif, "Noto Serif JP", serif);
  font-size: clamp(0.9rem, 1.02vw, 1.02rem);
  font-weight: 700;
  letter-spacing: 0;
}

.s-home-hero__title {
  margin: 0;
  color: var(--home-hero-navy-2);
  font-family: var(--font-serif, "Noto Serif JP", serif);
  /* cqi = 1% of the copy column width; caps when the column caps (735px) */
  font-size: clamp(2.6rem, 7.2cqi, 3.5rem);
  font-weight: 700;
  line-height: 1.24;
  letter-spacing: 0;
  text-wrap: balance;
}

.s-home-hero__title-line {
  display: block;
}

.s-home-hero__sp-break {
  display: none;
}

@media (min-width: 768px) {
  .s-home-hero__title-line {
    letter-spacing: -0.015em;
    white-space: nowrap;
  }
}

.s-home-hero__lead {
  max-width: 42em;
  margin: clamp(18px, 2.1vw, 26px) 0 0;
  color: rgba(30, 37, 40, 0.88);
  font-size: clamp(1rem, 1.1vw, 1.12rem);
  font-weight: 400;
  line-height: 1.9;
  white-space: pre-line;
}

.s-home-hero__badges {
  padding: 0;
  list-style: none;
}

.s-home-hero__badges--desktop {
  display: flex;
  flex-wrap: wrap;
  gap: 11px;
  margin: clamp(24px, 2.6vw, 34px) 0 0;
}

.s-home-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid rgba(185, 135, 47, 0.46);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  color: var(--home-hero-navy);
  font-size: 0.93rem;
  font-weight: 700;
  box-shadow: 0 10px 28px rgba(30, 45, 86, 0.06);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.s-home-hero__badge .tkg-icon,
.s-home-hero__trust-card .tkg-icon {
  width: 21px;
  height: 21px;
  color: var(--home-hero-gold);
  flex: 0 0 auto;
}

.s-home-hero__ctas {
  display: grid;
  grid-template-columns: minmax(260px, 330px) minmax(250px, 310px);
  gap: 15px 18px;
  margin-top: clamp(28px, 3vw, 38px);
}

.s-home-hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 13px;
  min-height: 66px;
  padding: 17px 22px;
  border-radius: 8px;
  border: 1.5px solid transparent;
  font-size: clamp(0.98rem, 1.03vw, 1.08rem);
  font-weight: 800;
  line-height: 1.35;
  text-decoration: none;
  box-shadow: 0 18px 36px rgba(16, 39, 84, 0.18);
  transition:
    transform 0.18s ease,
    box-shadow 0.18s ease,
    background-color 0.18s ease;
}

.s-home-hero__button:hover,
.s-home-hero__button:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 22px 42px rgba(16, 39, 84, 0.22);
}

.s-home-hero__button:focus-visible {
  outline: 3px solid rgba(185, 135, 47, 0.42);
  outline-offset: 3px;
}

.s-home-hero__button--primary {
  background: linear-gradient(135deg, #052b5f 0%, var(--home-hero-navy) 100%);
  color: #fff;
}

.s-home-hero__button--sub {
  background: rgba(255, 255, 255, 0.92);
  color: var(--ibis-deep, #b9413d);
  border-color: rgba(185, 65, 61, 0.78);
  box-shadow: 0 14px 30px rgba(185, 65, 61, 0.12);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
}

.s-home-hero__button-icon,
.s-home-hero__button-arrow {
  width: 23px;
  height: 23px;
  flex: 0 0 auto;
}

.s-home-hero__button--primary .s-home-hero__button-icon {
  color: #d4a54b;
}

.s-home-hero__button-arrow {
  margin-left: auto;
}

.s-home-hero__trust {
  display: none;
}

@media (max-width: 1140px) {
  .s-home-hero__inner {
    grid-template-columns: minmax(560px, 1fr) minmax(220px, 0.42fr);
  }

  .s-home-hero__ctas {
    grid-template-columns: minmax(250px, 330px);
  }
}

@media (max-width: 767px) {
  .s-home-hero {
    /* mobile keeps the previous behaviour: no wave spill, no stacking lift */
    --hero-spill: 0px;
    z-index: auto;
    overflow: visible;
  }

  .s-home-hero__stage {
    min-height: 100svh;
    overflow: hidden;
  }

  .s-home-hero__picture {
    inset: 0;
  }

  .s-home-hero__image {
    object-fit: cover;
    object-position: center top;
    transform: none;
    will-change: auto;
  }

  .s-home-hero__shade {
    background:
      linear-gradient(
        90deg,
        rgba(255, 249, 241, 0.9) 0%,
        rgba(255, 249, 241, 0.62) 48%,
        rgba(255, 249, 241, 0.05) 78%
      ),
      linear-gradient(
        180deg,
        rgba(255, 249, 241, 0.02) 0%,
        rgba(255, 249, 241, 0.03) 58%,
        rgba(255, 249, 241, 0) 100%
      );
    -webkit-mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 52%,
      rgba(0, 0, 0, 0.22) 62%,
      transparent 74%
    );
    mask-image: linear-gradient(
      180deg,
      #000 0%,
      #000 52%,
      rgba(0, 0, 0, 0.22) 62%,
      transparent 74%
    );
  }

  .s-home-hero__inner {
    width: 100%;
    min-height: inherit;
    padding: clamp(88px, 24vw, 112px) clamp(18px, 6vw, 28px)
      clamp(18px, 6vw, 34px);
    display: flex;
    align-items: flex-start;
  }

  .s-home-hero__copy {
    width: min(100%, 420px);
    transform: none;
  }

  .s-home-hero__eyebrow {
    margin-bottom: 9px;
    font-size: clamp(0.76rem, 3.35vw, 0.88rem);
  }

  .s-home-hero__title {
    font-size: clamp(1.86rem, 8.35vw, 2.38rem);
    line-height: 1.32;
  }

  .s-home-hero__sp-break {
    display: inline;
  }

  .s-home-hero__lead {
    max-width: 19em;
    margin-top: 14px;
    font-size: clamp(0.88rem, 3.65vw, 0.98rem);
    font-weight: 400;
    line-height: 1.68;
  }

  .s-home-hero__badges--desktop {
    display: none;
  }

  .s-home-hero__ctas {
    width: min(100%, 360px);
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 18px;
  }

  .s-home-hero__button {
    width: 100%;
    min-height: 54px;
    padding: 12px 15px;
    gap: 10px;
    font-size: clamp(0.9rem, 3.95vw, 1rem);
  }

  .s-home-hero__button-icon,
  .s-home-hero__button-arrow {
    width: 20px;
    height: 20px;
  }

  .s-home-hero__trust {
    display: block;
    padding: 20px 18px 28px;
    background: linear-gradient(
      180deg,
      var(--home-hero-paper) 0%,
      #fffdf8 100%
    );
  }

  .s-home-hero__trust-title {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 auto 14px;
    color: var(--home-hero-gold);
    font-family: var(--font-serif, "Noto Serif JP", serif);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 0;
    text-align: center;
    justify-content: center;
  }

  .s-home-hero__trust-title::before,
  .s-home-hero__trust-title::after {
    content: "";
    width: min(13vw, 56px);
    height: 1px;
    background: rgba(185, 135, 47, 0.52);
  }

  .s-home-hero__badges--mobile {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
    max-width: 560px;
    margin: 0 auto;
  }

  .s-home-hero__trust-card {
    min-height: 98px;
    display: grid;
    justify-items: center;
    align-content: center;
    gap: 9px;
    padding: 12px 8px;
    border: 1px solid rgba(185, 135, 47, 0.35);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--home-hero-navy);
    font-family: var(--font-serif, "Noto Serif JP", serif);
    font-size: clamp(0.8rem, 3.35vw, 0.96rem);
    font-weight: 700;
    line-height: 1.35;
    text-align: center;
    box-shadow: 0 10px 26px rgba(30, 45, 86, 0.05);
  }
}

@media (max-width: 400px) {
  .s-home-hero__badges--mobile {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .s-home-hero__trust-card {
    min-height: 88px;
  }

  .s-home-hero__trust-card:nth-child(3):last-child {
    grid-column: 1 / -1;
  }

  .s-home-hero__trust-card span {
    word-break: keep-all;
  }
}

@media (max-width: 370px) {
  .s-home-hero__inner {
    padding-inline: 16px;
    padding-top: 82px;
  }

  .s-home-hero__eyebrow {
    font-size: 0.74rem;
  }

  .s-home-hero__title {
    font-size: 1.76rem;
    line-height: 1.3;
  }

  .s-home-hero__lead {
    max-width: 18em;
    margin-top: 11px;
    font-size: 0.86rem;
    line-height: 1.62;
  }

  .s-home-hero__ctas {
    gap: 9px;
    margin-top: 15px;
  }

  .s-home-hero__button {
    min-height: 50px;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .s-home-hero__button-icon,
  .s-home-hero__button-arrow {
    width: 18px;
    height: 18px;
  }
}

.s-home-hero {
  --home-hero-motion-ease: cubic-bezier(.22, .72, .24, 1);
}

html.has-js .s-home-hero[data-home-hero-motion] .s-home-hero__enter,
.s-home-hero.is-motion-enabled .s-home-hero__enter {
  opacity: 0;
  transform: translateY(14px);
}

html.has-js .s-home-hero[data-home-hero-motion] .s-home-hero__enter {
  animation: home-hero-entry-failsafe 1ms linear 1600ms forwards;
}

html.has-js .s-home-hero[data-home-hero-motion].is-ready .s-home-hero__enter,
.s-home-hero.is-motion-enabled.is-ready .s-home-hero__enter {
  opacity: 1;
  transform: none;
  animation: none;
  transition:
    opacity 800ms var(--home-hero-motion-ease),
    transform 800ms var(--home-hero-motion-ease);
  transition-delay: calc(120ms + var(--home-reveal-i, 0) * 110ms);
}

@keyframes home-hero-entry-failsafe {
  to {
    opacity: 1;
    transform: none;
  }
}

.s-home-hero__mote {
  position: absolute;
  z-index: 1;
  display: block;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
}

.s-home-hero.is-motion-enabled .s-home-hero__mote {
  opacity: 1;
}

.s-home-hero__mote--1 {
  top: 30%;
  left: 56%;
  width: 7px;
  height: 7px;
  background: radial-gradient(circle, rgba(214, 178, 106, 0.75) 0 45%, rgba(214, 178, 106, 0) 72%);
  animation: home-hero-drift-a 13s ease-in-out infinite alternate;
}

.s-home-hero__mote--2 {
  top: 52%;
  left: 70%;
  width: 11px;
  height: 8px;
  border-radius: 2px;
  background: linear-gradient(115deg, rgba(255, 252, 244, 0.55), rgba(240, 228, 202, 0.35));
  box-shadow: 0 1px 2px rgba(60, 50, 30, 0.08);
  animation: home-hero-drift-b 17s ease-in-out infinite alternate;
}

.s-home-hero__mote--3 {
  top: 20%;
  left: 82%;
  width: 5px;
  height: 5px;
  background: radial-gradient(circle, rgba(214, 178, 106, 0.6) 0 45%, rgba(214, 178, 106, 0) 72%);
  animation: home-hero-drift-a 11s ease-in-out 2.5s infinite alternate-reverse;
}

@keyframes home-hero-drift-a {
  from { transform: translate3d(0, 0, 0); }
  33% { transform: translate3d(-14px, 18px, 0); }
  66% { transform: translate3d(10px, 34px, 0); }
  to { transform: translate3d(-6px, 48px, 0); }
}

@keyframes home-hero-drift-b {
  from { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(-26px, 30px, 0) rotate(14deg); }
  to { transform: translate3d(12px, 58px, 0) rotate(-8deg); }
}

.s-home-hero.is-parallax .s-home-hero__image {
  transform: translate3d(0, var(--home-hero-parallax, 0px), 0) scale(1.03);
  will-change: transform;
}

@media (max-width: 767px) {
  .s-home-hero__mote {
    display: none;
  }

  .s-home-hero.is-parallax .s-home-hero__image {
    transform: none;
    will-change: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  html.has-js .s-home-hero[data-home-hero-motion] .s-home-hero__enter,
  .s-home-hero.is-motion-enabled .s-home-hero__enter,
  html.has-js .s-home-hero[data-home-hero-motion].is-ready .s-home-hero__enter,
  .s-home-hero.is-motion-enabled.is-ready .s-home-hero__enter {
    opacity: 1;
    transform: none;
    animation: none;
    transition: none;
  }

  .s-home-hero__mote {
    display: none;
  }
}

/* ============================================================
   Adopted layered hero composition
   Background, papers, ibis, brush wave and stamp settle once,
   then remain as a still final composition.
   ============================================================ */

.s-home-hero {
  --home-hero-wave-tail: clamp(48px, 4.2vw, 76px);
  --home-hero-glide-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --home-hero-settle-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --home-hero-wave-ease: cubic-bezier(0.16, 1, 0.3, 1);
  --home-hero-stamp-ease: cubic-bezier(0.34, 1.56, 0.64, 1);
  --home-hero-ibis-delay: 300ms;
  --home-hero-splatter-delay: 820ms;
  --home-hero-wave-delay: 1760ms;
  --home-hero-stamp-delay: 3020ms;
  overflow-x: clip;
  overflow-y: visible;
}

.s-home-hero .s-home-hero__stage {
  overflow-x: clip;
  overflow-y: visible;
}

/* The layered artwork already carries gold flecks. Removing the global
   infinite motes lets the completed composition become fully still. */
.s-home-hero .s-home-hero__mote {
  display: none;
  animation: none;
}

.s-home-hero__desktop-visual {
  position: absolute;
  inset: 0;
  z-index: -3;
  display: block;
  container-type: size;
  background: var(--home-hero-paper);
  pointer-events: none;
}

.s-home-hero__artboard {
  position: absolute;
  right: calc(0px - max(1.5cqw, 2.559375cqh));
  bottom: calc(-1 * var(--home-hero-wave-tail));
  width: max(103cqw, 179cqh);
  max-width: none;
  aspect-ratio: 2730 / 1536;
}

.s-home-hero__scene {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: block;
  overflow: hidden;
  clip-path: inset(0 0 var(--home-hero-wave-tail) 0);
}

.s-home-hero__landscape-picture,
.s-home-hero__papers {
  position: absolute;
  inset: 0;
  display: block;
}

.s-home-hero__landscape-picture { z-index: 1; }
.s-home-hero__papers { z-index: 3; overflow: visible; }

.s-home-hero__landscape,
.s-home-hero__ibis,
.s-home-hero__splatter,
.s-home-hero__paper img,
.s-home-hero__stamp {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  pointer-events: none;
  user-select: none;
}

.s-home-hero__ibis-picture {
  position: absolute;
  /* Ultra-wide cover sizing moves the artboard top off-screen. Return the
     excess height to the ibis so its final flight altitude stays visible. */
  top: max(
    4.04%,
    calc(57.94cqw - 96cqh - var(--home-hero-wave-tail))
  );
  left: 65.05%;
  z-index: 4;
  display: block;
  width: clamp(390px, 33.22cqw, 530px);
  height: auto;
  aspect-ratio: 1;
  transform-origin: 58% 56%;
  animation: home-hero-ibis-glide 980ms var(--home-hero-glide-ease) var(--home-hero-ibis-delay) both;
}

.s-home-hero__splatter-picture {
  position: absolute;
  top: 40%;
  left: 72%;
  z-index: 2;
  display: block;
  width: 27.1%;
  height: auto;
  aspect-ratio: 741 / 665;
  transform-origin: 60% 50%;
  animation: home-hero-splatter-arrive 560ms var(--home-hero-settle-ease) var(--home-hero-splatter-delay) both;
}

.s-home-hero__paper {
  position: absolute;
  display: block;
  transform-origin: center;
  opacity: 1;
  animation-name: home-hero-paper-settle;
  animation-fill-mode: both;
}

.s-home-hero__paper--upper-right {
  top: 5.47%;
  left: 55.16%;
  width: 10.59%;
  --home-hero-drift-start: -2.8%;
  --home-hero-drift-settle: 0.7%;
  --home-hero-drift-bounce: -0.34%;
  --home-hero-tilt-start: -5deg;
  --home-hero-tilt-settle: 1.1deg;
  --home-hero-tilt-bounce: -0.45deg;
  animation-duration: 640ms;
  animation-timing-function: cubic-bezier(0.18, 0.82, 0.32, 1);
  animation-delay: 640ms;
}

.s-home-hero__paper--mid-left {
  top: 22.2%;
  left: 43.52%;
  width: 8.53%;
  --home-hero-drift-start: 4.2%;
  --home-hero-drift-settle: -1.05%;
  --home-hero-drift-bounce: 0.5%;
  --home-hero-tilt-start: 5.5deg;
  --home-hero-tilt-settle: -1.2deg;
  --home-hero-tilt-bounce: 0.5deg;
  animation-duration: 700ms;
  animation-timing-function: cubic-bezier(0.2, 0.76, 0.28, 1);
  animation-delay: 800ms;
}

.s-home-hero__paper--mid {
  top: 28.52%;
  left: 50.99%;
  width: 14.07%;
  --home-hero-drift-start: -3.6%;
  --home-hero-drift-settle: 0.9%;
  --home-hero-drift-bounce: -0.43%;
  --home-hero-tilt-start: -4deg;
  --home-hero-tilt-settle: 0.9deg;
  --home-hero-tilt-bounce: -0.35deg;
  animation-duration: 840ms;
  animation-timing-function: var(--home-hero-settle-ease);
  animation-delay: 960ms;
}

.s-home-hero__paper--lower-right {
  top: 54.2%;
  left: 58.75%;
  width: 12.16%;
  --home-hero-drift-start: 3.4%;
  --home-hero-drift-settle: -0.85%;
  --home-hero-drift-bounce: 0.4%;
  --home-hero-tilt-start: 4deg;
  --home-hero-tilt-settle: -0.9deg;
  --home-hero-tilt-bounce: 0.35deg;
  animation-duration: 780ms;
  animation-timing-function: cubic-bezier(0.16, 0.86, 0.28, 1);
  animation-delay: 1120ms;
}

.s-home-hero__artboard::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 6;
  display: block;
  width: 100%;
  height: 73.046875%;
  background-image: var(--home-hero-wave-image);
  background-position: center;
  background-size: 100% 100%;
  background-repeat: no-repeat;
  pointer-events: none;
  clip-path: inset(0 0 0 0);
  opacity: 1;
  transform: translateY(0);
  transform-origin: left center;
  animation: home-hero-wave-draw 1100ms var(--home-hero-wave-ease) var(--home-hero-wave-delay) both;
}

.s-home-hero__stamp-pop {
  position: absolute;
  top: 60.1%;
  left: 65.5%;
  z-index: 7;
  display: block;
  width: clamp(86px, 8vw, 112px);
  aspect-ratio: 1;
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-9deg) scale(1);
  transform-origin: center;
  pointer-events: none;
  animation: home-hero-stamp-pop 460ms var(--home-hero-stamp-ease) var(--home-hero-stamp-delay) both;
}

.s-home-hero__stamp-picture {
  display: block;
  width: 100%;
  height: 100%;
}

.s-home-hero__stamp {
  height: auto;
  mix-blend-mode: multiply;
}

.s-home-hero__artboard::after,
.s-home-hero__mobile-picture::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 8;
  display: block;
  background:
    radial-gradient(circle at 72% 34%, rgba(255, 253, 248, 0.96), rgba(255, 249, 241, 0.99) 58%),
    var(--home-hero-paper);
  opacity: 0;
  transform: scale(1);
  transform-origin: center;
  pointer-events: none;
  animation: home-hero-veil-out 520ms ease-out both;
}

.s-home-hero__mobile-picture { display: none; }

@media (min-width: 768px) {
  .s-home-hero .s-home-hero__stage {
    min-height: max(620px, 100svh);
  }
}

@keyframes home-hero-veil-out {
  from { opacity: 1; transform: scale(1.006); }
  to { opacity: 0; transform: scale(1); }
}

@keyframes home-hero-ibis-glide {
  from {
    opacity: 0;
    transform: translate3d(9%, -7%, 0) rotate(1.4deg) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes home-hero-splatter-arrive {
  from { opacity: 0; transform: translate3d(2%, -1.5%, 0) scale(0.93); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}

@keyframes home-hero-paper-settle {
  from {
    opacity: 0;
    transform: translate3d(var(--home-hero-drift-start, 0), -13%, 0) rotate(var(--home-hero-tilt-start, -3deg)) scale(0.93);
  }
  42% {
    opacity: 1;
    transform: translate3d(var(--home-hero-drift-settle, 0), 2.8%, 0) rotate(var(--home-hero-tilt-settle, 0deg)) scale(1.018);
  }
  72% {
    transform: translate3d(var(--home-hero-drift-bounce, 0), -1%, 0) rotate(var(--home-hero-tilt-bounce, 0deg)) scale(0.996);
  }
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0) rotate(0) scale(1);
  }
}

@keyframes home-hero-wave-draw {
  0% {
    clip-path: inset(0 100% 0 0);
    opacity: 0;
    transform: translateY(8px);
  }
  24% { opacity: 1; }
  100% {
    clip-path: inset(0 0 0 0);
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes home-hero-stamp-pop {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-16deg) scale(1.6);
  }
  62% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-8deg) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) rotate(-9deg) scale(1);
  }
}

@media (max-width: 767px) {
  .s-home-hero {
    overflow-x: clip;
    overflow-y: visible;
  }

  .s-home-hero .s-home-hero__stage {
    overflow-x: clip;
    overflow-y: hidden;
  }

  .s-home-hero__desktop-visual { display: none; }
  .s-home-hero__mobile-picture { display: block; }
}

@media (prefers-reduced-motion: reduce) {
  .s-home-hero__artboard::after,
  .s-home-hero__mobile-picture::after {
    opacity: 0;
    transform: none;
    animation: none;
  }

  .s-home-hero__ibis-picture,
  .s-home-hero__splatter-picture,
  .s-home-hero__paper,
  .s-home-hero__artboard::before,
  .s-home-hero__stamp-pop {
    opacity: 1;
    animation: none;
  }

  .s-home-hero__ibis-picture,
  .s-home-hero__splatter-picture,
  .s-home-hero__paper {
    transform: none;
  }

  .s-home-hero__artboard::before {
    clip-path: inset(0 0 0 0);
    transform: none;
  }

  .s-home-hero__stamp-pop {
    transform: translate(-50%, -50%) rotate(-9deg) scale(1);
  }
}
