/* KEEDO / Coastside Nut Butter Co. — brand colors from the jar label */
@font-face { font-family: "Fredoka"; src: url("assets/fonts/fredoka-var.woff2") format("woff2"); font-weight: 300 700; font-display: swap; }
@font-face { font-family: "Roboto Condensed"; src: url("assets/fonts/roboto-condensed-var.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --cream: #F6E9D4;
  --cream-2: #FBF4E8;
  --brown: #3A2416;
  --brown-2: #5A3B26;
  --tan: #B98B5E;
  --dough: #F7C98C;
  --cinnamon: #A0522D;
  --ink-soft: #6B5442;
  --radius: 22px;
  --shadow: 0 10px 30px rgba(58, 36, 22, .12);
  --display: "Fredoka", "Trebuchet MS", system-ui, sans-serif;
  --body: "Roboto Condensed", "Arial Narrow", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--cream-2); color: var(--brown); font-family: var(--body); font-size: 1.125rem; line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--brown); }
h1, h2, h3 { font-family: var(--display); line-height: 1.1; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.6rem, 6vw, 4.4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.75rem); }
h3 { font-size: 1.45rem; font-weight: 600; }
p { margin: 0 0 1em; }
.wrap { width: min(1120px, 100% - 2.5rem); margin-inline: auto; }
.center { text-align: center; }
.small { font-size: .95rem; }
.muted { color: var(--ink-soft); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 0; background: var(--brown); color: var(--cream); padding: .5rem 1rem; z-index: 100; }
.skip:focus { left: 1rem; }

.eyebrow { font-family: var(--display); font-weight: 600; text-transform: uppercase; letter-spacing: .14em; font-size: .85rem; color: var(--cinnamon); margin-bottom: .6rem; }
.eyebrow.light { color: var(--dough); }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .4rem; font-family: var(--display); font-weight: 600; font-size: 1.05rem; padding: .85rem 1.5rem; border-radius: 999px; text-decoration: none; border: 2px solid var(--brown); cursor: pointer; transition: transform .15s ease, box-shadow .15s ease, background .15s; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 0 rgba(58,36,22,.18); }
.btn:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid var(--cinnamon); outline-offset: 3px; }
.btn-primary { background: var(--brown); color: var(--cream); }
.btn-ghost { background: transparent; color: var(--brown); }
.btn-ghost:hover { background: var(--cream); }
.btn-light { background: var(--dough); color: var(--brown); border-color: var(--dough); font-size: 1.15rem; padding: 1rem 1.8rem; }

/* Notice bar */
.notice { background: var(--brown); color: var(--cream); text-align: center; font-size: .95rem; padding: .55rem 1rem; }
.notice a { color: var(--dough); font-weight: 700; margin-left: .35rem; white-space: nowrap; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(251, 244, 232, .92); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(185, 139, 94, .3); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .6rem 0; }
.brand { display: flex; align-items: center; gap: .55rem; text-decoration: none; }
.brand img { width: 48px; }
.brand-word { font-family: var(--display); font-weight: 700; font-size: 1.7rem; letter-spacing: .02em; color: var(--brown); }
.nav { display: flex; align-items: center; gap: 1.4rem; font-family: var(--display); font-weight: 500; }
.nav a { text-decoration: none; }
.nav a:not(.nav-cta):hover { color: var(--cinnamon); }
.nav-cta { background: var(--brown); color: var(--cream) !important; padding: .45rem 1rem; border-radius: 999px; }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 80% 0%, #fff6e6 0%, transparent 60%), var(--cream); overflow: hidden; }
.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 2rem; padding: 4.5rem 0 5rem; }
.hero .swash { color: var(--cinnamon); }
.lede { font-size: 1.3rem; max-width: 34ch; color: var(--brown-2); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 1.6rem 0 1.4rem; }
.hero-badge span { display: inline-block; font-family: var(--body); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: .95rem; border: 2px dashed var(--tan); border-radius: 10px; padding: .35rem .8rem; }
.hero-art { position: relative; display: grid; place-items: center; min-height: 420px; }
.hero-blob { position: absolute; width: 420px; height: 420px; border-radius: 46% 54% 52% 48% / 55% 45% 55% 45%; background: var(--dough); opacity: .55; }
.hero-jar { position: relative; width: 300px; filter: drop-shadow(0 22px 28px rgba(58,36,22,.25)); transform: rotate(-3deg); }
.hero-mascot { position: absolute; width: 210px; right: -10px; bottom: -6px; transform: rotate(6deg); filter: drop-shadow(0 8px 10px rgba(58,36,22,.18)); }

