/* Abbey Stoneworks - public site
   Light theme only: the brand logo is dark red blackletter artwork made for light backgrounds.
   One accent (logo red), cool stone neutrals, 6px radius everywhere. */

@font-face { font-family: "Archivo"; src: url("../fonts/archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; }
@font-face { font-family: "Public Sans"; src: url("../fonts/public-sans.woff2") format("woff2"); font-weight: 100 900; font-display: swap; }

:root {
  --bg: #f4f3f1;
  --surface: #ffffff;
  --stone: #e9e7e3;
  --stone-2: #d9d6d0;
  --ink: #17191a;
  --ink-2: #44494c;
  --ink-3: #5c6266;
  --line: #dcd9d4;
  --night: #141617;
  --accent: #9b1c1f;
  --accent-hover: #7f1518;
  --accent-soft: #f6e9e9;
  --focus: #1c5fa8;
  --ok: #1f6b3a;
  --err: #a1261f;
  --radius: 6px;
  --shadow: 0 1px 2px rgb(40 34 28 / .06), 0 10px 28px rgb(40 34 28 / .08);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 32px);
  --display: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --body: "Public Sans", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 1.0625rem/1.65 var(--body); }
img, picture, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: var(--accent); text-underline-offset: .18em; }
a, button, .btn, .chip, label { touch-action: manipulation; -webkit-tap-highlight-color: rgb(155 28 31 / .15); }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 2px; }
h1, h2, h3, h4 { text-wrap: balance; font-family: var(--display); font-stretch: 88%; line-height: 1.04; letter-spacing: -.02em; margin: 0 0 .5em; color: var(--ink); }
h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 820; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.9rem); font-weight: 800; }
h3 { font-size: 1.35rem; font-weight: 720; font-stretch: 92%; }
p { margin: 0 0 1em; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.lede { font-size: 1.2rem; color: var(--ink-2); max-width: 60ch; }
.muted { color: var(--ink-3); }
.ico { width: 1.25em; height: 1.25em; flex: none; }
.skip { position: absolute; left: -999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 8px; top: 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 48px; padding: .7em 1.35em;
  border-radius: var(--radius); border: 1.5px solid transparent; font: 650 1rem/1.2 var(--body); text-decoration: none; cursor: pointer;
  white-space: nowrap; transition: background-color .2s, border-color .2s, color .2s, transform .1s; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); color: #fff; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { background: var(--ink); color: #fff; }
.btn-light { background: var(--surface); color: var(--ink); border-color: var(--line); }
.btn-light:hover { border-color: var(--ink); color: var(--ink); }
.link-arrow { display: inline-flex; align-items: center; gap: .35em; font-weight: 650; text-decoration: none; }
.link-arrow .ico { transition: transform .2s; }
.link-arrow:hover .ico { transform: translateX(3px); }

/* Header */
.site-head { position: sticky; top: 0; z-index: 40; background: #fff; border-bottom: 1px solid var(--line); }
.head-row { display: flex; align-items: center; gap: 24px; height: 76px; }
.brand { flex: none; display: block; }
.brand img { height: 46px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; margin-left: auto; }
.nav-link, .nav-btn { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; color: var(--ink); text-decoration: none; font: 560 1rem var(--body); padding: 10px 11px; border-radius: var(--radius); background: none; border: 0; cursor: pointer; white-space: nowrap; transition: background-color .15s; }
.nav-link:hover, .nav-btn:hover, .nav-item.open .nav-btn { background: var(--stone); }
.nav-link[aria-current="page"], .nav-btn.is-current { color: var(--accent); }
.nav-btn .ico { width: 16px; height: 16px; transition: transform .2s; }
.nav-item { position: relative; }
.nav-item.open .nav-btn .ico { transform: rotate(180deg); }
.nav-menu { position: absolute; top: calc(100% + 10px); left: -12px; z-index: 50; display: grid; grid-template-columns: repeat(2, minmax(220px, 1fr)); gap: 8px 18px; padding: 18px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; box-shadow: 0 18px 50px rgb(40 34 28 / .16), 0 2px 6px rgb(40 34 28 / .06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .16s, transform .16s, visibility .16s; }
.nav-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -12px; height: 12px; }
.nav-item.open .nav-menu { opacity: 1; visibility: visible; transform: none; }
@media (hover: hover) and (pointer: fine) { .nav-item:hover .nav-menu { opacity: 1; visibility: visible; transform: none; } .nav-item:hover .nav-btn .ico { transform: rotate(180deg); } }
@media (hover: hover) and (pointer: fine) { .nav-item.hover-off:not(.open):hover .nav-menu { opacity: 0; visibility: hidden; transform: translateY(-6px); } .nav-item.hover-off:not(.open):hover .nav-btn .ico { transform: none; } }
.nav-col-h { margin: 0 0 6px; padding: 0 10px; font-size: .74rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); }
.nav-menu a { display: grid; gap: 2px; padding: 9px 10px; border-radius: var(--radius); color: var(--ink); text-decoration: none; }
.nav-menu a strong { font-weight: 650; }
.nav-menu a span { font-size: .86rem; color: var(--ink-3); }
.nav-menu a:hover, .nav-menu a:focus-visible { background: var(--stone); }
.nav-menu a[aria-current="page"] strong { color: var(--accent); }
.head-cta { display: flex; align-items: center; gap: 14px; }
.head-phone { display: inline-flex; align-items: center; gap: 6px; color: var(--ink); font-weight: 650; text-decoration: none; white-space: nowrap; }
.head-phone:hover { color: var(--accent); }
.menu-btn { display: none; margin-left: auto; width: 48px; height: 48px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); color: var(--ink); align-items: center; justify-content: center; cursor: pointer; }
.menu-btn .ico { width: 24px; height: 24px; }
.mobile-nav { display: none; }

