@font-face {
  font-family: "Cal Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("./assets/cal-sans.ttf") format("truetype");
}

:root {
  --lime: #dcfa7f;
  --lime-deep: #9ac53a;
  --ink: #103a16;
  --ink-soft: #245526;
  --orange: #ff642f;
  --cream: #fff8db;
  --white: #ffffff;
  --font-main: "Cal Sans", "Bricolage Grotesque", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: var(--lime);
  color: var(--ink);
  font-family: var(--font-main);
  font-synthesis-weight: none;
}

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

button {
  font: inherit;
}

.page-shell {
  min-height: 100vh;
}

.hero {
  position: relative;
  isolation: isolate;
  z-index: 2;
  min-height: 100vh;
  overflow: visible;
  background:
    radial-gradient(circle at 50% 44%, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0) 28rem),
    linear-gradient(180deg, #defb82 0%, #d6f977 58%, #ccef68 100%);
  padding: 2rem clamp(1.1rem, 4vw, 4rem) 0;
}

.nav {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 100%);
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-main);
  font-size: clamp(2rem, 3.4vw, 2.7rem);
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  width: 2.2rem;
  height: 2.2rem;
  border: 0.23rem solid var(--ink);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after,
.brand-mark span {
  position: absolute;
  content: "";
  display: block;
  background: var(--ink);
}

.brand-mark::before {
  width: 0.42rem;
  height: 1.15rem;
  left: 0.84rem;
  top: -0.7rem;
  border-radius: 1rem;
  transform: rotate(-18deg);
}

.brand-mark::after {
  width: 1.05rem;
  height: 0.64rem;
  left: 1.12rem;
  top: -0.35rem;
  border-radius: 100% 0;
  transform: rotate(22deg);
}

.brand-mark span {
  width: 1.3rem;
  height: 0.32rem;
  left: 0.36rem;
  top: 1rem;
  border-radius: 999px;
}

.nav-actions {
  display: flex;
  align-items: center;
  border: 1px solid var(--ink);
  border-radius: 0.55rem;
  padding: 0.18rem;
  background: rgba(255, 255, 255, 0.05);
}

.store-button,
.nav-cta,
.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.store-button {
  min-height: 3.25rem;
  padding: 0 1rem;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 0.95rem;
  white-space: nowrap;
}

.hero-cta svg {
  width: 1.35rem;
  height: 1.35rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.nav-cta {
  min-height: 3.25rem;
  padding: 0 1.55rem;
  border-radius: 0.42rem;
  background: var(--orange);
  color: var(--white);
  font-size: 1.05rem;
  font-weight: 400;
  box-shadow: inset 0 -2px 0 rgba(88, 22, 0, 0.18);
  white-space: nowrap;
}

.hero-copy {
  position: relative;
  z-index: 5;
  display: grid;
  justify-items: center;
  gap: 1.75rem;
  width: min(980px, 100%);
  margin: clamp(4.1rem, 9.5vh, 7rem) auto 0;
  text-align: center;
}

.hero h1 {
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(4.2rem, 7.3vw, 7.7rem);
  font-weight: 400;
  line-height: 0.84;
  letter-spacing: 0;
  text-transform: uppercase;
}

.feature-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(0.85rem, 2.6vw, 1.8rem);
  color: var(--white);
  font-size: clamp(1rem, 1.3vw, 1.3rem);
  font-weight: 400;
}

.feature-row span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  white-space: nowrap;
}

