/* Front Window Studios. A shop front: the name, one big window with people in it, a band of tile. */
:root {
  --front: #cfe2f3; --on-front: #10264c; --line: #10264c; --on-front-bar: #10264c; --putty: #cfe2f3;
  --deep: #10264c; --on-deep: #ffffff; --deep-line: #a9c8ea; --deep-rule: rgb(255 255 255 / .22);
  --ink: #10264c; --tint: #eef5fb; --accent: #10264c; --on-accent: #ffffff;
  --btn: #10264c; --on-btn: #ffffff; --muted: #4a5f85; --rule: rgb(16 38 76 / .2); --shadow: 16 38 76;
  --display: "Gloock", Georgia, serif; --display-weight: 400; --display-lead: 1.06; --display-track: -.015em;
}
:root {
  --text: "Libre Franklin", system-ui, sans-serif;
  --white: #fff;
  --t-s: .9375rem;
  --t-b: 1.125rem;
  --t-m: clamp(1.5rem, 2.4vw, 1.875rem);
  --t-l: clamp(2.25rem, 4.4vw, 3.5rem);
  --t-xl: clamp(3.25rem, 7.4vw, 7rem);
  --gap: clamp(4.5rem, 10vw, 8.5rem);
  --bar: clamp(.3rem, .6vw, .55rem);
  --post: clamp(1rem, 3vw, 2.75rem);
  --t-sign: var(--t-xl);
  --tile: clamp(3.25rem, 5vw, 4.5rem);
  --focus: var(--ink);
  color-scheme: light;
}

@font-face { font-family: "Price Mark"; src: url(../fonts/libre-franklin-normal-52e60585.woff2) format("woff2"); font-weight: 400; font-display: swap; unicode-range: U+24; }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-block: 1rem; }
body { margin: 0; background: var(--white); color: var(--ink); font: 400 var(--t-b)/1.6 var(--text); }
img, svg { display: block; max-width: 100%; height: auto; }
p, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: var(--display-weight); line-height: var(--display-lead); letter-spacing: var(--display-track); text-wrap: balance; }
h2 { font-size: var(--t-l); }
h3 { font-size: var(--t-m); line-height: 1.15; }
p { text-wrap: pretty; }
a { color: inherit; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: .22em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 3px; }

.wrap { width: 100%; max-width: 76rem; margin-inline: auto; padding-inline: clamp(1rem, 4vw, 3rem); }
.vh { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: .5rem; z-index: 20; padding: .75rem 1rem; background: var(--white); color: var(--ink); }
.skip:focus { left: .5rem; }

/* A button is a small painted sign: flat colour, one fine line inside. */
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 3rem; padding: .7rem 1.6rem;
  background: var(--accent); color: var(--on-accent); font-weight: 700; line-height: 1.2; text-decoration: none;
  box-shadow: inset 0 0 0 3px var(--accent), inset 0 0 0 4px var(--on-accent);
}
.btn:hover { text-decoration: underline; text-decoration-thickness: 1px; }
.actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.tall-link { display: inline-flex; align-items: center; min-height: 3rem; }

/* Top of the shopfront. */
.shopfront { background: var(--front); color: var(--on-front); --focus: var(--on-front); }
.banner { background: var(--deep); color: var(--on-deep); font-size: var(--t-s); line-height: 1.3; padding-block: .4rem; --focus: var(--on-deep); }
.banner .wrap { display: block; max-width: none; padding-inline: var(--post); }
.banner .short { display: none; }
.fascia-row { display: flex; align-items: center; gap: .5rem 2rem; max-width: none; min-height: 4.75rem; padding-block: .5rem; padding-inline: var(--post); }
.brand { font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1; letter-spacing: var(--display-track); text-decoration: none; white-space: nowrap; margin-right: auto; }
.nav ul { display: flex; flex-wrap: wrap; gap: .25rem 1.75rem; list-style: none; }
.nav a { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: var(--t-s); text-decoration: none; }
.nav a:hover, .nav a[aria-current] { text-decoration: underline; text-decoration-thickness: 1px; }
.head-btn { background: var(--btn); color: var(--on-btn); box-shadow: inset 0 0 0 3px var(--btn), inset 0 0 0 4px var(--on-btn); min-height: 2.75rem; font-size: var(--t-s); }

