/* Mini Monster Cafe — hand-written CSS, mobile-first, no framework.
   Palette: #F6F6F6 body, #000 dark sections, #FFF light sections, #121212 headings on light. */

/* ---------- Fonts (self-hosted woff2, no third-party requests) ---------- */
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/open-sans-v44-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/open-sans-v44-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/assets/fonts/jost-v20-latin-regular.woff2") format("woff2");
}
@font-face {
  font-family: "Jost";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/jost-v20-latin-700.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url("/assets/fonts/montserrat-v31-latin-300.woff2") format("woff2");
}
@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/assets/fonts/montserrat-v31-latin-700.woff2") format("woff2");
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: #F6F6F6;
  color: #121212;
  font-family: "Open Sans", "Helvetica Neue", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 2.16;
  letter-spacing: 0.16px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }

h1, h2, h3 { margin: 0 0 0.6em; }
h1 {
  font-family: "Jost", "Futura", sans-serif;
  font-weight: 700;
  /* Live site h1 (futura-pt) measures ~60px cap-ink at 1440 and ~23px at 390;
     Jost needs 82px / 30px to render the same optical size. */
  font-size: clamp(1.875rem, 8vw, 5.125rem); /* 30px – 82px */
  line-height: 1.1;
  letter-spacing: normal;
}
h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.75rem; /* 28px */
  line-height: 1.4;
  letter-spacing: 0.56px;
}
h3 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.125rem; /* 18px */
  line-height: 1.4;
  letter-spacing: 0.9px;
}

/* ---------- Accessibility helpers ---------- */
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0; border: 0;
  clip: rect(0 0 0 0); clip-path: inset(50%);
  overflow: hidden; white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: 8px; top: -100px;
  z-index: 100;
  background: #fff;
  color: #000;
  padding: 12px 20px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.8px;
}
.skip-link:focus { top: 8px; }

:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}
.site-header :focus-visible,
.section-dark :focus-visible,
.page-dark main :focus-visible {
  outline-color: #fff;
}
input:focus-visible, textarea:focus-visible {
  outline: 3px solid #7FDBC4;
  outline-offset: 2px;
}

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

/* ---------- Header ---------- */
/* One consolidated ☰ menu on the left, centered wordmark. The same single
   menu is used on desktop and mobile. With JS the nav is a dropdown panel
   behind the button; without JS the button hides and the nav list shows
   inline so every link stays reachable. */
.site-header {
  background: #000;
  color: #fff;
  font-family: "Jost", sans-serif;
  font-weight: 700;
}
.header-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
}
.wordmark {
  grid-column: 2;
  justify-self: center;
  text-align: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 2px;
  text-decoration: none;
  color: #fff;
  white-space: nowrap;
  font-size: 1rem;
}

.menu-toggle {
  grid-column: 1;
  grid-row: 1;
  justify-self: start;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: none;
  border: 0;
  color: #fff;
  font: inherit;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 8px 4px;
  cursor: pointer;
}
.menu-toggle[hidden] { display: none; }
.menu-toggle-bars { display: inline-flex; flex-direction: column; gap: 4px; }
.menu-toggle-bars span { width: 20px; height: 2px; background: #fff; }

.site-nav {
  grid-column: 1 / -1;
  grid-row: 2;
  width: 100%;
  border-top: 1px solid #262626;
  margin-top: 6px;
  padding-top: 6px;
}
.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  display: block;
  color: #fff;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.8px;
  padding: 10px 0;
}
.nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 6px; }

