/* Smiley Bubbles Laundry — the portholes.
   Three grounds, each a water depth: foam paper, mist,
   abyss. One accent, deep wash-water teal, spent on the
   action and the lit hours. Circles are the subject's
   geometry: the porthole, the ring, the bubble. */

:root {
  --paper: #F4F7F8;
  --mist: #E8F1F3;
  --abyss: #123B4A;
  --ink: #1E2A33;
  --ink-2: #42525E;
  --deep: #0E5A6D;
  --deep-hover: #0A4656;
  --pale: #BFE0EA;
  --hair-paper: rgba(30, 42, 51, 0.14);
  --hair-abyss: rgba(255, 255, 255, 0.22);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.wrap {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

img { display: block; max-width: 100%; }

a { color: var(--ink); }

:focus-visible {
  outline: 2px solid var(--deep);
  outline-offset: 3px;
}
.visit :focus-visible { outline-color: var(--pale); }

.skip {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--deep);
  color: #fff;
  padding: 12px 20px;
  z-index: 50;
}
.skip:focus { left: 8px; top: 8px; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--paper);
  border-bottom: 1px solid var(--hair-paper);
}
.header-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 64px;
}
.wordmark {
  font-weight: 800;
  font-size: 18px;
  letter-spacing: 0.01em;
  text-decoration: none;
  white-space: nowrap;
  padding: 10px 0;
}
.header-nav {
  display: none;
  align-items: center;
  gap: 28px;
}
.header-nav a {
  text-decoration: none;
  font-weight: 600;
  padding: 10px 0;
}
.header-nav a:hover { text-decoration: underline; }
.header-nav .header-call {
  background: var(--deep);
  color: #fff;
  padding: 10px 20px;
  border-radius: 999px;
  transition: background 0.15s ease-out, color 0.15s ease-out;
}
.header-nav .header-call:hover {
  text-decoration: none;
  background: var(--deep-hover);
}
body.covered .header-nav .header-call {
  background: transparent;
  color: var(--ink);
  text-decoration: underline;
}
.header-directions {
  font-weight: 600;
  white-space: nowrap;
  padding: 10px 0;
}

/* ---------- buttons ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 17px;
  text-decoration: none;
  transition: transform 0.12s ease-out, background 0.15s ease-out;
}
.btn:active { transform: scale(0.98); }
.btn-deep { background: var(--deep); color: #fff; }
.btn-deep:hover { background: var(--deep-hover); }
.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid var(--hair-abyss);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--hair-paper);
}
.text-link { font-weight: 600; display: inline-block; padding: 12px 2px; color: var(--deep); }

/* ---------- the wall ---------- */

.wall { padding-bottom: 72px; }

.hero-photo { margin: 0; }
.hero-photo img {
  width: 100%;
  height: clamp(280px, 52vh, 520px);
  object-fit: cover;
  object-position: center 42%;
}

