/* Mina's Laundry and Dry Cleaning — v1.1 revised 2026-07-17 */

/* ---------- Tokens ---------- */
:root {
  --ink: #12261E;
  --forest: #1B4332;
  --forest-mid: #2D6A4F;
  --mint: #8FE3B8;
  --mint-soft: #E4F8ED;
  --cream: #F5FAF7;
  --sunshine: #F2B705;
  --white: #FFFFFF;

  --font-display: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Work Sans', system-ui, sans-serif;

  --space-1: 0.5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
  --space-6: 6rem;

  --radius-card: 1.25rem;
  --shadow-soft: 0 20px 40px -24px rgba(27, 67, 50, 0.35);
  --max-width: 72rem;
}

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

html, body { overflow-x: hidden; }

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

img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.15; margin: 0 0 var(--space-2); color: var(--forest); }
h1 { font-size: clamp(2.1rem, 5vw + 1rem, 3.4rem); font-weight: 600; }
h2 { font-size: clamp(1.7rem, 3vw + 1rem, 2.4rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 var(--space-2); }
a { color: var(--forest-mid); }
ul, ol { margin: 0; padding: 0; list-style: none; }

.wrap { max-width: var(--max-width); margin: 0 auto; padding: 0 var(--space-3); }

.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: 0; top: -3rem; background: var(--forest); color: var(--white);
  padding: 0.75rem 1.25rem; z-index: 100; transition: top 0.2s ease; border-radius: 0 0 0.5rem 0;
}
.skip-link:focus { top: 0; }

:focus-visible {
  outline: 3px solid var(--sunshine);
  outline-offset: 2px;
}

.eyebrow {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--forest-mid);
  font-weight: 600;
  margin: 0 0 var(--space-1);
}

.section-lede { max-width: 40rem; color: #3C5548; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.85rem 1.6rem;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
  font-size: 1rem;
}
.btn:hover { transform: translateY(-2px); }
.btn--forest { background: var(--forest); color: var(--white); }
.btn--forest:hover { box-shadow: var(--shadow-soft); }
.btn--outline { background: transparent; color: var(--forest); border-color: var(--forest); }
.btn--outline:hover { background: var(--forest); color: var(--white); }
.btn--mint { background: var(--mint); color: var(--forest); }
.btn--small { padding: 0.6rem 1.2rem; font-size: 0.9rem; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27, 67, 50, 0.08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  padding-top: var(--space-2);
  padding-bottom: var(--space-2);
}
.brand { display: flex; align-items: center; gap: 0.75rem; text-decoration: none; }
.brand__mark {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: contain; background: var(--white); box-shadow: var(--shadow-soft);
}
.brand__text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
  font-size: 1.05rem;
  line-height: 1.2;
}
.brand__text em { color: var(--forest-mid); font-style: normal; }

.nav-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 2px solid var(--forest);
  border-radius: 0.6rem;
  padding: 0.6rem;
  cursor: pointer;
}
.nav-toggle__bar { width: 22px; height: 2px; background: var(--forest); border-radius: 2px; }

.primary-nav {
  position: fixed;
  inset: 0 0 0 30%;
  background: var(--forest);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-4);
  padding: var(--space-5) var(--space-4);
  transform: translateX(100%);
  transition: transform 0.3s ease;
}
.primary-nav.is-open { transform: translateX(0); }
.primary-nav ul { display: flex; flex-direction: column; gap: var(--space-2); }
.primary-nav a {
  color: var(--white);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 500;
}
.primary-nav a:hover { color: var(--mint); }
.primary-nav .btn--mint { align-self: flex-start; }

@media (min-width: 62rem) {
  .nav-toggle { display: none; }
  .primary-nav {
    position: static;
    inset: auto;
    background: transparent;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: var(--space-4);
    transform: none;
  }
  .primary-nav ul { flex-direction: row; gap: var(--space-3); }
  .primary-nav a { color: var(--forest); font-size: 1rem; }
  .primary-nav a:hover { color: var(--forest-mid); }
}

