/* LB Handyman. Palette kept from the first site: near-black, warm white and orange. */
@font-face { font-family: 'Roboto Slab'; font-weight: 600; font-display: swap; src: url(/fonts/roboto-slab-latin-600-normal.woff2) format('woff2'); }
@font-face { font-family: 'Roboto Slab'; font-weight: 700; font-display: swap; src: url(/fonts/roboto-slab-latin-700-normal.woff2) format('woff2'); }
@font-face { font-family: 'Inter'; font-weight: 100 900; font-display: swap; src: url(/fonts/inter-latin-wght-normal.woff2) format('woff2'); }

:root {
  --ink: #1f140a;
  --charcoal: #2a1c10;
  --brown: #7a4a14;
  --cream: #fff6eb;
  --cream-2: #fdeedb;
  --white: #fff;
  --orange: #ff8f1f;
  --orange-deep: #e67a0a;
  --orange-soft: #ffbe76;
  --muted: #6b5845;
  --line: #efcfad;
  --line-soft: #f6e2cb;

  --display: 'Roboto Slab', Rockwell, 'Lubalin Graph Std', Georgia, serif;
  --body: 'Inter', -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif;

  --wrap: min(1200px, calc(100% - 2.5rem));
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 1px 2px rgba(70, 37, 7, .06), 0 10px 30px -12px rgba(70, 37, 7, .22);
  --shadow-lg: 0 2px 4px rgba(70, 37, 7, .06), 0 28px 60px -24px rgba(70, 37, 7, .4);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 1.0625rem/1.65 var(--body); color: var(--ink); background: var(--cream); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-underline-offset: .18em; text-decoration-thickness: 1.5px; }
h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .6em; text-wrap: balance; }
h1 { font-size: clamp(2.1rem, 1.4rem + 3vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 1.25rem + 1.8vw, 2.6rem); }
h3, .h3 { font-size: clamp(1.25rem, 1.1rem + .6vw, 1.5rem); }
.h4 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
.lede { font-size: clamp(1.08rem, 1rem + .35vw, 1.25rem); color: var(--muted); line-height: 1.6; text-wrap: pretty; }
.muted { color: var(--muted); }
.small { font-size: .92rem; }
.center { text-align: center; }
.sr, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -100px; z-index: 100; background: var(--white); padding: .7rem 1rem; border-radius: var(--radius-sm); box-shadow: var(--shadow); }
.skip:focus { top: 1rem; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 4px; }
.icon { flex: none; }

