.scroll-reveal { opacity: 1; transform: none; }
.motion-ready .scroll-reveal { opacity: 0; transform: translateY(24px); transition: opacity 650ms ease, transform 800ms cubic-bezier(.22,1,.36,1); }
.motion-ready .scroll-reveal.active { opacity: 1; transform: none; }
.hero-content { animation: hero-rise 900ms cubic-bezier(.22,1,.36,1) both; }
.home-blog { padding: 152px 40px 160px; }
.home-blog > div { max-width: 1280px; }
#blog-grid { gap: 40px; }
#blog-grid > a { border-radius: 24px; transition: transform 300ms ease, box-shadow 300ms ease; }
#blog-grid > a > div:first-child { aspect-ratio: 16 / 10; }
#blog-grid > a > div:last-child { padding: 22px 26px; }
#blog-grid > a:hover { transform: translateY(-6px); box-shadow: 0 20px 40px #191f2814; }
#blog-grid > a:focus-visible, .service-link:focus-visible, .service-index a:focus-visible { outline: 3px solid #3182f6; outline-offset: 6px; }
.home-services { background: #fff; padding: 112px 0 48px; }
.services-intro { max-width: 1240px; margin: 0 auto 44px; padding: 0 32px; }
.services-intro > p { margin-bottom: 24px; font-size: 18px; font-weight: 600; color: #73777d; }
.services-intro h2 { font-size: clamp(36px,4.4vw,64px); font-weight: 700; line-height: 1.28; letter-spacing: -.045em; color: #202124; word-break: keep-all; overflow-wrap: break-word; text-wrap: balance; }
.service-copy h3 { text-wrap: balance; }
.service-index { display: flex; align-items: center; width: fit-content; max-width: 100%; gap: 3px; margin-top: 44px; padding: 6px; border: 1px solid rgba(255,255,255,.7); border-radius: 40px; background: rgba(232,233,236,.86); box-shadow: 0 8px 32px rgba(25,31,40,.08); overflow-x: auto; scrollbar-width: none; transform-origin: center; transition: opacity 260ms ease, transform 520ms cubic-bezier(.22,1,.36,1); }
.service-index.is-docked { opacity: 0; transform: translateY(34px) scaleX(.58); pointer-events: none; }
.service-index::-webkit-scrollbar { display: none; }
.service-index a { flex: 0 0 auto; color: #74787f; font-size: 14px; font-weight: 600; white-space: nowrap; padding: 12px 19px; border-radius: 28px; transition: color 320ms ease, background 320ms ease, box-shadow 320ms ease; }
.service-index a:hover { color: #202124; }
.service-index a[aria-current="location"] { color: #202124; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,.04); }
.service-story { max-width: 1440px; margin: auto; padding: 0 48px; scroll-margin-top: 110px; }
.service-story-inner { max-width: 1240px; margin: auto; min-height: 610px; padding: 48px 0; display: grid; grid-template-columns: .85fr 1.3fr; align-items: center; gap: 56px; }
.service-eyebrow { color: #626870; font-size: 16px; font-weight: 600; margin-bottom: 20px; }
.service-copy h3 { color: #202124; font-size: clamp(30px,3.2vw,46px); font-weight: 700; line-height: 1.32; letter-spacing: -.045em; word-break: keep-all; }
.service-description { color: #757b83; font-size: 17px; line-height: 1.8; margin: 24px 0 28px; }
.service-copy .service-link { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; color: #24272b; font-weight: 600; padding: 10px 0; }
.service-link svg { width: 15px; height: 15px; transition: transform 200ms ease; }
.service-link:hover svg { transform: translate(3px,-3px); }
.service-visual { display: flex; align-items: center; justify-content: center; position: relative; min-width: 0; height: 540px; border-radius: 8px; background: transparent; padding: 38px 24px; overflow: hidden; }
.service-preview { width: 100%; overflow: hidden; background: white; border-radius: 8px; border: 1px solid #dfe1e4; box-shadow: 0 18px 36px #161a2012; }
.preview-chrome { height: 24px; display: flex; align-items: center; gap: 4px; padding: 0 10px; background: #fafafa; border-bottom: 1px solid #eee; }
.preview-chrome span { display: block; width: 5px; height: 5px; border-radius: 50%; background: #d0d3d7; }
.service-preview > img { display: block; width: 100%; height: auto; }
[data-tone="webpin"] .service-preview > img { aspect-ratio: 16 / 9; object-fit: cover; object-position: top; }
[data-tone="membership"] .service-preview { width: 205px; flex-shrink: 0; border: 5px solid #24262a; border-radius: 28px; }

.headline-line, .headline-line > span { display: block; }
@media (min-width: 960px) {
  .service-story:nth-of-type(even) .service-story-inner { grid-template-columns: 1.3fr .85fr; }
  .service-story:nth-of-type(even) .service-copy { grid-column: 2; grid-row: 1; }
  .service-story:nth-of-type(even) .service-visual { grid-column: 1; grid-row: 1; }
}
.motion-ready .service-reveal { opacity: 0; transform: translateY(24px); transition: opacity 850ms ease, transform 1000ms cubic-bezier(.22,1,.36,1); }
.motion-ready .service-reveal.active { opacity: 1; transform: none; }
.service-visual.service-reveal { transition-delay: 100ms; }
.service-dock[hidden] { display: none; }
.service-dock.is-leaving { animation: dock-exit 420ms cubic-bezier(.4,0,.6,1) both; pointer-events: none; }
.service-dock {
  --dock-from-y: -140px;
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: max(22px, env(safe-area-inset-bottom));
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 3px;
  max-width: calc(100% - 24px);
  padding: 6px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 40px;
  background: rgba(232,233,236,.86);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 32px rgba(25,31,40,.08);
  transform-origin: center;
  animation: dock-enter 820ms cubic-bezier(.22,1,.36,1);
}
.service-dock a {
  padding: 12px 19px;
  border-radius: 28px;
  color: #74787f;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  transition: color 320ms ease, background 320ms ease, box-shadow 320ms ease;
  animation: dock-item-enter 520ms cubic-bezier(.22,1,.36,1) both;
}
.service-dock a:nth-child(2) { animation-delay: 45ms; }
.service-dock a:nth-child(3) { animation-delay: 90ms; }
.service-dock a:nth-child(4) { animation-delay: 135ms; }
.service-dock a:nth-child(5) { animation-delay: 180ms; }
.service-dock a[aria-current="location"] {
  color: #202124;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0,0,0,.04);
}
.service-dock a::after { content: none; }
.service-dock a:focus-visible { outline: 3px solid #3182f6; outline-offset: 3px; }
@keyframes dock-enter {
  from { opacity: 0; transform: translate(-50%,var(--dock-from-y)) scaleX(.34); }
  to { opacity: 1; transform: translate(-50%,0) scaleX(1); }
}
@keyframes dock-exit {
  from { opacity: 1; transform: translate(-50%,0) scaleX(1); }
  to { opacity: 0; transform: translate(-50%,-34px) scaleX(.46); }
}
@keyframes dock-item-enter {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: none; }
}
@keyframes hero-rise { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
@media (max-width: 959px) {
  .home-blog { padding: 96px 24px; }
  .home-services { padding: 76px 0 28px; }
  .services-intro { padding: 0 24px; margin-bottom: 36px; }
  .service-index { width: 100%; padding: 5px; }
  .service-index a { padding: 12px 14px; font-size: 12px; }
  .service-story { padding: 0 24px; }
  .service-story-inner { grid-template-columns: 1fr; gap: 28px; padding: 42px 0 54px; min-height: 0; }
  .services-intro h2 { font-size: 31px; line-height: 1.38; }
  .services-intro h2 br { display: none; }
  .service-copy h3 { font-size: 30px; line-height: 1.4; }
  .headline-line { display: inline; }
  .headline-line + .headline-line::before { content: " "; }
  .service-description { font-size: 16px; }
  .service-visual { height: auto; min-height: 280px; padding: 32px 18px; }
  .service-visual.service-reveal { transition-delay: 0ms; }
  [data-tone="membership"] .service-visual { height: 480px; }
  [data-tone="membership"] .service-preview { width: 190px; }
  .service-dock { gap: 0; padding: 5px; }
  .service-dock a { padding: 12px 10px; font-size: 11px; }
  #blog-grid { gap: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .motion-ready .scroll-reveal, .motion-ready .service-reveal { opacity: 1; transform: none; }
}
