/* Layout: app shell on a light beige page. Water features open the page, then the 3D band, the What we install showcase, a short Journal lesson, services and projects.
   Phones get a one-screen app: fixed header, scrolling content, fixed bottom tab bar. Desktop gets the full signature
   logo and a top nav. Neutral surfaces dominate, green marks key cues only (Green Lion Brand Guide 2026). */
:root {
  /* Brand Guide 2026 palette */
  --charcoal: #202321; --warm: #F5F2EA; --leaf: #7DC00F; --lime: #AFE414; --deep: #244A1C; --stone: #B6AEA1; --white: #FFFFFF;
  /* Light theme only: lighter beige page, white app chrome, Deep green accent blocks */
  --bg: #FBF8F1; --surface: #FFFFFF; --surface-2: #F2EDE2; --ink: #202321; --ink-2: #5B5F58; --line: #E3DCCE;
  --accent-text: #244A1C; --rule: #7DC00F;
  --btn: #244A1C; --btn-ink: #F5F2EA; --btn-hover: #2E5C24;
  /* "band" = section surfaces. Light by default; .deep blocks override these */
  --band: #F5F2EA; --band-2: #ECE6D9; --band-ink: #202321; --band-muted: #5B5F58; --band-line: #E3DCCE; --band-outline: rgba(32, 35, 33, .28); --band-accent: #244A1C;
  --ok: #2F6B12; --ok-bg: #E4EFD3; --warn: #7A4E00; --warn-bg: #F5E8CB; --danger: #A12A1E; --danger-bg: #F6DFDA;
  --shadow: 0 1px 2px rgba(32, 35, 33, .06), 0 10px 28px rgba(32, 35, 33, .10);
  /* Type: Liberation Serif (display) / Liberation Sans (body) */
  --serif: "Tinos", "Liberation Serif", Georgia, serif;
  --sans: "Arimo", "Liberation Sans", Arial, sans-serif;
  --t-label: .75rem; --t-sm: .875rem; --t-body: 1rem; --t-sub: 1.375rem; --t-h2: clamp(1.75rem, 4.2vw, 2.4rem); --t-display: clamp(2.5rem, 7.4vw, 3.9rem);
  --r-sm: 4px; --r-md: 8px; --r-lg: 12px;
  --tabbar-h: 68px;
  color-scheme: light;
}
html { background: var(--surface); }

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: var(--t-body); line-height: 1.55; -webkit-font-smoothing: antialiased; }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--warm); }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); }
button, input, select, textarea { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--leaf); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { margin: 0; font-family: var(--serif); font-weight: 400; line-height: 1.1; text-wrap: balance; letter-spacing: -.005em; }
h3 { font-weight: 700; line-height: 1.2; }
h4 { margin: 0; font-family: var(--sans); font-weight: 700; line-height: 1.3; }
p { margin: 0; }
em.accent { font-style: italic; color: var(--deep); }
.wrap { width: 100%; max-width: 1200px; margin-inline: auto; padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }
.eyebrow { font-family: var(--sans); font-size: var(--t-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text); display: flex; align-items: center; gap: .65rem; }
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--rule); flex: none; }
.on-dark .eyebrow, .eyebrow.on-dark { color: var(--band-accent); }
.muted { color: var(--ink-2); }
.note { font-size: var(--t-label); color: var(--ink-2); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Buttons: deep green on light surfaces, leaf green with charcoal text on dark (guide contrast pairs) */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 46px; padding: 0 1.15rem; border-radius: var(--r-sm); border: 1px solid transparent; font-family: var(--sans); font-weight: 700; font-size: var(--t-sm); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background-color .15s ease, transform .15s ease; }
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-primary { background: var(--btn); color: var(--btn-ink); }
.btn-primary:hover { background: var(--btn-hover); }
.btn-leaf { background: var(--leaf); color: var(--charcoal); }
.btn-leaf:hover { background: var(--lime); }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { background: var(--surface-2); }
.btn-on-dark { background: transparent; border-color: var(--band-outline); color: var(--band-ink); }
.btn-on-dark:hover { background: rgba(127, 127, 127, .1); }
.btn-sm { min-height: 40px; padding: 0 .9rem; font-size: var(--t-label); }
.chip { display: inline-flex; align-items: center; gap: .35rem; min-height: 40px; padding: 0 .85rem; border-radius: var(--r-sm); border: 1px solid var(--line); background: var(--surface); color: var(--ink); font-size: var(--t-sm); font-weight: 700; cursor: pointer; }
.chip[aria-pressed="true"] { background: var(--btn); border-color: var(--btn); color: var(--btn-ink); }
.copy-btn { border: 0; background: transparent; color: inherit; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; font-size: var(--t-label); font-weight: 700; padding: 6px; min-height: 32px; }

/* Info bar + header (logo always on a solid Charcoal panel) */
.infobar { background: var(--surface-2); color: var(--ink-2); font-size: var(--t-label); letter-spacing: .08em; text-transform: uppercase; border-bottom: 1px solid var(--band-line); }
.infobar .wrap { display: flex; justify-content: space-between; gap: 1rem; padding-block: .45rem; flex-wrap: wrap; }
@media (max-width: 599px) { .infobar .lic { display: none; } }
.infobar b { color: var(--ink); font-weight: 700; letter-spacing: .04em; font-variant-numeric: tabular-nums; }
.topbar { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 50; background: var(--warm); color: var(--ink); border-bottom: 2px solid var(--leaf); }
.topbar .wrap { display: flex; align-items: center; gap: 1rem; min-height: 64px; }
.brandlink { display: flex; align-items: center; margin-right: auto; padding-block: 6px; }
.brandlink .emblem { width: 64px; height: auto; }
.brandlink .signature { display: none; width: 360px; height: auto; }
.topnav { display: none; gap: .15rem; align-items: center; }
.topnav a { white-space: nowrap; text-decoration: none; color: var(--ink-2); font-weight: 700; font-size: var(--t-sm); padding: .55rem .8rem; border-radius: var(--r-sm); display: inline-flex; align-items: center; gap: .45rem; }
.topnav a:hover { color: var(--ink); }
.topnav a[aria-current="page"] { color: var(--ink); box-shadow: inset 0 -2px 0 var(--leaf); border-radius: 0; }
.head-actions { display: flex; gap: .5rem; align-items: center; }
.call-btn { display: inline-flex; }
.head-book { display: none; }
@media (min-width: 1200px) {
  .topbar { position: static; }
  .topbar .wrap { min-height: 0; padding-block: 29px; }  /* clear space X = 8% of a 360px signature */
  .brandlink { padding-block: 0; }
  .brandlink .emblem { display: none; }
  .brandlink .signature { display: block; }
  .topnav { display: flex; }
  .head-actions .call-btn { display: none; }
  .head-book { display: inline-flex; }
}
@media (min-width: 1200px) and (max-width: 1279px) { .head-book { display: none; } }