@media (max-width: 1200px) { .head-phone span { display: none; } }
@media (max-width: 1040px) {
  .nav, .head-cta { display: none; }
  .menu-btn { display: inline-flex; }
  .head-row { height: 66px; }
  .brand img { height: 38px; }
  .mobile-nav[data-open="true"] { display: block; position: fixed; inset: 66px 0 0 0; background: var(--surface); z-index: 39; overflow-y: auto; padding: 12px var(--gutter) 32px; }
  .mobile-nav .m-link { display: block; padding: 14px 4px; font: 650 1.2rem var(--display); color: var(--ink); text-decoration: none; border-bottom: 1px solid var(--line); }
  .mobile-nav .m-actions { display: grid; gap: 10px; margin-top: 20px; }
  .mobile-nav summary.m-link { display: flex; }
  .m-group summary { display: flex; justify-content: space-between; align-items: center; cursor: pointer; list-style: none; }
  .m-group summary::-webkit-details-marker { display: none; }
  .m-group summary .ico { width: 20px; height: 20px; transition: transform .2s; }
  .m-group[open] summary .ico { transform: rotate(180deg); }
  .m-sub { display: grid; padding: 6px 0 12px 12px; border-bottom: 1px solid var(--line); }
  .m-sub a { padding: 11px 4px; color: var(--ink-2); text-decoration: none; font-weight: 560; }
  .m-sub a[aria-current="page"] { color: var(--accent); }
}

/* Hero */
.hero { padding: clamp(28px, 5vw, 64px) 0 clamp(40px, 6vw, 80px); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.hero h1 { max-width: 19ch; font-size: clamp(2.1rem, 3.7vw, 3.15rem); }
.hero .lede { margin-bottom: 1.6em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { position: relative; }
.hero-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-media::before { content: ""; position: absolute; inset: 22px -18px -18px 22px; background: var(--stone-2); border-radius: var(--radius); z-index: -1; }
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media::before { inset: 14px -8px -10px 14px; }
}

/* Trust strip */
.trust { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--surface); }
.trust-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
.trust-item { display: flex; align-items: center; gap: 12px; padding: 20px 18px; border-left: 1px solid var(--line); }
.trust-item:first-child { border-left: 0; }
.trust-item .ico { width: 28px; height: 28px; color: var(--accent); }
.trust-item strong { display: block; font-family: var(--display); font-size: 1.05rem; line-height: 1.2; }
.trust-item span { font-size: .9rem; color: var(--ink-3); }
@media (max-width: 860px) {
  .trust-row { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-left: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }
}
@media (max-width: 560px) {
  .trust-item { flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px 14px; }
  .trust-item .ico { width: 24px; height: 24px; }
  .trust-item strong { font-size: 1rem; }
  .trust-item span { font-size: .85rem; line-height: 1.4; display: block; }
}

/* Sections */
.section { padding: clamp(56px, 8vw, 104px) 0; }
.section-tint { background: var(--stone); }
.section-head { max-width: 680px; margin-bottom: clamp(28px, 4vw, 48px); }
.section-head p { color: var(--ink-2); font-size: 1.1rem; margin: 0; }
.eyebrow { display: inline-block; font: 700 .8rem/1 var(--body); letter-spacing: .14em; text-transform: uppercase; color: var(--accent); margin-bottom: 14px; }

