/* Walnut Creek Cleaners — demo site
   Palette: soft charcoal + warm white + one muted teal accent. Type: Hanken Grotesk (self-hosted, OFL). */

@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-latin.woff2") format("woff2"); font-weight: 100 900; font-style: normal; font-display: swap; }
@font-face { font-family: "Hanken Grotesk"; src: url("fonts/hanken-grotesk-italic-latin.woff2") format("woff2"); font-weight: 100 900; font-style: italic; font-display: swap; }

:root {
  --paper: #f7f4ee;
  --paper-2: #efeae1;
  --card: #fffdf9;
  --ink: #232527;
  --ink-2: #4f5357;
  --muted: #616569;
  --char: #26292c;
  --char-2: #303438;
  --char-3: #3b4045;
  --teal: #2f6d68;
  --teal-deep: #245752;
  --teal-soft: #e2ecea;
  --teal-light: #93c9c1;
  --line: rgb(35 37 39 / .12);
  --line-strong: rgb(35 37 39 / .2);
  --line-dark: rgb(255 255 255 / .12);
  --font: "Hanken Grotesk", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --r: 22px;
  --r-sm: 14px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --topbar: 68px;
  --shadow: 0 1px 2px rgb(35 37 39 / .05), 0 12px 32px -12px rgb(35 37 39 / .18);
  --logo-accent: var(--teal);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--topbar) + 16px); }
