:root {
  --cocoa-950: #1c1410;
  --cocoa-900: #281c17;
  --cocoa-800: #3b2922;
  --warm-ivory: #f4eee7;
  --sand: #e8d9ce;
  --blush: #c8908d;
  --blush-light: #ddb0aa;
  --rose-line: #d4827e;
  --white: #fffaf5;
}

* {
  box-sizing: border-box;
}

html {
  background: var(--cocoa-950);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cocoa-950);
  color: var(--white);
  font-family:
    "SF Pro Display", "SF Pro Text", Inter, "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

button {
  color: inherit;
  font: inherit;
}

::selection {
  background: var(--blush);
  color: var(--cocoa-950);
}

.site-shell {
  min-height: 100vh;
  overflow: clip;
  position: relative;
}

.page-grain {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='4' stitchTiles='stitchTiles'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.18'/%3E%3C/svg%3E");
  inset: 0;
  mix-blend-mode: soft-light;
  opacity: 0.16;
  pointer-events: none;
  position: fixed;
  z-index: 30;
}

.site-header {
  align-items: center;
  background: linear-gradient(
    180deg,
    rgba(22, 15, 12, 0.5) 0%,
    rgba(22, 15, 12, 0.14) 70%,
    transparent 100%
  );
  display: flex;
  justify-content: space-between;
  left: 0;
  padding: 28px clamp(24px, 4.8vw, 74px) 52px;
  pointer-events: none;
  position: absolute;
  right: 0;
  top: 0;
  z-index: 20;
}

.wordmark,
.language-switch {
  pointer-events: auto;
}

.wordmark {
  background: none;
  border: 0;
  cursor: default;
  font-size: 14px;
  font-weight: 560;
  letter-spacing: 0.18em;
  margin: 0;
  padding: 8px 0;
}

.language-switch {
  align-items: center;
  display: flex;
  gap: 7px;
}

.language-switch button {
  background: none;
  border: 0;
  color: rgba(255, 250, 245, 0.48);
  cursor: pointer;
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.15em;
  padding: 8px 2px;
  transition:
    color 220ms ease,
    opacity 220ms ease;
}

.language-switch button:hover,
.language-switch button:focus-visible,
.language-switch button.is-active {
  color: var(--white);
}

.language-switch span {
  color: rgba(255, 250, 245, 0.34);
  font-size: 12px;
}

