
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 12px; }
body { margin: 0; background: var(--cream); color: var(--ink); font: 400 17px/1.55 var(--text); overflow-x: clip; }
img { display: block; max-width: 100%; height: auto; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 800; letter-spacing: -.01em; text-wrap: balance; color: var(--indigo); }
h1 { font-stretch: 112%; line-height: 1.04; }
h2 { font-stretch: 116%; font-size: clamp(1.75rem, 6.2vw, 2.6rem); line-height: 1.08; }
h3 { font-stretch: 108%; font-size: 1.25rem; line-height: 1.2; }
p { margin: 0; }
a { color: var(--indigo); text-underline-offset: .18em; }
:focus-visible { outline: 3px solid var(--indigo); outline-offset: 2px; }
.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gut); }
.nw { white-space: nowrap; }
.sep { margin: 0 .45em; opacity: .5; }
.lede { margin-top: 10px; max-width: 54ch; color: var(--ink-2); font-size: 1.06rem; text-wrap: balance; }


/* ---------- header ---------- */
.head { position: relative; z-index: 20; background: var(--cream); }
.head-in { display: flex; align-items: center; gap: 4px; min-height: var(--head-h); position: relative; }
.logo { display: block; margin-right: auto; color: var(--indigo); padding: 6px 0; }
.logo .wm { display: block; height: 44px; width: auto; }
@media (min-width: 900px) { .logo .wm { height: 52px; } .head-in { gap: 10px; } }
.hbtn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 44px; height: 44px; padding: 0 10px; border: 0; border-radius: 999px;
  background: none; color: var(--indigo); font: 700 15px/1 var(--text); text-decoration: none; cursor: pointer; }
.hbtn svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.hbtn-map { padding: 0; }
.hbtn-call { background: var(--indigo); color: var(--lit); padding: 0 14px 0 12px; }
.hbtn-call svg { width: 14px; height: 14px; }
.hbtn-menu { padding: 0; }
.menu-word { display: none; }
@media (min-width: 400px) { .hbtn-menu { padding: 0 6px 0 10px; } .menu-word { display: inline; } }
.nav { position: absolute; right: var(--gut); top: calc(100% - 4px); z-index: 30; min-width: 220px; padding: 8px; background: var(--cream-2); border-radius: var(--r);
  box-shadow: 0 18px 40px rgba(24, 23, 46, .18), 0 0 0 1px var(--line); display: grid; text-align: right; }
.nav[hidden] { display: none; }
.nav a { padding: 12px 14px; border-radius: 10px; font: 700 17px/1.2 var(--text); text-decoration: none; color: var(--ink); }
.nav a:hover, .nav a[aria-current] { background: var(--oat); color: var(--indigo); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 50px; padding: 0 22px; border-radius: 999px; border: 2px solid var(--indigo);
  font: 700 16px/1.1 var(--text); text-decoration: none; cursor: pointer; text-align: center; transition: background .2s, color .2s; }
.btn svg { width: 17px; height: 17px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.btn-go { background: var(--indigo); color: var(--lit); }
.btn-go:hover { background: var(--indigo-2); border-color: var(--indigo-2); }
.btn-line { background: transparent; color: var(--indigo); }
.btn-line:hover { background: var(--indigo); color: var(--lit); }
.btn-light { background: var(--lit); color: var(--indigo); border-color: var(--lit); }
.more { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-weight: 700; text-decoration: none; color: var(--indigo); }
.more svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; transition: transform .2s; }
.more:hover svg { transform: translateX(3px); }

