/* Measured Yard, direction A: the site reads as an estimator's measuring sheet. */
@font-face { font-family: 'Barlow'; src: url('/assets/barlow-400.woff') format('woff'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow'; src: url('/assets/barlow-600.woff') format('woff'); font-weight: 600 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'Barlow Condensed'; src: url('/assets/barlow-condensed-700.woff') format('woff'); font-weight: 700; font-style: normal; font-display: swap; }

:root {
  color-scheme: light;
  --paper: #f4f6f3;
  --sheet: #ffffff;
  --tint: #e9eee8;
  --ink: #18201b;
  --muted: #47534b;
  --rule: #c9d0c8;
  --turf: #2e7d46;
  --pine: #1f4a36;
  --pine-dark: #163627;
  --mark: #e8480c;
  --on-ink: #c9d2ca;
  --clubhouse: #172c32;
  --clubhouse-accent: #dfea88;
  --focus: var(--ink);
  --hair: 1.5px;
  --text: 'Barlow', 'Segoe UI', system-ui, sans-serif;
  --display: 'Barlow Condensed', 'Barlow', 'Arial Narrow', sans-serif;
  --gutter: clamp(18px, 5vw, 72px);
}

*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: var(--paper);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--text);
  font-synthesis: style;
  caret-color: var(--mark);
}
main { flex: 1; }
img, video { max-width: 100%; display: block; }
figure, p { margin: 0; }
a { color: inherit; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
button, input, textarea, select { font: inherit; color: inherit; }
button, summary { cursor: pointer; }
:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }
::selection { background: var(--mark); color: #fff; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wrap { width: min(calc(100% - 2 * var(--gutter)), 1240px); margin-inline: auto; }

h1, h2, h3 { margin: 0; color: var(--ink); }
h1, h2 { font-family: var(--display); font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(2.6rem, 5.8vw, 5.2rem); line-height: .96; }
h2 { font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1; }
h3 { font: 600 clamp(1.15rem, 1.5vw, 1.3rem)/1.25 var(--text); }
h2 + p, h3 + p { margin-top: .75rem; }
h2 + p { max-width: 54ch; }
.skip { position: absolute; z-index: 10; top: -100px; left: 12px; padding: 12px 16px; background: var(--sheet); color: var(--ink); border: var(--hair) solid var(--ink); }
.skip:focus { top: 8px; }

/* Header and navigation */
.site-header { position: relative; z-index: 3; background: var(--paper); border-bottom: var(--hair) solid var(--ink); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: .7rem; min-height: 44px; text-decoration: none; font: 700 1.6rem/1 var(--display); white-space: nowrap; }
.brand img { width: clamp(178px, 16vw, 220px); height: auto; }
.footer .brand { padding: 4px 10px; border-radius: 2px; background: var(--paper); }
.site-nav nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 32px); font-size: 1rem; font-weight: 600; }
.site-nav nav > a:not(.button), .dropdown > summary { display: flex; align-items: center; min-height: 44px; white-space: nowrap; text-decoration: none; }
.site-nav nav > a:not(.button):hover, .dropdown > summary:hover { text-decoration: underline; }
.menu-toggle { display: none; }
summary { list-style: none; }
summary::-webkit-details-marker { display: none; }
.dropdown { position: relative; }
.dropdown > summary::after { content: ''; width: .42em; height: .42em; margin-left: .6em; border: solid currentColor; border-width: 0 1.5px 1.5px 0; transform: translateY(-.1em) rotate(45deg); }
.dropdown[open] > summary::after { transform: translateY(.1em) rotate(225deg); }
.dropdown-panel { position: absolute; z-index: 1; top: calc(100% + .5rem); left: -.75rem; min-width: max-content; padding: .4rem; background: var(--sheet); border: var(--hair) solid var(--ink); }
.dropdown-panel a { display: flex; align-items: center; min-height: 44px; padding: .55rem .75rem; text-decoration: none; }
.dropdown-panel a:hover { background: var(--tint); text-decoration: underline; }

