/* Larkfield Fence Co. example site · "Red Line": ink line work and fence red on white survey paper, grass green. Phone first. */
@font-face { font-family: "Big Shoulders"; src: url(assets/fonts/bigshoulders.woff2) format("woff2"); font-weight: 500 900; font-display: swap; }

:root {
  --paper: #ffffff; --paper-2: #f5f6f2; --ink: #17191b; --ink-2: #4b5157; --line: #dcdfd8;
  --red: #c8102e; --red-d: #a50d26; --red-ink: #ffffff; --grass: #5e9e45; --grass-d: #3f7a2e;
  --fd: "Big Shoulders", "Arial Narrow", Impact, system-ui, sans-serif;
  --ft: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --hdr: 74px; --r: 4px;
  --safe-b: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: calc(var(--hdr) + 8px); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { margin: 0; background: var(--paper); color: var(--ink); font: 17px/1.5 var(--ft); overflow-x: clip; }
img, svg, canvas { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--fd); font-weight: 800; line-height: .95; margin: 0; text-transform: uppercase; letter-spacing: .005em; }
h2 { font-size: clamp(38px, 10vw, 64px); }
h3 { font-size: 26px; }
p { margin: 0; }
button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 2px; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 0 18px; border-radius: var(--r);
  font: 700 16px/1.1 var(--ft); text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: background-color .15s, color .15s, transform .15s; }