/* Bottom tab bar (phones) */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 55; background: var(--surface); border-top: 1px solid var(--line); box-shadow: 0 -4px 16px rgba(32, 35, 33, .06); padding-bottom: env(safe-area-inset-bottom, 0px); padding-left: max(8px, env(safe-area-inset-left, 0px)); padding-right: max(8px, env(safe-area-inset-right, 0px)); }
.tabbar ul { list-style: none; margin: 0 auto; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); max-width: 560px; height: var(--tabbar-h); align-items: end; }
.tabbar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; height: 100%; text-decoration: none; color: var(--ink-2); font-size: .6875rem; font-weight: 700; min-width: 44px; }
.tabbar a svg { width: 24px; height: 24px; }
.tabbar a[aria-current="page"] { color: var(--deep); }
.tabbar .tab-call { position: relative; justify-content: flex-end; padding-bottom: 8px; color: var(--ink); }
.tabbar .tab-call .orb { width: 58px; height: 58px; border-radius: 50%; margin-top: -26px; margin-bottom: 2px; background: var(--leaf); color: var(--charcoal); display: grid; place-items: center; border: 4px solid var(--surface); box-shadow: 0 4px 12px rgba(125, 192, 15, .35); }
.tabbar .tab-call .orb svg { width: 26px; height: 26px; }
@media (min-width: 1200px) { .tabbar { display: none; } }

/* Views */
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.section { padding-block: 2.5rem; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; flex-wrap: wrap; }
.section-head > div { display: grid; gap: .5rem; }
.section-head h2 { font-size: var(--t-h2); }
.section-head p { max-width: 60ch; }

/* HOME hero */
.hero { background: var(--band); color: var(--band-ink); padding-block: 1.75rem 2.25rem; overflow: hidden; }
.hero h1 { font-size: var(--t-display); max-width: 15ch; margin-top: .75rem; }
.hero .lede { color: var(--band-muted); max-width: 52ch; margin-top: .75rem; font-size: 1.0625rem; }
.carousel { position: relative; margin-top: 1.5rem; }
.track { display: grid; grid-auto-flow: column; grid-auto-columns: 88%; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; position: relative; }
.track::-webkit-scrollbar { display: none; }
.wf-card { position: relative; scroll-snap-align: start; border-radius: var(--r-md); overflow: hidden; margin: 0; aspect-ratio: 4 / 5; background: var(--band-2); max-width: 100%; }
.wf-card img { width: 100%; height: 100%; object-fit: cover; }
.wf-card figcaption { position: absolute; inset: auto 0 0 0; padding: 4.5rem 1.1rem 1.1rem; background: linear-gradient(to top, rgba(32, 35, 33, .95), rgba(32, 35, 33, .6) 55%, transparent); display: grid; gap: .3rem; color: #F5F2EA; }
.wf-card .type { font-size: var(--t-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: #AFE414; }
.wf-card h3 { font-size: 1.6rem; font-weight: 400; }
.wf-card p { font-size: var(--t-sm); color: #D9D4C8; max-width: 46ch; }
.wf-card .meta { font-size: var(--t-label); color: #B6AEA1; font-weight: 700; display: flex; gap: .4rem; align-items: center; flex-wrap: wrap; }
.carousel-ui { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 1rem; }
.dots { display: flex; gap: 6px; flex-wrap: wrap; }
.dots button { width: 10px; height: 4px; border-radius: 2px; border: 0; padding: 0; background: rgba(32, 35, 33, .2); cursor: pointer; transition: width .2s; }
.dots button[aria-current="true"] { width: 28px; background: var(--deep); }
.arrows { display: none; gap: .5rem; }
.arrows button { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--band-outline); background: var(--surface); color: var(--ink); cursor: pointer; display: grid; place-items: center; }
.arrows svg { width: 20px; height: 20px; }
.hero-cta { margin-top: 1.5rem; display: grid; gap: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--band-line); }
.hero-cta h2 { font-size: clamp(1.5rem, 4vw, 2rem); }
.hero-cta p { color: var(--band-muted); }
.hero-cta .actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.phone-line { display: inline-flex; align-items: center; gap: .35rem; font-weight: 700; font-variant-numeric: tabular-nums; }
@media (min-width: 720px) { .track { grid-auto-columns: 62%; } .wf-card { aspect-ratio: 16 / 11; } }
@media (min-width: 1200px) { .hero-cta { grid-template-columns: 1fr auto; align-items: center; } }
@media (min-width: 960px) { .hero { padding-block: 2.5rem 3rem; } .track { grid-auto-columns: 58%; } .arrows { display: flex; } }


/* Lisa's featured article band (deep green) */
.lisa-band { background: var(--deep); color: var(--warm); border-radius: var(--r-lg); overflow: hidden; display: grid; margin-top: 2.5rem; }
.lisa-band .img { aspect-ratio: 4 / 3; max-width: 100%; }
.lisa-band .img img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 55%; }
.lisa-band .body { padding: 1.25rem; display: grid; gap: .75rem; align-content: center; }
.lisa-band .eyebrow { color: var(--lime); }
.lisa-band .eyebrow::before { background: var(--lime); }
.lisa-band h2 { font-size: var(--t-h2); }
.lisa-band p { color: #D7DECF; max-width: 54ch; }
.lisa-band .byline { font-size: var(--t-sm); font-weight: 700; color: var(--warm); display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
@media (min-width: 820px) { .lisa-band { grid-template-columns: 1.1fr 1fr; } .lisa-band .img { aspect-ratio: auto; min-height: 400px; position: relative; } .lisa-band .img img { position: absolute; inset: 0; } .lisa-band .body { padding: 2rem; } }
/* What we install: deep green showcase with photo tiles that open the matching gallery filter */
.showcase { border-radius: var(--r-lg); margin-top: 2.5rem; padding: 1.4rem 1.25rem 1.5rem; display: grid; gap: 1.1rem; }
.show-head { display: grid; gap: .55rem; }
.showcase .eyebrow { color: var(--lime); }
.showcase .eyebrow::before { background: var(--lime); }
.showcase h2 { font-size: var(--t-h2); }
.show-head p { color: #D7DECF; max-width: 58ch; }
.show-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
.show-tile { display: flex; flex-direction: column; gap: .5rem; min-width: 0; text-decoration: none; color: #F5F2EA; }
.show-tile img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); transition: filter .15s ease; }
.show-tile:hover img { filter: brightness(1.08); }
.show-tile span { display: grid; gap: .15rem; }
.show-tile b { font-size: var(--t-sm); }
.show-tile b::after { content: " →"; color: var(--lime); }
.show-tile small { font-size: var(--t-label); color: #C9D2C0; }
.show-tile.feature { grid-column: 1 / -1; }
.show-tile.feature img { aspect-ratio: 16 / 9; }
.show-tile.feature b { font-size: 1.05rem; }
.show-cta { display: flex; }
@media (min-width: 900px) {
  .showcase { padding: 2rem; gap: 1.4rem; }
  .show-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1rem; }
  .show-tile.feature { grid-column: span 2; grid-row: span 2; }
  .show-tile.feature img { flex: 1; min-height: 0; aspect-ratio: auto; }
}

/* Journal */
.journal-grid { display: grid; gap: 1.5rem; }
.journal-grid > * { min-width: 0; }
@media (min-width: 960px) { .journal-grid { max-width: 820px; } }
.article-hero { border-radius: var(--r-md); overflow: hidden; aspect-ratio: 16 / 10; max-width: 100%; }
.article-hero img { width: 100%; height: 100%; object-fit: cover; }
.byline-row { display: flex; gap: .75rem; align-items: center; flex-wrap: wrap; font-size: var(--t-label); color: var(--ink-2); font-weight: 700; margin-top: 1rem; text-transform: uppercase; letter-spacing: .08em; }
.byline-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--stone); }
.article-title { font-size: clamp(1.9rem, 5vw, 2.6rem); margin-top: .5rem; }
.prose { max-width: 66ch; display: grid; gap: .9rem; margin-top: .9rem; }
.winter-care { margin-top: 1.5rem; gap: .6rem; }
.winter-care h3 { font-family: var(--serif); font-weight: 400; font-size: var(--t-sub); margin-top: .4rem; }
.winter-care ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .4rem; }
.winter-care li::marker { color: var(--leaf); }


/* Segmented control */
.seg { display: inline-flex; flex-wrap: wrap; gap: 4px; padding: 4px; border-radius: var(--r-md); background: var(--surface-2); }
.seg button { border: 0; background: transparent; padding: .5rem .85rem; border-radius: var(--r-sm); font-weight: 700; font-size: var(--t-label); cursor: pointer; color: var(--ink-2); min-height: 36px; }
.seg button[aria-selected="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }


/* Project and service cards */
.proj-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 78%); gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 6px; }
@media (min-width: 720px) { .proj-scroll { grid-auto-columns: minmax(260px, 31%); } }
.proj-card { scroll-snap-align: start; border: 0; padding: 0; background: transparent; text-align: left; cursor: pointer; display: grid; gap: .5rem; color: var(--ink); }
.proj-card .img { aspect-ratio: 4 / 5; border-radius: var(--r-md); overflow: hidden; max-width: 100%; }
.proj-card img { width: 100%; height: 100%; object-fit: cover; }
.proj-card b { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.proj-card small { color: var(--ink-2); font-size: var(--t-label); font-weight: 700; }
.svc-strip { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.svc-tile { position: relative; border-radius: var(--r-md); overflow: hidden; aspect-ratio: 4 / 3; max-width: 100%; text-decoration: none; display: block; }
.svc-tile img { width: 100%; height: 100%; object-fit: cover; }
.svc-tile > span { position: absolute; inset: auto 0 0 0; background: var(--deep); color: #F5F2EA; padding: .7rem .9rem; font-weight: 700; display: flex; justify-content: space-between; align-items: center; font-size: var(--t-sm); }

/* Consultation band + footer */
.consult-band { background: var(--band); color: var(--band-ink); }
.consult-band .wrap { padding-block: 2.5rem; display: grid; gap: 1rem; }
.consult-band h2 { font-size: var(--t-h2); }
.consult-band p { color: var(--band-muted); max-width: 56ch; }
.consult-band .actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }
@media (min-width: 1200px) { .consult-band .wrap { grid-template-columns: 1fr auto; align-items: center; } }
.footer { background: var(--band); color: var(--ink-2); border-top: 2px solid var(--leaf); padding-block: 2.25rem calc(var(--tabbar-h) + 32px + env(safe-area-inset-bottom, 0px)); }
@media (min-width: 960px) { .footer { padding-bottom: 2.25rem; } }
.footer .grid { display: grid; gap: 1.5rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 170px), 1fr)); align-items: start; }
.footer .logo-cell img { width: min(100%, 360px); height: auto; }
.footer h4 { color: var(--ink); font-size: var(--t-sm); margin-bottom: .45rem; }
.footer p, .footer li { font-size: var(--t-sm); }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .3rem; }
.footer a { color: var(--accent-text); }
.footer .vendor-cell { display: grid; gap: .55rem; align-content: start; }
.footer .vendor-login { width: fit-content; color: var(--charcoal); text-decoration: none; }  /* beats .footer a so the label keeps Charcoal on Leaf green */
.footer .legal { margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--band-line); font-size: var(--t-label); letter-spacing: .06em; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; text-transform: uppercase; }
.brandline { font-family: var(--serif); font-size: 1.35rem; color: var(--ink); }

