/* ===========================
   Breeze Café – Design Tokens
   =========================== */

:root {
  /* Base colours */
  --cream: #F5EFE7;
  --beige: #E9E5DC;
  --espresso: #3B2A22;
  --ink: #111827;
  --muted: #6B7280;

  --accent: #C88A3A;   /* coffee gold */
  --accent-2: #E6A85C; /* lighter gold */

  /* Aliases used by older nw- naming */
  --nw-accent: var(--accent);
  --nw-accent-2: var(--accent-2);
  --nw-surface: #FFFDF9;

  /* Radii, shadows, spacing */
  --radius: 14px;
  --radius-lg: 18px;
  --radius-xl: 24px;

  --gap: clamp(16px, 3vw, 24px);
  --shadow-sm: 0 8px 24px rgba(15, 23, 42, 0.10);
  --shadow: 0 18px 45px rgba(15, 23, 42, 0.16);

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ===========================
   Reset / base
   =========================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--espresso);
  background: var(--cream);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Accessible skip link */
.a11y-sr {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.a11y-sr:focus {
  position: fixed;
  left: 12px;
  top: 12px;
  width: auto;
  height: auto;
  padding: 8px 12px;
  background: #ffffff;
  color: var(--espresso);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.2);
  z-index: 9999;
}

/* ===========================
   Typography
   =========================== */

.h1,
h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  letter-spacing: -0.03em;
  margin: 0 0 0.75rem;
}

.h2,
h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  letter-spacing: -0.02em;
  margin: 0 0 0.75rem;
}

.h3,
h3 {
  font-size: 1.1rem;
  margin: 0 0 0.45rem;
}

.lead {
  font-size: 1rem;
  line-height: 1.7;
  color: var(--espresso);
}

.muted {
  color: var(--muted);
  font-size: 0.92rem;
}

/* Links */

a {
  color: var(--accent);
  text-decoration-color: rgba(200, 138, 58, 0.35);
  text-underline-offset: 2px;
}

a:hover {
  text-decoration-color: rgba(200, 138, 58, 0.9);
}