.feature-row svg {
  width: 1.45rem;
  height: 1.45rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.hero-cta {
  min-height: 4.7rem;
  gap: 0.65rem;
  padding: 0 2.15rem;
  border: 0.2rem solid var(--lime);
  border-radius: 1rem;
  background: var(--orange);
  color: var(--white);
  font-size: clamp(1.1rem, 1.4vw, 1.35rem);
  font-weight: 400;
  box-shadow:
    0 0 0 0.16rem var(--orange),
    0 1.3rem 2.5rem rgba(55, 92, 10, 0.14);
}

.pattern {
  position: absolute;
  z-index: 0;
  top: 15.5%;
  width: min(48rem, 46vw);
  opacity: 0.15;
  mix-blend-mode: multiply;
  pointer-events: none;
}

.pattern-left {
  left: -7rem;
}

.pattern-right {
  right: -7rem;
  transform: scaleX(-1);
}

.curve-marquee {
  position: absolute;
  z-index: 2;
  inset: auto 0 -4.8rem;
  height: min(43rem, 58vh);
  overflow: hidden;
  pointer-events: none;
}

.curve-svg {
  display: block;
  position: absolute;
  left: 66%;
  bottom: 0;
  width: max(142vw, 1820px);
  height: auto;
  transform: translateX(-50%);
}

.curve-track,
.curve-guide {
  fill: none;
}

.curve-track {
  stroke: var(--lime-deep);
  stroke-width: 66;
  stroke-linecap: round;
}

.curve-guide {
  stroke: transparent;
  stroke-width: 1;
}

.ticker-text {
  font-family: var(--font-main);
  font-size: 34px;
  font-weight: 400;
  letter-spacing: 0;
  fill: var(--ink);
  dominant-baseline: middle;
  text-rendering: geometricPrecision;
}

.ticker-measure {
  font-family: var(--font-main);
  font-size: 34px;
  font-weight: 400;
  opacity: 0;
  pointer-events: none;
}

.food-stage {
  position: absolute;
  z-index: 4;
  left: 50%;
  bottom: clamp(-15.8rem, -25vh, -10rem);
  width: min(39rem, 54vw);
  transform: translateX(-50%);
  pointer-events: none;
}

.bowl {
  display: block;
  width: 100%;
  filter: drop-shadow(0 1.9rem 1.8rem rgba(52, 92, 22, 0.24));
}

.cal-card {
  position: absolute;
  display: grid;
  gap: 0.05rem;
  min-width: 8.4rem;
  padding: 0.75rem 0.9rem;
  border: 1px solid rgba(16, 58, 22, 0.16);
  border-radius: 0.7rem;
  background: rgba(255, 248, 219, 0.92);
  box-shadow: 0 1rem 2rem rgba(29, 82, 20, 0.18);
  color: var(--ink);
}

.cal-card strong {
  font-family: var(--font-main);
  font-size: 2.05rem;
  line-height: 0.95;
}

.cal-card span {
  font-size: 0.82rem;
  font-weight: 400;
  color: var(--ink-soft);
  text-transform: uppercase;
}

.calories {
  left: -1.8rem;
  top: 31%;
  transform: rotate(-5deg);
}

.macros {
  right: -1.6rem;
  top: 50%;
  transform: rotate(5deg);
}

.produce-strip {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: -1.2rem;
  width: max(100rem, 113vw);
  transform: translateX(-50%);
  pointer-events: none;
  filter: saturate(1.04);
}

.menu-section {
  position: relative;
  z-index: 1;
  overflow: hidden;
  margin-top: 0;
  padding: clamp(13rem, 23vw, 18rem) 0 clamp(4rem, 8vw, 7rem);
  background: var(--white);
  color: #321a16;
}

.menu-section::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 116vw;
  height: 7.5rem;
  content: "";
  background: var(--white);
  transform: translateX(-50%);
}

.section-copy {
  display: grid;
  justify-items: center;
  gap: 1.05rem;
  width: min(860px, calc(100% - 2rem));
  margin: 0 auto clamp(3.2rem, 6vw, 4.7rem);
  text-align: center;
}

.eyebrow {
  margin: 0;
  color: var(--orange);
  font-size: 0.95rem;
  font-weight: 400;
  text-transform: uppercase;
}

.section-copy h2 {
  margin: 0;
  color: var(--ink);
  font-family: var(--font-main);
  font-size: clamp(3.6rem, 6vw, 6.5rem);
  font-weight: 400;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
}

.section-copy p:not(.eyebrow) {
  max-width: 720px;
  margin: 0;
  color: var(--ink-soft);
  font-size: clamp(1.15rem, 2vw, 1.65rem);
  font-weight: 400;
  line-height: 1.35;
}

