/* R9: rendered objects below the approved GG opening. Same studio light, same materials. */
.r9-home{--r9-ink:#101817;--r9-cream:#f8f7f3;--r9-coral:#ff6549;--r9-muted:#62706a;--r9-muted-dark:#bec9c0;--r9-ease:cubic-bezier(.22,1,.36,1);--r9-land:linear(0, 0.022, 0.079, 0.16, 0.253, 0.353, 0.452, 0.547, 0.636, 0.715, 0.785, 0.844, 0.894, 0.935, 0.967, 0.992, 1.01, 1.023, 1.032, 1.036, 1.038, 1.038, 1.036, 1.034, 1.03, 1.026, 1.022, 1.019, 1.015, 1.012, 1.009, 1.007, 1.005, 1.003, 1.002, 1.001, 1)}

/* Shared intro: eyebrow across, headline left, short paragraph right. */
.r9-home .r9-intro{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,.75fr);gap:26px 90px;align-items:end}
.r9-home .r9-intro .eyebrow{grid-column:1/-1;margin:0;color:#c0cbc3}
.r9-home .r9-intro h2{margin:0;max-width:760px;font-size:clamp(42px,4.4vw,66px);font-weight:450;letter-spacing:-.045em;line-height:1.04}
.r9-home .r9-intro>p:last-child{margin:0 0 4px;max-width:390px;font-size:16px;line-height:1.8;color:var(--r9-muted-dark)}

.r9-home .r9-label{display:flex;align-items:center;gap:12px;margin:0 0 22px;font-size:13px;line-height:1.5;color:var(--r9-muted)}
.r9-home .r9-label::before{content:'';width:9px;height:9px;flex-shrink:0;background:var(--r9-coral)}
.r9-home :is(.r9-scene-copy,.r9-object-copy) h3{margin:0 0 24px;font-weight:450;letter-spacing:-.06em;line-height:.98}
.r9-home :is(.r9-scene-copy,.r9-object-copy) h3+p{margin:0;max-width:400px;font-size:16px;line-height:1.8;color:var(--r9-muted)}
.r9-home .r9-deliverables{display:flex;flex-wrap:wrap;gap:8px 24px;margin:24px 0 30px;padding:0;list-style:none;font-size:13px;line-height:1.6}
.r9-home .r9-link{display:inline-flex;align-items:center;gap:26px;min-height:48px;padding:6px 0 7px;border-bottom:1px solid currentColor;font-size:15px;line-height:1.4}
.r9-home .r9-link>span{display:inline-block;font-size:21px;transition:transform 260ms var(--r9-ease)}
.r9-home .r9-link:hover>span{transform:translate(3px,-3px)}
.r9-home .r9-link:focus-visible{outline:2px solid currentColor;outline-offset:6px}

/* Websites: a full-bleed continuation of the opening studio. */
.r9-home .r9-services{background:var(--r9-ink);color:var(--r9-cream);padding-top:128px}
.r9-home .r9-scene{position:relative;isolation:isolate;display:flex;flex-direction:column;justify-content:center;min-height:clamp(640px,56.25vw,1010px);margin-top:20px;overflow:clip}
.r9-home .r9-scene-art{position:absolute;inset:-44px 0;z-index:-2}
.r9-home .r9-scene-art :is(picture,img){display:block;width:100%;height:100%}
.r9-home .r9-scene-art img{object-fit:cover;object-position:62% 50%}
.r9-home .r9-scene::before{content:'';position:absolute;inset:0;z-index:-1;pointer-events:none;background:linear-gradient(90deg,#101817 0%,#101817e0 19%,#1018177a 33%,#10181700 48%),linear-gradient(180deg,#101817 0%,#10181700 17%,#10181700 84%,#101817 100%)}
.r9-home .r9-scene-copy{padding:80px 0}
.r9-home .r9-scene-copy>div{max-width:440px}
.r9-home .r9-scene .r9-label,.r9-home .r9-scene-copy h3+p{color:var(--r9-muted-dark)}
.r9-home .r9-scene-copy h3{font-size:clamp(66px,6.8vw,110px)}
.r9-home .r9-scene-view{position:absolute;inset:0;opacity:0;transform:scale(1.035);transition:opacity 650ms cubic-bezier(.22,.61,.36,1),transform 1100ms var(--r9-ease)}
.r9-home .r9-scene[data-view=desktop] .r9-scene-view[data-view=desktop],.r9-home .r9-scene[data-view=phone] .r9-scene-view[data-view=phone]{opacity:1;transform:none}
.r9-home .r9-scene[data-motion=instant] .r9-scene-view{transition:none}
.r9-home .r9-scene-foot{position:absolute;left:0;right:0;bottom:30px;margin:0 auto;display:flex;align-items:center;justify-content:flex-end;gap:28px}
.r9-home .r9-caption{margin:0;font-size:12px;line-height:1.5;color:#89958e}
.r9-home .r9-view-switch{display:flex;gap:2px;padding:3px;border:1px solid #ffffff2e;border-radius:4px;background:#101817b3}
.r9-home .r9-view-switch>button{min-height:40px;padding:8px 16px;border:0;border-radius:2px;background:transparent;color:#c7cec7;font:inherit;font-size:13px;line-height:1.2;transition:background-color 220ms var(--r9-ease),color 220ms var(--r9-ease)}
.r9-home .r9-view-switch>button[aria-pressed=true]{background:var(--r9-cream);color:var(--r9-ink)}
.r9-home .r9-view-switch>button:focus-visible{outline:2px solid var(--r9-coral);outline-offset:3px}

/* Automation and AI: real objects resting on the page, set as a staggered spread. */
.r9-home .r9-systems{background:var(--r9-cream);color:var(--r9-ink);padding:120px 0 140px;overflow:clip}
.r9-home .r9-spread{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(48px,7vw,128px);align-items:start}
.r9-home .r9-ai{padding-top:clamp(90px,10vw,160px)}
.r9-home .r9-object-art{position:relative;margin:0 -3%}
.r9-home .r9-object-art img{display:block;width:100%;height:auto}
.r9-home .r9-figure{margin:0}
.r9-home .r9-object-art figcaption{margin:6px 3% 0;font-size:12px;line-height:1.5;color:var(--r9-muted)}
.r9-home .r9-object-copy{position:relative;max-width:500px;margin-top:44px}
.r9-home .r9-object-copy h3{font-size:clamp(54px,5.3vw,86px)}
.r9-home .r9-tools{margin:2px 0 26px;padding-top:24px;border-top:1px solid #dcdfd8}
.r9-home .r9-tools>p{margin:0 0 20px;max-width:390px;font-size:13px;line-height:1.7;color:var(--r9-muted)}
.r9-home .r9-tools .integration-logos{display:flex;flex-wrap:wrap;justify-content:flex-start;align-items:center;gap:16px 24px;margin:0;max-width:none}
.r9-home .r9-tools .integration-logos>img{width:auto;min-width:0;max-width:none;height:20px;max-height:none}
.r9-home .r9-tools .integration-logos>img[src*=stripe]{height:27px}
.r9-home .r9-tools .integration-logos>img[src*=supabase]{height:17px}
.r9-home .r9-tools .mark-word{gap:7px}
.r9-home .r9-tools .mark-word img{width:19px;height:19px}
.r9-home .r9-tools .mark-word>span{font-size:14px}

/* Layered examples: each object and its shadow are separate renders from one camera. */
.r9-home .r9-stack{position:relative;isolation:isolate}
.r9-home .r9-stack>img{display:block;width:100%;height:auto}
.r9-home .r9-stack>img+img{position:absolute;inset:0;height:100%}
.r9-home .r9-stack>[data-layer=marks]{mix-blend-mode:multiply}
.r9-home .r9-run{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin:6px 3% 0}
.r9-home .r9-run>button{display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:9px 15px;border:1px solid #c9cdc6;border-radius:3px;background:transparent;color:var(--r9-ink);font:inherit;font-size:13px;line-height:1.2;transition:border-color 200ms var(--r9-ease),background-color 200ms var(--r9-ease)}
.r9-home .r9-run>button:hover{border-color:var(--r9-ink)}
.r9-home .r9-run>button:active{transform:scale(.97)}
.r9-home .r9-run>button:focus-visible{outline:2px solid var(--r9-ink);outline-offset:3px}
.r9-home .r9-run>button>span{font-size:15px;color:var(--r9-coral)}
.r9-home .r9-run-status{flex-basis:100%;margin:0;min-height:1.5em;font-size:12px;line-height:1.5;color:var(--r9-ink)}
.r9-motion .r9-example.is-armed [data-layer]{transition:none}
.r9-motion .r9-example.is-armed [data-object]{opacity:0;transform:translate3d(0,-34px,0) scale(1.025)}
.r9-motion .r9-example.is-armed [data-shadow]{opacity:0;filter:blur(9px);transform:scale(1.035)}
.r9-motion .r9-example.is-armed [data-line]{clip-path:inset(var(--from,0%) 0 calc(100% - var(--from,0%)) 0)}
.r9-motion .r9-example.is-armed [data-layer=marks]{opacity:0}
.r9-motion .r9-example [data-layer].is-set{opacity:1;filter:none;transform:none;clip-path:inset(0 0 0 0)}
.r9-motion .r9-example [data-object].is-set{transition:transform 720ms var(--r9-land),opacity 220ms cubic-bezier(0,0,.2,1)}
.r9-motion .r9-example [data-shadow].is-set{transition:opacity 620ms cubic-bezier(.3,0,.2,1),filter 720ms var(--r9-ease),transform 720ms var(--r9-ease)}
.r9-motion .r9-example [data-line].is-set{transition:clip-path 620ms cubic-bezier(.65,0,.35,1)}
.r9-motion .r9-example [data-layer=marks].is-set{transition:opacity 560ms cubic-bezier(.3,0,.2,1)}
.r9-motion .r9-example[data-motion=instant] [data-layer]{transition:none}

/* Answers open with weight where the browser can animate details; elsewhere they open instantly. */
.r9-home .faq-list{interpolate-size:allow-keywords}
.r9-home .faq-list details::details-content{block-size:0;overflow:clip;opacity:0;transition:block-size 460ms var(--r9-ease),opacity 300ms cubic-bezier(.4,0,1,1),content-visibility 460ms allow-discrete}
.r9-home .faq-list details[open]::details-content{block-size:auto;opacity:1;transition:block-size 520ms var(--r9-ease),opacity 420ms 80ms var(--r9-ease),content-visibility 520ms allow-discrete}
.r9-home.reduced-motion .faq-list details::details-content,.r9-home.keyboard-mode .faq-list details::details-content{transition:none!important}

/* Process: the same GG as outline, form and finish. */
.r9-home .r9-process{background:var(--r9-ink);color:var(--r9-cream);padding:128px 0 136px}
.r9-home .r9-stages{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:clamp(20px,2.5vw,40px);margin:76px 0 0;padding:0;list-style:none}
.r9-home .r9-stage figure{margin:0 0 30px;aspect-ratio:1;overflow:hidden}
.r9-home .r9-stage img{display:block;width:100%;height:100%;object-fit:cover;-webkit-mask-image:radial-gradient(108% 84% at 50% 36%,#000 50%,transparent 74%);mask-image:radial-gradient(108% 84% at 50% 36%,#000 50%,transparent 74%)}
.r9-home .r9-stage>div{position:relative;padding-top:24px}
.r9-home .r9-stage>div::before,.r9-home .r9-stage>div::after{content:'';position:absolute;top:0;left:0;right:0;height:1px;background:#2c3634}
.r9-home .r9-stage>div::after{background:var(--r9-coral);transform-origin:left}
.r9-home .r9-stage-number{margin:0 0 14px;font-size:14px;line-height:1.5;letter-spacing:.02em;color:var(--r9-coral)}
.r9-home .r9-stage h3{margin:0 0 14px;font-size:clamp(30px,2.7vw,42px);font-weight:450;letter-spacing:-.045em;line-height:1.08}
.r9-home .r9-stage p:not(.r9-stage-number){margin:0;max-width:360px;font-size:15px;line-height:1.8;color:var(--r9-muted-dark)}
.r9-home .r9-stage-detail{display:block;margin-top:22px;font-size:12px;line-height:1.6;color:var(--r9-cream)}

/* Motion is added by scene-motion.js only after it can reveal content again. */
.r9-motion [data-r9-reveal]{opacity:0;filter:blur(5px);transform:translate3d(0,18px,0);transition:opacity 620ms var(--r9-ease),filter 620ms var(--r9-ease),transform 860ms var(--r9-ease)}
.r9-motion [data-r9-reveal=object]{transform:translate3d(0,-26px,0) scale(1.025);transition-duration:760ms,760ms,1200ms}
.r9-motion [data-r9-reveal].is-visible{opacity:1;filter:none;transform:none}
.r9-motion .r9-stages[data-r9-reveal]{opacity:1;filter:none;transform:none}
.r9-motion .r9-stage{opacity:0;transform:translate3d(0,22px,0);transition:opacity 640ms var(--r9-ease),transform 940ms var(--r9-ease)}
.r9-motion .r9-stage>div::after{transform:scaleX(0);transition:transform 900ms var(--r9-ease)}
.r9-motion .r9-stage:nth-child(2),.r9-motion .r9-stage:nth-child(2)>div::after{transition-delay:120ms}
.r9-motion .r9-stage:nth-child(3),.r9-motion .r9-stage:nth-child(3)>div::after{transition-delay:240ms}
.r9-motion .r9-stages.is-visible .r9-stage{opacity:1;transform:none}
.r9-motion .r9-stages.is-visible .r9-stage>div::after{transform:scaleX(1)}
.r9-motion [data-depth]{will-change:transform}

@media(max-width:1200px){
 .r9-home .r9-intro{gap:24px 60px}
 /* The overlay needs the render's empty left side; narrower screens stack the scene above its copy. */
 .r9-home .r9-scene{display:block;min-height:0;margin-top:44px}
 .r9-home .r9-scene-art{position:relative;inset:auto;aspect-ratio:4/3}
 .r9-home .r9-scene-art img{object-position:88% 50%;-webkit-mask-image:linear-gradient(180deg,#000 72%,transparent);mask-image:linear-gradient(180deg,#000 72%,transparent)}
 .r9-home .r9-scene::before{display:none}
 .r9-home .r9-scene-copy{padding:36px 0 0}
 .r9-home .r9-scene-copy>div{max-width:560px}
 .r9-home .r9-scene-foot{position:static;justify-content:space-between;flex-wrap:wrap;gap:16px 24px;margin-top:40px;padding-bottom:72px}
}
@media(max-width:1000px){
 .r9-home .r9-services{padding-top:96px}
 .r9-home .r9-intro{grid-template-columns:1fr;gap:22px}
 .r9-home .r9-intro>p:last-child{max-width:540px}
 .r9-home .r9-systems{padding:96px 0 104px}
 .r9-home .r9-spread{column-gap:40px}
 .r9-home .r9-ai{padding-top:150px}
 .r9-home .r9-process{padding:96px 0 104px}
 .r9-home .r9-stages{gap:18px;margin-top:56px}
 .r9-home .r9-stage figure{margin-bottom:24px}
 .r9-home .r9-stage p:not(.r9-stage-number){font-size:14px}
}
@media(max-width:760px){
 .r9-home .r9-scene-art{aspect-ratio:4/5}
 .r9-home .r9-scene-art img{object-position:50% 50%}
 .r9-home .r9-scene-copy{padding-top:28px}
 .r9-home .r9-spread{grid-template-columns:1fr}
 .r9-home .r9-ai{padding-top:72px}
 .r9-home .r9-object-art{margin:0 -6%}
 .r9-home .r9-object-art figcaption,.r9-home .r9-run{margin-left:6%;margin-right:6%}
 .r9-home .r9-object-copy{margin-top:30px}
 .r9-home .r9-stages{grid-template-columns:1fr;gap:46px}
 /* The objects carry this section, so phones get them wide rather than as thumbnails. */
 .r9-home .r9-stage figure{aspect-ratio:16/10;margin:0 0 18px}
 .r9-home .r9-stage img{object-position:50% 46%;-webkit-mask-image:radial-gradient(70% 88% at 50% 46%,#000 52%,transparent 80%);mask-image:radial-gradient(70% 88% at 50% 46%,#000 52%,transparent 80%)}
 .r9-home .r9-stage>div{padding-top:18px}
 .r9-home .r9-stage-number{margin-bottom:8px}
 .r9-home .r9-stage h3{font-size:30px;margin-bottom:10px}
 .r9-home .r9-stage-detail{margin-top:14px}
}
@media(max-width:600px){
 .r9-home .r9-services{padding-top:76px}
 .r9-home .r9-intro h2{font-size:36px;line-height:1.1;letter-spacing:-.04em}
 .r9-home .r9-intro>p:last-child{font-size:15px}
 .r9-home .r9-scene{margin-top:32px}
 .r9-home .r9-scene-copy h3{font-size:58px}
 .r9-home .r9-object-copy h3{font-size:52px}
 .r9-home :is(.r9-scene-copy,.r9-object-copy) h3+p{font-size:15px;line-height:1.75}
 .r9-home .r9-scene-foot{margin-top:32px;padding-bottom:60px}
 .r9-home .r9-systems{padding:72px 0 84px}
 .r9-home .r9-process{padding:76px 0 84px}
 .r9-home .r9-stage h3{font-size:27px}
 .r9-home .r9-tools .integration-logos{gap:16px 22px}
}
@media(max-width:370px){
 .r9-home .r9-intro h2{font-size:32px}
 .r9-home .r9-scene-copy h3{font-size:50px}
 .r9-home .r9-object-copy h3{font-size:46px}
 .r9-home .r9-tools .integration-logos>img{height:18px}
 .r9-home .r9-tools .integration-logos>img[src*=stripe]{height:24px}
 .r9-home .r9-tools .integration-logos>img[src*=supabase]{height:15px}
}
@media(prefers-reduced-motion:reduce){
 .r9-motion [data-r9-reveal],.r9-motion .r9-stage{opacity:1!important;filter:none!important;transform:none!important}
 .r9-motion .r9-stage>div::after{transform:none!important}
 .r9-home [data-depth]{transform:none!important}
 .r9-motion .r9-example [data-layer]{opacity:1!important;filter:none!important;transform:none!important;clip-path:none!important}
 .r9-home .r9-scene-view{transition:none!important}
 .r9-home .faq-list details::details-content{transition:none!important}
}
