:root {
  --green-950: #032f18;
  --green-900: #073f20;
  --green-800: #0a5127;
  --green-600: #139326;
  --cream-100: #fff9d9;
  --cream-200: #f5efc7;
  --ink: #082d18;
  --coral: #f04435;
  --paper-border: rgba(255, 249, 217, 0.92);
  --ticker-height: clamp(46px, 6.3vh, 66px);
  --app-height: 100dvh;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  overflow: hidden;
  overscroll-behavior: none;
  background: var(--green-950);
}

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  color: var(--ink);
  font-family: "dastnevis", Tahoma, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img,
svg {
  display: block;
}

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

.site {
  position: relative;
  display: grid;
  grid-template-rows: minmax(0, 1fr) calc(var(--ticker-height) + env(safe-area-inset-bottom));
  width: 100%;
  height: 100vh;
  height: var(--app-height);
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(circle at 90% 8%, rgba(20, 151, 41, 0.16), transparent 24%),
    radial-gradient(circle at 3% 90%, rgba(20, 151, 41, 0.1), transparent 26%),
    linear-gradient(135deg, var(--green-900), var(--green-950));
}

.stage {
  position: relative;
  min-height: 0;
  overflow: hidden;
  isolation: isolate;
}

.stage::after {
  position: absolute;
  z-index: 8;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.035;
  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='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.7'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}

.cream-field {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  filter: drop-shadow(24px 0 52px rgba(1, 27, 13, 0.08));
  pointer-events: none;
}

.cream-field--mobile {
  display: none;
}

.topbar {
  position: absolute;
  z-index: 10;
  top: clamp(18px, 4.1vh, 42px);
  left: clamp(24px, 5vw, 78px);
  display: flex;
  direction: ltr;
  align-items: flex-start;
  gap: clamp(22px, 2.8vw, 46px);
}

.brand-frame {
  position: relative;
  width: clamp(132px, min(17vw, 27vh), 246px);
  aspect-ratio: 1;
  flex: 0 0 auto;
  background: var(--cream-100);
  box-shadow:
    0 17px 27px rgba(0, 20, 10, 0.28),
    8px 8px 0 rgba(7, 84, 36, 0.65);
  animation: brand-enter 900ms var(--ease-out) both;
}

.brand-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
  user-select: none;
}

.instagram {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: clamp(8px, 0.9vw, 13px);
  margin-top: clamp(28px, 8vh, 82px);
  color: var(--cream-100);
  font-size: clamp(14px, 1.45vw, 23px);
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
  transition: color 220ms ease, transform 220ms ease;
  animation: fade-slide 720ms 220ms var(--ease-out) both;
}

.instagram:hover {
  color: #fff;
  transform: translateY(-2px);
}

.instagram:focus-visible,
.soon-pill:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 5px;
}

.instagram svg {
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
}

.instagram .instagram__dot {
  fill: currentColor;
  stroke: none;
}

.hero-copy {
  position: absolute;
  z-index: 4;
  top: clamp(300px, 38.5vh, 430px);
  left: clamp(52px, 5vw, 82px);
  width: min(50vw, 810px);
  text-align: right;
  animation: copy-enter 880ms 90ms var(--ease-out) both;
}

.eyebrow {
  display: none;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--green-800);
  font-size: 13px;
  font-weight: 700;
}

.eyebrow__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--coral);
  box-shadow: 0 0 0 5px rgba(240, 68, 53, 0.12);
}

.hero-copy h1 {
  margin: 0;
  color: var(--green-900);
  font-size: clamp(46px, min(5.4vw, 10vh), 94px);
  font-weight: 900;
  line-height: 1.08;
  letter-spacing: -0.055em;
}

.hero-copy h1 span {
  display: block;
  white-space: nowrap;
}

.hero-underline {
  display: block;
  width: clamp(150px, 17vw, 282px);
  height: 13px;
  margin: clamp(9px, 1.7vh, 18px) 0 0 auto;
  border-top: clamp(3px, 0.3vw, 5px) solid var(--coral);
  border-radius: 50%;
  transform: rotate(-1.7deg);
}

