/* RC · Etch additions (Etch stylesheet b6dbaa0). Formatted copy of the live sheet. */
.pairs--two > .pair:nth-child(n+3) {
  display: none
}
.header .nav-btn.current {
  color: var(--base-ultra-dark);font-weight: 600
}
.related > a:nth-child(n+4) {
  display: none
}

/* Tools page: the tool's own logo fills the rounded square that used to hold its initials */
.tool .mono:has(img) { overflow: hidden; background: #fff; box-shadow: 0 2px 0 var(--line-strong), var(--depth-1); }
.tool .mono img { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; outline: 1px solid var(--line); outline-offset: -1px; }

/* No-script safety: the hero and section reveals start hidden and are shown by rc-site.js; without scripting, show everything. */
@media (scripting: none) {
  .fade, .reveal { opacity: 1; transform: none; }
}

/* TL;DR callout in the post hero: the cliff notes above the featured media */
.post-hero .tldr {
  display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); column-gap: var(--space-l); align-items: baseline;
  margin-top: var(--space-l); max-width: 62ch; padding: var(--space-m) 0 0; border-top: 1px solid var(--base-ultra-dark);
  background: none; border-radius: 0;
}
.post-hero .tldr-label {
  margin: 0; font-size: var(--text-xs); font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--base-semi-dark);
}
.post-hero .tldr p {
  margin: 0; font-family: var(--heading-font-family); font-size: clamp(1.2rem, 1.1rem + .5vw, 1.5rem); line-height: 1.38;
  letter-spacing: -.005em; color: var(--base-ultra-dark);
}
@media (max-width: 40em) { .post-hero .tldr { grid-template-columns: 1fr; row-gap: var(--space-xs); } }
/* Featured media slot: an embedded video (YouTube or Vimeo) takes the place of the featured image */
.post-figure .ph.video { aspect-ratio: 16 / 9; }
.post-figure .ph.video iframe { display: block; width: 100%; height: 100%; border: 0; }

