@import url("https://fonts.googleapis.com/css2?family=Inter:wght@500&family=Poppins:wght@400;500;600;700;800;900&display=swap");

@font-face {
  font-family: "Nimbu Demo";
  src: url("assets/fonts/Web-TT/NimbuDemo-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nimbu Demo";
  src: url("assets/fonts/Web-TT/NimbuDemo-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Nimbu Demo";
  src: url("assets/fonts/Web-TT/NimbuDemo-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --white: #ffffff;
  --cream: #fffdf8;
  --brown: #461e10;
  --pink: #ffa9e9;
  --green: #09543d;
  --black: #000000;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  cursor: none;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--brown);
  font-family: Poppins, "Poppins", Arial, sans-serif;
  cursor: none;
}

.page-shell {
  width: min(100%, 3600px);
  margin: 0 auto;
  padding: clamp(16px, 1.35vw, 34px);
}

.hero-section {
  min-height: clamp(680px, 56vw, 2040px);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
  border-radius: clamp(12px, 0.75vw, 28px);
  background:
    radial-gradient(circle at 30% 20%, rgba(255, 255, 255, 0.08), transparent 28%),
    var(--green);
}

.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.22;
  background-image:
    linear-gradient(45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%),
    linear-gradient(-45deg, rgba(255, 255, 255, 0.06) 25%, transparent 25%);
  background-position: 0 0, 0 8px;
  background-size: 16px 16px;
  mix-blend-mode: screen;
}

.top-bar {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: clamp(28px, 3vw, 104px) clamp(34px, 3.7vw, 134px) 0;
}

.logo {
  width: clamp(112px, 8.2vw, 296px);
  height: auto;
}

.nav-button,
.button {
  appearance: none;
  font-family: inherit;
  color: var(--brown);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: clamp(48px, 3.1vw, 112px);
  border: 2px solid var(--brown);
  border-radius: clamp(8px, 0.45vw, 16px);
  box-shadow: 0 clamp(4px, 0.34vw, 12px) 0 var(--brown);
  font-size: clamp(14px, 0.96vw, 34px);
  font-weight: 600;
  line-height: 1;
  text-transform: uppercase;
  white-space: nowrap;
  transition:
    background-color 180ms ease,
    color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  cursor: none;
}

.nav-button:hover {
  box-shadow: 0 clamp(7px, 0.48vw, 17px) 0 var(--brown);
  transform: translateY(-3px);
}

.button:hover {
  background: var(--green);
  color: var(--white);
  transform: scale(1.035);
}

.nav-button,
.button-primary {
  background: var(--pink);
  padding: 0 clamp(22px, 1.65vw, 60px);
}

.hero-content {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  align-items: center;
  padding: clamp(70px, 6.7vw, 242px) clamp(34px, 3.7vw, 134px)
    clamp(64px, 5.2vw, 188px);
}

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

h1,
h2 {
  margin: 0;
  font-family: "Nimbu Demo", Nimbu, Impact, "Arial Black", sans-serif;
  font-weight: 700;
  letter-spacing: 0;
}

h1 {
  color: var(--white);
  font-size: clamp(56px, 5.8vw, 206px);
  line-height: 0.98;
  text-transform: uppercase;
}

.headline-line {
  display: block;
  white-space: nowrap;
}

mark {
  position: relative;
  display: inline-block;
  padding: 0 0.16em 0.06em;
  color: var(--brown);
  background: transparent;
  isolation: isolate;
}

mark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: var(--pink);
  transform: scaleX(0);
  transform-origin: left center;
}

body.page-loaded .hero-highlight::before {
  animation: highlight-wipe 720ms cubic-bezier(0.22, 1, 0.36, 1) 520ms forwards;
}

.section-highlight.is-highlight-visible::before {
  animation: highlight-wipe 760ms cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.hero-copy p {
  width: min(100%, 1110px);
  margin: clamp(28px, 2.4vw, 86px) 0 0;
  color: rgba(255, 255, 255, 0.84);
  font-size: clamp(20px, 1.45vw, 52px);
  font-weight: 400;
  line-height: 1.45;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(18px, 1.2vw, 42px);
  margin-top: clamp(42px, 4.3vw, 156px);
}

.button-secondary {
  background: var(--white);
  padding: 0 clamp(24px, 2.05vw, 74px);
}

.hero-visual {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 1;
  width: min(53vw, 1540px);
  margin: 0;
  transform: translateY(-50%);
  will-change: transform;
}

.hero-image {
  display: block;
  width: 100%;
  height: auto;
}

.hero-smoke-layer,
.hero-breath-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-smoke-layer {
  clip-path: polygon(58% 0, 100% 0, 100% 58%, 68% 58%);
  opacity: 0.78;
  transform-origin: 82% 24%;
  animation: smoke-undulate 8s ease-in-out infinite;
}

.hero-breath-layer {
  clip-path: polygon(22% 18%, 68% 18%, 76% 77%, 14% 77%);
  opacity: 0.34;
  transform-origin: 47% 58%;
  animation: character-breathe 4s ease-in-out infinite;
}

@media (max-width: 1280px) {
  .hero-content {
    padding-right: clamp(24px, 2.5vw, 44px);
  }

  .hero-copy {
    max-width: min(56vw, 720px);
  }

  h1 {
    font-size: clamp(44px, 5.2vw, 76px);
  }

  .hero-copy p {
    width: min(100%, 650px);
    font-size: clamp(16px, 1.35vw, 21px);
  }

  .hero-copy p br {
    display: none;
  }

  .hero-actions {
    margin-top: clamp(30px, 3.2vw, 48px);
  }

  .nav-button,
  .button {
    min-height: clamp(42px, 3.3vw, 52px);
    font-size: clamp(12px, 0.95vw, 15px);
  }

  .hero-image {
    width: 100%;
  }

  .hero-visual {
    width: min(48vw, 650px);
  }
}

@media (max-width: 1080px) {
  .hero-copy {
    max-width: 58vw;
  }

  h1 {
    font-size: clamp(40px, 4.85vw, 56px);
  }

  .hero-copy p {
    width: min(100%, 540px);
  }

  .hero-visual {
    width: min(44vw, 520px);
  }
}

.why-section {
  min-height: clamp(860px, 86vw, 3060px);
  margin-top: clamp(16px, 1.35vw, 34px);
  overflow: hidden;
  border-radius: clamp(10px, 0.58vw, 22px);
  background: var(--cream);
}

.why-inner {
  width: min(100%, 3420px);
  min-height: inherit;
  margin: 0 auto;
  position: relative;
  padding: clamp(92px, 9vw, 324px) clamp(36px, 4.2vw, 150px)
    clamp(72px, 4.9vw, 178px);
  border-right: 2px dashed rgba(70, 30, 16, 0.16);
  border-left: 2px dashed rgba(70, 30, 16, 0.16);
}

.section-kicker {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 130.87px;
  height: 32.16px;
  margin: 0 auto;
  padding: 4px 8px 8px;
  border-radius: 6px;
  background: transparent;
  color: var(--brown);
  font-family: Inter, Arial, sans-serif;
  font-size: 8px;
  font-weight: 500;
  line-height: 1;
}

.section-kicker::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 130.87px;
  height: 0.7px;
  border-radius: 6px;
  background: #ededed;
}

.section-kicker img {
  width: 10px;
  height: auto;
}

.kicker-separator {
  display: inline-block;
  transform-origin: center;
}

.kicker-separator-left {
  transform: rotate(30deg);
}

.kicker-separator-right {
  transform: rotate(-24deg);
}

h2 {
  margin-top: clamp(34px, 2.1vw, 76px);
  text-align: center;
  color: var(--brown);
  font-size: clamp(44px, 3.85vw, 138px);
  line-height: 1.05;
}

.why-subtitle {
  margin: clamp(28px, 1.8vw, 66px) auto 0;
  color: rgba(0, 0, 0, 0.56);
  text-align: center;
  font-size: clamp(18px, 1.07vw, 38px);
  font-weight: 500;
  line-height: 1.45;
}

.cards-stack {
  position: relative;
  width: min(76vw, 2200px);
  height: clamp(560px, 45vw, 1640px);
  margin: clamp(64px, 5.2vw, 188px) auto 0;
  cursor: default;
}

.benefit-card {
  position: absolute;
  display: block;
  width: min(58vw, 1780px);
  height: auto;
  pointer-events: none;
  filter: drop-shadow(0 32px 54px rgba(70, 30, 16, 0.13));
  transition: filter 220ms ease;
  will-change: transform;
  overflow: visible;
}

.benefit-card > img {
  display: block;
  width: 100%;
  height: auto;
}

.card-calm {
  top: 0;
  left: 4%;
  z-index: 1;
}

.card-flavour {
  top: 34%;
  right: 0;
  z-index: 2;
  transform: rotate(-3deg);
}

.card-comfort {
  top: 51%;
  left: 15%;
  z-index: 3;
  transform: rotate(6deg);
}

.benefit-card.is-hovered {
  z-index: 10;
  filter: drop-shadow(0 42px 62px rgba(70, 30, 16, 0.17));
}

.reveal-item {
  opacity: 0;
  transform: translateY(24px);
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 680ms ease,
    transform 680ms cubic-bezier(0.22, 1, 0.36, 1);
}

@media (max-width: 920px) {
  .page-shell {
    padding: 10px;
  }

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

  .top-bar {
    padding: 24px 22px 0;
  }

  .nav-button {
    min-height: 42px;
    padding: 0 16px;
    font-size: 12px;
  }

  .hero-content {
    display: grid;
    grid-template-columns: 1fr;
    padding: 64px 22px 0;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-copy p {
    width: min(100%, 620px);
  }

  .hero-visual {
    position: relative;
    top: auto;
    right: auto;
    justify-self: center;
    align-self: center;
    width: min(94vw, 680px);
    margin: 20px 0 0;
    transform: none;
  }

  .hero-image {
    width: 100%;
  }

  .why-inner {
    padding: 72px 20px 54px;
  }

  .cards-stack {
    width: min(92vw, 720px);
    height: 600px;
    margin-top: 58px;
  }

  .benefit-card {
    width: min(88vw, 620px);
  }

  .card-calm {
    left: 0;
  }

  .card-flavour {
    top: 31%;
    right: -2%;
  }

  .card-comfort {
    top: 50%;
    left: 2%;
  }
}

@media (max-width: 560px) {
  h1 {
    font-size: clamp(42px, 13vw, 60px);
  }

  h2 {
    font-size: clamp(36px, 10.8vw, 52px);
  }

  .top-bar {
    align-items: flex-start;
  }

  .logo {
    width: 98px;
  }

  .nav-button {
    max-width: 138px;
    white-space: normal;
    text-align: center;
    line-height: 1.05;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .button {
    width: 100%;
    padding: 0 18px;
  }

  .cards-stack {
    height: 420px;
  }
}

.custom-cursor {
  position: fixed;
  left: 0;
  top: 0;
  z-index: 9999;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--pink);
  pointer-events: none;
  opacity: 0;
  transform: translate3d(-50%, -50%, 0) scale(1);
  transition:
    opacity 160ms ease,
    transform 160ms ease;
}

.custom-cursor.is-visible {
  opacity: 1;
}

.custom-cursor.is-expanded {
  transform: translate3d(-50%, -50%, 0) scale(2.15);
}

@keyframes highlight-wipe {
  to {
    transform: scaleX(1);
  }
}

@keyframes smoke-undulate {
  0%,
  100% {
    transform: translate3d(0, 0, 0) skewX(0deg) scale(1);
  }

  35% {
    transform: translate3d(1.1%, -0.7%, 0) skewX(1.2deg) scale(1.012);
  }

  70% {
    transform: translate3d(-0.8%, 0.6%, 0) skewX(-0.9deg) scale(0.996);
  }
}

@keyframes character-breathe {
  0%,
  100% {
    transform: scaleY(1);
  }

  50% {
    transform: scaleY(1.02);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 1ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 1ms !important;
  }
}

@media (pointer: coarse) {
  html,
  body,
  .nav-button,
  .button {
    cursor: auto;
  }

  .custom-cursor {
    display: none;
  }
}
