/* ============================================================
   Big Coppitt Coffee — site styles
   Palette: red #a11110, blue #2d65c2, cream #FFF0DD, ink #1b1b1b
   Type:    Slackey (display), Anton (impact heads),
            Montserrat (UI), Lato (body)
   ============================================================ */

:root {
  --red: #a11110;
  --red-dark: #7d0d0d;
  --red-deep: #5e0808;
  --blue: #2d65c2;
  --blue-dark: #224f99;
  --cream: #fff0dd;
  --cream-soft: #fff7ec;
  --ink: #1b1b1b;
  --ink-soft: #2b2522;

  --maxw: 1180px;
  --gutter: clamp(1rem, 3vw, 2rem);

  --radius: 14px;
  --radius-lg: 22px;

  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.12);
  --shadow-md: 0 10px 24px rgba(0, 0, 0, 0.18);
  --shadow-lg: 0 20px 48px rgba(0, 0, 0, 0.28);

  --font-display: "Slackey", "Anton", Impact, system-ui, sans-serif;
  --font-impact: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --font-ui: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-body: "Lato", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

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

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

a {
  color: var(--blue);
  text-decoration: none;
}
a:hover,
a:focus-visible {
  text-decoration: underline;
}

button {
  font: inherit;
  cursor: pointer;
}

h1,
h2,
h3,
h4 {
  margin: 0 0 0.5em;
  line-height: 1.1;
  letter-spacing: 0.01em;
}

p {
  margin: 0 0 1em;
}

.container {
  width: min(100% - var(--gutter) * 2, var(--maxw));
  margin-inline: auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--ink);
  color: var(--cream);
  padding: 0.5rem 1rem;
  z-index: 1000;
}
.skip-link:focus {
  left: 0.5rem;
  top: 0.5rem;
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--red);
  color: var(--cream);
  border-bottom: 3px solid var(--red-deep);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: var(--cream);
}
.brand:hover {
  text-decoration: none;
}
.brand img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--cream);
  padding: 2px;
}
.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name {
  font-family: var(--font-display);
  font-size: clamp(1.1rem, 2.4vw, 1.4rem);
  letter-spacing: 0.02em;
}
.brand-tag {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  opacity: 0.85;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* Primary nav */
.primary-nav ul {
  display: flex;
  gap: clamp(0.75rem, 2vw, 1.6rem);
  list-style: none;
  padding: 0;
  margin: 0;
}
.primary-nav a {
  color: var(--cream);
  font-family: var(--font-ui);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.06em;
  padding: 0.5rem 0.25rem;
  border-bottom: 2px solid transparent;
  transition: border-color 150ms ease, color 150ms ease;
}
.primary-nav a:hover,
.primary-nav a:focus-visible {
  text-decoration: none;
  border-color: var(--cream);
}

/* Hamburger */
.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  width: 44px;
  height: 44px;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.nav-toggle-bar {
  display: block;
  width: 26px;
  height: 3px;
  background: var(--cream);
  border-radius: 2px;
  transition: transform 200ms ease, opacity 200ms ease;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.95rem;
  padding: 0.95rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform 150ms ease, background-color 150ms ease,
    color 150ms ease, box-shadow 150ms ease;
  text-align: center;
}
.btn:hover {
  text-decoration: none;
  transform: translateY(-1px);
}
.btn-primary {
  background: var(--blue);
  color: var(--cream);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--blue-dark);
  color: #fff;
}
.btn-secondary {
  background: transparent;
  color: var(--cream);
  border-color: var(--cream);
}
.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--cream);
  color: var(--red);
}

