/* Meteer Exterior Services · motion round. B's type and overlap, with motion through every part of the page. */
@font-face { font-family: "Archivo"; src: url("/recreation/assets/fonts/Archivo.woff2") format("woff2"); font-weight: 100 900; font-stretch: 62% 125%; font-display: block; }

:root {
  --black: #0B0C0E;
  --night: #07122B;
  --blue: #0050F0;
  --deep: #0038B8;
  --pale: #BCD0FF;
  --blue-text: #6F9BFF;   /* 7.28:1 on black */
  --white: #FFFFFF;
  --muted: #A7AEBB;       /* 8.77:1 on black */
  --g: 20px;              /* side gutter */
  --head: 58px;
  --ease: cubic-bezier(.2, .7, .1, 1);
  color-scheme: dark;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; background: var(--black); }
body { background: var(--black); color: var(--white); font-family: "Archivo", system-ui, sans-serif; font-stretch: 100%; font-size: 17px; line-height: 1.45; overflow-x: hidden; }
img, canvas, svg { display: block; }
button, input, textarea, select { font-family: inherit; }
a { color: inherit; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.caps { font-weight: 900; font-stretch: 62%; text-transform: uppercase; line-height: .86; letter-spacing: -0.005em; }

/* ---------- header ---------- */
.site-head { position: fixed; z-index: 40; top: 0; left: 0; right: 0; background: var(--black); padding: 9px var(--g) 8px; display: grid; grid-template-columns: 1fr auto; grid-template-areas: "brand call" "tag tag"; align-items: center; column-gap: 12px; }
.brand { grid-area: brand; display: inline-flex; align-items: center; min-height: 44px; text-decoration: none; }
.brand svg { height: 26px; width: auto; overflow: visible; }
.tagline { grid-area: tag; font-size: 13px; line-height: 1.3; color: var(--muted); overflow: hidden; max-height: 20px; }
.call { grid-area: call; width: 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; }
.call .num { display: none; }
.pass-line { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: var(--blue); transform-origin: 0 50%; transform: scaleX(0); }

/* ---------- loader sting ---------- */
.loader { position: fixed; inset: 0; z-index: 60; background: var(--black); display: grid; place-items: center; }
.loader svg { width: min(78vw, 420px); height: auto; overflow: visible; }
.loader .edge { position: absolute; left: 0; right: 0; height: 4px; background: var(--blue); bottom: 0; }

/* ---------- hero ---------- */
.s-hero { position: relative; height: 100svh; }
.hero-stage { position: relative; height: 100svh; overflow: hidden; background: var(--black); }
.hero-copy { position: absolute; left: var(--g); right: var(--g); top: calc(var(--head) + 22px); z-index: 1; }
.h1 { font-size: min(58px, 14.9vw); }
.h1 .ln { display: block; overflow: hidden; white-space: nowrap; padding-bottom: .04em; margin-bottom: -.04em; }
.h1 .w { display: inline-block; --wd: 62; font-stretch: calc(var(--wd) * 1%); will-change: transform; }
.hero-ctas { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 10px 18px; align-items: center; }
.btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 22px; border-radius: 4px; font-weight: 800; font-stretch: 85%; font-size: 16px; letter-spacing: .04em; text-transform: uppercase; text-decoration: none; background: var(--blue); color: #fff; position: relative; overflow: hidden; border: 0; cursor: pointer; }
.btn-line { min-height: 44px; font-weight: 600; font-size: 16px; text-underline-offset: 4px; text-decoration-thickness: 1.5px; }
.film { position: absolute; inset: 0; z-index: 2; clip-path: inset(56% 0 0 0); background: #1B1D1F; }
.film canvas { width: 100%; height: 100%; }
.wet { position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--blue); z-index: 3; transform: translateY(56svh); }
.quote { position: absolute; left: var(--g); right: var(--g); bottom: 34px; z-index: 4; font-size: 40px; }
.quote .ql { display: block; width: fit-content; background: var(--black); padding: .08em .18em .02em; margin-bottom: 3px; clip-path: inset(0 100% 0 0); --wd: 62; font-stretch: calc(var(--wd) * 1%); white-space: nowrap; }
.quote .by { display: block; margin-top: 12px; font-size: 13px; font-weight: 800; font-stretch: 100%; letter-spacing: .12em; color: var(--blue-text); text-transform: uppercase; background: var(--black); width: fit-content; padding: 6px 8px; clip-path: inset(0 100% 0 0); }

/* ---------- towns: angled bands ---------- */
.s-towns { position: relative; height: 104svh; overflow: hidden; background: var(--black); }
.band { position: absolute; left: -20%; right: -20%; white-space: nowrap; font-size: min(72px, 18.4vw); padding: .12em 0 .02em; }
.band .track { display: inline-block; will-change: transform; }
.band-a { top: 24%; background: var(--blue); color: #fff; transform: rotate(-7deg); }
.band-b { top: 45%; background: #fff; color: var(--black); transform: rotate(5deg); }
.towns-lede { position: absolute; left: var(--g); right: var(--g); bottom: 11%; font-size: 22px; line-height: 1.3; font-weight: 600; max-width: 20ch; }

/* ---------- services: stacked panels, each rising over the last ---------- */
.s-svc { position: relative; height: 100svh; overflow: hidden; background: var(--night); border-top: 4px solid var(--blue); }
.s-svc .name { font-size: min(76px, 18.6vw); position: relative; z-index: 2; }
.s-svc .name .w { display: block; white-space: nowrap; --wd: 62; font-stretch: calc(var(--wd) * 1%); }
.s-svc .copy { position: absolute; left: var(--g); right: var(--g); z-index: 3; }
.s-svc .lead { font-size: 17px; line-height: 1.42; margin-top: 12px; }
.s-svc .more-btn { min-height: 44px; display: inline-flex; align-items: center; gap: 8px; background: none; border: 0; color: var(--blue-text); font: 800 14px/1 "Archivo"; font-stretch: 100%; letter-spacing: .08em; text-transform: uppercase; cursor: pointer; padding: 0; margin-top: 4px; }
.s-svc .more-btn::after { content: ""; width: 7px; height: 7px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(-45deg); }

/* roof: the cut-out roof fills the lower screen, the name over its ridge, the lead on a black box */
.s-roof .name { position: absolute; left: var(--g); right: var(--g); top: calc(var(--head) + 20px); z-index: 5; }
.s-roof .roof { position: absolute; left: -6vw; width: 162vw; top: calc(var(--head) + 20px + min(76px, 18.6vw) * .86 * 1.15); z-index: 4; }
.s-roof .roof img { width: 100%; height: auto; }
.s-roof .lead { position: absolute; left: var(--g); right: var(--g); bottom: 70px; margin: 0; background: var(--black); padding: 12px 14px; z-index: 6; }
.s-roof .more-btn { position: absolute; left: var(--g); bottom: 16px; z-index: 6; background: var(--black); padding: 0 14px; }

/* gutter: Matt's footage of a choked gutter; the clump he pulled out swings over its edge */
.s-gutter .loop { position: absolute; left: 0; right: 0; top: 0; height: 52%; overflow: hidden; }
.s-gutter .loop canvas { width: 100%; height: 100%; }
.s-gutter .copy { top: calc(52% - min(76px, 18.6vw) * .86 * 1.05); }
.s-gutter .clump { position: absolute; right: -10px; top: calc(52% - 190px); width: 132px; z-index: 4; }
.s-gutter .clump img { width: 100%; height: auto; }
.s-gutter .figure { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; margin-top: 14px; }
.s-gutter .num { font-size: 88px; line-height: .8; height: .8em; overflow: hidden; color: var(--blue-text); display: flex; }
.s-gutter .num .col { display: block; }
.s-gutter .num .col span { display: block; height: .8em; }
.s-gutter .figure p { font-size: 16px; line-height: 1.4; }

/* concrete: Matt's half-washed flagstone, revealed along a diagonal like its own seam */
.s-concrete .photo { position: absolute; left: 0; right: 0; top: 0; height: 44%; overflow: hidden; }
.s-concrete .photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.s-concrete .copy { top: calc(44% - 46px * .86 * 1.1); }
.s-concrete .name { font-size: min(46px, 11.8vw); }

/* fence: before, then the pass, then after */
.s-fence .pair { position: absolute; left: 0; right: 0; top: 0; height: 56%; overflow: hidden; }
.s-fence .pair img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.s-fence .pair .after { clip-path: inset(0 100% 0 0); }
.s-fence .pair .edge { position: absolute; top: 0; bottom: 0; width: 4px; background: var(--blue); left: 0; }
.s-fence .tag { position: absolute; top: calc(var(--head) + 16px); left: var(--g); z-index: 3; height: 28px; overflow: hidden; font: 800 13px/28px "Archivo"; letter-spacing: .14em; text-transform: uppercase; background: var(--black); padding: 0 10px; }
.s-fence .tag .roll { display: block; }
.s-fence .tag .roll span { display: block; height: 28px; }
.s-fence .copy { top: calc(56% - min(76px, 18.6vw) * .86 * 1.05); }
.s-fence .chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 14px; }
.chip { display: inline-flex; align-items: center; min-height: 34px; padding: 0 14px; border: 2px solid var(--white); border-radius: 999px; font-weight: 700; font-size: 14px; }

/* ---------- Matt and the general services: the words run behind his photo ---------- */
.s-matt { position: relative; height: 100svh; overflow: hidden; background: var(--blue); }
.s-matt .frame { position: absolute; right: var(--g); top: calc(var(--head) + 44px); width: 58%; height: 54%; overflow: hidden; z-index: 3; }
.s-matt .frame img { width: 100%; height: 112%; object-fit: cover; object-position: 55% 0%; }
.s-matt .big { position: absolute; left: var(--g); white-space: nowrap; font-size: min(72px, 18.4vw); z-index: 4; color: var(--white); }
.s-matt .big-1 { top: calc(var(--head) + 110px); }
.s-matt .big-2 { top: calc(var(--head) + 110px + min(72px, 18.4vw) * .92); }
.s-matt .big .track { display: inline-block; }
.s-matt .who { position: absolute; left: var(--g); top: calc(var(--head) + 26px); font: 800 13px/1 "Archivo"; letter-spacing: .14em; text-transform: uppercase; }
.s-matt .gen { position: absolute; left: var(--g); right: var(--g); bottom: 28px; z-index: 4; }
.s-matt .gen h2 { font-size: min(46px, 11.8vw); }
.s-matt .gen .chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.s-matt .gen .chip { background: var(--black); border-color: var(--black); }

/* ---------- quote: rating, form, text us ---------- */
.s-quote { position: relative; background: var(--night); padding: 64px var(--g) 56px; overflow: hidden; }
main, .s-foot { overflow-x: clip; }
.s-quote h2 { font-size: 76px; }
.s-quote h2 .w { display: block; --wd: 62; font-stretch: calc(var(--wd) * 1%); }
.rating { display: flex; align-items: center; gap: 12px; margin-top: 18px; min-height: 48px; text-decoration: none; }
.rating .stars { display: flex; gap: 3px; }
.rating .stars svg { width: 20px; height: 20px; }
.rating .txt { font-weight: 700; font-size: 16px; text-decoration: underline; text-underline-offset: 4px; }
.rating[data-state="live"] .txt { text-decoration: none; }
.rating .score { font-weight: 900; font-stretch: 62%; font-size: 44px; line-height: 1; }
.form { margin-top: 26px; display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label, .field legend { font-weight: 700; font-size: 14px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.field input, .field textarea, .field select { width: 100%; min-height: 50px; padding: 12px 14px; border-radius: 4px; border: 2px solid #26324F; background: #0B1633; color: #fff; font: 400 17px/1.3 "Archivo"; font-stretch: 100%; }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--blue); }
fieldset.field { border: 0; }
.svc-pick { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-pick label { position: relative; }
.svc-pick input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.svc-pick span { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 2px solid #3A4A70; font-weight: 700; font-size: 14px; letter-spacing: 0; text-transform: none; color: #fff; cursor: pointer; }
.svc-pick input:checked + span { background: var(--blue); border-color: var(--blue); }
.svc-pick input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.form .send { justify-self: start; margin-top: 6px; }
.form .status { font-size: 15px; color: var(--muted); min-height: 1.4em; }
.textus { margin-top: 30px; display: grid; gap: 4px; }
.textus a { display: inline-flex; align-items: center; min-height: 44px; font-weight: 800; font-size: 22px; text-decoration: none; }
.textus a .k { color: var(--blue-text); margin-right: 10px; font-size: 14px; letter-spacing: .12em; text-transform: uppercase; }

/* ---------- footer ---------- */
.s-foot { position: relative; background: var(--black); padding: 56px var(--g) 36px; overflow: hidden; }
.s-foot .bigmark { width: 100%; height: auto; overflow: visible; }
.s-foot .phone { display: block; margin-top: 26px; font-weight: 900; font-stretch: 62%; font-size: clamp(48px, 15.6vw, 140px); line-height: .9; text-decoration: none; white-space: nowrap; }
.s-foot .meta { margin-top: 14px; display: grid; gap: 2px; color: var(--muted); font-size: 16px; }
.s-foot .meta a { display: inline-flex; align-items: center; min-height: 44px; color: #fff; font-weight: 600; text-underline-offset: 4px; }
.s-foot .legal { margin-top: 18px; font-size: 13px; color: var(--muted); }

/* ---------- detail sheet ---------- */
.sheet { position: fixed; inset: auto 0 0 0; z-index: 70; background: #fff; color: var(--black); padding: 22px var(--g) 28px; border-radius: 16px 16px 0 0; transform: translateY(105%); transition: transform .45s var(--ease); max-height: 80svh; overflow: auto; }
.sheet.open { transform: none; }
.sheet h3 { font-weight: 900; font-stretch: 62%; font-size: 40px; line-height: .9; text-transform: uppercase; }
.sheet p { margin-top: 12px; font-size: 17px; }
.sheet .close { margin-top: 18px; background: var(--black); }

/* ---------- reduced motion: a plain, finished page ---------- */
.reduce .loader { display: none; }
.reduce .s-hero, .reduce .hero-stage { height: auto; }
.reduce .hero-stage { display: flex; flex-direction: column; }
.reduce .hero-copy { position: relative; top: auto; left: auto; right: auto; order: 1; margin: 0 var(--g); padding-top: calc(var(--head) + 22px); }
.reduce .hero-ctas { margin-bottom: 24px; }
.reduce .film { position: relative; inset: auto; order: 2; height: 62svh; clip-path: none; }
.reduce .wet { display: none; }
.reduce .quote { position: relative; left: auto; right: auto; bottom: auto; order: 3; margin: 18px var(--g) 28px; }
.reduce .quote .ql, .reduce .quote .by { clip-path: none; }
.reduce .s-fence .pair .after { clip-path: inset(0 0 0 50%); }

@media (min-width: 900px) {
  :root { --g: 56px; --head: 64px; }
  .site-head { grid-template-columns: auto 1fr auto; grid-template-areas: "brand tag call"; column-gap: 24px; padding: 10px var(--g); }
  .brand svg { height: 32px; }
  .tagline { font-size: 15px; max-height: none; }
  .call { width: auto; border-radius: 4px; padding: 0 18px; display: inline-flex; gap: 10px; align-items: center; font-weight: 800; }
  .call .num { display: inline; }
  .h1 { font-size: 118px; right: 48%; }
  .hero-ctas { top: calc(var(--head) + 30px + 5 * 118px * .86 + 30px); right: 50%; }
  .quote { left: 52%; font-size: 52px; }
  .band { font-size: 96px; }
  .towns-lede { font-size: 30px; }
  .s-svc .name { font-size: 130px; }
  .s-svc .copy { right: 56%; }
  .s-svc .lead { font-size: 20px; }
  .s-roof .name { right: 40%; }
  .s-roof .roof { left: 34%; width: 70vw; top: 12%; }
  .s-roof .lead { right: auto; width: 34%; }
  .s-gutter .loop, .s-concrete .photo, .s-fence .pair { left: 46%; height: 100%; }
  .s-gutter .copy, .s-concrete .copy, .s-fence .copy { top: calc(var(--head) + 50px); }
  .s-concrete .name { font-size: 96px; }
  .s-gutter .clump { right: auto; left: calc(46% - 120px); top: 38%; width: 240px; }
  .s-matt .frame { width: 34%; height: 70%; right: 12%; }
  .s-matt .big { font-size: 200px; }
  .s-matt .big-1 { top: 22%; }
  .s-matt .big-2 { top: calc(22% + 184px); }
  .s-matt .gen { right: 55%; }
  .s-quote { display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; padding: 110px var(--g); }
  .s-quote .col-a { grid-column: 1; }
  .s-quote .form { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
  .s-quote h2 { font-size: 150px; }
  .s-foot .phone { font-size: 140px; }
}

/* ---------- full resolution (Tony, 2026-09-27: nothing low-resolution) ----------
   Matt's footage plays as real video at its source size; no source is shown larger than its own pixels
   on a 2x screen. Sources: hero 1080x1920, gutter 1080x1440, fence 1440x1080 (4:3), photos 2152 to 3704 wide. */
.film video, .s-gutter .loop video, .tp .media video, .deskfilm video { display: block; width: 100%; height: 100%; object-fit: cover; }
.film video { object-position: 52% 42%; }
.s-gutter .loop video, .tp .media video { object-position: 55% 50%; }
/* the fence keeps its own 4:3 */
.s-fence .pair { top: var(--head); height: auto; aspect-ratio: 4 / 3; }
.s-fence .copy { top: calc(var(--head) + 75vw - min(76px, 18.6vw) * .86 * 1.05); }
.tp-fence .media.pair { top: var(--head); bottom: auto; height: auto; aspect-ratio: 4 / 3; }
.tp-fence .copy { top: calc(var(--head) + 75vw - min(72px, 18.4vw) * .86 * 1.05); }
@media (min-width: 900px) {
  :root { --panel-w: min(540px, calc((100svh - var(--head)) * .5625)); }
  /* the hero footage is a portrait panel at its own size */
  .film { inset: var(--head) 7vw 0 auto; width: var(--panel-w); }
  .wet { left: auto; right: 7vw; width: var(--panel-w); }
  .quote { left: auto; right: calc(7vw + 18px); width: calc(var(--panel-w) - 36px); font-size: 42px; bottom: 44px; }
  /* gutter footage and the fence pair are framed at their own size */
  .s-gutter .loop { left: auto; right: 7vw; top: calc(var(--head) + 40px); width: min(480px, 36vw); height: auto; aspect-ratio: 3 / 4; }
  .s-gutter .clump { left: auto; right: calc(7vw + min(480px, 36vw) - 120px); top: 44%; }
  .s-fence .pair { left: auto; right: 7vw; top: calc(var(--head) + 60px); width: min(720px, 46vw); height: auto; aspect-ratio: 4 / 3; }
  .s-fence .copy { top: calc(var(--head) + 50px); }
  .tp-gutter .media { left: auto; right: 7vw; top: calc(var(--head) + 40px); bottom: auto; width: min(480px, 36vw); height: auto; aspect-ratio: 3 / 4; }
  .tp-gutter .clump { left: auto; right: calc(7vw + min(480px, 36vw) - 120px); top: 40%; }
  .tp-fence .media.pair { left: auto; right: 7vw; top: calc(var(--head) + 60px); width: min(720px, 46vw); height: auto; aspect-ratio: 4 / 3; }
  .tp-fence .copy { top: calc(var(--head) + 50px); }
}
@media (min-width: 900px) {
  /* the before/after tag sits on the framed fence photo's corner */
  .s-fence .tag { left: calc(93vw - min(720px, 46vw) + 14px); top: calc(var(--head) + 74px); }
}