/* Sections */
.section { padding: 5rem 0; }
.story-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 3rem; align-items: center; }
.story-copy p { max-width: 60ch; }
.story-points { list-style: none; padding: 0; margin: 0; display: grid; gap: 1rem; }
.story-points li { display: flex; gap: 1rem; align-items: center; background: #fff; border-radius: var(--radius); padding: 1.1rem 1.3rem; box-shadow: var(--shadow); }
.story-points strong { display: block; font-family: var(--display); font-weight: 600; font-size: 1.2rem; }
.story-points span { color: var(--ink-soft); }
.pt-icon { font-size: 1.8rem; width: 3rem; height: 3rem; display: grid; place-items: center; background: var(--cream); border-radius: 50%; flex: none; }

.flavors { background: var(--cream); }
.flavor-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; margin-top: 2.2rem; }
.flavor-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.flavor-media { height: 280px; display: grid; place-items: center; }
.flavor-media.choc { background: linear-gradient(160deg, #e9cfa8, #c9a173); }
.flavor-media.choc img { width: 230px; filter: drop-shadow(0 14px 18px rgba(58,36,22,.3)); }
.flavor-media.snick { background: linear-gradient(160deg, #f3dcc0, #d9a77c); }
.coming-soon-art { position: relative; }
.coming-soon-art img { width: 200px; filter: sepia(.25) saturate(.9) drop-shadow(0 10px 14px rgba(58,36,22,.25)); }
.cinnamon { position: absolute; width: 12px; height: 12px; border-radius: 50%; background: var(--cinnamon); opacity: .7; }
.c1 { top: 6%; left: -10%; } .c2 { top: 30%; right: -14%; width: 9px; height: 9px; } .c3 { bottom: 8%; left: -4%; width: 7px; height: 7px; }
.flavor-body { padding: 1.6rem 1.8rem 1.4rem; }
.tag { display: inline-block; font-family: var(--display); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding: .25rem .7rem; border-radius: 999px; margin-bottom: .8rem; }
.tag-now { background: var(--brown); color: var(--cream); }
.tag-soon { background: var(--cinnamon); color: #fff; }

.ingr-inner { display: grid; grid-template-columns: 1.5fr 1fr; gap: 3rem; align-items: start; }
.ingr-title { margin-top: 1rem; }
.ingr-list { max-width: 65ch; }
.allergen { background: var(--cream); border-left: 6px solid var(--brown); border-radius: 12px; padding: 1rem 1.2rem; margin: 1.2rem 0; }
.allergen p { margin: .2rem 0; }
.hk-card { background: #fff; border: 3px solid var(--brown); border-radius: var(--radius); padding: 2rem; text-align: center; box-shadow: var(--shadow); }
.hk-card img { width: 140px; margin: 0 auto 1rem; }
.hk-title { font-family: var(--body); font-weight: 800; text-transform: uppercase; letter-spacing: .04em; font-size: 1.5rem; margin-bottom: .6rem; }

.find { background: var(--cream); }
.lede-sm { font-size: 1.15rem; color: var(--brown-2); }
.market-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin: 2rem 0 1.5rem; }
.market-card { position: relative; background: #fff; border: 2px dashed var(--tan); border-radius: var(--radius); padding: 1.6rem; }
.market-card h3 { margin-bottom: .3rem; }
.market-card p { margin: 0; color: var(--ink-soft); }
.market-card .when { margin-top: .6rem; font-weight: 700; color: var(--brown); }
.tbd { position: absolute; top: 1rem; right: 1rem; background: var(--dough); font-family: var(--display); font-weight: 700; font-size: .8rem; padding: .15rem .6rem; border-radius: 999px; }

.feedback { background: var(--brown); color: var(--cream); }
.feedback h2 { color: #fff; }
.feedback-inner { display: grid; grid-template-columns: 260px 1fr; gap: 3rem; align-items: center; max-width: 900px; }
.feedback p { font-size: 1.2rem; max-width: 52ch; }
.fb-mascot { width: 260px; filter: drop-shadow(0 10px 20px rgba(0,0,0,.35)); }

.contact-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: start; }
.form { display: grid; gap: 1rem; max-width: 520px; }
.form label { display: grid; gap: .35rem; font-weight: 700; }
input, textarea { font: inherit; font-weight: 400; color: var(--brown); background: #fff; border: 2px solid rgba(185,139,94,.6); border-radius: 12px; padding: .7rem .9rem; width: 100%; }
textarea { resize: vertical; }
.form .btn { justify-self: start; }
.form-status { margin: 0; font-weight: 700; color: var(--cinnamon); min-height: 1.2em; }
.signup-card { background: var(--cream); border-radius: var(--radius); padding: 2rem; }
.signup { display: flex; flex-wrap: wrap; gap: .6rem; }
.signup input { flex: 1 1 200px; }
.signup .form-status { flex-basis: 100%; }

.site-footer { background: #2a190f; color: var(--cream); padding: 2.6rem 0; }
.footer-inner { display: flex; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.footer-brand .brand-word { color: var(--cream); font-size: 2rem; }
.footer-brand p { margin: .2rem 0 0; }
.footer-notes p { margin: 0 0 .4rem; font-size: .98rem; }
.site-footer .muted { color: #c9b39a; }

/* Responsive */
@media (max-width: 900px) {
  .nav a:not(.nav-cta) { display: none; }
  .hero-inner, .story-inner, .ingr-inner, .contact-inner { grid-template-columns: 1fr; }
  .hero-inner { padding: 3rem 0 3.5rem; text-align: center; }
  .hero-copy { order: 2; }
  .hero-art { order: 1; min-height: 320px; }
  .lede { margin-inline: auto; }
  .hero-actions { justify-content: center; }
  .market-grid { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  body { font-size: 1.05rem; }
  .section { padding: 3.5rem 0; }
  .hero-blob { width: 300px; height: 300px; }
  .hero-jar { width: 220px; }
  .hero-mascot { width: 150px; right: 50%; margin-right: -190px; }
  .flavor-grid { grid-template-columns: 1fr; }
  .flavor-media { height: 230px; }
  .feedback-inner { grid-template-columns: 1fr; text-align: center; gap: 1.5rem; }
  .fb-mascot { width: 170px; margin: 0 auto; }
  .feedback p { margin-inline: auto; }
  .notice { font-size: .88rem; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .btn { transition: none; } }

/* review fixes */
.fb-mascot { background: var(--cream); border-radius: 50%; padding: 28px; filter: none; box-shadow: 0 0 0 8px rgba(247,201,140,.35); }
.hk-title { line-height: 1.2; }
@media (max-width: 700px) {
  .hero .eyebrow { letter-spacing: .08em; font-size: .78rem; }
  .flavor-media.choc img { width: 175px; }
  .fb-mascot { width: 180px; padding: 20px; }
}
.fb-mascot { aspect-ratio: 1 / 1; object-fit: contain; }
@media (max-width: 700px) {
  .hero-mascot { width: 130px; margin-right: -175px; bottom: 0; }
}