.hero-copy p {
  margin: clamp(3px, 0.7vh, 8px) 0 0;
  color: var(--green-800);
  font-size: clamp(15px, min(1.45vw, 2.75vh), 25px);
  font-weight: 700;
  line-height: 1.65;
  white-space: nowrap;
}

.soon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-width: clamp(132px, 12.5vw, 202px);
  height: clamp(46px, min(6.4vh, 4.5vw), 68px);
  margin-top: clamp(12px, 2vh, 22px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  color: var(--cream-100);
  background: linear-gradient(145deg, var(--green-800), var(--green-900));
  box-shadow: 0 10px 24px rgba(6, 65, 32, 0.2);
  font-size: clamp(15px, 1.3vw, 21px);
  font-weight: 700;
  transition: transform 240ms var(--ease-out), box-shadow 240ms ease, background 240ms ease;
}

.soon-pill:hover {
  transform: translateY(-3px);
  background: linear-gradient(145deg, var(--green-600), var(--green-800));
  box-shadow: 0 15px 30px rgba(6, 65, 32, 0.26);
}

.soon-pill svg {
  width: 1.35em;
  height: 1.35em;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  transform: scaleX(-1);
}

.gallery {
  position: absolute;
  z-index: 3;
  top: clamp(20px, 4vh, 42px);
  right: clamp(22px, 3.4vw, 62px);
  width: min(49vw, 790px);
  height: calc(100% - clamp(36px, 7vh, 76px));
  min-height: 0;
  direction: ltr;
}

.gallery-blob {
  display: none;
}

.photo-card {
  --rotate: 0deg;
  --shift-x: 0px;
  --shift-y: 0px;
  position: absolute;
  z-index: 3;
  margin: 0;
  overflow: hidden;
  border: clamp(3px, 0.35vw, 6px) solid var(--paper-border);
  background: var(--cream-200);
  box-shadow:
    0 20px 36px rgba(0, 23, 11, 0.22),
    0 3px 8px rgba(0, 23, 11, 0.12);
  transform: translate3d(var(--shift-x), var(--shift-y), 0) rotate(var(--rotate));
  transform-origin: 50% 55%;
  transition: transform 520ms var(--ease-out), box-shadow 360ms ease;
  will-change: transform;
  animation: card-enter 850ms var(--delay, 180ms) var(--ease-out) both;
}

.photo-card:hover {
  z-index: 7;
  box-shadow:
    0 28px 48px rgba(0, 23, 11, 0.3),
    0 4px 9px rgba(0, 23, 11, 0.14);
}

.photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  user-select: none;
  transition: transform 800ms var(--ease-out);
}

.photo-card:hover img {
  transform: scale(1.035);
}

.photo-card--red {
  --rotate: -1deg;
  --delay: 120ms;
  top: 1%;
  left: 0;
  width: 37%;
  height: 50%;
  border-radius: 15% 9% 15% 10% / 12% 8% 15% 11%;
}

.photo-card--red img {
  object-position: 50% 52%;
}

.photo-card--cream {
  --rotate: 1.3deg;
  --delay: 210ms;
  top: 5%;
  right: 0;
  width: 39%;
  height: 59%;
  border-radius: 44% 13% 28% 18% / 18% 10% 20% 13%;
}

.photo-card--cream img {
  object-position: 50% 52%;
}

.photo-card--chocolate {
  --rotate: -1.8deg;
  --delay: 300ms;
  bottom: 0;
  left: 8%;
  width: 45%;
  height: 44%;
  border-radius: 45% 18% 45% 19% / 32% 17% 35% 18%;
}

.photo-card--chocolate img {
  object-position: 50% 42%;
}

.photo-card--cheesecake {
  --rotate: 1deg;
  --delay: 390ms;
  right: 2%;
  bottom: 3%;
  width: 38%;
  height: 31%;
  border-radius: 30% 17% 29% 16% / 33% 18% 31% 17%;
}

.photo-card--cheesecake img {
  object-position: 50% 63%;
}

.orbit {
  position: absolute;
  z-index: 1;
  border: clamp(2px, 0.2vw, 3px) solid rgba(20, 151, 41, 0.72);
  border-radius: 50%;
  pointer-events: none;
}

.orbit--one {
  top: 1%;
  right: -5%;
  width: 43%;
  height: 35%;
  border-left-color: transparent;
  transform: rotate(22deg);
}