.section-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.75rem;
  margin-top: 1.2rem;
  padding: 0 2rem;
  border-radius: 0.45rem;
  background: var(--orange);
  color: var(--white);
  font-size: 1.22rem;
  font-weight: 400;
}

.section-cta svg {
  width: 1.25rem;
  height: 1.25rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.meal-rail {
  display: flex;
  gap: clamp(1.3rem, 2.4vw, 2rem);
  width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow-x: auto;
  overscroll-behavior-x: contain;
  padding: 0 clamp(1rem, 4vw, 4rem) 1.2rem;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}

.meal-rail::-webkit-scrollbar {
  display: none;
}

.meal-card {
  flex: 0 0 clamp(19rem, 26vw, 26.25rem);
  min-width: 0;
  cursor: pointer;
  outline: none;
  scroll-snap-align: start;
}

.meal-image {
  position: relative;
  display: grid;
  place-items: center;
  height: clamp(20rem, 24vw, 28.5rem);
  overflow: hidden;
  border: 1px solid #321a16;
  border-radius: 0.75rem;
}

.meal-image img {
  display: block;
  width: 86%;
  max-height: 82%;
  object-fit: contain;
  filter: drop-shadow(0 1.1rem 0.95rem rgba(42, 21, 14, 0.18));
  transition:
    transform 260ms ease,
    filter 260ms ease;
}

.meal-image.pink {
  background: #df91bb;
}

.meal-image.green {
  background: #9dcc49;
}

.meal-image.yellow {
  background: #ffdd3d;
}

.meal-image.blue {
  background: #98cff0;
}

.meal-image.lime {
  background: #dfff81;
}

.calorie-badge {
  position: absolute;
  left: 50%;
  bottom: 1.45rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.3rem;
  padding: 0 1.2rem;
  border: 1px solid rgba(16, 58, 22, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 1rem 2rem rgba(42, 21, 14, 0.16);
  color: var(--ink);
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0;
  transform: translate(-50%, 0.8rem);
  transition:
    opacity 220ms ease,
    transform 220ms ease;
  white-space: nowrap;
}

.meal-card:hover .meal-image img,
.meal-card:focus-visible .meal-image img {
  filter: drop-shadow(0 1.3rem 1rem rgba(42, 21, 14, 0.2)) saturate(1.05);
  transform: scale(1.04) rotate(-1deg);
}

.meal-card:hover .calorie-badge,
.meal-card:focus .calorie-badge,
.meal-card:focus-visible .calorie-badge {
  opacity: 1;
  transform: translate(-50%, 0);
}

.meal-card h3 {
  margin: 1.35rem 0 0;
  overflow: hidden;
  color: #321a16;
  font-family: var(--font-main);
  font-size: clamp(2.15rem, 3vw, 2.95rem);
  font-weight: 400;
  line-height: 0.95;
  letter-spacing: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.social-section {
  position: relative;
  overflow: hidden;
  padding: clamp(5rem, 9vw, 8rem) clamp(1rem, 4vw, 4rem);
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 100, 47, 0.2), rgba(255, 100, 47, 0) 24rem),
    linear-gradient(135deg, #3a1414 0%, #631b24 52%, #321111 100%);
  color: #fff7e8;
}

.social-wrap {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(20rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5.5rem);
  width: min(1180px, 100%);
  margin: 0 auto;
}

.tweet-card {
  position: relative;
  padding: clamp(1.1rem, 2.4vw, 1.55rem);
  border: 1px solid rgba(125, 150, 160, 0.22);
  border-radius: 0.75rem;
  background: #1d333d;
  box-shadow:
    0 1.6rem 3.2rem rgba(13, 4, 4, 0.36),
    inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  color: #f3f8fa;
}

.tweet-card::before {
  display: none;
}

.tweet-head {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.tweet-author {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 0.85rem;
}

.tweet-avatar {
  display: grid;
  place-items: center;
  width: 2.9rem;
  height: 2.9rem;
  border-radius: 50%;
  background: #f8fbfc;
  color: #0f1419;
}

.apple-mark {
  position: relative;
  display: block;
  width: 1.35rem;
  height: 1.2rem;
  border-radius: 48% 48% 54% 54%;
  background: var(--ink);
}

.apple-mark::before,
.apple-mark::after {
  position: absolute;
  content: "";
  display: block;
}

.apple-mark::before {
  width: 0.28rem;
  height: 0.7rem;
  left: 0.64rem;
  top: -0.5rem;
  border-radius: 999px;
  background: var(--ink);
  transform: rotate(-18deg);
}

.apple-mark::after {
  width: 0.72rem;
  height: 0.44rem;
  left: 0.82rem;
  top: -0.36rem;
  border-radius: 100% 0;
  background: var(--ink);
  transform: rotate(22deg);
}

.tweet-head strong,
.tweet-head span {
  display: block;
}

.tweet-head strong {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  color: #f7fbfc;
  font-size: 0.98rem;
  font-weight: 400;
}

.tweet-head span {
  color: #90a6ad;
  font-size: 0.85rem;
  font-weight: 400;
}

.verified {
  width: 0.72rem;
  height: 0.72rem;
  border-radius: 50%;
  background: #1d9bf0;
}

.tweet-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #eef5f7;
  font-size: clamp(1.15rem, 1.75vw, 1.5rem);
  font-weight: 400;
  line-height: 1.28;
}

.tweet-card p + p {
  margin-top: 1rem;
}

.tweet-meta {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem 1rem;
  margin-top: 0.75rem;
  padding-top: 0;
  border-top: 0;
  color: #6f858d;
  font-size: 0.78rem;
  font-weight: 400;
}

.tweet-actions {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin-top: 0.9rem;
  padding-top: 0;
  border-top: 0;
  color: #667d85;
  font-size: 0.75rem;
  font-weight: 400;
}

.tweet-actions span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-width: 0;
}

.tweet-actions svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}

