@font-face { font-family: "Bagel"; src: url("/fonts/bagel-fat-one-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Young Serif"; src: url("/fonts/young-serif-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "Plex"; src: url("/fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); font-weight: 600; font-display: swap; }

:root {
  --ink: #2A2D34;
  --peach: #F5C6A5;
  --peach-2: #FADBC4;
  --coral: #E8604C;
  --green: #A9C46C;
  --yellow: #FFD36E;
  --lilac: #CDBDF2;
  --cream: #FFF6EC;
  --chunky: "Bagel", "Arial Black", system-ui, sans-serif;
  --serif: "Young Serif", Georgia, serif;
  --sans: "Plex", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --line: 3px solid var(--ink);
  --pop: 6px 6px 0 var(--ink);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; background: var(--cream); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.65; }
html, body { overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2 { font-family: var(--chunky); font-weight: 400; line-height: 1.02; margin: 0 0 .35em; text-wrap: balance; }
h1 { font-size: clamp(3.4rem, 5.6vw, 5.6rem); white-space: nowrap; }
h2 { font-size: clamp(2.3rem, 4.6vw, 3.9rem); }
p { text-wrap: pretty; }
.sprite { position: absolute; }
.tag { display: inline-block; font-weight: 600; font-size: .82rem; letter-spacing: .14em; text-transform: uppercase; background: var(--ink); color: var(--peach); padding: 6px 14px; border-radius: 999px; margin: 0 0 18px; transform: rotate(-2deg); }

/* Buttons: chunky with a hard shadow, same size side by side */
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 58px; min-width: 220px; padding: 0 28px; border: var(--line); border-radius: 999px; box-shadow: var(--pop); text-decoration: none; font-weight: 600; font-size: 1.05rem; transition: transform .15s, box-shadow .15s; }
.btn:hover { transform: translate(-2px, -2px) rotate(-1deg); box-shadow: 8px 8px 0 var(--ink); }
.btn:active { transform: translate(4px, 4px); box-shadow: 2px 2px 0 var(--ink); }
.btn-dark { background: var(--ink); color: var(--cream); }
.btn-light { background: var(--cream); color: var(--ink); }
.btn-peach { background: var(--peach); color: var(--ink); }
.btn-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; max-width: 480px; margin-top: 30px; }
.btn-row .btn { min-width: 0; }

/* Header */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; justify-content: space-between; height: 84px; padding: 0 5vw; background: var(--peach); }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.brand .sprig { width: 44px; height: 27px; }
.brand span { font-family: var(--serif); font-size: 1.55rem; }
.menu { display: flex; align-items: center; gap: 30px; font-weight: 600; }
.menu a { text-decoration: none; }
.menu a:not(.pill):hover { text-decoration: underline wavy var(--coral); text-underline-offset: 6px; }
.pill { padding: 10px 22px; border: var(--line); border-radius: 999px; background: var(--cream); box-shadow: 4px 4px 0 var(--ink); transition: transform .15s; }
.pill:hover { transform: rotate(-3deg); }

/* Hero */
.hero { display: grid; grid-template-columns: 1fr 1.05fr; align-items: center; gap: clamp(30px, 5vw, 80px); background: var(--peach); padding: 40px 5vw 110px; }
.hero-text { max-width: 600px; justify-self: end; }
.lead { font-size: 1.2rem; font-weight: 500; max-width: 470px; margin: 0; }