/* Bento of work types */
.bento { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: minmax(200px, auto); gap: 14px; }
.tile { position: relative; overflow: hidden; border-radius: var(--radius); background: var(--surface); color: var(--ink); text-decoration: none; display: flex; flex-direction: column; justify-content: flex-end; min-height: 220px; }
.tile picture, .tile > img { position: absolute; inset: 0; }
.tile picture img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.tile:hover picture img { transform: scale(1.04); }
.tile-body { position: relative; padding: 20px 22px; }
.tile.has-photo .tile-body { color: #fff; background: linear-gradient(to top, rgb(17 19 20 / .82), rgb(17 19 20 / 0)); padding-top: 64px; }
.tile.has-photo h3 { color: #fff; }
.tile h3 { margin: 0 0 4px; font-size: 1.35rem; }
.tile p { margin: 0; font-size: .97rem; }
.tile.has-photo p { color: rgb(255 255 255 / .88); }
.tile.plain { background: var(--surface); border: 1px solid var(--line); justify-content: space-between; }
.tile.plain .tile-icon { margin: 22px 22px 0; width: 44px; height: 44px; border-radius: var(--radius); background: var(--accent-soft); color: var(--accent); display: grid; place-items: center; }
.tile.plain .tile-icon .ico { width: 24px; height: 24px; }
.tile.accent { background: var(--accent); color: #fff; border: 0; }
.tile.accent h3, .tile.accent p { color: #fff; }
.tile.accent .tile-icon { background: rgb(255 255 255 / .14); color: #fff; }
.t-a { grid-column: span 4; grid-row: span 2; }
.t-b { grid-column: span 2; grid-row: span 2; }
.t-c { grid-column: span 2; }
.t-d { grid-column: span 2; }
.t-e { grid-column: span 2; }
@media (max-width: 900px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .t-a { grid-column: span 2; grid-row: span 1; min-height: 300px; }
  .t-b { grid-column: span 2; grid-row: span 1; min-height: 300px; }
  .t-c, .t-d { grid-column: span 1; }
  .t-e { grid-column: span 2; }
}
@media (max-width: 560px) {
  .bento { grid-template-columns: 1fr; }
  .t-a, .t-b, .t-c, .t-d, .t-e { grid-column: span 1; }
}

/* Process */
.process { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; counter-reset: none; border-top: 2px solid var(--ink); }
.process li { list-style: none; padding: 26px 24px 8px 0; }
.process li + li { padding-left: 24px; border-left: 1px solid var(--line); }
.process .ico { width: 32px; height: 32px; color: var(--accent); margin-bottom: 16px; }
.process h3 { font-size: 1.2rem; }
.process p { color: var(--ink-2); font-size: 1rem; margin: 0; }
.process-wrap { padding: 0; margin: 0; }
@media (max-width: 860px) {
  .process { grid-template-columns: 1fr 1fr; }
  .process li:nth-child(3) { padding-left: 0; border-left: 0; }
}
@media (max-width: 520px) {
  .process { grid-template-columns: 1fr; }
  .process li, .process li + li { padding: 22px 0 6px; border-left: 0; border-top: 1px solid var(--line); }
  .process li:first-child { border-top: 0; }
}

/* Materials teaser */
.materials { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(28px, 5vw, 80px); align-items: start; }
.mat-list { display: grid; gap: 0; }
.mat { display: grid; grid-template-columns: 9rem minmax(0, 1fr) auto; gap: 20px; align-items: center; padding: 22px 0; border-top: 1px solid var(--stone-2); text-decoration: none; color: var(--ink); }
.mat:last-child { border-bottom: 1px solid var(--stone-2); }
.mat h3 { margin: 0; font-size: 1.5rem; }
.mat p { margin: 0; color: var(--ink-2); font-size: 1rem; }
.mat .ico { color: var(--accent); transition: transform .2s; }
.mat:hover .ico { transform: translateX(4px); }
.mat:hover h3 { color: var(--accent); }
@media (max-width: 860px) {
  .materials { grid-template-columns: 1fr; }
  .mat { grid-template-columns: 1fr auto; }
  .mat p { grid-column: 1 / 2; }
  .mat .ico { grid-row: 1 / 3; grid-column: 2; }
}

/* Recent work mosaic */
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: clamp(170px, 17vw, 240px); gap: 12px; }
.work-grid > :first-child { grid-column: span 2; grid-row: span 2; }
.work-3 { grid-template-columns: 2fr 1fr; }
.work-3 > :first-child { grid-column: auto; }
.work-4 > :last-child { grid-column: span 2; }
.w-item { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--stone-2); cursor: zoom-in; color: #fff; text-align: left; isolation: isolate; }
.w-item picture, .w-item img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.w-item img { transition: transform .7s cubic-bezier(.16, 1, .3, 1), filter .4s; }
.w-item::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgb(14 16 17 / .62), rgb(14 16 17 / 0) 46%); opacity: .85; transition: opacity .3s; }
.w-cap { position: absolute; left: 16px; right: 16px; bottom: 14px; z-index: 1; font: 650 .92rem/1.25 var(--body); letter-spacing: .01em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.w-more-go { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; white-space: nowrap; }
.w-item:hover img, .w-item:focus-visible img { transform: scale(1.045); }
.w-item:hover::after { opacity: 1; }
.w-more { cursor: pointer; text-decoration: none; display: grid; place-items: center; }
.w-more img { filter: brightness(.42) saturate(.8); }
.w-more::after { display: none; }
.w-more-txt { position: relative; z-index: 1; text-align: center; font-weight: 600; line-height: 1.35; }
.w-more-txt strong { display: block; font-family: var(--display); font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; line-height: 1; }
.w-more-txt .ico { width: 18px; height: 18px; vertical-align: -3px; transition: transform .2s; }
.w-more:hover .w-more-txt .ico { transform: translateX(3px); }
@media (max-width: 700px) {
  .work-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; gap: 8px; }
  .work-grid > :first-child { grid-column: span 2; grid-row: span 2; }
  .work-4 > :last-child { grid-column: span 2; }
  .w-cap { left: 12px; bottom: 10px; font-size: .84rem; }
}
.strip-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 28px; flex-wrap: wrap; }
.strip-head h2 { margin: 0; }

/* Story */
.story { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(28px, 5vw, 72px); align-items: center; }
.story blockquote { margin: 0; font: 600 clamp(1.35rem, 2.4vw, 1.75rem)/1.35 var(--display); color: var(--ink); }
.story .facts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fact { background: var(--surface); border-radius: var(--radius); padding: 22px; border: 1px solid var(--line); }
.fact strong { display: block; font: 780 2.2rem/1 var(--display); color: var(--accent); margin-bottom: 8px; }
.fact span { color: var(--ink-2); font-size: .97rem; }
.fact.wide { grid-column: span 2; display: flex; align-items: center; gap: 18px; }
.fact.wide img { width: 150px; border-radius: 4px; }
@media (max-width: 860px) { .story { grid-template-columns: 1fr; } }

/* CTA band */
.cta-band { background: var(--surface); border-top: 1px solid var(--line); }
.cta-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 72px); }
.cta-grid h2 { margin-bottom: .3em; }
.cta-grid p { margin: 0; color: var(--ink-2); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: flex-end; }
@media (max-width: 860px) { .cta-grid { grid-template-columns: 1fr; } .cta-actions { justify-content: flex-start; } }

