/* ==========================================================================
   Bee Coffee — brand stylesheet
   Palette + type derived from the logo and drive-thru unit concept.
   ========================================================================== */

:root {
  /* Colour */
  --ink:        #11100E;   /* container black */
  --ink-2:      #1A1815;   /* raised panel on dark */
  --ink-3:      #2A2621;   /* hairline on dark */
  --honey:      #FCB414;   /* logo yellow */
  --honey-deep: #E08D05;   /* pressed / gradient end */
  --honey-soft: #FFF2D2;   /* wash on light sections */
  --cream:      #FAF6EC;   /* light section base */
  --cream-2:    #F0E7D4;   /* light section hairline */
  --white:      #FFFFFF;
  --on-dark:    #ABA294;   /* secondary text on ink */
  --on-light:   #6A6153;   /* secondary text on cream */

  /* Type */
  --display: "Fredoka", "Trebuchet MS", sans-serif;
  --body:    "Outfit", "Helvetica Neue", Arial, sans-serif;

  /* Space */
  --gutter: clamp(20px, 5vw, 56px);
  --section: clamp(64px, 9vw, 118px);
  --radius: 18px;
  --radius-sm: 12px;
  --max: 1200px;
}

/* Reset ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 350;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3, h4 {
  font-family: var(--display);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

:focus-visible {
  outline: 3px solid var(--honey);
  outline-offset: 3px;
  border-radius: 4px;
}

/* Layout helpers --------------------------------------------------------- */
.wrap { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.band { padding-block: var(--section); }
.band--dark { background: var(--ink); color: var(--white); }
.band--tight { padding-block: clamp(44px, 6vw, 76px); }
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--honey); color: var(--ink); padding: 12px 18px;
  font-weight: 600; border-radius: 0 0 10px 0;
}
.skip:focus { left: 0; }

/* Typographic scale ------------------------------------------------------ */
.eyebrow {
  font-family: var(--body);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--honey-deep);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.eyebrow::before {
  content: "";
  width: 26px; height: 3px; border-radius: 2px;
  background: var(--honey);
  flex: none;
}
.band--dark .eyebrow { color: var(--honey); }

.h-xl { font-size: clamp(2.9rem, 7.4vw, 5.6rem); }
.h-lg { font-size: clamp(2.2rem, 4.6vw, 3.5rem); }
.h-md { font-size: clamp(1.5rem, 2.4vw, 2rem); }
.lede { font-size: clamp(1.05rem, 1.5vw, 1.22rem); color: var(--on-light); max-width: 56ch; }
.band--dark .lede { color: var(--on-dark); }
.mark { color: var(--honey); }

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--display); font-size: 1rem; font-weight: 600;
  padding: 15px 28px; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--honey); color: var(--ink); }
.btn--primary:hover { background: var(--honey-deep); }
.btn--ghost { border-color: currentColor; color: inherit; }
.btn--ghost:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }
.btn__arrow { font-size: 1.1em; line-height: 1; transition: transform .18s ease; }
.btn:hover .btn__arrow { transform: translateX(4px); }

/* Honeycomb band — the signature device, lifted from the unit cladding --- */
.combstrip {
  height: 46px;
  background-color: var(--ink);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='90' height='52' viewBox='0 0 90 52'%3E%3Cg fill='none' stroke='%23FCB414' stroke-width='1.5' stroke-opacity='.6'%3E%3Cpath d='M7.5 0 37.5 0 52.5 26 37.5 52 7.5 52 -7.5 26Z'/%3E%3Cpath d='M52.5 -26 82.5 -26 97.5 0 82.5 26 52.5 26 37.5 0Z'/%3E%3Cpath d='M52.5 26 82.5 26 97.5 52 82.5 78 52.5 78 37.5 52Z'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 90px 52px;
  background-position: center;
}

/* Header ----------------------------------------------------------------- */
.masthead {
  position: sticky; top: 0; z-index: 50;
  background: var(--ink);
  border-bottom: 1px solid transparent;
  color: var(--white);
  transition: background-color .3s ease, border-color .3s ease, backdrop-filter .3s ease;
}
.masthead.is-scrolled {
  background: rgba(17, 16, 14, .72);
  backdrop-filter: blur(16px) saturate(150%);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  border-bottom-color: var(--ink-3);
}
.masthead:has(.navburger[aria-expanded="true"]) { background: var(--ink); backdrop-filter: none; }
.masthead__inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; min-height: 104px;
}
.logo { display: inline-block; line-height: 0; }
.logo img { height: 74px; width: auto; }
.logo--footer img { height: 96px; }

