:root {
  color-scheme: light;
  --ink: #12395b;
  --muted: #3e5872;
  --sky: #b7d7e8;
  --pale: #e8f4ff;
}
* { box-sizing: border-box; }
body { margin: 0; color: var(--ink); background: white; font: 1rem/1.6 system-ui, sans-serif; }
a { color: inherit; text-underline-offset: .2em; }
a:hover { text-decoration-thickness: .15em; }
:focus-visible { outline: 3px solid #a4380e; outline-offset: 3px; box-shadow: 0 0 0 3px white; }
.wrap { width: min(1160px, calc(100% - 2rem)); margin-inline: auto; }
.skip { position: absolute; top: .5rem; left: .5rem; z-index: 5; padding: .65rem; background: white; transform: translateY(-160%); }
.skip:focus { transform: none; }
.top, .utility-inner, nav, .actions { display: flex; align-items: center; flex-wrap: wrap; gap: .35rem 1.1rem; }
.top, .utility-inner { justify-content: space-between; }
.utility { background: var(--sky); }
.utility-inner { min-height: 40px; justify-content: flex-end; }
.languages { column-gap: clamp(.55rem, 2vw, 1.1rem); }
.top { --brand-width: clamp(6rem, 10vw, 7.5rem); width: min(1440px, calc(100% - 2rem)); padding-bottom: .25rem; min-height: 64px; }
.brand { position: relative; z-index: 1; display: inline-flex; align-items: center; align-self: flex-start; margin-top: calc(var(--brand-width) * -.31); }
/* The diagonal cut follows the gap between the script and the washer tops. */
.brand img { display: block; width: var(--brand-width); height: auto; clip-path: polygon(0 0, 100% 0, 100% 24.6%, 35% 24.6%, 32.3% 27%, 0 27%); }
.brand::after {
  content: "";
  position: absolute;
  inset: 0;
  background: url("new-sam-header-logo.webp") center / contain no-repeat;
  clip-path: polygon(0 27%, 32.3% 27%, 35% 24.6%, 100% 24.6%, 100% 100%, 0 100%);
  transform: translateY(3px);
  pointer-events: none;
}
nav a, nav summary, .utility a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; }
.utility-inner .languages a { min-height: 40px; }
[aria-current="page"] { text-decoration: underline; text-decoration-thickness: .14em; }
.service-menu { position: relative; }
summary { cursor: pointer; font-weight: 750; }
.service-menu summary { display: list-item; align-content: center; }
.service-menu ul { position: absolute; z-index: 3; left: 0; top: 100%; min-width: 14rem; margin: 0; padding: .35rem .8rem; list-style: none; background: white; border: 1px solid #7594ae; border-radius: .35rem; box-shadow: 0 .5rem 1.3rem #12395b26; }
.primary a { text-decoration: none; }
.primary > a:not(.button), .primary summary { text-underline-offset: .42em; }
.primary > a:not(.button):hover,
.primary:not(:has(> [aria-current="location"])) > a[aria-current="page"],
.primary > a[aria-current="location"],
.primary:not(:has(> [aria-current="location"])) .is-current > summary,
.primary .service-menu[open] > summary {
  text-decoration: underline;
  text-decoration-thickness: .12em;
  text-decoration-color: var(--ink);
}
.service-menu a { width: 100%; padding-inline: .65rem; border-radius: .2rem; }
.service-menu a:hover, .service-menu a[aria-current="page"] { background: var(--ink); color: white; }
.hero { padding: 0 1rem clamp(3rem, 8vw, 8rem); background: linear-gradient(#12395b29, #12395b29), #8eabbd url("laundry.webp") center / cover no-repeat; }
@media (prefers-reduced-motion: no-preference) and (min-width: 800px) and (pointer: fine) {
  .hero { background-attachment: fixed; }
}
.hero-copy { width: min(100%, 43rem); margin-left: max(0px, calc((100vw - 1440px) / 2)); padding: clamp(1.5rem, 5vw, 4rem); background: var(--sky); border-radius: 0 0 1rem 1rem; box-shadow: 0 .5rem 1.5rem #12395b30; }
h1, h2, h3 { line-height: 1.12; margin: 0; overflow-wrap: anywhere; }
h1 { font-size: clamp(2rem, 4.1vw, 3.75rem); font-weight: 650; }
h2 { font-size: clamp(1.7rem, 3.25vw, 2.55rem); }
h3 { font-size: 1.4rem; }
p { color: var(--muted); max-width: 65ch; }
.intro { color: var(--ink); font-size: clamp(1rem, 1.65vw, 1.25rem); }
.hero-visit, .hero-tagline { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; padding: .6rem 1.15rem; border-radius: 2rem; background: var(--ink); color: white; font-weight: 750; text-decoration: none; text-align: center; }
.button:hover { background: #28577e; }
.section { padding-block: clamp(2.5rem, 6vw, 4.6rem); }
.services h2 { text-align: center; }
.cards, .location { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem; }
.cards { margin-top: 1.6rem; }
.cards .card { display: grid; grid-row: span 3; grid-template-rows: subgrid; row-gap: .8rem; padding: clamp(1.15rem, 2vw, 1.6rem); }
.cards .card p { margin: 0; }
.cards .card .text-link { justify-self: start; align-self: end; }
.services-call { text-align: center; margin-top: clamp(2.6rem, 4vw, 3.5rem); }
.services-call .button { font-size: clamp(.75rem, 3vw, .9rem); padding-inline: .75rem; white-space: nowrap; }
@media (min-width: 1040px) {
  .cards { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
.card { border: 1px solid #a8bfd2; border-radius: .8rem; background: var(--pale); }
.location-info { padding: clamp(1.25rem, 3vw, 2.1rem); }
.text-link { font-weight: 750; }
.visit-section { background: var(--pale); }
.location-info { border-radius: .8rem; background: var(--ink); color: white; }
.location-info .button { background: var(--sky); color: var(--ink); }
.location-info .button:hover { background: white; }
.visit-hours { display: grid; gap: .65rem; margin: 0 0 1.25rem; }
.visit-hours dt { font-weight: 750; }
.visit-hours dd { margin: 0; }
address { margin-block: 1rem; font-style: normal; }
iframe { display: block; width: 100%; min-height: 300px; border: 1px solid #a8bfd2; border-radius: .8rem; }
footer { background: var(--ink); color: white; }
.foot { display: grid; justify-items: center; gap: .55rem; padding-block: 1.75rem; text-align: center; }
.footer-logo { display: block; width: 5rem; height: auto; margin-bottom: .35rem; filter: brightness(0) invert(1); }
@media (max-width: 740px) {
  .cards, .location { grid-template-columns: 1fr; }
  .hero { padding-top: 9rem; padding-bottom: 1rem; }
  .hero-copy { border-radius: .85rem; }
  .top { align-items: flex-start; flex-direction: column; }
  .primary { column-gap: .8rem; }
  .service-menu ul { position: static; min-width: 0; padding: 0 .5rem; box-shadow: none; }
  .primary:has(.service-menu[open]) { align-items: flex-start; }
}

.why { background: white; border-top: 1px solid #e4edf4; }
.why-intro, .why-cards { display: grid; gap: clamp(1rem, 3vw, 2rem); }
.why-intro { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 2rem; }
.why-intro h2, .why-card h3 { text-transform: uppercase; }
.why-intro p { margin: 0; font-size: 1.12rem; }
.why-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.why-card { padding: clamp(1.15rem, 2.8vw, 2rem); text-align: center; border: 1px solid #e0e8ee; border-radius: .85rem; box-shadow: 0 .5rem 1rem #12395b18; }
.why-card h3 { font-size: 1.1rem; }
.why-card p { margin: .8rem auto 0; }
.why-icon { display: grid; place-items: center; width: 5rem; height: 5rem; margin: 0 auto 1.25rem; border-radius: 50%; color: white; background: var(--ink); }
.why-icon svg { width: 2.5rem; height: 2.5rem; }

@media (max-width: 740px) {
  .why-intro, .why-cards { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
  .home-hero { overflow: clip; }
  .home-hero .hero-copy { animation: hero-drop 1650ms cubic-bezier(.36, .22, .34, 1) both; }
  .home-hero .hero-copy:focus-within { animation: none; }
}

@keyframes hero-drop {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.pickup-process { background: #28577e; color: white; text-align: center; }
.pickup-process ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 2rem clamp(1rem, 2.5vw, 2rem); margin: 2rem 0; padding: 0; list-style: none; }
.pickup-process li { min-width: 0; }
.pickup-icon { display: block; width: 3.25rem; height: 3.25rem; margin: 0 auto 1rem; }
.pickup-process li h3 { font-size: 1.15rem; }
.pickup-process li p { margin: .65rem auto 0; color: inherit; }
.pickup-process .button { color: var(--ink); background: white; }
.pickup-process .button:hover { background: var(--sky); }
@media (max-width: 850px) {
  .pickup-process ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px) {
  .pickup-process ol { grid-template-columns: 1fr; }
}

.wash-prep { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); align-items: center; gap: clamp(1.25rem, 4vw, 3rem); }
.wash-prep-photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.wash-prep-photos img { display: block; width: 100%; height: auto; border-radius: .8rem; }
@media (max-width: 740px) {
  .wash-prep { grid-template-columns: 1fr; }
}

.foot-actions { justify-content: center; margin-block: .25rem; }
.foot-actions .button { background: var(--sky); color: var(--ink); }
.foot-actions .button:hover { background: white; }
.foot address { margin: 0; }
.foot small { color: var(--pale); }
.foot small:first-of-type { margin-top: .6rem; }

.visit-prep { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: center; gap: clamp(1rem, 4vw, 3rem); }
.supplies-photo { margin: 0; }
.supplies-photo img { display: block; width: 100%; height: auto; border-radius: .8rem; }
.supplies-photo figcaption { margin-top: .5rem; color: var(--muted); font-size: .875rem; }
@media (max-width: 740px) {
  .visit-prep { grid-template-columns: 1fr; }
}

.visit-map { min-width: 0; background: var(--pale); }
@media (min-width: 741px) {
  .visit-map { height: 100%; }
}
@media (max-width: 740px) {
  .visit-map { height: clamp(17rem, 75vw, 21rem); min-height: 0; }
}
.services-call .button { max-width: 100%; white-space: normal; }
.primary, .foot-actions { min-width: 0; max-width: 100%; }
@media (max-width: 740px) {
  .hero { background-image: linear-gradient(#12395b29, #12395b29), url("laundry-mobile.webp"); }
}
@media (max-width: 380px) {
  .languages { font-size: .875rem; }
  .primary { gap: .1rem .65rem; }
  .primary .button { padding-inline: .8rem; }
}

@media (forced-colors: active) {
  .service-menu a[aria-current="page"] { outline: 2px solid LinkText; outline-offset: -2px; }
  .button { border: 1px solid ButtonText; }
  :focus-visible { outline-color: Highlight; }
}

.access-launch {
  display: inline-flex; align-items: center; gap: .55rem; min-height: 44px;
  padding: .55rem .95rem; border: 2px solid white; border-radius: 2rem;
  background: #174e8a; color: white; font: inherit; font-weight: 750; box-shadow: 0 .2rem .8rem #0005;
}
.access-launch[hidden], .access-speaker[hidden], .access-panel button[hidden] { display: none; }
body { background: var(--surface, white); }
html { scroll-padding-bottom: 8rem; }
.foot { padding-bottom: 8rem; }
.access-panel {
  width: min(38rem, calc(100% - 1rem)); max-height: calc(100dvh - 1rem); overflow: auto;
  padding: clamp(1rem, 3vw, 2rem); border: 1px solid #566587; border-radius: 1rem;
  background: #151c32; color: #fff; color-scheme: dark;
}
.access-panel::backdrop { background: #080c18a8; }
.access-panel p { color: #d7e0f2; }
.access-heading, .access-panel-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.access-heading { justify-content: space-between; }
.access-heading h2 { font-size: clamp(1.25rem, 3vw, 1.65rem); }
.access-panel fieldset { border: 0; padding: 0; margin: 1.25rem 0; min-width: 0; }
.access-panel legend { padding: 0; font-weight: 800; margin-bottom: .5rem; }
.access-panel label { display: flex; min-height: 44px; align-items: center; gap: .55rem; padding: .5rem .65rem; margin-bottom: .4rem; border: 1px solid #667594; border-radius: .5rem; overflow-wrap: anywhere; }
.access-panel label:has(input:checked) { outline: 2px solid #81b8ff; outline-offset: -2px; background: #253754; }
.access-panel input { accent-color: #81b8ff; flex-shrink: 0; width: 1em; height: 1em; }
.access-panel .access-sizes { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 7rem), 1fr)); gap: .4rem; }
.access-panel button { color: #fff; background: #234b7c; border: 1px solid #81b8ff; border-radius: .45rem; min-height: 44px; padding: .45rem .75rem; font: inherit; cursor: pointer; }
.access-panel :focus-visible { outline-color: #9dccff; box-shadow: none; }
[data-size="large"] { font-size: 112.5%; }
[data-size="larger"] { font-size: 125%; }
[data-size="largest"] { font-size: 150%; }
.readable-spacing body { line-height: 1.8; letter-spacing: .075em; word-spacing: .12em; }
.underline-links a { text-decoration: underline !important; }
.strong-focus :focus-visible { outline: 4px solid #e16d16; outline-offset: 3px; box-shadow: 0 0 0 3px #fff; }
.bigger-buttons :is(.button, .access-launch, .access-panel button, summary, nav a) { min-height: 54px; }
.reduced-motion .hero { background-attachment: scroll; }
.reduced-motion .home-hero .hero-copy { animation: none; }
[data-theme="contrast-light"] { --ink: #000; --muted: #111; --sky: #fff; --pale: #f2f2f2; }
[data-theme^="contrast"] :is(.hero-copy, .card, .why-card, .button, .visit-map) { border: 2px solid currentColor; }
[data-theme="dark"], [data-theme="contrast-dark"] { color-scheme: dark; --surface: #141c2a; --ink: #eff5ff; --muted: #d9e3f3; --sky: #253b54; --pale: #202c40; }
[data-theme="contrast-dark"] { --surface: #000; --ink: #fff; --muted: #fff; --sky: #141414; --pale: #101010; }
:is([data-theme="dark"], [data-theme="contrast-dark"]) :is(.why, .visit-map, .service-menu ul, .skip) { background: var(--surface); }
:is([data-theme="dark"], [data-theme="contrast-dark"]) :is(.button, .service-menu a:hover, .service-menu a[aria-current="page"], .location-info, footer) { background: #101a2b; color: white; }
[data-theme="contrast-dark"] :is(.button, .service-menu a:hover, .service-menu a[aria-current="page"], .location-info, footer, .pickup-process) { background: #000; color: white; }
@media (prefers-color-scheme: dark) {
  [data-theme="device"] { color-scheme: dark; --surface: #141c2a; --ink: #eff5ff; --muted: #d9e3f3; --sky: #253b54; --pale: #202c40; }
  [data-theme="device"] :is(.why, .visit-map, .service-menu ul, .skip) { background: var(--surface); }
  [data-theme="device"] :is(.button, .service-menu a:hover, .service-menu a[aria-current="page"], .location-info, footer) { background: #101a2b; color: white; }
}
@media (forced-colors: active) {
  .access-panel label:has(input:checked) { outline-color: Highlight; }
}

.access-launchers { position: fixed; inset-inline-start: max(1rem, env(safe-area-inset-left)); bottom: max(1rem, env(safe-area-inset-bottom)); z-index: 4; display: grid; justify-items: center; gap: .4rem; pointer-events: none; }
.access-launchers button { pointer-events: auto; cursor: pointer; }
.access-speaker { display: grid; place-items: center; width: 44px; min-height: 44px; padding: 0; border: 2px solid white; border-radius: 50%; background: #174e8a; color: white; box-shadow: 0 .2rem .8rem #0005; }

.languages a { min-inline-size: 2.25rem; justify-content: center; }
.foot small { color: #fff; }
@media (max-width: 380px) {
  .brand { margin-top: 0; }
  .utility-inner { justify-content: center; }
}
