.home {
  background:
    radial-gradient(ellipse at 10% 0%, #b6cafaad, transparent 38rem),
    radial-gradient(ellipse at 95% 5%, #f9c79aad, transparent 33rem),
    linear-gradient(180deg, #eef0fb 0%, #f8f5f3 27%, #e9edf9 64%, #f8ebdf 100%);
  line-height: 1.55;
}
.home-wrap { width: min(1132px, calc(100% - 48px)); margin-inline: auto; }
.home a { color: inherit; }
.home a:focus-visible, .home button:focus-visible {
  outline: 2px solid #253f9d;
  outline-offset: 4px;
}
.home-skip { position: absolute; top: 8px; left: 8px; z-index: 2; padding: 8px 16px; background: var(--paper); }
.home-skip:not(:focus) { clip-path: inset(50%); }
.home-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
  border-bottom: 1px solid #adb9d3;
}
.home-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.2;
  text-decoration: none;
}
.home-brand img { width: 43px; height: auto; display: block; }
.home-nav { display: flex; gap: clamp(14px, 3vw, 36px); align-items: center; }
.home-nav a, .home-footer a { font-size: 14px; font-weight: 550; }
.home-nav a:not(.home-button), .home-footer a:not(.home-brand) {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  text-underline-offset: 4px;
}
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 18px;
  border: 1px solid #2e4490;
  border-radius: 6px;
  background: #293e8c;
  font-size: 14px;
  font-weight: 650;
  text-decoration: none;
}
.home a.home-button { color: #fff; }
.home a.home-button:hover { background: #1d2f75; }
.home a.home-button.secondary { background: #fbfaffbf; color: #28397d; }
.home a.home-button.secondary:hover { background: #fff; }
.home-hero {
  padding-block: clamp(68px, 10vw, 132px) clamp(60px, 9vw, 108px);
  text-align: center;
}
.home-hero h1 {
  max-width: 1100px;
  margin: 0 auto;
  font-size: clamp(42px, 5.8vw, 80px);
  line-height: 1.01;
  letter-spacing: -.065em;
  font-weight: 650;
  text-wrap: balance;
}
.home-hero h1 span { color: #354993; }
.home-hero-break { display: none; }
.home-rotation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  max-width: 560px;
  margin: 24px auto 0;
  font-size: clamp(17px, 2.1vw, 23px);
  color: #3e4a69;
}
.home-rotation p { margin: 0; }
.home-rotation [data-benefits] { display: grid; align-items: center; }
.home-rotation [data-benefit] { grid-area: 1 / 1; }
.home-rotation [data-benefit]:not(.active) { visibility: hidden; opacity: 0; }
.home-rotation [data-benefit].active { animation: home-benefit-in .4s ease-out both; }
@keyframes home-benefit-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }
.home-rotation button {
  flex: none;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #3e4a69;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  cursor: pointer;
}
.home-rotation button:hover { border-color: #adb9d3; }
.home-rotation button[hidden], .home-rotation button [hidden] { display: none; }
.home-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 21px; }
.home-icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.home-rotation .home-icon { width: 17px; height: 17px; }
.home-section { padding-block: clamp(45px, 7vw, 88px); border-top: 1px solid #adb9d3; }
.home-section h2 {
  margin: 0 0 22px;
  font-size: clamp(34px, 5.2vw, 64px);
  font-weight: 650;
  line-height: 1.05;
  letter-spacing: -.05em;
}
.home-showcase { padding-block: clamp(24px, 3vw, 44px) clamp(30px, 5vw, 65px); }
.home-showcase > header h2 { margin-bottom: 0; text-align: center; }
.home-demo-list [data-demo] {
  grid-template-columns: minmax(0, 1fr);
  align-content: center;
  justify-items: center;
  min-block-size: min(90svh, 920px);
  gap: clamp(20px, 3vw, 28px);
  padding-block: clamp(42px, 6vw, 82px);
  scroll-margin-top: 10px;
}
.home-demo-list > :first-child { min-block-size: 0; padding-top: clamp(22px, 3vw, 36px); }
.home-demo-list > * + * { border-top: 1px solid #bac5dc; }
.home-demo-list .copy { max-width: 660px; text-align: center; }
.home-demo-list .copy h3 {
  margin: 0 0 12px;
  font-size: clamp(30px, 4vw, 50px);
  line-height: 1.05;
  font-weight: 600;
  letter-spacing: -.04em;
  text-wrap: balance;
}
.home-demo-list .copy p { font-size: clamp(18px, 2.2vw, 23px); line-height: 1.45; }
.home-demo-list .copy .cap { margin: 0; font-size: 15px; }
.home-demo-list .stage { width: min(100%, 820px); }
.home-about-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) clamp(76px, 11vw, 138px);
  gap: 20px;
  align-items: center;
  margin-bottom: 28px;
}
.home-about-intro h2 { margin-bottom: 10px; }
.home-about-intro p { max-width: 540px; margin: 0; color: var(--muted); }
.home-portrait { display: block; width: 100%; height: auto; border-radius: 50%; border: 1px solid #a7b4d1; }
.home-stories {
  --story-gap: clamp(16px, 3vw, 28px);
  --story-padding: clamp(16px, 2.5vw, 28px);
  --story-columns: 2;
  display: grid; grid-template-columns: repeat(var(--story-columns), minmax(0, 1fr)); gap: var(--story-gap);
}
.home-story {
  display: flex;
  flex-direction: column;
  padding: var(--story-padding);
  background: #fdfcfa;
  border: 1px solid #b8c2db;
  border-radius: 7px;
}
.home-story h3 {
  margin: 0 0 8px;
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 650;
  line-height: 1.1;
  letter-spacing: -.035em;
}
.home-story-subtitle { margin: 0; color: #354993; font-size: clamp(17px, 2vw, 21px); font-weight: 650; }
.home-story ul {
  margin: 10px 0 18px;
  padding-inline-start: 1.25em;
  color: var(--muted);
  font-size: clamp(17px, 1.7vw, 19px);
}
.home-story li + li { margin-top: 9px; }
.home-story img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: var(--photo-ratio, 16 / 9);
  object-fit: contain;
  margin-top: auto;
  border-radius: 5px;
  border: 1px solid #b8c2db;
  background: #f7f6fb;
}
.home-story-portrait { --photo-ratio: 1; }
.home-contact { text-align: center; }
.home-contact h2 { text-wrap: balance; }
.home-contact p { color: var(--muted); margin: 0 auto 21px; }
.home-footer {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 24px;
  padding-block: 19px;
  border-top: 1px solid #adb9d3;
}
.home-footer nav { display: flex; flex-wrap: wrap; gap: 0 18px; }
/* Rebuild 2026-11-11: hero scene, website example, offer, care, first step */
.home-lede { max-width: 620px; margin: 22px auto 0; font-size: clamp(17px, 2.1vw, 23px); line-height: 1.4; color: #3e4a69; text-wrap: balance; }
.home-hero { padding-bottom: clamp(44px, 6vw, 72px); }
.home-hero-scene.sys { display: block; max-width: 900px; margin: clamp(34px, 5vw, 56px) auto 0; padding: 0; text-align: left; }
.home-hero-scene .cap { margin: 14px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.home-intro { max-width: 620px; margin: -8px 0 28px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; color: var(--muted); }
.home-site { padding-block: clamp(42px, 6vw, 72px) clamp(10px, 2vw, 20px); border-top: 1px solid #bac5dc; }
.home-site-head { max-width: 660px; margin: 0 auto 28px; text-align: center; }
.home-site h3 { margin: 0 0 12px; font-size: clamp(30px, 4vw, 50px); line-height: 1.05; font-weight: 600; letter-spacing: -.04em; }
.home-site-head p { margin: 0; font-size: clamp(18px, 2.2vw, 23px); line-height: 1.45; color: var(--muted); }
.home-works { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 28px); }
.home-work h4 { margin: 0 0 4px; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.15; font-weight: 650; letter-spacing: -.03em; }
.home-work p { margin: 0; font-size: 17px; color: var(--muted); }
.home-work .home-work-tag { margin: 14px 0 4px; font-size: 13px; font-weight: 650; color: #354993; }
.home-browser { display: block; margin: 0; overflow: hidden; background: var(--paper); border: 1px solid var(--cb); border-radius: 8px; box-shadow: 0 1px 2px #17182112, 0 18px 36px -18px #2a3a7a55; text-decoration: none; transition: transform .2s; }
.home-browser:hover { transform: translateY(-3px); }
.home-browser-bar { display: flex; align-items: center; gap: 8px; min-height: 34px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #f7f6f2; font-size: 12px; font-weight: 600; }
.home-browser-bar i { flex: none; width: 8px; height: 8px; border-radius: 50%; background: #c9d1e6; }
.home-browser-bar span { margin-left: 4px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.home-browser img { display: block; width: 100%; height: auto; }
.home-group { margin: clamp(26px, 4vw, 40px) 0 14px; font-size: clamp(20px, 2.4vw, 26px); font-weight: 650; letter-spacing: -.03em; color: #354993; }
.home-about-intro + .home-group { margin-top: 0; }
.home-helps { border-bottom: 1px solid #adb9d3; }
.home-help { border-top: 1px solid #adb9d3; }
.home-help summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 68px; padding-block: 12px; font-size: clamp(22px, 3vw, 34px); font-weight: 650; line-height: 1.12; letter-spacing: -.035em; cursor: pointer; list-style: none; }
.home-help summary::-webkit-details-marker { display: none; }
.home-help summary:hover { color: #354993; }
.home-help summary:focus-visible { outline: 2px solid #253f9d; outline-offset: 4px; }
.home-help-plus { flex: none; width: 26px; height: 26px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; }
.home-help-plus .v { transition: opacity .2s; }
.home-help[open] > summary .v { opacity: 0; }
.home-help-body { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1fr); gap: 12px clamp(24px, 4vw, 56px); padding: 2px 0 26px; font-size: clamp(17px, 1.8vw, 19px); color: var(--muted); }
.home-help-body p { margin: 0; color: var(--ink); }
.home-help-body ul { margin: 0; padding-inline-start: 1.2em; }
.home-help-body li + li { margin-top: 6px; }
.home-care h3 { margin: 0 0 6px; font-size: 19px; line-height: 1.15; font-weight: 650; letter-spacing: -.03em; }
.home-care p { margin: 0; font-size: 17px; color: var(--muted); }
.home-quote { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px 24px; margin-top: clamp(20px, 3vw, 30px); padding-top: 20px; border-top: 2px solid #293e8c; }
.home-quote p { margin: 0; font-size: clamp(18px, 2vw, 22px); font-weight: 600; letter-spacing: -.02em; }
.home-care { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); }
.home-care > div { padding-top: 14px; border-top: 2px solid #293e8c; }
.home-optional { margin: 26px 0 0; padding: 14px 18px; border: 1px dashed #9aa8cb; border-radius: 7px; font-size: 17px; color: var(--muted); }
.home-optional b { color: var(--ink); font-weight: 650; }
.home-start { text-align: center; }
.home-start .home-actions { margin-top: 0; }
.home-after { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); max-width: 760px; margin: clamp(30px, 4vw, 44px) auto 0; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.home-after li { counter-increment: step; padding-top: 12px; border-top: 2px solid #293e8c; font-size: clamp(18px, 2vw, 22px); font-weight: 650; letter-spacing: -.02em; }
.home-after li::before { content: counter(step); display: block; margin-bottom: 2px; font-size: 14px; color: #354993; }
@media (max-width: 900px) {
  .home-care { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .home-hero-scene .cap { text-align: left; }
  .home-works, .home-care, .home-help-body { grid-template-columns: minmax(0, 1fr); }
  .home-site-head { text-align: left; }
  .home-site-head { margin-inline: 0; }
  .home-actions .home-button, .home-quote .home-button { width: 100%; }
}
@media (max-width: 899px) {
  .home-wrap { width: calc(100% - 32px); }
}
@media (max-width: 700px) {
  .home-header { flex-wrap: wrap; }
  .home-nav { justify-content: space-between; flex: 1 0 100%; gap: 10px; }
  .home-nav a { font-size: 13px; }
  .home-nav .home-button { padding-inline: 12px; }
  .home-hero { padding-bottom: 40px; }
  .home-hero h1 { font-size: clamp(26px, 9.4vw, 46px); text-wrap: wrap; }
  .home-hero-break { display: initial; }
  .home-rotation { margin-inline: 0; justify-content: start; }
  .home-actions { justify-content: start; }
  .home-demo-list [data-demo] { min-block-size: 0; }
  .home-stories { --story-columns: 1; --story-gap: 0px; }
  .home-story img { aspect-ratio: auto; max-height: 520px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-rotation [data-benefit].active { animation: none; }
  .home-browser, .home-help-plus .v { transition: none; }
}

/* ---- 2026-11-11 second review: hero accent, scene reel, proof cards, services carousel ---- */
.home-hero h1 em { color: #354993; font-style: italic; }

/* Systems in action: copy on the left third, animation on the right two thirds */
.home-reel-head { text-align: center; }
.home-reel-head h2 { margin-bottom: 0; }
.home-reel-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: clamp(22px, 3.6vh, 32px); }
.home-reel-tabs[hidden] { display: none; }
.home-reel-tabs button {
  min-height: 44px; padding: 8px 16px; border: 1px solid #adb9d3; border-radius: 999px; background: #fbfaff99;
  font: inherit; font-size: 14px; font-weight: 650; color: #3e4a69; cursor: pointer;
}
.home-reel-tabs button:hover { background: #fff; }
.home-reel-tabs button[aria-current="true"] { background: #293e8c; border-color: #293e8c; color: #fff; }
@media (min-width: 900px) {
  .home-demo-list [data-demo] {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); justify-items: stretch; align-items: center;
    gap: clamp(28px, 4vw, 56px); min-block-size: 0; max-width: 1180px; padding-inline: 24px;
  }
  .home-demo-list .copy { max-width: none; text-align: left; }
  .home-demo-list .copy h3 { font-size: clamp(28px, 3vw, 40px); }
  .home-demo-list .copy p { font-size: 18px; }
  .home-demo-list .copy .cap { font-size: 14px; }
  .home-demo-list .stage { width: 100%; }
}
/* Reel mode (set by home.js): the section pins and each scroll step swaps the scene */
.home-reel.is-reel { height: calc(100svh + var(--n, 4) * 50svh); }
.home-showcase:has(.is-reel) { padding-block: 0; }
.is-reel .home-reel-pin {
  position: sticky; top: 0; height: 100svh; display: flex; flex-direction: column; justify-content: center;
  gap: clamp(14px, 3vh, 30px); overflow: hidden;
}
@media (min-width: 900px) and (min-height: 740px) {
  .is-reel .home-reel-pin { padding-block-end: min(8svh, 72px); }
}
.is-reel .home-demo-list [data-demo] { padding-block: 0; border-top: 0; }
.is-reel .home-demo-list [data-demo][hidden] { display: none; }
.is-reel .home-demo-list [data-demo].enter { animation: home-reel-in .45s ease-out both; }
.is-reel .home-demo-list .stage { max-width: calc((100svh - 240px) * 1.6); justify-self: end; }
@keyframes home-reel-in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

/* Work with Me */
.home-portrait { border-radius: 0; aspect-ratio: 1; object-fit: cover; }
.home-about-intro p { max-width: 620px; font-size: clamp(18px, 2vw, 22px); line-height: 1.45; }
.home-stories { row-gap: 0; }
.home-stories + .home-group { margin-top: clamp(8px, 1.5vw, 14px); }
.home-story { display: grid; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; margin-bottom: clamp(16px, 3vw, 28px); }
.home-story h3 { margin: 0 0 6px; text-wrap: balance; }
.home-story ul { margin: 10px 0 18px; }
.home-story img { aspect-ratio: 3 / 2; object-fit: cover; margin-top: 0; align-self: end; }
.home-story .pos-nyad { object-position: 50% 78%; }
.home-story .pos-stitches { object-position: 50% 0%; }
.home-story img[src*="blueprint"] { object-position: 20% 50%; }

/* Services: one carousel, a custom visual and a label for each service */
#offer { --edge: max(24px, calc((100% - 1132px) / 2)); }
.home-svc-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; }
.home-svc-head h2 { margin-bottom: 0; }
.home-svc-nav { display: flex; gap: 8px; }
.home-svc-nav[hidden] { display: none; }
.home-svc-nav button { display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #adb9d3; border-radius: 50%; background: #fbfaffbf; color: #28397d; cursor: pointer; }
.home-svc-nav button:hover { background: #fff; }
.home-svc-nav button:disabled { opacity: .35; cursor: default; }
.home-svc-nav svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.home-svc-track {
  display: flex; gap: clamp(14px, 2vw, 22px); margin: 26px 0 0; padding: 4px var(--edge) 22px; list-style: none;
  overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); scroll-behavior: smooth; scrollbar-width: none;
}
.home-svc-track::-webkit-scrollbar { display: none; }
.svc { flex: none; width: min(340px, 82vw); scroll-snap-align: start; }
.svc h3 { margin: 14px 0 0; font-size: clamp(20px, 2.2vw, 24px); line-height: 1.15; font-weight: 650; letter-spacing: -.03em; }
.svc-art {
  display: flex; aspect-ratio: 4 / 3; padding: 16px; overflow: hidden; background: var(--paper); border: 1px solid var(--cb); border-radius: 8px;
  box-shadow: 0 1px 2px #17182112, 0 16px 30px -18px #2a3a7a55; font-size: 12.5px; line-height: 1.3; color: var(--ink);
}
.svc-art > * { flex: 1; min-width: 0; }
.svc-art b { font-weight: 650; letter-spacing: -.01em; }
.svc-art p, .svc-art dl, .svc-art dd, .svc-art ol { margin: 0; }
.svc-art ol { padding: 0; }
.sv-tag { display: inline-flex; align-items: center; padding: 2px 8px; border: 1px solid; border-radius: 999px; font-size: 11px; font-weight: 650; white-space: nowrap; }
.sv-green { background: #dcf5e3; border-color: #8fd9a8; color: #0f6b34; }
.sv-purple { background: #efe6ff; border-color: #cdb4f5; color: #6a2fc9; }
.sv-blue { background: #e1eeff; border-color: #a9cdf5; color: #0b5cad; }
.sv-neutral { background: #eceae6; border-color: #d6d3cc; color: #6b6f7d; }
.sv-ico { flex: none; display: grid; place-items: center; width: 24px; height: 24px; border: 1px solid #c9d1e6; border-radius: 50%; background: #eef1f8; color: #4c5367; }
.sv-ico svg { width: 62%; height: 62%; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sv-ok { background: #dcf5e3; border-color: #8fd9a8; color: #0f6b34; }
.sv-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 10px; font-size: 14px; }
.sv-chat { display: flex; flex-direction: column; justify-content: center; gap: 8px; }
.sv-bub { max-width: 86%; padding: 7px 10px; border: 1px solid; border-radius: 8px; }
.sv-in { align-self: flex-end; background: #e1eeff; border-color: #a9cdf5; border-top-right-radius: 2px; }
.sv-out { align-self: flex-start; background: #f6f0ff; border-color: #cdb4f5; border-top-left-radius: 2px; }
.sv-out .sv-tag { display: flex; width: max-content; margin-bottom: 5px; }
.sv-chat > .sv-tag { align-self: flex-start; }
.sv-rec { display: flex; flex-direction: column; justify-content: center; }
.sv-who { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.sv-who .sv-tag { margin-left: auto; }
.sv-rec dl { margin-top: 10px; }
.sv-rec dl div, .sv-line, .sv-log { display: grid; align-items: center; gap: 8px; padding: 9px 0; border-top: 1px solid #dfe2ee; }
.sv-rec dl div { grid-template-columns: 78px minmax(0, 1fr); }
.sv-rec dt, .sv-lead span:not(.sv-tag), .sv-log > span:last-child { color: var(--muted); }
.sv-rec dd { font-weight: 650; }
.sv-leads, .sv-portal, .sv-care { display: flex; flex-direction: column; justify-content: center; }
.sv-lead { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; column-gap: 8px; padding: 7px 10px; border: 1px solid var(--cb); border-radius: 6px; }
.sv-lead + .sv-lead { margin-top: 7px; }
.sv-lead .sv-tag { grid-area: 1 / 2 / 3 / 3; }
.sv-new { background: #eefaf1; border-color: #8fd9a8; box-shadow: inset 3px 0 #28b955; }
.sv-out-map { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; }
.sv-node { position: relative; padding: 8px 16px; background: #f6f0ff; border: 1px solid #cdb4f5; border-radius: 10px; color: #6a2fc9; font-size: 14px; font-weight: 650; }
.sv-node::after { content: ""; position: absolute; left: 50%; top: 100%; width: 1.5px; height: 14px; background: #cdb4f5; }
.sv-chans, .sv-pipe { display: grid; gap: 6px; width: 100%; }
.sv-chans { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.sv-chans span { padding: 7px 0; border: 1px solid var(--cb); border-radius: 6px; background: #fff; text-align: center; font-weight: 650; }
.sv-pipe { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.sv-pipe span { display: flex; flex-direction: column; align-items: center; padding: 8px 0; border-radius: 6px; background: var(--side); color: var(--muted); }
.sv-pipe b { font-size: 18px; color: var(--ink); }
.svc-art:has(.sv-site) { padding: 0; }
.sv-site { display: flex; flex-direction: column; }
.sv-bar { flex: none; display: flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-bottom: 1px solid var(--line); background: #f7f6f2; }
.sv-bar i { width: 8px; height: 8px; border-radius: 50%; background: #c9d1e6; }
.sv-site img { display: block; flex: 1; min-height: 0; width: 100%; object-fit: contain; object-position: top center; }
.sv-track { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 8px 0 16px !important; list-style: none; }
.sv-track li { position: relative; padding-top: 20px; text-align: center; font-weight: 650; color: var(--muted); }
.sv-track li::before { content: ""; position: absolute; top: 5px; left: 0; right: 0; height: 2px; background: #c9d1e6; }
.sv-track li::after { content: ""; position: absolute; top: 0; left: 50%; width: 12px; height: 12px; margin-left: -6px; border-radius: 50%; background: #c9d1e6; }
.sv-track .done::before, .sv-track .done::after { background: #28b955; }
.sv-track .now { color: var(--ink); }
.sv-track .now::after { background: #164cff; box-shadow: 0 0 0 4px #164cff33; }
.sv-line { grid-template-columns: minmax(0, 1fr) auto; }
.sv-log { grid-template-columns: auto minmax(0, 1fr) auto; }
@media (max-width: 899px) { #offer { --edge: 16px; } }
@media (max-width: 700px) {
  .home-reel-head { text-align: left; }
  .home-story img { aspect-ratio: 3 / 2; max-height: none; }
}
@media (prefers-reduced-motion: reduce) {
  .home-svc-track { scroll-behavior: auto; }
  .is-reel .home-demo-list [data-demo].enter { animation: none; }
}

/* Work with Me intro: centered heading, portrait on the left, one line and LinkedIn */
#about > h2 { text-align: center; }
.home-about-intro { display: flex; grid-template-columns: none; align-items: center; justify-content: center; gap: clamp(16px, 3vw, 28px); max-width: 760px; margin: 0 auto clamp(28px, 4vw, 44px); }
.home-portrait { flex: none; width: clamp(104px, 14vw, 148px); padding: 5px; background: #fdfcfa; border: 1px solid #a7b4d1; border-radius: 14px; }
.home-about-intro p { margin: 0 0 6px; color: var(--ink); }
.home-linkedin { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 16px; font-weight: 650; color: #28397d; text-underline-offset: 4px; }
.home-linkedin svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---- Fifth review: "or" between buttons, marquee services, step line, one-line titles ---- */
.home-actions { align-items: center; }
.home-or { font-size: 15px; font-weight: 650; color: #3e4a69; }
/* Size text from the parent grid so each card can share its rows through subgrid. */
.home-stories { container-type: inline-size; }
.home-story { --story-inner: calc((100cqw - var(--story-gap)) / var(--story-columns) - 2 * var(--story-padding) - 2px); }
.home-story h3 { font-size: min(34px, calc(var(--story-inner) * .06)); white-space: nowrap; }
@media (min-width: 701px) { .home-story-subtitle { white-space: nowrap; font-size: min(21px, calc(var(--story-inner) * .039)); } }

.home-svc-head { position: relative; justify-content: center; }
.home-svc-head:has(.home-svc-nav:not([hidden])) { justify-content: space-between; align-items: center; }
.home-svc-pause { position: absolute; right: 0; bottom: 4px; display: grid; place-items: center; width: 46px; height: 46px; padding: 0; border: 1px solid #adb9d3; border-radius: 50%; background: #fbfaffbf; color: #28397d; cursor: pointer; }
.home-svc-pause[hidden] { display: none; }
.home-svc-pause svg { fill: currentColor; }
.home-svc-pause .i-play, .home-svc-pause[aria-pressed="true"] .i-pause { display: none; }
.home-svc-pause[aria-pressed="true"] .i-play { display: inline; }
.home-svc-view { overflow-x: auto; scrollbar-width: none; margin-top: 26px; }
.home-svc-view:not(.is-marquee) { scroll-snap-type: x mandatory; scroll-padding-inline: var(--edge); }
.home-svc-view::-webkit-scrollbar { display: none; }
.home-svc-track { width: max-content; margin: 0; gap: 0; overflow: visible; scroll-snap-type: none; }
.svc { margin-right: clamp(14px, 2vw, 22px); }
.home-svc-view.is-marquee { overflow: hidden; }
.is-marquee .home-svc-track { padding-inline: 0; animation: home-svc-marquee 46s linear infinite; }
.is-marquee.paused .home-svc-track { animation-play-state: paused; }
@keyframes home-svc-marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

.home-after { display: block; position: relative; max-width: 760px; }
.home-after ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 22px); margin: 0; padding: 0; list-style: none; counter-reset: step; text-align: left; }
.home-after li { border-top: 0; padding-top: 16px; }
.home-after-rail { position: relative; height: 4px; margin-right: 34px; border-radius: 2px; background: #c3cbe0; }
.home-after-fill, .home-after-dot { position: absolute; inset: 0; border-radius: 2px; }
.home-after-fill { background: #28b955; transform-origin: left; }
.home-after-dot::after { content: ""; position: absolute; right: -7px; top: -5px; width: 14px; height: 14px; border-radius: 50%; background: #28b955; box-shadow: 0 0 0 5px #28b95533; }
.home-after-dot { opacity: 0; }
.home-after-check { position: absolute; right: -34px; top: -11px; display: grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #28b955; color: #fff; }
.home-after-check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.home-after.armed .home-after-fill { transform: scaleX(0); }
.home-after.armed .home-after-dot { transform: translateX(-100%); }
.home-after.armed .home-after-check { transform: scale(0); }
.home-after.armed.play .home-after-fill { animation: home-step-fill 3.2s ease-in-out forwards; }
.home-after.armed.play .home-after-dot { animation: home-step-dot 3.2s ease-in-out forwards; }
.home-after.armed.play .home-after-check { animation: home-step-check .5s cubic-bezier(.22,.8,.3,1.4) 3.1s forwards; }
@keyframes home-step-fill { to { transform: scaleX(1); } }
@keyframes home-step-dot { 0% { opacity: 1; transform: translateX(-100%); } 92% { opacity: 1; } 100% { opacity: 0; transform: translateX(0); } }
@keyframes home-step-check { to { transform: scale(1); } }
.is-reel .home-demo-list [data-demo].enter.fast { animation-duration: .2s; }
@media (max-width: 700px) {
  .home-actions { flex-direction: column; align-items: stretch; gap: 6px; }
  .home-or { text-align: center; }
  :is(.home-hero, .home-start) .home-actions {
    flex-flow: row nowrap; justify-content: center; align-items: center;
    gap: clamp(5px, 1.5vw, 10px);
  }
  :is(.home-hero, .home-start) .home-actions .home-button {
    width: auto; min-height: 44px; padding-inline: clamp(5px, 2.15vw, 18px);
    font-size: clamp(10.5px, 3.05vw, 14px); white-space: nowrap;
  }
  :is(.home-hero, .home-start) .home-or { font-size: clamp(11px, 3.05vw, 15px); }
  .home-svc-head { justify-content: flex-start; }
}

/* ---- Sixth review: tighter hero, one-line brand, stepped line with numbered circles ---- */
.home-brand span { white-space: nowrap; }
.home-hero { padding-top: clamp(34px, 5vw, 64px); }
.home-after { --gap: clamp(14px, 2vw, 22px); --step: 1.15s; padding-right: 30px; }
.home-after ol { gap: var(--gap); counter-reset: none; }
.home-after li { position: relative; padding-top: 34px; counter-increment: none; }
.home-after li::before, .home-after li::after { content: ""; display: block; position: absolute; top: 9px; left: 0; width: calc(100% + var(--gap)); height: 4px; margin: 0; border-radius: 2px; }
.home-after li:last-child::before, .home-after li:last-child::after { width: calc(100% + 14px); }
.home-after li::before { background: #c3cbe0; }
.home-after li::after { background: #28b955; transform-origin: left; }
.home-after .pt { position: absolute; z-index: 1; top: 0; left: 0; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #28b955; color: #fff; font-size: 12px; font-style: normal; font-weight: 700; }
.home-after-check { z-index: 1; right: 0; top: -2px; }
.home-after.armed li::after { transform: scaleX(0); }
.home-after.armed .pt { transform: scale(0); }
.home-after.armed.play .pt { animation: home-step-check .4s cubic-bezier(.22,.8,.3,1.4) calc(var(--i) * var(--step)) forwards; }
.home-after.armed.play li::after { animation: home-step-fill .7s ease-in-out calc(var(--i) * var(--step) + .4s) forwards; }
.home-after.armed.play .home-after-check { animation: home-step-check .5s cubic-bezier(.22,.8,.3,1.4) calc(3 * var(--step)) forwards; }

/* Reel in mid-width windows (641px to 899px): copy above the animation, both fit one screen */
@media (min-width: 641px) and (max-width: 899px) {
  .is-reel .home-reel-pin { gap: 14px; }
  .is-reel .home-reel-tabs { margin-top: 16px; }
  .is-reel .home-demo-list [data-demo] { gap: 14px; min-block-size: 0; align-content: start; }
  .is-reel .home-demo-list .stage { max-width: min(100%, calc((100svh - 330px) * 1.6)); justify-self: center; }
}

/* Steps: "Deliver" sits under the check and shows only when the check lands */
.home-after-done { position: absolute; right: 0; top: 34px; font-size: clamp(18px, 2vw, 22px); font-weight: 650; letter-spacing: -.02em; color: #0f6b34; }
.home-after.armed .home-after-done { opacity: 0; transform: translateY(6px); }
.home-after.armed.play .home-after-done { animation: home-step-done .45s ease-out calc(3 * var(--step) + .15s) forwards; }
@keyframes home-step-done { to { opacity: 1; transform: none; } }

/* Work with Me: Book a call on the far right of the intro, with more room before the first group */
.home-about-intro { max-width: 940px; margin-bottom: clamp(44px, 6vw, 72px); }
.home-about-cta { flex: none; margin-left: clamp(8px, 2vw, 24px); }
@media (max-width: 700px) {
  .home-about-intro {
    display: grid; grid-template-columns: auto minmax(0, 1fr);
    grid-template-rows: clamp(94px, 28vw, 132px) 44px auto;
    grid-template-areas: "portrait bio" "linkedin bio" "cta cta";
    gap: 0 clamp(12px, 4vw, 24px); align-items: start;
  }
  .home-about-intro > div { display: contents; }
  .home-about-intro .home-portrait { grid-area: portrait; width: clamp(94px, 28vw, 132px); }
  .home-about-intro .home-linkedin {
    grid-area: linkedin; place-self: end center; font-size: clamp(13px, 3.6vw, 16px);
  }
  .home-about-intro p {
    grid-area: bio; align-self: end; margin: 0 0 9px;
    font-size: clamp(18px, 5.1vw, 24px); line-height: 1.34;
  }
  .home-about-cta { grid-area: cta; margin: 10px 0 0; }
}

/* Services: the outreach agent touches each channel in turn; the website card ends in navy */
.is-marquee .sv-chans span { animation: sv-touch 6s ease-in-out calc(var(--c) * 1.5s) infinite; }
.is-marquee.paused .sv-chans span { animation-play-state: paused; }
@keyframes sv-touch { 0%, 22%, 100% { background: #fff; border-color: var(--cb); color: inherit; } 6%, 16% { background: #efe6ff; border-color: #a984ec; color: #6a2fc9; } }
@media (prefers-reduced-motion: reduce) { .sv-chans span { animation: none !important; } }
.sv-site { background: #0f1f3d; }
.sv-site { overflow: hidden; }

/* Reel card moves: forward, the card flies up and off to the top right while the next one waits under it;
   back, the earlier card flies in again from the top right. */
.is-reel .home-demo-list { display: grid; }
.is-reel .home-demo-list > [data-demo] { grid-area: 1 / 1; }
.is-reel .home-demo-list [data-demo].enter, .is-reel .home-demo-list [data-demo].enter.fast { animation: none; }
.is-reel .home-demo-list [data-demo].leave, .is-reel .home-demo-list [data-demo].enter-back { z-index: 2; pointer-events: none; }
.is-reel .home-demo-list [data-demo].leave-back { pointer-events: none; }
.is-reel [data-demo].leave .stage { animation: reel-fly-out .36s cubic-bezier(.5, 0, .75, .4) both; }
.is-reel [data-demo].leave .copy { animation: reel-fade-out .25s ease-out both; }
.is-reel [data-demo].enter .stage { animation: reel-rise .32s cubic-bezier(.22, .8, .3, 1) both; }
.is-reel [data-demo].enter .copy { animation: reel-fade-in .28s ease-out .1s both; }
.is-reel [data-demo].enter-back .stage { animation: reel-fly-in .36s cubic-bezier(.22, .8, .3, 1) both; }
.is-reel [data-demo].enter-back .copy { animation: reel-fade-in .28s ease-out .1s both; }
.is-reel [data-demo].leave-back .stage { animation: reel-sink .3s ease-out both; }
.is-reel [data-demo].leave-back .copy { animation: reel-fade-out .2s ease-out both; }
@keyframes reel-fly-out { to { transform: translate(85vw, -95vh) rotate(9deg); } }
@keyframes reel-fly-in { from { transform: translate(85vw, -95vh) rotate(9deg); } to { transform: none; } }
@keyframes reel-rise { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }
@keyframes reel-sink { to { opacity: 0; transform: scale(.94); } }
@keyframes reel-fade-out { to { opacity: 0; } }
@keyframes reel-fade-in { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 640px), (max-width: 960px) and (max-height: 540px) {
  .home-reel-head h2 { text-align: center; }
}
@media (min-width: 701px) and (max-width: 960px) and (max-height: 540px) {
  .home-hero h1 { text-wrap: wrap; }
  .home-hero-break { display: initial; }
}
@media (max-width: 350px) {
  .home-about-intro p { font-size: 17px; line-height: 1.25; }
}
/* Less empty space above "Work with Me" */
#about { padding-top: clamp(26px, 3.5vw, 44px); }
#about > h2 { margin-bottom: clamp(16px, 2.5vw, 26px); }

/* Less space around the Services and Get started headings */
#offer { padding-block: clamp(26px, 3.5vw, 44px); }
#start { padding-top: clamp(26px, 3.5vw, 44px); }

/* Steps, even layout: four points spaced evenly, each label centered under its point, the row centered under the heading */
.home-after { padding-right: 0; margin-inline: auto; }
.home-after ol { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0; text-align: center; }
.home-after li { padding-top: 36px; }
.home-after li::before, .home-after li::after, .home-after li:last-child::before, .home-after li:last-child::after { left: 50%; width: 100%; }
.home-after li.home-after-last::before, .home-after li.home-after-last::after { display: none; }
.home-after .pt { left: 50%; margin-left: -11px; }
.home-after .pt-check { top: -2px; width: 26px; height: 26px; margin-left: -13px; }
.home-after .pt-check svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.home-after-last span { color: #0f6b34; }
.home-after.armed .home-after-last span { display: inline-block; opacity: 0; transform: translateY(6px); }
.home-after.armed.play .home-after-last span { animation: home-step-done .45s ease-out calc(3 * var(--step) + .15s) forwards; }
@media (max-width: 520px) { .home-after li { font-size: 15px; } }

/* ---- Mobile finalization 2026-11-12 ---- */
/* Header: logo mark and all four links on one line */
@media (max-width: 700px) {
  .home-header { flex-wrap: nowrap; gap: clamp(6px, 2.4vw, 14px); padding-block: 12px; }
  .home-header .home-brand span { display: none; }
  .home-header .home-brand img { width: clamp(36px, 11vw, 43px); }
  .home-nav { flex: 1 1 auto; justify-content: flex-end; gap: clamp(8px, 3.4vw, 18px); min-width: 0; }
  .home-nav a { font-size: clamp(12.5px, 3.6vw, 14px); white-space: nowrap; }
  .home-nav .home-button { min-height: 44px; padding-inline: clamp(9px, 3vw, 14px); }
}

/* Systems in action on phones: the cards sit in a sideways row. Swipe, or tap a selector (home.js).
   The section has no band of its own; it sits on the page background. */
.is-swipe .home-reel-head { width: 100%; padding-inline: 12px; }
.is-swipe .home-reel-head h2 { font-size: clamp(27px, 8vw, 34px); }
.is-swipe .home-reel-tabs { flex-wrap: nowrap; justify-content: center; gap: 4px; margin-top: 14px; }
.is-swipe .home-reel-tabs button {
  padding-inline: clamp(4px, 1.6vw, 11px); font-size: clamp(10px, 2.9vw, 13px); white-space: nowrap;
}
.is-swipe .home-demo-list {
  display: flex; margin-top: 16px; overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none;
}
.is-swipe .home-demo-list::-webkit-scrollbar { display: none; }
.is-swipe .home-demo-list > [data-demo] {
  flex: 0 0 100%; display: grid; grid-template-rows: auto auto; align-content: start; justify-items: center;
  gap: 12px; min-block-size: 0; padding: 0 16px; border-top: 0;
  scroll-snap-align: center; scroll-snap-stop: always;
}
.is-swipe .home-demo-list .copy h3 { margin-bottom: 4px; font-size: clamp(22px, 6.4vw, 27px); }
.is-swipe .home-demo-list .copy p { margin: 0; font-size: clamp(14px, 4vw, 16px); line-height: 1.35; }
.is-swipe .home-demo-list .stage {
  width: calc(var(--vw, 343) * var(--fit, 1) * 1px); height: calc(var(--vh, 640) * var(--fit, 1) * 1px);
  max-width: none; margin: 0;
}
.is-swipe .home-demo-list .scene {
  width: calc(var(--vw, 343) * 1px); height: calc(var(--vh, 640) * 1px);
  transform: scale(var(--fit, 1)); transform-origin: 0 0;
}
@media (max-width: 350px) {
  .is-swipe .home-reel-head { padding-inline: 8px; }
  .is-swipe .home-reel-tabs { gap: 3px; }
  .is-swipe .home-reel-tabs button { padding-inline: 4px; }
}

/* Work with Me on phones: the two large cards stack; the two Auburn cards sit side by side at half width */
@media (max-width: 700px) {
  .home-stories + .home-group + .home-stories { --story-columns: 2; --story-gap: 10px; --story-padding: 10px; }
  .home-stories + .home-group + .home-stories .home-story h3 { white-space: normal; font-size: clamp(15px, 4.6vw, 19px); line-height: 1.15; }
  .home-stories + .home-group + .home-stories .home-story-subtitle { font-size: clamp(12.5px, 3.6vw, 15px); line-height: 1.3; }
  .home-stories + .home-group + .home-stories .home-story ul { margin: 8px 0 12px; padding-inline-start: 1.05em; font-size: clamp(12.5px, 3.5vw, 14.5px); line-height: 1.4; }
  .home-stories + .home-group + .home-stories .home-story li + li { margin-top: 6px; }
}
@media (max-width: 350px) {
  .home-header { gap: 10px; }
  .home-header .home-brand img { width: 34px; }
  .home-nav { gap: 9px; }
  .home-nav a { font-size: 12px; }
  .home-nav .home-button { padding-inline: 8px; }
}

/* ---- Phone pass 2026-11-13 ---- */
/* Work with Me: both group headings centered, each on one line */
@media (max-width: 700px) {
  .home-group { text-align: center; white-space: nowrap; font-size: clamp(13px, 4.15vw, 20px); }
}

/* Services on touch screens: the row drifts by itself and follows a finger (home.js) */
.home-svc-view.is-drift { overflow: hidden; touch-action: pan-y; }
.is-drift .home-svc-track { padding-inline: 0; will-change: transform; }
.is-drift .sv-chans span { animation: sv-touch 6s ease-in-out calc(var(--c) * 1.5s) infinite !important; }
.is-drift.paused .sv-chans span { animation-play-state: paused !important; }
@media (max-width: 700px) {
  .home-svc-head { justify-content: center; }
}

/* Page end on phones: the gradient runs through the footer into spare room below it, and ends in the
   same colour the browser paints under the page and behind the iPhone address bar. */
@media (max-width: 700px) {
  html { background-color: #e9ecf9; }
  .home {
    background:
      linear-gradient(0deg, #e9ecf9 0, #e9ecf900 260px),
      radial-gradient(ellipse at 10% 0%, #b6cafaad, transparent 38rem),
      radial-gradient(ellipse at 95% 5%, #f9c79aad, transparent 33rem),
      linear-gradient(180deg, #eef0fb 0%, #f8f5f3 27%, #e9edf9 64%, #f8ebdf 100%);
  }
  .home-footer { padding-bottom: calc(72px + env(safe-area-inset-bottom, 0px)); }
}