.wrap { width: var(--wrap); margin-inline: auto; }
.narrow { max-width: 760px; }
.wrap.narrow { width: min(760px, calc(100% - 2.5rem)); }
.section { padding-block: clamp(3.5rem, 2.5rem + 4vw, 6.5rem); }
.tint { background: linear-gradient(180deg, var(--cream-2), var(--cream)); }
.dark { background: var(--ink); color: var(--cream); }
.dark .lede, .dark .muted { color: #d9c3a8; }
.kicker { font: 600 .8rem/1.2 var(--body); text-transform: uppercase; letter-spacing: .16em; color: var(--brown); margin: 0 0 .9rem; display: inline-flex; align-items: center; gap: .6rem; }
.kicker::before { content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.dark .kicker { color: var(--orange-soft); }
.section-head { max-width: 720px; margin-bottom: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker::after { content: ''; width: 26px; height: 2px; background: var(--orange); border-radius: 2px; }
.section-head .lede { margin: 0; }
.section-split { display: flex; justify-content: space-between; align-items: end; gap: 1rem 2rem; flex-wrap: wrap; }
.section-split .section-head { margin-bottom: clamp(1.8rem, 1.2rem + 2vw, 3rem); }
.section-split .text-link { margin-bottom: clamp(1.8rem, 1.2rem + 2vw, 3rem); }

/* ---------- Buttons and links ---------- */
.btn { --bg: var(--ink); --fg: var(--cream); position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .55rem; min-height: 48px; padding: .8rem 1.35rem; border: 2px solid var(--bg); border-radius: 999px; background: var(--bg); color: var(--fg); font: 600 1rem/1.1 var(--body); text-decoration: none; cursor: pointer; overflow: hidden; isolation: isolate; transition: transform .25s var(--ease), box-shadow .25s var(--ease), background-color .2s, color .2s, border-color .2s; }
.btn::after { content: ''; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .35) 50%, transparent 70%); transform: translateX(-120%); transition: transform .7s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -10px rgba(31, 20, 10, .5); }
.btn:hover::after { transform: translateX(120%); }
.btn:active { transform: translateY(0); }
.btn .icon { transition: transform .25s var(--ease); }
.btn:hover .icon:last-child:not(:first-child) { transform: translateX(3px); }
.btn-primary { --bg: var(--orange); --fg: var(--ink); }
.btn-primary:hover { --bg: #ff9d3a; }
.btn-dark { --bg: var(--ink); --fg: var(--cream); }
.btn-ghost { --bg: transparent; --fg: var(--ink); border-color: var(--ink); }
.btn-ghost:hover { --bg: var(--ink); --fg: var(--cream); }
.btn-ghost-light { --bg: rgba(255, 255, 255, .06); --fg: var(--white); border-color: rgba(255, 255, 255, .55); backdrop-filter: blur(6px); }
.btn-ghost-light:hover { --bg: var(--white); --fg: var(--ink); border-color: var(--white); }
.btn-sm { min-height: 42px; padding: .55rem 1.05rem; font-size: .95rem; }
.btn-lg { min-height: 56px; padding: 1rem 1.7rem; font-size: 1.05rem; }
.btn-block { width: 100%; }
.text-link { display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; color: var(--brown); text-decoration: none; background: linear-gradient(currentColor, currentColor) 0 100% / 0 2px no-repeat; transition: background-size .3s var(--ease); padding-bottom: 2px; }
.text-link:hover { background-size: 100% 2px; }
.dark .text-link { color: var(--orange-soft); }
.row-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.row-actions.center { justify-content: center; }
.chip { display: inline-flex; align-items: center; gap: .4rem; padding: .5rem .95rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--white); color: var(--ink); font: 500 .95rem/1.2 var(--body); text-decoration: none; cursor: pointer; transition: border-color .2s, background-color .2s, transform .2s var(--ease), color .2s; }
.chip:hover { border-color: var(--orange); transform: translateY(-1px); }
.chip .icon { color: var(--orange-deep); }
.chip.is-on { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.chip.plain { cursor: default; }
.chip.plain:hover { transform: none; border-color: var(--line); }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 246, 235, .9); backdrop-filter: saturate(1.4) blur(14px); -webkit-backdrop-filter: saturate(1.4) blur(14px); border-bottom: 1px solid transparent; transition: background-color .35s, border-color .35s, box-shadow .35s, color .35s; }
.site-header.scrolled { border-color: var(--line-soft); box-shadow: 0 8px 24px -18px rgba(70, 37, 7, .45); }
.header-row { display: flex; align-items: center; gap: 1.5rem; height: var(--header-h); transition: height .35s var(--ease); }
.scrolled .header-row { height: 64px; }
.brand { display: block; flex: none; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.scrolled .brand img { height: 40px; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: .2rem; list-style: none; margin: 0; padding: 0; }
.main-nav li { position: relative; }
.main-nav > ul > li > a { position: relative; display: block; padding: .6rem .8rem; font-weight: 500; font-size: .98rem; text-decoration: none; border-radius: 8px; }
.main-nav > ul > li > a::after { content: ''; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: var(--orange); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.main-nav > ul > li > a:hover::after, .main-nav a[aria-current="page"]::after { transform: scaleX(1); }
.menu { position: absolute; top: calc(100% + 8px); left: -.5rem; width: 330px; padding: .5rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow-lg); color: var(--ink); opacity: 0; visibility: hidden; transform: translateY(8px); transition: opacity .2s, transform .25s var(--ease), visibility .2s; }
.menu::before { content: ''; position: absolute; top: -12px; left: 0; right: 0; height: 12px; }
.has-menu:hover .menu, .has-menu:focus-within .menu { opacity: 1; visibility: visible; transform: none; }
.menu a { display: block; padding: .65rem .8rem; border-radius: 10px; text-decoration: none; transition: background-color .2s; }
.menu a:hover { background: var(--cream); }
.menu strong { display: block; font-weight: 600; }
.menu span { display: block; font-size: .87rem; color: var(--muted); }
.header-cta { display: flex; align-items: center; gap: .75rem; }
.header-phone { display: inline-flex; align-items: center; gap: .45rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.header-phone .icon { color: var(--orange-deep); }
.menu-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--ink); color: var(--cream); cursor: pointer; }
.burger { display: grid; gap: 5px; width: 20px; margin: auto; }
.burger i { display: block; height: 2px; background: currentColor; border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.menu-open .burger i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-open .burger i:nth-child(2) { opacity: 0; }
.menu-open .burger i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.mobile-menu { position: fixed; inset: var(--header-h) 0 0; z-index: 49; display: flex; flex-direction: column; justify-content: space-between; padding: 1.5rem 1.25rem calc(1.5rem + env(safe-area-inset-bottom)); background: var(--cream); overflow-y: auto; }
.mobile-menu[hidden] { display: none; }
.mobile-menu nav { display: grid; }
.mobile-menu nav a { padding: .85rem .25rem; font: 700 1.45rem/1.2 var(--display); text-decoration: none; border-bottom: 1px solid var(--line-soft); opacity: 0; transform: translateX(-14px); animation: slide-in .45s var(--ease) forwards; }
.mobile-menu nav a:nth-child(2) { animation-delay: .04s; } .mobile-menu nav a:nth-child(3) { animation-delay: .08s; } .mobile-menu nav a:nth-child(4) { animation-delay: .12s; }
.mobile-menu nav a:nth-child(5) { animation-delay: .16s; } .mobile-menu nav a:nth-child(6) { animation-delay: .2s; } .mobile-menu nav a:nth-child(7) { animation-delay: .24s; }
.mobile-menu nav a[aria-current="page"] { color: var(--orange-deep); }
.mobile-menu-foot { display: grid; gap: .6rem; margin-top: 2rem; }
@keyframes slide-in { to { opacity: 1; transform: none; } }
body.menu-open { overflow: hidden; }

/* Home: header sits over the hero until you scroll. */
.is-home .site-header:not(.scrolled):not(.menu-open-header) { background: transparent; backdrop-filter: none; -webkit-backdrop-filter: none; color: var(--white); }
.is-home .site-header:not(.scrolled):not(.menu-open-header) .header-phone .icon { color: var(--orange); }
.is-home .site-header:not(.scrolled):not(.menu-open-header) .menu-toggle { background: rgba(255, 255, 255, .14); }
.is-home .site-header { position: fixed; left: 0; right: 0; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(92svh, 900px); display: flex; align-items: center; padding: calc(var(--header-h) + 3rem) 0 5rem; color: var(--white); overflow: hidden; background: var(--ink); }
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 62% center; transform-origin: 70% 40%; animation: kenburns 22s ease-out forwards; }
.hero-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(20, 12, 5, .92) 0%, rgba(20, 12, 5, .78) 38%, rgba(20, 12, 5, .25) 72%, rgba(20, 12, 5, .1) 100%), linear-gradient(0deg, rgba(20, 12, 5, .6), transparent 40%); }
@keyframes kenburns { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero-inner { position: relative; }
.hero-inner > * { max-width: 640px; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; padding: .45rem .95rem; margin-bottom: 1.4rem; border: 1px solid rgba(255, 190, 118, .45); border-radius: 999px; background: rgba(255, 143, 31, .1); color: var(--orange-soft); font: 600 .82rem/1 var(--body); letter-spacing: .1em; text-transform: uppercase; }
.hero-title { font-size: clamp(2.5rem, 1.5rem + 4.6vw, 4.8rem); line-height: 1.04; margin-bottom: 1.4rem; max-width: 760px; }
.hero-title .word { display: inline-block; }
.hero-title .hl { position: relative; color: var(--orange); }
.hero-title .hl::after { content: ''; position: absolute; left: 0; right: .1em; bottom: .02em; height: .12em; background: var(--orange); border-radius: 4px; opacity: .35; transform-origin: left; }
.hero-text { font-size: clamp(1.1rem, 1rem + .4vw, 1.3rem); color: #f1e2cf; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin: 2rem 0 1.25rem; }
.hero-call { color: #d9c3a8; font-size: .98rem; }
.hero-call a { color: var(--white); font-weight: 600; }
.scroll-cue { position: absolute; left: 50%; bottom: 1.4rem; translate: -50% 0; display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .3); border-radius: 50%; color: var(--white); animation: bob 2.4s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }

/* ---------- Trust strip ---------- */
.trust { position: relative; z-index: 2; margin-top: -2.5rem; }
.trust-grid { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: hidden; }
.trust-item { display: flex; align-items: center; gap: .9rem; padding: 1.4rem 1.6rem; font-weight: 600; line-height: 1.35; }
.trust-item + .trust-item { border-left: 1px solid var(--line-soft); }
.trust-icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 12px; background: var(--cream); color: var(--orange-deep); }

/* ---------- Services ---------- */
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
.services-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.services-grid.n3 { grid-template-columns: repeat(3, 1fr); }
.service-card { display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); overflow: hidden; text-decoration: none; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .3s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--line); }
.service-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-2); }
.service-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.service-card:hover .service-media img { transform: scale(1.06); }
.service-icon { position: absolute; left: 1rem; bottom: -22px; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--orange); color: var(--ink); box-shadow: 0 8px 18px -8px rgba(230, 122, 10, .8); transition: transform .4s var(--ease); }
.service-card:hover .service-icon { transform: rotate(-8deg) scale(1.05); }
.service-media .service-icon { bottom: 1rem; }
.service-icon.static { position: static; margin-bottom: 1rem; }
.service-body { display: flex; flex-direction: column; flex: 1; padding: 1.35rem 1.35rem 1.4rem; }
.service-body h3 { margin-bottom: .45rem; font-size: 1.2rem; }
.service-body p { color: var(--muted); font-size: .97rem; }
.more { display: inline-flex; align-items: center; gap: .4rem; margin-top: auto; padding-top: .5rem; font-weight: 600; color: var(--brown); }
.more .icon { transition: transform .3s var(--ease); }
a:hover > * > .more .icon, a:hover > .more .icon { transform: translateX(4px); }
.ticks { list-style: none; margin: 0 0 1.25rem; padding: 0; display: grid; gap: .55rem; }
.ticks li { display: flex; gap: .6rem; align-items: flex-start; }
.ticks .icon { margin-top: .22em; padding: 2px; border-radius: 50%; background: rgba(255, 143, 31, .18); color: var(--orange-deep); }
.ticks.small { gap: .3rem; font-size: .9rem; color: var(--charcoal); margin-bottom: .75rem; }
.ticks.small .icon { margin-top: .25em; }