/* SERVICES */
.page-head { padding-block: 2rem 1rem; display: grid; gap: .7rem; }
.page-head h1 { font-size: clamp(2.2rem, 6vw, 3.25rem); }
.page-head p { max-width: 62ch; color: var(--ink-2); }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; counter-reset: step; grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr)); }
.steps li { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--rule); border-radius: var(--r-md); padding: 1rem; display: grid; gap: .35rem; }
.steps li::before { content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 1.5rem; color: var(--accent-text); }
.steps b { font-size: var(--t-body); }
.steps span { font-size: var(--t-sm); color: var(--ink-2); }
.svc-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr)); }
.svc { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; display: grid; grid-template-rows: auto 1fr; scroll-margin-top: 90px; }
.svc .img { aspect-ratio: 3 / 2; overflow: hidden; max-width: 100%; background: var(--surface-2); }
.svc .img img { width: 100%; height: 100%; object-fit: cover; }
.svc .img svg { width: 100%; height: 100%; }
.svc .body { padding: 1.05rem; display: grid; gap: .6rem; align-content: start; }
.svc h3 { font-size: 1.35rem; }
.svc p { font-size: var(--t-sm); color: var(--ink-2); }
.svc ul, .feat-list { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: .35rem; }
.svc .svc-more { font-weight: 700; font-size: var(--t-sm); text-decoration: none; }
.svc .svc-more:hover { text-decoration: underline; }
.svc li, .feat-list li { font-size: var(--t-label); font-weight: 700; background: var(--surface-2); padding: .3rem .55rem; border-radius: 3px; }
.svc .actions { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .2rem; }
.pkg-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); }
.pkg { border-radius: var(--r-lg); padding: 1.2rem; border: 1px solid var(--line); background: var(--surface); display: grid; gap: .6rem; align-content: start; }
.pkg h3 { font-size: 1.5rem; }
.pkg.feature { background: var(--band); color: var(--band-ink); border-color: transparent; }
.pkg.feature .eyebrow { color: var(--lime); }
.pkg.feature li { color: var(--band-muted); }
.pkg ul { margin: 0; padding-left: 1.1rem; display: grid; gap: .25rem; font-size: var(--t-sm); }