body { margin: 0; background: var(--paper); color: var(--ink); font: 400 1.0625rem/1.65 var(--font); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; font-feature-settings: "ss01"; }
img { display: block; max-width: 100%; height: auto; }
picture { display: block; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1px; }
h1, h2, h3 { margin: 0; font-weight: 400; line-height: 1.08; letter-spacing: -.02em; text-wrap: balance; }
h1 em, h2 em { font-style: italic; font-weight: 300; color: var(--teal); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
button { font: inherit; color: inherit; }
[hidden] { display: none !important; }
.i { width: 1.15em; height: 1.15em; flex: none; }
.i.flip { transform: scaleX(-1); }
.wrap { width: min(1180px, 100% - 2.5rem); margin-inline: auto; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.nowrap { white-space: nowrap; }
.break { overflow-wrap: anywhere; }
.skip-link { position: fixed; left: 1rem; top: -80px; z-index: 300; background: var(--ink); color: #fff; padding: .7rem 1rem; border-radius: 10px; font-weight: 600; }
.skip-link:focus { top: 1rem; }

:focus-visible { outline: 2.5px solid var(--teal); outline-offset: 3px; border-radius: 6px; }
.section-dark :focus-visible, .window-band :focus-visible, .footer :focus-visible { outline-color: var(--teal-light); }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .75rem 1.3rem; border-radius: 999px; border: 1px solid transparent; font-weight: 600; font-size: 1rem; line-height: 1.15; letter-spacing: .005em; text-decoration: none; cursor: pointer; transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease), box-shadow .25s var(--ease); }
.btn:active { transform: translateY(1px); }
.btn-sm { min-height: 42px; padding: .55rem 1rem; font-size: .9375rem; }
.btn-lg { min-height: 56px; padding: .9rem 1.6rem; font-size: 1.0625rem; }
.btn-block { width: 100%; }
.btn-teal { background: var(--teal); color: #fff; box-shadow: 0 8px 20px -10px rgb(47 109 104 / .7); }
.btn-teal:hover { background: var(--teal-deep); }
.btn-outline { border-color: var(--line-strong); color: var(--ink); background: transparent; }
.btn-outline:hover { border-color: var(--ink); background: rgb(255 255 255 / .6); }
.btn-ghost { color: var(--ink); background: transparent; }
.btn-ghost:hover { background: rgb(35 37 39 / .06); }
.btn .i { width: 1.1em; height: 1.1em; }
.btn-lg .i[aria-hidden] use[href="#i-arrow"] { transition: transform .25s var(--ease); }
.btn:hover .i use[href="#i-arrow"] { transform: translateX(3px); }
.link-btn { background: none; border: 0; padding: .4rem; text-decoration: underline; text-underline-offset: .2em; cursor: pointer; color: var(--ink-2); font-size: .9375rem; }

/* ---------- Top bar ---------- */
.topbar { position: sticky; top: 0; z-index: 100; height: var(--topbar); transition: background-color .3s var(--ease), box-shadow .3s var(--ease), transform .35s var(--ease); }
.topbar.is-solid { background: rgb(247 244 238 / .86); -webkit-backdrop-filter: saturate(1.4) blur(14px); backdrop-filter: saturate(1.4) blur(14px); box-shadow: 0 1px 0 var(--line); }
.topbar.is-hidden { transform: translateY(-100%); }
.topbar-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: block; color: var(--ink); border-radius: 8px; }
.logo { display: block; height: 46px; width: auto; aspect-ratio: 189.2 / 66.4; fill: currentColor; }
.topbar-actions { display: flex; align-items: center; gap: .4rem; }
.menu-btn { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--line-strong); border-radius: 50%; background: transparent; cursor: pointer; }
.bars, .bars::before, .bars::after { display: block; width: 16px; height: 1.6px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.bars { position: relative; }
.bars::before, .bars::after { content: ""; position: absolute; left: 0; }
.bars::before { top: -5px; }
.bars::after { top: 5px; }
.menu-btn[aria-expanded="true"] .bars { background: transparent; }
.menu-btn[aria-expanded="true"] .bars::before { transform: translateY(5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] .bars::after { transform: translateY(-5px) rotate(-45deg); }

.menu { position: fixed; inset: var(--topbar) 0 auto 0; display: grid; gap: .1rem; padding: .75rem 1.25rem 1.5rem; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 24px 40px -24px rgb(35 37 39 / .35); transform: translateY(-8px); opacity: 0; visibility: hidden; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s; }
.menu.is-open { opacity: 1; transform: none; visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease); }
.menu a { padding: .85rem .25rem; font-size: 1.125rem; text-decoration: none; border-bottom: 1px solid var(--line); }
.menu a.menu-call { display: flex; align-items: center; gap: .6rem; border-bottom: 0; color: var(--teal); font-weight: 600; }
.hide-md { display: none; }

@media (max-width: 599px) { .hide-xs { display: none; } }
@media (max-width: 379px) { .logo { height: 40px; } }

@media (min-width: 1000px) {
  :root { --topbar: 80px; }
  .logo { height: 54px; }
  .menu-btn { display: none; }
  .menu { position: static; display: flex; gap: 1.6rem; padding: 0; background: none; border: 0; box-shadow: none; opacity: 1; visibility: visible; transform: none; transition: none; }
  .menu a { padding: .3rem 0; font-size: .9375rem; border: 0; color: var(--ink-2); position: relative; }
  .menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
  .menu a:hover { color: var(--ink); }
  .menu a:hover::after { transform: scaleX(1); }
  .menu a.menu-call { display: none; }
}
@media (min-width: 1180px) { .hide-md { display: inline-flex; } }

/* ---------- Status pill ---------- */
.status { display: inline-flex; align-items: center; gap: .55rem; padding: .4rem .85rem .4rem .7rem; border-radius: 999px; background: var(--card); border: 1px solid var(--line); font-size: .875rem; font-weight: 500; color: var(--ink-2); }
.status-dot { width: 8px; height: 8px; border-radius: 50%; background: #9aa0a4; flex: none; }
.status.is-open .status-dot { background: #2f8a5f; box-shadow: 0 0 0 0 rgb(47 138 95 / .5); animation: pulse 2.4s infinite; }
.status.is-closed .status-dot { background: #b0563f; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgb(47 138 95 / .45); } 70% { box-shadow: 0 0 0 8px rgb(47 138 95 / 0); } 100% { box-shadow: 0 0 0 0 rgb(47 138 95 / 0); } }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 1.5rem 0 3.5rem; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: auto -20% -30% 40%; height: 70%; background: radial-gradient(closest-side, rgb(47 109 104 / .1), transparent); pointer-events: none; }
.hero-grid { position: relative; display: grid; gap: 2.5rem; }
.hero-copy { display: grid; justify-items: start; gap: 1.35rem; }
.hero h1 { font-size: clamp(2.75rem, 11.5vw, 5.6rem); font-weight: 300; line-height: .98; letter-spacing: -.045em; }
.hero h1 em { font-weight: 300; }
.hero-lede { max-width: 34rem; font-size: clamp(1.0625rem, 2.6vw, 1.25rem); line-height: 1.6; color: var(--ink-2); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: .75rem; width: 100%; }
.hero-ctas .btn { flex: 1 1 15rem; }
.hero-award { display: inline-flex; align-items: center; gap: .7rem; color: var(--ink-2); font-size: .9375rem; text-decoration: none; padding-top: .25rem; }
.hero-award .i { width: 1.6em; height: 1.6em; color: var(--teal); }
.hero-award strong { display: block; color: var(--ink); font-weight: 600; }

.hero-media { position: relative; margin: 0; }
.arch { position: relative; border-radius: 999px 999px var(--r) var(--r); overflow: hidden; aspect-ratio: 4 / 4.4; background: var(--paper-2); box-shadow: var(--shadow); }
.arch picture { height: 100%; }
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.js .arch img { transform: scale(1.06); transition: transform 1.6s var(--ease); }
.js .is-loaded .arch img { transform: none; }
.today-card { position: absolute; left: -.25rem; bottom: 1.5rem; display: grid; gap: .1rem; padding: .9rem 1.15rem; background: var(--card); border-radius: var(--r-sm); box-shadow: var(--shadow); min-width: 11.5rem; }
.today-label { font-size: .75rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); }
.today-card strong { font-size: 1.125rem; font-weight: 600; letter-spacing: -.01em; }
.today-sub { font-size: .8125rem; color: var(--muted); }

@media (min-width: 600px) {
  .arch { aspect-ratio: 4 / 3.6; }
  .today-card { left: 1.25rem; }
}
@media (min-width: 900px) {
  .hero { padding: 3rem 0 5.5rem; }
  .hero-grid { grid-template-columns: 1.08fr .92fr; align-items: center; gap: 4rem; }
  .hero-ctas { width: auto; }
  .hero-ctas .btn { flex: 0 0 auto; }
  .arch { aspect-ratio: 4 / 5; }
  .today-card { left: -2.25rem; bottom: 2.5rem; }
}

/* ---------- Window band ---------- */
.window-band { background: var(--char); color: #f3efe7; padding: 2.4rem 0 2.6rem; position: relative; overflow: hidden; }
.window-band::after { content: ""; position: absolute; inset: 0; background: linear-gradient(115deg, transparent 30%, rgb(255 255 255 / .05) 45%, transparent 60%); pointer-events: none; }
.window-kicker { font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal-light); margin-bottom: 1rem; }
.window-list { display: flex; flex-wrap: wrap; gap: .2rem .9rem; font-size: clamp(1.25rem, 4.6vw, 2.1rem); font-weight: 300; letter-spacing: -.01em; line-height: 1.3; }
.window-list li { display: inline-flex; align-items: center; gap: .9rem; }
.window-list li:not(:last-child)::after { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--teal-light); opacity: .8; }

/* ---------- Sections ---------- */
.section { padding: 4.5rem 0; }
.section-tint { background: var(--paper-2); }
.section-dark { background: var(--char); color: #f3efe7; }
.section-head { display: grid; gap: .9rem; max-width: 46rem; margin-bottom: 2.5rem; }
.section-head-center { margin-inline: auto; text-align: center; justify-items: center; }
.section-head h2, .about-copy h2, .reviews-head h2 { font-size: clamp(2.1rem, 6.4vw, 3.5rem); font-weight: 300; letter-spacing: -.035em; line-height: 1.04; }
.section-lede { font-size: 1.125rem; color: var(--ink-2); max-width: 38rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .65rem; font-size: .75rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--teal); }
.eyebrow::before { content: ""; width: 22px; height: 1px; background: currentColor; }
.eyebrow-light { color: var(--teal-light); }
.section-dark h2 em { color: var(--teal-light); }
.fineprint { margin-top: 2rem; font-size: .9375rem; color: var(--muted); }
.fineprint a { color: var(--ink); font-weight: 600; }
@media (min-width: 900px) { .section { padding: 7rem 0; } .section-head { margin-bottom: 3.5rem; } }

/* ---------- Services ---------- */
.services-grid { display: grid; gap: 2rem; }
.services-photo { margin: 0; }
.services-photo picture { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 4.2; box-shadow: var(--shadow); }
.services-photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
.services-photo figcaption { margin-top: .75rem; font-size: .875rem; color: var(--muted); }
.services-main { display: grid; align-content: start; }
.svc { display: grid; grid-template-columns: auto 1fr; gap: 1.1rem; padding: 1.6rem 0; border-top: 1px solid var(--line); }
.svc:last-child { border-bottom: 1px solid var(--line); }
.svc-num { font-size: .8125rem; font-weight: 600; letter-spacing: .08em; color: var(--teal); padding-top: .45rem; font-variant-numeric: tabular-nums; }
.svc h3 { font-size: clamp(1.6rem, 4.6vw, 2.1rem); font-weight: 400; letter-spacing: -.03em; margin-bottom: .5rem; }
.svc p { color: var(--ink-2); max-width: 32rem; }
.specialty-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .65rem; margin-top: 2.5rem; }
.spec { display: grid; grid-template-columns: 1fr; row-gap: .2rem; align-content: start; padding: 1.1rem 1rem 1.15rem; background: var(--card); border: 1px solid var(--line); border-radius: var(--r-sm); transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s var(--ease); }
.spec:hover { transform: translateY(-2px); box-shadow: var(--shadow); border-color: transparent; }
.spec .i { margin-bottom: .55rem; width: 2.6rem; height: 2.6rem; padding: .55rem; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); }
.spec h3 { font-size: 1.0625rem; font-weight: 600; letter-spacing: -.01em; line-height: 1.3; padding-top: .1rem; }
.spec p { font-size: .9063rem; line-height: 1.5; color: var(--ink-2); }
.spec-accent { grid-column: auto; }
.spec a { color: var(--teal-deep); font-weight: 600; }
.spec-accent { background: var(--teal); border-color: var(--teal); color: #fff; --paper: var(--teal); }
.spec-accent .i { background: rgb(255 255 255 / .14); color: #fff; }
.spec-accent p, .spec-accent a { color: #eaf4f2; }
@media (min-width: 600px) {
  .specialty-grid { gap: .75rem; }
  .spec { grid-template-columns: auto 1fr; column-gap: 1rem; row-gap: .15rem; align-items: start; padding: 1.2rem 1.25rem; }
  .spec .i { grid-row: span 2; margin-bottom: 0; }
  .spec p { font-size: .9375rem; }
  .spec-accent { grid-column: auto; }
}
@media (min-width: 900px) {
  .services-grid { grid-template-columns: .85fr 1.15fr; gap: 4.5rem; align-items: start; }
  .services-photo { position: sticky; top: calc(var(--topbar) + 1.5rem); }
  .services-photo picture { aspect-ratio: 3 / 4; }
  .svc { padding: 2rem 0; gap: 2rem; }
  .specialty-grid { grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 4rem; }
}

/* ---------- How it works ---------- */
.steps { display: grid; gap: 1rem; counter-reset: step; }
.step { position: relative; padding: 1.8rem 1.5rem 1.7rem; background: var(--card); border-radius: var(--r); border: 1px solid var(--line); }
.step-icon { display: grid; place-items: center; width: 3.25rem; height: 3.25rem; border-radius: 50%; background: var(--teal); color: #fff; margin-bottom: 1.2rem; }
.step-icon .i { width: 1.5rem; height: 1.5rem; }
.step-num { display: block; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal); margin-bottom: .35rem; }
.step h3 { font-size: 1.4rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: .55rem; }
.step p { color: var(--ink-2); }
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .step { padding: 2.2rem 2rem 2.1rem; }
  .step:not(:last-child)::after { content: ""; position: absolute; top: 3.8rem; left: calc(2rem + 3.25rem + .75rem); right: -1.5rem; height: 1px; background: repeating-linear-gradient(90deg, var(--line-strong) 0 6px, transparent 6px 12px); }
}

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: 1fr 1fr; grid-auto-flow: dense; gap: .75rem; }
.gallery li { min-width: 0; }
.g-a { grid-column: span 2; }
.g-btn { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--paper-2); cursor: zoom-in; }
.g-btn picture, .g-btn img { width: 100%; height: 100%; }
.g-btn img { object-fit: cover; transition: transform .8s var(--ease); }
.g-btn:hover img { transform: scale(1.04); }
.g-cap { position: absolute; left: .6rem; bottom: .6rem; padding: .3rem .65rem; border-radius: 999px; background: rgb(255 253 249 / .92); color: var(--ink); font-size: .8125rem; font-weight: 600; }
.g-a .g-btn { aspect-ratio: 1 / 1; }
.g-b .g-btn, .g-d .g-btn { aspect-ratio: 3 / 4; }
.g-c .g-btn, .g-e .g-btn { aspect-ratio: 4 / 3; }
.g-c, .g-e { grid-column: span 2; }
@media (min-width: 700px) {
  .gallery { grid-template-columns: repeat(6, 1fr); grid-auto-rows: 1fr; gap: 1rem; }
  .g-a { grid-column: 1 / span 3; grid-row: 1 / span 2; }
  .g-b { grid-column: 4 / span 3; grid-row: 1; }
  .g-c { grid-column: 4 / span 3; grid-row: 2; }
  .g-d { grid-column: 1 / span 3; grid-row: 3; }
  .g-e { grid-column: 4 / span 3; grid-row: 3; }
  .gallery .g-btn { aspect-ratio: auto; }
  .g-a .g-btn { aspect-ratio: auto; }
  .gallery { grid-template-rows: repeat(3, minmax(220px, 1fr)); }
}
@media (min-width: 1000px) {
  .gallery { grid-template-columns: repeat(12, 1fr); grid-template-rows: 300px 300px; }
  .g-a { grid-column: 1 / span 5; grid-row: 1 / span 2; }
  .g-b { grid-column: 6 / span 3; grid-row: 1 / span 2; }
  .g-c { grid-column: 9 / span 4; grid-row: 1; }
  .g-d { grid-column: 9 / span 2; grid-row: 2; }
  .g-e { grid-column: 11 / span 2; grid-row: 2; }
}

