/* Bubu — shared styles
   Brand colours live in :root. Swap them for Hazel's official palette when ready. */
:root {
  --cream: #f6efe6;
  --foam: #fffaf3;
  --espresso: #2b1d14;
  --roast: #5a3b28;
  --caramel: #c8874a;
  --caramel-soft: #f0dcc4;
  --muted: #7a6656;
  --line: #e4d6c5;

  /* Sub-brand accents */
  --vc: #1f3a4d;          /* VC Consulting */
  --vc-soft: #dfe8ee;
  --dom: #b5564a;         /* Dominique Creatives */
  --dom-soft: #f5dfda;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(43, 29, 20, .08);
  --max: 1120px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "DM Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--espresso);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 600; line-height: 1.12; margin: 0 0 .5em; letter-spacing: -.01em; }
h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 700; color: var(--caramel); margin-bottom: .8em; }
.lead { font-size: 1.15rem; color: var(--roast); max-width: 40em; }
.muted { color: var(--muted); }
section { padding: 88px 0; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 20; background: rgba(246, 239, 230, .92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; }
.logo svg { width: 34px; height: 34px; }
.nav-links { display: flex; gap: 26px; align-items: center; list-style: none; margin: 0; padding: 0; }
.nav-links a { text-decoration: none; font-weight: 500; font-size: .95rem; }
.nav-links a:hover { color: var(--caramel); }
.nav-toggle { display: none; background: none; border: 0; font-size: 1.6rem; cursor: pointer; color: var(--espresso); }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 24px; border-radius: 999px; font-weight: 700; text-decoration: none; border: 2px solid transparent; transition: transform .15s ease, background .15s ease; cursor: pointer; font-size: 1rem; font-family: var(--font-body); }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--espresso); color: var(--foam); }
.btn-primary:hover { background: var(--roast); }
.btn-ghost { border-color: var(--espresso); color: var(--espresso); background: transparent; }
.btn-vc { background: var(--vc); color: #fff; }
.btn-dom { background: var(--dom); color: #fff; }
.btn-sm { padding: 10px 18px; font-size: .9rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.6em; }

/* Hero */
.hero { padding: 72px 0 96px; }
.hero-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.hero-art { background: var(--caramel-soft); border-radius: 50% 50% var(--radius) var(--radius); aspect-ratio: 4 / 5; display: grid; place-items: center; position: relative; overflow: hidden; }
.hero-art svg { width: 62%; }
.hero-art .tag { position: absolute; bottom: 18px; left: 18px; right: 18px; background: var(--foam); border-radius: 12px; padding: 12px 16px; font-size: .9rem; box-shadow: var(--shadow); }

/* Cards */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.card { background: var(--foam); border-radius: var(--radius); padding: 32px; box-shadow: var(--shadow); }
.card h3 { margin-top: .2em; }
.card-vc { border-top: 6px solid var(--vc); }
.card-dom { border-top: 6px solid var(--dom); }
.card .who { font-size: .85rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; }
.card-vc .who { color: var(--vc); }
.card-dom .who { color: var(--dom); }

.band { background: var(--espresso); color: var(--foam); }
.band .lead, .band .muted { color: #e8d9c8; }
.band .eyebrow { color: var(--caramel); }
.band .btn-primary { background: var(--caramel); color: var(--espresso); }

/* Menu */
.menu-item { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px dashed var(--line); }
.menu-item:last-child { border-bottom: 0; }
.menu-item strong { font-family: var(--font-display); font-size: 1.1rem; }

/* Steps */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.step { background: var(--foam); border-radius: var(--radius); padding: 28px; position: relative; }
.step::before { counter-increment: step; content: counter(step); display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--espresso); color: var(--foam); font-weight: 700; margin-bottom: 14px; }
.theme-vc .step::before { background: var(--vc); }
.theme-dom .step::before { background: var(--dom); }

/* Sub-brand page heroes */
.page-hero { padding: 80px 0 64px; }
.theme-vc .page-hero { background: var(--vc-soft); }
.theme-dom .page-hero { background: var(--dom-soft); }
.theme-vc .eyebrow { color: var(--vc); }
.theme-dom .eyebrow { color: var(--dom); }
.badge { display: inline-block; padding: 6px 14px; border-radius: 999px; background: var(--foam); font-size: .85rem; font-weight: 700; margin-bottom: 1.2em; }

ul.ticks { list-style: none; padding: 0; margin: 0; }
ul.ticks li { padding-left: 30px; position: relative; margin-bottom: .7em; }
ul.ticks li::before { content: "☕"; position: absolute; left: 0; top: 0; }

/* FAQ */
details { background: var(--foam); border-radius: 14px; padding: 18px 22px; margin-bottom: 12px; }
summary { cursor: pointer; font-weight: 700; }
details p { margin: .8em 0 0; }

/* Forms */
form .field { margin-bottom: 18px; }
label { display: block; font-weight: 600; margin-bottom: 6px; font-size: .95rem; }
input, select, textarea { width: 100%; padding: 13px 14px; border: 1px solid var(--line); border-radius: 12px; font: inherit; background: #fff; color: var(--espresso); }
input:focus, select:focus, textarea:focus { outline: 3px solid var(--caramel-soft); border-color: var(--caramel); }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin-top: 5px; }
.hidden { display: none; }

/* Footer */
.site-footer { background: var(--espresso); color: #e8d9c8; padding: 56px 0 32px; font-size: .95rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
.site-footer h4 { color: var(--foam); font-family: var(--font-display); font-size: 1.1rem; margin: 0 0 .8em; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: .5em; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--caramel); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); margin-top: 40px; padding-top: 20px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: .85rem; }

/* Cookie notice */
.cookie { position: fixed; left: 16px; right: 16px; bottom: 16px; max-width: 520px; margin: 0 auto; background: var(--foam); border-radius: 16px; box-shadow: 0 12px 40px rgba(0,0,0,.18); padding: 18px 20px; z-index: 50; font-size: .92rem; display: none; }
.cookie.show { display: block; }
.cookie .btn-row { margin-top: 12px; }

/* ===== v2: catchy layer ===== */

/* Bolder display type. Swap --font-display for Bubu's own font when Hazel sends it. */
h1.display { font-size: clamp(2.8rem, 7.5vw, 5.6rem); line-height: 1.02; letter-spacing: -.025em; }
h1.display em { font-style: italic; color: var(--caramel); position: relative; white-space: nowrap; }
h1.display em::after { content: ""; position: absolute; left: 0; right: 0; bottom: .06em; height: .14em; background: var(--caramel-soft); z-index: -1; border-radius: 4px; transform-origin: left; animation: underline 1s .6s ease both; }
@keyframes underline { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Video hero (shows only once img/hero.mp4 exists) */
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity .6s ease; }
.hero-art.has-video .hero-video { opacity: 1; }
.hero-art.has-video .hero-cup { display: none; }

/* Drifting steam */
.steam { opacity: 0; animation: steam 3.2s ease-in-out infinite; }
.steam.s2 { animation-delay: .9s; }
.steam.s3 { animation-delay: 1.8s; }
@keyframes steam {
  0% { opacity: 0; transform: translateY(14px); }
  30% { opacity: .9; }
  100% { opacity: 0; transform: translateY(-22px); }
}
.hero-cup { animation: bob 5s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(-6px) rotate(-1.5deg); } }