/* ---------- Blob signature element ---------- */
.blob-frame {
  border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  background: var(--mint-soft);
}
.blob-frame img { width: 100%; height: 100%; object-fit: cover; }
.blob-frame--1 { border-radius: 62% 38% 55% 45% / 45% 55% 45% 55%; }
.blob-frame--2 { border-radius: 45% 55% 62% 38% / 55% 45% 55% 45%; }
.blob-frame--3 { border-radius: 55% 45% 40% 60% / 40% 60% 40% 60%; }

.bubble {
  position: absolute;
  border-radius: 50%;
  background: var(--mint);
  opacity: 0.55;
}
@media (prefers-reduced-motion: no-preference) {
  .bubble { animation: float 6s ease-in-out infinite; }
}
.bubble--a { width: 70px; height: 70px; top: 6%; right: 8%; animation-delay: 0s; }
.bubble--b { width: 40px; height: 40px; bottom: 12%; left: 2%; background: var(--sunshine); opacity: 0.4; animation-delay: 1.2s; }
.bubble--c { width: 26px; height: 26px; top: 45%; right: -2%; animation-delay: 2.4s; }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* ---------- Reveal animation ----------
   Content is visible by default. JS opts elements into the hidden/animated
   state via .js-reveal on <html> so a JS failure never hides real content. */
.reveal { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .js-reveal .reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  .js-reveal .reveal.is-visible { opacity: 1; transform: none; }
}

/* ---------- Hero ---------- */
.hero { padding: var(--space-6) 0 var(--space-5); background: linear-gradient(180deg, var(--mint-soft) 0%, var(--white) 100%); }
.hero__grid { display: grid; gap: var(--space-5); align-items: center; }
.hero__lede { font-size: 1.1rem; color: #3C5548; max-width: 34rem; }
.hero__actions { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: var(--space-3) 0; }
.hero__hours { font-family: var(--font-display); color: var(--forest-mid); }
.hero__art { position: relative; max-width: 22rem; margin: 0 auto; }
.hero__art .blob-frame { aspect-ratio: 1 / 1; }

@media (min-width: 62rem) {
  .hero__grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero__art { margin: 0; }
}

/* ---------- About ---------- */
.about { padding: var(--space-5) 0; }
.about__grid { display: grid; gap: var(--space-4); }
.fact-strip {
  display: grid;
  gap: var(--space-2);
  background: var(--cream);
  border-radius: var(--radius-card);
  padding: var(--space-3);
}
.fact-strip li { display: flex; flex-direction: column; gap: 0.2rem; }
.fact-strip__label { font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--forest-mid); }
.fact-strip__value { font-weight: 600; }
.fact-strip__value a { text-decoration: none; color: var(--forest); }

@media (min-width: 48rem) {
  .about__grid { grid-template-columns: 1.4fr 1fr; align-items: start; }
}

/* ---------- Services / clothesline ---------- */
.services { padding: var(--space-5) 0; background: var(--forest); color: var(--white); }
.services h2 { color: var(--white); }
.services .eyebrow { color: var(--mint); }

.clothesline {
  position: relative;
  margin-top: var(--space-5);
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}
.clothesline::before {
  content: "";
  position: absolute;
  left: 14px;
  top: 0;
  bottom: 0;
  width: 2px;
  background-image: linear-gradient(var(--mint) 60%, transparent 0%);
  background-size: 2px 14px;
  background-repeat: repeat-y;
  opacity: 0.6;
}
.clothesline__item { position: relative; padding-left: var(--space-4); }
.clothesline__peg {
  position: absolute;
  left: 6px;
  top: 0.4rem;
  width: 18px;
  height: 18px;
  background: var(--sunshine);
  border-radius: 40% 60% 60% 40% / 50% 50% 50% 50%;
  box-shadow: 0 0 0 4px var(--forest);
}
.clothesline__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-card);
  padding: var(--space-3);
}
.clothesline__card h3 { color: var(--mint); display: flex; align-items: center; gap: 0.5rem; }
.clothesline__card p { color: rgba(255,255,255,0.82); margin: 0 0 var(--space-1); }