/* ---------- Hero ---------- */
.hero {
  background: linear-gradient(180deg, var(--red) 0%, var(--red-dark) 100%);
  color: var(--cream);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 80% 20%,
      rgba(255, 240, 221, 0.08) 0,
      transparent 40%
    ),
    radial-gradient(
      circle at 10% 90%,
      rgba(45, 101, 194, 0.18) 0,
      transparent 35%
    );
  pointer-events: none;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(3rem, 8vw, 6rem) 0 clamp(2.5rem, 6vw, 5rem);
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 3.4vw, 2.5rem);
  color: var(--cream);
  margin-bottom: 0.25em;
  text-shadow: 2px 2px 0 var(--red-deep);
}
.hero-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 1;
  margin-bottom: 0.6em;
  color: #fff;
  text-shadow: 4px 4px 0 var(--red-deep);
}
.hero-sub {
  font-size: clamp(1.05rem, 1.6vw, 1.2rem);
  max-width: 36ch;
  margin-bottom: 1.6rem;
  opacity: 0.95;
}
.hero-art img {
  width: 100%;
  max-width: 560px;
  margin-inline: auto;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.35));
}

/* ---------- Section title ---------- */
.section-title {
  font-family: var(--font-impact);
  font-weight: 400;
  text-transform: uppercase;
  font-size: clamp(2rem, 5vw, 3.4rem);
  letter-spacing: 0.02em;
  color: var(--red);
  text-align: center;
  margin: 0 auto 0.4em;
}

.kicker {
  text-align: center;
  font-family: var(--font-display);
  color: var(--blue);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  margin-bottom: 0.4em;
}

/* ---------- About / Day cards ---------- */
.about {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--cream);
}
.day-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.4vw, 2rem);
  margin-top: 2rem;
}
.day-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  border-top: 6px solid var(--blue);
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.day-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.day-card-media {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.day-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.day-card h3 {
  font-family: var(--font-impact);
  font-size: 1.6rem;
  letter-spacing: 0.04em;
  color: var(--red);
  margin-bottom: 0.4em;
}
.day-card p {
  color: var(--ink-soft);
  font-size: 0.97rem;
}

/* ---------- Tagline band ---------- */
.tagline-band {
  background: var(--blue);
  color: var(--cream);
  padding: clamp(1.5rem, 3vw, 2.5rem) 0;
  text-align: center;
  border-top: 4px solid var(--blue-dark);
  border-bottom: 4px solid var(--blue-dark);
}
.tagline {
  font-family: var(--font-display);
  font-size: clamp(1.3rem, 3vw, 2.2rem);
  margin: 0;
  letter-spacing: 0.01em;
  text-shadow: 2px 2px 0 var(--blue-dark);
}

/* ---------- Menu ---------- */
.menu {
  padding: clamp(3rem, 7vw, 5rem) 0;
  background: var(--cream-soft);
}
.menu-grid {
  list-style: none;
  padding: 0;
  margin: 2.5rem 0 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
}
.menu-item {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: transform 200ms ease, box-shadow 200ms ease;
}
.menu-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.menu-media {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--cream);
  margin-bottom: 1rem;
}
.menu-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.menu-item h3 {
  font-family: var(--font-impact);
  color: var(--blue);
  font-size: 1.45rem;
  letter-spacing: 0.04em;
  margin-bottom: 0.4em;
}
.menu-item p {
  color: var(--ink-soft);
  font-size: 0.95rem;
  margin: 0;
}

/* ---------- Reviews ---------- */
.reviews {
  background: var(--red);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
  text-align: center;
}
.reviews .section-title {
  color: var(--cream);
}
.reviews-lede {
  max-width: 60ch;
  margin: 0 auto 1.6rem;
  font-size: 1.05rem;
}
.reviews-cta {
  margin-top: 1rem;
}

