/* Builder D (2026-11-05): /services/web-design-and-development and /our-websites.
   Built on omg.css + inner.css (+ services.css or proof.css). Every rule here is scoped under an rbd- class.
   No new animation lives in this file: the only moving parts are the site's own scrolling previews (.pan) and the
   shared reveals, so nothing here needs its own reduced-motion switch beyond the hover lifts at the bottom. */

/* =====================================================================================================
   /services/web-design-and-development
   ===================================================================================================== */

/* ---------- hero: three client sites scrolling on phones ---------- */
.rbd-phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(12px, 1.6vw, 22px); align-items: start; max-width: 660px; margin: 0 auto; }
.rbd-ph { position: relative; aspect-ratio: 520 / 1125; overflow: hidden; border-radius: 26px; border: 6px solid #000; background: #fff; box-shadow: 0 0 0 1px rgba(255, 255, 255, .16), 0 30px 60px -20px rgba(0, 0, 0, .7); }
.rbd-ph .pan { position: absolute; top: 0; left: 0; width: 100%; height: auto; }
.rbd-ph-2 { margin-top: 14%; }
.rbd-ph-3 { margin-top: 5%; }
.rbd-phones figcaption { grid-column: 1 / -1; margin-top: 16px; text-align: center; line-height: 1.5; }
@media (hover: hover) and (pointer: fine) { .rbd-ph:hover .pan { animation-play-state: paused; } }

/* ---------- what a site includes: one phone screen with numbered pins, and what each part does ---------- */
.rbd-anat { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: clamp(32px, 5vw, 84px); max-width: 1060px; margin: 0 auto; align-items: center; }
.rbd-anat-ph { margin: 0; width: clamp(250px, 23vw, 310px); }
.rbd-anat-screen { position: relative; border-radius: 32px; border: 7px solid var(--ink); background: #fff; box-shadow: 0 44px 80px -42px rgba(12, 12, 13, .6); }
.rbd-anat-screen img { display: block; width: 100%; height: auto; border-radius: 25px; }
.rbd-pin, .rbd-n { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: var(--aqua); border: 2px solid var(--aqua); font: 800 13px/1 var(--wide); }
.rbd-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); box-shadow: 0 6px 14px -6px rgba(0, 0, 0, .55); }
.rbd-anat-ph figcaption { margin-top: 14px; text-align: center; font-size: 13px; color: var(--mute); }
.rbd-anat-list { list-style: none; margin: 0; padding: 0; border-top: 1px solid rgba(12, 12, 13, .14); }
.rbd-anat-list li { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(12, 12, 13, .14); }
.rbd-anat-list h3 { font: 700 1.15rem/1.25 var(--wide); letter-spacing: -.03em; }
.rbd-anat-list p { margin-top: 5px; color: #3f3e3b; font-size: 15.5px; line-height: 1.5; }

/* ---------- a page for every drip and every town: the kinds of page (with real live ones) + pages per site ---------- */
.rbd-pages { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: start; max-width: 1240px; margin: 0 auto; }
.rbd-sub { font: 700 1.3rem/1.2 var(--wide); letter-spacing: -.03em; }
.rbd-tree { list-style: none; margin: 20px 0 0 6px; padding: 0 0 0 26px; border-left: 2px solid var(--aqua); }
.rbd-tree li { position: relative; padding: 0 0 20px; }
.rbd-tree li:last-child { padding-bottom: 0; }
.rbd-tree li::before { content: ''; position: absolute; left: -26px; top: 11px; width: 18px; height: 2px; background: var(--aqua); }
.rbd-tree b { display: block; font: 700 1.05rem/1.3 var(--wide); letter-spacing: -.02em; }
.rbd-tree li > span { display: block; margin-top: 3px; color: #3f3e3b; font-size: 15px; line-height: 1.45; }
.rbd-eg { margin-top: 9px; display: flex; flex-wrap: wrap; gap: 8px; }
.rbd-eg a { display: inline-flex; align-items: center; min-height: 40px; padding: 0 14px; border-radius: 999px; border: 1px solid rgba(12, 12, 13, .2); background: #fff; font-size: 13.5px; font-weight: 600; transition: border-color .2s, color .2s; }
.rbd-eg a:hover { border-color: var(--aqua-ink); color: var(--aqua-ink); }
.rbd-sub-note { margin-top: 8px; color: #3f3e3b; font-size: 15px; line-height: 1.5; max-width: 52ch; }
.rbd-towns { margin: 0; padding: clamp(24px, 2.8vw, 40px); border-radius: 26px; background: var(--ink); color: var(--bone); }
.rbd-towns-k { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua); }
.rbd-towns h3 { margin-top: 14px; font: 700 1.3rem/1.2 var(--wide); letter-spacing: -.03em; color: #fff; }
.rbd-towns h3 b { display: block; margin-bottom: 6px; font: 800 clamp(3rem, 5vw, 4.4rem)/.95 var(--wide); letter-spacing: -.06em; color: var(--aqua); }
.rbd-towns figcaption p:not(.rbd-towns-k) { margin-top: 10px; font-size: 14.5px; line-height: 1.5; color: var(--mute-d); }
.rbd-areas { list-style: none; margin: 22px 0 0; padding: 20px 0 0; border-top: 1px solid var(--line-d); display: flex; flex-wrap: wrap; gap: 8px; }
.rbd-areas li { padding: 8px 13px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: 13.5px; font-weight: 600; color: #e2e1e5; }
.rbd-towns .more { margin-top: 24px; }

/* ---------- built around how you see patients: three sites, picture beside the words, alternating ---------- */
.rbd-ways { display: grid; gap: clamp(48px, 6vw, 90px); max-width: 1220px; margin: 0 auto; }
.rbd-way { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: clamp(28px, 4.5vw, 72px); align-items: center; }
.rbd-way:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr); }
.rbd-way:nth-child(even) .frame { order: 2; }
.rbd-way .frame img { display: block; width: 100%; height: auto; }
.rbd-way-k { font: 700 12px/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--aqua-ink); }
.rbd-way h3 { margin-top: 12px; font: 800 clamp(1.6rem, 2.6vw, 2.4rem)/1.06 var(--wide); letter-spacing: -.045em; }
.rbd-way-t { margin-top: 14px; color: #3f3e3b; font-size: 16px; line-height: 1.55; max-width: 46ch; }
.rbd-way-who { margin-top: 16px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }

/* ---------- one line to SiteLaunch and to every site we have shown ---------- */
.rbd-sl-line { margin: clamp(40px, 4.6vw, 64px) auto 0; max-width: 980px; display: flex; flex-wrap: wrap; justify-content: center; align-items: baseline; gap: 12px 30px; text-align: center; color: #3f3e3b; font-size: 16px; line-height: 1.55; }
.rbd-sl-line > span { flex-basis: 100%; }
.rbd-sl-line .more { white-space: nowrap; }

/* ---------- works with the rest of your marketing ---------- */
.rbd-mix { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; max-width: 1200px; margin: 0 auto; }
.rbd-mix a { display: flex; flex-direction: column; gap: 8px; padding: 24px 24px 22px; border-radius: 22px; background: var(--bone); transition: transform .2s, box-shadow .2s; }
.rbd-mix a:hover { transform: translateY(-3px); box-shadow: 0 24px 44px -32px rgba(12, 12, 13, .5); }
.rbd-mix h3 { font: 700 1.15rem/1.2 var(--wide); letter-spacing: -.03em; }
.rbd-mix p { color: #3f3e3b; font-size: 15px; line-height: 1.5; }
.rbd-go { margin-top: auto; padding-top: 6px; font-weight: 700; font-size: 14px; color: var(--aqua-ink); }

/* =====================================================================================================
   /our-websites
   ===================================================================================================== */

/* ---------- jump to any site ---------- */
.rbd-jump-sec { padding: clamp(28px, 3.2vw, 44px) var(--gut); background: var(--bone); }
.rbd-jump + .rbd-jump { margin-top: clamp(20px, 2.2vw, 28px); }
.rbd-jump { max-width: 1180px; margin: 0 auto; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.rbd-jump-k { width: 100%; margin-bottom: 8px; text-align: center; font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--mute); }
.rbd-jump a { display: inline-flex; align-items: center; gap: 8px; min-height: 42px; padding: 0 16px; border-radius: 999px; background: #fff; border: 1px solid rgba(12, 12, 13, .14); font-size: 14px; font-weight: 600; transition: border-color .2s; }
.rbd-jump a:hover { border-color: var(--ink); }
.rbd-jump a.rbd-is-live { background: var(--ink); color: #fff; border-color: var(--ink); }
.rbd-jump a.rbd-is-live::before { content: ''; width: 8px; height: 8px; border-radius: 50%; background: var(--aqua); }

/* ---------- live on their own domains: a few real pages of each, each a link to the page itself ---------- */
.rbd-lives { display: grid; gap: clamp(48px, 5.4vw, 80px); }
.rbd-live { scroll-margin-top: 90px; }
.rbd-live-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 22px; padding-bottom: 18px; border-bottom: 1px solid rgba(12, 12, 13, .14); }
.rbd-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: var(--ink); color: var(--aqua); font: 700 11.5px/1 var(--sans); letter-spacing: .12em; text-transform: uppercase; }
.rbd-chip span { width: 7px; height: 7px; border-radius: 50%; background: var(--aqua); }
.rbd-live-head h3 { font: 800 clamp(1.6rem, 2.6vw, 2.4rem)/1.05 var(--wide); letter-spacing: -.045em; }
.rbd-live-where { font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.rbd-live-n { font-size: 15px; color: #3f3e3b; }
.rbd-live-n b { font: 800 1.25rem/1 var(--wide); letter-spacing: -.03em; color: var(--ink); }
.rbd-live-head .more { margin-left: auto; }
.rbd-live-pages { margin-top: 24px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 24px); }
.rbd-pg { display: block; }
.rbd-pg .frame { border-radius: 12px; box-shadow: 0 24px 50px -34px rgba(12, 12, 13, .5); transition: transform .2s, box-shadow .2s; }
.rbd-pg .frame-bar { height: 28px; padding: 0 10px; font-size: 11px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.rbd-pg img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.rbd-pg:hover .frame { transform: translateY(-3px); box-shadow: 0 30px 56px -34px rgba(12, 12, 13, .6); }
.rbd-pg p { margin-top: 12px; font-size: 14px; line-height: 1.45; color: #3f3e3b; }
.rbd-pg p b { display: block; color: var(--ink); font-size: 14.5px; }

/* ---------- the six whole sites and nine home page designs: proof.css cards, plus an anchor offset, a page count or label, and a still picture ---------- */
.rbd-ws { scroll-margin-top: 90px; }
.rbd-ws-n { margin-top: 6px; font-size: 13.5px; font-weight: 700; color: var(--aqua-ink); }
.rbd-still .frame-view img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }

/* ---------- the work behind three of them ---------- */
.rbd-res { list-style: none; max-width: 1000px; margin: 0 auto; padding: 0; border-top: 1px solid rgba(12, 12, 13, .14); }
.rbd-res li { display: grid; grid-template-columns: 210px minmax(0, 1fr) auto; gap: 8px 30px; align-items: center; padding: 24px 0; border-bottom: 1px solid rgba(12, 12, 13, .14); }
.rbd-res b { font: 800 clamp(1.9rem, 3vw, 2.7rem)/1 var(--wide); letter-spacing: -.05em; color: var(--ink); white-space: nowrap; }
.rbd-res b i { font-style: normal; color: var(--aqua-ink); margin: 0 .08em; }
.rbd-res p { color: #3f3e3b; font-size: 15.5px; line-height: 1.5; }
.rbd-res p strong { color: var(--ink); }
.rbd-res .more { font-size: 14.5px; white-space: nowrap; }
.rbd-res li.rbd-res-line { grid-template-columns: minmax(0, 1fr) auto; }
/* the line about stopping a scrolling site with a mouse only shows where there is a mouse */
@media (hover: none) { .rbd-hover-only { display: none; } }
.rbd-ow-after { margin-top: clamp(30px, 3.4vw, 48px); display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 34px; }

/* =====================================================================================================
   smaller screens
   ===================================================================================================== */
@media (max-width: 1180px) {
  .rbd-phones { max-width: 520px; }
  .rbd-live-head .more { margin-left: 0; }
}
@media (max-width: 1000px) {
  .rbd-pages { grid-template-columns: 1fr; max-width: 720px; }
  .rbd-mix { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .rbd-live-pages { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .rbd-anat { grid-template-columns: 1fr; justify-items: center; max-width: 560px; }
  .rbd-anat-list { width: 100%; }
  .rbd-way { grid-template-columns: 1fr; max-width: 720px; margin: 0 auto; }
  .rbd-way:nth-child(even) { grid-template-columns: 1fr; }
  .rbd-way:nth-child(even) .frame { order: 0; }
  .rbd-res li, .rbd-res li.rbd-res-line { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
@media (max-width: 720px) {
  .rbd-phones { gap: 10px; }
  .rbd-ph { border-width: 4px; border-radius: 18px; }
  .rbd-anat-ph { width: min(270px, 78vw); }
  .rbd-way .frame { margin-inline: calc(-1 * var(--gut)); border-radius: 0; border-left: 0; border-right: 0; }
  .rbd-sl-line { flex-direction: column; align-items: center; gap: 12px; }
  .rbd-mix { grid-template-columns: 1fr; }
  .rbd-way { text-align: center; }
  .rbd-way-t { margin-left: auto; margin-right: auto; }
  .rbd-live-head { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .rbd-live-pages { gap: 12px; }
  .rbd-pg p { font-size: 13px; }
  .rbd-pg p b { font-size: 13.5px; }
  .rbd-pg .frame-bar { height: 24px; font-size: 10px; }
}

/* hover lifts stay still for anyone who asks their device for less motion */
@media (prefers-reduced-motion: reduce) {
  .rbd-mix a, .rbd-pg .frame, .rbd-eg a, .rbd-jump a { transition: none; }
  .rbd-mix a:hover, .rbd-pg:hover .frame { transform: none; }
}
