/* ============================================================
   Morris Cleaners — Organic Dry Cleaner & Tailor Shop, est. 1967
   Typography-forward "claim-ticket" redesign. No photography.
   Palette pulled from the real logo wordmark.
   ============================================================ */

:root {
  --green:  #1F5C3F;   /* wordmark green — primary */
  --green-d:#164630;   /* darker green for hovers */
  --blue:   #1B4C7A;   /* subline blue — secondary */
  --paper:  #F7F5EF;   /* claim-ticket paper background */
  --paper-2:#FBFAF5;   /* slightly lighter card paper */
  --ink:    #181A16;   /* near-black warm ink */
  --ink-2:  #4A4E45;   /* muted ink for secondary text */
  --kraft:  #C9BFA3;   /* kraft / garment-tag hairlines */
  --kraft-d:#B4A882;   /* stronger kraft line */
  --rust:   #B5432E;   /* stamped accent — promo + shaatnez ONLY */
  --rust-d: #8F3423;

  --maxw: 1120px;
  --gap: clamp(1rem, 3vw, 2rem);
  --radius: 6px;

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-mono: "IBM Plex Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;
}

/* ---------- reset-ish ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration-thickness: 1px; text-underline-offset: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.08; margin: 0; font-weight: 600; }
p { margin: 0 0 1rem; }
:focus-visible {
  outline: 3px solid var(--rust);
  outline-offset: 2px;
  border-radius: 2px;
}

/* ---------- utilities ---------- */
.wrap { width: min(100% - 2rem, var(--maxw)); margin-inline: auto; }
.eyebrow {
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--green);
  margin: 0 0 .75rem;
  font-weight: 500;
}
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section--tint { background: var(--paper-2); border-block: 1px solid var(--kraft); }
.section__head { max-width: 46rem; margin-bottom: clamp(1.75rem, 4vw, 2.75rem); }
.section__head h2 {
  font-size: clamp(1.9rem, 5vw, 2.9rem);
  letter-spacing: -.01em;
  color: var(--ink);
}
.section__head p { color: var(--ink-2); margin-top: .5rem; max-width: 40rem; }

/* perforation motif — reused from the ticket hero */
.perf {
  height: 0;
  border: 0;
  border-top: 2px dashed var(--kraft-d);
  margin: 0;
  position: relative;
}

/* ---------- skip link ---------- */
.skip {
  position: absolute; left: .5rem; top: -3rem;
  background: var(--green); color: #fff; padding: .5rem .9rem;
  border-radius: var(--radius); z-index: 200; transition: top .15s;
}
.skip:focus { top: .5rem; }

/* ============================================================
   HEADER / NAV
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: color-mix(in srgb, var(--paper) 92%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--kraft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .7rem 0;
}
.brand {
  display: flex; flex-direction: column; line-height: 1; text-decoration: none;
  gap: .18rem;
}
.brand__name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  letter-spacing: -.01em;
  color: var(--green);
}
.brand__sub {
  font-family: var(--font-mono);
  font-size: .56rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--blue);
}
.nav__links {
  display: flex; align-items: center; gap: 1.35rem;
  list-style: none; margin: 0; padding: 0;
}
.nav__links a {
  color: var(--ink); text-decoration: none; font-size: .93rem; font-weight: 500;
  padding: .3rem 0; border-bottom: 2px solid transparent;
}
.nav__links a:hover { border-bottom-color: var(--green); color: var(--green); }
.nav__cta {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--green); color: #fff !important; text-decoration: none;
  padding: .55rem .95rem; border-radius: var(--radius); font-weight: 600; font-size: .9rem;
  white-space: nowrap;
}
.nav__cta:hover { background: var(--green-d); }
.nav__toggle {
  display: none; background: none; border: 1.5px solid var(--kraft-d);
  border-radius: var(--radius); padding: .5rem .6rem; cursor: pointer;
  color: var(--ink); font-size: .95rem; align-items: center; gap: .4rem;
}

@media (max-width: 860px) {
  .nav__toggle { display: inline-flex; }
  .nav__links {
    position: absolute; inset: 100% 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--kraft);
    padding: .5rem 1rem 1rem;
    box-shadow: 0 12px 24px -18px rgba(0,0,0,.4);
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links li { border-top: 1px solid var(--kraft); }
  .nav__links li:first-child { border-top: 0; }
  .nav__links a { display: block; padding: .8rem .2rem; }
  .nav__links .nav__cta { margin-top: .6rem; justify-content: center; }
  .nav__links li:first-child { border-top: 0; }
}

/* ============================================================
   HERO — the claim-ticket signature
   ============================================================ */