.tweet-actions .liked {
  color: #f14691;
}

.tweet-actions .liked svg {
  fill: currentColor;
}

.social-copy {
  display: grid;
  gap: 1.2rem;
}

.social-copy .eyebrow {
  color: #ffbd9d;
}

.social-copy h2 {
  max-width: 660px;
  margin: 0;
  font-family: var(--font-main);
  font-size: clamp(3rem, 5.2vw, 5.7rem);
  font-weight: 400;
  line-height: 0.86;
  letter-spacing: 0;
  text-transform: uppercase;
}

.social-copy p:not(.eyebrow) {
  max-width: 620px;
  margin: 0;
  color: #ffe6d8;
  font-size: clamp(1.1rem, 1.6vw, 1.35rem);
  font-weight: 400;
  line-height: 1.45;
}

.social-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 3.7rem;
  padding: 0 1.8rem;
  border-radius: 0.55rem;
  background: var(--lime);
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 400;
}

.site-footer {
  background:
    radial-gradient(circle at 88% 20%, rgba(255, 255, 255, 0.35), rgba(255, 255, 255, 0) 18rem),
    linear-gradient(135deg, #eaff61 0%, #d7ff55 48%, #f2ff87 100%);
  color: var(--ink);
  padding: clamp(2rem, 5vw, 3.6rem) clamp(1rem, 4vw, 4rem);
}

.footer-wrap {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 1.2rem;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-brand {
  font-size: clamp(2rem, 4vw, 3.7rem);
  line-height: 1;
}

.footer-contact {
  font-size: 1rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0.55rem;
}

.footer-links a,
.footer-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.9rem;
  padding: 0 1rem;
  border: 1px solid rgba(16, 58, 22, 0.35);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.25);
  white-space: nowrap;
}

