/* AFHultin & Co — home page. Shared tokens, menu and footer are in base.css. */

/* ---------- the top: who you're hiring on the left; on the right a live sample of the work, built with the
   visitor's own business name ---------- */
.hero {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr);
  column-gap: 56px;
  align-items: center;
  padding-top: 48px;
  padding-bottom: 44px;
}
.hero-text, .sample-col { min-width: 0; }
.hero-title { font-size: clamp(40px, 4.3vw, 58px); line-height: 1; }
.hero-title .w { display: inline-block; }
.tagline { margin-top: 22px; max-width: 44ch; font-size: clamp(17px, 1.45vw, 20px); line-height: 1.5; color: var(--text-2); }
.tagline .w { display: inline-block; }
.tagline .w.hi { color: var(--text); font-weight: 700; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-contact { margin-top: 18px; max-width: 46ch; font-size: 15px; color: var(--muted); }
.hero-contact a { color: var(--text-2); }
/* the name box sits under the pitch, beside the sample it builds (adin 11-17: too much blank space above the
   headline when the pitch was centred against a taller right-hand column) */
.build { margin-top: 36px; }
.build-label { display: block; font-size: 16px; font-weight: 700; text-wrap: balance; }
.build-name {
  display: block; width: 100%; margin-top: 2px; padding: 6px 0 8px;
  background: transparent; border: 0; border-bottom: 2px solid var(--acc-text); border-radius: 0;
  color: var(--acc-text); caret-color: var(--acc-text);
  font: 800 clamp(26px, 2.8vw, 36px)/1.15 var(--display); letter-spacing: -.025em;
}
.build-name::placeholder { color: color-mix(in srgb, var(--text) 72%, transparent); opacity: 1; }
.build-name:focus-visible { outline: none; border-bottom-color: var(--text); box-shadow: 0 10px 0 -6px var(--text); }
.kinds-q { margin-top: 14px; font-size: 14px; color: var(--text-2); }
.kinds { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.kind {
  min-height: 40px; padding: 0 14px; border-radius: 99px;
  border: 1.5px solid var(--line-2); background: transparent; color: var(--text);
  font: 700 15px/1 var(--body); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease);
}
.kind[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--bg); }

/* the sample site, in a browser frame. What is inside is the real sample page (sample.css), not a drawing of it:
   app.js lays it out 1200px wide and scales it down to the frame. On a phone, or with no JS, it is shown at the
   frame's own width, which is its phone layout. Hover the frame and the page glides down to show the rest. */