/* With JS: nav collapses into a dropdown panel anchored under the ☰ button */
body.js .site-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 60;
  min-width: 240px;
  background: #000;
  border: 1px solid #262626;
  border-top: 0;
  margin-top: 0;
  padding: 6px 24px 16px;
  width: auto;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity 0.16s ease, transform 0.16s ease;
}
body.js .site-nav.open {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 900px) {
  .header-inner { padding: 30px 40px; }
  .wordmark { font-size: 1.6rem; }
  .nav-list a { font-size: 1.05rem; padding: 11px 0; }
  body.js .site-nav { min-width: 260px; padding: 8px 28px 18px; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  padding: 25px 46px;
  border: 0;
  cursor: pointer;
  transition: opacity 0.15s ease;
}
.btn:hover { opacity: 0.85; }
.btn-dark { background: #000; color: #fff; }        /* on light sections */
.btn-light { background: #fff; color: #000; }       /* inverted, on dark sections */
.btn-pill { border-radius: 300px; padding: 20px 52px; } /* matches live SUBMIT / Listen Now */
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid #fff;
  width: 100%;
  max-width: 600px;
  padding: 22px 30px;
  line-height: 1.6;
}
/* Not-yet-active state for the Cat Jar CTA (renders until catJarCheckoutUrl is set) */
.btn-disabled {
  background: #3a3a3a;
  color: #cfcfcf;
  cursor: not-allowed;
}
.btn-disabled:hover { opacity: 1; }

/* ---------- Sections ---------- */
.page-dark main { background: #000; color: #fff; }
.page-dark main h1, .page-dark main h2, .page-dark main h3 { color: #fff; }

.section-dark { background: #000; color: #fff; }
.section-dark h1, .section-dark h2, .section-dark h3 { color: #fff; }
.section-light { background: #fff; color: #121212; }
.section-light h2 { color: #000; }

/* Copy inside dark sections: the live site sets this in futura-pt at ~17.6px with
   ~1.2px tracking and 28px line boxes (measured from the rendered Squarespace pages).
   Jost with the same numbers reproduces the live optical size. */
.feature .feature-text p,
.location p,
.sustainability-body p,
.contact-intro,
.lofi-text p,
.error-page p {
  font-family: "Jost", "Futura", sans-serif;
  font-weight: 400;
  font-size: 1.125rem;     /* 18px */
  letter-spacing: 0.5px;
  line-height: 1.55;       /* ~28px line boxes, as on live */
}

.bleed img { width: 100%; }

/* On small screens the home hero crops tall, like the live site */
@media (max-width: 640px) {
  .bleed-hero img {
    height: 82vh;
    object-fit: cover;
  }
}

/* Home intro (white) */
.home-intro {
  text-align: center;
  padding: 72px 24px 48px;
}
.home-intro h2 {
  max-width: 710px; /* live tagline wraps to two lines in a ~700px box */
  margin: 0 auto 28px;
}
.home-intro .intro-line {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.125rem; /* 18px — matches live Montserrat-Light intro lines */
  letter-spacing: 0.9px;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 14px;
}

/* Palm divider strip */
.palm-divider { background: #fff; }
.palm-divider img { width: 100%; }

/* Feature sections (black, text + circle photos) */
.feature {
  display: grid;
  gap: 40px;
  padding: 72px 24px;
  align-items: center;
}
/* Section titles: bold, clearly larger than the body copy so "The Experience",
   "Menu" and "Desserts" unmistakably read as section headings at 390 and 1440. */
.feature .feature-text h2 {
  font-family: "Jost", "Montserrat", sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem); /* 32px → 48px */
  line-height: 1.1;
  letter-spacing: 0.5px;
  margin: 0 0 0.6em;
}
.feature .feature-text p { margin: 0 0 1.55em; }
.circle { border-radius: 50%; }
.feature-media { display: flex; flex-direction: column; align-items: center; gap: 24px; }
.feature-media img { width: min(70vw, 320px); }
.feature-media.media-composite img { width: min(88vw, 420px); }

/* Live site centers the feature text on small screens */
@media (max-width: 899px) {
  .feature .feature-text { text-align: center; }
}

@media (min-width: 900px) {
  .feature {
    grid-template-columns: 1fr 1fr;
    padding: 110px 6vw;
  }
  .feature .feature-text { max-width: 570px; margin-left: 4vw; } /* live text column is ~566px */
  .feature-media { align-items: flex-end; margin-right: 4vw; }
  .feature-media img { width: 300px; }
  .feature-media.media-single img { width: 340px; margin-right: 60px; }
  .feature-media.media-composite img { width: 440px; margin-right: 20px; }
}

/* ---------- Page hero (h1 + image, dark pages) ---------- */
.page-hero {
  padding: 40px 24px 0;
  display: grid;
  gap: 24px;
}
.page-hero h1 { margin: 0; }
.page-hero .page-hero-media img { margin: 0 auto; }

@media (min-width: 900px) {
  .page-hero {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    padding: 0 0 0 12vw;
  }
  .page-hero .page-hero-media img { margin: 0 0 0 auto; }
}

/* ---------- Locations ---------- */
.locations-list {
  padding: 40px 24px 60px;
  text-align: center;
}
.location {
  max-width: 620px;
  margin: 0 auto;
  padding: 48px 0;
}
.location h3 { margin-bottom: 1.4em; }
.location h3 a { color: #fff; text-underline-offset: 3px; }
.location p { margin: 0 0 1.4em; line-height: 2; } /* live spaces note lines ~35px apart */
.location .note-italic { font-style: italic; }
.locations-list hr {
  border: 0;
  border-top: 1px solid #fff;
  max-width: 620px;
  margin: 0 auto;
}

/* ---------- Sustainability ---------- */
.sustainability-hero {
  padding: 40px 24px 0;
}
.sustainability-hero img {
  width: min(72vw, 380px);
  /* The source photo has a tall band of dead black below the hand; crop it off so
     the title tucks up under the jar instead of floating below a cavernous gap. */
  aspect-ratio: 1238 / 1450;
  height: auto;
  object-fit: cover;
  object-position: center top;
}
.sustainability-body {
  text-align: center;
  padding: 28px 24px 72px;
}
.sustainability-body h1 {
  /* Live renders this title in Montserrat Bold at ~42px (same at 1440 and 390) */
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 2.625rem; /* 42px */
  letter-spacing: normal;
  line-height: 1.2;
}
.sustainability-body p {
  max-width: 620px;
  margin: 2em auto 0;
  text-align: justify;
}
@media (min-width: 900px) {
  .sustainability-hero { padding: 60px 0 0 6vw; }
  .sustainability-hero img { width: 380px; }
  .sustainability-body { padding: 32px 24px 96px; }
}

/* ---------- Contact ---------- */
.contact-hero {
  display: grid;
  gap: 24px;
  align-items: center;
  padding: 40px 24px 0;
}
.contact-hero h1 { text-align: center; margin: 0; }
@media (min-width: 900px) {
  .contact-hero { grid-template-columns: 55fr 45fr; padding: 60px 0 0; }
}

.contact-body {
  padding: 48px 24px 100px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.contact-intro {
  text-align: center;
  max-width: 620px;
  margin: 40px 0 24px;
}

.contact-form { width: 100%; max-width: 600px; }
.contact-form .name-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .contact-form .name-row { grid-template-columns: 1fr 1fr; }
}
.contact-form fieldset { border: 0; margin: 0; padding: 0; }
.contact-form legend {
  padding: 0;
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 6px;
}
.contact-form .field { margin-bottom: 22px; }
.contact-form label {
  display: block;
  font-size: 0.85rem;
  line-height: 1.8;
  margin-bottom: 4px;
}
.contact-form label .req { color: #CFCFCF; font-size: 0.8em; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  background: #fff;
  color: #121212;
  border: 1px solid #fff;
  padding: 12px 14px;
  font: inherit;
  line-height: 1.5;
}
.contact-form textarea { min-height: 120px; resize: vertical; }
.contact-form .form-actions { text-align: center; margin-top: 32px; }
.honeypot {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px;
  overflow: hidden;
}
.form-status {
  width: 100%;
  max-width: 600px;
}
.form-status:empty { display: none; }
.form-status.has-error {
  margin-bottom: 24px;
  padding: 14px 16px;
  border: 1px solid #fff;
  background: #1c1c1c;
  color: #fff;
  font-size: 0.9rem;
  line-height: 1.6;
}
.contact-thankyou {
  width: 100%;
  max-width: 600px;
  text-align: center;
  padding: 40px 0;
}
.contact-thankyou:focus { outline: none; }
.contact-thankyou-msg {
  font-family: "Jost", sans-serif;
  font-size: 1.25rem;
  line-height: 1.6;
  margin: 0;
}

/* ---------- Plain-text menu / document pages (dark) ---------- */
.doc {
  padding: 56px 24px 100px;
}
.doc-inner {
  max-width: 760px;
  margin: 0 auto;
}
.doc h1 {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: 0.56px;
  line-height: 1.4;
}
.doc h2 {
  font-family: "Montserrat", sans-serif;
  font-weight: 300;
  font-size: 1.25rem;
  letter-spacing: 0.9px;
  margin-top: 1.6em;
}
.doc p { margin: 0 0 1.4em; }
.doc ul { margin: 0 0 1.4em; padding-left: 22px; }
.doc li { margin-bottom: 0.5em; }
.doc a { color: #7FDBC4; text-underline-offset: 3px; }
.doc a:hover { color: #A8E8D8; }

/* ---------- Lofi album ---------- */
.lofi {
  display: grid;
  gap: 40px;
  align-items: center;
  padding: 64px 24px 120px;
}
.lofi-text p { max-width: 560px; margin: 0 0 2.2em; }
.lofi .btn-lofi {
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0.2px;
  font-size: 0.95rem;
  padding: 20px 34px;
}
@media (min-width: 900px) {
  .lofi {
    grid-template-columns: 1fr 1fr;
    padding: 120px 6vw 160px;
  }
  .lofi-text { margin-left: 6vw; }
  .lofi-media img { width: min(100%, 500px); margin-left: auto; }
}

/* ---------- 404 ---------- */
.error-page {
  text-align: center;
  padding: 100px 24px 140px;
}
.error-page p { max-width: 560px; margin: 0 auto 1.4em; }
.error-page a { color: #7FDBC4; }

/* ---------- Footer ---------- */
.site-footer {
  background: #F6F6F6;
  color: #121212;
  padding: 72px 24px 40px;
}
.footer-brand { text-align: center; }
.footer-logo {
  width: 330px;
  max-width: 80vw;
  margin: 0 auto 8px;
}
.footer-wordmark {
  font-family: "Montserrat", sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  font-size: 1.05rem;
  margin: 12px 0 0;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
  margin-top: 72px;
}
.footer-links { margin: 0; font-size: 0.95rem; }
.footer-links a { color: #121212; text-underline-offset: 3px; }
.footer-social {
  list-style: none;
  display: flex;
  gap: 18px;
  margin: 0;
  padding: 0;
}
.footer-social a {
  color: #121212;
  display: inline-flex;
  padding: 4px;
}

/* ---------- Optional announcement bar (set "announcement" in src/_data/site.json) ---------- */
.announcement {
  margin: 0;
  padding: 12px 24px;
  background: #7FDBC4;
  color: #000;
  text-align: center;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* ---------- UI/UX review preview additions ---------- */
/* Footer: click-to-call, legal separators, larger tap targets */
.footer-contact { margin: 0; font-size: 0.95rem; }
.footer-contact a { color: #121212; text-underline-offset: 3px; }
.footer-links { line-height: 1.8; }
.footer-links a { display: inline-block; padding: 12px 4px; }
.footer-sep { color: #121212; padding: 0 2px; }
.footer-social { margin: 0 -8px; }
.footer-social a { padding: 12px; }

/* Locations: centered hero title on mobile, per-location Directions button */
.page-hero h1 { text-align: center; }
.location-actions { margin: 24px 0 0; }
.location-actions .btn-pill { padding: 16px 40px; font-size: 0.9rem; }
.locations-call { margin: 8px auto 0; font-family: "Jost", "Futura", sans-serif; }
.locations-call a { color: #fff; text-underline-offset: 3px; }
@media (min-width: 900px) {
  .page-hero h1 { text-align: left; }
}

/* Announcement bar link inherits the bar's monochrome-on-mint treatment */
.announcement a { color: #000; text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Pre-order landing (draft) ---------- */
.preorder-hero { padding: 0; }
.preorder-hero img { width: 100%; height: auto; display: block; max-height: 62vh; object-fit: cover; }
.preorder-body {
  max-width: 680px;
  margin: 0 auto;
  padding: 48px 24px 96px;
  text-align: center;
}
.preorder-body h1 { margin: 0 0 8px; }
.preorder-price {
  font-family: "Jost", sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin: 0 0 24px;
}
.preorder-deadline {
  display: inline-block;
  border: 1px solid #fff;
  padding: 12px 24px;
  margin: 0 0 32px;
  font-family: "Jost", sans-serif;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-size: 0.85rem;
}
/* Live countdown / closed message — populated by cat-jar.js (JS-off keeps the
   static "Orders close July 26, 2026" deadline pill above as the fallback). */
.preorder-countdown {
  font-family: "Jost", "Futura", sans-serif;
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 1px;
  margin: 0 0 32px;
  min-height: 1.2em;
  opacity: 0.9;
}
.preorder-countdown:empty { margin: 0; }
.preorder-details {
  list-style: none;
  margin: 0 auto 40px;
  padding: 0;
  max-width: 460px;
  text-align: left;
}
.preorder-details li {
  padding: 14px 0;
  border-top: 1px solid rgba(255,255,255,0.25);
  font-family: "Jost", "Futura", sans-serif;
  font-size: 1.05rem;
  letter-spacing: 0.3px;
}
.preorder-details li:last-child { border-bottom: 1px solid rgba(255,255,255,0.25); }
.preorder-details strong { font-weight: 700; }
.preorder-cta { margin: 8px 0 20px; }
.preorder-detail { margin: 0 auto 40px; max-width: 460px; }
.preorder-detail img { width: 100%; height: auto; display: block; border-radius: 14px; }
/* Front/back photo pair: front on the left, back on the right; stacks on mobile */
.preorder-detail-pair {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 640px;
  margin: 0 auto 40px;
}
.preorder-detail-pair .preorder-detail {
  flex: 1 1 240px;
  min-width: 0;
  margin: 0;
}
.preorder-detail figcaption {
  margin-top: 12px;
  font-family: "Jost", "Futura", sans-serif;
  font-size: 0.9rem;
  letter-spacing: 0.3px;
  opacity: 0.85;
}
.preorder-note { font-size: 0.8rem; opacity: 0.7; max-width: 440px; margin: 0 auto; }
