:root {
  --ink: #17221b;
  --muted: #69746a;
  --paper: #f6f4eb;
  --panel: #fffdf6;
  --line: #dedccc;
  --leaf: #244b36;
  --olive: #889a67;
  --acid: #dbea61;
  --mist: #dce5d8;
  --terracotta: #bd7b55;
  --shadow: 0 28px 90px rgba(32, 47, 36, 0.16);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 15% 10%, rgba(219, 234, 97, 0.28), transparent 28rem),
    linear-gradient(180deg, #f9f7ee 0%, var(--paper) 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

html[lang="en"] body {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 16px clamp(18px, 4vw, 64px);
  background: rgba(246, 244, 235, 0.82);
  border-bottom: 1px solid rgba(222, 220, 204, 0.7);
  backdrop-filter: blur(18px);
}

.site-header[data-scrolled] {
  box-shadow: 0 16px 40px rgba(32, 47, 36, 0.08);
}

.brand,
.nav,
.language-switch,
.hero-actions {
  display: flex;
  align-items: center;
}

.brand {
  width: 82px;
}

.brand img {
  width: 100%;
  height: auto;
}

.nav {
  justify-content: center;
  gap: clamp(14px, 3vw, 42px);
  color: var(--muted);
  font-size: 14px;
}

.nav a:hover {
  color: var(--leaf);
}

.language-switch {
  gap: 4px;
  padding: 4px;
  background: rgba(255, 253, 246, 0.78);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.lang-button {
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font: inherit;
  font-size: 13px;
  font-weight: 800;
}

.lang-button.is-active {
  color: #fff;
  background: var(--leaf);
}

.hero {
  min-height: calc(100vh - 68px);
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(340px, 0.8fr);
  gap: clamp(34px, 7vw, 110px);
  align-items: center;
  padding: clamp(42px, 7vw, 100px) clamp(18px, 5vw, 78px) clamp(54px, 7vw, 100px);
}

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

.eyebrow {
  margin: 0 0 18px;
  color: var(--terracotta);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 28px;
  font-size: clamp(64px, 14vw, 172px);
  line-height: 0.78;
  letter-spacing: 0;
}

.hero-logo {
  width: min(100%, 300px);
  margin: 0 0 34px;
}

h2 {
  margin-bottom: 22px;
  font-size: clamp(34px, 5.8vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 23px;
}

.hero-lede,
.product-copy p,
.video-copy p,
.contact p,
.manifesto p,
.feature-strip p,
.timeline span {
  color: var(--muted);
  font-size: clamp(16px, 1.45vw, 20px);
  line-height: 1.72;
}

.hero-lede {
  max-width: 690px;
  font-size: clamp(19px, 2vw, 27px);
}

.hero-actions {
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 36px;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  border: 1px solid var(--leaf);
  border-radius: 999px;
  font-weight: 850;
}

.button.primary {
  color: #fff;
  background: var(--leaf);
}

.button.secondary {
  color: var(--leaf);
  background: rgba(255, 253, 246, 0.58);
}

.hero-stage {
  position: relative;
  isolation: isolate;
  min-height: 640px;
  display: grid;
  align-items: center;
}

.hero-stage::before {
  content: "";
  position: absolute;
  inset: 7% -8% 4% 18%;
  z-index: -1;
  background: var(--mist);
  border-radius: 999px 999px 18px 18px;
}

.hero-stage img {
  width: min(100%, 560px);
  margin-left: auto;
  border-radius: 8px;
  aspect-ratio: 0.82;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.hero-badge {
  position: absolute;
  right: 0;
  bottom: 12%;
  min-width: 156px;
  padding: 18px;
  color: #fff;
  background: var(--leaf);
  border-radius: 8px;
}

.hero-badge span {
  display: block;
  font-size: 32px;
  font-weight: 950;
}

.hero-badge small {
  color: rgba(255, 255, 255, 0.76);
  font-weight: 800;
}

.manifesto {
  padding: clamp(46px, 7vw, 90px) clamp(18px, 5vw, 78px);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.manifesto p {
  max-width: 980px;
  margin: 0 auto;
  color: var(--ink);
  font-size: clamp(24px, 3vw, 44px);
  line-height: 1.22;
}

.product,
.video-section,
.contact {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1fr);
  gap: clamp(30px, 6vw, 90px);
  align-items: center;
  padding: clamp(58px, 8vw, 120px) clamp(18px, 5vw, 78px);
}

.product-media img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 1.05;
  object-fit: cover;
}

.spec-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.spec-grid div,
.feature-strip article,
.timeline li,
.contact-links a {
  background: rgba(255, 253, 246, 0.72);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.spec-grid div {
  min-height: 112px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.spec-grid span,
.contact-links span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.spec-grid strong {
  font-size: 22px;
}

.feature-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 78px) clamp(58px, 8vw, 120px);
}

.feature-strip article {
  min-height: 310px;
  padding: 28px;
}

.feature-index {
  display: block;
  margin-bottom: 30px;
  color: var(--terracotta);
  font-size: 13px;
  font-weight: 950;
  letter-spacing: 0.1em;
}

.ritual {
  margin: 0 clamp(18px, 5vw, 78px);
  padding: clamp(44px, 7vw, 90px);
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.section-title {
  max-width: 960px;
}

.ritual-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.15fr);
  gap: clamp(28px, 5vw, 76px);
  align-items: start;
  margin-top: 36px;
}

.ritual-scroller {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 82%;
  gap: 16px;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding: 0 0 14px;
}

.ritual-scroller figure {
  margin: 0;
  scroll-snap-align: start;
}

.ritual-scroller img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 0.78;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.ritual-scroller figcaption {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.08em;
}

.timeline {
  margin: 0;
  padding: 0;
  counter-reset: step;
  list-style: none;
  display: grid;
  gap: 12px;
}

.timeline li {
  position: relative;
  min-height: 104px;
  padding: 22px 22px 22px 82px;
}

.timeline li::before {
  counter-increment: step;
  content: "0" counter(step);
  position: absolute;
  left: 22px;
  top: 22px;
  color: var(--leaf);
  font-size: 14px;
  font-weight: 950;
}

.timeline strong {
  display: block;
  margin-bottom: 8px;
  font-size: 20px;
}

.video-section {
  grid-template-columns: minmax(0, 0.76fr) minmax(0, 1.12fr);
}

.video-copy h2,
.contact h2 {
  max-width: 760px;
  font-size: clamp(32px, 4.1vw, 58px);
  line-height: 1.04;
}

.video-copy p,
.contact p {
  max-width: 720px;
}

.video-frame {
  position: relative;
  min-height: 420px;
  overflow: hidden;
  background: #111914;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.video-frame video {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

.video-fallback {
  position: absolute;
  inset: 0;
  display: none;
  place-items: center;
  padding: 32px;
  text-align: center;
  color: #fff;
  background:
    linear-gradient(rgba(23, 34, 27, 0.48), rgba(23, 34, 27, 0.68)),
    url("assets/front-small.webp") center / cover;
}

.video-frame.is-empty video {
  opacity: 0;
}

.video-frame.is-empty .video-fallback {
  display: grid;
}

.video-fallback strong {
  display: block;
  margin-bottom: 8px;
  font-size: 28px;
}

.video-fallback p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.gallery {
  display: grid;
  grid-template-columns: 0.8fr 1fr 0.72fr;
  gap: 16px;
  padding: 0 clamp(18px, 5vw, 78px) clamp(58px, 8vw, 120px);
}

.gallery img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border-radius: 8px;
  object-fit: cover;
}

.gallery img:nth-child(2) {
  min-height: 520px;
}

.contact {
  align-items: start;
  background: var(--leaf);
  color: #fff;
}

.contact .eyebrow {
  color: var(--acid);
}

.contact p {
  color: rgba(255, 255, 255, 0.76);
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-links a {
  min-height: 148px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.contact-links a:hover {
  background: rgba(255, 255, 255, 0.14);
}

.contact-links span {
  color: rgba(255, 255, 255, 0.58);
}

.contact-links strong {
  font-size: clamp(22px, 3vw, 36px);
  line-height: 1;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 78px);
  color: var(--muted);
}

.site-footer img {
  width: 92px;
  height: auto;
}

@media (max-width: 980px) {
  .site-header,
  .hero,
  .product,
  .ritual-layout,
  .video-section,
  .contact {
    grid-template-columns: 1fr;
  }

  .nav {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .language-switch {
    justify-self: start;
  }

  .hero {
    min-height: auto;
  }

  .hero-stage {
    min-height: auto;
  }

  .hero-stage img {
    width: 100%;
  }

  .feature-strip,
  .gallery {
    grid-template-columns: 1fr;
  }

  .gallery img,
  .gallery img:nth-child(2) {
    min-height: 0;
    aspect-ratio: 1;
  }
}

@media (max-width: 640px) {
  .site-header {
    gap: 14px;
  }

  h1 {
    font-size: clamp(52px, 18vw, 82px);
  }

  .hero-logo {
    width: min(100%, 230px);
  }

  h2 {
    font-size: clamp(31px, 10vw, 48px);
  }

  .hero,
  .product,
  .video-section,
  .contact {
    padding-left: 14px;
    padding-right: 14px;
  }

  .ritual {
    margin: 0 14px;
    padding: 28px 16px;
  }

  .feature-strip,
  .gallery {
    padding-left: 14px;
    padding-right: 14px;
  }

  .hero-actions,
  .spec-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
  }

  .hero-badge {
    right: 12px;
    bottom: 12px;
  }

  .timeline li {
    padding-left: 64px;
  }

  .contact-links {
    display: grid;
  }

  .site-footer {
    flex-direction: column;
  }
}