.nav { display: flex; align-items: center; gap: 30px; }
.nav a {
  text-decoration: none; font-size: 15px; font-weight: 400;
  color: var(--white); padding: 6px 0; position: relative;
}
.nav a::after {
  content: ""; position: absolute; left: 0; right: 100%; bottom: 0; height: 2px;
  background: var(--honey); transition: right .22s ease;
}
.nav a:hover::after, .nav a[aria-current="page"]::after { right: 0; }
.nav a[aria-current="page"] { color: var(--honey); }

.masthead .btn { padding: 11px 22px; font-size: 15px; }

.navburger {
  display: none;
  width: 48px; height: 48px; flex: none;
  align-items: center; justify-content: center;
  background: none; border: 1px solid var(--ink-3); border-radius: 12px;
  cursor: pointer; padding: 0;
}
.navburger span, .navburger span::before, .navburger span::after {
  content: ""; display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform .28s cubic-bezier(.4,.01,.2,1), background-color .18s ease, top .28s cubic-bezier(.4,.01,.2,1);
}
.navburger span { position: relative; }
.navburger span::before { position: absolute; top: -7px; }
.navburger span::after  { position: absolute; top: 7px; }
.navburger[aria-expanded="true"] span { background: transparent; }
.navburger[aria-expanded="true"] span::before { top: 0; transform: rotate(45deg); }
.navburger[aria-expanded="true"] span::after  { top: 0; transform: rotate(-45deg); }

/* Full-screen mobile takeover */
.mobilenav {
  position: fixed; inset: 0; z-index: 40;
  background: var(--ink);
  display: flex; flex-direction: column;
  padding: 104px var(--gutter) calc(28px + env(safe-area-inset-bottom));
  opacity: 0; visibility: hidden;
  transform: translateY(-14px);
  transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
.mobilenav.is-open { opacity: 1; visibility: visible; transform: translateY(0); }
.mobilenav__links { display: flex; flex-direction: column; flex: 1; }
.mobilenav__links a {
  display: flex; align-items: baseline; gap: 14px;
  font-family: var(--display); font-size: clamp(1.9rem, 9vw, 2.6rem); font-weight: 500;
  letter-spacing: -0.02em; color: var(--white); text-decoration: none;
  padding: 22px 0; border-bottom: 1px solid var(--ink-3);
  opacity: 0; transform: translateY(12px);
  transition: opacity .35s ease, transform .35s ease, color .18s ease;
}
.mobilenav.is-open .mobilenav__links a { opacity: 1; transform: translateY(0); }
.mobilenav.is-open .mobilenav__links a:nth-child(1) { transition-delay: .06s; }
.mobilenav.is-open .mobilenav__links a:nth-child(2) { transition-delay: .12s; }
.mobilenav.is-open .mobilenav__links a:nth-child(3) { transition-delay: .18s; }
.mobilenav.is-open .mobilenav__links a:nth-child(4) { transition-delay: .24s; }
.mobilenav__links a[aria-current="page"] { color: var(--honey); }
.mobilenav__links a::before {
  content: attr(data-index);
  font-family: var(--body); font-size: 12px; font-weight: 600;
  letter-spacing: .16em; color: var(--honey); transform: translateY(-8px);
}
.mobilenav__foot { padding-top: 26px; display: grid; gap: 16px; }
.mobilenav__foot .btn { justify-content: center; }
.mobilenav__contact { font-size: 15px; color: var(--on-dark); text-align: center; }
.mobilenav__contact a { color: var(--honey); text-decoration: none; }
body.nav-locked { overflow: hidden; }

/* Hero ------------------------------------------------------------------- */
.hero { background: var(--ink); color: var(--white); position: relative; overflow: hidden; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 70px);
  align-items: center; padding-block: clamp(56px, 8vw, 104px);
}
.hero__title { font-size: clamp(3rem, 7.6vw, 5.4rem); letter-spacing: -0.035em; }
.hero__title span { display: block; }
.hero__lede { margin-top: 24px; max-width: 46ch; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero__stats {
  display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px);
  margin-top: 46px; padding-top: 26px; border-top: 1px solid var(--ink-3);
}
.stat__num { font-family: var(--display); font-size: 1.9rem; font-weight: 600; color: var(--honey); line-height: 1; }
.stat__label { font-size: 13px; color: var(--on-dark); margin-top: 7px; letter-spacing: .02em; }

.hero__shot { position: relative; }
.hero__shot img { border-radius: var(--radius); width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 45% 55%; }
.hero__badge {
  position: absolute; left: -18px; bottom: 26px;
  background: var(--honey); color: var(--ink);
  font-family: var(--display); font-weight: 600; font-size: 15px;
  padding: 13px 20px; border-radius: 999px;
  box-shadow: 0 14px 30px rgba(0,0,0,.4);
}