/* Focus states for a11y */
a:focus-visible,
button:focus-visible,
.btn:focus-visible,
.btn-outline:focus-visible {
  outline: 2px solid color-mix(in hsl, var(--accent) 60%, #ffffff);
  outline-offset: 2px;
}

/* ===========================
   Layout primitives
   =========================== */

.section {
  padding: clamp(40px, 7vw, 72px) 0;
}

.wrap {
  width: min(1100px, 100% - 32px);
  margin-inline: auto;
}

.center {
  text-align: center;
}

.stack {
  display: flex;
  flex-direction: column;
}

.gap-2 {
  gap: 1rem;
}

.cluster {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Grid */

.grid {
  display: grid;
  gap: var(--gap);
}

.grid-2 {
  grid-template-columns: 1fr;
}

.grid-3 {
  grid-template-columns: 1fr;
}

@media (min-width: 780px) {
  .grid-2 {
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
    align-items: center;
  }

  .grid-3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* Section header tweak */
.section-header {
  margin-bottom: 1.8rem;
}

.section-header .lead {
  max-width: 640px;
  margin-inline: auto;
}

/* Surfaces / cards */

.surface {
  background: var(--nw-surface);
}

.card {
  background: #ffffff;
  border-radius: var(--radius);
  border: 1px solid rgba(15, 23, 42, 0.06);
  padding: 1.1rem 1.25rem;
}

.card--hover {
  transition:
    transform 0.2s var(--ease),
    box-shadow 0.2s var(--ease),
    border-color 0.2s var(--ease);
}

.card--hover:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
  border-color: rgba(15, 23, 42, 0.08);
}

/* Tick list */

.tick {
  list-style: none;
  padding-left: 0;
  margin: 0.25rem 0 0;
}

.tick li {
  position: relative;
  padding-left: 1.4rem;
  margin: 0.15rem 0;
  font-size: 0.96rem;
}

.tick li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Pill tag */

.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  font-weight: 800;
  color: #3B2A22;
  background: color-mix(in hsl, var(--accent) 18%, #ffffff);
  border: 1px solid color-mix(in hsl, var(--accent) 28%, #ffffff);
  border-radius: 999px;
  padding: 0.3rem 0.8rem;
}

/* ===========================
   Buttons
   =========================== */

.btn,
.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  font-size: 0.94rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.2rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition:
    background-color 0.18s var(--ease),
    color 0.18s var(--ease),
    box-shadow 0.18s var(--ease),
    transform 0.18s var(--ease);
}

/* Primary: coffee gradient */
.btn {
  color: #ffffff;
  background: linear-gradient(135deg, #8B451F, #3B2A22);
  box-shadow: 0 14px 34px rgba(59, 42, 34, 0.45);
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 42px rgba(59, 42, 34, 0.6);
}

/* Outline */
.btn-outline {
  background: transparent;
  color: var(--espresso);
  border: 1px solid rgba(15, 23, 42, 0.22);
  box-shadow: none;
}

.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
}

/* Shimmer overlay (non-nav CTAs) */
@media (prefers-reduced-motion: no-preference) {
  .btn.btn-shimmer {
    background-image:
      linear-gradient(180deg, color-mix(in hsl, #8B451F 80%, #ffffff), #3B2A22),
      linear-gradient(
        120deg,
        rgba(255, 255, 255, 0.0) 30%,
        rgba(255, 255, 255, 0.5) 45%,
        rgba(255, 255, 255, 0.0) 60%
      );
    background-size: 100% 100%, 220% 100%;
    background-position: 0 0, -120% 0;
  }

  .btn.btn-shimmer:hover {
    background-position: 0 0, 120% 0;
  }
}

/* ===========================
   NAV – sticky glass
   =========================== */

.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: saturate(140%) blur(8px);
  -webkit-backdrop-filter: saturate(140%) blur(8px);
  background: rgba(245, 239, 231, 0.88);
}

.nav__in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 0.25rem;
  position: relative; /* anchor mobile dropdown */
}

.nav[data-scrolled="true"] .nav__in {
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.nav__brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  font-size: 1rem;
  text-decoration: none;
  color: var(--espresso);
}

.nav__brand span {
  color: var(--espresso);
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-size: 0.95rem;
}

.nav__links a {
  color: var(--espresso);
  text-decoration: none;
  font-weight: 500;
}

.nav__links a:hover {
  color: var(--accent);
}

/* Highlight current page */
.nav__links a[aria-current="page"] {
  font-weight: 700;
  color: var(--accent);
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  border: 1px solid rgba(15, 23, 42, 0.14);
  background: rgba(255, 255, 255, 0.8);
  border-radius: 12px;
  padding: 0.25rem 0.5rem;
  font-size: 1.1rem;
  cursor: pointer;
}

/* Nav CTA sizing */
.nav .nav__links .btn,
.nav .nav__links .btn-outline {
  --h: 38px;
  height: var(--h);
  line-height: var(--h);
  padding-inline: 0.9rem;
  border-radius: 12px;
}

/* Nav CTA style override (keep light) */
.nav .nav__links .btn.btn-shimmer {
  background: #ffffff !important;
  color: var(--espresso) !important;
  border: 1px solid rgba(15, 23, 42, 0.16);
  box-shadow: none !important;
}

.nav .nav__links .btn.btn-shimmer:hover {
  background: color-mix(in hsl, var(--accent) 12%, #ffffff) !important;
  color: var(--accent) !important;
  border-color: var(--accent) !important;
}

/* Mobile nav behaviour */
@media (max-width: 900px) {
  .nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav__links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    padding: 0.6rem 1rem 0.9rem;
    margin: 0;
    background: rgba(245, 239, 231, 0.97);
    flex-direction: column;
    align-items: stretch;
    gap: 0.6rem;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
  }

  .nav[aria-expanded="true"] .nav__links {
    display: flex;
  }

  .nav__links a {
    padding: 0.45rem 0.2rem;
  }

  .nav .nav__links .btn {
    width: 100%;
  }
}

/* ===========================
   HERO + beans + blob
   =========================== */

.hero {
  padding-top: clamp(40px, 5vw, 56px);
}

.hero-wrap {
  position: relative;
  z-index: 1;
}

/* Floating beans */

.beans {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

.bean {
  position: absolute;
  opacity: 0.22;
  filter: blur(0.2px);
}

.bean svg {
  width: 18px;
  height: 18px;
}

.beans .bean--1 { top: 6%;  left: 6%; }
.beans .bean--2 { top: 18%; left: 44%; }
.beans .bean--3 { top: 72%; left: 12%; }
.beans .bean--4 { top: 84%; left: 60%; }

@media (prefers-reduced-motion: no-preference) {
  @keyframes floaty {
    0%   { transform: translateY(0) rotate(0); }
    50%  { transform: translateY(-8px) rotate(6deg); }
    100% { transform: translateY(0) rotate(0); }
  }

  .bean {
    animation: floaty 6s var(--ease) infinite;
  }

  .bean--2 { animation-duration: 7.5s; animation-delay: 0.4s; }
  .bean--3 { animation-duration: 9s;  animation-delay: 0.8s; }
  .bean--4 { animation-duration: 7s;  animation-delay: 1.2s; }
}

/* Hero title halo + underline */

.hero-title {
  position: relative;
  display: inline-block;
}

.hero-title::before {
  content: "";
  position: absolute;
  inset: auto 0 -16px 0;
  height: 36px;
  z-index: -1;
  background: radial-gradient(
    120% 60% at 0% 100%,
    color-mix(in hsl, var(--accent) 22%, #ffffff) 0%,
    transparent 65%
  );
  filter: blur(6px);
  opacity: 0.7;
}

.hero-title .u-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 6px;
}

.hero-title .u-underline::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 6px;
  width: 100%;
  background: linear-gradient(
    90deg,
    color-mix(in hsl, var(--accent) 85%, #ffffff),
    var(--accent-2)
  );
  border-radius: 6px;
  transform-origin: left center;
  transform: scaleX(.2);
  transition: transform .6s var(--ease);
}

/* optional: if JS or intersect observer adds .hero.is-in */
.hero.is-in .u-underline::after {
  transform: scaleX(1);
}

/* Hero media */

.hero-media-wrap {
  position: relative;
}

.blob {
  position: absolute;
  inset: auto 0 0 auto;
  width: min(52vw, 520px);
  height: min(52vw, 520px);
  filter: blur(24px);
  z-index: -1;
  transform: translate(6%, 8%);
  background: radial-gradient(
    50% 50% at 50% 50%,
    color-mix(in hsl, var(--accent) 20%, #ffffff),
    var(--cream) 60%,
    transparent 65%
  );
  border-radius: 48% 52% 50% 50%;
  opacity: 0.55;
}

.hero-media {
  padding: 18px;
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Optional subtle lift on hover */

.img-lift {
  transition: transform 0.25s var(--ease);
}

.hero-media:hover .img-lift {
  transform: translateY(-4px);
}

/* Feature icons in cards */

.icon {
  width: 22px;
  height: 22px;
  color: var(--accent);
  margin-right: 0.5rem;
  vertical-align: -4px;
}

/* ===========================
   Specials section
   =========================== */

.specials {
  background: var(--cream);
  padding: clamp(24px, 5vw, 48px) 0;
  text-align: center;
}

.specials .menu {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 1rem;
}

.specials .item {
  background: #ffffff;
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow-sm);
  max-width: 320px;
  text-align: left;
  transition:
    transform 0.3s var(--ease),
    box-shadow 0.3s var(--ease);
}

.specials .item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.specials .price {
  color: var(--espresso);
  font-weight: 700;
  display: block;
  margin-top: 0.3rem;
}

/* ===========================
   Angled trust band
   =========================== */

.angled {
  position: relative;
  background: var(--cream);
  border-block: 1px solid var(--beige);
  overflow: hidden;
}

.angled::before,
.angled::after {
  content: "";
  position: absolute;
  left: -10vw;
  right: -10vw;
  height: 88px;
  z-index: 0;
  background: linear-gradient(
    90deg,
    color-mix(in hsl, var(--accent) 10%, #ffffff),
    transparent 60%
  );
  opacity: 0.35;
}

.angled::before {
  top: -44px;
  transform: skewY(-2.2deg);
}

.angled::after {
  bottom: -44px;
  transform: skewY(2.2deg);
}

.trust-grid {
  margin-top: 20px;
}

/* ===========================
   Mini pricing strip
   =========================== */

.pricing {
  display: grid;
  gap: var(--gap);
  grid-template-columns: 1fr;
  background: #ffffff;
  border: 1px solid var(--beige);
  border-radius: var(--radius);
  padding: clamp(16px, 3vw, 24px);
  box-shadow: var(--shadow);
}

.pricing-note {
  margin: 0;
  max-width: 420px;
}

.pricing-ctas {
  justify-content: flex-start;
}

@media (min-width: 780px) {
  .pricing {
    grid-template-columns: 1.3fr 1fr;
    align-items: center;
  }
}

/* ===========================
   Footer
   =========================== */

.footer {
  background: #101827;
  color: #E5E7EB;
  padding-top: 32px;
  padding-bottom: 16px;
  margin-top: 32px;
}

.footer__in {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: minmax(0, 1.3fr);
  align-items: flex-start;
}

.footer a {
  color: #E5E7EB;
  text-decoration-color: rgba(229, 231, 235, 0.4);
}

.footer a:hover {
  text-decoration-color: rgba(229, 231, 235, 0.85);
}

.footer .nav__brand span {
  color: #E5E7EB;
}

.footer-tagline {
  margin-top: .5rem;
}

.footer-heading {
  font-size: 1rem;
}

.footer-links {
  margin-top: .5rem;
}

.footer-contact {
  margin-top: .5rem;
}

.footer__bottom {
  border-top: 1px solid rgba(148, 163, 184, 0.45);
  margin-top: 20px;
  padding-top: 10px;
  font-size: 0.85rem;
  color: #9CA3AF;
}

.footer-bottom__in {
  display: flex;
  justify-content: space-between;
  gap: 0.6rem;
}

@media (min-width: 780px) {
  .footer__in {
    grid-template-columns:
      minmax(0, 1.3fr)
      minmax(0, 0.9fr)
      minmax(0, 0.9fr);
  }
}

/* ===========================
   Reveal (no-JS fallback)
   =========================== */

.reveal,
.reveal-up,
.reveal-fade {
  opacity: 1;
  transform: none;
}

/* Keep no-js fallback if JS later adds animations */
.no-js .reveal,
.no-js .reveal-up,
.no-js .reveal-fade {
  opacity: 1 !important;
  transform: none !important;
}
