:root {
  --navy: #172845;
  --deep: #07101b;
  --ink: #15171a;
  --muted: #696b70;
  --pearl: #fbfaf7;
  --shell: #f4eee8;
  --mist: #e8edf0;
  --rose: #d9b8aa;
  --gold: #b99b58;
  --line: rgba(23, 40, 69, 0.16);
  --white-line: rgba(255, 255, 255, 0.26);
  --shadow: 0 24px 70px rgba(20, 24, 32, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--pearl);
  font-family: "Yu Mincho", "Times New Roman", serif;
}

img,
video {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3 {
  margin: 0;
}

.cream-header {
  position: fixed;
  z-index: 20;
  top: 0;
  right: 0;
  left: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto auto auto;
  gap: 18px;
  align-items: center;
  padding: 18px clamp(20px, 4vw, 58px);
  color: var(--pearl);
  background: rgba(7, 16, 27, 0.58);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(18px);
}

.cream-brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  font-size: 1.34rem;
  letter-spacing: 0;
  white-space: nowrap;
}

.cream-brand i {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ffffff, #cbdce8 48%, #b99b58);
}

.cream-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(14px, 2.2vw, 30px);
  justify-content: center;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cream-language-switcher {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  background: rgba(7, 16, 27, 0.2);
}

.cream-language-switcher button {
  min-width: 42px;
  min-height: 30px;
  border: 0;
  border-radius: 999px;
  color: rgba(251, 250, 247, 0.74);
  background: transparent;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.68rem;
  letter-spacing: 0;
  cursor: pointer;
}

.cream-language-switcher button[aria-pressed="true"] {
  color: var(--deep);
  background: rgba(251, 250, 247, 0.92);
}

.cream-sound-toggle {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  color: var(--pearl);
  background: transparent;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  cursor: pointer;
}

.cream-sound-toggle.is-on {
  color: var(--deep);
  background: var(--pearl);
  border-color: var(--pearl);
}

.header-link {
  padding: 10px 14px;
  border: 1px solid var(--white-line);
  border-radius: 999px;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.72rem;
  text-transform: uppercase;
}

.cream-hero {
  position: relative;
  min-height: 100svh;
  overflow: hidden;
  color: var(--pearl);
}

.cream-hero img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: cover;
  object-position: 70% center;
  animation: creamHeroBreath 18s ease-in-out infinite alternate;
  transform: scale(1.1);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(7, 16, 27, 0.82), rgba(7, 16, 27, 0.32), rgba(7, 16, 27, 0.08)),
    linear-gradient(0deg, rgba(7, 16, 27, 0.38), transparent 48%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  max-width: 560px;
  padding: clamp(150px, 17vw, 215px) clamp(22px, 5vw, 78px) clamp(82px, 10vw, 118px);
}

.eyebrow,
.section-kicker {
  color: var(--gold);
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1 {
  margin-top: 18px;
  font-size: clamp(2.7rem, 6.4vw, 6.15rem);
  font-weight: 400;
  line-height: 0.96;
}

h2 {
  margin-top: 14px;
  font-size: clamp(2rem, 4.2vw, 4rem);
  font-weight: 400;
  line-height: 1.12;
}

h3 {
  font-size: clamp(1.28rem, 2vw, 1.86rem);
  font-weight: 400;
  line-height: 1.24;
}

.hero-lead {
  margin-top: 22px;
  font-size: clamp(1.18rem, 2vw, 1.86rem);
  line-height: 1.28;
}

.hero-copy > p:not(.eyebrow):not(.hero-lead) {
  max-width: 500px;
  margin-top: 18px;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: clamp(0.9rem, 1.03vw, 1rem);
  line-height: 1.78;
}

.hero-image-note {
  position: absolute;
  right: clamp(16px, 3.5vw, 48px);
  bottom: clamp(14px, 3vw, 34px);
  z-index: 2;
  margin: 0;
  color: rgba(251, 250, 247, 0.68);
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: clamp(0.62rem, 0.72vw, 0.76rem);
  line-height: 1.5;
  text-align: right;
}

.hero-actions,
.amazon-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid currentColor;
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.button.primary {
  color: var(--deep);
  background: var(--pearl);
  border-color: var(--pearl);
}

.button.secondary {
  color: var(--pearl);
  background: transparent;
  border-color: var(--white-line);
}

.intro-section,
.howto-section,
.amazon-section {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 0.78fr);
  gap: clamp(28px, 5vw, 78px);
  align-items: end;
  padding: clamp(70px, 10vw, 132px) clamp(20px, 5vw, 78px);
}