.chip-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: var(--space-1) 0 0; }
.chip {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.18);
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 500;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
}

@media (min-width: 48rem) {
  .clothesline { max-width: 42rem; margin: var(--space-5) auto 0; }
  .clothesline__item--right { margin-left: var(--space-4); }
}

/* ---------- Gallery ---------- */
.gallery { padding: var(--space-5) 0; background: var(--cream); }
.gallery-grid {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
  grid-template-columns: repeat(2, 1fr);
}
.gallery-grid__item { margin: 0; }
.gallery-grid__item .blob-frame { aspect-ratio: 3 / 4; margin-bottom: var(--space-1); }
.gallery-grid__item figcaption { font-size: 0.9rem; font-weight: 600; color: var(--forest); text-align: center; }

.gallery-trigger {
  all: unset;
  display: block;
  width: 100%;
  height: 100%;
  cursor: zoom-in;
}
.gallery-trigger img { width: 100%; height: 100%; object-fit: cover; }
.gallery-trigger:focus-visible { outline: 3px solid var(--sunshine); outline-offset: 3px; }

@media (min-width: 48rem) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 62rem) {
  .gallery-grid { grid-template-columns: repeat(4, 1fr); }
}

/* ---------- Reels ---------- */
.reels { padding: var(--space-5) 0; }
.reels-row {
  margin-top: var(--space-4);
  display: flex;
  gap: var(--space-3);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding-bottom: var(--space-2);
}
.reels-row__item {
  flex: 0 0 auto;
  scroll-snap-align: start;
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.reels-row__item iframe { display: block; }
.fb-reel-frame { border: none; overflow: hidden; }

/* ---------- Reviews ---------- */
.reviews { padding: var(--space-5) 0; background: var(--mint-soft); }
.review-grid {
  margin-top: var(--space-4);
  display: grid;
  gap: var(--space-3);
}
.review-card {
  background: var(--white);
  border-radius: var(--radius-card);
  padding: var(--space-3);
  box-shadow: var(--shadow-soft);
  position: relative;
}
.review-card--b { transform: rotate(1deg); }
.review-card--c { transform: rotate(-1deg); }
.review-card__tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--sunshine);
  color: var(--ink);
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  margin-bottom: var(--space-1);
}
.review-card__stars { color: var(--forest-mid); letter-spacing: 0.15em; margin: 0 0 0.5rem; }
.review-card__photo { aspect-ratio: 4 / 3; margin-bottom: var(--space-2); }
.review-card__meta { color: var(--forest-mid); font-size: 0.85rem; margin: 0.4rem 0 0; }

@media (min-width: 48rem) {
  .review-grid { grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); }
}

/* ---------- Contact ---------- */
.contact { padding: var(--space-5) 0 var(--space-6); }
.contact__grid { display: grid; gap: var(--space-4); }
.contact-list { display: flex; flex-direction: column; gap: var(--space-2); margin: var(--space-3) 0; }
.contact-list__label { display: block; font-family: var(--font-display); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--forest-mid); }
.contact-list__value { font-weight: 500; }
.contact-list__value a { color: var(--forest); }
.contact__map { border-radius: var(--radius-card); overflow: hidden; box-shadow: var(--shadow-soft); }
.contact__map iframe { width: 100%; }
.map-frame { border: 0; }

@media (min-width: 62rem) {
  .contact__grid { grid-template-columns: 1fr 1fr; align-items: center; }
}