.scene {
  isolation: isolate;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.image-layer,
.scene-shade {
  inset: 0;
  position: absolute;
}

.image-layer {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  transform: scale(1.025);
  transition: transform 7s cubic-bezier(0.2, 0.65, 0.2, 1);
  z-index: -3;
}

.scene:hover .image-layer {
  transform: scale(1);
}

.scene-shade {
  pointer-events: none;
  z-index: -2;
}

.hero {
  align-items: center;
  display: flex;
  min-height: 100svh;
  padding: 130px clamp(28px, 6vw, 96px) 84px;
}

.hero-image {
  background-image: url("./images/hero-kitchen.webp");
  background-position: center center;
}

.hero-shade {
  background:
    linear-gradient(
      90deg,
      rgba(35, 23, 17, 0.98) 0%,
      rgba(50, 32, 25, 0.92) 31%,
      rgba(44, 29, 23, 0.42) 54%,
      rgba(24, 17, 13, 0.08) 100%
    ),
    linear-gradient(0deg, rgba(20, 13, 10, 0.35), transparent 45%);
}

.hero-copy {
  max-width: min(650px, 48vw);
  position: relative;
  z-index: 2;
}

.eyebrow,
.scene-index {
  font-size: 12px;
  font-weight: 590;
  letter-spacing: 0.22em;
  line-height: 1.6;
  margin: 0 0 24px;
  text-transform: uppercase;
}

.hero h1 {
  font-size: clamp(38px, 4vw, 60px);
  font-weight: 300;
  letter-spacing: -0.045em;
  line-height: 1.1;
  margin: 0;
}

html[lang="en"] .hero h1 {
  font-size: clamp(30px, 3vw, 46px);
  line-height: 1.12;
}

.hero h1 span,
.statement-copy h2 span {
  display: block;
}

.accent-line {
  background: var(--rose-line);
  display: block;
  height: 2px;
  margin: 34px 0 25px;
  width: 24px;
}

.accent-line.dark {
  background: #c36f6d;
}

.hero-body {
  color: rgba(255, 250, 245, 0.72);
  font-size: clamp(15px, 1.12vw, 17px);
  letter-spacing: 0.035em;
  line-height: 1.8;
  margin: 0;
  max-width: 470px;
}

@media (min-width: 921px) {
  .hero-body {
    max-width: none;
    white-space: nowrap;
  }
}

.scroll-cue {
  align-items: center;
  bottom: 34px;
  display: flex;
  gap: 15px;
  left: clamp(28px, 6vw, 96px);
  position: absolute;
}

.scroll-cue span {
  font-size: 11px;
  letter-spacing: 0.2em;
  opacity: 0.54;
  text-transform: uppercase;
}

.scroll-cue i {
  background: rgba(255, 250, 245, 0.55);
  height: 42px;
  overflow: hidden;
  position: relative;
  width: 1px;
}

.scroll-cue i::after {
  animation: scroll-line 2.5s ease-in-out infinite;
  background: var(--white);
  content: "";
  height: 14px;
  left: 0;
  position: absolute;
  top: -14px;
  width: 1px;
}

.statement-section {
  align-items: center;
  background: var(--warm-ivory);
  color: var(--cocoa-900);
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  padding: 110px clamp(28px, 7vw, 112px);
  position: relative;
}

.botanical-shadow {
  background-image: url("./images/botanical-shadow.webp");
  background-position: right center;
  background-repeat: no-repeat;
  background-size: contain;
  inset: 0 0 0 42%;
  opacity: 0.82;
  position: absolute;
}

.statement-copy {
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.section-rule {
  background: rgba(40, 28, 23, 0.55);
  display: block;
  height: 68px;
  margin-bottom: 48px;
  width: 1px;
}

.statement-copy h2 {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 330;
  letter-spacing: -0.035em;
  line-height: 1.34;
  margin: 0;
}

html[lang="en"] .statement-copy h2 {
  font-size: clamp(27px, 2.35vw, 36px);
  line-height: 1.28;
}

.statement-copy p {
  font-size: 12px;
  font-weight: 620;
  letter-spacing: 0.13em;
  line-height: 1.7;
  margin: 0;
  text-transform: uppercase;
}

.fridge-image {
  background-image: url("./images/fridge-dusk.webp");
  background-position: center;
}

.fridge-shade {
  background:
    linear-gradient(
      90deg,
      rgba(19, 13, 10, 0.12) 0%,
      rgba(22, 15, 12, 0.14) 38%,
      rgba(24, 16, 13, 0.82) 66%,
      rgba(24, 16, 13, 0.98) 100%
    ),
    linear-gradient(0deg, rgba(16, 11, 9, 0.42), transparent 48%);
}

.comfort-image {
  background-image: url("./images/curtain-morning.webp");
  background-position: center;
}

.comfort-shade {
  background:
    linear-gradient(
      90deg,
      rgba(24, 16, 13, 0.92) 0%,
      rgba(31, 21, 17, 0.68) 34%,
      rgba(32, 22, 17, 0.12) 66%,
      transparent 100%
    ),
    linear-gradient(0deg, rgba(21, 14, 11, 0.34), transparent 52%);
}

.night-image {
  background-image: url("./images/bedside-night.webp");
  background-position: center;
}

.night-shade {
  background:
    linear-gradient(
      90deg,
      rgba(20, 14, 11, 0.08) 0%,
      rgba(20, 14, 11, 0.14) 46%,
      rgba(22, 14, 11, 0.84) 72%,
      rgba(19, 13, 10, 0.98) 100%
    ),
    linear-gradient(0deg, rgba(15, 10, 8, 0.45), transparent 52%);
}

.scene-copy {
  max-width: 560px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.scene-copy-left {
  left: clamp(28px, 7vw, 112px);
}

.scene-copy-right {
  left: 64%;
  right: clamp(28px, 7vw, 112px);
}

.scene-copy h2 {
  font-size: clamp(32px, 3vw, 46px);
  font-weight: 310;
  letter-spacing: -0.04em;
  line-height: 1.24;
  margin: 0;
  white-space: pre-line;
}

html[lang="en"] .scene-copy h2 {
  font-size: clamp(27px, 2.35vw, 36px);
  line-height: 1.18;
}

.scene-index {
  color: rgba(255, 250, 245, 0.48);
  margin-bottom: 24px;
}

.scene-note {
  color: rgba(255, 250, 245, 0.62);
  font-size: clamp(14px, 1.05vw, 16px);
  letter-spacing: 0.04em;
  line-height: 1.8;
  margin: 0;
}

.finale-section {
  align-items: center;
  display: flex;
  justify-content: center;
  min-height: 100svh;
  padding: 110px clamp(28px, 7vw, 112px) 150px;
  text-align: center;
}

.finale-image {
  background-image: url("./images/horizon-dawn.webp");
  background-position: center;
}

.finale-shade {
  background:
    linear-gradient(
      180deg,
      rgba(50, 30, 26, 0.36) 0%,
      rgba(69, 39, 34, 0.08) 43%,
      rgba(25, 16, 13, 0.5) 100%
    ),
    linear-gradient(90deg, rgba(44, 26, 23, 0.18), rgba(80, 44, 39, 0.08));
}

.finale-copy {
  max-width: 1120px;
  position: relative;
  z-index: 2;
}

.finale-copy .eyebrow {
  margin-bottom: 24px;
}

.finale-copy h2 {
  font-size: clamp(32px, 3.15vw, 48px);
  font-weight: 310;
  letter-spacing: -0.04em;
  line-height: 1.25;
  margin: 0;
}

html[lang="en"] .finale-copy h2 {
  font-size: clamp(27px, 2.45vw, 38px);
  line-height: 1.2;
}

.site-footer {
  align-items: center;
  border-top: 1px solid rgba(255, 250, 245, 0.28);
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  left: clamp(28px, 4.8vw, 74px);
  padding: 25px 0 28px;
  position: absolute;
  right: clamp(28px, 4.8vw, 74px);
  z-index: 2;
}

.site-footer strong {
  font-size: 12px;
  font-weight: 560;
  justify-self: start;
  letter-spacing: 0.2em;
}

.site-footer p,
.site-footer span {
  font-size: 11px;
  letter-spacing: 0.17em;
  margin: 0;
  opacity: 0.58;
  text-transform: uppercase;
}

.site-footer span {
  justify-self: end;
}

html.js [data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 850ms cubic-bezier(0.2, 0.65, 0.2, 1),
    transform 850ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

html.js [data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

html.js h1[data-reveal],
html.js h2[data-reveal] {
  transition-delay: 70ms;
}

html.js .accent-line[data-reveal] {
  transition-delay: 130ms;
}

html.js p[data-reveal]:last-child {
  transition-delay: 180ms;
}

@keyframes scroll-line {
  0% {
    transform: translateY(0);
  }
  55%,
  100% {
    transform: translateY(58px);
  }
}

@media (max-width: 920px) {
  .hero {
    align-items: flex-end;
    padding-bottom: 118px;
  }

  .hero-image {
    background-position: 64% center;
  }

  .hero-shade {
    background:
      linear-gradient(
        0deg,
        rgba(26, 17, 13, 0.98) 0%,
        rgba(33, 22, 17, 0.9) 40%,
        rgba(32, 21, 17, 0.22) 78%,
        rgba(22, 15, 12, 0.15) 100%
      ),
      linear-gradient(90deg, rgba(32, 21, 17, 0.46), transparent 72%);
  }

  .hero-copy {
    max-width: 680px;
  }

  .botanical-shadow {
    inset: 0 -22% 0 38%;
    opacity: 0.56;
  }

  .scene-copy-right {
    left: 54%;
  }
}

@media (max-width: 640px) {
  .site-header {
    padding: 21px 20px 40px;
  }

  .wordmark {
    font-size: 11px;
    letter-spacing: 0.14em;
  }

  .scene {
    min-height: 100svh;
  }

  .hero {
    min-height: 100svh;
    padding: 112px 22px 106px;
  }

  .hero h1 {
    font-size: clamp(32px, 9vw, 40px);
    letter-spacing: -0.045em;
    line-height: 1.16;
  }

  html[lang="en"] .hero h1 {
    font-size: clamp(26px, 7.4vw, 32px);
    line-height: 1.14;
  }

  .hero-body {
    font-size: 15px;
    max-width: 340px;
  }

  .scroll-cue {
    bottom: 24px;
    left: 22px;
  }

  .statement-section {
    min-height: 100svh;
    padding: 90px 22px 82px;
  }

  .section-rule {
    height: 50px;
    margin-bottom: 34px;
  }

  .statement-copy h2 {
    font-size: clamp(27px, 7.4vw, 33px);
    line-height: 1.38;
  }

  html[lang="en"] .statement-copy h2 {
    font-size: clamp(23px, 6.25vw, 28px);
    line-height: 1.3;
  }

  .statement-copy p {
    font-size: 11px;
    letter-spacing: 0.13em;
    line-height: 1.7;
    max-width: 320px;
  }

  .botanical-shadow {
    background-position: 78% center;
    background-size: auto 84%;
    inset: 0 -68% 0 20%;
    opacity: 0.44;
  }

  .scene-copy,
  .scene-copy-right,
  .scene-copy-left {
    bottom: 62px;
    left: 22px;
    max-width: calc(100% - 44px);
    right: 22px;
    top: auto;
    transform: none;
  }

  .scene-copy h2 {
    font-size: clamp(28px, 7.8vw, 35px);
    line-height: 1.28;
  }

  html[lang="en"] .scene-copy h2 {
    font-size: clamp(23px, 6.5vw, 29px);
    line-height: 1.2;
  }

  .fridge-image {
    background-position: 34% center;
  }

  .fridge-shade,
  .night-shade {
    background: linear-gradient(
      0deg,
      rgba(19, 13, 10, 0.98) 0%,
      rgba(20, 14, 11, 0.86) 37%,
      rgba(20, 14, 11, 0.08) 75%
    );
  }

  .comfort-image {
    background-position: 62% center;
  }

  .comfort-shade {
    background: linear-gradient(
      0deg,
      rgba(22, 15, 12, 0.96) 0%,
      rgba(27, 18, 14, 0.72) 38%,
      rgba(24, 16, 13, 0.04) 76%
    );
  }

  .night-image {
    background-position: 40% center;
  }

  .finale-section {
    align-items: center;
    min-height: 100svh;
    padding: 88px 22px 154px;
  }

  .finale-copy h2 {
    font-size: clamp(28px, 7.8vw, 35px);
    line-height: 1.3;
  }

  html[lang="en"] .finale-copy h2 {
    font-size: clamp(23px, 6.5vw, 29px);
    line-height: 1.22;
  }

  .site-footer {
    align-items: start;
    display: flex;
    flex-direction: column;
    gap: 11px;
    left: 22px;
    padding: 19px 0 22px;
    right: 22px;
  }

  .site-footer p {
    line-height: 1.5;
  }

  .site-footer span {
    position: absolute;
    right: 0;
    top: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .image-layer,
  html.js [data-reveal] {
    transition: none;
  }

  html.js [data-reveal] {
    opacity: 1;
    transform: none;
  }

  .scroll-cue i::after {
    animation: none;
  }
}