/* Click-to-play video facade: the poster is our own image; the player loads only after a click */
.post-figure .ph.video .video-facade {
  position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; cursor: pointer; background: var(--base-ultra-dark, #111);
}
.post-figure .ph.video .video-facade img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-figure .ph.video .play {
  position: absolute; inset: 0; margin: auto; width: clamp(56px, 9vw, 88px); aspect-ratio: 1; display: grid; place-items: center;
  border-radius: 50%; background: rgba(255,255,255,.94); color: var(--primary); box-shadow: 0 10px 30px -8px rgba(0,0,0,.45); transition: transform .2s var(--ease-snappy);
}
.post-figure .ph.video .play svg { width: 42%; height: 42%; fill: currentColor; margin-left: 6%; }
.post-figure .ph.video .video-facade:hover .play { transform: scale(1.08); }
.post-figure .ph.video .video-facade:focus-visible { outline: 3px solid var(--primary); outline-offset: -3px; }
/* Video label: on blog cards, and a tag in the post byline */
.posts .thumb { position: relative; }
.vbadge {
  position: absolute; left: 6px; bottom: 6px; display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%;
  background: rgba(15,20,40,.86); color: #fff;
}
.vbadge svg { width: 11px; height: 11px; fill: currentColor; margin-left: 1px; }
.byline .vtag {
  display: inline-flex; align-items: center; gap: 5px; padding: 2px 10px; border-radius: 999px; background: var(--primary-ultra-light, var(--neutral-semi-light));
  color: var(--primary); font-weight: 700; font-size: var(--text-xs); letter-spacing: .06em; text-transform: uppercase;
}
.byline .vtag svg { width: 9px; height: 9px; fill: currentColor; }

/* Blog filter chips: the post count was too faint (contrast); keep it quieter than the label but readable */
.topics .count { opacity: .85; }

/* Keyboard focus ring: a global reset removed the outline on text links (".textlink") and some buttons; every interactive element
   must show where keyboard focus is (WCAG 2.4.7). Inputs keep their own box-shadow ring. */
html a:focus-visible,
html button:focus-visible,
html summary:focus-visible,
html [tabindex]:focus-visible {
  outline: 2px solid var(--primary); outline-offset: 4px; border-radius: 4px;
}
html a.textlink:focus-visible { outline: 2px solid var(--primary); outline-offset: 4px; }

/* Quote blocks (home "Proof", service pages, About): the framework's default blockquote look (tinted card, blue left bar, rounded corners)
   leaked in and, with the design's zero side padding, pushed the text against the bar. These components are designed as plain quotes
   separated by thin rules, so reset the framework styling (the testimonials page does the same in its own rule). Fixed 2026-11-16. */
.quotes blockquote,
.svc-quotes blockquote {
  background: none; border-left: 0; border-radius: 0; box-shadow: none; margin-left: 0; margin-right: 0;
}

/* Testimonials page (Notion-driven): one featured quote, then a grid of cards. The framework gives <figure> and <blockquote> a tinted card,
   a blue left bar and rounded corners; reset it explicitly (specificity beats the element defaults). */
.tfeat-wrap { max-width: 1040px; margin: 0 auto var(--space-l); }
figure.tfeat, figure.tcard { margin: 0; border: 0; border-left: 0; border-radius: var(--radius-xl); background: var(--white); box-shadow: inset 0 0 0 1px var(--neutral), var(--box-shadow-1); }
figure.tfeat { display: grid; grid-template-columns: auto 1fr; gap: var(--space-xl); align-items: center; padding: var(--section-space-m); box-shadow: inset 0 0 0 1px var(--neutral), var(--box-shadow-2); }
figure.tcard { display: flex; flex-direction: column; gap: var(--space-m); padding: var(--space-xl); }
.tfeat blockquote, .tcard blockquote { margin: 0; padding: 0; border: 0; border-left: 0; border-radius: 0; background: none; box-shadow: none; }
.tfeat blockquote p { font-family: var(--heading-font-family); font-size: clamp(26px, 3vw, 38px); line-height: 1.22; letter-spacing: -.01em; margin: var(--space-s) 0 0; }
.tcard blockquote p { font-family: var(--heading-font-family); font-size: var(--h6); line-height: 1.38; margin: 0; }
.tfeat blockquote p::before, .tcard blockquote p::before { content: "\201C"; }
.tfeat blockquote p::after, .tcard blockquote p::after { content: "\201D"; }
.tchip { align-self: flex-start; display: inline-block; padding: 3px 12px; border-radius: 999px; background: var(--primary-ultra-light, var(--neutral-semi-light)); color: var(--primary); font-size: var(--text-xs); font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: var(--space-l); max-width: 1040px; margin: 0 auto; }
.tcard figcaption { margin-top: auto; padding-top: var(--space-m); border-top: 1px solid var(--neutral); display: flex; align-items: center; gap: var(--space-s); }
.tfeat figcaption { margin-top: var(--space-l); display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-s) var(--space-l); }
.tface { flex: none; width: 56px; height: 56px; border-radius: 50%; object-fit: cover; box-shadow: 0 0 0 3px var(--white), 0 0 0 4px var(--neutral); }
.tfeat .tface { width: 120px; height: 120px; }
.tcard .who, .tfeat .who { display: flex; flex-direction: column; line-height: 1.35; }
.tcard .who b, .tfeat .who b { color: var(--base-ultra-dark); font-weight: 600; }
.tcard .who span, .tfeat .who span { color: var(--base); font-size: var(--text-s); }
.tcard .textlink { margin-top: var(--space-xs); }
@media (max-width: 52em) {
  .tgrid { grid-template-columns: 1fr; }
  figure.tfeat { grid-template-columns: 1fr; gap: var(--space-m); padding: var(--space-xl); }
  .tfeat .tface { width: 88px; height: 88px; }
}

