/* ============================================================
   Brewrydge Coffee Co. — site styles
   Dark theme · cyan (#1ec8e6) + magenta (#ee2e6e) accents
   ============================================================ */

:root {
  --ink: #0a0c0f;
  --ink-2: #0e1116;
  --panel: #12161c;
  --cyan: #1ec8e6;
  --cyan-deep: #06222b;
  --pink: #ee2e6e;
  --white: #ffffff;
  --text: #15181d;
  --muted: #6b7480;
  --muted-light: #aab3bd;
  --line: #e7e9ed;
  --radius: 16px;
  --radius-lg: 24px;
  --maxw: 1160px;
  --font: "Poppins", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
  background: var(--ink);
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  margin: 0 0 0.5em;
  line-height: 1.15;
  font-weight: 800;
}

p {
  margin: 0 0 1rem;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.cy {
  color: var(--cyan);
}

.muted {
  color: var(--muted);
}

.muted-light {
  color: var(--muted-light);
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-weight: 700;
  font-size: 0.74rem;
  margin: 0 0 0.9rem;
}
.eyebrow.pink {
  color: var(--pink);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  z-index: 200;
  background: var(--cyan);
  color: var(--cyan-deep);
  padding: 0.6rem 1rem;
  border-radius: 0 0 8px 0;
  font-weight: 700;
}
.skip-link:focus {
  left: 0;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease,
    box-shadow 0.15s ease;
  white-space: nowrap;
}
.btn:active {
  transform: translateY(1px);
}
.btn-cyan {
  background: var(--cyan);
  color: var(--cyan-deep);
  box-shadow: 0 10px 24px -12px rgba(30, 200, 230, 0.7);
}
.btn-cyan:hover {
  background: #45d3ec;
}
.btn-outline {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.btn .ico {
  width: 15px;
  height: 15px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(10, 12, 15, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.site-header.scrolled {
  border-bottom-color: rgba(255, 255, 255, 0.08);
  background: rgba(10, 12, 15, 0.94);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.brand-name {
  font-weight: 800;
  font-size: 1.18rem;
  letter-spacing: 0.02em;
  color: var(--white);
}
.brand-sub {
  font-size: 0.6rem;
  letter-spacing: 0.28em;
  color: var(--cyan);
  font-weight: 600;
  margin-top: 3px;
}

.nav {
  display: flex;
  align-items: center;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a:not(.btn) {
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.07em;
  transition: color 0.15s ease;
}
.nav-menu a:not(.btn):hover {
  color: var(--cyan);
}

.nav-toggle {
  display: none;
  position: relative;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 20px;
  height: 2px;
  background: var(--white);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.nav-toggle-bar::before {
  transform: translate(-50%, -7px);
}
.nav-toggle-bar::after {
  transform: translate(-50%, 7px);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar {
  background: transparent;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before {
  transform: translate(-50%, 0) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after {
  transform: translate(-50%, 0) rotate(-45deg);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      1000px 500px at 78% 18%,
      rgba(30, 200, 230, 0.12),
      transparent 60%
    ),
    var(--ink);
  color: var(--white);
  padding: 3.5rem 0 4.5rem;
}
.hero::before {
  content: "";
  position: absolute;
  top: 70px;
  right: 36px;
  width: 200px;
  height: 130px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.16) 1.4px, transparent 1.4px);
  background-size: 16px 16px;
  opacity: 0.5;
  pointer-events: none;
}
.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.hero-title {
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1.04;
  letter-spacing: -0.01em;
  margin-bottom: 1.3rem;
}
.hero-lead {
  font-size: 1.1rem;
  color: var(--muted-light);
  margin-bottom: 2rem;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  list-style: none;
  margin: 3rem 0 0;
  padding: 0;
}
.hero-trust li {
  display: flex;
  align-items: center;
  gap: 0.7rem;
}
.trust-ico {
  flex-shrink: 0;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1.5px solid currentColor;
  display: grid;
  place-items: center;
}
.trust-ico.cyan {
  color: var(--cyan);
}
.trust-ico.pink {
  color: var(--pink);
}
.trust-ico svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.trust-txt {
  display: flex;
  flex-direction: column;
  font-size: 0.78rem;
  color: var(--muted-light);
  line-height: 1.35;
}
.trust-txt strong {
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
}
.hero-media img {
  width: 100%;
  aspect-ratio: 11 / 10;
  object-fit: cover;
  border-radius: 20px;
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

/* ---------- Products ---------- */
.products {
  background: var(--white);
  padding: 5rem 0;
}
.products-grid {
  display: grid;
  grid-template-columns: minmax(250px, 1fr) 2.1fr;
  gap: 3rem;
  align-items: start;
}
.products-intro .h-mixed {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  color: var(--text);
  margin-bottom: 1rem;
}
.products-intro .muted {
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.product-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.3rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 14px 34px -22px rgba(0, 0, 0, 0.35);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px -22px rgba(0, 0, 0, 0.4);
}
.product-media {
  position: relative;
  background: var(--ink);
}
.product-media img {
  width: 100%;
  height: 205px;
  object-fit: cover;
}
.product-badge {
  position: absolute;
  left: 12px;
  bottom: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(10, 12, 15, 0.78);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
}
.product-badge svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--white);
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.product-body {
  padding: 1.1rem 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-card h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.product-desc {
  color: var(--muted);
  font-size: 0.85rem;
  margin-bottom: 1.1rem;
}
.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}
.price {
  font-weight: 700;
  font-size: 1.08rem;
  color: var(--text);
}
.add-btn {
  width: 32px;
  height: 32px;
  border: none;
  border-radius: 50%;
  background: var(--cyan);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: transform 0.15s ease, background 0.15s ease;
}
.add-btn:hover {
  background: #45d3ec;
  transform: scale(1.08);
}
.add-btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cyan-deep);
  stroke-width: 2.6;
  stroke-linecap: round;
}

/* ---------- Blends banner ---------- */
.blends {
  background: var(--white);
  padding: 1rem 0 4.5rem;
}
.blend-banner {
  position: relative;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  background: linear-gradient(135deg, #0c0f14 0%, #11151b 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.blend-media img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}
.blend-copy {
  position: relative;
  z-index: 2;
  padding: 3.2rem;
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}
.blend-copy h2 {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  margin-bottom: 1rem;
}
.blend-copy .muted-light {
  max-width: 440px;
  font-size: 0.95rem;
  margin-bottom: 1.6rem;
}
.blend-deco {
  position: absolute;
  right: 0.5rem;
  top: 12%;
  width: 230px;
  height: auto;
  z-index: 1;
  opacity: 0.85;
  pointer-events: none;
}

/* ---------- Features ---------- */
.features {
  background: var(--white);
  padding: 2rem 0 5rem;
}
.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.feature {
  text-align: center;
  padding: 0.5rem 1.6rem;
  border-left: 1px solid var(--line);
}
.feature:first-child {
  border-left: none;
}
.feature-ico {
  display: inline-grid;
  place-items: center;
  margin-bottom: 0.9rem;
}
.feature-ico.cyan {
  color: var(--cyan);
}
.feature-ico.pink {
  color: var(--pink);
}
.feature-ico svg {
  width: 30px;
  height: 30px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.feature h3 {
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.feature p {
  font-size: 0.85rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- Order CTA ---------- */
.cta-order {
  position: relative;
  color: var(--white);
  padding: 5rem 0;
  background: linear-gradient(rgba(8, 9, 11, 0.82), rgba(8, 9, 11, 0.88)),
    url("images/coffee-beans.jpg") center / cover no-repeat;
}
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
}
.cta-copy h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 0.8rem;
}
.cta-copy p {
  color: var(--muted-light);
  font-size: 1.05rem;
  margin-bottom: 1.8rem;
}
.cta-phone {
  display: flex;
  justify-content: center;
}

/* Phone mockup */
.phone {
  position: relative;
  width: 252px;
  padding: 12px;
  background: #15181e;
  border: 1px solid #2a2e36;
  border-radius: 40px;
  box-shadow: 0 40px 70px -25px rgba(0, 0, 0, 0.8);
}
.phone-notch {
  position: absolute;
  top: 22px;
  left: 50%;
  transform: translateX(-50%);
  width: 92px;
  height: 18px;
  background: #0a0c0f;
  border-radius: 999px;
  z-index: 3;
}
.phone-screen {
  background: linear-gradient(180deg, #0f1218 0%, #0a0c0f 100%);
  border-radius: 30px;
  padding: 2.2rem 1.1rem 1.3rem;
  min-height: 450px;
  display: flex;
  flex-direction: column;
}
.app-top {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 1.5rem;
}
.app-top span {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
  font-size: 0.62rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 0.04em;
}
.app-top em {
  font-style: normal;
  font-size: 0.5rem;
  letter-spacing: 0.18em;
  color: var(--cyan);
  font-weight: 600;
}
.app-hello {
  color: var(--cyan);
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  font-weight: 700;
  margin: 0 0 0.35rem;
}
.app-q {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.2;
  margin: 0 0 1.1rem;
}
.app-cta {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: var(--cyan);
  color: var(--cyan-deep);
  border: none;
  border-radius: 999px;
  padding: 0.55rem 1.1rem;
  font-family: inherit;
  font-weight: 700;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.app-cta .ico {
  width: 13px;
  height: 13px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-featured {
  font-size: 0.6rem;
  letter-spacing: 0.14em;
  color: var(--muted-light);
  font-weight: 700;
  margin: 0 0 0.5rem;
}
.app-card {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background: #14181f;
  border: 1px solid #232a33;
  border-radius: 14px;
  padding: 0.6rem;
}
.app-card img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
}
.app-card div {
  display: flex;
  flex-direction: column;
  flex: 1;
  line-height: 1.3;
}
.app-card strong {
  font-size: 0.76rem;
  color: var(--white);
}
.app-card span {
  font-size: 0.6rem;
  color: var(--muted-light);
}
.app-card b {
  font-size: 0.76rem;
  color: var(--cyan);
}
.app-add {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--cyan);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.app-add svg {
  width: 14px;
  height: 14px;
  fill: none;
  stroke: var(--cyan-deep);
  stroke-width: 2.6;
  stroke-linecap: round;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: var(--muted-light);
  padding: 3.5rem 0 1.5rem;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
}
.footer-brand .brand {
  margin-bottom: 1rem;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--muted-light);
  margin: 0;
}
.footer-col h4 {
  color: var(--white);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.1rem;
}
.footer-col a:not(.store-badge) {
  display: block;
  color: var(--muted-light);
  font-size: 0.9rem;
  padding: 0.28rem 0;
  transition: color 0.15s ease;
}
.footer-col a:not(.store-badge):hover {
  color: var(--cyan);
}
.socials {
  display: flex;
  gap: 0.7rem;
  margin-bottom: 1.4rem;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid #262b33;
  display: grid;
  place-items: center;
  color: var(--white);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.socials a:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}
.socials svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.app-badges {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  max-width: 185px;
}
.store-badge {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: #000;
  border: 1px solid #2a2e36;
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  color: var(--white);
  transition: border-color 0.15s ease;
}
.store-badge:hover {
  border-color: #4a5159;
}
.store-ico {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.store-badge span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
  font-size: 0.88rem;
  font-weight: 700;
}
.store-badge small {
  font-size: 0.54rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  color: #cfd4da;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #1a1d23;
  padding-top: 1.3rem;
  font-size: 0.8rem;
}
.footer-bottom p {
  margin: 0;
}
.footer-legal a {
  margin-left: 1.3rem;
  color: var(--muted-light);
  transition: color 0.15s ease;
}
.footer-legal a:hover {
  color: var(--white);
}

/* ---------- Reveal animation ---------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- Responsive ---------- */

/* Small laptop / large tablet (landscape) */
@media (max-width: 1024px) {
  :root {
    --maxw: 980px;
  }
  .hero {
    padding: 3rem 0 4rem;
  }
  .products {
    padding: 4rem 0;
  }
  .features {
    padding: 1.5rem 0 4rem;
  }
  .nav-menu {
    gap: 1.5rem;
  }
  /* Stack the menu intro above the product cards, cards stay 3-up */
  .products-grid {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .product-cards {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Tablet (portrait) — collapse nav to a drawer */
@media (max-width: 900px) {
  .nav-toggle {
    display: block;
  }
  .nav-menu {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0.2rem;
    background: rgba(12, 15, 20, 0.98);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding: 1rem 1.5rem 1.5rem;
    transform: translateY(-135%);
    transition: transform 0.25s ease;
    box-shadow: 0 24px 50px -22px rgba(0, 0, 0, 0.7);
  }
  .nav-menu.open {
    transform: translateY(0);
  }
  .nav-menu li {
    padding: 0.45rem 0;
  }
  .nav-menu .btn {
    margin-top: 0.6rem;
    justify-content: center;
    width: 100%;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .hero-media {
    max-width: 560px;
    margin-inline: auto;
    width: 100%;
  }
  .hero-media img {
    aspect-ratio: 16 / 11;
  }

  .product-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .blend-banner {
    grid-template-columns: 1fr;
  }
  .blend-media img {
    min-height: 240px;
  }
  .blend-deco {
    display: none;
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
    row-gap: 2.6rem;
  }
  .feature:nth-child(odd) {
    border-left: none;
  }

  .cta-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .cta-copy {
    text-align: center;
  }
  .cta-copy .hero-actions {
    justify-content: center;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 2rem 1.5rem;
  }
}

/* Large phone */
@media (max-width: 620px) {
  .product-cards {
    grid-template-columns: 1fr;
    gap: 1.1rem;
  }
  .product-media img {
    height: 220px;
  }
  .features-row {
    grid-template-columns: 1fr;
    row-gap: 2.2rem;
  }
  .feature {
    border-left: none;
  }
  .blend-copy {
    padding: 2.2rem;
  }
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.2rem;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 0.7rem;
    text-align: center;
  }
  .footer-legal a:first-child {
    margin-left: 0;
  }
}

/* Phone */
@media (max-width: 480px) {
  .container {
    padding: 0 1.15rem;
  }
  .hero {
    padding: 2.5rem 0 3.5rem;
  }
  .hero-title {
    font-size: clamp(2.2rem, 9vw, 3rem);
  }
  .hero-lead {
    font-size: 1rem;
  }
  .hero-actions {
    width: 100%;
  }
  .hero-actions .btn {
    flex: 1 1 auto;
    justify-content: center;
  }
  .hero-trust {
    gap: 1.1rem;
  }
  .hero-trust li {
    width: 100%;
  }
  .blend-copy {
    padding: 1.8rem;
  }
  .blend-copy .btn,
  .cta-copy .btn {
    width: 100%;
    justify-content: center;
  }
  .phone {
    width: min(252px, 82vw);
  }
  .app-badges {
    max-width: none;
  }
}

/* Small phone */
@media (max-width: 360px) {
  .hero-title {
    font-size: 2rem;
  }
  .brand-name {
    font-size: 1.05rem;
  }
  .product-card h3 {
    font-size: 0.98rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    scroll-behavior: auto !important;
    transition: none !important;
    animation: none !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ---------- Branding: solid-black nav, image logo, "Made by Bluerydge" ---------- */
.site-header {
  background: #07090c;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}
.site-header.scrolled {
  background: #07090c;
  border-bottom-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 6px 24px -16px rgba(0, 0, 0, 0.9);
}
.brand-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}
.footer-brand .brand-logo-img {
  width: 52px;
  height: 52px;
}
/* "Made by Bluerydge" sub-line (replaces the old COFFEE CO. wordmark) */
.brand-sub {
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 600;
  background: linear-gradient(90deg, #ee2e6e, #1ec8e6);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
@media (max-width: 480px) {
  .brand-logo-img {
    width: 40px;
    height: 40px;
  }
}

/* ============================================================
   Cafe app — menu, BrewBeans shop, cart drawer, modals, toast
   ============================================================ */

/* Subpage hero */
.page-hero { position: relative; background: radial-gradient(900px 420px at 80% -10%, rgba(30,200,230,.12), transparent 60%), var(--ink); color: #fff; padding: 3rem 0 2.5rem; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.10) 1.3px, transparent 1.3px); background-size: 18px 18px; opacity: .25; pointer-events: none; }
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); margin-bottom: .6rem; }
.page-hero p { color: var(--muted-light); max-width: 620px; font-size: 1.05rem; margin: 0; }
.page-hero .eyebrow { margin-bottom: .8rem; }

/* Breadcrumb */
.crumbs { display: flex; gap: .5rem; align-items: center; font-size: .8rem; color: var(--muted-light); margin-bottom: 1rem; }
.crumbs a:hover { color: var(--cyan); }
.crumbs span { opacity: .5; }

/* Menu toolbar */
.menu-toolbar { position: sticky; top: 76px; z-index: 40; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.menu-toolbar .container { display: flex; gap: 1rem; align-items: center; padding-top: .8rem; padding-bottom: .8rem; flex-wrap: wrap; }
.cat-pills { display: flex; gap: .5rem; flex-wrap: wrap; flex: 1; }
.cat-pill { border: 1px solid var(--line); background: #fff; color: var(--text); border-radius: 999px; padding: .5rem 1rem; font: 600 .8rem/1 var(--font); cursor: pointer; white-space: nowrap; transition: all .15s ease; }
.cat-pill:hover { border-color: var(--cyan); }
.cat-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.menu-search { position: relative; }
.menu-search input { border: 1px solid var(--line); border-radius: 999px; padding: .55rem 1rem .55rem 2.2rem; font: 400 .9rem var(--font); min-width: 210px; }
.menu-search input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.menu-search svg { position: absolute; left: .75rem; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; stroke: var(--muted); fill: none; stroke-width: 2; }

/* Menu sections */
.menu-wrap { padding: 2.5rem 0 4rem; }
.menu-section { margin-bottom: 2.6rem; scroll-margin-top: 150px; }
.menu-section-head { display: flex; align-items: center; gap: 1rem; margin-bottom: .6rem; }
.menu-section-head h2 { font-size: 1.5rem; margin: 0; }
.menu-section-head .rule { flex: 1; height: 1px; background: var(--line); }
.menu-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2.6rem; }
.menu-item { display: flex; align-items: center; gap: 1.1rem; padding: 1.05rem 0; border-bottom: 1px solid var(--line); }
.menu-thumb { width: 68px; height: 68px; border-radius: 12px; object-fit: cover; flex-shrink: 0; background: var(--ink); }
.menu-item-info { flex: 1; min-width: 0; }
.menu-item-head { display: flex; align-items: baseline; gap: .6rem; }
.menu-item-name { font-weight: 600; font-size: 1.02rem; color: var(--text); }
.menu-item-leader { flex: 1; height: 0; border-bottom: 1px dotted #c9d0d8; }
.menu-item-price { font-weight: 700; color: var(--text); white-space: nowrap; }
.menu-item-desc { color: var(--muted); font-size: .88rem; margin: .25rem 0 0; }
.diet-tags { display: flex; gap: .35rem; flex-wrap: wrap; margin-top: .45rem; }
.tag { font: 600 .62rem/1 var(--font); letter-spacing: .04em; text-transform: uppercase; padding: .25rem .5rem; border-radius: 6px; border: 1px solid var(--line); color: var(--muted); }
.tag.sig { color: var(--pink); border-color: rgba(238,46,110,.35); background: rgba(238,46,110,.06); }
.tag.veg { color: #2e9e6b; border-color: rgba(46,158,107,.35); background: rgba(46,158,107,.06); }
.tag.cold { color: #1192ab; border-color: rgba(30,200,230,.4); background: rgba(30,200,230,.08); }
.menu-item.is-hidden, .menu-section.is-hidden { display: none; }
.menu-empty { display: none; text-align: center; color: var(--muted); padding: 3rem 0; }
.menu-empty.show { display: block; }
.add-btn.lg { width: 38px; height: 38px; flex-shrink: 0; }

/* Shop / BrewBeans */
.sub-banner { background: linear-gradient(135deg, #0c0f14, #11161d); color: #fff; border-radius: var(--radius-lg); padding: 2rem 2.2rem; display: flex; gap: 1.5rem; align-items: center; justify-content: space-between; flex-wrap: wrap; margin-bottom: 2.5rem; border: 1px solid #20262f; }
.sub-banner h2 { font-size: 1.5rem; margin: 0 0 .3rem; }
.sub-banner p { color: var(--muted-light); margin: 0; max-width: 460px; }
.badge-save { background: var(--cyan); color: var(--cyan-deep); font-weight: 700; border-radius: 999px; padding: .3rem .8rem; font-size: .8rem; display: inline-block; margin-bottom: .6rem; }
.shop-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.6rem; }
.bean-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.bean-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(0,0,0,.4); }
.bean-media { position: relative; background: var(--ink); aspect-ratio: 1/1; }
.bean-media img { width: 100%; height: 100%; object-fit: cover; }
.roast-badge { position: absolute; top: .8rem; left: .8rem; background: rgba(10,12,15,.8); backdrop-filter: blur(4px); color: #fff; font: 600 .68rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; }
.bean-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.bean-origin { color: #1192ab; font: 600 .72rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; margin-bottom: .35rem; }
.bean-card h3 { font-size: 1.12rem; margin: 0 0 .3rem; }
.bean-notes { color: var(--muted); font-size: .85rem; margin: 0 0 .55rem; }
.stars { display: flex; align-items: center; gap: 2px; margin-bottom: .8rem; color: #f2b63c; }
.stars svg { width: 14px; height: 14px; fill: currentColor; }
.stars span { color: var(--muted); font-size: .78rem; margin-left: .35rem; }
.bean-opts { display: flex; flex-direction: column; gap: .7rem; margin-bottom: 1rem; }
.opt-row { display: flex; flex-direction: column; gap: .35rem; }
.opt-label { font: 600 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.weight-pills { display: flex; gap: .4rem; }
.weight-pill { flex: 1; border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .4rem; font: 600 .78rem/1 var(--font); cursor: pointer; text-align: center; transition: all .15s ease; color: var(--text); }
.weight-pill:hover { border-color: var(--cyan); }
.weight-pill.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.bean-select { border: 1px solid var(--line); border-radius: 8px; padding: .5rem .6rem; font: 500 .85rem var(--font); background: #fff; color: var(--text); width: 100%; }
.plan-toggle { display: flex; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
.plan-toggle button { flex: 1; background: #fff; border: none; padding: .5rem; font: 600 .76rem/1.2 var(--font); cursor: pointer; color: var(--text); }
.plan-toggle button .sm { display: block; font-size: .62rem; color: var(--muted); font-weight: 500; margin-top: 2px; }
.plan-toggle button.active { background: var(--cyan); color: var(--cyan-deep); }
.plan-toggle button.active .sm { color: var(--cyan-deep); }
.bean-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; gap: .8rem; }
.bean-price { font-weight: 800; font-size: 1.2rem; }
.bean-price .per { font-size: .7rem; color: var(--muted); font-weight: 500; }
.bean-card .bean-foot .btn { padding: .7rem 1rem; font-size: .72rem; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 1rem; }
.step { text-align: center; padding: 0 1rem; }
.step .num { width: 44px; height: 44px; border-radius: 50%; background: var(--cyan); color: var(--cyan-deep); font-weight: 800; display: grid; place-items: center; margin: 0 auto .8rem; }
.step h3 { font-size: 1.05rem; margin: 0 0 .3rem; }
.step p { color: var(--muted); font-size: .88rem; margin: 0; }

/* Trust row */
.trust-row { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: center; padding: 1.5rem 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); margin: 2.5rem 0; }
.trust-row div { display: flex; align-items: center; gap: .5rem; font-size: .9rem; font-weight: 600; color: var(--text); }
.trust-row svg { width: 20px; height: 20px; stroke: var(--cyan); fill: none; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* Cart button (in nav) */
.cart-btn { position: relative; width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.18); background: transparent; cursor: pointer; display: grid; place-items: center; flex-shrink: 0; }
.cart-btn:hover { border-color: var(--cyan); }
.cart-btn svg { width: 20px; height: 20px; fill: none; stroke: #fff; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; border-radius: 999px; background: var(--pink); color: #fff; font: 700 .68rem/20px var(--font); text-align: center; transform: scale(0); transition: transform .18s ease; }
.cart-count.show { transform: scale(1); }

/* Drawer */
.drawer-overlay { position: fixed; inset: 0; background: rgba(5,6,8,.55); opacity: 0; visibility: hidden; transition: opacity .25s ease; z-index: 90; }
.drawer-overlay.open { opacity: 1; visibility: visible; }
.drawer { position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%); background: #fff; z-index: 95; display: flex; flex-direction: column; transform: translateX(100%); transition: transform .28s cubic-bezier(.4,0,.2,1); box-shadow: -20px 0 60px -20px rgba(0,0,0,.5); }
.drawer.open { transform: none; }
.drawer-head { display: flex; align-items: center; justify-content: space-between; padding: 1.2rem 1.3rem; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-size: 1.2rem; margin: 0; }
.drawer-close, .modal-close { background: none; border: none; cursor: pointer; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: var(--muted); }
.drawer-close:hover, .modal-close:hover { background: var(--line); color: var(--text); }
.drawer-close svg, .modal-close svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.drawer-body { flex: 1; overflow-y: auto; padding: .5rem 1.3rem; }
.cart-line { display: flex; gap: .9rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.cart-line .thumb { width: 60px; height: 60px; border-radius: 10px; object-fit: cover; background: var(--ink); flex-shrink: 0; display: grid; place-items: center; }
.cart-line .thumb svg { width: 26px; height: 26px; stroke: #45525f; fill: none; stroke-width: 1.6; }
.cart-line-info { flex: 1; min-width: 0; }
.cart-line-name { font-weight: 600; font-size: .95rem; }
.cart-line-meta { color: var(--muted); font-size: .78rem; margin: .2rem 0 .5rem; }
.cart-line-bottom { display: flex; align-items: center; justify-content: space-between; }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); border-radius: 999px; }
.qty button { width: 28px; height: 28px; border: none; background: none; cursor: pointer; font-size: 1.05rem; color: var(--text); display: grid; place-items: center; }
.qty button:hover { color: var(--cyan); }
.qty span { min-width: 24px; text-align: center; font-weight: 600; font-size: .9rem; }
.cart-line-price { font-weight: 700; }
.line-remove { background: none; border: none; color: var(--muted); font-size: .75rem; cursor: pointer; text-decoration: underline; padding: 0; margin-top: .35rem; }
.line-remove:hover { color: var(--pink); }
.cart-empty { text-align: center; color: var(--muted); padding: 3rem 1rem; }
.cart-empty svg { width: 54px; height: 54px; stroke: var(--line); fill: none; stroke-width: 1.5; margin-bottom: 1rem; }
.drawer-foot { border-top: 1px solid var(--line); padding: 1.2rem 1.3rem; background: #fafbfc; }
.reward-line { display: flex; align-items: center; gap: .5rem; background: rgba(30,200,230,.08); border: 1px solid rgba(30,200,230,.25); border-radius: 10px; padding: .6rem .8rem; font-size: .82rem; color: #0a6c80; margin-bottom: 1rem; }
.reward-line svg { width: 18px; height: 18px; fill: var(--cyan); flex-shrink: 0; }
.totals { display: flex; justify-content: space-between; margin-bottom: .4rem; font-size: .9rem; color: var(--muted); }
.totals.grand { font-size: 1.15rem; font-weight: 800; color: var(--text); margin: .6rem 0 1rem; }
.drawer-foot .btn { width: 100%; justify-content: center; }
.foot-note { text-align: center; color: var(--muted); font-size: .72rem; margin: .6rem 0 0; }

/* Modal */
.modal-overlay { position: fixed; inset: 0; background: rgba(5,6,8,.6); opacity: 0; visibility: hidden; transition: opacity .2s ease; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 1.2rem; }
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal { background: #fff; border-radius: var(--radius-lg); width: min(460px, 100%); max-height: 92vh; overflow-y: auto; position: relative; transform: translateY(16px); transition: transform .25s ease; }
.modal-overlay.open .modal { transform: none; }
.modal .modal-close { position: absolute; top: .8rem; right: .8rem; z-index: 2; background: rgba(255,255,255,.92); }
.modal-img { height: 170px; background: var(--ink); border-radius: var(--radius-lg) var(--radius-lg) 0 0; overflow: hidden; }
.modal-img img { width: 100%; height: 100%; object-fit: cover; }
.modal-pad { padding: 1.4rem; }
.modal h3 { font-size: 1.3rem; margin: 0 0 .25rem; }
.modal-desc { color: var(--muted); font-size: .9rem; margin: 0 0 1.2rem; }
.opt-group { margin-bottom: 1.2rem; }
.opt-group h4 { font: 700 .76rem/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); margin: 0 0 .6rem; }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: .5rem .9rem; font: 500 .82rem/1 var(--font); cursor: pointer; transition: all .15s ease; color: var(--text); }
.chip:hover { border-color: var(--cyan); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip .delta { opacity: .65; font-size: .8em; margin-left: .25rem; }
.modal-foot { display: flex; align-items: center; gap: 1rem; padding: 1.2rem 1.4rem; border-top: 1px solid var(--line); position: sticky; bottom: 0; background: #fff; }
.modal-foot .btn { flex: 1; justify-content: center; }

/* Checkout / confirm */
.field { margin-bottom: 1rem; }
.field label { display: block; font: 600 .76rem/1 var(--font); text-transform: uppercase; letter-spacing: .04em; color: var(--muted); margin-bottom: .4rem; }
.field input, .field select { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: .7rem .8rem; font: 400 .92rem var(--font); background: #fff; color: var(--text); }
.field input:focus, .field select:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.field-row { display: flex; gap: .8rem; }
.field-row .field { flex: 1; }
.confirm { text-align: center; padding: 2.2rem 1.6rem; }
.confirm .tick { width: 64px; height: 64px; border-radius: 50%; background: rgba(46,158,107,.12); display: grid; place-items: center; margin: 0 auto 1.2rem; }
.confirm .tick svg { width: 32px; height: 32px; stroke: #2e9e6b; fill: none; stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; }
.confirm h3 { font-size: 1.4rem; }
.confirm .order-no { font-weight: 800; color: #1192ab; }
.confirm p { color: var(--muted); }

/* Toast */
.toast-wrap { position: fixed; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 120; display: flex; flex-direction: column; gap: .5rem; align-items: center; pointer-events: none; }
.toast { background: var(--ink); color: #fff; padding: .7rem 1.1rem; border-radius: 999px; font: 600 .85rem/1 var(--font); box-shadow: 0 14px 30px -12px rgba(0,0,0,.5); display: flex; align-items: center; gap: .5rem; opacity: 0; transform: translateY(10px); transition: all .25s ease; }
.toast.show { opacity: 1; transform: none; }
.toast svg { width: 16px; height: 16px; stroke: var(--cyan); fill: none; stroke-width: 2.5; }

/* Cafe-app responsive */
@media (max-width: 760px) {
  .menu-grid { grid-template-columns: 1fr; gap: 0; }
  .steps { grid-template-columns: 1fr; gap: 2rem; }
  .menu-search { flex: 1; }
  .menu-search input { min-width: 0; width: 100%; }
  .menu-toolbar { top: 64px; }
}

/* ---------- Rewards section ---------- */
.rewards { background: var(--ink); color: #fff; padding: 4.5rem 0; position: relative; overflow: hidden; }
.rewards::before { content: ""; position: absolute; inset: 0; background: radial-gradient(800px 400px at 15% 0%, rgba(238,46,110,.12), transparent 60%), radial-gradient(700px 380px at 90% 100%, rgba(30,200,230,.12), transparent 60%); pointer-events: none; }
.rewards-inner { position: relative; z-index: 1; }
.rewards-top { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem; align-items: center; margin-bottom: 3rem; }
.rewards-copy h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.rewards-copy .muted-light { font-size: 1.05rem; max-width: 560px; }
.rewards-copy .hero-actions { margin-bottom: 1.8rem; }
.rewards-media { position: relative; }
.rewards-media img { width: 100%; aspect-ratio: 13 / 14; object-fit: cover; border-radius: 20px; box-shadow: 0 40px 80px -34px rgba(0,0,0,.85); }
.rewards-media-card { position: absolute; left: -14px; bottom: 26px; background: rgba(10,12,15,.82); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12); border-radius: 16px; padding: 1rem 1.2rem; display: flex; flex-direction: column; gap: .35rem; box-shadow: 0 20px 40px -20px rgba(0,0,0,.7); }
.rmc-label { font: 700 .64rem/1 var(--font); letter-spacing: .12em; color: var(--muted-light); }
.rmc-big { font-weight: 800; font-size: 1.9rem; line-height: 1; color: var(--pink); letter-spacing: .02em; }
.rmc-dots { display: flex; gap: .35rem; margin-top: .15rem; }
.rmc-dots i { width: 16px; height: 16px; border-radius: 50%; background: var(--cyan); display: inline-grid; place-items: center; font-style: normal; font-size: .6rem; color: var(--cyan-deep); }
.rmc-dots i.star { background: var(--pink); color: #fff; }
.rewards-perks { display: flex; flex-wrap: wrap; gap: 1.5rem; }
.perk { display: flex; align-items: center; gap: .7rem; }
.perk-ico { font-size: 1.5rem; line-height: 1; }
.perk div { display: flex; flex-direction: column; line-height: 1.3; }
.perk strong { font-size: .92rem; }
.perk span { font-size: .8rem; color: var(--muted-light); }

.tiers { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.tier { position: relative; background: var(--panel); border: 1px solid #20262f; border-radius: var(--radius); padding: 1.6rem 1.5rem; display: flex; flex-direction: column; }
.tier-featured { border-color: var(--cyan); box-shadow: 0 24px 50px -28px rgba(30,200,230,.5); }
.tier-flag { position: absolute; top: -11px; left: 1.5rem; background: var(--cyan); color: var(--cyan-deep); font: 700 .66rem/1 var(--font); letter-spacing: .05em; text-transform: uppercase; padding: .4rem .7rem; border-radius: 999px; }
.tier-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: .6rem; }
.tier-name { font-weight: 800; font-size: 1.25rem; }
.tier-range { font-size: .78rem; color: var(--cyan); font-weight: 600; }
.tier p { color: var(--muted-light); font-size: .9rem; margin-bottom: 1rem; }
.tier ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .55rem; }
.tier li { position: relative; padding-left: 1.4rem; font-size: .88rem; color: #dfe6ec; }
.tier li::before { content: ""; position: absolute; left: 0; top: .35em; width: 13px; height: 8px; border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg); }
.rewards-points-note { margin: 2rem 0 0; padding: .9rem 1.1rem; background: rgba(30,200,230,.08); border: 1px solid rgba(30,200,230,.25); border-radius: 12px; font-size: .92rem; color: #cdeef5; display: inline-block; }
.rewards-points-note strong { color: var(--cyan); }

@media (max-width: 900px) {
  .tiers { grid-template-columns: 1fr; }
  .rewards-top { grid-template-columns: 1fr; gap: 2.2rem; }
  .rewards-media { max-width: 460px; }
}

/* ============================================================
   Member accounts — auth, dashboard, staff console
   ============================================================ */
.account-page { background: var(--ink); min-height: 100vh; display: flex; flex-direction: column; }
.account-page .site-header { background: #0a0c0f; }
.nav-back { color: var(--muted-light); font-size: .85rem; font-weight: 600; }
.nav-back:hover { color: var(--cyan); }
.account-nav { display: flex; align-items: center; gap: 1rem; }
.account-nav a { color: var(--muted-light); font-size: .85rem; font-weight: 600; }
.account-nav a:hover { color: var(--cyan); }
.btn-sm { padding: .55rem 1rem; font-size: .72rem; }

.account { flex: 1; width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 2.5rem 1.5rem 4rem; color: #fff; }

/* Auth card */
.auth-card { max-width: 420px; margin: 1.5rem auto 0; background: var(--panel); border: 1px solid #20262f; border-radius: var(--radius-lg); padding: 2.2rem; }
.auth-card h1 { font-size: 1.8rem; margin-bottom: .4rem; }
.auth-card > .muted { margin-bottom: 1.6rem; }
.auth-card .field { margin-bottom: 1rem; }
.auth-card .field label { display: block; font: 600 .76rem/1 var(--font); text-transform: uppercase; letter-spacing: .04em; color: var(--muted-light); margin-bottom: .45rem; }
.auth-card .field input { width: 100%; border: 1px solid #2a313b; border-radius: 10px; padding: .8rem .9rem; font: 400 .95rem var(--font); background: #0d1117; color: #fff; }
.auth-card .field input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.auth-card .btn { width: 100%; justify-content: center; margin-top: .4rem; }
.form-error { color: #ff7591; font-size: .85rem; min-height: 1.1em; margin: .2rem 0 .6rem; }
.auth-alt { text-align: center; font-size: .9rem; color: var(--muted-light); margin: 1.1rem 0 0; }
.auth-alt a { color: var(--cyan); font-weight: 600; }
.auth-alt.muted-sm { font-size: .8rem; margin-top: .5rem; }
.notice { background: rgba(30,200,230,.08); border: 1px solid rgba(30,200,230,.3); border-radius: 12px; padding: .9rem 1rem; margin-bottom: 1.4rem; font-size: .88rem; color: #cdeef5; display: flex; flex-direction: column; gap: .2rem; }

/* Dashboard */
.dash-state[data-state="loading"], .dash-state[data-state="soon"] { text-align: center; padding-top: 2rem; }
.dash-head { margin-bottom: 1.4rem; }
.dash-head h1 { font-size: clamp(1.7rem, 4vw, 2.4rem); }
.free-banner { background: linear-gradient(135deg, rgba(238,46,110,.18), rgba(30,200,230,.18)); border: 1px solid rgba(30,200,230,.4); border-radius: 14px; padding: 1rem 1.2rem; margin-bottom: 1.6rem; font-size: 1rem; }
.dash-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 1.2rem; margin-bottom: 2rem; }
.dash-card { background: var(--panel); border: 1px solid #20262f; border-radius: var(--radius); padding: 1.4rem; display: flex; flex-direction: column; }
.dash-card-feature { gap: .3rem; }
.dash-label { font: 600 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted-light); margin-bottom: .8rem; }
.dash-big { font-size: 2.6rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.dash-sub { font-size: .78rem; color: var(--muted-light); margin-top: .35rem; }
.punch { display: flex; gap: .6rem; flex-wrap: wrap; margin: .3rem 0 .8rem; }
.punch-dot { width: 42px; height: 42px; border-radius: 50%; border: 2px dashed #39414c; display: grid; place-items: center; color: var(--cyan-deep); font-size: 1.1rem; font-weight: 800; }
.punch-dot.full { background: var(--cyan); border: 2px solid var(--cyan); }
.punch-dot.free { background: var(--pink); border-color: var(--pink); color: #fff; box-shadow: 0 0 0 4px rgba(238,46,110,.25); }
.punch-msg { font-size: .9rem; color: #dfe6ec; margin: 0; }
.dash-how { background: var(--panel); border: 1px solid #20262f; border-radius: var(--radius); padding: 1.6rem; }
.dash-how h2 { font-size: 1.2rem; }
.dash-how p { color: var(--muted-light); font-size: .92rem; }
.dash-how .btn { margin-top: .4rem; }

/* Staff console */
.staff-search { display: flex; gap: .7rem; margin-bottom: .4rem; }
.staff-search input { flex: 1; border: 1px solid #2a313b; border-radius: 10px; padding: .8rem .9rem; font: 400 .95rem var(--font); background: #0d1117; color: #fff; }
.staff-search input:focus { outline: 2px solid var(--cyan); outline-offset: 1px; }
.staff-result { background: var(--panel); border: 1px solid #20262f; border-radius: var(--radius-lg); padding: 1.6rem; margin-top: 1rem; }
.staff-result-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 1rem; margin-bottom: 1.2rem; }
.staff-member-name { display: block; font-size: 1.3rem; font-weight: 700; }
.staff-member-email { display: block; font-size: .85rem; color: var(--muted-light); }
.staff-badge { background: var(--pink); color: #fff; font: 700 .66rem/1 var(--font); letter-spacing: .05em; padding: .45rem .7rem; border-radius: 999px; white-space: nowrap; }
.staff-stats { display: grid; grid-template-columns: repeat(3,1fr); gap: 1rem; margin-bottom: 1.4rem; }
.staff-stats > div { display: flex; flex-direction: column; gap: .2rem; }
.staff-stats .dash-big { font-size: 2rem; }
.staff-actions { display: flex; gap: .8rem; flex-wrap: wrap; }
.staff-flash { margin: 1rem 0 0; font-size: .92rem; min-height: 1.2em; }
.staff-flash.ok { color: #5fe0a6; }
.staff-flash.bad { color: #ff7591; }

@media (max-width: 760px) {
  .dash-grid { grid-template-columns: 1fr; }
  .staff-stats { grid-template-columns: 1fr 1fr; }
  .punch-dot { width: 38px; height: 38px; }
}

/* ============ MISSION (veteran-coffee story) ============ */
.mission { background: var(--ink); padding: 5rem 0; border-top: 1px solid #1a1d23; }
.mission-head { max-width: 760px; margin: 0 auto 2.6rem; text-align: center; }
.mission-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); line-height: 1.15; color: #fff; }
.mission-lead { color: var(--muted-light); font-size: 1.04rem; line-height: 1.7; }
.mission-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-bottom: 2.4rem; }
.mission-card { background: var(--panel); border: 1px solid #20262f; border-radius: var(--radius); padding: 1.8rem 1.6rem; transition: transform .18s ease, border-color .18s ease; }
.mission-card:hover { transform: translateY(-4px); border-color: var(--cyan); }
.mission-ico { font-size: 2rem; line-height: 1; display: block; margin-bottom: .9rem; }
.mission-card h3 { font-size: 1.2rem; margin-bottom: .5rem; color: #fff; }
.mission-card p { color: var(--muted-light); font-size: .92rem; line-height: 1.6; margin: 0; }
.mission-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.footer-addr { color: var(--muted); font-size: .82rem; margin-top: .5rem; }
@media (max-width: 860px) { .mission-grid { grid-template-columns: 1fr; } }

/* ============ ADMIN — orders board ============ */
.admin { max-width: 1100px; }
.admin-filters { display: flex; gap: .5rem; flex-wrap: wrap; align-items: center; margin-bottom: 1.6rem; }
.admin-filters .fcount { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 5px; margin-left: .35rem; border-radius: 999px; background: rgba(255,255,255,.12); font-size: .68rem; font-weight: 700; }
.admin-filters .cat-pill { background: var(--panel); color: #fff; border-color: #20262f; }
.admin-filters .cat-pill.active { background: var(--cyan); color: var(--cyan-deep); border-color: var(--cyan); }
.admin-filters .cat-pill.active .fcount { background: rgba(0,0,0,.18); }
.admin-auto { margin-left: auto; color: var(--muted-light); font-size: .82rem; }
.admin-auto input { vertical-align: middle; margin-right: .35rem; }

.orders-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(310px, 1fr)); gap: 1.1rem; }
.orders-empty { color: var(--muted-light); text-align: center; padding: 3rem 0; }
.order-card { background: var(--panel); border: 1px solid #20262f; border-left: 4px solid #3a4150; border-radius: var(--radius); padding: 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; }
.order-card.status-new { border-left-color: var(--pink); }
.order-card.status-making { border-left-color: #f2b63c; }
.order-card.status-ready { border-left-color: #37b87a; }
.order-card.status-done { border-left-color: #3a4150; opacity: .72; }
.order-card.status-cancelled { border-left-color: #3a4150; opacity: .55; }
.order-top { display: flex; align-items: center; justify-content: space-between; }
.order-no { font-weight: 800; color: #fff; letter-spacing: .02em; }
.order-status { font-size: .64rem; text-transform: uppercase; letter-spacing: .08em; font-weight: 700; padding: .2rem .5rem; border-radius: 999px; background: rgba(255,255,255,.1); color: #fff; margin-left: .35rem; }
.status-new .order-status { background: rgba(238,46,110,.25); color: #ff9ab6; }
.status-making .order-status { background: rgba(242,182,60,.22); color: #ffd98a; }
.status-ready .order-status { background: rgba(55,184,122,.22); color: #8fe6bb; }
.order-when { color: var(--muted-light); font-size: .8rem; }
.order-cust { color: var(--muted-light); font-size: .86rem; }
.order-cust strong { color: #fff; }
.order-items { list-style: none; margin: 0; padding: .2rem 0; border-top: 1px solid #20262f; border-bottom: 1px solid #20262f; display: flex; flex-direction: column; gap: .35rem; }
.order-items li { display: flex; align-items: baseline; gap: .4rem; font-size: .88rem; color: #e7ecf1; padding: .3rem 0; }
.oi-qty { color: var(--cyan); font-weight: 700; }
.oi-meta { color: var(--muted-light); font-size: .78rem; }
.oi-price { margin-left: auto; color: var(--muted-light); }
.order-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; }
.order-total { font-weight: 800; font-size: 1.1rem; color: #fff; }
.order-actions { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: flex-end; }

@media (max-width: 620px) { .orders-list { grid-template-columns: 1fr; } .admin-auto { margin-left: 0; width: 100%; } }

/* ============ MERCH shop ============ */
.merch-card { border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; background: #fff; transition: transform .18s ease, box-shadow .18s ease; }
.merch-card:hover { transform: translateY(-4px); box-shadow: 0 22px 44px -24px rgba(0,0,0,.4); }
.merch-media { position: relative; aspect-ratio: 1/1; background: var(--ink); }
.merch-media img { width: 100%; height: 100%; object-fit: cover; }
.merch-tag { position: absolute; top: .8rem; left: .8rem; background: rgba(10,12,15,.8); backdrop-filter: blur(4px); color: #fff; font: 600 .66rem/1 var(--font); letter-spacing: .06em; text-transform: uppercase; padding: .35rem .6rem; border-radius: 999px; }
.merch-tag.pink { background: var(--pink); }
.merch-body { padding: 1.1rem 1.15rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.merch-body h3 { font-size: 1.12rem; margin: 0 0 .3rem; }
.merch-notes { color: var(--muted); font-size: .86rem; margin: 0 0 1rem; flex: 1; }
.merch-opts { display: flex; align-items: center; gap: .6rem; margin-bottom: 1rem; }
.merch-opts .opt-label { font: 600 .68rem/1 var(--font); text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.merch-opts .bean-select { flex: 1; }
.merch-foot { display: flex; align-items: center; justify-content: space-between; gap: .8rem; margin-top: auto; }
.merch-price { font-weight: 800; font-size: 1.15rem; color: var(--text); }
.merch-was { font-weight: 500; font-size: .85rem; color: var(--muted); text-decoration: line-through; margin-left: .2rem; }
.merch-card .btn { padding: .7rem 1rem; font-size: .72rem; }
.merch-card-wide { grid-column: span 2; }
.merch-card-wide .merch-media { aspect-ratio: 16/10; }
@media (max-width: 700px) { .merch-card-wide { grid-column: span 1; } .merch-card-wide .merch-media { aspect-ratio: 1/1; } }

/* ---- Checkout: delivery address fields ---- */
.field-group-label { font: 700 .72rem/1 var(--font); text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin: .4rem 0 .7rem; }
.ship-fields { border-top: 1px solid var(--line); padding-top: .9rem; margin-top: .3rem; }

/* ---- Admin: fulfilment chip + ship line ---- */
.fulfil-chip { font: 700 .6rem/1 var(--font); letter-spacing: .07em; padding: .22rem .5rem; border-radius: 999px; margin-left: .35rem; vertical-align: middle; }
.fulfil-chip.pickup { background: rgba(30,200,230,.18); color: #8fe1ee; }
.fulfil-chip.deliver { background: rgba(238,46,110,.2); color: #ff9ab6; }
.order-ship { font-size: .82rem; color: var(--muted-light); margin-top: -.2rem; }
.order-ship strong { color: #fff; }

/* ---- Homepage featured-merch strip ---- */
.merch-strip { background: var(--white); padding: 4rem 0; }
.section-head-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1.8rem; }
.section-head-row h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin: 0; color: var(--text); }
.merch-strip-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.merch-mini { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: transform .18s ease, box-shadow .18s ease; }
.merch-mini:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -24px rgba(0,0,0,.4); }
.merch-mini img { width: 100%; aspect-ratio: 1/1; object-fit: cover; background: var(--ink); }
.merch-mini-name { font-weight: 600; font-size: .92rem; color: var(--text); padding: .8rem .9rem .1rem; }
.merch-mini-price { color: var(--muted); font-size: .85rem; padding: 0 .9rem 1rem; }
@media (max-width: 760px) { .merch-strip-grid { grid-template-columns: 1fr 1fr; } }
