
:root {
  --cream: #fff6e6;
  --paper: #fffaf1;
  --ink: #24120d;
  --red: #ef1d16;
  --dark-red: #a90d0d;
  --orange: #ff9f0a;
  --yellow: #ffd638;
  --green: #15a83d;
  --line: rgba(36, 18, 13, 0.2);
  --display: "Arial Black", "Franklin Gothic Heavy", Impact, sans-serif;
  --body: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  text-rendering: optimizeLegibility;
}

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

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

::selection {
  background: var(--yellow);
  color: var(--ink);
}

.announcement {
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 7px 20px;
  background: var(--ink);
  color: var(--cream);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.announcement-dot {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  min-height: 98px;
  display: grid;
  grid-template-columns: 230px 1fr auto;
  align-items: center;
  gap: 30px;
  padding: 18px clamp(24px, 5vw, 76px);
  border-bottom: 2px solid var(--ink);
  background: rgba(255, 246, 230, 0.95);
  backdrop-filter: blur(12px);
  transition: min-height 180ms ease, padding 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled {
  min-height: 78px;
  padding-block: 10px;
  box-shadow: 0 8px 30px rgba(36, 18, 13, 0.13);
}

.brand-link {
  width: 210px;
}

.header-logo {
  width: 100%;
  height: auto;
}

.site-header nav {
  display: flex;
  justify-content: center;
  gap: clamp(20px, 3vw, 46px);
  font-size: 13px;
  font-weight: 850;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.site-header nav a {
  position: relative;
  padding: 8px 0;
}

.site-header nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 2px;
  height: 3px;
  background: var(--red);
  transition: right 180ms ease;
}

.site-header nav a:hover::after,
.site-header nav a:focus-visible::after {
  right: 0;
}

.header-cta {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 12px 17px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  box-shadow: 4px 4px 0 var(--ink);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.header-cta:focus-visible {
  transform: translate(2px, 2px);
  box-shadow: 2px 2px 0 var(--ink);
}

.hero {
  min-height: 710px;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(420px, 0.98fr);
  align-items: center;
  gap: clamp(40px, 6vw, 96px);
  padding: 76px clamp(24px, 7vw, 110px) 70px;
  overflow: hidden;
  background:
    linear-gradient(rgba(36,18,13,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(36,18,13,0.04) 1px, transparent 1px),
    var(--cream);
  background-size: 34px 34px;
  border-bottom: 2px solid var(--ink);
}

.hero-copy {
  position: relative;
  z-index: 3;
}

.eyebrow,
.kicker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 20px;
  color: var(--red);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.section-heading h2,
.story-copy h2,
.care-section h2,
.contact-copy h2 {
  margin: 0;
  font-family: var(--display);
  font-weight: 950;
  letter-spacing: -0.055em;
  line-height: 0.91;
  text-transform: uppercase;
}

.hero h1 {
  max-width: 760px;
  font-size: clamp(64px, 7.4vw, 120px);
}

.hero h1 span {
  position: relative;
  display: block;
  width: fit-content;
  margin-top: 10px;
  color: var(--red);
  transform: rotate(-1.5deg);
}

.hero h1 span::after {
  content: "";
  position: absolute;
  z-index: -1;
  left: -10px;
  right: -14px;
  bottom: -2px;
  height: 29%;
  background: var(--yellow);
  transform: skewX(-8deg);
}

.hero-lead {
  max-width: 650px;
  margin: 34px 0 0;
  font-size: clamp(17px, 1.5vw, 21px);
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 28px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 52px;
  padding: 0 22px;
  border: 2px solid var(--ink);
  font-weight: 900;
  text-transform: uppercase;
}

.button-primary {
  background: var(--red);
  color: white;
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.button-primary:hover,
.button-primary:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 0;
  border-bottom: 2px solid var(--ink);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.quick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin: 40px 0 0;
  padding: 0;
  list-style: none;
}

.quick-tags li {
  padding: 8px 13px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.hero-product {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 560px;
}

.sunburst {
  position: absolute;
  width: min(520px, 85%);
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 22px var(--yellow), 0 0 0 24px var(--ink);
  animation: slow-spin 32s linear infinite;
}

.sunburst::after {
  content: "";
  position: absolute;
  inset: 24px;
  border: 2px dashed rgba(36, 18, 13, 0.4);
  border-radius: 50%;
}

.product-photo-wrap {
  position: relative;
  z-index: 2;
  width: min(420px, 78%);
  padding: 12px;
  border: 3px solid var(--ink);
  background: white;
  box-shadow: 14px 14px 0 rgba(36, 18, 13, 0.3);
  transform: perspective(900px) rotateX(var(--tilt-y, 0deg)) rotateY(var(--tilt-x, 0deg)) rotate(2deg);
  translate: 0 0;
  transition: transform 180ms ease-out;
  animation: jar-float 4.6s ease-in-out infinite;
}

.product-photo {
  width: 100%;
  height: auto;
}

.product-sticker {
  position: absolute;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  font-family: var(--display);
  text-transform: uppercase;
}

.product-sticker small {
  display: block;
  font-family: var(--body);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.sticker-heat {
  top: 34px;
  right: 0;
  padding: 13px 17px;
  background: var(--red);
  color: white;
  transform: rotate(5deg);
}

.sticker-origin {
  left: 0;
  bottom: 78px;
  padding: 13px 17px;
  background: var(--green);
  color: white;
  transform: rotate(-4deg);
}

.photo-note {
  position: absolute;
  z-index: 4;
  right: 8px;
  bottom: 8px;
  margin: 0;
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-strip {
  display: grid;
  grid-template-columns: 0.8fr 1.25fr 0.95fr 1.1fr;
  background: var(--ink);
  color: var(--cream);
}

.fact-strip > div {
  min-height: 136px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  padding: 24px clamp(22px, 3vw, 48px);
  border-right: 1px solid rgba(255, 246, 230, 0.26);
}

.fact-strip > div:last-child {
  border-right: 0;
}

.fact-strip strong {
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(24px, 2.6vw, 38px);
  text-transform: uppercase;
}

.fact-strip span {
  font-size: 11px;
  font-weight: 750;
  line-height: 1.4;
  text-transform: uppercase;
}

.fact-strip .seal-fact {
  flex-direction: row;
  align-items: center;
  gap: 16px;
}

.seal-fact img {
  width: 76px;
  height: 74px;
  object-fit: contain;
}

.flavor-section,
.uses-section {
  padding: 118px clamp(24px, 7vw, 110px);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.6fr);
  column-gap: 9vw;
  align-items: end;
}

.section-heading .kicker {
  grid-column: 1 / -1;
}

.section-heading h2,
.story-copy h2,
.care-section h2,
.contact-copy h2 {
  font-size: clamp(46px, 5.2vw, 78px);
}

.section-heading > p:last-child {
  margin: 0;
  font-size: 17px;
  line-height: 1.7;
}

.flavor-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 70px;
}

.flavor-card {
  position: relative;
  min-height: 330px;
  padding: 32px;
  border: 2px solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
}

.flavor-card > svg,
.crunch-mark,
.card-symbol {
  margin-top: 72px;
}

.card-symbol {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.flavor-card h3 {
  margin: 15px 0 10px;
  font-family: var(--display);
  font-size: 33px;
  text-transform: uppercase;
}

.flavor-card p {
  margin: 0;
  font-size: 15px;
  line-height: 1.65;
}

.card-number {
  position: absolute;
  top: 26px;
  right: 28px;
  font-family: var(--display);
  font-size: 22px;
  opacity: 0.7;
}

.card-red {
  background: var(--red);
  color: white;
  transform: rotate(-1deg);
}

.card-orange {
  background: var(--orange);
  transform: translateY(14px) rotate(1deg);
}

.card-cream {
  background: var(--paper);
  transform: rotate(-0.7deg);
}

.crunch-mark {
  display: block;
  font-size: 30px;
  line-height: 1;
}

.ingredient-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 11px;
  margin-top: 78px;
}

.ingredient-line span {
  padding: 10px 16px;
  border: 1.5px solid var(--ink);
  border-radius: 999px;
  background: var(--yellow);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.story-section {
  position: relative;
  min-height: 700px;
  display: grid;
  grid-template-columns: 0.52fr 1.15fr 0.55fr;
  align-items: center;
  gap: 5vw;
  padding: 95px clamp(24px, 7vw, 110px);
  overflow: hidden;
  background: var(--dark-red);
  color: white;
  border-block: 2px solid var(--ink);
}

.story-section::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.1;
  background-image: radial-gradient(var(--cream) 1px, transparent 1px);
  background-size: 20px 20px;
}

.story-section > * {
  position: relative;
  z-index: 1;
}

.story-stamp {
  display: grid;
  place-items: center;
  width: min(280px, 100%);
  aspect-ratio: 1;
  border: 5px solid var(--yellow);
  border-radius: 50%;
  color: var(--yellow);
  font-family: var(--display);
  font-size: clamp(58px, 7vw, 106px);
  transform: rotate(-12deg);
}

.kicker-light {
  color: var(--yellow);
}

.story-copy h2 {
  max-width: 830px;
}

.story-lead {
  max-width: 720px;
  margin: 30px 0 0;
  font-size: 18px;
  line-height: 1.75;
}

.story-signature {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 35px;
  padding-left: 18px;
  border-left: 4px solid var(--orange);
}

.story-signature span {
  font-family: var(--display);
  font-size: 20px;
  text-transform: uppercase;
}

.story-signature small {
  color: rgba(255,255,255,0.7);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.name-note {
  padding: 26px;
  border: 2px solid var(--ink);
  background: var(--yellow);
  color: var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  transform: rotate(4deg);
}

.name-note span {
  font-family: var(--display);
  font-size: 23px;
  text-transform: uppercase;
}

.name-note p {
  margin: 12px 0 0;
  font-size: 14px;
  line-height: 1.55;
}

.uses-section {
  background: var(--paper);
}

.uses-heading {
  display: block;
}

.uses-list {
  margin-top: 72px;
  border-top: 2px solid var(--ink);
}

.uses-list article {
  display: grid;
  grid-template-columns: 90px minmax(240px, 0.85fr) 1fr;
  align-items: center;
  gap: 30px;
  min-height: 140px;
  border-bottom: 2px solid var(--ink);
  transition: padding 180ms ease, background 180ms ease;
}

.uses-list article:hover {
  padding-inline: 20px;
  background: var(--yellow);
}

.use-index {
  color: var(--red);
  font-family: var(--display);
  font-size: 24px;
}

.uses-list h3 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(25px, 2.6vw, 40px);
  text-transform: uppercase;
}

.uses-list p {
  margin: 0;
  font-size: 17px;
  line-height: 1.6;
}

.care-section {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 8vw;
  padding: 105px clamp(24px, 7vw, 110px);
  background: var(--yellow);
  border-block: 2px solid var(--ink);
}

.care-notes {
  border-top: 2px solid var(--ink);
}

.care-notes article {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 24px;
  padding: 24px 0;
  border-bottom: 2px solid var(--ink);
}

.care-notes strong {
  font-family: var(--display);
  text-transform: uppercase;
}

.care-notes p {
  margin: 0;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 8vw;
  align-items: center;
  padding: 110px clamp(24px, 7vw, 110px);
  background: var(--red);
  color: white;
}

.contact-copy > p:last-child {
  max-width: 500px;
  margin: 26px 0 0;
  font-size: 18px;
  line-height: 1.6;
}

.contact-actions {
  display: grid;
  gap: 14px;
}

.contact-actions a {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
  padding: 21px 24px;
  border: 2px solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: 6px 6px 0 var(--ink);
  transition: transform 160ms ease, box-shadow 160ms ease;
}

.contact-actions a:hover,
.contact-actions a:focus-visible {
  transform: translate(3px, 3px);
  box-shadow: 3px 3px 0 var(--ink);
}

.contact-actions span {
  font-family: var(--display);
  font-size: clamp(18px, 2vw, 27px);
}

.contact-actions small {
  display: block;
  margin-bottom: 4px;
  font-family: var(--body);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

footer {
  display: grid;
  grid-template-columns: 210px 1fr auto;
  align-items: center;
  gap: 30px;
  min-height: 140px;
  padding: 30px clamp(24px, 5vw, 76px);
  background: var(--ink);
  color: var(--cream);
}

footer img {
  width: 190px;
  height: auto;
}

footer p {
  margin: 0;
  font-size: 13px;
}

.footer-meta {
  color: rgba(255,246,230,0.55);
  font-size: 10px;
  font-weight: 750;
  text-transform: uppercase;
}

:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.js .hero-enter {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 650ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 650ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--enter-delay, 0ms);
}

.js body.is-ready .hero-enter {
  opacity: 1;
  transform: translateY(0);
}

.js .hero-product-enter {
  opacity: 0;
  transform: translateX(55px) rotate(3deg);
  transition: opacity 800ms 180ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 800ms 180ms cubic-bezier(0.2, 0.75, 0.2, 1);
}

.js body.is-ready .hero-product-enter {
  opacity: 1;
  transform: translateX(0) rotate(0);
}

.js .reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 700ms cubic-bezier(0.2, 0.75, 0.2, 1),
    transform 700ms cubic-bezier(0.2, 0.75, 0.2, 1);
  transition-delay: var(--reveal-delay, 0ms);
}

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

@keyframes jar-float {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -10px; }
}

@keyframes slow-spin {
  to { rotate: 360deg; }
}

@media (max-width: 1120px) {
  .site-header {
    grid-template-columns: 190px 1fr auto;
  }

  .brand-link {
    width: 180px;
  }

  .site-header nav {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr 0.85fr;
    padding-inline: 6vw;
  }

  .hero h1 {
    font-size: clamp(60px, 8.5vw, 92px);
  }

  .story-section {
    grid-template-columns: 0.4fr 1fr;
  }

  .name-note {
    grid-column: 2;
    max-width: 360px;
    margin-top: -30px;
  }
}

@media (max-width: 820px) {
  .announcement {
    font-size: 9px;
    letter-spacing: 0.08em;
  }

  .site-header {
    min-height: 82px;
    grid-template-columns: 1fr auto;
    padding: 14px 20px;
  }

  .brand-link {
    width: 160px;
  }

  .header-cta {
    padding: 10px 12px;
    font-size: 10px;
  }

  .hero {
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 56px;
    padding: 62px 22px 60px;
  }

  .hero h1 {
    font-size: clamp(58px, 16vw, 86px);
  }

  .hero-product {
    min-height: 500px;
  }

  .product-photo-wrap {
    width: min(360px, 74%);
  }

  .fact-strip {
    grid-template-columns: 1fr 1fr;
  }

  .fact-strip > div {
    min-height: 115px;
    border-bottom: 1px solid rgba(255, 246, 230, 0.26);
  }

  .flavor-section,
  .uses-section {
    padding: 85px 22px;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .section-heading .kicker {
    grid-column: auto;
  }

  .flavor-grid {
    grid-template-columns: 1fr;
    gap: 18px;
    margin-top: 52px;
  }

  .flavor-card,
  .card-orange,
  .card-cream {
    min-height: 260px;
    transform: none;
  }

  .flavor-card > svg,
  .crunch-mark,
  .card-symbol {
    margin-top: 45px;
  }

  .story-section {
    grid-template-columns: 1fr;
    gap: 52px;
    padding: 80px 22px;
  }

  .story-stamp {
    width: 180px;
  }

  .name-note {
    grid-column: auto;
    margin-top: 0;
  }

  .uses-list article {
    grid-template-columns: 55px 1fr;
    gap: 18px;
    padding: 25px 0;
  }

  .uses-list article p {
    grid-column: 2;
  }

  .care-section,
  .contact-section {
    grid-template-columns: 1fr;
    gap: 55px;
    padding: 82px 22px;
  }

  footer {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 18px;
  }
}

@media (max-width: 520px) {
  .announcement span:last-child {
    display: none;
  }

  .announcement-dot {
    display: none;
  }

  .header-cta {
    width: 44px;
    height: 42px;
    padding: 0;
    justify-content: center;
    overflow: hidden;
    color: transparent;
    gap: 0;
  }

  .header-cta svg {
    flex: 0 0 auto;
    color: var(--ink);
  }

  .hero h1 {
    font-size: clamp(51px, 17vw, 72px);
  }

  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 20px;
  }

  .button-primary {
    width: 100%;
  }

  .text-link {
    width: fit-content;
  }

  .hero-product {
    min-height: 410px;
  }

  .product-photo-wrap {
    width: 76%;
  }

  .sticker-heat {
    right: -5px;
    padding: 10px 12px;
  }

  .sticker-origin {
    left: -2px;
    bottom: 45px;
    padding: 10px 12px;
  }

  .photo-note {
    display: none;
  }

  .fact-strip {
    grid-template-columns: 1fr;
  }

  .fact-strip > div {
    min-height: 104px;
    border-right: 0;
  }

  .section-heading h2,
  .story-copy h2,
  .care-section h2,
  .contact-copy h2 {
    font-size: clamp(40px, 12vw, 57px);
  }

  .flavor-card {
    padding: 26px;
  }

  .ingredient-line {
    justify-content: flex-start;
  }

  .uses-list article {
    grid-template-columns: 40px 1fr;
  }

  .care-notes article {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .contact-actions a {
    padding: 18px 16px;
    gap: 12px;
  }

  .contact-actions span {
    font-size: 17px;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