.intro-section p:last-child,
.visual-copy p,
.film-copy p,
.howto-section li,
.amazon-section p {
  color: var(--muted);
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: clamp(1rem, 1.25vw, 1.13rem);
  line-height: 1.86;
}

.rhythm-section {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--line);
}

.rhythm-section article {
  min-height: 260px;
  padding: clamp(26px, 4vw, 54px);
  background: var(--shell);
}

.rhythm-section span,
.new-note {
  color: var(--gold);
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.78rem;
}

.rhythm-section h3 {
  margin-top: 20px;
}

.rhythm-section p,
.care-panel p,
.ingredient-list p {
  margin-top: 14px;
  color: var(--muted);
  font-family: Arial, "Yu Gothic", sans-serif;
  line-height: 1.78;
}

.day-night-section,
.ingredients-section {
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 78px);
  background: #ffffff;
}

.section-head {
  max-width: 760px;
  margin-bottom: clamp(32px, 5vw, 62px);
}

.section-head.compact {
  max-width: 620px;
}

.day-night-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.care-panel {
  overflow: hidden;
  border-radius: 8px;
  background: var(--pearl);
  box-shadow: var(--shadow);
}

.care-panel img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  animation: creamPanelDrift 14s ease-in-out infinite alternate;
  transform: scale(1.03);
}

.care-panel.morning img {
  object-position: center top;
}

.care-panel.night img {
  object-position: center;
  animation-delay: -5s;
}

.care-panel div {
  padding: clamp(22px, 3vw, 36px);
}

.visual-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1.22fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 78px);
  background: var(--shell);
}

.visual-copy {
  max-width: 520px;
}

.visual-copy p {
  margin-top: 20px;
}

.visual-gallery {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 14px;
}

.visual-gallery img {
  min-height: 260px;
  object-fit: cover;
  border-radius: 8px;
  animation: creamGalleryMotion 16s ease-in-out infinite alternate;
  transform: scale(1.04);
}

.visual-gallery img:first-child {
  grid-row: span 2;
  min-height: 540px;
  animation-duration: 18s;
}

.visual-gallery img:nth-child(2) {
  animation-delay: -4s;
}

.visual-gallery img:nth-child(3) {
  animation-delay: -7s;
}

.ingredient-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.ingredient-list article {
  min-height: 250px;
  padding: clamp(24px, 3vw, 34px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fbfaf7;
}

.film-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.74fr) minmax(0, 1.26fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(72px, 10vw, 132px) clamp(20px, 5vw, 78px);
  color: var(--pearl);
  background: var(--navy);
}

.film-copy {
  max-width: 520px;
}

.film-copy p {
  color: #dce5e4;
  margin-top: 20px;
}

.motion-still-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(180px, 0.92fr);
  grid-auto-rows: minmax(180px, 1fr);
  gap: 12px;
  min-height: 560px;
}

.motion-still-card {
  position: relative;
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.26);
}

.motion-still-card.large {
  grid-row: span 2;
}

.motion-still-card.wide {
  grid-column: span 2;
  min-height: 180px;
}

.motion-still-card img {
  height: 100%;
  object-fit: cover;
  animation: creamStillDrift 13s ease-in-out infinite alternate;
  transform: scale(1.04);
}

.motion-still-card:nth-child(2) img {
  animation-name: creamStillFloat;
  animation-duration: 15s;
}

.motion-still-card:nth-child(3) img {
  animation-delay: -4s;
  animation-duration: 16s;
}

.motion-still-card.wide img {
  animation-name: creamStillPan;
  animation-duration: 18s;
}

@keyframes creamStillDrift {
  from {
    transform: scale(1.04) translate3d(-1.2%, -1%, 0);
  }

  to {
    transform: scale(1.12) translate3d(1.4%, 1%, 0);
  }
}

