﻿:root {
  --map-top: -170px; --map-left: 0px;
  --loc-left: clamp(24px, 5vw, 72px);
  --loc-pad: clamp(23px, 3vw, 38px);
  --hdr-pad: clamp(24px, 4vw, 54px);
  color-scheme: light;
  --ink: #20221f;
  --ink-soft: #62665e;
  --muted: #83877e;
  --paper: #f3f2ec;
  --frame: #fbfaf6;
  --line: #e3e3dc;
  --accent: #d7e86b;
  --forest: #26342e;
  --serif: "Iowan Old Style", "Baskerville", "Palatino Linotype", Georgia, serif;
  --sans: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { width: 100%; height: 100%; margin: 0; overflow: hidden; }
body { color: var(--ink); background: #e9e8e1; font-family: var(--sans); font-size: 15px; line-height: 1.5; -webkit-font-smoothing: antialiased; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
::selection { color: var(--ink); background: var(--accent); }
:focus-visible { outline: 3px solid #78883d; outline-offset: 3px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

.screen { position: relative; isolation: isolate; width: 100%; height: 100dvh; display: grid; place-items: center; overflow: hidden; overflow: clip; padding: clamp(12px, 3vh, 28px) clamp(12px, 3vw, 40px); background: radial-gradient(ellipse at 12% 16%, rgba(255,255,255,.48), transparent 31%), radial-gradient(ellipse at 89% 85%, rgba(205,199,177,.32), transparent 29%), #e9e8e1; }
.ambient { position: absolute; z-index: -1; border: 1px solid rgba(104,111,89,.12); border-radius: 50%; pointer-events: none; }
.ambient-one { width: min(58vw, 780px); aspect-ratio: 1; top: -44%; left: -23%; }
.ambient-two { width: min(48vw, 650px); aspect-ratio: 1; right: -20%; bottom: -48%; }
.site-frame { position: relative; width: min(1540px, 100%); height: min(930px, calc(100dvh - 52px)); min-height: 0; overflow: hidden; border: 1px solid rgba(255,255,255,.8); border-radius: 26px; background: var(--frame); box-shadow: 0 32px 100px rgba(55,55,45,.19), 0 7px 22px rgba(55,55,45,.08), inset 0 1px 0 rgba(255,255,255,.9); }
.site-header { position: absolute; z-index: 20; inset: 0 0 auto; min-height: 98px; display: grid; grid-template-columns: 150px 1fr 150px; align-items: center; gap: 18px; padding: 7px clamp(24px, 4vw, 54px); pointer-events: none; }
.brand-button, .tab-list, .header-cta { pointer-events: auto; }
.brand-button { position: relative; width: 80px; height: 76px; display: block; padding: 0; border: 0; background: transparent; cursor: pointer; }
.brand-button img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; transition: filter .25s ease; }
.site-frame[data-view="services"] .brand-button img,
.site-frame[data-view="gallery"] .brand-button img,
.site-frame[data-view="contact"] .brand-button img { filter: invert(1); }
.site-frame[data-view="locations"] .brand-button { transform: translateX(calc(var(--loc-left) + var(--loc-pad) - var(--hdr-pad))); }
.tab-list { width: max-content; max-width: 100%; display: flex; justify-self: center; align-items: center; gap: clamp(2px, .55vw, 9px); padding: 5px; border: 1px solid rgba(32,34,31,.08); border-radius: 999px; background: rgba(250,249,244,.84); box-shadow: 0 8px 24px rgba(30,34,28,.07); backdrop-filter: blur(14px); }
.tab-link { position: relative; min-height: 42px; padding: 9px 13px; border: 0; border-radius: 999px; background: transparent; color: #565a53; font-size: 12px; white-space: nowrap; cursor: pointer; transition: background .2s ease, color .2s ease, transform .2s ease; }
.tab-link:hover { color: var(--ink); background: #f0f0e9; }
.tab-link.is-active { color: var(--ink); background: #e8eadc; }
.tab-link.is-active::after { position: absolute; right: 13px; bottom: 5px; left: 13px; height: 1.5px; border-radius: 2px; background: #899747; content: ""; }
.header-cta { min-height: 46px; justify-self: end; display: inline-flex; align-items: center; justify-content: center; gap: 13px; padding: 0 19px; border: 0; border-radius: 999px; background: #20221f; color: #fff; font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.header-cta span { font-size: 17px; line-height: 1; }

.view-window { position: absolute; inset: 0; overflow: hidden; background: var(--frame); }
.view-panel { position: absolute; inset: 0; min-width: 0; min-height: 0; overflow: hidden; padding: 120px clamp(30px, 5vw, 74px) 66px; animation: panel-in .32s ease both; }
@keyframes panel-in { from { opacity: .65; transform: scale(1.004); } to { opacity: 1; transform: scale(1); } }
.eyebrow { display: flex; align-items: center; gap: 10px; margin: 0 0 17px; color: #666a60; font-size: 10px; font-weight: 700; letter-spacing: .15em; line-height: 1.35; text-transform: uppercase; }
.eyebrow > span { width: 8px; height: 8px; flex: 0 0 8px; border-radius: 50%; background: #a7bd43; }
h1 { margin: 0 0 18px; font-size: clamp(52px, 6vw, 84px); font-weight: 550; letter-spacing: -.065em; line-height: .98; }
h1 em { color: #6f7d48; font-family: var(--serif); font-weight: 400; letter-spacing: -.07em; }
.button { min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 18px; padding: 0 21px; border: 0; border-radius: 999px; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button span { font-size: 18px; line-height: 1; }
.button-dark { background: #20221f; color: #fff; }
.button-light { background: #fff; color: #20221f; }
.text-link { min-height: 46px; display: inline-flex; align-items: center; gap: 9px; padding: 0 4px; border: 0; background: transparent; color: #252722; font-size: 12px; font-weight: 600; text-decoration: none; cursor: pointer; transition: transform .2s ease, color .2s ease; }
.text-link span { font-size: 17px; }

.home-panel { padding: 0; }
.hero-image-wrap { position: absolute; inset: 0; overflow: hidden; background: #bbbcae; }
.hero-image-wrap > img, .hero-image-wrap > video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 52%; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.hero-image-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(243,242,236,.97) 0%, rgba(243,242,236,.88) 33%, rgba(243,242,236,.32) 54%, rgba(15,20,16,.04) 76%), linear-gradient(0deg, rgba(13,20,15,.6), transparent 28%); }
.hero-copy { position: absolute; z-index: 2; top: 51%; left: clamp(28px, 5.5vw, 82px); width: min(47%, 620px); display: flex; flex-direction: column; justify-content: center; transform: translateY(-45%); }
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { max-width: 640px; margin-bottom: 22px; font-size: clamp(62px, 7vw, 96px); }
.hero-description { max-width: 520px; margin: 0 0 22px; color: #5f635b; font-size: 15px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 20px; }
.hero-note { display: flex; align-items: center; gap: 12px; margin-top: 32px; color: #75796f; font-size: 11px; }
.note-mark { width: 37px; height: 37px; flex: 0 0 37px; display: grid; place-items: center; border: 1px solid rgba(48,55,43,.3); border-radius: 50%; color: #4d5246; font-family: var(--serif); font-size: 10px; }
.hero-image-caption { position: absolute; right: 34px; bottom: 69px; display: flex; flex-direction: column; gap: 5px; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.3); }
.hero-image-caption span { font-size: 9px; font-weight: 700; letter-spacing: .16em; }
.hero-image-caption strong { font-family: var(--serif); font-size: clamp(22px, 2.2vw, 30px); font-weight: 400; }
.image-index { position: absolute; top: 111px; right: 34px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.78); border-radius: 999px; color: #fff; font-size: 10px; letter-spacing: .07em; }
.image-index i { margin-inline: 5px; font-style: normal; opacity: .65; }

.about-panel { padding: 0; }
.about-image { position: absolute; inset: 0; overflow: hidden; background: #a9aa9b; }
.about-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; transition: transform .65s cubic-bezier(.2,.75,.25,1); }
.about-image::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(239,239,230,.88), rgba(239,239,230,.64) 36%, rgba(28,34,28,.07) 73%), linear-gradient(0deg, rgba(18,24,19,.35), transparent 27%); content: ""; }
.about-image > span { position: absolute; z-index: 1; right: 34px; bottom: 72px; padding: 9px 13px; border-radius: 999px; background: rgba(251,250,246,.9); color: #4c5147; font-size: 9px; font-weight: 700; letter-spacing: .13em; }
.about-copy { position: absolute; z-index: 2; top: 50%; left: clamp(28px, 5.5vw, 82px); width: min(46%, 610px); padding: clamp(24px, 3.2vw, 43px); border: 1px solid rgba(255,255,255,.56); border-radius: 8px 8px 68px 8px; background: rgba(250,249,244,.76); box-shadow: 0 18px 60px rgba(27,32,24,.08); backdrop-filter: blur(12px); transform: translateY(-43%); }
.about-copy h1 { font-size: clamp(50px, 5.5vw, 76px); }
.about-copy > p:not(.eyebrow) { max-width: 560px; margin: 0 0 13px; color: var(--ink-soft); font-size: 13px; line-height: 1.7; }
.approach-list { display: grid; grid-template-columns: repeat(3, max-content); gap: 8px 17px; margin: 16px 0 15px; padding: 0; list-style: none; }
.approach-list li { display: flex; align-items: center; gap: 6px; color: #51564b; font-size: 10px; }
.approach-list li span { color: #87914e; font-family: var(--serif); font-size: 12px; }

.services-panel::before, .gallery-panel::before, .contact-panel::before { position: absolute; z-index: -2; inset: 0; background-size: cover; background-position: center; content: ""; transition: transform .8s ease; }
.services-panel::before { background-image: url("assets/service-renovation.jpg"); }
.gallery-panel::before { background-image: url("assets/service-garden.jpg"); }
.contact-panel::before { background-image: url("assets/service-painting.jpg"); background-position: center 42%; }
.services-panel::after, .gallery-panel::after, .contact-panel::after { position: absolute; z-index: -1; inset: 0; content: ""; }
.services-panel::after { background: linear-gradient(100deg, rgba(22,29,24,.77), rgba(22,29,24,.57) 48%, rgba(22,29,24,.42)); }
.gallery-panel::after { background: linear-gradient(100deg, rgba(19,26,21,.72), rgba(19,26,21,.42)); }
.contact-panel::after { background: linear-gradient(100deg, rgba(15,21,18,.75), rgba(15,21,18,.4) 58%, rgba(15,21,18,.25)); }
.services-panel, .gallery-panel { color: #fff; }
.services-panel .eyebrow, .gallery-panel .eyebrow { color: rgba(255,255,255,.78); }
.services-panel h1, .gallery-panel h1 { color: #fff; }
.services-panel h1 em, .gallery-panel h1 em { color: #dce7ab; }
.view-heading { position: relative; z-index: 1; display: flex; align-items: end; justify-content: space-between; gap: 36px; margin-bottom: 24px; }
.view-heading .eyebrow { margin-bottom: 12px; }
.view-heading h1 { margin: 0; font-size: clamp(44px, 5vw, 68px); }
.view-heading > p { max-width: 370px; margin: 0 0 4px; color: rgba(255,255,255,.82); font-size: 13px; line-height: 1.65; }
.view-heading > p small { display: block; margin-top: 7px; color: rgba(255,255,255,.66); font-size: 9px; }
.service-grid { position: relative; z-index: 1; height: calc(100% - 122px); display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-template-rows: repeat(2, minmax(0, 1fr)); gap: 12px; }
.service-card { min-width: 0; min-height: 0; display: flex; overflow: hidden; border: 1px solid rgba(255,255,255,.52); border-radius: 7px 7px 32px 7px; background: rgba(251,250,246,.94); color: var(--ink); box-shadow: 0 8px 24px rgba(14,19,15,.12); transition: transform .25s ease, box-shadow .25s ease; }
.service-card > img { width: 40%; min-width: 40%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.service-copy { min-width: 0; display: flex; flex: 1; flex-direction: column; justify-content: center; padding: 15px; }
.service-number { color: #858a7d; font-size: 8px; font-weight: 700; letter-spacing: .11em; }
.service-copy h2 { margin: 4px 0 6px; font-size: clamp(14px, 1.25vw, 18px); font-weight: 600; letter-spacing: -.025em; line-height: 1.15; }
.service-copy p { margin: 0; color: var(--ink-soft); font-size: 11px; line-height: 1.45; }

.gallery-heading { margin-bottom: 22px; }
.gallery-heading > p small { font-size: 9px; }

.locations-panel { padding: 0; background: #3b4740; color: var(--ink); }
.location-card { position: absolute; inset: 0; overflow: hidden; background: #3b4740; }
.location-card iframe { position: absolute; top: var(--map-top); left: calc(var(--map-left) * -1); width: calc(100% + var(--map-left)); height: calc(100% - var(--map-top)); border: 0; }
/* The embed draws its own white address card in its top-left corner; push that corner out of view. */
.locations-copy { position: absolute; z-index: 2; top: 50%; left: clamp(24px, 5vw, 72px); width: min(380px, 39%); padding: clamp(23px, 3vw, 38px); border: 1px solid rgba(255,255,255,.65); border-radius: 8px 8px 54px 8px; background: rgba(250,249,244,.94); box-shadow: 0 18px 58px rgba(23,30,25,.2); transform: translateY(-42%); }
.locations-panel .eyebrow { color: #666a60; }
.locations-copy h1 { margin: 0 0 18px; color: #20221f; font-size: clamp(44px, 5vw, 66px); }
.locations-copy h1 em { color: #6f7d48; }
.locations-copy > p { margin: 0 0 9px; color: var(--ink-soft); font-size: 13px; }
.locations-copy > p strong { color: #20221f; font-weight: 650; }
.locations-copy > small { display: block; margin: 0 0 19px; color: #72766e; font-size: 10px; }
.map-pin-label { position: absolute; z-index: 1; left: calc(50% - var(--map-left) / 2); top: calc(50% + var(--map-top) / 2 + 11px); transform: translateX(-50%); padding: 5px 12px; border-radius: 8px; background: rgba(250,249,244,.96); color: #20221f; font-size: 12px; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 16px rgba(10,15,11,.3); pointer-events: none; }
.map-caption { position: absolute; z-index: 2; right: 26px; bottom: 66px; min-width: 240px; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 2px 10px; padding: 14px 17px; border: 1px solid rgba(255,255,255,.8); border-radius: 6px 6px 28px 6px; background: rgba(250,249,244,.93); color: var(--ink); box-shadow: 0 10px 34px rgba(23,30,25,.16); backdrop-filter: blur(10px); }
.map-caption > span { grid-column: 1 / -1; color: #85897f; font-size: 8px; font-weight: 700; letter-spacing: .14em; }
.map-caption strong { grid-column: 1; grid-row: 2; font-size: 14px; font-weight: 600; }
.map-caption small { grid-column: 1; grid-row: 3; color: #777b73; font-size: 10px; }
.map-caption a { grid-column: 2; grid-row: 2 / 4; display: inline-flex; align-items: center; gap: 5px; color: #3d4732; font-size: 10px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.map-caption a:hover { text-decoration: underline; text-underline-offset: 3px; }

.contact-panel { display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(30px, 5vw, 70px); color: #fff; }
.contact-copy, .contact-form { position: relative; z-index: 1; }
.contact-copy h1 { max-width: 550px; color: #fff; font-size: clamp(48px, 5.5vw, 76px); }
.contact-copy h1 em { color: #dce7ab; }
.contact-copy > p:not(.eyebrow) { max-width: 385px; margin: 0 0 20px; color: rgba(255,255,255,.85); font-size: 14px; line-height: 1.65; }
.contact-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 22px; }
.contact-details > div { display: flex; flex-direction: column; gap: 4px; }
.contact-details small { color: rgba(255,255,255,.72); font-size: 8px; font-weight: 700; letter-spacing: .13em; }
.contact-details strong { color: #fff; font-size: 10px; font-weight: 500; }
.contact-note { display: block; margin-top: 15px; color: rgba(255,255,255,.68); font-size: 9px; }
.contact-form { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(20px, 2.7vw, 34px); border: 1px solid rgba(255,255,255,.72); border-radius: 8px 8px 58px 8px; background: rgba(250,249,244,.95); color: var(--ink); box-shadow: 0 18px 58px rgba(13,19,15,.2); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; }
.contact-form label { min-width: 0; display: flex; flex-direction: column; gap: 5px; color: #4d5149; font-size: 10px; font-weight: 600; }
.contact-form label > span { color: #829044; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; min-height: 40px; padding: 9px 11px; border: 1px solid #d9dbd1; border-radius: 4px; outline: 0; background: #fff; color: var(--ink); font-size: 11px; font-weight: 400; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-form textarea { min-height: 70px; resize: none; }
.contact-form input::placeholder, .contact-form textarea::placeholder { color: #92968e; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: #728044; box-shadow: 0 0 0 3px rgba(114,128,68,.13); }
.contact-form select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 14 14'%3E%3Cpath d='m3 5 4 4 4-4' fill='none' stroke='%23555951' stroke-width='1.4'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 11px center; }
.form-submit { align-self: flex-start; min-height: 43px; }
.form-note { min-height: 14px; margin: -5px 0 0; color: #73776e; font-size: 9px; }
.form-note.is-error { color: #8b4c3f; }
.form-note.is-success { color: #53662b; }

.frame-footer { position: absolute; z-index: 20; inset: auto 0 0; min-height: 44px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 clamp(25px, 4vw, 54px); border-top: 1px solid rgba(255,255,255,.28); background: rgba(25,31,26,.2); color: rgba(255,255,255,.88); font-size: 9px; text-shadow: 0 1px 5px rgba(0,0,0,.35); backdrop-filter: blur(7px); }
.frame-footer > span:first-child { color: #fff; font-size: 8px; font-weight: 700; letter-spacing: .15em; }

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .hero-image-wrap:hover > img, .hero-image-wrap:hover > video, .about-image:hover img { transform: scale(1.025); }
  .service-card:hover > img { transform: scale(1.045); }
  .button:hover, .header-cta:hover { transform: translateY(-2px) scale(1.035); box-shadow: 0 10px 24px rgba(19,24,20,.2); }
  .text-link:hover { color: #687641; transform: translateY(-1px); }
}

@media (max-width: 980px) {
  .site-header { grid-template-columns: 115px 1fr 132px; gap: 10px; padding-inline: 20px; }
  .brand-button { width: 72px; height: 68px; }
  .tab-list { gap: 1px; padding: 4px; }
  .tab-link { padding-inline: 9px; font-size: 10px; }
  .header-cta { gap: 8px; padding-inline: 14px; font-size: 10px; }
  .view-heading { gap: 22px; }
  .service-grid { gap: 9px; }
  .service-copy { padding: 11px; }
  .service-copy p { font-size: 10px; }
  .about-copy { width: min(53%, 610px); }
}

@media (max-width: 640px) {
  .screen { padding: 7px; }
  .ambient-one { width: 100vw; top: -32%; left: -48%; }
  .ambient-two { width: 100vw; right: -45%; bottom: -35%; }
  .site-frame { width: 100%; height: calc(100dvh - 14px); border-radius: 17px; }
  .site-header { min-height: 104px; grid-template-columns: 45px minmax(0,1fr) 34px; grid-template-rows: 51px 42px; gap: 0 7px; padding: 4px 9px 5px; }
  .brand-button { grid-column: 1; grid-row: 1; width: 44px; height: 49px; }
  .tab-list { grid-column: 1 / -1; grid-row: 2; width: 100%; justify-content: space-between; gap: 0; padding: 3px; }
  .tab-link { flex: 1 1 0; min-width: 0; min-height: 34px; padding: 5px 2px; font-size: clamp(8px, 2.5vw, 10px); letter-spacing: -.02em; }
  .tab-link.is-active::after { right: 5px; bottom: 3px; left: 5px; }
  .header-cta { grid-column: 3; grid-row: 1; width: 34px; min-height: 34px; gap: 0; padding: 0; font-size: 0; }
  .header-cta span { font-size: 17px; }
  .view-panel { padding: 124px 16px 49px; }
  h1 { margin-bottom: 12px; font-size: clamp(39px, 11vw, 53px); }
  .eyebrow { gap: 7px; margin-bottom: 10px; font-size: 8px; letter-spacing: .12em; }
  .eyebrow > span { width: 6px; height: 6px; flex-basis: 6px; }
  .button { min-height: 41px; gap: 11px; padding-inline: 14px; font-size: 10px; }
  .button span { font-size: 15px; }
  .text-link { min-height: 39px; gap: 5px; font-size: 10px; }
  .text-link span { font-size: 14px; }

  .home-panel { padding: 0; }
  .hero-image-wrap > img, .hero-image-wrap > video { object-position: 57% center; }
  .hero-image-shade { background: linear-gradient(180deg, rgba(243,242,236,.86) 0%, rgba(243,242,236,.78) 36%, rgba(243,242,236,.25) 68%, rgba(10,15,11,.45) 100%); }
  .hero-copy { top: 42%; left: 20px; width: calc(100% - 40px); transform: translateY(-39%); }
  .hero-copy .eyebrow { margin-bottom: 12px; }
  .hero-copy h1 { max-width: 420px; margin-bottom: 12px; font-size: clamp(46px, 13.2vw, 63px); }
  .hero-description { max-width: 460px; margin-bottom: 13px; font-size: 11px; line-height: 1.5; }
  .hero-actions { gap: 3px 10px; }
  .hero-note { gap: 8px; margin-top: 13px; font-size: 8px; }
  .note-mark { width: 28px; height: 28px; flex-basis: 28px; font-size: 8px; }
  .hero-image-caption { right: 14px; bottom: 58px; gap: 2px; }
  .hero-image-caption span { font-size: 7px; }
  .hero-image-caption strong { font-size: 19px; }
  .image-index { top: 115px; right: 12px; padding: 5px 8px; font-size: 8px; }

  .about-panel { padding: 0; }
  .about-image::after { background: linear-gradient(180deg, rgba(239,239,230,.8), rgba(239,239,230,.76) 54%, rgba(23,28,24,.23)); }
  .about-image > span { right: 12px; bottom: 57px; padding: 6px 8px; font-size: 7px; }
  .about-copy { top: 48%; left: 14px; width: calc(100% - 28px); padding: 18px; border-bottom-right-radius: 40px; transform: translateY(-38%); }
  .about-copy h1 { margin-bottom: 10px; font-size: clamp(39px, 10.8vw, 52px); }
  .about-copy > p:not(.eyebrow) { margin-bottom: 7px; font-size: 10px; line-height: 1.5; }
  .approach-list { display: flex; flex-wrap: wrap; gap: 5px 10px; margin: 7px 0 3px; }
  .approach-list li { gap: 4px; font-size: 8px; }
  .approach-list li span { font-size: 9px; }

  .services-panel, .gallery-panel { padding: 128px 12px 49px; }
  .view-heading { align-items: start; flex-direction: column; gap: 5px; margin-bottom: 12px; }
  .view-heading .eyebrow { margin-bottom: 7px; }
  .view-heading h1 { max-width: 100%; font-size: clamp(34px, 9.5vw, 45px); }
  .view-heading > p { max-width: 100%; font-size: 9px; line-height: 1.4; }
  .view-heading > p small { margin-top: 3px; font-size: 7px; }
  .service-grid { height: calc(100% - 104px); grid-template-columns: repeat(2, minmax(0,1fr)); grid-template-rows: repeat(3, minmax(0,1fr)); gap: 7px; }
  .service-card { flex-direction: column; border-radius: 5px 5px 18px 5px; }
  .service-card > img { width: 100%; min-width: 0; height: 37%; min-height: 55px; flex: 0 0 37%; }
  .service-copy { min-height: 0; padding: 6px 7px; }
  .service-number { font-size: 6px; }
  .service-copy h2 { margin: 2px 0; font-size: clamp(10px, 2.9vw, 13px); }
  .service-copy p { font-size: clamp(7px, 2vw, 9px); line-height: 1.28; }

  .locations-panel { padding: 0; }
  .locations-copy { top: 18%; left: 13px; width: calc(100% - 26px); padding: 17px; border-bottom-right-radius: 35px; transform: none; }
  .locations-copy h1 { margin-bottom: 9px; font-size: clamp(37px, 10.5vw, 50px); }
  .locations-copy > p { margin-bottom: 5px; font-size: 10px; }
  .locations-copy > small { margin-bottom: 10px; font-size: 8px; }
  .locations-copy .button { min-height: 34px; }
  .map-caption { right: 10px; bottom: 52px; left: 10px; min-width: 0; gap: 1px 7px; padding: 8px 10px; border-bottom-right-radius: 21px; }
  .map-caption > span { font-size: 6px; }
  .map-caption strong { font-size: 10px; }
  .map-caption small, .map-caption a { font-size: 7px; }

  .contact-panel { display: block; padding: 125px 14px 48px; overflow-y: auto; }
  .contact-panel::after { background: linear-gradient(180deg, rgba(15,21,18,.62), rgba(15,21,18,.7)); }
  .contact-copy h1 { max-width: 460px; margin-bottom: 8px; font-size: clamp(39px, 10.5vw, 51px); }
  .contact-copy > p:not(.eyebrow) { margin-bottom: 8px; font-size: 9px; }
  .contact-details { grid-template-columns: repeat(3, 1fr); gap: 5px; margin-top: 8px; }
  .contact-details small { font-size: 6px; }
  .contact-details strong { font-size: 7px; overflow-wrap: anywhere; }
  .contact-note { margin-top: 5px; font-size: 7px; }
  .contact-form { margin-top: 12px; gap: 8px; padding: 11px; border-bottom-right-radius: 36px; }
  .form-row { gap: 7px; }
  .contact-form label { gap: 3px; font-size: 8px; }
  .contact-form input, .contact-form select { min-height: 32px; padding: 6px 8px; font-size: 9px; }
  .contact-form textarea { min-height: 46px; padding: 7px 8px; font-size: 9px; }
  .form-submit { min-height: 34px; }
  .form-note { min-height: 11px; font-size: 7px; }
  .frame-footer { min-height: 30px; gap: 5px; padding-inline: 10px; font-size: 6px; }
  .frame-footer > span:first-child { font-size: 6px; }
}

@media (max-height: 720px) and (min-width: 641px) {
  .site-header { min-height: 82px; }
  .brand-button { width: 64px; height: 60px; }
  .view-panel { padding-top: 103px; padding-bottom: 56px; }
  .hero-copy h1 { font-size: clamp(51px, 5.6vw, 75px); }
  .hero-note { margin-top: 17px; }
  .about-copy { padding: 24px; }
  .about-copy > p:not(.eyebrow) { margin-bottom: 8px; font-size: 11px; }
  .approach-list { margin-block: 7px 9px; }
  .services-panel, .gallery-panel { padding-top: 99px; padding-bottom: 52px; }
  .view-heading { margin-bottom: 14px; }
  .view-heading h1 { font-size: clamp(39px, 4.2vw, 57px); }
  .service-grid { height: calc(100% - 100px); }
  .service-copy { padding: 8px; }
  .service-copy p { font-size: 9px; }
  .locations-copy { padding: 25px; }
  .contact-panel { padding-top: 100px; padding-bottom: 52px; }
  .contact-form { gap: 8px; padding-block: 15px; }
  .contact-form textarea { min-height: 50px; }
}
@media (max-height: 610px) and (min-width: 641px) {
  .services-panel, .gallery-panel, .contact-panel { overflow-y: auto; }
  .service-grid { min-height: 320px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Locations: the white panel runs up to the top edge and carries the logo. */
.locations-copy { top: 0; width: min(380px, calc(50% - 232px - var(--loc-left) - 16px)); transform: none; padding-top: 122px; border-top: 0; border-radius: 0 0 54px 8px; }
@media (max-width: 980px) { :root { --hdr-pad: 20px; } }
@media (min-width: 1200px) and (max-width: 1365px) {
  :root { --loc-pad: 22px; }
  .locations-copy { padding-inline: 22px; }
}
@media (min-width: 641px) and (max-width: 1199px) {
  :root { --loc-left: 24px; --map-top: 0px; --map-left: 270px; }
  .locations-copy { left: 24px; right: 24px; width: auto; display: grid; grid-template-columns: 1fr 1fr; column-gap: clamp(24px, 5vw, 56px); align-content: start; padding-bottom: 30px; }
  .locations-copy .eyebrow, .locations-copy h1, .locations-copy .loc-address { grid-column: 1; }
  .locations-copy .loc-desc, .locations-copy > small, .locations-copy .button { grid-column: 2; justify-self: start; }
  .locations-copy .eyebrow { grid-row: 1; } .locations-copy h1 { grid-row: 2; } .locations-copy .loc-address { grid-row: 3; }
  .locations-copy .loc-desc { grid-row: 1 / 3; align-self: end; margin-bottom: 4px; } .locations-copy > small { grid-row: 3; align-self: start; margin: 0; } .locations-copy .button { grid-row: 4; align-self: start; }
  .locations-copy .loc-address { margin-bottom: 0; }
}
@media (min-width: 641px) and (max-height: 720px) { .locations-copy { padding-top: 102px; } }
@media (max-width: 640px) {
  :root { --loc-left: 13px; --loc-pad: 17px; --hdr-pad: 9px; --map-top: 0px; --map-left: 270px; }
  .locations-copy { top: 0; left: 13px; right: auto; width: calc(100% - 26px); padding-top: 116px; border-bottom-right-radius: 35px; }
}
@media (max-width: 640px) and (max-height: 720px) { .locations-copy .loc-desc, .locations-copy > small { display: none; } }

/* Gallery: glass project cards */
.glass-row { position: relative; z-index: 1; height: calc(100% - 116px); display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-evenly; padding: 22px 0 6px; perspective: 1400px; }
.glass-card { position: relative; flex: 0 1 18%; height: min(100%, 520px); max-width: 250px; min-width: 0; container-type: inline-size; padding: 0; border: 0; background: none; color: #fff; font: inherit; text-align: left; cursor: pointer; transform-style: preserve-3d; transform: rotateX(4deg); transition: transform .45s cubic-bezier(.2,.8,.2,1); }
.glass-glow { position: absolute; inset: 14px -4px -10px; border-radius: 12cqw; background-size: cover; background-position: center; filter: blur(26px) saturate(1.5); opacity: .5; z-index: -1; transition: opacity .45s, inset .45s, filter .45s; }
.glass-face { position: absolute; inset: 0; display: block; overflow: hidden; border: 1px solid rgba(255,255,255,.28); border-radius: 12cqw; background-size: cover; background-position: top center; box-shadow: 0 22px 40px rgba(0,0,0,.35), inset 0 1px 0 rgba(255,255,255,.35); transition: box-shadow .45s; }
.glass-face::before { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(var(--t),.55) 54%, rgba(var(--t),.9) 100%); content: ""; }
.glass-face::after { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.22), transparent 35%); content: ""; pointer-events: none; }
.glass-info { position: absolute; right: 0; bottom: 0; left: 0; display: flex; flex-direction: column; gap: 3.4cqw; padding: 5cqw 6.4cqw 6.4cqw; backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 22px); mask-image: linear-gradient(180deg, transparent 0, #000 22px); }
.glass-top { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.glass-title { min-width: 0; overflow: hidden; font-size: 7cqw; font-weight: 650; letter-spacing: -.02em; line-height: 1.15; text-overflow: ellipsis; white-space: nowrap; }
.glass-price { flex: none; padding: 2.2cqw 3.8cqw; border-radius: 999px; background: rgba(0,0,0,.45); font-size: 4.2cqw; font-style: normal; font-weight: 650; }
.glass-desc { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.9em; color: rgba(255,255,255,.66); font-size: 4.7cqw; line-height: 1.45; }
.glass-foot { display: flex; align-items: center; justify-content: space-between; gap: 3cqw; }
.glass-tags { display: flex; gap: 2.2cqw; min-width: 0; }
.glass-tags span { padding: 2cqw 3.4cqw; border-radius: 999px; background: rgba(255,255,255,.16); font-size: 4cqw; font-weight: 650; white-space: nowrap; }
.glass-go { flex: none; width: 9.5cqw; height: 9.5cqw; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(255,255,255,.14); font-size: 4.6cqw; transition: background .3s, color .3s, transform .3s; }
.glass-card:focus-visible { outline: 2px solid #dce7ab; outline-offset: 6px; border-radius: 12cqw; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .glass-card:hover { z-index: 2; transform: rotateX(0) translateY(-20px) scale(1.03); }
  .glass-card:hover .glass-glow { inset: 10px -14px -26px; opacity: .95; filter: blur(34px) saturate(1.7); }
  .glass-card:hover .glass-face { box-shadow: 0 38px 60px rgba(0,0,0,.45), inset 0 1px 0 rgba(255,255,255,.4); }
  .glass-card:hover .glass-go { background: #fff; color: #20221f; transform: rotate(45deg); }
}
@media (max-width: 900px) {
  .glass-row { justify-content: flex-start; gap: 16px; overflow-x: auto; padding-inline: 12px; scroll-snap-type: x mandatory; perspective: none; }
  .glass-card { flex: 0 0 min(64vw, 240px); height: min(100%, 440px); scroll-snap-align: center; }
}

/* Project dialog */
.project-dialog { width: min(760px, calc(100vw - 28px)); max-height: calc(100vh - 28px); overflow: auto; padding: 0; border: 1px solid rgba(255,255,255,.4); border-radius: 28px; background: rgba(251,250,246,.97); color: var(--ink); box-shadow: 0 30px 90px rgba(0,0,0,.5); }
.project-dialog::backdrop { background: rgba(14,19,15,.62); backdrop-filter: blur(6px); }
.pd-image { height: clamp(150px, 34vh, 330px); background-size: cover; background-position: center; }
.pd-body { padding: clamp(18px, 3vw, 30px); }
.pd-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.pd-top h2 { margin: 0; font-size: clamp(22px, 3vw, 32px); font-weight: 650; letter-spacing: -.03em; }
.pd-top em { padding: 7px 13px; border-radius: 999px; background: var(--forest); color: #fff; font-size: 12px; font-style: normal; font-weight: 650; white-space: nowrap; }
.pd-body p { max-width: 56ch; margin: 12px 0 16px; color: var(--ink-soft); font-size: 14px; line-height: 1.6; }
.pd-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.pd-tags span { padding: 6px 12px; border-radius: 999px; background: #e9eadf; font-size: 12px; font-weight: 650; }
.pd-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 22px; }
.pd-close { padding: 10px 4px; border: 0; background: none; color: var(--ink-soft); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }


/* Open/closed status in footer */
.frame-footer .open-status { margin: 0; color: #fff; font-size: 9px; font-weight: 700; white-space: nowrap; }
.frame-footer .open-status::before { width: 7px; height: 7px; background: #c9cdbf; }
.frame-footer .open-status[data-open="true"]::before { background: #b6d95a; box-shadow: 0 0 0 3px rgba(182,217,90,.28); }
.frame-footer { justify-content: space-between; }
.footer-end { display: flex; align-items: center; gap: 16px; }
@media (max-width: 640px) { .frame-footer .open-status { font-size: 6px; gap: 4px; } .frame-footer .open-status::before { width: 5px; height: 5px; } .footer-end { gap: 6px; } }

/* Hours card (replaces the old address caption) */
.map-caption { display: flex; flex-direction: column; align-items: stretch; gap: 8px; min-width: 250px; padding: 16px 18px 14px; }
.map-caption > span { font-size: 8px; }
.hours-list { display: grid; gap: 5px; margin: 0; }
.hours-list > div { display: flex; justify-content: space-between; gap: 18px; color: #62665e; font-size: 12px; line-height: 1.3; }
.hours-list dt, .hours-list dd { margin: 0; }
.hours-list > div[data-today="true"] { color: #20221f; font-weight: 650; }
.hours-list > div[data-today="true"] dt::before { display: inline-block; width: 6px; height: 6px; margin-right: 7px; border-radius: 50%; background: #7fa23a; content: ""; vertical-align: 1px; }
.map-caption a { align-self: flex-start; margin-top: 2px; }
@media (min-width: 641px) and (max-width: 1199px) { .map-caption { min-width: 0; width: 360px; left: auto; } .hours-list { grid-template-columns: 1fr 1fr; column-gap: 22px; } .hours-list > div { gap: 8px; font-size: 11px; } }
@media (max-width: 640px) { .map-caption { gap: 5px; padding: 11px 14px 10px; } .hours-list { grid-template-columns: 1fr; gap: 3px; } .hours-list > div { gap: 8px; font-size: 9.5px; } .hours-list > div[data-today="true"] dt::before { width: 5px; height: 5px; margin-right: 5px; } .map-caption a { font-size: 9px; } .map-caption > span { font-size: 7px; } }

/* Locations panel: centred text (logo stays put) */
.locations-copy { text-align: center; }
.locations-copy .eyebrow { justify-content: center; }
.locations-copy .button { margin-inline: auto; justify-self: center; }
@media (min-width: 641px) and (max-width: 1199px) { .locations-copy .eyebrow, .locations-copy h1, .locations-copy .loc-address { justify-self: center; } .locations-copy .loc-desc, .locations-copy > small, .locations-copy .button { justify-self: center; } }
/* Footer status dot: visible on light and dark backgrounds */
.frame-footer .open-status::before { width: 8px; height: 8px; background: #8b9381; border: 1px solid rgba(255,255,255,.85); box-sizing: border-box; }
.frame-footer .open-status[data-open="true"]::before { background: #9ccc3c; box-shadow: 0 0 0 3px rgba(156,204,60,.35); }

/* Footer status dot */
.frame-footer .open-status::before { display: inline-block; flex: none; content: ""; width: 8px; height: 8px; border-radius: 50%; background: #8b9381; border: 1px solid rgba(255,255,255,.85); box-sizing: border-box; }
.frame-footer .open-status[data-open="true"]::before { background: #9ccc3c; box-shadow: 0 0 0 3px rgba(156,204,60,.35); }
.frame-footer .open-status { display: inline-flex; align-items: center; gap: 7px; }

/* About: welcome copy sizing */
.about-copy h1 { font-size: clamp(40px, 4.1vw, 62px); }
.about-copy .approach-list { display: flex; flex-wrap: wrap; gap: 6px 16px; }
@media (max-width: 640px) { .about-copy h1 { font-size: clamp(34px, 9.4vw, 44px); } }

/* Project dialog: photo carousel */
.pd-media { position: relative; }
.pd-image { position: relative; overflow: hidden; background: #d8d9cf; }
.pd-track { display: flex; height: 100%; transition: transform .45s cubic-bezier(.2,.75,.25,1); }
.pd-track img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; }
.pd-nav { position: absolute; top: 50%; width: 40px; height: 40px; display: grid; place-items: center; padding: 0 0 3px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(20,26,22,.5); color: #fff; font-size: 24px; line-height: 1; cursor: pointer; backdrop-filter: blur(6px); transform: translateY(-50%); transition: background .2s; }
.pd-nav:hover { background: rgba(20,26,22,.75); }
.pd-prev { left: 12px; } .pd-next { right: 12px; }
.pd-count { position: absolute; right: 12px; bottom: 10px; padding: 4px 10px; border-radius: 999px; background: rgba(20,26,22,.55); color: #fff; font-size: 11px; font-weight: 650; }
.pd-thumbs { display: flex; gap: 8px; padding: 12px clamp(18px, 3vw, 30px) 0; }
.pd-thumbs button { width: 64px; height: 46px; padding: 0; border: 2px solid transparent; border-radius: 8px; background-size: cover; background-position: center; opacity: .6; cursor: pointer; transition: opacity .2s, border-color .2s; }
.pd-thumbs button[aria-current="true"] { border-color: #26342e; opacity: 1; }
.pd-media[data-single="true"] .pd-nav, .pd-media[data-single="true"] .pd-count, .pd-thumbs:empty { display: none; }

.contact-mail { color: inherit; text-decoration: none; overflow-wrap: anywhere; }
.contact-mail:hover { text-decoration: underline; text-underline-offset: 3px; }

.frame-footer .footer-link { color: rgba(255,255,255,.88); font-size: 9px; text-decoration: none; }
.frame-footer .footer-link:hover { text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 640px) { .frame-footer .footer-link { font-size: 6px; } }

/* About: sketch background, glass card on the right */
.about-image { background: #efe9de; }
.about-image img { object-position: 22% center; }
.about-image::after { background: linear-gradient(0deg, rgba(40,36,28,.16), transparent 30%); }
.about-image > span { right: auto; left: 34px; }
.about-copy { left: auto; right: clamp(28px, 5.5vw, 82px); background: rgba(250,249,244,.46); border-color: rgba(255,255,255,.7); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); box-shadow: 0 18px 60px rgba(27,32,24,.1); }
@media (max-width: 640px) { .about-copy { left: 14px; right: auto; background: rgba(250,249,244,.58); } .about-image > span { left: 12px; } .about-image img { object-position: 30% 22%; } }

/* Shared translucent glass for the white cards */
.contact-form, .locations-copy, .map-caption, .service-card {
  background: rgba(250,249,244,.46);
  border-color: rgba(255,255,255,.7);
  backdrop-filter: blur(18px) saturate(1.1);
  -webkit-backdrop-filter: blur(18px) saturate(1.1);
}
.contact-form input, .contact-form select, .contact-form textarea { background: rgba(255,255,255,.7); }
@media (max-width: 640px) { .contact-form, .locations-copy, .map-caption, .service-card { background: rgba(250,249,244,.58); } }
/* Cards over dark photos need a bit more body for readable text */
.service-card { background: rgba(250,249,244,.64); }
.contact-form { background: rgba(250,249,244,.6); }
.service-card p, .service-card .service-meta { color: #3f433b; }

/* Contact: sketch background with the builder on the left, content on the right */
.contact-panel { color: var(--ink); }
.contact-panel::before { background-image: url("assets/contact-sketch.jpg"); background-position: left center; background-color: #f1eadf; }
.contact-panel::after { background: none; }
.contact-copy h1 { color: var(--ink); }
.contact-copy h1 em { color: #6f7d48; }
.contact-copy > p:not(.eyebrow) { color: #4d5149; }
.contact-details small { color: #6a6f63; }
.contact-details strong { color: var(--ink); }
.contact-note { color: #6a6f63; }
.contact-panel .eyebrow { color: #4d5149; }
@media (min-width: 900px) {
  .contact-panel { grid-template-columns: .78fr 1.22fr; padding-left: clamp(280px, 33%, 520px); gap: clamp(22px, 3vw, 44px); }
  .contact-copy h1 { font-size: clamp(40px, 4.2vw, 62px); }
}
@media (max-width: 899px) { .contact-panel::before { background-position: 8% top; opacity: .5; } }
.site-frame[data-view="contact"] .brand-button img { filter: none; }
.contact-details { display: flex; flex-wrap: wrap; gap: 10px 22px; }
.contact-details strong { white-space: nowrap; }
@media (min-width: 900px) { .contact-panel { grid-template-columns: .95fr 1.05fr; padding-left: clamp(260px, 30%, 480px); } }
@media (max-width: 899px) { .contact-panel::before { opacity: .38; } .contact-details strong { white-space: normal; } }
.contact-copy { text-shadow: 0 0 14px rgba(244,238,226,.95), 0 0 4px rgba(244,238,226,.9); }
@media (min-width: 900px) and (max-width: 1199px) { .contact-panel { padding-left: clamp(300px, 36%, 420px); } }
@media (min-width: 900px) {
  .contact-copy { text-shadow: none; padding: clamp(22px, 2.6vw, 36px); border: 1px solid rgba(255,255,255,.7); border-radius: 8px 8px 54px 8px; background: rgba(250,249,244,.62); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); box-shadow: 0 18px 60px rgba(27,32,24,.1); }
  .contact-copy h1 { font-size: clamp(38px, 3.8vw, 56px); }
  .contact-copy > p:not(.eyebrow) { color: #3f433b; }
  .contact-details { gap: 10px 18px; }
}
@media (min-width: 1200px) { .contact-panel { padding-left: clamp(300px, 34%, 560px); } }

/* Contact: one big glass card (copy + form), pushed to the right */
.contact-card { display: contents; }
@media (min-width: 900px) {
  .contact-panel { display: block; padding: 0; }
  .contact-card { position: absolute; z-index: 2; top: 50%; right: clamp(28px, 5.5vw, 82px); width: min(66%, 900px); transform: translateY(-46%); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: clamp(26px, 3.4vw, 52px); padding: clamp(24px, 3.2vw, 44px); border: 1px solid rgba(255,255,255,.7); border-radius: 8px 8px 68px 8px; background: rgba(250,249,244,.48); backdrop-filter: blur(18px) saturate(1.1); -webkit-backdrop-filter: blur(18px) saturate(1.1); box-shadow: 0 18px 60px rgba(27,32,24,.1); }
  .contact-card .contact-copy { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .contact-card .contact-form { padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none; backdrop-filter: none; -webkit-backdrop-filter: none; }
  .contact-card .contact-form input, .contact-card .contact-form select, .contact-card .contact-form textarea { background: rgba(255,255,255,.72); }
}
@media (min-width: 1200px) { .contact-card { width: min(58%, 840px); } }

/* Services: sketch background, dark text */
.services-panel::before { background-image: url("assets/services-sketch.jpg"); background-color: #f1eadf; }
.services-panel::after { background: none; }
.services-panel { color: var(--ink); }
.services-panel .eyebrow { color: #4d5149; }
.services-panel h1 { color: var(--ink); }
.services-panel h1 em { color: #6f7d48; }
.services-panel .view-heading > p { color: #4d5149; }
.services-panel .view-heading > p small { color: #6a6f63; }
.site-frame[data-view="services"] .brand-button img { filter: none; }
.service-card { background: rgba(250,249,244,.55); }

/* Services: cracked-wall background with occasionally flickering lamps */
.services-panel::before { background-image: url("assets/services-wall.jpg"); }
.services-lamps { position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; container-type: size; --W: max(100cqw, calc(100cqh * 1.7769)); --H: max(100cqh, calc(100cqw * .5628)); }
.services-lamps i { position: absolute; width: calc(var(--W) * .3); aspect-ratio: 1; border-radius: 50%; transform: translate(-50%, -50%); top: calc(50cqh + (.31 - .5) * var(--H)); background: radial-gradient(circle, rgba(60,46,32,.5) 0%, rgba(60,46,32,.26) 34%, transparent 68%); mix-blend-mode: multiply; opacity: 0; animation: lamp-out 9s infinite; }
.services-lamps i:nth-child(1) { left: calc(50cqw + (.3068 - .5) * var(--W)); animation-delay: -1.2s; }
.services-lamps i:nth-child(2) { left: calc(50cqw + (.5 - .5) * var(--W)); animation-delay: -4.7s; }
.services-lamps i:nth-child(3) { left: calc(50cqw + (.6926 - .5) * var(--W)); animation-delay: -7.1s; }
@keyframes lamp-out { 0%, 78%, 100% { opacity: 0; } 79% { opacity: .9; } 80% { opacity: .1; } 81.5% { opacity: .95; } 83% { opacity: .3; } 84% { opacity: .9; } 86% { opacity: 0; } 88% { opacity: .65; } 89% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .services-lamps i { animation: none; } }

/* About: tree and grass sway in the wind, leaves drift away */
.about-sway { --ox: .22; --oy: .5; --W: max(100cqw, calc(100cqh * 2)); --H: max(100cqh, calc(100cqw * .5)); position: absolute; inset: 0; pointer-events: none; overflow: hidden; container-type: size; }
.sway-stage { position: absolute; width: var(--W); height: var(--H); left: calc((100cqw - var(--W)) * var(--ox)); top: calc((100cqh - var(--H)) * var(--oy)); }
.sway-layer { position: absolute; inset: 0; display: block; background: url("assets/about-sketch.jpg") 0 0 / 100% 100% no-repeat; will-change: transform; }
.sway-tree { -webkit-mask-image: radial-gradient(ellipse 22% 28% at 17% 22%, #000 68%, transparent 100%); mask-image: radial-gradient(ellipse 22% 28% at 17% 22%, #000 68%, transparent 100%); transform-origin: 9.6% 45%; animation: tree-sway 7s ease-in-out infinite; }
.sway-grass { -webkit-mask-image: radial-gradient(ellipse 14% 17% at 19% 78%, #000 62%, transparent 100%); mask-image: radial-gradient(ellipse 14% 17% at 19% 78%, #000 62%, transparent 100%); transform-origin: 19% 92%; animation: grass-sway 4.6s ease-in-out infinite; }
@keyframes tree-sway { 0%, 100% { transform: rotate(-.9deg); } 30% { transform: rotate(1.5deg); } 55% { transform: rotate(.2deg); } 80% { transform: rotate(1.2deg); } }
@keyframes grass-sway { 0%, 100% { transform: skewX(-1.1deg); } 35% { transform: skewX(1.3deg); } 65% { transform: skewX(-.2deg); } }
.leaf { position: absolute; width: calc(var(--W) * .009); height: calc(var(--W) * .0055); border-radius: 0 100% 0 100%; background: linear-gradient(135deg, #cfcdb0, #a8a888); border: .5px solid rgba(90,90,70,.55); opacity: 0; animation: leaf-fly 11s linear infinite; }
.leaf:nth-of-type(1) { left: 12%; top: 14%; animation-duration: 10s; animation-delay: -1s; }
.leaf:nth-of-type(2) { left: 20%; top: 9%; animation-duration: 13s; animation-delay: -5s; }
.leaf:nth-of-type(3) { left: 7%; top: 24%; animation-duration: 12s; animation-delay: -8s; }
.leaf:nth-of-type(4) { left: 25%; top: 21%; animation-duration: 9s; animation-delay: -3s; }
.leaf:nth-of-type(5) { left: 15%; top: 30%; animation-duration: 14s; animation-delay: -10s; }
.leaf:nth-of-type(6) { left: 29%; top: 12%; animation-duration: 11s; animation-delay: -6.5s; }
.leaf:nth-of-type(7) { left: 5%; top: 16%; animation-duration: 15s; animation-delay: -12s; }
@keyframes leaf-fly {
  0% { opacity: 0; transform: translate(0, 0) rotate(0); }
  8% { opacity: .9; }
  25% { transform: translate(calc(var(--W) * .05), calc(var(--H) * .12)) rotate(130deg); }
  50% { transform: translate(calc(var(--W) * .1), calc(var(--H) * .26)) rotate(250deg); }
  75% { opacity: .9; transform: translate(calc(var(--W) * .17), calc(var(--H) * .42)) rotate(400deg); }
  100% { opacity: 0; transform: translate(calc(var(--W) * .23), calc(var(--H) * .6)) rotate(540deg); }
}
.about-image:hover img { transform: none; }
@media (max-width: 640px) { .about-sway { --ox: .3; --oy: .22; } }
@media (prefers-reduced-motion: reduce) { .sway-layer, .leaf { animation: none; } .leaf { display: none; } }
.sway-tree { clip-path: polygon(0 0, 33% 0, 33% 37.2%, 28.2% 34.6%, 4.8% 53.3%, 0 56%); }

/* Contact: the tree sways and leaves drift down behind the builder (desktop) */
.contact-scene { display: none; }
@media (min-width: 900px) {
  .contact-scene { display: block; position: absolute; inset: 0; z-index: -1; pointer-events: none; overflow: hidden; container-type: size; --W: max(100cqw, calc(100cqh * 2)); --H: max(100cqh, calc(100cqw * .5)); }
  .contact-stage { position: absolute; left: 0; top: calc((100cqh - var(--H)) * .5); width: var(--W); height: var(--H); }
  .csway { position: absolute; inset: 0; display: block; background: url("assets/contact-sketch.jpg") 0 0 / 100% 100% no-repeat; -webkit-mask-image: radial-gradient(ellipse 10% 27% at 6.5% 17%, #000 66%, transparent 100%); mask-image: radial-gradient(ellipse 10% 27% at 6.5% 17%, #000 66%, transparent 100%); clip-path: polygon(0 0, 13.6% 0, 13.6% 21.5%, 10.2% 22%, 10.2% 50%, 0 50%); transform-origin: 3.4% 45%; animation: tree-sway 7s ease-in-out infinite; will-change: transform; }
  .contact-man { position: absolute; left: 10.48%; top: 3.27%; width: 15.11%; height: 89.74%; }
  .contact-stage .leaf:nth-of-type(1) { left: 5%; top: 12%; }
  .contact-stage .leaf:nth-of-type(2) { left: 10%; top: 8%; }
  .contact-stage .leaf:nth-of-type(3) { left: 2.5%; top: 22%; }
  .contact-stage .leaf:nth-of-type(4) { left: 12%; top: 17%; }
  .contact-stage .leaf:nth-of-type(5) { left: 7%; top: 28%; }
  .contact-stage .leaf:nth-of-type(6) { left: 3%; top: 10%; }
  .contact-stage .leaf:nth-of-type(7) { left: 12.5%; top: 25%; }
}
@media (prefers-reduced-motion: reduce) { .csway { animation: none; } .contact-stage .leaf { display: none; } }

/* Gallery: cursor-driven carousel, centre card raised (desktop with a mouse) */
.glass-track { display: contents; }
@media (min-width: 901px) {
  .glass-row { --cw: clamp(190px, 17vw, 250px); overflow-x: auto; overflow-y: visible; justify-content: flex-start; gap: 24px; padding-inline: 24px; perspective: none; scrollbar-width: none; }
  .glass-card { flex: 0 0 var(--cw); max-width: none; }
  .glass-row.is-carousel { overflow-x: clip; overflow-y: visible; padding-inline: 0; gap: 0; }
  .glass-row.is-carousel .glass-track { display: flex; align-items: center; gap: clamp(30px, 3.4vw, 50px); width: 100%; height: 100%; perspective: 1500px; }
  .glass-row.is-carousel .glass-card { transition: none; will-change: transform; }
  .glass-row.is-carousel .glass-glow { inset: 12px -8px -18px; opacity: calc(.32 + var(--c, 0) * .66); filter: blur(calc(24px + var(--c, 0) * 12px)) saturate(1.6); transition: none; }
  .glass-row.is-carousel .glass-face { box-shadow: 0 calc(18px + var(--c, 0) * 22px) calc(34px + var(--c, 0) * 28px) rgba(0,0,0,calc(.3 + var(--c, 0) * .15)), inset 0 1px 0 rgba(255,255,255,.35); transition: none; }
  .glass-row.is-carousel .glass-card:hover { transform: none; }
}

/* Gallery: pencil-sketch house background, smaller cards, dark ink text */
.gallery-panel { color: var(--ink); }
.gallery-panel::before { background-image: url("assets/gallery-sketch.jpg"); background-color: #f3ece1; background-position: center bottom; }
.gallery-panel::after { background: none; }
.gallery-panel h1 { color: var(--ink); }
.gallery-panel h1 em { color: #6f7d48; }
.gallery-panel .eyebrow, .gallery-heading > p { color: #4d5149; }
.gallery-panel small, .gallery-heading > p small { color: #6a6f63; }
.site-frame[data-view="gallery"] .brand-button img { filter: none; }
@media (min-width: 901px) {
  .glass-row { --cw: clamp(140px, 11.5vw, 172px); align-items: flex-end; padding-bottom: 14px; }
  .glass-row.is-carousel .glass-track { align-items: flex-end; gap: clamp(26px, 2.8vw, 40px); }
  .glass-card { height: min(100%, 330px); }
}
.gallery-panel::before { background-size: auto 100%; background-position: right bottom; background-repeat: no-repeat; }
@media (min-width: 901px) {
  .gallery-heading { flex-direction: column; align-items: flex-start; gap: 8px; }
  .gallery-heading > p { max-width: 360px; text-align: left; }
}
@media (min-width: 901px) { .glass-row { padding-bottom: 58px; } .glass-card { height: min(100%, 320px); } }
@media (max-width: 900px) { .gallery-panel::before { opacity: .3; background-size: cover; background-position: 70% bottom; } }

/* Gallery: only 3 cards visible at once, kept to the left so the sketch stays clear */
@media (min-width: 901px) {
  .glass-row { --cw: clamp(140px, 11.5vw, 170px); --gp: clamp(24px, 2.2vw, 32px); width: calc(3 * var(--cw) + 2 * var(--gp)); }
  .glass-row.is-carousel .glass-track { gap: var(--gp); }
}
@media (min-width: 901px) { .glass-row { box-sizing: border-box; width: calc(3 * var(--cw) + 2 * var(--gp) + 16px); margin-left: -8px; margin-right: auto; } }

/* Mobile: Services shows big photos with only the title; Gallery shows 3 slimmer cards, title only */
@media (max-width: 640px) {
  .service-card > img { height: 70%; flex: 0 0 70%; }
  .service-copy { padding: 5px 8px; justify-content: center; }
  .service-copy p, .service-number { display: none; }
  .service-copy h2 { margin: 0; font-size: clamp(11px, 3.2vw, 13px); }
}
@media (max-width: 900px) {
  .glass-row { --mw: calc((100vw - 24px - 20px) / 3); gap: 8px; padding-inline: calc(50% - var(--mw) / 2); height: calc(100% - 100px); align-items: center; }
  .glass-card { flex: 0 0 var(--mw); height: min(100%, 300px); will-change: transform; }
  .glass-desc, .glass-tags, .glass-go { display: none; }
  .glass-foot { display: none; }
  .glass-title { font-size: 12px; line-height: 1.15; }
  .glass-info { padding: 10px 8px; }
}
