/* DEEPLINK R27: brand integrity, accessible navigation, measured scroll motion.
   Original logo artwork is used only as an alpha mask; no proportions are altered. */
html{scroll-padding-top:110px}
.r27-skip{position:fixed;z-index:1000;top:8px;left:12px;background:var(--r-accent);color:var(--r-accent-ink)!important;padding:10px 16px;border-radius:9px;transform:translateY(-140%);transition:transform .15s;text-decoration:none;font:700 13px/1.4 system-ui,sans-serif}
.r27-skip:focus{transform:translateY(0)}
.r7-header{position:sticky;top:0;z-index:90;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);background:color-mix(in srgb,var(--r-bg) 94%,transparent)}
.r7-header-inner{min-height:83px}
.r7-mark.r27-mark{width:44px;height:44px;flex:0 0 44px;border-radius:11px;background:var(--r-accent);color:var(--r-accent-ink);display:grid;place-items:center;padding:5px;overflow:hidden;letter-spacing:normal;box-shadow:0 8px 26px color-mix(in srgb,var(--r-accent) 15%,transparent)}
.r27-symbol{display:block;width:100%;height:100%;background:var(--r-accent-ink);-webkit-mask:url('/assets/deeplink-d-original.png') center/contain no-repeat;mask:url('/assets/deeplink-d-original.png') center/contain no-repeat}
.r7-logo-name{line-height:1.14}
/* Force control typography to remain identical as both theme and page change. */
.r7-new .r7-theme-trigger,.r7-existing .r7-theme-trigger,body[data-design] .r7-theme-trigger{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif!important;font-size:12px!important;font-style:normal!important;line-height:1.2!important;font-weight:650!important;letter-spacing:0!important;text-transform:none!important;min-height:40px;display:inline-flex;gap:6px;align-items:center;justify-content:center}
.r7-theme-trigger span{font:inherit!important;letter-spacing:inherit!important}
.r7-theme-trigger:focus-visible,.r7-header a:focus-visible,.r7-footer a:focus-visible{outline:3px solid var(--r-accent);outline-offset:4px}
.r7-nav>a{font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;line-height:1.4;font-weight:700}
.r7-nav>a:hover,.r7-nav>a:focus-visible{text-underline-offset:6px;text-decoration:underline;text-decoration-thickness:1.5px}
.r7-footer-brand.r27-footer-brand{display:inline-flex;align-items:center;gap:12px;vertical-align:middle;text-decoration:none!important}
.r7-footer-brand .r27-footer-mark{width:37px;height:37px;flex-basis:37px;border-radius:9px;padding:5px}
.r7-footer-brand .r27-footer-word{font-size:27px;line-height:1;font-weight:900;letter-spacing:-.065em;color:var(--r-ink)}
.r7-footer-brand .r27-footer-dot{color:var(--r-accent)}
/* Breadcrumbs: clear hierarchy, consistent click targets, and distinct current page. */
.r7-breadcrumb,.r7-existing .r7-breadcrumb,body[data-design] .r7-breadcrumb{display:flex;align-items:center;flex-wrap:wrap;column-gap:8px;row-gap:7px;font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:12px;font-weight:650;letter-spacing:0;line-height:1.5;color:var(--r-muted);margin-top:22px;margin-bottom:10px}
.r7-breadcrumb a,.r7-existing .r7-breadcrumb a{display:inline-flex;align-items:center;padding:6px 9px;border:1px solid var(--r-line);border-radius:7px;background:var(--r-panel);color:var(--r-ink)!important;text-decoration:none;transition:border-color .2s,background .2s}
.r7-breadcrumb a:hover{border-color:var(--r-accent);background:var(--r-soft)}
.r7-breadcrumb .r27-crumb-sep,.r7-existing .r7-breadcrumb .r27-crumb-sep{display:inline-block;margin:0 2px;font-size:16px;color:var(--r-muted);font-weight:650}
.r7-breadcrumb .r27-current-crumb,.r7-existing .r7-breadcrumb .r27-current-crumb{display:inline-block;font-size:12px;font-weight:800;margin:0;color:var(--r-accent);background:var(--r-soft);border-radius:7px;padding:6px 10px;max-width:100%;overflow-wrap:anywhere}
/* Portfolio information architecture: separate label from explanatory badges. */
.r7-subhero .r7-overline,.r7-overline{font-size:11px;line-height:1.65;letter-spacing:.115em;font-weight:850}
.r7-subhero .r7-overline{display:inline-flex;align-items:center;gap:8px;padding:7px 12px;border:1px solid var(--r-line);border-radius:99px;background:var(--r-panel);color:var(--r-accent)}
.r7-subhero-pills{gap:9px 10px;margin-top:29px}
.r7-subhero-pills>span{display:inline-flex;align-items:center;line-height:1.45;border:1px solid var(--r-line);border-radius:8px;background:var(--r-panel);padding:9px 13px;letter-spacing:.065em;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-size:11px;font-weight:760;white-space:normal}
.r7-subhero-pills>span:first-child{border-color:var(--r-accent);color:var(--r-accent)}
/* CTA was inheriting .r7-new a {color:inherit} with stronger specificity than its own color. */
.r7-new .r8-stage-link,.r7-existing .r8-stage-link,body[data-design] .r8-stage-link{color:#10231f!important;background:#d8fb92!important;border:2px solid #d8fb92!important;font-family:Inter,ui-sans-serif,system-ui,sans-serif;font-weight:850;text-shadow:none;line-height:1.35;box-shadow:0 7px 20px rgba(0,0,0,.20);min-width:209px;max-width:280px;transition:transform .2s,background .2s}
.r7-new .r8-stage-link:hover,.r7-existing .r8-stage-link:hover{color:#071611!important;background:#f0ffba!important;transform:translateY(-2px)}
.r8-stage-link:focus-visible{outline:3px solid #fff;outline-offset:4px}
/* The only true zero baseline for the bar/line SVG now shares the y(0) coordinate with its tick label. */
.r8-zero-grid{stroke:#7f94b4;stroke-width:1.5;stroke-dasharray:none}
.r8-svg-axis{font-size:11px;fill:#b8cae1;font-variant-numeric:tabular-nums}
.r8-svg-wrap{overflow:visible}
/* Responsive reading flow and gentle storytelling cues, not scroll hijacking. */
.r27-scroll-progress{position:fixed;z-index:105;left:0;top:0;width:var(--r27-progress,0%);height:3px;background:var(--r-accent);pointer-events:none;box-shadow:0 0 12px color-mix(in srgb,var(--r-accent) 70%,transparent);will-change:width}
.r7-section-heading h2,.r8-showcase-head h2{max-width:850px}
.r7-project,.r7-service-card,.r7-specimen,.r7-work-card,.d-panel,.r8-rail,.r8-demo-frame{transition:border-color .22s ease,box-shadow .22s ease,transform .25s ease}
.r7-project:hover,.r7-specimen:hover,.d-panel:hover{box-shadow:0 18px 42px rgba(0,0,0,.12);border-color:var(--r-accent)}
.r27-motion-on [data-r27-reveal].r27-in-view{animation:r27-appear .62s cubic-bezier(.2,.85,.2,1) both;animation-delay:var(--r27-delay,0ms)}
@keyframes r27-appear{from{opacity:.84;transform:translate3d(0,17px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
.r7-hero-art{translate:0 var(--r27-parallax,0px);transition:translate .09s linear}
.r8-showcase-head,.r7-section-heading,.r7-subhero .r7-wrap{scroll-margin-top:115px}
/* Polish: long text and tables are readable without overflow. */
.r7-existing .d-table-wrap,.r7-existing .r7-reference-grid,.r7-new .r7-work-grid{max-width:100%}
.r7-existing .d-table th{font-size:12px;letter-spacing:.025em}
.r7-existing .d-table td{line-height:1.6}
.r7-existing .d-panel-head h2{line-height:1.3}
@media(max-width:1000px){.r7-header-inner{gap:12px}.r7-nav,.r7-right{gap:11px}}
@media(max-width:750px){html{scroll-padding-top:85px}.r7-header{position:sticky}.r7-header-inner{min-height:76px}.r7-mark.r27-mark{width:39px;height:39px;flex-basis:39px}.r7-logo-name{font-size:13px}.r7-footer-brand .r27-footer-word{font-size:24px}.r7-breadcrumb,.r7-existing .r7-breadcrumb{font-size:11px;row-gap:5px}.r7-subhero .r7-overline{font-size:10px;letter-spacing:.07em;max-width:100%}.r7-subhero-pills>span{font-size:10px;padding:8px 10px}.r27-scroll-progress{height:2px}}
@media(max-width:420px){.r7-header-inner{width:calc(100% - 26px)}.r7-mark.r27-mark{width:36px;height:36px;flex-basis:36px}.r7-logo-name{font-size:12px}.r7-logo-name small{font-size:7px}.r7-subhero .r7-wrap{max-width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto!important}.r27-motion-on [data-r27-reveal].r27-in-view{animation:none!important}.r7-hero-art{translate:none!important;transition:none!important}.r7-project,.r8-stage-link,.r7-theme-trigger{transition:none!important}}
/* Prevent a visually isolated final word in the work headline. */
@media(min-width:641px){.r7-subhero h1 em{display:inline-block}}
