/* Masonic Street Laundromat — modernized stylesheet
   Drop-in companion to index2.html / hours2.html / services2.html / pricing2.html */

:root {
  --bg: #e6eff7;
  --bg-card: #ffffff;
  --ink: #1c1c1c;
  --ink-soft: #4a4a4a;
  --accent: #163a5f;
  --accent-soft: #2d5d8a;
  --gold: #c89b3c;
  --rule: #cfdce8;
  --shadow: 0 10px 30px rgba(22, 58, 95, 0.08), 0 2px 6px rgba(22, 58, 95, 0.04);
  --radius: 14px;
  --maxw: 1100px;
  --font-serif: "Playfair Display", "Sitka Display", Georgia, serif;
  --font-sans: "Inter", "Calibri", "Segoe UI", system-ui, sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color .15s ease;
}
a:hover { color: var(--gold); }

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

/* ---------- Header / Nav ---------- */

.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: saturate(140%) blur(6px);
}

.site-header__inner {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: nowrap;
  position: relative;
}

.brand {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 22px;
  letter-spacing: .02em;
  color: var(--accent);
  text-transform: uppercase;
  text-decoration: none;
}
a.brand:hover { color: var(--accent); }
.brand span { color: var(--accent); }

.nav {
  display: flex;
  gap: 28px;
  flex-wrap: nowrap;
  white-space: nowrap;
}
.nav a {
  font-weight: 600;
  font-size: 15px;
  letter-spacing: .03em;
  color: var(--ink);
  position: relative;
  padding: 4px 0;
}
.nav a.is-active,
.nav a:hover {
  color: var(--accent);
}
.nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: -6px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: 0;
  padding: 8px;
  margin: 0;
  cursor: pointer;
}
.nav-toggle__bar {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--accent);
  margin: 6px 0;
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s 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);
}

@media (max-width: 1180px) {
  .site-header__inner { gap: 18px; }
  .nav { gap: 20px; }
  .nav a { font-size: 14px; }
  .brand { font-size: 20px; }
}

@media (max-width: 900px) {
  .site-header__inner { gap: 14px; }
  .nav { gap: 14px; }
  .nav a { font-size: 13px; }
  .brand { font-size: 18px; }
}

@media (max-width: 720px) {
  .site-header__inner { padding: 14px 20px; }
  .nav-toggle { display: block; }
  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--rule);
    flex-direction: column;
    flex-wrap: nowrap;
    white-space: normal;
    gap: 4px;
    padding: 10px 20px 16px;
    box-shadow: var(--shadow);
  }
  .nav.is-open { display: flex; }
  .nav a {
    padding: 12px 4px;
    font-size: 16px;
  }
  .nav a.is-active::after { display: none; }
  .nav a.is-active { color: var(--accent); }
  .brand { font-size: 20px; }
}

/* ---------- Lightbox ---------- */

.gallery img,
.card img { cursor: zoom-in; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 24px;
  animation: lightbox-fade .15s ease-out;
}
.lightbox[hidden] { display: none; }
.lightbox__img {
  max-width: 95vw;
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.lightbox__close {
  position: absolute;
  top: 16px;
  right: 22px;
  background: transparent;
  border: 0;
  color: #fff;
  font-size: 38px;
  line-height: 1;
  cursor: pointer;
  padding: 4px 12px;
}
.lightbox__close:hover { color: var(--gold); }

@keyframes lightbox-fade {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ---------- Hero ---------- */

.hero {
  max-width: var(--maxw);
  margin: 56px auto 32px;
  padding: 0 24px;
  text-align: center;
}
.hero__eyebrow {
  font-size: 13px;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 14px;
}
.hero h1 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(36px, 6vw, 60px);
  line-height: 1.05;
  color: var(--accent);
  margin: 0 0 18px;
  letter-spacing: -.01em;
}
.hero p.lede {
  max-width: 720px;
  margin: 0 auto;
  font-size: 18px;
  color: var(--ink-soft);
}

/* ---------- Gallery ---------- */

.gallery {
  max-width: var(--maxw);
  margin: 40px auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.gallery figure {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--bg-card);
  aspect-ratio: 4 / 3;
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.gallery figure:hover img { transform: scale(1.04); }

@media (max-width: 720px) {
  .gallery { grid-template-columns: 1fr; }
}

/* ---------- Sections ---------- */

.section {
  max-width: var(--maxw);
  margin: 56px auto;
  padding: 0 24px;
}
.section h2 {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(26px, 3.4vw, 36px);
  color: var(--accent);
  margin: 0 0 12px;
  text-align: center;
}
.section .section__sub {
  text-align: center;
  color: var(--ink-soft);
  max-width: 680px;
  margin: 0 auto 36px;
}

/* ---------- Feature cards ---------- */

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}
.card {
  background: var(--bg-card);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow);
  border: 1px solid var(--rule);
}
.card h3 {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--accent);
  margin: 0 0 10px;
}
.card p { margin: 0; color: var(--ink-soft); }
.card .badge {
  display: inline-block;
  font-size: 11px;
  letter-spacing: .2em;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 8px;
}

/* ---------- Info band (bullets / facts) ---------- */

.facts {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow);
}
.facts ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px 30px;
}
.facts li {
  position: relative;
  padding-left: 26px;
  color: var(--ink);
}
.facts li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}
.facts strong { color: var(--accent); }

/* ---------- Pricing table ---------- */

.price-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 22px;
}
.price {
  background: var(--bg-card);
  border: 1px solid var(--rule);
  border-radius: var(--radius);
  padding: 30px 26px;
  text-align: center;
  box-shadow: var(--shadow);
}
.price__label {
  font-size: 13px;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--ink-soft);
  font-weight: 600;
}
.price__amount {
  font-family: var(--font-serif);
  font-size: 44px;
  color: var(--accent);
  margin: 10px 0 6px;
  font-weight: 700;
}
.price__unit {
  font-size: 14px;
  color: var(--ink-soft);
}
.price__note {
  margin-top: 12px;
  font-size: 14px;
  color: var(--ink-soft);
}
.price--feature {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.price--feature .price__label,
.price--feature .price__amount,
.price--feature .price__unit,
.price--feature .price__note { color: #fff; }
.price--feature .price__note { opacity: .85; }

/* ---------- Contact strip ---------- */

.contact {
  background: var(--accent);
  color: #fff;
  border-radius: var(--radius);
  padding: 40px 36px;
  text-align: center;
}
.contact h2 { color: #fff; margin-top: 0; }
.contact a { color: #fff; text-decoration: underline; }
.contact a:hover { color: var(--gold); }

/* ---------- Footer ---------- */

.site-footer {
  border-top: 1px solid var(--rule);
  margin-top: 80px;
  padding: 28px 24px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
}
.site-footer .brand { font-size: 16px; }

/* ---------- Utility ---------- */

.center { text-align: center; }
.mt-0 { margin-top: 0; }
em.tag {
  font-style: normal;
  font-weight: 700;
  color: var(--accent);
}