/* Ticker */
.ticker { background: var(--espresso); color: var(--foam); overflow: hidden; padding: 14px 0; white-space: nowrap; }
.ticker-track { display: inline-flex; gap: 48px; animation: marquee 32s linear infinite; padding-left: 48px; }
.ticker-track span { font-weight: 700; letter-spacing: .02em; }
.ticker:hover .ticker-track { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Photo strip */
.strip-section { padding-bottom: 72px; overflow: hidden; }
.strip { margin-top: 32px; overflow: hidden; }
.strip-track { display: flex; gap: 18px; width: max-content; animation: marquee 50s linear infinite; padding-left: 18px; }
.strip:hover .strip-track { animation-play-state: paused; }
.tile { margin: 0; width: 260px; aspect-ratio: 4 / 5; border-radius: var(--radius); position: relative; overflow: hidden; flex: none;
  background: var(--img) center / cover no-repeat, linear-gradient(160deg, var(--caramel) 0%, var(--roast) 100%);
  transition: transform .35s ease; }
.tile.t2 { background: var(--img) center / cover no-repeat, linear-gradient(160deg, var(--caramel-soft) 0%, var(--caramel) 100%); }
.tile.t3 { background: var(--img) center / cover no-repeat, linear-gradient(160deg, var(--vc) 0%, #3d6178 100%); }
.tile.t4 { background: var(--img) center / cover no-repeat, linear-gradient(160deg, var(--dom) 0%, #d98b7f 100%); }
.tile:nth-child(even) { transform: translateY(24px); }
.tile:hover { transform: translateY(-6px) rotate(-1deg); }
.tile figcaption { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 250, 243, .92); color: var(--espresso); padding: 6px 12px; border-radius: 999px; font-size: .85rem; font-weight: 700; }

/* Cup-filling hover on Coffee with… cards */
.fill-card { position: relative; transition: transform .25s ease, box-shadow .25s ease; }
.fill-card:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(43, 29, 20, .14); }
.fill-cup { position: absolute; top: 22px; right: 22px; width: 58px; height: 58px; }
.card-vc .fill-cup { color: var(--vc); }
.card-dom .fill-cup { color: var(--dom); }
.fill-cup .fill { fill: currentColor; opacity: .85; transform: translateY(100%); transition: transform .7s cubic-bezier(.3, .7, .2, 1); }
.fill-card:hover .fill-cup .fill, .fill-card:focus-within .fill-cup .fill { transform: translateY(0); }

/* Scroll reveal */
.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-delay { transition-delay: .15s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .js .reveal { opacity: 1; transform: none; }
  .steam { opacity: .8; }
}

/* Responsive */
@media (max-width: 900px) {
  .hero-grid, .grid-2, .grid-3, .steps { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  section { padding: 64px 0; }
}
@media (max-width: 760px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--cream); border-bottom: 1px solid var(--line); padding: 8px 20px 16px; }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 12px 0; }
  .footer-grid { grid-template-columns: 1fr; }
  .card { padding: 24px; }
  .tile { width: 200px; }
  .fill-cup { width: 46px; height: 46px; top: 18px; right: 18px; }
}
