/* Hawke shops template: shared layout for small shop demo sites (bakeries, florists, groomers, markets).
   Each site's styles.css = this file + its own theme block (colours, fonts, hero). Mobile first.
   Made by hawke-shops/build.py. Edit here, then rebuild. */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; -webkit-text-size-adjust: 100%; }
body { font-family: var(--sans); background: var(--bg); color: var(--ink); line-height: 1.7; -webkit-font-smoothing: antialiased; overflow-x: clip; }
a { color: inherit; }
img { max-width: 100%; height: auto; display: block; }
.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 20px; }

h2 { font-family: var(--display); font-weight: var(--display-weight, 700); font-size: clamp(2rem, 7vw, 3rem); line-height: 1.08; letter-spacing: var(--display-track, -0.01em); margin-bottom: 26px; text-wrap: balance; }
h3 { font-family: var(--sans); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 14px 26px; border-radius: var(--radius-btn, 999px); background: var(--ink); color: var(--on-ink, #fff);
  font-weight: 600; text-decoration: none; letter-spacing: 0.01em; transition: transform .2s var(--ease), opacity .2s var(--ease), background .2s; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn:focus-visible, .links a:focus-visible, .bookbar:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-accent { background: var(--accent); color: var(--on-accent, #fff); }
.btn-ghost { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px currentColor; }
.btn-ghost:hover { background: var(--ink); color: var(--on-ink, #fff); }
.btn-small { padding: 9px 20px; font-size: 0.95rem; }
.cta { display: flex; flex-wrap: wrap; gap: 12px; }

/* Nav */
.nav { position: sticky; top: 0; z-index: 30; background: var(--nav-bg, rgba(255,255,255,.92)); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.nav-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 64px; }
.brand { font-family: var(--brand-font, var(--display)); font-size: var(--brand-size, 1.45rem); font-weight: var(--display-weight, 700); line-height: 1; text-decoration: none; white-space: nowrap; }
.links { display: none; gap: 28px; font-weight: 600; }
.links a { text-decoration: none; }
.nav .btn-small { display: none; }

/* Hero (each theme styles its own art) */
.hero { position: relative; padding: 40px 0 56px; overflow: hidden; isolation: isolate; }
.hero-in { position: relative; display: grid; gap: 36px; align-items: center; }
.eyebrow { font-size: 0.78rem; font-weight: 700; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.lead { font-size: clamp(1.06rem, 4vw, 1.22rem); max-width: 34ch; margin-bottom: 26px; color: var(--soft); }
.rating { margin-top: 22px; font-size: 0.92rem; color: var(--soft); }
.stars { color: var(--star, var(--accent)); letter-spacing: 2px; margin-right: 6px; }

/* Sections */
.section { padding: 72px 0; }
.section-tint { background: var(--tint); }
.intro { max-width: 60ch; color: var(--soft); margin: -10px 0 30px; }

/* Menu / services: name on the left, small print on the right */
.menu { display: grid; gap: 36px; }
.menu ul { list-style: none; }
.menu li { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.item, .nm { font-weight: 600; }
.menu small { font-size: 0.9rem; color: var(--soft); text-align: right; }
.price { font-weight: 700; white-space: nowrap; }
.fine { margin-top: 26px; max-width: 62ch; color: var(--soft); font-size: 0.95rem; }

/* Photo grid: plain grid, no sideways swiping, so page scrolling never gets stuck */
.gal { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gal figure { position: relative; margin: 0; border-radius: var(--radius, 18px); overflow: hidden; background: var(--tint); aspect-ratio: 1; }
.gal img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.gal figcaption { position: absolute; left: 10px; bottom: 10px; padding: 4px 12px; border-radius: 999px; background: rgba(255,255,255,.92); color: #1b1b1b; font-size: 0.82rem; font-weight: 600; }
@media (hover: hover) { .gal figure:hover img { transform: scale(1.04); } }
.gal .wide { grid-column: span 2; aspect-ratio: 2 / 1; }
.follow { display: inline-block; margin-top: 22px; font-weight: 600; }

/* Fact cards */
.facts { display: grid; gap: 14px; margin-top: 34px; }
.fact { padding: 22px 22px 20px; border-radius: var(--radius, 18px); background: var(--card, #fff); box-shadow: var(--shadow); }
.fact b { display: block; font-family: var(--display); font-size: 1.25rem; line-height: 1.2; margin-bottom: 4px; }
.fact p { color: var(--soft); font-size: 0.95rem; }

/* Reviews: stacked cards on phones (no sideways scroll), three across on bigger screens */
.revs { display: grid; gap: 14px; }
.rcard { margin: 0; padding: 24px 22px 18px; border-radius: var(--radius, 18px); background: var(--card, #fff); box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px; }
.r-stars { color: var(--star, var(--accent)); letter-spacing: 3px; font-size: 0.95rem; line-height: 1; }
.rcard blockquote { flex: 1; font-size: 1.02rem; line-height: 1.6; }
.rcard figcaption { font-size: 0.86rem; color: var(--soft); padding-top: 12px; border-top: 1px solid var(--line); }
.rcard figcaption b { color: var(--ink); }
.rev-link { display: inline-block; margin-top: 22px; font-weight: 600; }

/* Visit */
.visit { display: grid; gap: 34px; }
.addr { font-family: var(--display); font-size: 1.35rem; line-height: 1.3; margin-bottom: 10px; }
.note { color: var(--soft); margin-bottom: 20px; }
.note a { color: var(--ink); font-weight: 600; }
.hours { border-collapse: collapse; width: 100%; max-width: 400px; margin-bottom: 24px; background: var(--card, #fff); border-radius: var(--radius, 16px); overflow: hidden; box-shadow: var(--shadow); }
.hours th, .hours td { text-align: left; padding: 9px 16px; border-bottom: 1px solid var(--line); font-weight: 400; }
.hours tr:last-child th, .hours tr:last-child td { border-bottom: 0; }
.hours td { text-align: right; }
.hours tr.today { background: var(--accent); color: var(--on-accent, #fff); }
.hours tr.today th, .hours tr.today td { font-weight: 600; }
.map { width: 100%; height: 320px; border: 0; border-radius: var(--radius, 22px); background: var(--tint); box-shadow: var(--shadow); }
.spots { display: grid; gap: 14px; margin-bottom: 26px; }

/* About fold-out (Google reads it, page stays short) */
.about-wrap { padding-bottom: 56px; }
.about { border-top: 1px solid var(--line); padding-top: 18px; color: var(--soft); max-width: 68ch; }
.about summary { cursor: pointer; font-weight: 600; color: var(--ink); }
.about summary:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.about p { margin-top: 12px; }
.about a { color: var(--ink); }

/* Footer */
.foot { background: var(--foot, var(--ink)); color: rgba(255,255,255,.78); padding: 30px 0 100px; font-size: 0.92rem; }
.foot-in { display: flex; flex-wrap: wrap; gap: 14px 26px; justify-content: space-between; align-items: center; }
.foot-brand { font-family: var(--brand-font, var(--display)); font-size: 1.5rem; line-height: 1; color: #fff; }
.foot a { color: #fff; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 18px; }
.credit a { text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.4); }

/* Phone action pill, bottom right. Replaces the top-bar button on phones. */
.bookbar { position: fixed; right: max(16px, env(safe-area-inset-right)); bottom: max(16px, env(safe-area-inset-bottom)); z-index: 40;
  padding: 12px 26px; border-radius: 999px; background: var(--pill, var(--ink)); color: var(--on-pill, #fff); font-weight: 600; text-decoration: none;
  box-shadow: 0 2px 8px rgba(0,0,0,.28), 0 0 0 2px #fff; }

@media (max-width: 420px) {
  .menu li { flex-direction: column; gap: 0; }
  .menu small { text-align: left; }
}

/* iPad and up */
@media (min-width: 760px) {
  .wrap { padding: 0 36px; }
  .links { display: flex; }
  .nav .btn-small { display: inline-flex; }
  .hero { padding: 72px 0 88px; }
  .hero-in { grid-template-columns: 1.05fr 1fr; gap: 48px; }
  .menu { grid-template-columns: 1fr 1fr; gap: 40px 56px; }
  .gal { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .facts { grid-template-columns: repeat(3, 1fr); }
  .revs { grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: start; }
  .visit { grid-template-columns: 1fr 1.1fr; align-items: start; }
  .map { height: 100%; min-height: 460px; }
  .bookbar { display: none; }
  .foot { padding-bottom: 30px; }
}
@media (min-width: 1100px) {
  .gal { grid-template-columns: repeat(4, 1fr); }
  .gal.gal-3 { grid-template-columns: repeat(3, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}


/* ---------- A1 Scarborough Drycleaners theme ---------- */

.dc { --bg:#FFFFFF; --tint:#EEF2FA; --ink:#16213F; --soft:#56607A; --accent:#1E2D58; --gold:#D8B56A; --on-accent:#fff; --star:#D8B56A; --line:rgba(22,33,63,.12);
  --display:'Libre Baskerville', Georgia, serif; --sans:'Inter', system-ui, sans-serif; --ease:cubic-bezier(.16,1,.3,1);
  --shadow:0 1px 2px rgba(22,33,63,.06), 0 14px 34px rgba(22,33,63,.10); --radius:16px; --brand-size:1.15rem; --foot:#16213F; }
.dc .a1-mark { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--accent); color: var(--gold); font-size: .8rem; box-shadow: inset 0 0 0 2px var(--gold); margin-right: 4px; vertical-align: middle; }
.dc .hero { background: radial-gradient(120% 90% at 85% 10%, #2B3F78 0%, #1E2D58 45%, #141F40 100%); color: #fff; }
.dc .hero .eyebrow { color: var(--gold); }
.dc .hero .lead, .dc .hero .rating { color: rgba(255,255,255,.78); }
.dc .hero .btn-accent { background: var(--gold); color: #16213F; }
.dc .hero .btn-ghost { color: #fff; }
.dc .hero .btn-ghost:hover { background: #fff; color: var(--accent); }
.dc .badge-title { display: flex; flex-direction: column; gap: 16px; font-family: var(--display); font-size: clamp(2.2rem, 9vw, 3.7rem); line-height: 1.08; margin-bottom: 20px; }
.dc .badge { display: grid; place-items: center; width: 96px; height: 96px; border-radius: 50%; background: #fff; box-shadow: 0 0 0 5px var(--accent), 0 0 0 8px var(--gold), 0 18px 30px rgba(0,0,0,.3); }
.dc .badge b { font-family: var(--display); font-size: 2.3rem; color: var(--accent); }
.dc .rail { position: relative; height: 330px; width: 100%; max-width: 460px; justify-self: center; }
.dc .bar { position: absolute; left: 0; right: 0; top: 30px; height: 8px; border-radius: 8px; background: linear-gradient(#E6EAF3, #9AA6C2); box-shadow: 0 4px 10px rgba(0,0,0,.3); }
.dc .hanger { position: absolute; top: 2px; width: 36%; transform-origin: 50% 12%; animation: dc-swing 5s ease-in-out infinite alternate; }
.dc .h1 { left: 0; } .dc .h2 { left: 32%; animation-delay: -1.6s; } .dc .h3 { left: 64%; animation-delay: -3.1s; }
@keyframes dc-swing { from { transform: rotate(-4deg); } to { transform: rotate(4deg); } }
.dc .hook { fill: none; stroke: #C9D1E4; stroke-width: 5; stroke-linecap: round; }
.dc .frame { fill: none; stroke: #C9D1E4; stroke-width: 5; stroke-linejoin: round; }
.dc .cloth { fill: #F4F1EA; } .dc .shirt { fill: #DCE6F7; } .dc .bag { fill: rgba(255,255,255,.18); stroke: rgba(255,255,255,.55); stroke-width: 2; }
.dc .fold { fill: none; stroke: rgba(22,33,63,.12); stroke-width: 2; }
.dc .tag { fill: var(--gold); }
.dc .svc { display: grid; gap: 14px; }
.dc .s { padding: 22px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border-top: 3px solid var(--gold); }
.dc .s svg { width: 40px; height: 40px; fill: none; stroke: var(--accent); stroke-width: 2.4; stroke-linejoin: round; stroke-linecap: round; margin-bottom: 10px; }
.dc .s b { display: block; font-family: var(--display); font-size: 1.15rem; margin-bottom: 4px; }
.dc .s p { color: var(--soft); font-size: .95rem; }
.dc .steps { list-style: none; display: grid; gap: 14px; counter-reset: s; }
.dc .steps li { position: relative; padding: 22px 22px 22px 76px; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); }
.dc .steps li::before { counter-increment: s; content: counter(s); position: absolute; left: 20px; top: 20px; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: var(--gold); font-family: var(--display); font-weight: 700; }
.dc .steps b { font-family: var(--display); font-size: 1.15rem; }
.dc .steps p { color: var(--soft); }
.dc .hours tr.today { background: var(--accent); }
@media (min-width: 760px) { .dc .svc { grid-template-columns: repeat(3, 1fr); } .dc .steps { grid-template-columns: repeat(3, 1fr); } .dc .rail { height: 380px; } }
html:root { --hk-accent:#D8B56A; --hk-ink:#16213F; --hk-tint:#EEF2FA; }