/* Order sequence — genuinely a sequence, so it is numbered ---------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 3vw, 34px); margin-top: 52px; }
.step { position: relative; padding-top: 30px; border-top: 2px solid var(--cream-2); }
.step__num {
  position: absolute; top: -19px; left: 0;
  width: 36px; height: 36px; display: grid; place-items: center;
  background: var(--honey); color: var(--ink); border-radius: 50%;
  font-family: var(--display); font-weight: 600; font-size: 16px;
}
.step h3 { font-size: 1.3rem; margin-bottom: 10px; }
.step p { color: var(--on-light); font-size: 15.5px; }

/* Flight path — the bee's route across the order sequence ---------------- */
.flightpath { width: 100%; height: 60px; margin-top: 46px; overflow: visible; }
.flightpath path { stroke: var(--honey); stroke-width: 2.5; stroke-dasharray: 3 11; stroke-linecap: round; fill: none; opacity: .75; }
.flightpath .bee { animation: bob 3.4s ease-in-out infinite; transform-origin: center; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }

/* Cards ------------------------------------------------------------------ */
.cardgrid { display: grid; gap: clamp(16px, 2.2vw, 26px); }
.cardgrid--4 { grid-template-columns: repeat(4, 1fr); }
.cardgrid--3 { grid-template-columns: repeat(3, 1fr); }
.cardgrid--2 { grid-template-columns: repeat(2, 1fr); }