.sample-wrap { position: relative; }
.sample {
  position: relative; overflow: hidden;
  border: 1px solid var(--line); border-radius: var(--r) var(--r) 0 0;   /* its price strip closes the box underneath */
  background: var(--wire-bg); box-shadow: 0 36px 70px -30px color-mix(in srgb, var(--acc) 70%, transparent);
}
.sample-bar {
  display: flex; align-items: center; gap: 12px; padding: 10px 14px;
  background: #E9ECF5; border-bottom: 1px solid var(--line); color: #14161C;
}
.sample-dots { display: flex; gap: 5px; }
.sample-dots i { width: 10px; height: 10px; border-radius: 50%; background: #14161C; }
.sample-url {
  flex: 1; min-width: 0; padding: 6px 12px; border-radius: 99px;
  background: #FFFFFF; border: 1.5px solid #C9CEDD;
  font: 500 13px/1.3 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.sample-status {
  flex: none; padding: 6px 8px; border-radius: 4px; background: #14161C; color: #FFFFFF;
  font: 700 11px/1 var(--body); letter-spacing: .08em; text-transform: uppercase;
}
.sample-view {
  position: relative; overflow: hidden; aspect-ratio: 1200 / 700; container-type: size;
  background: var(--wire-bg); cursor: pointer;
}
.sample-view .ss { position: absolute; left: 0; top: 0; width: 100%; }
.sample-view:not(.is-mini) .ss > * { --hero-h: 100cqh; }          /* at its own width, the top section fills the frame */
.sample-view.is-mini .ss { width: 1200px; transform-origin: 0 0; transform: scale(var(--k, .5)); }
@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .sample-view.is-mini .ss { transition: transform .7s var(--out); }
  .sample[data-state="built"] .sample-view.is-mini:hover .ss {
    transform: scale(var(--k, .5)) translateY(var(--end, 0px));
    transition: transform var(--glide, 8s) cubic-bezier(.45, 0, .55, 1) .25s;
  }
}
/* the blueprint: a plan of the page, drawn over it and wiped away top to bottom as the page is built */
.sample-plan {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-template-rows: 13% minmax(0, 1fr) 25%; gap: 10px; padding: 12px;
  background: var(--wire-bg); color: var(--wire-ink);
  font: 500 11px/1 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; letter-spacing: .1em; text-transform: uppercase;
  clip-path: inset(100% 0 0 0);
}
.sample-plan i { display: grid; place-items: center; min-width: 0; outline: 1.5px dashed currentColor; outline-offset: -1px; font-style: normal; }
.pl-nav { grid-column: 1 / -1; }
.pl-head { grid-column: 1 / 5; }
.pl-pic { grid-column: 5 / -1; }
.pl-s { grid-column: span 2; }
.sample-scan {
  position: absolute; z-index: 4; left: 0; right: 0; top: 0; height: 3px; opacity: 0; pointer-events: none;
  background: var(--wire-ink); box-shadow: 0 0 18px 4px color-mix(in srgb, var(--wire-ink) 60%, transparent);
}
.sample-open {
  position: absolute; z-index: 5; right: 14px; bottom: 14px;
  display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 18px; border-radius: 99px;
  background: #FFFFFF; color: #0A0F3C; font: 700 15px/1 var(--body); text-decoration: none; white-space: nowrap;
  box-shadow: 0 2px 4px rgba(10, 15, 60, .2), 0 16px 32px -10px rgba(10, 15, 60, .6);
  transition: transform .25s var(--out), opacity .3s var(--ease);
}
/* the button waits until the sample is built */
.sample:not([data-state="built"]) + .sample-open { opacity: 0; pointer-events: none; }
.sample-open:hover { transform: translateY(-2px); }
.sample-open:focus-visible { outline: 2px solid #FFFFFF; outline-offset: 3px; border-radius: 99px; }
.sample-open svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; stroke-linejoin: round; }
/* ---------- the pieces. The website in the frame is one; the other three sit in a row under the top. Each is a
   sample above (built with the same name) and, attached under it, what that piece really is: its name, its price,
   a link and an Add button. The row crosses from the navy top into the page: samples on the navy, prices on the
   page, one card. ---------- */
.pieces { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: var(--gap); }
.pieces::before {
  content: ""; grid-area: 1 / 1 / 2 / -1;
  background: var(--foot); box-shadow: 0 0 0 100vmax var(--foot); clip-path: inset(-2px -100vmax 0);   /* 2px up: no seam under the top */
}
.presence { display: contents; }
.pz {
  grid-row: 1; position: relative; z-index: 1; overflow: hidden; display: flex; flex-direction: column; gap: 12px; min-width: 0;
  padding: 18px 18px 20px; border-radius: var(--r) var(--r) 0 0; background: var(--surface); color: var(--text);
  border: var(--edge); border-bottom: 0;
  font-size: 14px; line-height: 1.4;
}
.pz-find { grid-column: 1; }
.pz-clip { grid-column: 2; }
.pz-text { grid-column: 3; }
.pz::after {
  content: attr(data-wire);
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center;
  background: var(--wire-bg); outline: 1.5px dashed var(--wire-ink); outline-offset: -6px;
  color: var(--wire-ink); font: 500 11px/1.2 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  letter-spacing: .1em; text-transform: uppercase;
  clip-path: inset(0 0 0 100%); pointer-events: none;
}
.pz-tag { font-size: 12px; font-weight: 800; letter-spacing: .05em; text-transform: uppercase; white-space: nowrap; color: var(--acc-text); }
.pz-search {
  display: flex; align-items: center; gap: 8px; min-width: 0; padding: 9px 14px; border-radius: 99px;
  border: 1.5px solid var(--line-2); color: var(--text-2);
}
.pz-search svg { flex: none; width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 2.4; stroke-linecap: round; }
.pz-search span { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pz-result { flex: 1; display: flex; align-items: stretch; gap: 14px; min-width: 0; }
.pz-result-in { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.pz-name { font-family: var(--display); font-size: 20px; font-weight: 800; line-height: 1.1; letter-spacing: -.02em; overflow-wrap: anywhere; }
.pz-what { color: var(--text-2); }
.pz-acts { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 10px; }
.pz-acts i { padding: 6px 10px; border-radius: 8px; background: var(--acc-soft); color: var(--acc-text); font-style: normal; font-size: 12.5px; font-weight: 700; }
.pz-map { flex: none; align-self: center; width: 92px; height: 92px; }
.pz-map rect { fill: var(--bg-2); }
.pz-map .r { fill: none; stroke: var(--surface); stroke-width: 7; }
.pz-map .t { stroke-width: 3.5; }
.pz-map .p { fill: var(--acc); }
.pz-map .d { fill: var(--surface); }
.pz-reels { flex: 1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.pz-screen {
  position: relative; min-height: 150px; border-radius: 10px;
  background: #14161C center / cover no-repeat; color: #FFFFFF;
}
/* the videos' frames are the sample's own photos, so nothing extra is loaded */
.presence[data-kind="auto"] .pz-screen:nth-child(1) { background-image: url(assets/sample/auto-1.webp); }
.presence[data-kind="auto"] .pz-screen:nth-child(2) { background-image: url(assets/sample/auto-2.webp); }
.presence[data-kind="auto"] .pz-screen:nth-child(3) { background-image: url(assets/sample/auto-3.webp); }
.presence[data-kind="food"] .pz-screen:nth-child(1) { background-image: url(assets/sample/food-2.webp); }
.presence[data-kind="food"] .pz-screen:nth-child(2) { background-image: url(assets/sample/food-1.webp); }
.presence[data-kind="food"] .pz-screen:nth-child(3) { background-image: url(assets/sample/food-3.webp); }
.presence[data-kind="trade"] .pz-screen:nth-child(1) { background-image: url(assets/sample/trade-hero.webp); }
.presence[data-kind="trade"] .pz-screen:nth-child(2) { background-image: url(assets/sample/trade-1.webp); }
.presence[data-kind="trade"] .pz-screen:nth-child(3) { background-image: url(assets/sample/trade-2.webp); }
.presence[data-kind="shop"] .pz-screen:nth-child(1) { background-image: url(assets/sample/shop-1.webp); }
.presence[data-kind="shop"] .pz-screen:nth-child(2) { background-image: url(assets/sample/shop-2.webp); }
.presence[data-kind="shop"] .pz-screen:nth-child(3) { background-image: url(assets/sample/shop-3.webp); }
.pz-cap {
  position: absolute; left: 6px; right: 6px; bottom: 8px; padding: 5px 6px; border-radius: 6px;
  background: var(--acc); color: var(--acc-ink);
  font: 800 11.5px/1.15 var(--display); letter-spacing: -.01em; text-align: center;
}
.pz-missed { display: flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text-2); }
.pz-missed::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #D12F23; }
.pz-bubble {
  align-self: flex-end; max-width: 88%; margin-top: auto; padding: 12px 14px; border-radius: 16px 16px 4px 16px;
  background: var(--acc); color: var(--acc-ink); font-size: 15px; font-weight: 600; overflow-wrap: anywhere;
}
.pz-sent { align-self: flex-end; margin-top: -4px; font-size: 12px; color: var(--muted); }

/* the strip under a piece: its name, its price, where to read more, and Add */
.lane {
  position: relative; z-index: 1; display: flex; align-items: center; gap: 12px; min-width: 0;
  padding: 14px 16px 16px 18px; border-radius: 0 0 var(--r) var(--r);
  background: var(--surface); color: var(--text); border: var(--edge); border-top: 1px solid var(--line);
}
.pieces > .lane { grid-row: 2; box-shadow: var(--lift); }
.lane-g { grid-column: 1; }
.lane-v { grid-column: 2; }
.lane-p { grid-column: 3; }
.lane-link { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; text-decoration: none; }
.lane-name { flex-basis: 100%; font-family: var(--display); font-weight: 800; font-size: 17px; letter-spacing: -.02em; line-height: 1.25; }
.lane-price { font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; color: var(--text-2); }
.lane-go { font-size: 14px; font-weight: 700; white-space: nowrap; color: var(--acc-text); }
.lane-link:hover .lane-go { text-decoration: underline; }
.sample-note { margin-top: 14px; text-align: center; font-size: 14px; color: var(--text-2); }

/* blueprint: the plan covers the page. building: it wipes away top to bottom behind a scan line, about a second */
.sample[data-state="blueprint"] .sample-plan, .presence[data-state="blueprint"] .pz::after { clip-path: inset(0); }
.sample[data-state="building"] .sample-plan { animation: plan-wipe 1.1s linear both; }
.sample[data-state="building"] .sample-scan { animation: sb-scan 1.1s linear both; }
.presence[data-state="building"] .pz::after { animation: sb-wipe .32s var(--out) both; animation-delay: calc(var(--p, 0) * 110ms + 600ms); }
@keyframes plan-wipe { from { clip-path: inset(0); } to { clip-path: inset(100% 0 0 0); } }
@keyframes sb-wipe { from { clip-path: inset(0); } to { clip-path: inset(0 0 0 100%); } }
@keyframes sb-scan { 0% { top: 0; opacity: 1; } 90% { opacity: 1; } 100% { top: 100%; opacity: 0; } }

/* load moment: the question pops in word by word, the way our captions do */
@keyframes rise { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes cap-pop { from { opacity: 0; transform: translateY(22px) scale(.86); } to { opacity: 1; transform: none; } }
.hero.ready .hero-title .w { animation: cap-pop .4s cubic-bezier(.2, 1.5, .4, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.hero.ready .tagline .w { animation: rise .55s var(--out) both; animation-delay: calc(var(--i, 0) * 25ms + 150ms); }

/* ---------- numbers ---------- */
#numbers {
  padding-top: var(--gap);
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--gap);
}
.num {
  padding: 18px 22px; border-radius: var(--r);
  background: var(--surface); border: var(--edge); box-shadow: var(--lift);
}
.num b {
  display: block;
  font-family: var(--display); font-weight: 800;
  font-size: clamp(32px, 3.4vw, 44px); letter-spacing: -.03em; line-height: 1;
  font-variant-numeric: tabular-nums;
}
.num-label { display: block; margin-top: 8px; font-size: 15px; color: var(--text-2); }
.num-note { grid-column: 1 / -1; font-size: 13px; color: var(--muted); }

/* ---------- services: cards, tap to open ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: var(--gap); align-items: start; }
.svc-grid-sm { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.svc-sub { margin: 40px 0 16px; font-family: var(--body); font-size: 14px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }

.svc {
  --tint: var(--acc);
  border-radius: var(--r); background: var(--surface); border: var(--edge); box-shadow: var(--lift);
  transition: border-color .25s var(--ease), background-color .25s var(--ease);
}
.svc.t-coral { --tint: var(--coral); }
.svc.t-sun { --tint: var(--sun); }
.svc.t-blue { --tint: var(--blue); }
.svc:hover { border-color: var(--acc-text); }
.svc[open] { border-color: var(--acc-text); background: var(--surface-2); }
.svc > summary {
  list-style: none; cursor: pointer;
  display: flex; flex-direction: column; gap: 8px;
  min-height: 212px; padding: 20px 22px;   /* two lines of why: every card in a row ends on the same line */
  border-radius: var(--r);
}
.svc-grid-sm .svc > summary { min-height: 236px; padding: 20px; }
.svc > summary::-webkit-details-marker { display: none; }
.svc-icon {
  width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; margin-bottom: 4px;
  color: var(--tint); background: color-mix(in srgb, var(--tint) 14%, transparent);
}
.svc-icon svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.svc-name { font-family: var(--display); font-size: 21px; font-weight: 800; letter-spacing: -.02em; line-height: 1.15; }
.svc-why { flex: 1; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.svc-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-top: 6px; }
.svc-price { font-size: 16px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }
.svc-more {
  position: relative; flex: none; width: 30px; height: 30px; border-radius: 50%;
  border: 1.5px solid var(--line-2); margin-left: auto;
  transition: transform .35s var(--ease), border-color .25s var(--ease), background-color .25s var(--ease);
}
.svc-more::before {
  content: ""; position: absolute; left: 50%; top: 44%; width: 8px; height: 8px;
  border-right: 2px solid var(--text); border-bottom: 2px solid var(--text);
  transform: translate(-50%, -50%) rotate(45deg);
}
.svc > summary:hover .svc-more { border-color: var(--tint); }
.svc[open] .svc-more { transform: rotate(180deg); background: var(--tint); border-color: var(--tint); }
.svc[open] .svc-more::before { border-color: var(--acc-ink); }
html[data-prices="off"] .svc-price, html[data-prices="off"] .price-line, html[data-prices="off"] .plans-link, html[data-prices="off"] .plans-band { display: none; }

.svc::details-content {
  height: 0;
  overflow: clip;
  transition: height .4s var(--ease), content-visibility .4s allow-discrete;
}
.svc[open]::details-content { height: auto; }
.svc-body { padding: 0 22px 22px; }
.svc-body ul { list-style: none; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.svc-body li { position: relative; padding-left: 18px; font-size: 15px; color: var(--text-2); line-height: 1.5; }
.svc-body li::before { content: ""; position: absolute; left: 0; top: .62em; width: 7px; height: 7px; border-radius: 50%; background: var(--tint); }
.svc-body li.price-line { color: var(--text); font-weight: 600; }
.plans-link a, .page-link a { color: var(--acc-text); font-weight: 700; }

/* ---------- add it up: an Add button on every service card, the total under the cards, a bar that follows ---------- */
.svc-cell { position: relative; }
.svc-add, .lane-add, .plan-add {
  display: none; position: absolute; top: 18px; right: 18px; z-index: 1;
  align-items: center; gap: 6px; min-height: 38px; padding: 0 14px 0 11px;
  border: 1.5px solid var(--line-2); border-radius: 99px; background: var(--surface); color: var(--text);
  font: 700 14px/1 var(--body); cursor: pointer;
  transition: background-color .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease), transform .2s var(--out);
}
html.adds .svc-add, html.adds .lane-add, html.adds .plan-add { display: inline-flex; }
.lane-add { position: static; flex: none; }                       /* in a piece's strip it sits in the row */
.svc-add::before, .lane-add::before, .plan-add::before { content: "+"; font-size: 18px; font-weight: 800; line-height: 1; }
.svc-add:hover, .lane-add:hover, .plan-add:hover { transform: translateY(-1px); border-color: var(--acc-text); color: var(--acc-text); }
.svc-add[aria-pressed="true"], .lane-add[aria-pressed="true"], .plan-add[aria-pressed="true"] { background: var(--acc); border-color: var(--acc); color: var(--acc-ink); }
.svc-add[aria-pressed="true"]::before, .lane-add[aria-pressed="true"]::before, .plan-add[aria-pressed="true"]::before { content: "\2713"; font-size: 14px; }

.adder {
  display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); margin-top: 40px;
  border-radius: var(--r-lg); background: var(--surface); border: var(--edge); box-shadow: var(--lift); overflow: clip;
}
.adder-list { padding: 28px; }
.adder-title { font-size: clamp(26px, 2.6vw, 34px); }
.adder-empty { margin-top: 10px; color: var(--text-2); }
.adder-all { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; margin-top: 14px; font-size: 14.5px; color: var(--text-2); }
.adder-all .btn { flex: none; padding: 10px 16px; border-color: var(--text); cursor: pointer; }
.adder-all span { flex: 1; min-width: 200px; }
.adder-rows { list-style: none; padding: 0; margin-top: 16px; }
.adder-row { padding: 14px 0; border-top: 1px solid var(--line); }
.adder-head { display: grid; grid-template-columns: minmax(0, 1fr) auto 36px; gap: 4px 14px; align-items: center; }
.adder-name { font-family: var(--display); font-weight: 800; font-size: 18px; letter-spacing: -.01em; }
.adder-price { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; }
.adder-x {
  width: 36px; height: 36px; display: grid; place-items: center; padding: 0;
  border: 1.5px solid var(--line-2); border-radius: 50%; background: transparent; color: var(--text);
  font: 700 20px/1 var(--body); cursor: pointer;
}
.adder-x:hover { border-color: var(--text); }
.adder-sub { margin-top: 2px; font-size: 14.5px; color: var(--text-2); }
.adder-opts { display: flex; flex-wrap: wrap; align-items: end; gap: 10px 14px; margin-top: 10px; }
.adder-opt { display: grid; gap: 4px; min-width: 0; font-size: 13px; font-weight: 700; color: var(--muted); }
.adder-opt select {
  max-width: 100%; min-height: 44px; padding: 8px 12px; border: 1.5px solid var(--line-2); border-radius: var(--r-sm);
  background: var(--surface); color: var(--text); font: 600 15px var(--body);
}
.adder-check { display: flex; align-items: center; gap: 8px; min-height: 44px; font-size: 15px; font-weight: 600; cursor: pointer; }
.adder-check input { width: 20px; height: 20px; margin: 0; accent-color: var(--acc); }
.adder-notes { list-style: none; padding: 0; margin-top: 4px; display: grid; gap: 6px; font-size: 14px; color: var(--text-2); }
.adder-notes:not(:empty) { padding-top: 14px; border-top: 1px solid var(--line); }
.adder-say { margin-top: 12px; font-size: 14px; font-weight: 700; color: var(--acc-text); }
.adder-say:empty { display: none; }
.adder-sum { padding: 28px; }
.adder-sum-in { position: sticky; top: 100px; display: flex; flex-direction: column; }   /* the totals stay in view down a long list */
.adder-kicker { font-size: 13px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--text-2); }
.adder-totals { margin: 12px 0 0; display: grid; }
.adder-totals > div { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 2px 12px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.adder-totals dt { font-weight: 600; }
.adder-totals dd {
  margin: 0 0 0 auto; font-family: var(--display); font-weight: 800; font-size: clamp(26px, 2.6vw, 36px);
  letter-spacing: -.03em; line-height: 1.05; font-variant-numeric: tabular-nums; text-align: right;
}
.adder-sum .btn { margin-top: 22px; align-self: start; }
.adder-fine { margin-top: 16px; font-size: 13.5px; line-height: 1.5; color: var(--text-2); }

.total-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
  padding: 10px 0 max(10px, env(safe-area-inset-bottom));
  background: var(--foot); color: var(--foot-ink);
  animation: bar-in .3s var(--out);
}
.total-bar-in { display: flex; align-items: center; justify-content: space-between; gap: 8px 20px; }
.total-bar-sum { font-size: 16px; font-weight: 700; line-height: 1.3; font-variant-numeric: tabular-nums; }
.total-bar .btn { flex: none; padding: 10px 16px; }
html.has-bar .site-foot { padding-bottom: 76px; }   /* the bar never covers the last line of the page */
@keyframes bar-in { from { transform: translateY(100%); } to { transform: none; } }

/* ---------- plans band ---------- */
.plans-in {
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.4fr); gap: 32px; align-items: center;
  padding: 32px; border-radius: var(--r-lg);
  box-shadow: var(--lift);
}
.plans-copy h2 { font-size: clamp(28px, 3vw, 38px); }
.plans-copy p { margin-top: 14px; color: var(--text-2); }
.plans-copy .btn { margin-top: 24px; }
.plan-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.plan {
  display: flex; flex-direction: column; height: 100%;
  padding: 18px; border-radius: var(--r); border: 1px solid var(--line-2);
  transition: border-color .25s var(--ease), transform .25s var(--out);
}
.plan-link { display: flex; flex-direction: column; flex: 1; text-decoration: none; }
.plan:hover { border-color: var(--acc); transform: translateY(-2px); }
.plan.rec { border-color: var(--acc); background: var(--acc-soft); }
.plan-add { position: static; align-self: flex-start; margin-top: 14px; min-height: 40px; background: transparent; }
.plan small { font-size: 13px; color: var(--text-2); line-height: 1.35; min-height: 2.7em; }
.plan b { margin-top: 8px; font-family: var(--display); font-size: 20px; letter-spacing: -.02em; }
.plan-price { margin-top: 4px; font-weight: 700; color: var(--acc-text); font-variant-numeric: tabular-nums; }