/* The sign, the window, the tile. */
.front { background: var(--front); color: var(--on-front); padding-inline: var(--post); --focus: var(--on-front); }
.fascia { padding-block: clamp(1rem, 2.2vw, 1.75rem) clamp(1.25rem, 2.6vw, 2rem); }
.board-sign { display: grid; grid-template-columns: minmax(0, 1fr) clamp(14rem, 25vw, 23rem); gap: 1rem clamp(2rem, 5vw, 4.5rem); align-items: end; }
.board-sign h1 { font-size: var(--t-sign); line-height: 1.02; }
.board-sign h1 [data-name] { display: block; overflow-wrap: anywhere; }
.board-sign .sub {
  display: block; margin-top: clamp(.15rem, .5vw, .4rem); font-size: var(--t-l); line-height: 1.05;
}
.sign-lede { font-size: var(--t-b); line-height: 1.45; }

.panes { position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: clamp(2.5rem, 6vh, 3.75rem) minmax(clamp(15rem, 50vh, 34rem), auto); border: var(--bar) solid var(--on-front-bar); background: var(--tint); }
.panes > img { position: absolute; inset: 0; z-index: -1; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: var(--pos, 50% 50%); }
.pane { position: relative; box-shadow: 0 0 0 calc(var(--bar) / 2) var(--on-front-bar), inset 0 0 0 calc(var(--bar) / 2 + 1px) var(--putty); }
.door { display: grid; justify-items: center; align-items: start; }
@media (min-width: 62.01rem) { .panes > img { object-position: var(--pos-wide, var(--pos, 50% 50%)); } }

.tiles { height: var(--tile); margin-inline: calc(-1 * var(--post)); background: url(tile.svg) left top / auto var(--tile) repeat-x; }

/* The plaque in the door. */
.plaque {
  position: relative; display: block; width: min(calc(100% - 1rem), 13rem); margin-top: 2.25rem; padding: .95rem .9rem 1rem;
  background: var(--deep); color: var(--on-deep); font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.1;
  text-align: center; text-decoration: none; box-shadow: inset 0 0 0 4px var(--deep), inset 0 0 0 5px var(--deep-line), 0 .75rem 1.5rem -.75rem rgb(0 0 0 / .4);
  transform-origin: 50% -2.25rem; --focus: var(--deep);
}
.plaque::before, .plaque::after { content: ""; position: absolute; bottom: 100%; width: 1px; height: 2.25rem; background: var(--on-front-bar); }
.plaque::before { left: 22%; }
.plaque::after { right: 22%; }
.plaque span { display: block; margin-top: .35rem; font: 700 var(--t-s)/1.2 var(--text); }
.plaque:hover { text-decoration: underline; text-decoration-thickness: 1px; }
/* Two tones, so the ring shows on the photo as well as on the plaque. */
.plaque:focus-visible { outline: 3px solid var(--white); outline-offset: 0; box-shadow: inset 0 0 0 4px var(--deep), inset 0 0 0 5px var(--deep-line), 0 0 0 6px var(--ink); }

/* Inner pages: the words on the left, one window of unequal panes on the right. */
.front-page { padding-block: clamp(1.5rem, 3.5vw, 2.75rem); }
.page-sign { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 1.5rem clamp(2rem, 5vw, 4.5rem); align-items: center; }
.front-page .board-sign { display: block; }
.front-page .board-sign h1 { font-size: var(--t-l); }
.front-page .board-sign p { max-width: 34rem; margin-top: .85rem; font-size: var(--t-b); line-height: 1.5; }
.panes-run { grid-template-columns: 1.7fr 1fr; grid-template-rows: clamp(9.6rem, 15.6vw, 13.2rem) clamp(6.4rem, 10.4vw, 8.8rem); }
@media (min-width: 110rem) { .panes-run { grid-template-rows: 12.5vw 8.3vw; } }
.panes-run .pane:first-of-type { grid-row: span 2; }
.mail-big { display: inline-block; margin-top: .75rem; font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.15; overflow-wrap: anywhere; }

