/* World Dry Cleaners — after hours at the counter: deep navy, lit garments, manila claim tags */

:root {
  color-scheme: dark;
  --bg: #0e1522;           /* after-hours navy */
  --surface: #151f31;      /* panels and cards */
  --raised: #1c2940;       /* tinted blocks inside panels */
  --text: #e9edf4;
  --text-soft: #a3aec2;
  --line: #26334b;
  --accent: #ec8a74;       /* claim-ticket red, lifted to read on navy */
  --accent-strong: #c9503b;
  --tag: #f1e6cc;          /* manila garment tag */
  --tag-edge: #d9c89f;
  --tag-ink: #1d2b45;      /* printing on the tag */
  --tag-ink-soft: #4a5670;
  --radius: 14px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 10px 28px rgba(0, 0, 0, .35);
  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Work Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

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

h1, h2, h3, h4 { font-family: var(--serif); font-weight: 600; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); letter-spacing: -.01em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.5rem); }
h3 { font-size: 1.35rem; }
h4 { font-family: var(--sans); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-soft); margin: 1.6em 0 .7em; }
p { margin: 0 0 1em; }
a { color: inherit; }
address { font-style: normal; }

.wrap { width: min(1120px, 100% - 32px); margin-inline: auto; }

.eyebrow {
  font-size: .8rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: .8em;
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: .8em 1.4em; border-radius: 999px;
  background: var(--text); color: var(--bg);
  font-weight: 600; text-decoration: none; font-size: .95rem; white-space: nowrap;
  border: 2px solid var(--text);
  transition: background .15s, color .15s, transform .15s;
}
.btn:hover { background: #fff; border-color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border-color: rgba(233, 237, 244, .5); }
.btn-ghost:hover { background: var(--text); color: var(--bg); border-color: var(--text); }
.btn-small { padding: .5em 1.05em; font-size: .88rem; }
.call-short { display: none; }
.btn:focus-visible, .conveyor-btns button:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(14, 21, 34, .88);
  backdrop-filter: saturate(1.4) blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 24px; height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand-mark { width: 38px; height: 26px; color: var(--text); }
.brand-name { font-family: var(--serif); font-weight: 600; font-size: 1.25rem; white-space: nowrap; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: .95rem; color: var(--text-soft); }
.nav a:hover { color: var(--text); }

/* Hero */
.hero {
  padding: clamp(48px, 8vw, 96px) 0;
  background:
    radial-gradient(1200px 420px at 85% -10%, rgba(120, 150, 196, .16), transparent 70%),
    radial-gradient(900px 260px at 50% 100%, rgba(255, 236, 205, .07), transparent 75%),   /* the rack's lights */
    var(--bg);
  border-bottom: 1px solid var(--line);
}
.hero-inner { display: grid; grid-template-columns: 1.25fr 1fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.hero h1 em { font-style: italic; color: var(--accent); }
.lede { font-size: 1.15rem; color: var(--text-soft); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; font-size: .92rem; color: var(--text-soft); }
.hero-points li::before { content: "✓"; color: var(--accent); font-weight: 700; margin-right: 6px; }

/* Garment rack along the bottom of the hero, with steam rising off it */
.hero { position: relative; overflow: hidden; padding-bottom: 0; }
.hero-inner { position: relative; z-index: 3; }  /* copy and ticket sit in front of the steam */
.steam { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; z-index: 2; }
.rack { position: relative; height: 200px; margin-top: 72px; }   /* room for the controls above the rail */
/* the rail */
.rack::before {
  content: ""; position: absolute; left: 0; right: 0; top: 7px; height: 5px; z-index: 1;
  background:
    repeating-linear-gradient(90deg, rgba(14, 21, 34, .45) 0 2px, transparent 2px 12px) var(--belt, 0) 0 / auto,
    linear-gradient(#c9d0db, #6f7888);
  box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
}
/* garments fade out toward the bottom edge */
.rack::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 64px; z-index: 1;
  background: linear-gradient(rgba(14, 21, 34, 0), var(--bg));
}
/* garments hang a little past the rack; clip them at its bottom so they end exactly where the fade does,
   including when the stacked (phone/tablet) layout puts the rack mid-hero instead of at its edge */
.rack-row { display: flex; justify-content: center; height: 100%; overflow: hidden; }
.garment {
  flex: none; width: 150px; height: auto; overflow: visible;
  transform-origin: 50% 3%; animation: sway 7s ease-in-out infinite;
  /* nearly monochrome: just a hint of each garment's color survives */
  filter: saturate(.22) brightness(.92) drop-shadow(0 8px 12px rgba(0, 0, 0, .45));
}
.garment + .garment { margin-left: -6px; }
.garment:nth-child(2n) { animation-duration: 8.5s; animation-delay: -2s; }
.garment:nth-child(3n) { animation-duration: 6.5s; animation-delay: -4s; }
.garment:nth-child(5n) { animation-duration: 9s; animation-delay: -1s; }
.garment .hook { fill: none; stroke: #a7b0bf; stroke-width: 2.6; stroke-linecap: round; }
.garment .wire { fill: none; stroke: #a7b0bf; stroke-width: 2.4; stroke-linejoin: round; }
.garment .fold { fill: none; stroke: rgba(0, 0, 0, .18); stroke-width: 1.4; }
/* with JS the rack becomes a conveyor: script.js positions and swings each garment */
.js .rack-row { position: relative; height: 100%; }
.js .garment { position: absolute; left: 0; top: 0; animation: none; will-change: transform; }
.js .garment + .garment { margin-left: 0; }

/* conveyor control box, mounted just above the right end of the rail so it doesn't cover the garments */
.conveyor {
  position: absolute; z-index: 4; bottom: calc(100% + 8px); right: max(16px, (100% - 1120px) / 2);
  display: flex; align-items: center; gap: 10px; padding: 6px 6px 6px 14px;
  background: var(--raised); border: 1px solid #33425f; border-radius: 999px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .45);
}
.conveyor[hidden] { display: none; }
.conveyor-light {
  width: 8px; height: 8px; border-radius: 50%; flex: none;
  background: #2f9e5b; box-shadow: 0 0 0 3px rgba(47, 158, 91, .25), 0 0 10px rgba(47, 158, 91, .6);
}
.conveyor.stopped .conveyor-light { background: var(--accent-strong); box-shadow: 0 0 0 3px rgba(201, 80, 59, .25); }
.conveyor-slot {
  font: 500 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--text-soft); white-space: nowrap;
}
.conveyor-slot b {
  display: inline-block; min-width: 3.2ch; margin-left: 4px; padding: 3px 5px; border-radius: 4px;
  background: #080d16; color: var(--tag); font: 600 .85rem/1 ui-monospace, "SFMono-Regular", Consolas, monospace;
  letter-spacing: .08em; text-align: center;
}
.conveyor-btns { display: flex; gap: 2px; padding: 3px; border-radius: 999px; background: #0b111c; }
.conveyor-btns button {
  display: inline-flex; align-items: center; gap: 6px; padding: .5em .85em; border: 0; border-radius: 999px;
  background: transparent; color: var(--text-soft); font: 600 .8rem/1 var(--sans); cursor: pointer;
}
.conveyor-btns button:hover { color: var(--text); background: rgba(255, 255, 255, .07); }
.conveyor-btns button[aria-pressed="true"] { background: var(--text); color: var(--bg); }
.conveyor-btns svg { width: 10px; height: 10px; fill: currentColor; }

/* back run of the conveyor: smaller, grey, faded, climbing diagonally behind everything */
.conveyor-back {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  opacity: .16; filter: grayscale(1) blur(1.6px);   /* out of focus, like the far side of the shop */
  /* fainter still behind the headline and copy on the left */
  -webkit-mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35) 40%, #000 68%);
  mask-image: linear-gradient(90deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .35) 40%, #000 68%);
}
.back-rail { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.back-rail path { fill: none; stroke-linejoin: round; }
.back-rail-bar { stroke: #c9d0db; stroke-width: 3; }
.back-rail-chain { stroke: #0e1522; stroke-width: 3; stroke-dasharray: 1.5 7; }
.conveyor-back .garment { position: absolute; left: 0; top: 0; animation: none; filter: none; will-change: transform; }

.guard-print { font: 600 7.4px var(--sans); letter-spacing: .9px; fill: #b8412f; }
.guard-thanks { font: italic 500 8px var(--serif); fill: #4a5670; }
@keyframes sway { 0%, 100% { transform: rotate(-.9deg); } 50% { transform: rotate(.9deg); } }

/* Claim ticket: stays manila, like the real paper tag */
.ticket {
  position: relative;
  background: var(--tag);
  color: var(--tag-ink);
  border: 1px solid var(--tag-edge);
  border-radius: 10px;
  padding: 44px 28px 24px;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
/* punched hole */
.ticket::before {
  content: ""; position: absolute; top: 14px; left: 50%; width: 16px; height: 16px; margin-left: -8px;
  border-radius: 50%; background: var(--bg); border: 1px solid var(--tag-edge);
}
.ticket-top {
  display: flex; justify-content: space-between; align-items: baseline;
  padding-bottom: 12px; margin-bottom: 14px;
  border-bottom: 2px dashed var(--tag-edge);
}
.ticket-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--tag-ink-soft); }
.ticket-no { font-family: var(--serif); font-size: 1.3rem; color: #b8412f; }
.status { font-weight: 600; margin-bottom: 10px; display: flex; align-items: flex-start; gap: 8px; }
.status::before { content: ""; width: 9px; height: 9px; margin-top: .55em; border-radius: 50%; background: var(--tag-ink-soft); flex: none; }
.status.open::before { background: #2f8a55; box-shadow: 0 0 0 4px rgba(47, 138, 85, .18); }
.status.closed::before { background: #b8412f; }

.hours { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours th { text-align: left; font-weight: 500; padding: 5px 0; }
.hours td { text-align: right; padding: 5px 0; font-variant-numeric: tabular-nums; }
.hours tr.today th, .hours tr.today td { font-weight: 700; }
.ticket .hours tr.today { background: rgba(255, 255, 255, .45); }
.ticket .hours tr.today th { padding-left: 8px; }
.ticket .hours tr.today td { padding-right: 8px; }
.ticket-bottom {
  margin-top: 14px; padding-top: 14px; border-top: 2px dashed var(--tag-edge);
  font-size: .92rem; color: var(--tag-ink-soft);
}

/* Sections */
section { padding: clamp(56px, 8vw, 96px) 0; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head p:last-child { color: var(--text-soft); }

/* Services explorer */
.svc { display: grid; grid-template-columns: 240px 1fr; gap: 28px; align-items: start; }
.svc > * { min-width: 0; }
.svc-tabs { display: flex; flex-direction: column; gap: 4px; position: sticky; top: 90px; }
.svc-tabs button {
  position: relative;
  font: inherit; font-weight: 500; font-size: .98rem; text-align: left;
  color: var(--text-soft); background: transparent;
  border: 0; border-radius: 10px; padding: 11px 14px 11px 36px; cursor: pointer;
  transition: background .15s, color .15s;
}
/* little hanger hook bullet */
.svc-tabs button::before {
  content: ""; position: absolute; left: 14px; top: 50%; width: 10px; height: 10px; margin-top: -5px;
  border: 2px solid currentColor; border-radius: 50%; opacity: .45;
}
.svc-tabs button:hover { background: var(--surface); color: var(--text); }
.svc-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg); }
.svc-tabs button[aria-selected="true"]::before { opacity: 1; background: var(--accent-strong); border-color: var(--accent-strong); }
.svc-tabs button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.panel {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: clamp(24px, 4vw, 44px); box-shadow: var(--shadow);
}
.js .panel[hidden] { display: none; }
html:not(.js) .panel + .panel { margin-top: 20px; }
.panel h3 { font-size: 1.9rem; }
.panel-lede { font-size: 1.08rem; color: var(--text-soft); max-width: 44em; }
.panel-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 40px; }

.list { list-style: none; padding: 0; margin: 0; }
.list li { position: relative; padding: 4px 0 4px 20px; }
.list li::before { content: ""; position: absolute; left: 2px; top: 13px; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); opacity: .8; }
.list-cols { columns: 2; column-gap: 40px; }
.list-cols li { break-inside: avoid; }

.steps { list-style: none; padding: 0; margin: 0; counter-reset: step; display: grid; gap: 10px; }
.steps li {
  counter-increment: step; position: relative;
  padding: 14px 16px 14px 60px; background: var(--raised); border-radius: 10px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 16px; top: 13px;
  width: 30px; height: 30px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--serif); font-weight: 600; font-size: .95rem;
  background: var(--tag); color: var(--tag-ink); border: 1px solid var(--tag-edge);
}

.turn { margin: 0; display: grid; gap: 8px; }
.turn div { background: var(--raised); border-radius: 10px; padding: 10px 14px; }
.turn dt { font-weight: 600; font-size: .9rem; }
.turn dd { margin: 0; color: var(--text-soft); font-size: .95rem; }
.turn-wide { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.note { background: var(--raised); border-radius: 10px; padding: 12px 14px; color: var(--text-soft); }

.chips { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 4px 0 8px; }
.chip-label { font-weight: 600; font-size: .9rem; margin-right: 4px; }
.chip { padding: 4px 14px; border-radius: 999px; background: var(--tag); color: var(--tag-ink); border: 1px solid var(--tag-edge); font-size: .88rem; }

.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 14px; margin-top: 8px; }
.mini { border: 1px solid var(--line); border-radius: 12px; padding: 4px 18px 14px; }
.mini h4 { color: var(--text); margin-top: 1em; }

/* Why */
.why { background: var(--surface); border-block: 1px solid var(--line); }
.why-grid { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.why-grid li {
  padding: 26px 24px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.why-grid h3 { font-size: 1.2rem; }
.why-grid p { margin: 0; color: var(--text-soft); }

/* Visit */
.visit-inner { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 5vw, 64px); align-items: center; }
.visit-address { font-size: 1.2rem; margin-bottom: .6em; }
.phone { font-family: var(--serif); font-size: 1.6rem; text-decoration: none; color: var(--accent); }
.phone:hover { text-decoration: underline; }
.email { color: var(--accent); overflow-wrap: anywhere; }   /* long address: wrap on narrow phones */
.footer-inner a[href^="mailto:"] { overflow-wrap: anywhere; }
.hours-plain { max-width: 360px; margin-top: 8px; }
.hours-plain tr { border-bottom: 1px solid var(--line); }
.hours-plain th, .hours-plain td { padding: 9px 0; }
.map { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); border: 1px solid var(--line); aspect-ratio: 4 / 3; background: var(--raised); }
/* Google's embed has no dark mode; invert it so it doesn't glare */
.map iframe { width: 100%; height: 100%; border: 0; display: block; filter: invert(.9) hue-rotate(180deg) saturate(.7) brightness(.95); }

/* More from the family: the owners' other two shops */
.family { margin-top: clamp(56px, 8vw, 88px); padding-top: clamp(40px, 6vw, 64px); border-top: 1px solid var(--line); }
.family .section-head { margin-bottom: 24px; }
.family h3 { font-size: clamp(1.4rem, 2.6vw, 1.8rem); }
.family-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.family-card {
  padding: 24px 24px 26px; border-radius: var(--radius);
  background: rgba(255, 255, 255, .04); border: 1px solid var(--line);
}
.family-card p { margin-bottom: .5em; }
.family-card { display: flex; flex-direction: column; align-items: flex-start; }
.family-card .btn { margin-top: auto; }
.family-where { font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); }
.family-card h4 { font-family: var(--serif); font-size: 1.35rem; letter-spacing: 0; text-transform: none; color: var(--text); margin: 0 0 .2em; }
.family-tagline { color: var(--text-soft); font-style: italic; }
.family-card address { margin: 12px 0 6px; }
.family-phone { font-family: var(--serif); font-size: 1.2rem; text-decoration: none; color: var(--accent); }
.family-phone:hover { text-decoration: underline; }
.family-card .family-hours { color: var(--text-soft); font-size: .92rem; margin-bottom: 18px; }
.family-hours span { display: block; }
.footer-inner .family-links { flex-basis: 100%; font-size: .88rem; }
.footer-inner .family-links a { color: var(--text); }

/* Policies */
.policies { background: var(--surface); border-top: 1px solid var(--line); padding: clamp(48px, 6vw, 72px) 0; }
.policies h2 { font-size: 1.6rem; margin-bottom: 24px; }
.policy-grid { margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.policy-grid dt { font-weight: 600; margin-bottom: 4px; }
.policy-grid dd { margin: 0; color: var(--text-soft); font-size: .93rem; }

/* Footer */
.site-footer { background: var(--bg); border-top: 1px solid var(--line); padding: 36px 0; font-size: .92rem; color: var(--text-soft); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 28px; }
.footer-inner p { margin: 0; }
.footer-inner .brand-name { color: var(--text); font-size: 1.1rem; }
.footer-inner .brand-mark { width: 30px; height: 21px; }

/* Easter egg: a coin slot in the footer, and the jump into the arcade edition */
.coin-slot {
  display: grid; place-items: center; width: 22px; height: 30px; border-radius: 4px;
  background: var(--surface); border: 1px solid var(--line); opacity: .55; transition: opacity .2s, box-shadow .2s;
}
.coin-slot span { width: 3px; height: 16px; border-radius: 2px; background: #05080f; box-shadow: 0 0 0 1px #33425f; }
.coin-slot:hover, .coin-slot:focus-visible { opacity: 1; box-shadow: 0 0 0 2px #ffd23f, 0 0 16px rgba(255, 210, 63, .5); }
.coin-slot:hover span { background: #ffd23f; }
.secrets { display: flex; align-items: center; gap: 10px; }
/* Easter egg: a light switch beside it that turns on the full retro (arcade) edition */
.retro-switch {
  position: relative; display: block; width: 22px; height: 30px; border-radius: 4px;
  background: var(--surface); border: 1px solid var(--line); opacity: .55; transition: opacity .2s, box-shadow .2s;
}
.retro-switch span {
  position: absolute; left: 7px; top: 14px; width: 6px; height: 10px; border-radius: 2px;
  background: #33425f; transition: top .15s steps(2), background .15s;
}
.retro-switch:hover, .retro-switch:focus-visible { opacity: 1; box-shadow: 0 0 0 2px #3ff3ff, 0 0 16px rgba(63, 243, 255, .5); }
.retro-switch.on { opacity: 1; box-shadow: 0 0 0 2px #ff4fd8, 0 0 16px rgba(255, 79, 216, .6); }
.retro-switch.on span { top: 4px; background: #ff4fd8; }
.ticket-no { cursor: default; user-select: none; -webkit-user-select: none; }
.ticket.punch { animation: punch .25s steps(2) 1; }
@keyframes punch { 50% { transform: rotate(-1.5deg) translate(-3px, 2px); } }
.warp {
  position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; background: #07030f;
  animation: crt-on .6s steps(6) both;
}
.warp::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: repeating-linear-gradient(rgba(0, 0, 0, .35) 0 1px, transparent 1px 3px); }
.warp p {
  margin: 0; padding: 0 16px; text-align: center; font: 700 clamp(1.1rem, 4.5vw, 2.2rem)/1.5 ui-monospace, "Courier New", monospace;
  letter-spacing: .18em; text-transform: uppercase; color: #ffd23f; text-shadow: 3px 3px 0 #ff4fd8;
}
.warp p + p { font-size: clamp(.7rem, 2.2vw, 1rem); color: #3ff3ff; text-shadow: none; animation: blink-warp .5s steps(1) infinite; }
@keyframes crt-on { 0%, 35% { clip-path: inset(49.6% 0); background: #fff; } 100% { clip-path: inset(0); } }
@keyframes blink-warp { 50% { opacity: 0; } }

/* Responsive */
@media (max-width: 900px) {
  .hero-inner, .visit-inner { grid-template-columns: 1fr; }
  .ticket { max-width: 440px; transform: rotate(0); }
  /* stacked hero: copy, then the conveyor, then the ticket, so the rack shows on the first screen */
  .hero { display: flex; flex-direction: column; }
  .hero-inner { display: contents; }
  .hero-copy, .ticket { position: relative; z-index: 3; }
  .hero-copy { order: 1; margin-inline: 16px; }
  .rack { order: 2; margin-top: 72px; }   /* room for the controls above the rail */
  .ticket { order: 3; width: calc(100% - 32px); margin: 28px 16px clamp(48px, 8vw, 96px); }
  .svc { grid-template-columns: 1fr; }
  .svc-tabs {
    position: static; flex-direction: row; overflow-x: auto; gap: 6px;
    padding-bottom: 6px; margin-inline: -16px; padding-inline: 16px;
    scrollbar-width: none;
  }
  .svc-tabs::-webkit-scrollbar { display: none; }
  .svc-tabs button { white-space: nowrap; flex: none; background: var(--surface); border: 1px solid var(--line); padding: 9px 14px; }
  .svc-tabs button::before { display: none; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .policy-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav { display: none; }
  .header-inner { justify-content: space-between; }
  .brand-name { font-size: 1.1rem; }
  .panel-grid, .why-grid, .policy-grid, .family-grid { grid-template-columns: 1fr; }
  .list-cols { columns: 1; }
  .steps li { padding-left: 56px; }
  .rack { height: 150px; }
  .garment { width: 112px; }
  .rack { margin-top: 28px; }   /* phones: the controls sit below the rack instead */
  .conveyor { top: calc(100% + 10px); bottom: auto; right: 50%; transform: translateX(50%); gap: 8px; padding-left: 12px; white-space: nowrap; }
  .ticket { margin-top: 76px; }
  .conveyor-back { filter: grayscale(1); }   /* blur is costly to redraw every frame on phones */
  .conveyor-btns span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
  .conveyor-btns button { padding: .6em .75em; }
}

@media (max-width: 380px) {
  .call-full { display: none; }
  .call-short { display: inline; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
  .garment { animation: none; }
  .steam { display: none; }
}