.orbit--two {
  right: 7%;
  bottom: 3%;
  width: 57%;
  height: 31%;
  border-top-color: transparent;
  transform: rotate(-14deg);
}

.spark {
  position: absolute;
  z-index: 6;
  width: clamp(23px, 2.6vw, 42px);
  aspect-ratio: 1;
  background: var(--coral);
  clip-path: polygon(50% 0, 60% 39%, 100% 50%, 60% 60%, 50% 100%, 40% 60%, 0 50%, 40% 39%);
  filter: drop-shadow(0 6px 9px rgba(93, 20, 14, 0.18));
  animation: sparkle 3.8s ease-in-out infinite;
}

.spark--one {
  top: 4%;
  right: 2%;
}

.spark--two {
  right: 44%;
  bottom: 2%;
  width: clamp(13px, 1.5vw, 25px);
  animation-delay: -1.7s;
}

.ticker {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  overflow: hidden;
  direction: ltr;
  color: var(--cream-100);
  background: var(--green-900);
  border-top: 2px solid rgba(20, 151, 41, 0.68);
  border-bottom: 2px solid rgba(20, 151, 41, 0.35);
  box-shadow: 0 -5px 18px rgba(0, 20, 10, 0.16);
  padding-bottom: env(safe-area-inset-bottom);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker-flow 28s linear infinite;
  will-change: transform;
}

.ticker__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: clamp(19px, 2vw, 34px);
  padding-inline: clamp(14px, 1.6vw, 28px);
  white-space: nowrap;
  font-size: clamp(14px, 1.4vw, 23px);
  font-weight: 900;
  letter-spacing: 0.13em;
}

.ticker__group strong {
  color: var(--green-600);
  font-weight: 900;
}

.ticker__group i {
  color: var(--cream-200);
  font-size: 0.7em;
  font-style: normal;
}