/* Under the window. */
.riser { padding-block: clamp(2.75rem, 6vw, 4.5rem); }
.riser-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2rem clamp(2.5rem, 7vw, 6rem); align-items: center; }
.try label { display: block; margin-bottom: .6rem; font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.15; }
.try input { width: 100%; min-height: 3.25rem; padding: .7rem 1rem; border: 1px solid var(--ink); border-radius: 0; background: var(--white); color: var(--ink); font: 400 var(--t-b)/1.3 var(--text); }
.try input::placeholder { color: var(--muted); opacity: 1; }
.try p { margin-top: .5rem; font-size: var(--t-s); }
.try-echo { position: fixed; inset: 0 0 auto; z-index: 15; overflow: hidden; padding: .625rem var(--gap); background: var(--front); border-bottom: 4px solid var(--deep); color: var(--on-front); font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.2; letter-spacing: var(--display-track); text-align: center; text-overflow: ellipsis; white-space: nowrap; }

/* The promise. */
.promise { background: var(--deep); color: var(--on-deep); padding-block: var(--gap); --focus: var(--on-deep); }
.promise-grid { display: grid; grid-template-columns: clamp(12rem, 25vw, 20rem) minmax(0, 1fr); gap: 2rem clamp(2.5rem, 7vw, 6rem); align-items: center; }
.dial { display: block; width: 100%; }
.dial-face { fill: var(--white); }
.dial-gone { fill: var(--deep-line); fill-opacity: .5; }
.dial-ink { stroke: var(--ink); }
.dial text { font-family: var(--display); font-weight: var(--display-weight); fill: var(--ink); }
.dial-hand { stroke: var(--ink); stroke-width: 5; stroke-linecap: round; }
.dial-pin { fill: var(--ink); }
.promise h2 { line-height: 1.12; max-width: 19em; }
.promise p { max-width: 36rem; margin-block: 1.25rem 1rem; }

/* Sample sites: two plain strips, like a list of work. */
.samples { background: var(--tint); padding-block: var(--gap); }
.samples-head { margin-bottom: clamp(2.25rem, 5vw, 3.75rem); }
.sample { display: grid; grid-template-columns: minmax(0, 1fr) 14rem; gap: .75rem clamp(1.5rem, 4vw, 3rem); align-items: center; padding-block: clamp(1rem, 2vw, 1.5rem); }
.sample img { width: 100%; }
.stage-note { padding-top: 1.25rem; line-height: 1.4; }
.tag { display: block; font-size: var(--t-s); line-height: 1.3; text-wrap: balance; }
.tag b { display: block; font-family: var(--display); font-size: var(--t-b); font-weight: var(--display-weight); }

/* Prices: a list, hairlines and all. */
.board { padding-block: var(--gap); }
.board-intro { max-width: 38rem; margin-top: 1rem; }
.menu { list-style: none; margin-block: clamp(2rem, 4vw, 3rem); border-top: 1px solid var(--ink); }
.menu li { display: grid; grid-template-columns: minmax(0, auto) minmax(1.5rem, 1fr) auto; column-gap: 1rem; align-items: baseline; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); }
.menu h3 { font-size: var(--t-m); }
.dots { border-bottom: 1px solid var(--rule); transform: translateY(-.3rem); }
.menu .price { font-family: "Price Mark", var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1; }
.menu .desc { grid-column: 1 / -1; max-width: 38rem; margin-top: .4rem; }

/* The comparison chart. */
.short-chart { padding-block: 0 var(--gap); }
.short-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem clamp(2.5rem, 6vw, 5rem); align-items: start; }
.short-grid p { margin-top: 1rem; }
.plans { width: 100%; border-collapse: collapse; }
.plans caption { padding-bottom: 1rem; text-align: left; font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.15; }
.plans caption .muted { display: block; margin-top: .25rem; font: 400 var(--t-b)/1.4 var(--text); }
.plans th, .plans td { padding: .85rem clamp(.5rem, 1.6vw, 1.25rem); vertical-align: middle; text-align: center; font-weight: 400; border-bottom: 1px solid var(--rule); }
.plans thead th { padding-block: 1.25rem; vertical-align: bottom; border-bottom: 1px solid var(--ink); }
.plans tbody th { text-align: left; font-weight: 700; }
.plans .is-plus { background: var(--deep); color: var(--on-deep); border-bottom-color: var(--deep-rule); --focus: var(--on-deep); }
.plans td.yes { font-weight: 700; }
.plans td.yes::before { content: ""; display: inline-block; width: .8em; height: .42em; margin-right: .5em; border-left: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: translateY(-.2em) rotate(-45deg); }
.plans td.no { color: var(--muted); }
@media (min-width: 40.01rem) { .plans td.no { white-space: nowrap; } }
.plan-name { display: block; font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.1; }
.plan-price { display: block; margin-top: .2rem; font-family: "Price Mark", var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.05; }
.plan-year { display: block; font-size: var(--t-s); line-height: 1.3; }
.desc { display: block; font-weight: 400; font-size: var(--t-s); line-height: 1.4; }
.table-scroll { overflow-x: auto; }
.table-note { margin-top: 1rem; }

