/* George’s Dry Cleaning & Tailoring — concept redesign
   Idea: the cleaner's claim ticket. The yellow perforated tag in the hero
   tells you, live, whether the shop is open right now. A stitched seam
   (dashed thread line) marks section breaks. */

:root {
  --shirt: #FCFCFB;      /* pressed-shirt white */
  --mist: #EEF1F5;       /* cool garment-bag tint */
  --navy: #1E2A4A;       /* suit navy, primary */
  --navy-2: #2C3B63;
  --tag: #F4D35E;        /* claim-ticket yellow, accent */
  --thread: #B8392F;     /* stitch red, tiny details only */
  --leaf: #2F6B4F;       /* organic band */
  --ink: #171A22;
  --muted: #535B6B;      /* 6.6:1 on shirt */
  --line: #D9DDE5;

  --f-head: "Bricolage Grotesque", "Avenir Next", "Segoe UI", system-ui, sans-serif;
  --f-body: "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --s--1: clamp(.9rem, .87rem + .1vw, .95rem);
  --s-0: clamp(1.02rem, .98rem + .2vw, 1.12rem);
  --s-1: clamp(1.2rem, 1.1rem + .4vw, 1.4rem);
  --s-2: clamp(1.5rem, 1.25rem + 1vw, 2rem);
  --s-3: clamp(2.2rem, 1.6rem + 2.4vw, 3.5rem);
  --s-hero: clamp(2.7rem, 1.5rem + 5vw, 5.4rem);

  --wrap: 1220px;
  --gutter: clamp(1.25rem, 4vw, 2.5rem);
  --section: clamp(4rem, 8vw, 7rem);
  --r: 10px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; background: var(--shirt); color: var(--ink); font-family: var(--f-body); font-size: var(--s-0); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, p, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; }
address { font-style: normal; }
h1, h2, h3 { font-family: var(--f-head); line-height: 1.02; letter-spacing: -.02em; }
h2 { font-size: var(--s-3); font-weight: 750; }
h3 { font-size: var(--s-2); font-weight: 700; }

:focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; box-shadow: 0 0 0 6px var(--tag); }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--tag); padding: .75rem 1rem; font-weight: 700; }
.skip:focus { top: 1rem; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.ph { background-color: var(--mist); }
.ph.has-img { background-size: cover; background-position: center; background-repeat: no-repeat; }

/* Stitched seam divider */
.section + .section, .organic + .section, .section + .organic { position: relative; }
.section::before {
  content: ""; position: absolute; left: var(--gutter); right: var(--gutter); top: 0; height: 2px;
  background: repeating-linear-gradient(90deg, var(--thread) 0 10px, transparent 10px 18px);
  opacity: .55;
}
.section { position: relative; }
#services::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: .7rem 1.35rem;
  font-family: var(--f-head); font-weight: 650; font-size: 1rem; line-height: 1.2; text-decoration: none;
  border: 2px solid transparent; border-radius: 999px; cursor: pointer; transition: background-color .15s, color .15s, border-color .15s;
}
.btn { white-space: nowrap; }
.btn--lg { min-height: 56px; padding: .9rem 1.8rem; font-size: 1.08rem; }
.btn--navy { background: var(--navy); color: var(--shirt); }
.btn--navy:hover { background: var(--navy-2); }
.btn--line { border-color: var(--navy); color: var(--navy); }
.btn--line:hover { background: var(--navy); color: var(--shirt); }

/* ---------- Promo ---------- */
.promo { background: var(--tag); color: var(--ink); font-size: var(--s--1); font-weight: 700; }
.promo-inner { display: flex; justify-content: space-between; gap: .25rem 1.5rem; flex-wrap: wrap; padding-block: .55rem; }
.promo-gift { font-weight: 400; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--shirt); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 76px; }
.wordmark { display: inline-flex; flex-direction: column; text-decoration: none; color: var(--navy); line-height: 1; }
.wordmark-name {
  font-family: var(--f-head); font-weight: 800; font-size: 1.75rem; letter-spacing: -.03em;
  padding-bottom: .3rem;
  background: repeating-linear-gradient(90deg, var(--thread) 0 6px, transparent 6px 10px) left bottom / 100% 2px no-repeat;
}
.wordmark-sub { white-space: nowrap; font-size: .8rem; font-weight: 700; color: var(--muted); margin-top: .35rem; }

.site-nav { display: flex; align-items: center; gap: 1.6rem; }
.site-nav ul { display: flex; gap: 1.4rem; }
.site-nav ul a { white-space: nowrap; font-weight: 700; text-decoration: none; padding: .5rem 0; border-bottom: 2px solid transparent; }
.site-nav ul a:hover { border-bottom-color: var(--tag); }
.nav-phone { font-weight: 700; color: var(--navy); text-decoration: none; white-space: nowrap; }

