/* Luxury Launderette — site styles. Colours and fonts live in theme.json. */

:root {
	--ll-red: var(--wp--preset--color--red);
	--ll-ink: var(--wp--preset--color--ink);
	--ll-line: var(--wp--preset--color--line);
	--ll-display: var(--wp--preset--font-family--display);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
[id] { scroll-margin-top: 1rem; }
body { -webkit-font-smoothing: antialiased; }
.ll-red { color: var(--ll-red); }

/* ---------- Top bar & header ---------- */
.ll-topbar p { margin: 0; letter-spacing: 0.02em; }
.ll-topbar a { text-decoration: none; font-weight: 600; }
.ll-topbar a:hover { color: #fff; text-decoration: underline; }
.ll-dot {
	display: inline-block; width: 8px; height: 8px; margin-right: 0.6em;
	border-radius: 50%; background: var(--ll-red); vertical-align: 0.08em;
}
.ll-header { position: relative; z-index: 20; }

.ll-header .wp-block-navigation a { text-decoration: none; }
.ll-header .wp-block-navigation-item__content { color: #fff; }
.ll-header .wp-block-navigation-item__content:hover { color: var(--ll-red); }
.ll-header .wp-block-navigation__responsive-container-open { color: #fff; }

/* ---------- Logo (matches the shop sign) ---------- */
.ll-icon { display: block; height: auto; }
.ll-logo {
	display: inline-flex; align-items: center; gap: 0.85rem;
	color: #fff; text-decoration: none; line-height: 1;
}
.ll-logo:hover { color: #fff; }
.ll-logo-icon { width: 2.6rem; flex: none; }
.ll-logo-text { display: inline-flex; flex-direction: column; align-items: center; }
.ll-logo-text strong {
	font-family: var(--ll-display); font-weight: 800; font-stretch: 100%;
	font-size: 2.15rem; letter-spacing: 0.01em; text-transform: uppercase; line-height: 0.9;
}
.ll-logo-text span {
	font-family: var(--ll-display); font-weight: 600; font-size: 0.82rem;
	letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.3rem;
}
@media (max-width: 781px) {
	.ll-logo { gap: 0.6rem; }
	.ll-logo-icon { width: 2.1rem; }
	.ll-logo-text strong { font-size: 1.7rem; }
	.ll-logo-text span { font-size: 0.66rem; }
}

/* Footer sign */
.ll-sign {
	display: inline-grid; grid-template-columns: 2.4rem auto 2.4rem; align-items: start; gap: 1.25rem;
	padding: 1.1rem 1.25rem 0; border: 1px solid #2e2e2e; color: #fff; text-decoration: none; margin-bottom: 1.25rem;
}
.ll-sign:hover { color: #fff; border-color: var(--ll-red); }
.ll-sign-icon { width: 2.4rem; }
.ll-sign-text { display: flex; flex-direction: column; align-items: center; text-align: center; padding-top: 0.4rem; }
.ll-sign-text strong {
	font-family: var(--ll-display); font-weight: 800; font-size: 2.4rem; text-transform: uppercase; line-height: 0.9; letter-spacing: 0.01em;
}
.ll-sign-text > span {
	font-family: var(--ll-display); font-weight: 600; font-size: 0.9rem; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 0.35rem;
}
.ll-sign-text em {
	font-style: normal; font-weight: 600; font-size: 0.85rem; margin-top: 0.9rem; padding: 0.55rem 0 0.75rem;
	border-top: 1px solid #2e2e2e; width: 100%; white-space: nowrap;
}
.ll-footer .ll-sign:hover { color: #fff; }
.ll-header .wp-block-button__link { font-size: 0.85rem; white-space: nowrap; }

@media (max-width: 781px) {
	.ll-topbar .wp-block-group { justify-content: center; text-align: center; }
	.ll-topbar-phone { display: none; }
}
@media (max-width: 600px) { .ll-topbar-addr { display: none; } }
@media (max-width: 781px) { .ll-rug { margin: 1.5rem 0 2.75rem; } }

/* ---------- Shared ---------- */
.ll-eyebrow {
	font-family: var(--ll-display); font-weight: 700; font-size: 0.8rem;
	letter-spacing: 0.2em; text-transform: uppercase; color: var(--ll-red);
	display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.ll-eyebrow::before { content: ""; width: 2rem; height: 2px; background: currentColor; }
.ll-eyebrow--light { color: #fff; }
.ll-section h2 { font-stretch: 85%; }
.ll-section-head { gap: 2rem; }
.ll-section-intro { max-width: 30rem; margin: 0; }

.wp-block-button.is-style-outline > .wp-block-button__link {
	border: 2px solid currentColor; background: transparent; color: var(--ll-ink);
	padding: calc(0.95rem - 2px) calc(1.6rem - 2px);
}
.wp-block-button.is-style-outline > .wp-block-button__link:hover { background: var(--ll-ink); color: #fff; border-color: var(--ll-ink); }
.ll-btn-light.is-style-outline > .wp-block-button__link { color: #fff; }
.ll-btn-light.is-style-outline > .wp-block-button__link:hover { background: #fff; color: var(--ll-ink); border-color: #fff; }
.ll-btn-white > .wp-block-button__link:hover { background: var(--ll-ink) !important; color: #fff !important; }

/* ---------- Hero ---------- */
.ll-hero { position: relative; overflow: hidden; }
.ll-hero-title {
	font-stretch: 72%; font-weight: 900; line-height: 0.88; letter-spacing: -0.005em;
	margin-top: 0.5rem;
}
.ll-lede { max-width: 34rem; line-height: 1.5; }
.ll-rating { margin-top: 1.75rem; font-size: 0.95rem; color: #d5d0ca; }
.ll-rating strong { color: #fff; }
.ll-stars { color: var(--ll-red); letter-spacing: 0.12em; margin-right: 0.35rem; }

/* Hero photo */
.ll-hero-photo { position: relative; margin: 0; max-width: 520px; margin-inline: auto; }
.ll-hero-photo::before {
	content: ""; position: absolute; inset: 1.25rem -1.25rem -1.25rem 1.25rem; border: 3px solid var(--ll-red); z-index: 0;
}
.ll-hero-img { position: relative; z-index: 1; display: block; width: 100%; height: auto; aspect-ratio: 715 / 670; object-fit: cover; box-shadow: 0 30px 60px rgba(0,0,0,0.45); }
.ll-hero-photo figcaption {
	position: absolute; z-index: 2; left: -0.75rem; bottom: 1.5rem; background: #fff; color: var(--ll-ink);
	padding: 0.6rem 0.9rem; font-size: 0.85rem; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.ll-hero-photo figcaption span {
	display: block; font-family: var(--ll-display); font-weight: 800; font-size: 0.75rem;
	letter-spacing: 0.14em; text-transform: uppercase; color: var(--ll-red);
}
@media (max-width: 781px) {
	.ll-hero-photo { margin-top: 1.5rem; margin-right: 1.25rem; }
	.ll-hero-photo figcaption { left: 0.75rem; bottom: 0.75rem; }
}

/* ---------- Red strip ---------- */
.ll-strip p {
	margin: 0; font-family: var(--ll-display); font-weight: 700; font-size: 0.95rem;
	letter-spacing: 0.12em; text-transform: uppercase;
}
.ll-strip span { opacity: 0.6; margin: 0 0.7em; }

/* ---------- Service cards ---------- */
.ll-cards { border-top: 1px solid var(--ll-line); border-left: 1px solid var(--ll-line); }
.ll-card {
	position: relative; padding: clamp(1.5rem, 3vw, 2.25rem);
	border-right: 1px solid var(--ll-line); border-bottom: 1px solid var(--ll-line);
	transition: background-color 0.2s ease;
}
.ll-card::before {
	content: ""; position: absolute; left: -1px; top: -1px; height: 4px; width: 0;
	background: var(--ll-red); transition: width 0.3s ease;
}
.ll-card:hover { background: var(--wp--preset--color--paper); }
.ll-card:hover::before { width: calc(100% + 2px); }
.ll-card h3 { margin-top: 0.5rem; font-size: 1.35rem; }
.ll-card p:last-child { color: var(--wp--preset--color--muted); margin-bottom: 0; }
.ll-card-num {
	font-family: var(--ll-display); font-weight: 800; font-size: 0.85rem;
	letter-spacing: 0.1em; color: var(--ll-red); margin: 0;
}
.ll-card a { color: var(--ll-ink); font-weight: 600; }

/* ---------- Collection ---------- */
.ll-collection h2 { font-stretch: 75%; }
.ll-collection a { color: #fff; }
.ll-steps { border-top: 2px solid rgba(255,255,255,0.35); }
.ll-step {
	display: grid; grid-template-columns: 4.5rem 1fr; column-gap: 1.25rem;
	padding: 1.6rem 0; border-bottom: 2px solid rgba(255,255,255,0.35);
}
.ll-step > * { margin: 0 !important; }
.ll-step-num {
	grid-row: span 2; font-family: var(--ll-display); font-weight: 900; font-stretch: 70%;
	font-size: 4.5rem; line-height: 0.85; color: var(--ll-ink);
}
.ll-step h3 { font-size: 1.5rem; margin-bottom: 0.35rem !important; }
.ll-note { margin-top: 1.25rem; opacity: 0.85; }

/* ---------- Rugs ---------- */
.ll-rug {
	position: relative; aspect-ratio: 4 / 3; margin: 1.25rem 0;
	background:
		radial-gradient(circle closest-side, #fff 0 16%, var(--ll-ink) 16.5% 30%, var(--ll-red) 30.5% 44%, var(--ll-ink) 44.5% 58%, #fff 58.5% 62%, var(--ll-ink) 62.5% 74%, var(--ll-red) 74.5% 80%, transparent 80.5%) center / 46% 58% no-repeat,
		linear-gradient(var(--ll-ink), var(--ll-ink)) center / 46% 58% no-repeat,
		repeating-linear-gradient(90deg, var(--ll-ink) 0 14px, #fff 14px 18px, var(--ll-red) 18px 30px, #fff 30px 34px);
	box-shadow: inset 0 0 0 14px var(--ll-ink), inset 0 0 0 18px #fff, 0 24px 48px rgba(0,0,0,0.18);
}
.ll-rug::before, .ll-rug::after {
	content: ""; position: absolute; left: 4%; right: 4%; height: 1.25rem;
	background: repeating-linear-gradient(90deg, #cfc8bf 0 3px, transparent 3px 9px);
}
.ll-rug::before { top: -1.25rem; }
.ll-rug::after { bottom: -1.25rem; }
.ll-rug-tag {
	position: absolute; right: -0.75rem; bottom: 12%; margin: 0;
	background: var(--ll-red); color: #fff; padding: 0.5rem 0.9rem;
	font-family: var(--ll-display); font-weight: 800; font-size: 0.8rem;
	letter-spacing: 0.14em; text-transform: uppercase; transform: rotate(-4deg);
}
.ll-ticks { list-style: none; padding-left: 0; }
.ll-ticks li { position: relative; padding-left: 1.9rem; margin-bottom: 0.55rem; }
.ll-ticks li::before {
	content: ""; position: absolute; left: 0; top: 0.42em; width: 0.9rem; height: 0.5rem;
	border-left: 3px solid var(--ll-red); border-bottom: 3px solid var(--ll-red); transform: rotate(-45deg);
}

/* ---------- Stats ---------- */
.ll-stats { gap: 2rem; }
.ll-stats > .wp-block-column { border-left: 3px solid var(--ll-red); padding-left: 1.5rem; }
.ll-stat {
	font-family: var(--ll-display); font-weight: 900; font-stretch: 70%;
	font-size: clamp(3.5rem, 7vw, 5.5rem); line-height: 0.9; margin: 0;
}
.ll-stat-label { color: #bdb8b2; max-width: 18rem; margin-top: 0.75rem; }
.ll-stat-label a { color: #fff; font-weight: 600; }

/* ---------- Hours & map ---------- */
.ll-hours { margin-top: 1.5rem; }
.ll-hours table { border-collapse: collapse; width: 100%; max-width: 26rem; }
.ll-hours td { border: 0; border-bottom: 1px solid var(--ll-line); padding: 0.7rem 0; }
.ll-hours td:first-child { font-weight: 600; }
.ll-hours td:last-child { text-align: right; font-variant-numeric: tabular-nums; }
.ll-hours tr.is-today td { color: var(--ll-red); }
.ll-hours tr.is-today td:first-child::after { content: " · Today"; font-weight: 700; }
.ll-map { position: relative; height: 100%; min-height: 420px; background: var(--wp--preset--color--paper); border: 1px solid var(--ll-line); }
.ll-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: grayscale(1) contrast(1.05); }
@media (max-width: 781px) { .ll-map { min-height: 320px; } }

/* ---------- CTA ---------- */
.ll-cta .wp-block-group { gap: 1.5rem; }
.ll-cta-title { margin: 0; font-stretch: 75%; }
.ll-cta-phone { margin: 0; }
.ll-cta-phone a {
	font-family: var(--ll-display); font-weight: 900; font-stretch: 75%;
	font-size: clamp(2.5rem, 7vw, 5.5rem); line-height: 1; text-decoration: none; color: var(--ll-ink);
	border-bottom: 6px solid var(--ll-red);
}
.ll-cta-phone a:hover { color: var(--ll-red); }

/* ---------- Footer ---------- */
.ll-footer a { color: #fff; }
.ll-footer a:hover { color: var(--ll-red); }
.ll-footer-label { color: var(--ll-red); letter-spacing: 0.16em !important; margin-bottom: 0.75rem; }
.ll-footer p { line-height: 1.7; }
.ll-footer-phone a {
	font-family: var(--ll-display); font-weight: 800; font-size: 1.6rem; text-decoration: none;
}
.ll-hours-line { white-space: nowrap; }
.ll-hours-line > span:first-child { display: inline-block; min-width: 4.2rem; color: #8a857f; }

/* ---------- Live shop details ---------- */
.ll-notice-bar {
	background: var(--ll-red); color: #fff; text-align: center; padding: 0.6rem 1rem;
	font-weight: 600; font-size: 0.9rem;
}
.ll-open-status strong { font-weight: 700; }
.ll-topbar p:has(.ll-open-status.is-closed) .ll-dot { background: #8a857f; }
.ll-topbar p:has(.ll-open-status.is-open) .ll-dot { background: #2fbf55; box-shadow: 0 0 0 3px rgba(47,191,85,0.25); }
.ll-hours-notice {
	margin: 1.25rem 0 0; padding: 0.75rem 1rem; border-left: 4px solid var(--ll-red);
	background: var(--wp--preset--color--paper); font-weight: 600;
}
.wp-block-shortcode { margin: 0; }

/* ---------- Photo gallery ---------- */
.ll-gallery {
	box-sizing: border-box; width: 100%; overflow: hidden; background: var(--wp--preset--color--white);
	padding: 0 clamp(1rem, 4vw, 2.5rem) var(--wp--preset--spacing--70);
}
.ll-gallery-inner { max-width: 1200px; margin: 0 auto; }
.ll-gallery-head { margin-bottom: var(--wp--preset--spacing--40); }
.ll-gallery-head h2 { margin: 0; font-stretch: 85%; }
.ll-gallery-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.ll-gallery-item { position: relative; margin: 0; overflow: hidden; background: var(--wp--preset--color--paper); }
.ll-gallery-link { display: block; height: 100%; }
.ll-gallery-item img {
	display: block; width: 100%; height: 100%; object-fit: cover;
	transition: transform 0.5s ease;
}
.ll-gallery-link:hover img { transform: scale(1.04); }
.ll-gallery-link:focus-visible { outline: 3px solid var(--ll-red); outline-offset: -3px; }
.ll-gallery-cap {
	position: absolute; left: 0; bottom: 0; max-width: calc(100% - 1rem); pointer-events: none;
	background: var(--ll-ink); color: #fff; padding: 0.4rem 0.75rem;
	font-family: var(--ll-display); font-weight: 700; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase;
}

@media (min-width: 782px) {
	.ll-gallery--1 { grid-template-columns: 1fr; }
	.ll-gallery--1 .ll-gallery-item { aspect-ratio: 16 / 7; }
	.ll-gallery--2 { grid-template-columns: 1fr 1fr; }
	.ll-gallery--2 .ll-gallery-item { aspect-ratio: 4 / 3; }
	.ll-gallery--3 { grid-template-columns: 2fr 1fr; grid-auto-rows: 260px; }
	.ll-gallery--3 .ll-gallery-item:first-child { grid-row: span 2; }
	.ll-gallery--4 { grid-template-columns: repeat(4, 1fr); }
	.ll-gallery--4 .ll-gallery-item { aspect-ratio: 3 / 4; }
	.ll-gallery--5 { grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; }
	.ll-gallery--5 .ll-gallery-item:first-child { grid-column: span 2; grid-row: span 2; }
	.ll-gallery--many {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 0.75rem;
		scrollbar-color: var(--ll-red) var(--ll-line);
	}
	.ll-gallery--many .ll-gallery-item { flex: 0 0 auto; width: 360px; height: 440px; scroll-snap-align: start; }
	.ll-gallery--many .ll-gallery-item:first-child { width: 620px; }
}
@media (max-width: 781px) {
	.ll-gallery-grid {
		display: flex; overflow-x: auto; scroll-snap-type: x mandatory;
		margin-right: calc(-1 * clamp(1rem, 4vw, 2.5rem)); padding-right: clamp(1rem, 4vw, 2.5rem);
		scrollbar-width: none;
	}
	.ll-gallery-grid::-webkit-scrollbar { display: none; }
	.ll-gallery-item { flex: 0 0 82%; aspect-ratio: 4 / 5; scroll-snap-align: start; }
	.ll-gallery--1 .ll-gallery-item { flex-basis: 100%; aspect-ratio: 4 / 3; }
}

/* Photo viewer */
.ll-lightbox {
	border: 0; padding: 0; background: transparent; max-width: 100vw; max-height: 100vh;
	width: 100vw; height: 100vh; margin: 0; overflow: hidden;
}
.ll-lightbox[open] { display: flex; align-items: center; justify-content: center; }
.ll-lightbox::backdrop { background: rgba(10,10,10,0.92); }
.ll-lightbox figure { margin: 0; max-width: min(92vw, 1400px); text-align: center; }
.ll-lightbox img { max-width: 100%; max-height: 82vh; display: block; margin: 0 auto; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.ll-lightbox figcaption { color: #fff; margin-top: 0.9rem; font-size: 0.95rem; min-height: 1.4em; }
.ll-lightbox button {
	position: absolute; border: 0; cursor: pointer; background: var(--ll-red); color: #fff;
	width: 3rem; height: 3rem; font-size: 1.8rem; line-height: 1; display: grid; place-items: center;
}
.ll-lightbox button:hover { background: #fff; color: var(--ll-ink); }
.ll-lb-close { top: 1rem; right: 1rem; }
.ll-lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.ll-lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.ll-lightbox.is-single .ll-lb-prev, .ll-lightbox.is-single .ll-lb-next { display: none; }
@media (max-width: 781px) {
	.ll-lb-prev, .ll-lb-next { top: auto; bottom: 1rem; transform: none; }
}