/* After you say yes. */
.after { background: var(--tint); }
.after-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.after-photo { position: relative; min-height: 24rem; }
.after-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: var(--pos, 50% 60%); }
.after-text { padding: var(--gap) clamp(1rem, 6vw, 6rem); }
.statement { margin-block: 1.25rem; font-size: var(--t-m); line-height: 1.3; font-weight: 700; }
.after-text h3 { margin-top: 2.75rem; }
.after-text h3 + p { margin-top: .6rem; }
.after-text p { max-width: 36rem; }
.go { display: inline-flex; align-items: center; min-height: 2.75rem; }
.after-text a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; }

.band { padding-block: var(--gap); }
.band-tint { background: var(--tint); }
.band-ground { background: var(--deep); color: var(--on-deep); --focus: var(--on-deep); }

/* Websites page. */
.packs { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 0 clamp(1.5rem, 4vw, 3.5rem); padding-top: clamp(2.5rem, 6vw, 5rem); align-items: start; }
.pack-lead { background: var(--deep); color: var(--on-deep); padding: clamp(1.75rem, 4.5vw, 3.75rem); --focus: var(--on-deep); }
.pack-lead .btn { background: var(--white); color: var(--deep); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--deep); }
.pack .price { font-family: "Price Mark", var(--display); font-weight: var(--display-weight); line-height: .95; }
.pack-lead .price { margin-top: .75rem; font-size: var(--t-xl); }
.pack-side { padding: clamp(1.75rem, 3.5vw, 2.75rem); background: var(--tint); margin-top: clamp(2rem, 8vw, 7rem); }
.pack-side .price { margin-top: .5rem; font-size: var(--t-l); }
.price-note { margin-top: .5rem; }
.pack ul { margin-block: 1.25rem 1.75rem; list-style: none; }
.pack li { padding-block: .3rem; }
.pack-side ul { margin-bottom: 0; }

.both { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); gap: 2rem clamp(2.5rem, 6vw, 5rem); }
.both ul { list-style: none; columns: 2; column-gap: 2.5rem; font-size: var(--t-b); line-height: 1.35; }
.both li { break-inside: avoid; padding-block: .55rem; }

.online { background: var(--tint); padding-block: var(--gap); }
.online-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1.2fr) minmax(0, .95fr); gap: 2.25rem clamp(2rem, 4.5vw, 4rem); align-items: start; }
.online h3 { margin-bottom: .6rem; }
.online p { max-width: 34rem; }
.online p + a { display: inline-flex; align-items: center; min-height: 2.75rem; margin-top: .5rem; }

.check { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem clamp(2rem, 7vw, 6rem); align-items: center; }
.check p:not(.price) { max-width: 38rem; margin-top: 1rem; }
.check .price { font-family: "Price Mark", var(--display); font-size: var(--t-xl); font-weight: var(--display-weight); line-height: 1; }

.fine { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); gap: 2.5rem clamp(2.5rem, 7vw, 6rem); }
.fine h2 { margin-bottom: 1rem; }
.fine ul { list-style: none; }
.fine li { padding-block: .6rem; border-bottom: 1px solid var(--rule); }

/* Upkeep page. */
.chart-wrap { padding-block: clamp(3rem, 6vw, 5rem) var(--gap); }
.chart-wrap .actions { margin-top: 1.5rem; }
.chart-wrap .plans caption { font-size: var(--t-l); }
.details-head { margin-bottom: clamp(2rem, 4vw, 3.5rem); }
.details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(2rem, 4vw, 3.25rem) clamp(2.5rem, 6vw, 5.5rem); }
.details h3 { margin-bottom: .6rem; }
.details-wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2.15fr); gap: 2.5rem clamp(2.5rem, 5vw, 4.5rem); }
.details-photo { width: 100%; height: 100%; object-fit: cover; }