/* 3D Before You Build: home band, service-card rows and the video dialog */
.promo3d { margin-top: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.p3-top { display: grid; gap: 1.5rem; padding: 1.25rem; }
.p3-copy { display: grid; gap: .9rem; align-content: center; min-width: 0; }
.p3-copy h2 { font-size: var(--t-h2); }
.p3-copy .lede { color: var(--ink-2); max-width: 56ch; }
.p3-offer { display: inline-flex; width: fit-content; align-items: center; gap: .4rem; padding: .3rem .7rem; border-radius: 999px; background: var(--charcoal); color: var(--lime); font-size: var(--t-label); font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.p3-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .5rem; counter-reset: p3; }
.p3-steps li { counter-increment: p3; display: grid; grid-template-columns: 2rem minmax(0, 1fr); gap: .65rem; align-items: center; font-weight: 700; }
.p3-steps li::before { content: counter(p3); width: 2rem; height: 2rem; border-radius: 50%; display: grid; place-items: center; background: var(--charcoal); color: var(--lime); font-family: var(--serif); font-size: 1.05rem; }
.p3-actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.p3-actions .phone-line { font-size: var(--t-sm); font-weight: 700; }
.p3-disclose { font-size: var(--t-label); color: var(--ink-2); max-width: 46ch; margin: 0; }
.p3-media { display: grid; gap: .7rem; justify-items: center; align-content: start; }
.p3-video { position: relative; width: min(100%, 300px); aspect-ratio: 9 / 16; border-radius: var(--r-lg); overflow: hidden; background: var(--charcoal); box-shadow: var(--shadow); }
.p3-video video { display: block; width: 100%; height: 100%; object-fit: cover; }
.p3-media .p3-disclose { text-align: center; width: min(100%, 300px); }
/* Green Lion Design Studio credit beside the 3D disclosure line: the studio's stacked wordmark on Charcoal (clear space built in). */
.gs-credit { display: flex; align-items: center; gap: .7rem; }
.p3-media .p3-disclose.gs-credit { text-align: left; width: min(100%, 400px); }
.gs-wordmark { display: block; flex: none; height: 44px; width: auto; border-radius: 4px; }
.seg button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
.p3-gallery { border-top: 1px solid var(--line); padding: 1.25rem 0 1.25rem 1.25rem; display: grid; gap: .8rem; }
.p3-gallery .head { display: flex; justify-content: space-between; align-items: end; gap: .5rem 1rem; flex-wrap: wrap; padding-right: 1.25rem; }
.p3-gallery h3 { font-size: 1.35rem; }
.dvb-scroll { display: grid; grid-auto-flow: column; grid-auto-columns: min(64%, 240px); gap: .75rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0 1.25rem .5rem 0; scrollbar-width: thin; }
.dvb-scroll figure { margin: 0; scroll-snap-align: start; }
.dvb-scroll img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-md); background: var(--surface-2); }
@media (min-width: 900px) {
  .p3-top { grid-template-columns: minmax(0, 1fr) auto; padding: 2rem; gap: 2.5rem; }
  .p3-gallery { padding: 1.5rem 0 1.5rem 2rem; }
  .p3-gallery .head { padding-right: 2rem; }
  .dvb-scroll { grid-auto-columns: 232px; padding-right: 2rem; }
}
.svc-3d { display: grid; grid-template-columns: 58px minmax(0, 1fr); gap: .75rem; align-items: center; padding: .6rem; border-radius: var(--r-md); background: var(--surface-2); }
.svc-3d-thumb { position: relative; display: block; padding: 0; border: 0; border-radius: 6px; overflow: hidden; aspect-ratio: 9 / 16; cursor: pointer; background: var(--charcoal); }
.svc-3d-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.svc-3d-thumb .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 28px; height: 28px; border-radius: 50%; background: var(--leaf); color: var(--charcoal); display: grid; place-items: center; }
.svc-3d-thumb .play svg { width: 12px; height: 12px; margin-left: 2px; }
.svc-3d .k { font-size: var(--t-label); font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-text); }
.svc .svc-3d p { color: var(--ink); }
.svc-3d > div { display: grid; gap: .2rem; min-width: 0; }
.link-btn { justify-self: start; border: 0; background: none; padding: 0; font: inherit; font-size: var(--t-sm); font-weight: 700; color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; cursor: pointer; text-align: left; }
dialog.video-mode { width: min(860px, calc(100vw - 24px)); }
.dlg-vid { background: var(--charcoal); display: grid; place-items: center; }
.dlg-vid video { display: block; height: min(62dvh, 640px); max-width: 100%; aspect-ratio: 9 / 16; background: var(--charcoal); }
@media (min-width: 760px) {
  dialog.video-mode #dlg-content { display: grid; grid-template-columns: auto minmax(0, 1fr); }
  dialog.video-mode .dlg-vid video { height: min(82dvh, 700px); }
  dialog.video-mode .dlg-body { align-content: center; padding: 2rem; }
}

/* Services: a measured plan, then the same yard in 3D */
.dc-grid { display: grid; gap: 1rem; }
@media (min-width: 960px) { .dc-grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); align-items: start; } }
.dc-card { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: .8rem; display: grid; gap: .7rem; align-content: start; min-width: 0; }
.dc-zoom { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.dc-zoom img { display: block; width: 100%; height: auto; border-radius: var(--r-md); background: var(--surface-2); }
.dc-card figcaption, .dc-label { margin: 0; font-size: var(--t-sm); color: var(--ink-2); }
.dc-card figcaption b, .dc-label b { display: block; color: var(--ink); font-size: var(--t-body); margin-bottom: .2rem; }
.dc-renders { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .55rem; }
.dc-renders .dc-zoom img { aspect-ratio: 16 / 9; object-fit: cover; }
.dc-cta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; justify-content: space-between; margin-top: 1rem; }