.nav-toggle { display: none; position: relative; width: 48px; height: 48px; background: none; border: 2px solid var(--navy); border-radius: 999px; color: var(--navy); cursor: pointer; }
.bars, .bars::before, .bars::after { position: absolute; left: 11px; width: 22px; height: 2px; background: currentColor; transition: transform .2s, top .2s; }
.bars { top: 21px; } .bars::before, .bars::after { content: ""; left: 0; }
.bars::before { top: -7px; } .bars::after { top: 7px; }
.nav-toggle[aria-expanded="true"] .bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .bars::before { top: 0; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .bars::after { top: 0; transform: rotate(-45deg); }
@media (max-width: 1080px) {
  .nav-toggle { display: block; }
  .site-nav { display: none; position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--shirt); border-bottom: 1px solid var(--line); padding: .5rem var(--gutter) 1.5rem; }
  .site-nav.is-open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 0; }
  .site-nav ul a { display: flex; align-items: center; min-height: 54px; border-bottom: 1px solid var(--line); font-family: var(--f-head); font-size: 1.35rem; }
  .nav-phone { display: flex; align-items: center; min-height: 54px; font-size: 1.15rem; }
  .site-nav .btn { margin-top: .5rem; }
}

/* ---------- Hero ---------- */
.hero { padding-block: clamp(2.5rem, 6vw, 5rem) var(--section); background: var(--shirt); }
.hero-grid { display: grid; gap: clamp(3rem, 6vw, 5rem); align-items: center; }
@media (min-width: 900px) { .hero-grid { grid-template-columns: 1.1fr 1fr; } }
.hero-where { font-weight: 700; color: var(--muted); margin-bottom: 1rem; display: flex; align-items: center; gap: .6rem; }
.hero-where::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--thread); }
.hero h1 { font-size: var(--s-hero); font-weight: 800; color: var(--navy); max-width: 13ch; line-height: .98; letter-spacing: -.035em; }
.hero-lede { margin-top: 1.5rem; font-size: var(--s-1); line-height: 1.5; color: var(--muted); max-width: 33rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 2rem; }

.hero-art { position: relative; padding-bottom: 2.5rem; }
.hero-img { aspect-ratio: 4 / 5; width: 100%; border-radius: var(--r); }