/* ---------- clips ---------- */
.clip-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--gap); }
.clip { position: relative; display: block; border-radius: var(--r); overflow: hidden; text-decoration: none; border: 1px solid var(--line); background: var(--surface); }
.clip img { width: 100%; aspect-ratio: 9 / 16; object-fit: cover; transition: transform .6s var(--out); }
.clip:hover img { transform: scale(1.04); }
.clip-views {
  position: absolute; left: 12px; bottom: 12px;
  padding: 6px 10px; border-radius: var(--r-sm);
  background: var(--acc); color: var(--acc-ink);
  font-size: 14px; font-weight: 700; font-variant-numeric: tabular-nums;
}

/* ---------- contact ---------- */
.contact-card {
  position: relative; overflow: hidden;
  padding: 44px 44px; border-radius: var(--r-lg);
}
.contact-card h2 { font-size: clamp(30px, 4.2vw, 54px); }
.contact-card h2 span { display: block; }
.contact-card p { margin-top: 16px; max-width: 46ch; font-size: 18px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px !important; }

/* ---------- smaller screens ---------- */
@media (max-width: 1020px) {
  .hero { grid-template-columns: minmax(0, 1fr); row-gap: 36px; padding-top: 40px; }
  .sample-col { width: 100%; max-width: 640px; }
  .pz-map { display: none; }
  #numbers { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .svc-grid-sm { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .plans-in { grid-template-columns: 1fr; }
  .adder { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  /* the pieces stack: each sample with its own strip right under it. The first one still crosses the line. */
  .pieces { grid-template-columns: minmax(0, 1fr); }
  .pz-find { grid-area: 1 / 1; }
  .pieces > .lane-g { grid-area: 2 / 1; }
  .pz-clip { grid-area: 3 / 1; margin-top: var(--gap); }
  .pieces > .lane-v { grid-area: 4 / 1; }
  .pz-text { grid-area: 5 / 1; margin-top: var(--gap); }
  .pieces > .lane-p { grid-area: 6 / 1; }
  .pz-map { display: block; }
  .pz-text { min-height: 190px; }
}
@media (max-width: 760px) {
  .hero { padding-top: 28px; padding-bottom: 28px; row-gap: 32px; }
  .hero-title { font-size: clamp(36px, 10.5vw, 52px); }
  .sample-status { display: none; }
  .num { padding: 18px; }
  .svc-grid, .svc-grid-sm { grid-template-columns: 1fr; }
  .svc > summary, .svc-grid-sm .svc > summary {
    display: grid; grid-template-columns: 38px minmax(0, 1fr); column-gap: 14px; row-gap: 8px; align-items: center;
    min-height: 0; padding: 18px 20px;
  }
  .svc-icon { width: 38px; height: 38px; border-radius: 11px; margin: 0; }
  .svc-icon svg { width: 20px; height: 20px; }
  .svc-name { font-size: 19px; }
  .svc-why, .svc-foot { grid-column: 1 / -1; }
  html.adds .svc-name { grid-column: 1 / -1; }   /* the Add button has the corner next to the icon */
  .svc-add { top: 16px; right: 16px; min-height: 42px; }
  .adder { margin-top: 32px; }
  .adder-list, .adder-sum { padding: 22px 20px; }
  .adder-head { grid-template-columns: minmax(0, 1fr) 36px; }
  .adder-price { grid-column: 1; grid-row: 2; text-align: left; }
  .adder-x { grid-column: 2; grid-row: 1 / span 2; }
  .adder-opt, .adder-opt select { width: 100%; }
  .total-bar-sum { font-size: 14.5px; }
  html.has-bar .site-foot { padding-bottom: 92px; }
  .svc-foot { padding-top: 2px; }
  .svc-body { padding: 0 20px 20px; }
  .plans-in { padding: 26px 20px; }
  .plan-row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .clip-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .contact-card { padding: 32px 22px; }
}
@media (max-width: 640px) {
  /* a phone shows the sample at its own width: its phone layout, a screen's worth of it */
  .sample-view { aspect-ratio: auto; height: 520px; }
  /* the button goes under the frame and its price strip, so the two stay one box */
  .sample-col { display: flex; flex-direction: column; }
  .sample-wrap { display: contents; }
  .sample { margin-top: 20px; }
  .sample-open { order: 1; position: relative; right: auto; bottom: auto; display: flex; justify-content: center; margin-top: 12px; }
  .sample-note { order: 2; }
  .sample-plan { grid-template-rows: 11% minmax(0, 1fr) 20%; }
}
@media (max-width: 380px) {
  .hero-actions .btn, .contact-actions .btn { width: 100%; }
  .num b { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero.ready .tagline .w, .hero.ready .hero-title .w { animation: none; opacity: 1; }
  .sample .sample-plan, .sample .sample-scan, .presence .pz::after { animation: none !important; }
  .sample-open { transition: none; }
  .kind { transition: none; }
  .svc::details-content { transition: none; }
  .svc, .svc-more, .svc-add, .lane-add, .plan-add, .clip img, .plan { transition: none; }
  .total-bar { animation: none; }
}

@media print {
  .hero-actions, .sample-col, .presence, .svc-more, .contact-actions { display: none; }
  .pieces::before { display: none; }
  .pieces > .lane { grid-row: auto; border-radius: var(--r); box-shadow: none; border-color: #999; }
  html.adds .svc-add, html.adds .lane-add, html.adds .plan-add, .total-bar, .adder-x, .adder-all { display: none; }
  .adder, .adder-sum { background: none; box-shadow: none; border-color: #999; color: #000; }
  .hero.ready .tagline .w, .hero.ready .hero-title .w { animation: none; opacity: 1; transform: none; }
  .hot { background: none; color: #000; padding: 0; }
  .svc, .num, .plans-in, .clip, .contact-card { background: none; border-color: #999; }
  .contact-card h2 span { color: #000; }
  .tagline, .svc-why, .svc-body li, .num-label { color: #000; }
}