/* How it works. */
.hiw { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 3rem clamp(2.5rem, 6vw, 5.5rem); align-items: start; padding-block: clamp(3rem, 7vw, 6rem); }
.steps { list-style: none; counter-reset: step; }
.steps li { counter-increment: step; display: grid; grid-template-columns: 4.25rem minmax(0, 1fr); gap: 1.5rem; align-items: start; padding-block: 1.25rem; border-bottom: 1px solid var(--rule); }
.steps li:last-child { border-bottom: 0; }
.steps li::before {
  content: counter(step); display: grid; place-items: center; width: 4rem; height: 4rem; border-radius: 50%;
  border: 1px solid var(--ink); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--ink);
  font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1;
}
.steps h2 { font-size: var(--t-m); margin-bottom: .4rem; line-height: 1.15; }
.hiw-side { display: flex; flex-direction: column; align-self: stretch; }
.hiw-side img { flex: 1 1 16rem; width: 100%; height: 0; min-height: 16rem; object-fit: cover; }
.side { background: var(--tint); padding: clamp(1.5rem, 3vw, 2.5rem); }
.side h2 { font-size: var(--t-m); margin-bottom: .5rem; line-height: 1.15; }
.side p + h2 { margin-top: 2rem; }
.side .actions { margin-top: 1.75rem; }

/* Contact page. */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 2.5rem clamp(2.5rem, 7vw, 6rem); }
.contact-grid h2 { margin-bottom: 1rem; }
.plain { max-width: 40rem; }
.plain h2 { margin-top: 2.5rem; margin-bottom: .75rem; font-size: var(--t-m); }
.plain p + p { margin-top: .75rem; }
.nb { white-space: nowrap; }
.contact-grid ul { list-style: none; font-size: var(--t-b); line-height: 1.4; }
.contact-grid li { padding-block: .5rem; }

/* Footer. */
.foot-tiles { height: var(--tile); background: url(tile.svg) left top / auto var(--tile) repeat-x; }
.site-foot { background: var(--deep); color: var(--on-deep); padding-bottom: 2.5rem; --focus: var(--on-deep); }
.site-foot > .wrap { padding-top: clamp(3rem, 6vw, 5rem); }
.foot-cta { display: inline-block; font-family: var(--display); font-size: var(--t-xl); font-weight: var(--display-weight); line-height: 1; letter-spacing: var(--display-track); text-decoration: none; }
.foot-cta:hover { text-decoration: underline; text-decoration-thickness: 2px; }
p > a[href^="mailto"]:not(.btn) { overflow-wrap: anywhere; }
.foot-mail { display: inline-block; margin-top: .5rem; overflow-wrap: anywhere; }
.foot-grid { display: grid; grid-template-columns: minmax(0, 1.3fr) auto minmax(0, 1.3fr); gap: 2rem clamp(2rem, 6vw, 5rem); margin-top: clamp(2.5rem, 5vw, 4rem); font-size: var(--t-s); line-height: 1.55; }
.foot-grid p + p { margin-top: .6rem; }
.foot-grid ul { list-style: none; }
.foot-grid li a { display: inline-flex; align-items: center; min-height: 1.75rem; }
.foot-brand { font-family: var(--display); font-size: var(--t-m); font-weight: var(--display-weight); line-height: 1.15; }
.mbar { display: none; }

.price, .plan-price, .plan-year { font-variant-numeric: tabular-nums; }

/* One moment on load: daylight comes up behind the glass, the plaque settles on its chains. */
@media (prefers-reduced-motion: no-preference) {
  .panes > img { animation: daylight .5s cubic-bezier(.2, .8, .2, 1) both; }
  .plaque { animation: settle .5s ease-out both; }
}
@keyframes daylight { from { opacity: .35; transform: scale(1.035); } to { opacity: 1; transform: none; } }
@keyframes settle { 0% { transform: rotate(-2.4deg); } 40% { transform: rotate(1.4deg); } 72% { transform: rotate(-.6deg); } 100% { transform: none; } }