.services-list { display: grid; gap: clamp(3rem, 2rem + 4vw, 6rem); }
.service-row { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: center; }
.service-row.flip .service-row-media { order: 2; }
.service-row-media { display: block; border-radius: calc(var(--radius) + 6px); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--shadow-lg); }
.service-row-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.service-row-media:hover img { transform: scale(1.04); }
.service-row h2 a { text-decoration: none; }
.service-row h2 a:hover { color: var(--brown); }

/* ---------- Steps ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; counter-reset: s; position: relative; }
.steps::before { content: ''; position: absolute; top: 34px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--line) 0 8px, transparent 8px 16px); }
.step { position: relative; text-align: center; padding: 0 1rem; }
.step-num { position: relative; display: grid; place-items: center; width: 68px; height: 68px; margin: 0 auto 1.2rem; border-radius: 50%; background: var(--ink); color: var(--orange); font: 700 1.6rem/1 var(--display); box-shadow: 0 0 0 8px var(--cream); transition: transform .4s var(--ease); }
.step:hover .step-num { transform: scale(1.08) rotate(-4deg); }
.step h3 { font-size: 1.2rem; }
.step p { color: var(--muted); max-width: 300px; margin-inline: auto; }

/* ---------- Projects ---------- */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.project-card { display: flex; flex-direction: column; text-decoration: none; border-radius: var(--radius); overflow: hidden; background: var(--white); color: var(--ink); box-shadow: var(--shadow); transition: transform .45s var(--ease), box-shadow .45s var(--ease), opacity .35s; }
.dark .project-card { background: var(--charcoal); color: var(--cream); box-shadow: none; border: 1px solid rgba(255, 190, 118, .12); }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.project-media { position: relative; aspect-ratio: 4 / 5; overflow: hidden; background: #3a2817; }
.projects-grid.compact .project-media { aspect-ratio: 4 / 3; }
.project-media img, .project-media video { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.project-card:hover .project-media img, .project-card:hover .project-media video { transform: scale(1.06); }
.project-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(20, 12, 5, .35), transparent 45%); opacity: 0; transition: opacity .4s; }
.project-card:hover .project-media::after { opacity: 1; }
.project-badges { position: absolute; top: .8rem; left: .8rem; display: flex; gap: .4rem; z-index: 1; }
.project-badges span { display: inline-flex; align-items: center; gap: .3rem; padding: .3rem .6rem; border-radius: 999px; background: rgba(20, 12, 5, .7); backdrop-filter: blur(6px); color: var(--white); font: 600 .78rem/1 var(--body); }
.project-body { padding: 1.2rem 1.3rem 1.4rem; }
.project-body .kicker { font-size: .72rem; margin-bottom: .55rem; }
.project-body h3 { font-size: 1.18rem; margin-bottom: .4rem; }
.project-body p { margin: 0; color: var(--muted); font-size: .95rem; }
.dark .project-body p { color: #cdb69a; }
.project-card.is-hidden { display: none; }
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.5rem; }

