/* Closing design pass: chapter pacing, visible service dwell, people, and contact. */
@media (min-width:1101px){
  .hero-copy h1{font-size:clamp(112px,9.7vw,148px);line-height:1.045;letter-spacing:-.076em}
  .hero-layout{grid-template-columns:minmax(0,1.06fr) minmax(0,.94fr)}
}
@media (min-width:851px) and (max-width:1100px){.hero-copy h1{font-size:clamp(88px,9.2vw,112px)}}

/* Major chapter boundaries reveal once as a quiet center-out line. */
.flow-intro::before,.self-test::before,.integrated-services .ad-stage::before,.integrated-services .r4-team::before,.integrated-services .r4-contact::after{
  content:'';position:absolute;left:50%;top:0;width:min(1360px,calc(100% - 96px));height:1px;
  transform:translateX(-50%) scaleX(0);transform-origin:center;pointer-events:none;z-index:3;
  background:linear-gradient(90deg,transparent,#81b9ee94 22%,#9dd2ff 50%,#81b9ee94 78%,transparent);
  box-shadow:0 0 12px 1px #83bded58;
}
.flow-intro::before{top:-42px;background:linear-gradient(90deg,transparent,#9dc8f16b 22%,#f6fbffda 50%,#9dc8f16b 78%,transparent)}
.integrated-services .ad-stage::before{top:58px;background:linear-gradient(90deg,transparent,#a9cdff48 24%,#d9e9ffb8 50%,#a9cdff48 76%,transparent)}
.integrated-services .r4-team::before{background:linear-gradient(90deg,transparent,#a1b9d760 24%,#6ca5dcaa 50%,#a1b9d760 76%,transparent)}
.integrated-services .r4-contact::after{background:linear-gradient(90deg,transparent,#8dbaf854 24%,#c8e2ffbf 50%,#8dbaf854 76%,transparent)}
.flow-intro.r4-chapter-visible::before,.self-test.r4-chapter-visible::before,.integrated-services .ad-stage.r4-chapter-visible::before,.integrated-services .r4-team.r4-chapter-visible::before,.integrated-services .r4-contact.r4-chapter-visible::after{animation:r4-divider-open 1.15s cubic-bezier(.2,.7,.2,1) both}
@keyframes r4-divider-open{to{transform:translateX(-50%) scaleX(1)}}

@media (min-width:801px){
  .flow-row,.flow-row:last-child{min-height:590px;padding-block:102px 88px}
  .flow-row:last-child{padding-bottom:116px}
}
@media (min-width:621px) and (max-width:800px){.flow-row,.flow-row:last-child{min-height:520px;padding-block:76px 66px}}
#companion-one,#companion-two{opacity:.46;stroke-width:.95}
.flow-intro>p:last-child{font-size:18px;line-height:1.8}
.flow-copy .subtitle{font-size:20px;line-height:1.72}
.flow-copy .detail{font-size:18px;line-height:1.85}
.flow-copy .detail .caption{font-size:15px;line-height:1.5}
.flow-copy .detail .flow-note{font-size:17px;line-height:1.75}

/* Keep the opened cards in view long enough to read before the chapter releases. */
@media (min-width:801px){
  .integrated-services .ad-track{padding-bottom:0}
  .integrated-services .ad-sticky{top:clamp(72px,9vh,116px)}
  .integrated-services .ad-dwell{height:clamp(760px,100vh,1180px)}
}

/* The name reveal runs in sequence and leaves no center mark behind. */
.integrated-services .r4-member.is-revealed .r4-member-name::before,.integrated-services .r4-member.is-revealed .r4-member-name::after{animation-duration:1.05s}
.integrated-services .r4-member.reveal-complete .r4-member-name::before,.integrated-services .r4-member.reveal-complete .r4-member-name::after{content:none!important;animation:none!important;border:0!important}
.integrated-services .r4-member{min-height:150px}
.integrated-services .r4-member-role{font-size:19px;line-height:1.35;letter-spacing:.045em}
.integrated-services .r4-member:hover .r4-member-role,.integrated-services .r4-member:focus-visible .r4-member-role,.integrated-services .r4-roster li.is-open .r4-member-role{max-height:50px}
.integrated-services .r4-roster li:last-child{border-bottom:1px solid #cbd8e9}

/* Two visible contact paths, with honest functionality in the left panel only. */
.integrated-services .r4-contact{padding-top:132px;padding-bottom:122px}
.integrated-services .r4-contact-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:56px}
.integrated-services .r4-contact-copy h2{max-width:100%;font-size:clamp(58px,6.3vw,88px)}
.r4-contact-panels{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:22px;align-items:stretch}
.integrated-services .r4-contact-workspace{max-width:none;min-height:680px;width:100%;padding:30px;border:1px solid #83b7f766;border-radius:16px;background:linear-gradient(145deg,#d9eaff1d 0%,#7caeff0d 42%,#081731cf 100%);backdrop-filter:blur(25px);-webkit-backdrop-filter:blur(25px);box-shadow:inset 0 1px #ffffff35,inset 0 0 54px #4d8de315,0 25px 65px #01081280}
.integrated-services .r4-contact-workspace::before{background:radial-gradient(circle at var(--pointer-x,70%) var(--pointer-y,20%),transparent 0 54px,#a9d0ff24 55px,transparent 58px),radial-gradient(330px circle at var(--pointer-x,70%) var(--pointer-y,20%),#a9d0ff24,transparent 74%),linear-gradient(150deg,#ffffff0e,transparent 32%,#6aa2ff10)}
.r4-contact-panel-head{position:relative;z-index:2;min-height:126px;border-bottom:1px solid #a1c5ee38;padding-bottom:21px}
.r4-contact-panel-head>span{display:block;color:#9cbded;font:500 12px/1.4 Montserrat,sans-serif;letter-spacing:.14em}
.r4-contact-panel-head h3{margin:10px 0 4px;color:#f2f7ff;font-size:clamp(28px,2.4vw,38px);font-weight:350;letter-spacing:-.04em}
.r4-contact-panel-head p{margin:0;color:#b9cde9;font-size:15px;line-height:1.65}
.r4-contact-form{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px;padding-top:25px}
.r4-contact-form label{position:relative;font-size:15px;color:#deebfb}
.r4-contact-form .r4-optional{position:absolute;right:0;top:0;color:#92afd0;font-size:13px}
.r4-contact-form label:nth-child(3),.r4-contact-form label:nth-child(4){grid-column:1/-1}
.r4-contact-form input,.r4-contact-form textarea,.r4-copy-fallback{min-height:54px;border:1px solid #85a9d15c;border-radius:9px;background:#07152abd;color:#f3f8ff;font-size:16px;box-shadow:inset 0 1px #ffffff0d}
.r4-contact-form textarea{min-height:116px}
.r4-contact-form input:focus,.r4-contact-form textarea:focus{background:#0c2340;border-color:#a6d0ff;box-shadow:0 0 0 3px #72abf52d,inset 0 1px #ffffff19}
.r4-contact-action{grid-column:1/-1;display:flex;align-items:center;justify-content:center;min-height:56px;padding:0 24px;border:0;border-radius:13px;background:linear-gradient(110deg,#eff7ff 0%,#b5d4ff 44%,#6ea5f3 100%);color:#0e315f;font-size:21px;font-weight:600;box-shadow:inset 0 1px #fff,0 10px 28px #0b337750;cursor:pointer;transition:background .25s,transform .25s,box-shadow .25s}
.r4-contact-action:hover{background:linear-gradient(110deg,#fff 0%,#c6ddff 42%,#82b3fa 100%);transform:translateY(-2px);box-shadow:inset 0 1px #fff,0 14px 30px #0b337770}
.r4-contact-status{grid-column:1/-1;font-size:13px;color:#a9c2df}
.r4-contact-status[hidden],.r4-ai-copy-status[hidden],.r4-copy-fallback[hidden]{display:none!important}
.r4-contact-ai{display:flex;flex-direction:column;position:relative;overflow:hidden}
.integrated-services .r4-contact-workspace.r4-contact-ai::after{content:'';position:absolute;inset:0;left:0;top:0;bottom:0;width:auto;transform:none;pointer-events:none;background:radial-gradient(circle,#dcefff90 .7px,transparent 1.5px) 11px 33px/77px 79px,radial-gradient(circle,#84b7ff85 .8px,transparent 1.7px) 41px 56px/119px 121px;mask-image:linear-gradient(180deg,transparent 15%,#000 45%,#000 85%,transparent);opacity:.36}
.integrated-services .r4-contact-workspace.r4-contact-ai.r4-revealed::after{animation:none}
.r4-ai-art{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 34px 76px 34px minmax(0,1fr);align-items:center;gap:10px;flex:none;width:min(100%,470px);height:148px;min-height:148px;margin:14px auto 4px;padding:8px 2px}
.r4-ai-art-record{display:flex;flex-direction:column;align-items:center;gap:12px;min-width:0;color:#b9d2f3}
.r4-ai-art-record small{max-width:118px;font-size:12px;line-height:1.4;text-align:center;letter-spacing:.03em}
.r4-ai-art-lines{display:grid;gap:7px;width:70px;padding:13px 11px;border:1px solid #8cb6ee70;border-radius:7px;background:#8cb6ee14;box-shadow:inset 0 1px #d1e5ff22}
.r4-ai-art-lines i{display:block;height:2px;border-radius:2px;background:#b7d6ffb2}
.r4-ai-art-lines i:nth-child(2){width:72%;opacity:.65}
.r4-ai-art-lines i:nth-child(3){width:85%;opacity:.45}
.r4-ai-art-result .r4-ai-art-lines{border-color:#a8cdf7a1;background:#8dbdff21}
.r4-ai-art-result .r4-ai-art-lines i:nth-child(2){width:85%}
.r4-ai-art-bridge{position:relative;height:1px;background:linear-gradient(90deg,#83aff05c,#b8d9ffcc,#83aff05c)}
.r4-ai-art-bridge::after{content:'';position:absolute;top:-2px;left:0;width:5px;height:5px;border-radius:50%;background:#d9ecff;box-shadow:0 0 11px 3px #79b1ff8a;animation:r4-art-signal 3.6s ease-in-out infinite}
.r4-ai-art-bridge:nth-of-type(2)::after{animation-delay:-1.8s}
.r4-ai-art-core{position:relative;width:76px;height:68px;border:1px solid #a9ceffb3;border-radius:9px;background:linear-gradient(145deg,#9fc5fa3d,#4d83d922);box-shadow:inset 0 1px #eff7ff7d,0 0 21px #639fff46}
.r4-ai-art-core::before{content:'';position:absolute;inset:12px;border:1px solid #d1e6ff9c;border-radius:5px;background:#9bc8ff16}
.r4-ai-art-core span{position:absolute;z-index:1;left:50%;top:50%;width:9px;height:9px;border-radius:50%;transform:translate(-50%,-50%);background:#e2f1ff;box-shadow:0 0 13px 4px #87beff9e;animation:r4-art-pulse 4s ease-in-out infinite}
.r4-ai-art-core i{position:absolute;left:50%;bottom:-15px;width:1px;height:14px;background:linear-gradient(#9bc7ff9c,transparent)}
.r4-ai-prompt-wrap{position:relative;z-index:2;margin-top:13px}
.r4-ai-prompt-intro{margin:0 0 13px;color:#c2d6f0;font-size:15px;line-height:1.6}
.r4-ai-prompt{margin:0;padding:22px 23px;border-left:2px solid #8bbcfb;background:linear-gradient(120deg,#06142dc9,#132c55b0);color:#e5efff;font-size:16px;line-height:1.85;box-shadow:inset 0 1px #bfdfff20}
.r4-ai-copy{display:flex;align-items:center;justify-content:center;min-width:180px;min-height:52px;margin-top:16px;padding:0 23px;border:0;border-radius:10px;background:linear-gradient(118deg,#4789e8 0%,#356fdb 48%,#253fb1 100%);color:#fff;font-size:21px;font-weight:600;box-shadow:inset 0 1px #d9ebff80,0 10px 24px #143b9d85;cursor:pointer;transition:transform .25s,background .25s,box-shadow .25s}
.r4-ai-copy:hover{transform:translateY(-2px);background:linear-gradient(118deg,#5a9af5 0%,#4380e9 48%,#3151c4 100%);box-shadow:inset 0 1px #e9f4ffad,0 14px 28px #143b9d99}
.r4-ai-copy-status{margin:11px 0 0;color:#bcd7f8;font-size:13px}
@keyframes r4-art-signal{0%,18%{left:0;opacity:0}30%{opacity:1}75%{left:calc(100% - 5px);opacity:1}90%,100%{left:calc(100% - 5px);opacity:0}}
@keyframes r4-art-pulse{50%{box-shadow:0 0 18px 6px #a8d2ffbe;opacity:.8}}

@media (max-width:900px){.r4-contact-panels{grid-template-columns:1fr}.integrated-services .r4-contact-workspace{min-height:0}.integrated-services .r4-contact-copy h2{white-space:normal}.integrated-services .r4-member{min-height:130px}}
@media (max-width:800px){.integrated-services .ad-track{padding-bottom:0}.integrated-services .ad-sticky{position:relative;top:auto}.integrated-services .ad-dwell{display:none}}
@media (min-width:801px) and (max-height:850px){.integrated-services .ad-sticky{position:relative;top:auto}.integrated-services .ad-dwell{display:none}.integrated-services .ad-stage .sf-card{transform:none!important}}
@media (max-width:620px){
  .flow-intro::before,.self-test::before,.integrated-services .ad-stage::before,.integrated-services .r4-team::before,.integrated-services .r4-contact::after{width:calc(100% - 40px)}
  .flow-copy .subtitle{font-size:18px}.flow-copy .detail{font-size:16px}.flow-copy .detail .caption{font-size:14px}.flow-copy .detail .flow-note{font-size:16px}
  .integrated-services .r4-contact{padding:88px 0 76px}
  .integrated-services .r4-contact-layout{gap:34px}
  .integrated-services .r4-contact-copy h2{font-size:clamp(39px,10.2vw,52px)}
  .r4-contact-panels{gap:16px}
  .integrated-services .r4-contact-workspace{padding:21px 18px 24px;border-radius:13px}
  .r4-contact-panel-head{min-height:0}
  .r4-contact-form{grid-template-columns:1fr}
  .r4-contact-form label:nth-child(3),.r4-contact-form label:nth-child(4){grid-column:auto}
  .r4-ai-art{grid-template-columns:minmax(0,1fr) 20px 64px 20px minmax(0,1fr);gap:5px;height:132px;min-height:132px}
  .r4-ai-art-core{width:64px;height:58px}
  .r4-ai-art-record small{font-size:11px}
  .r4-ai-prompt{padding:18px;font-size:15px}
  .r4-contact-action,.r4-ai-copy{font-size:19px}
  .integrated-services .r4-member-role{font-size:16px}
  .integrated-services .r4-member{min-height:112px}
}
@media (prefers-reduced-motion:reduce){
  .integrated-services .ad-dwell{display:none}
  .flow-intro::before,.self-test::before,.integrated-services .ad-stage::before,.integrated-services .r4-team::before,.integrated-services .r4-contact::after{transform:translateX(-50%) scaleX(1);animation:none!important}
  .r4-ai-art-bridge::after,.r4-ai-art-core span{animation:none!important}
}

/* The homepage shares the service-page navigation without a framing bar. */
.review{display:none!important}
html{scroll-padding-top:24px}
.brandbar{display:grid;grid-template-columns:minmax(180px,1fr) auto minmax(110px,1fr);align-items:center;gap:24px}
.home-nav{grid-column:2;grid-row:1;display:flex;align-items:center;justify-content:center;gap:clamp(18px,2.25vw,34px);white-space:nowrap}
.home-nav a{position:relative;padding:8px 0;color:#dbe8fa;font-size:clamp(15px,1.1vw,17px);font-weight:450;text-decoration:none;transition:color .2s}
.home-nav a:hover,.home-nav a[aria-current="page"]{color:#fff}
.home-nav a[aria-current="page"]::after{content:'';position:absolute;right:0;bottom:0;left:0;height:1px;background:linear-gradient(90deg,transparent,#cce6ff,transparent)}
.home-nav-cta{grid-column:3;grid-row:1;justify-self:end;display:inline-flex;align-items:center;justify-content:center;min-height:43px;padding:0 19px;border:0;border-radius:999px;background:linear-gradient(115deg,#e3f0ff,#a9ccff 58%,#78a8f5);color:#173c70;font-size:14px;font-weight:600;white-space:nowrap;box-shadow:0 8px 22px #092e7040,inset 0 1px #fff9;transition:transform .2s,filter .2s}
.home-nav-cta:hover{transform:translateY(-2px);filter:brightness(1.08)}
@media(max-width:1100px){.brandbar{grid-template-columns:minmax(0,1fr) auto;grid-template-rows:auto auto;height:auto;min-height:112px;padding:12px 0;gap:8px 18px}.brandbar .brand{grid-column:1;grid-row:1}.home-nav-cta{grid-column:2;grid-row:1}.home-nav{grid-column:1/-1;grid-row:2;justify-content:center;gap:clamp(15px,3vw,28px);width:100%;overflow-x:auto;scrollbar-width:none;padding:3px 0 5px}.home-nav::-webkit-scrollbar{display:none}}
@media(max-width:700px){.brandbar{min-height:102px}.home-nav{justify-content:flex-start;gap:22px}.home-nav a{flex:none;font-size:14px}.home-nav-cta{min-height:38px;padding:0 13px;font-size:12px}}

/* Contact actions share a bottom line while the full AI prompt stays readable and copyable. */
.integrated-services .r4-contact-workspace::before{background:radial-gradient(330px circle at var(--pointer-x,70%) var(--pointer-y,20%),#a9d0ff24,transparent 74%),linear-gradient(150deg,#ffffff0e,transparent 32%,#6aa2ff10)}
.integrated-services .r4-contact-workspace.r4-contact-self{display:flex;flex-direction:column}
.r4-contact-form{display:flex;flex:1;flex-direction:column;min-height:0;gap:0}
.r4-contact-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 14px}
.r4-contact-fields label:nth-child(3),.r4-contact-fields label:nth-child(4){grid-column:1/-1}
.r4-contact-actions,.r4-ai-actions{display:flex;flex-direction:column;align-items:flex-start;min-height:108px;margin-top:auto;padding-top:15px;gap:9px}
.r4-contact-actions{width:100%}
.r4-contact-actions .r4-contact-action{width:100%;height:56px;min-height:56px;flex:none;font-size:20px;font-weight:600}
.r4-contact-actions .r4-contact-status,.r4-ai-actions .r4-ai-copy-status{margin:0;line-height:1.45}
.r4-ai-prompt-wrap{display:flex;flex:1;flex-direction:column;min-height:0}
.r4-ai-prompt{max-height:158px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#91bcf080 transparent}
.r4-ai-prompt:focus-visible{outline:2px solid #a5ccff;outline-offset:3px}
.r4-ai-actions{width:100%}
.r4-ai-actions .r4-ai-copy{width:128px;min-width:128px;height:56px;min-height:56px;flex:none;margin:0;padding:0 18px;font-size:16px;font-weight:550;border-radius:11px}
@media(max-width:900px){.r4-contact-form{flex:none}.r4-contact-actions,.r4-ai-actions{margin-top:16px}.r4-ai-prompt{max-height:210px}}
@media(max-width:620px){.r4-contact-fields{grid-template-columns:1fr;gap:14px}.r4-contact-fields label:nth-child(3),.r4-contact-fields label:nth-child(4){grid-column:auto}.r4-contact-actions .r4-contact-action{font-size:18px}.r4-ai-actions .r4-ai-copy{width:122px;min-width:122px;font-size:16px}.r4-ai-prompt{max-height:195px}}