@media (max-width: 62rem) {
  .fascia-row { flex-wrap: wrap; }
  .board-sign, .page-sign, .riser-grid, .short-grid, .after-grid, .both, .fine, .contact-grid, .online-grid, .hiw, .details-wrap { grid-template-columns: minmax(0, 1fr); }
  .panes-run { grid-template-columns: 1.7fr 1fr; grid-template-rows: clamp(9rem, 26vw, 14rem); }
  .panes-run .pane:nth-of-type(3) { display: none; }
  .panes-run .pane:first-of-type { grid-row: auto; }
  .after-text { padding-inline: clamp(1rem, 4vw, 3rem); }
  .details-photo { height: auto; aspect-ratio: 16 / 9; }
  .hiw-side img { flex: none; height: auto; aspect-ratio: 3 / 2; }
  .after-photo { min-height: 22rem; }
  .after-photo img { object-position: 50% 82%; }
}

@media (min-width: 40.01rem) and (max-width: 56rem) {
  .nav { order: 3; flex-basis: 100%; }
  .head-btn { margin-left: auto; }
}

@media (max-width: 40rem) {
  .after-photo img { object-position: 50% 68%; }
  html { scroll-padding-bottom: 5.5rem; }
  .head-btn { display: none; }
  .banner .long { display: none; }
  .banner .short { display: inline; }
  .fascia-row { min-height: 0; padding-block: .6rem .15rem; }
  .brand { width: 100%; }
  .nav { width: 100%; }
  .nav ul { gap: 0 1.25rem; }
  :root { --t-sign: clamp(1.875rem, 11vw, 3.25rem); }
  .board-sign .sub { font-size: var(--t-m); }
  .sign-lede { line-height: 1.4; }
  .panes { grid-template-columns: 1fr 1fr; grid-template-rows: 2rem minmax(15rem, 38vh); }
  .panes > img { object-position: var(--pos-phone, var(--pos, 50% 50%)); }
  .panes:not(.panes-run) > .pane:nth-of-type(3), .panes:not(.panes-run) > .pane:nth-of-type(5) { display: none; }
  .panes-run { grid-template-columns: 1.7fr 1fr; grid-template-rows: 9rem; }
  .plaque { font-size: var(--t-b); line-height: 1.15; margin-top: 1.5rem; padding: .7rem .5rem .75rem; }
  .door { align-items: end; }
  .plaque { margin: 0 0 .75rem; }
  .plaque::before, .plaque::after { display: none; }
  .only-wide { display: none; }
  .promise-grid { grid-template-columns: minmax(0, 1fr); }
  .dial { max-width: 13rem; margin-inline: auto; }
  .sample { grid-template-columns: minmax(0, 1fr); }
  .packs { grid-template-columns: minmax(0, 1fr); }
  .pack-side { margin-top: 1.25rem; }
  .both ul { columns: 1; }
  .details { grid-template-columns: minmax(0, 1fr); }
  .check { grid-template-columns: minmax(0, 1fr); }
  .steps li { grid-template-columns: 3.5rem minmax(0, 1fr); gap: 1rem; }
  .steps li::before { width: 3.25rem; height: 3.25rem; }
  .foot-grid { grid-template-columns: minmax(0, 1fr); }
  .site-foot { padding-bottom: 6rem; }
  .foot-grid li a, .foot-mail { display: inline-flex; align-items: center; min-height: 2.75rem; }
  .mbar { display: block; position: fixed; inset: auto 0 0; z-index: 10; padding: .5rem 1rem; background: var(--deep); }
  .mbar .btn { width: 100%; background: var(--white); color: var(--deep); box-shadow: inset 0 0 0 3px var(--white), inset 0 0 0 4px var(--deep); }
  body:has(#try-name:focus) .mbar { display: none; }
}

@media (min-width: 30rem) and (max-width: 40rem) {
  .after-photo img { object-position: 50% 82%; }
}

@media (max-width: 22.5rem) {
  .nav ul { gap: 0 .25rem; justify-content: space-between; width: 100%; }
  .plans { font-size: .875rem; }
  .plans th, .plans td { padding-inline: .25rem; }
}

@media print {
  h1, h2, h3 { break-after: avoid; }
  body * { -webkit-print-color-adjust: exact; print-color-adjust: exact; }
  .mbar { display: none; }
  .details > div { break-inside: avoid; }
  .details h3 { break-after: avoid; }
  table.plans tr { break-inside: avoid; }
}