/* ---------- About teaser ---------- */
.about-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 1rem + 5vw, 5rem); align-items: center; }
.about-visual img { border-radius: calc(var(--radius) + 6px); box-shadow: var(--shadow-lg); }
.about-badge { position: relative; display: grid; place-items: center; gap: 1.2rem; aspect-ratio: 1; padding: 2rem; border-radius: 28px; background: radial-gradient(circle at 30% 20%, #3b2815, var(--ink) 70%); color: var(--orange-soft); text-align: center; font: 600 .95rem/1.4 var(--body); letter-spacing: .04em; overflow: hidden; box-shadow: var(--shadow-lg); }
.about-badge::before { content: ''; position: absolute; inset: 14px; border: 1px dashed rgba(255, 190, 118, .3); border-radius: 20px; }
.about-badge img { width: min(200px, 55%); height: auto; animation: float 6s ease-in-out infinite; }
@keyframes float { 50% { transform: translateY(-8px); } }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.reviews-grid.n1 { grid-template-columns: minmax(0, 780px); justify-content: center; }
.reviews-grid.n2 { grid-template-columns: repeat(2, 1fr); }
.review { position: relative; margin: 0; padding: 2rem 1.8rem 1.6rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.review-mark { position: absolute; top: 1.4rem; right: 1.5rem; color: var(--orange); opacity: .35; }
.stars { display: inline-flex; gap: 2px; margin-bottom: .9rem; }
.stars .on { color: var(--orange); } .stars .off { color: var(--line); }
.review blockquote { margin: 0 0 1.1rem; font-size: 1.05rem; line-height: 1.7; }
.review blockquote p { margin: 0; }
.review blockquote.clamp p { display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption strong { display: block; font-family: var(--display); }
.review figcaption span { color: var(--muted); font-size: .92rem; }
.review .text-link { margin-top: .75rem; }

/* ---------- Areas ---------- */
.area-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-bottom: 1.25rem; }
.area-chips.left { justify-content: flex-start; margin: 0; }
.area-chips .chip { padding: .7rem 1.2rem; font-size: 1.02rem; }
.areas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.area-card { display: flex; flex-direction: column; padding: 1.8rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); text-decoration: none; box-shadow: var(--shadow); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.area-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.area-pin { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 1.1rem; border-radius: 16px; background: var(--ink); color: var(--orange); }
.area-card h2 { font-size: 1.45rem; margin-bottom: .5rem; }
.area-card p { color: var(--muted); }
.towns { font-size: .9rem; }
.town-list { list-style: none; padding: 0; margin: 0 0 1rem; display: flex; flex-wrap: wrap; gap: .4rem .9rem; }
.town-list li { display: inline-flex; align-items: center; gap: .3rem; font-size: .95rem; }
.town-list .icon { color: var(--orange-deep); }
.plain-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }

/* ---------- Page head and breadcrumbs ---------- */
.page-head { position: relative; padding: clamp(1.4rem, 1rem + 1.5vw, 2.2rem) 0 clamp(2.5rem, 2rem + 2.5vw, 4rem); background: linear-gradient(180deg, var(--cream-2) 0%, var(--cream) 100%); border-bottom: 1px solid var(--line-soft); overflow: hidden; }
.page-head::after { content: ''; position: absolute; right: -80px; top: -60px; width: 340px; height: 340px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 143, 31, .16), transparent 70%); pointer-events: none; }
.page-head h1 { margin-bottom: .4em; max-width: 860px; }
.page-head .lede { max-width: 700px; margin: 0; }
.page-head .meta { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: 1.4rem; }
.crumbs { margin-bottom: clamp(1.4rem, 1rem + 1.5vw, 2.4rem); }
.crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; font-size: .9rem; color: var(--muted); }
.crumbs li { display: inline-flex; align-items: center; gap: .25rem; }
.crumbs li + li::before { content: ''; width: 6px; height: 6px; margin: 0 .5rem; border-right: 1.5px solid currentColor; border-top: 1.5px solid currentColor; transform: rotate(45deg); opacity: .55; }
.crumbs a { display: inline-flex; align-items: center; gap: .35rem; padding: .2rem .45rem; margin: 0 -.2rem; border-radius: 6px; text-decoration: none; transition: background-color .2s, color .2s; }
.crumbs a:hover { background: var(--white); color: var(--ink); }
.crumbs [aria-current] { color: var(--ink); font-weight: 600; padding: .2rem .25rem; }