.btn svg { width: 18px; height: 18px; flex: none; }
.btn--red { background: var(--red); color: var(--red-ink); }
.btn--red:hover { background: var(--red-d); }
.btn--line { background: var(--paper); color: var(--ink); border-color: var(--ink); }
.btn--line:hover { background: var(--ink); color: #fff; }
.btn--sm { min-height: 44px; font-size: 15px; padding: 0 14px; }
.btn:active { transform: translateY(1px); }

.demo { background: var(--ink); color: #fff; font-size: 12.5px; line-height: 1.35; padding: 6px 16px; }
.demo__l { display: none; color: #c9cdd1; }
.exr { text-align: center; }
.exr a { color: inherit; text-decoration: none; }
.exr u { text-decoration: underline; text-underline-offset: 2px; }
@media (max-width: 560px) { .exr__sep { display: none; } .exr__b { display: block; } }

/* ---------- top bar with the fence-line nav ---------- */
.top { position: sticky; top: 0; z-index: 30; background: rgba(255, 255, 255, .97); display: grid; grid-template-columns: 1fr auto; align-items: center;
  gap: 4px 12px; padding: 8px 16px 0; border-bottom: 1px solid var(--line); }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; min-height: 44px; }
.logo svg { width: 40px; height: 32px; color: var(--ink); }
.logo b { display: block; font: 800 23px/1 var(--fd); text-transform: uppercase; letter-spacing: .01em; }
.logo small { display: block; font-size: 12.5px; color: var(--ink-2); line-height: 1.2; }
.top__call { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 0 12px; border-radius: var(--r); background: var(--red); color: #fff;
  font-weight: 700; font-size: 15px; text-decoration: none; }
.top__call svg { width: 17px; height: 17px; }
.top__call span { display: none; }
.line { grid-column: 1 / -1; position: relative; height: 12px; }
.line__run { position: absolute; left: 0; right: 0; bottom: 3px; height: 3px; background: var(--line); }
.line__run i { position: absolute; inset: 0 auto 0 0; width: 100%; background: var(--red); transform-origin: 0 50%; transform: scaleX(var(--lp, 0)); }
.line .tick { position: absolute; bottom: 0; width: 3px; height: 9px; background: var(--line); transform: translateX(-1px); }
.line__run, .line .tick { pointer-events: none; }
.line .tick[data-on] { background: var(--red); }
.line a { display: none; }

/* ---------- hero: three planes ---------- */
.hero { position: relative; }
.hero__art { position: relative; height: clamp(280px, 41svh, 430px); overflow: hidden; background: #f3f7f8; border-bottom: 2px solid var(--ink); }
.hp { position: absolute; inset: 0; width: 100%; height: 100%; transform-origin: 50% 62%; will-change: transform; }
.hp--far { transform: scale(calc(1 + var(--hp, 0) * .035)); }
.hp--mid { transform: translateY(calc(var(--hp, 0) * -2%)) scale(calc(1 + var(--hp, 0) * .09)); }
.hp--near { transform-origin: 50% 100%; transform: translateY(calc(var(--hp, 0) * 7%)) scale(calc(1 + var(--hp, 0) * .08)); }
.hero__cap { stroke-dasharray: 100; stroke-dashoffset: 0; }
.js .hero__cap { animation: capdraw 1.6s .25s cubic-bezier(.3, .7, .2, 1) both; }
@keyframes capdraw { from { stroke-dashoffset: 100; } to { stroke-dashoffset: 0; } }
.hero__text { padding: 18px 16px 26px; display: grid; gap: 12px; }
h1 { font-size: clamp(36px, 10.6vw, 46px); }
.lead { font-size: 17px; color: var(--ink-2); max-width: 34em; }
.cta { display: grid; gap: 10px; margin-top: 4px; }

/* ---------- fences ---------- */
.head { display: grid; gap: 10px; padding: 0 16px; max-width: 760px; }
.head p { color: var(--ink-2); }
.tag { justify-self: start; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--red); border: 1.5px solid var(--red); padding: 3px 8px; border-radius: 2px; }
.fences { padding: 44px 0 36px; }
.rail { list-style: none; margin: 22px 0 0; padding: 0 16px 8px; display: grid; grid-auto-flow: column; grid-auto-columns: 80%; gap: 12px;
  overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
.rail::-webkit-scrollbar { display: none; }
.card { scroll-snap-align: start; border: 2px solid var(--ink); border-radius: var(--r); padding: 14px 14px 16px; display: grid; gap: 8px; align-content: start; background: #fff; }
.card p { color: var(--ink-2); font-size: 15.5px; }
.card .btn { justify-self: start; margin-top: 4px; }
.elev { width: 100%; height: 150px; }
.elev .dim { font-family: var(--fd); font-weight: 700; letter-spacing: .06em; fill: var(--ink); }
.fences__more { padding: 14px 16px 0; color: var(--ink-2); font-size: 15.5px; }

/* ---------- before digging ---------- */
.dig { padding: 40px 16px 48px; background: var(--paper-2); border-block: 1px solid var(--line); display: grid; gap: 24px; }
.dig__text { display: grid; gap: 12px; max-width: 640px; }
.dig__text p { color: var(--ink-2); }
.dig__text b { color: var(--ink); }
.dig__note { border-left: 4px solid var(--red); padding-left: 12px; color: var(--ink) !important; }
.src { font-size: 13.5px; }
.flags { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
.flags li { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 10px; font-size: 15px; color: var(--ink-2); line-height: 1.25; }
.flags b { display: block; color: var(--ink); font-size: 15px; }
.flags i { position: relative; width: 34px; height: 46px; }
.flags i::before { content: ""; position: absolute; left: 6px; bottom: 0; width: 2px; height: 44px; background: var(--ink); }
.flags i::after { content: ""; position: absolute; left: 8px; top: 2px; width: 22px; height: 15px; background: var(--c); border: 1.5px solid var(--ink); border-left: 0; transform-origin: 0 50%; }
.js .flags li { opacity: 0; transform: translateY(14px); transition: opacity .5s, transform .5s cubic-bezier(.2, .8, .2, 1); transition-delay: calc(var(--i, 0) * 90ms); }
.js .flags[data-in] li { opacity: 1; transform: none; }
.js .flags[data-in] i::after { animation: flap 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * -.4s); }
@keyframes flap { 0%, 100% { transform: skewY(0) scaleX(1); } 35% { transform: skewY(-7deg) scaleX(.9); } 70% { transform: skewY(4deg) scaleX(.97); } }

/* ---------- PEAK ---------- */
.build { position: relative; height: 560svh; background: #eef3ee; }
.build__pin { position: sticky; top: var(--hdr); height: calc(100svh - var(--hdr)); display: grid; grid-template-rows: 57% 43%; overflow: hidden; }
.build__stage { position: relative; overflow: hidden; background: #eef3ee; }
.build__poster, .build__cv { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.build__cv { opacity: 0; transition: opacity .4s; }
.build[data-live] .build__cv { opacity: 1; }
.build__nogl { position: absolute; left: 10px; right: 10px; bottom: 10px; background: rgba(255, 255, 255, .94); padding: 8px 10px; font-size: 13.5px; border-radius: var(--r); }
.build__mine { position: absolute; left: 10px; right: 10px; top: 10px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 10px;
  background: var(--ink); color: #fff; padding: 6px 6px 6px 12px; border-radius: var(--r); font-size: 14px; }
.build__back { color: #fff; font-weight: 700; min-height: 40px; display: inline-flex; align-items: center; padding: 0 8px; }
.build__panel { background: #fff; border-top: 2px solid var(--ink); padding: 12px 16px 10px; display: grid; align-content: start; gap: 6px; }
.build__k { font-size: 12.5px; font-weight: 700; color: var(--red); text-transform: uppercase; letter-spacing: .05em; }
.build__clock { display: flex; gap: 10px; align-items: baseline; font: 800 22px/1 var(--fd); text-transform: uppercase; }
.build__clock span { color: var(--ink-2); font-weight: 700; }
.build h2 { font-size: 30px; }
.build__x { font-size: 15px; color: var(--ink-2); min-height: 2.9em; line-height: 1.4; }
.count { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 2px 0 0; }
.count div { border-top: 2px solid var(--ink); padding-top: 4px; min-width: 0; }
.count dt { font-size: 11px; line-height: 1.2; color: var(--ink-2); min-height: 2.4em; }
.count dd { margin: 0; font: 800 24px/1 var(--fd); font-variant-numeric: tabular-nums; white-space: nowrap; }
.count dd small { font: 600 12px var(--ft); color: var(--ink-2); margin-left: 2px; }
.build__steps { display: none; }
.build__sample { font-size: 11.5px; color: var(--ink-2); line-height: 1.3; }
.build__sample .ss { display: none; }
.build__skip { justify-self: start; font-size: 14px; font-weight: 700; min-height: 32px; display: inline-flex; align-items: center; }

/* ---------- planner ---------- */
.plan { padding: 48px 0 40px; }
.plan__grid { display: grid; gap: 18px; margin-top: 18px; }
.plan__draw { margin: 0; padding: 0 12px; }
.plot { width: 100%; height: auto; background: #fff; border: 2px solid var(--ink); border-radius: var(--r); touch-action: manipulation; }
.plot text { font-family: var(--fd); font-weight: 700; letter-spacing: .04em; }
.plan__draw figcaption { font-size: 13px; color: var(--ink-2); margin-top: 6px; }
.plan__in { padding: 0 16px; display: grid; gap: 14px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { font-weight: 700; font-size: 15px; margin-bottom: 8px; padding: 0; }
.mat, .seg { display: grid; gap: 8px; }
.mat { grid-template-columns: 1fr 1fr; }
.seg { grid-template-columns: repeat(3, 1fr); }
.seg--wrap { grid-template-columns: 1fr 1fr; }
.mat label, .seg label { position: relative; }
.mat input, .seg input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.mat span, .seg span { display: flex; align-items: center; justify-content: center; text-align: center; min-height: 48px; padding: 6px 8px; border: 2px solid var(--ink); border-radius: var(--r);
  font-weight: 700; font-size: 15px; background: #fff; line-height: 1.15; }
.mat input:checked + span, .seg input:checked + span { background: var(--ink); color: #fff; }
.mat input:focus-visible + span, .seg input:focus-visible + span { outline: 3px solid var(--red); outline-offset: 2px; }
.plan__hoa { font-size: 13.5px; color: var(--ink-2); border-left: 4px solid var(--red); padding-left: 10px; margin-top: -4px; }
.sides, .gates { display: grid; gap: 10px; }
.ft { display: flex; align-items: center; justify-content: space-between; gap: 10px; font-weight: 600; font-size: 15.5px; }
.ft small { display: block; font-weight: 400; color: var(--ink-2); font-size: 13px; }
.ft--opt > span:first-child { display: flex; align-items: center; gap: 8px; }
.ft--opt input[type=checkbox] { width: 22px; height: 22px; accent-color: var(--red); margin: 0; }
.ft__in { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r); flex: none; }
.ft__in button { width: 44px; height: 44px; border: 0; background: #fff; font-size: 22px; font-weight: 700; cursor: pointer; border-radius: var(--r); }
.ft__in button:active { background: var(--paper-2); }
.ft__in input { width: 52px; height: 44px; border: 0; text-align: right; font: 800 22px var(--fd); background: transparent; -moz-appearance: textfield; padding: 0; }
.ft__in input::-webkit-inner-spin-button, .ft__in input::-webkit-outer-spin-button { -webkit-appearance: none; margin: 0; }
.ft__in em { font-style: normal; font-size: 14px; color: var(--ink-2); width: 18px; padding-left: 3px; }
.ft[data-off] .ft__in { opacity: .35; }
.plan__out { margin: 0 12px; border: 2px solid var(--ink); border-radius: var(--r); padding: 14px; display: grid; gap: 12px; background: #fff; }
.qty { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 8px; margin: 0; }
.qty div { border-top: 2px solid var(--ink); padding-top: 4px; min-width: 0; }
.qty dt { font-size: 12px; color: var(--ink-2); line-height: 1.2; min-height: 2.4em; }
.qty dd { margin: 0; font: 800 24px/1.05 var(--fd); }
.price { display: grid; gap: 2px; background: var(--paper-2); border-left: 5px solid var(--red); padding: 10px 12px; }
.price span { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2); }
.price b { font: 800 32px/1 var(--fd); }
.price__note { font-size: 13px; color: var(--ink-2); line-height: 1.4; }
.price__note b { color: var(--red); }
.plan__btns { display: grid; gap: 10px; }

/* ---------- quote ---------- */
.quote { padding: 44px 0 44px; background: var(--paper-2); border-block: 1px solid var(--line); }
.form { display: grid; gap: 14px; padding: 18px 16px 0; max-width: 760px; }
.form__plan { border: 2px dashed var(--red); border-radius: var(--r); padding: 10px 12px; background: #fff; display: grid; grid-template-columns: 1fr auto; gap: 2px 10px; }
.form__plan span { font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: var(--red); grid-column: 1 / -1; }
.form__plan p { font-size: 15px; }
.form__plan a { align-self: end; font-weight: 700; font-size: 15px; min-height: 44px; display: inline-flex; align-items: center; }
.fld { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
.fld small { font-weight: 400; color: var(--ink-2); }
.fld input, .fld textarea { font: 16px/1.4 var(--ft); padding: 11px 12px; min-height: 48px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; width: 100%; color: var(--ink); }
.fld input[type=file] { padding: 10px; font-size: 15px; }
.fld[data-bad] input { border-color: var(--red); background: #fff5f6; }
.plat { font-style: normal; font-size: 13.5px; color: var(--ink-2); display: flex; align-items: center; gap: 10px; font-weight: 400; }
.plat img { width: 56px; height: 56px; object-fit: cover; border: 1px solid var(--line); }
.form__err { color: var(--red-d); font-weight: 700; }
.form .btn { justify-self: stretch; }
.form__priv { font-size: 13px; color: var(--ink-2); }
.thanks { margin: 18px 16px 0; padding: 18px; border: 2px solid var(--ink); border-radius: var(--r); background: #fff; display: grid; gap: 8px; max-width: 760px; }
.thanks h3 span { color: var(--red); }
.thanks__demo { font-size: 14.5px; color: var(--ink-2); }

/* ---------- reviews + title-block close ---------- */
.reviews { padding: 40px 16px 44px; display: grid; gap: 10px; justify-items: start; }
.reviews h2 { display: flex; align-items: center; gap: 10px; font-size: clamp(30px, 8.6vw, 46px); }
.reviews h2 svg { width: 30px; height: 30px; color: var(--red); flex: none; }
.reviews p { color: var(--ink-2); }
.sheet { padding: 0 12px calc(92px + var(--safe-b)); }
.sheet__block { border: 3px solid var(--ink); display: grid; grid-template-columns: 1fr 1fr; }
.sheet__name { grid-column: 1 / -1; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 4px 12px; padding: 14px; border-bottom: 2px solid var(--ink); }
.sheet__name svg { width: 54px; height: 44px; grid-row: span 2; }
.sheet__name b { font: 800 34px/1 var(--fd); text-transform: uppercase; }
.sheet__name span { font: 700 15px/1.2 var(--fd); letter-spacing: .12em; text-transform: uppercase; color: var(--red); }
.sheet__cell { padding: 10px 12px; border-bottom: 1px solid var(--ink); min-width: 0; }
.sheet__cell:nth-child(odd) { border-left: 1px solid var(--ink); }
.sheet__cell small { display: block; font-size: 11.5px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--ink-2); }
.sheet__cell p { font-size: 15px; }
.sheet__tel { font: 800 22px/1.2 var(--fd); text-decoration: none; display: inline-block; min-height: 32px; }
.sheet__cell a:not(.btn) { min-height: 32px; display: inline-block; }
.sheet__cell--cta { grid-column: 1 / -1; border: 0 !important; padding: 12px; }
.sheet__cell--cta .btn { width: 100%; }
.credit { margin-top: 12px; font-size: 13px; text-align: right; }
.credit a { color: var(--ink-2); display: inline-block; min-height: 32px; padding-top: 6px; }

.bar { position: fixed; z-index: 40; left: 0; right: 0; bottom: 0; display: grid; grid-template-columns: 1fr 1.6fr; gap: 8px; padding: 8px 12px calc(8px + var(--safe-b));
  background: rgba(255, 255, 255, .97); border-top: 2px solid var(--ink); transition: transform .25s; }
.bar[data-hide] { transform: translateY(110%); }

/* ---------- small phones ---------- */
@media (max-width: 370px) {
  .logo b { font-size: 20px; }
  .count dd { font-size: 21px; }
  .count dt { font-size: 10.5px; }
  .build h2 { font-size: 26px; }
  .build__x { font-size: 14px; }
  .qty dd { font-size: 21px; }
}
@media (max-height: 700px) and (max-width: 899px) {
  .demo { padding: 4px 16px; font-size: 12px; }
  .hero__art { height: max(160px, 26svh); }
  h1 { font-size: 32px; }
  .lead { font-size: 15.5px; }
  .hero__text { padding-top: 12px; gap: 9px; }
  .build__pin { grid-template-rows: 48% 52%; }
  .build__x { min-height: 0; }
  .build__sample .sl { display: none; } .build__sample .ss { display: inline; }
  .build h2 { font-size: 25px; }
  .build__panel { gap: 4px; padding-top: 8px; }
  .build__skip { min-height: 28px; }
}

/* ---------- laptop: its own composition ---------- */
@media (min-width: 900px) {
  :root { --hdr: 104px; }
  .demo { padding: 6px 32px; } .demo__l { display: inline; }
  .top { padding: 10px 32px 0; grid-template-columns: auto 1fr auto; }
  .top__call span { display: inline; }
  .top__call { padding: 0 16px; grid-column: 3; justify-self: end; }
  .line { height: 34px; grid-column: 1 / -1; }
  .line__run { bottom: 22px; }
  .line .tick { bottom: 19px; height: 10px; }
  .line a { display: block; position: absolute; top: 0; padding: 14px 6px 0; font: 700 13px/1 var(--ft); text-transform: uppercase; letter-spacing: .05em; color: var(--ink-2);
    text-decoration: none; transform: translateX(-50%); white-space: nowrap; min-height: 34px; }
  .line a::before { content: ""; position: absolute; left: 50%; top: 2px; width: 4px; height: 14px; margin-left: -2px; background: var(--line); }
  .line a[data-on] { color: var(--ink); } .line a[data-on]::before { background: var(--red); }
  .line a:hover { color: var(--red); }

  .hero { min-height: calc(100svh - var(--hdr) - 28px); display: grid; align-items: center; }
  .hero__art { position: absolute; inset: 0 0 0 38%; height: auto; border-bottom: 0; border-left: 2px solid var(--ink); }
  .hero__text { position: relative; width: calc(38% - 24px); padding: 48px 0 48px 32px; gap: 18px; }
  h1 { font-size: clamp(54px, 4.9vw, 92px); }
  .lead { font-size: 19px; }
  .cta { display: flex; flex-wrap: wrap; gap: 10px; }
  .cta .btn { min-width: 200px; white-space: nowrap; }

  .head { padding: 0 32px; }
  .fences { padding: 72px 0 64px; border-top: 2px solid var(--ink); }
  .rail { grid-auto-flow: row; grid-template-columns: repeat(4, 1fr); overflow: visible; padding: 0 32px; gap: 16px; margin-top: 30px; }
  .card { transition: transform .2s, box-shadow .2s; }
  .card:hover { transform: translateY(-3px); box-shadow: 0 10px 0 -4px var(--red); }
  .elev { height: 170px; }
  .fences__more { padding: 18px 32px 0; }

  .dig { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); padding: 72px 32px; gap: 48px; align-items: center; }
  .flags { grid-template-columns: 1fr 1fr 1fr; gap: 26px 20px; }
  .flags i { width: 44px; height: 66px; } .flags i::before { height: 64px; } .flags i::after { width: 30px; height: 20px; }
  .flags li { grid-template-columns: 44px 1fr; }

  .build { height: 620vh; }
  .build__pin { display: block; }
  .build__stage { position: absolute; inset: 0; }
  .build__panel { position: absolute; left: 32px; top: 24px; max-height: calc(100% - 48px); width: 380px; border: 2px solid var(--ink); border-radius: var(--r); padding: 18px 20px; gap: 8px;
    overflow: auto; background: rgba(255, 255, 255, .97); }
  .build h2 { font-size: 36px; }
  .build__x { font-size: 16px; min-height: 3em; }
  .count { grid-template-columns: 1fr 1fr; gap: 10px; }
  .count dd { font-size: 30px; }
  .count dd small { font-size: 14px; }
  .count dt { min-height: 0; font-size: 12.5px; }
  .build__steps { display: grid; list-style: none; margin: 4px 0 0; padding: 0; gap: 2px; font-size: 14px; color: var(--ink-2); }
  .build__steps li { display: grid; grid-template-columns: 116px 1fr; gap: 8px; padding: 3px 0; border-bottom: 1px solid var(--line); }
  .build__steps li span { font-weight: 700; color: var(--ink-2); }
  .build__steps li[data-done] { color: var(--ink); }
  .build__steps li[data-now] { color: var(--ink); font-weight: 700; }
  .build__steps li[data-now] span { color: var(--red); }
  .build__mine { left: auto; right: 24px; top: 24px; width: auto; }
  .build__nogl { left: auto; right: 24px; max-width: 420px; }

  .plan { padding: 80px 0 72px; }
  .plan__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); grid-template-areas: "draw in" "draw out"; padding: 0 32px; gap: 20px 40px; margin-top: 26px; align-items: start; }
  .plan__draw { grid-area: draw; padding: 0; position: sticky; top: calc(var(--hdr) + 16px); }
  .plot { max-height: calc(100vh - var(--hdr) - 70px); width: auto; max-width: 100%; }
  .plan__in { grid-area: in; padding: 0; }
  .plan__out { grid-area: out; margin: 0; }
  .mat { grid-template-columns: repeat(4, 1fr); }
  .qty { grid-template-columns: repeat(3, 1fr); }
  .plan__btns { grid-auto-flow: column; justify-content: start; }
  .plan__btns .btn { min-width: 200px; }

  .quote { padding: 80px 0; }
  .form { grid-template-columns: 1fr 1fr; padding: 26px 32px 0; gap: 16px 20px; max-width: 980px; }
  .form__plan, .seg--wrap, .fld--wide, .fld--file, .form__err, .form .btn, .form__priv { grid-column: 1 / -1; }
  .seg--wrap { grid-template-columns: repeat(4, 1fr); }
  .form .btn { justify-self: start; min-width: 240px; }
  .thanks { margin: 26px 32px 0; }

  .reviews { padding: 72px 32px; grid-template-columns: 1fr auto; align-items: center; }
  .reviews h2 { grid-column: 1; } .reviews p { grid-column: 1; } .reviews .btn { grid-column: 2; grid-row: 1 / span 2; }
  .sheet { padding: 0 32px 40px; }
  .sheet__block { grid-template-columns: 1.6fr repeat(3, 1fr); }
  .sheet__name { grid-column: 1; grid-row: span 2; border-bottom: 0; border-right: 2px solid var(--ink); padding: 24px; }
  .sheet__name b { font-size: 48px; }
  .sheet__cell { border-left: 0 !important; border-right: 1px solid var(--ink); }
  .sheet__cell:nth-child(4), .sheet__cell:nth-child(7) { border-right: 0; }
  .sheet__cell--cta { grid-column: auto; border-bottom: 1px solid var(--ink) !important; display: flex; align-items: center; }
  .bar { display: none; }
}
@media (min-width: 1200px) {
  .quote { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); align-items: start; padding-right: 32px; }
  .quote .head { position: sticky; top: calc(var(--hdr) + 24px); }
  .quote .form { grid-column: 2; padding-top: 0; padding-left: 0; padding-right: 0; }
  .quote .thanks { grid-column: 2; margin: 0; }
}
@media (min-width: 900px) and (max-height: 940px) {
  .build__steps li { padding: 1px 0; font-size: 13px; }
  .build h2 { font-size: 31px; }
  .count dd { font-size: 26px; }
  .build__panel { gap: 6px; padding: 14px 18px; }
}
@media (min-width: 900px) and (max-height: 820px) {
  .build__steps { display: none; }
}
@media (min-width: 1500px) {
  .hero__text { padding-left: 56px; }
  .head, .rail, .plan__grid, .form { padding-left: 56px; padding-right: 56px; }
  .fences__more { padding-left: 56px; }
  .dig { padding-left: 56px; padding-right: 56px; }
  .build__panel { left: 56px; width: 420px; }
  .sheet { padding-left: 56px; padding-right: 56px; }
  .reviews { padding-left: 56px; padding-right: 56px; }
}

@media (prefers-reduced-motion: reduce) {
  .hp { transform: none !important; }
  .js .hero__cap { animation: none; }
  .js .flags li { opacity: 1; transform: none; transition: none; }
  .js .flags[data-in] i::after { animation: none; }
  .bar, .btn, .card { transition: none; }
}
