/* Slow Tide homepage top, from the shipped site (showroom/demos/slow-tide/styles.css), under the brand wipe. */
:root {
  --cream: #F4EAD3;
  --green: #1D3A2C;
  --orange: #D9531C;
  --ink: #20180F;
  --ink-80: rgba(32, 24, 15, .8);
  --ease: cubic-bezier(.44, 0, .56, 1);
  --pad: 48px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--cream); color: var(--ink); font: 400 16px/24px Archivo, system-ui, sans-serif; overflow-x: clip; min-height: 100vh; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
h1, h2 { font-family: Anton, Impact, sans-serif; font-weight: 400; text-transform: uppercase; }
em { font-style: normal; color: var(--orange); }

/* the cover: Slow Tide green, the footer lockup as the mark */
.bwl { --bw-bg: var(--green); --bw-ink: var(--cream); --bw-mark-w: min(560px, 76vw); }
.bwl__mark img { display: block; width: 100%; height: auto; }

/* hero appear, as the site: 600ms, Framer [.44,0,.56,1], staggered */
.js [data-a] { opacity: 0; transform: translateY(var(--y, 30px)); transition: opacity .8s var(--ease) var(--d, 0s), transform .8s var(--ease) var(--d, 0s); }
.js [data-a].in { opacity: 1; transform: none; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 49px; padding: 14px 28px; border-radius: 999px;
  background: var(--orange); color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--ink);
  font: 700 14px/21px Archivo, sans-serif; text-transform: uppercase; white-space: nowrap;
}
.btn-sm { height: 44px; padding: 12px 16px; color: #fff; }
.btn-ghost { background: var(--cream); color: var(--green); box-shadow: inset 0 0 0 2px var(--green); }

.nav { position: relative; z-index: 20; height: 88px; padding: 0 var(--pad); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; }
.nav-l, .nav-r { display: flex; align-items: center; }
.nav-r { justify-content: flex-end; }
.logo { display: block; width: 145px; height: 48px; }
.logo img { display: block; width: 100%; height: 100%; object-fit: contain; }
.burger { display: none; width: 32px; height: 32px; position: relative; justify-self: end; }
.burger span { position: absolute; left: 4px; right: 4px; height: 2px; background: var(--ink); }
.burger span:first-child { top: 11px; } .burger span:last-child { top: 19px; }

.hero { position: relative; height: min(886px, 61.53vw); margin: 0 40px; overflow: clip; }
.pill {
  position: absolute; top: min(51px, 3.54vw); left: 0; right: 0; margin: 0 auto; width: max-content;
  display: flex; align-items: center; gap: 8px; height: 35px; padding: 6px 14px; border-radius: 999px;
  background: var(--green); color: var(--cream);
  font: 700 12px/18px Archivo, sans-serif; text-transform: uppercase; letter-spacing: 1px;
}
.pill .spark { width: 12px; height: 12px; color: var(--orange); }
.hero-h span { position: absolute; left: 0; right: 0; text-align: center; white-space: nowrap; font-size: min(202px, 14.03vw); line-height: 1.0516; }
.h-1 { top: min(114px, 7.92vw); color: var(--green); }
.h-2 { top: min(337px, 23.4vw); color: var(--orange); }
.cup { position: absolute; z-index: 2; top: min(164px, 11.39vw); left: 50%; margin-left: max(-304.5px, -21.15vw); width: min(609px, 42.29vw); }
.cup img { display: block; width: 100%; height: auto; }

.marquee { position: relative; z-index: 5; height: 78px; padding: 24px 0; background: var(--green); overflow: hidden; }
.track { display: flex; gap: 16px; list-style: none; width: max-content; will-change: transform; }
.track li { display: flex; align-items: center; gap: 16px; font: 400 20px/30px Anton, sans-serif; text-transform: uppercase; color: var(--cream); white-space: nowrap; }
.track .spark { width: 18px; height: 18px; color: var(--orange); }

.story {
  padding: 56px var(--pad) 80px; display: flex; gap: 32px;
  background: radial-gradient(120% 90% at 30% 20%, #F8F0DE 0%, var(--cream) 60%, #EFE3C8 100%);
}
.story-text, .story-img { flex: 1 1 0; min-width: 0; }
.story-text { display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.story-text h2 { font-size: 60px; line-height: 66px; color: var(--green); }
.story-text p { font-size: 18px; line-height: 26px; color: var(--ink-80); max-width: 30em; }
.story-img { display: flex; justify-content: center; align-items: flex-start; height: 461px; }
.story-img img { display: block; height: 100%; width: auto; filter: drop-shadow(0 22px 24px rgba(32, 24, 15, .22)); }

/* phone (the site's Framer breakpoint, 810) */
@media (max-width: 809px) {
  :root { --pad: 16px; }
  .nav { padding: 20px 24px; grid-template-columns: 1fr auto auto; gap: 14px; }
  .nav-l { display: none; }
  .nav-r .btn { height: 38px; padding: 8px 14px; font-size: 12px; line-height: 16px; }
  .logo { width: 120px; height: 40px; }
  .burger { display: block; }
  .hero { height: 600px; margin: 0; }
  .pill { top: 24px; padding: 6px 12px; font-size: 10px; line-height: 14px; letter-spacing: .6px; }
  .hero-h span { font-size: min(64px, 16.4vw); line-height: 68px; }
  .h-1 { top: 86px; } .h-2 { top: 162px; }
  .cup { top: 215px; width: 388px; margin-left: -194px; }
  .marquee { height: 66px; padding: 18px 0; }
  .story { padding: 40px 16px; flex-direction: column; }
  .story-img { display: none; }
  .story-text h2 { font-size: 40px; line-height: 46px; }
  .story-text p { font-size: 16px; line-height: 24px; }
}

@media (prefers-reduced-motion: reduce) { .js [data-a] { opacity: 1; transform: none; transition: none; } }
