/* Bubs Rubs — v1 site styles
   Brand colors:
   Brand Blue  #08548c  (confirmed — from launch poster)
   Coral       #fd4b48  (confirmed)
   Soft White  #F5F5F5  (confirmed — page base)
   Ink         #1F2A37  (soft blue-black for text, replaces pure #000)
   Sun         #FFC23C  (optional warm accent — complements coral + blue)
   Fonts: Poppins (heading stand-in for Kare), Open Sans (body) */

:root {
  --deep-blue: #08548c;
  --soft-white: #F5F5F5;
  --coral: #fd4b48;
  --bright-blue: #00B3E0;
  --charcoal: #1F2A37;
  --sun: #FFC23C;
  --max: 960px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: "Open Sans", system-ui, sans-serif;
  color: var(--charcoal);
  background: var(--soft-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

@font-face {
  font-family: "Kare";
  src: url("fonts/Kare.woff2") format("woff2"), url("fonts/Kare.woff") format("woff");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Kare";
  src: url("fonts/Kare-Light.woff2") format("woff2"), url("fonts/Kare-Light.woff") format("woff");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

/* Kare display face — wordmark + big headings, set in caps like the poster */
.wordmark, h1, h2 {
  font-family: "Kare", "Poppins", system-ui, sans-serif;
  font-weight: 400;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
/* Clean sans for nav, buttons, sub-headings, body */
h3, .btn, nav a, .recipe h4 {
  font-family: "Poppins", system-ui, sans-serif;
}

a { color: var(--deep-blue); text-decoration: none; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* Header / nav */
.site-head {
  background: var(--deep-blue);
  color: var(--soft-white);
  position: sticky;
  top: 0;
  z-index: 10;
}
.site-head .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  row-gap: 6px;
  padding-top: 16px;
  padding-bottom: 16px;
}
.wordmark {
  font-weight: 400;
  font-size: 1.6rem;
  color: var(--soft-white);
}
.wordmark span { color: var(--coral); }
nav a {
  color: var(--soft-white);
  font-weight: 600;
  font-size: 0.95rem;
  margin-left: 22px;
  opacity: 0.85;
}
nav a:hover, nav a.active { opacity: 1; border-bottom: 2px solid var(--coral); padding-bottom: 2px; }

/* Hero */
.hero {
  background: var(--deep-blue);
  color: var(--soft-white);
  padding: 72px 0 80px;
}
.hero h1 {
  font-size: clamp(2.4rem, 6.5vw, 3.8rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: 18px;
}
.hero p { font-size: 1.15rem; max-width: 30em; opacity: 0.92; }
.hero .kicker {
  font-family: "Poppins", system-ui, sans-serif;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--sun);
  opacity: 1;
  margin-bottom: 14px;
}
.hl-sun { color: var(--sun); font-weight: 700; letter-spacing: 0.03em; }
.hero-grid { display: flex; align-items: center; gap: 40px; }
.hero-text { flex: 1 1 56%; }
.hero-photo { flex: 1 1 44%; display: flex; justify-content: center; }
.hero-photo img { width: 100%; max-width: 440px; height: auto; display: block; }
.hero-cta { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
@media (max-width: 760px) {
  .hero-grid { flex-direction: column; align-items: flex-start; gap: 20px; }
  .hero-photo { width: 100%; justify-content: center; }
  .hero-photo img { max-width: 300px; }
}
.hero .tag {
  display: inline-block;
  margin-top: 28px;
  color: var(--soft-white);
  border-left: 3px solid var(--coral);
  padding-left: 14px;
  font-style: italic;
  opacity: 0.9;
}

/* Sections */
section { padding: 64px 0; }
section.tint { background: #fff; }
h2 {
  font-size: 1.9rem;
  color: var(--deep-blue);
  margin-bottom: 16px;
}
h2::after {
  content: "";
  display: block;
  width: 44px;
  height: 4px;
  background: var(--coral);
  border-radius: 2px;
  margin-top: 12px;
}
.lead { color: var(--charcoal); opacity: 0.8; margin-bottom: 32px; max-width: 36em; }

/* Buttons */
.btn {
  display: inline-block;
  background: var(--coral);
  color: #fff;
  font-weight: 600;
  padding: 12px 22px;
  border-radius: 8px;
  transition: transform 0.1s ease, opacity 0.1s ease;
}
.btn:hover { transform: translateY(-1px); opacity: 0.95; }
.btn.ghost { background: transparent; color: var(--soft-white); border: 2px solid var(--soft-white); }
.btn.blue { background: var(--bright-blue); }
.btn.sun { background: var(--sun); color: var(--charcoal); }
.tag {
  display: inline-block;
  background: var(--sun);
  color: var(--charcoal);
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
  vertical-align: middle;
  margin-left: 8px;
}

/* Instagram gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.gallery a {
  display: block;
  aspect-ratio: 1 / 1;
  background: var(--deep-blue);
  border-radius: 6px;
  position: relative;
  overflow: hidden;
}
.gallery a span {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: var(--soft-white);
  font-size: 0.8rem;
  opacity: 0.6;
  text-align: center;
  padding: 8px;
}
.gallery a:nth-child(2n) { background: var(--coral); }
.gallery a:nth-child(3n) { background: var(--bright-blue); }
.gallery a:hover { opacity: 0.9; }

/* Instagram embeds grid */
.ig-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; align-items: start; }
.ig-grid .instagram-media { width: 100% !important; min-width: 0 !important; margin: 0 !important; }
@media (max-width: 700px) { .ig-grid { grid-template-columns: 1fr; } }

/* Recipe cards */
.recipes { display: grid; gap: 28px; }
.recipe {
  background: #fff;
  border: 1px solid #e6e6e6;
  border-radius: 12px;
  padding: 28px 28px 24px;
}
.recipe h3 { font-size: 1.35rem; color: var(--deep-blue); margin-bottom: 4px; }
.recipe .meta { font-size: 0.85rem; color: var(--coral); font-weight: 600; margin-bottom: 14px; }
.recipe .note { font-style: italic; opacity: 0.8; margin-bottom: 16px; }
.recipe h4 { font-family: "Poppins", sans-serif; font-size: 0.95rem; margin: 14px 0 6px; }
.recipe ul, .recipe ol { margin-left: 20px; }
.recipe li { margin-bottom: 4px; }
.recipe .signoff { margin-top: 18px; font-weight: 600; color: var(--deep-blue); }

/* Say hi page */
.social-stack { display: flex; flex-direction: column; gap: 14px; max-width: 380px; }
.social-stack .btn { text-align: center; }

/* Footer */
.site-foot {
  background: var(--charcoal);
  color: var(--soft-white);
  padding: 30px 0 22px;
  margin-top: 24px;
}
.foot-top {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(245, 245, 245, 0.14);
}
.foot-wordmark { font-size: 1.3rem; }
.foot-nav a {
  font-family: "Poppins", system-ui, sans-serif;
  color: var(--soft-white);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 12px;
  opacity: 0.85;
}
.foot-nav a:hover { opacity: 1; color: var(--coral); }
.foot-social { display: flex; gap: 16px; }
.foot-social a { display: inline-flex; color: var(--soft-white); opacity: 0.85; }
.foot-social a:hover { color: var(--coral); opacity: 1; }
.foot-social svg { width: 22px; height: 22px; display: block; }
.foot-bottom { padding-top: 16px; }
.foot-bottom .small { display: block; opacity: 0.6; font-size: 0.85rem; }
.foot-bottom .small + .small { margin-top: 4px; }

/* Cookie consent banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--charcoal);
  color: var(--soft-white);
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
  z-index: 60;
}
.cookie-banner p { margin: 0; font-size: 0.92rem; flex: 1 1 260px; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-banner .btn { padding: 9px 18px; }
.btn.ghost-dark { background: transparent; color: var(--soft-white); border: 2px solid rgba(245, 245, 245, 0.4); }
.btn.ghost-dark:hover { border-color: var(--coral); color: var(--coral); }
@media (max-width: 600px) {
  .foot-top { justify-content: center; text-align: center; }
  .foot-nav a { margin: 0 8px; }
  .foot-bottom { text-align: center; }
}

@media (max-width: 600px) {
  nav a { margin-left: 14px; font-size: 0.85rem; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  section { padding: 48px 0; }
  .wordmark { font-size: 1.35rem; }
  .hero { padding: 52px 0 56px; }
}
@media (max-width: 360px) {
  nav a:first-child { margin-left: 0; }
  nav a { margin-left: 10px; font-size: 0.8rem; }
}

.cookie-banner[hidden] {
  display: none !important;
}