.wall-in {
  text-align: center;
  padding-top: 48px;
  animation: settle 450ms ease-out both;
}
@keyframes settle {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: translateY(0); }
}
.wall-name {
  margin: 0;
  font-size: clamp(40px, 9vw, 80px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.lead {
  margin: 24px auto 0;
  max-width: 560px;
  font-size: 19px;
}
.open-line {
  margin: 16px 0 0;
  font-size: clamp(24px, 3.4vw, 36px);
  line-height: 1.2;
  font-weight: 600;
  color: var(--deep);
}
.wall-actions {
  margin: 24px 0 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- the day ---------- */

.day {
  background: var(--mist);
  padding: 80px 0 96px;
}
.sec-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--deep);
}
.day-in {
  margin-top: 32px;
  display: grid;
  gap: 40px;
  align-items: center;
}
.day-ring { margin: 0 auto; width: min(100%, 340px); }
.day-ring svg { display: block; width: 100%; height: auto; }
.ring-track { fill: none; stroke: rgba(30, 42, 51, 0.14); stroke-width: 10; }
.ring-ticks {
  fill: none;
  stroke: rgba(66, 82, 94, 0.45);
  stroke-width: 16;
  stroke-dasharray: 2 18.42;
}
.ring-lit {
  fill: none;
  stroke: var(--deep);
  stroke-width: 10;
  stroke-dasharray: 285.88 204.21;
  stroke-dashoffset: 347.14;
}
.ring-hub { fill: var(--deep); }
.ring-end {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  fill: var(--ink-2);
}
.day-head {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 34px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.day-body { margin: 16px 0 0; max-width: 480px; }

.week-label { margin-top: 64px; }
.week {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}
.week li {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 2px;
}
.wk-ring { width: 52px; height: 52px; margin-bottom: 8px; }
.wk-ring .wk-track { fill: none; stroke: var(--ink-2); stroke-width: 3.5; }
.wk-ring .wk-lit {
  fill: none;
  stroke: var(--deep);
  stroke-width: 3.5;
  stroke-dasharray: 58.64 41.89;
  stroke-dashoffset: 71.2;
  display: none;
}
.week li.today .wk-lit { display: block; }
.wk-day { font-weight: 600; font-size: 15px; }
.wk-abbr { display: none; }
.week li.today .wk-day { color: var(--deep); }
.wk-hours { font-size: 13px; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.wk-hours-short { display: none; font-size: 12px; color: var(--ink-2); font-variant-numeric: tabular-nums; }

/* ---------- the foam ---------- */

.foam-band {
  height: 180px;
  background: url("img/foam.jpg") center 55% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}
.foam-label {
  background: var(--paper);
  padding: 4px 18px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ---------- the visit ---------- */

.visit {
  background: var(--abyss);
  color: #fff;
  padding: 80px 0 96px;
}
.vis-label,
.vis-call-label {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--pale);
}
.vis-addr {
  margin: 16px 0 0;
  font-size: clamp(30px, 4.6vw, 54px);
  line-height: 1.18;
  font-weight: 800;
  letter-spacing: -0.01em;
}
.vis-call-label { margin-top: 48px; }
.vis-phone-line { margin: 8px 0 0; }
.vis-phone {
  display: inline-block;
  padding: 8px 0;
  font-size: clamp(28px, 4.2vw, 48px);
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  color: #fff;
  text-decoration: none;
}
.vis-phone:hover { text-decoration: underline; }
.vis-actions {
  margin: 40px 0 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.round-photo {
  margin: 56px auto 0;
  width: min(100%, 400px);
}
.round-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow:
    0 0 0 10px #0D3242,
    0 0 0 11px rgba(191, 224, 234, 0.35),
    0 18px 36px rgba(0, 0, 0, 0.35);
}

/* ---------- footer ---------- */

.site-footer {
  padding: 48px 0 56px;
  border-top: 1px solid var(--hair-paper);
}
.site-footer p { margin: 4px 0; font-size: 14px; }
.site-footer .footer-name { font-weight: 800; font-size: 16px; }
.site-footer a { color: var(--ink); display: inline-block; padding: 12px 0; }

/* ---------- phone bar ---------- */

.phonebar {
  display: none;
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 30;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: var(--paper);
  border-top: 1px solid var(--hair-paper);
  transition: transform 0.25s ease-out;
}
.phonebar .btn { flex: 1; padding: 12px 10px; font-size: 16px; }
body.covered .phonebar { transform: translateY(110%); }

/* ---------- compositions ---------- */

@media (min-width: 720px) {
  .header-nav { display: flex; }
  .header-directions { display: none; }
}

@media (min-width: 1024px) {
  .day { padding: 96px 0 112px; }
  .day-in { grid-template-columns: 340px 1fr; gap: 64px; }
  .day-ring { margin: 0; }
  .visit { padding: 96px 0 112px; }
  .visit-in {
    display: grid;
    grid-template-columns: 1.25fr 0.75fr;
    gap: 64px;
    align-items: center;
  }
  .round-photo { margin: 0 auto; }
}

@media (max-width: 1199px) {
  .hero-photo img { height: clamp(260px, 42vh, 420px); }
}

@media (max-width: 860px) {
  .week { grid-template-columns: repeat(7, 1fr); gap: 8px; }
  .wk-ring { width: 100%; max-width: 36px; height: auto; aspect-ratio: 1; margin-bottom: 6px; }
  .wk-day { font-size: 13px; }
  .wk-full { display: none; }
  .wk-abbr { display: inline; }
  .wk-hours { display: none; }
  .wk-hours-short { display: block; }
}

@media (max-width: 719px) {
  .phonebar { display: flex; }
  .site-footer { padding-bottom: 110px; }
  .hero-photo img { height: 300px; }
  .wall { padding-bottom: 40px; }
  .wall-in { padding-top: 32px; }
  .day { padding: 56px 0 64px; }
  .visit { padding: 56px 0 64px; }
  .foam-band { height: 140px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .wall-in { animation: none; }
  .btn, .phonebar { transition: none; }
}