/* The claim ticket */
.ticket {
  position: absolute; left: clamp(-1rem, -3vw, -2.5rem); bottom: 0;
  width: min(270px, 72%);
  display: grid; gap: .2rem;
  padding: 1.1rem 1.25rem 1.1rem 3rem;
  background: var(--tag); color: var(--ink); text-decoration: none;
  transform: rotate(-4deg);
  box-shadow: 0 10px 22px -12px rgba(23,26,34,.45);
  /* perforated left edge + punch hole */
  -webkit-mask:
    radial-gradient(circle 7px at 18px 22px, transparent 98%, #000) top left / 100% 100% no-repeat,
    radial-gradient(circle 4px at 0 8px, transparent 98%, #000) left / 100% 16px repeat-y;
  -webkit-mask-composite: source-in; mask-composite: intersect;
  mask:
    radial-gradient(circle 7px at 18px 22px, transparent 98%, #000) top left / 100% 100% no-repeat,
    radial-gradient(circle 4px at 0 8px, transparent 98%, #000) left / 100% 16px repeat-y;
  transition: transform .25s ease;
}
.ticket::before { content: ""; position: absolute; left: 12px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--shirt); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.ticket::after { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(23,26,34,.25); }
.ticket:hover { transform: rotate(-2deg) translateY(-3px); }
.ticket-no { font-family: var(--f-head); font-weight: 700; font-size: .78rem; color: var(--thread); font-variant-numeric: tabular-nums; justify-self: end; margin-top: -.3rem; }
.ticket-label { font-weight: 700; font-size: .9rem; }
.ticket-status { font-family: var(--f-head); font-weight: 800; font-size: 1.45rem; line-height: 1.1; }
.ticket-sub { font-size: .9rem; text-decoration: underline; text-underline-offset: 3px; }
.ticket.is-open .ticket-status::before { content: ""; display: inline-block; width: 11px; height: 11px; border-radius: 50%; background: var(--leaf); margin-right: .45rem; vertical-align: .12em; }
@media (max-width: 899px) { .ticket { left: auto; right: -.25rem; } }

/* ---------- Section ---------- */
.section { padding-block: var(--section); }
.section--soft { background: var(--mist); }
.section-head { margin-bottom: clamp(2rem, 4vw, 3rem); max-width: 40rem; }
.section-head h2 { color: var(--navy); }
.section-head p { margin-top: .9rem; color: var(--muted); font-size: var(--s-1); }
.fine { font-size: var(--s--1); color: var(--muted); }

/* ---------- Services ---------- */
.services { display: grid; gap: clamp(1.25rem, 2.5vw, 2rem); }
@media (min-width: 760px) { .services { grid-template-columns: 1fr 1fr; } .service--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; align-items: center; } }
.service { background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.service-img { aspect-ratio: 16 / 10; }
.service--wide .service-img { aspect-ratio: 16 / 9; height: 100%; }
.service-body { padding: clamp(1.25rem, 2.5vw, 2rem); }
.service-body h3 { color: var(--navy); margin-bottom: .6rem; }
.service-body > p { color: var(--muted); }
.ticks { margin-top: 1rem; display: grid; gap: .45rem; }
.ticks li { display: flex; gap: .65rem; align-items: baseline; font-weight: 700; }
.ticks li::before { content: ""; flex: none; width: 14px; height: 2px; background: var(--thread); transform: translateY(-.25em); }

/* ---------- Organic ---------- */
.organic { background: var(--leaf); color: #F3F7F4; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.organic-inner { display: grid; gap: 1.5rem 4rem; }
@media (min-width: 900px) { .organic-inner { grid-template-columns: 1fr 1fr; align-items: center; } }
.organic h2 { font-size: clamp(2.4rem, 1.6rem + 3.4vw, 4.4rem); }
.organic-copy p { font-size: var(--s-1); line-height: 1.5; color: rgba(243,247,244,.9); }
.organic-copy p + p { margin-top: 1rem; font-size: var(--s-0); }

/* ---------- Pickup ---------- */
.pickup-grid { display: grid; gap: 3rem; align-items: start; }
@media (min-width: 960px) { .pickup-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.pickup-img { aspect-ratio: 16 / 9; border-radius: var(--r); margin-bottom: 2rem; }
.pickup-copy h2 { color: var(--navy); }
.pickup-copy > p { margin-top: 1rem; color: var(--muted); font-size: var(--s-1); }
.towns { display: flex; gap: .6rem; margin: 1.5rem 0 .9rem; }
.towns li { padding: .55rem 1.1rem; background: var(--navy); color: var(--shirt); border-radius: 999px; font-weight: 700; }
.steps { margin-top: 2rem; counter-reset: s; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { counter-increment: s; display: grid; grid-template-columns: 2.5rem 1fr; column-gap: .75rem; padding: 1rem 0; border-bottom: 1px solid var(--line); }
.steps li::before { content: counter(s); grid-row: span 2; font-family: var(--f-head); font-weight: 800; font-size: 1.6rem; color: var(--navy); line-height: 1.1; }
.steps strong { font-family: var(--f-head); font-size: 1.1rem; }
.steps span { color: var(--muted); }

.schedule { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.5rem); position: relative; }
.schedule::before { content: ""; position: absolute; top: -10px; left: 2rem; width: 64px; height: 20px; background: var(--tag); border-radius: 3px; transform: rotate(-3deg); }
.schedule h3 { color: var(--navy); font-size: var(--s-2); }
.schedule-sub { color: var(--muted); margin: .4rem 0 1.5rem; }
.form { display: grid; gap: 1rem 1.1rem; }
@media (min-width: 560px) { .form { grid-template-columns: 1fr 1fr; } .field--full, .form-error, .form .btn, .form-status { grid-column: 1 / -1; } }
.field { display: flex; flex-direction: column; gap: .35rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 700; font-size: .95rem; }
.field legend { margin-bottom: .5rem; }
.field input, .field select, .field textarea { width: 100%; min-height: 50px; padding: .7rem .9rem; font: inherit; font-size: 1rem; color: var(--ink); background: var(--shirt); border: 1.5px solid var(--line); border-radius: 8px; }
.field textarea { resize: vertical; min-height: 100px; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { box-shadow: none; outline: 3px solid var(--navy); outline-offset: 1px; }
.field [aria-invalid="true"] { border-color: var(--thread); }
.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chips label { display: inline-flex; align-items: center; gap: .5rem; min-height: 46px; padding: .4rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; cursor: pointer; font-weight: 700; font-size: .95rem; background: var(--shirt); }
.chips label:has(input:checked) { background: var(--tag); border-color: var(--ink); }
.chips input { width: 18px; height: 18px; margin: 0; accent-color: var(--navy); }
.form .btn { width: 100%; }
.form-error { background: #F8E1DE; color: #6E1D16; padding: .75rem 1rem; border-radius: 8px; font-weight: 700; }
.form-status { font-weight: 700; color: var(--leaf); }
.form-status:empty { display: none; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: clamp(2rem, 5vw, 4.5rem); align-items: center; }
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1.1fr; } }
.about-img { aspect-ratio: 5 / 4; border-radius: var(--r); }
.about-copy h2 { color: var(--navy); margin-bottom: 1.25rem; }
.about-copy p { color: var(--muted); font-size: var(--s-1); line-height: 1.55; max-width: 36rem; }
.about-copy p + p { margin-top: 1rem; font-size: var(--s-0); }

/* ---------- Visit ---------- */
.visit { background: var(--navy); color: var(--shirt); }
.visit::before { background: repeating-linear-gradient(90deg, var(--tag) 0 10px, transparent 10px 18px); opacity: .8; }
.visit-grid { display: grid; gap: 3rem; }
@media (min-width: 900px) { .visit-grid { grid-template-columns: 1.1fr 1fr; gap: 5rem; } }
.visit h2 { margin-bottom: 1.25rem; }
.visit-addr { font-family: var(--f-head); font-weight: 700; font-size: var(--s-2); line-height: 1.2; }
.visit-links a { display: inline-flex; min-height: 48px; align-items: center; font-weight: 700; text-decoration-color: var(--tag); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.contact-list { margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list dt { font-size: .9rem; color: rgba(252,252,251,.7); }
.contact-list dd { margin: .1rem 0 0; font-size: var(--s-1); overflow-wrap: anywhere; }
.contact-list a { text-decoration-color: var(--tag); text-underline-offset: 4px; }
.hours-card { background: var(--shirt); color: var(--ink); border-radius: var(--r); padding: clamp(1.5rem, 3vw, 2.25rem); align-self: start; }
.hours-card h3 { color: var(--navy); margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours th, .hours td { padding: .7rem .25rem; border-bottom: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; }
.hours tr.is-today { background: var(--tag); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 700; }
.hours tr.is-today th::after { content: " (today)"; font-weight: 400; }
.hours-note { margin-top: 1rem; color: var(--muted); font-size: var(--s--1); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(252,252,251,.82); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; padding-block: 3rem 2.25rem; }
.footer-name { font-family: var(--f-head); font-weight: 800; font-size: 1.35rem; color: var(--shirt); margin-bottom: .4rem; }
.site-footer a { text-underline-offset: 4px; text-decoration-color: var(--tag); }
.footer-links { display: flex; flex-wrap: wrap; gap: .25rem 1.5rem; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 700; text-decoration: none; }
.footer-links a:hover { color: var(--tag); }
.footer-base { border-top: 1px solid rgba(252,252,251,.15); padding-block: 1.5rem calc(1.5rem + env(safe-area-inset-bottom, 0px)); display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem 2rem; font-size: var(--s--1); }
.concept-note { color: rgba(252,252,251,.6); max-width: 36rem; }

/* ---------- Mobile bar ---------- */
.mobile-bar { display: none; }
@media (max-width: 760px) {
  body { padding-bottom: calc(62px + env(safe-area-inset-bottom, 0px)); }
  .mobile-bar { display: grid; grid-template-columns: 1fr 2fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--navy); padding-bottom: env(safe-area-inset-bottom, 0px); }
  .mobile-bar a { display: flex; align-items: center; justify-content: center; min-height: 62px; font-family: var(--f-head); font-weight: 700; color: var(--shirt); text-decoration: none; }
  .mobile-bar-cta { background: var(--tag); color: var(--ink) !important; }
}

/* ---------- Load moment: the ticket drops onto the jacket ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .ticket { opacity: 0; transform: rotate(-12deg) translateY(-24px); transition: opacity .5s ease .25s, transform .7s cubic-bezier(.3,1.4,.5,1) .25s; }
  .js .hero.is-ready .ticket { opacity: 1; transform: rotate(-4deg); }
  .js .hero.is-ready .ticket::before { content: ""; position: absolute; left: 12px; top: 16px; width: 13px; height: 13px; border-radius: 50%; background: var(--shirt); box-shadow: inset 0 1px 2px rgba(0,0,0,.35); }
.ticket::after { content: ""; position: absolute; left: 34px; top: 10px; bottom: 10px; border-left: 2px dashed rgba(23,26,34,.25); }
.ticket:hover { transform: rotate(-2deg) translateY(-3px); transition-delay: 0s; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
