/* =====================================================================
   Redesign layer (loaded after styles.css on every page).
   Mix of the current site with the Norfolk, GreenCraft, Yardscape and
   Garden Framer templates: floating pill menu, full-screen hero in a thin
   rounded frame, rounded cards, arrow buttons, calm spacing.
   Brand stays light with Get Good cyan + navy and Inter Tight / Inter.
   ===================================================================== */

:root {
  --frame: 12px;            /* white border around the hero */
  --frame-r: 26px;          /* hero corner radius */
  --card-r: 20px;
  --pill-h: 62px;
  --warm: #f6f4ef;          /* soft off-white section background */
}
@media (max-width: 760px) { :root { --frame: 8px; --frame-r: 20px; --card-r: 16px; --pill-h: 56px; } }

/* ---------- Floating pill menu (every page) ---------- */
.site-header,
.site-header.on-light,
.site-header.solid { background: transparent !important; box-shadow: none !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border: 0; }
.site-header { pointer-events: none; }
.site-header > * { pointer-events: auto; }
.site-header .header-inner {
  width: calc(100% - 2 * (var(--frame) + 14px)); max-width: 1240px;
  height: var(--pill-h); margin: calc(var(--frame) + 10px) auto 0;
  padding: 0 8px 0 18px; gap: 18px;
  border-radius: 999px; color: var(--ink);
  background: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px) saturate(1.5); backdrop-filter: blur(14px) saturate(1.5);
  box-shadow: 0 10px 30px rgba(14, 24, 34, .12), 0 0 0 1px rgba(14, 24, 34, .05);
}
.site-header .brand, .site-header .header-phone, .site-header .nav-toggle { color: var(--ink); }
.site-header .brand-text span { color: var(--cyan-600); }
.site-header .brand-mark { width: 38px; height: 38px; }
.site-header .brand-text strong { font-size: 1rem; }
.site-header .main-nav a {
  font-family: var(--font-head); font-size: .92rem; font-weight: 600; letter-spacing: -.005em; text-transform: none;
  padding: 8px 14px; border-radius: 999px; opacity: 1; color: var(--ink);
}
.site-header .main-nav a:hover { background: rgba(14, 24, 34, .06); }
.site-header .main-nav a[aria-current="page"] { background: var(--ink); color: #fff; }
.site-header .main-nav a[aria-current="page"]::after { display: none; }
.site-header .header-phone { border: 0; color: var(--ink); font-weight: 600; }
.site-header .header-phone svg { color: var(--cyan-600); }
.site-header .header-actions .btn-primary,
.site-header.on-light .header-actions .btn-primary {
  background: var(--ink); color: #fff; border: 0; height: 46px; padding: 0 20px;
  font-family: var(--font-head); font-size: .9rem; letter-spacing: 0; text-transform: none;
}
.site-header .header-actions .btn-primary:hover { background: #1d3042; }
.site-header .nav-toggle { border: 0; background: var(--ink); color: #fff; border-radius: 999px; }
html.winter .site-header .header-inner { margin-top: 10px; }
@media (max-width: 860px) {
  .site-header .header-inner { width: calc(100% - 2 * (var(--frame) + 8px)); padding: 0 6px 0 14px; }
  .site-header .header-phone { border: 0; }
  .nav-open .site-header { background: transparent; color: var(--ink); }
  .nav-open .site-header .header-inner { border-radius: 26px; }
  .main-nav { border-radius: 22px; margin: 8px calc(var(--frame) + 8px) 0; }
  .site-header .main-nav a { color: #d5dde4 !important; background: none; }
  .site-header .main-nav a[aria-current="page"] { color: var(--cyan) !important; background: none; }
  .site-header .main-nav a.nav-cta { background: var(--cyan); color: var(--ink) !important; justify-content: center; margin-top: 10px; }
}

/* Inner pages: first section clears the floating pill */
main > section:first-child { padding-top: calc(var(--pill-h) + var(--frame) + clamp(64px, 9vw, 110px)); }

/* ---------- Buttons: pills with an arrow circle ---------- */
.btn { border-radius: 999px; min-height: 50px; padding: 0 24px; gap: 10px; }
.btn-arrow { padding-right: 6px; }
.btn-arrow .arr {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%;
  background: var(--ink); color: #fff; transition: transform .2s ease;
}
.btn-arrow .arr svg { width: 18px; height: 18px; }
.btn-arrow:hover .arr { transform: translateX(3px); }
.on-dark .btn-arrow .arr, .sh .btn-arrow .arr, .quote-band .btn-arrow .arr { background: var(--ink); color: var(--cyan); }
.btn-primary:not(.on-dark *):not(.sh *) .arr { background: var(--cyan); color: var(--ink); }
.btn-glass {
  color: #fff; border: 1px solid rgba(255, 255, 255, .45);
  background: rgba(255, 255, 255, .12); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
}
.btn-glass:hover { background: rgba(255, 255, 255, .22); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); background: transparent; }
.btn-outline:hover { background: var(--ink); color: #fff; }

/* ---------- Eyebrows and section heads ---------- */
.eyebrow { font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .16em; text-transform: uppercase; color: var(--cyan-600); }
.eyebrow::before { display: none !important; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head.split { max-width: none; display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 48px; }
.section-head.split h2 { margin: 0; }
.section-head.split p { max-width: 380px; margin: 0; }
h2 { letter-spacing: -.03em; }
h2 em { font-style: normal; color: var(--cyan-600); }
.on-dark h2 em { color: var(--cyan); }

/* ---------- Hero: full screen, edge to edge ---------- */
.sh-framed { background: var(--ink); }
.sh-framed .sh-inner { padding-bottom: clamp(84px, 13vh, 130px); }
.sh-framed .sh-ch h1, .sh-framed .sh-ch .h1 { font-family: var(--font-head); font-weight: 700; letter-spacing: -.04em; font-size: clamp(3rem, 7.6vw, 7.4rem); }
.sh-framed .sh-ch h1 em, .sh-framed .sh-ch .h1 em { font-style: normal; }
.sh-framed .sh-ch .eyebrow { color: #fff; letter-spacing: .14em; }

.sh-framed .btn-primary { background: #fff; color: var(--ink); }
.sh-framed .btn-primary:hover { background: #fff; }
.sh-framed .btn-primary .arr { background: var(--ink); color: #fff; }

/* Service pages use the same frame (class added by gen-services) */
.sh-svc.sh-framed .sh-inner { padding-bottom: clamp(36px, 7vh, 70px); }

/* ---------- Three-point strip overlapping the hero (Garden) ---------- */
.points { position: relative; z-index: 4; margin-top: calc(-1 * clamp(70px, 10vh, 100px)); padding: 0 0 clamp(28px, 4vw, 44px); }
.points-card {
  list-style: none; margin: 0 auto; padding: 10px; max-width: 1080px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: #fff; border-radius: var(--card-r); box-shadow: 0 24px 60px rgba(14, 24, 34, .16);
}
.points-card li { display: flex; align-items: center; gap: 14px; padding: 16px 18px; border-radius: 14px; background: var(--warm); }
.pt-ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: var(--ink); color: var(--cyan); }
.pt-ic svg { width: 22px; height: 22px; }
.points-card strong { display: block; font-family: var(--font-head); font-size: 1.02rem; color: var(--ink); letter-spacing: -.01em; }
.points-card small { display: block; color: var(--muted); font-size: .9rem; line-height: 1.35; margin-top: 2px; }
@media (max-width: 860px) {
  .points { margin-top: -40px; }
  .points-card { grid-template-columns: 1fr; }
  .points-card li { padding: 12px 14px; }
}

/* ---------- Logo strip ---------- */
.trusted-strip { border: 0; background: transparent; padding: clamp(20px, 3vw, 36px) 0 clamp(36px, 5vw, 56px); }
.trusted-strip-head .eyebrow { color: var(--muted); }

/* ---------- Proof block (Norfolk): photo | four facts | photo ---------- */
.proof { padding-top: clamp(48px, 7vw, 90px); }
.proof .section-head p { margin-left: auto; margin-right: auto; }
.proof-grid { display: grid; grid-template-columns: 1fr 1.25fr 1fr; gap: 14px; align-items: stretch; }
/* Photos follow the height of the stat cards instead of stretching them */
.proof-ph { width: 100%; height: 0; min-height: 100%; object-fit: cover; border-radius: var(--card-r); }
.proof-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.ps { display: flex; flex-direction: column; justify-content: space-between; gap: 12px; min-height: 150px; padding: 22px; border-radius: var(--card-r); background: #fff; border: 1px solid var(--line); }
.ps strong { font-family: var(--font-head); font-size: clamp(2rem, 3.4vw, 2.9rem); font-weight: 700; letter-spacing: -.04em; line-height: 1; color: var(--ink); }
.ps strong span { color: var(--cyan-600); font-size: .7em; margin-left: 2px; }
.ps small { font-family: var(--font-head); font-size: .74rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); line-height: 1.4; }
.proof-stats, .ps { min-width: 0; }
@media (max-width: 960px) {
  .proof-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ps { padding: 16px; gap: 18px; }
  .ps small { font-size: .66rem; letter-spacing: .08em; }
  .proof-stats { grid-column: 1 / -1; grid-row: 1; }
  .proof-ph { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .ps { min-height: 0; }
}

/* ---------- Services (GreenCraft): rounded rows beside a big photo ---------- */
.svc-section { background: var(--warm); border-radius: var(--frame-r); margin: 0 var(--frame); }
.svc-rows { border: 0; display: grid; gap: 10px; }
.svc-rows li { border: 0; }
.svc-rows a { grid-template-columns: 1fr 38px; border-radius: 16px; background: #fff; padding: 16px 14px 16px 22px; border: 1px solid transparent; transition: border-color .2s ease, box-shadow .2s ease; }
.svc-rows li.active a { border-color: var(--line); box-shadow: 0 10px 26px rgba(14, 24, 34, .08); }
.svc-rows .num { display: none; }
.svc-rows strong { font-size: clamp(1.1rem, 1.7vw, 1.35rem); font-weight: 700; color: #5e6b77; }
.svc-rows li.active strong { transform: none; }
.svc-rows .arr {
  display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; flex: none;
  background: var(--warm); color: var(--ink); font-size: 1.05rem; opacity: 1; transform: none;
  transition: background-color .2s ease, color .2s ease;
}
.svc-rows li.active .arr { background: var(--ink); color: #fff; }
.svc-preview { border-radius: var(--card-r); overflow: hidden; }
.svc-index-head .eyebrow, .svc-index-head h2 { text-align: left; }

/* ---------- The Get Good standard (Norfolk dark band) ---------- */
.standard { background: var(--ink); color: #fff; border-radius: var(--frame-r); margin: clamp(48px, 7vw, 90px) var(--frame) 0; }
.standard-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 6vw, 90px); align-items: center; }
.standard h2 { color: #fff; }
.standard-copy > p { color: #b9c6d1; font-size: 1.08rem; max-width: 34rem; }
.std-list { margin: 26px 0 30px; border-top: 1px solid rgba(255, 255, 255, .14); }
.std-list details { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.std-list summary {
  list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center;
  padding: 18px 0; font-family: var(--font-head); font-size: 1.15rem; font-weight: 600; color: #e6edf2;
}
.std-list summary::-webkit-details-marker { display: none; }
.std-list summary::after { content: "+"; font-size: 1.4rem; font-weight: 400; color: var(--cyan); transition: transform .2s ease; }
.std-list details[open] summary { color: var(--cyan); }
.std-list details[open] summary::after { transform: rotate(45deg); }
.std-list details p { margin: -4px 0 18px; color: #b9c6d1; max-width: 32rem; }
.standard-media { position: relative; border-radius: var(--card-r); overflow: hidden; aspect-ratio: 4 / 5; max-height: 640px; justify-self: end; width: 100%; }
.standard-media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.standard-media .chip-label { position: absolute; left: 14px; bottom: 14px; }
@media (max-width: 860px) {
  .standard-grid { grid-template-columns: 1fr; }
  .standard-media { aspect-ratio: 4 / 4.4; }
}

/* ---------- Recent work tabs (Yardscape) ---------- */
.pj-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 22px; }
.pj-tabs button {
  font-family: var(--font-head); font-weight: 600; font-size: .92rem; cursor: pointer;
  padding: 11px 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink);
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}
.pj-tabs button:hover { border-color: var(--ink); }
.pj-tabs button[aria-selected="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.pj-panel { display: grid; grid-template-columns: 1.6fr 1fr; gap: 14px; }
.pj-panel[hidden] { display: none; }
.pj-media { border-radius: var(--card-r); overflow: hidden; min-height: 420px; position: relative; background: var(--mist); }
.pj-media .ba { position: absolute; inset: 0; border-radius: 0; aspect-ratio: auto; height: 100%; }
.pj-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pj-info { display: flex; flex-direction: column; justify-content: flex-end; gap: 10px; padding: clamp(22px, 3vw, 34px); border-radius: var(--card-r); background: var(--warm); }
.pj-tag { align-self: flex-start; font-family: var(--font-head); font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan-600); background: #fff; padding: 6px 12px; border-radius: 999px; }
.pj-info h3 { font-size: clamp(1.5rem, 2.4vw, 2rem); letter-spacing: -.03em; margin: 6px 0 0; color: var(--ink); }
.pj-info p { color: var(--muted); margin: 0 0 8px; }
@media (max-width: 860px) {
  .pj-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin-left: calc(-1 * var(--gutter)); margin-right: calc(-1 * var(--gutter)); padding: 0 var(--gutter); }
  .pj-tabs::-webkit-scrollbar { display: none; }
  .pj-tabs button { white-space: nowrap; }
  .pj-panel { grid-template-columns: 1fr; }
  .pj-media { min-height: 0; aspect-ratio: 4 / 3.4; }
}

/* ---------- Reviews: a calm grid of cards ---------- */
.reviews-section { background: var(--warm); border-radius: var(--frame-r); margin: 0 var(--frame); }
.rv.rv-grid { margin: 0; padding: 0; overflow: visible; }
.rv.rv-grid::before, .rv.rv-grid::after { display: none; }
.rv.rv-grid .rv-track { display: grid; grid-auto-flow: row; grid-template-columns: repeat(3, 1fr); grid-auto-columns: auto; width: auto; overflow: visible; animation: none; transform: none; padding: 0; gap: 14px; }
.rv.rv-grid .rc { width: auto; flex: initial; border-radius: var(--card-r); border: 0; padding: 26px; }
.rv-grid .rc:hover { transform: none; box-shadow: 0 14px 34px rgba(14, 24, 34, .08); }
.rv-score { border-radius: 999px; background: #fff; }
.rv-more { margin-top: 26px; text-align: center; }
/* Tablets: two columns. Phones: one swipeable row with every review (selectors match the 3-column rule's weight so they win) */
@media (max-width: 960px) { .rv.rv-grid .rv-track { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) {
  .rv.rv-grid .rv-track { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 86%; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: -20px; padding: 4px 20px 12px; scroll-padding-inline: 20px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .rv.rv-grid .rv-track::-webkit-scrollbar { display: none; }
  .rv.rv-grid .rc { scroll-snap-align: start; padding: 22px; }
  .rv-swipe { display: block; }
}
.rv-swipe { display: none; margin: 4px 0 0; color: var(--muted); font-size: .85rem; text-align: center; }
.rc figcaption > span:last-child { min-width: 0; }
.rc-av { flex: none; }

/* ---------- Quote band: rounded dark panel ---------- */
.quote-band { border-radius: var(--frame-r); margin: clamp(48px, 7vw, 90px) var(--frame) var(--frame); }
.quote-card { border-radius: var(--card-r); }

/* ---------- Cards and photos across the site ---------- */
.svc-intro-media, .build-media, .photo-strip img, .svc-media img, .ba, .about-split img { border-radius: var(--card-r); }
.side-card, .form-card { border-radius: var(--card-r); }
.page-hero { border-radius: var(--frame-r); margin: var(--frame) var(--frame) 0; overflow: hidden; }

/* Footer: rounded dark panel to match */
.site-footer { border-radius: var(--frame-r) var(--frame-r) 0 0; margin: clamp(32px, 5vw, 60px) var(--frame) 0; }

/* About: owner photos in the round icons */
.about-split .owner-photo, .owner-photo { width: 44px; height: 44px; flex: none; border-radius: 50%; display: block; object-fit: cover; padding: 0; border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line); }

/* Very small phones (320-360px): tighten the pill so the menu button fits */
@media (max-width: 360px) {
  .site-header .header-inner { gap: 8px; padding-left: 10px; }
  .site-header .brand-mark { width: 30px; height: 30px; }
  .site-header .brand { gap: 8px; }
  .site-header .brand-text strong { font-size: .9rem; }
  .site-header .brand-text span { font-size: .56rem; letter-spacing: .18em; }
  .site-header .header-actions { gap: 4px; }
}

/* Trusted By: logo grid (replaces the scrolling banner) */
.lgg { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 12px; }
.lgg-item { display: grid; place-items: center; min-height: 128px; padding: 22px 26px; border-radius: 20px; background: #fff; border: 1px solid var(--line); text-align: center; transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease; }
.lgg-item:hover { border-color: var(--cyan-600); transform: translateY(-2px); box-shadow: var(--shadow); }
.lgg-item img { width: 100%; height: 72px; object-fit: contain; }
.lgg-word span { font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; line-height: 1.25; color: var(--ink); }
.lgg-home { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.lgg-home .lgg-item { min-height: 112px; padding: 18px 20px; }
.lgg-home .lgg-item img { height: 60px; }
.lgg-more { padding: 0 !important; background: var(--ink); border-color: var(--ink); }
.lgg-more a { display: grid; place-items: center; align-content: center; gap: 2px; width: 100%; height: 100%; padding: 18px; color: #fff; text-decoration: none; }
.lgg-more strong { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--cyan); line-height: 1; }
.lgg-more span { font-size: .9rem; color: rgba(255,255,255,.8); }
@media (max-width: 1000px) { .lgg-home { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) {
  .lgg, .lgg-home { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .lgg-item, .lgg-home .lgg-item { min-height: 96px; padding: 16px; border-radius: 16px; }
  .lgg-item img, .lgg-home .lgg-item img { height: 52px; }
  .lgg-word span { font-size: .95rem; }
}
@media (max-width: 760px) { .lgg-home { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; } .lgg-home .lgg-item { min-height: 78px; padding: 12px; } .lgg-home .lgg-item img { height: 46px; } .lgg-more strong { font-size: 1.3rem; } .lgg-more span { font-size: .78rem; } }
.lgg:not(.lgg-home) { grid-template-columns: repeat(5, minmax(0, 1fr)); }
@media (max-width: 1000px) { .lgg:not(.lgg-home) { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .lgg:not(.lgg-home) { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.trusted-strip-head { gap: 16px; }
.trusted-strip-head .link-arrow { white-space: nowrap; flex: none; }


/* Our Work: filterable photo gallery + viewer */
.gal-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: clamp(20px, 3vw, 32px); }
.gal-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--ink); font: 600 .95rem var(--font-head); cursor: pointer; transition: background .2s ease, border-color .2s ease, color .2s ease; }
.gal-chip span { color: var(--muted); font-weight: 600; font-size: .82rem; }
.gal-chip:hover { border-color: var(--ink); }
.gal-chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.gal-chip[aria-pressed="true"] span { color: var(--cyan); }
.gal { list-style: none; margin: 0; padding: 0; columns: 3 300px; column-gap: 14px; }
.gal-item { break-inside: avoid; margin: 0 0 14px; }
.gal-item[hidden] { display: none; }
.gal-open { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: 18px; overflow: hidden; background: var(--mist); cursor: pointer; }
.gal-open img { display: block; width: 100%; height: auto; transition: transform .5s ease; }
.gal-open:hover img { transform: scale(1.03); }
.gal-open:focus-visible { outline: 3px solid var(--cyan); outline-offset: 3px; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(transparent, rgba(8, 14, 20, .78)); color: #fff; font: 600 .92rem var(--font-head); text-align: left; opacity: 0; transform: translateY(6px); transition: opacity .25s ease, transform .25s ease; }
.gal-open:hover .gal-cap, .gal-open:focus-visible .gal-cap { opacity: 1; transform: none; }
@media (hover: none) { .gal-cap { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .gal { columns: 2; column-gap: 8px; }
  .gal-item { margin-bottom: 8px; }
  .gal-open { border-radius: 12px; }
  .gal-cap { font-size: .76rem; padding: 22px 9px 8px; }
  .gal-chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(var(--gutter, 20px) * -1); padding: 0 var(--gutter, 20px) 4px; scrollbar-width: none; }
  .gal-chip { flex: none; }
}

.gal-box { width: 100vw; height: 100dvh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: rgba(8, 14, 20, .96); color: #fff; overflow: hidden; }
.gal-box::backdrop { background: rgba(8, 14, 20, .9); }
.gal-box figure { margin: 0; height: 100%; display: grid; grid-template-rows: 1fr auto; place-items: center; padding: 64px 72px 18px; }
.gal-box img { max-width: 100%; max-height: calc(100dvh - 130px); width: auto; height: auto; border-radius: 12px; object-fit: contain; }
.gal-box figcaption { padding-top: 12px; font: 600 1rem var(--font-head); text-align: center; }
.gal-x { position: absolute; top: 14px; right: 14px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: #fff; color: var(--ink); font-size: 1.8rem; line-height: 1; cursor: pointer; }
.gal-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .14); color: #fff; cursor: pointer; display: grid; place-items: center; }
.gal-nav:hover { background: var(--cyan); color: var(--ink); }
.gal-nav svg { width: 24px; height: 24px; }
.gal-prev { left: 12px; } .gal-next { right: 12px; }
.gal-count { position: absolute; top: 26px; left: 20px; font: 600 .9rem var(--font-head); color: rgba(255, 255, 255, .7); }
@media (max-width: 760px) {
  .gal-box figure { padding: 70px 10px 14px; }
  .gal-nav { top: auto; bottom: 16px; transform: none; width: 46px; height: 46px; }
  .gal-box figure { padding-bottom: 80px; }
  .gal-box img { max-height: calc(100dvh - 190px); }
}
.ba-grid > :only-child { grid-column: 1 / -1; width: 100%; max-width: 920px; justify-self: center; }

/* Trusted By: "See the work" video row, between the stats and the logo grid */
.tbv { margin-bottom: clamp(44px, 6vw, 72px); }
.tbv-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 24px; margin-bottom: 18px; }
.tbv-head h2, .tb-grid-head { margin: 0; font-size: clamp(1.5rem, 2.6vw, 2rem); }
.tbv-head p { margin: 0; color: var(--muted); }
.tb-grid-head { margin-bottom: 18px; }
.tbv-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.tbv-card { margin: 0; }
.tbv-media { position: relative; aspect-ratio: 16 / 9; border-radius: 18px; overflow: hidden; background: var(--ink); }
.tbv-media video { display: block; width: 100%; height: 100%; object-fit: cover; cursor: pointer; }
.tbv-play { position: absolute; inset: 0; margin: auto; width: 58px; height: 58px; border-radius: 50%; border: 0; display: grid; place-items: center; background: rgba(255, 255, 255, .92); color: var(--ink); cursor: pointer; box-shadow: 0 8px 24px rgba(0, 0, 0, .25); transition: opacity .2s ease, transform .2s ease; }
.tbv-play svg { width: 24px; height: 24px; margin-left: 3px; }
.tbv-play:hover { transform: scale(1.06); }
.tbv-card.is-playing .tbv-play { opacity: 0; pointer-events: none; }
.tbv-card figcaption { display: flex; align-items: center; gap: 12px; padding: 12px 4px 0; }
.tbv-logo { flex: none; display: grid; place-items: center; width: 64px; height: 44px; padding: 6px 8px; border-radius: 10px; background: #fff; border: 1px solid var(--line); }
.tbv-logo img { width: 100%; height: 100%; object-fit: contain; }
.tbv-card strong { display: block; font-family: var(--font-head); color: var(--ink); line-height: 1.2; }
.tbv-card small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; }
@media (max-width: 760px) {
  .tbv-row { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 84%; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(var(--gutter, 20px) * -1); padding: 0 var(--gutter, 20px) 6px; scrollbar-width: none; }
  .tbv-card { scroll-snap-align: start; }
  .tbv-media { border-radius: 14px; }
}
@media (max-width: 760px) { .tbv-row, .gal-chips { scroll-padding-inline: 20px; } .tbv-row { margin-inline: -20px; padding-inline: 20px; } }

/* Form consent checkboxes */
.form-consent, .qz-consent { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 4px; font-size: .88rem; line-height: 1.45; color: var(--muted); text-align: left; cursor: pointer; }
.form-consent input, .qz-consent input { flex: none; width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--cyan-600); }
.form-consent a, .qz-consent a { color: inherit; text-decoration: underline; }
form[name="quick-quote"] .form-consent { color: rgba(255,255,255,.82); }

/* Footer legal links + address */
.footer-legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.site-footer address { font-style: normal; line-height: 1.5; }
.lgg-note { margin: 16px 0 0; color: var(--muted); font-size: .85rem; }

.contact-email { margin: 16px 0 0; }
.contact-email a { color: inherit; text-decoration: underline; }

/* Performance: no live blur over moving content (hero photos, videos). Blurs there are recalculated
   every frame, which made scrolling lag on high-resolution screens. Near-opaque fills look the same. */
.site-header .header-inner { background: rgba(255, 255, 255, .96); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn-glass { background: rgba(14, 24, 34, .28); -webkit-backdrop-filter: none; backdrop-filter: none; }
.btn-glass:hover { background: rgba(14, 24, 34, .42); }
.chip-label { -webkit-backdrop-filter: none; backdrop-filter: none; background: rgba(255, 255, 255, .94); }

/* Season bar on the narrowest phones: smaller text, no icon, so the link stays on screen */
@media (max-width: 400px) {
  .snow-bar-inner { gap: 6px; padding: 0 10px; font-size: .78rem; }
  .snow-bar-inner > svg { display: none; }
  .snow-bar-cta { margin-left: 2px; }
}
@media (max-width: 340px) { .snow-bar-inner { font-size: .72rem; } }