@keyframes brand-enter {
  from {
    opacity: 0;
    transform: translateY(-24px) rotate(-2deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

@keyframes fade-slide {
  from {
    opacity: 0;
    transform: translateX(-16px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes copy-enter {
  from {
    opacity: 0;
    transform: translateY(26px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translate3d(var(--shift-x), calc(var(--shift-y) + 32px), 0) rotate(calc(var(--rotate) - 3deg)) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translate3d(var(--shift-x), var(--shift-y), 0) rotate(var(--rotate)) scale(1);
  }
}

@keyframes sparkle {
  0%,
  100% {
    transform: rotate(0deg) scale(0.9);
  }
  50% {
    transform: rotate(22deg) scale(1.08);
  }
}

@keyframes ticker-flow {
  to {
    transform: translateX(-50%);
  }
}

/* Tablet and phone: a genuine one-column reflow, not a scaled desktop. */
@media (max-width: 880px), (max-width: 1100px) and (orientation: portrait) {
  :root {
    --ticker-height: clamp(44px, 6.2vh, 58px);
  }

  .cream-field--desktop {
    display: none;
  }

  .cream-field--mobile {
    display: block;
  }

  .topbar {
    top: max(12px, env(safe-area-inset-top));
    right: clamp(16px, 5vw, 38px);
    left: clamp(16px, 5vw, 38px);
    direction: rtl;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .brand-frame {
    width: clamp(82px, min(29vw, 17.2vh), 142px);
    box-shadow:
      0 12px 22px rgba(0, 20, 10, 0.26),
      5px 5px 0 rgba(7, 84, 36, 0.62);
  }

  .instagram {
    margin-top: 0;
    font-size: clamp(12px, 3.7vw, 18px);
  }

  .hero-copy {
    top: clamp(136px, 22.7vh, 205px);
    right: clamp(20px, 7vw, 52px);
    left: clamp(20px, 7vw, 52px);
    width: auto;
    text-align: right;
  }

  .eyebrow {
    display: none;
  }

  .hero-copy h1 {
    font-size: clamp(34px, min(10.7vw, 7.15vh), 61px);
    line-height: 1.14;
    letter-spacing: -0.06em;
  }

  .hero-copy h1 span {
    white-space: nowrap;
  }

  .hero-underline {
    width: clamp(124px, 37vw, 210px);
    height: 10px;
    margin-top: clamp(7px, 1.2vh, 12px);
    border-top-width: 3px;
  }

  .hero-copy p {
    margin-top: 0;
    font-size: clamp(12px, min(3.6vw, 2.35vh), 19px);
    line-height: 1.8;
    white-space: normal;
  }

  .soon-pill {
    min-width: clamp(105px, 30vw, 148px);
    height: clamp(38px, 5.4vh, 48px);
    margin-top: clamp(7px, 1.3vh, 12px);
    font-size: clamp(13px, 3.7vw, 17px);
  }

  .soon-pill svg {
    width: 1.15em;
    height: 1.15em;
  }

  .gallery {
    top: clamp(350px, 52.5vh, 492px);
    right: clamp(13px, 3.5vw, 28px);
    left: clamp(13px, 3.5vw, 28px);
    width: auto;
    height: calc(100% - clamp(358px, 53.5vh, 500px));
    min-height: 160px;
  }

  .gallery-blob {
    position: absolute;
    z-index: 0;
    right: -16%;
    bottom: -20%;
    display: block;
    width: 132%;
    height: 82%;
    border-radius: 50% 43% 0 0 / 37% 38% 0 0;
    background: linear-gradient(145deg, var(--green-800), var(--green-950));
    transform: rotate(-5deg);
  }

  .photo-card {
    border-width: clamp(3px, 0.85vw, 5px);
    box-shadow: 0 13px 23px rgba(0, 23, 11, 0.22);
  }

  .photo-card--red {
    top: 0;
    left: 1%;
    width: 44%;
    height: 59%;
    border-radius: 16% 10% 16% 11% / 12% 9% 15% 11%;
  }

  .photo-card--cream {
    top: 6%;
    right: 0;
    width: 45%;
    height: 58%;
    border-radius: 45% 14% 30% 18% / 20% 11% 24% 14%;
  }

  .photo-card--chocolate {
    bottom: -2%;
    left: 6%;
    width: 45%;
    height: 39%;
  }

  .photo-card--cheesecake {
    right: 2%;
    bottom: 1%;
    width: 42%;
    height: 34%;
  }

  .orbit--one {
    top: 2%;
    right: -8%;
    width: 46%;
    height: 40%;
  }

  .orbit--two {
    right: 5%;
    bottom: -3%;
    width: 65%;
    height: 35%;
  }

  .spark--one {
    top: 3%;
    right: 2%;
  }

  .spark--two {
    display: none;
  }

  .ticker__group {
    gap: clamp(14px, 4vw, 25px);
    padding-inline: 12px;
    font-size: clamp(13px, 3.8vw, 18px);
  }
}

/* Compact landscape tablets: keep the desktop composition without collisions. */
@media (min-width: 881px) and (max-width: 1200px) and (orientation: landscape) {
  .hero-copy {
    left: clamp(32px, 4vw, 52px);
    width: 46vw;
  }

  .hero-copy h1 {
    font-size: clamp(44px, 5.1vw, 62px);
  }

  .gallery {
    right: clamp(18px, 2.4vw, 30px);
    width: 46vw;
  }
}

@media (min-width: 700px) and (max-width: 1100px) and (orientation: portrait) {
  .brand-frame {
    width: clamp(148px, 18vw, 176px);
  }

  .hero-copy {
    top: clamp(205px, 19vh, 250px);
  }

  .gallery {
    top: clamp(488px, 46vh, 560px);
    height: calc(100% - clamp(498px, 47vh, 570px));
  }
}

/* Short portrait phones: preserve the message and two strongest product shots. */
@media (max-width: 880px) and (max-height: 700px) and (orientation: portrait) {
  :root {
    --ticker-height: 42px;
  }

  .brand-frame {
    width: clamp(70px, min(24vw, 14.5vh), 94px);
  }

  .instagram {
    font-size: clamp(11px, 3.3vw, 14px);
  }

  .hero-copy {
    top: clamp(100px, 18.2vh, 126px);
  }

  .hero-copy h1 {
    font-size: clamp(31px, min(9.7vw, 6.9vh), 42px);
    line-height: 1.1;
  }

  .hero-underline {
    width: 112px;
    height: 7px;
    margin-top: 6px;
  }

  .hero-copy p {
    font-size: clamp(11px, 3.25vw, 14px);
    line-height: 1.65;
  }

  .soon-pill {
    min-width: 102px;
    height: 34px;
    margin-top: 5px;
    font-size: 12px;
  }

  .gallery {
    top: clamp(276px, 48.5vh, 330px);
    height: calc(100% - clamp(282px, 49.5vh, 338px));
    min-height: 110px;
  }

  .gallery-blob {
    height: 95%;
  }

  .photo-card--red,
  .photo-card--cream {
    top: 0;
    width: 46%;
    height: 94%;
  }

  .photo-card--red {
    left: 1%;
  }

  .photo-card--cream {
    right: 0;
  }

  .photo-card--chocolate,
  .photo-card--cheesecake,
  .orbit--two {
    display: none;
  }
}

/* Landscape phones and unusually short browser windows. */
@media (orientation: landscape) and (max-height: 560px) {
  :root {
    --ticker-height: clamp(34px, 9.5vh, 44px);
  }

  .cream-field--mobile {
    display: none;
  }

  .cream-field--desktop {
    display: block;
  }

  .topbar {
    top: 10px;
    right: auto;
    left: 18px;
    direction: ltr;
    align-items: center;
    justify-content: flex-start;
    gap: 15px;
  }

  .brand-frame {
    width: clamp(62px, 17vh, 88px);
    box-shadow:
      0 8px 14px rgba(0, 20, 10, 0.25),
      4px 4px 0 rgba(7, 84, 36, 0.58);
  }

  .instagram {
    margin-top: 0;
    font-size: clamp(11px, 2vw, 14px);
  }

  .hero-copy {
    top: clamp(100px, 29vh, 148px);
    right: auto;
    left: clamp(24px, 4vw, 52px);
    width: 49vw;
  }

  .hero-copy h1 {
    font-size: clamp(29px, min(5.3vw, 11.5vh), 49px);
    line-height: 1.02;
  }

  .hero-underline {
    width: clamp(105px, 17vw, 170px);
    height: 7px;
    margin-top: 5px;
  }

  .hero-copy p {
    margin-top: 0;
    font-size: clamp(10px, min(1.7vw, 3.4vh), 15px);
    line-height: 1.55;
    white-space: nowrap;
  }

  .soon-pill {
    min-width: 92px;
    height: clamp(30px, 8.2vh, 38px);
    margin-top: 5px;
    font-size: clamp(11px, 1.6vw, 14px);
  }

  .gallery {
    top: 10px;
    right: 15px;
    left: auto;
    width: 46vw;
    height: calc(100% - 20px);
    min-height: 0;
  }

  .gallery-blob {
    display: none;
  }

  .photo-card--red {
    top: 0;
    left: 0;
    width: 42%;
    height: 66%;
  }

  .photo-card--cream {
    top: 6%;
    right: 0;
    width: 43%;
    height: 75%;
  }

  .photo-card--chocolate {
    bottom: 0;
    left: 12%;
    display: block;
    width: 42%;
    height: 36%;
  }

  .photo-card--cheesecake {
    display: none;
  }

  .ticker__group {
    font-size: clamp(11px, 2.2vw, 15px);
  }
}

@media (orientation: landscape) and (max-height: 360px) {
  :root {
    --ticker-height: 30px;
  }

  .brand-frame {
    width: 52px;
  }

  .instagram {
    display: none;
  }

  .hero-copy {
    top: 69px;
  }

  .hero-copy h1 {
    font-size: clamp(25px, 4.5vw, 34px);
  }

  .hero-copy p {
    display: none;
  }

  .soon-pill {
    min-width: 82px;
    height: 27px;
    margin-top: 3px;
    font-size: 10px;
  }

  .photo-card--chocolate {
    display: none;
  }
}

@media (min-width: 1700px) and (min-height: 900px) {
  .hero-copy {
    left: 5.5vw;
  }

  .gallery {
    right: 4vw;
    max-width: 850px;
  }
}

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

  .ticker__track {
    transform: translateX(-12%);
  }
}

@media (prefers-contrast: more) {
  .photo-card {
    border-color: #fff;
  }

  .hero-copy p,
  .hero-copy h1 {
    color: #002d13;
  }
}