.lightbox { padding: 0; border: 0; background: transparent; max-width: min(1100px, 94vw); max-height: 92vh; color: #fff; overflow: visible; }
.lightbox::backdrop { background: rgb(20 22 24 / .86); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.lightbox img { max-height: 80vh; width: auto; margin-inline: auto; border-radius: var(--r-sm); }
.lightbox p { text-align: center; margin-top: .9rem; font-size: .9375rem; color: #e8e4dc; }
.lightbox-close { position: absolute; top: -3.25rem; right: 0; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%; border: 1px solid rgb(255 255 255 / .35); background: rgb(255 255 255 / .08); color: #fff; cursor: pointer; }
.lightbox[open] { animation: lb-in .35s var(--ease); }
@keyframes lb-in { from { opacity: 0; transform: scale(.97); } }

/* ---------- Reviews ---------- */
.reviews-head { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2.5rem; }
.reviews-head > div:first-child { display: grid; gap: .9rem; }
.carousel-btns { display: none; gap: .6rem; }
.round { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgb(255 255 255 / .25); background: transparent; color: #fff; cursor: pointer; transition: background-color .25s, border-color .25s, opacity .25s; }
.round:hover:not(:disabled) { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .5); }
.round:disabled { opacity: .35; cursor: default; }
@media (min-width: 700px) { .carousel-btns { display: flex; } }

.carousel-track { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: max(1.25rem, (100vw - 1180px) / 2); padding: .25rem max(1.25rem, (100vw - 1180px) / 2) 1.25rem; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-track:focus-visible { outline-offset: -3px; }
.review { flex: 0 0 min(86vw, 400px); scroll-snap-align: start; display: flex; flex-direction: column; gap: 1rem; padding: 1.6rem 1.5rem 1.4rem; border-radius: var(--r); background: var(--char-2); border: 1px solid var(--line-dark); }
.review-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 1.5rem; }
.stars { display: inline-flex; gap: .15rem; color: #e6c27a; }
.stars .i { width: 1rem; height: 1rem; }
.stars .dim { color: rgb(255 255 255 / .22); }
.src { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: #c9c4ba; padding: .25rem .6rem; border: 1px solid var(--line-dark); border-radius: 999px; }
.src-plain { border: 0; padding: 0; color: var(--teal-light); }
.quote { margin: 0; flex: 1; display: grid; gap: .7rem; font-size: 1.0625rem; line-height: 1.6; color: #f1ede6; overflow: hidden; }
.quote p { overflow-wrap: anywhere; }
.js .review:not(.is-open) .quote { max-height: calc(1.6em * 8); }
.js .review.is-clamped:not(.is-open) .quote { -webkit-mask-image: linear-gradient(#000 62%, transparent); mask-image: linear-gradient(#000 62%, transparent); }
.more { align-self: flex-start; background: none; border: 0; padding: .2rem 0; color: var(--teal-light); font-weight: 600; font-size: .9375rem; text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.who { display: flex; align-items: center; gap: .8rem; padding-top: 1rem; border-top: 1px solid var(--line-dark); }
.who strong { display: block; font-weight: 600; }
.who small { display: block; font-size: .8125rem; color: #b9b4aa; }
.avatar { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--teal); color: #fff; font-weight: 600; flex: none; }
.carousel-foot { margin-top: .5rem; }
.carousel-progress { height: 2px; background: var(--line-dark); border-radius: 2px; overflow: hidden; }
.carousel-progress span { display: block; height: 100%; width: 20%; background: var(--teal-light); border-radius: 2px; transition: transform .2s linear; }
.review-links { margin-top: 1.75rem; font-size: .9375rem; color: #c9c4ba; }
.review-links a { color: #fff; }

/* ---------- About ---------- */
.about-grid { display: grid; gap: 2.5rem; }
.about-media { position: relative; }
.about-media picture { border-radius: var(--r); overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 10; }
.about-media img { width: 100%; height: 100%; object-fit: cover; }
.motto { position: relative; margin: -2.25rem 1rem 0; padding: 1.4rem 1.5rem; background: var(--char); color: #f3efe7; border-radius: var(--r-sm); box-shadow: var(--shadow); }
.motto p { font-size: 1.3rem; font-weight: 300; font-style: italic; line-height: 1.35; letter-spacing: -.01em; }
.motto footer { margin-top: .6rem; font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); }
.about-copy { display: grid; gap: 1.25rem; align-content: start; }
.ticks { display: grid; gap: .65rem; margin-top: .25rem; }
.ticks li { display: flex; gap: .7rem; align-items: flex-start; }
.ticks .i { margin-top: .25rem; color: var(--teal); }
.aka { padding: 1.1rem 1.2rem; border-radius: var(--r-sm); background: var(--teal-soft); color: var(--ink-2); font-size: .9688rem; }
.aka strong { color: var(--ink); }
.aka a { color: var(--teal-deep); font-weight: 600; }
@media (min-width: 600px) { .ticks { grid-template-columns: 1fr 1fr; column-gap: 1.5rem; } .motto { margin: -3rem 0 0 auto; max-width: 23rem; margin-right: -1rem; } }
@media (min-width: 900px) {
  .about-grid { grid-template-columns: 1.05fr .95fr; gap: 5rem; align-items: center; }
  .about-media picture { aspect-ratio: 4 / 4.2; }
  .about-media img { object-position: 30% 50%; }
}

/* ---------- Booking ---------- */
.book-grid { display: grid; gap: 1.5rem; }
.form-card { background: var(--card); border-radius: var(--r); padding: 1.4rem 1.15rem 1.6rem; box-shadow: var(--shadow); border: 1px solid var(--line); }
.demo-note { display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; margin-bottom: 1.5rem; border-radius: var(--r-sm); background: #f6efe0; border: 1px solid #ead9b5; font-size: .9063rem; color: #5a4a2a; }
.demo-note .i { margin-top: .15rem; color: #8a6a26; }
.demo-note a { color: #4a3b1c; font-weight: 600; }
form { display: grid; gap: 1.5rem; }
.field { display: grid; gap: .55rem; }
.field > label, legend, .label { font-weight: 600; font-size: .9688rem; color: var(--ink); padding: 0; }
legend { margin-bottom: .6rem; }
.opt { font-weight: 400; color: var(--muted); font-size: .875rem; margin-left: .25rem; }
.hint { font-size: .8438rem; color: var(--muted); }
input[type=text], input[type=tel], input[type=email], textarea { width: 100%; font: inherit; font-size: 1rem; color: var(--ink); background: var(--paper); border: 1px solid var(--line-strong); border-radius: 12px; padding: .8rem .95rem; min-height: 50px; transition: border-color .2s, box-shadow .2s, background-color .2s; -webkit-appearance: none; appearance: none; }
textarea { resize: vertical; min-height: 96px; }
input::placeholder, textarea::placeholder { color: #75797d; }
input:focus, textarea:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 3px rgb(47 109 104 / .18); }
[aria-invalid="true"] { border-color: #b3412e !important; }
.err { display: none; font-size: .8438rem; font-weight: 600; color: #a33a28; }
.is-invalid > .err, .is-invalid .err, .field.is-invalid > .err { display: block; }
.row-2 { display: grid; gap: 1.5rem; }
@media (min-width: 600px) { .row-2 { grid-template-columns: 1fr 1fr; gap: 1rem; } .form-card { padding: 2rem 2rem 2.2rem; } }

.segmented { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .3rem; border-radius: 16px; background: var(--paper-2); }
.segmented label, .chip, .day, .slot { position: relative; }
.segmented input, .chip input, .day input, .slot input { position: absolute; opacity: 0; width: 1px; height: 1px; pointer-events: none; }
.segmented span { display: flex; align-items: center; justify-content: center; gap: .5rem; min-height: 48px; padding: .5rem .5rem; white-space: nowrap; border-radius: 12px; font-weight: 600; font-size: .9375rem; color: var(--ink-2); cursor: pointer; text-align: center; transition: background-color .2s, color .2s, box-shadow .2s; }
@media (max-width: 380px) { .segmented span { font-size: .875rem; gap: .35rem; } }
.segmented input:checked + span { background: var(--card); color: var(--teal-deep); box-shadow: 0 1px 2px rgb(35 37 39 / .08), 0 4px 12px -6px rgb(35 37 39 / .25); }
.segmented input:focus-visible + span, .chip input:focus-visible + span, .day input:focus-visible + span, .slot input:focus-visible + span { outline: 2.5px solid var(--teal); outline-offset: 2px; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip span { display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; padding: .5rem 1rem; border: 1px solid var(--line-strong); border-radius: 999px; font-size: .9375rem; font-weight: 500; cursor: pointer; background: var(--card); transition: background-color .2s, border-color .2s, color .2s; }
.chip span::before { content: ""; width: 0; height: .9em; margin-right: -.4rem; background: currentColor; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='none' stroke='black' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; transition: width .2s var(--ease), margin .2s var(--ease); }
.chip span:hover { border-color: var(--ink); }
.chip input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.chip input:checked + span::before { width: .9em; margin-right: 0; }

.days-wrap { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: .35rem; margin-inline: -.25rem; }
.days { display: flex; gap: .45rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; padding: .3rem .25rem; -webkit-overflow-scrolling: touch; }
.days::-webkit-scrollbar { display: none; }
.days-nav { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--card); cursor: pointer; transition: opacity .2s; }
.days-nav:disabled { opacity: .3; cursor: default; }
.days-nav .i { width: 1rem; height: 1rem; }
@media (max-width: 599px) {
  .days-wrap { grid-template-columns: minmax(0, 1fr); margin-inline: -1.15rem; }
  .days-nav { display: none; }
  .days { padding-inline: 1.15rem; scroll-padding-inline: 1.15rem; -webkit-mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, transparent, #000 1rem, #000 calc(100% - 2.5rem), transparent); }
  .day span { width: 3.7rem; }
}
.day { flex: 0 0 auto; scroll-snap-align: start; }
.day span { display: grid; justify-items: center; gap: .05rem; width: 4.1rem; padding: .6rem 0 .55rem; border: 1px solid var(--line-strong); border-radius: 14px; cursor: pointer; background: var(--card); transition: background-color .2s, border-color .2s, color .2s; }
.day b { font-size: .75rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.day strong { font-size: 1.375rem; font-weight: 500; line-height: 1.15; font-variant-numeric: tabular-nums; }
.day small { font-size: .75rem; color: var(--muted); }
.day span:hover { border-color: var(--ink); }
.day input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.day input:checked + span b, .day input:checked + span small { color: #d9d5cd; }
.day-week { flex: 0 0 auto; align-self: stretch; width: 1px; background: var(--line); margin: .3rem .15rem; }

.slots { display: grid; grid-template-columns: repeat(auto-fill, minmax(8.4rem, 1fr)); gap: .45rem; }
.slot span { display: flex; align-items: center; justify-content: center; min-height: 46px; padding: .4rem .5rem; border: 1px solid var(--line-strong); border-radius: 12px; font-size: .9063rem; font-weight: 500; cursor: pointer; background: var(--card); white-space: nowrap; font-variant-numeric: tabular-nums; transition: background-color .2s, border-color .2s, color .2s; }
.slot span:hover { border-color: var(--ink); }
.slot input:checked + span { background: var(--teal); border-color: var(--teal); color: #fff; }
.slots .hint { grid-column: 1 / -1; padding: .8rem 1rem; border: 1px dashed var(--line-strong); border-radius: 12px; }

.form-msg { min-height: 1.2em; font-size: .9375rem; font-weight: 600; color: #a33a28; text-align: center; }
.form-msg:empty { display: none; }

.form-done { display: grid; justify-items: center; text-align: center; gap: 1rem; padding: 1.5rem .25rem .5rem; }
.form-done:focus { outline: none; }
.done-icon { display: grid; place-items: center; width: 64px; height: 64px; border-radius: 50%; background: var(--teal); color: #fff; animation: pop .5s var(--ease); }
.done-icon .i { width: 30px; height: 30px; }
@keyframes pop { from { transform: scale(.6); opacity: 0; } }
.form-done h3 { font-size: 1.75rem; font-weight: 400; letter-spacing: -.02em; }
.summary { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1.1rem; width: 100%; max-width: 28rem; margin: .25rem 0; padding: 1.1rem 1.2rem; border-radius: var(--r-sm); background: var(--paper); text-align: left; font-size: .9375rem; }
.summary dt { color: var(--muted); }
.summary dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.done-note { max-width: 28rem; color: var(--ink-2); font-size: .9375rem; }
.done-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; }

.visit { display: grid; gap: 1rem; align-content: start; }
.visit-card { padding: 1.5rem 1.3rem; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.visit-card h3 { font-size: 1.375rem; font-weight: 500; letter-spacing: -.02em; margin-bottom: .9rem; }
.status-card { margin-bottom: 1rem; }
.hours { width: 100%; border-collapse: collapse; font-size: .9688rem; font-variant-numeric: tabular-nums; margin-bottom: .8rem; }
.hours th, .hours td { padding: .55rem .25rem; border-top: 1px solid var(--line); text-align: left; font-weight: 400; }
.hours td { text-align: right; color: var(--ink-2); }
.hours tr.is-today th, .hours tr.is-today td { font-weight: 600; color: var(--teal-deep); }
.hours tr.is-today th::after { content: "Today"; margin-left: .5rem; padding: .1rem .45rem; border-radius: 999px; background: var(--teal-soft); font-size: .6875rem; letter-spacing: .08em; text-transform: uppercase; vertical-align: .1em; }
.contact-list { display: grid; gap: .25rem; padding: .6rem; }
.contact { display: flex; gap: .9rem; align-items: center; padding: .8rem .75rem; border-radius: 12px; text-decoration: none; transition: background-color .2s; }
.contact:hover { background: var(--paper); }
.contact .i { width: 2.5rem; height: 2.5rem; padding: .6rem; border-radius: 50%; background: var(--teal-soft); color: var(--teal-deep); }
.contact span { font-weight: 600; min-width: 0; }
.contact small { display: block; font-weight: 400; font-size: .8125rem; color: var(--muted); }
.map { border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); background: var(--paper-2); aspect-ratio: 4 / 3; }
.map iframe { display: block; width: 100%; height: 100%; border: 0; }
@media (min-width: 1000px) {
  .book-grid { grid-template-columns: 1.3fr .7fr; gap: 2rem; align-items: start; }
  .form-card { padding: 2.5rem; }
  .visit { position: sticky; top: calc(var(--topbar) + 1.5rem); }
}

/* ---------- Footer ---------- */
.footer { background: var(--char); color: #d9d5cd; padding: 4rem 0 7.5rem; font-size: .9688rem; --logo-accent: var(--teal-light); }
.footer-grid { display: grid; gap: 2rem; }
.footer-brand .logo { height: 72px; color: #f3efe7; margin-bottom: 1rem; }
.footer-brand p { max-width: 20rem; }
.footer h3 { font-size: .75rem; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--teal-light); margin-bottom: .75rem; }
.footer p + p { margin-top: .75rem; }
.footer a { color: #f3efe7; text-decoration: none; }
.footer a:hover { text-decoration: underline; }
.footer-base { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .75rem; margin-top: 3rem; padding-top: 1.5rem; border-top: 1px solid var(--line-dark); font-size: .875rem; color: #aaa59b; }
.footer-base p { margin: 0; }
.demo-line { color: #d9d5cd; }
@media (min-width: 700px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
@media (min-width: 900px) { .footer { padding-bottom: 3rem; } }

/* ---------- Mobile dock ---------- */
.dock { position: fixed; left: .75rem; right: .75rem; bottom: calc(.75rem + env(safe-area-inset-bottom)); z-index: 90; display: grid; grid-template-columns: 1fr 1.6fr; gap: .5rem; padding: .5rem; border-radius: 999px; background: rgb(255 253 249 / .9); -webkit-backdrop-filter: saturate(1.5) blur(16px); backdrop-filter: saturate(1.5) blur(16px); box-shadow: 0 12px 40px -10px rgb(35 37 39 / .35), 0 0 0 1px var(--line); transform: translateY(140%); transition: transform .45s var(--ease); }
.dock.is-shown { transform: none; }
.dock .btn { min-height: 50px; }
@media (min-width: 900px) { .dock { display: none; } }

/* ---------- Reveal motion ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .hero-copy > * { animation: rise .9s var(--ease) both; }
.js .hero-copy > :nth-child(2) { animation-delay: .06s; }
.js .hero-copy > :nth-child(3) { animation-delay: .14s; }
.js .hero-copy > :nth-child(4) { animation-delay: .22s; }
.js .hero-copy > :nth-child(5) { animation-delay: .3s; }
.js .today-card { animation: rise 1s .5s var(--ease) both; }
@keyframes rise { from { opacity: 0; transform: translateY(16px); } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; animation-delay: 0s !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .js .arch img { transform: none; }
}