/* Footer: the site's own code types in, then resolves into the content (scroll-driven; content is visible without JS) */
footer { overflow: hidden; }
.code-rise { position: absolute; inset: 0 0 auto 0; height: min(46%, 440px); pointer-events: none; opacity: .1; padding: var(--space-xl) var(--rc-gutter) 0;
  -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
.code-rise pre { max-width: var(--rc-max); margin: 0 auto; font: 13px/1.75 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; color: #6b7390; white-space: pre; overflow: hidden; }
.code-rise .ln { display: block; }
.code-rise .t { color: #7aa2ff; } .code-rise .a { color: #7fd1c7; } .code-rise .s { color: #e2c58f; } .code-rise .c { color: #5d667f; }
.codelive .code-rise { opacity: calc(1 - clamp(0, (var(--fp) - .5) * 2.4, 1) * .9); }
.codelive .code-rise .ln { clip-path: inset(0 calc(100% - clamp(0, var(--fp) * 16 - var(--i) * 1.1, 1) * 100%) 0 0); }
.codelive > .wrap { opacity: clamp(0, (var(--fp) - .4) * 2.6, 1); transform: translateY(calc((1 - clamp(0, (var(--fp) - .4) * 2.6, 1)) * 18px)); }
footer > .wrap { position: relative; }
@media (max-width: 52em) { .code-rise .ln:nth-child(n+8) { display: none; } .code-rise pre { font-size: 11.5px; } }
@media (prefers-reduced-motion: reduce) { .codelive .code-rise { opacity: .1; } .codelive .code-rise .ln { clip-path: none; } .codelive > .wrap { opacity: 1; transform: none; } }

/* Service heroes: no dot halo, no caption under the visual, plain italic accent instead of the highlighter bar */
.svc-hero .kicker::before { box-shadow: none; }
.svc-hero .cap-sm { display: none; }
.svc-hero .hl { font-style: italic; }
.svc-hero .hl::after { display: none; }

/* Spam-trap field (honeypot): invisible to people and screen readers, still present for bots to fill */
.hp { position: absolute !important; left: -10000px !important; top: auto; width: 1px; height: 1px; overflow: hidden; opacity: 0; pointer-events: none; }

/* Audit checklist card: size to its content (it was fixed at 410px and clipped the fifth check); the back sheets follow its height */
.doc { height: auto; padding-top: 26px; }
.sheet-p.s1 { position: relative; left: auto; top: auto; width: min(400px, 92%); height: auto; margin: 0 auto; transform: none; padding-bottom: var(--space-xl); }
.sheet-p.s2, .sheet-p.s3 { top: 26px; height: auto; bottom: 0; }

/* Urgent route for hacked sites (service page link, form note) and a single-checkbox choice */
.quiet.urgent, .plans-note a.urgent { color: #b42318; font-weight: 600; }
.urgent-note { margin: var(--space-s) 0 0; padding: var(--space-xs) var(--space-s); border-left: 3px solid #b42318; background: #fdf2f1; color: #7a1a12; font-size: var(--text-s); border-radius: 0 var(--radius-xs) var(--radius-xs) 0; }

/* Application forms (growth plan, local SEO, support): the choice cards, the name row and the button row. These rules were in the prototype
   stylesheet (e-company.css) but missing from the Studio design-system sheet, so radios and the Continue row rendered unstyled. */
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.choices { display: grid; gap: 8px; border: 0; }
.choices > span { font-size: var(--text-s); font-weight: 600; color: var(--base-semi-dark); margin-bottom: 2px; }
.choice { position: relative; display: grid; grid-template-columns: 20px 1fr auto; gap: 12px; align-items: center; padding: 13px 14px; border-radius: var(--radius-m); cursor: pointer;
  box-shadow: inset 0 0 0 1px var(--neutral-semi-dark); transition: box-shadow .25s, background .25s; font-size: var(--text-s); line-height: 1.4; }
.choice input { appearance: none; -webkit-appearance: none; width: 20px; height: 20px; margin: 0; padding: 0; border-radius: 50%; border: 0; background: var(--white);
  box-shadow: inset 0 0 0 1.5px var(--neutral-semi-dark), inset 0 1px 2px rgba(0,0,0,.08); transition: box-shadow .2s; cursor: pointer; }
.choice input[type="checkbox"] { border-radius: 6px; }
.choice input:checked { box-shadow: inset 0 0 0 6px var(--primary); }
.choice input[type="checkbox"]:checked { box-shadow: inset 0 0 0 10px var(--primary);
  background: var(--primary) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat; }
.choice input:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; }
.choice:has(input:checked) { box-shadow: inset 0 0 0 1.5px var(--primary); background: var(--primary-ultra-light); }
.choice small { font-size: var(--text-xs); color: var(--base); }
.nav-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 8px; }
.app .err, .err { margin: 0; }
@media (hover: hover) and (pointer: fine) { .choice:hover { box-shadow: inset 0 0 0 1.5px var(--base-semi-dark); } }
@media (max-width: 560px) { .row2 { grid-template-columns: 1fr; } }

/* Testimonial component, every placement: one card (figure.tcard, the same as /testimonials/) fed from Notion, in three layouts.
   Strip = a row of cards (services, locations, about, success pages); aside = one compact card beside a form; stack = cards in a column (home proof). */
.tq-strip { max-width: 1040px; margin: var(--space-xl) auto 0; }
.tq-aside { margin-top: var(--space-l); max-width: 460px; }
.tq-aside figure.tcard { padding: var(--space-l); gap: var(--space-s); }
.tq-aside .tcard blockquote p { font-size: var(--text-l); }
.tq-stack { display: grid; gap: var(--space-m); }
.tq-stack figure.tcard { padding: var(--space-l); gap: var(--space-s); }
.tq-stack .tcard blockquote p { font-size: var(--text-l); }
.tq-strip .tcard blockquote p { font-size: var(--text-xl); line-height: 1.38; }

/* Plan cards: the title sat 7px under the dashed line but had ~15px of air below it (the paragraph's line height). Equalised optically. */
.tag h3 { margin-top: calc(var(--space-m) + 10px); }
.plans .tag .fit { margin-top: 2px; }

/* Forms, every one: required fields are marked with a red asterisk and a "* Required" key. Optional fields keep their "optional" tag.
   The asterisk is decoration (alt text empty); the inputs carry the required attribute for assistive tech. */
.field:has(input[required]) > span::after,
.field:has(textarea[required]) > span::after,
.choices:has(input[required]) > span::after,
.choice:has(input[type="checkbox"][required]) > span::after { content: "\00a0*" / ""; color: var(--danger, #b42318); font-weight: 600; }
.app form::before, #support-form::before, form.letter::before { content: "* Required"; display: block; text-align: right; margin-bottom: var(--space-xs); font-size: var(--text-xs); color: var(--base); }
.app fieldset > legend { margin-bottom: 0; }

/* Checkbox: the checked fill was an inset box-shadow, which paints above the background image and hid the white tick. Fill with the background instead. */
.choice input[type="checkbox"]:checked { box-shadow: inset 0 0 0 1.5px var(--primary); background-color: var(--primary); }

/* Footer: the "misc" page family (testimonials, thank-you pages, link hub, legal) defines a global .hub layout for the link-hub page. The footer's "Florida"
   and "Louisiana" market items use the same class name and were being turned into 800px tall flex boxes. Reset them to plain list items. */
footer .foot-grid li.hub { display: list-item; justify-content: normal; padding: 0; }

/* Footer link-hub reset, desktop part: a min-height rule for the link-hub page (media query, min-width 900px) also hit the footer's market items. */
footer .foot-grid li.hub { min-height: 0; align-items: normal; }

/* Multi-step forms: the bar fills as you advance (current = half, done = full), the steps crossfade and the card height eases (see the script in growth-plan.html). */
.stepper li::before { background: linear-gradient(var(--primary), var(--primary)) left center / 0% 100% no-repeat, var(--neutral-semi-light); transition: background-size .55s var(--ease-snappy); }
.stepper li.current::before { background: linear-gradient(var(--primary), var(--primary)) left center / 50% 100% no-repeat, var(--neutral-semi-light); }
.stepper li.done::before { background: linear-gradient(var(--primary), var(--primary)) left center / 100% 100% no-repeat, var(--neutral-semi-light); }
.app .steps { overflow: clip; padding: 6px; margin: -6px; }
.app .sent:not([hidden]) { animation: tqRise .45s var(--ease-snappy) both; }
@keyframes tqRise { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .stepper li::before { transition: none; } .app .sent:not([hidden]) { animation: none; } }

/* State maps on the location pages: the state outline on a soft water-toned card, pins at the cities' real positions (tools/make_state_maps.py). */
.map.state { background: color-mix(in oklab, var(--primary-ultra-light) 45%, var(--neutral-light)); }
.statemap { position: absolute; inset: 0; width: 100%; height: 100%; }
.statemap .land { fill: var(--white); stroke: color-mix(in oklab, var(--neutral-semi-dark), var(--base) 25%); stroke-width: 1.2; stroke-linejoin: round; }
.statemap .key { fill: var(--white); stroke: color-mix(in oklab, var(--neutral-semi-dark), var(--base) 25%); stroke-width: .8; }
.statemap .dot { fill: var(--white); stroke: var(--primary); stroke-width: 1.8; }
.statemap .pin path { fill: var(--primary); }
.statemap .pin circle { fill: var(--white); }
.statemap .pin-in { transform: translateY(-24px); opacity: 0; transition: transform .8s var(--ease-snappy), opacity .45s; }
.bridge.in .map.state .pin-in { transform: none; opacity: 1; }
.map.state .label { left: 14px; right: auto; text-align: left; bottom: 12px; }
@media (prefers-reduced-motion: reduce) { .statemap .pin-in { transform: none; opacity: 1; transition: none; } }
.statemap .water { fill: color-mix(in oklab, var(--primary-ultra-light) 45%, var(--neutral-light)); stroke: color-mix(in oklab, var(--neutral-semi-dark), var(--base) 25%); stroke-width: .8; }

/* ===== Location heroes: the map as the hero backdrop (state pages and city pages) ===== */
.loc-hero { position: relative; overflow: hidden; isolation: isolate; }
.svc-hero.loc-hero .hero-grid { grid-template-columns: minmax(0, 640px); }
.loc-hero .mapbg { position: absolute; inset: 0; z-index: -1; pointer-events: none; -webkit-mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 96%); mask-image: linear-gradient(to bottom, #000 0, #000 52%, transparent 96%); }
.loc-hero .mapin { position: absolute; inset: 0; -webkit-mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 30%, #000 56%); mask-image: linear-gradient(to right, transparent 0, rgba(0,0,0,.35) 30%, #000 56%); }
.loc-hero .mapbg svg { width: 100%; height: 100%; display: block; }
.mapbg .land { fill: color-mix(in oklab, var(--primary) 7%, transparent); stroke: color-mix(in oklab, var(--primary) 46%, transparent); stroke-width: 1.4; stroke-linejoin: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: map-draw 2.6s .3s cubic-bezier(.4,0,.2,1) forwards, map-fill 1.6s 1.4s ease-out both; }
.mapbg .water { fill: var(--neutral-ultra-light); stroke: color-mix(in oklab, var(--primary) 30%, transparent); stroke-width: 1; }
.mapbg .key { fill: color-mix(in oklab, var(--primary) 40%, transparent); }
.mapbg .grat line { stroke: color-mix(in oklab, var(--primary) 9%, transparent); stroke-width: 1; }
.mapbg .gl text { font: 600 11px var(--text-font-family); letter-spacing: .12em; fill: color-mix(in oklab, var(--primary) 38%, transparent); text-transform: uppercase; }
.mapbg .stem { stroke: var(--primary); stroke-width: 1.2; transform-box: fill-box; transform-origin: bottom; animation: map-grow .7s 1.9s cubic-bezier(.2,.8,.2,1) both; }
.mapbg .dt { fill: var(--primary); animation: map-fade .4s 1.8s both; }
.mapbg .pl { font: 600 13px var(--text-font-family); letter-spacing: .14em; text-transform: uppercase; fill: color-mix(in oklab, var(--base-ultra-dark) 62%, transparent); animation: map-fade .8s 2.3s both; }
.mapbg .pl.big { font-size: 17px; fill: color-mix(in oklab, var(--base-ultra-dark) 78%, transparent); }
.mapbg .ps { font: 500 12px var(--text-font-family); letter-spacing: .08em; fill: color-mix(in oklab, var(--base-ultra-dark) 42%, transparent); animation: map-fade .8s 2.5s both; }
.mapbg .ghost { font-family: var(--heading-font-family); font-size: 250px; letter-spacing: -.04em; fill: color-mix(in oklab, var(--primary) 5%, transparent); }
@keyframes map-draw { to { stroke-dashoffset: 0; } }
@keyframes map-fill { from { fill: transparent; } }
@keyframes map-grow { from { transform: scaleY(0); } }
@keyframes map-fade { from { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .mapbg .land, .mapbg .stem, .mapbg .dt, .mapbg .pl, .mapbg .ps { animation: none; stroke-dashoffset: 0; } }
@media (max-width: 760px) { .svc-hero.loc-hero .hero-grid { grid-template-columns: 1fr; } .loc-hero .mapin { -webkit-mask-image: none; mask-image: none; opacity: .5; } .mapbg .pl { font-size: 11px; } .mapbg .ghost, .mapbg .gl, .mapbg .ps, .mapbg .pl { display: none; } .loc-hero .mapbg { opacity: .7; } }

/* FAQ answer clips while its height animates (rc-site.js) */
.faq .ans { display: block; overflow: hidden; transition: none; }

/* Website project form: alternate-forms line, hosting note */
.gp-alt { font-size: var(--text-s); color: var(--base-semi-dark); margin-top: var(--space-m); max-width: 52ch; }
.gp-alt a, .care-note a { text-decoration: underline; text-underline-offset: 3px; }
.care-note { font-size: var(--text-s); color: var(--base-semi-dark); margin: 0 0 var(--space-l); }
.choices > span em, .choice span em { font-style: normal; font-weight: 400; color: var(--base-semi-dark); margin-left: 6px; font-size: .9em; }