@media (max-width: 900px) {
  .hero {
    min-height: 920px;
    padding-top: 1.1rem;
    overflow: visible;
  }

  .nav-actions {
    border-radius: 0.5rem;
  }

  .store-button {
    min-height: 2.7rem;
    padding: 0 0.7rem;
    font-size: 0.82rem;
  }

  .nav-cta {
    min-height: 2.7rem;
    padding: 0 1rem;
    font-size: 0.95rem;
  }

  .hero-copy {
    gap: 1.35rem;
    margin-top: 4.25rem;
  }

  .feature-row {
    width: min(29rem, 100%);
  }

  .curve-marquee {
    inset: auto 0 -2.8rem;
    height: 34rem;
  }

  .curve-svg {
    width: max(205vw, 1420px);
  }

  .curve-track {
    stroke-width: 54;
  }

  .ticker-text {
    font-size: 28px;
  }

  .ticker-measure {
    font-size: 28px;
  }

  .food-stage {
    width: min(37rem, 86vw);
    bottom: -7rem;
  }

  .produce-strip {
    width: 132rem;
  }

  .menu-section {
    padding-top: 11rem;
  }

  .meal-card {
    flex-basis: min(76vw, 22rem);
  }

  .meal-image {
    height: min(86vw, 23rem);
  }

  .social-wrap {
    grid-template-columns: 1fr;
  }

  .social-copy {
    order: -1;
    text-align: center;
  }

  .social-copy .eyebrow,
  .social-cta {
    justify-self: center;
  }

  .social-copy h2,
  .social-copy p:not(.eyebrow) {
    margin-inline: auto;
  }

  .footer-wrap {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .hero {
    min-height: 850px;
    padding-inline: 1rem;
  }

  .brand {
    font-size: 2rem;
  }

  .brand-mark {
    width: 1.8rem;
    height: 1.8rem;
    border-width: 0.2rem;
  }

  .nav-actions {
    max-width: calc(100vw - 2rem);
    overflow-x: auto;
    scrollbar-width: none;
  }

  .nav-cta {
    min-height: 2.45rem;
    padding: 0 0.75rem;
    font-size: 0.82rem;
  }

  .store-button {
    min-height: 2.45rem;
    width: auto;
    height: auto;
    padding: 0 0.62rem;
    font-size: 0.74rem;
  }

  .hero h1 {
    font-size: clamp(3.75rem, 16vw, 5.9rem);
    line-height: 0.86;
  }

  .feature-row {
    gap: 0.72rem 1rem;
    font-size: 0.96rem;
  }

  .feature-row span {
    white-space: normal;
  }

  .hero-cta {
    min-height: 4rem;
    padding-inline: 1.5rem;
    border-radius: 0.85rem;
  }

  .pattern {
    top: 16rem;
    width: 42rem;
  }

  .pattern-left {
    left: -20rem;
  }

  .pattern-right {
    right: -20rem;
  }

  .food-stage {
    bottom: -5.6rem;
    width: min(34rem, 104vw);
  }

  .cal-card {
    min-width: 7.2rem;
    padding: 0.6rem 0.72rem;
  }

  .cal-card strong {
    font-size: 1.65rem;
  }

  .cal-card span {
    font-size: 0.7rem;
  }

  .calories {
    left: 0.6rem;
    top: 20%;
  }

  .macros {
    right: 0.5rem;
    top: 58%;
  }

  .curve-marquee {
    inset: auto 0 -1.6rem;
    height: 31rem;
  }

  .curve-svg {
    width: max(285vw, 1120px);
  }

  .produce-strip {
    bottom: -0.35rem;
    width: 120rem;
  }

  .menu-section {
    padding-top: 9rem;
  }

  .section-copy {
    margin-bottom: 2.5rem;
  }

  .section-copy h2 {
    font-size: clamp(3rem, 14vw, 4.5rem);
  }

  .section-copy p:not(.eyebrow) {
    font-size: 1.04rem;
  }

  .meal-rail {
    gap: 1rem;
  }

  .meal-card {
    flex-basis: 82vw;
  }

  .meal-card h3 {
    font-size: 2rem;
  }

  .calorie-badge {
    opacity: 1;
    transform: translate(-50%, 0);
  }

  .social-section {
    padding-block: 4rem;
  }

  .social-copy h2 {
    font-size: clamp(2.7rem, 12vw, 4rem);
  }

  .tweet-card p {
    font-size: 1.05rem;
  }

  .tweet-actions {
    gap: 0.55rem;
    font-size: 0.68rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  animate {
    display: none;
  }
}