/* Actions */
.button { display: inline-flex; align-items: center; justify-content: space-between; gap: .8rem; min-height: 52px; padding: .7rem 1.25rem; background: var(--pine); color: #fff; border: var(--hair) solid var(--pine); border-radius: 3px; text-decoration: none; font: 600 1.03rem/1.2 var(--text); transition: background-color .15s, color .15s; }
.button:hover { background: var(--pine-dark); border-color: var(--pine-dark); }
.button.secondary { background: transparent; color: var(--pine); }
.button.secondary:hover { background: #1f4a3614; }
.site-nav .button { min-height: 44px; padding-inline: 1rem; font-size: .95rem; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.arrow { flex: none; }
.text-link { display: inline-flex; align-items: center; gap: .5em; min-height: 44px; color: var(--ink); font-weight: 600; }
.text-link:hover { color: var(--pine); }
.text-link .arrow, .door li .arrow { transition: transform .15s; }
.text-link:hover .arrow, .door li a:hover .arrow { transform: translateX(3px); }

/* Home and cost: the measuring sheet */
.home-hero { padding-block: clamp(24px, 3.4vw, 46px) clamp(40px, 5vw, 68px); }
.home-pitch { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 14px clamp(24px, 4vw, 64px); align-items: end; margin-bottom: clamp(18px, 2.4vw, 30px); }
.hero-region { margin-bottom: .7rem; color: var(--muted); font-size: 1rem; font-weight: 600; line-height: 1.35; }
.lede { max-width: 48ch; color: var(--muted); font-size: clamp(1.05rem, 1.3vw, 1.2rem); line-height: 1.5; }
.sheet { display: grid; grid-template-columns: minmax(0, 1fr) minmax(290px, 370px); background: var(--sheet); border: var(--hair) solid var(--ink); }
.sheet-plan { display: grid; place-items: center; align-content: center; min-width: 0; min-height: 430px; margin: 0; padding: 6px clamp(14px, 2.4vw, 32px) 0; border: 0; border-right: var(--hair) solid var(--ink); }
.plan-hint { margin: 0 0 18px; color: var(--muted); font-size: .92rem; text-align: center; }
.sheet-controls { display: grid; align-content: center; gap: 14px; padding: clamp(18px, 2.2vw, 28px); }
.check { display: flex; align-items: flex-start; gap: 10px; min-height: 44px; padding-top: 10px; font-weight: 600; line-height: 1.35; cursor: pointer; }
.check input { flex: none; width: 22px; height: 22px; margin: 0; accent-color: var(--pine); cursor: pointer; }
.patio-size { display: none; align-items: center; gap: 8px; margin: -6px 0 0 32px; font-weight: 600; }
.sheet:has([name="patio"]:checked) .patio-size { display: flex; }
.sheet-routes { display: grid; gap: 10px; }
.quick-price { padding: .55rem .7rem; border-left: 3px solid var(--mark); background: var(--paper); }
.quick-price span, .quick-price small { display: block; color: var(--muted); font-size: .92rem; }
.quick-price strong { display: block; color: var(--pine); font: 700 1.7rem/1.18 var(--display); }
.advanced-planner-link { margin-top: .75rem; }
.planner-summary { display: none; margin: .75rem 0; padding: 1rem; border-left: 3px solid var(--mark); background: var(--tint); }
.intake-form:has([name="measure"][value="planner"]:checked) .planner-summary { display: block; }
.planner-summary ul { margin: .5rem 0; padding-left: 1.3rem; }
.sheet-routes .button { width: 100%; min-height: 56px; }
.sheet-routes .button.secondary { min-height: 50px; }
.route-next { color: var(--muted); font-size: .92rem; line-height: 1.4; }
.plan-hint strong { color: var(--ink); }
.sheet-confirm { padding: 12px 14px 10px; background: #fdf0eb; border-left: 4px solid var(--mark); }
.sheet-confirm:focus { outline: 0; }
.sheet-confirm:focus-visible { outline: 2.5px solid var(--focus); outline-offset: 3px; }
.sheet-confirm p { line-height: 1.4; }
.confirm-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; margin-top: 8px; }
.confirm-actions .button { min-height: 44px; padding-block: .5rem; }
.link-button { min-height: 44px; padding: 0; background: none; border: 0; color: var(--ink); font-weight: 600; text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1.5px; }
.link-button:hover { color: var(--pine); }
.sheet-contractor { padding-top: 14px; border-top: 1px solid var(--rule); }
.sheet-contractor p { color: var(--muted); font-size: .97rem; line-height: 1.4; }
.sheet-title { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: var(--hair) solid var(--ink); }
.sheet-title div { padding: 10px 14px 11px; border-right: 1px solid var(--rule); }
.sheet-title div:last-child { border-right: 0; }
.sheet-title dt, .section-figure figcaption, .photo figcaption { color: var(--muted); font: 600 .72rem/1.3 var(--text); letter-spacing: .09em; text-transform: uppercase; }
.sheet-title dd { margin: 5px 0 0; font-size: .97rem; font-weight: 600; line-height: 1.3; }

.plan { --l: 30; --w: 20; --h: 290px; --sx: 16.6667%; --sy: 25%; --pl: 33.3333%; --pw: 40%; position: relative; width: min(100% - 92px, calc(var(--h) * var(--l) / var(--w))); margin: 56px 0 40px 92px; }
.plan-yard { position: relative; display: grid; place-items: center; aspect-ratio: var(--l) / var(--w); container-type: size; border: 2px solid var(--ink); background-color: var(--turf); background-image: linear-gradient(#ffffff38 1px, transparent 1px), linear-gradient(90deg, #ffffff38 1px, transparent 1px); background-size: var(--sx) var(--sy); color: #fff; }
.plan-area { margin: 0; text-align: center; font: 700 clamp(22px, min(20cqw, 38cqh), 88px)/1 var(--display); font-variant-numeric: tabular-nums lining-nums; }
.plan-area small { display: block; margin-top: .45em; font: 600 clamp(10px, 5.5cqh, 13px)/1 var(--text); letter-spacing: .09em; text-transform: uppercase; }
.sheet:has([name="patio"]:checked) .plan-area { margin-left: var(--pl); }
.plan-patio { display: none; position: absolute; top: 0; left: 0; width: var(--pl); height: var(--pw); place-items: center; overflow: hidden; border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink); background: repeating-linear-gradient(45deg, transparent 0 6px, #18201b3d 6px 7.5px), var(--sheet); color: var(--ink); font: 600 clamp(9px, 5cqh, 12px)/1.2 var(--text); letter-spacing: .07em; text-transform: uppercase; }
.sheet:has([name="patio"]:checked) .plan-patio { display: grid; }
.plan-gate { position: absolute; top: 100%; right: 16%; transform: translateX(50%); padding-top: 12px; color: var(--ink); font: 600 .72rem/1 var(--text); letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; }
.plan-gate::before { content: ''; position: absolute; top: -3px; left: calc(50% - 22px); width: 44px; height: 4px; background: var(--sheet); border-inline: 2px solid var(--ink); }
.dim { position: absolute; display: flex; align-items: center; gap: 8px; }
.dim::before, .dim::after { content: ''; flex: 1; background: var(--mark); }
.dim-l { left: 0; right: 0; bottom: calc(100% + 6px); height: 44px; background: linear-gradient(var(--mark) 0 0) left center / 1.5px 16px no-repeat, linear-gradient(var(--mark) 0 0) right center / 1.5px 16px no-repeat; }
.dim-l::before, .dim-l::after { height: 1.5px; }
.dim-w { top: 0; bottom: 0; right: calc(100% + 6px); width: 84px; flex-direction: column; background: linear-gradient(var(--mark) 0 0) center top / 16px 1.5px no-repeat, linear-gradient(var(--mark) 0 0) center bottom / 16px 1.5px no-repeat; }
.dim-w::before, .dim-w::after { width: 1.5px; }
.dim label, .patio-size label { display: inline-flex; align-items: center; gap: 4px; min-height: 44px; padding: 0 10px 0 8px; border: var(--hair) solid var(--ink); border-radius: 3px; background: var(--sheet); font-size: .85rem; font-weight: 600; cursor: text; }
.dim label:hover, .patio-size label:hover { border-color: var(--mark); }
.dim label:focus-within, .patio-size label:focus-within { outline: 2.5px solid var(--mark); outline-offset: 2px; }
.dim input, .patio-size input { width: 4.2ch; padding: 0; border: 0; background: none; font: 700 1.3rem/1.3 var(--display); font-variant-numeric: tabular-nums; text-align: right; appearance: textfield; -moz-appearance: textfield; }
.dim input:focus, .patio-size input:focus { outline: 0; }
.dim input::-webkit-inner-spin-button, .dim input::-webkit-outer-spin-button,
.patio-size input::-webkit-inner-spin-button, .patio-size input::-webkit-outer-spin-button { appearance: none; margin: 0; }

/* Bands and sections */
.band { border-block: var(--hair) solid var(--ink); }
.band-sheet, .services-band { background: var(--sheet); }
.services-band { border-block: var(--hair) solid var(--ink); }
.band-inner { padding-block: clamp(44px, 5.5vw, 80px); }
.band-head { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px 48px; align-items: end; margin-bottom: clamp(22px, 3vw, 36px); }
.band-head p { margin: 0; color: var(--muted); }
.doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); }
.door { display: flex; flex-direction: column; align-items: flex-start; }
.door h3 { margin-bottom: 12px; font: 700 1.6rem/1.05 var(--display); }
.door ul { align-self: stretch; margin: 0 0 22px; padding: 0; list-style: none; border-top: var(--hair) solid var(--ink); }
.door li { border-bottom: 1px solid var(--rule); }
.door li a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 16px; align-items: center; min-height: 44px; padding: 14px 4px; text-decoration: none; }
.door li strong { font-size: 1.12rem; font-weight: 600; }
.door li span { grid-column: 1; color: var(--muted); font-size: .97rem; }
.door li .arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--pine); }
.door li a:hover strong { text-decoration: underline; text-underline-offset: .2em; }
.door .button { margin-top: auto; }

.cost-feature { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 28px clamp(24px, 5vw, 72px); align-items: center; padding-block: clamp(44px, 5.5vw, 80px); }
.cost-copy p { margin: .9rem 0 .4rem; max-width: 50ch; color: var(--muted); }
.section-figure svg { display: block; width: 100%; height: auto; border: var(--hair) solid var(--ink); }
.section-figure figcaption { margin-top: 8px; }
.factors { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 clamp(20px, 3vw, 44px); margin: 0; }
.factors div { padding: 14px 0 16px; border-top: 1px solid var(--rule); }
.factors dt { display: flex; align-items: center; gap: 10px; font-size: 1.06rem; font-weight: 600; }
.factors dd { margin: 6px 0 0; color: var(--muted); font-size: .97rem; }
.swatch { flex: none; width: 16px; height: 16px; border: var(--hair) solid var(--ink); }
.swatch.turf { background: var(--turf); }
.swatch.base { background: #dde0d9; }
.swatch.soil { background: #cfa98a; }

.section-split { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(24px, 6vw, 90px); padding-block: clamp(44px, 5.5vw, 80px); }
.section-split > div > p { color: var(--muted); }
.region-band { --focus: var(--paper); background: var(--ink); color: var(--paper); }
.region-band h2 { color: var(--paper); }
.region-band .section-split > div > p { color: var(--on-ink); }
.region-band ::selection, .footer ::selection { background: var(--paper); color: var(--ink); }
.market-list { display: grid; align-content: center; }
.market-list a { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; padding: 1rem .25rem; border-bottom: 1px solid var(--rule); font: 700 clamp(1.4rem, 2.6vw, 2rem)/1.15 var(--display); text-decoration: none; }
.market-list a:first-child { border-top: 1px solid var(--rule); }
.market-list a:hover span:first-child { text-decoration: underline; }
.region-band .market-list a { border-color: #4a564d; }
.region-band .market-list .arrow { color: var(--mark); }
.callout-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.3rem 2rem; padding-block: clamp(40px, 5vw, 68px); }
.callout p { max-width: 56ch; color: var(--muted); }

/* Interior pages */
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); align-items: center; gap: clamp(24px, 4.5vw, 70px); padding-block: clamp(34px, 5vw, 72px); }
.interior-hero h1, .page-content h1, .intake-heading h1 { font-size: clamp(2.5rem, 4.8vw, 4.4rem); }
.page-intro .lede { margin-block: 1.1rem 1.5rem; }
.photo img { width: 100%; height: clamp(280px, 30vw, 440px); object-fit: cover; object-position: 46% center; background: #dfe4dc; border: var(--hair) solid var(--ink); }
figcaption { color: var(--muted); font-size: .85rem; }
.photo figcaption { margin-top: 8px; }
.golf-hero .photo img { height: auto; aspect-ratio: 12 / 11; }
.photo-work figcaption, .work-item figcaption, .work-clip figcaption { margin-top: 10px; color: var(--muted); font: 400 .95rem/1.45 var(--text); letter-spacing: 0; text-transform: none; }
.photo-work strong, .work-item strong, .work-clip strong { display: block; color: var(--ink); font-size: 1.05rem; font-weight: 600; }
.work-facts { display: block; color: var(--ink); font-size: .8rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.page-content { padding-block: clamp(40px, 6vw, 96px); }
.page-content .page-intro { max-width: 850px; }
.page-content .lede { max-width: 60ch; }
.detail-rows { margin: 0; border-top: var(--hair) solid var(--ink); }
.detail-rows > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.65fr); gap: 8px 24px; padding-block: 1.1rem; border-bottom: 1px solid var(--rule); }
.detail-rows dt { font-weight: 600; }
.detail-rows dd { margin: 0; color: var(--muted); }
.service-list { padding: 0; margin: 0; list-style: none; border-top: var(--hair) solid var(--ink); }
.service-list li { border-bottom: 1px solid var(--rule); }
.service-list a { display: grid; gap: .2rem .8rem; grid-template-columns: minmax(0, 1fr) auto; align-items: center; padding: 1rem .3rem; text-decoration: none; }
.service-list a:hover { background: var(--tint); }
.service-list a:hover :is(h2, h3) { text-decoration: underline; }
.service-list h3 { font: 700 1.45rem/1.1 var(--display); }
.service-list a p { grid-column: 1; margin: 0; color: var(--muted); font-size: .97rem; }
.service-list .arrow { grid-column: 2; grid-row: 1 / span 2; color: var(--pine); }
.estimate-doors { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); margin-top: clamp(20px, 3vw, 36px); border-top: 0; }
.estimate-doors li { border: var(--hair) solid var(--ink); background: var(--sheet); }
.estimate-doors a { height: 100%; align-content: start; padding: clamp(1.2rem, 2.4vw, 1.8rem); }
.estimate-doors h2 { font-size: clamp(1.9rem, 3vw, 2.6rem); }
.estimate-doors a p { margin-top: .5rem; }
.golf-scope section { padding-block: 1rem 1.4rem; border-top: 1px solid var(--rule); scroll-margin-top: 16px; }
.golf-scope section:first-child { border-top: var(--hair) solid var(--ink); }
/* Barlow's zero is wide, so 58ch sets roughly 75 characters per line. */
.golf-scope p { max-width: 58ch; }
.golf-scope .button { margin-top: 1rem; }
.golf-video { --focus: var(--clubhouse-accent); color-scheme: dark; background: var(--clubhouse); color: var(--paper); }
.golf-video h2 { color: var(--clubhouse-accent); margin-bottom: 1.4rem; }
.golf-video video { background: var(--clubhouse); accent-color: var(--clubhouse-accent); border-color: #4b6168; }
.golf-video .work-clip figcaption { color: #d9e4e2; }
.golf-video .work-clip strong { color: var(--paper); }

/* Completed work */
.loop-band { padding-block: clamp(8px, 2vw, 24px) clamp(44px, 5.5vw, 80px); }
.loop-layout { display: grid; gap: clamp(18px, 2.4vw, 28px) clamp(24px, 4vw, 56px); }
.loop { min-width: 0; }
.loop-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border: var(--hair) solid var(--ink); background: var(--tint); }
.loop-frame img, .loop-frame video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.loop-frame video { opacity: 0; transition: opacity .3s ease-out; }
.loop-frame.is-playing video { opacity: 1; }
.loop figcaption { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; color: var(--muted); font-size: .92rem; }
.loop-toggle { min-height: 44px; padding: 0; border: 0; background: none; color: var(--pine); font: 600 .95rem/1 var(--text); text-decoration: underline; text-underline-offset: .22em; cursor: pointer; }
.loop-toggle:hover { color: var(--turf); }
.benefit-list { margin: 0; padding: 0; list-style: none; border-top: var(--hair) solid var(--ink); }
.benefit-list li { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; padding: 12px 4px; border-bottom: 1px solid var(--rule); }
.benefit-list h3 { font: 700 clamp(1.35rem, 1.9vw, 1.6rem)/1.05 var(--display); }
.benefit-list h3 + p { margin: 0; color: var(--muted); font-size: .97rem; text-align: right; }
@media (min-width: 1100px) {
  .loop-layout { grid-template-columns: minmax(0, .42fr) minmax(0, 1fr); grid-template-rows: auto 1fr; align-items: start; }
  .loop { grid-column: 2; grid-row: 1 / span 2; }
  .benefit-list li { display: block; }
  .benefit-list h3 + p { margin-top: 4px; text-align: left; }
}
.work-band { padding-block: clamp(44px, 5.5vw, 80px); }
.work-band > .actions { margin-top: clamp(20px, 2.6vw, 30px); }
.work-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(22px, 2.6vw, 32px) clamp(16px, 2vw, 26px); }
.work-grid:has(> :nth-child(4)) { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.work-item a { display: block; }
.work-item img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #dfe4dc; border: var(--hair) solid var(--ink); transition: border-color .15s; }
.work-item a:hover img { border-color: var(--mark); }
.clip-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 250px)); gap: clamp(18px, 2.4vw, 30px); margin-top: clamp(28px, 3.4vw, 44px); }
.work-clip video { width: 100%; height: auto; aspect-ratio: 9 / 16; background: var(--ink); border: var(--hair) solid var(--ink); }
.work-jump { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: clamp(22px, 3vw, 34px); border-top: 1px solid var(--rule); }
.work-jump a { display: inline-flex; align-items: center; min-height: 48px; font-weight: 600; }
.work-intro { padding-bottom: clamp(22px, 3vw, 40px); }
.work-group { padding-block: clamp(34px, 4.4vw, 60px); border-top: var(--hair) solid var(--ink); scroll-margin-top: 8px; }
.work-group:nth-of-type(odd) { background: var(--sheet); }
.work-group + .callout { border-top: var(--hair) solid var(--ink); }
.work-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .3rem 1.5rem; margin-bottom: clamp(18px, 2.4vw, 28px); }
.sample-note { margin: .2rem 0 .5rem; padding: .7rem .9rem; background: #fdf0eb; border-left: 4px solid var(--mark); }
.related { display: flex; flex-wrap: wrap; gap: .4rem 1.8rem; padding-block: 1.6rem; }
.legal { max-width: 740px; }
.legal h2 { margin-top: 2rem; font-size: 2rem; }
.notice { width: fit-content; max-width: 100%; margin-top: 1.5rem; padding: .9rem 1.1rem; background: var(--sheet); border: var(--hair) solid var(--ink); }
.footer { --focus: var(--paper); background: var(--ink); color: var(--paper); }
.footer-inner { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1.25rem; padding-block: 2.2rem; }
.footer p { margin-top: .35rem; font-size: .92rem; color: var(--on-ink); }
.footer nav { display: flex; flex-wrap: wrap; gap: 0 1.4rem; font-size: .95rem; font-weight: 600; }
.footer nav a { display: inline-flex; align-items: center; min-height: 44px; }

/* Estimate forms */
.intake-heading { padding-top: clamp(34px, 5vw, 72px); }
.flow-switch { display: flex; flex-wrap: wrap; gap: 0 1.25rem; border-bottom: var(--hair) solid var(--ink); }
.flow-switch a { display: inline-flex; align-items: center; min-height: 48px; margin-bottom: -1.5px; padding: .6rem .1rem; color: var(--muted); font-weight: 600; text-decoration: none; border-bottom: 4px solid transparent; }
.flow-switch a:hover { color: var(--ink); text-decoration: underline; }
.flow-switch a[aria-current] { color: var(--ink); border-color: var(--pine); }
.intake-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(240px, 1fr); align-items: start; gap: clamp(20px, 5vw, 64px); padding-block: 1.75rem 4rem; }
.intake-aside { position: sticky; top: 20px; padding: 1.2rem 1.35rem 1.35rem; background: var(--sheet); border: var(--hair) solid var(--ink); color: var(--muted); }
.intake-aside h2 { font-size: 1.9rem; }
.intake-aside p + p, .intake-aside .text-link { margin-top: .8rem; }
.intake-form { min-width: 0; }
.intake-form fieldset { min-width: 0; margin: 0 0 1.4rem; padding: .4rem 0 1.6rem; border: 0; border-bottom: 1px solid var(--rule); }
.intake-form legend { padding: 0; margin-bottom: .5rem; font: 700 clamp(1.6rem, 2.2vw, 2rem)/1.15 var(--display); }
.intake-form legend span { display: inline-grid; place-items: center; width: 1.9rem; height: 1.9rem; margin-right: .45rem; border-radius: 3px; background: var(--ink); color: var(--paper); vertical-align: .12em; font: 600 1rem/1 var(--text); }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem 1.1rem; }
.wide { grid-column: 1 / -1; }
.field-grid label, .file-field label, .field-label { font-size: .97rem; font-weight: 600; }
label small { color: var(--muted); font-size: .86rem; font-weight: 400; }
label small:not(:first-of-type), label > input + small { display: block; }
label > small + textarea { margin-top: .45rem; }
.intake-form input:not([type="radio"], [type="hidden"]), .intake-form select, .intake-form textarea { display: block; width: 100%; min-width: 0; min-height: 48px; margin-top: .35rem; padding: .5rem .7rem; border: var(--hair) solid var(--ink); border-radius: 3px; background: var(--sheet); color: var(--ink); font-size: 1.02rem; font-weight: 400; }
.intake-form :is(input, select, textarea):focus-visible { outline: 2.5px solid var(--mark); outline-offset: 2px; }
.intake-form ::placeholder { color: #66716a; opacity: 1; }
.intake-form input[type="file"] { padding: .4rem; background: var(--paper); font-size: .92rem; }
.intake-form input::file-selector-button { margin-right: .7rem; padding: .4rem .7rem; border: var(--hair) solid var(--ink); border-radius: 3px; background: var(--sheet); color: var(--ink); font: 600 .92rem var(--text); cursor: pointer; }
.intake-form input[type="radio"] { width: 20px; height: 20px; margin: 0; accent-color: var(--pine); }
.intake-form textarea { resize: vertical; }
.choice-group { display: flex; flex-wrap: wrap; align-items: center; gap: 0 1.1rem; margin-block: .6rem .4rem; }
.choice-group .field-label { width: 100%; }
.radio { display: flex; align-items: center; gap: .45rem; min-height: 44px; cursor: pointer; }
.materials { padding: 1rem 1.1rem 1.15rem; margin-bottom: 1rem; background: var(--paper); border: 1px solid var(--rule); }
.materials h2 { font-size: 1.5rem; }
.materials h2 + p { margin-top: .35rem; }
.field-help { color: var(--muted); font-size: .92rem; }
.intake-layout:not(:has([name="type"] option[value="playground"]:checked)) .playground-help,
.intake-layout:has([name="type"] option[value="playground"]:checked) .field-bid-help { display: none; }
.file-field { margin-top: .6rem; }
.file-field + label { display: block; margin-top: .9rem; }
.measure-fields:not(:empty) { margin-bottom: .5rem; }
.measure-total { display: none; margin: 0 0 1rem; font-weight: 600; }
.measure-total output { margin-inline: .25em; font: 700 1.6rem/1 var(--display); font-variant-numeric: tabular-nums; }
.intake-form:has([name="measure"][value="dimensions"]:checked) .measure-total { display: block; }
.intake-form:not(:has([name="measure"][value="area"]:checked)) [data-measure="area"],
.intake-form:not(:has([name="measure"][value="dimensions"]:checked)) [data-measure="dimensions"],
.intake-form:not(:has([name="method"][value="email"]:checked)) [data-method="email"],
.intake-form:not(:has([name="method"][value="phone"]:checked)) [data-method="phone"],
.intake-form:not(:has([name="type"] option[value="putting"]:checked)) [data-type="putting"],
.intake-form:not(:has([name="type"] option[value="mini-golf"]:checked)) [data-type="mini-golf"] { display: none; }
.form-submit { display: grid; justify-items: start; gap: .8rem; }
.form-submit p { color: var(--muted); font-size: .92rem; }
.form-errors { margin-bottom: 1.3rem; padding: .9rem 1.1rem; background: #fdf0eb; border: var(--hair) solid #b3401a; }
.form-errors h2 { font-size: 1.6rem; }
.form-errors ul { margin-bottom: 0; padding-left: 1.35rem; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; }
}
@media (max-width: 1020px) {
  .work-grid, .work-grid:has(> :nth-child(4)) { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 960px) {
  .sheet { grid-template-columns: minmax(0, 1fr); }
  .sheet-plan { min-height: 0; border-right: 0; border-bottom: var(--hair) solid var(--ink); }
  .detail-rows > div { grid-template-columns: 1fr; gap: .25rem; }
}
/* Five header entries fit on one line from about 980px. */
@media (max-width: 980px) {
  .header-inner { min-height: 62px; gap: .55rem; }
  .menu-toggle { display: block; }
  .menu-toggle > summary { display: flex; align-items: center; gap: .6rem; min-height: 44px; padding-inline: .75rem; border: var(--hair) solid var(--ink); border-radius: 3px; font-size: 1rem; font-weight: 600; }
  .menu-toggle span { display: grid; align-content: center; gap: 6px; width: 1rem; }
  .menu-toggle span::before, .menu-toggle span::after { content: ''; height: 1.5px; background: currentColor; }
  .menu-toggle[open] span { gap: 0; }
  .menu-toggle[open] span::before { transform: translateY(.75px) rotate(45deg); }
  .menu-toggle[open] span::after { transform: translateY(-.75px) rotate(-45deg); }
  .menu-toggle:not([open]) + nav { display: none; }
  .site-nav nav { position: absolute; inset: 100% 0 auto; overflow: auto; max-height: calc(100dvh - 62px); flex-direction: column; align-items: stretch; gap: 0; padding: .25rem var(--gutter) 1rem; background: var(--paper); border-bottom: var(--hair) solid var(--ink); }
  .site-nav nav .button { margin-top: .6rem; align-self: flex-start; }
  .dropdown-panel { position: static; min-width: 0; padding: .2rem 0 .4rem .8rem; background: transparent; border: 0; }
}
@media (max-width: 740px) {
  .hero, .section-split, .intake-layout, .home-pitch, .band-head, .doors, .cost-feature, .factors { grid-template-columns: minmax(0, 1fr); }
  .hero { padding-block: 30px 36px; gap: 22px; }
  .home-hero { padding-top: 18px; }
  .home-pitch { gap: 12px; margin-bottom: 16px; }
  .hero-region { margin-bottom: .45rem; font-size: .92rem; }
  .sheet-plan { padding-inline: 10px; }
  .plan { --h: 128px; margin: 52px 0 32px 88px; }
  .plan-hint { margin-bottom: 8px; font-size: .86rem; }
  .sheet-controls { gap: 6px; padding: 10px 14px 14px; }
  .check { padding-top: 0; }
  .sheet-routes { gap: 8px; }
  .sheet-routes .button { min-height: 52px; }
  .sheet-routes .button.secondary { min-height: 46px; }
  .sheet-contractor { padding-top: 8px; }
  .sheet-title { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .sheet-title div:nth-child(2) { border-right: 0; }
  .sheet-title div:nth-child(-n + 2) { border-bottom: 1px solid var(--rule); }
  .band-head p { margin-top: .25rem; }
  .photo img, .interior-hero .photo img { height: auto; aspect-ratio: 1.65; }
  .golf-hero .photo img { aspect-ratio: 12 / 11; }
  .estimate-doors { grid-template-columns: minmax(0, 1fr); }
  .intake-aside { position: static; }
}
@media (max-width: 600px) {
  .work-grid, .work-grid:has(> :nth-child(4)) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 460px) {
  .hero .actions { align-items: stretch; flex-direction: column; }
  .hero .actions .button { width: 100%; }
  .field-grid { grid-template-columns: minmax(0, 1fr); }
  .flow-switch { gap: 0 .9rem; font-size: .95rem; }
  .callout .actions { align-items: stretch; flex-direction: column; }
}
@media (max-width: 600px) {
  .loop-frame { aspect-ratio: 4 / 5; }
}