/* Page head */
.page-head { padding: clamp(36px, 6vw, 72px) 0 clamp(24px, 4vw, 40px); }
.page-head h1 { max-width: 20ch; }
.crumbs { font-size: .92rem; color: var(--ink-3); margin-bottom: 14px; }
.crumbs a { color: var(--ink-3); }

/* Prose */
.prose { max-width: 70ch; }
.prose h2 { font-size: 1.6rem; margin-top: 1.6em; }
.prose h3 { margin-top: 1.4em; }
.prose ul { padding-left: 1.2em; }
.prose li { margin-bottom: .35em; }

/* Services */
.svc { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); align-items: center; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.svc:first-of-type { border-top: 0; }
.svc img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: var(--radius); }
.svc.flip .svc-media { order: 2; }
.svc ul { padding: 0; margin: 0 0 1.2em; list-style: none; display: grid; gap: 8px; }
.svc li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.svc li .ico { color: var(--accent); margin-top: 3px; }
.svc-plain { grid-template-columns: 1fr; }
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; padding: clamp(36px, 5vw, 64px) 0; border-top: 1px solid var(--line); }
.svc-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.svc-card .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.svc-card p { color: var(--ink-2); margin: 0 0 12px; }
@media (max-width: 860px) {
  .svc { grid-template-columns: 1fr; }
  .svc.flip .svc-media { order: 0; }
  .svc-grid { grid-template-columns: 1fr; }
}