.card {
  background: var(--white); border: 1px solid var(--cream-2);
  border-radius: var(--radius); padding: 30px 26px 32px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card h3 { font-size: 1.28rem; margin-bottom: 9px; }
.card p { color: var(--on-light); font-size: 15.5px; }
a.card { text-decoration: none; display: block; }
a.card:hover { transform: translateY(-4px); border-color: var(--honey); box-shadow: 0 16px 34px rgba(17,16,14,.09); }
.card__icon { width: 40px; height: 40px; margin-bottom: 20px; color: var(--honey); }
.card__price { font-family: var(--display); font-weight: 600; color: var(--honey-deep); margin-top: 16px; display: block; font-size: 15px; }

.band--dark .card { background: var(--ink-2); border-color: var(--ink-3); }
.band--dark .card p { color: var(--on-dark); }

/* Split feature ---------------------------------------------------------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.split--flip .split__media { order: 2; }
.split__media img { border-radius: var(--radius); width: 100%; aspect-ratio: 5 / 4; object-fit: cover; }

/* Loyalty ---------------------------------------------------------------- */
.hive {
  background: linear-gradient(135deg, var(--honey) 0%, var(--honey-deep) 100%);
  color: var(--ink); border-radius: 24px;
  padding: clamp(34px, 5vw, 62px);
  display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: center;
}
.hive .eyebrow::before { background: var(--ink); }
.hive h2 { font-size: clamp(2rem, 3.6vw, 2.9rem); }
.hive p { margin-top: 14px; max-width: 44ch; font-weight: 400; }
.stamps { display: flex; flex-wrap: wrap; gap: 10px; }
.stamp {
  width: 46px; height: 46px; display: grid; place-items: center;
  border-radius: 50%; border: 2px dashed rgba(17,16,14,.35);
  font-size: 20px;
}
.stamp--filled { background: var(--ink); border-style: solid; border-color: var(--ink); }
.stamp--free { background: var(--white); border: 2px solid var(--ink); font: 600 11px var(--display); letter-spacing: .04em; }

/* Menu page -------------------------------------------------------------- */
.menu-nav { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 34px; }
.menu-nav a {
  text-decoration: none; font-size: 14px; font-weight: 500;
  padding: 9px 18px; border-radius: 999px;
  border: 1px solid var(--ink-3); color: var(--white);
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.menu-nav a:hover { background: var(--honey); border-color: var(--honey); color: var(--ink); }

.menu-section { padding-block: clamp(44px, 6vw, 72px); border-bottom: 1px solid var(--cream-2); }
.menu-section:last-of-type { border-bottom: 0; }
.menu-section__head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.menu-section__head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.menu-section__note { font-size: 14px; color: var(--on-light); }

.items { display: grid; grid-template-columns: repeat(2, 1fr); gap: 4px 48px; }
.item { display: flex; align-items: baseline; gap: 12px; padding: 13px 0; }
.item__name { font-weight: 500; }
.item__desc { display: block; font-size: 14px; color: var(--on-light); font-weight: 350; margin-top: 2px; }
.item__dots { flex: 1; border-bottom: 1px dotted #CFC5AF; transform: translateY(-4px); }
.item__price { font-family: var(--display); font-weight: 500; white-space: nowrap; }
.item__flag {
  display: inline-block; font-size: 10px; font-weight: 700; letter-spacing: .12em;
  text-transform: uppercase; background: var(--honey); color: var(--ink);
  padding: 3px 7px; border-radius: 5px; margin-left: 8px; vertical-align: middle;
}

/* About page ------------------------------------------------------------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 3.4vw, 44px); }
.value { border-top: 2px solid var(--honey); padding-top: 24px; }
.value h3 { font-size: 1.25rem; margin-bottom: 10px; }
.value p { color: var(--on-dark); font-size: 15.5px; }

.pull {
  font-family: var(--display); font-weight: 500;
  font-size: clamp(1.5rem, 3vw, 2.3rem); line-height: 1.25;
  letter-spacing: -0.02em; max-width: 20ch; margin: 0;
}

/* Contact page ----------------------------------------------------------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(34px, 5vw, 68px); align-items: start; }
.detail { padding: 22px 0; border-bottom: 1px solid var(--cream-2); display: grid; grid-template-columns: 130px 1fr; gap: 20px; align-items: start; }
.detail:first-of-type { border-top: 1px solid var(--cream-2); }
.detail dt { font-size: 12px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--on-light); padding-top: 4px; }
.detail dd { margin: 0; font-size: 17px; }
.detail dd a { color: var(--ink); text-decoration-color: var(--honey); text-underline-offset: 4px; text-decoration-thickness: 2px; }

.hours { width: 100%; border-collapse: collapse; margin-top: 6px; }
.hours tr { border-bottom: 1px dotted rgba(171,162,148,.4); }
.hours th, .hours td { text-align: left; padding: 11px 0; font-size: 15.5px; font-weight: 400; }
.hours th { font-weight: 500; }
.hours td { text-align: right; font-family: var(--display); }

.form { background: var(--white); border: 1px solid var(--cream-2); border-radius: var(--radius); padding: clamp(26px, 3.4vw, 40px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; font: 400 16px var(--body);
  border: 1px solid var(--cream-2); border-radius: var(--radius-sm);
  background: var(--cream); color: var(--ink);
}
.field textarea { min-height: 132px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--honey); outline: none; box-shadow: 0 0 0 3px rgba(252,180,20,.28); }
.form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form__note { font-size: 13.5px; color: var(--on-light); margin-top: 16px; text-align: center; }

.map-card {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--cream-2); background: var(--cream-2);
  line-height: 0;
}
.map-card iframe { width: 100%; height: 340px; border: 0; display: block; }

/* Footer ----------------------------------------------------------------- */
.footer { background: var(--ink); color: var(--white); padding-block: clamp(48px, 6vw, 76px) 0; }
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer h4 { font-size: 13px; letter-spacing: .16em; text-transform: uppercase; color: var(--honey); margin-bottom: 18px; font-family: var(--body); font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 11px; }
.footer a { color: var(--on-dark); text-decoration: none; font-size: 15px; }
.footer a:hover { color: var(--honey); }
.footer__blurb { color: var(--on-dark); font-size: 15px; margin-top: 20px; max-width: 34ch; }
.footer__base {
  margin-top: 48px; padding-block: 24px; border-top: 1px solid var(--ink-3);
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  font-size: 13.5px; color: var(--on-dark);
}
.social { display: flex; gap: 12px; }
.social a { width: 38px; height: 38px; border: 1px solid var(--ink-3); border-radius: 50%; display: grid; place-items: center; }
.social a:hover { border-color: var(--honey); }
.social svg { width: 17px; height: 17px; }

/* Responsive ------------------------------------------------------------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__shot { order: -1; }
  .hero__shot img { aspect-ratio: 16 / 10; object-position: center; }
  .hero__badge { left: auto; right: 16px; bottom: 16px; }
  .split, .split--flip .split__media { grid-template-columns: 1fr; order: 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .cardgrid--4 { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .hive { grid-template-columns: 1fr; }
  .logo img { height: 56px; }
  .logo--footer img { height: 76px; }
  .masthead__inner { min-height: 88px; }
  .nav, .masthead .btn { display: none; }
  .navburger { display: inline-flex; }
}
@media (max-width: 720px) {
  body { font-size: 16px; }
  .steps { grid-template-columns: 1fr; gap: 34px; }
  .values, .cardgrid--3 { grid-template-columns: 1fr; }
  .items { grid-template-columns: 1fr; gap: 0; }
  .flightpath { display: none; }
  .detail { grid-template-columns: 1fr; gap: 6px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 480px) {
  .cardgrid--4, .cardgrid--2 { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