@keyframes creamStillFloat {
  from {
    transform: scale(1.08) translate3d(1%, 1.5%, 0);
  }

  to {
    transform: scale(1.16) translate3d(-1%, -1.2%, 0);
  }
}

@keyframes creamStillPan {
  from {
    transform: scale(1.06) translate3d(-2%, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(2%, 0, 0);
  }
}

@keyframes creamHeroBreath {
  from {
    transform: scale(1.1) translate3d(-0.5%, -0.4%, 0);
  }

  to {
    transform: scale(1.18) translate3d(0.8%, 0.6%, 0);
  }
}

@keyframes creamPanelDrift {
  from {
    transform: scale(1.03) translate3d(-1%, 0, 0);
  }

  to {
    transform: scale(1.1) translate3d(1%, -1%, 0);
  }
}

@keyframes creamGalleryMotion {
  from {
    transform: scale(1.04) translate3d(0, 1%, 0);
  }

  to {
    transform: scale(1.12) translate3d(0, -1%, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cream-hero img,
  .care-panel img,
  .visual-gallery img,
  .motion-still-card img {
    animation: none;
    transform: none;
  }
}

.howto-section {
  background: var(--pearl);
}

.howto-section ol {
  margin: 0;
  padding-left: 1.25rem;
}

.howto-content {
  display: grid;
  gap: 22px;
}

.howto-content img {
  max-height: 440px;
  object-fit: cover;
  object-position: center;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.howto-section li + li {
  margin-top: 16px;
}

.amazon-section {
  color: var(--pearl);
  background:
    linear-gradient(90deg, rgba(7, 16, 27, 0.92), rgba(23, 40, 69, 0.78)),
    url("assets/images/eyecream-pearl-still.jpg") center / cover;
}

.amazon-section p {
  color: #dce5e4;
  margin-top: 18px;
}

.amazon-actions {
  align-self: center;
  justify-self: end;
}

.cream-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 5vw, 78px);
  color: rgba(251, 250, 247, 0.74);
  background: var(--deep);
  font-family: Arial, "Yu Gothic", sans-serif;
  font-size: 0.74rem;
}

.cream-footer p:last-child {
  max-width: 760px;
}

@media (max-width: 980px) {
  .cream-header {
    grid-template-columns: 1fr auto auto auto;
    gap: 12px;
  }

  .cream-header nav {
    grid-column: 1 / -1;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .intro-section,
  .visual-section,
  .film-section,
  .howto-section,
  .amazon-section {
    grid-template-columns: 1fr;
  }

  .rhythm-section,
  .day-night-grid,
  .ingredient-list {
    grid-template-columns: 1fr;
  }

  .amazon-actions {
    justify-self: start;
  }
}

@media (max-width: 640px) {
  .cream-header {
    grid-template-columns: 1fr auto auto;
    padding: 14px 16px;
  }

  .cream-brand {
    font-size: 1.06rem;
  }

  .cream-brand i {
    width: 11px;
    height: 11px;
  }

  .cream-language-switcher button {
    min-width: 34px;
    min-height: 28px;
    font-size: 0.62rem;
  }

  .cream-sound-toggle {
    min-height: 32px;
    padding: 0 10px;
    font-size: 0.66rem;
  }

  .header-link {
    display: none;
    padding: 8px 10px;
    font-size: 0.66rem;
  }

  .cream-hero {
    min-height: 760px;
  }

  .hero-copy {
    max-width: 420px;
    padding: 150px 18px 72px;
  }

  h1 {
    font-size: clamp(2.18rem, 10vw, 2.88rem);
    line-height: 1;
  }

  .hero-lead {
    font-size: clamp(1.05rem, 5vw, 1.38rem);
  }

  .hero-image-note {
    right: 16px;
    bottom: 14px;
    max-width: 220px;
  }

  .button {
    width: 100%;
  }

  .visual-gallery {
    grid-template-columns: 1fr;
  }

  .visual-gallery img:first-child {
    grid-row: auto;
    min-height: 360px;
  }

  .motion-still-stage {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .motion-still-card,
  .motion-still-card.large,
  .motion-still-card.wide {
    grid-column: auto;
    grid-row: auto;
    min-height: 320px;
  }

  .cream-footer {
    display: block;
  }

  .cream-footer p + p {
    margin-top: 10px;
  }
}