.hero { padding: clamp(2.5rem, 6vw, 4.5rem) 0 clamp(2rem, 5vw, 3.5rem); }
.ticket {
  position: relative;
  background: var(--paper-2);
  border: 1.5px solid var(--kraft-d);
  border-radius: 10px;
  padding: clamp(1.6rem, 5vw, 3.2rem) clamp(1.4rem, 5vw, 3.2rem) clamp(1.8rem, 5vw, 3rem);
  transform: rotate(-1.2deg);
  box-shadow:
    0 1px 0 var(--kraft),
    0 18px 40px -28px rgba(24,26,22,.55);
  /* notched top corners like a torn ticket stub */
  -webkit-mask:
    radial-gradient(circle 11px at 0 22px, transparent 98%, #000) 0 0/100% 100% no-repeat,
    radial-gradient(circle 11px at 100% 22px, transparent 98%, #000) 0 0/100% 100% no-repeat;
  -webkit-mask-composite: source-in;
  mask:
    radial-gradient(circle 11px at 0 22px, transparent 98%, #000),
    radial-gradient(circle 11px at 100% 22px, transparent 98%, #000);
  mask-composite: intersect;
}
.ticket__stamp {
  position: absolute; top: clamp(.8rem,3vw,1.4rem); right: clamp(.8rem,3vw,1.6rem);
  font-family: var(--font-mono); font-weight: 600;
  font-size: clamp(.62rem, 2vw, .74rem); letter-spacing: .12em;
  color: var(--rust);
  border: 2px solid var(--rust); border-radius: 6px;
  padding: .3rem .5rem; transform: rotate(4deg);
  text-align: center; line-height: 1.25; text-transform: uppercase;
}
.ticket__no {
  font-family: var(--font-mono); font-size: .7rem; letter-spacing: .2em;
  color: var(--ink-2); text-transform: uppercase; margin-bottom: 1rem;
}
.ticket h1 {
  font-size: clamp(2.4rem, 8vw, 5rem);
  letter-spacing: -.02em; color: var(--green); font-weight: 800;
  margin-bottom: .35rem;
}
.ticket__tag {
  font-family: var(--font-mono); text-transform: uppercase;
  letter-spacing: .16em; font-size: clamp(.66rem, 2.4vw, .84rem);
  color: var(--blue); margin-bottom: 1.4rem; font-weight: 500;
}
.ticket__perf {
  border: 0; border-top: 2px dashed var(--kraft-d);
  margin: 1.4rem 0; width: 100%;
}
.ticket__lede {
  font-size: clamp(1.05rem, 3vw, 1.3rem);
  color: var(--ink); max-width: 40rem; margin-bottom: 1.6rem;
  line-height: 1.5;
}
.ticket__lede strong { color: var(--green); font-weight: 600; }
.ticket__actions { display: flex; flex-wrap: wrap; gap: .8rem; }
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  font-weight: 600; font-size: .96rem; text-decoration: none;
  padding: .8rem 1.25rem; border-radius: var(--radius);
  border: 2px solid transparent; cursor: pointer;
}
.btn--green { background: var(--green); color: #fff; }
.btn--green:hover { background: var(--green-d); }
.btn--blue { background: var(--paper); color: var(--blue); border-color: var(--blue); }
.btn--blue:hover { background: var(--blue); color: #fff; }
.btn small { font-weight: 400; opacity: .82; font-family: var(--font-mono); font-size: .74rem; letter-spacing: .04em; }

/* ============================================================
   TRUST STRIP
   ============================================================ */
.trust { background: var(--green); color: #fff; }
.trust__row {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: .5rem 1.5rem; padding: 1.1rem 0;
}
.trust__item {
  display: flex; align-items: center; gap: .55rem;
  font-size: .92rem; font-weight: 500;
  justify-content: center; text-align: center;
}
.trust__item svg { flex: none; width: 20px; height: 20px; }
@media (max-width: 720px) {
  .trust__row { grid-template-columns: repeat(2, 1fr); gap: .85rem 1rem; }
  .trust__item { justify-content: flex-start; text-align: left; }
}

/* ============================================================
   SERVICES
   ============================================================ */
.services__grid {
  display: grid; gap: 1rem;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
}
.svc {
  background: var(--paper-2); border: 1px solid var(--kraft);
  border-radius: var(--radius); padding: 1.35rem 1.35rem 1.45rem;
  position: relative;
}
.svc__code {
  font-family: var(--font-mono); font-size: .64rem; letter-spacing: .14em;
  color: var(--kraft-d); text-transform: uppercase; display: block; margin-bottom: .5rem;
}
.svc h3 { font-size: 1.16rem; color: var(--green); margin-bottom: .4rem; letter-spacing: -.005em; }
.svc p { color: var(--ink-2); font-size: .92rem; margin: 0; line-height: 1.5; }
.svc--feature {
  grid-column: span 2; background: #fff;
  border: 1.5px solid var(--rust); border-radius: 8px;
}
.svc--feature h3 { color: var(--rust-d); }
.svc--feature .svc__code { color: var(--rust); }
.svc--feature .svc__price {
  display: inline-block; margin-top: .7rem;
  font-family: var(--font-mono); font-size: .78rem; font-weight: 600;
  color: var(--rust-d); border: 1.5px dashed var(--rust);
  padding: .25rem .55rem; border-radius: 4px; letter-spacing: .04em;
}
@media (max-width: 560px) {
  .svc--feature { grid-column: span 1; }
}

/* ============================================================
   PROMISE
   ============================================================ */
.promise__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(3, 1fr); }
.promise__card {
  background: var(--paper); border: 1px solid var(--kraft);
  border-radius: var(--radius); padding: 1.5rem 1.4rem;
  position: relative; padding-top: 1.9rem;
}
.promise__card::before {
  content: ""; position: absolute; left: 1rem; right: 1rem; top: .9rem;
  border-top: 2px dashed var(--kraft-d);
}
.promise__card h3 { font-size: 1.1rem; color: var(--blue); margin-bottom: .45rem; }
.promise__card p { margin: 0; color: var(--ink-2); font-size: .93rem; }
@media (max-width: 780px) { .promise__grid { grid-template-columns: 1fr; } }

/* ============================================================
   PRICING
   ============================================================ */
.price__note {
  font-size: .86rem; color: var(--ink-2); max-width: 44rem;
  border-left: 3px solid var(--kraft-d); padding-left: .9rem; margin-bottom: 1.75rem;
}
.price__tabs {
  display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.5rem;
}
.price__tab {
  font-family: var(--font-mono); font-size: .78rem; letter-spacing: .05em;
  text-decoration: none; color: var(--green);
  border: 1.5px solid var(--kraft-d); border-radius: 999px;
  padding: .4rem .9rem; background: var(--paper);
  cursor: pointer;
}
.price__tab:hover { background: var(--green); color: #fff; border-color: var(--green); }
.price__tab.is-active { background: var(--green); color: #fff; border-color: var(--green); }

.price__cat { margin-bottom: 2.5rem; scroll-margin-top: 5rem; }
.price__cat:last-child { margin-bottom: 0; }
.price__cat h3 {
  font-size: 1.4rem; color: var(--ink); margin-bottom: 1rem;
  padding-bottom: .5rem; border-bottom: 2px solid var(--green);
  display: flex; align-items: baseline; justify-content: space-between; gap: 1rem;
}
.price__cat h3 span {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .12em;
  color: var(--kraft-d); text-transform: uppercase; font-weight: 400;
}
.price__list { list-style: none; margin: 0; padding: 0; column-gap: 3rem; }
.price__row {
  display: flex; align-items: baseline; gap: .5rem;
  padding: .5rem 0; border-bottom: 1px dotted var(--kraft);
  break-inside: avoid;
}
.price__item { color: var(--ink); font-size: .96rem; }
.price__leader { flex: 1 1 auto; border-bottom: 1px dotted var(--kraft-d); transform: translateY(-.2em); min-width: 1rem; }
.price__cost {
  font-family: var(--font-mono); font-weight: 600; font-size: .92rem;
  color: var(--green); white-space: nowrap;
}
.price__cost--quote { color: var(--blue); font-weight: 500; font-size: .82rem; }
@media (min-width: 720px) {
  .price__list { columns: 2; }
}

/* ============================================================
   REVIEWS
   ============================================================ */
.reviews__grid {
  display: grid; gap: 1.1rem;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.review {
  background: var(--paper-2); border: 1px solid var(--kraft);
  border-radius: var(--radius); padding: 1.5rem 1.4rem 1.3rem; position: relative;
}
.review__mark {
  font-family: var(--font-display); font-size: 3rem; line-height: .5;
  color: var(--kraft-d); position: absolute; top: 1.1rem; right: 1.1rem;
}
.review p { font-size: .98rem; color: var(--ink); margin: 0 0 1rem; }
.review__by {
  font-family: var(--font-mono); font-size: .74rem; letter-spacing: .06em;
  color: var(--green); text-transform: uppercase; margin: 0;
}
.review__role { color: var(--ink-2); text-transform: none; letter-spacing: 0; }

/* ============================================================
   OFFERS — rust stamped tickets
   ============================================================ */
.offers { background: var(--paper-2); border-block: 1px solid var(--kraft); }
.offers__grid { display: grid; gap: 1.25rem; grid-template-columns: repeat(2, 1fr); }
.offer {
  border: 2px dashed var(--rust); border-radius: 8px;
  background: #fff; padding: 1.6rem 1.5rem; position: relative;
}
.offer__label {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--rust); margin-bottom: .6rem;
}
.offer h3 { font-size: 1.25rem; color: var(--ink); margin-bottom: .3rem; }
.offer p { color: var(--ink-2); font-size: .92rem; margin: 0 0 1rem; }
.offer__code {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-mono); font-weight: 600; font-size: 1.05rem;
  color: #fff; background: var(--rust); padding: .5rem .95rem;
  border-radius: 4px; letter-spacing: .05em;
}
.offer__code span { font-size: .64rem; font-weight: 400; letter-spacing: .12em; opacity: .85; }
@media (max-width: 640px) { .offers__grid { grid-template-columns: 1fr; } }

/* ============================================================
   LOCATIONS
   ============================================================ */
.loc__grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(2, 1fr); }
.loc {
  background: var(--paper-2); border: 1px solid var(--kraft);
  border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column;
}
.loc__body { padding: 1.5rem 1.4rem; }
.loc__tag {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .14em;
  text-transform: uppercase; color: var(--blue); margin-bottom: .5rem;
}
.loc h3 { font-size: 1.35rem; color: var(--green); margin-bottom: .6rem; }
.loc dl { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: .35rem .8rem; }
.loc dt {
  font-family: var(--font-mono); font-size: .66rem; letter-spacing: .1em;
  text-transform: uppercase; color: var(--ink-2); padding-top: .15rem;
}
.loc dd { margin: 0; font-size: .95rem; }
.loc dd a { color: var(--green); font-weight: 600; text-decoration: none; }
.loc dd a:hover { text-decoration: underline; }
.loc__map { width: 100%; height: 220px; border: 0; border-top: 1px solid var(--kraft); filter: grayscale(.2); }
.loc__note { font-size: .84rem; color: var(--ink-2); margin: .6rem 0 0; font-style: italic; }
.loc__hours { margin-top: .9rem; padding-top: .9rem; border-top: 1px dotted var(--kraft-d); }
.loc__hours .loc__tag { margin-bottom: .35rem; }
.loc__hours p { margin: 0; font-size: .92rem; }
@media (max-width: 760px) { .loc__grid { grid-template-columns: 1fr; } }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--green); color: #E9EFEA;
  padding: clamp(2.5rem, 6vw, 3.5rem) 0 2rem;
}
.footer__top {
  display: grid; gap: 2rem; grid-template-columns: 1.4fr 1fr 1fr;
  padding-bottom: 2rem; border-bottom: 1px solid rgba(255,255,255,.18);
}
.footer__brand .brand__name { color: #fff; }
.footer__brand .brand__sub { color: #B9D3C2; }
.footer__brand p { margin: 1rem 0 0; font-size: .9rem; color: #C9D8CE; max-width: 26rem; }
.footer__col h4 {
  font-family: var(--font-mono); font-size: .68rem; letter-spacing: .14em;
  text-transform: uppercase; color: #A9C6B6; margin: 0 0 .8rem; font-weight: 500;
}
.footer__col ul { list-style: none; margin: 0; padding: 0; }
.footer__col li { margin-bottom: .5rem; font-size: .92rem; }
.footer__col a { color: #E9EFEA; text-decoration: none; }
.footer__col a:hover { text-decoration: underline; color: #fff; }
.footer__bottom {
  display: flex; flex-wrap: wrap; gap: .6rem 1.5rem; justify-content: space-between;
  padding-top: 1.5rem; font-size: .8rem; color: #A9C6B6;
}
.footer__bottom .brand__sub { font-size: .58rem; }
@media (max-width: 760px) { .footer__top { grid-template-columns: 1fr; gap: 1.5rem; } }

/* ---------- scroll reveal ----------
   Visible by default. Only hidden-then-revealed when JS has confirmed
   motion is OK and adds .js-reveal to <html>. So with JS off, reduced
   motion, or in a non-scrolling capture, all content shows normally. */
.js-reveal .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js-reveal .reveal.is-in { opacity: 1; transform: none; }