/* Gallery */
.filters { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.chip { min-height: 44px; padding: 8px 16px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font: 600 .95rem var(--body); cursor: pointer; }
.chip span { color: var(--ink-3); font-weight: 500; margin-left: 4px; }
.chip[aria-pressed="true"] { background: var(--ink); color: #fff; border-color: var(--ink); }
.chip[aria-pressed="true"] span { color: rgb(255 255 255 / .7); }
.grid-gallery { columns: 3 300px; column-gap: 14px; }
.g-item { break-inside: avoid; margin: 0 0 14px; display: block; width: 100%; padding: 0; border: 0; background: var(--stone-2); border-radius: var(--radius); overflow: hidden; cursor: zoom-in; text-align: left; }
.g-item img { width: 100%; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.g-item:hover img { transform: scale(1.03); }
.g-item[hidden] { display: none; }
.g-cap { display: none; padding: 10px 14px; background: var(--surface); font-size: .93rem; color: var(--ink-2); }
.empty { padding: 48px 24px; text-align: center; border: 1px dashed var(--stone-2); border-radius: var(--radius); color: var(--ink-3); }

.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgb(14 16 17 / .94); color: #fff; }
.lightbox[open] { display: grid; grid-template-rows: auto 1fr auto; }
.lightbox::backdrop { background: rgb(14 16 17 / .7); }
.lb-top { display: flex; justify-content: flex-end; padding: 10px; }
.lb-stage { display: grid; grid-template-columns: auto 1fr auto; align-items: center; min-height: 0; }
.lb-stage img { max-width: 100%; max-height: calc(100dvh - 150px); margin: 0 auto; object-fit: contain; border-radius: 4px; }
.lb-btn { width: 52px; height: 52px; margin: 0 8px; display: grid; place-items: center; border-radius: var(--radius); border: 1px solid rgb(255 255 255 / .25); background: rgb(255 255 255 / .06); color: #fff; cursor: pointer; }
.lb-btn:hover { background: rgb(255 255 255 / .16); }
.lb-btn .ico { width: 26px; height: 26px; }
.lb-cap { text-align: center; padding: 14px 20px 22px; color: rgb(255 255 255 / .86); min-height: 3.2em; }
@media (max-width: 640px) { .lb-stage { grid-template-columns: 1fr; } .lb-prev, .lb-next { position: absolute; bottom: 64px; } .lb-prev { left: 12px; } .lb-next { right: 12px; } }

/* Stone guide */
.stone-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 8px; }
.stone { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 64px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.stone h2 { font-size: clamp(2rem, 4vw, 3rem); }
.stone .summary { font-size: 1.2rem; color: var(--ink); font-weight: 500; }
.stone-side { display: grid; gap: 14px; align-content: start; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.panel h3 { font-size: 1.05rem; margin-bottom: 12px; }
.panel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.panel li { display: flex; gap: 10px; color: var(--ink-2); }
.panel li .ico { color: var(--accent); margin-top: 3px; }
.stone-side img { border-radius: var(--radius); aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }
@media (max-width: 860px) { .stone { grid-template-columns: 1fr; } }

/* Forms */
.form-layout { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, .8fr); gap: clamp(24px, 4vw, 56px); align-items: start; }
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: clamp(20px, 4vw, 36px); }
fieldset { border: 0; padding: 0; margin: 0 0 26px; min-width: 0; }
legend { font: 700 1.15rem var(--display); margin-bottom: 14px; padding: 0; }
.row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 6px; margin-bottom: 16px; }
.field label, .label { font-weight: 620; font-size: .98rem; color: var(--ink); }
.req { color: var(--accent); }
.hint { font-size: .9rem; color: var(--ink-3); }
input[type=text], input[type=email], input[type=tel], input[type=date], input[type=password], input[type=number], input[type=url], select, textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; border: 1.5px solid #b5b0a8; border-radius: var(--radius); background: #fff; color: var(--ink);
  font: 400 1rem/1.4 var(--body); }
textarea { min-height: 150px; resize: vertical; }
input:focus, select:focus, textarea:focus { outline: 3px solid rgb(28 95 168 / .35); border-color: var(--focus); }
input::placeholder, textarea::placeholder { color: #75706a; }
.field.has-err input, .field.has-err select, .field.has-err textarea { border-color: var(--err); }
.err { color: var(--err); font-size: .93rem; font-weight: 600; }
.pick { display: flex; flex-wrap: wrap; gap: 8px; }
.pick label { position: relative; }
.pick input { position: absolute; opacity: 0; inset: 0; width: 100%; height: 100%; margin: 0; cursor: pointer; }
.pick span { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border: 1.5px solid #b5b0a8; border-radius: var(--radius); background: #fff; font-weight: 560; font-size: .97rem; }
.pick input:checked + span { border-color: var(--accent); background: var(--accent-soft); color: var(--accent-hover); }
.pick input:focus-visible + span { outline: 3px solid var(--focus); outline-offset: 2px; }
.drop { position: relative; display: grid; place-items: center; gap: 6px; text-align: center; padding: 26px 16px; border: 1.5px dashed #9aa3a7; border-radius: var(--radius); background: var(--bg); color: var(--ink-2); }
.drop.drag { border-color: var(--accent); background: var(--accent-soft); }
.drop input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.drop .ico { width: 30px; height: 30px; color: var(--accent); }
.file-list { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 6px; font-size: .93rem; }
.file-list li { display: flex; gap: 8px; align-items: center; background: var(--bg); padding: 8px 12px; border-radius: var(--radius); }
.file-list .bad { color: var(--err); }
.form-alert { padding: 14px 16px; border-radius: var(--radius); margin-bottom: 20px; font-weight: 560; }
.form-alert.err { background: #fbeceb; color: var(--err); border: 1px solid #efc4c0; }
.form-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; margin-top: 8px; }
.form-foot .hint { margin: 0; }
.btn[disabled] { opacity: .65; cursor: progress; }
.trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.aside-stack { display: grid; gap: 14px; position: sticky; top: 96px; }
.steps { margin: 0; padding: 0; list-style: none; display: grid; gap: 14px; }
.steps li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; color: var(--ink-2); }
.steps .ico { color: var(--accent); width: 24px; height: 24px; }
@media (max-width: 860px) { .form-layout { grid-template-columns: 1fr; } .aside-stack { position: static; } }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; gap: 0; } }

/* Contact */
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.contact-list li { display: grid; grid-template-columns: 28px 1fr; gap: 10px; padding: 10px 0; }
.contact-list .ico { color: var(--accent); width: 24px; height: 24px; margin-top: 2px; }
.contact-list strong { display: block; }

/* Thanks / 404 */
.center-card { max-width: 640px; margin: 0 auto; text-align: center; padding: clamp(48px, 8vw, 96px) 0; }
.center-card .big-ico { width: 64px; height: 64px; margin: 0 auto 20px; color: var(--ok); }

/* Footer */
.site-foot { background: #1c1d1e; color: #cfccc7; padding: 56px 0 28px; font-size: .97rem; }
.site-foot a { color: #fff; text-decoration: none; }
.site-foot a:hover { text-decoration: underline; color: #fff; }
.foot-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr 0.8fr; gap: 28px; }
.foot-logo { background: var(--bg); display: inline-block; padding: 10px 14px; border-radius: var(--radius); margin-bottom: 16px; }
.foot-logo img { height: 40px; width: auto; }
.site-foot h2 { font: 700 .95rem var(--body); color: #fff; margin-bottom: 12px; letter-spacing: 0; }
.site-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.foot-contact li { display: flex; gap: 10px; }
.foot-contact .ico { color: #e4a9ab; margin-top: 3px; }
.foot-base { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; margin-top: 40px; padding-top: 22px; border-top: 1px solid #3a3836; font-size: .88rem; color: #a6a29c; }
.foot-base a { color: #cfccc7; text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 1000px) { .foot-grid { grid-template-columns: 1fr 1fr 1fr; } }
@media (max-width: 680px) { .foot-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot-grid { grid-template-columns: 1fr; } }

/* Mobile call bar */
.callbar { display: none; }
@media (max-width: 640px) {
  .callbar { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; padding: 8px 12px calc(8px + env(safe-area-inset-bottom)); background: #fff; border-top: 1px solid var(--line); }
  .callbar .btn { min-height: 46px; padding: .5em .8em; }
  body { padding-bottom: 72px; }
  html { scroll-padding-bottom: 84px; }
}


/* Services: feature, pair, more */
.svc-feature { padding: clamp(8px, 2vw, 16px) 0 clamp(48px, 7vw, 88px); }
.svc-feature .svc-media img { width: 100%; aspect-ratio: 21 / 9; object-fit: cover; border-radius: var(--radius); }
.svc-feature .svc-copy { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 64px); margin-top: clamp(24px, 3vw, 36px); }
.svc-feature h2 { font-size: clamp(2.1rem, 4vw, 3.2rem); }
.svc-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 4vw, 48px); padding: clamp(40px, 6vw, 72px) 0; border-top: 1px solid var(--line); }
.svc-half .svc-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 22px; }
.svc-feature ul, .svc-half ul { padding: 0; margin: 0 0 1.2em; list-style: none; display: grid; gap: 8px; }
.svc-feature li, .svc-half li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.svc-feature li .ico, .svc-half li .ico { color: var(--accent); margin-top: 3px; }
.svc-more { padding: clamp(40px, 6vw, 72px) 0 clamp(56px, 8vw, 96px); border-top: 1px solid var(--line); }
.svc-more-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(32px, 5vw, 72px); margin-top: 12px; }
.svc-item { padding: 26px 0 28px; border-top: 2px solid var(--ink); }
.svc-item:nth-child(n+3) { border-top-width: 1px; border-top-color: var(--stone-2); }
.svc-item > .ico { width: 30px; height: 30px; color: var(--accent); margin-bottom: 14px; }
.svc-item p { color: var(--ink-2); max-width: 52ch; }
@media (max-width: 860px) {
  .svc-feature .svc-copy, .svc-pair, .svc-more-grid { grid-template-columns: 1fr; }
  .svc-feature .svc-media img { aspect-ratio: 4 / 3; }
  .svc-item:nth-child(2) { border-top-width: 1px; border-top-color: var(--stone-2); }
}

/* Stone guide v1.1 */
.stone:first-child { border-top: 0; }
.stone .panel { background: transparent; border: 0; border-top: 2px solid var(--ink); border-radius: 0; padding: 18px 0 6px; }
.stone .panel + .panel { border-top-width: 1px; border-top-color: var(--stone-2); }
.chip-link { display: inline-flex; align-items: center; text-decoration: none; }

/* ---------- v1.1 visual layer ---------- */
.btn-lg { min-height: 54px; padding: .85em 1.6em; font-size: 1.05rem; }
.btn-on-dark { background: rgb(255 255 255 / .08); color: #fff; border-color: rgb(255 255 255 / .7); }
.btn-on-dark:hover { background: #fff; color: var(--ink); border-color: #fff; }

.hero-photo { position: relative; padding: 0; min-height: min(84vh, 760px); display: flex; align-items: flex-end; color: #fff; background: var(--night); overflow: hidden; }
.hero-bg, .hero-bg picture, .hero-bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-bg img { object-fit: cover; object-position: center 55%; }
.hero-photo::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgb(12 13 14 / .86) 0%, rgb(12 13 14 / .62) 42%, rgb(12 13 14 / .12) 78%),
  linear-gradient(0deg, rgb(12 13 14 / .55) 0%, rgb(12 13 14 / 0) 40%); }
.hero-inner { position: relative; z-index: 1; padding-top: clamp(80px, 12vh, 140px); padding-bottom: clamp(96px, 14vh, 150px); }
.hero-photo h1 { color: #fff; max-width: 25ch; font-size: clamp(2.5rem, 4.6vw, 4.1rem); line-height: 1; text-wrap: balance; }
.hero-photo .lede { color: rgb(255 255 255 / .86); max-width: 46ch; margin-bottom: 1.8em; }
.hero-kicker { display: inline-flex; align-items: center; gap: 10px; font: 700 .82rem/1 var(--body); letter-spacing: .16em; text-transform: uppercase; color: rgb(255 255 255 / .85); margin-bottom: 18px; }
.hero-kicker::before { content: ""; width: 34px; height: 2px; background: var(--accent); }

.trust { position: relative; z-index: 2; background: transparent; border: 0; margin-top: -58px; }
.trust .trust-row { background: var(--surface); border-radius: var(--radius); box-shadow: 0 2px 4px rgb(40 34 28 / .05), 0 18px 40px rgb(40 34 28 / .12); }
.trust-item { padding: 24px 22px; }

.section-head h2 { text-wrap: balance; }
.tile h3 { font-size: 1.55rem; }
.tile.has-photo .tile-body { padding: 80px 26px 24px; }

.page-head.has-banner { position: relative; color: #fff; background: var(--night); padding: clamp(72px, 12vw, 150px) 0 clamp(40px, 6vw, 72px); margin-bottom: clamp(36px, 5vw, 64px); overflow: hidden; }
.page-banner, .page-banner picture, .page-banner img { position: absolute; inset: 0; width: 100%; height: 100%; }
.page-banner img { object-fit: cover; object-position: center 60%; }
.page-head.has-banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgb(12 13 14 / .82), rgb(12 13 14 / .35)); }
.page-head.has-banner .wrap { position: relative; z-index: 1; }
.page-head.has-banner h1 { color: #fff; }
.page-head.has-banner .lede { color: rgb(255 255 255 / .86); }
.page-head.has-banner .crumbs, .page-head.has-banner .crumbs a { color: rgb(255 255 255 / .75); }
.page-head.has-banner .chip { background: rgb(255 255 255 / .1); color: #fff; border-color: rgb(255 255 255 / .45); }
.page-head.has-banner .chip:hover { background: #fff; color: var(--ink); }

@media (min-width: 861px) { .story { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.story-media { position: relative; }
.story-media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.badge-card { position: absolute; right: -18px; bottom: -28px; width: min(230px, 46%); background: #fff; border-radius: var(--radius); padding: 10px; box-shadow: 0 18px 40px rgb(40 34 28 / .16); }
.badge-card img { aspect-ratio: auto; border-radius: 3px; }
.badge-card picture { display: block; }
.story .facts { margin: 22px 0 24px; }
.fact strong { font-stretch: 85%; }
@media (max-width: 860px) {
  .badge-card { right: 12px; bottom: -22px; }
  .story-media { margin-bottom: 30px; }
  .hero-photo { min-height: 0; }
  .hero-photo::after { background: linear-gradient(0deg, rgb(12 13 14 / .9) 0%, rgb(12 13 14 / .55) 60%, rgb(12 13 14 / .35) 100%); }
  .trust { margin-top: -40px; }
}
@media (max-width: 560px) { .hero-actions .btn { width: 100%; } }

/* Reveal on scroll: only when motion is welcome and JS is running. */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1); transition-delay: var(--d, 0ms); }
  .js .reveal.in { opacity: 1; transform: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}

@media print {
  .site-head, .site-foot, .callbar, .cta-band { display: none; }
  body { background: #fff; }
}

.foot-areas { margin: 28px 0 0; font-size: .9rem; color: #a6a29c; max-width: 90ch; }
.foot-areas a { color: #cfccc7; text-decoration: underline; }

/* Landing pages and FAQ */
.land-intro { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: clamp(28px, 5vw, 72px); align-items: start; }
.land-side { border-top: 2px solid var(--ink); padding-top: 18px; position: sticky; top: 100px; }
.land-side h3 { font-size: 1.15rem; }
.ticks, .area-list { list-style: none; padding: 0; margin: 0 0 18px; display: grid; gap: 10px; }
.ticks li, .area-list li { display: flex; gap: 10px; align-items: flex-start; color: var(--ink-2); }
.ticks .ico, .area-list .ico { color: var(--accent); margin-top: 3px; }
.area-list { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 18px 0 22px; }
.faq-wrap h2 { margin-bottom: 26px; }
.faq { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 clamp(28px, 5vw, 64px); }
.faq-item { padding: 22px 0; border-top: 1px solid var(--stone-2); }
.faq dt { font: 700 1.15rem/1.3 var(--display); font-stretch: 92%; color: var(--ink); margin-bottom: 8px; }
.faq dd { margin: 0; color: var(--ink-2); max-width: 60ch; }
@media (max-width: 860px) {
  .land-intro, .faq { grid-template-columns: 1fr; }
  .land-side { position: static; }
  .area-list { grid-template-columns: 1fr 1fr; }
}

/* Reviews: Google rating band plus any reviews the owner entered */
.review-wall { columns: 3 300px; column-gap: 18px; }
.review { break-inside: avoid; margin: 0 0 18px; padding: 22px 22px 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; }
.review .stars { color: #b8860b; letter-spacing: 2px; font-size: 1.05rem; line-height: 1; }
.review .stars .off { color: var(--stone-2); }
.review blockquote { margin: 12px 0 14px; }
.review blockquote p { margin: 0; color: var(--ink-2); }
.review figcaption { display: grid; gap: 2px; font-size: .95rem; }
.review figcaption span { font-size: .84rem; color: var(--ink-3); }

/* Keep exploring */
.related { border-top: 1px solid var(--line); }
.related h2 { margin-bottom: 26px; }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 40px); }
.related-grid h3 { font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-3); margin: 0 0 8px; }
.related-grid ul { list-style: none; margin: 0; padding: 0; }
.related-grid a { display: grid; grid-template-columns: 1fr auto; gap: 2px 12px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--line); color: var(--ink); text-decoration: none; }
.related-grid a span { font-weight: 650; }
.related-grid a small { grid-column: 1; color: var(--ink-3); font-size: .9rem; }
.related-grid a .ico { grid-row: 1 / span 2; grid-column: 2; color: var(--accent); transition: transform .2s; }
.related-grid a:hover span { color: var(--accent); }
.related-grid a:hover .ico { transform: translateX(3px); }
@media (max-width: 860px) { .related-grid { grid-template-columns: 1fr; } }

/* Edge profiles */
.edge-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 22px 0 8px; }
.edge-card { margin: 0; padding: 14px; border: 1px solid var(--line); border-radius: 10px; background: var(--surface); }
.edge-card svg { width: 100%; height: auto; aspect-ratio: 74 / 62; display: block; background: var(--stone); border-radius: 6px; margin-bottom: 12px; }
.edge-stone { fill: #9aa0a4; stroke: var(--ink); stroke-width: 1.4; stroke-linejoin: round; }
.edge-joint { stroke: #fff; stroke-width: 1.6; fill: none; }
.edge-card figcaption { display: grid; gap: 4px; }
.edge-card figcaption span { font-size: .92rem; color: var(--ink-2); line-height: 1.5; }

/* Home: materials cards and service-area band */
.mat-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.mat-card { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 340px; padding: 22px; border-radius: 10px; overflow: hidden; color: #fff; text-decoration: none; background: var(--night); isolation: isolate; }
.mat-card picture, .mat-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .7s cubic-bezier(.16, 1, .3, 1); }
.mat-card::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgb(12 13 14 / .86) 0%, rgb(12 13 14 / .25) 60%, rgb(12 13 14 / .05) 100%); }
.mat-card:hover img { transform: scale(1.04); }
.mat-card h3 { color: #fff; margin: 0 0 6px; font-size: 1.5rem; }
.mat-card p { margin: 0 0 12px; color: rgb(255 255 255 / .86); max-width: 34ch; }
.mat-card .link-arrow { color: #fff; }
.mat-card.no-photo { background: linear-gradient(160deg, #3a3f43, #1d2124); }
@media (max-width: 860px) { .mat-cards { grid-template-columns: 1fr; } .mat-card { min-height: 240px; } }
.area-band { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); gap: clamp(24px, 5vw, 64px); align-items: start; }
.town-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.town-chips li a, .town-chips li span { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; background: var(--surface); color: var(--ink); text-decoration: none; font-weight: 560; font-size: .95rem; }
.town-chips li a:hover { border-color: var(--ink); }
.town-chips .ico { width: 16px; height: 16px; color: var(--accent); }
@media (max-width: 860px) { .area-band { grid-template-columns: 1fr; } }

/* Google rating */
.stars { color: #b8860b; letter-spacing: 2px; line-height: 1; white-space: nowrap; }
.stars .off { color: var(--stone-2); }
.rating-chip { display: inline-flex; align-items: center; gap: 10px; margin: 18px 0 0; padding: 8px 14px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); color: var(--ink); text-decoration: none; font-size: .95rem; }
a.rating-chip:hover { border-color: var(--ink); }
.page-head.has-banner .rating-chip { background: rgb(255 255 255 / .1); border-color: rgb(255 255 255 / .35); color: #fff; }
.page-head.has-banner a.rating-chip:hover { background: rgb(255 255 255 / .18); border-color: #fff; }
.page-head.has-banner .rating-chip .stars .off { color: rgb(255 255 255 / .35); }
.trust-google { color: var(--ink); text-decoration: none; }
a.trust-google:hover strong .stars { filter: brightness(1.1); }
.trust-item .trust-num { display: block; font-family: var(--display); font-size: 2.1rem; font-weight: 800; line-height: 1; color: var(--ink); letter-spacing: -.02em; }
.trust-item .stars, .trust-item .stars span { display: inline; font-size: 1.1rem; line-height: 1; color: #b8860b; letter-spacing: 1px; }
.trust-item .stars .off { color: var(--stone-2); }
.trust-google strong { margin-bottom: 4px; }
@media (max-width: 560px) { .trust-google { flex-direction: row; align-items: center; } .trust-item .trust-num { font-size: 1.8rem; } .trust-item .stars, .trust-item .stars span { font-size: .95rem; } }
.rating-band { display: grid; grid-template-columns: auto 1fr auto; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(24px, 4vw, 40px); background: var(--surface); border: 1px solid var(--line); border-radius: 12px; }
.rating-band + .review-wall { margin-top: 24px; }
.rating-score { display: flex; align-items: center; gap: 16px; padding-right: clamp(20px, 4vw, 48px); border-right: 1px solid var(--line); }
.rating-num { font-family: var(--display); font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 800; line-height: .9; letter-spacing: -.03em; }
.rating-score .stars { display: block; font-size: 1.3rem; margin-bottom: 6px; }
.rating-count { font-size: .95rem; color: var(--ink-3); }
.rating-copy h2 { margin: 0 0 6px; }
.rating-copy p { margin: 0; color: var(--ink-2); max-width: 52ch; }
.rating-actions { display: flex; flex-direction: column; gap: 10px; }
@media (max-width: 900px) {
  .rating-band { grid-template-columns: 1fr; }
  .rating-score { border-right: 0; padding-right: 0; }
  .rating-actions { flex-direction: row; flex-wrap: wrap; }
}
@media (max-width: 560px) { .rating-actions .btn { width: 100%; } }

/* Motion. Everything here runs only when the visitor has not asked for reduced motion. */
.site-head { transition: box-shadow .25s; }
.site-head.scrolled { box-shadow: 0 6px 24px rgb(40 34 28 / .08); }
@media (prefers-reduced-motion: no-preference) {
  .hero-bg img, .page-banner img { animation: hero-settle 2.6s cubic-bezier(.16, 1, .3, 1) both; transform-origin: 60% 55%; }
  .hero-inner > *, .page-head.has-banner .wrap > * { animation: rise-in .8s cubic-bezier(.16, 1, .3, 1) both; }
  .hero-inner > :nth-child(2), .page-head.has-banner .wrap > :nth-child(2) { animation-delay: .08s; }
  .hero-inner > :nth-child(3), .page-head.has-banner .wrap > :nth-child(3) { animation-delay: .16s; }
  .hero-inner > :nth-child(4), .page-head.has-banner .wrap > :nth-child(4) { animation-delay: .24s; }
  .hero-inner > :nth-child(5), .page-head.has-banner .wrap > :nth-child(5) { animation-delay: .32s; }
  .hero-bg { will-change: transform; }
  .tile, .mat-card { transition: transform .45s cubic-bezier(.16, 1, .3, 1), box-shadow .45s cubic-bezier(.16, 1, .3, 1); }
  .tile:hover, .mat-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgb(40 34 28 / .18); }
  .related-grid a .ico { transition: transform .2s; }
  .related-grid a:hover .ico { transform: translateX(3px); }
  .town-chips li a { transition: border-color .2s, transform .2s; }
  .town-chips li a:hover { transform: translateY(-2px); }
}
@keyframes hero-settle { from { transform: scale(1.08); } to { transform: scale(1); } }
@keyframes rise-in { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

/* Project case studies */
.proj-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; }
.proj-card { display: flex; flex-direction: column; text-decoration: none; color: var(--ink); }
.proj-img { display: block; aspect-ratio: 4 / 3; border-radius: 10px; overflow: hidden; background: #e9e6e1; }
.proj-img picture, .proj-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.16, 1, .3, 1); }
.proj-card:hover .proj-img img { transform: scale(1.035); }
.proj-body { display: flex; flex-direction: column; gap: 4px; padding: 14px 2px 0; }
.proj-facts { font-size: .86rem; color: var(--ink-2); letter-spacing: .02em; }
.proj-title { font: 700 1.25rem/1.2 var(--display); font-stretch: 88%; letter-spacing: -.01em; text-wrap: balance; }
.proj-card .link-arrow { margin-top: 6px; color: var(--accent); font-size: .95rem; }
.proj-card:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; border-radius: 10px; }
.proj-dl { display: grid; grid-template-columns: auto 1fr; gap: 8px 16px; margin: 0 0 20px; }
.proj-dl dt { color: var(--ink-2); font-size: .9rem; }
.proj-dl dd { margin: 0; font-weight: 600; }
@media (max-width: 1000px) { .proj-cards { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) { .proj-cards { grid-template-columns: 1fr; } }
.page-head + .proj-section { padding-top: 0; }