/* ---------- FAQs ---------- */
.faqs {
  background: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.faqs-inner {
  max-width: 820px;
}
.faq-list {
  margin-top: 2rem;
  display: grid;
  gap: 0.75rem;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.faq-item summary {
  list-style: none;
  cursor: pointer;
  padding: 1.1rem 1.4rem;
  font-family: var(--font-ui);
  font-weight: 700;
  color: var(--red);
  font-size: 1.02rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.faq-item summary::-webkit-details-marker {
  display: none;
}
.faq-item summary::after {
  content: "";
  width: 12px;
  height: 12px;
  border-right: 2px solid var(--red);
  border-bottom: 2px solid var(--red);
  transform: rotate(45deg);
  transition: transform 200ms ease;
  flex: none;
}
.faq-item[open] summary::after {
  transform: rotate(-135deg);
}
.faq-body {
  padding: 0 1.4rem 1.2rem;
  color: var(--ink-soft);
}
.faq-body ul {
  padding-left: 1.2rem;
  margin: 0.5rem 0 0;
}
.faq-body li {
  margin-bottom: 0.4em;
}

/* ---------- Contact ---------- */
.contact {
  background: var(--red-dark);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 5rem) 0;
}
.contact .section-title {
  color: var(--cream);
  text-align: left;
  margin-left: 0;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: start;
}
.contact-copy p {
  font-size: 1.05rem;
  max-width: 50ch;
}
.contact-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 0;
  display: grid;
  gap: 0.9rem;
}
.contact-list li {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 1rem;
  align-items: baseline;
}
.contact-label {
  font-family: var(--font-ui);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  opacity: 0.8;
}
.contact-list a {
  color: var(--cream);
  border-bottom: 1px solid rgba(255, 240, 221, 0.4);
}
.contact-list a:hover {
  border-color: var(--cream);
  text-decoration: none;
}
.contact-map {
  display: block;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--cream);
}
.contact-map img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--red-deep);
  color: var(--cream);
  padding: clamp(2.5rem, 6vw, 4rem) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: clamp(1.5rem, 3vw, 2.5rem);
  align-items: start;
}
.footer-col h2 {
  font-family: var(--font-impact);
  font-size: 1.3rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 0.8em;
  color: var(--cream);
}
.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.footer-col a {
  color: var(--cream);
  opacity: 0.9;
}
.footer-col a:hover {
  opacity: 1;
  text-decoration: underline;
}
.footer-brand img {
  width: 130px;
  height: 130px;
  margin-bottom: 0.75rem;
  border-radius: 50%;
  background: var(--cream);
  padding: 4px;
}
.footer-brand p {
  font-family: var(--font-display);
  font-size: 1.1rem;
  max-width: 22ch;
  opacity: 0.95;
}
address {
  font-style: normal;
  line-height: 1.6;
}
.footer-review {
  display: inline-block;
  margin-top: 0.4rem;
  border-bottom: 1px solid rgba(255, 240, 221, 0.4);
}

.social {
  display: flex !important;
  gap: 0.6rem;
  flex-wrap: wrap;
}
.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 240, 221, 0.12);
  transition: background-color 150ms ease, transform 150ms ease;
}
.social a:hover {
  background: var(--blue);
  transform: translateY(-2px);
}
.social img {
  width: 22px;
  height: 22px;
}

.footer-bottom {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding: 1rem 0;
  border-top: 1px solid rgba(255, 240, 221, 0.15);
  text-align: center;
  font-size: 0.88rem;
  opacity: 0.85;
}
.footer-bottom p {
  margin: 0;
}

/* ---------- Responsive ---------- */
@media (max-width: 880px) {
  .hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-sub {
    margin-inline: auto;
  }
  .hero-art {
    order: -1;
  }
  .hero-art img {
    max-width: 320px;
  }
  .contact-inner {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .nav-toggle {
    display: inline-flex;
  }
  .primary-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--red-dark);
    border-bottom: 3px solid var(--red-deep);
    overflow: hidden;
    max-height: 0;
    transition: max-height 250ms ease;
  }
  .primary-nav[data-open="true"] {
    max-height: 480px;
  }
  .primary-nav ul {
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
  }
  .primary-nav a {
    display: block;
    padding: 0.85rem var(--gutter);
    border-bottom: 1px solid rgba(255, 240, 221, 0.1);
  }
  .primary-nav a:hover,
  .primary-nav a:focus-visible {
    border-color: rgba(255, 240, 221, 0.1);
    background: var(--red);
  }
  .brand-tag {
    display: none;
  }
}

@media (max-width: 520px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .footer-brand {
    justify-self: center;
  }
  .social {
    justify-content: center;
  }
  .contact-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition: none !important;
    animation: none !important;
    scroll-behavior: auto !important;
  }
}