/* ---------- Detail pages ---------- */
.detail-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.detail-hero { margin: 0 0 2rem; border-radius: calc(var(--radius) + 4px); overflow: hidden; aspect-ratio: 16 / 9; box-shadow: var(--shadow-lg); }
.detail-hero img { width: 100%; height: 100%; object-fit: cover; }
.detail-side { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.1rem; }
.side-card { padding: 1.5rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius); box-shadow: var(--shadow); }
.side-card.accent { background: var(--ink); color: var(--cream); border-color: var(--ink); }
.side-card.accent p { color: #d9c3a8; }
.side-card .btn + .btn { margin-top: .6rem; }
.side-card.accent .btn-ghost { --fg: var(--cream); border-color: rgba(255, 255, 255, .35); }
.side-card.accent .btn-ghost:hover { --bg: var(--cream); --fg: var(--ink); }
.prose { font-size: 1.08rem; }
.prose p { text-wrap: pretty; }
.prose h2 { font-size: 1.5rem; margin-top: 2rem; }
.prose.narrow { margin-inline: auto; }
.work-detail { display: grid; gap: 2.5rem; }
.work-video { margin: 0 auto; max-width: 560px; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-lg); background: var(--ink); }
.work-video video { width: 100%; }
.about-page { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: clamp(2rem, 1rem + 4vw, 4.5rem); align-items: start; }
.about-facts { position: sticky; top: calc(var(--header-h) + 1rem); display: grid; gap: 1.25rem; }
.about-photo { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.facts { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.facts li { display: flex; gap: .9rem; align-items: flex-start; padding: 1rem 1.1rem; background: var(--white); border: 1px solid var(--line-soft); border-radius: var(--radius-sm); font-size: .95rem; color: var(--muted); }
.facts strong { display: block; color: var(--ink); font-family: var(--display); }
.facts .icon { color: var(--orange-deep); margin-top: 2px; }

/* ---------- Gallery, before/after, lightbox ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .9rem; }
.gallery.n1 { grid-template-columns: minmax(0, 640px); justify-content: center; }
.gallery.n2 { grid-template-columns: repeat(2, 1fr); }
.gallery-item { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: var(--radius-sm); overflow: hidden; background: var(--cream-2); cursor: zoom-in; }
.gallery.n5 .gallery-item:first-child, .gallery.n4 .gallery-item:first-child { grid-row: span 2; aspect-ratio: auto; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .4s; }
.gallery-item:hover img { transform: scale(1.05); }
.zoom { position: absolute; right: .8rem; bottom: .8rem; display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: rgba(255, 255, 255, .92); color: var(--ink); opacity: 0; transform: scale(.8); transition: opacity .3s, transform .3s var(--ease); }
.gallery-item:hover .zoom, .gallery-item:focus-visible .zoom { opacity: 1; transform: none; }
.ba { margin: 0; }
.ba-stage { --pos: 50%; position: relative; aspect-ratio: 4 / 3; max-width: 900px; margin: 0 auto; border-radius: calc(var(--radius) + 4px); overflow: hidden; box-shadow: var(--shadow-lg); user-select: none; touch-action: pan-y; }
.ba-stage img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ba-before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba-stage::after { content: ''; position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; translate: -50% 0; background: var(--white); box-shadow: 0 0 12px rgba(0, 0, 0, .3); pointer-events: none; }
.ba-handle { position: absolute; top: 50%; left: var(--pos); z-index: 2; display: grid; place-items: center; width: 48px; height: 48px; translate: -50% -50%; border-radius: 50%; background: var(--orange); color: var(--ink); box-shadow: 0 6px 18px rgba(0, 0, 0, .35); pointer-events: none; }
.ba-stage input { position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-label { position: absolute; top: 1rem; z-index: 1; padding: .35rem .75rem; border-radius: 999px; background: rgba(20, 12, 5, .7); color: var(--white); font: 600 .8rem/1 var(--body); letter-spacing: .06em; text-transform: uppercase; }
.ba-label-before { left: 1rem; } .ba-label-after { right: 1rem; }
.lightbox { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(15, 9, 4, .94); color: var(--white); }
.lightbox[open] { display: grid; place-items: center; animation: fade .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { margin: 0; display: grid; gap: .8rem; justify-items: center; max-width: min(92vw, 1100px); }
.lightbox img { max-height: 80dvh; width: auto; border-radius: 6px; animation: zoom-in .3s var(--ease); }
.lightbox figcaption { color: #e8d6bf; text-align: center; }
.lb-close, .lb-nav { position: fixed; display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: var(--white); cursor: pointer; transition: background-color .2s; }
.lb-close:hover, .lb-nav:hover { background: var(--orange); color: var(--ink); }
.lb-close { top: 1rem; right: 1rem; }
.lb-nav { top: 50%; translate: 0 -50%; }
.lb-prev { left: 1rem; } .lb-prev .icon { transform: scaleX(-1); } .lb-next { right: 1rem; }
.lb-count { position: fixed; bottom: 1rem; left: 50%; translate: -50% 0; margin: 0; font-size: .9rem; color: #cdb69a; }
@keyframes fade { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(2rem, 1rem + 3vw, 3.5rem); align-items: start; }
.quote-form { padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); background: var(--white); border: 1px solid var(--line-soft); border-radius: calc(var(--radius) + 4px); box-shadow: var(--shadow-lg); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1rem; }
.field { margin: 0 0 1.25rem; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { display: block; margin-bottom: .45rem; font-weight: 600; font-size: .96rem; padding: 0; }
.field input:not([type=radio]):not([type=file]), .field textarea { width: 100%; padding: .85rem 1rem; border: 1.5px solid var(--line); border-radius: 10px; background: var(--cream); font: inherit; color: inherit; transition: border-color .2s, box-shadow .2s, background-color .2s; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--orange); background: var(--white); box-shadow: 0 0 0 4px rgba(255, 143, 31, .18); }
.field textarea { resize: vertical; min-height: 140px; }
.has-error input, .has-error textarea { border-color: #c4400f !important; }
.field-error { margin: .4rem 0 0; color: #b03a0c; font-size: .9rem; font-weight: 500; }
.hint { margin: .4rem 0 0; color: var(--muted); font-size: .88rem; }
.pill-options { display: flex; flex-wrap: wrap; gap: .5rem; }
.pill { position: relative; cursor: pointer; }
.pill input { position: absolute; opacity: 0; }
.pill span { display: inline-block; padding: .6rem 1rem; border: 1.5px solid var(--line); border-radius: 999px; background: var(--cream); font-weight: 500; font-size: .95rem; transition: all .2s var(--ease); }
.pill:hover span { border-color: var(--orange); }
.pill input:checked + span { background: var(--ink); border-color: var(--ink); color: var(--cream); }
.pill input:focus-visible + span { outline: 3px solid var(--orange); outline-offset: 2px; }
.dropzone { position: relative; display: flex !important; flex-direction: column; align-items: center; gap: .5rem; padding: 1.6rem 1rem; border: 2px dashed var(--line); border-radius: 12px; background: var(--cream); color: var(--muted); text-align: center; cursor: pointer; transition: border-color .2s, background-color .2s; font-weight: 500 !important; }
.dropzone:hover, .dropzone.drag { border-color: var(--orange); background: #fff1df; }
.dropzone .icon { color: var(--orange-deep); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.thumbs { display: flex; gap: .5rem; margin-top: .6rem; }
.thumbs img { width: 72px; height: 72px; object-fit: cover; border-radius: 8px; animation: zoom-in .3s var(--ease); }
.alert { padding: .9rem 1.1rem; margin-bottom: 1.25rem; border-radius: 10px; background: #fff0e6; border: 1px solid #f6b48d; color: #8a2d07; font-weight: 500; }
.contact-side { display: grid; gap: 1.1rem; position: sticky; top: calc(var(--header-h) + 1rem); }
.contact-line { display: flex; gap: .9rem; align-items: center; padding: .85rem 0; text-decoration: none; border-bottom: 1px solid var(--line-soft); margin: 0; }
.contact-line:last-child { border-bottom: 0; }
.contact-line .icon { color: var(--orange-deep); }
.contact-line strong { display: block; }
.contact-line small { color: var(--muted); font-size: .88rem; }
a.contact-line:hover strong { color: var(--brown); }
.btn[data-submit].sending { pointer-events: none; opacity: .75; }
.thanks { min-height: 60vh; display: grid; place-items: center; }
.thanks-tick { display: inline-grid; place-items: center; width: 84px; height: 84px; margin-bottom: 1.5rem; border-radius: 50%; background: var(--orange); color: var(--ink); animation: pop .6s var(--ease) both; }
@keyframes pop { 0% { transform: scale(.4); opacity: 0; } 70% { transform: scale(1.08); } }
.empty { padding: 3rem; text-align: center; color: var(--muted); background: var(--white); border-radius: var(--radius); border: 1px dashed var(--line); }

/* ---------- CTA band and footer ---------- */
.cta-band { padding: clamp(3rem, 2rem + 3vw, 5rem) 0; background: var(--orange); background-image: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, .25), transparent 40%), radial-gradient(circle at 10% 90%, rgba(122, 74, 20, .25), transparent 45%); color: var(--ink); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-inner h2 { margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 560px; font-size: 1.1rem; color: var(--charcoal); }
.cta-actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.cta-band .btn-primary { --bg: var(--ink); --fg: var(--cream); }
.cta-band .btn-ghost-light { --fg: var(--ink); border-color: rgba(31, 20, 10, .5); background: rgba(255, 255, 255, .2); }
.cta-band .btn-ghost-light:hover { --bg: var(--ink); --fg: var(--cream); border-color: var(--ink); }
.site-footer { padding: clamp(3rem, 2rem + 3vw, 4.5rem) 0 1.5rem; background: var(--ink); color: #d9c3a8; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 2rem; padding-bottom: 2.5rem; border-bottom: 1px solid rgba(255, 190, 118, .14); }
.footer-brand img { height: 50px; width: auto; margin-bottom: 1rem; }
.footer-brand p { max-width: 330px; }
.site-footer h2 { font: 600 .82rem/1.2 var(--body); color: var(--orange-soft); text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--white); }
.footer-contact a { display: inline-flex; align-items: center; gap: .55rem; }
.footer-contact .icon { color: var(--orange); }
.footer-base { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .5rem 2rem; padding-top: 1.5rem; font-size: .88rem; color: #a8917a; }
.footer-base p { margin: 0; }
.credit a { color: #d9c3a8; text-decoration: underline; text-decoration-color: rgba(255, 190, 118, .4); }
.action-bar { display: none; }

/* ---------- Motion ---------- */
.js .reveal { opacity: 0; transform: translateY(22px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: calc(var(--d, 0) * 90ms); }
.js .reveal.in { opacity: 1; transform: none; }
.js .hero-title .word, .js .hero-in { opacity: 0; transform: translateY(.5em); animation: rise .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 70ms + 150ms); }
.js .hero-title .hl::after { transform: scaleX(0); animation: draw .7s var(--ease) forwards; animation-delay: 1.1s; }
@keyframes rise { to { opacity: 1; transform: none; } }
@keyframes draw { to { transform: scaleX(1); } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal, .js .hero-title .word, .js .hero-in { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1120px) {
  .header-phone span { display: none; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 960px) {
  :root { --header-h: 68px; }
  .main-nav, .header-phone { display: none; }
  .header-cta { margin-left: auto; }
  .menu-toggle { display: grid; }
  .brand img { height: 40px; }
  .menu-open-header { background: var(--cream) !important; color: var(--ink) !important; }
  .detail-grid, .contact-grid, .about-page { grid-template-columns: 1fr; }
  .detail-side, .contact-side, .about-facts { position: static; }
  .about-facts { grid-template-columns: 1fr; max-width: 520px; }
  .projects-grid, .areas-grid, .reviews-grid { grid-template-columns: repeat(2, 1fr); }
  .service-row { grid-template-columns: 1fr; }
  .service-row.flip .service-row-media { order: 0; }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { max-width: 420px; }
}
@media (max-width: 720px) {
  body { font-size: 1rem; padding-bottom: calc(64px + env(safe-area-inset-bottom)); }
  .header-cta .btn { display: none; }
  .hero { min-height: 88svh; padding-bottom: 4.5rem; }
  .hero-media img { object-position: 75% center; }
  .hero-media::after { background: linear-gradient(0deg, rgba(20, 12, 5, .95) 10%, rgba(20, 12, 5, .7) 55%, rgba(20, 12, 5, .45)); }
  .hero-actions .btn { flex: 1 1 100%; }
  .eyebrow { font-size: .7rem; letter-spacing: .06em; padding: .4rem .75rem; }
  body:has(.quote-form) { padding-bottom: 0; }
  .scroll-cue { display: none; }
  .trust { margin-top: -1.5rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item { padding: 1rem 1.2rem; }
  .trust-item + .trust-item { border-left: 0; border-top: 1px solid var(--line-soft); }
  .services-grid, .services-grid.n2, .services-grid.n3, .projects-grid, .areas-grid, .reviews-grid, .reviews-grid.n2, .steps, .form-row { grid-template-columns: 1fr; }
  .steps::before { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .gallery.n4 .gallery-item:first-child, .gallery.n5 .gallery-item:first-child { grid-row: auto; grid-column: span 2; aspect-ratio: 4 / 3; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-actions, .cta-actions .btn { width: 100%; }
  .lb-nav { top: auto; bottom: 1rem; translate: none; }
  .action-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: flex; gap: .5rem; padding: .55rem .75rem calc(.55rem + env(safe-area-inset-bottom)); background: rgba(31, 20, 10, .96); backdrop-filter: blur(10px); box-shadow: 0 -8px 24px -12px rgba(0, 0, 0, .5); transform: translateY(110%); transition: transform .4s var(--ease); }
  .action-bar.show { transform: none; }
  .action-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: .45rem; min-height: 48px; border-radius: 12px; background: rgba(255, 255, 255, .09); color: var(--cream); font-weight: 600; text-decoration: none; }
  .action-bar a.primary { flex: 1.4; background: var(--orange); color: var(--ink); }
}