/* Gallery: a row-by-row grid, so the lead photos sit in the top row */
.gal-filter { display: flex; gap: .4rem; overflow-x: auto; scrollbar-width: none; padding-bottom: .25rem; margin-bottom: 1.1rem; }
.gal-filter .chip { white-space: nowrap; flex: none; }
.gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .65rem; }
@media (min-width: 720px) { .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem .9rem; } }
@media (min-width: 1200px) { .gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.gal-item { display: block; width: 100%; min-width: 0; margin: 0; padding: 0; border: 0; background: none; cursor: pointer; text-align: left; color: var(--ink); }
.gal-item img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-md); background: var(--surface-2); }
.gal-grid.tall .gal-item img { aspect-ratio: 4 / 5; }
.gal-item span { display: block; padding: .35rem .1rem 0; font-size: var(--t-label); font-weight: 700; color: var(--ink-2); }
.gal-item:hover img { filter: brightness(1.05); }
.gal-cta { margin-top: 2rem; padding: 1.4rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line); display: grid; gap: 1rem; }
.gal-cta h2 { font-size: var(--t-sub); }
.gal-cta p { color: var(--ink-2); font-size: var(--t-sm); }
.gal-cta .actions { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
@media (min-width: 900px) { .gal-cta { grid-template-columns: 1fr auto; align-items: center; } }
.dlg-photo { background: var(--charcoal); display: grid; place-items: center; }
.dlg-photo img { display: block; max-width: 100%; max-height: 72dvh; width: auto; height: auto; }

/* Deep green accent blocks */
.showcase, .lisa-band, .consult-band, .pkg.feature {
  background: var(--deep); color: #F5F2EA; border-color: transparent;
  --band-ink: #F5F2EA; --band-muted: #D7DECF; --band-line: rgba(245, 242, 234, .18); --band-outline: rgba(245, 242, 234, .45); --band-accent: #AFE414; --rule: #AFE414;
}
.consult-band p, .pkg.feature li { color: #D7DECF; }

/* Charcoal Split theme: Charcoal chrome (the guide's preferred logo background), split home hero,
   Leaf green buttons with Charcoal text, Lime italic accent. Content sections stay light. */
.topbar, .infobar, .tabbar, .footer, .hero {
  --ink: #F5F2EA; --ink-2: #B6AEA1; --line: #3A3F3B; --surface: #202321; --surface-2: #2E322F; --accent-text: #AFE414;
  --band: #202321; --band-2: #2E322F; --band-ink: #F5F2EA; --band-muted: #D8D3C6; --band-line: rgba(245, 242, 234, .16); --band-outline: rgba(245, 242, 234, .5); --band-accent: #7DC00F; --rule: #7DC00F;
}
body::before { background: var(--charcoal); }
.infobar { background: #171A18; border-bottom-color: #2E322F; }
.topbar { background: var(--charcoal); border-bottom: 3px solid var(--leaf); }
.topnav a { text-transform: uppercase; letter-spacing: .12em; font-size: var(--t-label); }
.tabbar { background: var(--charcoal); border-top-color: #2E322F; box-shadow: none; }
.tabbar a[aria-current="page"] { color: var(--leaf); }
.tabbar .tab-call { color: var(--ink); }
.footer { background: var(--charcoal); }
.hero em.accent { color: var(--lime); }
.hero .dots button { background: rgba(245, 242, 234, .25); }
.hero .dots button[aria-current="true"] { background: var(--leaf); }
.hero .arrows button { background: #2E322F; color: var(--warm); }
.hero { border-bottom: 3px solid var(--leaf); }
.hero .btn, .topbar .btn, .head-actions .btn { text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-label); border-radius: 2px; }
.hero-split .hero-cta > div:first-child { display: none !important; }  /* the lede already says this; keeps the gallery close to the buttons */
.hero-split .hero-cta { border-top: 0; padding-top: 0; }
/* Split layout: copy on the left, the water-feature gallery fills the right */
@media (min-width: 960px) {
  .hero { padding-block: 0; }
  .hero-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 0; align-items: stretch; }
  .hero-copy { padding: 3.5rem 3rem 3rem 0; border-right: 3px solid var(--leaf); display: flex; flex-direction: column; justify-content: center; }
  .hero-copy h1 { font-size: clamp(3rem, 4.6vw, 4.4rem); line-height: 1.02; }
  .hero-media { padding: 2rem 0 1.5rem 2rem; min-width: 0; }
  .hero-media .carousel { margin-top: 0; }
  .hero-media .track { grid-auto-columns: 100%; }
  .hero-media .wf-card { aspect-ratio: 4 / 4.2; }
  .hero-split .hero-cta { grid-template-columns: 1fr; border-top: 0; padding-top: 0; margin-top: 2rem; }
}

/* Phones and tablets: one-screen app. Header and navigation stay put; only the content scrolls. */
@media (max-width: 1199px) {
  html, body { height: 100%; }
  body { overflow: hidden; }
  .infobar { display: none; }
  .topbar { position: relative; top: auto; }
  .scroller { min-height: 0; overflow-y: auto; overscroll-behavior-y: contain; -webkit-overflow-scrolling: touch; }
  .tabbar { position: relative; padding-bottom: 0; }
  .footer { padding-bottom: 2.25rem; }
}
/* Phones: bottom tab bar */
@media (max-width: 767px) {
  body { display: flex; flex-direction: column; }
  .topbar, .tabbar { flex: none; }
  .scroller { flex: 1 1 auto; }
}
/* Tablets: side rail */
@media (min-width: 768px) and (max-width: 1199px) {
  body { display: grid; grid-template-columns: 104px minmax(0, 1fr); grid-template-rows: auto minmax(0, 1fr); }
  .topbar { grid-column: 1 / -1; grid-row: 1; }
  .scroller { grid-column: 2; grid-row: 2; }
  .tabbar { grid-column: 1; grid-row: 2; border-top: 0; border-right: 1px solid var(--line); box-shadow: none; padding: 16px 8px; padding-left: max(8px, env(safe-area-inset-left, 0px)); overflow-y: auto; }
  .tabbar ul { grid-template-columns: 1fr; height: auto; max-width: none; align-items: stretch; gap: 6px; }
  .tabbar a { height: auto; padding: 12px 4px; border-radius: 10px; font-size: .75rem; text-align: center; }
  .tabbar a[aria-current="page"] { background: var(--surface-2); }
  .tabbar .tab-call { justify-content: center; padding: 12px 4px; }
  .tabbar .tab-call .orb { width: 54px; height: 54px; margin-top: 0; border-width: 3px; }
  .head-book { display: inline-flex; }
}

/* Dialog + toast */
dialog { border: 0; padding: 0; border-radius: var(--r-lg); width: min(760px, calc(100vw - 24px)); max-height: calc(100dvh - 32px); background: var(--surface); color: var(--ink); box-shadow: var(--shadow); }
dialog::backdrop { background: rgba(32, 35, 33, .65); }
.dlg-img { aspect-ratio: 16 / 9; overflow: hidden; max-width: 100%; }
.dlg-img img { width: 100%; height: 100%; object-fit: cover; }
.dlg-body { padding: 1.25rem; display: grid; gap: .85rem; }
.dlg-body h2 { font-size: clamp(1.7rem, 5vw, 2.3rem); }
.dlg-body h3 { font-size: 1.25rem; margin-top: .4rem; }
.dlg-body .prose-col { max-width: 64ch; display: grid; gap: .8rem; }
.dlg-close { position: absolute; right: 10px; top: 10px; width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(32, 35, 33, .78); color: #F5F2EA; cursor: pointer; display: grid; place-items: center; font-size: 1.2rem; }
.dlg-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.dlg-gallery img { aspect-ratio: 4 / 3; object-fit: cover; border-radius: 6px; width: 100%; }
.dlg-gallery img:last-child:nth-child(odd) { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.toast { position: fixed; left: 50%; transform: translateX(-50%); bottom: calc(var(--tabbar-h) + 20px + env(safe-area-inset-bottom, 0px)); z-index: 70; background: var(--charcoal); color: #F5F2EA; padding: .65rem 1rem; border-radius: var(--r-sm); font-size: var(--t-sm); font-weight: 700; box-shadow: var(--shadow); border-left: 3px solid var(--leaf); }
@media (min-width: 768px) { .toast { bottom: 28px; } }

/* ---------- Water features hub and city pages (/water-features, /water-features/tracy, /modesto, /turlock) ----------
   One structure, three looks: Tracy is dark, modern and spacious; Modesto is warm and natural with rounded shapes;
   Turlock is charcoal and centered, with the natural and modern paths side by side. */
.cp-crumbs { display: flex; flex-wrap: wrap; gap: .4rem; font-size: var(--t-label); letter-spacing: .04em; color: var(--ink-2); }
.cp-crumbs a { color: inherit; text-decoration: none; border-bottom: 1px solid transparent; }
.cp-crumbs a:hover { border-bottom-color: currentColor; }
.cp-crumbs [aria-current] { color: var(--ink); font-weight: 700; }
.cp-crumbs.on-dark { color: rgba(245, 242, 234, .75); }
.cp-crumbs.on-dark [aria-current] { color: #F5F2EA; }
.cp-faq { padding-block: 3rem 2rem; }
.cp-faq-list { display: grid; border-top: 1px solid var(--line); max-width: 860px; }
.cp-faq details { border-bottom: 1px solid var(--line); }
.cp-faq summary { list-style: none; cursor: pointer; padding: 1.05rem 2.5rem 1.05rem 0; position: relative; font-family: var(--serif); font-size: 1.2rem; line-height: 1.3; color: var(--ink); }
.cp-faq summary::-webkit-details-marker { display: none; }
.cp-faq summary::after { content: "+"; position: absolute; right: .25rem; top: .8rem; font-family: var(--sans); font-size: 1.5rem; line-height: 1; color: var(--accent-text); transition: transform .2s ease; }
.cp-faq details[open] summary::after { transform: rotate(45deg); }
.cp-faq details p { margin: 0 0 1.15rem; max-width: 68ch; color: var(--ink-2); }
.cp-faq details a { font-weight: 700; }
.cp-cities { display: flex; flex-wrap: wrap; gap: .5rem 1.1rem; align-items: center; padding-block: 1.5rem 2rem; font-size: var(--t-sm); }
.cp-cities span { color: var(--ink-2); }
.cp-cities a { font-weight: 700; }
.city .actions { display: flex; gap: .6rem; flex-wrap: wrap; }
.ct-more, .cm-more { margin-top: 1.25rem; }

/* Hub */
.hub-cities { display: grid; gap: 1rem; padding-block: .5rem 1rem; }
@media (min-width: 820px) { .hub-cities { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.hub-city { position: relative; display: block; border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 3; color: #F5F2EA; text-decoration: none; background: var(--charcoal); }
.hub-city img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hub-city:hover img { transform: scale(1.03); }
.hub-city span { position: absolute; inset: auto 0 0; padding: 3rem 1rem 1rem; background: linear-gradient(180deg, transparent, rgba(20, 22, 21, .88)); display: grid; gap: .2rem; }
.hub-city small { color: var(--lime); text-transform: uppercase; letter-spacing: .14em; font-size: var(--t-label); font-weight: 700; }
.hub-city b { font-family: var(--serif); font-weight: 400; font-size: 1.45rem; line-height: 1.15; }
.hub-city em { font-style: normal; color: #D8D3C6; font-size: var(--t-sm); }
.hub-style-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); }
.hub-style-grid > div { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 1.1rem 1.2rem; }
.hub-style-grid b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; display: block; margin-bottom: .45rem; }
.hub-style-grid p { color: var(--ink-2); }

/* Tracy: modern and upscale. Full-bleed photo, big serif type, square corners, a charcoal band. */
.ct-hero { position: relative; min-height: clamp(460px, 74vh, 760px); display: flex; align-items: flex-end; color: #F5F2EA; background: var(--charcoal); overflow: hidden; border-bottom: 3px solid var(--leaf);
  --band-ink: #F5F2EA; --band-outline: rgba(245, 242, 234, .6); --band-accent: #AFE414; --rule: #7DC00F; }
.ct-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.ct-hero-shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(20, 22, 21, .2) 0%, rgba(20, 22, 21, .35) 40%, rgba(20, 22, 21, .9) 100%); }
.ct-hero-copy { position: relative; padding-block: 2.5rem 2.75rem; display: grid; gap: .85rem; }
.ct-hero h1 { font-size: clamp(2.6rem, 7vw, 4.6rem); line-height: 1.02; max-width: 14ch; letter-spacing: -.01em; }
.ct-hero .lede { max-width: 48ch; color: #E4DFD3; font-size: 1.0625rem; }
.ct-hero .actions { margin-top: .4rem; }
.ct-hero .btn, .cl-hero .btn { text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-label); border-radius: 2px; }
.ct-intro { padding-block: 3.5rem 1rem; display: grid; gap: 1.25rem; }
.ct-statement { font-family: var(--serif); font-size: clamp(1.6rem, 3.6vw, 2.4rem); line-height: 1.2; color: var(--ink); max-width: 22ch; }
.ct-intro p:not(.ct-statement) { color: var(--ink-2); max-width: 68ch; }
@media (min-width: 960px) { .ct-intro { grid-template-columns: 1fr 1fr; gap: 3rem; align-items: start; } }
.ct-head { display: grid; gap: .55rem; margin-bottom: 1.5rem; }
.ct-head h2 { font-size: clamp(1.9rem, 4.4vw, 2.75rem); letter-spacing: -.01em; }
.ct-styles { padding-block: 2.5rem; scroll-margin-top: 90px; }
.ct-style-grid { display: grid; gap: 1.75rem; }
@media (min-width: 760px) { .ct-style-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; } }
.ct-style { margin: 0; display: grid; gap: .85rem; align-content: start; }
.ct-img { display: block; width: 100%; padding: 0; border: 0; background: var(--surface-2); cursor: zoom-in; overflow: hidden; border-radius: 2px; }
.ct-img img { width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; transition: transform .5s ease; }
.ct-img:hover img { transform: scale(1.03); }
.ct-style figcaption { display: grid; gap: .3rem; color: var(--ink-2); font-size: var(--t-sm); }
.ct-style figcaption b { font-family: var(--serif); font-weight: 400; font-size: 1.4rem; color: var(--ink); }
.ct-also { margin-top: 1.5rem; color: var(--ink-2); }
.ct-also a { font-weight: 700; }
.ct-band { background: var(--charcoal); color: #F5F2EA; margin-top: 1.5rem;
  --band-ink: #F5F2EA; --band-outline: rgba(245, 242, 234, .5); --band-accent: #AFE414; --rule: #7DC00F; }
.ct-band-grid { padding-block: 3.25rem; display: grid; gap: 2rem; }
.ct-band h2 { font-size: clamp(1.9rem, 4.4vw, 2.75rem); margin: .6rem 0 .9rem; max-width: 18ch; }
.ct-band p { color: #D8D3C6; max-width: 58ch; }
.ct-band .actions { margin-top: 1.25rem; }
.ct-links { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(245, 242, 234, .18); align-self: center; }
.ct-links li { border-bottom: 1px solid rgba(245, 242, 234, .18); }
.ct-links a { display: flex; justify-content: space-between; gap: 1rem; padding: .95rem 0; color: #F5F2EA; text-decoration: none; font-family: var(--serif); font-size: 1.2rem; }
.ct-links a:hover { color: var(--lime); }
@media (min-width: 960px) { .ct-band-grid { grid-template-columns: 1.2fr 1fr; gap: 4rem; padding-block: 4.5rem; } }
.ct-gallery { padding-block: 3.5rem 1rem; }
.ct-gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .65rem; }
.ct-gal-grid .gal-item img { border-radius: 2px; }
.ct-gal-grid .ct-wide { grid-column: span 2; }
.ct-gal-grid .ct-wide img { aspect-ratio: 16 / 9; }
@media (min-width: 900px) { .ct-gal-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.1rem .9rem; } .ct-gal-grid .ct-wide img { aspect-ratio: 8 / 3; } }
.ct-faq { padding-block: 3.5rem 2rem; }
@media (min-width: 960px) { .ct-faq { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); gap: 3rem; align-items: start; } .ct-faq .ct-head { position: sticky; top: 1rem; } }

/* Modesto: natural and warm. Light hero with rounded, overlapping photos; soft cards; a deep green "around the water" band. */
.cm-hero { background: var(--warm); border-bottom: 1px solid var(--line); overflow: hidden; }
.cm-hero-grid { display: grid; gap: 1.75rem; padding-block: 1.75rem 2.5rem; }
.cm-hero-copy { display: grid; gap: .85rem; align-content: center; }
.cm-hero h1 { font-size: clamp(2.4rem, 6.4vw, 4rem); line-height: 1.04; color: var(--deep); max-width: 15ch; }
.cm-hero .lede { color: var(--ink-2); max-width: 52ch; font-size: 1.0625rem; }
.cm-hero .actions { margin-top: .3rem; }
.cm-hero-media { position: relative; min-height: 320px; }
.cm-photo { position: absolute; padding: 0; border: 0; cursor: zoom-in; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.cm-photo img { width: 100%; height: 100%; object-fit: cover; }
.cm-photo-a { inset: 0 18% 12% 0; }
.cm-photo-b { width: 38%; aspect-ratio: 3 / 4; right: 0; bottom: 0; border: 5px solid var(--warm); }
@media (min-width: 900px) { .cm-hero-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3rem; padding-block: 3rem 3.5rem; } .cm-hero-media { min-height: 460px; } }
.cm-head { display: grid; gap: .55rem; margin-bottom: 1.4rem; }
.cm-head h2 { font-size: var(--t-h2); color: var(--deep); }
.cm-head p { color: var(--ink-2); max-width: 60ch; }
.cm-choose { padding-block: 3rem 1.5rem; scroll-margin-top: 90px; }
.cm-choose-grid { display: grid; gap: 1.25rem; }
@media (min-width: 760px) { .cm-choose-grid { grid-template-columns: 1fr 1fr; } }
.cm-card { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: grid; grid-template-rows: auto 1fr; }
.cm-card-img img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.cm-card-body { padding: 1.25rem 1.35rem 1.4rem; display: grid; gap: .6rem; align-content: start; }
.cm-card h3 { font-size: 1.6rem; font-weight: 400; color: var(--deep); }
.cm-card p { color: var(--ink-2); }
.cm-card ul { margin: .2rem 0 0; padding: 0; list-style: none; display: grid; gap: .45rem; }
.cm-card li { padding-left: 1.5rem; position: relative; }
.cm-card li::before { content: ""; position: absolute; left: 0; top: .42em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--leaf); }
.cm-build { padding-block: 2rem 1rem; }
.cm-build-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
@media (min-width: 760px) { .cm-build-list { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1100px) { .cm-build-list { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cm-build-list li { display: grid; grid-template-columns: 84px 1fr; gap: 1rem; align-items: center; background: var(--warm); border-radius: 16px; padding: .75rem; }
.cm-build-list img { width: 84px; height: 84px; border-radius: 50%; object-fit: cover; }
.cm-build-list b { display: block; font-family: var(--serif); font-weight: 400; font-size: 1.25rem; color: var(--deep); }
.cm-build-list span { color: var(--ink-2); font-size: var(--t-sm); }
.cm-gallery { padding-block: 2.5rem 1rem; }
.cm-gallery .gal-item img { border-radius: 16px; }
@media (min-width: 1200px) { .cm-gallery .gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.cm-around { background: var(--deep); color: #F5F2EA; margin-top: 2.5rem; --accent-text: #AFE414; --rule: #AFE414; }
.cm-around-grid { display: grid; gap: 1.75rem; padding-block: 3rem; align-items: center; }
.cm-around-img img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; }
.cm-around h2 { font-size: var(--t-h2); margin: .6rem 0 .8rem; }
.cm-around p { color: #D7DECF; max-width: 56ch; }
.cm-around-links { list-style: none; padding: 0; margin: 1.1rem 0 0; display: grid; gap: .55rem; }
.cm-around-links a { color: #AFE414; font-weight: 700; }
@media (min-width: 900px) { .cm-around-grid { grid-template-columns: 1fr 1fr; gap: 3.5rem; padding-block: 4rem; } }
.cm-faq .cp-faq-list { border-top: 0; gap: .6rem; }
.cm-faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 1.15rem; }
.cm-faq summary { color: var(--deep); }

/* Turlock: elegant and balanced. Centered charcoal hero, natural and modern paths side by side, fine rules. */
.cl-hero { background: var(--charcoal); color: #F5F2EA; border-bottom: 3px solid var(--leaf);
  --band-ink: #F5F2EA; --band-outline: rgba(245, 242, 234, .5); --band-accent: #7DC00F; --rule: #7DC00F; }
.cl-hero > .wrap { padding-block: 2rem 2.5rem; display: grid; gap: 2rem; }
.cl-hero-copy { display: grid; gap: .85rem; justify-items: center; text-align: center; max-width: 860px; margin-inline: auto; }
.cl-hero .cp-crumbs { justify-content: center; }
.cl-hero .eyebrow::after, .cl-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--rule); flex: none; }
.cl-hero h1 { font-size: clamp(2.3rem, 5.6vw, 3.9rem); line-height: 1.06; }
.cl-hero .lede { color: #D8D3C6; max-width: 56ch; font-size: 1.0625rem; }
.cl-hero .actions { justify-content: center; }
.cl-paths { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.cl-path { position: relative; display: block; overflow: hidden; border-radius: 2px; text-decoration: none; color: #F5F2EA; aspect-ratio: 4 / 5; background: #2E322F; }
@media (min-width: 760px) { .cl-path { aspect-ratio: 16 / 10; } }
.cl-path img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.cl-path:hover img { transform: scale(1.03); }
.cl-path span { position: absolute; inset: auto 0 0 0; padding: 2.5rem .9rem .9rem; background: linear-gradient(180deg, transparent, rgba(20, 22, 21, .85)); display: grid; gap: .15rem; }
.cl-path small { font-size: var(--t-label); text-transform: uppercase; letter-spacing: .14em; color: var(--lime); font-weight: 700; }
.cl-path b { font-family: var(--serif); font-weight: 400; font-size: clamp(1.05rem, 2.6vw, 1.5rem); line-height: 1.2; }
.cl-two { display: grid; gap: 2.5rem; padding-block: 3.5rem 1.5rem; }
@media (min-width: 860px) { .cl-two { grid-template-columns: 1fr 1fr; gap: 0; } .cl-col:first-child { padding-right: 3rem; } .cl-col + .cl-col { border-left: 1px solid var(--line); padding-left: 3rem; } }
.cl-col { display: grid; gap: .75rem; align-content: start; scroll-margin-top: 90px; }
.cl-col h2 { font-size: clamp(1.8rem, 3.8vw, 2.5rem); }
.cl-col > p:not(.eyebrow) { color: var(--ink-2); }
.cl-list { list-style: none; margin: .25rem 0; padding: 0; border-top: 1px solid var(--line); }
.cl-list li { padding: .7rem 0; border-bottom: 1px solid var(--line); color: var(--ink-2); }
.cl-list b { color: var(--ink); }
.cl-more { font-weight: 700; text-decoration: none; }
.cl-head { display: grid; gap: .55rem; margin-bottom: 1.4rem; justify-items: center; text-align: center; }
.cl-head .eyebrow { justify-content: center; }
.cl-head h2 { font-size: var(--t-h2); }
.cl-gallery { padding-block: 2.5rem 1rem; }
.cl-gal-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem .65rem; }
@media (min-width: 900px) { .cl-gal-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.1rem .9rem; } }
.cl-gal-grid .gal-item img { border-radius: 2px; }
.cl-whole { background: var(--warm); border-block: 1px solid var(--line); margin-top: 2.5rem; }
.cl-whole-grid { display: grid; gap: 2rem; padding-block: 3rem; align-items: center; }
.cl-whole h2 { font-size: var(--t-h2); margin: .6rem 0 .8rem; }
.cl-whole p { color: var(--ink-2); max-width: 56ch; }
.cl-whole .actions { margin-top: 1.25rem; }
.cl-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
@media (min-width: 960px) { .cl-whole-grid { grid-template-columns: 1fr 1.1fr; gap: 3.5rem; } }
.cl-faq { display: grid; justify-items: center; }
.cl-faq .cp-faq-list { width: 100%; }

/* Phones: a heavier, clearer bottom tab bar (owner request, Nov 21, 2026). A Leaf green top rule matches the header's,
   the bar sits a shade darker than the page's Charcoal so it reads as its own layer, and the strip under it (the
   iPhone home-indicator area) takes the bar's color so the bar runs to the bottom edge. */
@media (max-width: 767px) {
  :root { --tabbar-h: 80px; }
  html { background: #151816; }
  /* Bottom padding keeps the labels off the screen edge and clear of Safari's toolbar (12 px plus the home-indicator inset). */
  .tabbar { background: #151816; border-top: 3px solid var(--leaf); box-shadow: 0 -10px 24px rgba(0, 0, 0, .28); padding-top: 4px; padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)); }
  .tabbar a { gap: 4px; color: #E4DFD3; font-size: .78rem; letter-spacing: .01em; }
  .tabbar a svg { width: 27px; height: 27px; }
  .tabbar a[aria-current="page"] { color: var(--lime); }
  .tabbar a[aria-current="page"] svg { box-sizing: content-box; padding: 4px 16px; border-radius: 999px; background: rgba(125, 192, 15, .2); }
  .tabbar .tab-call { color: #F5F2EA; }
  .tabbar .tab-call .orb { width: 62px; height: 62px; margin-top: -30px; border-color: #151816; box-shadow: 0 4px 16px rgba(125, 192, 15, .45); }
  .tabbar .tab-call .orb svg { width: 28px; height: 28px; }
}

/* My Project: coming-soon page (/my-project) until the client portal is ready. */
.mp-hero { background: var(--charcoal); color: #F5F2EA; border-bottom: 3px solid var(--leaf); min-height: 100%;
  --band-ink: #F5F2EA; --band-outline: rgba(245, 242, 234, .55); --band-accent: #AFE414; --rule: #7DC00F; }
.mp-grid { display: grid; gap: 2rem; padding-block: 2.75rem 3rem; align-items: center; }
.mp-copy { display: grid; gap: 1rem; justify-items: start; }
.mp-badge { display: inline-flex; align-items: center; gap: .5rem; padding: .35rem .8rem; border-radius: 999px; border: 1px solid rgba(175, 228, 20, .45); background: rgba(125, 192, 15, .14); color: var(--lime); font-size: var(--t-label); font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.mp-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); animation: mp-pulse 1.8s ease-in-out infinite; }
@keyframes mp-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .35; transform: scale(.7); } }
@media (prefers-reduced-motion: reduce) { .mp-dot { animation: none; } }
.mp-hero h1 { font-size: clamp(2.5rem, 6.6vw, 4.2rem); line-height: 1.04; max-width: 13ch; }
.mp-hero .lede { color: #D8D3C6; max-width: 46ch; font-size: 1.125rem; }
.mp-hero .actions { margin-top: .4rem; }
.mp-hero .btn { text-transform: uppercase; letter-spacing: .1em; font-size: var(--t-label); border-radius: 2px; }
.mp-note { color: #B6AEA1; font-size: var(--t-sm); }
.mp-media { margin: 0; display: grid; gap: .6rem; }
.mp-media img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); box-shadow: 0 18px 40px rgba(0, 0, 0, .35); }
.mp-media figcaption { color: #B6AEA1; font-size: var(--t-label); letter-spacing: .06em; }
@media (min-width: 960px) { .mp-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 3.5rem; padding-block: 4.5rem; } }
.mp-tiles { display: grid; gap: .9rem; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.mp-tiles .hub-city { aspect-ratio: 4 / 5; }
.mp-tiles .hub-city b { font-size: 1.25rem; }
@media (min-width: 900px) { .mp-tiles { grid-template-columns: repeat(4, minmax(0, 1fr)); } .mp-tiles .hub-city { aspect-ratio: 3 / 4; } }
.mp-hero { min-height: 0; }

/* Free 3D offer fine print (owner, Nov 21, 2026): every "free 3D" mention carries an asterisk and this note. */
.offer-note { font-size: var(--t-label); color: var(--ink-2); }
.svc-3d .offer-note { display: block; margin-top: .2rem; }
.p3-copy .offer-note { margin-top: -.25rem; }

/* Blog: /blog (every post, by category) and /blog/<slug> (one post). Built by tools/blog.py. */
.blog-cats { display: flex; flex-wrap: wrap; gap: .5rem; margin: .5rem 0 1rem; }
.blog-cats .chip { text-decoration: none; }
.blog-cats .chip span { color: var(--ink-2); font-weight: 400; }
.blog-latest, .blog-cat { padding-block: 1.5rem; scroll-margin-top: 90px; }
.blog-grid { display: grid; gap: 1rem; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); }
.blog-card { display: grid; grid-template-rows: auto 1fr; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; text-decoration: none; color: var(--ink); transition: box-shadow .2s ease; }
.blog-card:hover { box-shadow: var(--shadow); }
.blog-card img { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; }
.blog-card-body { display: grid; gap: .35rem; padding: .95rem 1rem 1.1rem; align-content: start; }
.blog-card small { font-size: var(--t-label); font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent-text); }
.blog-card b { font-family: var(--serif); font-weight: 400; font-size: 1.3rem; line-height: 1.2; }
.blog-card em { font-style: normal; color: var(--ink-2); font-size: var(--t-sm); }
.bp { max-width: 760px; padding-block: 1.75rem 1rem; display: grid; gap: 1.1rem; }
.bp-head { display: grid; gap: .6rem; }
.bp-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.1rem); line-height: 1.08; }
.bp-hero { margin: 0; }
.bp-hero img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--r-lg); }
.bp-answer { background: var(--warm); border-left: 4px solid var(--leaf); border-radius: var(--r-md); padding: 1rem 1.15rem; display: grid; gap: .4rem; }
.bp-answer p:last-child { font-size: 1.0625rem; color: var(--ink); }
.bp-body { margin-top: 0; max-width: none; }
.bp-body h2 { font-size: clamp(1.45rem, 3.4vw, 1.8rem); margin-top: .9rem; }
.bp-body ul, .bp-body ol { margin: 0; padding-left: 1.3rem; display: grid; gap: .45rem; }
.bp-body li::marker { color: var(--leaf); font-weight: 700; }
.bp-body a { font-weight: 700; }
.bp-sources { border-top: 1px solid var(--line); padding-top: 1rem; display: grid; gap: .5rem; }
.bp-sources h2 { font-size: 1.2rem; }
.bp-sources ul { margin: 0; padding-left: 1.2rem; display: grid; gap: .3rem; font-size: var(--t-sm); }
.bp-more { padding-block: 2rem 2.5rem; }
