:root {
  --navy: #0a1a2f; --ink: #12253f; --water: #19b4ff; --water2: #0a7fd9; --foam: #eaf7ff; --sun: #ffcc33;
  --grime: #5a4a2e; --moss: #3d5a2a; --bg: #f5f9fc; --text: #0f1c2c; --muted: #5b6b7e; --card: #fff; --line: #dbe6f0;
  --wand: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='36' viewBox='0 0 36 36'%3E%3Cpath d='M4 4l16 16' stroke='%23c9d6e3' stroke-width='5' stroke-linecap='round'/%3E%3Cpath d='M4 4l16 16' stroke='%233b4a5c' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='22' cy='22' r='4' fill='%2319b4ff' stroke='%23fff' stroke-width='1.5'/%3E%3Cpath d='M26 26l6 6M25 30l3 5M30 25l5 3' stroke='%2319b4ff' stroke-width='2' stroke-linecap='round' opacity='.8'/%3E%3C/svg%3E") 4 4, auto;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Outfit, system-ui, sans-serif; color: var(--text); background: var(--bg); cursor: var(--wand); line-height: 1.45; }
a { color: inherit; }
h1, h2, h3 { margin: 0 0 .4em; line-height: 1.05; letter-spacing: -.02em; }
h1 { font-size: clamp(2.2rem, 5.5vw, 4.2rem); font-weight: 800; }
h1 em { font-style: normal; color: var(--grime); text-decoration: underline wavy var(--moss); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.6rem); font-weight: 800; }
h3 { font-size: 1.2rem; font-weight: 600; }
.lead { color: var(--muted); font-size: 1.1rem; max-width: 60ch; margin: 0 0 1.4rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; color: #fff; font-weight: 600; padding: .85rem 1.4rem; border-radius: 999px; text-decoration: none; font: inherit; font-weight: 600; cursor: var(--wand); transition: transform .15s, box-shadow .15s; --btn-water: var(--water); --btn-water-deep: var(--water2); --btn-text-wet: #fff; --btn-text-dry: var(--navy);
  background: linear-gradient(180deg, rgba(255,255,255,.92), rgba(255,255,255,.78)); border: 1px solid rgba(255,255,255,.9); backdrop-filter: blur(10px) saturate(1.3); -webkit-backdrop-filter: blur(10px) saturate(1.3);
  box-shadow: 0 10px 30px rgba(25,180,255,.28), 0 1px 0 rgba(255,255,255,.9) inset, 0 -10px 18px rgba(10,26,47,.10) inset; }
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(25,180,255,.38), 0 1px 0 rgba(255,255,255,.9) inset, 0 -10px 18px rgba(10,26,47,.08) inset; }
.btn.ghost { background: linear-gradient(180deg, rgba(255,255,255,.22), rgba(255,255,255,.08)); border-color: rgba(255,255,255,.5); --btn-text-dry: #fff; box-shadow: 0 10px 30px rgba(0,0,0,.25), 0 1px 0 rgba(255,255,255,.45) inset; }
.btn.ghost:hover { border-color: var(--water); }

/* water tank: .lbl, .water and .gloss are injected by fill.js. Full at rest, drains on hover / focus, sloshes with the pointer. */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn .lbl { position: relative; z-index: 3; white-space: nowrap; color: var(--btn-text-wet); text-shadow: 0 1px 2px rgba(0,0,0,.15); transition: color .45s cubic-bezier(.25,1,.5,1), text-shadow .45s; }
.btn:hover .lbl, .btn:focus-visible .lbl { color: var(--btn-text-dry); text-shadow: none; }
.btn .water { position: absolute; inset: 0; z-index: 1; pointer-events: none; transform: translateY(0) rotate(var(--lean, 0deg)); transform-origin: 50% 120%; transition: transform .55s cubic-bezier(.34,1.45,.64,1);
  background: linear-gradient(180deg, var(--btn-water) 0%, var(--btn-water-deep) 100%); }
.btn:hover .water, .btn:focus-visible .water { transform: translateY(calc(100% + 22px)) rotate(var(--lean, 0deg)); transition-timing-function: cubic-bezier(.25,1,.5,1); }
.btn .crest { position: absolute; top: -15px; left: -12%; right: -12%; height: 16px; overflow: visible; transform-origin: 50% 100%; transform: rotate(var(--tilt, 0deg)); animation: slosh 3.6s ease-in-out infinite; }
.btn .crest svg { position: absolute; top: 0; left: 0; width: 200%; height: 100%; fill: var(--btn-water); animation: wave-front 2.6s linear infinite; }
.btn .crest svg.back { opacity: .5; fill: var(--btn-water-deep); animation: wave-back 3.7s linear infinite; }
.btn .crest i { position: absolute; top: calc(100% - 2px); left: 0; right: 0; height: 26px; background: var(--btn-water); box-shadow: 0 -1px 0 rgba(255,255,255,.55) inset; }
.btn .caustic { position: absolute; inset: 0; opacity: .35; mix-blend-mode: screen; pointer-events: none;
  background: radial-gradient(60% 45% at 30% 30%, rgba(255,255,255,.9), transparent 70%), radial-gradient(40% 35% at 75% 60%, rgba(255,255,255,.6), transparent 70%); background-size: 160% 160%; animation: caustic 5s ease-in-out infinite alternate; }
.btn .bubbles b { position: absolute; bottom: -8px; width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); box-shadow: 0 0 0 1px rgba(255,255,255,.35) inset; animation: bubble 3.2s linear infinite; }
.btn .bubbles b:nth-child(1) { left: 14%; animation-delay: 0s; } .btn .bubbles b:nth-child(2) { left: 38%; width: 3px; height: 3px; animation-delay: 1.1s; animation-duration: 2.6s; } .btn .bubbles b:nth-child(3) { left: 57%; animation-delay: .5s; animation-duration: 3.8s; } .btn .bubbles b:nth-child(4) { left: 72%; width: 4px; height: 4px; animation-delay: 1.9s; } .btn .bubbles b:nth-child(5) { left: 88%; width: 3px; height: 3px; animation-delay: 2.5s; animation-duration: 2.9s; }
.btn .gloss { position: absolute; z-index: 4; pointer-events: none; left: 8%; right: 8%; top: 3px; height: 42%; border-radius: 999px; background: linear-gradient(180deg, rgba(255,255,255,.75), rgba(255,255,255,.05)); opacity: .9; }
.btn .gloss::after { content: ''; position: absolute; left: 10%; bottom: -100%; width: 30%; height: 40%; border-radius: 50%; background: radial-gradient(closest-side, rgba(255,255,255,.35), transparent); }
@keyframes wave-front { from { transform: translateX(-50%); } to { transform: translateX(0); } }
@keyframes wave-back { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes slosh { 0%, 100% { translate: 0 0; } 50% { translate: 0 -1.5px; } }
@keyframes caustic { from { background-position: 0% 0%; } to { background-position: 100% 100%; } }
@keyframes bubble { 0% { transform: translateY(0) scale(.6); opacity: 0; } 15% { opacity: .9; } 100% { transform: translateY(-70px) scale(1); opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .btn .crest, .btn .crest svg, .btn .caustic, .btn .bubbles b { animation: none; } .btn .water, .btn .lbl { transition-duration: .01s; } }

/* reveal-a-discount */
.coupon { position: fixed; inset: 0; z-index: 40; display: grid; place-items: center; padding: 16px; background: rgba(10,26,47,.55); backdrop-filter: blur(6px); opacity: 0; transition: opacity .35s; }
.coupon[hidden] { display: none; } .coupon.in { opacity: 1; }
.coupon .box { width: min(440px, 100%); background: #fff; color: var(--text); border-radius: 24px; padding: 1.6rem; box-shadow: 0 40px 80px rgba(0,0,0,.45); transform: translateY(24px) scale(.96); transition: transform .35s cubic-bezier(.34,1.4,.64,1); position: relative; text-align: center; }
.coupon.in .box { transform: none; }
.coupon .close { position: absolute; top: 12px; right: 12px; border: 0; background: var(--bg); width: 32px; height: 32px; border-radius: 50%; font: inherit; cursor: var(--wand); }
.coupon h3 { font-size: 1.6rem; margin: 0 0 .3rem; } .coupon .sub { color: var(--muted); margin: 0 0 1rem; }
.coupon .card { position: relative; border-radius: 18px; background: linear-gradient(135deg, var(--navy), #17406b); color: #fff; padding: 1.6rem 1rem; min-height: 150px; display: grid; place-items: center; gap: .2rem; overflow: hidden; cursor: var(--wand); user-select: none; }
.coupon .card .pct { font-size: 3.2rem; font-weight: 800; letter-spacing: -.04em; line-height: 1; color: var(--sun); }
.coupon .card .code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 1.1rem; letter-spacing: .1em; background: rgba(255,255,255,.12); padding: .25rem .7rem; border-radius: 8px; }
.coupon .card .hint { position: absolute; inset: 0; display: grid; place-items: center; font-weight: 700; font-size: 1.2rem; color: #fff; z-index: 2; text-shadow: 0 2px 8px rgba(0,0,0,.6); transition: opacity .4s; }
.coupon .card.clean .hint { opacity: 0; pointer-events: none; }
.coupon .card > canvas.grime { opacity: 1; } .coupon .card .hint { z-index: 5; }
.coupon .timer { font-weight: 700; color: #e05252; margin: 1rem 0 .3rem; font-variant-numeric: tabular-nums; }
.coupon .fine { font-size: .82rem; color: var(--muted); margin: 0 0 .8rem; }
.coupon .use { display: none; } .coupon.won .use { display: inline-flex; }
#coupon-pill { position: fixed; left: 18px; bottom: 18px; z-index: 30; display: flex; gap: .5rem; align-items: center; background: var(--sun); color: var(--navy); border: 0; border-radius: 999px; padding: .6rem 1rem; font: inherit; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.3); cursor: var(--wand); }
#coupon-pill[hidden] { display: none; } #coupon-pill .t { font-variant-numeric: tabular-nums; opacity: .75; font-weight: 600; }
.have-code { display: flex; gap: .5rem; align-items: center; margin: .6rem 0; } .have-code input { max-width: 200px; text-transform: uppercase; } .have-code .note { flex: 1; }
.btn.small { padding: .55rem 1rem; font-size: .95rem; }
.btn.big { width: 100%; padding: 1.1rem; font-size: 1.15rem; margin-top: .8rem; }
.btn:disabled { opacity: .5; transform: none; }

.top { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; justify-content: space-between; padding: .8rem clamp(1rem, 4vw, 3rem); background: rgba(10,26,47,.85); backdrop-filter: blur(10px); color: #fff; }
.brand { font-weight: 800; font-size: 1.3rem; text-decoration: none; display: flex; align-items: center; gap: .2rem; letter-spacing: -.02em; }
.brand img { height: 38px; width: auto; display: block; }
.brand b { color: var(--water); font-weight: 800; margin-top: 2px; }
.foot-brand { display: flex; align-items: center; gap: .2rem; font-weight: 800; color: var(--text); } .foot-brand img { height: 30px; width: auto; } .foot-brand b { color: var(--water); } .foot-brand small { font-weight: 400; margin-left: .4rem; }
.drop { width: 14px; height: 14px; background: var(--water); border-radius: 50% 50% 50% 0; transform: rotate(-45deg); display: inline-block; }
.top nav { display: flex; gap: 1.4rem; align-items: center; }
.top nav a { text-decoration: none; font-weight: 500; opacity: .9; }
@media (max-width: 720px) { .top nav a:not(.btn) { display: none; } }

.hero { background: radial-gradient(1200px 600px at 20% -10%, #17406b, var(--navy) 60%); color: #fff; padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem) 3rem; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem; align-items: center; }
.hero p { font-size: 1.15rem; opacity: .85; max-width: 46ch; }
.hero-cta { display: flex; gap: .8rem; flex-wrap: wrap; margin: 1.2rem 0; }
.stage-col { display: flex; flex-direction: column; gap: .7rem; min-width: 0; }
.meter { display: flex; align-items: center; gap: .8rem; font-weight: 600; font-size: .95rem; padding: 0 .3rem; }
.meter .bar { flex: 1; height: 10px; background: rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; }
.meter .bar i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--water), #7ff0c8); transition: width .25s; }
.meter .reset { margin-left: auto; background: none; border: 0; color: #fff; opacity: .6; text-decoration: underline; font: inherit; font-size: .85rem; cursor: var(--wand); }
.stage { position: relative; border-radius: 20px; overflow: hidden; box-shadow: 0 30px 60px rgba(0,0,0,.45); aspect-ratio: 16 / 10; background: #0d2340; touch-action: none; user-select: none; }
.stage canvas { width: 100%; height: 100%; display: block; }
.stage .hint { position: absolute; left: 50%; bottom: 12px; transform: translateX(-50%); background: rgba(0,0,0,.45); padding: .35rem .8rem; border-radius: 999px; font-size: .85rem; pointer-events: none; transition: opacity .4s; }
.stage.busy .hint { opacity: 0; }
@media (max-width: 860px) { .hero { grid-template-columns: 1fr; } }

.strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.strip div { background: #fff; padding: 1.1rem clamp(1rem, 3vw, 2rem); display: flex; flex-direction: column; }
.strip b { font-weight: 600; } .strip span { color: var(--muted); font-size: .9rem; }

.wrap { padding: clamp(2.5rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem); max-width: 1180px; margin: 0 auto; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 1rem; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 1.2rem; position: relative; overflow: hidden; cursor: var(--wand); transition: transform .15s; }
.card:hover { transform: translateY(-3px); }
.card b { display: block; font-size: 1.15rem; margin-bottom: .2rem; }
.card p { margin: 0 0 .6rem; color: var(--muted); font-size: .95rem; }
.card .from { color: var(--water2); font-weight: 600; }

/* dirt on cards (grime.js): a crisp mottled layer on a canvas that the wand blasts off along your path */
.grimy { position: relative; }
.grimy > canvas.grime, .grimy > canvas.grime-fx { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; border-radius: inherit; z-index: 3; }
.grimy > canvas.grime-fx { z-index: 4; }
.grimy > canvas.grime.rinse { opacity: 0; transition: opacity .8s ease; }
.card.grimy > *:not(canvas) { position: relative; }

.quote { background: #fff; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); max-width: none; }
.quote > h2, .quote > .lead, .quote-grid, .done { max-width: 1180px; margin-left: auto; margin-right: auto; }
.quote-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(280px, 1fr); gap: 2rem; align-items: start; }
@media (max-width: 860px) { .quote-grid { grid-template-columns: 1fr; } .ticket { position: static !important; } }
.step { padding: 1.2rem 0 1.4rem; border-bottom: 1px dashed var(--line); }
.step h3 span { display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .9rem; margin-right: .4rem; }
.row { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; margin: .6rem 0; }
.row label { width: 70px; color: var(--muted); font-weight: 500; }
.seg { display: inline-flex; background: var(--bg); border: 1px solid var(--line); border-radius: 999px; padding: 3px; flex-wrap: wrap; }
.seg button { border: 0; background: transparent; font: inherit; font-weight: 500; padding: .45rem .9rem; border-radius: 999px; cursor: var(--wand); color: var(--muted); }
.seg button.on { background: var(--navy); color: #fff; }
.picks { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: .7rem; }
.pick { border: 2px solid var(--line); border-radius: 14px; padding: .8rem .9rem; cursor: var(--wand); background: #fff; transition: border-color .15s; }
.pick.on { border-color: var(--water); background: var(--foam); }
.pick b { display: flex; justify-content: space-between; align-items: baseline; }
.pick b small { color: var(--water2); font-weight: 600; }
.pick p { margin: .2rem 0 0; font-size: .85rem; color: var(--muted); }
.pick .opt { margin-top: .6rem; display: flex; gap: .4rem; flex-wrap: wrap; align-items: center; }
.pick .opt button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .3rem .55rem; font: inherit; font-size: .82rem; cursor: var(--wand); }
.pick .opt button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.pick .opt input { width: 80px; border: 1px solid var(--line); border-radius: 8px; padding: .35rem .5rem; font: inherit; }
input, textarea { font: inherit; border: 1px solid var(--line); border-radius: 10px; padding: .75rem .9rem; width: 100%; background: #fff; }
input:focus, textarea:focus { outline: 2px solid var(--water); border-color: transparent; }
#zip { width: 120px; }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; margin-bottom: .7rem; }
@media (max-width: 560px) { .two { grid-template-columns: 1fr; } }
.note { color: var(--muted); font-size: .88rem; }
.cal { margin-top: .8rem; max-width: 420px; }
.cal-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .4rem; }
.cal-head button { border: 1px solid var(--line); background: #fff; border-radius: 8px; width: 34px; height: 34px; font-size: 1.2rem; cursor: var(--wand); }
.cal-grid { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.cal-grid .d { text-align: center; font-size: .75rem; color: var(--muted); padding: .2rem 0; }
.cal-grid button { border: 1px solid var(--line); background: #fff; border-radius: 8px; padding: .5rem 0; font: inherit; font-size: .9rem; cursor: var(--wand); }
.cal-grid button:disabled { opacity: .3; }
.cal-grid button.open { border-color: var(--water); }
.cal-grid button.on { background: var(--navy); color: #fff; border-color: var(--navy); }
.windows { display: flex; gap: .6rem; margin: .8rem 0; }
.windows button { flex: 1; border: 2px solid var(--line); background: #fff; border-radius: 12px; padding: .7rem; font: inherit; font-weight: 600; cursor: var(--wand); }
.windows button small { display: block; font-weight: 400; color: var(--muted); }
.windows button.on { border-color: var(--water); background: var(--foam); }
.windows button:disabled { opacity: .35; }
.ticket { position: sticky; top: 80px; background: var(--navy); color: #fff; border-radius: 20px; padding: 1.4rem; box-shadow: 0 20px 50px rgba(10,26,47,.35); }
.ticket h3 { color: var(--water); }
.ticket ul { list-style: none; margin: 0; padding: 0; }
.ticket li { display: flex; justify-content: space-between; gap: 1rem; padding: .5rem 0; border-bottom: 1px solid rgba(255,255,255,.1); }
.ticket li small { display: block; opacity: .6; font-size: .8rem; }
.ticket li.empty { opacity: .6; border: 0; }
.totals { margin-top: .8rem; }
.totals .disc { display: flex; justify-content: space-between; color: #7ff0c8; padding: .3rem 0; }
.totals .tot { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.1rem; padding: .5rem 0; }
.totals .tot b { font-size: 2.2rem; letter-spacing: -.03em; }
.totals .when { opacity: .8; } .totals .time { opacity: .6; font-size: .85rem; }
.fine { font-size: .8rem; opacity: .6; margin: 1rem 0 0; }
.done { background: var(--foam); border: 2px solid var(--water); border-radius: 20px; padding: 2rem; margin-top: 2rem; }

.how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 1rem; counter-reset: s; }
.how li { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 1.4rem 1.2rem 1.2rem; counter-increment: s; }
.how li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--sun); color: var(--navy); font-weight: 800; margin-bottom: .6rem; }
.how li b { display: block; margin-bottom: .2rem; }

.ops { background: var(--navy); color: #fff; max-width: none; }
.ops-grid { max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1.2fr 1fr; gap: 3rem; align-items: center; }
@media (max-width: 860px) { .ops-grid { grid-template-columns: 1fr; } }
.ops .lead { color: rgba(255,255,255,.75); }
.check { list-style: none; padding: 0; margin: 0 0 1.5rem; }
.check li { padding: .35rem 0 .35rem 1.8rem; position: relative; }
.check li::before { content: ''; position: absolute; left: 0; top: .6rem; width: 16px; height: 16px; border-radius: 50%; background: var(--water); }
.van-card { background: #fff; color: var(--text); border-radius: 20px; padding: 1.4rem; }
.van-card table { width: 100%; border-collapse: collapse; margin: .6rem 0; }
.van-card td { padding: .4rem 0; border-bottom: 1px solid var(--line); }
.van-card td:first-child { color: var(--muted); width: 60px; } .van-card td:last-child { text-align: right; font-weight: 600; }
.van-card .sum td { border: 0; font-weight: 700; } .van-card .sum:last-child td { color: var(--water2); font-size: 1.1rem; }
.van-card small { color: var(--muted); }

footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; padding: 1.5rem clamp(1rem, 4vw, 3rem); color: var(--muted); font-size: .9rem; }
footer small { opacity: .7; }

/* promo */
.promo { background: var(--sun); color: var(--navy); text-align: center; font-weight: 600; padding: .55rem 1rem; font-size: .95rem; }
.promo[hidden] { display: none; }

/* Herb */
.herb[hidden] { display: none; }
.herb { position: fixed; right: 18px; bottom: 18px; z-index: 30; display: flex; flex-direction: column; align-items: flex-end; gap: .6rem; }
.herb .panel { display: none; width: min(380px, calc(100vw - 36px)); background: #fff; color: var(--text); border-radius: 18px; box-shadow: 0 24px 60px rgba(10,26,47,.35); overflow: hidden; }
.herb.open .panel { display: flex; flex-direction: column; }
.herb .head { display: flex; align-items: center; gap: .5rem; padding: .7rem .9rem; background: var(--navy); color: #fff; }
.herb .head .sub { opacity: .6; font-size: .85rem; flex: 1; }
.herb .close { border: 0; background: rgba(255,255,255,.12); color: #fff; width: 28px; height: 28px; border-radius: 50%; font: inherit; cursor: var(--wand); }
.herb .log { max-height: min(380px, 50vh); min-height: 120px; overflow: auto; padding: .7rem .9rem; font-size: .95rem; display: flex; flex-direction: column; gap: .4rem; }
.herb .log p { margin: 0; max-width: 88%; padding: .5rem .75rem; border-radius: 14px; line-height: 1.35; white-space: pre-wrap; }
.herb .log p.bot { background: var(--foam); align-self: flex-start; border-bottom-left-radius: 4px; }
.herb .log p.you { background: var(--navy); color: #fff; align-self: flex-end; border-bottom-right-radius: 4px; }
.herb .log p.sys { background: none; color: var(--muted); font-size: .8rem; align-self: center; padding: 0; }
.herb .log p.dots { opacity: .5; }
.herb .row { display: flex; gap: .4rem; padding: .6rem; border-top: 1px solid var(--line); margin: 0; }
.herb .row input { flex: 1; padding: .6rem .8rem; border-radius: 999px; }
.herb .row button { border: 0; border-radius: 999px; padding: .6rem .9rem; font: inherit; font-weight: 600; cursor: var(--wand); background: var(--water); color: #fff; }
.herb .row .talk { background: var(--navy); } .herb .row .talk.live { background: #ff6b6b; }
/* Herb is the orb in the corner. The panel opens above it and the orb keeps living. */
.herb .open-btn { position: relative; display: flex; flex-direction: column; align-items: center; gap: 0; border: 0; background: none; padding: 0; margin: 0; cursor: var(--wand); -webkit-tap-highlight-color: transparent; }
.herb .orb-wrap { position: relative; width: 116px; height: 116px; display: grid; place-items: center; }
.herb .orb-wrap::before { content: ''; position: absolute; inset: 6px; border-radius: 50%; background: radial-gradient(circle at 50% 45%, #0f2c4f 0%, #0a1a2f 62%, rgba(10,26,47,0) 72%); box-shadow: 0 14px 34px rgba(10,26,47,.45), 0 0 40px rgba(25,180,255,.25); }
.herb .orb-wrap canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: none; touch-action: none; cursor: var(--wand); }
.herb .orb-wrap.gl canvas { display: block; } .herb .orb-wrap.gl .ring { display: none; }
.herb .ring { width: 64px; height: 64px; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #9fe3ff, var(--water) 55%, var(--water2)); box-shadow: 0 0 0 0 rgba(25,180,255,.6); animation: pulse 2.2s infinite; }
.herb .open-btn .lbl { margin-top: -10px; font-weight: 700; font-size: .85rem; color: #fff; background: rgba(10,26,47,.78); padding: .28rem .75rem; border-radius: 999px; box-shadow: 0 6px 18px rgba(0,0,0,.3); backdrop-filter: blur(6px); transition: background .2s; }
.herb.open .open-btn .lbl { background: var(--water2); }
.herb .head b { font-size: 1.05rem; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(25,180,255,.6); } 70% { box-shadow: 0 0 0 14px rgba(25,180,255,0); } 100% { box-shadow: 0 0 0 0 rgba(25,180,255,0); } }


/* lanes on the home page */
.kicker { text-transform: uppercase; letter-spacing: .12em; font-size: .8rem; font-weight: 600; color: var(--water); margin: 0 0 .6rem; }
.lanes h2 { margin-bottom: .2rem; }
.lane { margin-top: 2.6rem; padding-top: 2rem; border-top: 1px solid var(--line); }
.lane:first-of-type { border-top: 0; margin-top: 1rem; padding-top: 0; }
.lane-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1.5rem; margin-bottom: 1rem; }
.lane-head h3 { font-size: clamp(1.3rem, 2.4vw, 1.8rem); font-weight: 800; letter-spacing: -.02em; margin: .2rem 0 .3rem; }
.lane-head p { margin: 0; color: var(--muted); max-width: 62ch; }
.lane-head .btn { flex: none; }
@media (max-width: 720px) { .lane-head { flex-direction: column; align-items: flex-start; } }
.tag-lane { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--water2); background: var(--foam); padding: .2rem .6rem; border-radius: 999px; }
.btn.ghost.dark { background: linear-gradient(180deg, rgba(10,26,47,.06), rgba(10,26,47,.02)); border-color: rgba(10,26,47,.18); --btn-text-dry: var(--navy); box-shadow: none; }
.pick-group { grid-column: 1 / -1; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin-top: .6rem; }
.pick-group:first-child { margin-top: 0; }

/* category pages */
.cat-hero h1 { font-size: clamp(1.9rem, 4vw, 3rem); max-width: 18ch; }
.cat-hero .lead { color: rgba(255,255,255,.78); font-size: 1.02rem; }
.cat-hero .check { margin-bottom: 1.2rem; } .cat-hero .check li { padding-top: .2rem; padding-bottom: .2rem; }
.cat-page[data-cat="home"] nav a[href="/wash/home"], .cat-page[data-cat="auto"] nav a[href="/wash/auto"], .cat-page[data-cat="boat"] nav a[href="/wash/boat"], .cat-page[data-cat="other"] nav a[href="/wash/other"] { color: var(--water); font-weight: 700; }


/* hero copy: typewriter noun, live dot, proof chips */
.hero h1 { font-size: clamp(1.9rem, 4.1vw, 3.5rem); }
.hero h1 .l1 { white-space: nowrap; }
.hero .kicker { letter-spacing: .08em; }
.type { white-space: nowrap; } .type b { color: var(--water); font-weight: inherit; }
.type .cursor { font-style: normal; font-weight: 400; color: var(--water); margin-left: .04em; animation: blink .9s steps(1) infinite; }
.type.typing .cursor { animation: none; opacity: 1; }
@keyframes blink { 0%, 55% { opacity: 1; } 56%, 100% { opacity: 0; } }
.kicker .live { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: #7ff0c8; margin-right: .5rem; vertical-align: middle; box-shadow: 0 0 0 0 rgba(127,240,200,.7); animation: pulse-dot 2s infinite; }
@keyframes pulse-dot { 0% { box-shadow: 0 0 0 0 rgba(127,240,200,.7); } 70% { box-shadow: 0 0 0 9px rgba(127,240,200,0); } 100% { box-shadow: 0 0 0 0 rgba(127,240,200,0); } }
.hero-sub { font-size: 1.12rem; }
.chips { list-style: none; padding: 0; margin: 1.2rem 0 0; display: flex; flex-wrap: wrap; gap: .45rem; }
.chips li { font-size: .82rem; font-weight: 600; color: rgba(255,255,255,.85); background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.14); padding: .3rem .7rem; border-radius: 999px; }
@media (prefers-reduced-motion: reduce) { .type .cursor, .kicker .live { animation: none; } }


/* full-bleed hero (home page): the spray scene is the whole hero, copy sits over it */
.hero.full { display: block; position: relative; padding: 0; min-height: min(82vh, 860px); overflow: hidden; isolation: isolate; }
.hero.full .stage-col { position: absolute; inset: 0; z-index: 0; gap: 0; }
.hero.full .stage { position: absolute; inset: 0; aspect-ratio: auto; border-radius: 0; box-shadow: none; }
.hero.full::before { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(90deg, rgba(10,26,47,.88) 0%, rgba(10,26,47,.62) 34%, rgba(10,26,47,.12) 62%, rgba(10,26,47,0) 80%), linear-gradient(0deg, rgba(10,26,47,.75) 0%, rgba(10,26,47,0) 45%); }
.hero.full .hero-copy { position: relative; z-index: 2; max-width: 640px; min-height: min(82vh, 860px); display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 3rem) clamp(2rem, 5vw, 4rem); pointer-events: none; }
.hero.full .hero-copy .btn, .hero.full .hero-copy a, .hero.full .hero-copy button { pointer-events: auto; }
.hero.full h1 { font-size: clamp(2.2rem, 5vw, 4.4rem); text-shadow: 0 2px 24px rgba(0,0,0,.55); }
.hero.full .hero-sub { text-shadow: 0 1px 12px rgba(0,0,0,.6); max-width: 46ch; }
.hero.full .chips li { background: rgba(10,26,47,.55); backdrop-filter: blur(6px); }
.hero.full .meter { position: absolute; right: clamp(1rem, 3vw, 2.2rem); top: 56px; bottom: auto; z-index: 2; width: min(360px, 46vw); padding: .55rem .9rem; background: rgba(10,26,47,.55); backdrop-filter: blur(8px); border-radius: 999px; border: 1px solid rgba(255,255,255,.12); pointer-events: auto; }
.hero.full .stage .hint { left: auto; right: clamp(1rem, 3vw, 2.2rem); top: 16px; bottom: auto; transform: none; }
@media (max-width: 860px) { .hero.full .hero-copy { max-width: none; min-height: 88vh; justify-content: flex-end; } .hero.full::before { background: linear-gradient(0deg, rgba(10,26,47,.92) 0%, rgba(10,26,47,.7) 40%, rgba(10,26,47,.15) 75%, rgba(10,26,47,0) 100%); } .hero.full .meter { width: calc(100% - 2rem); right: 1rem; top: 52px; } .hero.full .stage .hint { top: 12px; right: 12px; } }

@media (max-width: 860px) { .chips { padding-right: 96px; } .herb .orb-wrap { width: 88px; height: 88px; } .herb .open-btn .lbl { font-size: .78rem; } }


/* rise-in for section copy (reveal.js) */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s cubic-bezier(.2,.8,.2,1), transform .55s cubic-bezier(.2,.8,.2,1); transition-delay: var(--d, 0ms); }
.reveal.in { opacity: 1; transform: none; }
.cat-hero h1 .l1 { white-space: nowrap; }
.cat-hero h1 { font-size: clamp(1.8rem, 3.6vw, 3rem); }

/* headings typing in (type.js, type-once) */
.type-once .cursor { font-style: normal; font-weight: 400; color: var(--water); margin-left: .04em; animation: blink .9s steps(1) infinite; }
.type-once.typing .cursor { animation: none; opacity: 1; }


/* background wash (washbg.js): the film lives on a fixed canvas behind everything; page sections go transparent so it shows through */
#washbg { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; pointer-events: none; }
body > section, body > footer, body > .promo, body > main { position: relative; z-index: 1; }
.quote { background: transparent; }
.strip { background: transparent; border-bottom: 0; gap: 8px; padding: 8px clamp(1rem, 4vw, 3rem); }
.strip div { border: 1px solid var(--line); border-radius: 12px; }

/* customer photos (photos.js) */
.photos { margin: .8rem 0; }
.photos .pdrop { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: .8rem; align-items: center; padding: .9rem 1rem; border: 2px dashed var(--line); border-radius: 14px; background: #fff; cursor: pointer; transition: border-color .2s, background .2s; }
.photos .pdrop:hover, .photos .pdrop.over { border-color: var(--water); background: #f2faff; }
.photos .pdrop.full { opacity: .5; pointer-events: none; }
.photos .pdrop .ico { grid-row: 1 / 3; font-size: 1.8rem; }
.photos .pdrop b { font-size: 1rem; }
.photos .pdrop .sub { font-size: .85rem; color: var(--muted); }
.photos .thumbs { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .6rem; }
.photos figure { margin: 0; position: relative; width: 84px; height: 84px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.photos figure img { width: 100%; height: 100%; object-fit: cover; display: block; }
.photos figure.busy img { opacity: .5; }
.photos figure.busy::after { content: ''; position: absolute; inset: 0; margin: auto; width: 22px; height: 22px; border: 3px solid var(--water); border-top-color: transparent; border-radius: 50%; animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.photos figure button { position: absolute; top: 3px; right: 3px; width: 22px; height: 22px; border: 0; border-radius: 50%; background: rgba(10,26,47,.75); color: #fff; font-size: .75rem; cursor: pointer; }
.photos .pmsg:empty { display: none; }
.cal-grid button.near { position: relative; }
.cal-grid button.near::after { content: ''; position: absolute; right: 4px; top: 4px; width: 7px; height: 7px; border-radius: 50%; background: var(--water); }
.cal-legend { font-size: .8rem; color: var(--muted); margin: .3rem 0 0; }
.cal-legend i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--water); margin-right: .3rem; }

/* reveal card: the wand cuts through a photographic film; the bar under it fills as you go */
.coupon .card { touch-action: none; }
.coupon .card .hint { font-size: 1.05rem; letter-spacing: .02em; text-transform: uppercase; opacity: .95; }
.coupon .card.clean .hint { opacity: 0; }
.coupon .wmeter { height: 6px; border-radius: 3px; background: var(--line); margin: .8rem auto 0; max-width: 260px; overflow: hidden; }
.coupon .wmeter i { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--water), #6fe3ff); transition: width .15s; }
