@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root {
  color-scheme: light;
  --cream: #F5EAD4;
  --ink: #211911;
  --orange: #FF542F;
  --yellow: #F6D746;
  --font-display: "Barlow Condensed", "Liberation Sans Narrow", "Arial Narrow", Impact, sans-serif;
  --font-body: "DM Sans", Arial, sans-serif;
  --font-mono: "Courier New", monospace;
  --page-pad: clamp(1.15rem, 4.2vw, 4.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--font-body); }
a { color: inherit; }
img { max-width: 100%; }
button, input { font: inherit; }
::selection { color: var(--cream); background: var(--ink); }
:focus-visible { outline: 3px solid currentColor; outline-offset: 5px; }
[hidden] { display: none !important; }

.sr-only, .symbol-bank {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;
}
.skip-link { position: fixed; z-index: 100; left: 1rem; top: 1rem; padding: .8rem 1rem; color: var(--cream); background: var(--ink); transform: translateY(-200%); }
.skip-link:focus { transform: none; }

.site-header { background: var(--cream); border-bottom: 1px solid var(--ink); position: relative; z-index: 5; }
.site-header__inner { min-height: 73px; padding: 0 var(--page-pad); max-width: 1720px; margin: auto; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.site-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.site-logo img { display: block; width: clamp(100px, 12vw, 153px); height: auto; }
.site-header nav { display: flex; align-items: center; gap: clamp(.85rem, 3.15vw, 3rem); }
.site-header nav a { font-size: .83rem; font-weight: 800; text-decoration: none; padding-block: .65rem; }
.site-header nav a:not(.nav-campaign):hover { text-decoration: underline; text-underline-offset: .23rem; }
.site-header nav .nav-campaign { border: 1px solid var(--ink); border-radius: 999px; padding-inline: 1rem; transition: background .2s, color .2s; }
.nav-campaign span { margin-left: .25rem; }
.nav-campaign:hover { background: var(--ink); color: var(--cream); }

.hero { position: relative; isolation: isolate; background: var(--orange); overflow: clip; }
.hero-grain { position: absolute; z-index: -1; inset: 0; background: url('./assets/paper-noise.webp') repeat; opacity: .24; mix-blend-mode: multiply; pointer-events: none; }
.hero__inner { width: 100%; max-width: 1720px; height: clamp(640px, 53vw, 850px); position: relative; padding: 0 var(--page-pad); margin: auto; }
.hero-kicker { position: absolute; left: var(--page-pad); right: var(--page-pad); top: clamp(1.3rem, 2.4vw, 2.45rem); display: flex; justify-content: space-between; font: 700 clamp(.66rem, .88vw, .84rem)/1 var(--font-mono); letter-spacing: .105em; }
.hero-wordmark { position: absolute; margin: 0; top: clamp(3.3rem, 4.7vw, 5rem); left: var(--page-pad); right: var(--page-pad); }
.hero-wordmark img { display: block; width: 100%; height: auto; }
.hero-figure { position: absolute; z-index: 2; pointer-events: none; width: clamp(490px, 48.5vw, 797px); left: 50%; bottom: 5.4%; transform: translateX(-50%); }
.hero-figure__motion { transform: translate3d(var(--burger-x, 0px), var(--burger-y, 0px), 0) rotate(var(--burger-r, 0deg)); }
.hero-figure img { display: block; width: 100%; height: auto; filter: drop-shadow(0 26px 24px #48170c6b) drop-shadow(0 6px 6px #37170c39); transform: rotate(-5deg); }
.hero-copy { position: absolute; z-index: 3; left: var(--page-pad); bottom: 9.2%; max-width: 15rem; }
.hero-tagline { font: 900 clamp(2.25rem, 4.4vw, 4.5rem)/.81 var(--font-display); letter-spacing: -.021em; margin: 0 0 1rem; }
.hero-description { max-width: 12.8rem; font-size: .96rem; font-weight: 650; line-height: 1.44; margin: 0 0 1.22rem; }
.fuse-button { display: inline-flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .76rem .95rem .76rem 1.1rem; min-height: 49px; border: 1px solid var(--ink); border-radius: 99px; font-size: .87rem; font-weight: 800; text-decoration: none; transition: color .2s, background .2s, transform .2s; }
.fuse-button--dark { background: var(--ink); color: var(--cream); }
.fuse-button--dark:hover { background: var(--cream); color: var(--ink); transform: translateY(-2px); }
.fuse-button svg { width: 19px; height: 19px; }
.hero-seal { position: absolute; z-index: 3; right: max(var(--page-pad), 8vw); bottom: 28%; width: clamp(104px, 10.7vw, 163px); color: var(--ink); transform: rotate(13deg); pointer-events: none; filter: drop-shadow(4px 5px 0 #211911); }
.hero-seal svg { display: block; width: 100%; overflow: visible; }
.hero-seal text { fill: currentColor; font: 800 9.7px var(--font-mono); letter-spacing: .45px; }
.hero-product { position: absolute; right: var(--page-pad); bottom: 8.9%; z-index: 3; display: grid; gap: .27rem; text-align: right; text-decoration: none; }
.hero-product > span { font: 700 .68rem/1 var(--font-mono); letter-spacing: .08em; }
.hero-product strong { font: 900 clamp(1.15rem, 1.8vw, 1.72rem)/1 var(--font-display); }
.hero-product strong span { display: inline-block; margin-left: .16rem; transition: transform .2s; }
.hero-product:hover strong span { transform: translate(3px, 3px); }

.fuse-strip { display: flex; overflow: hidden; color: var(--cream); background: var(--ink); border-block: 1px solid var(--ink); }
.fuse-strip__track { display: flex; flex: none; width: max-content; animation: ticker 36s linear infinite; }
.fuse-strip__unit { display: flex; align-items: center; gap: 2.25rem; padding: .75rem 2.25rem .85rem 0; }
.fuse-strip__unit span { white-space: nowrap; font: 900 clamp(1.3rem, 2.55vw, 2.4rem)/1 var(--font-display); }
.fuse-strip__unit svg { color: var(--orange); width: 1.05rem; height: 1.25rem; flex: 0 0 auto; }
@keyframes ticker { to { transform: translateX(-50%); } }

.site-footer { background: var(--ink); color: var(--cream); padding: clamp(2.25rem, 5vw, 4.6rem) var(--page-pad) clamp(1.25rem, 3.2vw, 3rem); }
.footer-inner { margin: auto; max-width: 1560px; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; padding-bottom: clamp(2rem, 4vw, 3.5rem); }
.footer-top p { margin: .35rem 0 0; font-size: .84rem; }
.footer-top .footer-title { font: 900 clamp(1.5rem, 2.75vw, 2.65rem)/.95 var(--font-display); }
.back-top { display: inline-flex; align-items: center; gap: .6rem; font-weight: 800; white-space: nowrap; font-size: .83rem; text-decoration: none; }
.back-top span { display: grid; place-items: center; border: 1px solid currentColor; border-radius: 50%; height: 2rem; width: 2rem; }
.back-top:hover span { color: var(--ink); background: var(--cream); }
.footer-logo { width: 100%; height: auto; display: block; }

@media (prefers-reduced-motion: no-preference) {
  .hero-wordmark { animation: hero-mark .65s cubic-bezier(.22,.8,.25,1) both; }
  .hero-figure { animation: hero-food .86s .12s cubic-bezier(.17,.83,.21,1) both; }
  .hero-copy, .hero-product { animation: hero-copy .65s .26s both; }
  .hero-seal { animation: hero-stamp .65s .43s cubic-bezier(.17,.83,.21,1) both; }
}
@keyframes hero-mark { from { opacity: 0; transform: translateY(22px) scale(.98); } }
@keyframes hero-food { from { opacity: 0; transform: translate(-50%, 11%) scale(.86) rotate(6deg); } }
@keyframes hero-copy { from { opacity: 0; transform: translateY(13px); } }
@keyframes hero-stamp { from { opacity: 0; transform: rotate(32deg) scale(1.22); } }
@media (max-width: 1020px) and (min-width: 701px) {
  .hero__inner { height: clamp(575px, 70vw, 675px); }
  .hero-figure { width: 53%; bottom: 13%; }
  .hero-copy { bottom: 7%; max-width: 13rem; }
  .hero-tagline { font-size: clamp(2.25rem, 4.4vw, 3.6rem); }
  .hero-seal { right: var(--page-pad); bottom: 33%; }
}
@media (max-width: 700px) {
  .site-header__inner { min-height: 59px; }
  .site-header nav { gap: clamp(.6rem, 2.7vw, 1.05rem); }
  .site-header nav a { font-size: clamp(.65rem, 2.65vw, .81rem); }
  .site-header nav .nav-campaign { padding-inline: .6rem; }
  .nav-campaign span { margin-left: .05rem; }
  .hero__inner { height: auto; min-height: 0; display: flex; flex-direction: column; padding-top: 1.35rem; padding-bottom: 1.55rem; }
  .hero-kicker { position: static; font-size: clamp(.56rem, 2.2vw, .71rem); margin-bottom: .6rem; }
  .hero-wordmark { position: relative; inset: auto; }
  .hero-figure { position: relative; width: 100%; max-width: 480px; left: 50%; bottom: auto; margin-top: -3.8%; margin-bottom: 1.1rem; }
  .hero-figure img { filter: drop-shadow(0 16px 15px #48170c6a) drop-shadow(0 4px 3px #37170c40); }
  .hero-copy { position: relative; inset: auto; max-width: 100%; }
  .hero-tagline { font-size: clamp(2.1rem, 9.9vw, 4rem); margin-bottom: .65rem; }
  .hero-description { max-width: 14rem; font-size: .86rem; margin-bottom: .95rem; }
  .hero-seal { right: var(--page-pad); bottom: auto; top: clamp(140px, 43vw, 252px); width: clamp(67px, 19vw, 108px); }
  .hero-product { bottom: 1.62rem; }
  .hero-product > span { font-size: .56rem; }
  .hero-product strong { font-size: 1.08rem; }
  .fuse-strip__unit { gap: 1.2rem; padding: .67rem 1.2rem .7rem 0; }
  .fuse-strip__unit svg { width: .75rem; height: .95rem; }
}
@media (max-width: 352px) {
  .site-header__inner { gap: .5rem; padding-inline: .8rem; }
  .site-header nav { gap: .5rem; }
  .site-logo img { width: 93px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero *, .fuse-strip__track { animation: none; transition: none; }
}

.icon-diagonal { width: 1em; height: 1em; display: inline-block; vertical-align: -.14em; }
.nav-campaign .icon-diagonal { margin-left: .21rem; }
.icon-downright { transform: rotate(90deg); }
.icon-up { transform: rotate(-45deg); }
.hero-tagline { font-size: clamp(2.35rem, 3.67vw, 4.05rem); white-space: nowrap; }
.hero-product .icon-diagonal { margin-left: .16rem; transition: transform .2s; }
.hero-product:hover .icon-downright { transform: translate(3px, 3px) rotate(90deg); }
.hero-grain { opacity: .19; }
@media (max-width: 1020px) and (min-width: 701px) {
  .hero-tagline { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
}
@media (max-width: 700px) {
  .hero-tagline { font-size: clamp(2.25rem, 9.9vw, 4rem); }
}

.packaging { padding: clamp(3.7rem, 7vw, 7.5rem) var(--page-pad); }
.packaging__intro { max-width: 1450px; margin: 0 auto clamp(1.7rem, 3vw, 3.3rem); display: flex; justify-content: space-between; align-items: end; gap: 2rem; }
.packaging__label { margin: 0 0 .6rem; font: 700 .78rem/1 var(--font-mono); letter-spacing: .11em; }
.packaging__intro h2 { margin: 0; font: 900 clamp(4.75rem, 12vw, 12rem)/.78 var(--font-display); letter-spacing: -.031em; }
.packaging__intro h2 span { color: #bd3218; }
.packaging__intro > p { max-width: 15rem; margin: 0 0 .24rem; font-size: clamp(.96rem, 1.45vw, 1.3rem); line-height: 1.48; font-weight: 650; }
.packaging__image { max-width: 1450px; margin: auto; overflow: hidden; border: 1px solid var(--ink); background: var(--orange); }
.packaging__image img { display: block; width: 100%; height: auto; aspect-ratio: 3/2; object-fit: cover; }
@media (max-width: 650px) {
  .packaging__intro { align-items: start; flex-direction: column; gap: 1rem; }
  .packaging__intro > p { max-width: 20rem; margin: 0; }
}

.site-header nav .nav-campaign { white-space: nowrap; }
@media (max-width: 352px) {
  .site-header nav .nav-campaign { padding-inline: .48rem; }
  .site-header nav .nav-campaign .icon-diagonal { margin-left: .1rem; }
}

@media (max-width: 540px) {
  .site-header nav .nav-layers { display: none; }
}