/* Polaroid photo cards with stickers */
.polaroid { position: relative; margin: 0; background: #fff; padding: 14px 14px 0; border: var(--line); border-radius: 10px; box-shadow: 10px 10px 0 var(--ink); transition: transform .4s cubic-bezier(.3, 1.6, .5, 1); }
.polaroid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; }
.polaroid figcaption { font-family: var(--serif); font-size: 1.25rem; text-align: center; padding: 14px 8px 16px; }
.tilt-r { transform: rotate(2.5deg); }
.tilt-l { transform: rotate(-2.5deg); }
.polaroid:hover { transform: rotate(0deg) scale(1.02); }
.hero-photo img { object-position: 30% 50%; }
.sticker { position: absolute; top: -22px; right: -16px; z-index: 2; font-family: var(--chunky); font-size: 1.15rem; padding: 12px 20px; border: var(--line); border-radius: 999px; transform: rotate(8deg); box-shadow: 4px 4px 0 var(--ink); animation: bob 3.2s ease-in-out infinite; }
.sticker-green { background: var(--green); }
.sticker-coral { background: var(--coral); color: #fff; }
.sticker-yellow { background: var(--yellow); }
@keyframes bob { 0%, 100% { transform: rotate(8deg) translateY(0); } 50% { transform: rotate(4deg) translateY(-6px); } }

/* Scrolling ticker */
.ticker { background: var(--ink); color: var(--peach); overflow: hidden; border-block: var(--line); transform: rotate(-1.5deg); margin: -34px -2vw 0; position: relative; z-index: 5; }
.ticker-track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker-track span { font-family: var(--chunky); font-size: 1.7rem; white-space: nowrap; padding: 16px 0; padding-right: 1ch; }
@keyframes slide { to { transform: translateX(-50%); } }

/* Photo + text blocks */
.block, .wholesale { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: clamp(36px, 6vw, 100px); max-width: 1280px; margin: 0 auto; padding: 120px 6vw; }
.block-flip .polaroid { order: 2; }
.block-text { max-width: 520px; }
.block-text p:not(.tag) { font-size: 1.12rem; margin: 0 0 28px; }
.lookdis-badge { display: block; width: 190px; margin-top: 30px; }

/* Teas */
.teas { text-align: center; background: var(--ink); color: var(--cream); padding: 110px 5vw; }
.teas .tag { background: var(--peach); color: var(--ink); }
.tea-grid { list-style: none; padding: 0; margin: 44px auto 54px; max-width: 1140px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 1fr; gap: 26px; }
.tea { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 34px 24px; border: var(--line); border-radius: 26px; box-shadow: 8px 8px 0 #000; color: var(--ink); transition: transform .25s cubic-bezier(.3, 1.6, .5, 1); }
.tea:nth-child(odd) { transform: rotate(-1.5deg); }
.tea:nth-child(even) { transform: rotate(1.5deg); }
.tea:hover { transform: rotate(0) scale(1.04); }
.tea strong { font-family: var(--chunky); font-weight: 400; font-size: 1.75rem; line-height: 1.1; }
.tea .mood { font-weight: 600; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; background: rgba(255, 255, 255, .7); padding: 4px 12px; border-radius: 999px; }
.c-coral { background: var(--coral); }
.c-coral strong, .c-coral > span:last-child { color: #fff; }
.c-green { background: var(--green); }
.c-dark { background: var(--cream); }
.c-yellow { background: var(--yellow); }
.c-lilac { background: var(--lilac); }
.c-peach { background: var(--peach); }
.teas .btn-dark { background: var(--peach); color: var(--ink); border-color: var(--cream); box-shadow: 6px 6px 0 var(--cream); }

/* Wholesale */
.wholesale { max-width: none; background: var(--green); }
.wholesale > * { max-width: 600px; }
.wholesale .polaroid { justify-self: end; width: 100%; }

/* Footer */
.foot { background: var(--coral); color: var(--ink); display: grid; justify-items: center; gap: 26px; padding: 80px 5vw 50px; text-align: center; }
.foot-big { font-family: var(--chunky); font-size: clamp(2.6rem, 7vw, 5.6rem); line-height: 1; margin: 0; color: var(--cream); text-shadow: 4px 4px 0 var(--ink); }
.foot-logo { width: 140px; border-radius: 22px; border: var(--line); box-shadow: var(--pop); }
.social { display: flex; gap: 14px; }
.social a { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 50%; background: var(--cream); border: var(--line); box-shadow: 3px 3px 0 var(--ink); transition: transform .15s; }
.social a:hover { transform: rotate(-10deg) scale(1.08); }
.social .ld img { width: 26px; height: 26px; border-radius: 6px; }
.copy { margin: 0; font-size: .88rem; font-weight: 500; }

/* Pop-in on scroll */
.reveal { opacity: 0; translate: 0 30px; transition: opacity .7s ease, translate .7s cubic-bezier(.3, 1.4, .5, 1); }
.reveal.in { opacity: 1; translate: 0 0; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; translate: none; transition: none; }
  .ticker-track, .sticker { animation: none; }
  html { scroll-behavior: auto; }
}

/* Tablet */
@media (max-width: 1000px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding-top: 30px; }
  .hero-text { justify-self: center; }
  .lead { margin: 0 auto; }
  .btn-row { margin: 30px auto 0; }
  .hero-photo { max-width: 620px; margin: 10px auto 0; width: 100%; }
  .block, .wholesale { grid-template-columns: 1fr; padding: 90px 7vw; text-align: center; }
  .block-flip .polaroid { order: 0; }
  .block-text { margin: 0 auto; }
  .polaroid { max-width: 620px; margin: 0 auto; width: 100%; }
  .wholesale > * { max-width: 620px; margin: 0 auto; }
  .lookdis-badge { margin: 30px auto 0; }
  .tea-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Phone */
@media (max-width: 700px) {
  body { font-size: 16px; }
  .top { height: 70px; }
  html { scroll-padding-top: 70px; }
  .menu a:not(.pill) { display: none; }
  .brand span { font-size: 1.3rem; }
  .brand .sprig { width: 36px; height: 22px; }
  .btn-row { grid-template-columns: 1fr; }
  .sticker { font-size: .95rem; padding: 9px 15px; right: -6px; }
  .ticker-track span { font-size: 1.3rem; padding: 12px 0; }
  .tea-grid { grid-template-columns: 1fr; gap: 22px; }
  .teas { padding: 80px 7vw; }
  .polaroid { padding: 10px 10px 0; box-shadow: 7px 7px 0 var(--ink); }
}