/* ---------- hero: Depth blur, reference proportions ---------- */
.hero { --hero-offset: calc(var(--head-h) + var(--tag-h)); --hero-copy-room: 300px; }
@media (max-width: 899.98px) { .home .hero[data-hero-style="depth-blur"] .hero-photo { height: max(250px, calc(62svh - var(--hero-offset))); } }
.hero .hero-copy h1 { font-size: clamp(2.05rem, 9.3vw, 4.3rem); }
.hero h1 .ln { display: inline; }
.hero h1 .place { font-style: italic; font-stretch: 118%; text-decoration: underline; text-decoration-color: var(--indigo); text-decoration-thickness: .085em; text-underline-offset: .13em; text-decoration-skip-ink: none; }
.hero .hero-tag { margin-top: 10px; font-size: 1.12rem; font-weight: 400; color: var(--ink-2); text-wrap: balance; }
.hero-g { margin: 8px 0 0; font: 500 14.5px/1.35 var(--text); color: var(--ink-2); display: flex; align-items: center; gap: 7px; flex-wrap: wrap; }
.hero-g .stars { color: var(--indigo); letter-spacing: 1px; font-size: 13px; }
.hero-g b { color: var(--ink); font-weight: 700; }
.hero-g a { color: inherit; }
.hero-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 16px; max-width: 460px; }
.hero-acts .btn { padding: 0 10px; min-height: 52px; font-size: 16px; }
.hero-acts .num { display: none; }
.hero[data-hero-tone="dark"] .hero-tag, .hero[data-hero-tone="dark"] .hero-g, .hero[data-hero-tone="dark"] .hero-g b { color: rgba(255,255,255,.9); }
.hero[data-hero-tone="dark"] h1 { color: #fff; }
.hero[data-hero-tone="dark"] h1 .place { text-decoration-color: #fff; }
.hero[data-hero-tone="dark"] .hero-g .stars { color: #fff; }
.hero[data-hero-tone="dark"] .hero-acts .btn-go { background: #fff; color: var(--indigo); border-color: #fff; }
.hero[data-hero-tone="dark"] .hero-acts .btn-line { border-color: #fff; color: #fff; }
.hero-caption { font-weight: 600; letter-spacing: .01em; }
/* the photo label: a small ink pill, legible on the dark sign, the white shop wall and the sample wall alike */
.hero[data-hero-style] .hero-caption, .hero[data-hero-tone="light"] .hero-caption { color: #fff; text-shadow: none; background: rgba(24, 23, 46, .66);
  padding: 4px 10px; border-radius: 999px; width: max-content; max-width: calc(100% - 2 * var(--hero-gut) - 56px); }
/* the sign's framing: short phones and tablets show the photo box shorter or wider, so the sign sits lower in it */
@media (max-width: 899.98px) and (max-height: 760px), (min-width: 600px) and (max-width: 899.98px) { .hero { --sign-y: 30%; } }
.hero .hs { --hs-top: 10px; }
@media (max-width: 899.98px) {
  .hero[data-hero-style] .hero-caption { top: 14px; }
  .hero[data-hero-style="depth-blur"] .hero-veil { background: none; }      /* no light veil over the photo top on phones */
  .hero[data-hero-style="depth-blur"] .hero-copy { padding-bottom: 22px; }
  .hero[data-hero-style="depth-blur"] .hero-copy::before { bottom: 0; }
}
@media (max-width: 374.98px) { .hero-g .stars { display: none; } }
@media (min-width: 900px) {
  .hero { --hero-h-d: clamp(600px, calc(100svh - var(--head-h) - var(--tag-h)), 800px); }
  .hero[data-hero-style] .hero-copy { margin-top: 0; }
  .hero .hero-copy h1 { font-size: clamp(3rem, 4.6vw, 4.5rem); }
  .hero .hero-tag { margin-top: 18px; font-size: 1.3rem; }
  .hero-g { margin-top: 14px; font-size: 15.5px; }
  .hero-acts { display: flex; max-width: none; margin-top: 26px; }
  .hero-acts .btn { padding: 0 28px; }
  .hero-acts .num { display: inline; } .hero-acts .us { display: none; }
  .hero[data-hero-style="depth-blur"] { --hero-box-d: 46%; --hero-bg-pos-d: 50% 90%; }
  .hero[data-hero-style="depth-blur"] .hero-veil {   /* the copy column is a clean cream field */
    background: linear-gradient(180deg, color-mix(in srgb, var(--hero-light) 60%, transparent) 0, transparent 70px),
                linear-gradient(90deg, var(--hero-light) 0, var(--hero-light) 38%, color-mix(in srgb, var(--hero-light) 70%, transparent) 45%,
                  color-mix(in srgb, var(--hero-light) 20%, transparent) 51%, transparent 56%); }
}
/* ---------- "Our design" (data-hero-style="sign"): Find the sign ----------
   Their night photo of the COZY sign as a hard-edged plate (no frost, no veil), the words on cream beside or below it.
   On load (visitors only, not under reduced motion) their flat logo card tilts into the sign's exact perspective and
   becomes the real lit letters: site.js maps the card with two homographies fitted to g-03 (lab/sign/fit2.py). */
.hero[data-hero-style="sign"] { --hero-ground: var(--hero-light); --hero-ink: var(--hero-on-light); --hero-overlap: 0px; }
.hero[data-hero-style="sign"] .hero-veil { background: none; }
.sign-fly { display: none; }
html.js.intro .hero[data-hero-style="sign"] .sign-fly:not([data-done]) { display: block; position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }
.sign-fly > div { position: absolute; left: 0; top: 0; transform-origin: 0 0; opacity: 0; will-change: transform, opacity; backface-visibility: hidden; }
.sign-fly .sc-bg { width: 1641px; height: 486px; background: var(--sc-bg, #2A2B5B); }
.sign-fly .sc-mark { width: 1561px; height: 437px; background: var(--sc-ink, #fff);
  -webkit-mask: url(../img/wordmark.svg) 0 0 / 100% 100% no-repeat; mask: url(../img/wordmark.svg) 0 0 / 100% 100% no-repeat; }
.sign-fly .sc-cozy { clip-path: inset(0 0 95px 0); }
.sign-fly .sc-sub { clip-path: inset(342px 0 0 0); }
/* until the card has landed the photo waits (safety net: it shows after 3s even if the script never runs) */
html.js.intro .hero[data-hero-style="sign"]:has(.sign-fly:not([data-done])) .hero-sharp { opacity: 0; animation: sign-safe 0s 3s forwards; }
html.js.intro .hero[data-hero-style="sign"]:has(.sign-fly[data-run]) .hero-sharp { animation: none; }
html.js.intro .hero[data-hero-style="sign"]:has(.sign-fly:not([data-done])) .hero-caption { opacity: 0; }
html.js .hero[data-hero-style="sign"] .hero-caption { transition: opacity .4s ease; }
@keyframes sign-safe { to { opacity: 1; } }
.hs [data-style="sign"] .hs-prev { --_g: var(--hero-light); }
.hs [data-style="sign"] .hs-prev::before { bottom: 40%; }
.hs [data-style="sign"] .hs-prev::after { content: none; }
@media (max-width: 599.98px) {
  .hero[data-hero-style="sign"] { min-height: 0; }
  /* the plate is sized from the screen; the photo is framed on the sign's letters (photo rows ~110-1265 of 2240, centred on
     row 720), so tall phones show the whole sign and short ones lose only the tip of the Y, never the second line */
  .hero[data-hero-style="sign"] { --plate-h: max(250px, calc(58svh - var(--hero-offset))); }
  .hero[data-hero-style="sign"] .hero-photo { flex: none; min-height: 0; height: var(--plate-h); }
  .hero[data-hero-style="sign"] .hero-sharp img { object-position: 50% clamp(calc(var(--plate-h) - 169.7vw), min(calc(var(--plate-h) / 2 - 54.55vw), calc(var(--plate-h) - 8px - 96.06vw)), 0px); }
  .hero[data-hero-style="sign"] .hero-copy { padding: 14px 0 22px; }
}
/* tablets and laptops: a tall portrait plate on the right holds the whole sign and the lit window; words on cream left */
@media (min-width: 600px) {
  .hero[data-hero-style="sign"] { --plate-l: max(54%, calc(100% - 660px)); --copy-l: max(var(--hero-gut), calc((100% - var(--hero-max)) / 2));
    display: block; min-height: 0; height: var(--hero-h-s, clamp(520px, calc(100svh - var(--hero-offset) - 120px), 720px)); }
  .hero[data-hero-style="sign"] .hero-photo { position: absolute; top: 0; bottom: 0; right: 0; left: var(--plate-l); min-height: 0; margin: 0; }
  .hero[data-hero-style="sign"] .hero-sharp img { height: 100%; object-position: var(--hero-pos-s, 22% 0%); }
  .hero[data-hero-style="sign"] .hero-copy { position: absolute; z-index: 3; top: 50%; transform: translateY(-50%); left: var(--copy-l);
    width: calc(var(--plate-l) - var(--copy-l) - 40px); max-width: 600px; margin: 0; padding: 0; }
  .hero[data-hero-style="sign"] .hero-copy h1 { font-size: clamp(2.2rem, 5.6vw, 4.5rem); }
  .hero[data-hero-style="sign"] .hero-acts { grid-template-columns: 1fr; max-width: 300px; }
  .hero[data-hero-style="sign"] .hero-caption { top: auto; bottom: 14px; left: auto; right: 14px; }
}
@media (min-width: 900px) {
  .hero[data-hero-style="sign"] { --hero-h-s: var(--hero-h-d); --hero-pos-s: var(--hero-pos-d); }
  .hero[data-hero-style="sign"] .hero-copy h1 { font-size: clamp(3rem, 4.6vw, 4.5rem); }
  .hero[data-hero-style="sign"] .hero-acts { display: flex; max-width: none; }
}
/* the headline opening on the sign hero: nothing else moves while the card lands; the underline unrolls after it */
@media (prefers-reduced-motion: no-preference) {
  html.js.intro .hero[data-hero-style="sign"] h1 .ln, html.js.intro .hero[data-hero-style="sign"] .hero-tag,
  html.js.intro .hero[data-hero-style="sign"] .hero-g, html.js.intro .hero[data-hero-style="sign"] .hero-acts { animation: none; }
  html.js.intro .hero[data-hero-style="sign"] h1 .ln { display: inline; }
  html.js.intro .hero[data-hero-style="sign"] h1 .place { animation: none; }
  html.js.intro .hero[data-hero-style="sign"].sign-landed h1 .place { animation: rollout .7s cubic-bezier(.25,.6,.25,1) both; }
}
/* headline opening "Roll out": the line settles, then the underline unrolls under Radcliffe like a carpet (intro only) */
@media (prefers-reduced-motion: no-preference) {
  html.js.intro .hero h1 .ln { display: inline-block; animation: settle .7s cubic-bezier(.2,.8,.2,1) both; }
  html.js.intro .hero h1 .ln + .ln { animation-delay: .12s; }
  html.js.intro .hero h1 .place { text-decoration-color: transparent; background: linear-gradient(var(--indigo), var(--indigo)) 0 calc(100% - .02em) / 0 .085em no-repeat;
    animation: rollout .9s cubic-bezier(.6,0,.2,1) .7s both; }
  html.js.intro .hero .hero-tag, html.js.intro .hero .hero-g, html.js.intro .hero .hero-acts { animation: fadeup .6s ease-out .45s both; }
}
@keyframes settle { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes rollout { from { background-size: 0 .085em; } to { background-size: 100% .085em; } }
@keyframes fadeup { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* ---------- sections: joins are tone changes only ---------- */
.sec { padding: 44px 0; }
@media (min-width: 900px) { .sec { padding: 76px 0; } }
.sec-oat { background: var(--oat); }
.h-small { font-size: clamp(1.75rem, 5vw, 2.1rem); font-stretch: 100%; }

/* reviews: one quote style, two quotes, no rating repeated */
.sec-rev { background: var(--cream-2); padding: 22px 0 24px; }
@media (min-width: 900px) { .sec-rev { padding: 48px 0; } }
.quotes { display: grid; gap: 10px; margin-top: 12px; }
@media (min-width: 760px) { .quotes { grid-template-columns: 1.5fr 1fr; gap: 20px; } }
.quote { margin: 0; padding: 12px 16px 12px; border-radius: var(--r); background: var(--cream); border-left: 4px solid var(--indigo); }
.quote blockquote { margin: 0; }
.quote p { font-size: 1.02rem; line-height: 1.5; color: var(--ink); }
.quote p::before { content: "“"; } .quote p::after { content: "”"; }
.quote figcaption { margin-top: 4px; font-weight: 700; font-size: 15px; color: var(--indigo); }
.quote figcaption span { font-weight: 400; color: var(--ink-2); margin-left: .4em; }

/* floors and furniture under one roof */
.sec-roof { background: var(--cream); }
.roof { display: grid; gap: 34px; margin-top: 22px; }
@media (min-width: 900px) { .roof { grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 34px; } }
.half-photo { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .half-photo { aspect-ratio: 1 / 1; } }
.half-copy { margin-top: 16px; }
.half-copy h3 { display: flex; align-items: center; gap: 10px; font-size: clamp(1.5rem, 5vw, 1.9rem); }
.ic { width: 30px; height: 30px; flex: none; fill: none; stroke: var(--indigo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ranges { margin-top: 8px; font: 700 1.05rem/1.4 var(--text); color: var(--ink); }
.ranges i { font-style: normal; color: var(--indigo); opacity: .5; margin: 0 .2em; }
.half-copy p + p { margin-top: 4px; color: var(--ink-2); }
.half-copy .more { margin-top: 6px; }
.furn-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.furn-grid figure { margin: 0; position: relative; }
.furn-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.furn-grid figcaption { position: absolute; left: 8px; bottom: 8px; padding: 5px 10px; border-radius: 999px; background: rgba(251, 248, 243, .94); font: 700 14px/1 var(--text); color: var(--indigo); }
@media (min-width: 900px) { .furn-grid img { aspect-ratio: 1 / 1; } }

/* from our floor to your home (signature) */
.sec-homes { background: var(--oat); }
.homes { list-style: none; margin: 22px calc(-1 * var(--gut)) 0; padding: 0 var(--gut); display: grid; grid-auto-flow: column; grid-auto-columns: 86%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding: 0 var(--gut); scrollbar-width: none; }
.homes::-webkit-scrollbar { display: none; }
.homes li { scroll-snap-align: start; }
.homes figure { margin: 0; }
.homes img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r); }
.homes figcaption { margin-top: 10px; font-size: 1.02rem; line-height: 1.45; color: var(--ink); }
.homes figcaption::before { content: "“"; } .homes figcaption::after { content: "”"; }
.homes-ctl { display: flex; align-items: center; justify-content: flex-end; gap: 6px; margin-top: 8px; }
.homes-ctl .count { margin-right: auto; font-size: 15px; color: var(--ink-2); }
.arrow { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--indigo); background: transparent; color: var(--indigo); display: grid; place-items: center; cursor: pointer; }
.arrow svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.arrow:disabled { opacity: .35; cursor: default; }
@media (min-width: 760px) {
  .homes { margin: 30px 0 0; padding: 0; grid-auto-flow: row; grid-template-columns: 1fr 1fr; grid-auto-columns: auto; overflow: visible; gap: 28px 24px; }
  .homes-ctl { display: none; }
}
.sec-homes .more { margin-top: 14px; }
html.js:not(.wd) .homes [data-rise] { opacity: 0; transform: translateY(14px); transition: opacity .7s ease, transform .7s cubic-bezier(.2,.8,.2,1); }
html.js:not(.wd) .homes li:nth-child(2n) [data-rise] { transition-delay: .1s; }
html.js:not(.wd) .homes [data-rise].on { opacity: 1; transform: none; }

/* opening day: the one indigo band */
.sec-open { background: var(--indigo); color: #E9E8F3; }
.open { display: grid; gap: 22px; align-items: center; }
@media (min-width: 900px) { .open { grid-template-columns: 5fr 6fr; gap: 56px; } }
.open-photo { margin: 0; }
.open-photo img { width: 100%; aspect-ratio: 5 / 4; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .open-photo img { aspect-ratio: 1 / 1; } }
.open-copy h2 { color: #fff; }
.own { margin: 14px 0 0; }
.own p { font-size: 1.12rem; line-height: 1.55; font-weight: 400; max-width: 46ch; }
.own footer { margin-top: 10px; font-size: 15px; opacity: .8; }
.sec-open .btn { margin-top: 20px; }

/* quote form */
.sec-quote { background: var(--cream); }
.quote-in { display: grid; gap: 22px; }
@media (min-width: 900px) { .quote-in { grid-template-columns: 5fr 6fr; gap: 56px; align-items: start; } }
.ticks { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
.ticks li { display: flex; align-items: center; gap: 10px; font-weight: 600; }
.ticks svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--indigo); stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.form-card { position: relative; padding: 20px 18px; border-radius: 18px; background: var(--cream-2); box-shadow: 0 0 0 1px var(--line), 0 18px 40px -24px rgba(24, 23, 46, .35); border-top: 6px solid var(--indigo); }
@media (min-width: 900px) { .form-card { padding: 30px; } }
.field { display: grid; gap: 6px; margin: 0 0 14px; border: 0; padding: 0; min-width: 0; }
.field label, .field legend { font: 700 17px/1.3 var(--text); color: var(--ink); padding: 0; }
.opt { font-weight: 400; color: var(--ink-2); }
.field input, .field textarea { width: 100%; min-height: 50px; padding: 12px 14px; border: 1.5px solid rgba(24, 23, 46, .28); border-radius: 12px; background: #fff; font: 400 17px/1.4 var(--text); color: var(--ink); }
.field textarea { min-height: 90px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--indigo); box-shadow: 0 0 0 3px rgba(42, 43, 91, .18); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 4px; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.chip span { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border-radius: 999px; border: 1.5px solid rgba(24, 23, 46, .25); background: #fff; font: 600 17px/1 var(--text); color: var(--ink); }
.chip input:checked + span { background: var(--indigo); border-color: var(--indigo); color: #fff; }
.chip input:focus-visible + span { outline: 3px solid var(--indigo); outline-offset: 2px; }
.form-card .btn-go { width: 100%; margin-top: 4px; }
.form-note { margin-top: 12px; font-size: 15px; color: var(--ink-2); text-align: center; }
.form-ok { display: none; padding: 10px 0; }
.form-ok h3 { font-size: 1.5rem; }
.form-ok p { margin-top: 8px; color: var(--ink-2); }
.form-card.sent form { display: none; }
.form-card.sent .form-ok { display: block; }

/* find us */
.sec-find { background: var(--oat); }
.find { display: grid; gap: 24px; }
@media (min-width: 900px) { .find { grid-template-columns: 4fr 7fr; gap: 48px; align-items: start; } }
.addr { margin-top: 14px; font-style: normal; font-size: 1.05rem; line-height: 1.5; }
.addr strong { display: block; color: var(--indigo); }
.hours { margin-top: 16px; border-collapse: collapse; width: 100%; max-width: 360px; font-size: 16px; }
.hours th { text-align: left; font-weight: 600; padding: 6px 0; }
.hours td { text-align: right; white-space: nowrap; padding: 6px 0; color: var(--ink-2); }
.hours tr + tr th, .hours tr + tr td { border-top: 1px solid var(--line); }
.find-call { margin-top: 18px; }
.map { position: relative; height: 300px; border-radius: var(--r); overflow: hidden; background: #F7F3EC; box-shadow: 0 0 0 1px var(--line); }
@media (min-width: 900px) { .map { height: 480px; } }
.map svg { width: 100%; height: 100%; display: block; }
.map .bld { fill: #E4DBCC; }
.map .grn { fill: #DCE3CF; }
.map .wat { fill: #CBD5E4; }
.map .r-service { fill: none; stroke: #FFFFFF; stroke-width: 3; }
.map .r-minor { fill: none; stroke: #FFFFFF; stroke-width: 6; stroke-linecap: round; }
.map .r-mid { fill: none; stroke: #FFFFFF; stroke-width: 9; stroke-linecap: round; }
.map .r-major { fill: none; stroke: #D9D3E6; stroke-width: 12; stroke-linecap: round; }
.map .route { fill: none; stroke: var(--indigo); stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 0; }
html.js:not(.wd) .map:not(.drawn) .route { stroke-dashoffset: 1; }
html.js:not(.wd) .map .route { transition: stroke-dashoffset 1.6s cubic-bezier(.5,0,.2,1) .2s; }
.map .lbl { font: 800 21px var(--display); font-stretch: 105%; fill: #6E6A80; letter-spacing: .05em; }
.map .pin circle { fill: var(--indigo); }
.map .pin .pin-dot { fill: #fff; }
.map .pin-t { font: 800 24px var(--display); fill: var(--indigo); paint-order: stroke; stroke: #F7F3EC; stroke-width: 8px; stroke-linejoin: round; }
@media (min-width: 900px) { .map .lbl { font-size: 13px; } .map .pin-t { font-size: 16px; stroke-width: 6px; } }
.map-front { position: absolute; left: 10px; bottom: 10px; width: 46%; max-width: 260px; padding: 0; border: 3px solid #fff; border-radius: 10px; overflow: hidden; background: #fff; cursor: zoom-in;
  box-shadow: 0 8px 22px rgba(24, 23, 46, .28); }
.map-front img { width: 100%; aspect-ratio: 640 / 318; object-fit: cover; }
html.js:not(.wd) .map:not(.drawn) .map-front { opacity: 0; transform: translateY(8px); }
html.js:not(.wd) .map .map-front { transition: opacity .5s ease 1.4s, transform .5s ease 1.4s; }
.dirs { width: 100%; margin-top: 12px; }
@media (min-width: 900px) { .dirs { width: auto; } }
.maps-link { display: inline-flex; align-items: center; min-height: 44px; margin-left: 4px; font-size: 15px; }

/* ---------- inner pages ---------- */
.page-head { padding: 22px 0 36px; }
@media (min-width: 900px) { .page-head { padding: 52px 0 64px; } }
.page-head h1 { font-size: clamp(1.9rem, 7.4vw, 3.4rem); }
.page-head-in { display: grid; gap: 20px; }
@media (min-width: 900px) { .page-head-in { grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; } }
.ph-photo { margin: 0; }
.ph-photo img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; border-radius: var(--r); }
@media (min-width: 900px) { .ph-photo img { aspect-ratio: 5 / 4; } }
.acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 18px; max-width: 460px; }
.acts .btn { padding: 0 10px; }
@media (min-width: 600px) { .acts { display: flex; } .acts .btn { padding: 0 24px; } }
.ph-wide { margin-top: 20px; }
.portfolio .page-head { padding-bottom: 28px; }
@media (min-width: 900px) { .ph-wide img { aspect-ratio: 21 / 9; } }
.ph-strip { list-style: none; margin: 20px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
@media (min-width: 900px) { .ph-strip { max-width: 900px; gap: 16px; } }
.ph-strip img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.page-head .own p { color: var(--ink); }
.page-head .own footer { color: var(--ink-2); }

/* services rows: the photo always shows */
.rows { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px; }
@media (min-width: 900px) { .rows { grid-template-columns: repeat(2, 1fr); gap: 28px 40px; } }
.row { display: grid; grid-template-columns: 38% 1fr; gap: 14px; align-items: start; }
.row img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: 10px; }
.row h3 { display: flex; align-items: center; gap: 8px; font-size: clamp(1.3rem, 4.6vw, 1.55rem); }
.row h3 .ic { width: 26px; height: 26px; }
.row p { margin-top: 8px; color: var(--ink-2); }
@media (min-width: 900px) { .row { grid-template-columns: 200px 1fr; gap: 22px; } }

/* portfolio */
.pt { margin-top: 18px; color: var(--ink); }
@media (min-width: 900px) { .pt .pt-grid { grid-template-columns: repeat(4, 1fr); } }
.pt-grid button { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.pt-grid img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--pt-tile-radius); }
.pt-grid figcaption { margin-top: 6px; font-size: 15px; color: var(--ink-2); }

/* about */
.about { display: grid; gap: 28px; }
@media (min-width: 900px) { .about { grid-template-columns: 3fr 2fr; gap: 56px; } }
.said > p { margin-top: 14px; max-width: 60ch; }
.said .quote { margin-top: 20px; background: var(--cream-2); }
.reach { display: grid; gap: 6px; align-content: start; }
.reach h3 { margin-bottom: 6px; }
.reach a { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 0 14px; border-radius: 12px; background: var(--cream-2); text-decoration: none; color: var(--ink); font-weight: 500; }
.reach a b { color: var(--indigo); }
.reach svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--indigo); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- footer ---------- */
.foot { padding: 24px 0 22px; background: var(--cream); font-size: 14.5px; line-height: 1.5; color: var(--ink-2); }
.foot-logo { display: inline-block; color: var(--indigo); }
.foot-logo .wm { height: 34px; width: auto; display: block; }
.foot-top b { color: var(--indigo); }
.foot-reach svg { width: 19px; height: 19px; fill: none; stroke: var(--indigo); stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.foot-reach li:first-child a { gap: 6px; }
.foot a { color: var(--ink); }
.foot-reach, .foot-links { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 0 8px; align-items: center; }
.foot-reach a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; color: var(--ink); }
.foot-logo { min-height: 44px; align-content: center; }
.foot-links a { display: inline-flex; min-height: 44px; align-items: center; font-weight: 600; text-decoration: none; color: var(--indigo); }
.foot-credit { margin-top: 6px; font-size: 12.5px; }
body:not(.home) .foot { padding-bottom: 72px; }
@media (min-width: 900px) { body:not(.home) .foot { padding-bottom: 24px; } }

/* ---------- floating call bar (inner pages only) ---------- */
.dock { position: fixed; z-index: 40; left: 50%; bottom: 12px; translate: -50% 0; display: flex; gap: 8px; padding: 8px; border-radius: 999px; background: rgba(251, 248, 243, .96);
  box-shadow: 0 10px 30px rgba(24, 23, 46, .28), 0 0 0 1px var(--line); transition: transform .35s ease, opacity .35s ease; width: max-content; max-width: calc(100% - 24px); }
.dock .btn { min-height: 46px; padding: 0 16px; font-size: 15.5px; }
.dock.away { transform: translateY(calc(100% + 40px)); opacity: 0; visibility: hidden; pointer-events: none; transition: transform .35s ease, opacity .35s ease, visibility 0s linear .35s; }

/* ---------- photo dialog ---------- */
.big { padding: 0; border: 0; border-radius: 14px; max-width: min(92vw, 900px); background: var(--cream-2); }
.big::backdrop { background: rgba(24, 23, 46, .8); }
.big img { width: 100%; height: auto; max-height: 80vh; object-fit: contain; }
.big p { padding: 10px 14px 14px; font-size: 15px; }
.big .x { position: absolute; right: 8px; top: 8px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(24, 23, 46, .7); color: #fff; display: grid; place-items: center; cursor: pointer; }
.big .x svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2; fill: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  html.js .homes [data-rise] { opacity: 1 !important; transform: none !important; }
}

/* larger tap targets without moving the layout */
.hero-g a, .form-note a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.foot-reach a, .foot-links a { min-width: 44px; justify-content: center; }

/* ---------- additions for the live build (not in the demo): the starter's form contract, hidden content, small footer text ---------- */
[hidden] { display: none !important; }
.f-err { margin: 6px 0 0; font-size: 14px; font-weight: 700; color: #9A2A2A; }
.f [aria-invalid="true"] { border-color: #9A2A2A; outline: 0; }
.f-status:empty { display: none; }
.f-status { margin: 12px 0 0; padding: 12px 14px; background: var(--oat); border-left: 3px solid var(--indigo); font-size: 15.5px; }
.f-note { font-size: 13.5px; color: var(--ink-2); }
.f-note a { display: inline-block; padding: 12px 0; margin: -12px 0; }
.f-send { display: grid; justify-items: stretch; gap: 6px; margin-top: 4px; }
.f-send .f-note { margin: 0; text-align: center; }
.f-alt { min-height: 44px; padding: 0; border: 0; background: none; color: var(--indigo); font: 700 15px var(--text); text-decoration: underline; cursor: pointer; }
.f-unconnected { margin: 0 0 12px; }
.f > .btn { width: 100%; margin-top: 4px; }
.foot-text { margin-top: 6px; }
.foot-text p { margin: 0; }