/* ---------- Footer ---------- */
.site-footer { background: var(--forest); color: rgba(255,255,255,0.85); padding: var(--space-4) 0 var(--space-2); }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid rgba(255,255,255,0.15);
}
.site-footer__brand { display: flex; align-items: center; gap: 0.75rem; }
.site-footer__brand img { width: 40px; height: 40px; border-radius: 50%; object-fit: contain; background: var(--white); }
.site-footer__name { font-family: var(--font-display); color: var(--white); font-weight: 600; margin: 0; }
.site-footer__tagline { margin: 0; color: var(--mint); font-size: 0.9rem; }
.site-footer__links { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.site-footer__links a { color: rgba(255,255,255,0.85); text-decoration: none; font-size: 0.9rem; }
.site-footer__links a:hover { color: var(--mint); }
.social-icon { color: var(--white); align-self: flex-start; }
.social-icon:hover { color: var(--mint); }
.site-footer__bottom { padding-top: var(--space-2); font-size: 0.85rem; display: flex; flex-direction: column; gap: 0.3rem; }
.site-footer__bottom a { color: var(--mint); }

@media (min-width: 48rem) {
  .site-footer__inner { flex-direction: row; align-items: center; justify-content: space-between; }
}

/* ---------- Error / legal pages ---------- */
.error-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--mint-soft) 0%, var(--white) 100%);
}
.error-page__inner { text-align: center; padding: var(--space-6) var(--space-3); }
.error-page__mark { width: 140px; height: 140px; margin: 0 auto var(--space-3); background: var(--white); }
.error-page__mark img { object-fit: contain; }
.error-page h1 { max-width: 32rem; margin-left: auto; margin-right: auto; }
.error-page p { max-width: 30rem; margin-left: auto; margin-right: auto; }
.error-page .btn { margin-top: var(--space-2); }

.legal-page { padding: var(--space-5) 0 var(--space-6); }
.legal-page__inner { max-width: 46rem; margin: 0 auto; padding: 0 var(--space-3); }
.legal-page h2 { margin-top: var(--space-4); }
.legal-page ul { list-style: disc; padding-left: 1.4rem; margin-bottom: var(--space-2); }
.legal-page li { margin-bottom: 0.4rem; }
.legal-page .updated { color: var(--forest-mid); font-weight: 600; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.lightbox[hidden] { display: none; }
.lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 30, 0.85);
}
.lightbox__dialog {
  position: relative;
  max-width: min(90vw, 40rem);
  max-height: 90vh;
  background: var(--white);
  border-radius: var(--radius-card);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}
.lightbox__img {
  width: 100%;
  max-height: 75vh;
  object-fit: contain;
  background: var(--cream);
}
.lightbox__caption {
  margin: 0;
  padding: var(--space-2) var(--space-3);
  font-weight: 600;
  color: var(--forest);
}
.lightbox__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: var(--forest);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox__close:hover { background: var(--forest-mid); }

body.lightbox-open { overflow-y: hidden; }

/* ---------- Call picker ---------- */
.call-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-3);
}
.call-modal[hidden] { display: none; }
.call-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 38, 30, 0.85);
}
.call-modal__dialog {
  position: relative;
  width: min(90vw, 24rem);
  background: var(--white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-soft);
  padding: var(--space-4) var(--space-3) var(--space-3);
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
}
.call-modal__title {
  margin: 0 0 var(--space-1);
  text-align: center;
  font-size: 1.15rem;
}
.call-modal__option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-2);
  text-decoration: none;
  background: var(--cream);
  border: 1px solid rgba(27, 67, 50, 0.1);
  border-radius: var(--radius-card);
  padding: var(--space-2) var(--space-3);
  transition: background 0.15s ease, transform 0.15s ease;
}
.call-modal__option:hover { background: var(--mint-soft); transform: translateY(-1px); }
.call-modal__option-label {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--forest);
}
.call-modal__option-number { color: var(--forest-mid); font-weight: 500; }
.call-modal__close {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  border: none;
  background: var(--forest);
  color: var(--white);
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}
.call-modal__close:hover { background: var(--forest-mid); }

body.call-modal-open { overflow-y: hidden; }

/* ---------- Messenger floating button ---------- */
.messenger-fab {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 90;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--forest);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  transition: transform 0.15s ease, background 0.15s ease;
}
.messenger-fab:hover { background: var(--forest-mid); transform: translateY(-3px); }
.messenger-fab:focus-visible { outline: 3px solid var(--sunshine); outline-offset: 3px; }

@media (min-width: 48rem) {
  .messenger-fab { right: 2rem; bottom: 2rem; }
}
