/* Large type and the existing curved web lead; blue rules connect the chosen cards. */
.rf-site{--rf-blue:#0030fd;--rf-card-rule:var(--rf-blue);--rf-section-rule:var(--rf-blue);--rf-card-gap:32px;--rf-paper:#f8f8f5;--rf-ink:#111;--rf-muted:#5e5e59;--rf-gutter:16px;background:var(--rf-paper);color:var(--rf-ink)}
.rf-container{max-width:1280px;margin-inline:auto;padding-inline:var(--rf-gutter)}
.rf-header{display:flex;align-items:center;justify-content:space-between;gap:12px;padding-block:18px}
.rf-brand{display:inline-flex;align-items:center;min-height:48px;width:96px;flex-shrink:0}
.rf-brand img{display:block;width:100%;height:auto}
.rf-header nav{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:0 8px;min-width:0}
.rf-header nav a{display:inline-flex;align-items:center;min-height:44px;font-size:13px;font-weight:600;text-decoration:none}
.rf-header nav a:hover,.rf-footer a:hover{color:var(--rf-blue)}
.rf-hero{display:grid;gap:32px;padding-block:44px var(--rf-hero-bottom,48px)}
.rf-hero-copy{container-type:inline-size}
.rf-hero h1{font-size:clamp(34px,calc(12cqi * var(--rf-title-scale,1)),calc(80px * var(--rf-title-scale,1)));font-weight:600;line-height:1.03;letter-spacing:-.055em}
.rf-hero h1 span{display:block}
.rf-hero-copy>p{max-width:42ch;margin-top:28px;color:var(--rf-muted);font-size:18px;line-height:1.65}
.rf-nodeweb{display:flex;align-items:center;justify-content:center;min-width:0}
.rf-nodeweb svg,.rf-nodeweb img{display:block;width:100%;height:auto}
.rf-nodeweb svg{overflow:visible;transform:translate(var(--rf-node-x,0px),var(--rf-node-y,0px)) scale(var(--rf-node-scale,1)) scaleY(var(--rf-node-flat,1));transform-origin:center}
/* Starter: the original points are static. */
.rf-services{border-block:1px solid var(--rf-section-rule);padding-block:40px}
.rf-swipe-hint{margin-bottom:22px;color:var(--rf-muted);font-size:13px;line-height:1.5}
.rf-service-row{margin-inline:calc(-1 * var(--rf-gutter));overflow-x:auto;overscroll-behavior-inline:contain;scroll-snap-type:x mandatory;scroll-padding-inline:var(--rf-gutter);scrollbar-width:thin;scrollbar-color:var(--rf-blue) #d8d8d2;padding-bottom:12px}
.rf-service-row:focus-visible{outline-offset:-3px}
.rf-service-list{display:grid;grid-auto-flow:column;grid-auto-columns:clamp(16.5rem,70vw,22rem);gap:var(--rf-card-gap) 12px;grid-template-rows:auto auto;width:max-content;margin:0;padding:0 var(--rf-gutter);list-style:none;align-items:stretch}
.rf-service{display:grid;grid-template-rows:subgrid;grid-row:span 2;gap:var(--rf-card-gap);min-width:0;padding:20px;border-top:4px solid var(--rf-card-rule);background:#fff;scroll-snap-align:start;outline:1px solid transparent;outline-offset:-1px;transition:outline-color 200ms ease}
.rf-service-heading{display:flow-root;container-type:inline-size;min-width:0;align-self:start}
.rf-service h2{position:relative;width:fit-content;max-width:100%;font-size:clamp(1.5rem,13cqi,4.5rem);font-weight:500;line-height:.95;letter-spacing:-.05em;text-wrap:balance;color:var(--rf-ink);transition:color 200ms ease}
/* Reuse the earlier Nexin underline: grow from the left, with a diagonal end. */
.rf-service h2::after{content:"";position:absolute;left:0;bottom:-.34em;width:100%;height:3px;background:#aab9ff;clip-path:polygon(0 0,100% 0,calc(100% - 8px) 100%,0 100%);transform:scaleX(0);transform-origin:left;transition:transform 650ms cubic-bezier(.4,0,.2,1);pointer-events:none}
@media(hover:hover){.rf-service:hover{outline-color:var(--rf-blue)}.rf-service:hover h2{color:var(--rf-blue)}.rf-service:hover h2::after{transform:scaleX(1)}}
@media(prefers-reduced-motion:reduce){.rf-service,.rf-service h2,.rf-service h2::after{transition:none}}
@media(forced-colors:active){.rf-service{transition:none}.rf-service:hover{outline-color:CanvasText}.rf-service h2,.rf-service:hover h2{color:CanvasText;transition:none}.rf-service h2::after{background:CanvasText;transition:none}}
.rf-service p{font-size:18px;line-height:1.625;color:var(--rf-muted);text-wrap:pretty}
.rf-about{border-bottom:1px solid var(--rf-section-rule)}
.rf-about-grid{display:grid;gap:28px;padding-block:56px}
.rf-about-intro{min-width:0}
.rf-portrait{margin:28px 0 0;width:100%;max-width:240px;aspect-ratio:1;overflow:hidden;background:#fff}
.rf-portrait img{display:block;width:100%;height:100%;object-fit:cover;object-position:center top}
.rf-about h2,.rf-contact h2{font-size:clamp(32px,6vw,56px);font-weight:600;line-height:1.08;letter-spacing:-.045em}
.rf-about-copy{max-width:58ch;min-width:0}
.rf-about-copy p{font-size:18px;line-height:1.65;color:var(--rf-muted)}
.rf-about-copy p+p{margin-top:20px}
.rf-about-copy p:first-child{color:var(--rf-ink)}
.rf-contact{display:grid;gap:36px;padding-block:56px}
.rf-contact p{max-width:54ch;margin-top:22px;font-size:18px;line-height:1.65;color:var(--rf-muted)}
.rf-email{display:inline-flex;align-items:center;min-height:48px;max-width:100%;font-size:clamp(22px,3vw,36px);font-weight:500;line-height:1.3;letter-spacing:-.035em;color:var(--rf-blue);text-decoration-thickness:1px;overflow-wrap:anywhere}
.rf-email:hover{text-decoration-thickness:2px}
.rf-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px 24px;padding-block:16px 24px;color:var(--rf-muted);font-size:13px}
.rf-footer a{display:inline-flex;align-items:center;min-height:44px}
@media(min-width:40rem){.rf-site{--rf-gutter:32px}.rf-header{gap:24px;padding-block:24px}.rf-brand{width:128px}.rf-header nav{gap:0 20px}.rf-header nav a{font-size:15px}.rf-hero{gap:40px;padding-block:64px var(--rf-hero-bottom,72px)}.rf-nodeweb{max-width:640px}.rf-about-grid{padding-block:64px}}
@media(min-width:64rem){.rf-site{--rf-gutter:48px;--rf-card-gap:40px}.rf-brand{width:144px}.rf-hero{grid-template-columns:1fr 1.5fr;align-items:center;gap:24px;padding-block:76px var(--rf-hero-bottom,88px)}.rf-hero h1{font-size:clamp(34px,calc(13.5cqi * var(--rf-title-scale,1)),calc(80px * var(--rf-title-scale,1)))}.rf-nodeweb{max-width:none;width:calc(100% + 48px);margin-inline:-16px -32px}.rf-hero-copy>p{font-size:19px}.rf-services{padding-block:64px}.rf-swipe-hint{display:none}.rf-service-row{margin:0;overflow:visible;padding:0}.rf-service-list{grid-auto-flow:row;grid-template-columns:repeat(3,minmax(0,1fr));grid-auto-columns:auto;gap:var(--rf-card-gap) 24px;width:auto;padding:0}.rf-service{gap:var(--rf-card-gap);padding:24px}.rf-about-grid{grid-template-columns:1fr 1.2fr;gap:80px;align-items:start;padding-block:80px}.rf-contact{grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;padding-block:80px 88px}.rf-email{justify-self:end}}

/* Each card shares the title and description tracks, including in the swipe row. */
.rf-service h2,.rf-service p{align-self:start}
.rf-lines-black-sections{--rf-section-rule:var(--rf-ink)}
.rf-lines-black-cards{--rf-card-rule:var(--rf-ink)}
.rf-rule-bottom .rf-service{border-top:0;border-bottom:4px solid var(--rf-card-rule)}
/* Separated diagonal cuts echo the blue tip of the Nexin N. */
.rf-rule-bottom.rf-rule-nexin .rf-service{position:relative;border-bottom-color:transparent}
.rf-rule-bottom.rf-rule-nexin .rf-service::before,.rf-rule-bottom.rf-rule-nexin .rf-service::after{content:"";position:absolute;bottom:-4px;height:4px;pointer-events:none}
.rf-rule-bottom.rf-rule-nexin .rf-service::before{left:0;width:calc(100% - 20px);background:var(--rf-ink);clip-path:polygon(0 0,100% 0,calc(100% - 5.7px) 100%,0 100%)}
.rf-rule-bottom.rf-rule-nexin .rf-service::after{right:0;width:20px;background:var(--rf-blue);clip-path:polygon(5.7px 0,100% 0,100% 100%,0 100%)}
@media(forced-colors:active){.rf-rule-bottom.rf-rule-nexin .rf-service{border-bottom-color:CanvasText}.rf-rule-bottom.rf-rule-nexin .rf-service::before,.rf-rule-bottom.rf-rule-nexin .rf-service::after{display:none}}
@supports not (grid-template-rows:subgrid){.rf-service-list{grid-template-rows:none}.rf-service{display:flex;flex-direction:column;grid-row:auto}.rf-service h2{min-block-size:1.9em}}

/* Keep the text aligned with the page while the web uses the space on the right. */
@media(min-width:80rem){.rf-hero{max-width:1440px;width:calc(100% - (100% - 1280px)/2);margin-left:calc((100% - 1280px)/2);margin-right:0}}
