:root{--paper:#ffffff;--paper-2:#f1f2ef;--ink:#181a1b;--muted:#666b70;--line:rgba(24,26,27,.13);--lime:#c9f36a;--lime-dark:#8eae35;--steel:#858b94;--dark:#171918;--dark-2:#202321;--dark-line:rgba(255,255,255,.12);--white:#ffffff;--radius:20px;--radius-lg:30px;--max:1320px;--ease:cubic-bezier(.2,.75,.2,1);font-synthesis:none;text-rendering:optimizeLegibility;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:100px;overflow-y:scroll;scrollbar-gutter:stable}body{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;font-size:16px;line-height:1.5}body.no-scroll{overflow:hidden}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}button{cursor:pointer}button:focus-visible,a:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #6b901c;outline-offset:4px}.skip-link{position:fixed;z-index:9999;top:10px;left:10px;transform:translateY(-150%);background:var(--lime);padding:10px 16px;border-radius:6px;font-weight:700}.skip-link:focus{transform:none}.intro-mark{position:fixed;inset:0;z-index:5000;display:flex;align-items:center;justify-content:center;gap:15px;background:var(--ink);color:var(--paper);opacity:1;visibility:visible;animation:none;pointer-events:none}.intro-symbol{font-size:54px;font-weight:700;letter-spacing:-.1em}.intro-symbol span{color:var(--lime)}.intro-line{height:1px;width:42px;background:var(--lime);transform-origin:left;animation:line-in .38s var(--ease) .12s both}.intro-word{font:11px 'DM Mono',monospace;letter-spacing:.18em}.site-loading{min-height:100vh;display:grid;place-content:center;text-align:center;color:var(--muted)}.loading-orb{width:36px;height:36px;border:1px solid var(--line);border-top-color:var(--lime-dark);border-radius:50%;animation:spin .85s linear infinite;margin:0 auto 20px}.toast-region{position:fixed;bottom:22px;right:22px;z-index:7000;display:grid;gap:8px}.toast{background:var(--ink);color:var(--paper);border:1px solid var(--dark-line);box-shadow:0 16px 50px #0002;padding:13px 18px;border-radius:12px;animation:toast-in .3s var(--ease);max-width:min(360px,calc(100vw - 44px));font-size:14px}.toast strong{color:var(--lime)}.container{width:min(var(--max),calc(100% - 64px));margin-inline:auto}.mono{font-family:'DM Mono',monospace;text-transform:uppercase;letter-spacing:.11em;font-size:11px}.muted{color:var(--muted)}.eyebrow{display:flex;align-items:center;gap:9px;color:#555b53}.eyebrow:before{content:'';width:7px;height:7px;border-radius:50%;background:var(--lime-dark);flex:0 0 auto}.section{padding:116px 0}.section-small{padding:70px 0}.section-head{display:flex;justify-content:space-between;align-items:end;gap:32px;margin-bottom:42px}.section-head h2,.section-title{font-size:clamp(35px,5vw,68px);line-height:.99;letter-spacing:-.065em;font-weight:500;margin:16px 0 0;max-width:780px}.section-head p{max-width:340px;color:var(--muted);margin:0}.accent-serif{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400}.btn{position:relative;display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:52px;padding:0 20px;border:1px solid var(--ink);border-radius:999px;background:transparent;color:var(--ink);font-size:13px;font-weight:600;overflow:hidden;transition:color .25s,border-color .25s,transform .25s var(--ease),background .25s}.btn:after{content:'↗';font-size:17px;line-height:1;transition:transform .25s var(--ease)}.btn:hover{transform:translateY(-2px)}.btn:hover:after{transform:translate(2px,-2px)}.btn-primary{background:var(--lime);border-color:var(--lime);color:var(--ink)}.btn-primary:hover{background:#d6fa8f;border-color:#d6fa8f}.btn-dark{background:var(--ink);color:var(--paper);border-color:var(--ink)}.btn-dark:hover{background:#2c302d}.text-link{display:inline-flex;align-items:center;gap:10px;font-size:13px;font-weight:700;border-bottom:1px solid var(--line);padding-bottom:6px}.text-link span{transition:transform .2s}.text-link:hover span{transform:translate(3px,-3px)}.icon-btn{width:42px;height:42px;display:grid;place-items:center;border:1px solid var(--line);background:transparent;border-radius:50%;color:inherit;transition:background .2s,transform .2s}.icon-btn:hover{background:var(--paper-2);transform:rotate(8deg)}.site-header{height:82px;display:flex;align-items:center;position:sticky;top:0;z-index:1000;background:rgba(255,255,255,.89);backdrop-filter:blur(18px);border-bottom:1px solid transparent;transition:border-color .25s}.site-header.scrolled{border-color:var(--line)}.header-inner{display:flex;align-items:center;justify-content:space-between;gap:30px;width:min(var(--max),calc(100% - 64px));margin:auto}.wordmark{display:flex;align-items:center;gap:10px;font-size:15px;letter-spacing:-.04em;font-weight:700}.wordmark-symbol{display:grid;place-items:center;width:31px;height:31px;background:var(--ink);color:var(--lime);border-radius:50%;font-size:20px;letter-spacing:-.12em;padding-right:3px}.nav{display:flex;align-items:center;gap:28px}.nav a{font-size:12px;color:#555b58;transition:color .2s}.nav a:hover,.nav a[aria-current=page]{color:var(--ink)}.header-actions{display:flex;align-items:center;gap:10px}.header-actions .btn{min-height:43px;padding:0 15px;font-size:12px}.menu-toggle{display:none}.hero{position:relative;min-height:690px;padding:95px 0 74px;overflow:hidden}.hero-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(380px,.95fr);align-items:center;gap:45px}.hero-copy{position:relative;z-index:2}.hero h1{font-size:clamp(56px,7.1vw,105px);line-height:.91;letter-spacing:-.085em;font-weight:500;margin:31px 0 27px;max-width:800px}.hero h1 .italic{font-family:'Instrument Serif',Georgia,serif;font-style:italic;font-weight:400;letter-spacing:-.055em}.hero-description{max-width:450px;color:#646967;font-size:16px;line-height:1.7;margin:0 0 28px}.hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:12px}.hero-meta{display:flex;align-items:center;gap:14px;margin-top:54px}.avatar-stack{display:flex;padding-left:3px}.avatar{width:26px;height:26px;margin-left:-4px;border:2px solid var(--paper);border-radius:50%;background:#b3c67d;display:grid;place-items:center;font-size:9px;color:#1b2116}.avatar:nth-child(2){background:#d5a48a}.avatar:nth-child(3){background:#9eacb6}.hero-meta .small-note{font-size:11px;color:var(--muted)}.hero-meta .small-note strong{color:var(--ink);display:block;font-size:12px}.hero-art{position:relative;min-height:520px;border-radius:var(--radius-lg);background:var(--dark);overflow:hidden;isolation:isolate;display:grid;place-items:center}.art-grid{position:absolute;inset:0;background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px);background-size:34px 34px;mask-image:linear-gradient(to bottom,black,transparent 90%)}.art-circle{position:absolute;width:390px;height:390px;border-radius:50%;background:radial-gradient(circle at 34% 28%,#ecffb5 0,#c9f36a 18%,#8eaf3d 41%,#374221 68%,#1b201a 74%);box-shadow:0 35px 130px #c9f36a2c,inset -28px -42px 70px #1118;animation:float 7s ease-in-out infinite}.art-ring{position:absolute;width:470px;height:470px;border:1px solid rgba(201,243,106,.45);border-radius:50%;transform:rotate(-25deg) scaleY(.42);animation:ring-drift 18s linear infinite}.art-ring.ring-2{width:510px;height:510px;transform:rotate(30deg) scaleY(.36);border-color:rgba(255,255,255,.24);animation-direction:reverse}.art-orbit{position:absolute;width:11px;height:11px;border-radius:50%;background:var(--paper);top:23%;left:24%;box-shadow:0 0 25px #ffffff}.art-label{position:absolute;left:25px;top:25px;color:#e9eadf}.art-label p{margin:8px 0 0;color:#969b92;font-size:11px}.art-coordinate{position:absolute;right:23px;bottom:23px;color:#8c928a;text-align:right}.art-coordinate strong{font-size:22px;font-weight:400;color:var(--lime);display:block;letter-spacing:-.06em}.art-bottom{position:absolute;left:24px;bottom:25px;display:flex;align-items:center;gap:8px;color:#cacdc5;font-size:11px}.pulse-dot{width:6px;height:6px;background:var(--lime);border-radius:50%;box-shadow:0 0 0 5px #c9f36a20}.hero-stamp{position:absolute;right:-19px;top:28%;z-index:3;width:115px;height:115px;display:grid;place-content:center;text-align:center;border-radius:50%;background:var(--lime);transform:rotate(10deg);box-shadow:0 20px 50px #0002}.hero-stamp span{font:10px 'DM Mono',monospace;letter-spacing:.09em;text-transform:uppercase}.hero-stamp strong{font-size:25px;line-height:1.1;letter-spacing:-.07em}.trust-strip{border-block:1px solid var(--line);padding:20px 0}.trust-inner{display:flex;align-items:center;justify-content:space-between;gap:22px}.trust-inner .mono{color:var(--muted)}.trust-tags{display:flex;gap:8px;flex-wrap:wrap}.trust-tags span{border:1px solid var(--line);border-radius:999px;padding:7px 11px;font-size:11px;color:#5b615d}.work-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.project-card{min-width:0;display:block}.project-visual{position:relative;overflow:hidden;border-radius:var(--radius);min-height:390px;aspect-ratio:1.22;background:#dedfd3;display:flex;align-items:center;justify-content:center;isolation:isolate}.project-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(145deg,transparent 40%,#00000018);pointer-events:none}.project-card:nth-child(2) .project-visual{background:#d9d4c9}.project-card:nth-child(3) .project-visual{background:#b9c5bd}.project-card:nth-child(4) .project-visual{background:#cfdbeb}.project-card:nth-child(5) .project-visual{background:#e4c3a2}.project-card:nth-child(6) .project-visual{background:#d5d1e4}.project-info{display:flex;justify-content:space-between;gap:18px;align-items:start;padding:17px 4px 2px}.project-info h3{font-size:21px;font-weight:500;letter-spacing:-.045em;margin:0 0 3px}.project-info p{font-size:12px;color:var(--muted);margin:0}.project-number{font:11px 'DM Mono',monospace;color:var(--muted)}.project-arrow{position:absolute;right:20px;top:20px;z-index:2;width:42px;height:42px;background:var(--paper);border-radius:50%;display:grid;place-items:center;font-size:19px;transition:transform .3s,background .3s}.project-card:hover .project-arrow{transform:rotate(45deg);background:var(--lime)}.mock-browser{position:relative;z-index:1;width:78%;height:76%;border-radius:13px;overflow:hidden;background:#f7f5ed;box-shadow:0 30px 65px #17201627;transform:rotate(-4deg);transition:transform .65s var(--ease)}.project-card:nth-child(2) .mock-browser{transform:rotate(4deg);background:#191a19;color:#ffffff}.project-card:nth-child(3) .mock-browser{transform:rotate(-3deg);background:#233b32;color:#f4f5ef}.project-card:nth-child(4) .mock-browser{transform:rotate(3deg);background:#1c376b;color:white}.project-card:hover .mock-browser{transform:rotate(0) translateY(-7px) scale(1.025)}.browser-bar{height:24px;border-bottom:1px solid #0001;display:flex;align-items:center;padding:0 10px;gap:4px}.browser-dot{width:4px;height:4px;border-radius:50%;background:#aaa}.browser-word{margin-left:auto;font:5px 'DM Mono',monospace;letter-spacing:.08em}.mock-hero{padding:16px 18px;display:flex;flex-direction:column;gap:8px;height:calc(100% - 24px)}.mock-eyebrow{font:6px 'DM Mono',monospace;letter-spacing:.1em;text-transform:uppercase;opacity:.65}.mock-title{font-size:clamp(18px,2.6vw,41px);line-height:.88;letter-spacing:-.075em;font-weight:600;max-width:260px}.mock-title em{font-family:'Instrument Serif',serif;font-weight:400}.mock-shape{margin-top:auto;height:38%;border-radius:7px;background:linear-gradient(135deg,#d1f58b,#4e6337);position:relative;overflow:hidden}.project-card:nth-child(2) .mock-shape{background:radial-gradient(circle at 45% 38%,#c9f36a,#4f6d35 25%,#1f3120 60%)}.project-card:nth-child(3) .mock-shape{background:linear-gradient(110deg,#acc5a6,#2b5743)}.project-card:nth-child(4) .mock-shape{background:linear-gradient(130deg,#8aaeff,#3159a9)}.mock-shape:after{content:'';position:absolute;width:120px;height:120px;border:1px solid #fff8;border-radius:50%;top:-45px;right:15px;box-shadow:0 0 0 18px #fff2,0 0 0 36px #fff1}.project-chip{position:absolute;left:16px;bottom:14px;background:#f8faee;color:#21251d;border-radius:999px;padding:5px 8px;font-size:7px}.pill{display:inline-flex;align-items:center;gap:7px;padding:7px 11px;border:1px solid var(--line);border-radius:999px;font:10px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.04em;color:#4e5551}.services-band{background:var(--ink);color:var(--paper);border-radius:var(--radius-lg);padding:clamp(28px,5vw,64px);overflow:hidden;position:relative}.services-band:after{content:'A.';position:absolute;right:-20px;bottom:-100px;color:#ffffff07;font-size:360px;font-weight:700;letter-spacing:-.14em;pointer-events:none}.services-band .eyebrow{color:#c1c6bd}.services-band .section-head p{color:#9b9f98}.service-list{position:relative;z-index:1;border-top:1px solid var(--dark-line)}.service-row{display:grid;grid-template-columns:66px 1fr minmax(180px,.6fr) 44px;align-items:center;gap:20px;padding:24px 0;border-bottom:1px solid var(--dark-line);transition:padding .3s var(--ease)}.service-row:hover{padding-left:10px;padding-right:10px}.service-no{font:11px 'DM Mono',monospace;color:#8f978e}.service-row h3{font-size:clamp(22px,3vw,36px);letter-spacing:-.06em;font-weight:400;margin:0;transition:color .2s}.service-row:hover h3{color:var(--lime)}.service-row p{font-size:12px;line-height:1.6;color:#a2a69e;margin:0;max-width:320px}.service-arrow{border:1px solid var(--dark-line);width:40px;height:40px;display:grid;place-items:center;border-radius:50%;transition:background .25s,color .25s,transform .25s}.service-row:hover .service-arrow{background:var(--lime);color:var(--ink);transform:rotate(45deg)}.manifesto{display:grid;grid-template-columns:.6fr 1.4fr;gap:55px;align-items:start}.manifesto-label{padding-top:8px}.manifesto h2{font-size:clamp(35px,5vw,66px);font-weight:400;line-height:1.03;letter-spacing:-.07em;margin:0}.manifesto h2 em{font-family:'Instrument Serif',serif;color:#7e8b63}.manifesto .manifesto-bottom{display:flex;justify-content:space-between;align-items:end;gap:30px;margin-top:38px;padding-top:25px;border-top:1px solid var(--line)}.manifesto .manifesto-bottom p{max-width:390px;color:var(--muted);font-size:14px;margin:0}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.process-card{padding:22px;border:1px solid var(--line);border-radius:16px;min-height:230px;display:flex;flex-direction:column;transition:transform .3s var(--ease),background .3s}.process-card:hover{transform:translateY(-5px);background:#fffdf7}.process-num{font:11px 'DM Mono',monospace;color:var(--muted)}.process-icon{margin:28px 0 21px;width:41px;height:41px;display:grid;place-items:center;border-radius:11px;background:var(--paper-2);font-size:18px}.process-card h3{font-size:19px;font-weight:500;letter-spacing:-.04em;margin:0 0 8px}.process-card p{font-size:12px;color:var(--muted);line-height:1.65;margin:0}.capability-band{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;background:#e8e9e0;border-radius:var(--radius-lg);padding:clamp(28px,5vw,58px)}.capability-band h2{font-size:clamp(36px,5vw,64px);line-height:.98;letter-spacing:-.07em;font-weight:500;margin:17px 0}.capability-band p{max-width:460px;color:#646b63;font-size:14px}.capability-tags{display:flex;flex-wrap:wrap;gap:9px;align-content:center}.capability-tags span{padding:11px 14px;border:1px solid #181a1b24;border-radius:999px;font-size:12px;transition:background .2s,transform .2s}.capability-tags span:hover{background:var(--lime);transform:translateY(-2px)}.cta-panel{background:var(--lime);border-radius:var(--radius-lg);padding:clamp(32px,7vw,82px);display:flex;align-items:end;justify-content:space-between;gap:30px;overflow:hidden;position:relative}.cta-panel:after{content:'';position:absolute;width:280px;height:280px;border:1px solid #181a1b18;border-radius:50%;right:11%;top:-160px;box-shadow:0 0 0 36px #181a1b07,0 0 0 72px #181a1b05}.cta-panel h2{font-size:clamp(42px,7vw,84px);line-height:.92;letter-spacing:-.08em;font-weight:500;margin:18px 0 17px;max-width:730px;position:relative;z-index:1}.cta-panel p{max-width:440px;color:#414b31;margin:0;font-size:14px;position:relative;z-index:1}.cta-panel .btn{white-space:nowrap;position:relative;z-index:1}.site-footer{background:var(--ink);color:var(--paper);padding:66px 0 22px}.footer-main{display:grid;grid-template-columns:1.2fr .7fr .7fr;gap:50px;padding-bottom:57px}.footer-brand{max-width:370px}.footer-brand .wordmark{font-size:17px}.footer-brand p{font-size:13px;color:#9fa49b;max-width:300px;margin:22px 0}.footer-col h3{font:10px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.1em;color:#8f968a;margin:0 0 16px}.footer-col a{display:block;font-size:13px;color:#e1e2da;margin:11px 0;transition:color .2s}.footer-col a:hover{color:var(--lime)}.footer-bottom{border-top:1px solid var(--dark-line);padding-top:18px;display:flex;justify-content:space-between;gap:20px;align-items:center;color:#858c83;font-size:10px}.footer-bottom-links{display:flex;gap:18px}.page-hero{padding:108px 0 76px;border-bottom:1px solid var(--line)}.page-hero h1{font-size:clamp(48px,8vw,100px);line-height:.93;letter-spacing:-.085em;font-weight:500;max-width:920px;margin:25px 0}.page-hero h1 em{font-family:'Instrument Serif',serif;font-weight:400}.page-hero p{max-width:600px;font-size:17px;color:var(--muted);line-height:1.7}.service-detail-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.detail-card{border:1px solid var(--line);padding:24px;border-radius:16px;min-height:245px;display:flex;flex-direction:column;transition:transform .3s,background .25s,border-color .25s}.detail-card:hover{transform:translateY(-4px);background:#fffdf7;border-color:#bacd8d}.detail-card .detail-top{display:flex;justify-content:space-between;color:var(--muted);font:11px 'DM Mono',monospace}.detail-card h3{font-size:25px;font-weight:500;letter-spacing:-.06em;margin:42px 0 10px}.detail-card p{font-size:13px;color:var(--muted);margin:0 0 22px}.detail-card .text-link{margin-top:auto;align-self:start}.about-split{display:grid;grid-template-columns:.7fr 1.3fr;gap:65px}.about-split h2{font-size:clamp(32px,5vw,60px);line-height:1;letter-spacing:-.07em;font-weight:500;margin:0}.about-split p{color:var(--muted);font-size:15px;line-height:1.8;margin:0 0 18px}.contact-layout{display:grid;grid-template-columns:.75fr 1.25fr;gap:80px;padding:80px 0 120px}.contact-aside h2{font-size:clamp(38px,5vw,62px);line-height:.96;letter-spacing:-.07em;font-weight:500;margin:23px 0}.contact-aside p{color:var(--muted);max-width:350px}.contact-note{margin-top:46px;padding-top:18px;border-top:1px solid var(--line);font-size:12px;color:var(--muted)}.contact-form{display:grid;grid-template-columns:1fr 1fr;gap:21px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}.field label{font:10px 'DM Mono',monospace;letter-spacing:.1em;text-transform:uppercase;color:#555b56}.field input,.field textarea,.field select{width:100%;background:transparent;border:1px solid var(--line);border-radius:10px;padding:13px 14px;min-height:49px;color:var(--ink);outline:0;transition:border .2s,box-shadow .2s}.field textarea{min-height:135px;resize:vertical}.field input:focus,.field textarea:focus,.field select:focus{border-color:#6e8e38;box-shadow:0 0 0 3px #9abd4523}.field select{appearance:none;background-image:linear-gradient(45deg,transparent 50%,#5f655e 50%),linear-gradient(135deg,#5f655e 50%,transparent 50%);background-position:calc(100% - 18px) 21px,calc(100% - 13px) 21px;background-size:5px 5px,5px 5px;background-repeat:no-repeat}.form-submit{grid-column:1/-1;display:flex;justify-content:space-between;align-items:center;gap:20px}.form-submit p{font-size:11px;max-width:340px;color:var(--muted);margin:0}.success-panel{display:none;border:1px solid #b4ca83;background:#faffef;border-radius:12px;padding:18px;grid-column:1/-1}.success-panel.show{display:block}.project-detail-hero{padding:72px 0}.project-detail-art{min-height:490px;border-radius:var(--radius-lg);display:grid;place-items:center;overflow:hidden;background:linear-gradient(135deg,#c9f36a,#627c3c)}.project-detail-art .mock-browser{width:min(720px,78%);height:330px}.project-meta-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px;padding:27px 0;border-bottom:1px solid var(--line);border-top:1px solid var(--line);margin:35px 0}.project-meta-grid span{display:block;font:10px 'DM Mono',monospace;color:var(--muted);text-transform:uppercase;letter-spacing:.1em;margin-bottom:7px}.project-meta-grid strong{font-size:14px;font-weight:500}.not-found{padding:140px 0;text-align:center}.not-found h1{font-size:clamp(50px,10vw,120px);letter-spacing:-.1em;margin:0}.not-found p{color:var(--muted)}
/* CMS */
.cms-shell{background:#111412;color:#ecede7;min-height:100vh;font-size:13px}.cms-topbar{height:70px;display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 26px;border-bottom:1px solid var(--dark-line);background:#171a18;position:sticky;top:0;z-index:20}.cms-brand{display:flex;align-items:center;gap:11px;font-size:14px;font-weight:700;letter-spacing:-.03em}.cms-brand .wordmark-symbol{width:29px;height:29px;background:var(--lime);color:#151815}.cms-brand small{display:block;font:9px 'DM Mono',monospace;letter-spacing:.1em;color:#8c948b;margin-top:2px}.cms-top-actions{display:flex;align-items:center;gap:9px}.cms-btn{border:1px solid #ffffff24;border-radius:8px;padding:9px 13px;background:#242825;color:#e9ece5;font-size:11px;transition:background .2s,border .2s}.cms-btn:hover{background:#303630;border-color:#ffffff44}.cms-btn.lime{background:var(--lime);color:#1a1d17;border-color:var(--lime);font-weight:700}.cms-btn.lime:hover{background:#dbffa0}.cms-btn.ghost{background:transparent}.cms-layout{display:grid;grid-template-columns:230px minmax(0,1fr);min-height:calc(100vh - 70px)}.cms-sidebar{padding:24px 14px;border-right:1px solid var(--dark-line);background:#151816}.cms-workspace-label{font:9px 'DM Mono',monospace;color:#767e75;letter-spacing:.14em;text-transform:uppercase;padding:0 12px;margin:0 0 10px}.cms-nav{display:grid;gap:4px;margin-bottom:28px}.cms-nav button{display:flex;align-items:center;gap:11px;text-align:left;background:transparent;border:0;color:#9ca49b;border-radius:8px;padding:11px 12px;font-size:12px;transition:background .2s,color .2s}.cms-nav button .nav-icon{width:18px;text-align:center;font-size:15px}.cms-nav button:hover{background:#222723;color:#e8eee0}.cms-nav button.active{background:#2a3226;color:var(--lime)}.cms-sidebar-bottom{position:sticky;top:calc(100vh - 140px);margin-top:50px;padding:14px;border:1px solid var(--dark-line);border-radius:12px;background:#1b1f1c}.cms-avatar{display:flex;align-items:center;gap:9px}.cms-avatar-circle{width:30px;height:30px;border-radius:50%;background:var(--lime);color:#171a15;display:grid;place-items:center;font-size:11px;font-weight:700}.cms-avatar strong{display:block;font-size:11px}.cms-avatar span{display:block;color:#868f86;font-size:10px;margin-top:2px}.cms-main{padding:34px clamp(20px,4vw,55px) 55px;min-width:0;max-width:1600px;width:100%;margin:0 auto}.cms-heading{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:26px}.cms-heading h1{font-size:30px;line-height:1.1;letter-spacing:-.055em;font-weight:500;margin:7px 0}.cms-heading p{color:#90978e;font-size:12px;margin:0}.cms-overline{font:9px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.13em;color:var(--lime)}.cms-live-pill{display:inline-flex;align-items:center;gap:7px;border:1px solid #c9f36a30;background:#c9f36a0b;color:var(--lime);padding:7px 10px;border-radius:999px;font:9px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.07em;white-space:nowrap}.cms-live-pill:before{content:'';width:5px;height:5px;border-radius:50%;background:var(--lime)}.cms-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin:25px 0}.cms-stat{padding:18px;border:1px solid var(--dark-line);background:#191d1a;border-radius:13px;position:relative;overflow:hidden}.cms-stat:after{content:'';position:absolute;right:-20px;top:-25px;width:80px;height:80px;border:1px solid #ffffff08;border-radius:50%;box-shadow:0 0 0 12px #ffffff03}.cms-stat span{display:block;color:#929990;font-size:10px}.cms-stat strong{display:block;font-size:29px;font-weight:500;letter-spacing:-.06em;margin:8px 0 3px}.cms-stat small{font-size:10px;color:#9cb87b}.cms-grid{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(260px,.8fr);gap:14px}.cms-panel{background:#191d1a;border:1px solid var(--dark-line);border-radius:14px;overflow:hidden;min-width:0}.cms-panel-head{padding:17px 18px;display:flex;align-items:center;justify-content:space-between;gap:12px;border-bottom:1px solid var(--dark-line)}.cms-panel-head h2{margin:0;font-size:13px;font-weight:600}.cms-panel-head p{margin:4px 0 0;font-size:10px;color:#899188}.cms-panel-content{padding:18px}.cms-page-row{display:flex;align-items:center;gap:12px;padding:13px 0;border-bottom:1px solid #ffffff0d}.cms-page-row:last-child{border-bottom:0}.cms-page-icon{width:38px;height:38px;border-radius:9px;border:1px solid var(--dark-line);background:#242a25;display:grid;place-items:center;font-size:16px}.cms-page-info{flex:1;min-width:0}.cms-page-info strong{display:block;font-size:12px;font-weight:500}.cms-page-info span{display:block;margin-top:4px;color:#8a9389;font-size:10px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.cms-status{font:9px 'DM Mono',monospace;color:var(--lime);border:1px solid #c9f36a24;background:#c9f36a09;border-radius:999px;padding:5px 7px}.cms-activity{display:grid;gap:16px}.activity-row{display:flex;align-items:start;gap:10px}.activity-dot{width:7px;height:7px;border-radius:50%;background:var(--lime);margin-top:5px;box-shadow:0 0 0 4px #c9f36a12;flex:0 0 auto}.activity-row strong{font-size:11px;font-weight:500;display:block}.activity-row p{font-size:10px;line-height:1.5;color:#8f978d;margin:3px 0 0}.cms-editor-layout{display:grid;grid-template-columns:minmax(255px,.72fr) minmax(0,1.28fr);gap:14px;align-items:start}.cms-fields{padding:18px}.cms-field{display:grid;gap:7px;margin-bottom:17px}.cms-field label{font:9px 'DM Mono',monospace;color:#9ba398;text-transform:uppercase;letter-spacing:.09em}.cms-field input,.cms-field textarea,.cms-field select{width:100%;border:1px solid #ffffff20;border-radius:8px;background:#111512;color:#f0f2ec;padding:11px 12px;font-size:12px;min-height:40px}.cms-field textarea{min-height:80px;resize:vertical;line-height:1.5}.cms-field input:focus,.cms-field textarea:focus{border-color:var(--lime)}.cms-help{color:#838c82;font-size:10px;margin:-9px 0 18px;line-height:1.5}.cms-form-actions{display:flex;gap:8px;flex-wrap:wrap;padding-top:10px;border-top:1px solid var(--dark-line)}.cms-preview-wrap{background:#202522;padding:10px;border:1px solid var(--dark-line);border-radius:13px;min-width:0}.cms-preview-toolbar{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:5px 4px 12px}.cms-preview-toolbar .devices{display:flex;gap:5px}.cms-device{background:transparent;border:1px solid #ffffff1c;color:#aab1a8;padding:6px 8px;border-radius:6px;font-size:9px}.cms-device.active{background:#333b32;color:var(--lime);border-color:#c9f36a4d}.cms-preview-screen{background:var(--paper);color:var(--ink);border-radius:9px;overflow:hidden;min-height:540px;transition:max-width .3s;margin:auto}.cms-preview-screen.mobile{max-width:390px}.cms-preview-screen.tablet{max-width:700px}.cms-preview-banner{padding:17px 20px 22px;background:#ffffff}.cms-preview-banner .tiny-wordmark{font-weight:700;font-size:10px;letter-spacing:-.03em;display:flex;justify-content:space-between;align-items:center}.cms-preview-banner .tiny-wordmark b{background:var(--ink);color:var(--lime);border-radius:50%;display:grid;place-items:center;width:22px;height:22px;font-size:12px}.cms-preview-banner .eyebrow{font-size:8px;margin-top:35px}.cms-preview-banner h2{font-size:clamp(33px,4vw,57px);line-height:.94;letter-spacing:-.08em;font-weight:500;margin:16px 0}.cms-preview-banner h2 em{font-family:'Instrument Serif',serif;font-weight:400}.cms-preview-banner p{font-size:10px;line-height:1.6;color:#646967;max-width:350px}.cms-preview-ctas{display:flex;gap:7px;margin-top:14px}.cms-preview-ctas span{font-size:8px;font-weight:700;background:var(--lime);padding:8px 10px;border-radius:99px}.cms-preview-ctas span+span{background:transparent;border:1px solid var(--line)}.cms-preview-art{margin:0 16px 16px;border-radius:9px;background:var(--dark);height:190px;display:grid;place-items:center;position:relative;overflow:hidden}.cms-preview-art .art-circle{width:130px;height:130px}.cms-preview-art .art-ring{width:165px;height:165px}.cms-preview-mini-services{padding:17px 20px;background:#191c1a;color:#ffffff}.cms-preview-mini-services .mono{font-size:8px;color:var(--lime)}.cms-preview-mini-services h3{font-size:25px;letter-spacing:-.06em;margin:10px 0}.cms-preview-mini-services p{font-size:9px;color:#a4aaa1}.cms-preview-mini-row{display:flex;justify-content:space-between;padding:10px 0;border-top:1px solid #ffffff20;font-size:10px}.cms-preview-footer{background:#191c1a;color:#8e958b;font-size:8px;padding:16px 20px;border-top:1px solid #ffffff20}.cms-sections{display:grid;gap:8px;padding:18px}.cms-section-item{display:flex;align-items:center;gap:10px;padding:11px;border:1px solid #ffffff15;border-radius:8px;background:#141815;cursor:grab}.cms-section-item:active{cursor:grabbing}.cms-section-item.dragging{opacity:.45}.cms-section-item .grip{color:#7e887c;font-size:15px}.cms-section-item .section-item-info{flex:1}.cms-section-item strong{display:block;font-size:11px;font-weight:500}.cms-section-item span{display:block;font-size:9px;color:#838c82;margin-top:3px}.cms-section-item button{background:transparent;border:1px solid #ffffff22;color:#b8c0b5;border-radius:6px;width:27px;height:27px}.cms-collection-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:11px}.cms-collection-card{padding:18px;border:1px solid var(--dark-line);border-radius:12px;background:#191d1a;min-height:150px}.cms-collection-card .collection-icon{font-size:20px;margin-bottom:18px}.cms-collection-card strong{display:block;font-weight:500;font-size:12px}.cms-collection-card span{font-size:10px;color:#8f978d;display:block;margin-top:4px}.cms-tag{display:inline-flex;padding:6px 8px;border:1px solid #ffffff1b;color:#a4aca2;border-radius:5px;font:9px 'DM Mono',monospace;letter-spacing:.03em;margin:5px 4px 0 0}.cms-empty{padding:34px 18px;text-align:center;color:#9ba398;border:1px dashed #ffffff22;border-radius:12px}.cms-toast{position:fixed;bottom:22px;right:22px;background:#e5f9bd;color:#192016;border-radius:10px;padding:12px 15px;z-index:100;box-shadow:0 20px 50px #0004;font-size:12px;animation:toast-in .25s var(--ease)}.cms-mobile-menu{display:none}.cms-data-note{font-size:10px;color:#8e978c;background:#c9f36a09;border:1px solid #c9f36a20;padding:10px 12px;border-radius:8px;line-height:1.5;margin-top:14px}.cms-section-visibility{font-size:9px;color:#aeb7aa}.cms-inline-edit{cursor:pointer;position:relative}.cms-inline-edit:hover{outline:1px dashed #96b55b;outline-offset:3px}.cms-preview-hint{display:flex;align-items:center;gap:8px;color:#a5ada2;font-size:10px;margin:10px 2px 0}.cms-preview-hint span{color:var(--lime)}
@keyframes intro-out{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-100%,0)}}@keyframes line-in{from{transform:scaleX(0)}to{transform:scaleX(1)}}@keyframes spin{to{transform:rotate(360deg)}}@keyframes float{0%,100%{transform:translateY(0) scale(1)}50%{transform:translateY(-14px) scale(1.025)}}@keyframes ring-drift{to{transform:rotate(335deg) scaleY(.42)}}@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}.reveal{opacity:0;transform:translateY(18px);transition:opacity .7s var(--ease),transform .7s var(--ease)}.reveal.visible{opacity:1;transform:none}
@media(max-width:1000px){.container,.header-inner{width:calc(100% - 44px)}.hero-grid{grid-template-columns:1fr .85fr;gap:22px}.hero-art{min-height:455px}.art-circle{width:280px;height:280px}.art-ring{width:350px;height:350px}.hero h1{font-size:clamp(56px,8vw,84px)}.nav{gap:16px}.nav a{font-size:11px}.work-grid{gap:14px}.project-visual{min-height:300px}.process-grid{grid-template-columns:repeat(2,1fr)}.cms-layout{grid-template-columns:205px minmax(0,1fr)}.cms-sidebar{padding-inline:10px}.cms-grid{grid-template-columns:1fr}.cms-editor-layout{grid-template-columns:1fr}.cms-preview-screen{min-height:450px}.cms-preview-art{height:150px}}
@media(max-width:760px){.container,.header-inner{width:calc(100% - 36px)}.site-header{height:70px}.nav{display:none;position:absolute;top:69px;left:0;right:0;background:var(--paper);padding:18px;flex-direction:column;align-items:stretch;gap:0;border-bottom:1px solid var(--line);box-shadow:0 20px 30px #00000007}.nav.open{display:flex}.nav a{padding:13px 6px;border-bottom:1px solid var(--line);font-size:14px}.nav a:last-child{border-bottom:0}.header-actions .btn{display:none}.menu-toggle{display:grid}.hero{padding:64px 0 50px;min-height:auto}.hero-grid{grid-template-columns:1fr;gap:35px}.hero h1{font-size:clamp(57px,13.5vw,88px);margin-top:25px}.hero-description{font-size:15px}.hero-meta{margin-top:32px}.hero-art{min-height:380px}.art-circle{width:270px;height:270px}.art-ring{width:340px;height:340px}.hero-stamp{width:92px;height:92px;right:-7px;top:36%}.hero-stamp strong{font-size:20px}.hero-stamp span{font-size:8px}.section{padding:76px 0}.section-small{padding:48px 0}.section-head{align-items:start;flex-direction:column;margin-bottom:29px;gap:17px}.section-head h2,.section-title{font-size:clamp(38px,10vw,54px)}.section-head p{font-size:13px}.trust-inner{align-items:start;flex-direction:column;gap:12px}.trust-tags{gap:6px}.trust-tags span{font-size:10px}.work-grid{grid-template-columns:1fr;gap:29px}.project-visual{min-height:280px;aspect-ratio:1.18}.mock-browser{width:78%;height:77%}.mock-title{font-size:35px}.services-band{padding:27px 21px;border-radius:22px}.service-row{grid-template-columns:31px 1fr 34px;gap:10px;padding:21px 0}.service-row p{display:none}.service-row h3{font-size:24px}.service-arrow{width:34px;height:34px}.manifesto{grid-template-columns:1fr;gap:22px}.manifesto h2{font-size:clamp(39px,10vw,57px)}.manifesto .manifesto-bottom{align-items:start;flex-direction:column}.process-grid{grid-template-columns:1fr 1fr;gap:9px}.process-card{padding:16px;min-height:220px}.process-card h3{font-size:17px}.process-card p{font-size:11px}.capability-band{grid-template-columns:1fr;gap:27px;border-radius:22px;padding:29px 23px}.capability-band h2{font-size:48px}.capability-tags span{font-size:11px;padding:9px 11px}.cta-panel{align-items:start;flex-direction:column;border-radius:22px;padding:35px 25px}.cta-panel h2{font-size:clamp(46px,12vw,69px)}.footer-main{grid-template-columns:1fr 1fr;gap:29px;padding-bottom:38px}.footer-brand{grid-column:1/-1}.footer-bottom{align-items:start;flex-direction:column}.page-hero{padding:70px 0 49px}.page-hero h1{font-size:clamp(50px,12vw,75px)}.page-hero p{font-size:15px}.service-detail-grid{grid-template-columns:1fr}.detail-card{min-height:190px;padding:20px}.detail-card h3{margin-top:27px}.about-split{grid-template-columns:1fr;gap:25px}.contact-layout{grid-template-columns:1fr;gap:35px;padding:45px 0 76px}.contact-form{grid-template-columns:1fr}.field.full,.form-submit{grid-column:auto}.project-detail-hero{padding:45px 0}.project-detail-art{min-height:280px}.project-detail-art .mock-browser{height:230px}.project-meta-grid{grid-template-columns:1fr;gap:14px}.cms-topbar{height:62px;padding:0 14px}.cms-brand small{display:none}.cms-top-actions .btn-label{display:none}.cms-top-actions{gap:5px}.cms-layout{display:block}.cms-sidebar{display:none}.cms-main{padding:25px 14px 40px}.cms-heading{align-items:start;flex-direction:column;margin-bottom:20px}.cms-heading h1{font-size:27px}.cms-stats{grid-template-columns:1fr 1fr;gap:8px}.cms-stat{padding:14px}.cms-stat strong{font-size:25px}.cms-collection-grid{grid-template-columns:1fr 1fr}.cms-editor-layout{grid-template-columns:1fr}.cms-preview-screen{min-height:440px}.cms-preview-banner{padding:15px}.cms-preview-banner .eyebrow{margin-top:27px}.cms-preview-banner h2{font-size:44px}.cms-preview-art{height:130px}.cms-preview-mini-services h3{font-size:22px}.cms-mobile-menu{display:block;position:relative}.cms-mobile-menu select{background:#222723;color:#e9ece5;border:1px solid #ffffff25;border-radius:7px;padding:8px 23px 8px 9px;font-size:10px;max-width:120px}.cms-data-note{font-size:9px}.toast-region{bottom:12px;right:12px}}
@media(max-width:420px){.hero h1{font-size:56px}.hero-art{min-height:320px}.art-circle{width:218px;height:218px}.art-ring{width:285px;height:285px}.process-grid{grid-template-columns:1fr}.process-card{min-height:190px}.process-icon{margin:20px 0 15px}.footer-main{gap:20px}.footer-col a{font-size:12px}.cms-collection-grid{grid-template-columns:1fr}.cms-stat strong{font-size:22px}.cms-preview-banner h2{font-size:37px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{scroll-behavior:auto!important;animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}.reveal{opacity:1;transform:none}}


/* Live preview, enquiry inbox and media library */
.cms-preview-screen iframe{display:block;width:100%;height:660px;border:0;border-radius:9px;background:var(--paper)}
.cms-preview-screen.mobile{width:390px;max-width:100%;overflow:hidden}
.cms-preview-screen.tablet{width:700px;max-width:100%;overflow:hidden}
.cms-preview-screen.mobile iframe,.cms-preview-screen.tablet iframe{width:100%;height:700px}
.cms-preview-hint{font-size:10px;line-height:1.6;color:#a4aca2;margin:11px 5px 3px}
.cms-preview-hint span{color:var(--lime);margin-right:5px}
.cms-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.cms-media-card{border:1px solid var(--dark-line);background:#191d1a;border-radius:12px;overflow:hidden;min-width:0}
.cms-media-preview{aspect-ratio:4/3;background:#101310;display:grid;place-items:center;overflow:hidden}
.cms-media-preview img,.cms-media-preview video{width:100%;height:100%;object-fit:cover}.cms-media-preview video{background:#101310}
.cms-media-type-note{margin:8px 0;color:#8f978d;font-size:12px;letter-spacing:.04em}
.cms-media-info{padding:13px;min-width:0}
.cms-media-info>strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:11px;font-weight:500}
.cms-media-info>span{display:block;color:#8f978d;font-size:10px;margin:5px 0 12px}
.cms-media-info label,.inquiry-status-label{display:grid;gap:6px;color:#9ba398;font:9px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.08em}
.cms-media-info input,.inquiry-status-label select{width:100%;min-width:0;border:1px solid #ffffff20;border-radius:7px;background:#111512;color:#f0f2ec;padding:9px;font:11px 'DM Sans',sans-serif;text-transform:none;letter-spacing:normal}
.cms-media-info .cms-form-actions{margin-top:12px;gap:6px}
.inquiry-card{display:grid;grid-template-columns:minmax(0,1fr) 150px;gap:20px;padding:18px 0;border-bottom:1px solid #ffffff12}
.inquiry-card:last-child{border-bottom:0}
.inquiry-title{display:flex;align-items:center;gap:8px;flex-wrap:wrap}
.inquiry-title strong{font-size:13px;font-weight:600}
.inquiry-main>a{display:inline-block;margin-top:7px;color:var(--lime);font-size:11px}
.inquiry-main>p{color:#c3c9bf;font-size:12px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:12px 0}
.inquiry-meta{color:#899188;font-size:10px;line-height:1.5}
.inquiry-status-label select{margin-top:2px}
.seo-page-fields{border:1px solid #ffffff12;border-radius:10px;padding:14px;margin-bottom:12px}
.seo-page-fields>.cms-overline{margin-bottom:12px}
[data-preview-editable="true"]{cursor:pointer;outline-offset:4px;transition:outline-color .18s,background-color .18s}
[data-preview-editable="true"]:hover,[data-preview-editable="true"]:focus-visible{outline:2px dashed #c9f36a;outline-offset:4px}
@media(max-width:900px){.cms-media-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.cms-preview-screen iframe{height:620px}}
@media(max-width:560px){.cms-media-grid{grid-template-columns:1fr}.inquiry-card{grid-template-columns:1fr}.inquiry-status-label{max-width:220px}.cms-preview-screen.mobile{width:100%}.cms-preview-screen.mobile iframe{height:680px}}


.history-row{display:flex;align-items:center;gap:12px;padding:14px 0;border-bottom:1px solid #ffffff12}
.history-row:last-child{border-bottom:0}
.history-mark{width:34px;height:34px;border:1px solid #c9f36a2a;background:#c9f36a0b;color:var(--lime);border-radius:9px;display:grid;place-items:center;flex:0 0 auto}
.history-info{flex:1;min-width:0}
.history-info strong{display:block;font-size:11px;font-weight:600;text-transform:capitalize}
.history-info span{display:block;margin-top:4px;color:#8f978d;font-size:10px;line-height:1.5}
@media(max-width:560px){.history-row{align-items:flex-start;flex-wrap:wrap}.history-info{min-width:calc(100% - 50px)}.history-row>.cms-btn{margin-left:46px}}


/* Minimal Anthromini loader: centered brand lockup and bottom progress bar. */
.intro-mark{position:fixed;inset:0;z-index:5000;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:clamp(24px,4.5vw,64px) clamp(24px,4vw,56px) clamp(28px,5vh,46px);overflow:hidden;isolation:isolate;background:radial-gradient(ellipse at 50% 48%,rgba(201,243,106,.055),transparent 38%),var(--ink);color:var(--paper);pointer-events:none;animation:none;transform:translate3d(0,0,0);will-change:transform}
.intro-center{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(28px,4.5vh,42px);width:100%;min-height:0}
.intro-identity{display:flex;align-items:center;justify-content:center;gap:clamp(14px,2vw,22px);max-width:100%;animation:intro-brand-in .65s cubic-bezier(.2,.75,.2,1) both}
.intro-logo-mark{position:relative;display:grid;place-items:center;width:clamp(56px,6vw,72px);aspect-ratio:1;flex:0 0 auto;border-radius:18px;background:#242725;box-shadow:0 8px 26px rgba(0,0,0,.16)}
.intro-logo-mark .intro-symbol{position:relative;z-index:1;color:var(--lime);font-size:clamp(34px,4vw,46px);font-family:'DM Sans',Arial,sans-serif;font-weight:800;letter-spacing:-.13em;line-height:1;padding-right:.13em}
.intro-logo-mark .intro-symbol span{color:var(--lime)}
.intro-wordmark{display:block;color:var(--paper);font-family:'DM Sans',Arial,sans-serif;font-size:clamp(25px,3.1vw,35px);font-weight:700;line-height:1;letter-spacing:-.055em;white-space:nowrap}
.intro-progress{flex:0 0 auto;align-self:center;width:min(420px,calc(100vw - 64px));height:2px;overflow:hidden;border-radius:999px;background:rgba(255,255,255,.14)}
.intro-progress span{display:block;width:26%;height:100%;border-radius:999px;background:var(--lime);transform:translateX(-110%);animation:intro-progress 2.6s cubic-bezier(.55,.05,.45,.95) infinite}
.intro-mark.is-leaving{animation:intro-out 1s cubic-bezier(.65,0,.35,1) forwards;pointer-events:none}
@keyframes intro-brand-in{from{opacity:0;transform:translate3d(0,8px,0)}to{opacity:1;transform:translate3d(0,0,0)}}
@keyframes intro-out{from{transform:translate3d(0,0,0)}to{transform:translate3d(0,-100%,0)}}
@keyframes intro-progress{to{transform:translateX(390%)}}
@media(max-width:600px){.intro-mark{padding:24px 24px 30px}.intro-identity{gap:14px}.intro-logo-mark{width:54px;border-radius:15px}.intro-wordmark{font-size:clamp(24px,7vw,30px)}.intro-progress{width:min(320px,calc(100vw - 56px))}}
@media(prefers-reduced-motion:reduce){.intro-mark{animation:none!important}.intro-identity,.intro-progress span{animation:none!important}.intro-progress span{transform:translateX(0)}}


/* ==========================================================================
   ANTHROMINI — ART DIRECTION V2
   Editorial minimalism · selective glassmorphism · interactive storytelling
   Public-facing site only. CMS and server UI remain untouched.
   ========================================================================== */

:root {
  --am-paper: #FFFFFF;
  --am-carbon: #181A1B;
  --am-lime: #C9F36A;
  --am-steel: #858B94;
  --am-glass-light: rgba(255, 255, 255, .58);
  --am-glass-dark: rgba(24, 26, 27, .62);
  --am-glass-line: rgba(255, 255, 255, .48);
  --am-shadow-soft: 0 22px 70px rgba(24, 26, 27, .09);
}

/* Navigation: a deliberate floating glass surface, not a heavy pill UI. */
.site-header {
  height: 76px;
  background: rgba(255, 255, 255, .78);
  -webkit-backdrop-filter: blur(22px) saturate(135%);
  backdrop-filter: blur(22px) saturate(135%);
  border-bottom-color: rgba(24, 26, 27, .08);
}
.site-header.scrolled {
  background: rgba(255, 255, 255, .91);
  border-bottom-color: rgba(24, 26, 27, .12);
}
.header-inner {
  width: min(1360px, calc(100% - 72px));
}
.wordmark {
  gap: 12px;
  letter-spacing: -.055em;
}
.wordmark-symbol {
  width: 35px;
  height: 35px;
  border-radius: 12px;
  background: var(--am-carbon);
  color: var(--am-lime);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}
.nav {
  gap: 5px;
  padding: 5px;
  border: 1px solid rgba(24,26,27,.07);
  border-radius: 999px;
  background: rgba(255,255,255,.36);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.nav a {
  padding: 10px 15px;
  border-radius: 999px;
  transition: background .22s ease, color .22s ease, transform .22s ease;
}
.nav a:hover {
  transform: translateY(-1px);
  background: rgba(201,243,106,.28);
}
.nav a[aria-current="page"] {
  background: var(--am-carbon);
  color: var(--am-paper);
}
.header-actions .btn {
  border-radius: 999px;
  min-height: 44px;
  padding-inline: 21px;
}
.btn {
  border-radius: 999px;
  min-height: 48px;
  padding: 0 22px;
  letter-spacing: -.015em;
}
.btn-primary {
  box-shadow: 0 5px 0 rgba(24,26,27,.08);
}
.btn-primary:hover,
.btn-dark:hover {
  transform: translateY(-2px);
}

/* Hero: editorial copy against a custom, atmospheric generative canvas. */
.hero {
  min-height: 720px;
  padding: clamp(74px, 8vw, 116px) 0 88px;
  background:
    radial-gradient(ellipse at 88% 7%, rgba(201,243,106,.19), transparent 32%),
    linear-gradient(180deg, #FFFFFF 0%, #F5F6F3 100%);
}
.hero:before {
  content: "";
  position: absolute;
  width: 540px;
  height: 540px;
  left: -340px;
  top: 18%;
  border: 1px solid rgba(24,26,27,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 48px rgba(24,26,27,.018), 0 0 0 96px rgba(24,26,27,.014);
  pointer-events: none;
}
.hero-grid {
  width: min(1360px, calc(100% - 72px));
  grid-template-columns: minmax(0, 1.04fr) minmax(390px, .96fr);
  gap: clamp(34px, 5vw, 78px);
}
.hero-copy {
  padding: 12px 0 24px;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 13px;
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.hero .eyebrow:before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--am-lime);
  box-shadow: 0 0 0 4px rgba(201,243,106,.22);
}
.hero h1 {
  max-width: 760px;
  margin: 30px 0 26px;
  font-size: clamp(58px, 7.4vw, 112px);
  line-height: .88;
  letter-spacing: -.095em;
  font-weight: 500;
}
.hero h1 .italic {
  display: inline-block;
  padding-right: .06em;
  color: #5F665D;
  font-size: 1.035em;
}
.hero-description {
  max-width: 425px;
  font-size: 16px;
  line-height: 1.78;
}
.hero-actions {
  gap: 12px;
}
.hero-actions .btn:not(.btn-primary) {
  border: 1px solid rgba(24,26,27,.14);
  background: rgba(255,255,255,.42);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.hero-meta {
  margin-top: 38px;
  padding-top: 19px;
  border-top: 1px solid rgba(24,26,27,.12);
}
.avatar-stack .avatar {
  border: 2px solid var(--am-paper);
  box-shadow: 0 4px 14px rgba(24,26,27,.09);
}

/* The hero artwork has its own material language: ink, luminous lime, frosted glass. */
.hero-visual-wrap {
  position: relative;
  isolation: isolate;
  padding: 0 0 24px 18px;
}
.hero-art {
  min-height: 550px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.14);
  background:
    radial-gradient(ellipse at 56% 40%, rgba(201,243,106,.13), transparent 46%),
    linear-gradient(145deg, #222625 0%, #141716 74%);
  box-shadow: 0 36px 90px rgba(24,26,27,.18), inset 0 1px 0 rgba(255,255,255,.08);
}
.art-grid {
  opacity: .7;
  background-size: 42px 42px;
  mask-image: linear-gradient(135deg, #000 0%, rgba(0,0,0,.68) 52%, transparent 100%);
}
.art-circle {
  width: min(76%, 410px);
  aspect-ratio: 1;
  height: auto;
  background:
    radial-gradient(circle at 32% 25%, #e6ff9d 0%, #c9f36a 18%, #9fcb47 42%, #5e792d 68%, #252e1b 100%);
  box-shadow: inset -22px -30px 65px rgba(15,20,12,.32), inset 12px 14px 34px rgba(255,255,255,.3), 0 0 80px rgba(201,243,106,.12);
  transform: translate(1%, -1%);
  animation: am-float 8s ease-in-out infinite;
}
.art-ring {
  width: 84%;
  height: 54%;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 50%;
  transform: rotate(-31deg);
  box-shadow: 0 0 30px rgba(201,243,106,.035);
}
.art-ring.ring-2 {
  width: 66%;
  height: 94%;
  border-color: rgba(201,243,106,.38);
  transform: rotate(33deg);
}
.art-orbit {
  width: 12px;
  height: 12px;
  border: 3px solid #171a17;
  border-radius: 50%;
  background: var(--am-lime);
  box-shadow: 0 0 0 7px rgba(201,243,106,.14), 0 0 24px rgba(201,243,106,.65);
  transform: translate(155px, -130px);
}
.art-label,
.art-bottom,
.art-coordinate {
  z-index: 3;
}
.art-label {
  left: 24px;
  top: 24px;
  padding: 12px 15px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 14px;
  background: rgba(255,255,255,.075);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}
.art-label p {
  margin-top: 7px;
}
.art-bottom {
  left: 24px;
  bottom: 24px;
  padding: 10px 13px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  background: rgba(255,255,255,.075);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.art-coordinate {
  right: 24px;
  bottom: 24px;
  display: grid;
  justify-items: end;
  gap: 4px;
}
.art-coordinate strong {
  font-size: 21px;
  letter-spacing: -.06em;
}
.hero-stamp {
  right: -22px;
  bottom: 0;
  padding: 17px 20px;
  border: 1px solid rgba(255,255,255,.72);
  border-radius: 18px;
  background: rgba(255,255,255,.68);
  color: var(--am-carbon);
  box-shadow: var(--am-shadow-soft);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  transform: rotate(2deg);
}
.hero-stamp strong {
  color: #5e762c;
}
@keyframes am-float {
  0%, 100% { transform: translate(1%, -1%); }
  50% { transform: translate(1%, 1.4%); }
}

/* A slim proof-of-fit strip keeps the page grounded after the expressive hero. */
.trust-strip {
  border-top: 1px solid rgba(24,26,27,.09);
  border-bottom: 1px solid rgba(24,26,27,.09);
  background: rgba(255,255,255,.3);
}
.trust-inner {
  min-height: 82px;
  gap: 26px;
}
.trust-tags {
  gap: 9px;
}
.trust-tags span {
  padding: 9px 13px;
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.35);
  font-size: 11px;
}

/* Section rhythm and typographic contrast. */
.section {
  padding-top: clamp(82px, 9vw, 132px);
  padding-bottom: clamp(82px, 9vw, 132px);
}
.section-small {
  padding-top: clamp(48px, 5.5vw, 78px);
  padding-bottom: clamp(48px, 5.5vw, 78px);
}
.section-head {
  align-items: end;
  gap: 34px;
  margin-bottom: 34px;
}
.section-head h2 {
  letter-spacing: -.085em;
}
.section-head > p {
  max-width: 430px;
  line-height: 1.75;
}

/* Selected work: framed concept windows with subtle glass overlays. */
.work-grid {
  gap: 30px 22px;
}
.project-card {
  position: relative;
  border-radius: 22px;
  transition: transform .35s cubic-bezier(.2,.7,.2,1);
}
.project-card:hover {
  transform: translateY(-5px);
}
.project-visual {
  border-radius: 22px;
  min-height: 360px;
  border: 1px solid rgba(24,26,27,.08);
  box-shadow: 0 12px 35px rgba(24,26,27,.045);
}
.project-visual:after {
  background: linear-gradient(145deg, rgba(255,255,255,.08), transparent 42%, rgba(0,0,0,.14));
}
.mock-browser {
  width: 78%;
  border: 1px solid rgba(255,255,255,.66);
  border-radius: 13px;
  overflow: hidden;
  background: rgba(250,249,244,.72);
  box-shadow: 0 25px 70px rgba(24,26,27,.16);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: transform .45s cubic-bezier(.2,.7,.2,1), box-shadow .45s ease;
}
.project-card:hover .mock-browser {
  transform: translateY(-4px) scale(1.015);
  box-shadow: 0 32px 80px rgba(24,26,27,.2);
}
.browser-bar {
  min-height: 34px;
  padding: 0 11px;
  background: rgba(255,255,255,.62);
  border-bottom: 1px solid rgba(24,26,27,.08);
}
.browser-dot {
  width: 6px;
  height: 6px;
}
.browser-word {
  letter-spacing: .12em;
}
.mock-hero {
  min-height: 250px;
  padding: 27px 24px 20px;
}
.mock-title {
  font-size: clamp(25px, 3.2vw, 39px);
  letter-spacing: -.08em;
}
.mock-shape {
  filter: saturate(.9);
}
.project-arrow {
  top: 16px;
  right: 16px;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 50%;
  background: rgba(255,255,255,.45);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.project-info {
  padding: 17px 3px 0;
}
.project-info h3 {
  font-size: 20px;
  letter-spacing: -.055em;
}
.project-info p {
  margin-top: 5px;
}
.project-number {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(24,26,27,.12);
  border-radius: 50%;
  font: 10px 'DM Mono', monospace;
}

/* Services: strong dark field with clear rows and a restrained lime signal. */
.services-band {
  border-radius: 30px;
  padding: clamp(30px, 5.5vw, 76px);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 28px 80px rgba(24,26,27,.1);
  background:
    radial-gradient(ellipse at 100% 0%, rgba(201,243,106,.11), transparent 40%),
    linear-gradient(140deg, #202422 0%, #151817 74%);
}
.services-band:after {
  color: rgba(255,255,255,.035);
}
.service-row {
  padding: 24px 0;
  border-bottom-color: rgba(255,255,255,.14);
  transition: padding .25s ease, background .25s ease;
}
.service-row:hover {
  padding-left: 12px;
  padding-right: 12px;
  background: linear-gradient(90deg, rgba(201,243,106,.08), transparent);
}
.service-no {
  color: var(--am-lime);
}
.service-arrow {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: rgba(255,255,255,.05);
}

/* Philosophy: typography is the visual, not another card. */
.manifesto {
  gap: clamp(30px, 7vw, 100px);
}
.manifesto h2 {
  max-width: 950px;
  font-size: clamp(40px, 6.3vw, 84px);
  line-height: .98;
  letter-spacing: -.09em;
}
.manifesto h2 em {
  color: #687b3f;
}
.manifesto .manifesto-bottom {
  margin-top: 28px;
  padding-top: 22px;
  border-top-color: rgba(24,26,27,.13);
}

/* Process cards: frosted layers only where they help signal depth. */
.process-grid {
  gap: 13px;
}
.process-card {
  position: relative;
  overflow: hidden;
  border-radius: 19px;
  padding: 24px;
  border-color: rgba(24,26,27,.1);
  background: rgba(255,255,255,.38);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.process-card:before {
  content: "";
  position: absolute;
  width: 140px;
  height: 140px;
  right: -86px;
  top: -86px;
  border: 1px solid rgba(24,26,27,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 22px rgba(24,26,27,.018), 0 0 0 44px rgba(24,26,27,.012);
  pointer-events: none;
}
.process-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 44px rgba(24,26,27,.065), inset 0 1px 0 #fff;
}
.process-icon {
  border: 1px solid rgba(24,26,27,.08);
  background: rgba(201,243,106,.38);
  border-radius: 13px;
}
.process-card h3 {
  letter-spacing: -.05em;
}

/* Capability chips: tactile and quiet, rather than a wall of pills. */
.capability-band {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(24,26,27,.06);
  border-radius: 30px;
  background:
    radial-gradient(ellipse at 100% 0%, rgba(255,255,255,.65), transparent 48%),
    #e8e9e0;
}
.capability-band:after {
  content: "";
  position: absolute;
  width: 310px;
  height: 310px;
  right: -210px;
  bottom: -225px;
  border: 1px solid rgba(24,26,27,.08);
  border-radius: 50%;
  box-shadow: 0 0 0 32px rgba(24,26,27,.02), 0 0 0 64px rgba(24,26,27,.014);
  pointer-events: none;
}
.capability-tags {
  position: relative;
  z-index: 1;
  gap: 10px;
}
.capability-tags span {
  padding: 11px 15px;
  border-color: rgba(24,26,27,.14);
  background: rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.capability-tags span:hover {
  background: var(--am-lime);
  border-color: rgba(24,26,27,.22);
}

/* Conversion panel: a decisive high-contrast ending. */
.cta-panel {
  border-radius: 30px;
  border: 1px solid rgba(24,26,27,.08);
  background:
    radial-gradient(ellipse at 92% 0%, rgba(255,255,255,.42), transparent 36%),
    var(--am-lime);
  box-shadow: 0 22px 55px rgba(92,117,41,.12);
}
.cta-panel:after {
  border-color: rgba(24,26,27,.17);
  box-shadow: 0 0 0 36px rgba(24,26,27,.045), 0 0 0 72px rgba(24,26,27,.025);
}
.cta-panel .btn {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}

/* Inner pages: keep the same art direction beyond the homepage. */
.page-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(82px, 9vw, 128px) 0 78px;
  background:
    radial-gradient(ellipse at 90% 10%, rgba(201,243,106,.16), transparent 32%),
    linear-gradient(180deg, #FFFFFF, #F5F6F3);
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 380px;
  height: 380px;
  right: -255px;
  bottom: -250px;
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 36px rgba(24,26,27,.02), 0 0 0 72px rgba(24,26,27,.015);
  pointer-events: none;
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero .eyebrow {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 999px;
  background: rgba(255,255,255,.4);
}
.page-hero h1 em {
  color: #667940;
}
.detail-card {
  border-radius: 20px;
  border-color: rgba(24,26,27,.11);
  background: rgba(255,255,255,.36);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
  transition: transform .28s ease, background .28s ease, box-shadow .28s ease;
}
.detail-card:hover {
  transform: translateY(-4px);
  background: rgba(255,255,255,.72);
  box-shadow: 0 18px 42px rgba(24,26,27,.07);
}
.contact-layout {
  padding-top: 72px;
  padding-bottom: 100px;
  gap: clamp(34px, 6vw, 88px);
}
.contact-form {
  padding: clamp(22px, 4vw, 40px);
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 24px;
  background: rgba(255,255,255,.48);
  box-shadow: 0 22px 60px rgba(24,26,27,.06), inset 0 1px 0 rgba(255,255,255,.75);
}
.contact-form input,
.contact-form select,
.contact-form textarea {
  border-radius: 12px;
  border-color: rgba(24,26,27,.16);
  background: rgba(255,255,255,.72);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: #8ca94b;
  box-shadow: 0 0 0 3px rgba(201,243,106,.28);
}
.contact-note {
  padding: 20px;
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 16px;
  background: rgba(255,255,255,.38);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.about-split {
  gap: clamp(30px, 7vw, 100px);
}
.project-detail-hero .project-detail-art {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--am-shadow-soft);
}
.not-found {
  min-height: 62vh;
  display: grid;
  align-items: center;
}

/* Footer remains dark and calm, with a clearer editorial hierarchy. */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 92% 0%, rgba(201,243,106,.08), transparent 34%),
    #181A1B;
}
.site-footer:before {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -320px;
  top: -250px;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  box-shadow: 0 0 0 42px rgba(255,255,255,.018), 0 0 0 84px rgba(255,255,255,.012);
  pointer-events: none;
}
.footer-main,
.footer-bottom {
  position: relative;
  z-index: 1;
}
.site-footer .wordmark-symbol {
  background: var(--am-lime);
  color: var(--am-carbon);
}
.footer-bottom {
  border-top-color: rgba(255,255,255,.15);
}

/* Focus states are visible over the new glass surfaces. */
.site-header a:focus-visible,
main:not(.cms-main) a:focus-visible,
main:not(.cms-main) button:focus-visible,
.site-footer a:focus-visible {
  outline: 3px solid #8da94d;
  outline-offset: 4px;
  border-radius: 5px;
}

/* Responsive composition: simplify layers before shrinking the content. */
@media (max-width: 980px) {
  .header-inner,
  .hero-grid {
    width: min(100% - 48px, 760px);
  }
  .hero {
    min-height: 0;
    padding: 74px 0 68px;
  }
  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 44px;
  }
  .hero-copy {
    max-width: 760px;
  }
  .hero-art {
    min-height: clamp(360px, 62vw, 510px);
  }
  .hero-visual-wrap {
    padding-left: 0;
    padding-right: 15px;
  }
  .hero-stamp {
    right: 0;
  }
  .trust-inner {
    align-items: flex-start;
    flex-direction: column;
    padding-top: 19px;
    padding-bottom: 19px;
  }
  .trust-tags {
    flex-wrap: wrap;
  }
  .process-grid {
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
}
@media (max-width: 600px) {
  .site-header {
    height: 70px;
  }
  .header-inner,
  .hero-grid {
    width: calc(100% - 36px);
  }
  .nav {
    border-radius: 18px;
    padding: 8px;
  }
  .nav a {
    border-radius: 10px;
  }
  .hero {
    padding: 54px 0 52px;
  }
  .hero h1 {
    font-size: clamp(49px, 13.5vw, 76px);
    line-height: .91;
    margin-top: 24px;
  }
  .hero-description {
    font-size: 15px;
  }
  .hero-meta {
    margin-top: 27px;
  }
  .hero-art {
    min-height: 350px;
    border-radius: 22px;
  }
  .art-circle {
    width: 70%;
  }
  .art-label {
    left: 14px;
    top: 14px;
    padding: 9px 11px;
  }
  .art-bottom {
    left: 13px;
    bottom: 13px;
    font-size: 9px;
    padding: 8px 10px;
  }
  .art-coordinate {
    right: 14px;
    bottom: 16px;
  }
  .art-coordinate strong {
    font-size: 17px;
  }
  .hero-stamp {
    right: -1px;
    bottom: -2px;
    padding: 12px 14px;
    border-radius: 14px;
  }
  .hero-stamp strong {
    font-size: 20px;
  }
  .section,
  .section-small {
    padding-top: 64px;
    padding-bottom: 64px;
  }
  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 26px;
  }
  .work-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .project-visual {
    min-height: 310px;
    aspect-ratio: 1.05;
    border-radius: 18px;
  }
  .mock-browser {
    width: 82%;
  }
  .mock-hero {
    min-height: 220px;
    padding: 22px 18px 17px;
  }
  .mock-title {
    font-size: clamp(26px, 8vw, 34px);
  }
  .services-band,
  .capability-band,
  .cta-panel {
    border-radius: 22px;
  }
  .services-band {
    padding: 25px 20px;
  }
  .service-row {
    grid-template-columns: 36px minmax(0,1fr) 34px;
    gap: 10px;
    padding: 19px 0;
  }
  .service-row p {
    grid-column: 2 / 3;
    grid-row: 2;
  }
  .service-arrow {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
  }
  .manifesto {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .process-grid {
    grid-template-columns: 1fr;
  }
  .process-card {
    min-height: 0;
  }
  .process-icon {
    margin: 21px 0 16px;
  }
  .capability-band {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 27px 21px;
  }
  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    padding: 28px 22px;
  }
  .cta-panel .btn {
    align-self: flex-start;
  }
  .page-hero {
    padding: 70px 0 54px;
  }
  .page-hero h1 {
    font-size: clamp(44px, 12vw, 68px);
  }
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
  .contact-layout {
    padding-top: 45px;
    padding-bottom: 65px;
  }
  .contact-form {
    padding: 21px 17px;
    border-radius: 19px;
  }
  .footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 30px 22px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }
}
@media (max-width: 380px) {
  .hero h1 {
    font-size: 46px;
  }
  .hero-art {
    min-height: 310px;
  }
  .hero-stamp {
    transform: scale(.92) rotate(2deg);
    transform-origin: right bottom;
  }
  .art-bottom {
    max-width: 60%;
    white-space: nowrap;
  }
  .footer-main {
    grid-template-columns: 1fr;
  }
  .footer-brand {
    grid-column: auto;
  }
}

/* Glass surfaces degrade cleanly where backdrop filtering is unavailable. */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255,255,255,.97); }
  .nav,
  .hero .eyebrow,
  .hero-actions .btn:not(.btn-primary),
  .art-label,
  .art-bottom,
  .hero-stamp,
  .mock-browser,
  .capability-tags span,
  .contact-note {
    background: rgba(255,255,255,.96);
  }
  .art-label,
  .art-bottom {
    background: rgba(24,26,27,.94);
  }
}

/* Reduced motion: remove ambient movement without hiding content or controls. */
@media (prefers-reduced-motion: reduce) {
  .art-circle {
    animation: none !important;
    transform: none;
  }
  .project-card,
  .mock-browser,
  .process-card,
  .service-row,
  .btn,
  .nav a {
    transition: none !important;
  }
  .project-card:hover,
  .mock-browser:hover,
  .process-card:hover,
  .btn:hover,
  .nav a:hover {
    transform: none !important;
  }
}



/* Anthromini white palette + intentionally visible glassmorphism */
:root {
  --glass-light: rgba(255,255,255,.62);
  --glass-bright: rgba(255,255,255,.76);
  --glass-border: rgba(255,255,255,.72);
  --glass-shadow: 0 18px 55px rgba(24,26,27,.13), inset 0 1px 0 rgba(255,255,255,.9);
}
body { background: #fff; }
.site-header {
  background: rgba(255,255,255,.76);
  border-bottom-color: rgba(24,26,27,.08);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
}
.site-header.scrolled {
  background: rgba(255,255,255,.84);
  box-shadow: 0 8px 28px rgba(24,26,27,.045);
}
.hero-art {
  background:
    radial-gradient(ellipse at 72% 24%, rgba(201,243,106,.2), transparent 36%),
    linear-gradient(145deg, #202321, #101211 72%);
}
.hero-art::before {
  content: "";
  position: absolute;
  z-index: 2;
  width: clamp(150px, 43%, 245px);
  height: 176px;
  right: 8%;
  top: 31%;
  border: 1px solid var(--glass-border);
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(255,255,255,.34), rgba(255,255,255,.08) 55%, rgba(201,243,106,.13));
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  backdrop-filter: blur(22px) saturate(155%);
  box-shadow: 0 24px 60px rgba(0,0,0,.25), inset 0 1px 0 rgba(255,255,255,.6), inset 0 -1px 0 rgba(255,255,255,.12);
  pointer-events: none;
}
.art-label, .art-coordinate, .art-bottom {
  z-index: 3;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(18,21,19,.42);
  border-radius: 12px;
  padding: 12px 14px;
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  backdrop-filter: blur(16px) saturate(140%);
}
.art-label { top: 22px; left: 22px; }
.art-coordinate { right: 20px; bottom: 20px; }
.art-bottom { left: 20px; bottom: 20px; padding: 10px 12px; }
.hero-stamp {
  background: rgba(201,243,106,.82);
  border: 1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  box-shadow: 0 18px 45px rgba(24,26,27,.15), inset 0 1px 0 rgba(255,255,255,.8);
}
.hero-actions .btn:not(.btn-primary) {
  background: rgba(255,255,255,.68);
  border-color: rgba(24,26,27,.18);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.project-visual {
  background-color: #f2f3ef;
  border: 1px solid rgba(24,26,27,.055);
}
.project-card:nth-child(2) .project-visual { background-color: #e9ece7; }
.project-card:nth-child(3) .project-visual { background-color: #e4ebe2; }
.project-card:nth-child(4) .project-visual { background-color: #e8ecf4; }
.project-card:nth-child(5) .project-visual { background-color: #f2e8df; }
.project-card:nth-child(6) .project-visual { background-color: #eceaf3; }
.project-arrow {
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.88);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 22px rgba(24,26,27,.09), inset 0 1px 0 #fff;
}
.mock-browser {
  border: 1px solid rgba(255,255,255,.6);
  box-shadow: 0 28px 70px rgba(24,26,27,.16), inset 0 1px 0 rgba(255,255,255,.7);
}
.process-card, .detail-card {
  background: rgba(255,255,255,.68);
  border-color: rgba(24,26,27,.12);
  box-shadow: 0 7px 24px rgba(24,26,27,.025), inset 0 1px 0 rgba(255,255,255,.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.process-card:hover, .detail-card:hover {
  background: rgba(255,255,255,.92);
  border-color: rgba(154,189,69,.58);
  box-shadow: 0 18px 40px rgba(24,26,27,.075), inset 0 1px 0 #fff;
}
.capability-band {
  background: linear-gradient(135deg, #f4f6ef, #e9eee2);
  border: 1px solid rgba(24,26,27,.06);
}
.capability-tags span {
  background: rgba(255,255,255,.48);
  border-color: rgba(24,26,27,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.contact-form {
  padding: clamp(22px, 3vw, 38px);
  border: 1px solid rgba(24,26,27,.09);
  border-radius: 22px;
  background: rgba(255,255,255,.76);
  box-shadow: 0 18px 55px rgba(24,26,27,.055), inset 0 1px 0 #fff;
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  backdrop-filter: blur(18px) saturate(140%);
}
.field input, .field textarea, .field select {
  background: rgba(255,255,255,.78);
}
.toast {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .site-header { background: rgba(255,255,255,.97); }
  .hero-art::before { background: rgba(255,255,255,.2); }
  .hero-actions .btn:not(.btn-primary), .project-arrow,
  .process-card, .detail-card, .contact-form { background: #fff; }
}
@media (max-width: 600px) {
  .hero-art::before {
    width: 42%;
    height: 125px;
    right: 7%;
    top: 30%;
  }
}

/* FINAL PALETTE OVERRIDE — pure white, carbon, electric lime, subtle steel/sage. */
:root { --paper: #FFFFFF; --white: #FFFFFF; --am-paper: #FFFFFF; --paper-2: #F5F6F3; }
html, body { background-color: #FFFFFF; }
.site-header { background: rgba(255,255,255,.89); }
.cms-preview-banner { background: #FFFFFF; }
.capability-band { background: #F5F6F3; }

/* ANTHROMINI HEADER ONLY — floating capsule with a continuously moving RGB edge. */
@property --anthromini-rgb-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

@keyframes anthromini-rgb-border {
  to { --anthromini-rgb-angle: 360deg; }
}

.site-header {
  position: sticky;
  isolation: isolate;
  width: min(1320px, calc(100% - 48px));
  height: 76px;
  margin: 14px auto 0;
  top: 12px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: rgba(255,255,255,.84);
  -webkit-backdrop-filter: blur(24px) saturate(155%);
  backdrop-filter: blur(24px) saturate(155%);
  box-shadow: 0 10px 34px rgba(24,26,27,.09), 0 0 18px rgba(0,229,255,.13), 0 0 24px rgba(255,67,189,.11);
  animation: none;
}

/* The masked pseudo-element keeps the RGB light confined to the full capsule edge. */
.site-header::before {
  content: "";
  position: absolute;
  inset: -1px;
  z-index: 0;
  padding: 2px;
  border-radius: inherit;
  pointer-events: none;
  background: conic-gradient(
    from var(--anthromini-rgb-angle),
    #ff3158 0deg,
    #ff8a28 48deg,
    #f7ff38 92deg,
    #35f28c 138deg,
    #00e5ff 184deg,
    #3478ff 230deg,
    #a34bff 276deg,
    #ff43bd 322deg,
    #ff3158 360deg
  );
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: exclude;
  animation: anthromini-rgb-border 5s linear infinite, anthromini-rgb-hue 10s linear infinite;
}

@keyframes anthromini-rgb-hue {
  to { filter: hue-rotate(360deg); }
}

.site-header > .header-inner {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 48px));
}

.site-header.scrolled {
  border-color: transparent;
  background: rgba(255,255,255,.90);
  box-shadow: 0 12px 36px rgba(24,26,27,.11), 0 0 18px rgba(0,229,255,.16), 0 0 25px rgba(255,67,189,.13);
}

@media (max-width: 980px) {
  .site-header {
    width: calc(100% - 36px);
  }
  .site-header > .header-inner {
    width: calc(100% - 30px);
  }
}

@media (max-width: 760px) {
  .site-header {
    width: calc(100% - 24px);
    height: 66px;
    margin-top: 9px;
    top: 8px;
  }

  .site-header > .header-inner {
    width: calc(100% - 26px);
    gap: 10px;
  }

  .site-header .nav {
    top: calc(100% + 10px);
    left: -1px;
    right: -1px;
    padding: 10px;
    border: 1px solid rgba(24,26,27,.10);
    border-radius: 22px;
    background: rgba(255,255,255,.96);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
    box-shadow: 0 18px 40px rgba(24,26,27,.12);
  }

  .site-header .nav a {
    border-radius: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header::before {
    animation: none !important;
    filter: hue-rotate(0deg);
  }
}

/* FINAL HEADER GLASS PASS — intentionally limited to the floating navigation capsule. */
.site-header {
  background-color: rgba(255, 255, 255, .34) !important;
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(255, 72, 130, .20), transparent 42%),
    radial-gradient(ellipse at 88% 100%, rgba(0, 220, 255, .19), transparent 44%),
    radial-gradient(ellipse at 52% 0%, rgba(201, 243, 106, .24), transparent 58%),
    linear-gradient(118deg, rgba(255,255,255,.82), rgba(255,255,255,.20) 40%, rgba(255,255,255,.48));
  -webkit-backdrop-filter: blur(28px) saturate(175%);
  backdrop-filter: blur(28px) saturate(175%);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow:
    0 16px 42px rgba(24,26,27,.12),
    0 0 22px rgba(0,229,255,.22),
    0 0 28px rgba(255,67,189,.18),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(255,255,255,.28);
}

/* Preserve the RGB outline; keep the colored glass reflections inside its edge. */
.site-header::after {
  content: "";
  position: absolute;
  inset: 2px;
  z-index: 0;
  border-radius: inherit;
  pointer-events: none;
  background-image:
    linear-gradient(118deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.20) 24%,
      rgba(255,255,255,.035) 48%,
      rgba(255,255,255,.16) 72%,
      rgba(255,255,255,.48) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E");
  background-size: 100% 100%, 180px 180px;
  background-repeat: no-repeat, repeat;
  background-blend-mode: screen, soft-light;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.42);
}

.site-header.scrolled {
  background-color: rgba(255,255,255,.38) !important;
  box-shadow:
    0 18px 46px rgba(24,26,27,.14),
    0 0 25px rgba(0,229,255,.22),
    0 0 30px rgba(255,67,189,.19),
    inset 0 1px 0 rgba(255,255,255,.92);
}

/* Keep navigation text and controls above the glass reflection layer. */
.site-header > .header-inner {
  position: relative;
  z-index: 2;
}

/* If reduced-motion is enabled, keep the RGB edge moving slowly rather than freezing it. */
@media (prefers-reduced-motion: reduce) {
  .site-header::before {
    animation: anthromini-rgb-hue 12s linear infinite !important;
  }
}

@media (max-width: 760px) {
  .site-header .nav {
    background-color: rgba(255,255,255,.76);
    background-image: linear-gradient(130deg, rgba(255,255,255,.92), rgba(201,243,106,.13), rgba(0,229,255,.08));
    border: 1px solid rgba(255,255,255,.78);
    box-shadow: 0 18px 42px rgba(24,26,27,.13), inset 0 1px 0 rgba(255,255,255,.9);
  }
}


/* HERO MOTION ART DIRECTION — scoped exclusively to the homepage hero */
.hero-motion-stage {
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(ellipse at 78% 17%, rgba(201,243,106,.14), transparent 34%),
    radial-gradient(ellipse at 18% 85%, rgba(133,139,148,.13), transparent 38%),
    linear-gradient(145deg,#202321 0%,#111412 74%);
  perspective: 1100px;
  isolation: isolate;
}
.hero-stage-grid {
  position:absolute; inset:0; pointer-events:none; opacity:.42;
  background-image:linear-gradient(rgba(255,255,255,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.055) 1px,transparent 1px);
  background-size:34px 34px;
  mask-image:linear-gradient(180deg,#000 0%,transparent 94%);
}
.hero-stage-top,.hero-stage-bottom {
  position:absolute;left:22px;right:22px;z-index:8;display:flex;align-items:center;justify-content:space-between;gap:12px;
  color:rgba(255,255,255,.62);font:9px 'DM Mono',monospace;letter-spacing:.09em;
}
.hero-stage-top{top:20px}
.hero-stage-bottom{bottom:19px;font-size:8px;color:rgba(255,255,255,.52)}
.hero-stage-bottom i{font-style:normal;color:var(--lime)}
.hero-live{display:flex;align-items:center;gap:7px;font-size:8px}
.hero-live i,.hero-dashboard-head>span i,.hero-dashboard-foot b i,.hero-tag-pulse{display:inline-block;width:6px;height:6px;border-radius:50%;background:var(--lime);box-shadow:0 0 0 4px rgba(201,243,106,.12),0 0 16px rgba(201,243,106,.65)}
.hero-stage-browser,.hero-dashboard,.hero-mobile-card{position:absolute;will-change:transform;transform:translate3d(var(--motion-x,0px),var(--motion-y,0px),0);transition:transform .24s cubic-bezier(.2,.75,.2,1)}
.hero-stage-browser{left:7%;top:16%;width:69%;height:60%;min-height:265px;border:1px solid rgba(255,255,255,.7);border-radius:13px;background:#f5f5ef;color:#181a1b;overflow:hidden;box-shadow:0 32px 80px rgba(0,0,0,.34);transform:translate3d(var(--motion-x,0px),var(--motion-y,0px),0) rotateY(-7deg) rotateX(2deg);animation:hero-browser-arrive .9s cubic-bezier(.2,.75,.2,1) both}
.hero-browser-bar{height:27px;display:flex;align-items:center;gap:12px;padding:0 10px;background:#fff;border-bottom:1px solid #181a1b12}
.hero-browser-dots{display:flex;gap:4px}.hero-browser-dots i{width:5px;height:5px;border-radius:50%;background:#c8cbc2}
.hero-browser-url{font:7px 'DM Mono',monospace;color:#858b94;margin:auto}
.hero-browser-menu{font-size:10px;color:#858b94}
.hero-browser-content{position:relative;height:calc(100% - 27px);padding:12px 15px;overflow:hidden;background:radial-gradient(ellipse at 75% 65%,#dfe8cf,transparent 48%),#f5f5ef}
.hero-browser-nav{display:flex;align-items:center;justify-content:space-between;font-size:7px;color:#565c54}
.hero-browser-nav b{font-size:8px;letter-spacing:.03em}.hero-browser-nav i{font-style:normal;font-size:13px}
.hero-browser-copy{position:absolute;left:7%;top:28%;z-index:2;display:flex;flex-direction:column;align-items:flex-start;gap:8px}
.hero-browser-copy .mono{font-size:7px;color:#656b61}
.hero-browser-copy strong{font-size:clamp(22px,3vw,43px);line-height:.86;letter-spacing:-.075em;font-weight:600}
.hero-browser-copy em{font-family:'Instrument Serif',serif;font-weight:400;color:#6c7a55}
.hero-browser-cta{display:flex;align-items:center;gap:15px;margin-top:5px;padding:7px 10px;background:#181a1b;color:#fff;border-radius:99px;font-size:7px}
.hero-browser-cta b{color:var(--lime)}
.hero-product-orbit{position:absolute;right:3%;top:18%;width:49%;height:80%;animation:hero-product-float 6s ease-in-out infinite}
.hero-product-disc{position:absolute;width:86%;aspect-ratio:1;top:8%;left:7%;border-radius:50%;background:radial-gradient(circle at 32% 24%,#f4ffd7 0,#c9f36a 27%,#9dbd4b 58%,#71863e 76%);box-shadow:inset -16px -20px 30px #26331d20,0 20px 45px #6d87382a}
.hero-product-vase{position:absolute;z-index:1;width:31%;height:44%;top:27%;left:34%;border-radius:43% 43% 22% 22% / 25% 25% 12% 12%;background:linear-gradient(90deg,#e6e8db,#fffef6 35%,#c6cbb8 78%,#8b927f);box-shadow:inset -8px 0 12px #68705c35,0 12px 22px #30372a22;transform:rotate(7deg)}
.hero-product-vase:before{content:'';position:absolute;left:19%;right:19%;top:-4%;height:9%;border-radius:50%;background:#9da68a;border:2px solid #f8faee}
.hero-product-shadow{position:absolute;width:60%;height:11%;left:22%;bottom:12%;border-radius:50%;background:#20251c22;filter:blur(8px)}
.hero-product-index{position:absolute;right:0;bottom:2%;font:7px 'DM Mono',monospace;color:#727a68}
.hero-dashboard{z-index:4;right:5%;bottom:17%;width:46%;padding:13px 13px 11px;border:1px solid rgba(255,255,255,.17);border-radius:12px;background:linear-gradient(145deg,rgba(38,43,39,.97),rgba(20,23,21,.96));color:#f5f7ef;box-shadow:0 24px 60px #0005, inset 0 1px #ffffff12;animation:hero-dashboard-arrive 1s .16s cubic-bezier(.2,.75,.2,1) both}
.hero-dashboard-head{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#aeb5a8;font:6px 'DM Mono',monospace;letter-spacing:.04em}
.hero-dashboard-head>span{display:flex;align-items:center;gap:7px}.hero-dashboard-head>span i{width:5px;height:5px}
.hero-dashboard-head>b{color:var(--lime);font-size:6px;font-weight:400}
.hero-dashboard-title{display:flex;justify-content:space-between;margin:13px 0 10px;font-size:10px;font-weight:500}.hero-dashboard-title span{color:var(--lime)}
.hero-dashboard-stats{display:grid;grid-template-columns:1fr 1fr;gap:7px}
.hero-dashboard-stats>div{padding:8px;border:1px solid #ffffff13;border-radius:7px;background:#ffffff05}
.hero-dashboard-stats small{display:block;font:6px 'DM Mono',monospace;color:#929a8e;letter-spacing:.05em}
.hero-dashboard-stats strong{display:inline-block;margin-top:3px;font-size:20px;line-height:1.1;letter-spacing:-.06em}
.hero-dashboard-stats em{display:block;margin-top:3px;color:var(--lime);font:6px 'DM Mono',monospace;font-style:normal}
.hero-chart{height:42px;display:flex;align-items:end;gap:5px;padding:8px 4px 3px;border-bottom:1px solid #ffffff16}
.hero-chart span{flex:1;height:var(--bar);border-radius:3px 3px 0 0;background:linear-gradient(180deg,#c9f36a,#829f3f);transform-origin:bottom;animation:hero-bar-rise .75s calc(.25s + var(--bar)*.004) cubic-bezier(.2,.75,.2,1) both}
.hero-dashboard-foot{display:flex;align-items:center;justify-content:space-between;margin-top:9px;font-size:7px;color:#aab0a5}
.hero-dashboard-foot b{display:flex;align-items:center;gap:6px;color:#dce6cc;font-size:7px;font-weight:500}
.hero-dashboard-foot b i{width:5px;height:5px;box-shadow:none}
.hero-mobile-card{z-index:5;right:7%;top:12%;width:23%;min-width:105px;max-width:145px;height:54%;min-height:250px;border:3px solid #e7e9e1;border-radius:22px;padding:12px 10px;color:#181a1b;background:linear-gradient(150deg,#fff,#eef1e7);box-shadow:0 22px 50px #0005, inset 0 0 0 1px #181a1b12;animation:hero-phone-arrive .85s .28s cubic-bezier(.2,.75,.2,1) both,hero-phone-float 7s 1.2s ease-in-out infinite}
.hero-mobile-camera{position:absolute;top:5px;left:50%;transform:translateX(-50%);width:29%;height:7px;border-radius:99px;background:#181a1b}
.hero-mobile-top{display:flex;justify-content:space-between;margin-top:7px;font-size:6px;font-weight:700}
.hero-mobile-mark{margin:20px 0 17px;font-size:25px;font-weight:700;letter-spacing:-.1em}
.hero-mobile-card>.mono{font-size:6px;color:#777e6e}
.hero-mobile-card>strong{display:block;margin-top:8px;font-size:clamp(16px,2vw,23px);line-height:.95;letter-spacing:-.07em}
.hero-mobile-button{display:flex;justify-content:space-between;align-items:center;margin-top:20px;padding:9px 8px;border-radius:99px;background:var(--lime);font-size:7px;font-weight:700}
.hero-mobile-button span{font-size:12px}
.hero-mobile-home{position:absolute;bottom:6px;left:50%;width:28%;height:3px;border-radius:99px;background:#181a1b35;transform:translateX(-50%)}
.hero-float-tag{position:absolute;z-index:7;display:flex;align-items:center;gap:9px;padding:10px 12px;border:1px solid rgba(255,255,255,.19);border-radius:10px;background:rgba(28,32,29,.84);-webkit-backdrop-filter:blur(16px);backdrop-filter:blur(16px);color:#f3f5ed;box-shadow:0 12px 30px #0003;animation:hero-tag-enter .7s .45s cubic-bezier(.2,.75,.2,1) both}
.hero-float-tag--one{left:5%;bottom:16%}.hero-float-tag--two{right:5%;top:20%;animation-delay:.58s}
.hero-float-tag b{display:block;font-size:8px;font-weight:600}.hero-float-tag small{display:block;margin-top:3px;font-size:7px;color:#aab1a3}
.hero-tag-icon{display:grid;place-items:center;width:24px;height:24px;border-radius:7px;background:var(--lime);color:#181a1b;font-size:14px}
.hero-tag-pulse{width:7px;height:7px;margin:0 7px}
@keyframes hero-browser-arrive{from{opacity:0;transform:translate3d(-20px,18px,0) rotateY(-7deg) rotateX(2deg)}to{opacity:1;transform:translate3d(var(--motion-x,0px),var(--motion-y,0px),0) rotateY(-7deg) rotateX(2deg)}}
@keyframes hero-dashboard-arrive{from{opacity:0;transform:translate3d(28px,20px,0) scale(.94)}to{opacity:1;transform:translate3d(var(--motion-x,0px),var(--motion-y,0px),0) scale(1)}}
@keyframes hero-phone-arrive{from{opacity:0;transform:translate3d(18px,25px,0) rotate(7deg) scale(.94)}to{opacity:1;transform:translate3d(var(--motion-x,0px),var(--motion-y,0px),0) rotate(4deg) scale(1)}}
@keyframes hero-phone-float{0%,100%{margin-top:0}50%{margin-top:-8px}}
@keyframes hero-tag-enter{from{opacity:0;translate:0 10px}to{opacity:1;translate:0 0}}
@keyframes hero-product-float{0%,100%{transform:translateY(0) rotate(0)}50%{transform:translateY(-8px) rotate(2deg)}}
@keyframes hero-bar-rise{from{transform:scaleY(.08);opacity:.35}to{transform:scaleY(1);opacity:1}}
.hero-motion-stage .hero-stamp{display:none}
@media(max-width:980px){
 .hero-motion-stage{min-height:500px}
 .hero-stage-browser{left:6%;top:17%;width:75%;height:58%}
 .hero-dashboard{right:5%;bottom:13%;width:48%}
 .hero-mobile-card{right:6%;top:12%;width:21%;height:52%}
 .hero-float-tag--one{left:4%;bottom:12%}
 .hero-float-tag--two{right:4%;top:19%}
}
@media(max-width:600px){
 .hero-motion-stage{min-height:410px;border-radius:22px}
 .hero-stage-top,.hero-stage-bottom{left:13px;right:13px}
 .hero-stage-top{top:13px;font-size:7px}.hero-live{font-size:6px}
 .hero-stage-bottom{bottom:12px;font-size:6px}
 .hero-stage-browser{left:4%;top:18%;width:84%;height:48%;min-height:200px}
 .hero-browser-copy strong{font-size:28px}
 .hero-product-orbit{right:0;width:48%}
 .hero-dashboard{right:4%;bottom:15%;width:61%;padding:10px}
 .hero-mobile-card{right:5%;top:13%;width:25%;min-width:85px;height:47%;min-height:205px;padding:10px 8px;border-radius:18px}
 .hero-mobile-mark{margin:16px 0 12px;font-size:20px}
 .hero-mobile-card>strong{font-size:16px}
 .hero-mobile-button{margin-top:14px;padding:7px}
 .hero-float-tag{padding:7px 9px;gap:6px}
 .hero-float-tag b{font-size:7px}.hero-float-tag small{font-size:6px}
 .hero-tag-icon{width:20px;height:20px}
 .hero-float-tag--one{left:3%;bottom:8%}.hero-float-tag--two{right:3%;top:20%}
}
@media(max-width:380px){
 .hero-motion-stage{min-height:360px}
 .hero-dashboard{width:65%;bottom:14%}
 .hero-mobile-card{min-width:76px;min-height:190px}
 .hero-stage-bottom span:last-child{display:none}
}
@media(prefers-reduced-motion:reduce){
 .hero-motion-stage *, .hero-motion-stage *::before,.hero-motion-stage *::after{animation:none!important;transition:none!important}
 .hero-stage-browser,.hero-dashboard,.hero-mobile-card{transform:none!important}
}


/* ANTHROMINI CINEMATIC 3D HERO — scoped to the homepage hero artwork only */
.hero-motion-stage {
  --scene-lime: #c9f36a;
  min-height: 560px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.16);
  background:
    radial-gradient(ellipse at 52% 45%, rgba(201,243,106,.13), transparent 30%),
    radial-gradient(ellipse at 82% 15%, rgba(201,243,106,.08), transparent 34%),
    linear-gradient(145deg,#202321 0%,#111412 76%);
  perspective: 1200px;
}
.hero-motion-stage .hero-stage-grid {
  opacity: .3;
  background-size: 42px 42px;
  mask-image: radial-gradient(ellipse at center, #000 8%, transparent 78%);
}
.hero-motion-stage .hero-stage-top,
.hero-motion-stage .hero-stage-bottom {
  position: absolute;
  z-index: 8;
  left: 22px;
  right: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: #c6cbc0;
  font: 8px 'DM Mono',monospace;
  letter-spacing: .09em;
}
.hero-motion-stage .hero-stage-top { top: 22px; }
.hero-motion-stage .hero-stage-bottom { bottom: 20px; font-size: 7px; color: #92998f; }
.hero-motion-stage .hero-live { font-size: 8px; }
.hero-cinematic-scene {
  position: absolute;
  z-index: 1;
  width: min(78%,430px);
  aspect-ratio: 1;
  left: 50%;
  top: 48%;
  transform: translate(-50%,-50%);
  transform-style: preserve-3d;
}
.hero-scene-halo {
  position: absolute;
  inset: 14%;
  border-radius: 50%;
  background: var(--scene-lime);
  opacity: .12;
  filter: blur(42px);
  animation: anthro-halo-breathe 6s ease-in-out infinite;
}
.hero-core-wrap {
  position: absolute;
  z-index: 3;
  width: 48%;
  aspect-ratio: 1;
  left: 26%;
  top: 26%;
  border-radius: 39% 61% 55% 45% / 45% 38% 62% 55%;
  transform-style: preserve-3d;
  animation: anthro-core-float 7s ease-in-out infinite;
  filter: drop-shadow(0 28px 25px rgba(0,0,0,.35));
}
.hero-core {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    radial-gradient(ellipse at 31% 22%,rgba(255,255,255,.92),transparent 10%),
    radial-gradient(ellipse at 34% 27%,#d7e0bd 0%,#89937c 13%,#394036 33%,#171b18 57%,#080a09 72%);
  box-shadow: inset -20px -24px 38px rgba(0,0,0,.72), inset 9px 8px 18px rgba(255,255,255,.2), 0 0 55px rgba(201,243,106,.11);
  transform: rotate(-18deg);
}
.hero-core-highlight {
  position: absolute;
  width: 46%;
  height: 16%;
  left: 22%;
  top: 17%;
  border-radius: 50%;
  background: rgba(255,255,255,.36);
  filter: blur(12px);
  transform: rotate(-35deg);
}
.hero-orbit {
  position: absolute;
  z-index: 4;
  left: 4%;
  top: 22%;
  width: 92%;
  height: 55%;
  border: 1px solid rgba(221,233,207,.82);
  border-radius: 50%;
  transform: rotate(-31deg);
  box-shadow: 0 0 13px rgba(201,243,106,.1), inset 0 0 8px rgba(255,255,255,.08);
  animation: anthro-orbit-one 16s linear infinite;
}
.hero-orbit::after {
  content: '';
  position: absolute;
  inset: 3px;
  border: 1px solid rgba(201,243,106,.18);
  border-radius: inherit;
}
.hero-orbit span {
  position: absolute;
  left: 14%;
  top: 10%;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: radial-gradient(circle at 32% 25%,#fff,#c9f36a 34%,#66852c 70%);
  box-shadow: 0 0 22px rgba(201,243,106,.65);
}
.hero-orbit--two {
  z-index: 2;
  left: -3%;
  top: 27%;
  width: 106%;
  height: 46%;
  border-color: rgba(201,243,106,.86);
  transform: rotate(36deg);
  animation: anthro-orbit-two 19s linear infinite;
}
.hero-orbit--two span {
  left: auto;
  right: 13%;
  top: 77%;
  width: 8px;
  height: 8px;
}
.hero-orbit--three {
  z-index: 2;
  left: 19%;
  top: 0;
  width: 62%;
  height: 100%;
  border-color: rgba(255,255,255,.28);
  transform: rotate(54deg);
  animation: anthro-orbit-three 24s linear infinite;
}
.hero-orbit--three span {
  left: 50%;
  top: -5px;
  width: 6px;
  height: 6px;
  background: #fff;
  box-shadow: 0 0 16px #fff;
}
.hero-scene-spark {
  position: absolute;
  z-index: 5;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 15px 3px rgba(255,255,255,.4);
  animation: anthro-spark 3.6s ease-in-out infinite;
}
.hero-scene-spark--one { left: 18%; top: 32%; }
.hero-scene-spark--two { right: 16%; top: 39%; animation-delay: -1.2s; }
.hero-scene-spark--three { left: 35%; bottom: 13%; animation-delay: -2.2s; }
.hero-service-float {
  position: absolute;
  z-index: 6;
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 185px;
  padding: 13px 15px;
  color: #f4f5ee;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 12px;
  background: linear-gradient(135deg,rgba(42,47,42,.88),rgba(22,25,22,.74));
  box-shadow: 0 18px 48px rgba(0,0,0,.24), inset 0 1px rgba(255,255,255,.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transform-style: preserve-3d;
  animation: anthro-card-drift 6s ease-in-out infinite;
}
.hero-service-float > span:last-child { display: grid; gap: 3px; }
.hero-service-float small {
  color: var(--scene-lime);
  font: 7px 'DM Mono',monospace;
  letter-spacing: .08em;
}
.hero-service-float b { font-size: 11px; font-weight: 600; letter-spacing: -.02em; }
.hero-service-float em { color: #aeb5a9; font-size: 8px; font-style: normal; }
.hero-service-icon {
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(201,243,106,.34);
  border-radius: 9px;
  color: var(--scene-lime);
  background: rgba(201,243,106,.07);
  font-size: 16px;
}
.hero-service-float--web { left: 3%; top: 22%; animation-delay: -.7s; }
.hero-service-float--software { right: 3%; top: 39%; animation-delay: -2.1s; }
.hero-service-float--ai { left: 16%; bottom: 17%; animation-delay: -3.4s; }
.hero-scene-caption {
  position: absolute;
  z-index: 6;
  right: 22px;
  bottom: 66px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c4cbbd;
  font: 7px 'DM Mono',monospace;
  letter-spacing: .09em;
}
.hero-caption-line { width: 24px; height: 1px; background: var(--scene-lime); }
.hero-motion-stage .hero-stage-bottom { padding-top: 12px; border-top: 1px solid rgba(255,255,255,.1); }
.hero-motion-stage [data-motion-depth] { transition: transform .2s cubic-bezier(.2,.75,.2,1); will-change: transform; }
.hero-motion-stage .hero-service-float:hover {
  border-color: rgba(201,243,106,.68);
  box-shadow: 0 20px 55px rgba(0,0,0,.32),0 0 24px rgba(201,243,106,.08),inset 0 1px rgba(255,255,255,.12);
}
.hero .hero-copy > .eyebrow,
.hero .hero-copy h1,
.hero .hero-copy .hero-description,
.hero .hero-copy .hero-actions,
.hero .hero-copy .hero-meta {
  animation: anthro-copy-reveal .75s cubic-bezier(.2,.75,.2,1) both;
}
.hero .hero-copy h1 { animation-delay: .1s; }
.hero .hero-copy .hero-description { animation-delay: .22s; }
.hero .hero-copy .hero-actions { animation-delay: .32s; }
.hero .hero-copy .hero-meta { animation-delay: .42s; }
.hero-motion-stage .hero-stage-top { animation: anthro-copy-reveal .65s .12s both; }
.hero-motion-stage .hero-service-float--web { animation-name: anthro-card-in,anthro-card-drift; animation-duration: .85s,6s; animation-delay: .22s,-.7s; animation-fill-mode: both,none; }
.hero-motion-stage .hero-service-float--software { animation-name: anthro-card-in,anthro-card-drift; animation-duration: .85s,6s; animation-delay: .38s,-2.1s; animation-fill-mode: both,none; }
.hero-motion-stage .hero-service-float--ai { animation-name: anthro-card-in,anthro-card-drift; animation-duration: .85s,6s; animation-delay: .54s,-3.4s; animation-fill-mode: both,none; }
@keyframes anthro-copy-reveal { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
@keyframes anthro-core-float { 0%,100% { transform: translate3d(0,0,0) rotate(-5deg); } 50% { transform: translate3d(0,-12px,18px) rotate(4deg); } }
@keyframes anthro-orbit-one { from { transform: rotate(-31deg); } to { transform: rotate(329deg); } }
@keyframes anthro-orbit-two { from { transform: rotate(36deg); } to { transform: rotate(-324deg); } }
@keyframes anthro-orbit-three { from { transform: rotate(54deg); } to { transform: rotate(414deg); } }
@keyframes anthro-card-drift { 0%,100% { translate: 0 0; } 50% { translate: 0 -7px; } }
@keyframes anthro-card-in { from { opacity: 0; scale: .94; } to { opacity: 1; scale: 1; } }
@keyframes anthro-halo-breathe { 0%,100% { opacity: .09; scale: .92; } 50% { opacity: .2; scale: 1.08; } }
@keyframes anthro-spark { 0%,100% { opacity: .25; transform: scale(.75); } 50% { opacity: 1; transform: scale(1.3); } }
@media (max-width: 980px) {
  .hero-motion-stage { min-height: 520px; }
  .hero-cinematic-scene { width: min(80%,390px); top: 48%; }
  .hero-service-float { min-width: 168px; padding: 11px 12px; }
  .hero-service-float--web { left: 2%; top: 20%; }
  .hero-service-float--software { right: 2%; top: 40%; }
  .hero-service-float--ai { left: 10%; bottom: 16%; }
}
@media (max-width: 600px) {
  .hero-motion-stage { min-height: 440px; }
  .hero-motion-stage .hero-stage-top { top: 15px; left: 14px; right: 14px; font-size: 6px; }
  .hero-motion-stage .hero-stage-top .mono { font-size: 6px; }
  .hero-cinematic-scene { width: 92%; top: 47%; }
  .hero-service-float { min-width: 0; gap: 7px; padding: 8px; border-radius: 9px; }
  .hero-service-float b { font-size: 9px; }
  .hero-service-float em { font-size: 7px; }
  .hero-service-float small { font-size: 6px; }
  .hero-service-icon { width: 25px; height: 25px; flex-basis: 25px; font-size: 12px; }
  .hero-service-float--web { left: 2%; top: 18%; }
  .hero-service-float--software { right: 2%; top: 40%; }
  .hero-service-float--ai { left: 5%; bottom: 17%; }
  .hero-scene-caption { right: 13px; bottom: 57px; font-size: 6px; }
  .hero-motion-stage .hero-stage-bottom { left: 14px; right: 14px; bottom: 13px; font-size: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-motion-stage .hero-cinematic-scene *,
  .hero-motion-stage .hero-service-float,
  .hero .hero-copy > .eyebrow,
  .hero .hero-copy h1,
  .hero .hero-copy .hero-description,
  .hero .hero-copy .hero-actions,
  .hero .hero-copy .hero-meta {
    animation: none !important;
    transition: none !important;
  }
  .hero-motion-stage .hero-cinematic-scene,
  .hero-motion-stage .hero-core-wrap,
  .hero-motion-stage .hero-orbit { transform: none; }
}

.hero-motion-stage .hero-cinematic-scene { translate: var(--scene-mx,0px) var(--scene-my,0px); transition: translate .18s ease-out; }


/* ANTHROMINI CINEMATIC HERO — final scoped motion pass */
.hero .hero-visual-wrap{min-width:0;position:relative;isolation:isolate}
.hero .hero-motion-stage{min-height:560px;overflow:visible;border:0;border-radius:0;background:transparent;box-shadow:none;perspective:1200px;isolation:isolate}
.hero .hero-motion-stage::before{display:none}
.hero .hero-motion-stage .hero-stage-grid{opacity:.12;background-image:linear-gradient(rgba(24,26,27,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(24,26,27,.055) 1px,transparent 1px);mask-image:radial-gradient(ellipse at center,#000,transparent 75%)}
.hero .hero-motion-stage .hero-stage-top,.hero .hero-motion-stage .hero-stage-bottom{color:rgba(24,26,27,.58)}
.hero .hero-motion-stage .hero-stage-top .mono{color:rgba(24,26,27,.6)}
.hero .hero-motion-stage .hero-live{color:#42483d}
.hero .hero-motion-stage .hero-stage-bottom{border-top-color:rgba(24,26,27,.16)}
.hero .hero-motion-stage .hero-cinematic-scene{position:absolute;inset:3% -3% 5% -3%;width:auto;height:auto;transform-style:preserve-3d;overflow:visible;z-index:1;pointer-events:none}
.hero .hero-motion-stage .hero-three-canvas{position:absolute;inset:0;width:100%;height:100%;display:block;z-index:2;pointer-events:none}
.hero .hero-motion-stage.has-webgl .hero-core-wrap,.hero .hero-motion-stage.has-webgl .hero-orbit,.hero .hero-motion-stage.has-webgl .hero-scene-spark{opacity:0!important;visibility:hidden!important}
.hero .hero-motion-stage.has-webgl .hero-scene-halo{opacity:.18}
.hero .hero-motion-stage .hero-scene-halo{position:absolute;width:76%;aspect-ratio:1;left:12%;top:8%;border-radius:50%;background:radial-gradient(circle,rgba(201,243,106,.2),rgba(201,243,106,.05) 42%,transparent 70%);filter:blur(14px);animation:anthro-halo-breathe 5.5s ease-in-out infinite}
.hero .hero-motion-stage .hero-service-float{background:linear-gradient(135deg,rgba(255,255,255,.83),rgba(247,248,241,.65));color:#181a1b;border:1px solid rgba(24,26,27,.15);box-shadow:0 20px 50px rgba(24,26,27,.12),inset 0 1px rgba(255,255,255,.98);backdrop-filter:blur(18px) saturate(140%);-webkit-backdrop-filter:blur(18px) saturate(140%);z-index:8}
.hero .hero-motion-stage .hero-service-float b{font-size:12px}
.hero .hero-motion-stage .hero-service-float em{color:#666d61}
.hero .hero-motion-stage .hero-service-float small{color:#718a37}
.hero .hero-motion-stage .hero-service-icon{background:rgba(201,243,106,.28);border-color:rgba(117,148,44,.28);color:#38471d}
.hero .hero-motion-stage .hero-service-float--web{left:-2%;top:16%}
.hero .hero-motion-stage .hero-service-float--software{right:-2%;top:36%}
.hero .hero-motion-stage .hero-service-float--ai{left:11%;bottom:13%}
.hero .hero-motion-stage .hero-stage-top{top:4px;left:4px;right:4px}
.hero .hero-motion-stage .hero-stage-bottom{left:4px;right:4px;bottom:2px}
.hero .hero-motion-stage .hero-scene-caption{color:#50574c}
.hero .hero-motion-stage .hero-caption-line{background:var(--lime-dark)}
.hero .hero-motion-stage .hero-service-float{will-change:transform,opacity}
.hero .hero-motion-stage .hero-service-float--web{animation:anthro-card-drift 6.4s ease-in-out infinite}
.hero .hero-motion-stage .hero-service-float--software{animation:anthro-card-drift 7.1s ease-in-out -2s infinite}
.hero .hero-motion-stage .hero-service-float--ai{animation:anthro-card-drift 6.7s ease-in-out -3.2s infinite}
.hero .hero-copy h1>span{display:inline-block;will-change:transform,opacity}
.hero .hero-copy h1{overflow:visible}
.hero .hero-motion-stage .hero-css-fallback-hidden .hero-core-wrap,.hero .hero-motion-stage .hero-css-fallback-hidden .hero-orbit{display:none}
@media(max-width:1000px){.hero .hero-motion-stage{min-height:500px}.hero .hero-motion-stage .hero-service-float--web{left:-1%}.hero .hero-motion-stage .hero-service-float--software{right:-1%}}
@media(max-width:760px){.hero .hero-motion-stage{min-height:430px}.hero .hero-motion-stage .hero-cinematic-scene{inset:4% -2% 7%}.hero .hero-motion-stage .hero-service-float{min-width:0;max-width:175px;padding:9px 10px}.hero .hero-motion-stage .hero-service-float--web{left:0;top:17%}.hero .hero-motion-stage .hero-service-float--software{right:0;top:40%}.hero .hero-motion-stage .hero-service-float--ai{left:7%;bottom:13%}.hero .hero-motion-stage .hero-stage-top{top:0}.hero .hero-motion-stage .hero-stage-bottom{bottom:0}}
@media(max-width:420px){.hero .hero-motion-stage{min-height:350px}.hero .hero-motion-stage .hero-service-float{max-width:145px;padding:7px}.hero .hero-motion-stage .hero-service-float b{font-size:9px}.hero .hero-motion-stage .hero-service-float em{font-size:7px}}
@media(prefers-reduced-motion:reduce){.hero .hero-motion-stage .hero-three-canvas{display:none}.hero .hero-motion-stage .hero-service-float,.hero .hero-motion-stage .hero-scene-halo{animation:none!important}.hero .hero-copy h1>span{will-change:auto}}


/* ANTHROMINI PARTICLE FIELD — refined, self-contained hero-only layer */
.hero .hero-motion-stage{overflow:visible;min-height:560px;background:transparent}
.hero .hero-motion-stage .hero-cinematic-scene{position:absolute;inset:3% -3% 6% -3%;width:auto;height:auto;aspect-ratio:auto;transform:none;transform-style:flat;overflow:hidden;pointer-events:none;border-radius:26px;background:radial-gradient(ellipse at 52% 47%,rgba(201,243,106,.11) 0%,rgba(201,243,106,.045) 31%,transparent 66%);}
.hero .hero-motion-stage .hero-particle-canvas{position:absolute;inset:0;display:block;width:100%;height:100%;z-index:2;pointer-events:none;}
.hero .hero-motion-stage .hero-field-marker{position:absolute;z-index:1;display:block;width:4px;height:4px;border-radius:50%;background:#c9f36a;box-shadow:0 0 0 4px rgba(201,243,106,.12);opacity:.7;}
.hero .hero-motion-stage .hero-field-marker--one{left:29%;top:25%;}
.hero .hero-motion-stage .hero-field-marker--two{right:23%;top:52%;width:3px;height:3px;opacity:.46;}
.hero .hero-motion-stage .hero-field-marker--three{left:46%;bottom:21%;width:2px;height:2px;opacity:.38;}
.hero .hero-motion-stage .hero-stage-grid{opacity:.22;background-image:linear-gradient(rgba(24,26,27,.045) 1px,transparent 1px),linear-gradient(90deg,rgba(24,26,27,.045) 1px,transparent 1px);mask-image:radial-gradient(ellipse at center,#000 5%,transparent 77%);}
.hero .hero-motion-stage .hero-stage-top,.hero .hero-motion-stage .hero-stage-bottom{pointer-events:none;}
.hero .hero-motion-stage .hero-service-float{transform-style:flat;transition:transform .28s cubic-bezier(.2,.75,.2,1),border-color .25s,box-shadow .25s;}
.hero .hero-motion-stage .hero-service-float:hover{transform:translateY(-5px) scale(1.018);}
.hero .hero-motion-stage .hero-service-float:hover{border-color:rgba(117,148,44,.38);box-shadow:0 24px 55px rgba(24,26,27,.14),0 0 0 1px rgba(201,243,106,.12),inset 0 1px rgba(255,255,255,.98);}
@media(max-width:1000px){.hero .hero-motion-stage{min-height:500px}.hero .hero-motion-stage .hero-cinematic-scene{inset:4% -2% 7%;}}
@media(max-width:760px){.hero .hero-motion-stage{min-height:430px}.hero .hero-motion-stage .hero-cinematic-scene{inset:5% -1% 8%;border-radius:20px}.hero .hero-motion-stage .hero-service-float{backdrop-filter:blur(12px);-webkit-backdrop-filter:blur(12px);}}
@media(max-width:420px){.hero .hero-motion-stage{min-height:350px}.hero .hero-motion-stage .hero-service-float{max-width:145px;padding:7px}.hero .hero-motion-stage .hero-service-float b{font-size:9px}.hero .hero-motion-stage .hero-service-float em{font-size:7px}}
@media(prefers-reduced-motion:reduce){.hero .hero-motion-stage .hero-service-float,.hero .hero-motion-stage .hero-field-marker{animation:none!important;transition:none!important}.hero .hero-motion-stage .hero-service-float{will-change:auto}.hero .hero-motion-stage .hero-particle-canvas{opacity:.88}}

/* Anthromini header CTA: black pill with an iridescent orbit ring on the icon only */
.header-actions .btn-project{gap:12px;min-height:44px;padding:5px 19px 5px 5px;border:1px solid #181a1b;background:#181a1b;color:#fff;overflow:visible;isolation:isolate;transition:border-color .25s,transform .25s var(--ease)}
.header-actions .btn-project:after{content:none}
.header-actions .btn-project:hover{background:#181a1b;border-color:#181a1b;color:#fff}
.project-ring-disc{position:relative;display:grid;place-items:center;flex:0 0 34px;width:34px;height:34px;border-radius:50%;background:#171918;isolation:isolate}
.project-ring-disc:before{content:"";position:absolute;inset:-1px;z-index:1;border-radius:inherit;background:conic-gradient(from 0turn,transparent 0 58%,#ff6ea9 68%,#ffd36e 76%,#6ef0ff 84%,transparent 92%);-webkit-mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2.5px));mask:radial-gradient(farthest-side,transparent calc(100% - 2.5px),#000 calc(100% - 2.5px));animation:project-ring-orbit 2.6s linear infinite,project-ring-hue 7s linear infinite;pointer-events:none}
.project-ring-disc svg{position:relative;z-index:2;display:block;width:15px;height:15px;color:#f7f7f8;transition:transform .25s var(--ease)}
.header-actions .btn-project:hover .project-ring-disc svg{transform:translateX(2px)}
.header-actions .btn-project:hover .project-ring-disc:before{animation-play-state:paused,running}
@keyframes project-ring-orbit{to{transform:rotate(1turn)}}
@keyframes project-ring-hue{to{filter:hue-rotate(360deg)}}
@media(max-width:760px){.header-actions .btn-project{display:inline-flex;min-height:40px;padding:3px 11px 3px 4px;gap:8px;font-size:10px}.header-actions .btn-project .project-ring-disc{flex-basis:30px;width:30px;height:30px}.header-actions .btn-project .project-ring-disc svg{width:13px;height:13px}}
@media(prefers-reduced-motion:reduce){.project-ring-disc:before{animation:none;transform:rotate(0);filter:none}.header-actions .btn-project,.project-ring-disc svg{transition:none}}

/* ANTHROMINI HERO — 2026 research-led editorial system + scroll-linked composition.
   Scope is intentionally limited to the public home hero. */
.hero-scroll-story {
  height: auto;
  min-height: 0;
  padding: 72px 0 60px;
  overflow: visible;
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 80% 33%, rgba(201,243,106,.12), transparent 34%),
    var(--paper);
}
.hero-scroll-sticky {
  position: relative;
  top: auto;
  height: auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
}
.hero-scroll-story .hero-grid {
  flex: 1 1 auto;
  width: min(var(--max),calc(100% - 72px));
  height: auto;
  min-height: 0;
  padding: 8px 0 10px;
  grid-template-columns: minmax(0,.96fr) minmax(0,1.04fr);
  gap: clamp(30px,4vw,72px);
  align-items: center;
}
.hero-scroll-story .hero-copy {
  max-width: 690px;
  min-width: 0;
  z-index: 3;
  transform-origin: left center;
}
.hero-scroll-story .hero-copy > .eyebrow {
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .105em;
  color: #454c40;
}
.hero-scroll-story .hero-copy h1 {
  max-width: 760px;
  margin: 25px 0 23px;
  font-size: clamp(58px,6.1vw,100px);
  line-height: .855;
  letter-spacing: -.092em;
  font-weight: 500;
  text-wrap: balance;
}
.hero-scroll-story .hero-copy h1 > span { display: inline-block; }
.hero-scroll-story .hero-copy h1 .italic {
  color: #4f6330;
  font-family: 'Instrument Serif',Georgia,serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.065em;
}
.hero-scroll-story .hero-description {
  max-width: 435px;
  margin: 0 0 27px;
  color: #626760;
  font-size: 15px;
  line-height: 1.72;
}
.hero-scroll-story .hero-actions { gap: 11px; }
.hero-scroll-story .hero-actions .btn {
  min-height: 48px;
  padding-inline: 19px;
  font-size: 12px;
}
.hero-scroll-story .hero-visual-wrap {
  width: 100%;
  min-width: 0;
  padding: 0;
  margin: 0;
  position: relative;
  isolation: isolate;
  overflow: visible;
}
.hero-scroll-story .hero-art.hero-architecture-stage {
  position: relative;
  width: 100%;
  min-height: min(560px,calc(100svh - 255px));
  height: min(560px,calc(100svh - 255px));
  border: 0;
  border-radius: 0;
  overflow: visible;
  display: block;
  background: transparent;
  box-shadow: none;
  perspective: 1500px;
  isolation: isolate;
}
.hero-scroll-story .hero-stage-top,
.hero-scroll-story .hero-stage-bottom {
  position: absolute;
  z-index: 8;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(24,26,27,.62);
  font: 9px 'DM Mono',monospace;
  letter-spacing: .095em;
  text-transform: uppercase;
  pointer-events: none;
}
.hero-scroll-story .hero-stage-top { top: 0; }
.hero-scroll-story .hero-stage-top .mono {
  font-size: 9px;
  color: inherit;
  letter-spacing: inherit;
}
.hero-scroll-story .hero-live {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  white-space: nowrap;
  font-size: 8px;
  color: #535c47;
}
.hero-scroll-story .hero-live i {
  width: 5px;
  height: 5px;
  display: inline-block;
  background: var(--lime-dark);
  border-radius: 50%;
}
.hero-scroll-story .hero-stage-bottom {
  bottom: 0;
  padding-top: 11px;
  border-top: 1px solid rgba(24,26,27,.16);
  font-size: 8px;
  color: rgba(24,26,27,.52);
}
.hero-scroll-story .hero-cinematic-scene {
  position: absolute;
  inset: 6% -1% 7%;
  z-index: 0;
  width: auto;
  height: auto;
  overflow: hidden;
  border-radius: 30px;
  background: radial-gradient(ellipse at 54% 50%,rgba(201,243,106,.13),rgba(201,243,106,.045) 32%,transparent 70%);
  pointer-events: none;
}
.hero-scroll-story .hero-particle-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  opacity: .42;
}
.hero-architecture-scene {
  position: absolute;
  inset: 7% 0 7%;
  z-index: 2;
  perspective: 1500px;
  transform-style: preserve-3d;
  isolation: isolate;
  pointer-events: none;
}
.hero-architecture-plane {
  position: absolute;
  inset: 8% 7% 6% 8%;
  border: 1px solid rgba(94,113,63,.2);
  border-radius: 25px;
  transform: rotate(-7deg) skewY(-2deg);
  background: linear-gradient(135deg,rgba(255,255,255,.2),rgba(222,229,205,.22));
  box-shadow: 0 28px 65px rgba(40,48,30,.05);
}
.hero-architecture-plane--back::before,
.hero-architecture-plane--back::after {
  content: '';
  position: absolute;
  background: rgba(94,113,63,.18);
}
.hero-architecture-plane--back::before { left: 12%; top: 0; bottom: 0; width: 1px; }
.hero-architecture-plane--back::after { left: 0; right: 0; top: 27%; height: 1px; }
.hero-arch-panel {
  position: absolute;
  overflow: hidden;
  transform-style: preserve-3d;
  will-change: transform;
  backface-visibility: hidden;
}
.hero-arch-panel--system {
  z-index: 1;
  left: 28%;
  top: 2%;
  width: 68%;
  height: 39%;
  padding: 15px 16px 13px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  color: #f5f5ee;
  background: linear-gradient(145deg,#2b302b,#191d1a 84%);
  box-shadow: 0 22px 48px rgba(24,26,27,.17),inset 0 1px 0 rgba(255,255,255,.07);
}
.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #c5cbbd;
  font: 8px 'DM Mono',monospace;
  letter-spacing: .11em;
}
.hero-panel-symbol {
  width: 22px;
  height: 22px;
  border: 1px solid rgba(201,243,106,.38);
  border-radius: 6px;
  display: grid;
  place-items: center;
  color: var(--lime);
  font-size: 13px;
}
.hero-panel-bar > i {
  margin-left: auto;
  font-style: normal;
  font-size: 8px;
  color: #a5b67e;
}
.hero-system-flow {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 23px;
}
.hero-flow-node {
  min-width: 0;
  flex: 1 1 0;
  position: relative;
  display: grid;
  gap: 7px;
  padding: 11px 9px 10px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px;
  background: rgba(255,255,255,.035);
}
.hero-flow-node span { font: 7px 'DM Mono',monospace; letter-spacing: .1em; color: #a2a99a; }
.hero-flow-node strong { font-size: 20px; line-height: 1; letter-spacing: -.07em; font-weight: 500; color: #f4f5ee; }
.hero-flow-node > i { position: absolute; right: 8px; bottom: 10px; width: 5px; height: 5px; border-radius: 50%; background: #7c9460; }
.hero-flow-node--active { border-color: rgba(201,243,106,.44); background: rgba(201,243,106,.075); }
.hero-flow-node--active > i { background: var(--lime); box-shadow: 0 0 0 4px rgba(201,243,106,.09); }
.hero-flow-connector { position: relative; flex: 0 0 9px; height: 1px; background: rgba(201,243,106,.5); }
.hero-flow-connector::after { content: ''; position: absolute; right: 0; top: -2px; width: 4px; height: 4px; border-top: 1px solid var(--lime); border-right: 1px solid var(--lime); transform: rotate(45deg); }
.hero-system-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  color: #a2a99a;
  font: 7px 'DM Mono',monospace;
  letter-spacing: .1em;
}
.hero-system-mark { color: var(--lime); font-size: 13px; }
.hero-arch-panel--web {
  z-index: 3;
  left: 2%;
  top: 17%;
  width: 83%;
  height: 65%;
  border: 1px solid rgba(24,26,27,.14);
  border-radius: 17px;
  background: #fbfaf5;
  color: #181a1b;
  box-shadow: 0 35px 76px rgba(29,35,23,.17),0 5px 15px rgba(29,35,23,.055),inset 0 1px 0 rgba(255,255,255,.9);
}
.hero-browser-bar {
  height: 35px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 14px;
  border-bottom: 1px solid rgba(24,26,27,.1);
  background: rgba(243,244,237,.75);
  color: #555c50;
  font: 7px 'DM Mono',monospace;
  letter-spacing: .095em;
}
.hero-window-dots { display: inline-flex; align-items: center; gap: 4px; }
.hero-window-dots i { width: 5px; height: 5px; display: block; border-radius: 50%; background: #a4aa9c; }
.hero-window-dots i:first-child { background: #c9f36a; }
.hero-browser-bar > strong { margin-left: auto; color: #181a1b; font: 700 18px 'DM Sans',sans-serif; letter-spacing: -.12em; }
.hero-web-canvas {
  height: calc(100% - 66px);
  display: grid;
  grid-template-columns: .96fr 1.04fr;
  gap: 13px;
  padding: 20px 18px 14px;
}
.hero-web-copy { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.hero-web-eyebrow { color: #68764d; font: 7px 'DM Mono',monospace; letter-spacing: .08em; }
.hero-web-copy h3 { margin: 18px 0 0; color: #171a17; font-size: clamp(24px,2.2vw,37px); line-height: .94; font-weight: 500; letter-spacing: -.075em; }
.hero-web-copy h3 em { color: #60773d; font-family: 'Instrument Serif',Georgia,serif; font-weight: 400; }
.hero-web-copy p { max-width: 160px; margin: 11px 0 0; color: #6a7067; font-size: 8px; line-height: 1.55; }
.hero-web-link { display: inline-flex; align-items: center; gap: 14px; margin-top: auto; padding: 7px 0 4px; border-bottom: 1px solid rgba(24,26,27,.2); color: #252a22; font-size: 8px; font-weight: 600; }
.hero-web-link b { font-size: 12px; font-weight: 400; }
.hero-web-art {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #e6eadb;
  isolation: isolate;
}
.hero-web-art-grid {
  position: absolute;
  inset: 0;
  opacity: .36;
  background-image: linear-gradient(rgba(83,101,56,.2) 1px,transparent 1px),linear-gradient(90deg,rgba(83,101,56,.2) 1px,transparent 1px);
  background-size: 19px 19px;
  mask-image: linear-gradient(135deg,black,transparent 88%);
}
.hero-web-shape { position: absolute; display: block; }
.hero-web-shape--lime { width: 54%; height: 63%; right: 12%; top: 17%; background: #c9f36a; border-radius: 40% 48% 14% 15%; transform: rotate(13deg); box-shadow: 0 15px 30px rgba(64,78,40,.12); }
.hero-web-shape--ink { width: 36%; height: 74%; left: 11%; bottom: -10%; background: #252b25; border-radius: 8px 8px 0 0; transform: rotate(-12deg); }
.hero-web-shape--paper { width: 29%; height: 44%; right: 18%; top: 27%; border: 1px solid rgba(35,43,32,.3); background: rgba(255,255,255,.38); transform: rotate(13deg) translate(-4px,10px); }
.hero-web-art-label { position: absolute; right: 10px; bottom: 9px; color: #4d5f37; font: 7px 'DM Mono',monospace; line-height: 1.45; letter-spacing: .1em; }
.hero-web-footer {
  height: 31px;
  display: flex;
  align-items: center;
  gap: 7px;
  padding: 0 17px;
  color: #71776d;
  border-top: 1px solid rgba(24,26,27,.1);
  font: 6px 'DM Mono',monospace;
  letter-spacing: .09em;
}
.hero-web-footer i { width: 12px; height: 1px; background: #98a777; }
.hero-arch-panel--product {
  z-index: 5;
  left: 57%;
  top: 38%;
  width: 148px;
  height: 267px;
  padding: 12px;
  border: 1px solid rgba(24,26,27,.13);
  border-radius: 21px;
  color: #181a1b;
  background: linear-gradient(158deg,#fffef9,#f0f2e8);
  box-shadow: 0 28px 60px rgba(24,26,27,.2),inset 0 1px 0 #fff;
}
.hero-phone-top { display: flex; align-items: center; gap: 7px; color: #666d60; font: 6px 'DM Mono',monospace; letter-spacing: .07em; }
.hero-phone-mark { width: 23px; height: 23px; display: grid; place-items: center; background: #181a1b; color: var(--lime); border-radius: 50%; font: 700 12px 'DM Sans',sans-serif; }
.hero-phone-top b { margin-left: auto; font-size: 11px; font-weight: 400; }
.hero-phone-feature { position: relative; margin-top: 14px; padding: 12px 10px 9px; min-height: 120px; border-radius: 10px; background: #e4ead8; overflow: hidden; }
.hero-phone-feature > span { color: #6a7654; font: 6px 'DM Mono',monospace; letter-spacing: .07em; }
.hero-phone-feature strong { display: block; position: relative; z-index: 1; margin-top: 11px; font-size: 17px; line-height: .98; font-weight: 500; letter-spacing: -.06em; }
.hero-phone-feature strong em { color: #60773d; font-family: 'Instrument Serif',Georgia,serif; font-weight: 400; }
.hero-phone-feature-art { position: absolute; width: 64px; height: 76px; bottom: -11px; right: -8px; transform: rotate(-16deg); }
.hero-phone-feature-art i { position: absolute; width: 42px; height: 60px; border: 1px solid rgba(75,91,52,.55); border-radius: 24px 24px 8px 8px; background: rgba(201,243,106,.6); }
.hero-phone-feature-art i:nth-child(2) { left: 14px; top: 4px; background: rgba(255,255,255,.55); }
.hero-phone-feature-art i:nth-child(3) { left: 25px; top: 9px; background: #b9ce91; }
.hero-phone-feature-art b { position: absolute; z-index: 1; top: 20px; left: 22px; font-size: 10px; }
.hero-phone-list { display: grid; gap: 0; margin-top: 8px; }
.hero-phone-list > div { display: flex; align-items: center; gap: 8px; min-height: 27px; border-bottom: 1px solid rgba(24,26,27,.1); }
.hero-phone-list span { color: #899078; font: 6px 'DM Mono',monospace; }
.hero-phone-list b { color: #33392f; font-size: 8px; font-weight: 500; }
.hero-phone-list i { margin-left: auto; width: 18px; height: 3px; border-radius: 3px; background: #d4d9cc; }
.hero-phone-list > div:last-child i { background: var(--lime-dark); }
.hero-scroll-ui {
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  gap: 13px;
  width: min(var(--max),calc(100% - 72px));
  margin: 0 auto;
  padding: 9px 0 14px;
  color: rgba(24,26,27,.58);
  font: 8px 'DM Mono',monospace;
  letter-spacing: .11em;
  text-transform: uppercase;
}
.hero-scroll-track { flex: 0 1 155px; height: 1px; background: rgba(24,26,27,.16); overflow: hidden; }
.hero-scroll-track i { width: 0; height: 100%; display: block; background: var(--lime-dark); transition: width .07s linear; }
.hero-scroll-caption { margin-left: auto; white-space: nowrap; }

@media (min-width:1100px) and (min-height:700px) {
  .hero-scroll-story { height: 180svh; min-height: 0; padding: 0; }
  .hero-scroll-sticky { position: sticky; top: 82px; height: calc(100svh - 82px); min-height: 620px; }
}
@media (max-width:1099px) {
  .hero-scroll-story { padding: 56px 0 66px; }
  .hero-scroll-story .hero-grid { grid-template-columns: minmax(0,1fr) minmax(0,.96fr); gap: 24px; }
  .hero-scroll-story .hero-copy h1 { font-size: clamp(56px,6.7vw,82px); }
  .hero-scroll-story .hero-art.hero-architecture-stage { min-height: 460px; height: 460px; }
  .hero-scroll-story .hero-arch-panel--system { left: 22%; width: 75%; }
  .hero-scroll-story .hero-arch-panel--web { width: 88%; }
  .hero-scroll-story .hero-arch-panel--product { left: 56%; width: 135px; height: 248px; }
}
@media (max-width:860px) {
  .hero-scroll-story .hero-grid { grid-template-columns: 1fr; gap: 26px; }
  .hero-scroll-story .hero-copy { max-width: 760px; }
  .hero-scroll-story .hero-copy h1 { max-width: 850px; font-size: clamp(56px,8.7vw,88px); }
  .hero-scroll-story .hero-art.hero-architecture-stage { min-height: 490px; height: 490px; }
  .hero-scroll-story .hero-visual-wrap { max-width: 680px; margin-inline: auto; }
}
@media (max-width:600px) {
  .hero-scroll-story { padding: 42px 0 54px; }
  .hero-scroll-story .hero-grid { width: calc(100% - 38px); gap: 17px; }
  .hero-scroll-story .hero-copy > .eyebrow { font-size: 9px; }
  .hero-scroll-story .hero-copy h1 { margin: 21px 0 18px; font-size: clamp(49px,11.9vw,72px); line-height: .89; }
  .hero-scroll-story .hero-description { font-size: 14px; line-height: 1.62; margin-bottom: 20px; }
  .hero-scroll-story .hero-actions .btn { min-height: 45px; padding-inline: 15px; font-size: 11px; }
  .hero-scroll-story .hero-art.hero-architecture-stage { min-height: 405px; height: 405px; }
  .hero-scroll-story .hero-stage-top { font-size: 7px; }
  .hero-scroll-story .hero-stage-top .mono { font-size: 7px; }
  .hero-scroll-story .hero-live { font-size: 6px; }
  .hero-scroll-story .hero-cinematic-scene { inset: 9% -1% 8%; border-radius: 18px; }
  .hero-architecture-scene { inset: 11% 0 9%; }
  .hero-architecture-plane { inset: 10% 4% 8%; border-radius: 18px; }
  .hero-arch-panel--system { left: 18%; top: 3%; width: 78%; height: 37%; padding: 10px; border-radius: 11px; }
  .hero-panel-bar { font-size: 6px; gap: 6px; }
  .hero-panel-symbol { width: 19px; height: 19px; font-size: 11px; }
  .hero-system-flow { gap: 4px; margin-top: 13px; }
  .hero-flow-node { gap: 5px; padding: 7px 5px; border-radius: 6px; }
  .hero-flow-node span { font-size: 5px; }
  .hero-flow-node strong { font-size: 15px; }
  .hero-flow-node > i { width: 4px; height: 4px; right: 5px; bottom: 6px; }
  .hero-flow-connector { flex-basis: 5px; }
  .hero-system-footer { margin-top: 8px; font-size: 5px; }
  .hero-arch-panel--web { left: 0; top: 19%; width: 88%; height: 64%; border-radius: 12px; }
  .hero-browser-bar { height: 27px; padding: 0 9px; gap: 7px; font-size: 5px; }
  .hero-window-dots { gap: 3px; }
  .hero-window-dots i { width: 4px; height: 4px; }
  .hero-browser-bar > strong { font-size: 14px; }
  .hero-web-canvas { height: calc(100% - 52px); gap: 8px; padding: 12px 9px 9px; }
  .hero-web-eyebrow { font-size: 5px; }
  .hero-web-copy h3 { margin-top: 12px; font-size: clamp(21px,6.3vw,32px); }
  .hero-web-copy p { font-size: 6px; margin-top: 8px; }
  .hero-web-link { padding: 5px 0 3px; font-size: 6px; gap: 7px; }
  .hero-web-link b { font-size: 9px; }
  .hero-web-footer { height: 25px; padding-inline: 9px; gap: 4px; font-size: 5px; }
  .hero-web-footer i { width: 7px; }
  .hero-web-art-grid { background-size: 13px 13px; }
  .hero-web-shape--lime { width: 54%; height: 59%; right: 10%; top: 20%; }
  .hero-web-shape--ink { width: 36%; height: 72%; }
  .hero-web-art-label { font-size: 5px; right: 5px; bottom: 5px; }
  .hero-arch-panel--product { left: 59%; top: 43%; width: 106px; height: 207px; padding: 8px; border-radius: 16px; }
  .hero-phone-top { font-size: 5px; gap: 5px; }
  .hero-phone-mark { width: 18px; height: 18px; font-size: 10px; }
  .hero-phone-top b { font-size: 9px; }
  .hero-phone-feature { margin-top: 9px; min-height: 92px; padding: 8px 7px; border-radius: 7px; }
  .hero-phone-feature > span { font-size: 5px; }
  .hero-phone-feature strong { margin-top: 8px; font-size: 13px; }
  .hero-phone-feature-art { transform: rotate(-16deg) scale(.75); transform-origin: bottom right; }
  .hero-phone-list { margin-top: 5px; }
  .hero-phone-list > div { min-height: 22px; gap: 5px; }
  .hero-phone-list span { font-size: 5px; }
  .hero-phone-list b { font-size: 7px; }
  .hero-phone-list i { width: 12px; height: 2px; }
  .hero-scroll-ui { width: calc(100% - 38px); gap: 9px; padding-top: 5px; font-size: 6px; letter-spacing: .08em; }
  .hero-scroll-track { flex-basis: 65px; }
  .hero-scroll-caption { display: none; }
  .hero-scroll-story .hero-stage-bottom { font-size: 6px; letter-spacing: .07em; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-story { height: auto !important; min-height: 0 !important; padding-block: 40px 48px; }
  .hero-scroll-story .hero-scroll-sticky { position: relative !important; top: auto !important; height: auto !important; min-height: 0 !important; }
  .hero-scroll-story .hero-arch-panel { transform: none !important; transition: none !important; will-change: auto; }
  .hero-scroll-story .hero-particle-canvas { opacity: .15; }
  .hero-scroll-story .hero-scroll-track i { transition: none; }
}

/* ANTHROMINI APPEARANCE — pull-cord lamp + accessible light/dark palettes. */
html[data-theme="dark"] {
  color-scheme: dark;
  --paper: #141714;
  --paper-2: #202521;
  --ink: #F1F3ED;
  --muted: #A9B0A7;
  --line: rgba(239,243,235,.16);
  --lime: #C9F36A;
  --lime-dark: #B4DA5C;
  --steel: #A3ABA2;
  --dark: #0D100E;
  --dark-2: #191E1A;
  --dark-line: rgba(255,255,255,.14);
  --white: #F6F8F2;
  --am-paper: #141714;
  --am-carbon: #F1F3ED;
}
html[data-theme="light"] { color-scheme: light; }
html[data-theme="dark"],
html[data-theme="dark"] body {
  background-color: #121512 !important;
  color: #F1F3ED;
}
html[data-theme="dark"] .site-header,
html[data-theme="dark"] .site-header.scrolled {
  background-color: rgba(17,20,18,.76) !important;
  background-image:
    radial-gradient(ellipse at 8% 0%, rgba(255,72,130,.10), transparent 42%),
    radial-gradient(ellipse at 88% 100%, rgba(0,220,255,.10), transparent 44%),
    radial-gradient(ellipse at 52% 0%, rgba(201,243,106,.10), transparent 58%),
    linear-gradient(118deg, rgba(30,34,31,.90), rgba(18,21,19,.72) 45%, rgba(30,34,31,.86)) !important;
  border-color: rgba(255,255,255,.18);
  box-shadow: 0 16px 42px rgba(0,0,0,.35), 0 0 20px rgba(0,229,255,.10), 0 0 24px rgba(255,67,189,.08), inset 0 1px 0 rgba(255,255,255,.16);
}
html[data-theme="dark"] .site-header::after {
  background-image: linear-gradient(118deg,rgba(255,255,255,.22),rgba(255,255,255,.06) 45%,rgba(255,255,255,.15)),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
  opacity: .62;
}
html[data-theme="dark"] .site-header .wordmark { color: #F1F3ED; }
html[data-theme="dark"] .wordmark-symbol { background: #181A1B; color: var(--lime); }
html[data-theme="dark"] .site-header .nav {
  background: rgba(8,11,9,.24);
  border-color: rgba(255,255,255,.12);
}
html[data-theme="dark"] .site-header .nav a { color: rgba(241,243,237,.76); }
html[data-theme="dark"] .site-header .nav a:hover { color: #F1F3ED; background: rgba(201,243,106,.12); }
html[data-theme="dark"] .site-header .nav a[aria-current="page"] { background: #F1F3ED; color: #181A1B; }
html[data-theme="dark"] .site-header .nav.open {
  background-color: rgba(18,21,19,.96);
  background-image: linear-gradient(130deg,rgba(22,26,23,.98),rgba(201,243,106,.06),rgba(0,229,255,.05));
  border-color: rgba(255,255,255,.16);
  box-shadow: 0 18px 42px rgba(0,0,0,.34),inset 0 1px 0 rgba(255,255,255,.08);
}
html[data-theme="dark"] .site-header .btn-dark {
  background: #F1F3ED;
  color: #181A1B;
  border-color: #F1F3ED;
}
html[data-theme="dark"] .site-header .btn-dark:hover { background: #DDE4D3; border-color: #DDE4D3; }
html[data-theme="dark"] .skip-link { color: #181A1B; }
html[data-theme="dark"] .btn-primary { color: #181A1B; }
html[data-theme="dark"] .intro-mark { background: #101310; color: #F1F3ED; }
html[data-theme="dark"] .hero-description { color: #B0B7AE; }
html[data-theme="dark"] .eyebrow { color: #C3CBBE; }
html[data-theme="dark"] .trust-tags span { color: #C1C8BE; }
html[data-theme="dark"] .manifesto h2 em { color: var(--lime); }
html[data-theme="dark"] .process-card:hover,
html[data-theme="dark"] .detail-card:hover { background: #202520; border-color: rgba(201,243,106,.38); }
html[data-theme="dark"] .capability-band {
  background: #1B211D;
  color: #F1F3ED;
  border: 1px solid rgba(255,255,255,.08);
}
html[data-theme="dark"] .capability-band p { color: #B4BBB0; }
html[data-theme="dark"] .capability-tags span { border-color: rgba(241,243,237,.22); }
html[data-theme="dark"] .capability-tags span:hover { color: #181A1B; }
html[data-theme="dark"] .services-band {
  background: #171B18;
  color: #F1F3ED;
  border: 1px solid rgba(255,255,255,.08);
}
html[data-theme="dark"] .services-band .section-head p { color: #A9B0A7; }
html[data-theme="dark"] .site-footer { background: #0A0D0B; color: #F1F3ED; }
html[data-theme="dark"] .footer-brand p { color: #A9B0A7; }
html[data-theme="dark"] .footer-col h3 { color: #9CA599; }
html[data-theme="dark"] .footer-col a { color: #E1E5DC; }
html[data-theme="dark"] .cta-panel { color: #181A1B; }
html[data-theme="dark"] .cta-panel h2 { color: #181A1B; }
html[data-theme="dark"] .cta-panel .eyebrow { color: #3B482C; }
html[data-theme="dark"] .cta-panel .btn-dark { background: #181A1B; color: #F1F3ED; border-color: #181A1B; }
html[data-theme="dark"] .cta-panel .btn-dark:hover { background: #303630; color: #F1F3ED; }
html[data-theme="dark"] .field label { color: #C3CABE; }
html[data-theme="dark"] .field input,
html[data-theme="dark"] .field textarea,
html[data-theme="dark"] .field select {
  background-color: rgba(255,255,255,.035);
  border-color: rgba(241,243,237,.2);
  color: #F1F3ED;
}
html[data-theme="dark"] .field input::placeholder,
html[data-theme="dark"] .field textarea::placeholder { color: #919A90; }
html[data-theme="dark"] .field select {
  background-image: linear-gradient(45deg,transparent 50%,#C3CABE 50%),linear-gradient(135deg,#C3CABE 50%,transparent 50%);
}
html[data-theme="dark"] .field select option { background: #191E1A; color: #F1F3ED; }
html[data-theme="dark"] .success-panel { background: #1B2816; border-color: #647D3C; color: #EDF6DD; }
html[data-theme="dark"] .hero-scroll-ui { color: rgba(241,243,237,.62); }
html[data-theme="dark"] .hero-scroll-track { background: rgba(241,243,237,.19); }
html[data-theme="dark"] .hero-scroll-track i { background: var(--lime); }
html[data-theme="dark"] .toast { background: #F1F3ED; color: #181A1B; border-color: rgba(0,0,0,.12); }
html[data-theme="dark"] .toast strong { color: #45621B; }

/* Transparent canvas LED lamp: the bulb is centered in the capsule and the cord hangs below it. */
.theme-lamp-control {
  position: absolute;
  z-index: 5;
  top: calc(50% - 20px);
  right: clamp(179px, calc(305px - 9.5vw), 230px);
  width: 80px;
  height: 155px;
  overflow: visible;
  pointer-events: none;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
}
.theme-lamp-canvas {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  mix-blend-mode: normal !important;
  pointer-events: none;
}
.theme-cord-hitarea {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  background: transparent !important;
  pointer-events: none;
}
.theme-cord-hit-path {
  fill: none;
  stroke: rgba(0,0,0,.001);
  stroke-width: 18px;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: stroke;
  cursor: grab;
  touch-action: none;
}
.theme-cord-hit-path:active { cursor: grabbing; }
.theme-cord-grip {
  position: absolute;
  left: 50%;
  top: calc(100% - 12px);
  z-index: 3;
  width: 34px;
  height: 34px;
  padding: 0;
  transform: translate(-50%, -50%);
  display: block;
  border: 0;
  border-radius: 50%;
  background: transparent !important;
  box-shadow: none !important;
  color: inherit;
  cursor: inherit;
  touch-action: none;
  -webkit-tap-highlight-color: transparent;
  pointer-events: none;
}
.theme-cord-grip:active { cursor: inherit; }
.theme-cord-grip:focus-visible { outline: 2px solid #8BAE43; outline-offset: 2px; }
.theme-lamp-status { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
@media (max-width: 980px) and (min-width: 761px) {
  .theme-lamp-control { right: clamp(200px, calc(305px - 9.5vw), 230px); }
}
@media (max-width: 760px) {
  .theme-lamp-control { right: 64px; top: calc(50% - 20px); width: 80px; height: 110px; }
  .site-header .nav.open { margin-top: 0; }
}
@media (max-width: 760px) {
  /* Keep the lamp in the gap between the wordmark and the primary CTA. */
  .theme-lamp-control { left: 112px; right: auto; }
}
@media (max-width: 380px) {
  .site-header .btn-project { display: none !important; }
  .theme-lamp-control { left: auto; right: 64px; }
}
html[data-theme="dark"] .contact-form {
  background: rgba(27,32,28,.78);
  border-color: rgba(241,243,237,.13);
  box-shadow: 0 20px 55px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.045);
}
html[data-theme="dark"] .capability-tags span { background: rgba(255,255,255,.035); }
html[data-theme="dark"] .capability-tags span:hover { background: var(--lime); }
html[data-theme="dark"] .project-meta-grid { border-color: var(--line); }
html[data-theme="dark"] .project-meta-grid span { color: #A9B0A7; }
html[data-theme="dark"] .hero .hero-scroll-ui { color: rgba(241,243,237,.68); }
html[data-theme] body,
html[data-theme] .site-header,
html[data-theme] .services-band,
html[data-theme] .capability-band,
html[data-theme] .site-footer,
html[data-theme] .contact-form,
html[data-theme] .field input,
html[data-theme] .field textarea,
html[data-theme] .field select {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: .24s;
  transition-timing-function: cubic-bezier(.2,.75,.2,1);
}

@media (max-width: 760px) {
  /* Keep the light control in the narrow gap between the wordmark and project CTA. */
  .theme-lamp-control { left: 112px; right: auto; }
}
@media (max-width: 380px) {
  .site-header .btn-project { display: none !important; }
  .theme-lamp-control { left: auto; right: 64px; }
}


/* Theme-toggle contrast refinements: keep the existing hero readable in both modes. */
html[data-theme="dark"] .hero-scroll-story .hero-copy > .eyebrow {
  color: #DCE5D4;
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(241,243,237,.18);
}
html[data-theme="dark"] .hero-scroll-story .hero-copy h1 .italic {
  color: #C9F36A;
}
html[data-theme="dark"] .hero-scroll-story .hero-description {
  color: #B7BFB4;
}
html[data-theme="dark"] .hero-scroll-story .hero-actions .btn:not(.btn-primary),
html[data-theme="dark"] .hero-actions .btn:not(.btn-primary) {
  color: #F1F3ED;
  background: rgba(255,255,255,.045);
  border-color: rgba(241,243,237,.22);
}
html[data-theme="dark"] .hero-scroll-story .hero-actions .btn:not(.btn-primary):hover,
html[data-theme="dark"] .hero-actions .btn:not(.btn-primary):hover {
  color: #181A1B;
  background: #C9F36A;
  border-color: #C9F36A;
}
html[data-theme="dark"] .hero-scroll-story .hero-stage-top,
html[data-theme="dark"] .hero-scroll-story .hero-stage-bottom {
  color: rgba(241,243,237,.7);
}
html[data-theme="dark"] .hero-scroll-story .hero-stage-top .mono {
  color: rgba(241,243,237,.75);
}
html[data-theme="dark"] .hero-scroll-story .hero-live {
  color: #DFE9D2;
}
html[data-theme="dark"] .hero-scroll-story .hero-stage-bottom {
  border-top-color: rgba(241,243,237,.2);
}
html[data-theme="dark"] .hero-scroll-story .hero-meta {
  border-top-color: rgba(241,243,237,.18);
}
html[data-theme="dark"] .hero-scroll-story .hero-meta .small-note {
  color: #AEB7AB;
}
html[data-theme="dark"] .hero-scroll-story .hero-meta .small-note strong {
  color: #F1F3ED;
}


/* Keep the LED and rope on a truly transparent layer; pointer feedback follows only the rope stroke. */
html[data-theme] .theme-lamp-control {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: normal !important;
}


/* ANTHROMINI HERO SIGNATURE PASS — only the public home hero is affected. */
.hero-scroll-story .hero-cinematic-scene::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(250px circle at var(--hero-pointer-x, 50%) var(--hero-pointer-y, 50%), rgba(201,243,106,.20), rgba(201,243,106,.055) 34%, transparent 72%);
  opacity: .72;
  transition: opacity .35s ease;
}
.hero-scroll-story .hero-architecture-plane--back {
  animation: anthro-hero-plane-breathe 7.5s ease-in-out infinite;
}
.hero-scroll-story .hero-flow-node--active > i {
  animation: anthro-hero-status-pulse 2.3s ease-in-out infinite;
}
.hero-scroll-story .hero-flow-connector::after {
  animation: anthro-hero-signal-pulse 1.9s ease-in-out infinite;
}
.hero-scroll-story .hero-flow-connector:nth-of-type(2)::after { animation-delay: .42s; }
.hero-scroll-story .hero-web-art::after {
  content: "";
  position: absolute;
  z-index: 4;
  top: -45%;
  bottom: -45%;
  left: -55%;
  width: 34%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.36), transparent);
  transform: skewX(-18deg) translateX(-160%);
  animation: anthro-hero-surface-sweep 7.2s cubic-bezier(.2,.75,.2,1) 1.7s infinite;
  pointer-events: none;
}
.hero-scroll-story .hero-phone-feature-art i:nth-child(1) { animation: anthro-hero-phone-shape 5.8s ease-in-out infinite; }
.hero-scroll-story .hero-phone-feature-art i:nth-child(2) { animation: anthro-hero-phone-shape 5.8s ease-in-out -.8s infinite; }
.hero-scroll-story .hero-phone-feature-art i:nth-child(3) { animation: anthro-hero-phone-shape 5.8s ease-in-out -1.6s infinite; }

.hero-scroll-story.hero-is-revealed .hero-copy > .eyebrow {
  animation: anthro-hero-fade-up .72s cubic-bezier(.2,.75,.2,1) .04s both;
}
.hero-scroll-story.hero-is-revealed .hero-copy h1 { animation: none; }
.hero-scroll-story.hero-is-revealed .hero-copy h1 > span {
  animation: anthro-hero-title-reveal .95s cubic-bezier(.18,.72,.18,1) both;
}
.hero-scroll-story.hero-is-revealed .hero-copy h1 > span:nth-of-type(2) { animation-delay: .12s; }
.hero-scroll-story.hero-is-revealed .hero-copy .hero-description {
  animation: anthro-hero-fade-up .72s cubic-bezier(.2,.75,.2,1) .28s both;
}
.hero-scroll-story.hero-is-revealed .hero-copy .hero-actions .btn:first-child {
  animation: anthro-hero-fade-up .72s cubic-bezier(.2,.75,.2,1) .4s both;
}
.hero-scroll-story.hero-is-revealed .hero-copy .hero-actions .btn:last-child {
  animation: anthro-hero-fade-up .72s cubic-bezier(.2,.75,.2,1) .49s both;
}
.hero-scroll-story.hero-is-revealed .hero-stage-top {
  animation: anthro-hero-fade-up .7s cubic-bezier(.2,.75,.2,1) .12s both;
}
.hero-scroll-story.hero-is-revealed .hero-arch-panel--system {
  animation: anthro-hero-panel-reveal .95s cubic-bezier(.2,.75,.2,1) .09s both;
}
.hero-scroll-story.hero-is-revealed .hero-arch-panel--web {
  animation: anthro-hero-panel-reveal 1.05s cubic-bezier(.2,.75,.2,1) .2s both;
}
.hero-scroll-story.hero-is-revealed .hero-arch-panel--product {
  animation: anthro-hero-panel-reveal .92s cubic-bezier(.2,.75,.2,1) .34s both;
}
.hero-scroll-story.hero-is-revealed .hero-stage-bottom {
  animation: anthro-hero-fade-up .7s cubic-bezier(.2,.75,.2,1) .44s both;
}

@keyframes anthro-hero-fade-up {
  from { opacity: 0; translate: 0 12px; }
  to { opacity: 1; translate: 0 0; }
}
@keyframes anthro-hero-title-reveal {
  from { opacity: 0; transform: translate3d(0, 34px, 0); filter: blur(7px); }
  to { opacity: 1; transform: translate3d(0, 0, 0); filter: blur(0); }
}
@keyframes anthro-hero-panel-reveal {
  from { opacity: 0; filter: blur(7px) saturate(.72); }
  to { opacity: 1; filter: blur(0) saturate(1); }
}
@keyframes anthro-hero-plane-breathe {
  0%, 100% { opacity: .76; }
  50% { opacity: 1; }
}
@keyframes anthro-hero-status-pulse {
  0%, 100% { box-shadow: 0 0 0 3px rgba(201,243,106,.05); opacity: .8; }
  50% { box-shadow: 0 0 0 6px rgba(201,243,106,.14); opacity: 1; }
}
@keyframes anthro-hero-signal-pulse {
  0%, 100% { opacity: .5; }
  45%, 65% { opacity: 1; filter: drop-shadow(0 0 3px rgba(201,243,106,.7)); }
}
@keyframes anthro-hero-surface-sweep {
  0%, 12% { transform: skewX(-18deg) translateX(-160%); opacity: 0; }
  22% { opacity: .9; }
  42%, 100% { transform: skewX(-18deg) translateX(520%); opacity: 0; }
}
@keyframes anthro-hero-phone-shape {
  0%, 100% { translate: 0 0; }
  50% { translate: 0 -4px; }
}

@media (max-width: 860px) {
  .hero-scroll-story .hero-cinematic-scene::before { background: radial-gradient(190px circle at 50% 45%, rgba(201,243,106,.13), transparent 72%); }
}
@media (prefers-reduced-motion: reduce) {
  .hero-scroll-story .hero-architecture-plane--back,
  .hero-scroll-story .hero-flow-node--active > i,
  .hero-scroll-story .hero-flow-connector::after,
  .hero-scroll-story .hero-web-art::after,
  .hero-scroll-story .hero-phone-feature-art i,
  .hero-scroll-story.hero-is-revealed .hero-copy > .eyebrow,
  .hero-scroll-story.hero-is-revealed .hero-copy h1 > span,
  .hero-scroll-story.hero-is-revealed .hero-copy .hero-description,
  .hero-scroll-story.hero-is-revealed .hero-copy .hero-actions .btn,
  .hero-scroll-story.hero-is-revealed .hero-stage-top,
  .hero-scroll-story.hero-is-revealed .hero-arch-panel--system,
  .hero-scroll-story.hero-is-revealed .hero-arch-panel--web,
  .hero-scroll-story.hero-is-revealed .hero-arch-panel--product,
  .hero-scroll-story.hero-is-revealed .hero-stage-bottom {
    animation: none !important;
    filter: none !important;
    translate: none !important;
  }
  .hero-scroll-story .hero-cinematic-scene::before { opacity: .3; }
}

/* ==========================================================================
   ANTHROMINI — CUBERTO SIGNATURE HERO PASS (AWWWARDS STYLE)
   ========================================================================== */

/* Lenis Smooth Scroll Base */
html.lenis, html.lenis body {
  height: auto;
}
.lenis.lenis-smooth {
  scroll-behavior: auto !important;
}
.lenis.lenis-smooth [data-lenis-prevent] {
  overscroll-behavior: contain;
}
.lenis.lenis-stopped {
  overflow: clip;
}
.lenis.lenis-smooth iframe {
  pointer-events: none;
}

/* Custom Interactive Follower Cursor (Cuberto Style with Difference Blend) */
.cuberto-cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  z-index: 999999;
  mix-blend-mode: difference;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.2, 0.75, 0.2, 1);
}
.cuberto-cursor.is-visible {
  opacity: 1;
}
.cuberto-cursor-dot {
  /* A position-only layer: pointer coordinates update directly without a CSS
     transform transition, so the dot cannot smear or leave apparent duplicates. */
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  pointer-events: none;
  transform: translate3d(var(--cursor-x, -100px), var(--cursor-y, -100px), 0);
  transition: none;
}
.cuberto-cursor-dot::before {
  content: '';
  position: absolute;
  top: -4px;
  left: -4px;
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  pointer-events: none;
  transform: scale(1);
  transform-origin: center;
  transition: transform .16s ease, opacity .16s ease;
}
.cuberto-cursor-ring {
  position: absolute;
  top: -21px;
  left: -21px;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  border-radius: 50%;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: width 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
              height 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
              top 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
              left 0.35s cubic-bezier(0.2, 0.75, 0.2, 1),
              background 0.3s ease,
              border-color 0.3s ease,
              opacity 0.2s ease;
}
.cuberto-cursor.is-hovering .cuberto-cursor-ring {
  opacity: 1;
}
.cuberto-cursor.is-hovering .cuberto-cursor-dot::before {
  opacity: 0;
  transform: scale(0.1);
}
.cuberto-cursor.is-hovering .cuberto-cursor-ring {
  width: 82px;
  height: 82px;
  top: -41px;
  left: -41px;
  background: #ffffff;
  border-color: #ffffff;
}
.cuberto-cursor-text {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #000000;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}
.cuberto-cursor.has-text .cuberto-cursor-text {
  opacity: 1;
}
.cuberto-cursor.has-play-icon .cuberto-cursor-text {
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0;
  line-height: 1;
}
@media (hover: none) or (pointer: coarse) {
  .cuberto-cursor {
    display: none !important;
  }
}


/* Anthromini single-showreel replacement for the homepage project-card cluster */
.showreel-section{position:relative;overflow:hidden;background:#131613;color:#f3f3ee;padding:38px 0 30px;isolation:isolate}
.showreel-shell{width:min(1180px,calc(100% - 64px));margin-inline:auto}
.showreel-section-meta{display:flex;justify-content:space-between;align-items:center;gap:18px;color:#aeb2aa;margin:0 0 14px}
.showreel-section-meta .mono{font-size:10px;letter-spacing:.13em}
.showreel-card{appearance:none;-webkit-appearance:none;position:relative;display:block;width:100%;aspect-ratio:16/9;min-height:250px;max-height:calc(100vh - 185px);padding:0;margin:0;border:0;border-radius:4px;overflow:hidden;background:#080909;color:#fff;cursor:zoom-in;text-align:left;isolation:isolate}
.showreel-card:focus-visible{outline:2px solid #fff;outline-offset:5px}
.showreel-poster{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;object-position:center;transform:scale(1.001);transition:transform .9s cubic-bezier(.2,.75,.2,1),filter .7s ease;z-index:-2}
.showreel-card-shade{position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.36) 0%,transparent 25%,transparent 58%,rgba(0,0,0,.65) 100%);opacity:.78;transition:opacity .45s ease;z-index:-1}
.showreel-card:hover .showreel-poster{transform:scale(1.035);filter:saturate(1.04)}
.showreel-card:hover .showreel-card-shade{opacity:1}
.showreel-card-topline,.showreel-card-bottomline{position:absolute;left:clamp(16px,2.3vw,30px);right:clamp(16px,2.3vw,30px);display:flex;align-items:center;justify-content:space-between;gap:14px;pointer-events:none}
.showreel-card-topline{top:clamp(16px,2.3vw,30px);font-size:10px;letter-spacing:.13em;color:rgba(255,255,255,.84)}
.showreel-card-bottomline{bottom:clamp(16px,2.3vw,30px);font-size:12px;font-weight:500;color:#fff}
.showreel-card-bottomline span:last-child{display:flex;align-items:center;gap:14px;font:10px 'DM Mono',monospace;letter-spacing:.1em}
.showreel-card-bottomline b{font-size:20px;font-family:Arial,sans-serif;font-weight:400;transition:transform .3s ease}
.showreel-card:hover .showreel-card-bottomline b{transform:translate(3px,-3px)}
.showreel-play{position:absolute;left:50%;top:50%;display:grid;place-items:center;width:clamp(68px,7vw,96px);height:clamp(68px,7vw,96px);border-radius:50%;background:#f5f5f0;color:#080909;transform:translate(-50%,-50%) scale(1);transition:transform .45s cubic-bezier(.2,.75,.2,1),background .35s ease;box-shadow:none}
.showreel-play svg{width:25%;height:25%;margin-left:4px}
.showreel-card:hover .showreel-play{transform:translate(-50%,-50%) scale(1.1);background:#fff}
.showreel-section-footer{display:flex;justify-content:space-between;align-items:center;gap:18px;padding-top:17px;color:#aeb2aa}
.showreel-section-footer .mono{font-size:10px;letter-spacing:.11em}
.showreel-section-footer .text-link{color:#f0f0ec;border-color:rgba(255,255,255,.25)}
.showreel-player-dialog{position:fixed;top:0;left:50%;right:auto;bottom:auto;transform:translateX(-50%);margin:0;padding:0;width:96vw;height:100vh;height:100dvh;max-width:none;max-height:none;border:0;overflow:hidden;background:#060707;color:#fff}
.showreel-player-dialog::backdrop{background:#fff}
.showreel-player-dialog:fullscreen{top:0;left:50%;right:auto;bottom:auto;transform:translateX(-50%);width:96vw;height:100vh;height:100dvh;margin:0;padding:0;border:0}
.showreel-player-frame{position:relative;display:grid;place-items:center;width:100%;height:100%;min-height:0;background:#060707;color:#fff;overflow:hidden}
.showreel-full-video{display:block;width:100%;height:100%;object-fit:cover;background:#060707;cursor:pointer;outline:none}
.showreel-player-chrome{display:none!important}
.showreel-player-topline{display:flex;align-items:center;justify-content:space-between;gap:18px;color:#f7f7f2;pointer-events:none}
.showreel-player-topline .mono{font-size:10px;letter-spacing:.12em}
.showreel-exit{pointer-events:auto;display:inline-flex;align-items:center;gap:16px;padding:10px 13px;border:1px solid rgba(255,255,255,.45);border-radius:999px;background:rgba(0,0,0,.25);color:#fff;font:10px 'DM Mono',monospace;letter-spacing:.09em;transition:background .25s,color .25s,transform .25s}
.showreel-exit span{font:24px/16px Arial,sans-serif}
.showreel-exit:hover{background:#fff;color:#080909;transform:scale(1.025)}
.showreel-player-bottomline{pointer-events:auto;display:flex;align-items:center;gap:14px;width:100%;max-width:940px;margin:0 auto 16px}
.showreel-control{flex:0 0 42px;width:42px;height:42px;border:1px solid rgba(255,255,255,.45);border-radius:50%;background:rgba(0,0,0,.25);color:#fff;font-size:14px;display:grid;place-items:center;transition:background .2s,color .2s}
.showreel-control:hover{background:#fff;color:#080909}
.showreel-progress{flex:1;min-width:40px;appearance:none;-webkit-appearance:none;height:3px;border:0;border-radius:0;background:rgba(255,255,255,.35);cursor:pointer;accent-color:#fff;outline-offset:7px}
.showreel-progress::-webkit-slider-thumb{-webkit-appearance:none;width:9px;height:9px;border-radius:50%;background:#fff}
.showreel-progress::-moz-range-thumb{width:9px;height:9px;border:0;border-radius:50%;background:#fff}
.showreel-time{flex:0 0 auto;color:#e7e7e2;font-size:9px;letter-spacing:.07em;white-space:nowrap}
.showreel-sound{flex:0 0 auto;border:1px solid rgba(255,255,255,.35);border-radius:999px;padding:10px 12px;background:rgba(0,0,0,.2);color:#fff;font-size:9px;letter-spacing:.08em;white-space:nowrap}
.showreel-sound:hover{background:rgba(255,255,255,.14)}
.showreel-click-hint{position:absolute;right:clamp(18px,3vw,36px);bottom:clamp(28px,4vw,54px);color:rgba(255,255,255,.6);font-size:8px;letter-spacing:.1em;text-align:right;pointer-events:none}
body.showreel-player-open{overflow:hidden}
@media(max-width:760px){
  .showreel-section{padding:26px 0 25px}
  .showreel-shell{width:calc(100% - 36px)}
  .showreel-section-meta{align-items:flex-start;font-size:9px;margin-bottom:11px}
  .showreel-section-meta .mono{font-size:8px;line-height:1.5}
  .showreel-card{aspect-ratio:4/3;min-height:230px;max-height:none;border-radius:3px}
  .showreel-card-topline{font-size:8px;letter-spacing:.08em}
  .showreel-card-bottomline{font-size:10px}
  .showreel-card-bottomline span:last-child{font-size:8px;gap:8px}
  .showreel-play{width:64px;height:64px}
  .showreel-section-footer{align-items:flex-start;flex-direction:column;gap:13px;padding-top:14px}
  .showreel-section-footer .mono{font-size:8px}
  .showreel-player-chrome{padding:15px}
  .showreel-player-topline .mono{font-size:8px}
  .showreel-exit{gap:8px;padding:9px 10px;font-size:8px}
  .showreel-exit span{font-size:21px}
  .showreel-player-bottomline{gap:8px;margin-bottom:22px;flex-wrap:wrap}
  .showreel-control{width:36px;height:36px;flex-basis:36px}
  .showreel-progress{order:4;flex-basis:100%;width:100%;margin-top:2px}
  .showreel-time{font-size:8px}
  .showreel-sound{font-size:8px;padding:9px 10px}
  .showreel-click-hint{left:15px;right:auto;bottom:79px;text-align:left;font-size:7px}
}
@media(prefers-reduced-motion:reduce){
  .showreel-poster,.showreel-card-shade,.showreel-play,.showreel-card-bottomline b,.showreel-exit{transition:none}
}

/* Anthromini homepage hero — reference-led centered layout with a rounded media panel */
.cuberto-hero {
  position: relative;
  padding: 18px 0 36px;
  overflow: visible;
  background: var(--paper);
  color: var(--ink);
}
.cuberto-hero-inner {
  position: relative;
  width: min(var(--max), calc(100% - 64px));
  margin-inline: auto;
  padding: clamp(26px, 3.2vw, 46px);
  overflow: hidden;
  border-radius: 25px;
  background: #e5dfdd;
  color: #111211;
  isolation: isolate;
}
.cuberto-meta-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 28px;
}
.cuberto-meta-tag,
.cuberto-meta-right,
.cuberto-live-badge {
  display: inline-flex;
  align-items: center;
}
.cuberto-meta-tag { gap: 10px; min-width: 0; }
.cuberto-meta-tag .mono { font-size: 10px; letter-spacing: .09em; }
.meta-dot { flex: 0 0 auto; width: 7px; height: 7px; border-radius: 50%; background: #111211; }
.cuberto-meta-right { justify-content: flex-end; flex-wrap: wrap; gap: 18px; }
.cuberto-live-badge { gap: 8px; color: #4d504e; font: 9px 'DM Mono', monospace; letter-spacing: .07em; }
.cuberto-live-badge .live-pulse { width: 6px; height: 6px; border-radius: 50%; background: #1c1f1d; box-shadow: 0 0 0 4px rgba(17,18,17,.07); }
.cuberto-coords { color: #6f706d; font-size: 9px; white-space: nowrap; }
.cuberto-headline-wrap { width: 100%; max-width: 1060px; margin: clamp(48px, 6.4vw, 82px) auto 0; text-align: center; }
.cuberto-headline {
  width: 100%; margin: 0 auto;
  color: #080909;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(48px, 6.15vw, 96px);
  font-weight: 600;
  line-height: .94;
  letter-spacing: -.075em;
  text-wrap: balance;
}
.title-line-mask { display: block; overflow: hidden; padding-block: .015em .045em; }
.title-line-inner { display: block; max-width: 100%; overflow-wrap: anywhere; }
.title-line-inner.italic-glow { font-style: normal; color: #080909; }
.cuberto-description {
  max-width: 760px;
  margin: 23px auto 0;
  color: #454744;
  font-size: clamp(15px, 1.27vw, 18px);
  font-weight: 400;
  line-height: 1.52;
  text-align: center;
  text-wrap: balance;
}
.cuberto-magnetic-col {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 23px;
  margin-top: 25px;
}
.magnetic-btn-attractor { display: inline-flex; }
.cuberto-magnetic-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 8px 0 23px;
  border: 1px solid #080909;
  border-radius: 999px;
  background: #080909;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  transition: transform .25s var(--ease), background .25s ease, color .25s ease;
}
.cuberto-magnetic-btn:hover { background: #292c29; border-color: #292c29; }
.magnetic-circle-backdrop { display: none; }
.magnetic-inner { display: inline-flex; align-items: center; gap: 20px; }
.magnetic-arrow { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 50%; background: #fff; color: #111211; transition: transform .25s var(--ease); }
.cuberto-magnetic-btn:hover .magnetic-arrow { transform: rotate(45deg); }
.cuberto-secondary-link { display: inline-flex; align-items: center; gap: 9px; padding: 5px 0; border-bottom: 1px solid rgba(17,18,17,.28); color: #171817; font-size: 13px; font-weight: 600; transition: gap .25s ease, border-color .25s ease; }
.cuberto-secondary-link:hover { gap: 14px; border-color: #171817; }
.cuberto-secondary-link .link-arrow { font-size: 17px; }
.hero-showreel-wrap { margin-top: clamp(43px, 5.3vw, 70px); }
.hero-showreel-meta { margin-bottom: 13px; color: #5e615e; }
.hero-showreel-meta .mono { font-size: 9px; letter-spacing: .11em; }
.hero-showreel-card {
  aspect-ratio: 2.28 / 1;
  min-height: 300px;
  max-height: 520px;
  border-radius: 15px;
  box-shadow: 0 24px 60px rgba(28, 25, 23, .12);
}
.hero-showreel-card .showreel-poster { object-position: center 48%; }
.hero-showreel-footer { padding-top: 15px; color: #626560; }
.hero-showreel-footer .mono { font-size: 9px; letter-spacing: .09em; }
.hero-showreel-footer .text-link { color: #202220; border-color: rgba(17,18,17,.25); }
.cuberto-scroll-indicator { display: flex; align-items: center; justify-content: flex-end; gap: 11px; margin-top: 21px; color: #676a66; }
.scroll-track { display: flex; justify-content: center; align-items: flex-start; width: 17px; height: 27px; padding-top: 5px; border: 1px solid rgba(17,18,17,.42); border-radius: 999px; }
.scroll-wheel { width: 3px; height: 5px; border-radius: 999px; background: currentColor; animation: anthromini-scroll-wheel 1.5s ease-in-out infinite; }
.scroll-label { font-size: 8px; letter-spacing: .12em; }
@keyframes anthromini-scroll-wheel { 0%,100% { transform: translateY(0); opacity: .55; } 50% { transform: translateY(7px); opacity: 1; } }
.cuberto-hero.hero-is-revealed .cuberto-meta-bar { animation: anthromini-hero-fade .65s ease both; }
.cuberto-hero.hero-is-revealed .hero-showreel-wrap { animation: anthromini-hero-rise .8s .18s var(--ease) both; }
@keyframes anthromini-hero-fade { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }
@keyframes anthromini-hero-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }

@media (max-width: 900px) {
  .cuberto-meta-right { gap: 10px; }
  .cuberto-coords { display: none; }
  .cuberto-headline-wrap { margin-top: 56px; }
  .cuberto-headline { font-size: clamp(48px, 7.2vw, 72px); }
  .hero-showreel-card { min-height: 270px; }
}
@media (max-width: 760px) {
  .cuberto-hero { padding: 12px 0 26px; }
  .cuberto-hero-inner { width: calc(100% - 30px); padding: 23px 17px 18px; border-radius: 19px; }
  .cuberto-meta-bar { align-items: flex-start; gap: 12px; }
  .cuberto-meta-tag { padding-top: 3px; }
  .cuberto-meta-tag .mono { font-size: 8px; line-height: 1.5; letter-spacing: .065em; }
  .cuberto-meta-right { max-width: 45%; }
  .cuberto-live-badge { justify-content: flex-end; text-align: right; font-size: 7px; line-height: 1.5; letter-spacing: .04em; }
  .cuberto-live-badge .live-pulse { width: 5px; height: 5px; }
  .cuberto-headline-wrap { margin-top: 47px; }
  .cuberto-headline { font-size: clamp(39px, 10vw, 66px); line-height: .96; letter-spacing: -.07em; }
  .cuberto-description { max-width: 510px; margin-top: 19px; font-size: 14px; line-height: 1.58; }
  .cuberto-magnetic-col { gap: 17px; margin-top: 22px; }
  .cuberto-magnetic-btn { min-height: 47px; padding-left: 18px; font-size: 12px; }
  .magnetic-inner { gap: 15px; }
  .magnetic-arrow { width: 31px; height: 31px; }
  .cuberto-secondary-link { font-size: 12px; }
  .hero-showreel-wrap { margin-top: 37px; }
  .hero-showreel-meta { align-items: flex-start; gap: 12px; margin-bottom: 10px; }
  .hero-showreel-meta .mono { font-size: 7px; line-height: 1.55; letter-spacing: .075em; }
  .hero-showreel-card { aspect-ratio: 4 / 3; min-height: 225px; max-height: none; border-radius: 10px; }
  .hero-showreel-card .showreel-card-topline { left: 13px; right: 13px; top: 13px; font-size: 7px; letter-spacing: .055em; }
  .hero-showreel-card .showreel-card-bottomline { left: 13px; right: 13px; bottom: 13px; align-items: flex-end; font-size: 9px; }
  .hero-showreel-card .showreel-card-bottomline span:last-child { gap: 5px; font-size: 7px; letter-spacing: .06em; }
  .hero-showreel-card .showreel-play { width: 61px; height: 61px; }
  .hero-showreel-footer { align-items: flex-start; gap: 12px; padding-top: 12px; }
  .hero-showreel-footer .mono { font-size: 7px; line-height: 1.5; }
  .hero-showreel-footer .text-link { font-size: 10px; white-space: nowrap; }
  .cuberto-scroll-indicator { margin-top: 16px; }
  .scroll-label { font-size: 7px; }
}
@media (max-width: 420px) {
  .cuberto-hero-inner { width: calc(100% - 22px); padding: 19px 13px 16px; }
  .cuberto-meta-tag .mono { font-size: 7px; }
  .cuberto-live-badge { font-size: 6px; }
  .cuberto-headline-wrap { margin-top: 40px; }
  .cuberto-headline { font-size: clamp(35px, 9.7vw, 42px); }
  .cuberto-description { font-size: 13px; }
  .hero-showreel-card .showreel-card-topline span:last-child { text-align: right; }
  .hero-showreel-card .showreel-card-bottomline span:first-child { max-width: 55%; }
  .hero-showreel-footer { flex-direction: column; }
}
html[data-theme="dark"] .cuberto-hero-inner { background: #242723; color: #f1f3ed; }
html[data-theme="dark"] .cuberto-headline,
html[data-theme="dark"] .title-line-inner.italic-glow { color: #f1f3ed; }
html[data-theme="dark"] .cuberto-description { color: #c3c9bf; }
html[data-theme="dark"] .cuberto-meta-tag,
html[data-theme="dark"] .cuberto-live-badge,
html[data-theme="dark"] .cuberto-coords,
html[data-theme="dark"] .hero-showreel-meta,
html[data-theme="dark"] .hero-showreel-footer { color: #bec5b9; }
html[data-theme="dark"] .meta-dot { background: #f1f3ed; }
html[data-theme="dark"] .cuberto-live-badge .live-pulse { background: var(--lime); box-shadow: 0 0 0 4px rgba(201,243,106,.12); }
html[data-theme="dark"] .cuberto-magnetic-btn { background: #f1f3ed; color: #151713; border-color: #f1f3ed; }
html[data-theme="dark"] .magnetic-arrow { background: #151713; color: #f1f3ed; }
html[data-theme="dark"] .cuberto-secondary-link,
html[data-theme="dark"] .hero-showreel-footer .text-link { color: #f1f3ed; border-color: rgba(241,243,237,.3); }
html[data-theme="dark"] .scroll-track { border-color: rgba(241,243,237,.45); }
@media (prefers-reduced-motion: reduce) {
  .cuberto-hero.hero-is-revealed .cuberto-meta-bar,
  .cuberto-hero.hero-is-revealed .hero-showreel-wrap { animation: none; }
  .scroll-wheel { animation: none; }
}


/* Reference hero: centered oversized headline, animated reel canvas, no metadata labels. */
.cuberto-hero-reference {
  padding: clamp(24px, 4.5vw, 64px) 0 clamp(34px, 5vw, 70px);
  background: var(--paper);
  color: var(--ink);
}
.cuberto-hero-reference .cuberto-hero-inner {
  width: min(1400px, calc(100% - clamp(32px, 5vw, 96px)));
  padding: 0;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  color: var(--ink);
}
.cuberto-hero-reference .cuberto-meta-bar,
.cuberto-hero-reference .cuberto-description,
.cuberto-hero-reference .cuberto-magnetic-col,
.cuberto-hero-reference .showreel-section-meta,
.cuberto-hero-reference .showreel-card-topline,
.cuberto-hero-reference .showreel-card-bottomline,
.cuberto-hero-reference .showreel-section-footer,
.cuberto-hero-reference .cuberto-scroll-indicator {
  display: none !important;
}
.cuberto-hero-reference .cuberto-headline-wrap {
  width: 100%;
  max-width: 100%;
  margin: clamp(15px, 2.4vw, 32px) auto 0;
  text-align: center;
}
.cuberto-hero-reference .cuberto-headline {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  color: #0a0a0a;
  font-family: 'Inter Tight', 'DM Sans', Arial, sans-serif;
  font-size: clamp(44px, 5.2vw, 88px);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.045em;
  text-wrap: balance;
}
.cuberto-hero-reference .reference-subheadline {
  position: relative;
  max-width: 780px;
  margin: clamp(18px, 2vw, 28px) auto 0;
  padding: 0 8px;
  color: #505050;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: clamp(15px, 1.25vw, 18px);
  font-weight: 400;
  line-height: 1.6;
  text-align: center;
  text-wrap: balance;
}.cuberto-hero-reference .title-line-mask {
  display: block;
  overflow: hidden;
  padding: 0 0 .055em;
}
.cuberto-hero-reference .title-line-inner {
  max-width: none;
  overflow-wrap: normal;
  white-space: nowrap;
  color: #0a0a0a;
}
.cuberto-hero-reference .reference-showreel-wrap {
  width: 100%;
  margin: clamp(36px, 4.5vw, 58px) auto 0;
}
.cuberto-hero-reference .reference-showreel-card {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 0;
  max-height: none;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-radius: clamp(14px, 1.8vw, 24px);
  background: #080909;
  color: #fff;
  box-shadow: none;
  isolation: isolate;
  cursor: pointer;
}
.cuberto-hero-reference .hero-showreel-video {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #080909;
  pointer-events: none;
}
.cuberto-hero-reference .reference-showreel-card::after {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: '';
  background: radial-gradient(ellipse at center, transparent 35%, rgba(0,0,0,.16) 100%);
  pointer-events: none;
}
.cuberto-hero-reference .showreel-play { display: none !important; }
/* The branded loading screen remains in place; the homepage hero is already visible underneath it. */
.cuberto-hero-reference .reference-headline-wrap,
.cuberto-hero-reference .reference-title-line,
.cuberto-hero-reference .reference-subheadline,
.cuberto-hero-reference .reference-showreel-wrap {
  opacity: 1;
  visibility: visible;
  transform: none;
}
#app:not(.is-page-entering) .cuberto-hero-reference.hero-is-revealed .reference-showreel-wrap {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
}
html[data-theme="dark"] .cuberto-hero-reference .cuberto-hero-inner { background: transparent; color: var(--ink); }
html[data-theme="dark"] .cuberto-hero-reference .cuberto-headline,
html[data-theme="dark"] .cuberto-hero-reference .title-line-inner { color: var(--ink); }
@media (max-width: 760px) {
  .cuberto-hero-reference { padding: 28px 0 36px; }
  .cuberto-hero-reference .cuberto-hero-inner { width: calc(100% - 30px); }
  .cuberto-hero-reference .cuberto-headline-wrap { max-width: 100%; margin-top: 4px; }
  .cuberto-hero-reference .cuberto-headline { font-size: clamp(38px, 6.2vw, 58px); line-height: .96; letter-spacing: -.045em; }
  .cuberto-hero-reference .reference-subheadline { margin-top: 20px; line-height: 1.55; }
  .cuberto-hero-reference .reference-showreel-wrap { margin-top: clamp(30px, 6vw, 44px); }
  .cuberto-hero-reference .reference-showreel-card { aspect-ratio: 4 / 3; border-radius: 16px; }
  .cuberto-hero-reference .showreel-play { width: 64px; height: 64px; }
}
@media (max-width: 420px) {
  .cuberto-hero-reference .cuberto-hero-inner { width: calc(100% - 22px); }
  .cuberto-hero-reference .cuberto-headline { font-size: clamp(29px, 7.6vw, 34px); line-height: .98; }
  .cuberto-hero-reference .reference-showreel-card { aspect-ratio: 4 / 3; border-radius: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  .cuberto-hero-reference .showreel-play { transition: none; }
}


/* Page-load reveal: content animates behind the opaque 1s shutter, rather than fading the whole app late. */
#app {
  opacity: 1;
  transform: none;
  filter: none;
  transition: none;
}
#app[aria-busy="true"] {
  opacity: 1;
  transform: none;
  filter: none;
  pointer-events: none;
}
#app.is-page-entering {
  will-change: auto;
}
#app.is-page-entering .reveal {
  transition-duration: .82s;
  transition-timing-function: cubic-bezier(.65, 0, .35, 1);
}
#app.is-page-entering .portfolio-grid-redesign > .portfolio-project-card.reveal {
  transition-duration: .82s;
  transition-timing-function: cubic-bezier(.65, 0, .35, 1);
}
#app.is-page-entering .funky-motion-in-view {
  animation-duration: .82s;
  animation-timing-function: cubic-bezier(.65, 0, .35, 1);
}
#app.is-page-entering > .site-header {
  animation: anthromini-header-reveal .82s cubic-bezier(.65, 0, .35, 1) both;
}
#app.is-page-entering > main > .page-hero {
  animation: anthromini-page-hero-reveal .88s .04s cubic-bezier(.65, 0, .35, 1) both;
}
#app.is-page-entering > .studio-login,
#app.is-page-entering > .cms-shell {
  animation: anthromini-page-hero-reveal .88s cubic-bezier(.65, 0, .35, 1) both;
}
#app.is-page-entering .cuberto-hero-reference .reference-title-line {
  animation: anthromini-title-line-reveal .78s cubic-bezier(.65, 0, .35, 1) both;
  will-change: transform, opacity;
}
#app.is-page-entering .cuberto-hero-reference .title-line-mask:nth-child(2) .reference-title-line {
  animation-delay: .08s;
}
#app.is-page-entering .cuberto-hero-reference .reference-subheadline {
  animation: anthromini-subheadline-reveal .72s .10s cubic-bezier(.65, 0, .35, 1) both;
}
#app.is-page-entering .cuberto-hero-reference .reference-showreel-wrap,
#app.is-page-entering .cuberto-hero-reference.hero-is-revealed .reference-showreel-wrap {
  animation: anthromini-showreel-reveal .88s .08s cubic-bezier(.65, 0, .35, 1) both !important;
}
@keyframes anthromini-header-reveal {
  from { opacity: 0; transform: translate3d(0, -12px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes anthromini-page-hero-reveal {
  from { opacity: 0; transform: translate3d(0, 18px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes anthromini-title-line-reveal {
  from { opacity: 0; transform: translate3d(0, 112%, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes anthromini-subheadline-reveal {
  from { opacity: 0; transform: translate3d(0, 16px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes anthromini-showreel-reveal {
  from { opacity: 0; transform: translate3d(0, 28px, 0) scale(.985); }
  to { opacity: 1; transform: translate3d(0, 0, 0) scale(1); }
}
@media (prefers-reduced-motion: reduce) {
  #app, #app[aria-busy="true"] {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
  #app.is-page-entering > .site-header,
  #app.is-page-entering > main > .page-hero,
  #app.is-page-entering > .studio-login,
  #app.is-page-entering > .cms-shell,
  #app.is-page-entering .cuberto-hero-reference .reference-title-line,
  #app.is-page-entering .cuberto-hero-reference .reference-subheadline,
  #app.is-page-entering .cuberto-hero-reference .reference-showreel-wrap {
    animation: none !important;
    filter: none !important;
    will-change: auto !important;
  }
}

/* COMPLETE APPEARANCE SUPPORT — all public routes */
html[data-theme="light"] {
  color-scheme: light;
  --appearance-surface: #FFFFFF;
  --appearance-surface-soft: #F5F6F3;
  --appearance-surface-raised: #FFFFFF;
  --appearance-text-muted: #666B70;
  --appearance-border: rgba(24,26,27,.13);
}
html[data-theme="dark"] {
  color-scheme: dark;
  --appearance-surface: #141714;
  --appearance-surface-soft: #1B211D;
  --appearance-surface-raised: #202621;
  --appearance-text-muted: #B0B8AD;
  --appearance-border: rgba(241,243,237,.15);
}

html[data-theme="dark"] .page-hero {
  background-color: var(--appearance-surface);
  background-image:
    radial-gradient(ellipse at 90% 10%, rgba(201,243,106,.075), transparent 34%),
    linear-gradient(180deg, #191E1A 0%, #141714 100%);
}
html[data-theme="dark"] .page-hero::after {
  border-color: rgba(241,243,237,.12);
  box-shadow: 0 0 0 36px rgba(241,243,237,.018), 0 0 0 72px rgba(241,243,237,.012);
}
html[data-theme="dark"] .page-hero .eyebrow {
  color: #D8DFD3;
  background: rgba(255,255,255,.035);
  border-color: rgba(241,243,237,.16);
}
html[data-theme="dark"] .page-hero h1 em,
html[data-theme="dark"] .project-detail-hero .accent-serif,
html[data-theme="dark"] .about-split h2 em {
  color: var(--lime);
}
html[data-theme="dark"] .page-hero p,
html[data-theme="dark"] .section-head > p,
html[data-theme="dark"] .project-info p,
html[data-theme="dark"] .detail-card p,
html[data-theme="dark"] .about-split p,
html[data-theme="dark"] .contact-aside > p,
html[data-theme="dark"] .contact-note p,
html[data-theme="dark"] .project-meta-grid span {
  color: var(--appearance-text-muted);
}
html[data-theme="dark"] .project-info h3,
html[data-theme="dark"] .project-meta-grid strong,
html[data-theme="dark"] .detail-card h3,
html[data-theme="dark"] .process-card h3 {
  color: var(--ink);
}
html[data-theme="dark"] .project-number {
  color: #E4E9DF;
  border-color: var(--appearance-border);
}
html[data-theme="dark"] .manifesto .manifesto-bottom {
  border-top-color: var(--appearance-border);
}
html[data-theme="dark"] .process-card,
html[data-theme="dark"] .detail-card {
  color: var(--ink);
  background: linear-gradient(145deg, rgba(34,40,35,.96), rgba(25,30,26,.96));
  border-color: rgba(241,243,237,.13);
  box-shadow: 0 12px 34px rgba(0,0,0,.16), inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-theme="dark"] .process-card::before {
  border-color: rgba(241,243,237,.09);
  box-shadow: 0 0 0 22px rgba(241,243,237,.012), 0 0 0 44px rgba(241,243,237,.008);
}
html[data-theme="dark"] .process-card .process-num,
html[data-theme="dark"] .detail-card .detail-top {
  color: #B4BDB0;
}
html[data-theme="dark"] .contact-note {
  color: var(--ink);
  background: rgba(30,36,31,.88);
  border-color: var(--appearance-border);
}
html[data-theme="dark"] .contact-note .mono {
  color: #C2CCBD;
}
html[data-theme="dark"] .contact-form {
  background: linear-gradient(145deg, rgba(27,32,28,.98), rgba(21,25,22,.98));
  border-color: var(--appearance-border);
  box-shadow: 0 22px 60px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.035);
}
html[data-theme="dark"] .contact-form .field input,
html[data-theme="dark"] .contact-form .field textarea,
html[data-theme="dark"] .contact-form .field select {
  color: #F1F3ED;
  background-color: #171C18;
  border-color: rgba(241,243,237,.2);
  color-scheme: dark;
}
html[data-theme="dark"] .contact-form .field input:focus,
html[data-theme="dark"] .contact-form .field textarea:focus,
html[data-theme="dark"] .contact-form .field select:focus {
  border-color: #B4DA5C;
  box-shadow: 0 0 0 3px rgba(201,243,106,.16);
}
html[data-theme="dark"] .contact-form .field input::placeholder,
html[data-theme="dark"] .contact-form .field textarea::placeholder {
  color: #929B90;
}
html[data-theme="dark"] .contact-form .field select option {
  color: #F1F3ED;
  background: #171C18;
}
html[data-theme="dark"] .project-meta-grid {
  border-color: var(--appearance-border);
}
html[data-theme="dark"] .project-detail-hero > .eyebrow {
  color: #D1DACB;
}
html[data-theme="dark"] .reference-subheadline {
  color: #B7BFB4;
}
html[data-theme="dark"] .not-found p {
  color: var(--appearance-text-muted);
}
html[data-theme="dark"] ::selection {
  color: #151813;
  background: var(--lime);
}

/* The showreel stays dark for accurate video color; dim the page behind it in both themes. */
.showreel-player-dialog::backdrop {
  background: rgba(5,7,6,.78);
}

/* Theme transitions cover page-level surfaces, text, borders and form controls. */
html[data-theme] body,
html[data-theme] .page-hero,
html[data-theme] .page-hero .eyebrow,
html[data-theme] .process-card,
html[data-theme] .detail-card,
html[data-theme] .contact-form,
html[data-theme] .contact-note,
html[data-theme] .project-number,
html[data-theme] .project-meta-grid,
html[data-theme] .field input,
html[data-theme] .field textarea,
html[data-theme] .field select,
html[data-theme] .reference-subheadline {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: .26s;
  transition-timing-function: cubic-bezier(.2,.75,.2,1);
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme] body,
  html[data-theme] .page-hero,
  html[data-theme] .page-hero .eyebrow,
  html[data-theme] .process-card,
  html[data-theme] .detail-card,
  html[data-theme] .contact-form,
  html[data-theme] .contact-note,
  html[data-theme] .project-number,
  html[data-theme] .project-meta-grid,
  html[data-theme] .field input,
  html[data-theme] .field textarea,
  html[data-theme] .field select,
  html[data-theme] .reference-subheadline {
    transition-duration: .01ms;
  }
}

/* The private Content Studio follows the same saved appearance preference. */
.cms-appearance-toggle {
  display: inline-grid;
  place-items: center;
  width: 36px;
  min-width: 36px;
  height: 34px;
  padding: 0;
  font-size: 17px;
  line-height: 1;
}
.studio-login-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
html[data-theme="light"] .cms-shell {
  --dark-line: rgba(24,26,27,.13);
  background: #F4F6F2;
  color: #20251F;
}
html[data-theme="light"] .cms-topbar {
  background: rgba(255,255,255,.94);
  border-bottom-color: rgba(24,26,27,.12);
  box-shadow: 0 5px 20px rgba(24,26,27,.04);
}
html[data-theme="light"] .cms-brand,
html[data-theme="light"] .cms-brand small { color: #20251F; }
html[data-theme="light"] .cms-brand small { color: #697269; }
html[data-theme="light"] .cms-live-pill {
  color: #536F24;
  border-color: rgba(110,145,45,.24);
  background: rgba(201,243,106,.18);
}
html[data-theme="light"] .cms-live-pill::before { background: #6A8C2E; }
html[data-theme="light"] .cms-sidebar {
  background: #FAFBF8;
  border-right-color: rgba(24,26,27,.12);
}
html[data-theme="light"] .cms-workspace-label { color: #737C71; }
html[data-theme="light"] .cms-nav button { color: #596258; }
html[data-theme="light"] .cms-nav button:hover { background: #EDF1E9; color: #20251F; }
html[data-theme="light"] .cms-nav button.active { background: #E8F1D8; color: #4F6F1D; }
html[data-theme="light"] .cms-sidebar-bottom,
html[data-theme="light"] .cms-stat,
html[data-theme="light"] .cms-panel,
html[data-theme="light"] .cms-collection-card,
html[data-theme="light"] .cms-media-card {
  background: #FFFFFF;
  border-color: rgba(24,26,27,.12);
  box-shadow: 0 8px 26px rgba(24,26,27,.035);
}
html[data-theme="light"] .cms-avatar span,
html[data-theme="light"] .cms-heading p,
html[data-theme="light"] .cms-stat span,
html[data-theme="light"] .cms-panel-head p,
html[data-theme="light"] .cms-page-info span,
html[data-theme="light"] .activity-row p,
html[data-theme="light"] .cms-media-info > span,
html[data-theme="light"] .cms-collection-card > span,
html[data-theme="light"] .cms-data-note,
html[data-theme="light"] .cms-help,
html[data-theme="light"] .cms-empty,
html[data-theme="light"] .history-info span,
html[data-theme="light"] .inquiry-meta,
html[data-theme="light"] .cms-preview-hint {
  color: #657064;
}
html[data-theme="light"] .cms-stat small { color: #537523; }
html[data-theme="light"] .cms-overline { color: #5D7D26; }
html[data-theme="light"] .cms-status {
  color: #51721E;
  border-color: rgba(100,137,39,.25);
  background: rgba(201,243,106,.16);
}
html[data-theme="light"] .cms-stat:after {
  border-color: rgba(24,26,27,.07);
  box-shadow: 0 0 0 12px rgba(24,26,27,.018);
}
html[data-theme="light"] .cms-panel-head,
html[data-theme="light"] .cms-page-row,
html[data-theme="light"] .cms-form-actions,
html[data-theme="light"] .inquiry-card,
html[data-theme="light"] .history-row {
  border-color: rgba(24,26,27,.11);
}
html[data-theme="light"] .cms-page-icon {
  color: #465143;
  background: #F2F5EF;
  border-color: rgba(24,26,27,.11);
}
html[data-theme="light"] .cms-activity .activity-row strong,
html[data-theme="light"] .cms-page-info strong,
html[data-theme="light"] .cms-stat strong,
html[data-theme="light"] .cms-collection-card strong,
html[data-theme="light"] .cms-media-info > strong,
html[data-theme="light"] .history-info strong,
html[data-theme="light"] .inquiry-title strong {
  color: #20251F;
}
html[data-theme="light"] .cms-data-note {
  background: rgba(201,243,106,.13);
  border-color: rgba(114,148,54,.22);
}
html[data-theme="light"] .cms-btn:not(.lime) {
  color: #30382F;
  background: #F7F9F5;
  border-color: #D4DCD1;
}
html[data-theme="light"] .cms-btn:not(.lime):hover {
  color: #1D241D;
  background: #EAF0E6;
  border-color: #BDC9B7;
}
html[data-theme="light"] .cms-btn.ghost { background: transparent; }
html[data-theme="light"] .cms-field label,
html[data-theme="light"] .cms-media-info label,
html[data-theme="light"] .inquiry-status-label {
  color: #596558;
}
html[data-theme="light"] .cms-field input,
html[data-theme="light"] .cms-field textarea,
html[data-theme="light"] .cms-field select,
html[data-theme="light"] .cms-media-info input,
html[data-theme="light"] .inquiry-status-label select,
html[data-theme="light"] .cms-mobile-menu select,
html[data-theme="light"] .studio-login input {
  color: #20251F;
  background: #FFFFFF;
  border-color: #CDD6C9;
  color-scheme: light;
}
html[data-theme="light"] .cms-field input::placeholder,
html[data-theme="light"] .cms-field textarea::placeholder,
html[data-theme="light"] .cms-media-info input::placeholder,
html[data-theme="light"] .studio-login input::placeholder {
  color: #7A8477;
}
html[data-theme="light"] .cms-preview-wrap {
  background: #E9EEE6;
  border-color: rgba(24,26,27,.12);
}
html[data-theme="light"] .cms-device {
  color: #5B6658;
  border-color: rgba(24,26,27,.16);
}
html[data-theme="light"] .cms-device.active {
  color: #4F6D1F;
  background: #E5EED8;
  border-color: rgba(95,132,39,.36);
}
html[data-theme="light"] .cms-preview-banner { background: #FFFFFF; color: #20251F; }
html[data-theme="light"] .cms-preview-banner p { color: #626A60; }
html[data-theme="light"] .cms-section-item {
  color: #20251F;
  background: #F8FAF6;
  border-color: rgba(24,26,27,.13);
}
html[data-theme="light"] .cms-section-item .grip,
html[data-theme="light"] .cms-section-item span { color: #687365; }
html[data-theme="light"] .cms-section-item button {
  color: #475344;
  border-color: rgba(24,26,27,.18);
}
html[data-theme="light"] .cms-tag {
  color: #586650;
  border-color: rgba(24,26,27,.16);
}
html[data-theme="light"] .cms-empty {
  border-color: rgba(24,26,27,.24);
}
html[data-theme="light"] .cms-empty [style*="color:#e7eae2"] { color: #20251F !important; }
html[data-theme="light"] .cms-media-preview { background: #EEF1EB; }
html[data-theme="light"] .cms-section-visibility { color: #586454; }
html[data-theme="light"] .cms-toast {
  color: #192016;
  background: #E5F9BD;
}
html[data-theme="light"] .inquiry-main > a { color: #567A20; }
html[data-theme="light"] .inquiry-main > p { color: #4D574B; }
html[data-theme="light"] .history-mark {
  color: #577B21;
  background: rgba(201,243,106,.2);
  border-color: rgba(103,143,37,.25);
}
html[data-theme="light"] .seo-page-fields { border-color: rgba(24,26,27,.14); }
html[data-theme="light"] .studio-login { color: #20251F; background: #F4F6F2; }
html[data-theme="light"] .studio-login .mono { color: #626C5E; }
html[data-theme="dark"] .studio-login input {
  color: #F1F3ED;
  background: #171C18;
  border-color: rgba(241,243,237,.2);
  color-scheme: dark;
}
html[data-theme="dark"] .studio-login input::placeholder { color: #929B90; }
html[data-theme="light"] .studio-login-card {
  color: #20251F;
  background: #FFFFFF;
  border-color: rgba(24,26,27,.13);
}
html[data-theme="light"] .studio-login-card > p,
html[data-theme="light"] .studio-login-foot { color: #626C5E; }
html[data-theme="light"] .cms-shell,
html[data-theme="light"] .cms-topbar,
html[data-theme="light"] .cms-sidebar,
html[data-theme="light"] .cms-sidebar-bottom,
html[data-theme="light"] .cms-stat,
html[data-theme="light"] .cms-panel,
html[data-theme="light"] .cms-collection-card,
html[data-theme="light"] .cms-media-card,
html[data-theme="light"] .cms-preview-wrap,
html[data-theme="light"] .cms-section-item,
html[data-theme="light"] .cms-field input,
html[data-theme="light"] .cms-field textarea,
html[data-theme="light"] .cms-field select,
html[data-theme="light"] .cms-media-info input,
html[data-theme="light"] .inquiry-status-label select,
html[data-theme="light"] .studio-login,
html[data-theme="light"] .studio-login-card,
html[data-theme="light"] .studio-login input {
  transition-property: background-color, color, border-color, box-shadow;
  transition-duration: .24s;
  transition-timing-function: cubic-bezier(.2,.75,.2,1);
}

/* Loader contrast correction for dark appearance. Keep the dark backdrop, but
   use the light foreground palette for brand mark and central copy. */
html[data-theme="dark"] .intro-symbol,
html[data-theme="dark"] .intro-note {
  color: #F1F3ED;
}
html[data-theme="dark"] .intro-topline,
html[data-theme="dark"] .intro-bottomline {
  color: rgba(241, 243, 237, .68);
}
html[data-theme="dark"] .intro-word {
  color: rgba(241, 243, 237, .78);
}


/* Keep the animated RGB capsule ring clipped to the pill silhouette. */
.site-header {
  isolation: isolate;
}
.site-header::before {
  -webkit-clip-path: inset(0 round 999px) !important;
  clip-path: inset(0 round 999px) !important;
}

/* The lamp and rope must paint above the capsule glass and border, with no visible
   rectangular backing, clipping, filter, or separate blend treatment. */
.theme-lamp-control {
  position: absolute;
  z-index: 999 !important;
  isolation: auto !important;
  contain: none !important;
  overflow: visible !important;
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: normal !important;
}
.theme-lamp-canvas,
.theme-cord-hitarea {
  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  mix-blend-mode: normal !important;
  overflow: visible !important;
}

/* ANTHROMINI EDGE QUALITY PASS — smooth rounded borders without changing geometry.
   Targeted for transformed UI edges in Chromium; avoids applying compositor hints to
   the transparent lamp canvas/rope layers so their clipping and glow stay unchanged. */
:where(
  .site-header,
  .site-header .nav,
  .site-header .nav a,
  .wordmark-symbol,
  .btn,
  .icon-btn,
  .header-actions .btn-project,
  .project-ring-disc,
  .avatar,
  .loading-orb,
  .toast,
  .hero-art,
  .art-circle,
  .art-ring,
  .art-orbit,
  .hero-stamp,
  .project-visual,
  .project-arrow,
  .mock-browser,
  .project-chip,
  .pill,
  .trust-tags span,
  .service-arrow,
  .process-card,
  .process-icon,
  .capability-band,
  .capability-tags span,
  .cta-panel,
  .detail-card,
  .contact-form,
  .contact-note,
  .field input,
  .field textarea,
  .field select,
  .success-panel,
  .project-detail-art,
  .hero-service-float,
  .hero-float-tag,
  .hero-field-marker,
  .hero-scroll-track,
  .showreel-card,
  .showreel-play,
  .showreel-player-dialog,
  .showreel-exit,
  .showreel-control,
  .showreel-sound,
  .cuberto-cursor-dot,
  .cuberto-cursor-ring,
  .cms-btn,
  .cms-stat,
  .cms-panel,
  .cms-collection-card,
  .cms-media-card,
  .cms-preview-wrap,
  .cms-section-item,
  .cms-avatar-circle,
  .studio-login-card,
  .studio-login input,
  .cms-field input,
  .cms-field textarea,
  .cms-field select,
  .cms-media-info input,
  .inquiry-status-label select,
  .cms-toast,
  .cms-nav button,
  .cms-sidebar-bottom
):not(:focus-visible) {
  outline: 1px solid transparent;
  outline-offset: 0;
}

/* Removed the legacy global backface-visibility compositor hack. Forcing many small
   rounded shapes onto separate compositing layers can worsen clipped-edge aliasing. */

/* Ask SVG geometry to favour accurate curves (and therefore antialiasing), not
   pixel-aligned crisp edges. This only affects inline SVG primitives. */
svg,
svg path,
svg circle,
svg ellipse,
svg line,
svg polygon,
svg polyline,
svg rect {
  shape-rendering: geometricPrecision;
}

/* Preserve the existing keyboard-focus ring above the invisible anti-aliasing outline. */
button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 3px solid #6b901c;
  outline-offset: 4px;
}


/* Simple appearance toggle replacement for the removed hanging lamp. */
.site-header .appearance-toggle-button {
  position: relative;
  z-index: 3;
  display: inline-grid;
  place-items: center;
  flex: 0 0 42px;
  width: 42px;
  height: 42px;
  padding: 0;
  margin: 0;
  border: 1px solid rgba(24, 26, 27, .16);
  border-radius: 50%;
  background: rgba(255, 255, 255, .72);
  color: #181a1b;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0, 0, 0, .08);
  transition: transform .2s ease, background .2s ease, border-color .2s ease, color .2s ease;
}
.site-header .appearance-toggle-button:hover {
  transform: translateY(-1px);
  background: #fff;
  border-color: rgba(24, 26, 27, .34);
}
.site-header .appearance-toggle-button:focus-visible {
  outline: 2px solid #8BAE43;
  outline-offset: 3px;
}
html[data-theme="dark"] .site-header .appearance-toggle-button {
  background: rgba(25, 28, 26, .88);
  color: #f1f3ed;
  border-color: rgba(255, 255, 255, .24);
  box-shadow: 0 2px 8px rgba(0, 0, 0, .18);
}
html[data-theme="dark"] .site-header .appearance-toggle-button:hover {
  background: rgba(42, 47, 43, .96);
  border-color: rgba(255, 255, 255, .4);
}



/* Anthromini signature appearance control: a glass sphere with a water-filled,
   soft-body response. This overrides only the public header's theme button. */
.site-header .appearance-toggle-button.glass-sphere-toggle {
  position: relative;
  isolation: isolate;
  display: grid;
  place-items: center;
  flex: 0 0 48px;
  width: 48px;
  height: 48px;
  padding: 0;
  margin: 0;
  overflow: visible;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: inherit;
  box-shadow: none;
  transform: translateZ(0);
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
  transition: filter .28s ease;
}
.site-header .appearance-toggle-button.glass-sphere-toggle::before,
.site-header .appearance-toggle-button.glass-sphere-toggle::after { content: none; }
.site-header .appearance-toggle-button.glass-sphere-toggle:hover {
  background: transparent;
  border-color: transparent;
  transform: translateZ(0) scale(1.045);
  filter: drop-shadow(0 4px 8px rgba(90, 222, 210, .18));
}
.site-header .appearance-toggle-button.glass-sphere-toggle:active { transform: translateZ(0) scale(.98); }
.site-header .appearance-toggle-button.glass-sphere-toggle:focus-visible {
  outline: 2px solid #8de8d9;
  outline-offset: 2px;
  border-radius: 50%;
}
.site-header .glass-sphere {
  --sphere-cutout: #eff7f3;
  position: relative;
  display: block;
  width: 39px;
  height: 39px;
  flex: 0 0 39px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 28% 17%, rgba(255,255,255,.98) 0, rgba(255,255,255,.65) 8%, transparent 27%),
    radial-gradient(ellipse at 70% 84%, rgba(66,224,205,.36), transparent 42%),
    linear-gradient(145deg, rgba(245,255,252,.83), rgba(135,157,159,.28) 47%, rgba(255,255,255,.74));
  box-shadow:
    inset 1.5px 2px 3px rgba(255,255,255,.96),
    inset -3px -4px 7px rgba(31,55,62,.28),
    0 1px 3px rgba(0,0,0,.20),
    0 0 0 1px rgba(132,241,224,.24);
  transform: translateZ(0);
  transition: border-radius .16s ease, box-shadow .24s ease, background .3s ease;
  will-change: transform, border-radius;
}
.site-header .glass-sphere__liquid {
  position: absolute;
  inset: -4px;
  z-index: 1;
  display: block;
  border-radius: 45% 55% 58% 42% / 43% 39% 61% 57%;
  background:
    radial-gradient(ellipse at 34% 24%, rgba(255,255,255,.88), transparent 25%),
    radial-gradient(ellipse at 68% 76%, rgba(70,226,214,.85), transparent 43%),
    linear-gradient(135deg, rgba(143,209,206,.88), rgba(62,105,132,.8) 50%, rgba(222,249,235,.8));
  box-shadow: inset 1px 1px 5px rgba(255,255,255,.74), inset -3px -4px 7px rgba(24,57,76,.22);
  transform: rotate(-14deg) scale(.96);
  transform-origin: 51% 50%;
  animation: anthromini-liquid-drift 4.3s ease-in-out infinite alternate;
  will-change: transform, border-radius;
}
.site-header .glass-sphere__liquid::before {
  content: '';
  position: absolute;
  width: 19px;
  height: 16px;
  left: -3px;
  top: 18px;
  border-radius: 50%;
  background: rgba(245,255,255,.58);
  filter: blur(2px);
  transform: rotate(-28deg);
}
.site-header .glass-sphere__liquid::after {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  right: 8px;
  top: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,.95);
  box-shadow: 0 0 8px rgba(255,255,255,.8);
}
.site-header .glass-sphere__moon,
.site-header .glass-sphere__sun {
  position: absolute;
  display: block;
  left: 12px;
  top: 11px;
  width: 14px;
  height: 14px;
  opacity: .95;
  transition: opacity .25s ease, transform .45s cubic-bezier(.2,.85,.2,1);
}
.site-header .glass-sphere__moon {
  border-radius: 50%;
  background: #f4fff9;
  box-shadow: 0 0 8px rgba(244,255,249,.38);
}
.site-header .glass-sphere__moon::after {
  content: '';
  position: absolute;
  width: 13px;
  height: 13px;
  top: -3px;
  left: 5px;
  border-radius: 50%;
  background: #659da7;
}
.site-header .glass-sphere__sun { opacity: 0; transform: scale(.35) rotate(-45deg); }
.site-header .glass-sphere__sun::before {
  content: '';
  position: absolute;
  left: 4px;
  top: 4px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #f4ff9b;
  box-shadow: 0 0 5px 2px rgba(235,255,127,.75), 0 -8px 0 -2px #edff9b, 0 8px 0 -2px #edff9b, 8px 0 0 -2px #edff9b, -8px 0 0 -2px #edff9b, 6px 6px 0 -2px #edff9b, -6px 6px 0 -2px #edff9b, 6px -6px 0 -2px #edff9b, -6px -6px 0 -2px #edff9b;
}
.site-header .glass-sphere__sheen {
  position: absolute;
  z-index: 3;
  inset: 1px;
  border-radius: inherit;
  pointer-events: none;
  background: linear-gradient(138deg, rgba(255,255,255,.54) 0%, rgba(255,255,255,.12) 24%, transparent 46%, rgba(255,255,255,.06) 68%, rgba(255,255,255,.28) 100%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.26);
}
.site-header .glass-sphere__bubble {
  position: absolute;
  z-index: 2;
  display: block;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.86), rgba(255,255,255,.06) 68%);
  opacity: .72;
  animation: anthromini-microbubble 3.4s ease-in-out infinite;
}
.site-header .glass-sphere__bubble--one { width: 5px; height: 5px; right: 8px; bottom: 8px; }
.site-header .glass-sphere__bubble--two { width: 3px; height: 3px; left: 8px; bottom: 12px; animation-delay: -1.3s; }
.site-header .glass-sphere-toggle.is-dark .glass-sphere {
  --sphere-cutout: #18211e;
  border-color: rgba(241,255,241,.65);
  background:
    radial-gradient(ellipse at 28% 15%, rgba(255,255,255,.88), transparent 25%),
    radial-gradient(ellipse at 68% 80%, rgba(151,247,113,.24), transparent 42%),
    linear-gradient(145deg, rgba(224,248,231,.7), rgba(72,105,94,.7) 47%, rgba(12,28,25,.94));
  box-shadow: inset 1.5px 2px 3px rgba(255,255,255,.72), inset -3px -4px 7px rgba(0,0,0,.42), 0 1px 3px rgba(0,0,0,.25), 0 0 12px rgba(157,239,100,.16);
}
.site-header .glass-sphere-toggle.is-dark .glass-sphere__liquid {
  background:
    radial-gradient(ellipse at 34% 24%, rgba(255,255,255,.86), transparent 25%),
    radial-gradient(ellipse at 65% 72%, rgba(204,255,104,.87), transparent 42%),
    linear-gradient(135deg, rgba(222,255,145,.94), rgba(77,173,127,.91) 47%, rgba(35,83,83,.95));
}
.site-header .glass-sphere-toggle.is-dark .glass-sphere__moon { opacity: 0; transform: scale(.3) rotate(35deg); }
.site-header .glass-sphere-toggle.is-dark .glass-sphere__sun { opacity: 1; transform: scale(1) rotate(0); }
.site-header .glass-sphere-toggle.is-squishing .glass-sphere {
  border-radius: 43% 57% 48% 52% / 57% 44% 56% 43%;
  box-shadow: inset 2px 3px 5px rgba(255,255,255,.86), inset -4px -5px 9px rgba(23,51,56,.35), 0 0 0 1px rgba(128,235,218,.45), 0 2px 5px rgba(0,0,0,.18);
  transform: scale(1.13,.79) rotate(-5deg);
}
.site-header .glass-sphere-toggle.is-squishing .glass-sphere__liquid {
  border-radius: 57% 43% 37% 63% / 38% 61% 39% 62%;
  transform: translate(3px,-2px) rotate(17deg) scale(1.13,.86);
  animation: anthromini-liquid-press .22s ease-in forwards;
}
.site-header .glass-sphere-toggle.is-releasing .glass-sphere { animation: anthromini-sphere-release .72s cubic-bezier(.16,1.4,.34,1) both; }
.site-header .glass-sphere-toggle.is-releasing .glass-sphere__liquid { animation: anthromini-liquid-release .72s cubic-bezier(.2,1.1,.25,1) both; }
.site-header .glass-sphere-toggle.is-releasing .glass-sphere__bubble--one { animation: anthromini-bubble-release .68s ease-out both; }
@keyframes anthromini-liquid-drift {
  from { border-radius: 45% 55% 58% 42% / 43% 39% 61% 57%; transform: rotate(-14deg) scale(.96) translate(-.4px,.2px); }
  to { border-radius: 56% 44% 41% 59% / 53% 58% 42% 47%; transform: rotate(13deg) scale(1.02) translate(1px,-.7px); }
}
@keyframes anthromini-liquid-press {
  to { border-radius: 61% 39% 35% 65% / 34% 65% 35% 66%; }
}
@keyframes anthromini-sphere-release {
  0% { transform: scale(1.13,.79) rotate(-5deg); border-radius: 43% 57% 48% 52% / 57% 44% 56% 43%; }
  34% { transform: scale(.88,1.13) rotate(4deg); border-radius: 55% 45% 58% 42% / 43% 60% 40% 57%; }
  57% { transform: scale(1.07,.94) rotate(-2deg); border-radius: 47% 53% 42% 58% / 55% 42% 58% 45%; }
  77% { transform: scale(.975,1.035) rotate(1deg); border-radius: 52% 48% 54% 46% / 47% 54% 46% 53%; }
  100% { transform: scale(1,1) rotate(0); border-radius: 50%; }
}
@keyframes anthromini-liquid-release {
  0% { transform: translate(3px,-2px) rotate(17deg) scale(1.13,.86); border-radius: 61% 39% 35% 65% / 34% 65% 35% 66%; }
  31% { transform: translate(-2px,2px) rotate(-22deg) scale(.89,1.15); border-radius: 37% 63% 59% 41% / 61% 35% 65% 39%; }
  57% { transform: translate(1px,-1px) rotate(12deg) scale(1.07,.95); border-radius: 58% 42% 38% 62% / 37% 59% 41% 63%; }
  78% { transform: translate(-.5px,.5px) rotate(-5deg) scale(.98,1.04); border-radius: 48% 52% 55% 45% / 51% 47% 53% 49%; }
  100% { transform: translate(0,0) rotate(-14deg) scale(.96); border-radius: 45% 55% 58% 42% / 43% 39% 61% 57%; }
}
@keyframes anthromini-bubble-release {
  0% { transform: translate(0,0) scale(1); }
  40% { transform: translate(-2px,-4px) scale(1.25); }
  70% { transform: translate(1px,2px) scale(.82); }
  100% { transform: translate(0,0) scale(1); }
}
@keyframes anthromini-microbubble {
  0%,100% { transform: translateY(0); opacity: .5; }
  50% { transform: translateY(-2px); opacity: .9; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .glass-sphere__liquid,
  .site-header .glass-sphere__bubble,
  .site-header .glass-sphere-toggle.is-releasing .glass-sphere,
  .site-header .glass-sphere-toggle.is-releasing .glass-sphere__liquid,
  .site-header .glass-sphere-toggle.is-releasing .glass-sphere__bubble--one {
    animation: none !important;
    transition: none !important;
  }
}
@media (max-width: 760px) {
  .site-header .appearance-toggle-button.glass-sphere-toggle { flex-basis: 43px; width: 43px; height: 43px; }
  .site-header .glass-sphere { width: 35px; height: 35px; flex-basis: 35px; }
  .site-header .glass-sphere__moon, .site-header .glass-sphere__sun { left: 10px; top: 9px; }
}


/* GLASS SPHERE REFERENCE PASS
   Match the supplied reference: graphite glass + crescent in dark mode,
   warm opal glass + fine sun in light mode. Keep the existing press/release
   soft-body animation; no layout, capsule, or application logic changes. */
.site-header .appearance-toggle-button.glass-sphere-toggle {
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  box-shadow: none;
  filter: none;
  transform: translateZ(0);
}
.site-header .appearance-toggle-button.glass-sphere-toggle:hover {
  background: transparent;
  border-color: transparent;
  filter: drop-shadow(0 3px 5px rgba(30, 40, 44, .16));
}
.site-header .appearance-toggle-button.glass-sphere-toggle:active {
  transform: translateZ(0);
}
.site-header .glass-sphere {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  overflow: hidden;
  border: 1px solid rgba(112, 121, 124, .66);
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 27% 15%, rgba(255,255,255,.98) 0, rgba(255,255,255,.7) 8%, transparent 27%),
    radial-gradient(ellipse at 72% 82%, rgba(171,160,126,.18), transparent 43%),
    linear-gradient(142deg, #f6f7f1 0%, #d1d5d0 38%, #f7f6ed 63%, #aeb7b5 100%);
  box-shadow:
    inset 1.2px 1.6px 2.5px rgba(255,255,255,.98),
    inset -2.5px -3.5px 5px rgba(57,65,65,.32),
    0 1.5px 3px rgba(0,0,0,.24),
    0 0 0 1px rgba(255,255,255,.22);
  transform: translateZ(0);
  transition: border-color .28s ease, box-shadow .28s ease, background .3s ease;
}
.site-header .glass-sphere__liquid {
  inset: 1px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 31% 19%, rgba(255,255,255,.66), transparent 28%),
    radial-gradient(ellipse at 72% 81%, rgba(163,152,123,.12), transparent 43%),
    linear-gradient(145deg, rgba(247,248,241,.35), rgba(177,184,180,.12) 53%, rgba(255,255,246,.25));
  box-shadow: inset 1px 1px 3px rgba(255,255,255,.54), inset -1.5px -2px 4px rgba(62,71,69,.1);
  opacity: .97;
  transform: scale(.98);
  animation: none;
}
.site-header .glass-sphere__liquid::before {
  width: 15px;
  height: 12px;
  left: -2px;
  top: 3px;
  background: rgba(255,255,255,.32);
  filter: blur(2.5px);
}
.site-header .glass-sphere__liquid::after {
  width: 3px;
  height: 3px;
  right: 6px;
  top: 5px;
  background: rgba(255,255,255,.88);
  box-shadow: 0 0 4px rgba(255,255,255,.65);
}
.site-header .glass-sphere__sheen {
  inset: 1px;
  background:
    radial-gradient(ellipse at 24% 12%, rgba(255,255,255,.6), transparent 28%),
    linear-gradient(140deg, rgba(255,255,255,.14), transparent 42%, rgba(255,255,255,.04) 70%, rgba(255,255,255,.2));
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.22);
}
.site-header .glass-sphere__bubble {
  opacity: 0;
  animation: none;
  border-color: rgba(255,255,255,.68);
}
.site-header .glass-sphere__moon,
.site-header .glass-sphere__sun {
  z-index: 2;
  transition: opacity .2s ease, transform .36s cubic-bezier(.2,.85,.2,1);
}
.site-header .glass-sphere__moon {
  left: 11px;
  top: 10px;
  width: 17px;
  height: 17px;
  opacity: 0;
  transform: scale(.65) rotate(-20deg);
  background: #f3f7f6;
  box-shadow: 0 0 5px rgba(245,250,255,.24);
}
.site-header .glass-sphere__moon::after {
  width: 16px;
  height: 16px;
  top: -3px;
  left: 6px;
  background: #303b45;
  box-shadow: none;
}
.site-header .glass-sphere__sun {
  left: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  opacity: 1;
  transform: scale(1) rotate(0);
}
.site-header .glass-sphere__sun::before {
  inset: 0;
  left: 0;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: repeating-conic-gradient(from 0deg, transparent 0deg 18deg, rgba(52,57,51,.95) 18deg 22deg, transparent 22deg 45deg);
  -webkit-mask: radial-gradient(circle, transparent 0 6.3px, #000 6.9px 9.7px, transparent 10.2px);
  mask: radial-gradient(circle, transparent 0 6.3px, #000 6.9px 9.7px, transparent 10.2px);
  box-shadow: none;
}
.site-header .glass-sphere__sun::after {
  content: '';
  position: absolute;
  left: 6px;
  top: 6px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #f5dfa1 0%, #d1ad62 68%, #a9833e 100%);
  box-shadow: 0 0 1px rgba(65,51,20,.4);
}
/* Dark appearance: cool graphite glass and a pale crescent, as in the reference. */
.site-header .glass-sphere-toggle.is-dark .glass-sphere {
  border-color: rgba(176,190,201,.7);
  background:
    radial-gradient(ellipse at 27% 15%, rgba(255,255,255,.94) 0, rgba(236,244,248,.48) 7%, transparent 27%),
    radial-gradient(ellipse at 71% 82%, rgba(99,132,153,.34), transparent 44%),
    linear-gradient(142deg, #596773 0%, #303a44 40%, #18222b 68%, #64727d 100%);
  box-shadow:
    inset 1.2px 1.6px 2.5px rgba(255,255,255,.77),
    inset -3px -4px 6px rgba(0,0,0,.54),
    0 1.5px 3px rgba(0,0,0,.32),
    0 0 0 1px rgba(221,239,248,.13);
}
.site-header .glass-sphere-toggle.is-dark .glass-sphere__liquid {
  background:
    radial-gradient(ellipse at 31% 19%, rgba(255,255,255,.49), transparent 28%),
    radial-gradient(ellipse at 72% 81%, rgba(113,158,185,.22), transparent 45%),
    linear-gradient(145deg, rgba(161,181,196,.32), rgba(43,57,69,.16) 52%, rgba(121,143,158,.25));
  box-shadow: inset 1px 1px 3px rgba(255,255,255,.28), inset -1.5px -2px 4px rgba(0,0,0,.2);
}
.site-header .glass-sphere-toggle.is-dark .glass-sphere__moon {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.site-header .glass-sphere-toggle.is-dark .glass-sphere__sun {
  opacity: 0;
  transform: scale(.4) rotate(45deg);
}
.site-header .glass-sphere-toggle:not(.is-dark) .glass-sphere__moon {
  opacity: 0;
  transform: scale(.6) rotate(-25deg);
}
.site-header .glass-sphere-toggle:not(.is-dark) .glass-sphere__sun {
  opacity: 1;
  transform: scale(1) rotate(0);
}
.site-header .glass-sphere-toggle.is-squishing .glass-sphere {
  box-shadow: inset 2px 3px 5px rgba(255,255,255,.88), inset -4px -5px 8px rgba(37,49,57,.38), 0 0 0 1px rgba(200,221,226,.3), 0 2px 5px rgba(0,0,0,.22);
}
.site-header .glass-sphere-toggle.is-squishing .glass-sphere__bubble { opacity: .68; }
.site-header .glass-sphere-toggle.is-releasing .glass-sphere__bubble--one { opacity: .62; }
@media (max-width: 760px) {
  .site-header .appearance-toggle-button.glass-sphere-toggle { flex-basis: 43px; width: 43px; height: 43px; }
  .site-header .glass-sphere { width: 37px; height: 37px; flex-basis: 37px; }
  .site-header .glass-sphere__moon { left: 10px; top: 9px; }
  .site-header .glass-sphere__sun { left: 8px; top: 8px; }
}


/* ICON ALIGNMENT REPAIR
   Keep the moon and sun in the sphere's own coordinate system, above liquid and sheen.
   Previously they were children of the animated liquid layer, so its inset/transform and
   the glass reflection could offset or visually wash out the symbols. */
.site-header .glass-sphere {
  position: relative;
  isolation: isolate;
}
.site-header .glass-sphere__liquid {
  z-index: 1;
}
.site-header .glass-sphere__moon,
.site-header .glass-sphere__sun {
  position: absolute;
  z-index: 4;
  left: 50%;
  top: 50%;
  margin: 0;
  pointer-events: none;
}
.site-header .glass-sphere__moon {
  width: 17px;
  height: 17px;
  margin-left: -8.5px;
  margin-top: -8.5px;
}
.site-header .glass-sphere__sun {
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
}
.site-header .glass-sphere__sheen { z-index: 3; pointer-events: none; }
@media (max-width: 760px) {
  .site-header .glass-sphere__moon { left: 50%; top: 50%; margin-left: -8.5px; margin-top: -8.5px; }
  .site-header .glass-sphere__sun { left: 50%; top: 50%; margin-left: -10px; margin-top: -10px; }
}


/* Research-informed motion design: purposeful, lightweight and confined to Services. */
.services-band {
  isolation: isolate;
}
.services-band::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -12.5rem;
  right: -9rem;
  width: clamp(270px, 36vw, 470px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  opacity: .52;
  background:
    radial-gradient(circle at 46% 48%, rgba(201,243,106,.20), transparent 34%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 32px, rgba(201,243,106,.16) 33px 34px, transparent 35px 55px);
  -webkit-mask-image: radial-gradient(circle, #000 24%, rgba(0,0,0,.75) 52%, transparent 75%);
  mask-image: radial-gradient(circle, #000 24%, rgba(0,0,0,.75) 52%, transparent 75%);
  transform: translate3d(0,0,0) rotate(-8deg) scale(.98);
  animation: anthromini-services-orbit 17s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.services-band::after {
  z-index: 0;
  transform-origin: 65% 70%;
  animation: anthromini-services-watermark 21s ease-in-out infinite alternate;
  animation-play-state: paused;
}
.services-band.is-motion-active::before,
.services-band.is-motion-active::after,
.services-band.is-motion-active .eyebrow::before {
  animation-play-state: running;
}
.services-band > .section-head,
.services-band > .service-list,
.services-band > .services-cta {
  position: relative;
  z-index: 1;
}
.services-band .section-head h2 {
  position: relative;
}
.services-band .section-head h2::after {
  content: "";
  display: block;
  width: clamp(48px, 6.5vw, 76px);
  height: 2px;
  margin-top: .24em;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--lime), rgba(201,243,106,0));
  transform: scaleX(.58);
  transform-origin: left center;
  opacity: .68;
  transition: transform .85s cubic-bezier(.2,.75,.2,1), opacity .4s ease;
}
.services-band.is-motion-active .section-head h2::after {
  transform: scaleX(1);
  opacity: 1;
}
.services-band .eyebrow::before {
  transform-origin: center;
  animation: anthromini-services-dot 2.7s ease-in-out infinite;
  animation-play-state: paused;
}
.services-band .section-head.reveal {
  transition-delay: 0ms;
}
.services-band .service-row {
  position: relative;
  isolation: isolate;
  transition: opacity .7s var(--ease), transform .7s var(--ease), padding .35s cubic-bezier(.2,.75,.2,1), background .3s ease;
  transition-delay: var(--services-row-delay, 0ms), var(--services-row-delay, 0ms), 0ms, 0ms;
}
.services-band .service-row::before {
  content: "";
  position: absolute;
  z-index: 0;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, var(--lime), rgba(201,243,106,.32) 48%, transparent 88%);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .58s cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
}
.services-band .service-row:hover::before,
.services-band .service-row:focus-visible::before {
  transform: scaleX(1);
}
.services-band .service-row h3 {
  transition: color .25s ease, transform .38s cubic-bezier(.2,.75,.2,1);
}
.services-band .service-row:hover h3,
.services-band .service-row:focus-visible h3 {
  transform: translateX(4px);
}
.services-band .service-no {
  transition: color .25s ease, transform .35s cubic-bezier(.2,.75,.2,1);
}
.services-band .service-row:hover .service-no,
.services-band .service-row:focus-visible .service-no {
  color: #e2ffa0;
  transform: translateX(3px);
}
.services-band .service-arrow {
  transition: background .3s ease, color .3s ease, transform .4s cubic-bezier(.2,.75,.2,1), box-shadow .3s ease;
}
.services-band .service-row:hover .service-arrow,
.services-band .service-row:focus-visible .service-arrow {
  box-shadow: 0 0 0 5px rgba(201,243,106,.07), 0 0 24px rgba(201,243,106,.12);
}
.services-band .service-row.reveal:nth-child(1) { --services-row-delay: 70ms; }
.services-band .service-row.reveal:nth-child(2) { --services-row-delay: 140ms; }
.services-band .service-row.reveal:nth-child(3) { --services-row-delay: 210ms; }
.services-band .service-row.reveal:nth-child(4) { --services-row-delay: 280ms; }
.services-band .service-row.reveal:nth-child(5) { --services-row-delay: 350ms; }
.services-band .service-row.reveal:nth-child(6) { --services-row-delay: 420ms; }
.services-band .services-cta.reveal { transition-delay: 480ms; }
.services-band .services-cta .btn-primary {
  isolation: isolate;
  box-shadow: 0 0 0 rgba(201,243,106,0);
  transition: background .25s ease, border-color .25s ease, color .25s ease, transform .3s cubic-bezier(.2,.75,.2,1), box-shadow .3s ease;
}
.services-band .services-cta .btn-primary::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: -55%;
  bottom: -55%;
  left: -42%;
  width: 28%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.58), transparent);
  transform: translateX(-180%) rotate(18deg);
  transition: transform .85s cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
}
.services-band .services-cta .btn-primary:hover,
.services-band .services-cta .btn-primary:focus-visible {
  box-shadow: 0 7px 24px rgba(201,243,106,.15);
}
.services-band .services-cta .btn-primary:hover::before,
.services-band .services-cta .btn-primary:focus-visible::before {
  transform: translateX(620%) rotate(18deg);
}
@keyframes anthromini-services-orbit {
  0% { transform: translate3d(0,0,0) rotate(-8deg) scale(.98); }
  100% { transform: translate3d(-20px,18px,0) rotate(5deg) scale(1.035); }
}
@keyframes anthromini-services-watermark {
  0% { transform: translate3d(0,0,0) rotate(0deg); }
  100% { transform: translate3d(-10px,-9px,0) rotate(-1.2deg); }
}
@keyframes anthromini-services-dot {
  0%, 100% { transform: scale(1); opacity: .9; }
  50% { transform: scale(1.3); opacity: 1; }
}
@media (max-width: 760px) {
  .services-band::before {
    top: -7rem;
    right: -9rem;
    width: 280px;
    opacity: .38;
  }
  .services-band .service-row:hover,
  .services-band .service-row:focus-visible { padding-left: 7px; padding-right: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-band::before,
  .services-band::after,
  .services-band .eyebrow::before {
    animation: none !important;
  }
  .services-band .section-head h2::after,
  .services-band .service-row::before,
  .services-band .services-cta .btn-primary::before {
    transition: none !important;
  }
  .services-band .section-head h2::after { transform: scaleX(1); opacity: .8; }
  .services-band .service-row::before { display: none; }
}

/* CURVE QUALITY REPAIR — targeted rendering fixes, with existing sizes and layouts preserved. */
/* Animate the project ring's gradient, not the circular element itself. This keeps its edge
   geometry stationary while preserving both the orbit and hue-shift animations. */
@property --project-ring-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}

.project-ring-disc::before {
  --project-ring-angle: 0deg;
  inset: 0;
  background: conic-gradient(
    from var(--project-ring-angle),
    transparent 0 58%,
    #ff6ea9 68%,
    #ffd36e 76%,
    #6ef0ff 84%,
    transparent 92%
  );
  -webkit-mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    rgba(0, 0, 0, .38) calc(100% - 2.35px),
    #000 calc(100% - 1.35px)
  );
  mask: radial-gradient(
    farthest-side,
    transparent calc(100% - 3px),
    rgba(0, 0, 0, .38) calc(100% - 2.35px),
    #000 calc(100% - 1.35px)
  );
  animation: project-ring-orbit 2.6s linear infinite, project-ring-hue 7s linear infinite;
}

@keyframes project-ring-orbit {
  to { --project-ring-angle: 1turn; }
}

/* Give the video the same rounded edge as its clipping card to prevent edge mismatch. */
.cuberto-hero-reference .hero-showreel-video {
  border-radius: inherit;
}

/* Soften the Services' hard 1px concentric rings and avoid scaling/rotating their edge. */
.services-band::before {
  background:
    radial-gradient(circle at 46% 48%, rgba(201, 243, 106, .20), transparent 34%),
    repeating-radial-gradient(
      circle at 50% 50%,
      transparent 0 31px,
      rgba(201, 243, 106, .025) 32px,
      rgba(201, 243, 106, .09) 33px,
      rgba(201, 243, 106, .11) 34px,
      rgba(201, 243, 106, .055) 35px,
      transparent 36px 55px
    );
  transform: translate3d(0, 0, 0);
}

@keyframes anthromini-services-orbit {
  0% { transform: translate3d(0, 0, 0); }
  100% { transform: translate3d(-20px, 18px, 0); }
}

@media (prefers-reduced-motion: reduce) {
  .project-ring-disc::before {
    animation: none !important;
    transform: none !important;
  }
}


/* Anthromini motion enhancement: scoped to scroll reveals and portfolio controls. */
.reveal.gsap-reveal-active,
.project-card.gsap-flip-enter {
  transition: none !important;
}

/* GSAP owns these same hero entry values while the loader exits; the visual design stays unchanged. */
#app.is-page-entering.hero-gsap-entry-active .cuberto-hero-reference .reference-title-line,
#app.is-page-entering.hero-gsap-entry-active .cuberto-hero-reference .reference-subheadline,
#app.is-page-entering.hero-gsap-entry-active .cuberto-hero-reference .reference-showreel-wrap {
  animation: none !important;
}

.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: -6px 0 24px;
}
.portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.portfolio-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.portfolio-filter:hover { transform: translateY(-1px); border-color: rgba(24,26,27,.35); color: var(--ink); }
.portfolio-filter.is-active,
.portfolio-filter[aria-pressed="true"] { color: var(--paper); background: var(--ink); border-color: var(--ink); }
.portfolio-all-link { flex: 0 0 auto; }
.portfolio-grid .project-card[hidden] { display: none !important; }
html[data-theme="dark"] .portfolio-filter:hover { border-color: rgba(241,243,237,.4); }
@media (max-width: 760px) {
  .portfolio-toolbar { align-items: flex-start; flex-direction: column; gap: 14px; margin: 0 0 20px; }
  .portfolio-filters { gap: 7px; }
  .portfolio-filter { min-height: 36px; padding: 0 11px; font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-filter { transition: none !important; }
  #app.is-page-entering.hero-gsap-entry-active .cuberto-hero-reference .reference-title-line,
  #app.is-page-entering.hero-gsap-entry-active .cuberto-hero-reference .reference-subheadline,
  #app.is-page-entering.hero-gsap-entry-active .cuberto-hero-reference .reference-showreel-wrap { animation: none !important; }
}


/* Anthromini portfolio gallery: responsive masonry, editorial labels and Flip view changes. */
.home-work-section,
.portfolio-gallery-section {
  position: relative;
  isolation: isolate;
  color: #f4f4f1;
  background: #090a0a;
}
.home-work-section {
  padding-block: clamp(76px, 9vw, 132px);
}
.portfolio-gallery-section {
  padding-block: clamp(54px, 7vw, 96px);
}
.home-work-section .container,
.portfolio-gallery-section .container {
  width: min(1400px, calc(100% - 72px));
}
.home-work-section .section-head h2,
.portfolio-gallery-section .section-head h2 {
  color: #f4f4f1;
}
.home-work-section .section-head p,
.portfolio-gallery-section .section-head p {
  color: #a4a7a2;
}
.home-work-section .eyebrow,
.portfolio-gallery-section .eyebrow {
  color: #b6bbb3;
}
.home-work-section .eyebrow:before,
.portfolio-gallery-section .eyebrow:before {
  background: var(--lime);
}
.home-work-section .section-head,
.portfolio-gallery-section .section-head {
  margin-bottom: clamp(28px, 4vw, 52px);
}
.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 clamp(28px, 4vw, 48px);
}
.portfolio-view-switch {
  display: inline-flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}
.portfolio-view-button {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: clamp(112px, 12vw, 154px);
  min-height: 47px;
  padding: 0 24px;
  border: 1px solid rgba(245, 245, 242, .88);
  border-radius: 999px;
  background: transparent;
  color: #f5f5f2;
  font-size: clamp(17px, 2vw, 27px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -.035em;
  transition: color .24s ease, background-color .24s ease, border-color .24s ease;
}
.portfolio-view-button:hover { border-color: #fff; }
.portfolio-view-button.is-active,
.portfolio-view-button[aria-pressed="true"] {
  background: #f4f4f2;
  border-color: #f4f4f2;
  color: #101111;
}
.portfolio-all-link {
  color: #efefec;
  border-color: rgba(255,255,255,.32);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-rows: 3px;
  grid-auto-flow: row dense;
  gap: 10px 16px;
  align-items: stretch;
  padding-bottom: clamp(150px, 17vw, 220px);
}
.portfolio-grid .project-card {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  height: auto;
  grid-row: span 36;
  overflow: visible;
  border-radius: 5px;
  transform: translateY(var(--portfolio-offset, 0px));
  transition: transform .36s cubic-bezier(.2,.7,.2,1);
  isolation: isolate;
}
.portfolio-grid .project-card:nth-child(1) { grid-row: span 38; --portfolio-offset: 0px; }
.portfolio-grid .project-card:nth-child(2) { grid-row: span 30; --portfolio-offset: clamp(78px, 11.5vw, 176px); }
.portfolio-grid .project-card:nth-child(3) { grid-row: span 42; --portfolio-offset: clamp(28px, 4vw, 58px); }
.portfolio-grid .project-card:nth-child(4) { grid-row: span 34; --portfolio-offset: clamp(112px, 15.5vw, 224px); }
.portfolio-grid .project-card:hover {
  transform: translateY(calc(var(--portfolio-offset, 0px) - 4px));
}
.portfolio-grid .project-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  min-height: 0;
  aspect-ratio: auto;
  display: block;
  overflow: hidden;
  border: 0;
  border-radius: 5px;
  box-shadow: none;
  color: #1d201b;
  background: #d8d6cd;
}
.portfolio-grid .project-visual[data-project-tone="green"] {
  color: #24251f;
  background:
    radial-gradient(ellipse at 78% 18%, rgba(255,255,255,.82) 0 8%, transparent 8.5%),
    linear-gradient(145deg, #d9d3c7 0%, #eee9de 43%, #a4a292 100%);
}
.portfolio-grid .project-visual[data-project-tone="dark"] {
  color: #f6f5ef;
  background:
    radial-gradient(ellipse at 70% 32%, rgba(126,94,255,.74), transparent 36%),
    linear-gradient(145deg, #111018 0%, #30264b 52%, #111112 100%);
}
.portfolio-grid .project-visual[data-project-tone="sage"] {
  color: #f4f4ed;
  background:
    radial-gradient(ellipse at 70% 26%, rgba(226,235,210,.65), transparent 40%),
    linear-gradient(145deg, #788a7c 0%, #263c32 62%, #111815 100%);
}
.portfolio-grid .project-visual[data-project-tone="blue"] {
  color: #f8f8fa;
  background:
    radial-gradient(ellipse at 67% 24%, rgba(135,166,255,.4), transparent 34%),
    linear-gradient(145deg, #0b0d12 0%, #1b2f55 48%, #101116 100%);
}
.portfolio-grid .project-visual:after {
  background: linear-gradient(180deg, rgba(0,0,0,.025), transparent 46%, rgba(0,0,0,.22));
}
.portfolio-grid .project-arrow { display: none; }
.portfolio-grid .mock-browser {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transform: none;
  transition: none;
  color: inherit;
}
.portfolio-grid .browser-bar {
  position: relative;
  z-index: 1;
  flex: 0 0 35px;
  height: 35px;
  min-height: 35px;
  padding: 0 14px;
  color: inherit;
  background: rgba(255,255,255,.16);
  border-bottom-color: rgba(255,255,255,.12);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}
.portfolio-grid .browser-dot { background: currentColor; opacity: .6; }
.portfolio-grid .browser-word { font-size: 7px; }
.portfolio-grid .mock-hero {
  position: relative;
  height: calc(100% - 35px);
  min-height: 0;
  padding: clamp(18px, 2vw, 30px);
  gap: 11px;
}
.portfolio-grid .mock-eyebrow { font-size: 8px; opacity: .74; }
.portfolio-grid .mock-title {
  max-width: 95%;
  font-size: clamp(25px, 2.65vw, 45px);
  line-height: .92;
  letter-spacing: -.075em;
  position: relative;
  z-index: 1;
}
.portfolio-grid .mock-shape {
  position: relative;
  z-index: 0;
  height: 48%;
  min-height: 104px;
  flex-shrink: 1;
  margin-top: auto;
  border-radius: 5px;
}
.portfolio-grid .project-chip {
  z-index: 2;
  left: clamp(16px, 2vw, 28px);
  bottom: clamp(14px, 1.6vw, 24px);
}
.portfolio-grid .project-info {
  position: absolute;
  z-index: 5;
  right: auto;
  bottom: 16px;
  left: 16px;
  display: block;
  width: min(86%, 330px);
  max-width: calc(100% - 32px);
  padding: 14px 16px 15px;
  border: 1px solid rgba(0,0,0,.045);
  border-radius: 4px;
  background: #f3f3f1;
  color: #181919;
  box-shadow: 0 12px 32px rgba(0,0,0,.16);
  transition: transform .25s ease, background-color .25s ease;
}
.portfolio-grid .project-card:hover .project-info { transform: translateY(-3px); }
.portfolio-grid .project-info-copy { min-width: 0; }
.portfolio-grid .project-kind {
  display: block;
  margin-bottom: 3px;
  color: #5b5d59;
  font: 9px 'DM Mono', monospace;
  text-transform: lowercase;
  letter-spacing: .02em;
}
.portfolio-grid .project-info h3 {
  margin: 0;
  color: #171818;
  font-size: clamp(15px, 1.2vw, 19px);
  line-height: 1.28;
  font-weight: 400;
  letter-spacing: -.035em;
  overflow-wrap: anywhere;
}
.portfolio-grid .project-info p {
  margin: 4px 0 0;
  color: #5e605c;
  font-size: 10px;
  line-height: 1.35;
}
.portfolio-grid .project-number { display: none; }
.portfolio-grid.is-flipping .project-card,
.portfolio-grid.is-flipping .project-info { transition: none !important; }
.portfolio-grid.is-list-view {
  grid-template-columns: minmax(0, 1fr);
  grid-auto-rows: auto;
  grid-auto-flow: row;
  row-gap: 16px;
  padding-bottom: 0;
}
.portfolio-grid.is-list-view .project-card,
.portfolio-grid.is-list-view .project-card:nth-child(n) {
  grid-row: auto;
  --portfolio-offset: 0px;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(0, 1.08fr);
  align-items: stretch;
  min-height: 0;
  transform: none;
  background: #111313;
  border: 1px solid rgba(255,255,255,.09);
}
.portfolio-grid.is-list-view .project-visual {
  position: relative;
  inset: auto;
  height: clamp(245px, 30vw, 365px);
  min-height: 0;
  border-radius: 4px 0 0 4px;
}
.portfolio-grid.is-list-view .project-info,
.portfolio-grid.is-list-view .project-card:hover .project-info {
  position: relative;
  inset: auto;
  align-self: center;
  width: auto;
  max-width: none;
  margin: 0;
  padding: clamp(22px, 4vw, 58px);
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  transform: none;
}
.portfolio-grid.is-list-view .project-kind { color: var(--lime); margin-bottom: 8px; }
.portfolio-grid.is-list-view .project-info h3 {
  color: #f5f5f2;
  font-size: clamp(25px, 3.3vw, 46px);
  letter-spacing: -.06em;
}
.portfolio-grid.is-list-view .project-info p { color: #a8aca6; font-size: 12px; margin-top: 8px; }
@media (max-width: 1100px) {
  .portfolio-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 14px; }
  .portfolio-grid .project-card:nth-child(2) { --portfolio-offset: clamp(28px, 5vw, 64px); }
  .portfolio-grid .project-card:nth-child(3) { --portfolio-offset: 0px; }
  .portfolio-grid .project-card:nth-child(4) { --portfolio-offset: clamp(42px, 6vw, 80px); }
  .portfolio-grid .project-info { left: 12px; bottom: 12px; width: min(90%, 310px); max-width: calc(100% - 24px); }
  .portfolio-grid .mock-title { font-size: clamp(28px, 4vw, 42px); }
}
@media (max-width: 760px) {
  .home-work-section .container,
  .portfolio-gallery-section .container { width: calc(100% - 36px); }
  .home-work-section { padding-block: 64px; }
  .portfolio-gallery-section { padding-block: 48px; }
  .portfolio-toolbar { align-items: center; flex-direction: row; margin-bottom: 26px; }
  .portfolio-view-switch { gap: 10px; }
  .portfolio-view-button { min-width: 104px; min-height: 41px; padding-inline: 16px; font-size: 19px; }
  .portfolio-grid { grid-template-columns: 1fr; grid-auto-rows: 3px; gap: 14px; padding-bottom: 0; }
  .portfolio-grid .project-card,
  .portfolio-grid .project-card:nth-child(n) { grid-row: span 38; --portfolio-offset: 0px; transform: none; }
  .portfolio-grid .project-visual { border-radius: 4px; }
  .portfolio-grid .project-info { left: 13px; bottom: 13px; padding: 12px 14px; max-width: calc(100% - 26px); }
  .portfolio-grid .project-info h3 { font-size: 17px; }
  .portfolio-grid .project-info p { font-size: 10px; }
  .portfolio-grid.is-list-view .project-card,
  .portfolio-grid.is-list-view .project-card:nth-child(n) { grid-template-columns: 1fr; }
  .portfolio-grid.is-list-view .project-visual { height: 255px; border-radius: 4px 4px 0 0; }
  .portfolio-grid.is-list-view .project-info,
  .portfolio-grid.is-list-view .project-card:hover .project-info { padding: 24px 20px 27px; }
  .portfolio-grid.is-list-view .project-info h3 { font-size: 27px; }
  .portfolio-grid.is-list-view .project-info p { font-size: 11px; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-view-button,
  .portfolio-grid .project-card,
  .portfolio-grid .project-info { transition: none !important; }
  .portfolio-grid .project-card,
  .portfolio-grid .project-card:nth-child(n) { transform: none !important; }
}

/* Video corner rendering fix: clip the media frame directly to the card's existing radius. */
.cuberto-hero-reference .reference-showreel-card {
  --reference-showreel-radius: clamp(14px, 1.8vw, 24px);
  border-radius: var(--reference-showreel-radius);
  overflow: hidden;
}
.cuberto-hero-reference .hero-showreel-video {
  border-radius: 0;
  -webkit-clip-path: inset(0 round var(--reference-showreel-radius));
  clip-path: inset(0 round var(--reference-showreel-radius));
}
@media (max-width: 760px) {
  .cuberto-hero-reference .reference-showreel-card {
    --reference-showreel-radius: 16px;
  }
}
@media (max-width: 420px) {
  .cuberto-hero-reference .reference-showreel-card {
    --reference-showreel-radius: 13px;
  }
}

/* Philosophy section refinement — scoped to the homepage manifesto only. */
.manifesto {
  position: relative;
  grid-template-columns: minmax(220px, .58fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 108px);
  align-items: stretch;
}
.manifesto-label {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  align-self: stretch;
  min-height: 350px;
  padding-top: 8px;
}
.manifesto-principles {
  display: grid;
  width: min(270px, 100%);
  margin-top: auto;
  padding-top: 42px;
}
.manifesto-principle {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: -.01em;
  transition: color .22s ease, padding-left .22s ease;
}
.manifesto-principle:first-child {
  border-top: 1px solid var(--line);
}
.manifesto-principle:hover {
  padding-left: 5px;
  color: var(--ink);
}
.manifesto-principle-index {
  color: var(--lime-dark);
  font: 10px 'DM Mono', monospace;
  letter-spacing: .04em;
}
.manifesto h2 {
  max-width: 980px;
  font-size: clamp(40px, 6.3vw, 88px);
  line-height: .96;
  letter-spacing: -.092em;
  text-wrap: pretty;
}
.manifesto h2 em {
  position: relative;
  z-index: 0;
  white-space: nowrap;
  color: #687b3f;
}
.manifesto h2 em::after {
  content: '';
  position: absolute;
  z-index: -1;
  left: .035em;
  right: .025em;
  bottom: .075em;
  height: .13em;
  border-radius: 999px;
  background: rgba(201, 243, 106, .42);
  transform: rotate(-1.3deg);
}
.manifesto .manifesto-bottom {
  margin-top: 32px;
  padding-top: 23px;
  gap: 34px;
}
.manifesto .manifesto-bottom p {
  max-width: 430px;
  line-height: 1.7;
}
.manifesto .manifesto-bottom .text-link {
  flex: 0 0 auto;
  transition: color .2s ease, border-color .2s ease;
}
.manifesto .manifesto-bottom .text-link:hover {
  color: #647b2c;
  border-color: currentColor;
}
@media (max-width: 760px) {
  .manifesto {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    align-items: start;
  }
  .manifesto-label {
    min-height: 0;
    gap: 22px;
  }
  .manifesto-principles {
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
    margin-top: 0;
    padding-top: 0;
  }
  .manifesto-principle,
  .manifesto-principle:first-child {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
    min-width: 0;
    padding: 10px 0 12px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    font-size: 11px;
  }
  .manifesto-principle:hover {
    padding-left: 0;
  }
  .manifesto h2 {
    font-size: clamp(39px, 10vw, 60px);
    line-height: .98;
  }
  .manifesto .manifesto-bottom {
    margin-top: 24px;
    gap: 20px;
  }
}
@media (max-width: 420px) {
  .manifesto-principles {
    gap: 9px;
  }
  .manifesto-principle,
  .manifesto-principle:first-child {
    font-size: 10px;
  }
  .manifesto h2 {
    font-size: clamp(36px, 10vw, 43px);
    letter-spacing: -.085em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .manifesto-principle,
  .manifesto .manifesto-bottom .text-link {
    transition: none;
  }
}

/* Anthromini playful colour + motion pass.
   Colour is layered onto the existing layout. Scroll-entry motion is reserved
   for static public blocks; .reveal/GSAP, hero, service-row and portfolio motion
   rules above are intentionally not overridden here. */
:root {
  --am-funky-coral: #ff7588;
  --am-funky-orange: #ffad66;
  --am-funky-cyan: #62dce9;
  --am-funky-violet: #b5a0ff;
  --am-funky-blue: #88baff;
  --am-funky-yellow: #ffd76e;
  --am-funky-pink: #ffc0d8;
}

/* Inner-page heroes keep their existing entry animation; only the colour field changes. */
html[data-theme="light"] .page-hero {
  background-image:
    radial-gradient(ellipse at 8% 10%, rgba(255,117,136,.17), transparent 28%),
    radial-gradient(ellipse at 92% 8%, rgba(98,220,233,.18), transparent 30%),
    radial-gradient(ellipse at 65% 110%, rgba(181,160,255,.12), transparent 34%),
    linear-gradient(180deg, #fff 0%, #fbf8ff 100%);
}
html[data-theme="dark"] .page-hero {
  background-image:
    radial-gradient(ellipse at 8% 10%, rgba(255,117,136,.11), transparent 28%),
    radial-gradient(ellipse at 92% 8%, rgba(98,220,233,.10), transparent 30%),
    radial-gradient(ellipse at 65% 110%, rgba(181,160,255,.09), transparent 34%),
    linear-gradient(180deg, #191e1a 0%, #141714 100%);
}
html[data-theme="light"] .page-hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, #e44c78 0%, #8a63e8 52%, #168e9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-theme="dark"] .page-hero h1 em {
  color: transparent;
  background: linear-gradient(100deg, #ff9eb0 0%, #c7b7ff 52%, #8be8f0 100%);
  -webkit-background-clip: text;
  background-clip: text;
}

/* The selected-work cards already animate; update only their colour treatment. */
.portfolio-grid .project-card:nth-child(1) .project-visual { background-color: #ffe0d5; }
.portfolio-grid .project-card:nth-child(2) .project-visual { background-color: #dcd4ff; }
.portfolio-grid .project-card:nth-child(3) .project-visual { background-color: #c5f0e6; }
.portfolio-grid .project-card:nth-child(4) .project-visual { background-color: #d1e7ff; }
.portfolio-grid .project-card:nth-child(5) .project-visual { background-color: #ffe4a8; }
.portfolio-grid .project-card:nth-child(6) .project-visual { background-color: #ffd1e0; }
.portfolio-grid .project-card:nth-child(7) .project-visual { background-color: #c9efff; }
.portfolio-grid .project-card:nth-child(8) .project-visual { background-color: #d9f5b0; }

/* Existing process cards keep their reveal/hover motion; add distinct colour cues. */
.process-card:nth-child(4n + 1) {
  background: linear-gradient(145deg, #fff0f1 0%, #fff8f3 100%);
  border-color: rgba(228,76,120,.2);
}
.process-card:nth-child(4n + 2) {
  background: linear-gradient(145deg, #e9fbff 0%, #f3fbff 100%);
  border-color: rgba(22,142,156,.2);
}
.process-card:nth-child(4n + 3) {
  background: linear-gradient(145deg, #f1edff 0%, #faf7ff 100%);
  border-color: rgba(138,99,232,.2);
}
.process-card:nth-child(4n) {
  background: linear-gradient(145deg, #fff5d9 0%, #fffaf0 100%);
  border-color: rgba(204,145,24,.2);
}
.process-card:nth-child(4n + 1) .process-icon { background: #ffd5de; color: #87364d; border-color: #ffc0d0; }
.process-card:nth-child(4n + 2) .process-icon { background: #c9f5fb; color: #155f6b; border-color: #a8ebf3; }
.process-card:nth-child(4n + 3) .process-icon { background: #ded4ff; color: #5239a4; border-color: #c6b8ff; }
.process-card:nth-child(4n) .process-icon { background: #ffe5a2; color: #744a04; border-color: #f6d47d; }
.process-card .process-num { color: #685b80; }
html[data-theme="dark"] .process-card:nth-child(4n + 1) { background: linear-gradient(145deg, #302227, #26211f); border-color: rgba(255,117,136,.26); }
html[data-theme="dark"] .process-card:nth-child(4n + 2) { background: linear-gradient(145deg, #1c2d30, #202724); border-color: rgba(98,220,233,.24); }
html[data-theme="dark"] .process-card:nth-child(4n + 3) { background: linear-gradient(145deg, #2a243d, #222026); border-color: rgba(181,160,255,.25); }
html[data-theme="dark"] .process-card:nth-child(4n) { background: linear-gradient(145deg, #342c1d, #25241f); border-color: rgba(255,215,110,.23); }
html[data-theme="dark"] .process-card .process-num { color: #ded5fa; }

/* Capabilities: playful pastel spectrum, without changing grid or chip layout. */
html[data-theme="light"] .capability-band {
  background:
    radial-gradient(ellipse at 100% 2%, rgba(255,117,136,.2), transparent 34%),
    radial-gradient(ellipse at 12% 100%, rgba(98,220,233,.22), transparent 36%),
    radial-gradient(ellipse at 72% 100%, rgba(181,160,255,.17), transparent 36%),
    linear-gradient(120deg, #fff7df 0%, #f5f2ff 50%, #eafcff 100%);
  border-color: rgba(123,101,174,.17);
}
.capability-band::after {
  border-color: rgba(138,99,232,.2);
  box-shadow: 0 0 0 32px rgba(255,117,136,.045), 0 0 0 64px rgba(98,220,233,.04);
}
.capability-tags span:nth-child(5n + 1) { border-color: rgba(228,76,120,.3); }
.capability-tags span:nth-child(5n + 2) { border-color: rgba(22,142,156,.28); }
.capability-tags span:nth-child(5n + 3) { border-color: rgba(138,99,232,.3); }
.capability-tags span:nth-child(5n + 4) { border-color: rgba(204,145,24,.32); }
.capability-tags span:nth-child(5n) { border-color: rgba(59,125,220,.3); }
html[data-theme="dark"] .capability-band {
  background:
    radial-gradient(ellipse at 100% 2%, rgba(255,117,136,.12), transparent 34%),
    radial-gradient(ellipse at 12% 100%, rgba(98,220,233,.1), transparent 36%),
    radial-gradient(ellipse at 72% 100%, rgba(181,160,255,.1), transparent 36%),
    linear-gradient(120deg, #252522 0%, #23212b 50%, #1c292a 100%);
  border-color: rgba(181,160,255,.2);
}
html[data-theme="dark"] .capability-tags span:nth-child(5n + 1) { border-color: rgba(255,117,136,.38); }
html[data-theme="dark"] .capability-tags span:nth-child(5n + 2) { border-color: rgba(98,220,233,.35); }
html[data-theme="dark"] .capability-tags span:nth-child(5n + 3) { border-color: rgba(181,160,255,.38); }
html[data-theme="dark"] .capability-tags span:nth-child(5n + 4) { border-color: rgba(255,215,110,.35); }
html[data-theme="dark"] .capability-tags span:nth-child(5n) { border-color: rgba(136,186,255,.35); }

/* CTA panels are already static blocks; colour is brighter, while the existing button stays intact. */
.cta-panel {
  background:
    radial-gradient(ellipse at 93% 8%, rgba(255,255,255,.72), transparent 28%),
    radial-gradient(ellipse at 7% 100%, rgba(98,220,233,.28), transparent 32%),
    linear-gradient(115deg, #e0ff97 0%, #baf6e9 47%, #ffd8e8 100%);
  border-color: rgba(138,99,232,.18);
  box-shadow: 0 22px 55px rgba(138,99,232,.1);
}
.cta-panel::after {
  border-color: rgba(138,99,232,.22);
  box-shadow: 0 0 0 36px rgba(255,117,136,.055), 0 0 0 72px rgba(98,220,233,.045);
}
html[data-theme="dark"] .cta-panel {
  background:
    radial-gradient(ellipse at 93% 8%, rgba(255,255,255,.66), transparent 28%),
    radial-gradient(ellipse at 7% 100%, rgba(98,220,233,.28), transparent 32%),
    linear-gradient(115deg, #e0ff97 0%, #baf6e9 47%, #ffd8e8 100%);
}

/* Manifesto has its own ambient colour wash; its text and layout remain unchanged. */
.manifesto { isolation: isolate; }
.manifesto::before,
.manifesto::after {
  content: "";
  position: absolute;
  z-index: -1;
  width: clamp(180px, 25vw, 340px);
  aspect-ratio: 1;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
}
.manifesto::before {
  top: -46px;
  left: -7%;
  background: radial-gradient(circle, rgba(255,117,136,.2), rgba(255,117,136,0) 68%);
}
.manifesto::after {
  right: -4%;
  bottom: -72px;
  background: radial-gradient(circle, rgba(98,220,233,.18), rgba(181,160,255,0) 70%);
}
.manifesto.funky-motion-in-view::before { animation: am-funky-orbit 19s ease-in-out infinite alternate; }
.manifesto.funky-motion-in-view::after { animation: am-funky-cta-halo 22s ease-in-out infinite alternate; }
.capability-band.funky-motion-in-view::after { animation: am-funky-orbit 17s ease-in-out infinite alternate; }
.cta-panel.funky-motion-in-view::after { animation: am-funky-cta-halo 15s ease-in-out infinite alternate; }
.site-footer.funky-ambient-active::before { animation: am-funky-orbit 24s ease-in-out infinite alternate; }
.manifesto h2 em {
  color: transparent;
  background: linear-gradient(105deg, #e44c78 0%, #9268e7 56%, #168e9c 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
html[data-theme="dark"] .manifesto h2 em {
  color: transparent;
  background: linear-gradient(105deg, #ff9eae 0%, #c6b4ff 56%, #8de8ef 100%);
  -webkit-background-clip: text;
  background-clip: text;
}
.manifesto-principle:nth-child(1) .manifesto-principle-index { color: #e44c78; }
.manifesto-principle:nth-child(2) .manifesto-principle-index { color: #168e9c; }
.manifesto-principle:nth-child(3) .manifesto-principle-index { color: #9268e7; }
html[data-theme="dark"] .manifesto-principle:nth-child(1) .manifesto-principle-index { color: #ff9eae; }
html[data-theme="dark"] .manifesto-principle:nth-child(2) .manifesto-principle-index { color: #8de8ef; }
html[data-theme="dark"] .manifesto-principle:nth-child(3) .manifesto-principle-index { color: #c6b4ff; }

/* About, contact and project details gain soft colour framing only. */
.about-split > div:first-child { position: relative; }
.about-split > div:first-child .eyebrow::before { background: var(--am-funky-coral); }
.about-split h2 em { color: #8762d8; }
html[data-theme="dark"] .about-split h2 em { color: #c6b4ff; }
html[data-theme="light"] .contact-layout { position: relative; }
.contact-aside .eyebrow::before { background: var(--am-funky-cyan); }
.contact-note {
  background: linear-gradient(130deg, rgba(255,224,213,.45), rgba(230,250,255,.48), rgba(241,237,255,.5));
  border-color: rgba(138,99,232,.18);
}
.contact-form {
  background: linear-gradient(145deg, rgba(255,255,255,.84), rgba(255,242,247,.72) 54%, rgba(235,251,255,.72));
  border-color: rgba(138,99,232,.2);
  box-shadow: 0 22px 60px rgba(138,99,232,.07), inset 0 1px 0 rgba(255,255,255,.8);
}
html[data-theme="dark"] .contact-note {
  background: linear-gradient(130deg, rgba(255,117,136,.07), rgba(98,220,233,.06), rgba(181,160,255,.08));
  border-color: rgba(181,160,255,.22);
}
html[data-theme="dark"] .contact-form {
  background: linear-gradient(145deg, #202521, #24202a 54%, #1d292a);
  border-color: rgba(181,160,255,.22);
  box-shadow: 0 22px 60px rgba(0,0,0,.18), inset 0 1px 0 rgba(255,255,255,.04);
}

/* The footer already has its dark style; give it a colourful ambient edge. */
.site-footer {
  background:
    radial-gradient(ellipse at 6% 90%, rgba(255,117,136,.11), transparent 30%),
    radial-gradient(ellipse at 92% 0%, rgba(98,220,233,.1), transparent 30%),
    radial-gradient(ellipse at 52% 110%, rgba(181,160,255,.08), transparent 38%),
    #181a1b;
}
.site-footer::before {
  border-color: rgba(98,220,233,.24);
  box-shadow: 0 0 0 42px rgba(255,117,136,.035), 0 0 0 84px rgba(181,160,255,.03);
}
html[data-theme="dark"] .site-footer {
  background:
    radial-gradient(ellipse at 6% 90%, rgba(255,117,136,.12), transparent 30%),
    radial-gradient(ellipse at 92% 0%, rgba(98,220,233,.11), transparent 30%),
    radial-gradient(ellipse at 52% 110%, rgba(181,160,255,.09), transparent 38%),
    #101310;
}

/* Purposeful scroll-entry motion — JS applies these only if the element has no
   existing CSS/GSAP/reveal animation. These properties avoid layout reflow. */
.funky-motion-pending {
  opacity: 0;
  transform: translate3d(0, 22px, 0);
}
.funky-motion-in-view {
  animation: am-funky-enter .72s cubic-bezier(.2,.75,.2,1) var(--funky-enter-delay, 0ms) both;
}
@keyframes am-funky-enter {
  from { opacity: 0; transform: translate3d(0, 22px, 0); }
  to { opacity: 1; transform: translate3d(0, 0, 0); }
}
@keyframes am-funky-orbit {
  from { transform: translate3d(0, 0, 0) rotate(-4deg); }
  to { transform: translate3d(-10px, 12px, 0) rotate(5deg); }
}
@keyframes am-funky-cta-halo {
  from { transform: translate3d(0, 0, 0) scale(.96); }
  to { transform: translate3d(12px, -9px, 0) scale(1.04); }
}
@media (max-width: 760px) {
  .manifesto::before { left: -14%; top: -16px; width: 210px; }
  .manifesto::after { right: -12%; bottom: -34px; width: 220px; }
  .site-footer::before { right: -360px; }
}
@media (prefers-reduced-motion: reduce) {
  .funky-motion-pending { opacity: 1 !important; transform: none !important; }
  .funky-motion-in-view,
  .manifesto::before,
  .manifesto::after,
  .capability-band::after,
  .cta-panel::after,
  .site-footer::before { animation: none !important; }
}

/* Anthromini portfolio upgrade — scoped to work cards and concept-detail pages only. */
.portfolio-grid .project-visual {
  border-radius: 8px;
  isolation: isolate;
}
.portfolio-grid .mock-hero {
  display: block;
  padding: 0;
  overflow: hidden;
}
.portfolio-grid .portfolio-art,
.project-detail-art .portfolio-art {
  position: absolute;
  inset: 0;
  overflow: hidden;
  padding: clamp(18px, 2.2vw, 32px);
  color: var(--portfolio-ink, #22231f);
  isolation: isolate;
  font-family: inherit;
}
.portfolio-art-topline,
.portfolio-art-footer,
.portfolio-community-footer {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font: 8px/1.3 'DM Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.portfolio-art-topline span:last-child,
.portfolio-art-footer span:last-child,
.portfolio-community-footer span:last-child { text-align: right; }
.portfolio-art-headline {
  position: relative;
  z-index: 2;
  margin-top: clamp(18px, 2.1vw, 31px);
  max-width: 90%;
  font-size: clamp(28px, 3.1vw, 46px);
  line-height: .9;
  letter-spacing: -.075em;
  font-weight: 500;
}
.portfolio-art em,
.portfolio-community-headline em {
  font-family: Georgia, 'Times New Roman', serif;
  font-weight: 400;
  letter-spacing: -.065em;
}
.portfolio-art-footer,
.portfolio-community-footer {
  position: absolute;
  left: clamp(18px, 2.2vw, 32px);
  right: clamp(18px, 2.2vw, 32px);
  bottom: clamp(16px, 1.8vw, 25px);
  padding-top: 11px;
  border-top: 1px solid currentColor;
  opacity: .75;
}
.portfolio-grid .project-chip,
.project-detail-art .project-chip {
  z-index: 6;
  top: 13px;
  right: 13px;
  bottom: auto;
  left: auto;
  padding: 7px 9px;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 999px;
  background: rgba(20,21,20,.16);
  color: inherit;
  font-size: 7px;
  letter-spacing: .08em;
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.portfolio-grid .project-arrow {
  display: grid;
  place-items: center;
  opacity: 0;
  transform: translateY(7px) rotate(-45deg);
  transition: opacity .22s ease, transform .22s ease;
}
.portfolio-grid .project-card:hover .project-arrow,
.portfolio-grid .project-card:focus-visible .project-arrow {
  opacity: 1;
  transform: translateY(0) rotate(0);
}
.portfolio-grid .project-card:focus-visible {
  outline: 2px solid var(--lime, #c9f36a);
  outline-offset: 5px;
}

/* 01 — Form & Field: product editorial / commerce concept. */
.portfolio-art--commerce {
  --portfolio-ink: #29291f;
  background:
    radial-gradient(ellipse at 82% 73%, rgba(255,255,255,.76), transparent 29%),
    linear-gradient(145deg, #eee9de 0%, #d9d2c3 51%, #b9baa9 100%);
}
.portfolio-art--commerce .portfolio-art-headline { max-width: 75%; }
.portfolio-commerce-products {
  position: absolute;
  z-index: 1;
  left: 9%;
  right: 9%;
  bottom: 16%;
  height: 42%;
  display: grid;
  grid-template-columns: 1.05fr .85fr 1fr;
  align-items: end;
  gap: 9px;
}
.portfolio-object {
  position: relative;
  display: flex;
  align-items: end;
  justify-content: center;
  min-width: 0;
  height: 82%;
  padding-bottom: 8px;
  border: 1px solid rgba(45,44,34,.07);
  border-radius: 48% 48% 8px 8px;
  background: linear-gradient(145deg, #f8f4ea, #d9d0bd);
  box-shadow: 0 16px 28px rgba(56,49,35,.12), inset 4px 2px 9px rgba(255,255,255,.65);
}
.portfolio-object span {
  position: relative;
  z-index: 4;
  white-space: nowrap;
  font: 6px 'DM Mono', monospace;
  letter-spacing: .02em;
  color: rgba(40,39,31,.66);
}
.portfolio-object i { position: absolute; display: block; }
.portfolio-object--vase { height: 96%; border-radius: 40% 40% 12px 12px; }
.portfolio-object--vase i {
  top: 4%; left: 30%; width: 40%; height: 27%;
  border-radius: 30% 30% 7px 7px;
  background: linear-gradient(90deg,#c4b99f,#f6f0e3 48%,#b9ae94);
}
.portfolio-object--vase:before {
  content: ''; position: absolute; top: 24%; left: 15%; width: 70%; height: 52%;
  border-radius: 35% 35% 40% 40%; background: linear-gradient(100deg,#b8aa8c,#eee5d4 50%,#c6b99e);
}
.portfolio-object--lamp { height: 72%; border-radius: 0 0 8px 8px; background: transparent; border: 0; box-shadow: none; }
.portfolio-object--lamp i {
  top: 0; left: 4%; width: 92%; aspect-ratio: 1.7;
  border-radius: 90% 90% 12% 12%; background: linear-gradient(135deg,#faf3da,#d1c18f);
  box-shadow: 0 12px 20px rgba(69,56,24,.12);
}
.portfolio-object--lamp:before {
  content: ''; position: absolute; top: 36%; left: 47%; width: 6%; height: 48%; background: #a49a7e;
}
.portfolio-object--lamp:after {
  content: ''; position: absolute; top: 80%; left: 20%; width: 60%; height: 7%; border-radius: 50%; background: #a49a7e;
}
.portfolio-object--chair { height: 65%; border-radius: 4px; background: linear-gradient(145deg,#b7b89f,#8b8d76); }
.portfolio-object--chair i {
  top: -28%; left: 5%; width: 90%; height: 55%; border-radius: 10px 10px 3px 3px;
  background: linear-gradient(135deg,#dad8c7,#9ea08a); box-shadow: 0 9px 14px rgba(46,47,36,.1);
}

/* 02 — Common Ground: expressive identity / community concept. */
.portfolio-art--community {
  --portfolio-ink: #f8f4f4;
  background:
    radial-gradient(circle at 78% 63%, rgba(177,157,255,.46), transparent 28%),
    linear-gradient(145deg, #19171f 0%, #302442 53%, #121116 100%);
}
.portfolio-community-mark {
  position: absolute;
  top: 19%; right: 9%;
  font-size: clamp(30px, 4vw, 60px);
  line-height: 1;
  font-weight: 600;
  letter-spacing: -.09em;
}
.portfolio-community-mark span { color: #c9f36a; }
.portfolio-community-headline {
  position: relative;
  z-index: 2;
  margin-top: clamp(22px, 4vw, 55px);
  max-width: 80%;
  font-size: clamp(29px, 3.5vw, 48px);
  line-height: .91;
  letter-spacing: -.08em;
  font-weight: 500;
}
.portfolio-community-headline em { color: #d1c4ff; }
.portfolio-community-orbit {
  position: absolute;
  right: 7%;
  bottom: 18%;
  width: 48%;
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  box-shadow: 0 0 0 15px rgba(255,255,255,.035), 0 0 0 30px rgba(255,255,255,.025);
}
.portfolio-community-orbit i { position: absolute; width: 28%; aspect-ratio: 1; border-radius: 50%; border: 1px solid rgba(255,255,255,.36); }
.portfolio-community-orbit i:nth-child(1) { top: 12%; left: 11%; background: #d0c0ff; }
.portfolio-community-orbit i:nth-child(2) { top: 17%; right: 10%; background: #9fddce; }
.portfolio-community-orbit i:nth-child(3) { bottom: 12%; left: 14%; background: #f0b8a0; }
.portfolio-community-orbit i:nth-child(4) { bottom: 9%; right: 14%; background: #f1e09a; }
.portfolio-community-orbit b { position: absolute; inset: 35%; display: grid; place-content: center; text-align: center; font: 6px/1.25 'DM Mono', monospace; letter-spacing: .08em; }
.portfolio-art--community .portfolio-community-footer { font-size: 7px; }

/* 03 — Northstar Ops: a small but legible product-interface preview. */
.portfolio-art--ops {
  --portfolio-ink: #24322c;
  padding: 0 !important;
  background: linear-gradient(145deg, #e6eee6, #c4d3c9);
  color: #26342d;
}
.portfolio-ops-top {
  height: 37px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 12px;
  background: rgba(255,255,255,.56);
  border-bottom: 1px solid rgba(41,63,51,.1);
  font: 6px 'DM Mono', monospace;
  letter-spacing: .035em;
}
.portfolio-ops-logo { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 6px; color: #f4f5f0; background: #24372d; font: 12px Georgia,serif; }
.portfolio-ops-avatar { margin-left: auto; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #b4c6bb; font-size: 6px; }
.portfolio-ops-body { display: grid; grid-template-columns: 29px minmax(0,1fr); height: calc(100% - 37px); }
.portfolio-ops-sidebar { display: flex; flex-direction: column; align-items: center; gap: 12px; padding-top: 17px; background: rgba(32,54,43,.08); border-right: 1px solid rgba(41,63,51,.1); }
.portfolio-ops-sidebar i { width: 11px; height: 11px; border: 1px solid rgba(41,63,51,.35); border-radius: 3px; }
.portfolio-ops-sidebar i.is-active { background: #b5d86f; border-color: #9dbd55; box-shadow: 0 0 0 3px rgba(181,216,111,.2); }
.portfolio-ops-content { min-width: 0; padding: clamp(12px,1.5vw,20px); }
.portfolio-ops-greeting { display: flex; flex-direction: column; gap: 5px; }
.portfolio-ops-greeting span { color: #65746b; font: 6px 'DM Mono',monospace; letter-spacing: .08em; }
.portfolio-ops-greeting strong { font-size: clamp(14px,1.5vw,21px); letter-spacing: -.06em; font-weight: 500; }
.portfolio-ops-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-top: 12px; }
.portfolio-ops-stats div { display: flex; flex-direction: column; gap: 3px; padding: 8px; background: rgba(255,255,255,.58); border: 1px solid rgba(41,63,51,.07); border-radius: 5px; }
.portfolio-ops-stats span { color: #69776e; font-size: 6px; }
.portfolio-ops-stats b { font-size: clamp(15px,1.65vw,22px); line-height: 1.1; font-weight: 500; letter-spacing: -.05em; }
.portfolio-ops-stats i { color: #65776c; font: 6px 'DM Mono',monospace; font-style: normal; }
.portfolio-ops-chart { margin-top: 7px; padding: 8px; background: rgba(255,255,255,.52); border: 1px solid rgba(41,63,51,.07); border-radius: 5px; }
.portfolio-ops-chart-head { display: flex; justify-content: space-between; gap: 8px; color: #526358; font-size: 6px; }
.portfolio-ops-chart-head b { font-weight: 400; }
.portfolio-ops-bars { height: clamp(42px,5vw,70px); display: flex; align-items: end; gap: 5%; padding-top: 8px; border-bottom: 1px solid rgba(41,63,51,.12); background: repeating-linear-gradient(to bottom, transparent 0 13px, rgba(41,63,51,.06) 14px 15px); }
.portfolio-ops-bars i { flex: 1; height: var(--bar); border-radius: 3px 3px 0 0; background: linear-gradient(180deg,#badf78,#7d9e5f); }
.portfolio-ops-task { display: flex; align-items: center; gap: 6px; margin-top: 7px; padding: 7px 8px; background: rgba(255,255,255,.54); border: 1px solid rgba(41,63,51,.07); border-radius: 5px; font-size: 6px; }
.portfolio-ops-check { display: grid; place-items: center; width: 13px; height: 13px; border-radius: 50%; background: #d5eaba; }
.portfolio-ops-task b { margin-left: auto; font-size: 6px; font-weight: 500; color: #63834d; }

/* 04 — Folio Finance: financial product with a distinct data-story visual. */
.portfolio-art--finance {
  --portfolio-ink: #f4f6ff;
  background:
    radial-gradient(ellipse at 76% 72%, rgba(115,147,255,.24), transparent 34%),
    linear-gradient(145deg, #172442, #1d3767 58%, #10192f);
  color: #f4f6ff;
}
.portfolio-finance-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: clamp(26px,3vw,42px); color: #b9c4e5; font-size: 10px; }
.portfolio-finance-period { font: 7px 'DM Mono',monospace; letter-spacing: .04em; }
.portfolio-finance-balance { position: relative; z-index: 1; margin-top: 5px; font-size: clamp(34px,4.8vw,68px); line-height: .97; letter-spacing: -.08em; font-weight: 500; }
.portfolio-finance-balance span { font-size: .55em; color: #bbc9f1; }
.portfolio-finance-change { margin-top: 9px; color: #c9f36a; font: 9px 'DM Mono',monospace; }
.portfolio-finance-change span { color: #b9c4e5; font: 9px inherit; }
.portfolio-finance-chart { position: relative; height: 27%; min-height: 72px; margin-top: 10px; border-bottom: 1px solid rgba(255,255,255,.2); background: repeating-linear-gradient(to bottom, transparent 0 24px, rgba(255,255,255,.08) 25px 26px); }
.portfolio-finance-chart svg { display: block; width: 100%; height: 100%; overflow: visible; }
.portfolio-finance-area { fill: url(#folioChartFill); }
.portfolio-finance-line { fill: none; stroke: #bdcbff; stroke-width: 3; vector-effect: non-scaling-stroke; }
.portfolio-finance-transactions { display: grid; gap: 8px; margin-top: 13px; }
.portfolio-finance-transactions div { display: grid; grid-template-columns: 23px minmax(0,1fr) auto; align-items: center; gap: 8px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.14); font-size: 8px; }
.portfolio-finance-transactions i { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: rgba(255,255,255,.12); color: #dbe1ff; font-style: normal; }
.portfolio-finance-transactions b { font-size: 8px; font-weight: 500; }

/* The full project page gives each concept a real narrative, not only a mockup. */
.portfolio-page-hero .container { position: relative; }
.portfolio-page-hero .container > p { max-width: 650px; }
.portfolio-page-note { display: inline-flex; align-items: center; gap: 12px; margin-top: 26px; color: var(--muted); font: 10px 'DM Mono',monospace; letter-spacing: .08em; }
.portfolio-page-note-mark { display: grid; place-items: center; width: 30px; height: 30px; border: 1px solid var(--line); border-radius: 50%; font-size: 15px; color: var(--ink); }
.portfolio-end-section { padding-top: 0; }
.portfolio-end-card { position: relative; overflow: hidden; padding: clamp(28px,6vw,76px); border-radius: 24px; background: #171918; color: #f5f5f2; isolation: isolate; }
.portfolio-end-card:before { content: ''; position: absolute; z-index: -1; width: clamp(240px,40vw,560px); aspect-ratio: 1; right: -11%; top: -90%; border-radius: 50%; border: 1px solid rgba(201,243,106,.38); box-shadow: 0 0 0 32px rgba(201,243,106,.055), 0 0 0 65px rgba(201,243,106,.035), 0 0 0 100px rgba(255,255,255,.025); }
.portfolio-end-card .eyebrow { color: #d2d6cb; }
.portfolio-end-card h2 { max-width: 780px; margin: 24px 0 16px; font-size: clamp(42px,7vw,90px); line-height: .94; letter-spacing: -.085em; }
.portfolio-end-card h2 em { color: var(--lime, #c9f36a); font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
.portfolio-end-card > p { max-width: 490px; margin: 0 0 26px; color: #b7bcb5; line-height: 1.7; }
.portfolio-end-card .btn { display: inline-flex; align-items: center; gap: 12px; }
.portfolio-end-index { position: absolute; right: clamp(28px,6vw,76px); bottom: clamp(30px,5vw,64px); max-width: 210px; text-align: right; color: #8c938b; font: 8px 'DM Mono',monospace; letter-spacing: .08em; }
.portfolio-case-study { padding-top: clamp(28px,5vw,74px); padding-bottom: clamp(64px,9vw,124px); }
.portfolio-case-title { max-width: 900px; margin: 24px 0 14px !important; }
.portfolio-case-intro { max-width: 690px; margin: 0 0 clamp(24px,4vw,48px); color: var(--muted); font-size: clamp(17px,2vw,23px); line-height: 1.55; }
.portfolio-case-kicker { display: inline-block; margin-left: 12px; padding-left: 12px; border-left: 1px solid var(--line); color: var(--muted); }
.project-detail-art .project-visual { position: relative; display: block; min-height: 0; height: clamp(390px,52vw,660px); border-radius: 12px; overflow: hidden; }
.project-detail-art .mock-browser { position: absolute; inset: 0; display: flex; flex-direction: column; width: 100%; height: 100%; border: 0; border-radius: inherit; box-shadow: none; }
.project-detail-art .browser-bar { flex: 0 0 42px; height: 42px; min-height: 42px; padding: 0 18px; }
.project-detail-art .mock-hero { position: relative; flex: 1; width: 100%; height: auto; min-height: 0; padding: 0; }
.project-detail-art .portfolio-art { padding: clamp(24px,5vw,64px); }
.project-detail-art .portfolio-art-topline,
.project-detail-art .portfolio-art-footer,
.project-detail-art .portfolio-community-footer { font-size: 10px; }
.project-detail-art .portfolio-art-headline,
.project-detail-art .portfolio-community-headline { font-size: clamp(46px,7vw,88px); }
.project-detail-art .portfolio-commerce-products { bottom: 14%; height: 45%; }
.project-detail-art .portfolio-object span { font-size: 9px; }
.project-detail-art .portfolio-ops-top { height: 52px; padding-inline: 24px; font-size: 9px; }
.project-detail-art .portfolio-ops-body { grid-template-columns: 58px minmax(0,1fr); height: calc(100% - 52px); }
.project-detail-art .portfolio-ops-content { padding: clamp(20px,3vw,38px); }
.project-detail-art .portfolio-ops-greeting span,
.project-detail-art .portfolio-ops-stats span,
.project-detail-art .portfolio-ops-stats i,
.project-detail-art .portfolio-ops-chart-head,
.project-detail-art .portfolio-ops-task { font-size: 10px; }
.project-detail-art .portfolio-ops-stats b { font-size: clamp(24px,4vw,40px); }
.project-detail-art .portfolio-ops-chart { margin-top: 16px; padding: 16px; }
.project-detail-art .portfolio-ops-bars { height: 110px; }
.project-detail-art .portfolio-ops-task { margin-top: 12px; padding: 12px; }
.project-detail-art .portfolio-finance-head { font-size: 15px; }
.project-detail-art .portfolio-finance-period { font-size: 10px; }
.project-detail-art .portfolio-finance-balance { font-size: clamp(58px,9vw,105px); }
.project-detail-art .portfolio-finance-change { font-size: 12px; }
.project-detail-art .portfolio-finance-change span { font-size: 12px; }
.project-detail-art .portfolio-finance-chart { height: 28%; min-height: 100px; }
.project-detail-art .portfolio-finance-transactions { gap: 13px; margin-top: 18px; }
.project-detail-art .portfolio-finance-transactions div { padding-bottom: 12px; font-size: 12px; }
.project-detail-art .portfolio-finance-transactions i { width: 32px; height: 32px; }
.project-detail-art .portfolio-finance-transactions b { font-size: 12px; }
.portfolio-case-overview { display: grid; grid-template-columns: minmax(0,.8fr) minmax(0,1.2fr); gap: clamp(28px,7vw,100px); margin-top: clamp(44px,7vw,90px); padding-block: clamp(32px,5vw,62px); border-bottom: 1px solid var(--line); }
.portfolio-case-overview h2 { margin-top: 20px; font-size: clamp(34px,5vw,58px); line-height: .98; letter-spacing: -.075em; }
.portfolio-case-overview h2 em { font-family: Georgia,'Times New Roman',serif; font-weight: 400; }
.portfolio-case-overview > div:last-child p { max-width: 620px; margin: 0 0 15px; color: var(--muted); line-height: 1.75; }
.portfolio-case-overview .portfolio-honesty-note { padding: 14px 16px; border-left: 2px solid var(--lime, #c9f36a); background: var(--paper-2, #f5f6f3); font-size: 12px; }
.portfolio-focus-section { margin-top: clamp(40px,6vw,76px); }
.portfolio-focus-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; margin-top: 22px; }
.portfolio-focus-card { min-height: 160px; padding: clamp(18px,2.4vw,30px); border: 1px solid var(--line); border-radius: 12px; background: var(--paper-2, #f5f6f3); }
.portfolio-focus-card > span { color: var(--muted); font: 9px 'DM Mono',monospace; letter-spacing: .06em; }
.portfolio-focus-card p { margin: 30px 0 0; max-width: 280px; font-size: clamp(15px,1.7vw,19px); line-height: 1.5; letter-spacing: -.025em; }
.portfolio-case-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-top: clamp(38px,5vw,64px); padding-top: 22px; border-top: 1px solid var(--line); }
@media (max-width: 760px) {
  .portfolio-grid .portfolio-art-topline, .portfolio-grid .portfolio-art-footer, .portfolio-grid .portfolio-community-footer { font-size: 6px; }
  .portfolio-art-headline, .portfolio-community-headline { font-size: clamp(26px,8vw,38px); }
  .portfolio-commerce-products { bottom: 18%; left: 7%; right: 7%; gap: 5px; }
  .portfolio-object span { font-size: 5px; }
  .portfolio-community-mark { font-size: 36px; }
  .portfolio-community-orbit { width: 46%; right: 5%; bottom: 20%; }
  .portfolio-ops-content { padding: 10px; }
  .portfolio-ops-greeting strong { font-size: 14px; }
  .portfolio-ops-chart-head, .portfolio-ops-stats span, .portfolio-ops-stats i, .portfolio-ops-task { font-size: 5px; }
  .portfolio-ops-stats b { font-size: 16px; }
  .portfolio-ops-bars { height: 40px; }
  .portfolio-finance-head { margin-top: 23px; font-size: 9px; }
  .portfolio-finance-balance { font-size: clamp(31px,10vw,47px); }
  .portfolio-finance-period { font-size: 6px; }
  .portfolio-finance-transactions div { font-size: 7px; }
  .portfolio-finance-transactions b { font-size: 7px; }
  .portfolio-end-card { border-radius: 18px; }
  .portfolio-end-card h2 { font-size: clamp(38px,10vw,56px); }
  .portfolio-end-index { position: relative; right: auto; bottom: auto; display: block; margin-top: 28px; text-align: left; }
  .portfolio-case-kicker { display: block; width: fit-content; margin: 9px 0 0; padding-left: 0; border-left: 0; }
  .project-detail-art .project-visual { height: clamp(360px,105vw,520px); }
  .project-detail-art .portfolio-art { padding: 20px; }
  .project-detail-art .portfolio-art-headline, .project-detail-art .portfolio-community-headline { font-size: clamp(34px,10vw,54px); }
  .project-detail-art .portfolio-art-topline, .project-detail-art .portfolio-art-footer, .project-detail-art .portfolio-community-footer { font-size: 6px; }
  .project-detail-art .portfolio-ops-top { height: 38px; padding-inline: 10px; font-size: 6px; }
  .project-detail-art .portfolio-ops-body { grid-template-columns: 30px minmax(0,1fr); height: calc(100% - 38px); }
  .project-detail-art .portfolio-ops-content { padding: 11px; }
  .project-detail-art .portfolio-ops-stats b { font-size: 19px; }
  .project-detail-art .portfolio-ops-chart { padding: 9px; }
  .project-detail-art .portfolio-ops-bars { height: 58px; }
  .project-detail-art .portfolio-finance-balance { font-size: clamp(38px,12vw,63px); }
  .portfolio-case-overview { grid-template-columns: 1fr; gap: 22px; }
  .portfolio-focus-grid { grid-template-columns: 1fr; }
  .portfolio-focus-card { min-height: 0; }
  .portfolio-focus-card p { margin-top: 18px; }
  .portfolio-case-bottom { align-items: flex-start; flex-direction: column; }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid .project-arrow { transition: none; transform: none; }
}

/* --------------------------------------------------------------------------
   Clay-inspired portfolio presentation (Anthromini-specific, portfolio only).
   Keeps the site palette/theme variables and each concept's own preview artwork.
   -------------------------------------------------------------------------- */
.home-work-section,
.portfolio-gallery-section {
  color: var(--ink);
  background: var(--paper);
  isolation: isolate;
}
.home-work-section {
  padding-block: clamp(76px, 8.5vw, 120px);
  border-top: 1px solid var(--line);
}
.portfolio-gallery-section {
  padding-block: clamp(38px, 5vw, 76px) clamp(76px, 9vw, 124px);
}
.home-work-section .container,
.portfolio-gallery-section .container {
  width: min(1360px, calc(100% - 72px));
}
.home-work-section .section-head,
.portfolio-gallery-section .section-head {
  align-items: end;
  margin-bottom: clamp(30px, 4vw, 48px);
}
.home-work-section .section-head h2,
.portfolio-gallery-section .section-head h2 {
  color: var(--ink);
}
.home-work-section .section-head p,
.portfolio-gallery-section .section-head p {
  color: var(--muted);
}
.home-work-section .eyebrow,
.portfolio-gallery-section .eyebrow {
  color: var(--muted);
}
.home-work-section .eyebrow:before,
.portfolio-gallery-section .eyebrow:before {
  background: var(--lime-dark);
}
.portfolio-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin: 0 0 clamp(26px, 3.5vw, 42px);
}
.portfolio-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.portfolio-filter {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: transparent;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.portfolio-filter:hover {
  color: var(--ink);
  border-color: var(--ink);
  transform: translateY(-1px);
}
.portfolio-filter.is-active,
.portfolio-filter[aria-pressed="true"] {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
}
.portfolio-filter-count {
  font: 9px 'DM Mono', monospace;
  opacity: .68;
}
.portfolio-all-link {
  flex: 0 0 auto;
  color: var(--ink);
  border-color: var(--line);
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  grid-auto-flow: row;
  align-items: start;
  gap: clamp(34px, 4.5vw, 62px) clamp(20px, 3vw, 42px);
  padding-bottom: 0;
}
.portfolio-grid .project-card,
.portfolio-grid .project-card:nth-child(n) {
  position: relative;
  display: block;
  min-width: 0;
  min-height: 0;
  height: auto;
  grid-row: auto;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
  isolation: auto;
}
.portfolio-grid .project-card:hover,
.portfolio-grid .project-card:nth-child(n):hover {
  transform: none;
}
.portfolio-grid .project-card[hidden] {
  display: none !important;
}
.portfolio-grid .project-visual {
  position: relative;
  inset: auto;
  display: block;
  width: 100%;
  height: auto;
  min-height: 0;
  aspect-ratio: 1.28 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 13px;
  box-shadow: none;
  isolation: isolate;
  background-color: var(--paper-2);
}
.portfolio-grid .mock-browser {
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: inherit;
  box-shadow: none;
  overflow: hidden;
  transform: scale(1);
  transition: transform .55s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid .project-card:hover .mock-browser,
.portfolio-grid .project-card:focus-visible .mock-browser {
  transform: scale(1.025);
}
.portfolio-grid .browser-bar {
  min-height: 31px;
  height: 31px;
  flex-basis: 31px;
  padding-inline: 13px;
}
.portfolio-grid .mock-hero {
  height: calc(100% - 31px);
  min-height: 0;
  padding: 0;
  overflow: hidden;
}
.portfolio-grid .portfolio-art {
  padding: clamp(18px, 2.2vw, 30px);
}
.portfolio-grid .project-chip {
  display: none;
}
.portfolio-grid .project-arrow {
  display: none;
}
.portfolio-grid .project-info,
.portfolio-grid .project-card:hover .project-info {
  position: relative;
  inset: auto;
  display: block;
  width: auto;
  max-width: none;
  margin: 0;
  padding: 17px 0 0;
  border: 0;
  border-radius: 0;
  color: var(--ink);
  background: transparent;
  box-shadow: none;
  transform: none;
  transition: none;
}
.portfolio-info-copy { min-width: 0; }
.project-info-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-bottom: 11px;
}
.portfolio-grid .project-kind {
  display: inline-flex;
  align-items: center;
  margin: 0;
  color: var(--muted);
  font: 10px 'DM Mono', monospace;
  letter-spacing: .055em;
  text-transform: uppercase;
}
.project-concept-label {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 10px;
}
.project-info-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.portfolio-grid .project-info h3 {
  margin: 0;
  color: var(--ink);
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.065em;
  overflow-wrap: anywhere;
}
.project-info-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  font-size: 16px;
  transition: color .22s ease, background-color .22s ease, border-color .22s ease, transform .22s ease;
}
.portfolio-grid .project-card:hover .project-info-arrow,
.portfolio-grid .project-card:focus-visible .project-info-arrow {
  color: var(--paper);
  border-color: var(--ink);
  background: var(--ink);
  transform: translate(2px, -2px);
}
.portfolio-grid .project-summary {
  max-width: 520px;
  margin: 9px 0 13px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}
.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}
.project-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 27px;
  padding: 0 9px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 10px;
}
.portfolio-grid.is-flipping .project-card,
.portfolio-grid.is-flipping .project-info {
  transition: none !important;
}
.portfolio-page-hero .container > p {
  max-width: 720px;
}
.portfolio-page-hero h1 {
  max-width: 900px;
  margin-top: clamp(24px, 3vw, 38px);
}
.portfolio-page-note {
  margin-top: 28px;
}
.portfolio-filter-entering {
  animation: portfolio-card-in .32s cubic-bezier(.2,.75,.2,1) both;
}
@keyframes portfolio-card-in {
  from { opacity: .45; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 900px) {
  .home-work-section .container,
  .portfolio-gallery-section .container {
    width: calc(100% - 48px);
  }
  .portfolio-grid {
    gap: 38px 20px;
  }
  .portfolio-grid .project-visual {
    aspect-ratio: 1.08 / 1;
  }
}
@media (max-width: 640px) {
  .home-work-section .container,
  .portfolio-gallery-section .container {
    width: calc(100% - 36px);
  }
  .home-work-section {
    padding-block: 58px;
  }
  .portfolio-gallery-section {
    padding-block: 28px 68px;
  }
  .portfolio-toolbar {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 27px;
  }
  .portfolio-filters {
    gap: 7px;
  }
  .portfolio-filter {
    min-height: 37px;
    padding-inline: 11px;
    gap: 7px;
    font-size: 11px;
  }
  .portfolio-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 36px;
  }
  .portfolio-grid .project-visual {
    aspect-ratio: 1.12 / 1;
    border-radius: 10px;
  }
  .portfolio-grid .project-info,
  .portfolio-grid .project-card:hover .project-info {
    padding-top: 14px;
  }
  .portfolio-grid .project-info h3 {
    font-size: clamp(25px, 7vw, 31px);
  }
  .portfolio-grid .project-summary {
    font-size: 12px;
  }
  .portfolio-page-hero .container > p {
    max-width: 100%;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-filter,
  .portfolio-grid .mock-browser,
  .project-info-arrow {
    transition: none !important;
  }
  .portfolio-filter-entering {
    animation: none !important;
  }
}


/* ========================================================================
   ANTHROMINI PORTFOLIO REDESIGN — image-led editorial case-study gallery
   Scope: portfolio card grids only. Other site sections and case-study pages
   retain their existing layout and visual treatment.
   ======================================================================== */
.portfolio-grid.portfolio-grid-redesign {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-rows: auto !important;
  grid-auto-flow: row !important;
  align-items: start !important;
  gap: clamp(38px, 5.1vw, 76px) clamp(18px, 2.6vw, 38px) !important;
  padding: clamp(8px, 1.4vw, 20px) 0 0 !important;
}
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card,
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(n) {
  position: relative !important;
  display: block !important;
  min-width: 0 !important;
  min-height: 0 !important;
  height: auto !important;
  grid-row: auto !important;
  grid-column: span 6;
  overflow: visible !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  isolation: auto !important;
  text-decoration: none;
}
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1) { grid-column: span 7; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2) {
  grid-column: span 5;
  margin-top: clamp(66px, 8.6vw, 128px);
}
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3) { grid-column: span 5; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4) {
  grid-column: span 7;
  margin-top: clamp(54px, 7.2vw, 108px);
}
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5) { grid-column: span 6; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 6) {
  grid-column: span 6;
  margin-top: clamp(28px, 4.5vw, 68px);
}
/* Card-level hover styling is handled by the visual surface below. */
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card[hidden] { display: none !important; }

.portfolio-grid-redesign .portfolio-card-visual {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.06 / 1;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(24, 26, 27, .08);
  border-radius: clamp(18px, 2.1vw, 30px);
  background: #e8e8de;
  box-shadow: 0 2px 0 rgba(24,26,27,.025), 0 14px 36px rgba(24,26,27,.045);
  transition: border-radius .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1) .portfolio-card-visual,
.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4) .portfolio-card-visual { aspect-ratio: 1.22 / 1; }
.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2) .portfolio-card-visual,
.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3) .portfolio-card-visual,
.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 6) .portfolio-card-visual { aspect-ratio: .94 / 1; }
.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5) .portfolio-card-visual { aspect-ratio: 1.08 / 1; }
.portfolio-grid-redesign .portfolio-card-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(13,15,13,.10), transparent 24%, transparent 72%, rgba(13,15,13,.10));
  opacity: .5;
  transition: opacity .4s ease;
}
.portfolio-grid-redesign .portfolio-art {
  z-index: 0;
  transform: scale(1);
  transform-origin: center;
  transition: transform .8s cubic-bezier(.2,.75,.2,1), filter .6s ease;
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-visual {
  border-radius: clamp(24px, 2.8vw, 38px);
  box-shadow: 0 22px 58px rgba(24,26,27,.12);
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-art,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-art { transform: scale(1.035); }
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual::after,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-visual::after { opacity: .8; }
.portfolio-grid-redesign .portfolio-card-index,
.portfolio-grid-redesign .portfolio-card-category,
.portfolio-grid-redesign .portfolio-card-open {
  position: absolute;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #20231f;
  background: rgba(255,255,255,.78);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 3px 12px rgba(20,24,20,.06);
}
.portfolio-grid-redesign .portfolio-card-index {
  top: 16px;
  left: 16px;
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border-radius: 999px;
  font: 10px 'DM Mono', monospace;
  letter-spacing: .03em;
}
.portfolio-grid-redesign .portfolio-card-category {
  top: 16px;
  right: 16px;
  max-width: calc(100% - 82px);
  min-height: 34px;
  padding: 0 12px;
  overflow: hidden;
  border-radius: 999px;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .035em;
  text-transform: uppercase;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.portfolio-grid-redesign .portfolio-card-open {
  right: 16px;
  bottom: 16px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 22px;
  transition: color .3s ease, background .3s ease, transform .3s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-open,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-open {
  color: #fff;
  background: #20231f;
  transform: rotate(45deg);
}

/* Rebuild the caption hierarchy: category first, expressive title, useful context. */
.portfolio-grid-redesign .project-info,
.portfolio-grid-redesign .project-card:hover .project-info,
.portfolio-grid-redesign .project-info.portfolio-card-copy {
  position: relative !important;
  inset: auto !important;
  display: block !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 20px 1px 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  color: var(--ink) !important;
  background: transparent !important;
  box-shadow: none !important;
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.portfolio-grid-redesign .portfolio-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px 16px;
  margin: 0 0 11px;
}
.portfolio-grid-redesign .portfolio-card-kind {
  color: #777c75;
  font: 10px 'DM Mono', monospace;
  letter-spacing: .07em;
  text-transform: uppercase;
}
.portfolio-grid-redesign .portfolio-card-label {
  color: #8b9088;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .055em;
  white-space: nowrap;
}
.portfolio-grid-redesign .portfolio-card-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.portfolio-grid-redesign .portfolio-card-title-row h3 {
  min-width: 0;
  margin: 0;
  color: var(--ink);
  font-size: clamp(26px, 3.2vw, 42px);
  font-weight: 500;
  line-height: .99;
  letter-spacing: -.065em;
  text-wrap: balance;
  transition: color .3s ease;
}
.portfolio-grid-redesign .portfolio-card-title-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(24,26,27,.15);
  border-radius: 50%;
  color: var(--ink);
  font-size: 18px;
  transition: color .3s ease, background .3s ease, border-color .3s ease, transform .35s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-title-arrow,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-title-arrow {
  color: var(--paper);
  background: var(--ink);
  border-color: var(--ink);
  transform: rotate(45deg);
}
.portfolio-grid-redesign .portfolio-card-summary {
  max-width: 520px;
  margin: 12px 0 0;
  color: #6b706a;
  font-size: 13px;
  line-height: 1.65;
}
.portfolio-grid-redesign .portfolio-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid rgba(24,26,27,.12);
  color: #888d86;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.portfolio-grid-redesign .portfolio-card-focus { display: inline-flex; align-items: center; gap: 8px; color: #4f554e; }
.portfolio-grid-redesign .portfolio-card-focus i { display: block; width: 6px; height: 6px; border-radius: 50%; background: var(--lime-dark); }

/* Artwork built from HTML is enlarged for the full-bleed gallery format. */
.portfolio-grid-redesign .portfolio-art-topline,
.portfolio-grid-redesign .portfolio-art-footer,
.portfolio-grid-redesign .portfolio-community-footer { font-size: clamp(8px, .72vw, 10px); }
.portfolio-grid-redesign .portfolio-art-headline,
.portfolio-grid-redesign .portfolio-community-headline { font-size: clamp(32px, 3.5vw, 54px); }
.portfolio-grid-redesign .portfolio-community-mark { font-size: clamp(38px, 4vw, 62px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-top {
  height: clamp(44px, 4.5vw, 56px);
  padding-inline: clamp(15px, 2vw, 26px);
  font-size: clamp(8px, .7vw, 10px);
}
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-logo { width: 28px; height: 28px; font-size: 16px; border-radius: 8px; }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-avatar { width: 28px; height: 28px; font-size: 8px; }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-body {
  grid-template-columns: clamp(42px, 5vw, 62px) minmax(0,1fr);
  height: calc(100% - clamp(44px, 4.5vw, 56px));
}
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-content { padding: clamp(13px, 1.8vw, 25px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-greeting span { font-size: clamp(8px, .7vw, 10px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-greeting strong { font-size: clamp(23px, 2.45vw, 36px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-stats { gap: clamp(8px, 1.3vw, 18px); margin-top: clamp(14px, 1.8vw, 24px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-stats span { font-size: clamp(8px, .7vw, 10px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-stats b { font-size: clamp(24px, 2.8vw, 40px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-stats i { font-size: clamp(7px, .62vw, 9px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-chart { padding: clamp(10px, 1.4vw, 18px); margin-top: clamp(12px, 1.7vw, 22px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-chart-head { font-size: clamp(8px, .67vw, 10px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-bars { height: clamp(48px, 5vw, 72px); }
.portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-task { font-size: clamp(8px, .72vw, 10px); margin-top: clamp(9px, 1.3vw, 17px); }
.portfolio-grid-redesign .portfolio-art--finance .portfolio-finance-head { font-size: clamp(10px, .9vw, 13px); }
.portfolio-grid-redesign .portfolio-art--finance .portfolio-finance-period { font-size: clamp(8px, .68vw, 10px); }
.portfolio-grid-redesign .portfolio-art--finance .portfolio-finance-change,
.portfolio-grid-redesign .portfolio-art--finance .portfolio-finance-change span { font-size: clamp(9px, .75vw, 11px); }
.portfolio-grid-redesign .portfolio-art--finance .portfolio-finance-transactions { font-size: clamp(9px, .8vw, 11px); }

@media (max-width: 900px) {
  .portfolio-grid.portfolio-grid-redesign { gap: 46px 20px !important; }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(n) { grid-column: span 6; margin-top: 0; }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(4n + 2),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(4n + 4) { margin-top: 42px; }
  .portfolio-grid-redesign .portfolio-card-visual,
  .portfolio-grid-redesign > .portfolio-project-card:nth-child(n) .portfolio-card-visual { aspect-ratio: 1.02 / 1; }
  .portfolio-grid-redesign > .portfolio-project-card:nth-child(4n + 1) .portfolio-card-visual,
  .portfolio-grid-redesign > .portfolio-project-card:nth-child(4n + 4) .portfolio-card-visual { aspect-ratio: 1.1 / 1; }
  .portfolio-grid-redesign .portfolio-art-headline,
  .portfolio-grid-redesign .portfolio-community-headline { font-size: clamp(29px, 4.4vw, 46px); }
}
@media (max-width: 640px) {
  .portfolio-grid.portfolio-grid-redesign { grid-template-columns: minmax(0,1fr) !important; gap: 42px !important; }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(n) { grid-column: 1 / -1; margin-top: 0; }
  .portfolio-grid-redesign > .portfolio-project-card:nth-child(n) .portfolio-card-visual { aspect-ratio: 1.12 / 1; border-radius: 20px; }
  .portfolio-grid-redesign > .portfolio-project-card:nth-child(4n + 2) .portfolio-card-visual { aspect-ratio: .98 / 1; }
  .portfolio-grid-redesign .portfolio-card-index { top: 12px; left: 12px; min-width: 34px; height: 31px; font-size: 9px; }
  .portfolio-grid-redesign .portfolio-card-category { top: 12px; right: 12px; min-height: 31px; padding-inline: 9px; font-size: 8px; }
  .portfolio-grid-redesign .portfolio-card-open { right: 12px; bottom: 12px; width: 38px; height: 38px; font-size: 19px; }
  .portfolio-grid-redesign .project-info,
  .portfolio-grid-redesign .project-card:hover .project-info { padding-top: 16px !important; }
  .portfolio-grid-redesign .portfolio-card-kind { font-size: 9px; }
  .portfolio-grid-redesign .portfolio-card-label { font-size: 8px; }
  .portfolio-grid-redesign .portfolio-card-title-row h3 { font-size: clamp(27px, 8vw, 36px); }
  .portfolio-grid-redesign .portfolio-card-title-arrow { flex-basis: 34px; width: 34px; height: 34px; }
  .portfolio-grid-redesign .portfolio-card-summary { font-size: 12px; }
  .portfolio-grid-redesign .portfolio-card-footer { font-size: 8px; }
  .portfolio-grid-redesign .portfolio-art { padding: 20px; }
  .portfolio-grid-redesign .portfolio-art-headline,
  .portfolio-grid-redesign .portfolio-community-headline { font-size: clamp(31px, 9vw, 43px); }
  .portfolio-grid-redesign .portfolio-art-topline,
  .portfolio-grid-redesign .portfolio-art-footer,
  .portfolio-grid-redesign .portfolio-community-footer { font-size: 7px; }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-top { height: 40px; padding-inline: 12px; font-size: 7px; }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-logo { width: 24px; height: 24px; }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-body { grid-template-columns: 36px minmax(0,1fr); height: calc(100% - 40px); }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-content { padding: 12px; }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-greeting strong { font-size: clamp(23px, 6vw, 31px); }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-stats b { font-size: 23px; }
  .portfolio-grid-redesign .portfolio-art--ops .portfolio-ops-bars { height: 42px; }
  .portfolio-grid-redesign .portfolio-art--finance .portfolio-finance-balance { font-size: clamp(40px, 11vw, 57px); }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid-redesign .portfolio-card-visual,
  .portfolio-grid-redesign .portfolio-art,
  .portfolio-grid-redesign .portfolio-card-open,
  .portfolio-grid-redesign .portfolio-card-title-arrow { transition: none !important; }
}

/* Portfolio media support: project cover images with arrow-triggered video previews. */
.portfolio-grid-redesign .portfolio-card-image,
.portfolio-grid-redesign .portfolio-card-preview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  background: #181a1b;
}
.portfolio-grid-redesign .portfolio-card-image { z-index: 0; }
.portfolio-grid-redesign .portfolio-card-preview-video {
  z-index: 1;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
.portfolio-grid-redesign .portfolio-card-visual.is-previewing .portfolio-card-preview-video { opacity: 1; }
.portfolio-grid-redesign .portfolio-card-visual.has-hover-video .portfolio-card-open { cursor: pointer; }
.portfolio-grid-redesign .portfolio-card-visual.is-previewing .portfolio-card-open {
  color: #fff;
  background: #20231f;
  transform: rotate(45deg);
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid-redesign .portfolio-card-preview-video { transition: none; }
}

/* ========================================================================
   PORTFOLIO GRID ALIGNMENT FIX — controlled, repeatable card rhythm
   Keeps every portfolio item aligned to a deliberate row; responsive and
   filter-aware. Portfolio media/video behavior remains unchanged.
   ======================================================================== */
.portfolio-grid.portfolio-grid-redesign {
  display: grid !important;
  grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
  grid-auto-flow: row !important;
  grid-auto-rows: auto !important;
  align-items: start !important;
  column-gap: clamp(16px, 2.2vw, 30px) !important;
  row-gap: clamp(48px, 5.5vw, 76px) !important;
  padding: 10px 0 24px !important;
}

.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card,
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:not([hidden]) {
  grid-column: span 6 !important;
  grid-row: auto !important;
  align-self: start !important;
  margin: 0 !important;
  min-width: 0 !important;
  height: auto !important;
}

/* Desktop: two-card pairs alternate wide/narrow, then settle into equal cards. */
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1 of .portfolio-project-card:not([hidden])) { grid-column: span 7 !important; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2 of .portfolio-project-card:not([hidden])) { grid-column: span 5 !important; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3 of .portfolio-project-card:not([hidden])) { grid-column: span 5 !important; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4 of .portfolio-project-card:not([hidden])) { grid-column: span 7 !important; }
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5 of .portfolio-project-card:not([hidden])),
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n of .portfolio-project-card:not([hidden])) { grid-column: span 6 !important; }

.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4 of .portfolio-project-card:not([hidden])) .portfolio-card-visual {
  aspect-ratio: 1.22 / 1 !important;
}
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3 of .portfolio-project-card:not([hidden])) .portfolio-card-visual {
  aspect-ratio: .96 / 1 !important;
}
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n of .portfolio-project-card:not([hidden])) .portfolio-card-visual {
  aspect-ratio: 1.08 / 1 !important;
}

/* Tablet: consistent two-column rows, with no vertical offsets or gaps. */
@media (max-width: 900px) and (min-width: 641px) {
  .portfolio-grid.portfolio-grid-redesign {
    grid-template-columns: repeat(12, minmax(0, 1fr)) !important;
    column-gap: 20px !important;
    row-gap: 48px !important;
  }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(n) {
    grid-column: span 6 !important;
    margin: 0 !important;
  }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card .portfolio-card-visual {
    aspect-ratio: 1.04 / 1 !important;
  }
}

/* Mobile: a single clean column with consistent preview proportions. */
@media (max-width: 640px) {
  .portfolio-grid.portfolio-grid-redesign {
    grid-template-columns: minmax(0, 1fr) !important;
    column-gap: 0 !important;
    row-gap: 42px !important;
  }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(n) {
    grid-column: 1 / -1 !important;
    margin: 0 !important;
  }
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card .portfolio-card-visual {
    aspect-ratio: 1.08 / 1 !important;
  }
}

/* Portfolio cards-only presentation: no headings, labels, badges or arrow overlays. */
.portfolio-cards-only {
  padding-top: clamp(34px, 5vw, 68px) !important;
  padding-bottom: clamp(52px, 7vw, 92px) !important;
}
.portfolio-grid-redesign .portfolio-card-index,
.portfolio-grid-redesign .portfolio-card-category,
.portfolio-grid-redesign .portfolio-card-open,
.portfolio-grid-redesign .portfolio-card-copy,
.portfolio-grid-redesign .project-info,
.portfolio-grid-redesign .portfolio-card-title-arrow,
.portfolio-grid-redesign .portfolio-toolbar {
  display: none !important;
}
.portfolio-grid-redesign .portfolio-card-visual::after {
  display: none !important;
}
.portfolio-grid-redesign .portfolio-card-visual {
  cursor: pointer;
  background: #e8e8de;
}
.portfolio-grid-redesign .portfolio-card-image,
.portfolio-grid-redesign .portfolio-card-preview-video {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.portfolio-grid-redesign .portfolio-card-image {
  z-index: 1;
}
.portfolio-grid-redesign .portfolio-card-fallback {
  position: absolute;
  z-index: 0;
  inset: 0;
  display: block;
  overflow: hidden;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 18% 16%, rgba(255,255,255,.88) 0 7%, transparent 34%),
    radial-gradient(ellipse at 83% 86%, rgba(255,255,255,.56) 0 8%, transparent 38%),
    linear-gradient(135deg, #cdd9c1 0%, #e7e8d8 48%, #c0ccbb 100%);
}
.portfolio-grid-redesign .portfolio-card-fallback::before,
.portfolio-grid-redesign .portfolio-card-fallback::after,
.portfolio-grid-redesign .portfolio-card-fallback i,
.portfolio-grid-redesign .portfolio-card-fallback span {
  position: absolute;
  display: block;
  content: "";
  pointer-events: none;
}
.portfolio-grid-redesign .portfolio-card-fallback::before {
  width: 72%;
  aspect-ratio: 1;
  left: -10%;
  bottom: -30%;
  border-radius: 45% 55% 62% 38%;
  transform: rotate(-24deg);
  background: linear-gradient(135deg, rgba(255,255,255,.52), rgba(77,106,75,.20));
  filter: blur(1px);
}
.portfolio-grid-redesign .portfolio-card-fallback::after {
  width: 56%;
  aspect-ratio: 1;
  right: -8%;
  top: -23%;
  border-radius: 50%;
  background: rgba(255,255,255,.44);
  box-shadow: 0 20px 70px rgba(30,48,33,.08);
}
.portfolio-grid-redesign .portfolio-card-fallback i:first-child {
  width: 52%;
  height: 76%;
  top: 17%;
  left: 26%;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 48% 48% 28% 28%;
  transform: rotate(18deg);
  background: linear-gradient(140deg, rgba(255,255,255,.24), rgba(47,64,50,.06));
  box-shadow: 0 24px 80px rgba(40,55,44,.10);
}
.portfolio-grid-redesign .portfolio-card-fallback i:nth-child(2) {
  width: 32%;
  aspect-ratio: 1;
  top: 27%;
  left: 36%;
  border: 1px solid rgba(255,255,255,.62);
  border-radius: 50%;
  background: rgba(255,255,255,.28);
  backdrop-filter: blur(8px);
}
.portfolio-grid-redesign .portfolio-card-fallback span {
  width: 105%;
  height: 1px;
  left: -2%;
  top: 53%;
  transform: rotate(-24deg);
  background: rgba(255,255,255,.50);
}
.portfolio-grid-redesign .portfolio-card-fallback--dark {
  background: radial-gradient(ellipse at 78% 18%, rgba(150,178,157,.35), transparent 35%), linear-gradient(140deg, #202923, #48564b 54%, #111713);
}
.portfolio-grid-redesign .portfolio-card-fallback--dark::before { background: linear-gradient(135deg, rgba(255,255,255,.18), rgba(7,12,9,.5)); }
.portfolio-grid-redesign .portfolio-card-fallback--dark::after { background: rgba(219,231,216,.14); }
.portfolio-grid-redesign .portfolio-card-fallback--sage {
  background: radial-gradient(ellipse at 25% 20%, rgba(255,255,255,.84), transparent 35%), linear-gradient(140deg, #d5e1d0, #b9cab6 55%, #e4e4d5);
}
.portfolio-grid-redesign .portfolio-card-fallback--blue {
  background: radial-gradient(ellipse at 20% 20%, rgba(255,255,255,.85), transparent 34%), linear-gradient(140deg, #dce5ed, #c1cdda 50%, #e9e4de);
}
.portfolio-grid-redesign .portfolio-card-fallback--blue::before { background: linear-gradient(135deg, rgba(255,255,255,.5), rgba(86,112,143,.22)); }
.portfolio-grid-redesign .portfolio-card-visual.is-previewing .portfolio-card-preview-video {
  opacity: 1;
}
.portfolio-grid-redesign .portfolio-card-preview-video {
  z-index: 2;
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid-redesign .portfolio-card-preview-video { transition: none !important; }
}


/* Portfolio section heading: deliberately separate from the image-only cards. */
.portfolio-cards-only .portfolio-section-heading {
  display: block;
  margin: 0 0 clamp(30px, 4.2vw, 54px);
  max-width: 780px;
}
.portfolio-cards-only .portfolio-section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  color: var(--muted, #777b74);
  font-size: 11px;
  font-weight: 650;
  letter-spacing: .16em;
  line-height: 1.2;
  text-transform: uppercase;
}
.portfolio-cards-only .portfolio-section-eyebrow::before {
  content: "";
  width: 23px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, #7b3ff2, #d84ee9);
}
.portfolio-cards-only .portfolio-section-heading h1,
.portfolio-cards-only .portfolio-section-heading h2 {
  margin: 0;
  color: var(--ink, #19171f);
  font-size: clamp(42px, 6.2vw, 78px);
  font-weight: 620;
  letter-spacing: -.065em;
  line-height: .98;
}
.portfolio-cards-only .portfolio-heading-period {
  color: #8a45f4;
}
@media (max-width: 760px) {
  .portfolio-cards-only .portfolio-section-heading {
    margin-bottom: 25px;
  }
  .portfolio-cards-only .portfolio-section-eyebrow {
    margin-bottom: 11px;
    font-size: 9px;
  }
  .portfolio-cards-only .portfolio-section-heading h1,
  .portfolio-cards-only .portfolio-section-heading h2 {
    font-size: clamp(38px, 11vw, 56px);
  }
}


/* CMS portfolio heading editor preview — scoped to the portfolio CMS view. */
.cms-portfolio-heading-panel { margin-bottom: 16px; }
.cms-portfolio-heading-preview { padding: clamp(20px, 3vw, 32px); margin-top: 6px; border-radius: 12px; background: #f7f3ff; color: #20172c; }
.cms-portfolio-heading-preview > span { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 12px; color: #696072; font: 10px 'DM Mono', monospace; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; }
.cms-portfolio-heading-preview > span::before { content: ''; width: 22px; height: 2px; border-radius: 999px; background: linear-gradient(90deg, #7b3ff2, #d84ee9); }
.cms-portfolio-heading-preview h2 { margin: 0; font-size: clamp(30px, 4vw, 54px); line-height: .98; letter-spacing: -.065em; font-weight: 620; }
.cms-portfolio-heading-preview h2 i { color: #8a45f4; font-style: normal; }


/* Portfolio project action: the arrow expands to a clear "View project" cue on hover/focus. */
.portfolio-grid-redesign .portfolio-card-action {
  position: absolute;
  z-index: 5;
  right: clamp(14px, 1.5vw, 22px);
  bottom: clamp(14px, 1.5vw, 22px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 54px;
  height: 54px;
  padding: 7px;
  border: 1px solid rgba(255,255,255,.68);
  border-radius: 999px;
  background: rgba(255,255,255,.94);
  color: #17151e;
  box-shadow: 0 8px 26px rgba(18,10,35,.18);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  pointer-events: none;
  transition: width .3s cubic-bezier(.2,.75,.2,1), background .25s ease, box-shadow .25s ease;
}
.portfolio-grid-redesign .portfolio-card-action-label {
  display: block;
  flex: 1 1 auto;
  min-width: 0;
  padding-left: 12px;
  overflow: hidden;
  color: #211a2e;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -.015em;
  line-height: 1;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(7px);
  transition: opacity .18s ease, transform .25s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid-redesign .portfolio-card-action-arrow {
  display: grid;
  place-items: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: linear-gradient(135deg, #873cf3, #d54be7);
  color: #fff;
  font-size: 20px;
  line-height: 1;
  transition: transform .3s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-action,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-action,
.portfolio-grid-redesign .portfolio-project-card:focus-within .portfolio-card-action {
  width: 156px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 12px 34px rgba(18,10,35,.24);
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-action-label,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-action-label,
.portfolio-grid-redesign .portfolio-project-card:focus-within .portfolio-card-action-label {
  opacity: 1;
  transform: translateX(0);
  transition-delay: .04s;
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-action-arrow,
.portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-action-arrow,
.portfolio-grid-redesign .portfolio-project-card:focus-within .portfolio-card-action-arrow {
  transform: rotate(45deg);
}
@media (hover: none) {
  .portfolio-grid-redesign .portfolio-card-action {
    width: 150px;
    background: rgba(255,255,255,.96);
  }
  .portfolio-grid-redesign .portfolio-card-action-label {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid-redesign .portfolio-card-action,
  .portfolio-grid-redesign .portfolio-card-action-label,
  .portfolio-grid-redesign .portfolio-card-action-arrow {
    transition: none !important;
  }
}

/* Portfolio CMS thumbnail editing */
.cms-collection-thumbnail{width:100%;aspect-ratio:16/10;margin:0 0 14px;border:1px solid #ffffff18;border-radius:9px;overflow:hidden;background:#101310;display:grid;place-items:center}
.cms-collection-thumbnail img{width:100%;height:100%;object-fit:cover;display:block}
.cms-project-thumbnail-preview{width:min(100%,620px);aspect-ratio:16/9;border:1px solid #ffffff20;border-radius:10px;overflow:hidden;background:radial-gradient(ellipse at 50% 45%,#332158,#111512 75%);display:grid;place-items:center;margin:0 0 10px}
.cms-project-thumbnail-preview img{width:100%;height:100%;object-fit:contain;display:block}
.cms-project-thumbnail-preview img[hidden]{display:none}
.cms-project-thumbnail-empty{font-size:11px;color:#a9b0a5}
.cms-project-media-actions{padding:0 0 10px;border-top:0}
.cms-project-cover-field small{display:block;font-size:10px;line-height:1.55;color:#899288}
@media(max-width:640px){.cms-collection-thumbnail{aspect-ratio:4/3}.cms-project-thumbnail-preview{aspect-ratio:4/3}}

/* Prevent a second CSS transition when GSAP finishes the portfolio reveal. */
.portfolio-section-heading.gsap-reveal-complete,
.portfolio-grid-redesign > .portfolio-project-card.gsap-reveal-complete {
  transition: none !important;
}

/* Portfolio scroll reveal: subtle pop-in, applied only to project cards. */
.portfolio-grid-redesign > .portfolio-project-card.reveal {
  transition: opacity .76s var(--ease), transform .76s var(--ease), filter .76s var(--ease);
  transform-origin: 50% 58%;
  will-change: opacity, transform;
}
.portfolio-grid-redesign > .portfolio-project-card.reveal:not(.visible):not(.gsap-reveal-active) {
  opacity: 0;
  transform: translate3d(0, 28px, 0);
  filter: none;
}
.portfolio-grid-redesign > .portfolio-project-card.reveal.visible {
  opacity: 1;
  transform: none;
  filter: none;
}
.portfolio-grid-redesign > .portfolio-project-card.gsap-reveal-active {
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid-redesign > .portfolio-project-card.reveal,
  .portfolio-grid-redesign > .portfolio-project-card.reveal:not(.visible),
  .portfolio-grid-redesign > .portfolio-project-card.reveal.visible {
    opacity: 1 !important;
    transform: none !important;
    filter: none !important;
    transition: none !important;
  }
}

/* Portfolio cards are visual-only surfaces; hover is reserved for media preview, not navigation. */
.portfolio-grid.portfolio-grid-redesign > .portfolio-project-card {
  cursor: default;
  color: inherit;
  outline: none;
}
.portfolio-grid-redesign .portfolio-card-action,
.portfolio-grid-redesign .portfolio-card-inline-details {
  display: none !important;
}

/* Anthromini portfolio cards: restrained 3D tilt, lift and cursor-following sheen.
   Scoped to the portfolio visual surface; no click behavior or layout changes. */
.portfolio-grid-redesign .portfolio-card-visual {
  transform: perspective(1100px)
    rotateX(var(--portfolio-rotate-x, 0deg))
    rotateY(var(--portfolio-rotate-y, 0deg))
    translateY(var(--portfolio-lift, 0px));
  transform-style: preserve-3d;
  transform-origin: center center;
  transition:
    transform .42s cubic-bezier(.2,.75,.2,1),
    border-radius .45s cubic-bezier(.2,.75,.2,1),
    box-shadow .45s cubic-bezier(.2,.75,.2,1);
}
.portfolio-grid-redesign .portfolio-card-visual::before {
  content: "";
  position: absolute;
  z-index: 3;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse 46% 40% at var(--portfolio-shine-x, 50%) var(--portfolio-shine-y, 50%), rgba(255,255,255,.34), transparent 76%),
    linear-gradient(135deg, transparent 30%, rgba(255,255,255,.13) 48%, transparent 64%);
  mix-blend-mode: screen;
  transition: opacity .2s ease;
}
.portfolio-grid-redesign .portfolio-card-visual.is-3d-active {
  --portfolio-lift: -6px;
  box-shadow: 0 26px 62px rgba(24,26,27,.17), 0 5px 16px rgba(24,26,27,.08);
  will-change: transform;
}
.portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual.is-3d-active {
  box-shadow: 0 30px 72px rgba(24,26,27,.2), 0 8px 20px rgba(24,26,27,.09);
}
.portfolio-grid-redesign .portfolio-card-visual.is-3d-active::before {
  opacity: .95;
}
.portfolio-grid-redesign .portfolio-card-visual.is-3d-active .portfolio-card-image,
.portfolio-grid-redesign .portfolio-card-visual.is-3d-active .portfolio-card-preview-video {
  transform: translateZ(10px) scale(1.035);
}
.portfolio-grid-redesign .portfolio-card-image,
.portfolio-grid-redesign .portfolio-card-preview-video {
  transition: opacity .22s ease, transform .42s cubic-bezier(.2,.75,.2,1);
}
@media (hover: none), (max-width: 640px) {
  .portfolio-grid-redesign .portfolio-card-visual {
    transform: none;
    transition: border-radius .45s cubic-bezier(.2,.75,.2,1), box-shadow .45s cubic-bezier(.2,.75,.2,1);
  }
  .portfolio-grid-redesign .portfolio-card-visual::before {
    display: none;
  }
  .portfolio-grid-redesign .portfolio-card-image,
  .portfolio-grid-redesign .portfolio-card-preview-video {
    transform: none !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  .portfolio-grid-redesign .portfolio-card-visual,
  .portfolio-grid-redesign .portfolio-card-visual::before,
  .portfolio-grid-redesign .portfolio-card-image,
  .portfolio-grid-redesign .portfolio-card-preview-video {
    transform: none !important;
    transition: none !important;
    will-change: auto !important;
  }
  .portfolio-grid-redesign .portfolio-card-visual::before {
    display: none;
  }
}



/* Hero editorial typography refinement — intentionally scoped to the reference homepage hero. */
.cuberto-hero-reference .reference-editorial-word {
  position: relative;
  display: inline-block;
  padding: 0 .015em .045em;
  color: inherit;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.055em;
  line-height: .9;
}
.cuberto-hero-reference .reference-editorial-word::after {
  position: absolute;
  right: .025em;
  bottom: .015em;
  left: .025em;
  height: .045em;
  min-height: 2px;
  border-radius: 999px;
  background: var(--lime);
  content: '';
  transform: rotate(-1deg);
  transform-origin: left center;
  pointer-events: none;
}

/* Hero headline hover: emphasize only the word under the pointer. */
.cuberto-hero-reference .reference-hover-word {
  position: relative;
  display: inline-block;
  color: inherit;
  transform: scale(1);
  transform-origin: center center;
  transition: color .22s cubic-bezier(.2,.75,.2,1), transform .22s cubic-bezier(.2,.75,.2,1);
}
@media (hover: hover) and (pointer: fine) {
  .cuberto-hero-reference .reference-hover-word:hover {
    z-index: 2;
    color: #6f8f21;
    transform: scale(1.055);
  }
}
@media (prefers-reduced-motion: reduce) {
  .cuberto-hero-reference .reference-hover-word {
    transition: none !important;
  }
  .cuberto-hero-reference .reference-hover-word:hover {
    transform: none !important;
  }
}


/* HEADER CAPSULE PAINT FIX — clip only decorative layers to the pill silhouette.
   !important is required so the rounded clip is not overridden by earlier CSS.
   The header itself stays overflow-visible so mobile navigation remains unclipped. */
.site-header::before,
.site-header::after {
  -webkit-clip-path: inset(0 round 999px) !important;
  clip-path: inset(0 round 999px) !important;
}

/* Anthromini loader: purple shutter with a smooth curved lower edge. */
.intro-mark {
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: 120vh;
  padding-bottom: calc(clamp(28px, 5vh, 46px) + 20vh);
  border-bottom-left-radius: 50% 12%;
  border-bottom-right-radius: 50% 12%;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(192, 132, 252, .24) 0%, rgba(139, 92, 246, .11) 30%, transparent 56%),
    linear-gradient(135deg, #180d2c 0%, #2b1450 52%, #1b0d31 100%);
  color: #fbf7ff;
}
.intro-logo-mark {
  background: #242725;
  box-shadow: 0 8px 26px rgba(0, 0, 0, .16);
}
.intro-progress {
  background: rgba(237, 221, 255, .2);
}
.intro-progress span {
  background: linear-gradient(90deg, #a78bfa 0%, #e9d5ff 55%, #c4b5fd 100%);
}
@media (max-width: 600px) {
  .intro-mark {
    padding: 24px 24px calc(30px + 20vh);
  }
}



/* WHAT WE MAKE — large, single-column expanding service panels. */
.services-band {
  isolation: auto !important;
  width: 100%;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  background: transparent !important;
  color: #181A1B !important;
  overflow: visible !important;
}
.services-band::before,
.services-band::after {
  content: none !important;
  display: none !important;
  animation: none !important;
}
.services-band > .section-head.service-section-head {
  display: block;
  width: min(100%, 1120px);
  margin: 0 auto 38px !important;
  padding: 0;
}
.services-band .service-section-head > div { width: 100%; }
.services-band .service-section-head .eyebrow {
  color: #6D7278 !important;
  margin-bottom: 14px;
  letter-spacing: .13em;
  font-size: 12px;
}
.services-band .service-section-head .eyebrow::before {
  background: #9729D4 !important;
  box-shadow: none !important;
  animation: none !important;
}
.services-band .service-section-head h2 {
  max-width: 960px;
  margin: 0;
  color: #181A1B !important;
  font-family: 'Manrope', 'DM Sans', sans-serif !important;
  font-size: clamp(48px, 5.4vw, 76px);
  font-weight: 600;
  line-height: .99;
  letter-spacing: -.065em;
}
.services-band .service-section-head h2::after {
  content: none !important;
  display: none !important;
}
.services-band .service-list {
  display: flex;
  flex-direction: column;
  gap: 13px;
  width: min(100%, 1120px);
  margin-inline: auto;
  border: 0 !important;
}
.services-band .service-row {
  display: block !important;
  position: relative;
  isolation: isolate;
  width: 100%;
  height: 148px;
  min-height: 148px;
  box-sizing: border-box;
  margin: 0;
  padding: 30px 42px;
  overflow: hidden;
  border: 1px solid #DEDFE3;
  border-radius: 14px;
  background: #FFFFFF;
  color: #181A1B;
  box-shadow: 0 3px 15px rgba(24,26,27,.025);
  text-decoration: none;
  cursor: default;
  transition: height .78s cubic-bezier(.22,.8,.2,1), border-color .48s ease,
    color .36s ease, box-shadow .48s ease !important;
  will-change: height, color;
}
.services-band .service-row:hover,
.services-band .service-row:focus-visible {
  padding: 30px 42px;
  text-decoration: none;
}
/* The loader-matched gradient fades in as a dedicated surface layer. */
.services-band .service-row::before {
  content: '' !important;
  display: block !important;
  position: absolute;
  z-index: 0;
  inset: 0;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: auto;
  height: auto;
  transform: none;
  border-radius: inherit;
  pointer-events: none;
  opacity: 0;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(192,132,252,.24) 0%, rgba(139,92,246,.11) 30%, transparent 56%),
    linear-gradient(135deg, #180d2c 0%, #2b1450 52%, #1b0d31 100%);
  transition: opacity .48s ease;
}
.services-band .service-row.is-service-expanded {
  border-color: rgba(192,132,252,.58);
  color: #FFFFFF !important;
  box-shadow: 0 14px 34px rgba(151,41,212,.18);
}
.services-band .service-row.is-service-expanded::before,
.services-band .service-row[aria-expanded="true"]::before {
  opacity: 1;
}
.services-band .service-row.is-service-expanded .service-no,
.services-band .service-row.is-service-expanded .service-detail {
  color: #FFFFFF !important;
}
.services-band .service-row::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: 430px;
  height: 430px;
  right: -38px;
  bottom: -278px;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  transform: scale(.82);
  transform-origin: center;
  background: repeating-radial-gradient(circle at center,
    transparent 0 47px,
    rgba(255,255,255,.16) 48px 49px,
    transparent 50px 78px);
  transition: opacity .42s ease, transform .78s cubic-bezier(.22,.8,.2,1);
}
.services-band .service-row:hover::after,
.services-band .service-row:focus-visible::after,
.services-band .service-row[aria-expanded="true"]::after {
  opacity: 1;
  transform: scale(1);
}
.services-band .service-row-top {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
  min-height: 86px;
}
.services-band .service-no {
  display: block;
  flex: 0 0 auto;
  padding-left: 12px;
  color: #A6A9AE !important;
  font-family: 'Manrope', 'DM Sans', sans-serif;
  font-size: 25px;
  font-weight: 500;
  line-height: 1;
  letter-spacing: -.045em;
  transform: none !important;
  transition: none !important;
}
.services-band .service-row h3 {
  margin: 0;
  color: inherit !important;
  font-family: 'Manrope', 'DM Sans', sans-serif !important;
  font-size: clamp(29px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -.055em;
  overflow-wrap: anywhere;
  transform: none !important;
  transition: none !important;
}
.services-band .service-detail {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 13px 0 0;
  color: inherit !important;
  font-family: 'Manrope', 'DM Sans', sans-serif !important;
  font-size: clamp(16px, 1.25vw, 19px);
  font-weight: 400;
  line-height: 1.62;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
}
.services-band .service-arrow,
.services-band .services-cta { display: none !important; }

/* Graceful CSS fallback; GSAP drives the normal desktop interaction. */
.services-band.service-css-fallback .service-row {
  height: 148px;
  transition: height .78s cubic-bezier(.22,.8,.2,1), background-color .48s ease,
    color .36s ease, border-color .48s ease, box-shadow .48s ease !important;
}
.services-band.service-css-fallback .service-row:hover,
.services-band.service-css-fallback .service-row:focus-visible {
  height: 350px;
  background: #FFFFFF;
  color: #FFFFFF;
  border-color: rgba(192,132,252,.58);
  box-shadow: 0 18px 46px rgba(151,41,212,.2);
}
.services-band.service-css-fallback .service-row:hover::before,
.services-band.service-css-fallback .service-row:focus-visible::before {
  opacity: 1;
}
.services-band.service-css-fallback .service-row:hover .service-detail,
.services-band.service-css-fallback .service-row:focus-visible .service-detail {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity .35s ease .1s, transform .45s ease .1s, visibility 0s;
}
.services-band.service-css-fallback .service-row:hover .service-no,
.services-band.service-css-fallback .service-row:focus-visible .service-no { color: #FFFFFF !important; }

@media (hover: none), (max-width: 760px) {
  .services-band > .section-head.service-section-head { margin-bottom: 26px !important; }
  .services-band .service-list { gap: 11px; }
  .services-band .service-row,
  .services-band.service-touch-layout .service-row {
    height: auto !important;
    min-height: 0;
    padding: 24px 24px 26px;
    border-radius: 12px;
    background: #FFFFFF;
    color: #181A1B;
    box-shadow: none;
    overflow: visible;
    will-change: auto;
  }
  .services-band .service-row:hover,
  .services-band .service-row:focus-visible,
  .services-band.service-touch-layout .service-row:hover,
  .services-band.service-touch-layout .service-row:focus-visible {
    padding: 24px 24px 26px;
  }
  .services-band .service-row::after { display: none; }
  .services-band .service-row-top { min-height: 0; gap: 18px; align-items: flex-start; }
  .services-band .service-no { font-size: 20px; padding-left: 4px; padding-top: 5px; }
  .services-band .service-row h3 { font-size: clamp(25px, 6.5vw, 34px); line-height: 1.2; }
  .services-band .service-detail,
  .services-band.service-touch-layout .service-detail {
    max-width: none;
    margin: 13px 0 0;
    color: #52545A !important;
    font-size: 16px;
    line-height: 1.6;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
  }
}
@media (max-width: 420px) {
  .services-band .service-row,
  .services-band.service-touch-layout .service-row { padding: 21px 18px 23px; }
  .services-band .service-row h3 { font-size: 25px; }
  .services-band .service-no { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .services-band .service-row,
  .services-band .service-row h3,
  .services-band .service-row::after,
  .services-band .service-detail,
  .services-band.service-css-fallback .service-row { transition: none !important; }
}


/* DIFFERENT WORLDS — loader-matched purple showcase, from this heading through the gallery. */
body.has-cuberto-hero .home-work-section.portfolio-cards-only {
  position: relative;
  isolation: isolate;
  margin: 0;
  padding: clamp(68px, 8vw, 112px) 0 clamp(74px, 8.5vw, 124px) !important;
  border: 0 !important;
  border-top: 0 !important;
  border-radius: clamp(36px, 5.8vw, 84px) clamp(36px, 5.8vw, 84px) 0 0;
  overflow: hidden;
  color: #fbf7ff !important;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(192, 132, 252, .24) 0%, rgba(139, 92, 246, .11) 30%, transparent 56%),
    linear-gradient(135deg, #180d2c 0%, #2b1450 52%, #1b0d31 100%) !important;
}

/* Remove the old divider between the showreel and the portfolio section. */
body.has-cuberto-hero .cuberto-hero-reference + .home-work-section {
  border-top: 0 !important;
}

body.has-cuberto-hero .home-work-section.portfolio-cards-only .container {
  position: relative;
  z-index: 1;
  width: min(1360px, calc(100% - 72px));
}

body.has-cuberto-hero .home-work-section .portfolio-section-eyebrow {
  color: rgba(251, 247, 255, .76) !important;
}

body.has-cuberto-hero .home-work-section .portfolio-section-eyebrow::before {
  background: linear-gradient(90deg, #d8b4fe, #c084fc) !important;
}

body.has-cuberto-hero .home-work-section .portfolio-section-heading h1,
body.has-cuberto-hero .home-work-section .portfolio-section-heading h2 {
  color: #fbf7ff !important;
}

body.has-cuberto-hero .home-work-section .portfolio-heading-period {
  color: #d8b4fe !important;
}

@media (max-width: 760px) {
  body.has-cuberto-hero .home-work-section.portfolio-cards-only {
    margin-bottom: 0;
    padding: 54px 0 64px !important;
    border-radius: 34px 34px 0 0;
  }
  body.has-cuberto-hero .home-work-section.portfolio-cards-only .container {
    width: calc(100% - 36px);
  }
}


/* Scroll-controlled purple portfolio sheet.
   The margin is smaller than the hero's bottom padding, keeping the showreel fully clear.
   ScrollTrigger offsets the rounded panel downward as it enters, then scrubs it upward;
   reverse scrolling naturally scrubs the same motion back down. */
body.has-cuberto-hero .home-work-section.portfolio-cards-only {
  margin-top: clamp(-54px, -4vw, -30px) !important;
  position: relative;
  z-index: 8;
  will-change: transform;
}
@media (max-width: 760px) {
  body.has-cuberto-hero .home-work-section.portfolio-cards-only {
    margin-top: -26px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.has-cuberto-hero .home-work-section.portfolio-cards-only {
    will-change: auto;
  }
}


/* Stabilize portfolio media while scrolling: native :hover can change as cards move
   underneath a stationary pointer. Re-arm hover only after actual mouse movement. */
body:not(.portfolio-hover-armed) .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual {
  border-radius: clamp(18px, 2.1vw, 30px) !important;
  box-shadow: 0 2px 0 rgba(24,26,27,.025), 0 14px 36px rgba(24,26,27,.045) !important;
}
body:not(.portfolio-hover-armed) .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-art {
  transform: scale(1) !important;
  filter: none !important;
}
body.portfolio-scroll-active .portfolio-grid-redesign .portfolio-card-visual,
body.portfolio-scroll-active .portfolio-grid-redesign .portfolio-art,
body.portfolio-scroll-active .portfolio-grid-redesign .portfolio-card-image,
body.portfolio-scroll-active .portfolio-grid-redesign .portfolio-card-preview-video,
body:not(.portfolio-hover-armed) .portfolio-grid-redesign .portfolio-card-preview-video {
  transition: none !important;
}
body.portfolio-scroll-active .portfolio-grid-redesign .portfolio-card-visual.is-3d-active {
  --portfolio-lift: 0px;
  transform: none !important;
}

/* White What We Make sheet: lift its curved edge past the purple panel's bottom seam. */
body.has-cuberto-hero main#main > section[data-home-section="Services"] {
  --services-sheet-overlap: clamp(36px, 5.8vw, 84px);
  position: relative;
  z-index: 9;
  margin-top: calc(0px - var(--services-sheet-overlap) - var(--services-sheet-overlap) - 2px + clamp(16px, 2.5vw, 34px) + 8px) !important;
  padding-top: calc(70px + var(--services-sheet-overlap) + var(--services-sheet-overlap)) !important;
  border-radius: var(--services-sheet-overlap) var(--services-sheet-overlap) 0 0;
  background: var(--paper);
  will-change: transform;
}
@media (max-width: 760px) {
  body.has-cuberto-hero main#main > section[data-home-section="Services"] {
    --services-sheet-overlap: 34px;
    margin-top: calc(0px - var(--services-sheet-overlap) - var(--services-sheet-overlap) - 2px + clamp(16px, 2.5vw, 34px) + 8px) !important;
    padding-top: calc(48px + var(--services-sheet-overlap) + var(--services-sheet-overlap)) !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.has-cuberto-hero main#main > section[data-home-section="Services"] {
    will-change: auto;
  }
}

/* NAVIGATION POLISH — remove the nested desktop capsule; style each link independently.
   The outer glass header capsule and the mobile dropdown remain unchanged. */
@media (min-width: 761px) {
  .site-header .nav {
    gap: 4px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  .site-header .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 16px;
    border: 1px solid transparent;
    border-radius: 999px;
    color: rgba(24, 26, 27, .76);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: -.012em;
    background: transparent;
    box-shadow: none;
    transform: translateY(0);
    transition: background-color .22s ease, color .22s ease, border-color .22s ease,
      box-shadow .22s ease, transform .22s ease;
  }

  .site-header .nav a:hover {
    color: #181A1B;
    background: rgba(255, 255, 255, .66);
    border-color: rgba(24, 26, 27, .075);
    box-shadow: 0 4px 12px rgba(24, 26, 27, .07), inset 0 1px 0 rgba(255, 255, 255, .9);
    transform: translateY(-1px);
  }

  .site-header .nav a[aria-current="page"] {
    color: #FFFFFF !important;
    background: linear-gradient(180deg, #242627 0%, #171918 100%) !important;
    border-color: rgba(255, 255, 255, .1);
    box-shadow: 0 3px 9px rgba(24, 26, 27, .17), inset 0 1px 0 rgba(255, 255, 255, .12);
  }

  .site-header .nav a[aria-current="page"]:hover {
    background: linear-gradient(180deg, #2D3030 0%, #171918 100%) !important;
    box-shadow: 0 5px 13px rgba(24, 26, 27, .2), inset 0 1px 0 rgba(255, 255, 255, .13);
  }

  .site-header .nav a:focus-visible {
    outline: 2px solid #8EAE35;
    outline-offset: 3px;
  }
}

/* Keep the native viewport scrollbar present through the loader transition.
   Scrolling input is temporarily blocked by the loader guard in index.html. */
html {
  overflow-y: scroll;
  scrollbar-gutter: stable;
}
html:has(#intro-mark),
html:has(#intro-mark) body,
html.intro-active,
html.intro-active body {
  overscroll-behavior: none;
}

/* Hide the scrollbar visually while preserving normal page scrolling. */
html {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
html::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
/* ======================================================================
   RESPONSIVE HARDENING PASS
   Additive layout-only adjustments for narrow phones, phones, tablets,
   compact laptops and CMS previews. Existing art, palette, content and
   animation definitions remain untouched.
   ====================================================================== */

/* Media must shrink with its layout box instead of forcing wider columns. */
img,
video,
iframe,
canvas,
svg,
object,
embed {
  max-width: 100%;
}

#app,
main,
section,
article,
.container,
.header-inner,
.site-header,
.cms-shell,
.cms-main,
.cms-panel,
.cms-fields,
.contact-form,
.service-list,
.service-row,
.portfolio-grid-redesign,
.portfolio-project-card {
  min-width: 0;
}

/* Keep desktop navigation comfortable as the available width starts shrinking. */
@media (max-width: 1100px) {
  .site-header .nav {
    gap: 0 !important;
  }

  .site-header .nav a {
    padding-inline: clamp(7px, .95vw, 12px);
  }

  .site-header > .header-inner {
    gap: clamp(8px, 1.4vw, 16px);
  }

  .site-header .wordmark {
    gap: 8px;
  }

  .site-header .header-actions {
    gap: 7px;
  }

  .site-header .header-actions .btn-project {
    gap: 9px;
    padding-inline: 10px;
  }

  .contact-layout {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 3.5vw, 42px);
  }

  .about-split {
    grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
    gap: clamp(24px, 4vw, 48px);
  }
}

/* At compact tablet widths, use the existing mobile menu instead of squeezing links. */
@media (max-width: 900px) {
  .site-header {
    width: calc(100% - 28px);
  }

  .site-header > .header-inner {
    width: calc(100% - 24px);
    gap: 10px;
  }

  .site-header .nav {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: -1px;
    right: -1px;
    z-index: 30;
    max-height: min(70vh, 560px);
    overflow-y: auto;
    padding: 10px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    border: 1px solid rgba(24, 26, 27, .10);
    border-radius: 22px;
    background: rgba(255, 255, 255, .97);
    -webkit-backdrop-filter: blur(24px) saturate(155%);
    backdrop-filter: blur(24px) saturate(155%);
    box-shadow: 0 18px 40px rgba(24, 26, 27, .12);
  }

  .site-header .nav.open {
    display: flex;
  }

  .site-header .nav a {
    display: flex;
    align-items: center;
    width: 100%;
    min-height: 44px;
    padding: 12px;
    border-radius: 12px;
    border-bottom: 1px solid var(--line);
    font-size: 14px;
    white-space: normal;
  }

  .site-header .nav a:last-child {
    border-bottom: 0;
  }

  .site-header .menu-toggle {
    display: grid;
    flex: 0 0 40px;
    place-items: center;
  }

  .section-head {
    gap: 22px;
  }

  .section-head > *,
  .contact-aside,
  .about-split > *,
  .manifesto > *,
  .capability-band > * {
    min-width: 0;
  }

  .service-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .contact-layout {
    gap: 30px;
  }

  .project-meta-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
  }

  .cms-layout {
    grid-template-columns: 190px minmax(0, 1fr);
  }

  .cms-main {
    padding-inline: 20px;
  }

  .cms-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cms-collection-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* Phone and small-tablet layouts: single-column forms and readable section spacing. */
@media (max-width: 640px) {
  .container,
  .header-inner {
    max-width: 100%;
  }

  .site-header {
    width: calc(100% - 20px);
  }

  .site-header > .header-inner {
    width: calc(100% - 20px);
  }

  .site-header .wordmark {
    font-size: 13px;
  }

  .site-header .wordmark-symbol {
    width: 29px;
    height: 29px;
    font-size: 18px;
  }

  .cuberto-hero-reference .cuberto-headline {
    font-size: clamp(34px, 8.3vw, 48px);
    line-height: 1;
    letter-spacing: -.05em;
  }

  /* The CMS can supply longer headline text; allow it to wrap instead of clip. */
  .cuberto-hero-reference .title-line-inner {
    white-space: normal;
    overflow-wrap: normal;
  }

  .cuberto-hero-reference .title-line-mask {
    overflow: hidden;
    max-width: 100%;
  }

  .cuberto-hero-reference .reference-subheadline {
    max-width: 100%;
    padding-inline: 0;
    font-size: clamp(14px, 3.7vw, 16px);
    overflow-wrap: break-word;
  }

  .services-band > .section-head.service-section-head .eyebrow {
    font-size: 10px;
  }

  .services-band .service-section-head h2 {
    font-size: clamp(35px, 9.5vw, 54px);
    line-height: 1.02;
    overflow-wrap: break-word;
  }

  .services-band .service-list {
    min-width: 0;
  }

  .services-band .service-row h3 {
    min-width: 0;
    overflow-wrap: break-word;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    margin-bottom: 28px;
  }

  .section-head h2,
  .section-title {
    max-width: 100%;
    font-size: clamp(32px, 8.7vw, 48px);
    overflow-wrap: break-word;
  }

  .page-hero {
    padding: clamp(42px, 10vw, 62px) 0 clamp(34px, 8vw, 48px);
  }

  .page-hero h1 {
    max-width: 100%;
    font-size: clamp(36px, 9.8vw, 60px);
    line-height: .98;
    overflow-wrap: break-word;
  }

  .page-hero p {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .service-detail-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .detail-card,
  .process-card {
    min-width: 0;
  }

  .contact-layout {
    width: calc(100% - 32px);
    padding-top: 38px;
    padding-bottom: 58px;
    gap: 28px;
  }

  .contact-aside h2,
  .about-split h2 {
    font-size: clamp(32px, 8.4vw, 48px);
    overflow-wrap: break-word;
  }

  .contact-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 20px 16px;
  }

  .contact-form .field,
  .contact-form .field.full,
  .contact-form .form-submit,
  .contact-form .success-panel {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    min-width: 0;
    max-width: 100%;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
  }

  .form-submit .btn {
    max-width: 100%;
  }

  .manifesto .manifesto-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .capability-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
    padding: 24px 18px;
  }

  .capability-band h2 {
    font-size: clamp(34px, 9vw, 48px);
    overflow-wrap: break-word;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
    padding: 28px 20px;
  }

  .cta-panel h2,
  .portfolio-end-card h2 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 54px);
    line-height: .98;
    overflow-wrap: break-word;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px 18px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-col a,
  .footer-brand p {
    overflow-wrap: anywhere;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 10px 16px;
  }

  .project-detail-hero {
    padding-block: 32px;
  }

  .project-detail-hero .project-detail-art {
    min-height: 0;
  }

  .project-detail-art .project-visual {
    height: clamp(250px, 72vw, 390px);
    min-height: 0;
  }

  .project-meta-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 14px;
  }

  .portfolio-end-card {
    padding: 25px 18px 24px;
    border-radius: 18px;
  }

  .portfolio-end-index {
    position: relative;
    inset: auto;
    max-width: 100%;
    margin-top: 26px;
    text-align: left;
  }

  .portfolio-case-kicker {
    display: block;
    margin: 9px 0 0;
    padding: 0;
    border: 0;
  }

  /* CMS top actions wrap safely without widening the phone viewport. */
  .cms-topbar {
    height: auto;
    min-height: 62px;
    padding: 10px 12px;
    flex-wrap: wrap;
    align-items: center;
  }

  .cms-top-actions {
    max-width: 100%;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .cms-main {
    padding: 22px 12px 36px;
  }

  .cms-grid,
  .cms-editor-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .cms-stat,
  .cms-panel,
  .cms-preview-wrap,
  .cms-fields {
    min-width: 0;
  }
}

@media (max-width: 420px) {
  .site-header {
    width: calc(100% - 16px);
  }

  .site-header > .header-inner {
    width: calc(100% - 16px);
    gap: 6px;
  }

  .site-header .wordmark {
    gap: 6px;
    font-size: 12px;
  }

  .site-header .wordmark-symbol {
    width: 27px;
    height: 27px;
    font-size: 17px;
  }

  .site-header .menu-toggle {
    flex-basis: 36px;
    width: 36px;
    height: 36px;
  }

  .cuberto-hero-reference .cuberto-hero-inner {
    width: calc(100% - 22px);
  }

  .cuberto-hero-reference .cuberto-headline {
    font-size: clamp(30px, 8.6vw, 36px);
    line-height: 1.02;
  }

  .cuberto-hero-reference .reference-showreel-card {
    aspect-ratio: 4 / 3;
  }

  .services-band .service-section-head h2 {
    font-size: clamp(31px, 9vw, 40px);
  }

  .services-band .service-row,
  .services-band.service-touch-layout .service-row {
    padding: 19px 16px 21px;
  }

  .services-band .service-row-top {
    gap: 12px;
  }

  .services-band .service-row h3 {
    font-size: clamp(23px, 7.2vw, 29px);
  }

  .portfolio-grid-redesign .portfolio-art {
    padding: 16px;
  }

  .portfolio-grid-redesign .portfolio-card-title-row h3 {
    font-size: clamp(25px, 7.6vw, 32px);
  }

  .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 21px;
  }

  .footer-brand {
    grid-column: auto;
  }

  .cms-collection-grid,
  .cms-media-grid,
  .cms-stats {
    grid-template-columns: minmax(0, 1fr);
  }

  .cms-heading,
  .cms-panel-head {
    align-items: flex-start;
    flex-direction: column;
  }

  .cms-top-actions .cms-live-pill,
  .cms-top-actions > a.cms-btn {
    display: none;
  }
}

@media (max-width: 360px) {
  .cuberto-hero-reference .cuberto-headline {
    font-size: 29px;
  }

  .cuberto-hero-reference .reference-subheadline {
    font-size: 13px;
  }

  .portfolio-grid-redesign .portfolio-card-category {
    max-width: 62%;
    white-space: normal;
    line-height: 1.3;
  }

  .portfolio-grid-redesign .portfolio-card-title-row {
    gap: 8px;
  }

  .portfolio-grid-redesign .portfolio-card-title-row h3 {
    font-size: 25px;
  }

  .cms-top-actions .cms-btn {
    padding: 8px 9px;
    font-size: 10px;
  }
}


@media (max-width: 760px) {
  /* Preserve the existing compact phone header; the menu button remains available. */
  .site-header .header-actions .btn-project {
    display: none;
  }
}

/* MOBILE STABILITY + RESPONSIVE CORRECTIONS
   Scoped to touch/narrow viewports; desktop layout and animations remain unchanged. */
@media (hover: none), (pointer: coarse) {
  /* Keep the RGB capsule outline, but stop its animated angle/filter from repainting
     continuously on touch devices (the source of the perceived header jitter). */
  .site-header::before {
    --anthromini-rgb-angle: 0deg !important;
    animation: none !important;
    filter: none !important;
  }

  .site-header {
    transition: background-color .18s ease, box-shadow .18s ease, border-color .18s ease;
  }
}

/* At tablet widths, prevent fixed desktop columns from forcing the page wider. */
@media (max-width: 900px) {
  html,
  body {
    max-width: 100%;
  }

  .container,
  .showreel-shell {
    width: calc(100% - 40px);
    max-width: 100%;
  }

  .hero {
    min-height: 0;
    padding: 64px 0 44px;
  }

  .hero-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }

  .hero-art {
    min-height: clamp(280px, 58vw, 440px);
  }

  .manifesto,
  .about-split,
  .contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .manifesto,
  .about-split {
    gap: 26px;
  }

  .contact-layout {
    width: calc(100% - 40px);
    gap: 30px;
  }

  .process-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section-head > *,
  .hero-grid > *,
  .manifesto > *,
  .about-split > *,
  .contact-layout > *,
  .footer-main > * {
    min-width: 0;
  }

  .footer-main {
    grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr));
    gap: 28px;
  }
}

/* Phones: use consistent gutters, let headings wrap, and collapse dense grids. */
@media (max-width: 640px) {
  .container,
  .header-inner,
  .showreel-shell {
    width: calc(100% - 32px);
    max-width: 100%;
  }

  .section {
    padding: clamp(48px, 11vw, 68px) 0;
  }

  .section-small {
    padding: clamp(32px, 8vw, 48px) 0;
  }

  .section-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 26px;
  }

  .section-head h2,
  .section-title {
    max-width: 100%;
    font-size: clamp(30px, 8.4vw, 46px);
    overflow-wrap: anywhere;
  }

  .hero {
    padding: 52px 0 34px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 58px);
    overflow-wrap: anywhere;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-meta {
    margin-top: 28px;
    flex-wrap: wrap;
  }

  .hero-art {
    min-height: clamp(245px, 68vw, 340px);
  }

  .cuberto-hero-reference .cuberto-hero-inner {
    width: calc(100% - 32px);
    max-width: 100%;
    min-width: 0;
  }

  .cuberto-hero-reference .reference-headline-wrap,
  .cuberto-hero-reference .cuberto-headline,
  .cuberto-hero-reference .title-line-mask,
  .cuberto-hero-reference .title-line-inner {
    max-width: 100%;
    min-width: 0;
  }

  .cuberto-hero-reference .cuberto-headline {
    font-size: clamp(30px, 8.2vw, 44px);
    line-height: 1.04;
    letter-spacing: -.05em;
    text-wrap: balance;
  }

  .cuberto-hero-reference .title-line-mask {
    height: auto;
    overflow: visible;
    padding-block: .015em .055em;
  }

  .cuberto-hero-reference .title-line-inner {
    display: block;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
    text-wrap: balance;
  }

  .cuberto-hero-reference .reference-subheadline {
    max-width: 100%;
    margin-top: 16px;
    padding-inline: 0;
    font-size: clamp(14px, 3.7vw, 16px);
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  .cuberto-hero-reference .reference-showreel-wrap {
    width: 100%;
    margin-top: 24px;
  }

  .cuberto-hero-reference .reference-showreel-card {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 16px;
  }

  .work-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
  }

  .project-card,
  .project-info,
  .project-info > * {
    min-width: 0;
  }

  .project-visual {
    width: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
  }

  .project-info h3,
  .project-info p {
    overflow-wrap: anywhere;
  }

  .services-band .service-row,
  .services-band.service-touch-layout .service-row {
    min-width: 0;
  }

  .service-detail-grid,
  .project-meta-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .manifesto,
  .about-split {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }

  .process-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .capability-band {
    grid-template-columns: minmax(0, 1fr);
    gap: 20px;
    padding: 24px 18px;
  }

  .contact-layout {
    width: calc(100% - 32px);
    grid-template-columns: minmax(0, 1fr);
    padding: 34px 0 56px;
    gap: 24px;
  }

  .contact-form {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    padding: 18px 14px;
  }

  .contact-form .field,
  .contact-form .field.full,
  .contact-form .form-submit,
  .contact-form .success-panel {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .contact-form input,
  .contact-form select,
  .contact-form textarea {
    width: 100%;
    min-width: 0;
    max-width: 100%;
  }

  .form-submit {
    align-items: flex-start;
    flex-direction: column;
    min-width: 0;
  }

  .form-submit .btn {
    max-width: 100%;
  }

  .cta-panel {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 26px 18px;
  }

  .cta-panel h2,
  .portfolio-end-card h2,
  .contact-aside h2,
  .about-split h2 {
    max-width: 100%;
    font-size: clamp(30px, 8.5vw, 46px);
    overflow-wrap: anywhere;
  }

  .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 16px;
  }

  .footer-brand {
    grid-column: 1 / -1;
    min-width: 0;
  }

  .footer-col {
    min-width: 0;
  }

  .footer-col a,
  .footer-brand p,
  .footer-bottom {
    overflow-wrap: anywhere;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom-links {
    flex-wrap: wrap;
    gap: 10px 14px;
  }

  .project-detail-hero {
    padding-block: 30px;
  }

  .project-detail-art .project-visual {
    height: clamp(220px, 68vw, 340px);
    min-height: 0;
  }

  .portfolio-end-card {
    padding: 24px 16px;
  }

  .cms-shell,
  .cms-main,
  .cms-topbar,
  .cms-content,
  .cms-panel,
  .cms-fields,
  .cms-preview-wrap {
    min-width: 0;
    max-width: 100%;
  }

  .cms-main {
    padding-inline: 12px;
  }

  .cms-layout,
  .cms-grid,
  .cms-editor-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 380px) {
  .site-header {
    width: calc(100% - 16px);
  }

  .site-header > .header-inner {
    width: calc(100% - 18px);
    gap: 6px;
  }

  .site-header .wordmark {
    gap: 5px;
    font-size: 11px;
  }

  .site-header .wordmark-symbol {
    width: 26px;
    height: 26px;
    font-size: 16px;
  }

  .site-header .menu-toggle {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
  }

  .cuberto-hero-reference .cuberto-headline {
    font-size: clamp(28px, 8vw, 32px);
  }

  .portfolio-grid-redesign .portfolio-card-title-row {
    gap: 8px;
  }
}


/* ======================================================================
   TARGETED RESPONSIVE AUDIT FIXES — 2026-10-23
   Correct high-specificity desktop card spans, contain decorative glow on
   standard viewports, and keep the floating header capsule geometrically
   still on compact/touch devices. No content or animation timelines changed.
   ====================================================================== */

/* The manifesto glow is decorative and should never enlarge the page's scroll width. */
@media (max-width: 1399px) {
  .manifesto {
    overflow: clip;
  }
}

/* The highlighted phrase is allowed to wrap on tablet and phone widths. */
@media (max-width: 900px) {
  .manifesto h2 em {
    white-space: normal !important;
    overflow-wrap: anywhere;
  }
}

/* The portfolio's filtered nth-child rules are more specific than the older
   mobile grid rules. Mirror their selectors so breakpoints genuinely win. */
@media (max-width: 900px) and (min-width: 641px) {
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n of .portfolio-project-card:not([hidden])) {
    grid-column: span 6 !important;
    grid-row: auto !important;
    margin-top: 0 !important;
  }

  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n of .portfolio-project-card:not([hidden])) .portfolio-card-visual {
    aspect-ratio: 1.04 / 1 !important;
  }
}

@media (max-width: 640px) {
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5 of .portfolio-project-card:not([hidden])),
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n of .portfolio-project-card:not([hidden])) {
    grid-column: 1 / -1 !important;
    grid-row: auto !important;
    margin: 0 !important;
  }

  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 1 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 2 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 3 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 4 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n + 5 of .portfolio-project-card:not([hidden])) .portfolio-card-visual,
  .portfolio-grid.portfolio-grid-redesign > .portfolio-project-card:nth-child(6n of .portfolio-project-card:not([hidden])) .portfolio-card-visual {
    aspect-ratio: 1.08 / 1 !important;
  }
}

/* Prevent the floating RGB capsule from looking as if it jitters in mobile
   emulation and on touch devices with high-refresh displays. Keep its colours. */
@media (max-width: 900px), (hover: none), (pointer: coarse) {
  .site-header {
    animation: none !important;
    transition: none !important;
    transform: none !important;
  }

  .site-header::before {
    --anthromini-rgb-angle: 0deg !important;
    animation: none !important;
    filter: none !important;
    transform: none !important;
    will-change: auto !important;
  }

  .site-header::after {
    animation: none !important;
    transform: none !important;
  }

  .site-header > .header-inner {
    animation: none !important;
    transform: none !important;
  }
}

/* Do not let long single tokens or CMS content force fixed grid tracks wider. */
@media (max-width: 640px) {
  .section-head,
  .section-head > *,
  .portfolio-toolbar,
  .portfolio-toolbar > *,
  .project-info,
  .project-info > *,
  .footer-main > *,
  .contact-aside,
  .contact-form,
  .contact-form .field,
  .field label,
  .field input,
  .field textarea,
  .field select {
    min-width: 0;
    max-width: 100%;
  }

  .section-head h2,
  .section-title,
  .page-hero h1,
  .portfolio-card-title,
  .portfolio-card-title-row,
  .project-info h3,
  .footer-col a {
    overflow-wrap: anywhere;
  }
}

/* MOBILE HEADER JITTER FIX — 2026-10-23
   On touch/narrow viewports, keep the floating capsule on a stable viewport layer.
   Sticky + backdrop-filter can jitter during composited scrolling on WebKit/mobile
   browsers. Preserve the existing glass gradients and edge, but avoid expensive
   backdrop blur on the moving outer capsule. Keep its original document space so
   page content does not jump when the header becomes fixed. */
@media (max-width: 900px), (hover: none) and (max-width: 1100px) {
  #app > .site-header {
    position: fixed !important;
    top: 12px !important;
    left: 50% !important;
    right: auto !important;
    margin: 0 !important;
    transform: translate3d(-50%, 0, 0) !important;
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    animation: none !important;
    transition: none !important;
  }

  /* Do not change the capsule's surface/shadow when the scroll class toggles. */
  #app > .site-header,
  #app > .site-header.scrolled {
    background-color: rgba(255, 255, 255, .34) !important;
    border-color: rgba(255, 255, 255, .68) !important;
    box-shadow:
      0 16px 42px rgba(24,26,27,.12),
      0 0 22px rgba(0,229,255,.22),
      0 0 28px rgba(255,67,189,.18),
      inset 0 1px 0 rgba(255,255,255,.92),
      inset 0 -1px 0 rgba(255,255,255,.28) !important;
  }

  #app > .site-header::before,
  #app > .site-header::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
  }

  #app > .site-header > .header-inner {
    animation: none !important;
    transform: none !important;
  }

  /* The former sticky header occupied 90px in normal flow. Reserve the same space. */
  #app > .site-header + main#main {
    padding-top: 90px !important;
  }
}

@media (max-width: 760px) {
  #app > .site-header {
    top: max(8px, env(safe-area-inset-top, 8px)) !important;
  }

  /* Phone header is 66px tall with a 9px top margin in the original layout. */
  #app > .site-header + main#main {
    padding-top: 75px !important;
  }
}



/* HAMBURGER TILT FIX — keep the menu control upright while hovering, clicking, or open. */
.site-header .menu-toggle:hover,
.site-header .menu-toggle:active,
.site-header .menu-toggle:focus,
.site-header .menu-toggle:focus-visible,
.site-header .menu-toggle[aria-expanded="true"] {
  transform: none !important;
}


/* -------------------------------------------------------------------------
   Service-card tap disclosure + mobile portfolio video previews.
   Desktop hover-driven service expansion and project video previews remain intact.
   ------------------------------------------------------------------------- */
@media (max-width: 1024px), (hover: none) and (pointer: coarse) {
  .services-band.service-touch-layout .service-list {
    align-items: stretch;
  }

  .services-band.service-touch-layout .service-row {
    height: auto !important;
    min-height: 0 !important;
    padding: 21px 18px 22px !important;
    background: #FFFFFF !important;
    color: #181A1B !important;
    border: 1px solid rgba(24,26,27,.12) !important;
    box-shadow: none !important;
    cursor: pointer;
    touch-action: manipulation;
    transition: background-color .32s ease, color .32s ease,
      border-color .32s ease, box-shadow .32s ease !important;
  }

  .services-band.service-touch-layout .service-row:not(.is-service-expanded):not([aria-expanded="true"]):hover {
    background: #FFFFFF !important;
    color: #181A1B !important;
    border-color: rgba(24,26,27,.12) !important;
    box-shadow: none !important;
  }

  .services-band.service-touch-layout .service-row:not(.is-service-expanded):not([aria-expanded="true"])::before,
  .services-band.service-touch-layout .service-row:not(.is-service-expanded):not([aria-expanded="true"])::after {
    opacity: 0 !important;
  }

  .services-band.service-touch-layout .service-row.is-service-expanded,
  .services-band.service-touch-layout .service-row[aria-expanded="true"] {
    background: #241238 !important;
    color: #FFFFFF !important;
    border-color: rgba(192,132,252,.62) !important;
    box-shadow: 0 12px 30px rgba(93,36,141,.17) !important;
  }

  .services-band.service-touch-layout .service-row.is-service-expanded::before,
  .services-band.service-touch-layout .service-row[aria-expanded="true"]::before {
    opacity: 1 !important;
  }

  .services-band.service-touch-layout .service-row.is-service-expanded::after,
  .services-band.service-touch-layout .service-row[aria-expanded="true"]::after {
    opacity: 1 !important;
    transform: scale(1) !important;
  }

  .services-band.service-touch-layout .service-row .service-row-top {
    min-height: 0 !important;
    align-items: flex-start;
    gap: 14px;
  }

  .services-band.service-touch-layout .service-row h3 {
    color: inherit !important;
  }

  .services-band.service-touch-layout .service-row .service-no {
    color: #A6A9AE !important;
    flex: 0 0 auto;
  }

  .services-band.service-touch-layout .service-row.is-service-expanded .service-no,
  .services-band.service-touch-layout .service-row[aria-expanded="true"] .service-no {
    color: #FFFFFF !important;
  }

  .services-band.service-touch-layout .service-row .service-detail {
    display: block !important;
    max-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    color: #FFFFFF !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transform: translateY(-6px) !important;
    transition: max-height .42s ease, margin .32s ease, opacity .25s ease,
      transform .32s ease, visibility 0s linear .42s !important;
  }

  .services-band.service-touch-layout .service-row.is-service-expanded .service-detail,
  .services-band.service-touch-layout .service-row[aria-expanded="true"] .service-detail {
    max-height: 420px !important;
    margin: 13px 0 0 !important;
    padding: 0 !important;
    color: #FFFFFF !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    transition: max-height .42s ease, margin .32s ease, opacity .28s ease .04s,
      transform .32s ease, visibility 0s !important;
  }

  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video {
    cursor: pointer;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
  }

  /* Tell touch users how to activate the same muted preview that desktop hovers. */
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video::before {
    content: "TAP TO PLAY";
    position: absolute;
    z-index: 4;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    max-width: calc(100% - 24px);
    padding: 8px 10px;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 999px;
    background: rgba(20,12,34,.82);
    color: #FFFFFF;
    font: 9px/1 'DM Mono', monospace;
    letter-spacing: .1em;
    pointer-events: none;
  }

  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video.is-previewing::before {
    content: "TAP TO STOP";
  }

  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video:focus-visible {
    outline: 2px solid #FFFFFF;
    outline-offset: 4px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-band.service-touch-layout .service-row,
  .services-band.service-touch-layout .service-row .service-detail,
  .portfolio-grid-redesign .portfolio-card-preview-video {
    transition: none !important;
  }
}

/* DESKTOP VIDEO PREVIEWS v12
   Keep the card's editorial shape, but remove cursor-following sheen and the
   stronger hover/3D shadow from video cards. The video's own playback remains
   controlled by the hover listeners in app.js. */
@media (hover: hover) and (pointer: fine) {
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video::before,
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video.is-3d-active::before {
    display: none !important;
    opacity: 0 !important;
    background: none !important;
  }

  /* Hover-video cards do not use the cursor-following glow, tilt or image pop. */
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video,
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video.is-3d-active,
  .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual.has-hover-video,
  .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual.has-hover-video.is-3d-active {
    transform: none !important;
    --portfolio-rotate-x: 0deg !important;
    --portfolio-rotate-y: 0deg !important;
    --portfolio-lift: 0px !important;
  }

  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video .portfolio-card-image,
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video .portfolio-card-preview-video {
    transform: none !important;
  }

  .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual.has-hover-video,
  .portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-visual.has-hover-video,
  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video.is-3d-active,
  .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual.has-hover-video.is-3d-active {
    box-shadow: 0 2px 0 rgba(24,26,27,.025), 0 14px 36px rgba(24,26,27,.045) !important;
  }

  .portfolio-grid-redesign .portfolio-project-card:hover .portfolio-card-visual.has-hover-video::after,
  .portfolio-grid-redesign .portfolio-project-card:focus-visible .portfolio-card-visual.has-hover-video::after {
    opacity: .5 !important;
  }

  .portfolio-grid-redesign .portfolio-card-visual.has-hover-video.is-3d-active {
    --portfolio-lift: 0px;
  }
}



/* ANTHROMINI SLIM CAPSULE v19 — desktop-only height adjustment.
   All colours, effects, inner controls, mobile/tablet rules and interactions stay unchanged. */
@media (min-width: 901px) {
  #app > .site-header {
    height: 68px !important;
    min-height: 68px !important;
  }
}


/* ANTHROMINI NAV TEXT FLIP v2 — four links only; leave logo, outer capsule and project CTA unchanged. */
.site-header .nav {
  gap: clamp(22px, 2.35vw, 38px) !important;
}

@media (min-width: 901px) {
  .site-header .nav a {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    color: var(--ink) !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: -.025em !important;
    line-height: 1.3 !important;
    text-decoration: none !important;
    transform: none !important;
    overflow: visible !important;
    transition: color .2s ease !important;
  }

  .site-header .nav a:hover,
  .site-header .nav a:focus-visible,
  .site-header .nav a[aria-current="page"],
  .site-header .nav a[aria-current="page"]:hover {
    color: var(--ink) !important;
    background: transparent !important;
    background-image: none !important;
    border: 0 !important;
    box-shadow: none !important;
    transform: none !important;
  }
}

/* The label rolls to its duplicate face on hover/focus. This vertical flip is intentionally
   independent of link/background styling, so text remains plain like the supplied reference. */
.site-header .nav .nav-flip {
  display: inline-block;
  height: 1.3em;
  line-height: 1.3;
  overflow: hidden;
  vertical-align: middle;
  perspective: 600px;
  -webkit-perspective: 600px;
}

.site-header .nav .nav-flip-inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  height: 2.6em;
  transform: translateY(0) rotateX(0deg);
  transform-origin: center top;
  transform-style: preserve-3d;
  transition: transform .46s cubic-bezier(.2,.75,.2,1);
  will-change: transform;
}

.site-header .nav .nav-flip-face {
  display: block;
  flex: 0 0 1.3em;
  height: 1.3em;
  line-height: 1.3em;
  white-space: nowrap;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.site-header .nav .nav-flip-face--back {
  position: relative;
  inset: auto;
  color: #7442aa;
  transform: rotateX(0deg);
  transform-origin: center top;
}

.site-header .nav a:hover .nav-flip-inner,
.site-header .nav a:focus-visible .nav-flip-inner {
  transform: translateY(-1.3em) rotateX(-8deg);
}

html[data-theme="dark"] .site-header .nav a,
html[data-theme="dark"] .site-header .nav a:hover,
html[data-theme="dark"] .site-header .nav a:focus-visible,
html[data-theme="dark"] .site-header .nav a[aria-current="page"] {
  color: var(--ink) !important;
  background: transparent !important;
  box-shadow: none !important;
}
html[data-theme="dark"] .site-header .nav .nav-flip-face--back {
  color: #c9a7f5;
}

@media (max-width: 900px) {
  .site-header .nav .nav-flip {
    height: 1.3em;
  }
  .site-header .nav .nav-flip-inner {
    transition-duration: .4s;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header .nav .nav-flip-inner {
    transition-duration: .01ms !important;
  }
}


/* ANTHROMINI CAPSULE LIGHT — single purple glow only; no RGB/rainbow colours.
   Scoped to the outer header capsule. Navigation text flip, logo and project CTA remain unchanged. */
#app > .site-header,
#app > .site-header.scrolled {
  background-color: rgba(255, 255, 255, .36) !important;
  background-image: linear-gradient(118deg,
    rgba(255,255,255,.86) 0%,
    rgba(255,255,255,.34) 42%,
    rgba(255,255,255,.66) 100%) !important;
  border-color: rgba(139, 92, 246, .32) !important;
  box-shadow:
    0 16px 42px rgba(24,26,27,.12),
    0 0 25px rgba(139,92,246,.24),
    inset 0 1px 0 rgba(255,255,255,.92),
    inset 0 -1px 0 rgba(255,255,255,.28) !important;
}

#app > .site-header::before {
  background: #9b72f2 !important;
  opacity: .9 !important;
  animation: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

#app > .site-header::after {
  /* Keep the neutral glass reflection; remove all coloured capsule reflections. */
  background-image:
    linear-gradient(118deg,
      rgba(255,255,255,.72) 0%,
      rgba(255,255,255,.20) 24%,
      rgba(255,255,255,.035) 48%,
      rgba(255,255,255,.16) 72%,
      rgba(255,255,255,.48) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 180 180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.12'/%3E%3C/svg%3E") !important;
  opacity: 1 !important;
}

html[data-theme="dark"] #app > .site-header,
html[data-theme="dark"] #app > .site-header.scrolled {
  background-color: rgba(24, 15, 43, .78) !important;
  background-image: linear-gradient(118deg,
    rgba(34, 20, 57, .92) 0%,
    rgba(16, 10, 31, .82) 48%,
    rgba(34, 20, 57, .9) 100%) !important;
  border-color: rgba(167, 139, 250, .42) !important;
  box-shadow:
    0 16px 42px rgba(0,0,0,.35),
    0 0 26px rgba(139,92,246,.25),
    inset 0 1px 0 rgba(255,255,255,.16) !important;
}

html[data-theme="dark"] #app > .site-header::before {
  background: #9b72f2 !important;
  opacity: .9 !important;
  animation: none !important;
  filter: none !important;
  -webkit-filter: none !important;
}

@media (prefers-reduced-motion: reduce) {
  #app > .site-header::before {
    animation: none !important;
  }
}

/* Minimal requested change: only replace the Start a project button's black fill with purple. */
.site-header .header-actions .btn-project {
  background: #4c1d95 !important;
}

/* Why Anthromini — a dedicated connected-studio visual system.
   Scoped exclusively to the homepage Our thinking section. */
.why-anthromini-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 9% 16%, rgba(186, 153, 255, .20), transparent 31%),
    radial-gradient(ellipse at 94% 69%, rgba(149, 116, 235, .12), transparent 30%),
    linear-gradient(180deg, #fcfaff 0%, #f6f1ff 53%, #fbf9ff 100%);
  border-block: 1px solid rgba(119, 78, 194, .09);
}
.why-anthromini-section::before,
.why-anthromini-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border-radius: 50%;
}
.why-anthromini-section::before {
  width: clamp(300px, 38vw, 560px);
  aspect-ratio: 1;
  left: -23%;
  top: 21%;
  border: 1px solid rgba(124, 83, 211, .08);
  box-shadow: 0 0 0 38px rgba(124, 83, 211, .025), 0 0 0 78px rgba(124, 83, 211, .018);
}
.why-anthromini-section::after {
  width: 280px;
  aspect-ratio: 1;
  right: -130px;
  top: 3%;
  background: radial-gradient(circle, rgba(170, 135, 247, .13), transparent 69%);
  filter: blur(8px);
}
.why-anthromini { position: relative; z-index: 1; }
.why-topline {
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 28px;
  padding-bottom: 19px;
  border-bottom: 1px solid rgba(70, 45, 117, .17);
}
.why-kicker {
  color: #50377e;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .14em;
}
.why-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 3px;
  background: linear-gradient(145deg, #bd9cff, #7950d7);
  box-shadow: 0 0 0 5px rgba(151, 111, 225, .12);
  transform: rotate(45deg);
}
.why-topline-note,
.why-topline-index {
  color: #79718a;
  font: 10px 'DM Mono', monospace;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.why-topline-note span { color: #a28cc9; margin-inline: 5px; }
.why-topline-index { display: flex; align-items: center; gap: 8px; white-space: nowrap; }
.why-topline-index i { width: 26px; height: 1px; background: #b9a8dd; display: block; }
.why-feature-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(360px, .8fr);
  gap: clamp(34px, 6vw, 88px);
  align-items: center;
  padding: clamp(45px, 6.2vw, 86px) 0 clamp(52px, 6vw, 78px);
}
.why-heading-block { min-width: 0; }
.why-eyebrow {
  color: #7253a7;
  font: 10px 'DM Mono', monospace;
  letter-spacing: .14em;
  margin-bottom: 21px;
}
.why-headline {
  max-width: 810px;
  margin: 0;
  color: #21172f;
  font-size: clamp(44px, 5.65vw, 79px);
  line-height: .98;
  letter-spacing: -.083em;
  font-weight: 500;
  text-wrap: balance;
}
.why-headline em {
  color: transparent;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
  font-style: italic;
  letter-spacing: -.06em;
  background: linear-gradient(105deg, #7b4ed4 8%, #a06ee8 49%, #6d5bd5 92%);
  background-clip: text;
  -webkit-background-clip: text;
  position: relative;
  white-space: normal;
}
.why-headline em::after {
  content: "";
  position: absolute;
  height: .09em;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(171, 133, 246, .12), rgba(150, 111, 228, .45), rgba(171, 133, 246, .1));
  left: .04em;
  right: .03em;
  bottom: -.02em;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .85s cubic-bezier(.2,.75,.2,1) .4s;
}
.why-anthromini.funky-motion-in-view .why-headline em::after { transform: scaleX(1); }
.why-copy-row {
  max-width: 660px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 25px;
  margin-top: 33px;
  padding-top: 21px;
  border-top: 1px solid rgba(70, 45, 117, .16);
}
.why-copy-row p {
  max-width: 435px;
  color: #6e6879;
  font-size: 14px;
  line-height: 1.8;
  margin: 0;
}
.why-about-link {
  display: inline-flex;
  gap: 15px;
  align-items: center;
  padding-bottom: 7px;
  white-space: nowrap;
  border-bottom: 1px solid rgba(112, 75, 174, .28);
  color: #48316f;
  font-size: 12px;
  font-weight: 700;
  transition: color .22s, border-color .22s;
}
.why-about-link span { font-size: 17px; transition: transform .22s cubic-bezier(.2,.75,.2,1); }
.why-about-link:hover { color: #8854dc; border-color: #8854dc; }
.why-about-link:hover span { transform: translate(3px,-3px); }
.why-orbit-panel {
  position: relative;
  min-width: 0;
  min-height: 350px;
  padding: 18px 20px 15px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(207, 185, 255, .28);
  border-radius: 24px;
  color: #f8f4ff;
  background:
    radial-gradient(ellipse at 52% 48%, rgba(133, 89, 213, .31), transparent 42%),
    linear-gradient(145deg, #281a43 0%, #1c1430 53%, #25183d 100%);
  box-shadow: 0 27px 80px rgba(74, 42, 132, .14), inset 0 1px 0 rgba(255,255,255,.08);
}
.why-orbit-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .16;
  z-index: -1;
  background-image: linear-gradient(rgba(255,255,255,.09) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.09) 1px, transparent 1px);
  background-size: 29px 29px;
  mask-image: linear-gradient(to bottom, black, transparent 96%);
}
.why-orbit-heading,
.why-orbit-footer { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.why-orbit-heading { color: #d8c9f4; font: 9px 'DM Mono', monospace; letter-spacing: .13em; }
.why-orbit-live { display: inline-flex; align-items: center; gap: 7px; color: #cbb5f7; font-size: 8px; }
.why-orbit-live i { width: 5px; height: 5px; border-radius: 50%; background: #b28bf4; box-shadow: 0 0 12px rgba(178,139,244,.9); }
.why-orbit-visual { position: relative; height: 275px; max-width: 430px; margin: 0 auto; }
.why-orbit-halo {
  position: absolute;
  width: 195px;
  aspect-ratio: 1;
  border-radius: 50%;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  background: radial-gradient(circle, rgba(153,106,239,.29), rgba(124,78,207,.09) 50%, transparent 72%);
  filter: blur(4px);
}
.why-orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border: 1px solid rgba(198, 170, 255, .24);
  border-radius: 50%;
  transform: translate(-50%,-50%);
}
.why-orbit-ring--one { width: 150px; height: 150px; }
.why-orbit-ring--two { width: 218px; height: 118px; transform: translate(-50%,-50%) rotate(-32deg); border-color: rgba(202,180,255,.42); }
.why-orbit-ring--three { width: 218px; height: 118px; transform: translate(-50%,-50%) rotate(32deg); border-color: rgba(202,180,255,.25); }
.why-orbit-core {
  position: absolute;
  width: 91px;
  height: 91px;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.5);
  background: linear-gradient(145deg, #bba0ff, #8b62df 60%, #6e4ab5);
  box-shadow: 0 12px 45px rgba(143,98,223,.35), inset 0 1px 0 rgba(255,255,255,.54);
}
.why-orbit-core span { font-size: 36px; line-height: .9; letter-spacing: -.12em; font-weight: 700; color: #fff; padding-right: 4px; }
.why-orbit-core small { color: #f1eaff; font: 7px 'DM Mono', monospace; letter-spacing: .12em; margin-top: 8px; }
.why-orbit-node {
  position: absolute;
  display: flex;
  gap: 7px;
  align-items: center;
  padding: 7px 10px 7px 7px;
  border-radius: 999px;
  border: 1px solid rgba(210,192,255,.26);
  background: rgba(42, 28, 67, .88);
  color: #f4edff;
  font-size: 9px;
  box-shadow: 0 7px 24px rgba(0,0,0,.16);
  white-space: nowrap;
}
.why-orbit-node i { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; background: rgba(177,141,245,.18); color: #c5aaff; font: 8px 'DM Mono', monospace; font-style: normal; }
.why-orbit-node--strategy { left: 1%; top: 20%; }
.why-orbit-node--design { right: 0; top: 22%; }
.why-orbit-node--build { left: 0; bottom: 17%; }
.why-orbit-node--ai { right: 4%; bottom: 15%; }
.why-orbit-footer { justify-content: flex-start; gap: 10px; color: #a797c6; font: 8px 'DM Mono', monospace; letter-spacing: .1em; padding-top: 13px; border-top: 1px solid rgba(226,211,255,.12); }
.why-orbit-footer i { width: 3px; height: 3px; border-radius: 50%; background: #8d6bc6; }
.why-card-intro { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding-bottom: 16px; border-bottom: 1px solid rgba(70,45,117,.17); }
.why-card-intro > span { color: #674c96; font: 10px 'DM Mono', monospace; letter-spacing: .12em; }
.why-card-intro p { color: #8a8199; font-size: 12px; margin: 0; }
.why-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 13px; padding-top: 17px; }
.why-card {
  --why-accent: #9062db;
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  min-height: 355px;
  padding: 19px 18px 16px;
  overflow: hidden;
  border: 1px solid rgba(108, 76, 159, .14);
  border-radius: 18px;
  background: linear-gradient(155deg, rgba(255,255,255,.96), rgba(249,245,255,.94));
  box-shadow: 0 10px 30px rgba(69,40,119,.035), inset 0 1px 0 rgba(255,255,255,.9);
  transition: transform .38s cubic-bezier(.2,.75,.2,1), border-color .3s, box-shadow .3s;
  transform-origin: 50% 90%;
}
.why-card::after { content: ""; position: absolute; inset: auto -10% -70px 22%; height: 125px; pointer-events: none; background: radial-gradient(ellipse, rgba(150,110,224,.12), transparent 68%); opacity: .5; transition: opacity .3s; }
.why-card--design { --why-accent: #aa81ed; }
.why-card--engineering { --why-accent: #7654bf; }
.why-card--ai { --why-accent: #bd9af8; }
.why-card:hover { transform: translateY(-7px) rotateX(1deg); border-color: rgba(134,91,208,.43); box-shadow: 0 22px 44px rgba(78,49,130,.11), inset 0 1px 0 #fff; }
.why-card:hover::after { opacity: 1; }
.why-card-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.why-card-number { color: #7d7290; font: 9px 'DM Mono', monospace; letter-spacing: .09em; }
.why-card-arrow { display: grid; place-items: center; flex: 0 0 auto; width: 30px; height: 30px; border: 1px solid rgba(115,82,173,.16); border-radius: 50%; color: #7550b6; font-size: 16px; transition: transform .3s, background .3s, color .3s; }
.why-card:hover .why-card-arrow { background: #8357ca; color: #fff; transform: rotate(45deg); }
.why-card-art { position: relative; height: 105px; margin: 18px 0 18px; border-radius: 12px; overflow: hidden; background: linear-gradient(135deg,#f2ebff,#e8defb); border: 1px solid rgba(131,91,197,.1); }
.why-brief-chip { position: absolute; left: 14px; top: 17px; display: inline-flex; align-items: center; gap: 14px; padding: 7px 9px; border-radius: 7px; background: rgba(255,255,255,.82); border: 1px solid rgba(123,84,183,.15); color: #78698f; font: 7px 'DM Mono', monospace; letter-spacing: .04em; }
.why-flow-line { position: absolute; width: 1px; height: 15px; left: 28px; top: 44px; background: linear-gradient(#bca0ed,#8259d0); }
.why-brief-chip--active { top: 60px; background: #7650b8; color: #fff; border-color: #7650b8; box-shadow: 0 5px 14px rgba(104,67,172,.16); }
.why-brief-chip--active i { color: #e8d9ff; font-style: normal; font-size: 10px; }
.why-ui-window { position: absolute; inset: 13px 16px 0; border-radius: 7px 7px 0 0; background: #fff; border: 1px solid rgba(112,79,171,.19); box-shadow: 0 6px 18px rgba(85,54,136,.08); overflow: hidden; transform: translateY(5px); }
.why-ui-bar { display: flex; align-items: center; gap: 3px; height: 15px; padding: 0 7px; background: #f6f1ff; border-bottom: 1px solid #eee5fb; }
.why-ui-bar i { width: 3px; height: 3px; border-radius: 50%; background: #b69bdf; }
.why-ui-bar span { margin-left: auto; color: #a093b5; font: 5px 'DM Mono', monospace; }
.why-ui-body { display: grid; grid-template-columns: 1fr .8fr; gap: 9px; padding: 12px 9px; }
.why-ui-copy { display: flex; flex-direction: column; gap: 5px; padding-top: 3px; }
.why-ui-copy b { width: 74%; height: 4px; border-radius: 4px; background: #67459d; }
.why-ui-copy b:nth-child(2) { width: 54%; background: #d5c6ef; }
.why-ui-copy i { width: 85%; height: 2px; margin-top: 4px; background: #e7e0f2; }
.why-ui-copy span { width: 42%; height: 9px; margin-top: 3px; border-radius: 4px; background: #9370d1; }
.why-ui-shape { position: relative; height: 43px; border-radius: 5px; background: linear-gradient(145deg,#d9c9f8,#9875d6); overflow: hidden; }
.why-ui-shape i { position: absolute; right: -7px; top: -18px; width: 50px; height: 50px; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; box-shadow: 0 0 0 8px rgba(255,255,255,.22),0 0 0 16px rgba(255,255,255,.14); }
.why-card-art--engineering { background: linear-gradient(145deg,#eee6ff,#ded0f6); }
.why-stack-layer { position: absolute; left: 17%; right: 17%; height: 25px; display: flex; align-items: center; gap: 8px; padding: 0 10px; border-radius: 6px; border: 1px solid rgba(122,84,181,.2); color: #6f5597; background: rgba(255,255,255,.82); box-shadow: 0 5px 10px rgba(86,54,132,.06); font: 6px 'DM Mono', monospace; letter-spacing: .08em; }
.why-stack-layer i { width: 6px; height: 6px; border-radius: 2px; background: var(--why-accent); box-shadow: 0 0 0 3px rgba(147,103,214,.11); }
.why-stack-layer--top { top: 11px; transform: translateX(8px); }
.why-stack-layer--middle { top: 40px; left: 13%; right: 21%; }
.why-stack-layer--bottom { top: 69px; left: 9%; right: 25%; }
.why-card-art--ai { display: flex; align-items: center; justify-content: center; background: linear-gradient(140deg,#2a1b46,#3b265e); border-color: rgba(128,93,192,.2); }
.why-ai-orbit { position: relative; width: 78px; height: 58px; display: grid; place-items: center; border: 1px solid rgba(197,169,255,.38); border-radius: 50%; transform: rotate(-12deg); }
.why-ai-orbit::after { content: ""; position: absolute; width: 108px; height: 32px; border: 1px solid rgba(197,169,255,.24); border-radius: 50%; transform: rotate(48deg); }
.why-ai-core { display: grid; place-items: center; width: 33px; height: 33px; border-radius: 11px; background: linear-gradient(145deg,#b59af0,#7956bb); color: #fff; font: 11px 'DM Mono',monospace; transform: rotate(12deg); box-shadow: 0 5px 18px rgba(142,100,221,.3); }
.why-ai-node { position: absolute; width: 6px; height: 6px; border: 1px solid #e1d3ff; background: #a986e8; border-radius: 50%; z-index: 1; }
.why-ai-node--one { top: 3px; right: 14px; }
.why-ai-node--two { bottom: 6px; left: 8px; }
.why-ai-node--three { top: 22px; right: -3px; }
.why-ai-guardrail { position: absolute; left: 10px; right: 10px; bottom: 8px; display: flex; align-items: center; justify-content: center; gap: 5px; color: #d9c6fb; font: 6px 'DM Mono',monospace; letter-spacing: .03em; }
.why-ai-guardrail i { display: grid; place-items: center; width: 12px; height: 12px; border-radius: 50%; background: #805cbe; color: #fff; font-style: normal; font-size: 8px; }
.why-card h3 { color: #281b3b; font-size: clamp(17px, 1.35vw, 21px); line-height: 1.1; letter-spacing: -.055em; font-weight: 600; margin: 0 0 11px; }
.why-card > p { color: #777080; font-size: 11px; line-height: 1.7; margin: 0 0 21px; }
.why-card-foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(87,57,134,.12); color: #76658f; font: 8px 'DM Mono', monospace; letter-spacing: .04em; text-transform: uppercase; }
.why-foot-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--why-accent); box-shadow: 0 0 0 4px rgba(146,105,214,.11); }
.why-bottomline { display: grid; grid-template-columns: 34px 1fr auto; align-items: center; gap: 14px; margin-top: 25px; padding-top: 20px; border-top: 1px solid rgba(70,45,117,.17); }
.why-bottomline-mark { color: #fff; display: grid; place-items: center; width: 32px; height: 32px; border-radius: 11px; background: linear-gradient(145deg,#a583e7,#6846ae); font-size: 18px; letter-spacing: -.12em; padding-right: 3px; box-shadow: 0 5px 14px rgba(104,70,174,.18); }
.why-bottomline p { color: #756a89; font-size: 12px; margin: 0; }
.why-bottomline a { display: inline-flex; align-items: center; gap: 12px; color: #4f347a; font-size: 12px; font-weight: 700; white-space: nowrap; transition: color .2s; }
.why-bottomline a span { font-size: 17px; transition: transform .2s; }
.why-bottomline a:hover { color: #9566e4; }
.why-bottomline a:hover span { transform: translate(3px,-3px); }
.why-anthromini.funky-motion-pending .why-heading-block,
.why-anthromini.funky-motion-pending .why-orbit-panel,
.why-anthromini.funky-motion-pending .why-card { opacity: 0; transform: translate3d(0,22px,0); }
.why-anthromini.funky-motion-in-view .why-heading-block { animation: am-why-heading-enter .82s cubic-bezier(.2,.75,.2,1) both; }
.why-anthromini.funky-motion-in-view .why-orbit-panel { animation: am-why-orbit-enter .9s cubic-bezier(.2,.75,.2,1) 100ms both; }
.why-anthromini.funky-motion-in-view .why-card { animation: am-why-card-enter .82s cubic-bezier(.2,.75,.2,1) calc(var(--why-delay, 0ms) + 140ms) backwards; }
.why-anthromini.funky-motion-in-view .why-orbit-ring--two { animation: am-why-ring-turn-one 24s linear .8s infinite; }
.why-anthromini.funky-motion-in-view .why-orbit-ring--three { animation: am-why-ring-turn-two 31s linear .8s infinite reverse; }
.why-anthromini.funky-motion-in-view .why-ai-orbit { animation: am-why-ai-breathe 4.8s ease-in-out 1s infinite alternate; }
@keyframes am-why-heading-enter { from { opacity: 0; transform: translate3d(0,24px,0); clip-path: inset(0 0 16% 0); } to { opacity: 1; transform: translate3d(0,0,0); clip-path: inset(0 0 0 0); } }
@keyframes am-why-orbit-enter { from { opacity: 0; transform: translate3d(0,26px,0) scale(.96); filter: blur(5px); } to { opacity: 1; transform: translate3d(0,0,0); filter: blur(0); } }
@keyframes am-why-card-enter { from { opacity: 0; transform: perspective(700px) translate3d(0,30px,0) rotateX(5deg) scale(.985); filter: blur(4px); } to { opacity: 1; transform: perspective(700px) translate3d(0,0,0) rotateX(0) scale(1); filter: blur(0); } }
@keyframes am-why-ring-turn-one { from { transform: translate(-50%,-50%) rotate(-32deg); } to { transform: translate(-50%,-50%) rotate(328deg); } }
@keyframes am-why-ring-turn-two { from { transform: translate(-50%,-50%) rotate(32deg); } to { transform: translate(-50%,-50%) rotate(392deg); } }
@keyframes am-why-ai-breathe { from { scale: 1; } to { scale: 1.055; } }
@media (max-width: 1080px) {
  .why-feature-grid { grid-template-columns: minmax(0, 1fr) minmax(310px, .78fr); gap: 30px; }
  .why-headline { font-size: clamp(42px, 5.2vw, 68px); }
  .why-card-grid { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 14px; }
  .why-card { min-height: 330px; }
  .why-card-art { height: 115px; }
}
@media (max-width: 760px) {
  .why-anthromini-section { padding: 68px 0 !important; }
  .why-topline { grid-template-columns: 1fr auto; gap: 12px; padding-bottom: 15px; }
  .why-topline-note { display: none; }
  .why-feature-grid { grid-template-columns: minmax(0,1fr); gap: 31px; padding: 44px 0 43px; }
  .why-headline { max-width: 620px; font-size: clamp(42px, 9.7vw, 65px); }
  .why-copy-row { grid-template-columns: 1fr; gap: 17px; margin-top: 25px; }
  .why-copy-row p { font-size: 13px; }
  .why-about-link { justify-self: start; }
  .why-orbit-panel { min-height: 330px; padding: 16px 16px 13px; border-radius: 20px; }
  .why-orbit-visual { height: 260px; }
  .why-card-intro { align-items: start; flex-direction: column; gap: 8px; }
  .why-card-grid { padding-top: 13px; gap: 10px; }
  .why-card { min-height: 335px; padding: 15px 14px 13px; border-radius: 15px; }
  .why-card-art { margin: 15px 0; height: 95px; }
  .why-card h3 { font-size: 18px; }
  .why-card > p { font-size: 11px; }
  .why-card-foot { font-size: 7px; }
  .why-bottomline { grid-template-columns: 32px 1fr; gap: 11px; }
  .why-bottomline a { grid-column: 2; justify-self: start; }
}
@media (max-width: 430px) {
  .why-topline-index { font-size: 8px; }
  .why-feature-grid { padding-top: 37px; }
  .why-headline { font-size: clamp(38px, 10vw, 47px); letter-spacing: -.08em; }
  .why-orbit-panel { margin-inline: -2px; }
  .why-orbit-node { font-size: 8px; padding: 6px 8px 6px 6px; }
  .why-orbit-node--strategy { left: -1%; }
  .why-orbit-node--design { right: -1%; }
  .why-orbit-node--build { left: -1%; }
  .why-orbit-node--ai { right: -1%; }
  .why-card-grid { grid-template-columns: minmax(0,1fr); gap: 11px; }
  .why-card { min-height: 0; padding: 17px; }
  .why-card-art { height: 112px; margin: 15px 0 16px; }
  .why-card h3 { font-size: 21px; }
  .why-card > p { font-size: 12px; margin-bottom: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-anthromini.funky-motion-pending .why-heading-block,
  .why-anthromini.funky-motion-pending .why-orbit-panel,
  .why-anthromini.funky-motion-pending .why-card { opacity: 1 !important; transform: none !important; }
  .why-anthromini.funky-motion-in-view .why-heading-block,
  .why-anthromini.funky-motion-in-view .why-orbit-panel,
  .why-anthromini.funky-motion-in-view .why-card,
  .why-anthromini.funky-motion-in-view .why-orbit-ring--two,
  .why-anthromini.funky-motion-in-view .why-orbit-ring--three,
  .why-anthromini.funky-motion-in-view .why-ai-orbit { animation: none !important; }
  .why-headline em::after { transform: scaleX(1); transition: none; }
  .why-card, .why-card-arrow, .why-about-link, .why-about-link span, .why-bottomline a span { transition: none !important; }
}



/* Why Anthromini — pared-back editorial treatment. Scoped only to this section. */
.why-anthromini-section {
  background: #fff;
  border-block: 1px solid rgba(83, 52, 132, .09);
  overflow: clip;
}
.why-anthromini-section::before,
.why-anthromini-section::after { content: none !important; }
.why-minimal-layout { color: #201a29; }
.why-minimal-topline {
  position: relative;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-bottom: 18px; border-bottom: none;
}
/* Keep the headline visually beneath the kicker without changing the intro
   grid height, so the playing cards retain their existing desktop position. */
.why-minimal-topline > .why-minimal-title {
  position: absolute;
  top: 40px;
  left: 0;
  width: min(760px, 62%);
}
.why-minimal-kicker {
  display: inline-flex; align-items: center; gap: 9px; color: #5e3b96;
  font: 10px 'DM Mono', monospace; letter-spacing: .12em; text-transform: uppercase;
}
.why-minimal-kicker::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: #8056c7; }
.why-minimal-intro-grid {
  display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(260px, .75fr);
  align-items: end; gap: clamp(34px, 7vw, 110px); padding: clamp(42px, 6vw, 80px) 0 clamp(40px, 5vw, 66px);
}
.why-minimal-title {
  max-width: 760px; margin: 0; color: #201a29;
  font-size: clamp(40px, 5.2vw, 70px); line-height: 1.02; letter-spacing: -.075em; font-weight: 500; text-wrap: balance;
}
.why-minimal-title em {
  color: #7c53bc; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; font-style: italic; letter-spacing: -.055em;
}
.why-minimal-intro-copy { grid-column: 2; padding-bottom: 4px; position: relative; top: -72px; }
.why-minimal-intro-copy p { margin: 0; max-width: 410px; color: #6e6875; font-size: 15px; line-height: 1.8; }
.why-minimal-about-link {
  display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; padding-bottom: 5px;
  border-bottom: 1px solid rgba(113, 76, 168, .28); color: #5e3b96; font-size: 12px; font-weight: 700;
}
.why-minimal-about-link span { display: inline-block; transition: transform .22s ease; }
.why-minimal-about-link:hover span { transform: translate(3px, -3px); }
.why-minimal-list { border-top: 1px solid rgba(39, 29, 51, .16); }
.why-minimal-row {
  display: grid; grid-template-columns: minmax(245px, .95fr) minmax(260px, 1fr) 28px;
  align-items: center; gap: clamp(16px, 2.5vw, 34px); min-height: 96px; padding: 21px 12px;
  border-bottom: 1px solid rgba(39, 29, 51, .14); transition: background-color .22s ease, padding .22s ease;
}
.why-minimal-row:hover { background: #faf7ff; padding-left: 18px; padding-right: 18px; }
.why-minimal-row h3 { margin: 0; color: #28222f; font-size: clamp(19px, 2vw, 25px); line-height: 1.18; letter-spacing: -.045em; font-weight: 500; transition: color .2s ease; }
.why-minimal-row p { margin: 0; max-width: 470px; color: #77717d; font-size: 13px; line-height: 1.65; }
.why-minimal-arrow { color: #8963c0; font-size: 19px; text-align: right; transition: transform .22s ease, color .22s ease; }
.why-minimal-row:hover h3 { color: #7046ad; }
.why-minimal-row:hover .why-minimal-arrow { color: #5d319c; transform: translate(2px, -2px); }
.why-anthromini.funky-motion-pending .why-minimal-topline,
.why-anthromini.funky-motion-pending .why-minimal-title,
.why-anthromini.funky-motion-pending .why-minimal-intro-copy,
.why-anthromini.funky-motion-pending .why-minimal-row { opacity: 0; transform: translateY(12px); }
.why-anthromini.funky-motion-in-view .why-minimal-topline { animation: why-minimal-enter .5s cubic-bezier(.2,.75,.2,1) both; }
.why-anthromini.funky-motion-in-view .why-minimal-title { animation: why-minimal-enter .62s cubic-bezier(.2,.75,.2,1) 60ms both; }
.why-anthromini.funky-motion-in-view .why-minimal-intro-copy { animation: why-minimal-enter .62s cubic-bezier(.2,.75,.2,1) 120ms both; }
.why-anthromini.funky-motion-in-view .why-minimal-row { animation: why-minimal-enter .48s cubic-bezier(.2,.75,.2,1) calc(140ms + var(--why-row-order, 0ms)) both; }
.why-minimal-row:nth-child(1) { --why-row-order: 0ms; }
.why-minimal-row:nth-child(2) { --why-row-order: 65ms; }
.why-minimal-row:nth-child(3) { --why-row-order: 130ms; }
.why-minimal-row:nth-child(4) { --why-row-order: 195ms; }
@keyframes why-minimal-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
@media (max-width: 850px) {
  .why-minimal-topline { align-items: flex-start; flex-direction: column; gap: 10px; }
  .why-minimal-topline > .why-minimal-title { position: static; width: 100%; max-width: 690px; margin-top: 14px; }
  .why-minimal-intro-grid { grid-template-columns: 1fr; gap: 22px; padding: 42px 0 38px; }
  .why-minimal-title { max-width: 690px; }
  .why-minimal-intro-copy { grid-column: 1; max-width: 640px; top: 0; }
  .why-minimal-row { grid-template-columns: minmax(0, 1fr) 26px; gap: 14px; }
  .why-minimal-row p { grid-column: 1; grid-row: 2; }
  .why-minimal-arrow { grid-column: 2; grid-row: 1 / span 2; }
}
@media (max-width: 540px) {
  .why-minimal-intro-grid { padding: 35px 0 29px; }
  .why-minimal-title { font-size: clamp(37px, 11vw, 51px); }
  .why-minimal-intro-copy p { font-size: 14px; }
  .why-minimal-row { grid-template-columns: minmax(0, 1fr) 18px; gap: 10px; padding: 20px 3px; }
  .why-minimal-row:hover { padding-left: 7px; padding-right: 7px; }
  .why-minimal-row h3 { font-size: 19px; }
  .why-minimal-row p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-anthromini.funky-motion-pending .why-minimal-topline,
  .why-anthromini.funky-motion-pending .why-minimal-title,
  .why-anthromini.funky-motion-pending .why-minimal-intro-copy,
  .why-anthromini.funky-motion-pending .why-minimal-row { opacity: 1 !important; transform: none !important; }
  .why-anthromini.funky-motion-in-view .why-minimal-topline,
  .why-anthromini.funky-motion-in-view .why-minimal-title,
  .why-anthromini.funky-motion-in-view .why-minimal-intro-copy,
  .why-anthromini.funky-motion-in-view .why-minimal-row { animation: none !important; }
  .why-minimal-row, .why-minimal-row h3, .why-minimal-arrow, .why-minimal-about-link span { transition: none !important; }
}


/* Improve visibility of the two key section labels only. */
.services-band .service-section-head .eyebrow.mono {
  color: #f2eaff;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .105em;
}
.services-band .service-section-head .eyebrow::before {
  width: 8px;
  height: 8px;
  background: #a78bfa;
}
.why-minimal-kicker {
  color: #56318f;
  font-family: 'DM Mono', monospace;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: .09em;
}
.why-minimal-kicker::before {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  background: #8056c7;
}
@media (max-width: 850px) {
  .services-band .service-section-head .eyebrow.mono,
  .why-minimal-kicker { font-size: 13px; }
}
@media (max-width: 540px) {
  .services-band .service-section-head .eyebrow.mono,
  .why-minimal-kicker { font-size: 12.5px; letter-spacing: .075em; }
}


/* SCROLL-AWARE CAPSULE -> HAMBURGER + RIGHT-SIDE NAV DRAWER.
   Only the existing header presentation and new menu UI are affected. */
.site-header.capsule-hidden-on-scroll {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transition: opacity .22s ease, visibility .22s ease !important;
}

.nav-quick-toggle {
  position: fixed;
  z-index: 10980;
  top: max(16px, env(safe-area-inset-top, 16px));
  right: clamp(16px, 3.2vw, 34px);
  width: 76px;
  height: 76px;
  padding: 0;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  color: #f8f6ff;
  background: #19181d;
  box-shadow: 0 12px 34px rgba(22,16,35,.16);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate3d(0,-10px,0);
  transition: opacity .28s ease, transform .38s cubic-bezier(.2,.75,.2,1), visibility .28s ease, background .2s ease;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
body.anthromini-has-scrolled .nav-quick-toggle {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: none;
}
.nav-quick-toggle:hover { background: #292431; }
.nav-quick-toggle:focus-visible { outline: 3px solid #a78bfa; outline-offset: 4px; }
.nav-quick-toggle-glyph,
.menu-toggle-glyph {
  width: 27px;
  height: 18px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
}
.nav-quick-toggle-glyph i,
.menu-toggle-glyph i {
  display: block;
  width: 100%;
  height: 1px;
  border-radius: 2px;
  background: currentColor;
  transform-origin: center;
  transition: transform .25s ease, opacity .18s ease;
}
.nav-quick-toggle[aria-expanded="true"] .nav-quick-toggle-glyph i:first-child,
.site-header .menu-toggle[aria-expanded="true"] .menu-toggle-glyph i:first-child { transform: translateY(3.5px) rotate(45deg); }
.nav-quick-toggle[aria-expanded="true"] .nav-quick-toggle-glyph i:last-child,
.site-header .menu-toggle[aria-expanded="true"] .menu-toggle-glyph i:last-child { transform: translateY(-3.5px) rotate(-45deg); }

.nav-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 11990;
  background: rgba(19,14,28,.34);
  -webkit-backdrop-filter: blur(3px);
  backdrop-filter: blur(3px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .42s ease, visibility .42s ease;
}
.nav-drawer-backdrop.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.nav-drawer {
  position: fixed;
  inset: 0 0 0 auto;
  z-index: 12000;
  width: min(610px, 100vw);
  height: 100vh;
  height: 100dvh;
  overflow: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4.5vw, 62px);
  color: #f8f7fb;
  background: linear-gradient(145deg, #1d1926 0%, #17161c 46%, #19171f 100%);
  box-shadow: -28px 0 90px rgba(13,9,23,.22);
  transform: translate3d(103%,0,0);
  visibility: hidden;
  transition: transform .62s cubic-bezier(.22,.78,.18,1), visibility .62s ease;
  will-change: transform;
}
.nav-drawer.is-open { transform: translate3d(0,0,0); visibility: visible; }
.nav-drawer-inner { min-height: 100%; width: 100%; max-width: 490px; margin: 0 auto; display: flex; flex-direction: column; }
.nav-drawer-top { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.nav-drawer-brand { display: inline-flex; align-items: center; gap: 11px; color: #f8f7fb; font-size: 16px; font-weight: 700; letter-spacing: -.045em; }
.nav-drawer-brand-mark { display: grid; place-items: center; width: 35px; height: 35px; border-radius: 11px; color: #f7f2ff; background: linear-gradient(145deg,#a78bfa,#7550d7); font-size: 21px; letter-spacing: -.12em; padding-right: 3px; }
.nav-drawer-close {
  flex: 0 0 72px; width: 72px; height: 72px; border: 0; padding: 0; border-radius: 50%;
  display: grid; place-items: center; color: #fff; background: linear-gradient(145deg,#8d6bf0,#6950df);
  transition: transform .3s ease, background .25s ease; cursor: pointer;
}
.nav-drawer-close:hover { transform: rotate(90deg); background: linear-gradient(145deg,#9e83fa,#7557ed); }
.nav-drawer-close svg { width: 27px; height: 27px; }
.nav-drawer-heading {
  margin-top: clamp(32px, 6vh, 66px); padding-bottom: 22px; border-bottom: 1px solid rgba(255,255,255,.19);
  color: rgba(248,247,251,.54); font: 600 11px/1.3 'DM Sans',Arial,sans-serif; text-transform: uppercase; letter-spacing: .09em;
}
.nav-drawer-links { display: flex; flex-direction: column; align-items: stretch; gap: clamp(4px,1.2vh,13px); margin-top: clamp(24px,5vh,54px); }
.nav-drawer-link {
  position: relative; display: flex; align-items: center; min-height: 1.08em;
  color: #f8f7fb; font-size: clamp(42px, 5.3vw, 66px); line-height: 1.12; font-weight: 400; letter-spacing: -.065em;
  transition: color .24s ease, transform .32s cubic-bezier(.2,.75,.2,1); outline-offset: 7px;
}
.nav-drawer-link::before {
  content: ''; width: 8px; height: 8px; flex: 0 0 8px; margin: 0 20px 0 2px; border-radius: 50%;
  background: #ad94ff; opacity: 0; transform: scale(.35); transition: opacity .24s ease, transform .24s ease;
}
.nav-drawer-link:hover, .nav-drawer-link:focus-visible, .nav-drawer-link[aria-current="page"] { color: #c9b8ff; transform: translateX(2px); }
.nav-drawer-link:hover::before, .nav-drawer-link:focus-visible::before, .nav-drawer-link[aria-current="page"]::before { opacity: 1; transform: scale(1); }
.nav-drawer-footer { margin-top: auto; padding-top: clamp(36px,8vh,90px); }
.nav-drawer-note { display: block; margin: 0 0 18px; color: rgba(248,247,251,.46); font: 10px/1.5 'DM Mono',monospace; letter-spacing: .11em; text-transform: uppercase; }
.nav-drawer-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 60px; padding: 0 22px;
  border: 1px solid rgba(210,196,255,.45); border-radius: 999px; color: #f8f5ff;
  background: linear-gradient(115deg,rgba(142,108,238,.32),rgba(113,79,201,.18));
  font-size: 15px; font-weight: 600; transition: border-color .25s ease, background .25s ease, transform .25s ease;
}
.nav-drawer-cta span:last-child { font-size: 21px; transition: transform .25s ease; }
.nav-drawer-cta:hover { border-color: rgba(210,196,255,.8); background: linear-gradient(115deg,rgba(142,108,238,.5),rgba(113,79,201,.3)); transform: translateY(-2px); }
.nav-drawer-cta:hover span:last-child { transform: translate(3px,-3px); }
body.nav-drawer-open { overflow: hidden !important; }

@media (max-width: 760px) {
  .nav-quick-toggle { top: max(14px, env(safe-area-inset-top, 14px)); right: 14px; width: 70px; height: 70px; }
  .nav-drawer { width: 100vw; padding: max(22px,env(safe-area-inset-top,22px)) 26px max(24px,env(safe-area-inset-bottom,24px)); }
  .nav-drawer-inner { max-width: 100%; }
  .nav-drawer-close { width: 64px; height: 64px; flex-basis: 64px; }
  .nav-drawer-heading { margin-top: clamp(26px,5vh,48px); padding-bottom: 18px; }
  .nav-drawer-links { margin-top: clamp(22px,4.5vh,42px); gap: clamp(5px,1.5vh,12px); }
  .nav-drawer-link { font-size: clamp(40px,10vw,58px); }
  .nav-drawer-link::before { width: 6px; height: 6px; flex-basis: 6px; margin-right: 15px; }
  .nav-drawer-footer { padding-top: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-header.capsule-hidden-on-scroll, .nav-quick-toggle, .nav-drawer-backdrop, .nav-drawer,
  .nav-drawer-close, .nav-drawer-link, .nav-drawer-link::before, .nav-drawer-cta, .nav-drawer-cta span:last-child,
  .nav-quick-toggle-glyph i, .menu-toggle-glyph i { transition-duration: .01ms !important; }
}


/* GSAP NAV CHROME POLISH — seamless top/capsule and scroll/hamburger hand-off. */
#app > .site-header {
  --anthromini-capsule-y: 0px;
  translate: 0 var(--anthromini-capsule-y, 0px) !important;
  will-change: translate, opacity;
}

#nav-quick-toggle {
  isolation: isolate;
  overflow: hidden;
  transition: none;
  background: #19181d;
  will-change: transform, opacity;
}
#nav-quick-toggle .nav-quick-liquid {
  position: absolute;
  z-index: 0;
  left: -18%;
  top: 35%;
  width: 136%;
  height: 136%;
  display: block;
  pointer-events: none;
  transform-origin: center center;
  transform: translateY(58%) rotate(-16deg);
  transition: transform .62s cubic-bezier(.2,.75,.2,1), border-radius .62s cubic-bezier(.2,.75,.2,1);
  will-change: transform, border-radius;
}
#nav-quick-toggle .nav-quick-liquid--back {
  background: linear-gradient(142deg, #b49aff 0%, #8b5cf6 43%, #6d28d9 100%);
}
#nav-quick-toggle .nav-quick-liquid--front {
  top: 43%;
  left: -20%;
  width: 140%;
  height: 140%;
  opacity: .78;
  background: linear-gradient(135deg, #a78bfa 0%, #7c3aed 62%, #5b21b6 100%);
  transform: translateY(70%) rotate(13deg);
}
@media (hover: hover) and (pointer: fine) {
  #nav-quick-toggle:hover .nav-quick-liquid--back {
    transform: translateY(-12%) rotate(8deg);
    border-radius: 47% 53% 58% 42% / 43% 56% 44% 57%;
  }
  #nav-quick-toggle:hover .nav-quick-liquid--front {
    transform: translateY(-19%) rotate(-9deg);
    border-radius: 56% 44% 43% 57% / 58% 46% 54% 42%;
  }
}
#nav-quick-toggle .nav-quick-toggle-glyph {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  pointer-events: none;
}
#nav-quick-toggle .nav-quick-toggle-glyph i {
  transition: none;
  will-change: transform;
}

/* When GSAP owns these transitions, CSS transitions are disabled to prevent double easing. */
body.anthromini-gsap-nav-ready #app > .site-header,
body.anthromini-gsap-nav-ready #nav-quick-toggle,
body.anthromini-gsap-nav-ready #nav-quick-toggle .nav-quick-toggle-glyph i,
body.anthromini-gsap-nav-ready #nav-quick-toggle .nav-quick-liquid,
body.anthromini-gsap-nav-ready .nav-drawer,
body.anthromini-gsap-nav-ready .nav-drawer-backdrop {
  transition: none !important;
}
body.anthromini-gsap-nav-ready .nav-quick-toggle:hover {
  background: #19181d;
}
body.anthromini-gsap-nav-ready .nav-quick-toggle[aria-expanded="true"] .nav-quick-toggle-glyph i,
body.anthromini-gsap-nav-ready .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-glyph i {
  transform: none !important;
}
@media (prefers-reduced-motion: reduce) {
  #app > .site-header { will-change: auto; }
  #nav-quick-toggle, #nav-quick-toggle .nav-quick-liquid { will-change: auto; }
}


/* Hamburger circle base: inset SVG geometry, positioned without changing button layout. */
#nav-quick-toggle .nav-quick-circle {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  z-index: 0;
  pointer-events: none;
}
body.anthromini-has-scrolled #nav-quick-toggle,
body.anthromini-gsap-nav-ready #nav-quick-toggle {
  will-change: auto;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/* NAV INTERACTION FIX v3 — dark-purple liquid + reliable slide drawer fallback. */
#nav-quick-toggle .nav-quick-liquid {
  border-radius: 58% 42% 54% 46% / 48% 55% 45% 52%;
  transition: transform .62s cubic-bezier(.2,.75,.2,1), border-radius .62s cubic-bezier(.2,.75,.2,1);
}
#nav-quick-toggle .nav-quick-liquid--back {
  background: linear-gradient(142deg,#7c3aed 0%,#581c87 48%,#2e1065 100%);
}
#nav-quick-toggle .nav-quick-liquid--front {
  background: linear-gradient(135deg,#6d28d9 0%,#4c1d95 58%,#241044 100%);
}
#nav-quick-toggle.is-liquid-active .nav-quick-liquid--back,
#nav-quick-toggle:hover .nav-quick-liquid--back,
#nav-quick-toggle:focus-visible .nav-quick-liquid--back {
  transform: translateY(-34%) rotate(7deg);
  border-radius: 47% 53% 58% 42% / 43% 56% 44% 57%;
}
#nav-quick-toggle.is-liquid-active .nav-quick-liquid--front,
#nav-quick-toggle:hover .nav-quick-liquid--front,
#nav-quick-toggle:focus-visible .nav-quick-liquid--front {
  transform: translateY(-39%) rotate(-8deg);
  border-radius: 56% 44% 43% 57% / 58% 46% 54% 42%;
}
/* Keep CSS fallback active when GSAP cannot load; when it is ready the JS timeline
   writes inline transforms, while these states remain a no-JS/failure fallback. */
body.anthromini-gsap-nav-ready #nav-quick-toggle .nav-quick-liquid {
  transition: none !important;
}
.nav-drawer { z-index: 12000; }
.nav-drawer-backdrop { z-index: 11990; }
.nav-drawer.is-open { visibility: visible; pointer-events: auto; }
.nav-drawer-backdrop.is-open { visibility: visible; pointer-events: auto; }
@media (prefers-reduced-motion: reduce) {
  #nav-quick-toggle .nav-quick-liquid { transition-duration: .01ms !important; }
}


/* Transform ownership fix: remove CSS transforms from elements whose transforms GSAP owns. */
#nav-quick-toggle.has-gsap-liquid .nav-quick-liquid {
  transform: none;
}
.nav-drawer.nav-drawer-gsap-motion {
  transform: none;
}
.nav-drawer.nav-drawer-gsap-motion.is-open {
  transform: none;
}


/* EDGE QUALITY REFINEMENT — keep each clipping path aligned with the element's
   actual radius. The reference showreel card was getting multiple different
   radii (4px / 15px / responsive radius) stacked on parent and video. */
@supports (clip-path: inset(0 round 1px)) {
  .cuberto-hero-reference .reference-showreel-card {
    border-radius: var(--reference-showreel-radius, clamp(14px, 1.8vw, 24px));
    overflow: hidden;
    -webkit-clip-path: inset(0 round var(--reference-showreel-radius, clamp(14px, 1.8vw, 24px)));
    clip-path: inset(0 round var(--reference-showreel-radius, clamp(14px, 1.8vw, 24px)));
  }
  /* Clip once at the card. A second, mismatched clip on the video causes a
     visibly different inner corner and uneven edge at some viewport sizes. */
  .cuberto-hero-reference .hero-showreel-video {
    -webkit-clip-path: none;
    clip-path: none;
    border-radius: 0;
  }
}

/* The two overlapping scroll sheets keep their native CSS radii. Ask GSAP to
   move them in 2D rather than retaining a forced 3D layer, which can rasterize
   rounded edges at fractional offsets on Chromium. */
body.has-cuberto-hero .home-work-section.portfolio-cards-only,
body.has-cuberto-hero main#main > section[data-home-section="Services"] {
  will-change: auto !important;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

/* Cursor dot is a single device-pixel-aligned 8px circle; no transform tween or
   CSS transition is applied to its travel. Only the larger video-hover ring eases. */
.cuberto-cursor-dot {
  transition: none !important;
  will-change: transform;
}
.cuberto-cursor-dot::before {
  width: 8px;
  height: 8px;
  top: -4px;
  left: -4px;
  border-radius: 50%;
  transition: transform .16s ease, opacity .16s ease;
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}
.cuberto-cursor-ring {
  -webkit-backface-visibility: visible;
  backface-visibility: visible;
}

@media (prefers-reduced-motion: reduce) {
  .cuberto-cursor-dot,
  .cuberto-cursor-dot::before { transition: none !important; }
}


/* WHY ANTHROMINI — clean editorial copy inside softly curved cards.
   Scoped exclusively to the Why Anthromini section. */
.why-anthromini-section .why-minimal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border: 0;
}
.why-anthromini-section .why-minimal-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 36px;
  grid-template-rows: auto 1fr;
  grid-template-areas: "title arrow" "copy arrow";
  align-items: start;
  gap: 17px 20px;
  min-height: 170px;
  padding: 25px 26px 24px;
  border: 1px solid rgba(105, 67, 162, .16);
  border-radius: 23px;
  background: #fff;
  box-shadow: 0 2px 0 rgba(62, 39, 88, .015);
  transition: background-color .22s ease, border-color .22s ease, box-shadow .22s ease;
}
.why-anthromini-section .why-minimal-row:first-child {
  background: #f8f3ff;
  border-color: rgba(124, 83, 188, .23);
}
.why-anthromini-section .why-minimal-row h3 {
  grid-area: title;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.2;
}
.why-anthromini-section .why-minimal-row p {
  grid-area: copy;
  max-width: 42ch;
  font-size: 13px;
  line-height: 1.7;
}
.why-anthromini-section .why-minimal-arrow {
  grid-area: arrow;
  align-self: start;
  justify-self: end;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(124, 83, 188, .18);
  border-radius: 50%;
  background: rgba(124, 83, 188, .055);
  font-size: 17px;
  line-height: 1;
}
.why-anthromini-section .why-minimal-row:hover {
  padding: 25px 26px 24px;
  background: #fbf8ff;
  border-color: rgba(124, 83, 188, .34);
  box-shadow: 0 9px 26px rgba(73, 46, 111, .055);
}
.why-anthromini-section .why-minimal-row:first-child:hover {
  background: #f4ecff;
}
.why-anthromini-section .why-minimal-row:hover .why-minimal-arrow {
  background: #eee3ff;
  border-color: rgba(124, 83, 188, .32);
}
@media (max-width: 850px) {
  .why-anthromini-section .why-minimal-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .why-anthromini-section .why-minimal-row {
    min-height: 165px;
    padding: 22px;
    gap: 14px 12px;
  }
  .why-anthromini-section .why-minimal-row:hover {
    padding: 22px;
  }
}
@media (max-width: 600px) {
  .why-anthromini-section .why-minimal-list {
    grid-template-columns: minmax(0, 1fr);
    gap: 11px;
  }
  .why-anthromini-section .why-minimal-row {
    min-height: 145px;
    padding: 21px 20px;
    border-radius: 20px;
    gap: 12px 14px;
  }
  .why-anthromini-section .why-minimal-row:hover {
    padding: 21px 20px;
  }
  .why-anthromini-section .why-minimal-row h3 {
    font-size: 20px;
  }
  .why-anthromini-section .why-minimal-row p {
    font-size: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-anthromini-section .why-minimal-row,
  .why-anthromini-section .why-minimal-row .why-minimal-arrow {
    transition: none !important;
  }
}


/* Why Anthromini — approved white/lavender curved-card palette. Scoped to this section only. */
.why-anthromini-section .why-minimal-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  border-top: 0;
}
.why-anthromini-section .why-minimal-row {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 30px;
  align-content: start;
  align-items: start;
  gap: 15px 18px;
  min-height: 146px;
  padding: 24px 26px;
  border: 1px solid #DFD2F7;
  border-radius: 20px;
  background: #FFFFFF;
  box-shadow: 0 2px 5px rgba(33, 20, 49, .025);
  transition: background-color .24s ease, border-color .24s ease, box-shadow .24s ease, transform .24s ease;
}
.why-anthromini-section .why-minimal-row:hover {
  padding: 24px 26px;
  background: #F6F1FF;
  border-color: #CDBBFF;
  box-shadow: 0 9px 24px rgba(48, 24, 82, .07);
}
.why-anthromini-section .why-minimal-row h3 {
  grid-column: 1;
  grid-row: 1;
  color: #211431;
  font-size: clamp(19px, 1.65vw, 24px);
  line-height: 1.2;
  letter-spacing: -.045em;
}
.why-anthromini-section .why-minimal-row p {
  grid-column: 1;
  grid-row: 2;
  max-width: 440px;
  color: #62596E;
  font-size: 13px;
  line-height: 1.65;
}
.why-anthromini-section .why-minimal-arrow {
  grid-column: 2;
  grid-row: 1 / span 2;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  margin-top: 1px;
  border: 1px solid #DFD2F7;
  border-radius: 50%;
  background: #F6F1FF;
  color: #7541C8;
  font-size: 15px;
  text-align: center;
  transition: background-color .24s ease, border-color .24s ease, color .24s ease, transform .24s ease;
}
.why-anthromini-section .why-minimal-row:hover .why-minimal-arrow {
  background: #7541C8;
  border-color: #7541C8;
  color: #FFFFFF;
  transform: translate(1px, -1px);
}
@media (max-width: 850px) {
  .why-anthromini-section .why-minimal-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .why-anthromini-section .why-minimal-row,
  .why-anthromini-section .why-minimal-row:hover { min-height: 150px; padding: 20px; }
  .why-anthromini-section .why-minimal-row h3 { font-size: 19px; }
}
@media (max-width: 560px) {
  .why-anthromini-section .why-minimal-list { grid-template-columns: minmax(0, 1fr); gap: 11px; }
  .why-anthromini-section .why-minimal-row,
  .why-anthromini-section .why-minimal-row:hover { min-height: 0; padding: 19px; }
  .why-anthromini-section .why-minimal-row h3 { font-size: 20px; }
  .why-anthromini-section .why-minimal-row p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .why-anthromini-section .why-minimal-row,
  .why-anthromini-section .why-minimal-arrow { transition: none !important; }
}


/* Why Anthromini: dark-purple cards, scoped to this section only. */
.why-anthromini-section .why-minimal-row,
.why-anthromini-section .why-minimal-row:first-child {
  background: linear-gradient(145deg, #2b1745 0%, #1a0d2e 100%);
  border-color: rgba(205, 187, 255, .24);
  box-shadow: 0 2px 8px rgba(24, 10, 43, .07);
}
.why-anthromini-section .why-minimal-row h3 {
  color: #ffffff;
}
.why-anthromini-section .why-minimal-row p {
  color: #d8cde8;
}
.why-anthromini-section .why-minimal-row:hover,
.why-anthromini-section .why-minimal-row:first-child:hover {
  background: linear-gradient(145deg, #35204f 0%, #211236 100%);
  border-color: rgba(205, 187, 255, .43);
  box-shadow: 0 10px 28px rgba(24, 10, 43, .16);
}
.why-anthromini-section .why-minimal-row .why-minimal-arrow {
  display: none !important;
}


/* Why Anthromini playing-card flip interaction — scoped to this section only. */
.why-anthromini-section .why-playing-card-deck {
  width: 100%;
  max-width: 1040px;
  margin: 30px auto 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  justify-content: center;
  align-items: stretch;
  gap: 18px;
  border: 0;
}
.why-anthromini-section .why-playing-card {
  position: relative;
  display: block;
  width: 100%;
  min-width: 0;
  min-height: 0;
  height: auto;
  aspect-ratio: 5 / 7;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 22px;
  background: transparent !important;
  box-shadow: none !important;
  overflow: visible;
  cursor: pointer;
  perspective: 1200px;
  transition: none;
  outline-offset: 5px;
}
.why-anthromini-section .why-playing-card-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  transform: rotateY(0deg);
  transform-style: preserve-3d;
  transition: none;
  will-change: transform;
}
/* CSS-only fallback is used only if GSAP did not load. */
.why-anthromini-section .why-playing-card-inner[data-css-flip] {
  transition: transform .86s cubic-bezier(.22,1,.36,1);
}
.why-anthromini-section .why-playing-card-inner[data-css-flip="true"] {
  transform: rotateY(180deg);
}
.why-anthromini-section .why-playing-card-face {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-width: 0;
  padding: 19px 18px;
  overflow: hidden;
  border: 1px solid rgba(205,187,255,.32);
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(148deg, #35204f 0%, #241339 52%, #1a0d2e 100%);
  box-shadow: 0 10px 24px rgba(24,10,43,.11);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}
.why-anthromini-section .why-playing-card-face::before {
  content: '';
  position: absolute;
  inset: 7px;
  border: 1px solid rgba(220,203,250,.18);
  border-radius: 16px;
  pointer-events: none;
}
.why-anthromini-section .why-playing-card-front::after {
  content: '';
  position: absolute;
  width: 150px;
  height: 150px;
  right: -58px;
  bottom: 45px;
  border: 1px solid rgba(199,179,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 18px rgba(199,179,255,.035), 0 0 0 36px rgba(199,179,255,.025);
  pointer-events: none;
}
.why-anthromini-section .why-playing-card-back {
  transform: rotateY(180deg);
  background: linear-gradient(148deg, #2a183f 0%, #211132 58%, #160b25 100%);
}
.why-anthromini-section .why-playing-card-corner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: start;
  align-content: start;
  gap: 2px;
  color: #e2d4ff;
  font-size: 16px;
  line-height: 1;
}
.why-anthromini-section .why-playing-card-corner strong {
  font-size: 20px;
  font-weight: 600;
  line-height: 1;
}
.why-anthromini-section .why-playing-card-corner span { font-size: 17px; }
.why-anthromini-section .why-playing-card-corner--bottom {
  position: absolute;
  right: 18px;
  bottom: 18px;
  transform: rotate(180deg);
}
.why-anthromini-section .why-playing-card-watermark {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding-bottom: 20px;
  color: rgba(205,187,255,.16);
  font-family: Georgia, serif;
  font-size: clamp(84px, 8vw, 126px);
  line-height: 1;
  pointer-events: none;
}
.why-anthromini-section .why-playing-card-front-copy {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin: auto 0;
  padding: 18px 0 12px;
}
.why-anthromini-section .why-playing-card-label,
.why-anthromini-section .why-playing-card-hint,
.why-anthromini-section .why-playing-card-back-top,
.why-anthromini-section .why-playing-card-back-foot {
  font-family: 'DM Mono', monospace;
  font-size: 9px;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #cdbbff;
}
.why-anthromini-section .why-playing-card-front-copy h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(19px, 1.7vw, 25px);
  line-height: 1.07;
  letter-spacing: -.05em;
  font-weight: 500;
  overflow-wrap: anywhere;
}
.why-anthromini-section .why-playing-card-hint {
  margin-top: 9px;
  font-size: 8px;
  letter-spacing: .1em;
  color: #b9a1e8;
}
.why-anthromini-section .why-playing-card-back-top,
.why-anthromini-section .why-playing-card-back-foot {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}
.why-anthromini-section .why-playing-card-back-top span:last-child,
.why-anthromini-section .why-playing-card-back-foot span:last-child {
  color: #e2d4ff;
  font-size: 14px;
  letter-spacing: 0;
}
.why-anthromini-section .why-playing-card-back-copy {
  position: relative;
  z-index: 1;
  margin: auto 0;
  padding: 20px 0;
}
.why-anthromini-section .why-playing-card-back-copy h3 {
  margin: 0 0 13px;
  color: #fff;
  font-size: clamp(20px, 1.7vw, 25px);
  line-height: 1.08;
  letter-spacing: -.045em;
  font-weight: 500;
}
.why-anthromini-section .why-playing-card-back-copy p {
  margin: 0;
  color: #e0d6ee;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}
.why-anthromini-section .why-playing-card-back-foot {
  padding-top: 12px;
  border-top: 1px solid rgba(205,187,255,.2);
  font-size: 8px;
  letter-spacing: .07em;
}
.why-anthromini-section .why-playing-card:focus-visible {
  outline: 2px solid #cdbbff;
  outline-offset: 5px;
}
@media (max-width: 850px) {
  .why-anthromini-section .why-playing-card-deck {
    max-width: 560px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 15px;
  }
  .why-anthromini-section .why-playing-card-front-copy h3,
  .why-anthromini-section .why-playing-card-back-copy h3 { font-size: clamp(20px, 3vw, 25px); }
}
@media (max-width: 560px) {
  .why-anthromini-section .why-playing-card-deck {
    max-width: 245px;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }
  .why-anthromini-section .why-playing-card-face {
    padding: 20px 19px;
    border-radius: 22px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .why-anthromini-section .why-playing-card-inner { transition: none !important; }
  .why-anthromini-section .why-playing-card-inner[data-css-flip] { transition: none !important; }
}

/* Why Anthromini: tighten the space between the intro and playing cards. */
.why-anthromini-section .why-minimal-intro-grid {
  padding-bottom: 22px;
}
.why-anthromini-section .why-playing-card-deck {
  margin-top: 10px;
}

/* Homepage / public FAQ accordion — midnight navy, ice blue curves and neon lime accents. Scoped to FAQ only. */
.home-faq-section{position:relative;isolation:isolate;overflow:hidden;width:calc(100% - 32px);margin:16px auto;border-radius:clamp(30px,4vw,58px);background:radial-gradient(ellipse at 82% 0%,rgba(168,233,244,.22),transparent 38%),radial-gradient(ellipse at 0% 100%,rgba(49,93,232,.13),transparent 40%),linear-gradient(128deg,#0d1825 0%,#142638 53%,#0a1521 100%);color:#f4fbff;padding:84px 0 78px;}
.home-faq-section::before,.home-faq-section::after{content:"";position:absolute;z-index:0;pointer-events:none;border:1px solid rgba(168,233,244,.2);border-radius:50%;}
.home-faq-section::before{width:clamp(440px,54vw,760px);height:clamp(440px,54vw,760px);right:-13%;top:-54%;box-shadow:0 0 0 22px rgba(168,233,244,.035),0 0 0 58px rgba(168,233,244,.025),0 0 0 104px rgba(168,233,244,.018);}
.home-faq-section::after{width:clamp(340px,40vw,590px);height:clamp(340px,40vw,590px);left:-15%;bottom:-54%;border-color:rgba(168,233,244,.13);box-shadow:0 0 0 24px rgba(168,233,244,.028),0 0 0 62px rgba(168,233,244,.018);}
.home-faq-section>.container{position:relative;z-index:1;width:min(1240px,calc(100% - 64px));}
.home-faq-heading{display:flex;align-items:flex-start;justify-content:flex-start;gap:24px;margin-bottom:104px;}
.home-faq-heading h1,.home-faq-heading h2{font-size:clamp(54px,6vw,80px);line-height:.95;letter-spacing:-.075em;font-weight:500;margin:0;color:#fff;}
.home-faq-list{border-bottom:1px solid rgba(168,233,244,.22);}
.home-faq-item{border-top:1px solid rgba(168,233,244,.22);}
.home-faq-item summary{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:27px 0;list-style:none;cursor:pointer;color:#f4fbff;font-size:clamp(17px,1.55vw,23px);font-weight:500;line-height:1.35;}
.home-faq-item summary::-webkit-details-marker{display:none;}
.home-faq-item summary::marker{content:'';}
.home-faq-plus{position:relative;display:block;flex:0 0 20px;width:20px;height:20px;}
.home-faq-plus::before,.home-faq-plus::after{content:'';position:absolute;top:50%;left:50%;width:19px;height:1.5px;background:#c9f36a;transform:translate(-50%,-50%);transition:transform .32s cubic-bezier(.22,1,.36,1),background-color .25s ease;}
.home-faq-plus::after{transform:translate(-50%,-50%) rotate(90deg);}
.home-faq-item summary[aria-expanded="true"] .home-faq-plus::after{transform:translate(-50%,-50%) rotate(0deg);}
.home-faq-item summary:focus-visible{outline:2px solid #a8e9f4;outline-offset:4px;border-radius:4px;}
.home-faq-answer{height:0;max-width:900px;overflow:hidden;color:rgba(234,251,255,.78);font-size:15px;line-height:1.8;}
.home-faq-item[open]>.home-faq-answer{height:auto;}
.home-faq-answer-inner{padding:0 50px 26px 0;}
.home-faq-answer p{margin:0;}
.home-faq-more{display:flex;justify-content:flex-end;padding-top:22px;}
.home-faq-section .text-link{border-color:rgba(168,233,244,.35);color:#f4fbff;}
.home-faq-section .text-link:hover{border-color:rgba(201,243,106,.85);color:#c9f36a;}
.faq-page-section{padding-top:72px;padding-bottom:100px;}
.faq-page-section .home-faq-heading{margin-bottom:92px;}
@media(max-width:760px){.home-faq-section{width:calc(100% - 16px);margin:8px auto;border-radius:28px;padding:62px 0 55px}.home-faq-section>.container{width:calc(100% - 36px)}.home-faq-section::before{width:380px;height:380px;right:-58%;top:-19%;box-shadow:0 0 0 18px rgba(168,233,244,.03),0 0 0 43px rgba(168,233,244,.02)}.home-faq-section::after{width:300px;height:300px;left:-55%;bottom:-29%;box-shadow:0 0 0 20px rgba(168,233,244,.02)}.home-faq-heading{margin-bottom:58px}.home-faq-heading h1,.home-faq-heading h2{font-size:clamp(49px,13vw,68px)}.home-faq-item summary{font-size:17px;padding:22px 0;gap:16px}.home-faq-plus{flex-basis:17px;width:17px;height:17px}.home-faq-plus::before,.home-faq-plus::after{width:17px}.home-faq-answer-inner{padding:0 28px 22px 0;font-size:14px}.faq-page-section{padding-top:58px;padding-bottom:65px}.faq-page-section .home-faq-heading{margin-bottom:55px}}
@media(prefers-reduced-motion:reduce){.home-faq-plus::before,.home-faq-plus::after{transition:none}}


/* Remove only the previous section's bottom rule directly above the FAQ panel. */
.why-anthromini-section:has(+ .home-faq-section) { border-bottom: 0 !important; }

/* Final hero hover clipping fix.
   The masks are only needed while the two headline lines enter the page.
   Once the intro animation is running/finished, never clip the scaled glyphs. */
.cuberto-hero-reference .cuberto-headline {
  font-weight: 500;
}

.cuberto-hero-reference .reference-editorial-word::after {
  background: linear-gradient(90deg, #24103B 0%, #503071 100%);
}

.cuberto-hero-reference .reference-hover-word {
  transition: color .22s cubic-bezier(.2,.75,.2,1), transform .22s cubic-bezier(.2,.75,.2,1);
}

@media (hover: hover) and (pointer: fine) {
  .cuberto-hero-reference .reference-hover-word:hover {
    z-index: 2;
    color: transparent;
    background-image: linear-gradient(118deg, #24103B 0%, #4B1D73 54%, #1A0C2E 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transform: scale(1.035);
  }
}

/* Critical: remove persistent overflow clipping that cuts the g descender and s edge. */
.cuberto-hero-reference .title-line-mask {
  overflow: visible !important;
}

/* Keep the original vertical crop only during the one-time line-entry animation. */
#app.is-page-entering .cuberto-hero-reference .title-line-mask {
  overflow: hidden !important;
}

/* Full-bleed capability rail: vibrant purple field with playful, colourful cards. */
.capability-showcase {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 32px);
  margin: 16px auto;
  border-radius: clamp(30px, 4vw, 58px);
  padding: clamp(76px, 8vw, 112px) 0 30px;
  color: #fff;
  background:
    radial-gradient(ellipse at 82% 4%, rgba(255, 126, 203, .30), transparent 32%),
    radial-gradient(ellipse at 15% 94%, rgba(70, 205, 241, .24), transparent 32%),
    linear-gradient(128deg, #7756e7 0%, #8058e6 48%, #6546d6 100%);
}
.capability-showcase::before,
.capability-showcase::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
}
.capability-showcase::before {
  width: 520px;
  height: 520px;
  right: -270px;
  top: -300px;
  box-shadow: 0 0 0 28px rgba(255,255,255,.035), 0 0 0 58px rgba(255,255,255,.025), 0 0 0 90px rgba(255,255,255,.018);
}
.capability-showcase::after {
  width: 420px;
  height: 420px;
  left: -300px;
  bottom: -330px;
  box-shadow: 0 0 0 30px rgba(255,255,255,.035), 0 0 0 62px rgba(255,255,255,.024);
}
.capability-showcase-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, .75fr);
  align-items: end;
  gap: clamp(28px, 5vw, 78px);
  margin-bottom: clamp(30px, 4.2vw, 54px);
}
.capability-showcase .eyebrow {
  color: rgba(255,255,255,.78);
}
.capability-showcase .eyebrow::before {
  background: #ffd45b;
  box-shadow: 0 0 0 5px rgba(255,212,91,.13);
}
.capability-showcase h2 {
  max-width: 780px;
  margin: 18px 0 0;
  color: #fff;
  font-size: clamp(44px, 6.1vw, 82px);
  line-height: .94;
  letter-spacing: -.075em;
  font-weight: 500;
}
.capability-showcase-intro {
  padding-bottom: 4px;
}
.capability-showcase-intro p {
  max-width: 440px;
  margin: 0 0 21px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.75;
}
.capability-showcase-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 7px;
  border-bottom: 1px solid rgba(255,255,255,.48);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
}
.capability-showcase-link span {
  transition: transform .24s cubic-bezier(.2,.75,.2,1);
}
.capability-showcase-link:hover span {
  transform: translate(3px,-3px);
}
.capability-rail {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  padding: 8px 0 28px;
  outline: none;
  touch-action: pan-y;
}
.capability-rail:focus-visible {
  outline: 2px solid #ffd45b;
  outline-offset: -3px;
  border-radius: 8px;
}
.capability-rail-track {
  display: flex;
  width: max-content;
  align-items: stretch;
  transform: translate3d(0,0,0);
  will-change: transform;
}
.capability-rail-group {
  display: flex;
  flex: 0 0 auto;
  align-items: stretch;
  gap: 18px;
  padding: 0 18px 0 6px;
}
.capability-card {
  flex: 0 0 clamp(250px, 22vw, 310px);
  width: clamp(250px, 22vw, 310px);
  height: 344px;
  min-width: 0;
  display: grid;
  grid-template-rows: 132px minmax(0, 1fr);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.74);
  border-radius: 19px;
  background: #fff;
  color: #17141f;
  box-shadow: 0 18px 42px rgba(35,17,91,.16), 0 2px 0 rgba(255,255,255,.2) inset;
  transform: translate3d(0,0,0);
  transform-origin: 50% 75%;
  transition: transform .34s cubic-bezier(.2,.75,.2,1), box-shadow .34s cubic-bezier(.2,.75,.2,1);
}
@media (hover:hover) and (pointer:fine) {
  .capability-card:hover {
    transform: translate3d(0,-7px,0) rotate(-.35deg);
    box-shadow: 0 26px 52px rgba(35,17,91,.24), 0 2px 0 rgba(255,255,255,.35) inset;
  }
  .capability-card:hover .capability-card-illustration {
    transform: translate3d(0,-3px,0) scale(1.035);
  }
}
.capability-card-copy {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  min-width: 0;
  padding: 16px 18px 15px;
  background: linear-gradient(160deg, #fff 0%, #fcfaff 100%);
}
.capability-card-meta {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  color: #766b8e;
  font: 9px/1.2 'DM Mono', monospace;
  letter-spacing: .085em;
  text-transform: uppercase;
}
.capability-card h3 {
  margin: auto 0 5px;
  color: #17141f;
  font-size: clamp(20px, 1.8vw, 24px);
  line-height: 1.03;
  letter-spacing: -.055em;
  font-weight: 600;
  overflow-wrap: anywhere;
}
.capability-card p {
  margin: 0;
  color: #6b6576;
  font-size: 11px;
  line-height: 1.35;
}
.capability-card-art {
  position: relative;
  isolation: isolate;
  min-height: 0;
  overflow: hidden;
  display: grid;
  place-items: center;
  background: #ffc64b;
}
.capability-card-art::before {
  content: "";
  position: absolute;
  z-index: -1;
  width: 178px;
  height: 178px;
  right: -56px;
  bottom: -105px;
  border: 1px solid rgba(255,255,255,.32);
  border-radius: 50%;
  box-shadow: 0 0 0 14px rgba(255,255,255,.10), 0 0 0 30px rgba(255,255,255,.07);
  pointer-events: none;
}
.capability-card-illustration {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
  padding: 3px 9px 0;
  filter: drop-shadow(0 9px 12px rgba(35,17,91,.13));
  transform: translate3d(0,0,0) scale(1);
  transition: transform .4s cubic-bezier(.2,.75,.2,1);
  pointer-events: none;
  user-select: none;
}
.capability-card:nth-child(5n + 1) .capability-card-art { background: linear-gradient(140deg,#ffd052 0%,#f5ae37 100%); }
.capability-card:nth-child(5n + 2) .capability-card-art { background: linear-gradient(140deg,#f681c7 0%,#e94eac 100%); }
.capability-card:nth-child(5n + 3) .capability-card-art { background: linear-gradient(140deg,#65def1 0%,#36b6e3 100%); }
.capability-card:nth-child(5n + 4) .capability-card-art { background: linear-gradient(140deg,#a99bff 0%,#795ced 100%); }
.capability-card:nth-child(5n) .capability-card-art { background: linear-gradient(140deg,#59b5ff 0%,#3976e8 100%); }
/* Subtle oversized orbit lines fill the lower background after the rail captions were removed. */
.capability-showcase-bottom-curves {
  position: absolute;
  z-index: 0;
  pointer-events: none;
  left: 54%;
  bottom: -720px;
  width: 960px;
  height: 960px;
  transform: translateX(-50%);
  border: 1px solid rgba(255,255,255,.19);
  border-radius: 50%;
  box-shadow:
    0 0 0 28px rgba(255,255,255,.045),
    0 0 0 58px rgba(255,255,255,.032),
    0 0 0 94px rgba(255,255,255,.022),
    0 0 0 136px rgba(255,255,255,.014);
}
.capability-rail.is-css-animated .capability-rail-track {
  animation: capability-rail-loop 58s linear infinite;
}
.capability-rail.is-css-animated:hover .capability-rail-track,
.capability-rail.is-css-animated:focus-within .capability-rail-track,
.capability-rail.is-css-animated.is-touch-paused .capability-rail-track {
  animation-play-state: paused;
}
.capability-rail.is-static {
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(255,255,255,.45) rgba(255,255,255,.1);
  touch-action: pan-x pan-y;
}
.capability-rail.is-static .capability-rail-track {
  animation: none !important;
  transform: none !important;
}
@keyframes capability-rail-loop {
  to { transform: translate3d(-50%,0,0); }
}
@media (max-width: 760px) {
  .capability-showcase {
    width: calc(100% - 16px);
    margin: 8px auto;
    border-radius: 28px;
    padding: 70px 0 24px;
  }
  .capability-showcase-head {
    grid-template-columns: minmax(0,1fr);
    gap: 22px;
    margin-bottom: 30px;
  }
  .capability-showcase h2 {
    font-size: clamp(40px, 10.5vw, 60px);
  }
  .capability-showcase-intro p {
    max-width: 520px;
    margin-bottom: 15px;
    font-size: 13px;
  }
  .capability-card {
    flex-basis: 258px;
    width: 258px;
    height: 320px;
    grid-template-rows: 126px minmax(0,1fr);
    border-radius: 17px;
  }
  .capability-card h3 {
    font-size: 22px;
  }
  .capability-card-art::before {
    width: 130px;
    height: 130px;
    right: -45px;
    bottom: -82px;
  }
  .capability-card-illustration {
    padding: 4px 7px 0;
  }
  .capability-showcase-bottom-curves {
    left: 52%;
    bottom: -78vw;
    width: 94vw;
    height: 94vw;
    box-shadow:
      0 0 0 5vw rgba(255,255,255,.04),
      0 0 0 10vw rgba(255,255,255,.028),
      0 0 0 15vw rgba(255,255,255,.018);
  }
}
@media (prefers-reduced-motion: reduce) {
  .capability-rail.is-css-animated .capability-rail-track {
    animation: none !important;
    transform: none !important;
  }
  .capability-card,
  .capability-card-illustration,
  .capability-showcase-link span {
    transition: none !important;
  }
}

/* Homepage contact CTA: remove the pastel card and center the message inside the navy dome. */
section.section-small[data-home-section="Contact CTA"] {
  position: relative;
  isolation: isolate;
  z-index: 0;
  overflow: hidden;
  padding: clamp(78px, 9vw, 124px) 0 clamp(96px, 10vw, 138px) !important;
  background: var(--paper);
}

section.section-small[data-home-section="Contact CTA"]::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  inset: 0 0 -1px;
  background:
    radial-gradient(ellipse at 50% 42%, rgba(75, 99, 165, .28), transparent 51%),
    linear-gradient(145deg, #111d40 0%, #0d1835 58%, #131b3b 100%);
  clip-path: ellipse(58% 100% at 50% 100%);
}

section.section-small[data-home-section="Contact CTA"] > .container {
  position: relative;
  z-index: 1;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel {
  width: 100%;
  max-width: 1060px;
  min-height: clamp(430px, 40vw, 540px);
  margin: 0 auto;
  padding: clamp(20px, 4vw, 44px) clamp(12px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(20px, 2.6vw, 30px);
  position: relative;
  overflow: visible;
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  text-align: center;
  color: #f8f9ff;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  position: relative;
  z-index: 1;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel .eyebrow {
  justify-content: center;
  color: rgba(248, 249, 255, .76);
}

section.section-small[data-home-section="Contact CTA"] .cta-panel .eyebrow::before {
  background: var(--lime);
}

section.section-small[data-home-section="Contact CTA"] .cta-panel h2 {
  max-width: 900px;
  margin: 22px auto 20px;
  color: #fbfcff;
  font-size: clamp(44px, 6.4vw, 84px);
  line-height: .98;
  letter-spacing: -.075em;
  text-align: center;
  text-wrap: balance;
  position: relative;
  z-index: 1;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel p {
  max-width: 570px;
  margin: 0 auto;
  color: rgba(248, 249, 255, .76);
  font-size: clamp(14px, 1.25vw, 16px);
  line-height: 1.7;
  text-align: center;
  position: relative;
  z-index: 1;
}

/* Concentric orbit lines reinforce the circular composition without recreating a card. */
section.section-small[data-home-section="Contact CTA"] .cta-panel::after {
  content: "";
  position: absolute;
  z-index: 0;
  pointer-events: none;
  width: min(43vw, 560px);
  height: min(43vw, 560px);
  left: 50%;
  right: auto;
  top: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(224, 232, 255, .10);
  border-radius: 50%;
  box-shadow:
    0 0 0 clamp(26px, 3.5vw, 46px) rgba(224, 232, 255, .035),
    0 0 0 clamp(52px, 7vw, 92px) rgba(224, 232, 255, .022);
}

section.section-small[data-home-section="Contact CTA"] .cta-panel .btn {
  align-self: center;
  flex: 0 0 auto;
  margin-top: 2px;
  position: relative;
  z-index: 2;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel .btn.btn-dark {
  background: var(--lime);
  border-color: var(--lime);
  color: #101a37;
  min-height: 54px;
  padding-inline: 25px;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel .btn.btn-dark:hover {
  background: #ddff93;
  border-color: #ddff93;
}

@media (max-width: 760px) {
  section.section-small[data-home-section="Contact CTA"] {
    padding: 58px 0 82px !important;
  }

  section.section-small[data-home-section="Contact CTA"]::before {
    inset: 0 0 -1px;
    background:
      radial-gradient(ellipse at 50% 43%, rgba(75, 99, 165, .25), transparent 54%),
      linear-gradient(145deg, #111d40 0%, #0d1835 58%, #131b3b 100%);
    clip-path: ellipse(88% 100% at 50% 100%);
  }

  section.section-small[data-home-section="Contact CTA"] .cta-panel {
    min-height: 450px;
    padding: 26px 8px;
    gap: 23px;
  }

  section.section-small[data-home-section="Contact CTA"] .cta-panel h2 {
    max-width: 590px;
    margin: 19px auto 17px;
    font-size: clamp(38px, 9.6vw, 60px);
    line-height: 1;
    letter-spacing: -.07em;
  }

  section.section-small[data-home-section="Contact CTA"] .cta-panel p {
    max-width: 430px;
    font-size: 14px;
    line-height: 1.65;
  }

  section.section-small[data-home-section="Contact CTA"] .cta-panel::after {
    width: min(82vw, 390px);
    height: min(82vw, 390px);
    box-shadow:
      0 0 0 23px rgba(224, 232, 255, .03),
      0 0 0 47px rgba(224, 232, 255, .018);
  }
}

@media (max-width: 380px) {
  section.section-small[data-home-section="Contact CTA"] .cta-panel h2 {
    font-size: 36px;
  }
}


/* Homepage contact CTA: remove the decorative arrow and keep the pill balanced. */
section.section-small[data-home-section="Contact CTA"] .cta-panel .btn::after {
  content: none !important;
  display: none !important;
}

section.section-small[data-home-section="Contact CTA"] .cta-panel .btn {
  min-width: 170px;
  justify-content: center;
  gap: 0;
  padding-inline: 28px;
  font-weight: 650;
  box-shadow: 0 8px 22px rgba(4, 11, 30, .16);
}

@media (max-width: 760px) {
  section.section-small[data-home-section="Contact CTA"] .cta-panel .btn {
    min-width: 158px;
    min-height: 52px;
  }
}

/* TARGETED MENU BUTTON FINISH — smooth black circular outline. */
.nav-quick-toggle {
  border: 1px solid #000000;
  border-radius: 50%;
  box-sizing: border-box;
  -webkit-appearance: none;
  appearance: none;
}


/* PAGE-LOAD CAPSULE SHARPNESS FIX.
   GSAP reproduces the original 12px / 0.82s reveal using pixel-aligned translate,
   so the duplicate CSS transform animation must not run at the same time. */
body.anthromini-gsap-nav-ready #app.is-page-entering > .site-header {
  animation: none !important;
}

/* Native scroll remains predictable when users request reduced motion. */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}


/* ANTHROMINI CLEAN-MINIMAL FOOTER — focused layout refinement only. */
.site-footer {
  padding: clamp(44px, 5vw, 60px) 0 20px;
  background: #171918;
  color: #F1F3ED;
}
.site-footer::before {
  opacity: .72;
}
.site-footer .footer-main {
  grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, .8fr));
  gap: clamp(28px, 4.2vw, 64px);
  padding-bottom: clamp(34px, 4vw, 46px);
}
.site-footer .footer-brand {
  max-width: 360px;
  min-width: 0;
}
.site-footer .footer-brand .wordmark {
  width: max-content;
}
.site-footer .footer-brand p {
  max-width: 305px;
  margin: 18px 0 17px;
  color: #A9B0A7;
  font-size: 13px;
  line-height: 1.65;
}
.site-footer .footer-brand-actions {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 11px;
}
.site-footer .footer-contact-link {
  width: max-content;
  color: var(--am-lime, #C9F36A);
  border-bottom-color: rgba(201, 243, 106, .38);
  padding-bottom: 5px;
  transition: color .18s ease, border-color .18s ease;
}
.site-footer .footer-contact-link:hover {
  color: #E0FFA0;
  border-bottom-color: currentColor;
}
.site-footer .footer-email-link {
  position: relative;
  isolation: isolate;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  width: max-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 11px 16px 11px 18px;
  overflow: hidden;
  border: 1px solid rgba(201, 243, 106, .34);
  border-radius: 999px;
  color: #B8BDB5;
  background: rgba(201, 243, 106, .025);
  font-size: 13px;
  line-height: 1.25;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .16s ease .20s, border-color .22s ease;
}
/* A rising, softly curved edge gives the capsule a liquid-lime fill on hover. */
.site-footer .footer-email-link::before {
  content: "";
  position: absolute;
  z-index: -1;
  left: -2%;
  right: -2%;
  bottom: -2px;
  height: 145%;
  border-radius: 48% 52% 0 0 / 13% 16% 0 0;
  background: var(--am-lime, #C9F36A);
  transform: translateY(105%);
  transform-origin: bottom center;
  transition: transform .46s cubic-bezier(.2, .78, .22, 1);
  pointer-events: none;
}
.site-footer .footer-email-text,
.site-footer .footer-email-arrow {
  position: relative;
  z-index: 1;
}
.site-footer .footer-email-text {
  min-width: 0;
}
.site-footer .footer-email-arrow {
  flex: 0 0 auto;
  display: inline-block;
  color: currentColor;
  font-size: 14px;
  line-height: 1;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1);
}
.site-footer .footer-email-link:hover,
.site-footer .footer-email-link:focus-visible {
  color: #171918;
  border-color: var(--am-lime, #C9F36A);
}
.site-footer .footer-email-link:hover::before,
.site-footer .footer-email-link:focus-visible::before {
  transform: translateY(0);
}
.site-footer .footer-email-link:hover .footer-email-arrow,
.site-footer .footer-email-link:focus-visible .footer-email-arrow {
  transform: translate(2px, -2px);
}
.site-footer .footer-email-link:focus-visible {
  outline: 2px solid var(--am-lime, #C9F36A);
  outline-offset: 3px;
}
.site-footer .footer-email-link:active .footer-email-arrow {
  transform: translate(3px, -3px);
}
.site-footer .footer-col h3 {
  margin-bottom: 15px;
  color: #929990;
  letter-spacing: .12em;
}
.site-footer .footer-col a {
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
  color: #DDE1D9;
  font-size: 13px;
  line-height: 1.45;
  transition: color .18s ease;
}
.site-footer .footer-col .footer-service-label {
  display: block;
  width: fit-content;
  max-width: 100%;
  margin: 10px 0;
  color: #DDE1D9;
  font-size: 13px;
  line-height: 1.45;
}
.site-footer .footer-col a:hover {
  color: var(--am-lime, #C9F36A);
}
.site-footer .footer-bottom {
  padding-top: 17px;
  border-top-color: rgba(255,255,255,.13);
  color: #8F968D;
  font-size: 10px;
}
.site-footer .footer-bottom-links {
  gap: 17px;
}
.site-footer .footer-bottom-links a {
  transition: color .18s ease;
}
.site-footer .footer-bottom-links a:hover {
  color: #F1F3ED;
}
@media (max-width: 980px) {
  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1.1fr) repeat(2, minmax(0, .9fr));
    gap: 28px;
  }
}
@media (max-width: 640px) {
  .site-footer {
    padding-top: 42px;
  }
  .site-footer .footer-main {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
    padding-bottom: 32px;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
    max-width: 440px;
  }
  .site-footer .footer-col a,
  .site-footer .footer-col .footer-service-label {
    font-size: 12px;
    margin: 10px 0;
  }
  .site-footer .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }
}
@media (max-width: 380px) {
  .site-footer .footer-main {
    grid-template-columns: minmax(0, 1fr);
    gap: 23px;
  }
  .site-footer .footer-brand {
    grid-column: auto;
  }
}
@media (prefers-reduced-motion: reduce) {
  .site-footer .footer-contact-link,
  .site-footer .footer-email-link,
  .site-footer .footer-email-link::before,
  .site-footer .footer-email-arrow,
  .site-footer .footer-col a,
  .site-footer .footer-bottom-links a {
    transition: none !important;
  }
  .site-footer .footer-email-link::before {
    transform: translateY(0);
    opacity: 0;
  }
  .site-footer .footer-email-link:hover::before,
  .site-footer .footer-email-link:focus-visible::before {
    opacity: 1;
  }
}


/* Footer social links and editable CMS link manager — added without changing the capsule or motion systems. */
.site-footer .footer-socials{position:relative;z-index:1;display:flex;align-items:center;justify-content:flex-start;gap:12px;margin-top:18px;padding:0;}
.site-footer .footer-socials .footer-social-link{display:grid;place-items:center;flex:0 0 48px;width:48px;height:48px;margin:0;border-radius:50%;background:#202221;color:#F3F4F0;transition:background-color .24s ease,color .24s ease,transform .24s ease;}
.site-footer .footer-social-link{display:grid;place-items:center;width:48px;height:48px;border-radius:50%;background:#202221;color:#F3F4F0;transition:background-color .24s ease,color .24s ease,transform .24s ease;}
.site-footer .footer-social-link svg{width:21px;height:21px;display:block;}
.site-footer .footer-social-link:hover{background:var(--am-lime,var(--lime,#c9f36a));color:#171918;transform:translateY(-2px);}
.site-footer .footer-social-link.is-unconfigured{cursor:default;}
.site-footer .footer-social-link.is-unconfigured:hover{background:#202221;color:#F3F4F0;transform:none;}
.site-footer .footer-external-mark{font-size:.8em;opacity:.7;margin-left:4px;}
.site-footer .footer-bottom-links a{display:inline-flex;align-items:center;gap:4px;}
.site-footer .footer-back-top{white-space:nowrap;}
.cms-footer-link-panel{margin-top:14px;}
.cms-footer-link-list{display:grid;gap:12px;padding:16px 20px 20px;}
.cms-footer-link-row{display:grid;grid-template-columns:minmax(130px,.8fr) minmax(200px,1.4fr) auto;align-items:end;gap:12px;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.1);}
.cms-footer-link-row.is-social{grid-template-columns:minmax(120px,.75fr) minmax(120px,.65fr) minmax(200px,1.4fr) auto;}
.cms-footer-link-row .cms-field{min-width:0;margin:0;}
.cms-footer-link-row .cms-field label{display:block;margin-bottom:6px;}
.cms-footer-link-row .cms-field input,.cms-footer-link-row .cms-field select{width:100%;min-width:0;}
.cms-footer-link-row .cms-field select{border:1px solid #ffffff20;border-radius:7px;background:#111512;color:#f0f2ec;padding:10px 11px;font:12px 'DM Sans',sans-serif;}
.cms-btn.danger{color:#f0a4a4;border-color:rgba(240,164,164,.3);}
.cms-btn.danger:hover{background:rgba(190,54,54,.12);}
@media(max-width:760px){.site-footer .footer-socials{justify-content:flex-start;padding:0;margin-top:16px;}.site-footer .footer-socials .footer-social-link{flex-basis:44px;width:44px;height:44px;}.cms-footer-link-row,.cms-footer-link-row.is-social{grid-template-columns:minmax(0,1fr);align-items:stretch;}.cms-footer-link-row .cms-btn{justify-self:start;}}
@media(prefers-reduced-motion:reduce){.site-footer .footer-social-link{transition:none;}.site-footer .footer-social-link:hover{transform:none;}}


/* FOOTER LINK VISIBILITY SAFETY: critical navigation must not depend on scroll reveal. */
.site-footer .footer-main,
.site-footer .footer-bottom {
  opacity: 1;
  transform: none;
  animation: none;
}
.site-footer .footer-col a { display: block; }
.site-footer .footer-bottom { display: flex; }


/* CMS social platform preview: make existing logo rows recognizable while editing. */
.cms-social-icon-control{display:flex;align-items:center;gap:8px;min-width:0;}
.cms-social-icon-preview{width:38px;height:38px;flex:0 0 38px;display:grid;place-items:center;border:1px solid rgba(255,255,255,.14);border-radius:10px;background:#202521;color:#c9f36a;}
.cms-social-icon-preview svg{display:block;width:19px;height:19px;}
.cms-footer-link-row.is-social .cms-social-icon-field{min-width:155px;}
.cms-footer-link-row.is-social .cms-social-icon-field select{flex:1;min-width:0;}
@media(max-width:760px){.cms-social-icon-control{max-width:100%;}.cms-footer-link-row.is-social .cms-social-icon-field{min-width:0;}}


/* FINAL FOOTER POLISH — keep the established structure and interactive controls unchanged. */
.site-footer {
  margin-block-start: 0;
  border-top: 0;
  background-color: #171918;
}
.site-footer .footer-bottom {
  color: #A7AEA5;
  font-size: 11px;
  line-height: 1.5;
}
.site-footer .footer-bottom-links {
  align-items: center;
  gap: 16px;
}
.site-footer .footer-bottom-links a {
  min-height: 26px;
  padding-block: 3px;
  color: #A7AEA5;
  font-size: 11px;
  line-height: 1.45;
}
.site-footer .footer-bottom-links a:hover {
  color: #F1F3ED;
}
@media (max-width: 640px) {
  .site-footer .footer-bottom-links {
    flex-wrap: wrap;
    gap: 6px 15px;
  }
}


/* BLOG / INSIGHTS — built from the same white, carbon and electric-lime system. */
.home-insights-section { background: var(--paper); }
.home-insights-head { align-items: end; }
.home-insights-head h2 { margin-top: 16px; }
.home-insights-head h2 em { color: #78885c; font-family: 'Instrument Serif', Georgia, serif; font-weight: 400; }
.home-insights-intro { max-width: 390px; display: grid; gap: 14px; justify-items: start; }
.home-insights-intro p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.75; }
.home-insights-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.home-insight-card { min-width: 0; min-height: 298px; padding: 23px 22px 20px; display: flex; flex-direction: column; align-items: flex-start; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: transform .28s var(--ease), border-color .28s, box-shadow .28s; }
.home-insight-card:hover { transform: translateY(-4px); border-color: rgba(142,174,53,.65); box-shadow: 0 18px 42px rgba(24,26,27,.055); }
.home-insight-meta { width: 100%; display: flex; justify-content: space-between; gap: 12px; color: #747b70; font: 9px 'DM Mono', monospace; text-transform: uppercase; letter-spacing: .08em; }
.home-insight-meta span:last-child { text-align: right; }
.home-insight-card h3 { margin: 33px 0 12px; font-size: clamp(20px, 2vw, 26px); line-height: 1.08; font-weight: 500; letter-spacing: -.055em; }
.home-insight-card p { margin: 0 0 24px; color: var(--muted); font-size: 12px; line-height: 1.7; }
.home-insight-link { margin-top: auto; display: inline-flex; align-items: center; gap: 12px; font-size: 12px; font-weight: 700; }
.home-insight-link span { color: #78942d; transition: transform .22s var(--ease); }
.home-insight-link:hover span { transform: translate(3px,-3px); }
.blog-page .page-hero { padding-bottom: 62px; }
.blog-page .page-hero h1 em, .about-page .page-hero h1 em { color: #79885d; }
.blog-intro-meta { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 27px; }
.blog-intro-meta span { display: inline-flex; border: 1px solid var(--line); border-radius: 999px; padding: 7px 10px; color: #596057; font: 9px 'DM Mono', monospace; letter-spacing: .06em; }
.blog-grid .blog-card { min-height: 300px; }
.blog-grid .detail-card h3 { line-height: 1.12; }
.blog-grid .detail-card p { line-height: 1.75; }
.about-page { display: block; min-height: 45vh; background: var(--paper); color: var(--ink); }
.about-page > section { display: block; visibility: visible; }
.about-page .detail-card, .blog-page .detail-card { color: var(--ink); }
.insight-article-page .page-hero h1 { max-width: 920px; }
.insight-article-page .page-hero p { max-width: 700px; }
@media (max-width: 900px) {
  .home-insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .home-insights-head { align-items: flex-start; }
}
@media (max-width: 640px) {
  .home-insights-section { padding-top: 65px; padding-bottom: 65px; }
  .home-insights-head { display: grid; gap: 19px; margin-bottom: 28px; }
  .home-insights-grid { grid-template-columns: minmax(0,1fr); gap: 10px; }
  .home-insight-card { min-height: 260px; padding: 21px 19px; }
  .home-insight-card h3 { margin-top: 28px; font-size: 23px; }
  .home-insights-intro { max-width: 100%; }
  .blog-intro-meta { gap: 6px; }
  .blog-intro-meta span { font-size: 8px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-insight-card, .home-insight-link span { transition: none !important; }
  .home-insight-card:hover { transform: none; }
}


.about-page .about-page-hero { padding-bottom: 68px; }
.about-page-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(250px,.55fr); align-items: end; gap: clamp(30px,6vw,88px); }
.about-page-hero-grid > div > p { max-width: 650px; }
.about-hero-note { padding: 20px 0 0; border-top: 1px solid var(--line); }
.about-hero-note > .mono { color: #6b754f; }
.about-hero-note p { margin: 18px 0 17px; color: var(--muted); font-size: 14px; line-height: 1.75; }
.about-page .about-principle-section h2 { font-size: clamp(34px,5vw,62px); line-height: 1.02; letter-spacing: -.07em; font-weight: 500; margin: 14px 0 0; }
.about-page .about-principle-section h2 br + em { color: #79885d; }
.about-service-tags { margin-top: 24px; }
.about-values-grid .about-value-card { min-height: 265px; }
.about-values-grid .about-value-card h3 { margin-top: 42px; }
.about-values-grid .about-value-card p { line-height: 1.75; }
.about-expectations-section h2 { font-size: clamp(34px,5vw,62px); line-height: 1.02; letter-spacing: -.07em; font-weight: 500; margin: 14px 0 0; }
.about-expectations-section h2 em { color: #79885d; }
@media (max-width: 760px) {
  .about-page .about-page-hero { padding-bottom: 48px; }
  .about-page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .about-hero-note { max-width: 540px; }
  .about-page .about-principle-section h2, .about-expectations-section h2 { font-size: clamp(34px,9vw,48px); }
  .about-values-grid .about-value-card { min-height: 225px; }
}


/* HOME INSIGHTS — editorial card rail aligned with the supplied reference.
   Intentionally scoped to this section; other homepage sections are unchanged. */
.home-insights-section {
  padding: 52px 0 76px;
  background: #000;
  color: #f7f7f7;
}
.home-insights-section .container {
  width: min(1146px, calc(100% - 48px));
  margin-inline: auto;
}
.home-insights-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 0 112px;
}
.home-insights-head h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(58px, 5.2vw, 82px);
  line-height: .98;
  letter-spacing: -.075em;
  font-weight: 500;
}
.home-insights-visit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 214px;
  min-height: 88px;
  padding: 20px 28px;
  border: 1px solid rgba(255,255,255,.88);
  border-radius: 999px;
  color: #fff;
  background: transparent;
  font-size: 21px;
  line-height: 1.1;
  letter-spacing: -.04em;
  font-weight: 500;
  text-align: center;
  transition: color .25s ease, background-color .25s ease, border-color .25s ease, transform .25s ease;
}
.home-insights-visit:hover {
  background: #fff;
  color: #000;
  border-color: #fff;
  transform: translateY(-2px);
}
.home-insights-visit:focus-visible, .home-insight-card:focus-visible {
  outline: 2px solid var(--lime);
  outline-offset: 5px;
}
.home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
}
.home-insight-card {
  min-width: 0;
  min-height: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #f7f7f7;
  text-decoration: none;
  box-shadow: none;
  transform: none;
  transition: opacity .25s ease;
}
.home-insight-card:hover {
  border-color: transparent;
  background: transparent;
  box-shadow: none;
  transform: none;
  opacity: .94;
}
.home-insight-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  isolation: isolate;
  border-radius: 20px;
  margin: 0 0 23px;
  background: #b6d0fb;
}
.home-insight-art--builder { background: #b2cdf9; }
.home-insight-art--ai { background: #cfe4fb; }
.home-insight-art--software { background: #98bd4e; }
.home-insight-art-object {
  position: absolute;
  display: block;
  height: auto;
  max-width: none;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter: drop-shadow(0 12px 14px rgba(8,20,38,.12));
}
.home-insight-art-object--primary {
  width: 91%;
  left: -7%;
  top: 4%;
}
.home-insight-art-object--secondary {
  width: 74%;
  right: -12%;
  top: 13%;
  transform: rotate(7deg);
}
.home-insight-art--ai .home-insight-art-object--primary {
  width: 76%;
  left: -14%;
  top: 2%;
}
.home-insight-art--ai .home-insight-art-object--secondary {
  width: 84%;
  right: -23%;
  top: 9%;
  transform: rotate(3deg);
}
.home-insight-art--software .home-insight-art-object--primary {
  width: 91%;
  left: -8%;
  top: 5%;
}
.home-insight-art--software .home-insight-art-object--secondary {
  width: 60%;
  right: -13%;
  top: 1%;
  transform: rotate(8deg);
}
.home-insight-art-badge {
  position: absolute;
  z-index: 2;
  left: 16px;
  top: 20px;
  padding: 7px 11px;
  border: 1px solid rgba(255,255,255,.75);
  border-radius: 9px;
  background: rgba(255,255,255,.32);
  color: #f7fff1;
  font-size: clamp(17px,1.7vw,27px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -.06em;
  text-shadow: 0 1px 4px rgba(30,70,16,.2);
  transform: rotate(-9deg);
  backdrop-filter: blur(8px);
}
.home-insight-art-ai-badge {
  position: absolute;
  z-index: 2;
  left: 18px;
  top: 22px;
  padding: 7px 10px;
  border-radius: 9px;
  background: rgba(255,255,255,.78);
  color: #6b48d8;
  font-size: 16px;
  line-height: 1;
  font-weight: 800;
  box-shadow: 0 5px 18px rgba(48,57,100,.12);
}
.home-insight-category {
  display: block;
  margin: 0 0 10px;
  color: #888;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: -.025em;
}
.home-insight-card h3 {
  margin: 0 0 10px;
  color: #f4f4f4;
  font-size: clamp(20px, 1.55vw, 24px);
  line-height: 1.34;
  font-weight: 500;
  letter-spacing: -.045em;
}
.home-insight-readtime {
  display: block;
  color: #828282;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 500;
}
@media (max-width: 900px) {
  .home-insights-section .container { width: min(720px, calc(100% - 48px)); }
  .home-insights-head { margin-bottom: 70px; }
  .home-insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 18px; }
  .home-insight-card h3 { font-size: clamp(20px, 2.3vw, 24px); }
}
@media (max-width: 640px) {
  .home-insights-section { padding: 42px 0 55px; }
  .home-insights-section .container { width: calc(100% - 40px); }
  .home-insights-head { align-items: center; gap: 14px; margin-bottom: 44px; }
  .home-insights-head h2 { font-size: clamp(44px, 12vw, 62px); }
  .home-insights-visit { width: auto; min-height: 54px; padding: 15px 22px; font-size: 15px; flex: 0 0 auto; }
  .home-insights-grid { grid-template-columns: minmax(0,1fr); gap: 34px; }
  .home-insight-art { margin-bottom: 17px; border-radius: 16px; }
  .home-insight-category { margin-bottom: 7px; font-size: 12px; }
  .home-insight-card h3 { font-size: 22px; line-height: 1.28; }
  .home-insight-readtime { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-insights-visit, .home-insight-card { transition: none !important; }
  .home-insights-visit:hover { transform: none; }
}

/* HOMEPAGE BREATHABLE SECTION RHYTHM
   Scoped to the existing FAQ -> Capabilities -> Insights -> Contact CTA -> Footer flow.
   No content, components, colors, or interaction logic is changed. */
.home-faq-section {
  margin-block: clamp(32px, 3.6vw, 52px);
}
.capability-showcase {
  margin-block: clamp(32px, 3.6vw, 52px);
  padding-bottom: clamp(38px, 4vw, 52px);
}
.home-insights-section {
  padding-top: clamp(66px, 6.6vw, 92px);
  padding-bottom: clamp(78px, 7.6vw, 108px);
}
section.section-small[data-home-section="Contact CTA"] {
  /* Preserve the separation above the CTA, but let its background meet the footer directly. */
  margin-block-start: clamp(28px, 3.6vw, 44px);
  margin-block-end: 0;
}
.site-footer {
  padding-top: clamp(54px, 5.8vw, 70px);
}

@media (max-width: 760px) {
  .home-faq-section {
    margin-block: 24px;
  }
  .capability-showcase {
    margin-block: 24px;
    padding-bottom: 36px;
  }
  section.section-small[data-home-section="Contact CTA"] {
    margin-block-start: 24px;
    margin-block-end: 0;
  }
}

@media (max-width: 640px) {
  .home-insights-section {
    padding-top: 60px;
    padding-bottom: 68px;
  }
  .site-footer {
    padding-top: 46px;
  }
}

/* FAQ -> CAPABILITIES -> INSIGHTS: add deliberate vertical breathing room only. */
.home-faq-section {
  margin-block-start: clamp(36px, 4vw, 56px);
  margin-block-end: clamp(72px, 7.5vw, 104px);
}
.capability-showcase {
  margin-block-start: clamp(56px, 5.4vw, 76px);
  margin-block-end: clamp(60px, 5.8vw, 84px);
  padding-bottom: clamp(46px, 4.8vw, 68px);
}
.home-insights-section {
  padding-top: clamp(82px, 8vw, 116px);
}

@media (max-width: 760px) {
  .home-faq-section {
    margin-block-start: 28px;
    margin-block-end: 52px;
  }
  .capability-showcase {
    margin-block-start: 42px;
    margin-block-end: 48px;
    padding-bottom: 38px;
  }
  .home-insights-section {
    padding-top: 64px;
  }
}

@media (max-width: 640px) {
  .home-faq-section {
    margin-block-end: 44px;
  }
  .capability-showcase {
    margin-block-start: 34px;
    margin-block-end: 38px;
    padding-bottom: 32px;
  }
  .home-insights-section {
    padding-top: 56px;
  }
}

/* INSIGHTS -> CONTACT CTA: add intentional breathing room between the two sections.
   Keep the existing CTA artwork, section content, and CTA-to-footer flush finish intact. */
.home-insights-section {
  margin-block-end: clamp(88px, 9vw, 128px) !important;
}
section.section-small[data-home-section="Contact CTA"] {
  margin-block-start: 0 !important;
}

@media (max-width: 760px) {
  .home-insights-section {
    margin-block-end: 52px !important;
  }
}

@media (max-width: 640px) {
  .home-insights-section {
    margin-block-end: 40px !important;
  }
}


/* INSIGHTS SECTION — rounded container inspired by the capability showcase.
   Keeps the established black palette and article cards; only its shell/heading changes. */
.home-insights-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 32px);
  margin-inline: auto !important;
  margin-block-start: clamp(20px, 2.5vw, 36px) !important;
  margin-block-end: clamp(88px, 9vw, 128px) !important;
  padding: clamp(72px, 8vw, 112px) 0 clamp(78px, 7.6vw, 108px) !important;
  border-radius: clamp(30px, 4vw, 58px);
  background: #000 !important;
  color: #f7f7f7;
}
.home-insights-section::before,
.home-insights-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.home-insights-section::before {
  width: 520px;
  height: 520px;
  right: -280px;
  top: -330px;
  box-shadow: 0 0 0 28px rgba(255,255,255,.025),
              0 0 0 58px rgba(255,255,255,.018),
              0 0 0 90px rgba(255,255,255,.012);
}
.home-insights-section::after {
  width: 460px;
  height: 460px;
  left: -310px;
  bottom: -350px;
  box-shadow: 0 0 0 30px rgba(255,255,255,.025),
              0 0 0 62px rgba(255,255,255,.018);
}
.home-insights-section > .container {
  position: relative;
  z-index: 1;
}
.home-insights-head {
  justify-content: flex-start;
  margin-bottom: clamp(72px, 7.4vw, 108px);
}
@media (max-width: 900px) {
  .home-insights-section {
    width: calc(100% - 24px);
    border-radius: 34px;
  }
}
@media (max-width: 760px) {
  .home-insights-section {
    width: calc(100% - 16px);
    margin-block-start: 20px !important;
    margin-block-end: 52px !important;
    padding: 64px 0 72px !important;
    border-radius: 28px;
  }
  .home-insights-head {
    margin-bottom: 52px;
  }
  .home-insights-section::before {
    width: 88vw;
    height: 88vw;
    right: -48vw;
    top: -56vw;
    box-shadow: 0 0 0 5vw rgba(255,255,255,.024),
                0 0 0 10vw rgba(255,255,255,.016);
  }
  .home-insights-section::after {
    width: 78vw;
    height: 78vw;
    left: -46vw;
    bottom: -55vw;
    box-shadow: 0 0 0 5vw rgba(255,255,255,.022),
                0 0 0 10vw rgba(255,255,255,.014);
  }
}
@media (max-width: 640px) {
  .home-insights-section {
    margin-block-end: 40px !important;
    padding: 56px 0 64px !important;
    border-radius: 25px;
  }
  .home-insights-head {
    margin-bottom: 44px;
  }
}


/* -------------------------------------------------------------------------
   INNER-PAGE DESIGN SYSTEM
   Aligns public inner pages to Anthromini's homepage typography, rounded
   surfaces, lime accents, curved rings, card elevation and capsule buttons.
   Scoped to .inner-page so the homepage and CMS remain unchanged.
   ------------------------------------------------------------------------- */
.inner-page {
  color: var(--ink);
  background: var(--paper);
  min-width: 0;
}
.inner-page > .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 40px);
  max-width: 1600px;
  margin: 18px auto 0;
  padding: clamp(68px, 8.2vw, 118px) 0 clamp(66px, 7.4vw, 104px);
  border: 0;
  border-radius: clamp(28px, 3.8vw, 54px);
  color: #f7f8f4;
  background:
    radial-gradient(ellipse at 88% 8%, rgba(201,243,106,.08), transparent 31%),
    linear-gradient(145deg, #202321 0%, #171918 66%, #121413 100%);
}
.inner-page > .page-hero::before,
.inner-page > .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.095);
  border-radius: 50%;
}
.inner-page > .page-hero::before {
  width: clamp(390px, 54vw, 740px);
  aspect-ratio: 1;
  right: clamp(-320px, -14vw, -150px);
  top: clamp(-390px, -21vw, -170px);
  box-shadow: 0 0 0 24px rgba(255,255,255,.018), 0 0 0 54px rgba(255,255,255,.014), 0 0 0 92px rgba(255,255,255,.01);
}
.inner-page > .page-hero::after {
  width: clamp(210px, 28vw, 390px);
  aspect-ratio: 1;
  right: 13%;
  bottom: -82%;
  border-color: rgba(201,243,106,.13);
  box-shadow: 0 0 0 25px rgba(201,243,106,.025), 0 0 0 58px rgba(201,243,106,.018);
}
.inner-page > .page-hero > .container {
  position: relative;
  z-index: 1;
}
.inner-page > .page-hero .eyebrow,
.inner-page > .page-hero .mono {
  color: #b9c0b5;
}
.inner-page > .page-hero .eyebrow::before {
  background: var(--lime);
}
.inner-page > .page-hero h1 {
  max-width: 1040px;
  margin: clamp(22px, 2.6vw, 34px) 0 22px;
  color: #f7f8f4;
  font-size: clamp(48px, 7.4vw, 100px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.083em;
  text-wrap: balance;
}
.inner-page > .page-hero h1 em,
.inner-page > .page-hero h1 .accent-serif {
  color: var(--lime);
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
}
.inner-page > .page-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(245,247,241,.74);
  font-size: clamp(15px, 1.45vw, 18px);
  line-height: 1.75;
}
.inner-page > .page-hero p + p { margin-top: 12px; }
.inner-page > .section,
.inner-page > .section-small {
  padding-block: clamp(68px, 8.2vw, 112px);
}
.inner-page .section-head {
  gap: clamp(22px, 4vw, 52px);
  margin-bottom: clamp(30px, 4vw, 48px);
}
.inner-page .section-head h2,
.inner-page .section-title {
  font-size: clamp(34px, 5.2vw, 66px);
  line-height: .98;
  letter-spacing: -.072em;
  font-weight: 500;
}
.inner-page .section-head h2 em,
.inner-page .about-split h2 em,
.inner-page .capability-band h2 em {
  font-family: 'Instrument Serif', Georgia, serif;
  font-style: italic;
  font-weight: 400;
}
.inner-page .section-head p {
  max-width: 400px;
  font-size: 14px;
  line-height: 1.75;
}
.inner-page .detail-card,
.inner-page .process-card,
.inner-page .portfolio-focus-card {
  border: 1px solid rgba(24,26,27,.105);
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(24,26,27,.035);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.inner-page .detail-card { padding: clamp(22px, 2.6vw, 30px); }
.inner-page .detail-card:hover,
.inner-page .process-card:hover,
.inner-page .portfolio-focus-card:hover {
  transform: translateY(-4px);
  border-color: rgba(142,174,53,.58);
  box-shadow: 0 20px 46px rgba(24,26,27,.075);
}
.inner-page .detail-card h3 {
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 500;
}
.inner-page .detail-card p,
.inner-page .process-card p {
  font-size: 13px;
  line-height: 1.75;
}
.inner-page .detail-top {
  gap: 14px;
  color: #747b70;
  font-size: 9px;
  letter-spacing: .08em;
}
.inner-page .btn {
  min-height: 52px;
  border-radius: 999px;
  font-family: 'DM Sans', Arial, sans-serif;
}
.inner-page .text-link { font-weight: 700; }
.inner-page .capability-band {
  border-radius: clamp(24px, 3vw, 34px);
  box-shadow: 0 20px 56px rgba(24,26,27,.045);
}
.inner-page .cta-panel {
  border-radius: clamp(26px, 3.2vw, 38px);
  padding: clamp(30px, 6vw, 80px);
}
.inner-page .cta-panel h2 {
  font-size: clamp(40px, 6.5vw, 78px);
  line-height: .94;
}
.inner-page .page-hero .muted { color: rgba(245,247,241,.72); }

/* About: turn the hero note into the same rounded glass/card language used at home. */
.inner-page.about-page .about-page-hero-grid { align-items: center; }
.inner-page.about-page .about-hero-note {
  padding: 22px 24px 24px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 22px;
  border-top-color: rgba(255,255,255,.13);
  background: rgba(255,255,255,.045);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.inner-page.about-page .about-hero-note > .mono { color: var(--lime); }
.inner-page.about-page .about-hero-note p { color: rgba(245,247,241,.74); }
.inner-page.about-page .about-hero-note .text-link { color: #f7f8f4; border-color: rgba(255,255,255,.2); }
.inner-page.about-page .about-page-hero-grid > div > p { max-width: 690px; }
.inner-page.about-page .about-values-grid .about-value-card { min-height: 250px; }
.inner-page.about-page .about-principle-section .about-split,
.inner-page.about-page .about-expectations-section .about-split { align-items: start; }

/* Services and process pages share the homepage's clear cards and generous rhythm. */
.inner-page.page-services .service-detail-grid,
.inner-page.page-service .service-detail-grid,
.inner-page.page-process .service-detail-grid,
.inner-page.page-about .service-detail-grid { gap: 16px; }
.inner-page.page-services .capability-tags span,
.inner-page.page-service .capability-tags span { border-radius: 999px; }
.inner-page.page-process .process-grid { gap: 16px; }
.inner-page.page-process .process-card { padding: clamp(22px, 2.8vw, 32px); border-radius: 22px; }
.inner-page.page-process .process-icon { border-radius: 14px; background: #edf0e8; color: var(--ink); }

/* Work listing remains a dark visual gallery, now with the same curved outer shell. */
.inner-page.page-work > .portfolio-gallery-section {
  width: calc(100% - 36px);
  margin: 18px auto 0;
  padding-block: clamp(66px, 8vw, 112px);
  border-radius: clamp(28px, 3.8vw, 54px);
  overflow: hidden;
}
.inner-page.page-work .portfolio-gallery-section .container { width: min(1320px, calc(100% - 64px)); }
.inner-page.page-project .portfolio-case-study {
  width: min(1320px, calc(100% - 64px));
  max-width: 1320px;
  margin: 0 auto;
  padding-top: clamp(42px, 6vw, 84px);
}
.inner-page.page-project .project-detail-art { border-radius: 28px; }
.inner-page.page-project .portfolio-focus-card { background: #f1f2ef; }
.inner-page.page-project .portfolio-case-bottom .btn { white-space: normal; }

/* Contact: forms should feel like intentional surfaces, not loose fields on a page. */
.inner-page.page-contact .contact-layout { align-items: start; }
.inner-page.page-contact .contact-aside h2 { font-size: clamp(34px, 4.8vw, 58px); line-height: .98; letter-spacing: -.07em; }
.inner-page.page-contact .contact-form { border-radius: 26px; background: #f7f8f5; border-color: rgba(24,26,27,.09); }
.inner-page.page-contact .field label { color: #535a51; }
.inner-page.page-contact .field input,
.inner-page.page-contact .field select,
.inner-page.page-contact .field textarea { min-height: 52px; border-radius: 14px; background: #fff; }
.inner-page.page-contact .field textarea { min-height: 150px; }

/* FAQ page uses the same accordion mechanics as the homepage inside a calmer shell. */
.inner-page.page-faq > .faq-page-section {
  width: min(1320px, calc(100% - 40px));
  margin: clamp(26px, 4vw, 54px) auto 0;
  padding: clamp(52px, 7vw, 96px) 0 clamp(58px, 7.5vw, 104px);
  border-radius: clamp(28px, 3.8vw, 54px);
  background: #f1f2ef;
}
.inner-page.page-faq .home-faq-heading h1 {
  font-size: clamp(54px, 8vw, 100px);
  line-height: .9;
  letter-spacing: -.09em;
}
.inner-page.page-faq .home-faq-list { margin-top: clamp(28px, 4vw, 52px); }
.inner-page.page-faq .home-faq-item { border-color: rgba(24,26,27,.14); }

/* Blog listing — reuse the homepage's dimensional artwork, colour and type scale. */
.inner-page.blog-page .blog-hero .blog-hero-layout {
  display: grid;
  grid-template-columns: minmax(0,1.4fr) minmax(220px,.55fr);
  gap: clamp(30px, 6vw, 92px);
  align-items: end;
}
.inner-page.blog-page .blog-hero-copy h1 { max-width: 850px; }
.inner-page.blog-page .blog-hero-aside {
  align-self: stretch;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 24px 0 4px 26px;
  border-left: 1px solid rgba(255,255,255,.14);
}
.inner-page.blog-page .blog-hero-aside > .mono { color: #aab2a5; }
.inner-page.blog-page .blog-hero-aside strong {
  display: block;
  margin: 18px 0 2px;
  color: var(--lime);
  font-size: clamp(62px, 8vw, 104px);
  font-weight: 500;
  line-height: .9;
  letter-spacing: -.09em;
}
.inner-page.blog-page .blog-hero-aside p {
  max-width: 230px;
  font-size: 14px;
  line-height: 1.6;
}
.inner-page.blog-page .blog-hero-topics { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.inner-page.blog-page .blog-hero-topics span {
  padding: 7px 10px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  color: rgba(245,247,241,.78);
  font-size: 10px;
}
.inner-page.blog-page .blog-intro-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: clamp(34px, 5vw, 62px);
}
.inner-page.blog-page .blog-intro-meta span {
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #d3d8cf;
  font: 10px 'DM Mono', monospace;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.inner-page.blog-page .blog-listing-section { padding-top: clamp(70px, 8vw, 112px); }
.inner-page.blog-page .blog-editorial-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.inner-page.blog-page .blog-feature-card {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  padding: 14px 14px 22px;
  border: 1px solid rgba(24,26,27,.1);
  border-radius: 25px;
  color: var(--ink);
  background: #fff;
  box-shadow: 0 14px 38px rgba(24,26,27,.035);
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.inner-page.blog-page .blog-feature-card:hover {
  transform: translateY(-5px);
  border-color: rgba(142,174,53,.6);
  box-shadow: 0 24px 54px rgba(24,26,27,.085);
}
.inner-page.blog-page .blog-feature-card .home-insight-art {
  flex: 0 0 auto;
  aspect-ratio: 1 / .88;
  margin: 0 0 20px;
  border-radius: 19px;
}
.inner-page.blog-page .blog-feature-card .home-insight-art-object { transition: transform .5s var(--ease); }
.inner-page.blog-page .blog-feature-card:hover .home-insight-art-object--primary { transform: translate(2%, -1%) scale(1.035); }
.inner-page.blog-page .blog-feature-card:hover .home-insight-art-object--secondary { transform: translate(-2%, -2%) rotate(4deg) scale(1.035); }
.inner-page.blog-page .blog-feature-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin: 0 3px 14px;
  color: #687064;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.inner-page.blog-page .blog-feature-meta span:last-child { flex-shrink: 0; text-align: right; }
.inner-page.blog-page .blog-feature-card h2 {
  margin: 0 3px 12px;
  font-size: clamp(21px, 2.25vw, 28px);
  line-height: 1.08;
  letter-spacing: -.06em;
  font-weight: 500;
  text-wrap: pretty;
}
.inner-page.blog-page .blog-feature-card p {
  margin: 0 3px 24px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.72;
}
.inner-page.blog-page .blog-feature-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: auto 3px 0;
  padding-top: 14px;
  border-top: 1px solid rgba(24,26,27,.1);
  color: var(--ink);
  font-size: 12px;
  font-weight: 700;
}
.inner-page.blog-page .blog-feature-link span { color: #718a3b; transition: transform .25s var(--ease); }
.inner-page.blog-page .blog-feature-card:hover .blog-feature-link span { transform: translate(3px,-3px); }
.inner-page.blog-page .blog-bottom-cta { padding-top: clamp(48px, 6vw, 78px); }

/* Article reading layout: readable measure, clear chapter rhythm and familiar CTA. */
.inner-page.insight-article-page .article-hero h1 { max-width: 1000px; }
.inner-page.insight-article-page .article-back-link {
  display: inline-flex;
  align-items: center;
  margin-bottom: clamp(28px, 4vw, 48px);
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 999px;
  color: #f7f8f4;
  font-size: 12px;
  transition: background .2s, color .2s;
}
.inner-page.insight-article-page .article-back-link:hover { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.inner-page.insight-article-page .article-deck { max-width: 760px; }
.inner-page.insight-article-page .article-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 28px;
}
.inner-page.insight-article-page .article-meta span {
  padding: 8px 11px;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  color: #d0d5cc;
  font: 9px 'DM Mono', monospace;
  letter-spacing: .07em;
}
.inner-page.insight-article-page .article-main-section { padding-top: clamp(62px, 8vw, 108px); }
.inner-page.insight-article-page .article-body { max-width: 900px; }
.inner-page.insight-article-page .article-lead {
  margin: 0 auto clamp(48px, 6vw, 76px);
  max-width: 810px;
  color: #424841;
  font-size: clamp(18px, 2vw, 23px);
  line-height: 1.75;
  letter-spacing: -.02em;
}
.inner-page.insight-article-page .article-chapter {
  max-width: 780px;
  margin: 0 auto clamp(42px, 5.5vw, 70px);
  padding-bottom: clamp(32px, 4vw, 48px);
  border-bottom: 1px solid rgba(24,26,27,.11);
}
.inner-page.insight-article-page .article-chapter-kicker { color: #6b754f; }
.inner-page.insight-article-page .article-chapter h2 {
  margin: 16px 0 18px;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 500;
  line-height: 1.02;
  letter-spacing: -.065em;
}
.inner-page.insight-article-page .article-chapter p,
.inner-page.insight-article-page .article-chapter li {
  color: #555c54;
  font-size: 15px;
  line-height: 1.85;
}
.inner-page.insight-article-page .article-chapter ul { padding-left: 22px; margin: 18px 0 0; }
.inner-page.insight-article-page .article-chapter li { padding-left: 4px; margin: 7px 0; }
.inner-page.insight-article-page .article-takeaway { margin-top: clamp(52px, 7vw, 86px); }
.inner-page.insight-article-page .article-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 36px;
  padding-top: 22px;
  border-top: 1px solid rgba(24,26,27,.1);
}

.inner-page.page-legal .about-split h2 { font-size: clamp(32px, 4.6vw, 54px); line-height: 1; letter-spacing: -.065em; }
.inner-page.page-legal .about-split h3 { margin: 0 0 10px; font-size: 21px; font-weight: 500; letter-spacing: -.04em; }
.inner-page.page-legal .about-split p { color: #555c54; line-height: 1.8; }
.inner-page.page-legal .about-split h3:not(:first-child) { margin-top: 32px; }
.inner-page.page-not-found { padding-bottom: 60px; }
.inner-page.page-not-found .not-found { min-height: 60vh; }

@media (max-width: 900px) {
  .inner-page.blog-page .blog-hero-layout { grid-template-columns: minmax(0,1fr) minmax(180px,.42fr); gap: 28px; }
  .inner-page.blog-page .blog-editorial-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .inner-page .about-page-hero-grid { grid-template-columns: minmax(0,1fr) minmax(220px,.7fr); }
  .inner-page.page-contact .contact-layout { gap: 28px; }
}
@media (max-width: 680px) {
  .inner-page > .page-hero { width: calc(100% - 20px); margin-top: 10px; padding: 58px 0 62px; border-radius: 27px; }
  .inner-page > .page-hero h1 { font-size: clamp(43px, 12vw, 66px); margin: 23px 0 18px; }
  .inner-page > .page-hero p { font-size: 15px; line-height: 1.68; }
  .inner-page > .section,
  .inner-page > .section-small { padding-block: 58px; }
  .inner-page .section-head { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 28px; }
  .inner-page .section-head p { max-width: 100%; }
  .inner-page .detail-card { padding: 22px; }
  .inner-page .cta-panel { align-items: flex-start; flex-direction: column; gap: 22px; }
  .inner-page .cta-panel .btn { align-self: flex-start; }
  .inner-page.page-work > .portfolio-gallery-section { width: calc(100% - 20px); margin-top: 10px; padding-block: 54px; border-radius: 27px; }
  .inner-page.page-work .portfolio-gallery-section .container { width: calc(100% - 36px); }
  .inner-page.page-project .portfolio-case-study { width: calc(100% - 36px); padding-top: 34px; }
  .inner-page.page-project .project-detail-art { border-radius: 20px; }
  .inner-page.page-project .portfolio-case-bottom { align-items: flex-start; flex-direction: column; }
  .inner-page.page-contact .contact-layout { display: grid; grid-template-columns: minmax(0,1fr); gap: 28px; padding-top: 38px; padding-bottom: 64px; }
  .inner-page.page-contact .contact-form { padding: 18px; }
  .inner-page.page-contact .contact-form { grid-template-columns: minmax(0,1fr); }
  .inner-page.page-contact .field.full,
  .inner-page.page-contact .form-submit { grid-column: auto; }
  .inner-page.page-contact .form-submit { align-items: flex-start; flex-direction: column; }
  .inner-page.page-faq > .faq-page-section { width: calc(100% - 20px); margin-top: 10px; padding: 48px 0 56px; border-radius: 27px; }
  .inner-page.blog-page .blog-hero-layout { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .inner-page.blog-page .blog-hero-aside { padding: 20px 0 0; border-left: 0; border-top: 1px solid rgba(255,255,255,.14); }
  .inner-page.blog-page .blog-hero-aside strong { font-size: 68px; margin-top: 13px; }
  .inner-page.blog-page .blog-intro-meta { margin-top: 28px; }
  .inner-page.blog-page .blog-intro-meta span { font-size: 8px; padding: 7px 9px; }
  .inner-page.blog-page .blog-editorial-grid { grid-template-columns: minmax(0,1fr); gap: 15px; }
  .inner-page.blog-page .blog-feature-card { padding: 12px 12px 20px; border-radius: 22px; }
  .inner-page.blog-page .blog-feature-card .home-insight-art { aspect-ratio: 1 / .82; border-radius: 17px; }
  .inner-page.blog-page .blog-feature-card h2 { font-size: 26px; }
  .inner-page.insight-article-page .article-back-link { margin-bottom: 30px; }
  .inner-page.insight-article-page .article-main-section { padding-top: 48px; }
  .inner-page.insight-article-page .article-lead { font-size: 18px; margin-bottom: 44px; }
  .inner-page.insight-article-page .article-actions { align-items: flex-start; flex-direction: column; }
  .inner-page.about-page .about-page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 26px; }
  .inner-page.about-page .about-hero-note { padding: 20px; }
  .inner-page.about-page .about-principle-section .about-split,
  .inner-page.about-page .about-expectations-section .about-split,
  .inner-page.page-process .about-split { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .inner-page.page-legal .about-split { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .inner-page.page-legal .about-split h3:not(:first-child) { margin-top: 26px; }
}
@media (prefers-reduced-motion: reduce) {
  .inner-page .detail-card,
  .inner-page .process-card,
  .inner-page .portfolio-focus-card,
  .inner-page.blog-page .blog-feature-card,
  .inner-page.blog-page .blog-feature-card .home-insight-art-object { transition: none !important; }
  .inner-page .detail-card:hover,
  .inner-page .process-card:hover,
  .inner-page .portfolio-focus-card:hover,
  .inner-page.blog-page .blog-feature-card:hover { transform: none; }
}


/* ABOUT PAGE — match Anthromini's purple/navy + white visual identity.
   This block is scoped to .about-page; homepage, Services and other routes stay unchanged. */
.about-page {
  --about-purple: #7652e9;
  --about-purple-strong: #5936ce;
  --about-purple-deep: #17132f;
  --about-navy: #10172c;
  --about-lavender: #d8ceff;
  color: var(--ink);
  background: var(--paper);
  min-width: 0;
}
.about-page > .page-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: calc(100% - 40px);
  max-width: 1600px;
  margin: 18px auto 0;
  padding: clamp(68px, 8.2vw, 118px) 0 clamp(66px, 7.4vw, 104px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(28px, 3.8vw, 54px);
  color: #fff;
  background-color: var(--about-navy);
  background-image:
    radial-gradient(ellipse at 84% 8%, rgba(151,127,255,.22), transparent 34%),
    radial-gradient(ellipse at 12% 100%, rgba(118,82,233,.24), transparent 42%),
    linear-gradient(140deg, #10172c 0%, #1a173b 47%, #492b9a 100%);
  box-shadow: 0 22px 58px rgba(41,27,91,.12);
}
.about-page > .page-hero::before,
.about-page > .page-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}
.about-page > .page-hero::before {
  width: clamp(390px,54vw,740px);
  aspect-ratio: 1;
  right: clamp(-320px,-14vw,-150px);
  top: clamp(-390px,-21vw,-170px);
  box-shadow: 0 0 0 24px rgba(255,255,255,.025),
              0 0 0 54px rgba(216,206,255,.025),
              0 0 0 92px rgba(255,255,255,.018);
}
.about-page > .page-hero::after {
  width: clamp(210px,28vw,390px);
  aspect-ratio: 1;
  right: 13%;
  bottom: -82%;
  border-color: rgba(216,206,255,.24);
  box-shadow: 0 0 0 25px rgba(216,206,255,.055),
              0 0 0 58px rgba(255,255,255,.028);
}
.about-page > .page-hero > .container { position: relative; z-index: 1; }
.about-page .about-page-hero-grid {
  display: grid;
  grid-template-columns: minmax(0,1.3fr) minmax(260px,.7fr);
  gap: clamp(32px,5vw,76px);
  align-items: center;
}
.about-page > .page-hero .eyebrow,
.about-page > .page-hero .mono {
  color: rgba(255,255,255,.76);
}
.about-page > .page-hero .eyebrow::before { background: var(--about-lavender); }
.about-page > .page-hero .eyebrow {
  display: inline-flex;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.16);
  border-radius: 999px;
  background: rgba(255,255,255,.055);
}
.about-page > .page-hero h1 {
  max-width: 1040px;
  margin: clamp(22px,2.6vw,34px) 0 22px;
  color: #fff;
  font-size: clamp(48px,7.4vw,100px);
  font-weight: 500;
  line-height: .94;
  letter-spacing: -.083em;
  text-wrap: balance;
}
.about-page > .page-hero h1 em {
  color: var(--about-lavender);
  font-family: 'Instrument Serif',Georgia,serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -.055em;
}
.about-page > .page-hero p {
  max-width: 660px;
  margin: 0;
  color: rgba(255,255,255,.79);
  font-size: clamp(15px,1.45vw,18px);
  line-height: 1.75;
}
.about-page .about-hero-note {
  padding: clamp(22px,2.5vw,30px);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 24px;
  background: rgba(255,255,255,.055);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.045);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.about-page .about-hero-note > .mono { color: var(--about-lavender); }
.about-page .about-hero-note p {
  margin: 17px 0 20px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  line-height: 1.75;
}
.about-page .about-hero-note .text-link {
  color: #fff;
  border-bottom-color: rgba(255,255,255,.22);
}
.about-page .about-hero-note .text-link:hover { border-bottom-color: var(--about-lavender); }
.about-page > .section,
.about-page > .section-small { padding-block: clamp(72px,8vw,112px); }
.about-page .about-split { align-items: start; gap: clamp(32px,5vw,68px); }
.about-page .about-split h2,
.about-page .section-head h2 {
  color: var(--ink);
  font-size: clamp(35px,5.1vw,66px);
  line-height: .99;
  letter-spacing: -.07em;
  font-weight: 500;
}
.about-page .about-split h2 em,
.about-page .section-head h2 em {
  color: var(--about-purple-strong);
  font-family: 'Instrument Serif',Georgia,serif;
  font-style: italic;
  font-weight: 400;
}
.about-page .about-split p,
.about-page .section-head p {
  color: #60616b;
  font-size: 15px;
  line-height: 1.82;
}
.about-page .about-principle-section .eyebrow::before,
.about-page .about-values-section .eyebrow::before,
.about-page .about-expectations-section .eyebrow::before,
.about-page .about-cta-section .eyebrow::before { background: var(--about-purple); }
.about-page .about-service-tags { margin-top: 26px; gap: 9px; }
.about-page .about-service-tags span {
  padding: 0;
  border: 1px solid rgba(105,72,232,.20);
  border-radius: 999px;
  background: #fff;
  transition: background .22s,border-color .22s,transform .22s;
}
.about-page .about-service-tags span a {
  display: block;
  padding: 10px 13px;
  color: #33235f;
  font-size: 12px;
}
.about-page .about-service-tags span:hover {
  background: #f0ebff;
  border-color: rgba(105,72,232,.45);
  transform: translateY(-2px);
}
.about-page .about-values-section .section-head { margin-bottom: clamp(28px,4vw,44px); }
.about-page .about-values-grid { gap: clamp(14px,1.5vw,20px); }
.about-page .detail-card,
.about-page .process-card {
  color: var(--ink);
  border: 1px solid rgba(31,26,55,.12);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 38px rgba(24,26,27,.035);
  transition: transform .3s var(--ease),border-color .3s,box-shadow .3s;
}
.about-page .detail-card { padding: clamp(22px,2.6vw,30px); min-height: 260px; }
.about-page .detail-card:hover,
.about-page .process-card:hover {
  transform: translateY(-4px);
  border-color: rgba(105,72,232,.56);
  box-shadow: 0 20px 46px rgba(50,35,107,.09);
}
.about-page .detail-card .detail-top { color: #7e7893; }
.about-page .detail-card h3 {
  color: var(--ink);
  font-size: clamp(21px,2.2vw,28px);
  line-height: 1.08;
  letter-spacing: -.055em;
  font-weight: 500;
}
.about-page .detail-card p { color: #60616b; font-size: 13px; line-height: 1.78; }
.about-page .about-expectations-section > .container {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: min(var(--max),calc(100% - 64px));
  padding: clamp(30px,5vw,64px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(28px,3.8vw,42px);
  color: #fff;
  background:
    radial-gradient(ellipse at 92% 5%, rgba(151,127,255,.18), transparent 33%),
    linear-gradient(140deg, #10172c 0%, #1a173b 48%, #43268b 100%);
}
.about-page .about-expectations-section > .container::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(280px,38vw,500px);
  aspect-ratio: 1;
  right: -13%;
  bottom: -95%;
  border: 1px solid rgba(216,206,255,.22);
  border-radius: 50%;
  box-shadow: 0 0 0 26px rgba(216,206,255,.05),0 0 0 60px rgba(255,255,255,.025),0 0 0 98px rgba(216,206,255,.02);
  pointer-events: none;
}
.about-page .about-expectations-section .about-split > div { position: relative; z-index: 1; }
.about-page .about-expectations-section .eyebrow,
.about-page .about-expectations-section .eyebrow::before { color: rgba(255,255,255,.78); }
.about-page .about-expectations-section .eyebrow::before { background: var(--about-lavender); }
.about-page .about-expectations-section .about-split h2 { color: #fff; }
.about-page .about-expectations-section .about-split h2 em { color: var(--about-lavender); }
.about-page .about-expectations-section .about-split p { color: rgba(255,255,255,.78); }
.about-page .about-expectations-section .text-link { color: #fff; border-bottom-color: rgba(255,255,255,.24); }
.about-page .about-expectations-section .text-link:hover { border-bottom-color: var(--about-lavender); }
.about-page .cta-panel {
  color: #fff;
  background:
    radial-gradient(ellipse at 87% 2%, rgba(151,127,255,.18), transparent 35%),
    linear-gradient(137deg, #10172c 0%, #191638 57%, #34206f 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(28px,3.6vw,42px);
  padding: clamp(30px,6vw,80px);
  box-shadow: 0 20px 48px rgba(23,19,47,.10);
}
.about-page .cta-panel::after {
  border-color: rgba(216,206,255,.20);
  box-shadow: 0 0 0 36px rgba(216,206,255,.045),0 0 0 72px rgba(255,255,255,.025);
}
.about-page .cta-panel .eyebrow { color: rgba(255,255,255,.78); }
.about-page .cta-panel .eyebrow::before { background: var(--about-lavender); }
.about-page .cta-panel h2 { color: #fff; font-size: clamp(40px,6.5vw,78px); line-height: .94; }
.about-page .cta-panel p { color: rgba(255,255,255,.78); }
.about-page .cta-panel .btn.btn-dark,
.about-page .cta-panel .btn.btn-primary {
  color: #291c51;
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}
.about-page .cta-panel .btn.btn-dark:hover,
.about-page .cta-panel .btn.btn-primary:hover {
  color: #291c51;
  background: var(--about-lavender);
  border-color: var(--about-lavender);
}
.about-page a:focus-visible,
.about-page button:focus-visible { outline-color: #987fff; }
@media (max-width: 900px) {
  .about-page .about-page-hero-grid { grid-template-columns: minmax(0,1fr) minmax(220px,.7fr); gap: 28px; }
  .about-page .about-expectations-section > .container { width: min(var(--max),calc(100% - 40px)); }
}
@media (max-width: 680px) {
  .about-page > .page-hero {
    width: calc(100% - 20px);
    margin-top: 10px;
    padding: 58px 0 62px;
    border-radius: 27px;
    background-image: radial-gradient(ellipse at 86% 8%, rgba(151,127,255,.15), transparent 32%),linear-gradient(150deg,#10172c 0%,#1a173b 54%,#43268b 100%);
  }
  .about-page > .page-hero h1 { font-size: clamp(43px,12vw,66px); margin: 23px 0 18px; }
  .about-page > .page-hero p { font-size: 15px; line-height: 1.68; }
  .about-page > .section, .about-page > .section-small { padding-block: 58px; }
  .about-page .about-page-hero-grid { grid-template-columns: minmax(0,1fr); gap: 24px; }
  .about-page .about-hero-note { padding: 20px; }
  .about-page .about-expectations-section > .container { width: calc(100% - 20px); padding: 26px 22px; border-radius: 27px; }
  .about-page .detail-card { min-height: 0; }
  .about-page .about-values-grid { grid-template-columns: minmax(0,1fr); }
}

/* SERVICES PAGE — dark-purple gradient + white palette, scoped to this page only.
   Uses the homepage's existing rounded panels, typography and circular line motif.
   No lime, pastel multi-colour gradients or unrelated route overrides here. */
.inner-page.page-services {
  --services-purple: #6948e8;
  --services-purple-strong: #5634d2;
  --services-purple-dark: #17132f;
  --services-navy: #10182d;
  --services-lavender: #d8ceff;
  --services-line: rgba(105,72,232,.22);
}

/* Main Services hero: dark, legible, rounded and softly curved. */
.inner-page.page-services > .page-hero {
  color: #fff;
  background-color: var(--services-purple-dark);
  background-image:
    radial-gradient(ellipse at 88% 8%, rgba(154,130,255,.18), transparent 31%),
    radial-gradient(ellipse at 12% 100%, rgba(105,72,232,.20), transparent 38%),
    linear-gradient(142deg, #111629 0%, #1a1738 48%, #35216f 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 58px rgba(37,22,89,.12);
}
.inner-page.page-services > .page-hero::before {
  border-color: rgba(255,255,255,.11);
  box-shadow: 0 0 0 24px rgba(255,255,255,.025),
              0 0 0 54px rgba(255,255,255,.018),
              0 0 0 92px rgba(177,155,255,.025);
}
.inner-page.page-services > .page-hero::after {
  border-color: rgba(177,155,255,.28);
  box-shadow: 0 0 0 25px rgba(177,155,255,.055),
              0 0 0 58px rgba(255,255,255,.025);
}
.inner-page.page-services > .page-hero .eyebrow,
.inner-page.page-services > .page-hero .mono {
  color: rgba(255,255,255,.76);
}
.inner-page.page-services > .page-hero .eyebrow {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.16);
}
.inner-page.page-services > .page-hero .eyebrow::before {
  background: var(--services-lavender);
}
.inner-page.page-services > .page-hero h1 {
  color: #fff;
}
.inner-page.page-services > .page-hero h1 em {
  color: var(--services-lavender);
  background: none;
  background-image: none;
  background-clip: border-box;
  -webkit-background-clip: border-box;
  -webkit-text-fill-color: var(--services-lavender);
}
.inner-page.page-services > .page-hero p {
  color: rgba(255,255,255,.78);
}

/* Keep section labels and accent words within the same purple/white system. */
.inner-page.page-services .eyebrow::before {
  background: var(--services-purple);
}
.inner-page.page-services .section-head h2 em {
  color: var(--services-purple);
}

/* Core service cards: white surfaces, carbon typography, purple interaction cue. */
.inner-page.page-services .detail-card {
  color: #181a1b;
  background: #fff;
  border: 1px solid rgba(36,29,61,.12);
  border-radius: 22px;
  box-shadow: 0 12px 38px rgba(23,19,47,.045);
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  transition: transform .3s var(--ease), border-color .3s, box-shadow .3s;
}
.inner-page.page-services .detail-card:hover,
.inner-page.page-services .detail-card:focus-within {
  color: #181a1b;
  background: #fff;
  border-color: rgba(105,72,232,.58);
  box-shadow: 0 22px 50px rgba(57,37,123,.11);
}
.inner-page.page-services .detail-card h3 {
  color: #181a1b;
}
.inner-page.page-services .detail-card p {
  color: #666b70;
}
.inner-page.page-services .detail-card .detail-top {
  color: #77748a;
}
.inner-page.page-services .detail-card .text-link {
  color: #181a1b;
  border-bottom-color: rgba(36,29,61,.15);
}
.inner-page.page-services .detail-card .text-link:hover {
  color: var(--services-purple-strong);
  border-bottom-color: var(--services-purple);
}

/* Connected capabilities: the vivid purple feature panel used by the homepage,
   with white typography, white chips, and a soft circular line motif. */
.inner-page.page-services .capability-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 12% 100%, rgba(173,151,255,.30), transparent 42%),
    linear-gradient(128deg, #7652e9 0%, #6442d9 48%, #43278f 100%);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: clamp(26px,3vw,36px);
  box-shadow: 0 20px 58px rgba(69,42,155,.16);
}
.inner-page.page-services .capability-band > div {
  position: relative;
  z-index: 1;
}
.inner-page.page-services .capability-band .eyebrow {
  color: rgba(255,255,255,.78);
}
.inner-page.page-services .capability-band .eyebrow::before {
  background: var(--services-lavender);
}
.inner-page.page-services .capability-band h2,
.inner-page.page-services .capability-band h2 em {
  color: #fff;
}
.inner-page.page-services .capability-band p {
  color: rgba(255,255,255,.80);
}
.inner-page.page-services .capability-band::after {
  content: '';
  position: absolute;
  z-index: 0;
  width: clamp(300px,38vw,520px);
  aspect-ratio: 1;
  right: -11%;
  bottom: -80%;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255,255,255,.035),
              0 0 0 58px rgba(255,255,255,.025),
              0 0 0 96px rgba(216,206,255,.035);
  pointer-events: none;
}
.inner-page.page-services .capability-tags span,
.inner-page.page-services .capability-tags span:nth-child(n) {
  color: #241746;
  background: rgba(255,255,255,.96);
  border: 1px solid rgba(255,255,255,.78);
  border-radius: 999px;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.inner-page.page-services .capability-tags span a {
  color: inherit;
}
.inner-page.page-services .capability-tags span:hover,
.inner-page.page-services .capability-tags span:nth-child(n):hover {
  color: #fff;
  background: rgba(31,20,72,.34);
  border-color: rgba(255,255,255,.8);
}

/* Closing CTA: deep navy-purple, white copy and a white/purple action button. */
.inner-page.page-services .cta-panel {
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 2%, rgba(137,108,255,.20), transparent 35%),
    linear-gradient(137deg, #10172c 0%, #1a1839 58%, #2d1d60 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(26px,3.2vw,38px);
  box-shadow: 0 20px 48px rgba(23,19,47,.12);
}
.inner-page.page-services .cta-panel::after {
  border-color: rgba(216,206,255,.20);
  box-shadow: 0 0 0 36px rgba(216,206,255,.045),
              0 0 0 72px rgba(255,255,255,.025);
}
.inner-page.page-services .cta-panel .eyebrow,
.inner-page.page-services .cta-panel .eyebrow::before {
  color: rgba(255,255,255,.78);
}
.inner-page.page-services .cta-panel .eyebrow::before {
  background: var(--services-lavender);
}
.inner-page.page-services .cta-panel h2 {
  color: #fff;
}
.inner-page.page-services .cta-panel p {
  color: rgba(255,255,255,.78);
}
.inner-page.page-services .cta-panel .btn.btn-dark,
.inner-page.page-services .cta-panel .btn.btn-primary {
  color: #28184f;
  background: #fff;
  border-color: #fff;
  box-shadow: none;
}
.inner-page.page-services .cta-panel .btn.btn-dark:hover,
.inner-page.page-services .cta-panel .btn.btn-primary:hover {
  color: #28184f;
  background: var(--services-lavender);
  border-color: var(--services-lavender);
}
.inner-page.page-services .btn.btn-primary {
  color: #fff;
  background: var(--services-purple);
  border-color: var(--services-purple);
}
.inner-page.page-services .btn.btn-primary:hover {
  color: #fff;
  background: var(--services-purple-strong);
  border-color: var(--services-purple-strong);
}
.inner-page.page-services a:focus-visible,
.inner-page.page-services button:focus-visible {
  outline-color: #967cff;
}

@media (max-width: 900px) {
  .inner-page.page-services .capability-band { gap: 28px; }
}
@media (max-width: 640px) {
  .inner-page.page-services > .page-hero {
    background-image:
      radial-gradient(ellipse at 88% 8%, rgba(154,130,255,.16), transparent 31%),
      linear-gradient(150deg, #111629 0%, #1a1738 54%, #35216f 100%);
    border-radius: 26px;
  }
  .inner-page.page-services .detail-card { min-height: 0; }
  .inner-page.page-services .capability-band {
    background: linear-gradient(145deg, #7652e9 0%, #6442d9 48%, #43278f 100%);
  }
  .inner-page.page-services .cta-panel {
    background: linear-gradient(145deg, #10172c 0%, #1a1839 58%, #2d1d60 100%);
  }
}

/* ABOUT PAGE HERO CONTRAST REPAIR
   The global html[data-theme="light"] .page-hero gradient had higher specificity
   than the About-specific background, which left white hero text on a pale surface.
   These rules deliberately target only the About hero and preserve the approved
   dark navy/purple + white palette. */
html[data-theme="light"] .about-page > .page-hero,
html[data-theme="dark"] .about-page > .page-hero,
.about-page > .page-hero.page-hero {
  background-color: #10172c;
  background-image:
    radial-gradient(ellipse at 84% 8%, rgba(151,127,255,.22), transparent 34%),
    radial-gradient(ellipse at 12% 100%, rgba(118,82,233,.24), transparent 42%),
    linear-gradient(140deg, #10172c 0%, #1a173b 47%, #492b9a 100%);
  color: #fff;
  border-color: rgba(255,255,255,.14);
}
html[data-theme="light"] .about-page > .page-hero h1 em,
html[data-theme="dark"] .about-page > .page-hero h1 em,
.about-page > .page-hero.page-hero h1 em {
  color: #d8ceff;
  background: none;
  background-image: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: #d8ceff;
}
html[data-theme="light"] .about-page > .page-hero .eyebrow,
html[data-theme="dark"] .about-page > .page-hero .eyebrow,
.about-page > .page-hero.page-hero .eyebrow {
  color: rgba(255,255,255,.78);
}
html[data-theme="light"] .about-page > .page-hero .eyebrow::before,
html[data-theme="dark"] .about-page > .page-hero .eyebrow::before,
.about-page > .page-hero.page-hero .eyebrow::before {
  background: #d8ceff;
}
.inner-page.about-page .about-hero-note > .mono {
  color: #d8ceff;
}

/* BLOG + ARTICLE PAGES — align with the approved navy/purple + white theme.
   Everything below is scoped to Blog listings and insight articles only.
   Shared homepage, Services, About, capsule, footer and CMS styling stay untouched. */
.inner-page.blog-page,
.inner-page.insight-article-page {
  --blog-navy: #10172c;
  --blog-purple: #7652e9;
  --blog-purple-deep: #492b9a;
  --blog-lavender: #d8ceff;
  --blog-line: rgba(105,72,232,.20);
}

/* Rounded editorial hero: stronger contrast, no lime or pastel rainbow overlay. */
html[data-theme="light"] .inner-page.blog-page > .blog-hero,
html[data-theme="dark"] .inner-page.blog-page > .blog-hero,
.inner-page.blog-page > .page-hero.blog-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background-color: var(--blog-navy);
  background-image:
    radial-gradient(ellipse at 86% 4%, rgba(216,206,255,.16), transparent 34%),
    radial-gradient(ellipse at 8% 100%, rgba(118,82,233,.24), transparent 42%),
    linear-gradient(140deg, #10172c 0%, #1a173b 48%, #492b9a 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 58px rgba(41,27,91,.10);
}
html[data-theme="light"] .inner-page.blog-page > .blog-hero h1,
html[data-theme="dark"] .inner-page.blog-page > .blog-hero h1,
.inner-page.blog-page > .page-hero.blog-hero h1 { color: #fff; }
html[data-theme="light"] .inner-page.blog-page > .blog-hero h1 em,
html[data-theme="dark"] .inner-page.blog-page > .blog-hero h1 em,
.inner-page.blog-page > .page-hero.blog-hero h1 em {
  color: var(--blog-lavender);
  background: none;
  background-image: none;
  background-clip: initial;
  -webkit-background-clip: initial;
  -webkit-text-fill-color: var(--blog-lavender);
}
html[data-theme="light"] .inner-page.blog-page > .blog-hero .eyebrow,
html[data-theme="dark"] .inner-page.blog-page > .blog-hero .eyebrow,
.inner-page.blog-page > .page-hero.blog-hero .eyebrow,
.inner-page.blog-page > .page-hero.blog-hero .mono {
  color: rgba(255,255,255,.78);
}
.inner-page.blog-page > .page-hero.blog-hero .eyebrow {
  background: rgba(255,255,255,.055);
  border-color: rgba(255,255,255,.16);
}
.inner-page.blog-page > .page-hero.blog-hero .eyebrow::before { background: var(--blog-lavender); }
.inner-page.blog-page > .page-hero.blog-hero p { color: rgba(255,255,255,.78); }
.inner-page.blog-page > .page-hero.blog-hero::before {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 0 0 24px rgba(255,255,255,.025),
              0 0 0 54px rgba(216,206,255,.03),
              0 0 0 92px rgba(255,255,255,.018);
}
.inner-page.blog-page > .page-hero.blog-hero::after {
  border-color: rgba(216,206,255,.24);
  box-shadow: 0 0 0 25px rgba(216,206,255,.055),
              0 0 0 58px rgba(255,255,255,.028);
}
.inner-page.blog-page .blog-hero-aside > .mono { color: rgba(255,255,255,.68); }
.inner-page.blog-page .blog-hero-aside strong { color: var(--blog-lavender); }
.inner-page.blog-page .blog-hero-aside p { color: rgba(255,255,255,.78); }
.inner-page.blog-page .blog-hero-aside { border-color: rgba(255,255,255,.17); }
.inner-page.blog-page .blog-hero-topics span {
  color: rgba(255,255,255,.88);
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.19);
}
.inner-page.blog-page .blog-intro-meta span {
  color: rgba(255,255,255,.82);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.17);
}

/* Listing header and cards: white surfaces, carbon text, purple interaction cues.
   Preserve the same dimensional artwork used by the homepage Insights cards. */
.inner-page.blog-page .blog-listing-section .eyebrow::before { background: var(--blog-purple); }
.inner-page.blog-page .blog-listing-section .section-head h2,
.inner-page.blog-page .blog-listing-section .section-head h2 em { color: #181a1b; }
.inner-page.blog-page .blog-listing-section .section-head h2 em {
  color: var(--blog-purple);
  background: none;
  -webkit-text-fill-color: currentColor;
}
.inner-page.blog-page .blog-listing-section .section-head p { color: #666b70; }
.inner-page.blog-page .blog-feature-card {
  color: #181a1b;
  background: #fff;
  border: 1px solid rgba(105,72,232,.16);
  border-radius: 26px;
  box-shadow: 0 14px 38px rgba(23,19,47,.045);
}
.inner-page.blog-page .blog-feature-card:hover,
.inner-page.blog-page .blog-feature-card:focus-visible {
  color: #181a1b;
  background: #fff;
  border-color: rgba(105,72,232,.58);
  box-shadow: 0 22px 50px rgba(57,37,123,.12);
}
.inner-page.blog-page .blog-feature-meta { color: #77748a; }
.inner-page.blog-page .blog-feature-card h2 { color: #181a1b; }
.inner-page.blog-page .blog-feature-card p { color: #666b70; }
.inner-page.blog-page .blog-feature-link {
  color: #492b9a;
  border-top-color: rgba(105,72,232,.18);
}
.inner-page.blog-page .blog-feature-link span { color: #7652e9; }
.inner-page.blog-page .blog-feature-card:focus-visible { outline-color: #7652e9; }

/* Blog closing CTA: match the same dark curved purple/navy treatment. */
.inner-page.blog-page .blog-bottom-cta .cta-panel {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 2%, rgba(216,206,255,.15), transparent 35%),
    linear-gradient(137deg, #10172c 0%, #1a1839 58%, #2d1d60 100%);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: clamp(26px,3.2vw,38px);
  box-shadow: 0 20px 48px rgba(23,19,47,.12);
}
.inner-page.blog-page .blog-bottom-cta .cta-panel::after {
  border-color: rgba(216,206,255,.22);
  box-shadow: 0 0 0 36px rgba(216,206,255,.045), 0 0 0 72px rgba(255,255,255,.025);
}
.inner-page.blog-page .blog-bottom-cta .cta-panel .eyebrow { color: rgba(255,255,255,.78); }
.inner-page.blog-page .blog-bottom-cta .cta-panel .eyebrow::before { background: var(--blog-lavender); }
.inner-page.blog-page .blog-bottom-cta .cta-panel h2 { color: #fff; }
.inner-page.blog-page .blog-bottom-cta .cta-panel p { color: rgba(255,255,255,.78); }
.inner-page.blog-page .blog-bottom-cta .cta-panel .btn,
.inner-page.insight-article-page .article-actions .btn {
  color: #241746;
  background: #fff;
  border-color: #fff;
}
.inner-page.blog-page .blog-bottom-cta .cta-panel .btn:hover,
.inner-page.insight-article-page .article-actions .btn:hover {
  color: #241746;
  background: var(--blog-lavender);
  border-color: var(--blog-lavender);
}

/* Individual article page: matching rounded hero and readable editorial body. */
html[data-theme="light"] .inner-page.insight-article-page > .article-hero,
html[data-theme="dark"] .inner-page.insight-article-page > .article-hero,
.inner-page.insight-article-page > .page-hero.article-hero {
  color: #fff;
  background-color: var(--blog-navy);
  background-image:
    radial-gradient(ellipse at 86% 4%, rgba(216,206,255,.16), transparent 34%),
    radial-gradient(ellipse at 8% 100%, rgba(118,82,233,.24), transparent 42%),
    linear-gradient(140deg, #10172c 0%, #1a173b 48%, #492b9a 100%);
  border: 1px solid rgba(255,255,255,.14);
  box-shadow: 0 22px 58px rgba(41,27,91,.10);
}
.inner-page.insight-article-page > .page-hero.article-hero::before {
  border-color: rgba(255,255,255,.12);
  box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 54px rgba(216,206,255,.03), 0 0 0 92px rgba(255,255,255,.018);
}
.inner-page.insight-article-page > .page-hero.article-hero::after {
  border-color: rgba(216,206,255,.24);
  box-shadow: 0 0 0 25px rgba(216,206,255,.055), 0 0 0 58px rgba(255,255,255,.028);
}
html[data-theme="light"] .inner-page.insight-article-page > .article-hero h1,
html[data-theme="dark"] .inner-page.insight-article-page > .article-hero h1,
.inner-page.insight-article-page > .page-hero.article-hero h1 { color: #fff; }
html[data-theme="light"] .inner-page.insight-article-page > .article-hero h1 em,
html[data-theme="dark"] .inner-page.insight-article-page > .article-hero h1 em,
.inner-page.insight-article-page > .page-hero.article-hero h1 em {
  color: var(--blog-lavender);
  background: none;
  background-image: none;
  -webkit-text-fill-color: var(--blog-lavender);
}
.inner-page.insight-article-page > .page-hero.article-hero .eyebrow,
.inner-page.insight-article-page > .page-hero.article-hero .mono { color: rgba(255,255,255,.78); }
.inner-page.insight-article-page > .page-hero.article-hero .eyebrow::before { background: var(--blog-lavender); }
.inner-page.insight-article-page > .page-hero.article-hero .article-deck { color: rgba(255,255,255,.80); }
.inner-page.insight-article-page .article-back-link {
  color: #fff;
  background: rgba(255,255,255,.045);
  border-color: rgba(255,255,255,.22);
}
.inner-page.insight-article-page .article-back-link:hover {
  color: #241746;
  background: var(--blog-lavender);
  border-color: var(--blog-lavender);
}
.inner-page.insight-article-page .article-meta span {
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.04);
  border-color: rgba(255,255,255,.18);
}
.inner-page.insight-article-page .article-lead { color: #33323d; }
.inner-page.insight-article-page .article-chapter { border-bottom-color: rgba(105,72,232,.16); }
.inner-page.insight-article-page .article-chapter-kicker { color: #6948e8; }
.inner-page.insight-article-page .article-chapter h2 { color: #181a1b; }
.inner-page.insight-article-page .article-chapter p,
.inner-page.insight-article-page .article-chapter li { color: #555562; }
.inner-page.insight-article-page .article-actions { border-top-color: rgba(105,72,232,.18); }
.inner-page.insight-article-page .article-actions .text-link { color: #492b9a; }
.inner-page.insight-article-page .article-actions .text-link:hover { border-bottom-color: #7652e9; }

/* Takeaway card uses the site purple panel; its chips stay white, not multicoloured. */
.inner-page.insight-article-page .article-takeaway {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 5%, rgba(216,206,255,.17), transparent 34%),
    linear-gradient(130deg, #7652e9 0%, #6442d9 48%, #43278f 100%);
  border: 1px solid rgba(105,72,232,.24);
  border-radius: clamp(26px,3.2vw,38px);
}
.inner-page.insight-article-page .article-takeaway::after {
  content: '';
  position: absolute;
  z-index: -1;
  width: clamp(280px,36vw,480px);
  aspect-ratio: 1;
  right: -10%;
  bottom: -85%;
  border: 1px solid rgba(255,255,255,.20);
  border-radius: 50%;
  box-shadow: 0 0 0 25px rgba(255,255,255,.035), 0 0 0 58px rgba(216,206,255,.035);
  pointer-events: none;
}
.inner-page.insight-article-page .article-takeaway > div { position: relative; z-index: 1; }
.inner-page.insight-article-page .article-takeaway .eyebrow { color: rgba(255,255,255,.78); }
.inner-page.insight-article-page .article-takeaway .eyebrow::before { background: var(--blog-lavender); }
.inner-page.insight-article-page .article-takeaway h2,
.inner-page.insight-article-page .article-takeaway h2 em { color: #fff; }
.inner-page.insight-article-page .article-takeaway p { color: rgba(255,255,255,.82); }
.inner-page.insight-article-page .article-takeaway .capability-tags span,
.inner-page.insight-article-page .article-takeaway .capability-tags span:nth-child(n) {
  color: #241746;
  background: #fff;
  border-color: rgba(255,255,255,.8);
  border-radius: 999px;
}
.inner-page.insight-article-page .article-takeaway .capability-tags span a { color: inherit; }
.inner-page.insight-article-page .article-takeaway .capability-tags span:hover,
.inner-page.insight-article-page .article-takeaway .capability-tags span:nth-child(n):hover {
  color: #241746;
  background: var(--blog-lavender);
  border-color: var(--blog-lavender);
}

@media (max-width: 680px) {
  .inner-page.blog-page > .page-hero.blog-hero,
  .inner-page.insight-article-page > .page-hero.article-hero { border-radius: 27px; }
  .inner-page.blog-page .blog-feature-card { border-radius: 22px; }
  .inner-page.blog-page .blog-bottom-cta .cta-panel,
  .inner-page.insight-article-page .article-takeaway { border-radius: 27px; }
}

/* ========================================================================
   INNER ROUTES: NAVY / DEEP PURPLE / WHITE / LAVENDER FINISH
   Scoped to FAQ, Process, Contact, individual service, Work/Project, legal
   and 404 routes only. Homepage, shared header, footer, CMS and app behavior
   remain untouched. Portfolio preview artwork is intentionally preserved.
   ======================================================================== */
:root {
  --anthro-night: #0d1727;
  --anthro-navy: #111c31;
  --anthro-indigo: #1b1a3c;
  --anthro-purple: #432887;
  --anthro-violet: #7652e9;
  --anthro-lavender: #d8ceff;
  --anthro-white: #ffffff;
  --anthro-muted: rgba(255,255,255,.76);
  --anthro-rule: rgba(216,206,255,.22);
  --anthro-ink: #1d2030;
  --anthro-card-copy: #5a5d6b;
}

/* Dark canvas only for routes still using the generic inner-page system. */
.inner-page.page-faq,
.inner-page.page-process,
.inner-page.page-contact,
.inner-page.page-service,
.inner-page.page-work,
.inner-page.page-project,
.inner-page.page-legal,
.inner-page.page-not-found {
  color: var(--anthro-white);
  background:
    radial-gradient(ellipse at 88% 4%, rgba(118,82,233,.10), transparent 34%),
    linear-gradient(145deg, #0d1727 0%, #11192f 52%, #151632 100%);
}

/* Purple/navy hero: high-specificity on purpose to defeat old theme overrides. */
html[data-theme="light"] .inner-page.page-process > .page-hero,
html[data-theme="dark"] .inner-page.page-process > .page-hero,
html[data-theme="light"] .inner-page.page-contact > .page-hero,
html[data-theme="dark"] .inner-page.page-contact > .page-hero,
html[data-theme="light"] .inner-page.page-service > .page-hero,
html[data-theme="dark"] .inner-page.page-service > .page-hero,
html[data-theme="light"] .inner-page.page-legal > .page-hero,
html[data-theme="dark"] .inner-page.page-legal > .page-hero {
  color: #fff;
  background-color: #11172d;
  background-image:
    radial-gradient(ellipse at 87% 3%, rgba(216,206,255,.16), transparent 32%),
    radial-gradient(ellipse at 6% 100%, rgba(118,82,233,.22), transparent 38%),
    linear-gradient(140deg, #0d1727 0%, #171a3a 51%, #432887 100%);
  border: 1px solid rgba(255,255,255,.13);
  box-shadow: 0 22px 58px rgba(5,7,20,.13);
}
html[data-theme="light"] .inner-page.page-process > .page-hero::before,
html[data-theme="dark"] .inner-page.page-process > .page-hero::before,
html[data-theme="light"] .inner-page.page-contact > .page-hero::before,
html[data-theme="dark"] .inner-page.page-contact > .page-hero::before,
html[data-theme="light"] .inner-page.page-service > .page-hero::before,
html[data-theme="dark"] .inner-page.page-service > .page-hero::before,
html[data-theme="light"] .inner-page.page-legal > .page-hero::before,
html[data-theme="dark"] .inner-page.page-legal > .page-hero::before {
  border-color: rgba(216,206,255,.18);
  box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 54px rgba(216,206,255,.035), 0 0 0 92px rgba(255,255,255,.018);
}
html[data-theme="light"] .inner-page.page-process > .page-hero::after,
html[data-theme="dark"] .inner-page.page-process > .page-hero::after,
html[data-theme="light"] .inner-page.page-contact > .page-hero::after,
html[data-theme="dark"] .inner-page.page-contact > .page-hero::after,
html[data-theme="light"] .inner-page.page-service > .page-hero::after,
html[data-theme="dark"] .inner-page.page-service > .page-hero::after,
html[data-theme="light"] .inner-page.page-legal > .page-hero::after,
html[data-theme="dark"] .inner-page.page-legal > .page-hero::after {
  border-color: rgba(216,206,255,.25);
  box-shadow: 0 0 0 25px rgba(216,206,255,.05), 0 0 0 58px rgba(255,255,255,.025);
}
.inner-page.page-process > .page-hero .eyebrow,
.inner-page.page-contact > .page-hero .eyebrow,
.inner-page.page-service > .page-hero .eyebrow,
.inner-page.page-legal > .page-hero .eyebrow,
.inner-page.page-process > .page-hero .mono,
.inner-page.page-contact > .page-hero .mono,
.inner-page.page-service > .page-hero .mono,
.inner-page.page-legal > .page-hero .mono {
  color: rgba(255,255,255,.78);
}
.inner-page.page-process > .page-hero .eyebrow::before,
.inner-page.page-contact > .page-hero .eyebrow::before,
.inner-page.page-service > .page-hero .eyebrow::before,
.inner-page.page-legal > .page-hero .eyebrow::before {
  background: var(--anthro-lavender);
}
html[data-theme="light"] .inner-page.page-process > .page-hero h1,
html[data-theme="dark"] .inner-page.page-process > .page-hero h1,
html[data-theme="light"] .inner-page.page-contact > .page-hero h1,
html[data-theme="dark"] .inner-page.page-contact > .page-hero h1,
html[data-theme="light"] .inner-page.page-service > .page-hero h1,
html[data-theme="dark"] .inner-page.page-service > .page-hero h1,
html[data-theme="light"] .inner-page.page-legal > .page-hero h1,
html[data-theme="dark"] .inner-page.page-legal > .page-hero h1 {
  color: #fff;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #fff;
}
html[data-theme="light"] .inner-page.page-process > .page-hero h1 em,
html[data-theme="dark"] .inner-page.page-process > .page-hero h1 em,
html[data-theme="light"] .inner-page.page-contact > .page-hero h1 em,
html[data-theme="dark"] .inner-page.page-contact > .page-hero h1 em,
html[data-theme="light"] .inner-page.page-service > .page-hero h1 em,
html[data-theme="dark"] .inner-page.page-service > .page-hero h1 em,
html[data-theme="light"] .inner-page.page-legal > .page-hero h1 em,
html[data-theme="dark"] .inner-page.page-legal > .page-hero h1 em {
  color: var(--anthro-lavender);
  background: none;
  background-image: none;
  -webkit-text-fill-color: var(--anthro-lavender);
}
.inner-page.page-process > .page-hero p,
.inner-page.page-contact > .page-hero p,
.inner-page.page-service > .page-hero p,
.inner-page.page-legal > .page-hero p { color: var(--anthro-muted); }

/* FAQ page: full-width midnight panel, crisp separators, oversized title. */
.inner-page.page-faq {
  background: linear-gradient(135deg, #0d1727 0%, #112136 50%, #10192b 100%);
}
.inner-page.page-faq > .faq-page-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100%;
  max-width: none;
  margin: 0 auto;
  padding: clamp(20px, 2vw, 30px) 0 clamp(40px, 5vw, 64px);
  border: 0;
  border-radius: 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 91% 0%, rgba(89,119,143,.25), transparent 33%),
    radial-gradient(ellipse at 4% 105%, rgba(118,82,233,.12), transparent 42%),
    linear-gradient(133deg, #0d1727 0%, #13263a 51%, #0c1726 100%);
}
.inner-page.page-faq > .faq-page-section::before,
.inner-page.page-faq > .faq-page-section::after {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  border: 1px solid rgba(216,206,255,.12);
  border-radius: 50%;
}
.inner-page.page-faq > .faq-page-section::before {
  width: clamp(400px, 48vw, 720px);
  aspect-ratio: 1;
  right: clamp(-360px, -14vw, -170px);
  top: clamp(-450px, -27vw, -210px);
  box-shadow: 0 0 0 24px rgba(216,206,255,.025), 0 0 0 56px rgba(216,206,255,.02), 0 0 0 92px rgba(216,206,255,.014);
}
.inner-page.page-faq > .faq-page-section::after {
  width: clamp(260px, 36vw, 500px);
  aspect-ratio: 1;
  left: -23%;
  bottom: -72%;
  border-color: rgba(118,82,233,.14);
  box-shadow: 0 0 0 25px rgba(118,82,233,.025), 0 0 0 58px rgba(216,206,255,.015);
}
.inner-page.page-faq > .faq-page-section > .container {
  position: relative;
  z-index: 1;
  width: min(1326px, calc(100% - 48px));
}
.inner-page.page-faq .home-faq-heading {
  margin: 0 0 clamp(82px, 8vw, 112px);
}
.inner-page.page-faq .home-faq-heading h1 {
  color: #fff;
  font-size: clamp(58px, 6vw, 84px);
  font-weight: 400;
  line-height: .96;
  letter-spacing: -.085em;
}
.inner-page.page-faq .home-faq-list {
  border-bottom: 1px solid rgba(216,206,255,.22);
}
.inner-page.page-faq .home-faq-item {
  border-top-color: rgba(216,206,255,.22);
}
.inner-page.page-faq .home-faq-item summary {
  padding: clamp(21px, 2vw, 27px) 0;
  color: #fff;
  font-size: clamp(17px, 1.55vw, 23px);
  font-weight: 500;
  transition: color .2s ease;
}
.inner-page.page-faq .home-faq-item summary:hover { color: var(--anthro-lavender); }
.inner-page.page-faq .home-faq-plus::before,
.inner-page.page-faq .home-faq-plus::after { background: var(--anthro-lavender); }
.inner-page.page-faq .home-faq-item summary:focus-visible {
  outline-color: var(--anthro-lavender);
}
.inner-page.page-faq .home-faq-answer {
  color: rgba(255,255,255,.78);
}
.inner-page.page-faq .home-faq-answer-inner { padding-bottom: 25px; }
.inner-page.page-faq > .section-small {
  padding: clamp(36px, 5vw, 66px) 0 clamp(54px, 6vw, 82px);
}
.inner-page.page-faq .cta-panel,
.inner-page.page-process .cta-panel,
.inner-page.page-service .cta-panel,
.inner-page.page-legal .cta-panel {
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 3%, rgba(216,206,255,.16), transparent 34%),
    linear-gradient(137deg, #10172c 0%, #1b1a3d 55%, #432887 100%);
  border: 1px solid rgba(216,206,255,.20);
  border-radius: clamp(28px, 3.4vw, 42px);
  box-shadow: 0 22px 58px rgba(5,7,20,.16);
}
.inner-page.page-faq .cta-panel h2,
.inner-page.page-process .cta-panel h2,
.inner-page.page-service .cta-panel h2,
.inner-page.page-legal .cta-panel h2 { color: #fff; }
.inner-page.page-faq .cta-panel p,
.inner-page.page-process .cta-panel p,
.inner-page.page-service .cta-panel p,
.inner-page.page-legal .cta-panel p { color: rgba(255,255,255,.78); }
.inner-page.page-faq .cta-panel .eyebrow,
.inner-page.page-process .cta-panel .eyebrow,
.inner-page.page-service .cta-panel .eyebrow,
.inner-page.page-legal .cta-panel .eyebrow { color: rgba(255,255,255,.78); }
.inner-page.page-faq .cta-panel .eyebrow::before,
.inner-page.page-process .cta-panel .eyebrow::before,
.inner-page.page-service .cta-panel .eyebrow::before,
.inner-page.page-legal .cta-panel .eyebrow::before { background: var(--anthro-lavender); }

/* Process page: replace global multi-colour nth-child cards with one system. */
.inner-page.page-process > .section,
.inner-page.page-process > .section-small { color: #fff; }
.inner-page.page-process .section-head h2,
.inner-page.page-process .section-head h2 em,
.inner-page.page-process .about-split h2,
.inner-page.page-process .about-split h2 em { color: #fff; }
.inner-page.page-process .section-head > p,
.inner-page.page-process .about-split p { color: rgba(255,255,255,.76); }
html[data-theme="light"] .inner-page.page-process .process-card:nth-child(n),
html[data-theme="dark"] .inner-page.page-process .process-card:nth-child(n),
.inner-page.page-process .process-card:nth-child(n) {
  color: var(--anthro-ink);
  background: linear-gradient(145deg, #fff 0%, #f7f5ff 100%);
  border: 1px solid rgba(216,206,255,.65);
  box-shadow: 0 16px 42px rgba(5,7,20,.13), inset 0 1px 0 rgba(255,255,255,.9);
}
html[data-theme="light"] .inner-page.page-process .process-card:nth-child(n):hover,
html[data-theme="dark"] .inner-page.page-process .process-card:nth-child(n):hover,
.inner-page.page-process .process-card:nth-child(n):hover {
  background: #fff;
  border-color: rgba(118,82,233,.55);
  box-shadow: 0 20px 46px rgba(5,7,20,.17), 0 0 0 1px rgba(118,82,233,.08);
}
.inner-page.page-process .process-card::before {
  border-color: rgba(118,82,233,.13);
  box-shadow: 0 0 0 22px rgba(118,82,233,.035), 0 0 0 44px rgba(118,82,233,.02);
}
.inner-page.page-process .process-card .process-num {
  color: #6545c5;
}
.inner-page.page-process .process-card .process-icon {
  display: inline-grid;
  place-items: center;
  color: #4b3292;
  background: #eee8ff;
  border: 1px solid rgba(118,82,233,.18);
}
.inner-page.page-process .process-card h3 { color: #1c2030; }
.inner-page.page-process .process-card p { color: #5a5d6b; }
.inner-page.page-process .detail-card {
  color: var(--anthro-ink);
  background: #fff;
  border-color: rgba(216,206,255,.65);
  box-shadow: 0 14px 38px rgba(5,7,20,.09);
}
.inner-page.page-process .detail-card .detail-top { color: #6d6882; }
.inner-page.page-process .detail-card h3 { color: #1c2030; }
.inner-page.page-process .detail-card p { color: #5a5d6b; }
.inner-page.page-process .about-split .text-link { color: var(--anthro-lavender); border-bottom-color: rgba(216,206,255,.4); }
.inner-page.page-process .about-split .text-link:hover { border-bottom-color: #fff; }

/* Individual Website Development, Software, AI, E-commerce and related pages. */
.inner-page.page-service > .section,
.inner-page.page-service > .section-small { color: #fff; }
.inner-page.page-service .section-head h2,
.inner-page.page-service .section-head h2 em { color: #fff; }
.inner-page.page-service .section-head > p { color: rgba(255,255,255,.76); }
.inner-page.page-service .detail-card {
  color: var(--anthro-ink);
  background: linear-gradient(145deg, #fff 0%, #f8f6ff 100%);
  border-color: rgba(216,206,255,.62);
  box-shadow: 0 16px 42px rgba(5,7,20,.11), inset 0 1px 0 rgba(255,255,255,.9);
}
.inner-page.page-service .detail-card:hover {
  background: #fff;
  border-color: rgba(118,82,233,.56);
  box-shadow: 0 20px 46px rgba(5,7,20,.17), 0 0 0 1px rgba(118,82,233,.07);
}
.inner-page.page-service .detail-card .detail-top { color: #716b89; }
.inner-page.page-service .detail-card h3 { color: #1d2030; }
.inner-page.page-service .detail-card p { color: #5a5d6b; }
.inner-page.page-service .detail-card .text-link { color: #6242c7; border-bottom-color: rgba(98,66,199,.35); }
.inner-page.page-service .detail-card .text-link:hover { border-bottom-color: #6242c7; }
.inner-page.page-service .capability-band {
  color: #fff;
  background:
    radial-gradient(ellipse at 90% 5%, rgba(216,206,255,.17), transparent 34%),
    linear-gradient(132deg, #171a37 0%, #28205b 55%, #4a2b91 100%);
  border: 1px solid rgba(216,206,255,.2);
  border-radius: clamp(26px, 3vw, 38px);
  box-shadow: 0 20px 50px rgba(5,7,20,.15);
}
.inner-page.page-service .capability-band h2,
.inner-page.page-service .capability-band h2 em { color: #fff; }
.inner-page.page-service .capability-band p { color: rgba(255,255,255,.78); }
.inner-page.page-service .capability-band .eyebrow { color: rgba(255,255,255,.78); }
.inner-page.page-service .capability-band .eyebrow::before { background: var(--anthro-lavender); }
.inner-page.page-service .capability-band .capability-tags span,
.inner-page.page-service .capability-band .capability-tags span:nth-child(n) {
  color: #292044;
  background: #fff;
  border-color: rgba(255,255,255,.82);
}
.inner-page.page-service .capability-band .capability-tags span:hover,
.inner-page.page-service .capability-band .capability-tags span:nth-child(n):hover {
  color: #292044;
  background: var(--anthro-lavender);
  border-color: var(--anthro-lavender);
}

/* Contact page: dark editorial aside, bright usable form and purple focus states. */
.inner-page.page-contact .contact-layout {
  width: min(1326px, calc(100% - 64px));
  margin-inline: auto;
  align-items: start;
  color: #fff;
}
.inner-page.page-contact .contact-aside .eyebrow { color: rgba(255,255,255,.76); }
.inner-page.page-contact .contact-aside .eyebrow::before { background: var(--anthro-lavender); }
.inner-page.page-contact .contact-aside h2 { color: #fff; }
.inner-page.page-contact .contact-aside > p,
.inner-page.page-contact .contact-aside .contact-note p { color: rgba(255,255,255,.74); }
.inner-page.page-contact .contact-note {
  color: #fff;
  background: rgba(255,255,255,.045);
  border-color: rgba(216,206,255,.25);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.04);
}
.inner-page.page-contact .contact-note .mono { color: var(--anthro-lavender); }
.inner-page.page-contact .contact-note .text-link { color: #fff; border-bottom-color: rgba(216,206,255,.42); }
.inner-page.page-contact .contact-note .text-link:hover { color: var(--anthro-lavender); border-bottom-color: var(--anthro-lavender); }
.inner-page.page-contact .contact-form {
  color: var(--anthro-ink);
  background: linear-gradient(145deg, #fff 0%, #f8f6ff 100%);
  border: 1px solid rgba(216,206,255,.66);
  border-radius: 28px;
  box-shadow: 0 24px 62px rgba(5,7,20,.20), inset 0 1px 0 rgba(255,255,255,.92);
}
.inner-page.page-contact .contact-form .field label { color: #37364b; }
.inner-page.page-contact .contact-form .field input,
.inner-page.page-contact .contact-form .field select,
.inner-page.page-contact .contact-form .field textarea {
  color: #1d2030;
  background: #fff;
  border: 1px solid rgba(47,42,76,.18);
  border-radius: 13px;
  box-shadow: inset 0 1px 2px rgba(25,18,53,.025);
}
.inner-page.page-contact .contact-form .field input::placeholder,
.inner-page.page-contact .contact-form .field textarea::placeholder { color: #9293a1; }
.inner-page.page-contact .contact-form .field input:focus,
.inner-page.page-contact .contact-form .field select:focus,
.inner-page.page-contact .contact-form .field textarea:focus {
  outline: none;
  border-color: #7652e9;
  box-shadow: 0 0 0 3px rgba(118,82,233,.16);
}
.inner-page.page-contact .contact-form .success-panel {
  color: #2e2452;
  background: #f0ebff;
  border-color: rgba(118,82,233,.28);
}
.inner-page.page-contact .contact-form .form-submit > p { color: #686777; }
.inner-page.page-contact .contact-form .form-submit > p a { color: #6242c7; }
.inner-page.page-contact .btn.btn-primary,
.inner-page.page-service .btn.btn-primary,
.inner-page.page-process .btn.btn-primary,
.inner-page.page-legal .btn.btn-primary,
.inner-page.page-not-found .btn.btn-primary {
  color: #2b204b;
  background: var(--anthro-lavender);
  border-color: var(--anthro-lavender);
  box-shadow: 0 8px 24px rgba(118,82,233,.15);
}
.inner-page.page-contact .btn.btn-primary:hover,
.inner-page.page-service .btn.btn-primary:hover,
.inner-page.page-process .btn.btn-primary:hover,
.inner-page.page-legal .btn.btn-primary:hover,
.inner-page.page-not-found .btn.btn-primary:hover {
  color: #fff;
  background: #6545cf;
  border-color: #6545cf;
}
.inner-page.page-contact a:focus-visible,
.inner-page.page-contact button:focus-visible,
.inner-page.page-service a:focus-visible,
.inner-page.page-process a:focus-visible,
.inner-page.page-faq a:focus-visible,
.inner-page.page-legal a:focus-visible,
.inner-page.page-not-found a:focus-visible { outline-color: var(--anthro-lavender); }

/* Work overview: theme the gallery shell and UI without altering concept artwork. */
.inner-page.page-work > .portfolio-gallery-section {
  position: relative;
  isolation: isolate;
  background:
    radial-gradient(ellipse at 91% 0%, rgba(118,82,233,.16), transparent 34%),
    linear-gradient(140deg, #0d1727 0%, #151a35 56%, #211844 100%);
  border: 1px solid rgba(216,206,255,.12);
  box-shadow: 0 22px 56px rgba(5,7,20,.12);
}
.inner-page.page-work .portfolio-section-heading > h1,
.inner-page.page-work .portfolio-section-heading > h2 { color: #fff; }
.inner-page.page-work .portfolio-section-eyebrow { color: rgba(255,255,255,.76); }
.inner-page.page-work .portfolio-toolbar,
.inner-page.page-work .portfolio-filters,
.inner-page.page-work .portfolio-toolbar select {
  color: #fff;
  border-color: rgba(216,206,255,.23);
}
.inner-page.page-work .portfolio-toolbar button,
.inner-page.page-work .portfolio-filters button,
.inner-page.page-work .portfolio-filter {
  color: rgba(255,255,255,.84);
  background: rgba(255,255,255,.045);
  border-color: rgba(216,206,255,.22);
}
.inner-page.page-work .portfolio-toolbar button[aria-pressed="true"],
.inner-page.page-work .portfolio-filters button[aria-pressed="true"],
.inner-page.page-work .portfolio-filter[aria-pressed="true"] {
  color: #2b204b;
  background: var(--anthro-lavender);
  border-color: var(--anthro-lavender);
}
.inner-page.page-work .portfolio-toolbar button:hover,
.inner-page.page-work .portfolio-filters button:hover,
.inner-page.page-work .portfolio-filter:hover {
  color: #fff;
  border-color: var(--anthro-lavender);
}
.inner-page.page-work .portfolio-grid .portfolio-card,
.inner-page.page-work .portfolio-grid .project-card {
  border-color: rgba(216,206,255,.25);
  box-shadow: 0 18px 44px rgba(5,7,20,.18);
}

/* Project case-study route: keep the preview artwork exactly as authored. */
.inner-page.page-project .portfolio-case-study { color: #fff; }
.inner-page.page-project .portfolio-case-study > .eyebrow,
.inner-page.page-project .portfolio-case-kicker { color: rgba(255,255,255,.72); }
.inner-page.page-project .portfolio-case-kicker { border-left-color: rgba(216,206,255,.28); }
.inner-page.page-project .portfolio-case-title,
.inner-page.page-project .portfolio-case-overview h2 { color: #fff; }
.inner-page.page-project .portfolio-case-title .accent-serif,
.inner-page.page-project .portfolio-case-overview h2 em { color: var(--anthro-lavender); }
.inner-page.page-project .portfolio-case-intro,
.inner-page.page-project .portfolio-case-overview > div:last-child,
.inner-page.page-project .portfolio-case-overview p { color: rgba(255,255,255,.76); }
.inner-page.page-project .project-meta-grid { border-color: rgba(216,206,255,.22); }
.inner-page.page-project .project-meta-grid > div { border-color: rgba(216,206,255,.18); }
.inner-page.page-project .project-meta-grid span { color: rgba(255,255,255,.62); }
.inner-page.page-project .project-meta-grid strong { color: #fff; }
.inner-page.page-project .portfolio-case-overview { border-bottom-color: rgba(216,206,255,.22); }
.inner-page.page-project .portfolio-focus-card {
  color: var(--anthro-ink);
  background: linear-gradient(145deg, #fff 0%, #f7f5ff 100%);
  border-color: rgba(216,206,255,.58);
  box-shadow: 0 14px 38px rgba(5,7,20,.12);
}
.inner-page.page-project .portfolio-focus-card h3 { color: #28233f; }
.inner-page.page-project .portfolio-focus-card p { color: #5a5d6b; }
.inner-page.page-project .portfolio-case-bottom { border-top-color: rgba(216,206,255,.22); }
.inner-page.page-project .portfolio-case-bottom .text-link { color: #fff; border-bottom-color: rgba(216,206,255,.35); }
.inner-page.page-project .portfolio-case-bottom .text-link:hover { color: var(--anthro-lavender); }
.inner-page.page-project .portfolio-case-bottom .btn.btn-primary {
  color: #2b204b;
  background: var(--anthro-lavender);
  border-color: var(--anthro-lavender);
}

/* Legal pages and the 404 state retain readable, consistent contrast. */
.inner-page.page-legal > .section,
.inner-page.page-legal > .section-small,
.inner-page.page-legal .about-split { color: #fff; }
.inner-page.page-legal .about-split h2,
.inner-page.page-legal .about-split h3,
.inner-page.page-legal .about-split strong { color: #fff; }
.inner-page.page-legal .about-split p,
.inner-page.page-legal .about-split li { color: rgba(255,255,255,.77); }
.inner-page.page-legal .about-split a { color: var(--anthro-lavender); }
.inner-page.page-legal .about-split a:hover { color: #fff; }
.inner-page.page-not-found {
  min-height: 62vh;
  padding: clamp(64px, 9vw, 120px) 0;
  color: #fff;
  background:
    radial-gradient(ellipse at 88% 6%, rgba(118,82,233,.18), transparent 35%),
    linear-gradient(145deg, #0d1727 0%, #171a38 56%, #302064 100%);
}
.inner-page.page-not-found h1 { color: #fff; }
.inner-page.page-not-found p { color: rgba(255,255,255,.76); }
.inner-page.page-not-found .eyebrow,
.inner-page.page-not-found .eyebrow::before { color: rgba(255,255,255,.78); }
.inner-page.page-not-found .eyebrow::before { background: var(--anthro-lavender); }

/* Responsive tuning remains limited to the affected routes. */
@media (max-width: 760px) {
  .inner-page.page-faq > .faq-page-section { padding: 22px 0 40px; }
  .inner-page.page-faq > .faq-page-section > .container { width: calc(100% - 40px); }
  .inner-page.page-faq .home-faq-heading { margin-bottom: 48px; }
  .inner-page.page-faq .home-faq-heading h1 { font-size: clamp(54px, 12vw, 72px); }
  .inner-page.page-faq .home-faq-item summary { gap: 18px; padding: 21px 0; font-size: 17px; }
  .inner-page.page-contact .contact-layout { width: calc(100% - 40px); padding-top: 42px; padding-bottom: 58px; }
  .inner-page.page-process .process-grid { grid-template-columns: minmax(0,1fr) !important; }
  .inner-page.page-process .section-head { align-items: flex-start; }
  .inner-page.page-work > .portfolio-gallery-section { width: calc(100% - 20px); margin-top: 10px; border-radius: 27px; }
  .inner-page.page-work .portfolio-gallery-section .container { width: calc(100% - 36px); }
  .inner-page.page-project .portfolio-case-study { width: calc(100% - 40px); }
}
@media (max-width: 480px) {
  .inner-page.page-faq > .faq-page-section > .container { width: calc(100% - 32px); }
  .inner-page.page-faq .home-faq-heading { margin-bottom: 40px; }
  .inner-page.page-faq .home-faq-answer-inner { padding-right: 18px; }
  .inner-page.page-contact .contact-layout { width: calc(100% - 32px); }
  .inner-page.page-contact .contact-form { padding: 20px 16px; border-radius: 22px; }
}
/* The nested project mockup retains its own inherited ink colour and artwork styling. */
.inner-page.page-project .project-detail-art { color: var(--ink); }

/* INNER-PAGE CAPSULE CLEARANCE — keep each page's first visual panel clearly below
   the shared floating capsule. Apply one consistent offset to all inner routes and
   remove per-panel top margins so no page gets a doubled gap. Homepage is untouched. */
.inner-page {
  padding-top: 16px !important;
}
.inner-page > :first-child {
  margin-top: 0 !important;
}
@media (max-width: 760px) {
  .inner-page {
    padding-top: 12px !important;
  }
}


/* WEBSITE DESIGN & DEVELOPMENT ONLY — white-page treatment.
   Keep other service-detail routes on their existing navy/purple theme. */
.inner-page.page-service.page-service-website-design-development {
  color: #202237;
  background: #fff;
}
html[data-theme="light"] .inner-page.page-service.page-service-website-design-development > .page-hero,
html[data-theme="dark"] .inner-page.page-service.page-service-website-design-development > .page-hero,
.inner-page.page-service.page-service-website-design-development > .page-hero {
  color: #202237;
  background-color: #fff;
  background-image:
    radial-gradient(ellipse at 88% 0%, rgba(216,206,255,.40), transparent 35%),
    radial-gradient(ellipse at 4% 100%, rgba(118,82,233,.06), transparent 40%),
    linear-gradient(140deg, #fff 0%, #fff 56%, #faf8ff 100%);
  border: 1px solid rgba(118,82,233,.18);
  box-shadow: 0 20px 54px rgba(35,27,70,.07), inset 0 1px 0 rgba(255,255,255,.95);
}
html[data-theme="light"] .inner-page.page-service.page-service-website-design-development > .page-hero::before,
html[data-theme="dark"] .inner-page.page-service.page-service-website-design-development > .page-hero::before,
.inner-page.page-service.page-service-website-design-development > .page-hero::before {
  border-color: rgba(118,82,233,.13);
  box-shadow: 0 0 0 24px rgba(118,82,233,.025), 0 0 0 54px rgba(118,82,233,.018), 0 0 0 92px rgba(118,82,233,.012);
}
html[data-theme="light"] .inner-page.page-service.page-service-website-design-development > .page-hero::after,
html[data-theme="dark"] .inner-page.page-service.page-service-website-design-development > .page-hero::after,
.inner-page.page-service.page-service-website-design-development > .page-hero::after {
  border-color: rgba(118,82,233,.14);
  box-shadow: 0 0 0 25px rgba(118,82,233,.025), 0 0 0 58px rgba(118,82,233,.015);
}
.inner-page.page-service.page-service-website-design-development > .page-hero .eyebrow,
.inner-page.page-service.page-service-website-design-development > .page-hero .mono {
  color: #67617b;
}
.inner-page.page-service.page-service-website-design-development > .page-hero .eyebrow::before {
  background: #7652e9;
}
html[data-theme="light"] .inner-page.page-service.page-service-website-design-development > .page-hero h1,
html[data-theme="dark"] .inner-page.page-service.page-service-website-design-development > .page-hero h1,
.inner-page.page-service.page-service-website-design-development > .page-hero h1 {
  color: #171b2e;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #171b2e;
}
html[data-theme="light"] .inner-page.page-service.page-service-website-design-development > .page-hero h1 em,
html[data-theme="dark"] .inner-page.page-service.page-service-website-design-development > .page-hero h1 em,
.inner-page.page-service.page-service-website-design-development > .page-hero h1 em {
  color: #7652e9;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #7652e9;
}
.inner-page.page-service.page-service-website-design-development > .page-hero p {
  color: #616477;
}
.inner-page.page-service.page-service-website-design-development > .section,
.inner-page.page-service.page-service-website-design-development > .section-small {
  color: #202237;
  background: #fff;
}
.inner-page.page-service.page-service-website-design-development .section-head h2,
.inner-page.page-service.page-service-website-design-development .section-head h2 em,
.inner-page.page-service.page-service-website-design-development .about-split h2,
.inner-page.page-service.page-service-website-development .about-split h2 em {
  color: #202237;
}
.inner-page.page-service.page-service-website-design-development .section-head h2 em,
.inner-page.page-service.page-service-website-design-development .about-split h2 em {
  color: #7652e9;
}
.inner-page.page-service.page-service-website-design-development .section-head > p,
.inner-page.page-service.page-service-website-design-development .about-split p {
  color: #626578;
}
.inner-page.page-service.page-service-website-design-development .section-head .eyebrow,
.inner-page.page-service.page-service-website-design-development .about-split .eyebrow {
  color: #716c84;
}
.inner-page.page-service.page-service-website-design-development .section-head .eyebrow::before,
.inner-page.page-service.page-service-website-design-development .about-split .eyebrow::before {
  background: #7652e9;
}
.inner-page.page-service.page-service-website-design-development .detail-card {
  color: #202237;
  background: linear-gradient(145deg, #fff 0%, #fcfbff 100%);
  border: 1px solid rgba(118,82,233,.17);
  box-shadow: 0 12px 32px rgba(35,27,70,.055), inset 0 1px 0 #fff;
}
.inner-page.page-service.page-service-website-design-development .detail-card:hover {
  background: #fff;
  border-color: rgba(118,82,233,.42);
  box-shadow: 0 18px 38px rgba(35,27,70,.09), 0 0 0 1px rgba(118,82,233,.035);
}
.inner-page.page-service.page-service-website-design-development .detail-card .detail-top {
  color: #77718e;
}
.inner-page.page-service.page-service-website-design-development .detail-card h3 {
  color: #202237;
}
.inner-page.page-service.page-service-website-design-development .detail-card p {
  color: #626578;
}
.inner-page.page-service.page-service-website-design-development .detail-card .text-link,
.inner-page.page-service.page-service-website-design-development .about-split .text-link {
  color: #6745c8;
  border-bottom-color: rgba(103,69,200,.30);
}
.inner-page.page-service.page-service-website-design-development .detail-card .text-link:hover,
.inner-page.page-service.page-service-website-design-development .about-split .text-link:hover {
  color: #4e319e;
  border-bottom-color: #7652e9;
}
.inner-page.page-service.page-service-website-design-development .about-split {
  background: #fff;
  color: #202237;
  border-color: rgba(118,82,233,.13);
}
.inner-page.page-service.page-service-website-design-development .about-split strong {
  color: #25233c;
}
.inner-page.page-service.page-service-website-design-development .capability-tags span,
.inner-page.page-service.page-service-website-design-development .capability-tags span:nth-child(n) {
  color: #4e3d80;
  background: #f7f4ff;
  border-color: rgba(118,82,233,.16);
}
.inner-page.page-service.page-service-website-design-development .capability-tags span:hover,
.inner-page.page-service.page-service-website-design-development .capability-tags span:nth-child(n):hover {
  color: #3a286f;
  background: #eee8ff;
  border-color: rgba(118,82,233,.35);
}
.inner-page.page-service.page-service-website-design-development .cta-panel {
  color: #202237;
  background:
    radial-gradient(ellipse at 90% 0%, rgba(216,206,255,.50), transparent 36%),
    linear-gradient(140deg, #fff 0%, #faf8ff 100%);
  border: 1px solid rgba(118,82,233,.18);
  box-shadow: 0 18px 42px rgba(35,27,70,.065), inset 0 1px 0 #fff;
}
.inner-page.page-service.page-service-website-design-development .cta-panel h2 {
  color: #202237;
}
.inner-page.page-service.page-service-website-design-development .cta-panel h2 em {
  color: #7652e9;
}
.inner-page.page-service.page-service-website-design-development .cta-panel p {
  color: #626578;
}
.inner-page.page-service.page-service-website-design-development .cta-panel .eyebrow {
  color: #716c84;
}
.inner-page.page-service.page-service-website-design-development .cta-panel .eyebrow::before {
  background: #7652e9;
}
.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-dark,
.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-primary,
.inner-page.page-service.page-service-website-design-development .btn.btn-primary {
  color: #fff;
  background: #4b2a8b;
  border-color: #4b2a8b;
  box-shadow: 0 8px 22px rgba(75,42,139,.17);
}
.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-dark:hover,
.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-primary:hover,
.inner-page.page-service.page-service-website-design-development .btn.btn-primary:hover {
  color: #fff;
  background: #6545c5;
  border-color: #6545c5;
}
.inner-page.page-service.page-service-website-design-development a:focus-visible,
.inner-page.page-service.page-service-website-design-development button:focus-visible {
  outline-color: #7652e9;
}

/* WEBSITE DESIGN & DEVELOPMENT PAGE — definitive white-canvas correction.
   Scoped through #app + the route class, so homepage and all other routes keep
   their existing themes. All scope cards intentionally share one white fill. */
#app > main.inner-page.page-service.page-service-website-design-development {
  color: #202237;
  background: #ffffff;
  background-image: none;
}

#app > main.inner-page.page-service.page-service-website-design-development > .page-hero {
  color: #202237;
  background-color: #ffffff;
  background-image:
    radial-gradient(ellipse at 88% 0%, rgba(216,206,255,.30), transparent 35%),
    linear-gradient(140deg, #ffffff 0%, #ffffff 68%, #fcfbff 100%);
  border: 1px solid rgba(118,82,233,.16);
  box-shadow: 0 16px 42px rgba(35,27,70,.045), inset 0 1px 0 #ffffff;
  margin-top: 0;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero::before {
  border-color: rgba(118,82,233,.10);
  box-shadow: 0 0 0 24px rgba(118,82,233,.022), 0 0 0 54px rgba(118,82,233,.014), 0 0 0 92px rgba(118,82,233,.008);
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero::after {
  border-color: rgba(118,82,233,.10);
  box-shadow: 0 0 0 25px rgba(118,82,233,.018), 0 0 0 58px rgba(118,82,233,.01);
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .eyebrow,
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .mono {
  color: #6b6680;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .eyebrow::before {
  background: #7652e9;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero h1 {
  color: #171b2e;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #171b2e;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero h1 em {
  color: #7652e9;
  background: none;
  background-image: none;
  -webkit-text-fill-color: #7652e9;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero p {
  color: #626578;
}

#app > main.inner-page.page-service.page-service-website-design-development > .section,
#app > main.inner-page.page-service.page-service-website-design-development > .section-small {
  color: #202237;
  background: #ffffff;
  background-image: none;
}
#app > main.inner-page.page-service.page-service-website-design-development .section-head h2,
#app > main.inner-page.page-service.page-service-website-design-development .section-head h2 em,
#app > main.inner-page.page-service.page-service-website-design-development .about-split h2,
#app > main.inner-page.page-service.page-service-website-design-development .about-split h2 em {
  color: #202237;
  -webkit-text-fill-color: #202237;
}
#app > main.inner-page.page-service.page-service-website-design-development .section-head h2 em,
#app > main.inner-page.page-service.page-service-website-design-development .about-split h2 em {
  color: #7652e9;
  -webkit-text-fill-color: #7652e9;
}
#app > main.inner-page.page-service.page-service-website-design-development .section-head > p,
#app > main.inner-page.page-service.page-service-website-design-development .about-split p {
  color: #626578;
}
#app > main.inner-page.page-service.page-service-website-design-development .section-head .eyebrow,
#app > main.inner-page.page-service.page-service-website-design-development .about-split .eyebrow {
  color: #716c84;
}
#app > main.inner-page.page-service.page-service-website-design-development .section-head .eyebrow::before,
#app > main.inner-page.page-service.page-service-website-design-development .about-split .eyebrow::before {
  background: #7652e9;
}

/* Every website-development scope card uses the exact same white fill. */
#app > main.inner-page.page-service.page-service-website-design-development .detail-card,
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:nth-child(n),
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:hover,
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:focus-within {
  color: #202237;
  background-color: #ffffff;
  background-image: none;
  border: 1px solid rgba(118,82,233,.18);
  box-shadow: 0 10px 28px rgba(35,27,70,.045), inset 0 1px 0 #ffffff;
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:hover,
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:focus-within {
  border-color: rgba(118,82,233,.42);
  box-shadow: 0 14px 32px rgba(35,27,70,.075), inset 0 1px 0 #ffffff;
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card .detail-top {
  color: #77718e;
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card h3 {
  color: #202237;
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card p {
  color: #626578;
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card .text-link,
#app > main.inner-page.page-service.page-service-website-design-development .about-split .text-link {
  color: #6745c8;
  border-bottom-color: rgba(103,69,200,.30);
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card .text-link:hover,
#app > main.inner-page.page-service.page-service-website-design-development .about-split .text-link:hover {
  color: #4e319e;
  border-bottom-color: #7652e9;
}

#app > main.inner-page.page-service.page-service-website-design-development .about-split {
  color: #202237;
  background: #ffffff;
  background-image: none;
  border-color: rgba(118,82,233,.12);
}
#app > main.inner-page.page-service.page-service-website-design-development .about-split strong {
  color: #25233c;
}
#app > main.inner-page.page-service.page-service-website-design-development .capability-tags span,
#app > main.inner-page.page-service.page-service-website-design-development .capability-tags span:nth-child(n) {
  color: #4e3d80;
  background: #f7f4ff;
  background-image: none;
  border-color: rgba(118,82,233,.16);
}
#app > main.inner-page.page-service.page-service-website-design-development .capability-tags span:hover,
#app > main.inner-page.page-service.page-service-website-design-development .capability-tags span:nth-child(n):hover {
  color: #3a286f;
  background: #eee8ff;
  border-color: rgba(118,82,233,.35);
}

#app > main.inner-page.page-service.page-service-website-design-development .cta-panel {
  color: #202237;
  background: linear-gradient(140deg, #ffffff 0%, #fcfaff 100%);
  border: 1px solid rgba(118,82,233,.17);
  box-shadow: 0 14px 36px rgba(35,27,70,.05), inset 0 1px 0 #ffffff;
}
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel::after {
  border-color: rgba(118,82,233,.12);
  box-shadow: 0 0 0 36px rgba(118,82,233,.025), 0 0 0 72px rgba(118,82,233,.015);
}
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel h2 {
  color: #202237;
}
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel h2 em {
  color: #7652e9;
}
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel p {
  color: #626578;
}
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel .eyebrow {
  color: #716c84;
}
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel .eyebrow::before {
  background: #7652e9;
}
#app > main.inner-page.page-service.page-service-website-design-development .btn.btn-primary,
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-dark,
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-primary {
  color: #ffffff;
  background: #4b2a8b;
  border-color: #4b2a8b;
  box-shadow: 0 8px 22px rgba(75,42,139,.15);
}
#app > main.inner-page.page-service.page-service-website-design-development .btn.btn-primary:hover,
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-dark:hover,
#app > main.inner-page.page-service.page-service-website-design-development .cta-panel .btn.btn-primary:hover {
  color: #ffffff;
  background: #6545c5;
  border-color: #6545c5;
}
#app > main.inner-page.page-service.page-service-website-design-development a:focus-visible,
#app > main.inner-page.page-service.page-service-website-design-development button:focus-visible {
  outline-color: #7652e9;
}


/* WEBSITE DESIGN & DEVELOPMENT — restore the original purple hero card.
   Only the canvas behind the hero stays white. Scope cards remain uniform white.
   All rules are limited to this single service-detail route. */
#app > main.inner-page.page-service.page-service-website-design-development {
  color: #202237;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero {
  color: #f7f7ff !important;
  background-color: #151a35 !important;
  background-image:
    radial-gradient(ellipse at 88% 0%, rgba(118, 82, 190, .28), transparent 36%),
    linear-gradient(145deg, #0d1928 0%, #171c39 48%, #43267d 100%) !important;
  border: 1px solid rgba(206, 191, 255, .24) !important;
  box-shadow: 0 20px 54px rgba(35, 27, 70, .12), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero::before {
  border-color: rgba(255,255,255,.085) !important;
  box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.018), 0 0 0 92px rgba(255,255,255,.012) !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero::after {
  border-color: rgba(214,197,255,.12) !important;
  box-shadow: 0 0 0 25px rgba(214,197,255,.025), 0 0 0 58px rgba(214,197,255,.016) !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .eyebrow,
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .mono {
  color: #d4d0e6 !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .eyebrow::before {
  background: #cbb7ff !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero h1 {
  color: #fbfaff !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #fbfaff !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero h1 em {
  color: #d5c4ff !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #d5c4ff !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero p {
  color: rgba(246,245,255,.77) !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .btn.btn-primary {
  color: #241a3d !important;
  background: #d8caff !important;
  border-color: #d8caff !important;
  box-shadow: none !important;
}
#app > main.inner-page.page-service.page-service-website-design-development > .page-hero .btn.btn-primary:hover {
  color: #241a3d !important;
  background: #e6dcff !important;
  border-color: #e6dcff !important;
}
/* Keep the page canvas and all lower sections white; keep all scope cards equal. */
#app > main.inner-page.page-service.page-service-website-design-development > .section,
#app > main.inner-page.page-service.page-service-website-design-development > .section-small {
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-service.page-service-website-design-development .detail-card,
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:nth-child(n),
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:hover,
#app > main.inner-page.page-service.page-service-website-design-development .detail-card:focus-within {
  background: #ffffff !important;
  background-image: none !important;
  color: #202237 !important;
}


/* CONTACT PAGE — white canvas behind the existing content cards.
   Preserve the dark purple hero card and the current form-card treatment.
   These selectors are scoped only to the contact route. */
#app > main.inner-page.page-contact {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-contact .contact-layout {
  color: #202237 !important;
  background: transparent !important;
}
#app > main.inner-page.page-contact .contact-aside .eyebrow {
  color: #6d6882 !important;
}
#app > main.inner-page.page-contact .contact-aside .eyebrow::before {
  background: #7652e9 !important;
}
#app > main.inner-page.page-contact .contact-aside h2 {
  color: #202237 !important;
}
#app > main.inner-page.page-contact .contact-aside > p,
#app > main.inner-page.page-contact .contact-aside .contact-note p {
  color: #626578 !important;
}
#app > main.inner-page.page-contact .contact-note {
  color: #202237 !important;
  background: #f8f6ff !important;
  border: 1px solid rgba(118,82,233,.17) !important;
  border-radius: 18px;
  box-shadow: 0 10px 28px rgba(35,27,70,.045), inset 0 1px 0 #fff !important;
  padding: 18px 20px 16px;
}
#app > main.inner-page.page-contact .contact-note .mono {
  color: #6c50b2 !important;
}
#app > main.inner-page.page-contact .contact-note .text-link {
  color: #4b2a8b !important;
  border-bottom-color: rgba(98,66,199,.32) !important;
}
#app > main.inner-page.page-contact .contact-note .text-link:hover {
  color: #7652e9 !important;
  border-bottom-color: #7652e9 !important;
}
#app > main.inner-page.page-contact .contact-form {
  border-color: rgba(118,82,233,.20) !important;
  box-shadow: 0 20px 54px rgba(35,27,70,.085), inset 0 1px 0 rgba(255,255,255,.95) !important;
}

/* FAQ PAGE — white canvas behind the retained midnight FAQ card.
   Only the dedicated FAQ route is affected; the homepage FAQ stays untouched. */
#app > main.inner-page.page-faq {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-faq > .faq-page-section {
  width: min(1500px, calc(100% - 64px)) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: clamp(42px, 5.4vw, 82px) 0 clamp(46px, 5.6vw, 78px) !important;
  border: 1px solid rgba(216,206,255,.22) !important;
  border-radius: clamp(28px, 3.6vw, 48px) !important;
  color: #ffffff !important;
  background:
    radial-gradient(ellipse at 91% 0%, rgba(89,119,143,.25), transparent 33%),
    radial-gradient(ellipse at 4% 105%, rgba(118,82,233,.12), transparent 42%),
    linear-gradient(133deg, #0d1727 0%, #13263a 51%, #0c1726 100%) !important;
  box-shadow: 0 20px 54px rgba(35,27,70,.08), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
#app > main.inner-page.page-faq > .section-small {
  color: #202237 !important;
  background: #ffffff !important;
}
@media (max-width: 760px) {
  #app > main.inner-page.page-faq > .faq-page-section {
    width: calc(100% - 20px) !important;
    padding: 42px 0 48px !important;
    border-radius: 27px !important;
  }
}
@media (max-width: 480px) {
  #app > main.inner-page.page-faq > .faq-page-section {
    width: calc(100% - 16px) !important;
    padding: 38px 0 42px !important;
    border-radius: 24px !important;
  }
}

/* HOW WE WORK (/process) — white canvas behind the existing purple cards.
   Keep the hero and CTA panels dark purple; only the outer page and sections turn white. */
#app > main.inner-page.page-process {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-process > .section,
#app > main.inner-page.page-process > .section-small {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-process .section-head h2,
#app > main.inner-page.page-process .section-head h2 em,
#app > main.inner-page.page-process .about-split h2,
#app > main.inner-page.page-process .about-split h2 em {
  color: #202237 !important;
  -webkit-text-fill-color: #202237 !important;
  background: none !important;
  background-image: none !important;
}
#app > main.inner-page.page-process .section-head h2 em,
#app > main.inner-page.page-process .about-split h2 em {
  color: #7652e9 !important;
  -webkit-text-fill-color: #7652e9 !important;
}
#app > main.inner-page.page-process .section-head > p,
#app > main.inner-page.page-process .about-split p {
  color: #626578 !important;
}
#app > main.inner-page.page-process .section .eyebrow,
#app > main.inner-page.page-process .section-small .eyebrow {
  color: #716c84 !important;
}
#app > main.inner-page.page-process .section .eyebrow::before,
#app > main.inner-page.page-process .section-small .eyebrow::before {
  background: #7652e9 !important;
}
#app > main.inner-page.page-process .process-card,
#app > main.inner-page.page-process .process-card:nth-child(n),
#app > main.inner-page.page-process .process-card:hover,
#app > main.inner-page.page-process .process-card:nth-child(n):hover,
#app > main.inner-page.page-process .detail-card,
#app > main.inner-page.page-process .detail-card:hover {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(118,82,233,.18) !important;
  box-shadow: 0 12px 32px rgba(35,27,70,.055), inset 0 1px 0 #ffffff !important;
}
#app > main.inner-page.page-process .process-card:hover,
#app > main.inner-page.page-process .process-card:nth-child(n):hover,
#app > main.inner-page.page-process .detail-card:hover {
  border-color: rgba(118,82,233,.42) !important;
  box-shadow: 0 18px 38px rgba(35,27,70,.09), 0 0 0 1px rgba(118,82,233,.035) !important;
}
#app > main.inner-page.page-process .process-card .process-num,
#app > main.inner-page.page-process .detail-card .detail-top {
  color: #716c84 !important;
}
#app > main.inner-page.page-process .process-card h3,
#app > main.inner-page.page-process .detail-card h3 {
  color: #202237 !important;
}
#app > main.inner-page.page-process .process-card p,
#app > main.inner-page.page-process .detail-card p {
  color: #626578 !important;
}
#app > main.inner-page.page-process .process-card .process-icon {
  color: #4b3292 !important;
  background: #f3efff !important;
  border: 1px solid rgba(118,82,233,.18) !important;
}
#app > main.inner-page.page-process .about-split .text-link {
  color: #6745c8 !important;
  border-bottom-color: rgba(103,69,200,.3) !important;
}
#app > main.inner-page.page-process .about-split .text-link:hover {
  color: #4e319e !important;
  border-bottom-color: #7652e9 !important;
}
/* Preserve the original dark purple CTA card against the new white canvas. */
#app > main.inner-page.page-process .cta-panel {
  color: #ffffff !important;
  background:
    radial-gradient(ellipse at 88% 3%, rgba(216,206,255,.16), transparent 34%),
    linear-gradient(137deg, #10172c 0%, #1b1a3d 55%, #432887 100%) !important;
  border: 1px solid rgba(216,206,255,.20) !important;
  box-shadow: 0 22px 58px rgba(5,7,20,.12) !important;
}
#app > main.inner-page.page-process .cta-panel h2 { color: #ffffff !important; }
#app > main.inner-page.page-process .cta-panel h2 em { color: #d8ceff !important; }
#app > main.inner-page.page-process .cta-panel p { color: rgba(255,255,255,.78) !important; }
#app > main.inner-page.page-process .cta-panel .eyebrow { color: rgba(255,255,255,.78) !important; }
#app > main.inner-page.page-process .cta-panel .eyebrow::before { background: #d8ceff !important; }


/* SELECTED WORK (/work) — white page canvas; preserve all project artwork and card visuals.
   Scoped to this route so homepage portfolio sections and project-detail pages are untouched. */
#app > main.inner-page.page-work {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-work > .portfolio-gallery-section,
#app > main.inner-page.page-work > .portfolio-gallery-section.portfolio-cards-only {
  color: #202237 !important;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  border: 0 !important;
  box-shadow: none !important;
}
#app > main.inner-page.page-work .portfolio-section-heading > h1,
#app > main.inner-page.page-work .portfolio-section-heading > h2 {
  color: #202237 !important;
  -webkit-text-fill-color: #202237 !important;
  background: none !important;
  background-image: none !important;
}
#app > main.inner-page.page-work .portfolio-section-eyebrow {
  color: #716c84 !important;
}
#app > main.inner-page.page-work .portfolio-section-eyebrow::before {
  background: #7652e9 !important;
}
/* Keep the actual portfolio artwork/card colours, aspect ratios, hover motion and media untouched. */


/* INDIVIDUAL SERVICE DETAIL PAGES — white canvas, consistent purple hero.
   Website Development already has its own approved version above. This rule
   set aligns the other five service-detail routes without touching the homepage,
   general Services listing, project pages, or shared navigation/footer. */
#app > main.inner-page.page-service:not(.page-service-website-design-development) {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero {
  color: #f7f6ff !important;
  background-color: #151a35 !important;
  background-image:
    radial-gradient(ellipse at 88% 0%, rgba(118,82,190,.28), transparent 36%),
    linear-gradient(145deg, #0d1928 0%, #171c39 48%, #43267d 100%) !important;
  border: 1px solid rgba(206,191,255,.24) !important;
  box-shadow: 0 20px 54px rgba(35,27,70,.12), inset 0 1px 0 rgba(255,255,255,.035) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero::before {
  border-color: rgba(255,255,255,.085) !important;
  box-shadow: 0 0 0 24px rgba(255,255,255,.025), 0 0 0 54px rgba(255,255,255,.018), 0 0 0 92px rgba(255,255,255,.012) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero::after {
  border-color: rgba(214,197,255,.12) !important;
  box-shadow: 0 0 0 25px rgba(214,197,255,.025), 0 0 0 58px rgba(214,197,255,.016) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero .eyebrow,
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero .mono {
  color: #d4d0e6 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero .eyebrow::before {
  background: #cbb7ff !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero h1 {
  color: #fbfaff !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #fbfaff !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero h1 em {
  color: #d5c4ff !important;
  background: none !important;
  background-image: none !important;
  -webkit-text-fill-color: #d5c4ff !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero p {
  color: rgba(246,245,255,.78) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .section,
#app > main.inner-page.page-service:not(.page-service-website-design-development) > .section-small {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .section-head h2,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .section-head h2 em,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split h2,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split h2 em {
  color: #202237 !important;
  -webkit-text-fill-color: #202237 !important;
  background: none !important;
  background-image: none !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .section-head h2 em,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split h2 em {
  color: #7652e9 !important;
  -webkit-text-fill-color: #7652e9 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .section-head > p,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split p {
  color: #626578 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .section-head .eyebrow,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split .eyebrow {
  color: #716c84 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .section-head .eyebrow::before,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split .eyebrow::before {
  background: #7652e9 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card:nth-child(n),
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card:hover,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card:focus-within {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(118,82,233,.18) !important;
  box-shadow: 0 10px 28px rgba(35,27,70,.045), inset 0 1px 0 #ffffff !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card:hover,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card:focus-within {
  border-color: rgba(118,82,233,.42) !important;
  box-shadow: 0 14px 32px rgba(35,27,70,.075), inset 0 1px 0 #ffffff !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card .detail-top { color: #77718e !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card h3 { color: #202237 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card p { color: #626578 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card .text-link,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split .text-link {
  color: #6745c8 !important;
  border-bottom-color: rgba(103,69,200,.30) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .detail-card .text-link:hover,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split .text-link:hover {
  color: #4e319e !important;
  border-bottom-color: #7652e9 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
  border-color: rgba(118,82,233,.12) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .about-split strong { color: #25233c !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band {
  color: #202237 !important;
  background: #ffffff !important;
  background-image: none !important;
  border: 1px solid rgba(118,82,233,.18) !important;
  box-shadow: 0 12px 30px rgba(35,27,70,.045) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band h2,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band h2 em { color: #202237 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band h2 em { color: #7652e9 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band p { color: #626578 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band .eyebrow { color: #716c84 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-band .eyebrow::before { background: #7652e9 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-tags span,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-tags span:nth-child(n) {
  color: #4e3d80 !important;
  background: #f7f4ff !important;
  background-image: none !important;
  border-color: rgba(118,82,233,.16) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-tags span:hover,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .capability-tags span:nth-child(n):hover {
  color: #3a286f !important;
  background: #eee8ff !important;
  border-color: rgba(118,82,233,.35) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel {
  color: #202237 !important;
  background: linear-gradient(140deg, #ffffff 0%, #fcfaff 100%) !important;
  border: 1px solid rgba(118,82,233,.17) !important;
  box-shadow: 0 14px 36px rgba(35,27,70,.05), inset 0 1px 0 #ffffff !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel::after {
  border-color: rgba(118,82,233,.12) !important;
  box-shadow: 0 0 0 36px rgba(118,82,233,.025), 0 0 0 72px rgba(118,82,233,.015) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel h2 { color: #202237 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel h2 em { color: #7652e9 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel p { color: #626578 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel .eyebrow { color: #716c84 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel .eyebrow::before { background: #7652e9 !important; }
#app > main.inner-page.page-service:not(.page-service-website-design-development) .btn.btn-primary,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel .btn.btn-dark,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel .btn.btn-primary {
  color: #ffffff !important;
  background: #4b2a8b !important;
  border-color: #4b2a8b !important;
  box-shadow: 0 8px 22px rgba(75,42,139,.15) !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) .btn.btn-primary:hover,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel .btn.btn-dark:hover,
#app > main.inner-page.page-service:not(.page-service-website-design-development) .cta-panel .btn.btn-primary:hover {
  color: #ffffff !important;
  background: #6545c5 !important;
  border-color: #6545c5 !important;
}
#app > main.inner-page.page-service:not(.page-service-website-design-development) a:focus-visible,
#app > main.inner-page.page-service:not(.page-service-website-design-development) button:focus-visible { outline-color: #7652e9 !important; }
@media (max-width: 760px) {
  #app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero {
    width: calc(100% - 20px) !important;
    border-radius: 27px !important;
  }
}
@media (max-width: 480px) {
  #app > main.inner-page.page-service:not(.page-service-website-design-development) > .page-hero {
    width: calc(100% - 16px) !important;
    border-radius: 24px !important;
  }
}

/* HOME INSIGHTS — editorial presentation inspired by the supplied reference.
   Strictly scoped to the homepage Insights section. */
section.section.home-insights-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  width: 100% !important;
  max-width: none;
  margin: 0 !important;
  padding: clamp(42px, 5.25vw, 74px) clamp(14px, 5.25vw, 74px) !important;
  border-radius: 0 !important;
  color: #f8f6f4;
  background: linear-gradient(128deg, #631711 0%, #b52b20 28%, #7a1a15 58%, #260b09 100%);
}
.home-insights-section::before,
.home-insights-section::after {
  content: "";
  position: absolute;
  inset: 0;
  width: auto;
  height: auto;
  border: 0;
  border-radius: 0;
  pointer-events: none;
}
.home-insights-section::before {
  z-index: 0;
  background:
    radial-gradient(ellipse at 7% 15%, rgba(255, 120, 78, .68), transparent 31%),
    radial-gradient(ellipse at 83% 13%, rgba(210, 50, 36, .65), transparent 30%),
    radial-gradient(ellipse at 60% 110%, rgba(18, 4, 4, .7), transparent 49%);
  filter: blur(12px);
  opacity: .95;
}
.home-insights-section::after {
  z-index: 0;
  background: repeating-linear-gradient(132deg, rgba(255, 205, 170, .035) 0 1px, transparent 1px 11px);
  mix-blend-mode: soft-light;
  opacity: .55;
}
.home-insights-section > .container {
  position: relative;
  z-index: 1;
  width: min(1260px, 100%) !important;
  max-width: 1260px;
  margin-inline: auto;
  padding: clamp(28px, 3vw, 42px) clamp(22px, 2.2vw, 32px) clamp(30px, 3.4vw, 48px);
  border: 3px solid #f4bda0;
  border-radius: clamp(28px, 3.2vw, 44px);
  background: #0a0b0c;
  box-shadow: 0 24px 74px rgba(22, 3, 2, .24);
}
.home-insights-section .home-insights-head {
  display: grid;
  grid-template-columns: minmax(190px, .78fr) minmax(0, 1.22fr);
  align-items: start;
  justify-content: initial;
  gap: clamp(42px, 8vw, 126px);
  margin: 0 0 clamp(48px, 5.4vw, 76px);
}
.home-insights-section .home-insights-intro {
  display: grid;
  align-content: start;
  justify-items: start;
  gap: 23px;
  max-width: 245px;
  padding-top: clamp(24px, 5vw, 74px);
}
.home-insights-section .home-insights-intro p {
  margin: 0;
  max-width: 235px;
  color: #c3c0be;
  font-size: 12px;
  line-height: 1.7;
}
.home-insights-section .home-insights-visit {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 13px;
  width: auto;
  min-height: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #f17b5f;
  background: transparent;
  font-size: 12px;
  line-height: 1.5;
  font-weight: 600;
  text-align: left;
  transition: color .22s ease;
}
.home-insights-section .home-insights-visit span {
  display: inline-block;
  font-size: 18px;
  line-height: 1;
  transition: transform .22s ease;
}
.home-insights-section .home-insights-visit:hover {
  color: #ffc0a5;
  background: transparent;
  border-color: transparent;
  transform: none;
}
.home-insights-section .home-insights-visit:hover span { transform: translateX(4px); }
.home-insights-section .home-insights-eyebrow {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 22px;
  color: #edca9c;
  font-size: 9px;
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: .04em;
}
.home-insights-section .home-insights-eyebrow::before {
  content: "";
  width: 4px;
  height: 4px;
  flex: 0 0 4px;
  border-radius: 50%;
  background: #edca9c;
}
.home-insights-section .home-insights-heading h2 {
  max-width: 600px;
  margin: 0;
  color: #f8f7f6;
  font-size: clamp(39px, 4.15vw, 58px);
  line-height: 1.04;
  letter-spacing: -.065em;
  font-weight: 500;
}
.home-insights-section .home-insights-heading h2 em {
  color: #9a999a;
  font-style: normal;
  font-weight: 500;
}
.home-insights-section .home-insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: start;
  gap: clamp(22px, 4vw, 54px);
}
.home-insights-section .home-insight-card {
  min-width: 0;
  min-height: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  border: 0;
  border-radius: 0;
  color: #f8f6f4;
  background: transparent;
  text-decoration: none;
  box-shadow: none;
  transition: opacity .22s ease;
}
.home-insights-section .home-insight-card:nth-child(2) { margin-top: clamp(28px, 4vw, 56px); }
.home-insights-section .home-insight-card:nth-child(3) { margin-top: clamp(54px, 7.9vw, 110px); }
.home-insights-section .home-insight-card:hover {
  border: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
  transform: none;
  opacity: .96;
}
.home-insights-section .home-insight-art {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 1.17 / 1;
  overflow: hidden;
  isolation: isolate;
  margin: 0;
  border-radius: 20px;
  background: #302019;
}
.home-insights-section .home-insight-photo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transform: scale(1);
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
}
.home-insights-section .home-insight-card:hover .home-insight-photo { transform: scale(1.035); }
.home-insights-section .home-insight-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
  margin: 15px 0 0;
  color: #e7e4e2;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 9px;
  line-height: 1.2;
  text-transform: none;
  letter-spacing: 0;
}
.home-insights-section .home-insight-meta span {
  display: inline-flex;
  align-items: center;
  min-height: 21px;
  padding: 4px 8px;
  border: 1px solid rgba(255,255,255,.13);
  border-radius: 999px;
  color: #eeeae7;
  background: rgba(255,255,255,.015);
}
.home-insights-section .home-insight-card h3 {
  margin: 17px 0 10px;
  color: #f5f4f2;
  font-size: clamp(18px, 1.48vw, 21px);
  line-height: 1.23;
  font-weight: 500;
  letter-spacing: -.045em;
}
.home-insights-section .home-insight-card p {
  margin: 0;
  color: #979494;
  font-size: 11px;
  line-height: 1.65;
  font-weight: 400;
}
.home-insights-section .home-insights-visit:focus-visible,
.home-insights-section .home-insight-card:focus-visible {
  outline: 2px solid #f4bda0;
  outline-offset: 5px;
}
@media (max-width: 900px) {
  .home-insights-section .container { padding: 32px 24px 36px; border-radius: 34px; }
  .home-insights-section .home-insights-head { grid-template-columns: minmax(150px, .75fr) minmax(0, 1.25fr); gap: 36px; margin-bottom: 52px; }
  .home-insights-section .home-insights-intro { padding-top: 26px; }
  .home-insights-section .home-insights-heading h2 { font-size: clamp(37px, 4.6vw, 48px); }
  .home-insights-section .home-insights-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 20px; }
  .home-insights-section .home-insight-card:nth-child(2) { margin-top: 34px; }
  .home-insights-section .home-insight-card:nth-child(3) { margin-top: 0; }
}
@media (max-width: 640px) {
  section.section.home-insights-section { padding: 28px 10px !important; }
  .home-insights-section > .container { padding: 25px 17px 28px; border-width: 2px; border-radius: 26px; }
  .home-insights-section .home-insights-head { grid-template-columns: minmax(0,1fr); gap: 20px; margin-bottom: 34px; }
  .home-insights-section .home-insights-heading { order: -1; }
  .home-insights-section .home-insights-eyebrow { margin-bottom: 15px; }
  .home-insights-section .home-insights-heading h2 { font-size: clamp(30px, 9vw, 44px); line-height: 1.05; letter-spacing: -.06em; }
  .home-insights-section .home-insights-intro { max-width: 100%; padding-top: 0; gap: 12px; }
  .home-insights-section .home-insights-intro p { max-width: 330px; font-size: 12px; }
  .home-insights-section .home-insights-grid { grid-template-columns: minmax(0,1fr); gap: 30px; }
  .home-insights-section .home-insight-card:nth-child(2),
  .home-insights-section .home-insight-card:nth-child(3) { margin-top: 0; }
  .home-insights-section .home-insight-art { aspect-ratio: 1.18 / 1; border-radius: 16px; }
  .home-insights-section .home-insight-card h3 { margin-top: 14px; font-size: 21px; }
  .home-insights-section .home-insight-card p { font-size: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .home-insights-section .home-insight-photo,
  .home-insights-section .home-insights-visit span,
  .home-insights-section .home-insight-card { transition: none !important; }
  .home-insights-section .home-insight-card:hover .home-insight-photo { transform: none; }
}

/* HOME INSIGHTS — remove the separate red backdrop and match the homepage FAQ card width.
   All changes are limited to the homepage Insights section. */
section.section.home-insights-section {
  width: calc(100% - 32px) !important;
  max-width: none !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: clamp(30px, 4vw, 58px) !important;
  background: transparent !important;
  box-shadow: none !important;
  overflow: hidden;
  box-sizing: border-box;
}
.home-insights-section::before,
.home-insights-section::after {
  display: none !important;
  content: none !important;
  background: none !important;
}
.home-insights-section > .container {
  width: 100% !important;
  max-width: none !important;
  margin: 0 auto !important;
  box-sizing: border-box;
  border-radius: inherit !important;
}
@media (max-width: 760px) {
  section.section.home-insights-section {
    width: calc(100% - 16px) !important;
    margin: 0 auto !important;
    border-radius: 28px !important;
  }
}
@media (max-width: 480px) {
  section.section.home-insights-section {
    width: calc(100% - 16px) !important;
    margin: 0 auto !important;
    border-radius: 24px !important;
  }
}

/* INSIGHTS FINISH — remove the shell border and add clear space before the homepage CTA.
   Scoped to the Insights section only; card content and other sections remain unchanged. */
.home-insights-section > .container {
  border: 0 !important;
}
section.section.home-insights-section {
  margin-block-end: clamp(42px, 5vw, 72px) !important;
}
@media (max-width: 760px) {
  section.section.home-insights-section {
    margin-block-end: 36px !important;
  }
}
@media (max-width: 480px) {
  section.section.home-insights-section {
    margin-block-end: 28px !important;
  }
}



/* Footer local date and live time — displayed directly above the copyright row. */
.site-footer .footer-local-datetime{display:flex;align-items:center;flex-wrap:wrap;gap:10px;padding:18px 0 16px;color:#A7AEA5;font-size:11px;line-height:1.45;}
.site-footer .footer-local-label{font:10px 'DM Mono',monospace;letter-spacing:.12em;text-transform:uppercase;color:#C9F36A;}
.site-footer .footer-local-date,.site-footer .footer-local-time{font:11px 'DM Mono',monospace;font-variant-numeric:tabular-nums;color:#A7AEA5;}
.site-footer .footer-local-separator{color:#C9F36A;}
@media(max-width:640px){.site-footer .footer-local-datetime{gap:8px;padding:15px 0 13px;font-size:10px;}.site-footer .footer-local-date,.site-footer .footer-local-time{font-size:10px;}}


/* CMS page content editor: scoped styles for the editable copy library. */
.cms-page-content-group{margin-top:14px}
.cms-copy-section-summary{cursor:pointer;list-style:none}
.cms-copy-section-summary::-webkit-details-marker,.cms-copy-item>summary::-webkit-details-marker{display:none}
.cms-copy-section-summary>span:first-child{display:grid;gap:5px;min-width:0}
.cms-copy-section-summary small,.cms-copy-item>summary small{color:#899188;font-size:10px;font-weight:400}
.cms-summary-indicator{flex:0 0 auto;color:var(--lime);font:9px 'DM Mono',monospace;text-transform:uppercase;letter-spacing:.06em}
.cms-copy-fields,.cms-copy-array{display:grid;gap:10px;min-width:0}
.cms-copy-item{border:1px solid #ffffff17;border-radius:9px;background:#141815;min-width:0;overflow:hidden}
.cms-copy-item>summary{display:flex;align-items:center;justify-content:space-between;gap:12px;list-style:none;cursor:pointer;padding:12px 14px;font-size:11px;color:#e8eee5}
.cms-copy-item>summary span{min-width:0;overflow-wrap:anywhere}
.cms-copy-item[open]>summary{border-bottom:1px solid #ffffff13;background:#1c211d}
.cms-copy-item-body{display:grid;gap:12px;padding:14px}
.cms-copy-field{margin-bottom:0}
.cms-copy-field textarea{min-height:84px}
.cms-copy-list-actions{display:flex;justify-content:flex-end;margin-bottom:12px}
.cms-copy-remove{justify-self:start;background:transparent;border:1px solid #e68b8b55;color:#e6a3a3;border-radius:7px;padding:8px 10px;font-size:10px;cursor:pointer}
.cms-copy-remove:hover{background:#e68b8b12;border-color:#e68b8b88}
@media(max-width:760px){.cms-copy-section-summary{align-items:flex-start}.cms-copy-item>summary{align-items:flex-start}.cms-copy-item>summary small{white-space:nowrap}}

/* ======================================================================
   CMS WORKSPACE REFRESH — Anthromini navy / deep purple / white / lavender palette
   Isolated to the private CMS and its login screen. Public site styling is
   intentionally left unchanged. Text and controls use readable contrast.
   ====================================================================== */
#app > .studio-login {
  --studio-ink: #202237;
  --studio-paper: #FFFFFF;
  --studio-purple: #7652E9;
  --studio-muted: #626578;
  display: grid;
  grid-template-rows: auto 1fr auto;
  gap: clamp(22px, 4vh, 40px);
  box-sizing: border-box;
  width: 100%;
  min-height: 100vh;
  min-height: 100svh;
  padding: clamp(20px, 4vw, 52px);
  overflow: hidden;
  color: var(--studio-ink);
  background:
    radial-gradient(ellipse at 82% 18%, rgba(118,82,233,.25), transparent 28%),
    radial-gradient(ellipse at 8% 90%, rgba(177,190,168,.18), transparent 32%),
    #F7F7FC;
}
#app > .studio-login .studio-login-top,
#app > .studio-login .studio-login-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: min(100%, 1240px);
  margin-inline: auto;
}
#app > .studio-login .studio-login-top .wordmark { color: var(--studio-ink); gap: 11px; font-size: 16px; }
#app > .studio-login .studio-login-top .wordmark-symbol {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  padding: 0;
  background: var(--studio-ink);
  color: var(--studio-purple);
  font-size: 22px;
}
#app > .studio-login .studio-login-top > .mono,
#app > .studio-login .studio-login-bottom > span {
  color: #626578;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .13em;
}
#app > .studio-login .studio-login-card {
  position: relative;
  isolation: isolate;
  justify-self: center;
  align-self: center;
  width: min(100%, 480px);
  margin: 0 auto;
  padding: clamp(27px, 5vw, 46px);
  overflow: hidden;
  color: var(--studio-ink);
  background: #FFFFFF;
  border: 1px solid rgba(16,23,44,.12);
  border-radius: 24px;
  box-shadow: 0 24px 70px rgba(16,23,44,.09), 0 2px 8px rgba(16,23,44,.035);
}
#app > .studio-login .studio-login-card::before {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0 0 auto;
  height: 5px;
  pointer-events: none;
  background: linear-gradient(90deg, #7652E9 0%, #D8CEFF 58%, #7652E9 100%);
}
#app > .studio-login .studio-login-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 25px;
  border-radius: 15px;
  color: var(--studio-purple);
  background: var(--studio-ink);
  font-size: 31px;
  font-weight: 800;
  letter-spacing: -.1em;
  line-height: 1;
}
#app > .studio-login .studio-login-mark span { color: var(--studio-purple); }
#app > .studio-login .eyebrow {
  display: inline-flex;
  align-items: center;
  padding: 8px 11px;
  border: 1px solid rgba(118,82,233,.16);
  border-radius: 999px;
  background: #F4F1FB;
  color: #5739B4;
  font-size: 10px;
  line-height: 1.4;
  letter-spacing: .09em;
}
#app > .studio-login .eyebrow::before { background: #7652E9; }
#app > .studio-login .studio-login-card h1 {
  margin: 22px 0 15px;
  color: #202237;
  font-size: clamp(40px, 5.2vw, 54px);
  font-weight: 500;
  line-height: .98;
  letter-spacing: -.075em;
}
#app > .studio-login .studio-login-card h1 em {
  color: #6553A8;
  font-family: 'Instrument Serif', Georgia, serif;
  font-weight: 400;
}
#app > .studio-login .studio-login-card > p {
  margin: 0;
  color: #626578;
  font-size: 14px;
  line-height: 1.65;
}
#app > .studio-login #studio-login-form {
  display: grid;
  gap: 9px;
  margin-top: 27px;
}
#app > .studio-login #studio-login-form label {
  margin-top: 7px;
  color: #202237;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
#app > .studio-login #studio-login-form input {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 13px 14px;
  color: #202237;
  background: #FFFFFF;
  border: 1px solid #D7D1E8;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(16,23,44,.025);
  font-size: 14px;
  line-height: 1.4;
  color-scheme: light;
  transition: border-color .2s, box-shadow .2s;
}
#app > .studio-login #studio-login-form input::placeholder { color: #626578; opacity: 1; }
#app > .studio-login #studio-login-form input:focus-visible {
  border-color: #7652E9;
  outline: 3px solid rgba(118,82,233,.55);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px rgba(118,82,233,.15);
}
#app > .studio-login #studio-login-form .cms-btn.lime {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 51px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid #6545C5;
  border-radius: 999px;
  color: #202237;
  background: #7652E9;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 5px 0 rgba(16,23,44,.055);
}
#app > .studio-login #studio-login-form .cms-btn.lime:hover { background: #6545C5; border-color: #6545C5; }
#app > .studio-login #studio-login-form .cms-btn.lime:disabled { cursor: wait; opacity: .72; }
#app > .studio-login .studio-login-error:not([hidden]) {
  display: block;
  margin: 5px 0 2px;
  padding: 11px 12px;
  color: #812525;
  background: #FFF0F0;
  border: 1px solid #E9B9B9;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
#app > .studio-login .studio-login-foot {
  margin-top: 23px !important;
  padding-top: 17px;
  border-top: 1px solid #E4E0F2;
  color: #626578 !important;
  font-size: 11px !important;
  line-height: 1.6 !important;
}
#app > .studio-login .studio-login-bottom {
  color: #626578;
  font-size: 11px;
}
#app > .studio-login .studio-login-bottom a {
  color: #202237;
  font-size: 12px;
  font-weight: 650;
  text-decoration: underline;
  text-decoration-color: #B9B2D9;
  text-underline-offset: 4px;
}
#app > .studio-login .studio-login-bottom a:hover { color: #5739B4; }

/* Main CMS surfaces: pale lavender background, white panels, navy text and purple actions. */
#app .cms-shell {
  --dark-line: rgba(16,23,44,.13);
  min-height: 100vh;
  background: #F7F7FC;
  color: #202237;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 14px;
  line-height: 1.55;
}
#app .cms-topbar {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 72px;
  height: auto;
  padding: 12px clamp(14px, 2.2vw, 30px);
  color: #202237;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(16,23,44,.12);
  box-shadow: 0 5px 24px rgba(16,23,44,.045);
  backdrop-filter: blur(18px);
}
#app .cms-brand { flex: 0 0 auto; color: #202237; font-size: 15px; }
#app .cms-brand .wordmark-symbol { border-radius: 11px; background: #202237; color: #7652E9; }
#app .cms-brand small { color: #626578; font-size: 10px; letter-spacing: .12em; }
#app .cms-top-actions { display: flex; flex: 1 1 auto; align-items: center; justify-content: flex-end; gap: 8px; min-width: 0; }
#app .cms-live-pill { color: #5739B4; background: #F4F1FB; border-color: #D8CEFF; font: 10px 'DM Mono',monospace; padding: 8px 10px; }
#app .cms-live-pill::before { background: #7652E9; }
#app .cms-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 13px;
  color: #202237;
  background: #FFFFFF;
  border: 1px solid #D7D1E8;
  border-radius: 10px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 12px;
  font-weight: 650;
  line-height: 1.35;
  white-space: normal;
  transition: color .2s, background .2s, border-color .2s, transform .2s;
}
#app .cms-btn:hover { color: #202237; background: #F4F1FB; border-color: #B7B0D5; }
#app .cms-btn:focus-visible { outline: 3px solid rgba(118,82,233,.42); outline-offset: 2px; }
#app .cms-btn.lime { color: #202237; background: #7652E9; border-color: #6545C5; font-weight: 750; }
#app .cms-btn.lime:hover { background: #6545C5; border-color: #7652E9; }
#app .cms-btn.ghost { color: #202237; background: transparent; border-color: #D7D1E8; }
#app .cms-logout-btn { flex: 0 0 auto; border-color: #C8C2E0; color: #202237; }
#app .cms-logout-btn > span:first-child { font-size: 17px; line-height: 1; }
#app .cms-layout { grid-template-columns: 248px minmax(0,1fr); background: #F7F7FC; }
#app .cms-sidebar {
  padding: 25px 14px;
  color: #F4F1FB;
  background: #202237;
  border-right: 1px solid rgba(16,23,44,.18);
}
#app .cms-workspace-label { margin-bottom: 11px; color: #C8C2E0; font-size: 10px; letter-spacing: .13em; }
#app .cms-nav { gap: 4px; margin-bottom: 26px; }
#app .cms-nav button {
  min-height: 42px;
  padding: 10px 12px;
  border-radius: 9px;
  color: #E6E1F5;
  font-size: 13px;
  font-weight: 550;
  line-height: 1.4;
}
#app .cms-nav button .nav-icon { flex: 0 0 20px; color: #D7D1E8; font-size: 16px; }
#app .cms-nav button:hover { color: #FFFFFF; background: #282445; }
#app .cms-nav button.active { color: #202237; background: #7652E9; font-weight: 750; }
#app .cms-nav button.active .nav-icon { color: #202237; }
#app .cms-status {
  color: #5739B4;
  background: #F0EDFA;
  border-color: #D8CEFF;
  font-size: 10px;
  font-weight: 700;
}
#app .cms-sidebar .cms-status { color: #202237; background: #7652E9; border-color: #7652E9; }
#app .cms-sidebar-bottom { margin-top: 42px; padding: 13px; color: #F4F1FB; background: #17132F; border: 1px solid rgba(255,255,255,.16); border-radius: 12px; }
#app .cms-avatar { min-width: 0; align-items: center; }
#app .cms-avatar strong { color: #FFFFFF; font-size: 12px; line-height: 1.4; }
#app .cms-avatar span { color: #D9D3EB; font-size: 11px; line-height: 1.45; overflow-wrap: anywhere; }
#app .cms-avatar-circle { flex: 0 0 32px; width: 32px; height: 32px; color: #202237; background: #7652E9; font-size: 12px; }
#app .cms-main { min-width: 0; padding: clamp(22px,3.2vw,42px) clamp(16px,3.4vw,50px) 56px; color: #202237; }
#app .cms-heading { align-items: flex-end; gap: 20px; margin-bottom: 27px; }
#app .cms-heading h1 { color: #202237; font-size: clamp(27px,2.5vw,34px); line-height: 1.12; letter-spacing: -.055em; font-weight: 650; }
#app .cms-heading p { max-width: 760px; margin-top: 6px; color: #626578; font-size: 13px; line-height: 1.65; }
#app .cms-overline { color: #7652E9; font-size: 10px; letter-spacing: .12em; line-height: 1.5; }
#app .cms-stats { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 13px; margin: 24px 0; }
#app .cms-stat,
#app .cms-panel,
#app .cms-collection-card,
#app .cms-media-card {
  color: #202237;
  background: #FFFFFF;
  border: 1px solid rgba(16,23,44,.12);
  border-radius: 14px;
  box-shadow: 0 8px 26px rgba(16,23,44,.035);
}
#app .cms-stat { padding: 18px; }
#app .cms-stat span { color: #626578; font-size: 12px; line-height: 1.45; }
#app .cms-stat strong { color: #202237; font-size: clamp(25px,2.4vw,32px); font-weight: 650; line-height: 1.1; }
#app .cms-stat small { color: #5739B4; font-size: 11px; line-height: 1.5; }
#app .cms-stat::after { border-color: rgba(16,23,44,.07); box-shadow: 0 0 0 12px rgba(16,23,44,.018); }
#app .cms-grid { gap: 16px; }
#app .cms-panel { overflow: hidden; }
#app .cms-panel-head { gap: 12px; padding: 17px 19px; border-bottom: 1px solid #E4E0F2; }
#app .cms-panel-head h2 { color: #202237; font-size: 15px; font-weight: 750; line-height: 1.4; }
#app .cms-panel-head p { margin-top: 4px; color: #626578; font-size: 12px; line-height: 1.55; }
#app .cms-panel-content { padding: 19px; color: #202237; }
#app .cms-page-row { gap: 12px; border-bottom-color: #E4E0F2; }
#app .cms-page-icon { flex: 0 0 38px; color: #6553A8; background: #F4F1FB; border-color: #E3DDF2; }
#app .cms-page-info { min-width: 0; }
#app .cms-page-info strong { color: #202237; font-size: 13px; line-height: 1.4; }
#app .cms-page-info span { color: #626578; font-size: 12px; line-height: 1.45; }
#app .cms-activity { gap: 18px; }
#app .cms-activity .activity-row strong { color: #202237; font-size: 12px; line-height: 1.45; }
#app .cms-activity .activity-row p { color: #626578; font-size: 12px; line-height: 1.55; }
#app .activity-dot { background: #7652E9; box-shadow: 0 0 0 4px rgba(118,82,233,.24); }
#app .cms-data-note,
#app .cms-help,
#app .cms-empty,
#app .cms-preview-hint,
#app .cms-media-type-note,
#app .inquiry-meta,
#app .history-info span {
  color: #626578;
  font-size: 12px;
  line-height: 1.65;
}
#app .cms-data-note { background: #F4F1FB; border: 1px solid #E3DDF2; border-radius: 9px; padding: 12px 14px; }
#app .cms-fields { color: #202237; padding: 20px; }
#app .cms-field { gap: 7px; margin-bottom: 18px; }
#app .cms-field label,
#app .cms-media-info label,
#app .inquiry-status-label { color: #4E4A68; font-size: 11px; font-weight: 750; line-height: 1.45; letter-spacing: .07em; }
#app .cms-field input,
#app .cms-field textarea,
#app .cms-field select,
#app .cms-media-info input,
#app .inquiry-status-label select,
#app .cms-mobile-menu select {
  width: 100%;
  min-width: 0;
  min-height: 43px;
  padding: 11px 12px;
  color: #202237;
  background: #FFFFFF;
  border: 1px solid #D7D1E8;
  border-radius: 8px;
  font-family: 'DM Sans', Arial, sans-serif;
  font-size: 13px;
  line-height: 1.5;
  color-scheme: light;
}
#app .cms-field textarea { min-height: 96px; }
#app .cms-field input::placeholder,
#app .cms-field textarea::placeholder,
#app .cms-media-info input::placeholder { color: #626578; opacity: 1; }
#app .cms-field input:focus-visible,
#app .cms-field textarea:focus-visible,
#app .cms-field select:focus-visible,
#app .cms-media-info input:focus-visible { outline: 3px solid rgba(118,82,233,.58); outline-offset: 1px; border-color: #7652E9; }
#app .cms-form-actions { gap: 9px; border-top-color: #E4E0F2; }
#app .cms-empty { padding: 30px 18px; color: #626578; border-color: #BBC8B4; }
#app .cms-collection-grid { gap: 12px; }
#app .cms-collection-card { min-height: 158px; padding: 18px; }
#app .cms-collection-card .collection-icon { color: #7652E9; font-size: 21px; }
#app .cms-collection-card strong { color: #202237; font-size: 13px; line-height: 1.45; }
#app .cms-collection-card > span { color: #626578; font-size: 12px; line-height: 1.6; overflow-wrap: anywhere; }
#app .cms-collection-card .cms-tag { display: inline-flex; width: fit-content; color: #5739B4; background: #F4F1FB; border-color: #E3DDF2; }
#app .cms-preview-wrap { min-width: 0; padding: 13px; background: #F0EDFA; border: 1px solid #E3DDF2; border-radius: 14px; }
#app .cms-preview-toolbar { flex-wrap: wrap; gap: 10px; padding: 3px 3px 12px; color: #626578; }
#app .cms-preview-toolbar > .mono { color: #626578 !important; font-size: 10px; }
#app .cms-device { color: #626578; background: #FFFFFF; border-color: #D7D1E8; font-size: 11px; padding: 7px 10px; }
#app .cms-device:hover { background: #F7F7FC; }
#app .cms-device.active { color: #FFFFFF; background: #D8CEFF; border-color: #BDAEFF; font-weight: 750; }
#app .cms-preview-screen { min-width: 0; background: #FFFFFF; border: 1px solid #E3DDF2; }
#app .cms-preview-screen iframe { max-width: 100%; }
#app .cms-preview-hint { color: #626578; }
#app .cms-sections { gap: 9px; padding: 18px; }
#app .cms-section-item { color: #202237; background: #FCFBFF; border-color: #E3DDF2; border-radius: 10px; }
#app .cms-section-item .grip { color: #626578; }
#app .cms-section-item strong { color: #202237; font-size: 12px; }
#app .cms-section-item span { color: #626578; font-size: 11px; line-height: 1.45; }
#app .cms-section-item button { flex: 0 0 30px; width: 30px; height: 30px; color: #202237; background: #FFFFFF; border-color: #D7D1E8; border-radius: 7px; }
#app .cms-section-item button:disabled { color: #73758B; background: #F4F1FB; cursor: not-allowed; opacity: .7; }
#app .cms-page-content-group { margin-top: 14px; }
#app .cms-copy-section-summary { color: #202237; min-width: 0; }
#app .cms-copy-section-summary strong { color: #202237; font-size: 13px; line-height: 1.45; }
#app .cms-copy-section-summary small,
#app .cms-copy-item > summary small { color: #626578; font-size: 11px; line-height: 1.5; white-space: normal; }
#app .cms-summary-indicator { color: #5739B4; font-size: 10px; }
#app .cms-copy-item { color: #202237; background: #FCFBFF; border-color: #E3DDF2; }
#app .cms-copy-item > summary { color: #202237; font-size: 12px; line-height: 1.5; }
#app .cms-copy-item > summary span { color: #202237; }
#app .cms-copy-item[open] > summary { background: #F4F1FB; border-bottom-color: #E3DDF2; }
#app .cms-copy-item-body { color: #202237; }
#app .cms-copy-remove { color: #8B2828; background: #FFF6F6; border-color: #E6B6B6; font-size: 11px; }
#app .cms-copy-remove:hover { color: #701E1E; background: #FFECEC; border-color: #D98E8E; }
#app .seo-page-fields { border-color: #E3DDF2; background: #FBFCFA; }
#app .cms-media-preview { background: #F0EDFA; }
#app .cms-media-info { color: #202237; }
#app .cms-media-info > strong { color: #202237; font-size: 12px; }
#app .cms-media-info > span { color: #626578; font-size: 11px; line-height: 1.5; }
#app .inquiry-title strong { color: #202237; font-size: 13px; }
#app .inquiry-main > a { color: #5739B4; text-decoration: underline; text-underline-offset: 3px; }
#app .inquiry-main > p { color: #4E4A68; font-size: 13px; line-height: 1.7; }
#app .inquiry-status-label { color: #4E4A68; }
#app .history-row { border-bottom-color: #E6E1F5; }
#app .history-info strong { color: #202237; font-size: 12px; line-height: 1.45; }
#app .history-mark { color: #5739B4; background: #F4F1FB; border-color: #E7E2F8; }
#app .cms-toast { color: #202237; background: #D8CEFF; border: 1px solid #BDAEFF; font-size: 13px; font-weight: 650; }
#app .cms-empty [style*="color:#e7eae2"],
#app .cms-empty [style*="color: #e7eae2"] { color: #202237 !important; }
#app .cms-logout-btn:disabled { opacity: .75; cursor: wait; }

@media (max-width: 1120px) {
  #app .cms-topbar { gap: 12px; padding-inline: 16px; }
  #app .cms-top-actions { gap: 6px; }
  #app .cms-live-pill { display: none; }
  #app .cms-layout { grid-template-columns: 224px minmax(0,1fr); }
  #app .cms-btn { padding-inline: 11px; }
  #app .cms-stats { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 760px) {
  #app .cms-topbar { flex-wrap: wrap; min-height: 62px; padding: 11px 14px; gap: 10px; }
  #app .cms-brand { max-width: 100%; }
  #app .cms-top-actions { flex: 1 0 100%; width: 100%; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 7px; }
  #app .cms-mobile-menu { display: block; flex: 1 1 100%; min-width: 0; order: -1; }
  #app .cms-mobile-menu select { display: block; width: 100%; max-width: none; min-height: 42px; font-size: 13px; }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn { flex: 1 1 auto; min-width: max-content; min-height: 40px; font-size: 11px; }
  #app .cms-top-actions .cms-logout-btn { flex: 0 0 auto; }
  #app .cms-layout { display: block; min-height: calc(100vh - 62px); }
  #app .cms-sidebar { display: none; }
  #app .cms-main { padding: 23px 14px 38px; }
  #app .cms-heading { align-items: flex-start; flex-direction: column; gap: 12px; margin-bottom: 20px; }
  #app .cms-heading h1 { font-size: 28px; }
  #app .cms-heading p { font-size: 13px; }
  #app .cms-stats { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 9px; }
  #app .cms-stat { min-width: 0; padding: 14px; }
  #app .cms-stat strong { font-size: 25px; }
  #app .cms-stat small { font-size: 10.5px; }
  #app .cms-grid,
  #app .cms-editor-layout { grid-template-columns: minmax(0,1fr); }
  #app .cms-panel-head { padding: 15px; }
  #app .cms-panel-content,
  #app .cms-fields { padding: 15px; }
  #app .cms-collection-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #app .cms-media-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  #app .cms-preview-wrap { padding: 8px; }
  #app .cms-preview-screen.mobile { width: min(100%,390px); }
  #app .cms-section-item { flex-wrap: wrap; }
  #app .cms-section-item .section-item-info { min-width: 0; }
  #app > .studio-login { gap: 18px; padding: 18px; }
  #app > .studio-login .studio-login-top > .mono { font-size: 9px; letter-spacing: .09em; }
  #app > .studio-login .studio-login-card { margin-block: 8px; border-radius: 20px; }
  #app > .studio-login .studio-login-bottom { align-items: flex-start; flex-wrap: wrap; font-size: 10px; }
}
@media (max-width: 480px) {
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn { min-width: 0; padding-inline: 9px; font-size: 10px; }
  #app .cms-collection-grid,
  #app .cms-media-grid { grid-template-columns: minmax(0,1fr); }
  #app .cms-stats { gap: 8px; }
  #app .cms-stat { padding: 12px; }
  #app .cms-stat span { font-size: 11px; }
  #app .cms-stat small { font-size: 10px; }
  #app .cms-copy-item > summary { gap: 8px; padding: 12px; }
  #app > .studio-login .studio-login-top .wordmark { font-size: 14px; }
  #app > .studio-login .studio-login-top > .mono { max-width: 110px; text-align: right; }
  #app > .studio-login .studio-login-card { padding: 25px 21px; }
  #app > .studio-login .studio-login-card h1 { font-size: 42px; }
}
@media (prefers-reduced-motion: reduce) {
  #app > .studio-login *, #app .cms-shell * { scroll-behavior: auto; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* Final CMS palette/accessibility pass: no lime accents inside the CMS or login screen. */
#app .cms-btn.lime,
#app > .studio-login #studio-login-form .cms-btn.lime {
  color: #FFFFFF;
  background: #7652E9;
  border-color: #7652E9;
}
#app .cms-btn.lime:hover,
#app > .studio-login #studio-login-form .cms-btn.lime:hover {
  color: #FFFFFF;
  background: #6545C5;
  border-color: #6545C5;
}
#app .cms-btn:focus-visible,
#app .cms-field input:focus-visible,
#app .cms-field textarea:focus-visible,
#app .cms-field select:focus-visible,
#app .cms-media-info input:focus-visible,
#app > .studio-login #studio-login-form input:focus-visible {
  outline: 3px solid rgba(118,82,233,.35);
  outline-offset: 2px;
  border-color: #7652E9;
}
#app .cms-nav button.active { color: #FFFFFF; background: #7652E9; }
#app .cms-nav button.active .nav-icon { color: #FFFFFF; }
#app .cms-sidebar .cms-status { color: #202237; background: #D8CEFF; border-color: #D8CEFF; }
#app .cms-avatar-circle { color: #FFFFFF; background: #7652E9; }
#app .cms-preview-banner .tiny-wordmark b { color: #FFFFFF; background: #7652E9; }
#app .cms-preview-ctas span { color: #FFFFFF; background: #7652E9; }
#app .cms-preview-ctas span + span { color: #202237; background: #FFFFFF; border-color: #D7D1E8; }
#app .cms-preview-art,
#app .cms-preview-mini-services { background-color: #10172C; }
#app .cms-preview-mini-services .mono { color: #D8CEFF; }
#app .cms-preview-hint span { color: #7652E9; }
#app .cms-toast { color: #202237; background: #D8CEFF; border-color: #BDAEFF; }
#app .cms-data-note { color: #4D4770; background: #F5F2FF; border-color: #DED6FF; }
#app .cms-overline,
#app .cms-summary-indicator,
#app .cms-collection-card .collection-icon { color: #6948D8; }
#app .cms-live-pill { color: #5739B4; background: #F5F2FF; border-color: #DED6FF; }
#app .cms-live-pill::before { background: #7652E9; }
#app > .studio-login .studio-login-card::before { background: linear-gradient(90deg,#7652E9 0%,#D8CEFF 58%,#7652E9 100%); }
#app > .studio-login .studio-login-mark,
#app > .studio-login .studio-login-top .wordmark-symbol { color: #D8CEFF; background: #10172C; }
#app > .studio-login .studio-login-mark span { color: #D8CEFF; }
#app > .studio-login .studio-login-card h1 em { color: #6948D8; }
#app > .studio-login .eyebrow { color: #5739B4; background: #F5F2FF; border-color: #DED6FF; }
#app > .studio-login .eyebrow::before { background: #7652E9; }
#app > .studio-login .studio-login-bottom a { color: #5739B4; text-decoration-color: #BDAEFF; }
#app > .studio-login .studio-login-bottom a:hover { color: #432887; }
#app > .studio-login #studio-login-form input { color: #202237; background: #FFFFFF; border-color: #D7D1E8; }
#app > .studio-login #studio-login-form input::placeholder { color: #626578; }
#app > .studio-login .studio-login-error:not([hidden]) { color: #812525; background: #FFF0F0; border-color: #E9B9B9; }
#app .cms-sidebar { color: #F5F2FF; background: linear-gradient(180deg,#10172C 0%,#17132F 100%); border-right-color: rgba(216,206,255,.16); }
#app .cms-brand .wordmark-symbol { color: #D8CEFF; background: #10172C; }
#app .cms-logout-btn { color: #432887; border-color: #C7BDEB; background: #FFFFFF; }
#app .cms-logout-btn:hover { color: #FFFFFF; background: #432887; border-color: #432887; }
#app .cms-copy-remove { color: #8B2828; background: #FFF6F6; border-color: #E6B6B6; }


/* CMS profile avatar alignment: keep the admin initial centered inside its circle. */
#app .cms-avatar .cms-avatar-circle {
  display: grid;
  place-items: center;
  flex: 0 0 32px;
  width: 32px;
  height: 32px;
  min-width: 32px;
  margin: 0;
  padding: 0;
  line-height: 1;
  text-align: center;
  overflow-wrap: normal;
  word-break: normal;
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}

/* Team & access management — uses the existing Anthromini navy/purple CMS palette. */
#app .cms-role-hint { color:#626578; font-size:11px; line-height:1.4; }
#app .cms-user-create-panel,
#app .cms-users-list-panel { margin-bottom:14px; }
#app .cms-user-form-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px 18px; }
#app .cms-user-form-grid .cms-field { min-width:0; margin-bottom:0; }
#app .cms-user-form-grid .cms-field small { color:#626578; font:11px/1.5 'DM Sans',Arial,sans-serif; letter-spacing:0; text-transform:none; }
#app .cms-user-role-guides { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:18px 0; }
#app .cms-user-role-guide { min-width:0; padding:13px 14px; border:1px solid #E3DDF2; border-radius:10px; background:#FBFAFF; }
#app .cms-user-role-guide strong { display:block; color:#202237; font-size:12px; font-weight:700; margin-bottom:5px; }
#app .cms-user-role-guide span { display:block; color:#626578; font-size:11px; line-height:1.55; }
#app .cms-user-error:not([hidden]) { display:block; margin:4px 0 12px; padding:11px 12px; border:1px solid #E7BABA; border-radius:8px; color:#812525; background:#FFF3F3; font-size:12px; line-height:1.5; }
#app .cms-users-list-panel .cms-panel-content { display:grid; gap:12px; }
#app .cms-user-row { min-width:0; padding:16px; border:1px solid #E3DDF2; border-radius:12px; background:#FFFFFF; display:grid; grid-template-columns:minmax(0,1fr) minmax(210px,.7fr); gap:16px 20px; }
#app .cms-user-identity { min-width:0; display:flex; align-items:flex-start; gap:12px; }
#app .cms-user-avatar { width:38px; height:38px; flex:0 0 38px; display:grid; place-items:center; border-radius:50%; color:#FFFFFF; background:#7652E9; font-size:14px; font-weight:700; line-height:1; }
#app .cms-user-summary { min-width:0; }
#app .cms-user-summary>strong { display:block; color:#202237; font-size:13px; line-height:1.45; overflow-wrap:anywhere; }
#app .cms-user-summary>span { display:block; margin-top:3px; color:#4E4A68; font-size:12px; overflow-wrap:anywhere; }
#app .cms-user-summary>small { display:block; margin-top:7px; color:#626578; font-size:10px; line-height:1.55; }
#app .cms-user-badges { display:flex; flex-wrap:wrap; align-items:center; gap:6px; margin-top:9px; }
#app .cms-user-role-badge,
#app .cms-user-status-badge { display:inline-flex; align-items:center; padding:5px 8px; border-radius:999px; font-size:10px; line-height:1.2; font-weight:650; }
#app .cms-user-role-badge { color:#432887; background:#F0ECFF; border:1px solid #D8CEFF; }
#app .cms-user-status-badge.is-active { color:#245A3A; background:#EDF8F0; border:1px solid #B9DCC5; }
#app .cms-user-status-badge.is-inactive { color:#812525; background:#FFF0F0; border:1px solid #E8B9B9; }
#app .cms-user-status-badge.needs-password { color:#684715; background:#FFF6E6; border:1px solid #E9D3A4; }
#app .cms-user-status-badge.is-self { color:#432887; background:#F5F2FF; border:1px solid #D8CEFF; }
#app .cms-user-controls { display:grid; gap:10px; align-content:start; min-width:0; }
#app .cms-user-controls>label { display:grid; gap:6px; color:#626578; font:9px 'DM Mono',monospace; letter-spacing:.08em; text-transform:uppercase; }
#app .cms-user-controls select { width:100%; min-width:0; min-height:39px; padding:8px 10px; color:#202237; background:#FFFFFF; border:1px solid #D7D1E8; border-radius:8px; font:12px 'DM Sans',Arial,sans-serif; letter-spacing:0; text-transform:none; }
#app .cms-user-controls select:disabled { color:#626578; background:#F5F2FF; cursor:not-allowed; opacity:.8; }
#app .cms-user-actions { display:flex; flex-wrap:wrap; gap:8px; }
#app .cms-user-actions .cms-btn { min-height:36px; padding:7px 10px; font-size:11px; }
#app .cms-user-actions .cms-btn:disabled { opacity:.45; cursor:not-allowed; }
#app .cms-user-reset-form { grid-column:1/-1; min-width:0; padding:14px; margin-top:2px; border:1px solid #DED6FF; background:#F8F6FF; border-radius:10px; }
#app .cms-user-reset-form[hidden] { display:none !important; }
#app .cms-user-reset-form>label { display:block; color:#202237; font-size:12px; font-weight:650; margin-bottom:8px; }
#app .cms-user-reset-fields { display:flex; flex-wrap:wrap; gap:8px; }
#app .cms-user-reset-fields input { flex:1 1 220px; min-width:0; color:#202237; background:#FFFFFF; border:1px solid #D7D1E8; border-radius:8px; padding:10px 12px; font:12px 'DM Sans',Arial,sans-serif; }
#app .cms-user-reset-form small { display:block; margin-top:8px; color:#626578; font-size:10px; line-height:1.5; }
#app .cms-user-reset-form .cms-btn { min-height:39px; }
#app .cms-user-reset-form .cms-btn.lime { color:#FFFFFF; background:#7652E9; border-color:#7652E9; }
#app .cms-user-reset-form .cms-btn.lime:hover { background:#6545C5; border-color:#6545C5; }
#app .studio-password-change #password-change-logout { margin-top:8px; width:100%; }
#app .studio-password-change #studio-password-change-form { display:grid; gap:10px; }
#app .studio-password-change #studio-password-change-form button[type="submit"] { margin-top:8px; width:100%; }
#app .studio-password-change #studio-password-change-form input { color:#202237; background:#FFFFFF; border:1px solid #D7D1E8; border-radius:9px; min-height:47px; padding:12px 13px; }
#app .studio-password-change #studio-password-change-form input::placeholder { color:#77738C; }
#app .studio-password-change #studio-password-change-form label { color:#34324F; font-size:12px; font-weight:650; }
#app .studio-password-change #studio-password-change-form .cms-btn.ghost { width:100%; color:#432887; background:#FFFFFF; border-color:#D7D1E8; }
#app .cms-shell [hidden] { display:none !important; }
@media (max-width:760px) {
  #app .cms-user-form-grid,
  #app .cms-user-role-guides { grid-template-columns:minmax(0,1fr); }
  #app .cms-user-row { grid-template-columns:minmax(0,1fr); gap:13px; padding:14px; }
  #app .cms-user-reset-fields { display:grid; grid-template-columns:minmax(0,1fr); }
  #app .cms-user-reset-fields .cms-btn { width:100%; }
}


/* Anthromini Studio self-service password recovery — scoped to the private login screens. */
#app > .studio-login .studio-login-aux {
  margin-top: 15px !important;
  text-align: right;
  font-size: 12px !important;
}
#app > .studio-login .studio-login-aux a {
  color: #5E45B7;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: rgba(94,69,183,.35);
  text-underline-offset: 3px;
}
#app > .studio-login .studio-login-aux a:hover { text-decoration-color: currentColor; }
#app > .studio-login .studio-recovery-form {
  display: grid;
  gap: 9px;
  margin-top: 27px;
}
#app > .studio-login .studio-recovery-form label {
  margin-top: 7px;
  color: #202237;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.45;
}
#app > .studio-login .studio-recovery-form input {
  width: 100%;
  min-width: 0;
  min-height: 51px;
  padding: 13px 14px;
  color: #202237;
  background: #FFFFFF;
  border: 1px solid #D7D1E8;
  border-radius: 10px;
  box-shadow: inset 0 1px 2px rgba(16,23,44,.025);
  font-size: 14px;
  line-height: 1.4;
  color-scheme: light;
  transition: border-color .2s, box-shadow .2s;
}
#app > .studio-login .studio-recovery-form input:focus-visible {
  border-color: #7652E9;
  outline: 3px solid rgba(118,82,233,.55);
  outline-offset: 1px;
  box-shadow: 0 0 0 4px rgba(118,82,233,.15);
}
#app > .studio-login .studio-recovery-form .cms-btn.lime {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: 100%;
  min-height: 51px;
  margin-top: 12px;
  padding: 0 18px;
  border: 1px solid #6545C5;
  border-radius: 999px;
  color: #FFFFFF;
  background: #7652E9;
  font-size: 13px;
  font-weight: 750;
  box-shadow: 0 5px 0 rgba(16,23,44,.055);
}
#app > .studio-login .studio-recovery-form .cms-btn.lime:hover { background: #6545C5; border-color: #6545C5; }
#app > .studio-login .studio-recovery-form .cms-btn.lime:disabled { cursor: wait; opacity: .72; }
#app > .studio-login .studio-login-success:not([hidden]) {
  display: block;
  margin: 5px 0 2px;
  padding: 11px 12px;
  color: #28543A;
  background: #EFF8F1;
  border: 1px solid #B9DEC2;
  border-radius: 9px;
  font-size: 12px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
@media (max-width: 480px) {
  #app > .studio-login .studio-login-card { padding: 26px 22px; }
  #app > .studio-login .studio-login-top > .mono { font-size: 9px; }
}

/* Anthromini Content Studio access: a quiet, clear login action in the public header. */
.site-header .header-actions .btn-studio-login {
  min-height: 44px;
  padding-inline: 16px;
  gap: 8px;
  border: 1px solid rgba(76, 29, 149, .28);
  border-radius: 999px;
  background: rgba(255, 255, 255, .72);
  color: #4c1d95;
  white-space: nowrap;
  font-weight: 700;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .76);
}
.site-header .header-actions .btn-studio-login:hover {
  background: rgba(139, 92, 246, .09);
  border-color: rgba(76, 29, 149, .55);
  color: #351568;
}
html[data-theme="dark"] .site-header .header-actions .btn-studio-login {
  background: rgba(76, 29, 149, .2);
  border-color: rgba(167, 139, 250, .46);
  color: #f1f3ed;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .site-header .header-actions .btn-studio-login:hover {
  background: rgba(139, 92, 246, .28);
  border-color: rgba(196, 181, 253, .7);
  color: #fff;
}
@media (max-width: 980px) and (min-width: 761px) {
  .site-header .header-actions .btn-studio-login {
    padding-inline: 11px;
    gap: 5px;
  }
}
@media (max-width: 760px) {
  /* Keep the compact mobile capsule uncluttered; login remains in the navigation drawer. */
  .site-header .header-actions .btn-studio-login {
    display: none !important;
  }
}
.nav-drawer-login {
  margin-top: 6px;
  border-top: 1px solid rgba(139, 92, 246, .16);
  padding-top: 17px !important;
  color: #6d28d9 !important;
  font-weight: 700;
}
html[data-theme="dark"] .nav-drawer-login {
  color: #c4b5fd !important;
  border-top-color: rgba(196, 181, 253, .2);
}


/* LOGIN CTA — white at rest; dark-purple liquid fill on hover, no arrow. */
.site-header .header-actions .btn.btn-studio-login {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0 !important;
  min-width: 82px;
  min-height: 44px;
  padding: 0 19px;
  border: 1px solid rgba(50, 20, 95, .22);
  border-radius: 999px;
  background: #fff;
  color: #32145f;
  font-size: 12px;
  font-weight: 750;
  line-height: 1;
  letter-spacing: -.01em;
  white-space: nowrap;
  box-shadow: 0 3px 10px rgba(32, 20, 60, .07),
              inset 0 1px 0 rgba(255, 255, 255, .98);
  transition: color .28s ease, border-color .28s ease,
              box-shadow .32s ease, transform .28s ease;
}
.site-header .header-actions .btn.btn-studio-login::before {
  content: "";
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: -18%;
  top: 106%;
  width: 136%;
  height: 184%;
  border-radius: 48% 52% 0 0 / 18% 22% 0 0;
  background: linear-gradient(135deg, #251044 0%, #32145f 48%, #4b278a 100%);
  transform: rotate(-2deg) scaleX(1.04);
  transition: top .68s cubic-bezier(.22, 1, .36, 1),
              border-radius .42s ease, transform .68s ease;
}
.site-header .header-actions .btn.btn-studio-login::after {
  content: none !important;
  display: none !important;
}
.site-header .header-actions .btn.btn-studio-login:hover,
.site-header .header-actions .btn.btn-studio-login:focus-visible {
  transform: translateY(-1px);
  border-color: #4b278a;
  color: #fff;
  box-shadow: 0 8px 20px rgba(49, 20, 95, .2),
              inset 0 1px 0 rgba(255, 255, 255, .14);
}
.site-header .header-actions .btn.btn-studio-login:hover::before,
.site-header .header-actions .btn.btn-studio-login:focus-visible::before {
  top: -83%;
  border-radius: 38% 62% 0 0 / 16% 21% 0 0;
  transform: rotate(1deg) scaleX(1.08);
  animation: login-liquid-wave 1.15s ease-in-out .35s infinite alternate;
}
.site-header .header-actions .btn.btn-studio-login:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(49, 20, 95, .16);
}
.site-header .header-actions .btn.btn-studio-login:focus-visible {
  outline: 3px solid rgba(118, 82, 233, .35);
  outline-offset: 3px;
}

/* Match the mobile drawer's Login link to the same white-to-liquid CTA. */
.nav-drawer-links > .nav-drawer-login {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  min-height: 50px;
  margin-top: 14px;
  padding: 0 19px !important;
  border: 1px solid rgba(50, 20, 95, .22);
  border-top: 1px solid rgba(50, 20, 95, .22);
  border-radius: 999px;
  background: #fff;
  color: #32145f !important;
  font-size: 14px !important;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -.01em;
  transform: none;
  transition: color .28s ease, border-color .28s ease, box-shadow .32s ease, transform .28s ease;
}
.nav-drawer-links > .nav-drawer-login::before {
  content: "" !important;
  display: block !important;
  position: absolute;
  z-index: -1;
  pointer-events: none;
  left: -18%;
  top: 106%;
  width: 136%;
  height: 184%;
  border-radius: 48% 52% 0 0 / 18% 22% 0 0;
  background: linear-gradient(135deg, #251044 0%, #32145f 48%, #4b278a 100%);
  transform: rotate(-2deg) scaleX(1.04);
  transition: top .68s cubic-bezier(.22, 1, .36, 1), border-radius .42s ease, transform .68s ease;
}
.nav-drawer-links > .nav-drawer-login::after {
  content: none !important;
  display: none !important;
}
.nav-drawer-links > .nav-drawer-login:hover,
.nav-drawer-links > .nav-drawer-login:focus-visible {
  border-color: #4b278a;
  border-top-color: #4b278a;
  background: #fff;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(49, 20, 95, .2);
  transform: translateY(-1px);
}
.nav-drawer-links > .nav-drawer-login:hover::before,
.nav-drawer-links > .nav-drawer-login:focus-visible::before {
  top: -83%;
  border-radius: 38% 62% 0 0 / 16% 21% 0 0;
  transform: rotate(1deg) scaleX(1.08);
  animation: login-liquid-wave 1.15s ease-in-out .35s infinite alternate;
}

@keyframes login-liquid-wave {
  0% { border-radius: 42% 58% 0 0 / 17% 21% 0 0; transform: translateX(-1%) rotate(-1deg) scaleX(1.06); }
  100% { border-radius: 56% 44% 0 0 / 22% 15% 0 0; transform: translateX(1%) rotate(1.5deg) scaleX(1.09); }
}
@media (prefers-reduced-motion: reduce) {
  .site-header .header-actions .btn.btn-studio-login,
  .site-header .header-actions .btn.btn-studio-login::before,
  .site-header .header-actions .btn.btn-studio-login::after,
  .nav-drawer-links > .nav-drawer-login,
  .nav-drawer-links > .nav-drawer-login::before,
  .nav-drawer-links > .nav-drawer-login::after {
    animation: none !important;
    transition: none !important;
  }
  .site-header .header-actions .btn.btn-studio-login:hover,
  .nav-drawer-links > .nav-drawer-login:hover { transform: none; }
}


/* Authenticated public-header account controls. */
.site-header .header-actions .site-account-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.site-account-menu { position: relative; display: inline-flex; align-items: center; }
.site-account-toggle {
  min-width: 44px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 4px 10px 4px 4px;
  border: 1px solid rgba(76, 29, 149, .2);
  border-radius: 999px;
  color: #32145f;
  background: rgba(255,255,255,.92);
  box-shadow: 0 3px 10px rgba(32,20,60,.06), inset 0 1px 0 #fff;
  cursor: pointer;
  transition: background .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.site-account-toggle:hover,
.site-account-menu.is-open .site-account-toggle {
  background: #f8f5ff;
  border-color: rgba(76,29,149,.48);
  box-shadow: 0 5px 15px rgba(50,20,95,.11);
}
.site-account-toggle:active { transform: scale(.98); }
.site-account-toggle:focus-visible,
.site-account-signout:focus-visible,
.nav-drawer-account-signout:focus-visible {
  outline: 3px solid rgba(118,82,233,.38);
  outline-offset: 3px;
}
.site-account-avatar {
  width: 33px;
  height: 33px;
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  border-radius: 50%;
  background: linear-gradient(145deg,#32145f,#4b278a);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .02em;
}
.site-account-chevron {
  width: 7px;
  height: 7px;
  display: inline-block;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform .2s ease;
}
.site-account-menu.is-open .site-account-chevron { transform: translateY(2px) rotate(225deg); }
.site-account-dropdown {
  position: absolute;
  z-index: 1400;
  top: calc(100% + 12px);
  right: 0;
  width: min(284px, calc(100vw - 32px));
  padding: 9px;
  border: 1px solid rgba(76,29,149,.15);
  border-radius: 18px;
  background: rgba(255,255,255,.97);
  color: #202237;
  box-shadow: 0 22px 65px rgba(28,17,54,.18), 0 3px 12px rgba(28,17,54,.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform-origin: top right;
  animation: site-account-dropdown-in .18s ease-out both;
}
.site-account-dropdown[hidden] { display: none !important; }
.site-account-user { display: grid; gap: 4px; padding: 12px 12px 10px; min-width: 0; }
.site-account-user strong { color: #211a31; font-size: 13px; font-weight: 750; line-height: 1.35; overflow-wrap: anywhere; }
.site-account-user > span { color: #686376; font-size: 11px; line-height: 1.4; overflow-wrap: anywhere; }
.site-account-user small { width: fit-content; margin-top: 4px; padding: 4px 8px; border-radius: 999px; background: #f1ecff; color: #5632a1; font-size: 10px; font-weight: 700; }
.site-account-divider { height: 1px; margin: 2px 4px 5px; background: rgba(50,20,95,.1); }
.site-account-signout {
  width: 100%;
  min-height: 40px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  border: 0;
  border-radius: 10px;
  color: #4c1d95;
  background: transparent;
  text-align: left;
  font-size: 12px;
  font-weight: 700;
  transition: color .18s ease, background .18s ease;
}
.site-account-signout:hover { color: #32145f; background: #f2edff; }
.site-account-signout:disabled,
.nav-drawer-account-signout:disabled { opacity: .6; cursor: wait; }
@keyframes site-account-dropdown-in {
  from { opacity: 0; transform: translateY(-4px) scale(.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.nav-drawer-account[hidden] { display: none !important; }
.nav-drawer-account {
  display: grid;
  gap: 12px;
  margin-top: 17px;
  padding: 15px;
  border: 1px solid rgba(139,92,246,.2);
  border-radius: 16px;
  background: rgba(139,92,246,.055);
}
.nav-drawer-account-identity { display: flex; align-items: center; gap: 10px; min-width: 0; }
.nav-drawer-account-avatar {
  width: 36px; height: 36px; flex: 0 0 auto; display: grid; place-items: center;
  border-radius: 50%; background: linear-gradient(145deg,#32145f,#4b278a); color: #fff;
  font-size: 10px; font-weight: 800;
}
.nav-drawer-account-copy { display: grid; gap: 3px; min-width: 0; }
.nav-drawer-account-copy strong { color: #f8f7fb; font-size: 13px; overflow-wrap: anywhere; }
.nav-drawer-account-copy small { color: rgba(248,247,251,.62); font-size: 11px; }
.nav-drawer-account-signout {
  min-height: 40px; padding: 0 13px; border: 1px solid rgba(76,29,149,.2); border-radius: 999px;
  background: #fff; color: #4c1d95; font-size: 12px; font-weight: 700; text-align: center;
  transition: background .2s ease, border-color .2s ease;
}
.nav-drawer-account-signout:hover { background: #f2edff; border-color: rgba(76,29,149,.45); }
html[data-theme="dark"] .site-account-toggle { color: #f3ecff; background: rgba(28,23,40,.94); border-color: rgba(196,181,253,.3); box-shadow: inset 0 1px 0 rgba(255,255,255,.06); }
html[data-theme="dark"] .site-account-toggle:hover,
html[data-theme="dark"] .site-account-menu.is-open .site-account-toggle { background: rgba(76,29,149,.24); border-color: rgba(196,181,253,.55); }
html[data-theme="dark"] .site-account-dropdown { background: rgba(24,22,32,.98); border-color: rgba(196,181,253,.2); color: #f3f0fa; }
html[data-theme="dark"] .site-account-user strong { color: #f6f2ff; }
html[data-theme="dark"] .site-account-user > span { color: #b5afc3; }
html[data-theme="dark"] .site-account-user small { color: #e4d8ff; background: rgba(139,92,246,.2); }
html[data-theme="dark"] .site-account-divider { background: rgba(196,181,253,.16); }
html[data-theme="dark"] .site-account-signout { color: #e2d5ff; }
html[data-theme="dark"] .site-account-signout:hover { color: #fff; background: rgba(139,92,246,.18); }
html[data-theme="dark"] .nav-drawer-account { background: rgba(139,92,246,.1); border-color: rgba(196,181,253,.18); }
html[data-theme="dark"] .nav-drawer-account-copy strong { color: #f2edf8; }
html[data-theme="dark"] .nav-drawer-account-copy small { color: #b4adbf; }
html[data-theme="dark"] .nav-drawer-account-signout { background: #211b2c; color: #e4d8ff; border-color: rgba(196,181,253,.24); }
@media (max-width: 760px) {
  .site-header .header-actions .site-account-actions { display: none !important; }
}
@media (prefers-reduced-motion: reduce) {
  .site-account-toggle, .site-account-chevron, .site-account-dropdown,
  .site-account-signout, .nav-drawer-account-signout { animation: none !important; transition: none !important; }
}

/* Anthromini Content Studio — tablet and mobile workspace refinement.
   Scoped to the private CMS so the public website layout remains unchanged. */
#app .cms-shell,
#app .cms-shell * {
  box-sizing: border-box;
}
#app .cms-shell {
  width: 100%;
  min-width: 0;
  overflow-x: clip;
}
#app .cms-main,
#app .cms-main > *,
#app .cms-panel,
#app .cms-panel-content,
#app .cms-fields,
#app .cms-field,
#app .cms-grid,
#app .cms-editor-layout,
#app .cms-collection-grid,
#app .cms-media-grid,
#app .cms-page-content-group,
#app .cms-copy-fields,
#app .cms-copy-array,
#app .cms-copy-item-body,
#app .cms-footer-link-list,
#app .cms-user-row,
#app .cms-user-identity,
#app .cms-user-controls,
#app .cms-user-summary,
#app .inquiry-card,
#app .inquiry-main,
#app .cms-preview-wrap {
  min-width: 0;
  max-width: 100%;
}
#app .cms-field input,
#app .cms-field textarea,
#app .cms-field select,
#app .cms-media-info input,
#app .cms-mobile-menu select,
#app .inquiry-status-label select {
  min-width: 0;
  max-width: 100%;
}
#app .cms-shell img,
#app .cms-shell iframe,
#app .cms-shell video,
#app .cms-shell svg {
  max-width: 100%;
}
#app .cms-btn {
  max-width: 100%;
  overflow-wrap: anywhere;
}

/* Tablet and compact laptop: replace the narrow permanent sidebar with the
   existing section picker, and give editing screens the full available width. */
@media (max-width: 960px) {
  #app .cms-topbar {
    height: auto;
    min-height: 66px;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 14px;
    padding: 12px clamp(14px, 2.5vw, 24px);
  }
  #app .cms-brand {
    flex: 0 1 auto;
    min-width: 0;
    max-width: 100%;
  }
  #app .cms-top-actions {
    flex: 1 1 100%;
    width: 100%;
    min-width: 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
  }
  #app .cms-top-actions .cms-live-pill {
    display: none !important;
  }
  #app .cms-mobile-menu {
    display: block !important;
    position: relative;
    order: -1;
    flex: 1 0 100%;
    width: 100%;
    min-width: 0;
  }
  #app .cms-mobile-menu select {
    display: block;
    width: 100%;
    max-width: none;
    min-height: 44px;
    padding: 10px 38px 10px 13px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 10px;
    font-size: 13px;
    line-height: 1.35;
  }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn {
    display: inline-flex;
    flex: 1 1 145px;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 42px;
    padding: 10px 12px;
    text-align: center;
    white-space: normal;
    line-height: 1.3;
  }
  #app .cms-top-actions .cms-logout-btn {
    flex: 0 1 auto;
  }
  #app .cms-layout {
    display: block;
    width: 100%;
    min-height: 0;
  }
  #app .cms-sidebar {
    display: none !important;
  }
  #app .cms-main {
    width: 100%;
    max-width: 1600px;
    margin-inline: auto;
    padding: clamp(20px, 3vw, 30px) clamp(16px, 3vw, 28px) 44px;
  }
  #app .cms-heading {
    align-items: flex-start;
    gap: 14px;
  }
  #app .cms-heading > * {
    min-width: 0;
    max-width: 100%;
  }
  #app .cms-heading h1 {
    font-size: clamp(26px, 3.8vw, 34px);
    overflow-wrap: anywhere;
  }
  #app .cms-heading p {
    max-width: 70ch;
    overflow-wrap: anywhere;
  }
  #app .cms-grid,
  #app .cms-editor-layout {
    grid-template-columns: minmax(0, 1fr);
  }
  #app .cms-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }
  #app .cms-stat,
  #app .cms-panel,
  #app .cms-preview-wrap,
  #app .cms-fields,
  #app .cms-panel-content {
    min-width: 0;
  }
  #app .cms-collection-grid,
  #app .cms-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  #app .cms-panel-head {
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 10px;
  }
  #app .cms-panel-head > * {
    min-width: 0;
    max-width: 100%;
  }
  #app .cms-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  #app .cms-form-actions > .cms-btn {
    flex: 1 1 145px;
    min-width: 0;
    min-height: 42px;
    justify-content: center;
    white-space: normal;
  }
  #app .cms-preview-wrap {
    padding: clamp(8px, 1.8vw, 12px);
  }
  #app .cms-preview-toolbar {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  #app .cms-preview-toolbar .devices {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
  }
  #app .cms-device {
    min-height: 34px;
    padding: 7px 10px;
    font-size: 11px;
  }
  #app .cms-preview-screen,
  #app .cms-preview-screen.mobile,
  #app .cms-preview-screen.tablet {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin-inline: auto;
  }
  #app .cms-preview-screen iframe {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  #app .cms-user-form-grid,
  #app .cms-user-role-guides {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  #app .cms-footer-link-row {
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr) auto;
    gap: 10px;
  }
  #app .cms-footer-link-row.is-social {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  }
  #app .cms-footer-link-row.is-social > .cms-field:nth-child(3) {
    grid-column: 1 / -1;
  }
}

/* Phones: larger touch targets, simpler rows, and no horizontal form scrolling. */
@media (max-width: 760px) {
  #app .cms-topbar {
    gap: 10px;
    padding: 11px 14px;
  }
  #app .cms-brand {
    font-size: 13px;
    gap: 8px;
  }
  #app .cms-brand .wordmark-symbol {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
  }
  #app .cms-top-actions {
    gap: 8px;
  }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn {
    flex: 1 1 calc(50% - 8px);
    min-height: 42px;
    padding: 10px 9px;
    font-size: 11px;
  }
  #app .cms-top-actions .cms-logout-btn {
    flex: 1 1 calc(50% - 8px);
  }
  #app .cms-main {
    padding: 22px 14px 36px;
  }
  #app .cms-heading {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 20px;
  }
  #app .cms-heading h1 {
    font-size: clamp(25px, 7vw, 30px);
    line-height: 1.12;
  }
  #app .cms-heading p {
    font-size: 12px;
    line-height: 1.65;
  }
  #app .cms-heading > .cms-btn,
  #app .cms-heading-actions,
  #app .cms-heading-actions .cms-btn {
    width: 100%;
  }
  #app .cms-stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-block: 18px;
  }
  #app .cms-stat {
    padding: 12px;
    border-radius: 11px;
  }
  #app .cms-stat span {
    font-size: 10px;
    line-height: 1.35;
    overflow-wrap: anywhere;
  }
  #app .cms-stat strong {
    font-size: clamp(20px, 6vw, 25px);
    line-height: 1.15;
    overflow-wrap: anywhere;
  }
  #app .cms-stat small {
    display: block;
    overflow-wrap: anywhere;
    line-height: 1.45;
  }
  #app .cms-grid,
  #app .cms-editor-layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
  #app .cms-panel,
  #app .cms-collection-card,
  #app .cms-media-card,
  #app .cms-preview-wrap {
    border-radius: 12px;
  }
  #app .cms-panel-head {
    padding: 14px;
  }
  #app .cms-panel-head h2 {
    font-size: 13px;
    line-height: 1.4;
  }
  #app .cms-panel-head p {
    font-size: 11px;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }
  #app .cms-panel-content,
  #app .cms-fields {
    padding: 13px;
  }
  #app .cms-field {
    gap: 7px;
    margin-bottom: 15px;
  }
  #app .cms-field label {
    font-size: 10px;
    letter-spacing: .06em;
    line-height: 1.4;
  }
  #app .cms-field input,
  #app .cms-field textarea,
  #app .cms-field select,
  #app .cms-media-info input,
  #app .inquiry-status-label select {
    width: 100%;
    min-height: 44px;
    padding: 11px 12px;
    font-size: 14px;
  }
  #app .cms-field textarea {
    min-height: 100px;
  }
  #app .cms-form-actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }
  #app .cms-form-actions > .cms-btn {
    width: 100%;
    min-width: 0;
    min-height: 43px;
    padding: 10px 8px;
    font-size: 11px;
    line-height: 1.35;
    white-space: normal;
  }
  #app .cms-form-actions > .cms-btn:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }
  #app .cms-collection-grid,
  #app .cms-media-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
  }
  #app .cms-collection-card {
    padding: 12px;
    min-height: 0;
  }
  #app .cms-collection-card strong {
    overflow-wrap: anywhere;
    line-height: 1.45;
  }
  #app .cms-collection-card > span {
    overflow-wrap: anywhere;
    line-height: 1.45;
  }
  #app .cms-collection-card .cms-btn {
    width: 100%;
    min-width: 0;
    white-space: normal;
    line-height: 1.35;
  }
  #app .cms-media-info .cms-form-actions {
    display: flex;
    flex-wrap: wrap;
  }
  #app .cms-media-info .cms-form-actions > .cms-btn {
    flex: 1 1 100%;
  }
  #app .cms-preview-toolbar > .mono {
    width: 100%;
  }
  #app .cms-preview-screen iframe,
  #app .cms-preview-screen.mobile iframe,
  #app .cms-preview-screen.tablet iframe {
    height: 620px;
  }
  #app .cms-copy-section-summary {
    gap: 10px;
    padding: 13px;
  }
  #app .cms-copy-section-summary > span:first-child {
    min-width: 0;
  }
  #app .cms-copy-section-summary small,
  #app .cms-copy-item > summary small {
    white-space: normal;
    overflow-wrap: anywhere;
  }
  #app .cms-copy-item > summary {
    align-items: flex-start;
    gap: 8px;
    padding: 12px;
  }
  #app .cms-copy-item-body {
    padding: 11px;
  }
  #app .cms-copy-list-actions {
    justify-content: stretch;
  }
  #app .cms-copy-list-actions .cms-btn {
    width: 100%;
  }
  #app .cms-footer-link-row,
  #app .cms-footer-link-row.is-social {
    grid-template-columns: minmax(0, 1fr);
    align-items: stretch;
    gap: 12px;
    padding-bottom: 14px;
  }
  #app .cms-footer-link-row.is-social > .cms-field:nth-child(3) {
    grid-column: auto;
  }
  #app .cms-footer-link-row .cms-btn,
  #app .cms-footer-link-row > button {
    width: 100%;
    justify-self: stretch;
  }
  #app .cms-user-form-grid,
  #app .cms-user-role-guides {
    grid-template-columns: minmax(0, 1fr);
  }
  #app .cms-user-row {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 13px;
  }
  #app .cms-user-controls,
  #app .cms-user-actions,
  #app .cms-user-reset-fields {
    min-width: 0;
    width: 100%;
  }
  #app .cms-user-controls .cms-btn,
  #app .cms-user-actions .cms-btn,
  #app .cms-user-reset-fields .cms-btn {
    max-width: 100%;
    white-space: normal;
  }
  #app .cms-user-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
  }
  #app .cms-section-item {
    gap: 8px;
    padding: 10px;
  }
  #app .cms-section-item .section-item-info {
    min-width: 0;
    overflow-wrap: anywhere;
  }
  #app .cms-project-media-actions .cms-btn {
    flex: 1 1 100%;
    width: 100%;
  }
  #app .history-row {
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 10px;
  }
  #app .history-info {
    min-width: 0;
    flex: 1 1 calc(100% - 48px);
    overflow-wrap: anywhere;
  }
  #app .inquiry-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 15px 0;
  }
  #app .inquiry-status-label {
    max-width: none;
    width: 100%;
  }
  #app .cms-page-row {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  #app .cms-page-info {
    min-width: 0;
    flex: 1 1 calc(100% - 58px);
  }
}

@media (max-width: 480px) {
  #app .cms-main { padding-inline: 11px; }
  #app .cms-topbar { padding-inline: 11px; }
  #app .cms-brand small { display: none; }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn {
    font-size: 10px;
    padding-inline: 7px;
  }
  #app .cms-collection-grid,
  #app .cms-media-grid {
    grid-template-columns: minmax(0, 1fr);
  }
  #app .cms-stat { padding: 11px; }
  #app .cms-stat strong { font-size: 21px; }
  #app .cms-preview-toolbar .devices { width: 100%; }
  #app .cms-device { flex: 1 1 auto; }
  #app .cms-preview-screen iframe,
  #app .cms-preview-screen.mobile iframe,
  #app .cms-preview-screen.tablet iframe { height: 560px; }
  #app .cms-form-actions { grid-template-columns: minmax(0, 1fr); }
  #app .cms-form-actions > .cms-btn:last-child:nth-child(odd) { grid-column: auto; }
}

@media (max-width: 360px) {
  #app .cms-stats { grid-template-columns: minmax(0, 1fr); }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn { flex-basis: calc(50% - 8px); }
}


/* Responsive Studio navigation: use a real hamburger and role-filtered drawer on tablets and phones. */
#app .cms-mobile-menu { display: none; }
#app .cms-mobile-menu-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 42px;
  padding: 0 13px;
  border: 1px solid #D7D1E8;
  border-radius: 11px;
  color: #202237;
  background: #FFFFFF;
  box-shadow: 0 4px 12px rgba(16,23,44,.04);
  font: 650 12px/1 'DM Sans', Arial, sans-serif;
  cursor: pointer;
  transition: background .2s, border-color .2s, box-shadow .2s, transform .2s;
}
#app .cms-mobile-menu-toggle:hover { background: #F4F1FB; border-color: #B7A9E8; }
#app .cms-mobile-menu-toggle:active { transform: translateY(1px); }
#app .cms-mobile-menu-toggle:focus-visible,
#app .cms-mobile-close:focus-visible,
#app .cms-mobile-nav-item:focus-visible { outline: 3px solid rgba(118,82,233,.38); outline-offset: 2px; }
#app .cms-hamburger-icon { display: inline-flex; flex-direction: column; justify-content: center; gap: 4px; width: 17px; height: 17px; }
#app .cms-hamburger-icon i { display: block; width: 17px; height: 2px; border-radius: 2px; background: #32145F; transition: transform .2s, width .2s, opacity .2s; }
#app .cms-hamburger-icon i:nth-child(2) { width: 12px; }
#app .cms-mobile-menu-toggle[aria-expanded="true"] .cms-hamburger-icon i:first-child { transform: translateY(6px) rotate(45deg); }
#app .cms-mobile-menu-toggle[aria-expanded="true"] .cms-hamburger-icon i:nth-child(2) { opacity: 0; }
#app .cms-mobile-menu-toggle[aria-expanded="true"] .cms-hamburger-icon i:last-child { transform: translateY(-6px) rotate(-45deg); }
#app .cms-mobile-drawer[hidden],
#app .cms-mobile-backdrop[hidden] { display: none !important; }
#app .cms-mobile-drawer {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 2;
  width: min(330px, calc(100vw - 28px));
  max-height: min(72vh, 590px);
  overflow: auto;
  overscroll-behavior: contain;
  padding: 13px;
  color: #202237;
  background: #FFFFFF;
  border: 1px solid #E3DDF2;
  border-radius: 17px;
  box-shadow: 0 22px 65px rgba(20,17,48,.22);
  scrollbar-width: thin;
}
#app .cms-mobile-menu.is-open { z-index: 100; }
#app .cms-mobile-drawer-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 4px 3px 13px; border-bottom: 1px solid #ECE8F5; }
#app .cms-mobile-drawer-head strong { display: block; color: #202237; font-size: 14px; font-weight: 750; }
#app .cms-mobile-drawer-head span { display: block; margin-top: 3px; color: #77738B; font-size: 11px; }
#app .cms-mobile-close { display: grid; place-items: center; width: 34px; height: 34px; flex: 0 0 34px; border: 1px solid #E3DDF2; border-radius: 9px; background: #F8F6FC; color: #32145F; font-size: 24px; line-height: 1; }
#app .cms-mobile-nav-group { padding-top: 12px; }
#app .cms-mobile-nav-group + .cms-mobile-nav-group { margin-top: 7px; border-top: 1px solid #ECE8F5; }
#app .cms-mobile-nav-group > p { margin: 0 8px 6px; color: #7A7297; font: 9px/1.5 'DM Mono', monospace; letter-spacing: .14em; text-transform: uppercase; }
#app .cms-mobile-nav-item { display: flex; align-items: center; gap: 11px; width: 100%; min-height: 42px; margin: 2px 0; padding: 9px 10px; border: 1px solid transparent; border-radius: 10px; background: transparent; color: #39364F; text-align: left; font: 550 12px/1.35 'DM Sans', Arial, sans-serif; cursor: pointer; transition: background .18s, border-color .18s, color .18s; }
#app .cms-mobile-nav-item:hover { background: #F7F4FD; border-color: #E7E0F7; }
#app .cms-mobile-nav-item.active { color: #FFFFFF; background: #7652E9; border-color: #7652E9; font-weight: 750; }
#app .cms-mobile-nav-icon { display: grid; place-items: center; width: 23px; height: 23px; flex: 0 0 23px; border-radius: 7px; color: #6545C5; background: #F0EDFA; font-size: 13px; }
#app .cms-mobile-nav-item.active .cms-mobile-nav-icon { color: #FFFFFF; background: rgba(255,255,255,.18); }
#app .cms-mobile-nav-label { min-width: 0; flex: 1; }
#app .cms-mobile-nav-item .cms-status { margin-left: auto; color: #5739B4; background: #F0EDFA; border-color: #D8CEFF; }
#app .cms-mobile-nav-item.active .cms-status { color: #FFFFFF; background: rgba(255,255,255,.16); border-color: rgba(255,255,255,.28); }
#app .cms-mobile-backdrop {
  position: fixed;
  inset: 0;
  z-index: 15;
  display: block;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(19,16,43,.26);
  cursor: default;
  -webkit-tap-highlight-color: transparent;
}
@media (max-width: 960px) {
  #app .cms-mobile-menu { display: block !important; position: absolute; top: 12px; right: clamp(14px, 2.5vw, 24px); z-index: 30; width: auto; flex: 0 0 auto; order: 0; }
  #app .cms-mobile-menu-toggle { min-width: 86px; }
  #app .cms-mobile-drawer { top: calc(100% + 10px); }
  #app .cms-topbar { padding-right: clamp(14px, 2.5vw, 24px); }
}
@media (max-width: 480px) {
  #app .cms-mobile-menu { top: 10px; right: 12px; }
  #app .cms-mobile-menu-toggle { min-width: 82px; min-height: 40px; padding-inline: 11px; }
  #app .cms-mobile-drawer { width: min(320px, calc(100vw - 24px)); max-height: min(74dvh, 560px); padding: 11px; border-radius: 15px; }
  #app .cms-mobile-nav-item { min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
  #app .cms-mobile-menu-toggle,
  #app .cms-hamburger-icon i,
  #app .cms-mobile-nav-item { transition: none !important; }
}

/* Refined Studio mobile header: keep the brand and hamburger in one row,
   retain only draft/publish controls in the toolbar, and move utility actions
   into the navigation drawer. Desktop styles above remain unchanged. */
@media (max-width: 960px) {
  #app .cms-topbar {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px 10px;
    min-height: 0;
    padding: 12px 16px;
  }
  #app .cms-brand {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    max-width: calc(100% - 54px);
    gap: 9px;
  }
  #app .cms-top-actions {
    position: static;
    grid-column: 1 / -1;
    grid-row: 2;
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
    justify-content: stretch;
    gap: 8px;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 0;
  }
  #app .cms-top-actions .cms-live-pill,
  #app .cms-top-actions > .cms-view-site-btn,
  #app .cms-top-actions > .cms-logout-btn {
    display: none !important;
  }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn {
    display: inline-flex;
    width: 100%;
    min-width: 0;
    min-height: 43px;
    flex: initial;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 10px 11px;
    border-radius: 11px;
    font-size: 12px;
    line-height: 1.2;
    text-align: center;
    white-space: nowrap;
  }
  #app .cms-top-actions .cms-role-hint {
    grid-column: 1 / -1;
    margin: 0;
    font-size: 11px;
    line-height: 1.45;
  }
  #app .cms-mobile-menu {
    display: block !important;
    position: absolute;
    top: 12px;
    right: 14px;
    z-index: 30;
    width: auto;
    min-width: 0;
    flex: none;
    order: initial;
    margin: 0;
  }
  #app .cms-mobile-menu-toggle {
    display: grid;
    place-items: center;
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 1px solid #D7D1E8;
    border-radius: 12px;
    background: #FFFFFF;
    box-shadow: 0 3px 10px rgba(32,34,55,.05);
  }
  #app .cms-mobile-menu-toggle:hover {
    background: #F5F1FF;
    border-color: #B7A9E8;
  }
  #app .cms-hamburger-icon { width: 18px; height: 18px; gap: 4px; }
  #app .cms-hamburger-icon i { width: 18px; height: 2px; background: #32145F; }
  #app .cms-hamburger-icon i:nth-child(2) { width: 13px; }
  #app .cms-mobile-drawer {
    top: calc(100% + 10px);
    right: 0;
    width: min(330px, calc(100vw - 28px));
    max-height: min(74dvh, 620px);
    padding: 13px;
    border-radius: 16px;
  }
  #app .cms-mobile-drawer-head { padding: 3px 2px 12px; }
  #app .cms-mobile-drawer-footer {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
    padding-top: 13px;
    border-top: 1px solid #ECE8F5;
  }
  #app .cms-mobile-drawer-footer > .cms-btn {
    display: inline-flex !important;
    width: 100%;
    min-width: 0;
    min-height: 42px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 7px;
    border-radius: 10px;
    font-size: 11px;
    line-height: 1.2;
    white-space: nowrap;
    text-decoration: none;
  }
  #app .cms-mobile-drawer-action { color: #432887; background: #FFFFFF; border-color: #D7D1E8; }
  #app .cms-mobile-drawer-action:hover { color: #32145F; background: #F5F1FF; border-color: #B7A9E8; }
  #app .cms-mobile-drawer-logout { color: #432887; background: #F8F6FC; border-color: #D7D1E8; }
  #app .cms-mobile-drawer-logout:hover { color: #FFFFFF; background: #432887; border-color: #432887; }
  #app .cms-mobile-backdrop { z-index: 15; }
}
@media (max-width: 480px) {
  #app .cms-topbar { padding: 11px 12px; gap: 11px 8px; }
  #app .cms-brand { gap: 8px; max-width: calc(100% - 50px); }
  #app .cms-brand .wordmark-symbol { width: 30px; height: 30px; flex-basis: 30px; border-radius: 10px; }
  #app .cms-brand small { display: none; }
  #app .cms-mobile-menu { top: 10px; right: 12px; }
  #app .cms-mobile-menu-toggle { width: 40px; min-width: 40px; height: 40px; min-height: 40px; border-radius: 11px; }
  #app .cms-top-actions { gap: 7px; }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn { min-height: 42px; padding: 9px 7px; font-size: 11px; }
  #app .cms-mobile-drawer { width: min(320px, calc(100vw - 24px)); max-height: min(76dvh, 600px); padding: 11px; }
  #app .cms-mobile-nav-item { min-height: 44px; }
  #app .cms-mobile-drawer-footer { gap: 7px; }
}
@media (max-width: 340px) {
  #app .cms-topbar { padding-inline: 10px; }
  #app .cms-top-actions > .cms-btn,
  #app .cms-top-actions > a.cms-btn { font-size: 10px; padding-inline: 5px; }
  #app .cms-mobile-menu { right: 10px; }
}

/* Studio header scroll stability — all devices.
   The old reveal animated .cms-shell with translate3d, which creates a transformed
   ancestor for its sticky toolbar during page entry. The toolbar itself was also
   forced into a GPU transform and used backdrop blur. Remove those competing
   compositing effects and keep native sticky positioning. */
#app.is-page-entering > .cms-shell {
  animation: none !important;
  opacity: 1 !important;
  transform: none !important;
  filter: none !important;
  will-change: auto !important;
}
#app .cms-topbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  background: #FFFFFF !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  will-change: auto !important;
  transition: none !important;
}

/* Root-level Content Studio header stability correction.
   Earlier mobile-only rules forced translate3d/backface compositing on the
   sticky bar, while the CMS shell also had a translateY page-entry animation.
   Those competing layers can make a sticky header appear to vibrate while
   scrolling. Keep the bar sticky, but remove transform/filter animations from
   the bar and its CMS shell on every viewport size. */
#app .cms-topbar {
  position: -webkit-sticky !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 120 !important;
  background: #FFFFFF !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  perspective: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  transition: none !important;
  animation: none !important;
  overflow-anchor: none;
}
/* Sticky descendants should not sit inside an animated/transformed ancestor. */
#app.is-page-entering > .cms-shell {
  animation: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  opacity: 1 !important;
  will-change: auto !important;
}


/* Content Studio header: use a measured viewport-fixed toolbar instead of sticky.
   Sticky positioning plus overflow/scroll-root differences can wobble on some
   WebKit and Chromium device combinations. The JS reserves this exact height in
   .cms-shell, including the two-row mobile/tablet toolbar. */
#app .cms-shell {
  overflow-x: visible !important;
  overflow-y: visible !important;
  padding-top: var(--cms-topbar-reserve, 72px) !important;
}
#app .cms-topbar {
  position: fixed !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  z-index: 1200 !important;
  box-sizing: border-box !important;
  background: #FFFFFF !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
  transform: none !important;
  -webkit-transform: none !important;
  filter: none !important;
  -webkit-filter: none !important;
  perspective: none !important;
  will-change: auto !important;
  backface-visibility: visible !important;
  -webkit-backface-visibility: visible !important;
  transition: none !important;
  animation: none !important;
  overflow-anchor: none !important;
}
#app .cms-main {
  min-width: 0;
  scroll-margin-top: calc(var(--cms-topbar-reserve, 72px) + 12px);
}
@media (max-width: 960px) {
  #app .cms-shell { padding-top: var(--cms-topbar-reserve, 124px) !important; }
}


/* Final Studio login polish: centered brand mark, centered submit action,
   and no extra footer row that forces an unnecessary page scroll. */
#app > .studio-login {
  grid-template-rows: auto minmax(0, 1fr) !important;
  gap: clamp(14px, 2vh, 22px) !important;
  padding: clamp(18px, 2.6vh, 28px) clamp(20px, 4vw, 52px) !important;
  overflow-x: hidden;
  overflow-y: auto;
}
#app > .studio-login .studio-login-mark {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-sizing: border-box;
  width: 54px;
  height: 54px;
  min-width: 54px;
  min-height: 54px;
  padding: 0;
  line-height: 1;
}
#app > .studio-login .studio-login-mark .studio-login-glyph {
  display: block;
  margin: 0;
  padding: 0;
  color: #D8CEFF;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.1em;
  white-space: nowrap;
  transform: translateX(-1px);
}
#app > .studio-login .studio-login-top .wordmark-symbol {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  padding: 0 2px 1px 0;
  overflow: hidden;
  font-size: 22px;
  line-height: 1;
  letter-spacing: -.1em;
}
#app > .studio-login #studio-login-form .cms-btn.lime {
  justify-content: center !important;
  gap: 0 !important;
  text-align: center;
  color: #FFFFFF;
}
#app > .studio-login .studio-login-bottom {
  display: none !important;
}
@media (max-height: 760px) {
  #app > .studio-login {
    gap: 14px !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
  }
  #app > .studio-login .studio-login-card {
    padding-top: 24px;
    padding-bottom: 24px;
  }
  #app > .studio-login .studio-login-mark {
    margin-bottom: 18px;
  }
  #app > .studio-login .studio-login-card h1 {
    margin-top: 17px;
    margin-bottom: 12px;
  }
  #app > .studio-login #studio-login-form {
    margin-top: 20px;
  }
}


/* AUTHENTICATED HEADER NAV ALIGNMENT FIX — keep primary links centered when
   Content Studio/account controls appear or change width. Desktop only: the
   mobile/tablet header retains its existing hamburger/drawer layout. */
@media (min-width: 1200px) {
  .site-header > .header-inner {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) max-content minmax(0, 1fr) !important;
    align-items: center !important;
    justify-content: initial !important;
    column-gap: clamp(16px, 1.7vw, 24px) !important;
  }

  .site-header > .header-inner > .wordmark {
    grid-column: 1;
    justify-self: start;
    min-width: 0;
  }

  .site-header > .header-inner > .nav {
    grid-column: 2;
    justify-self: center;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin-inline: 0 !important;
  }

  .site-header > .header-inner > .header-actions {
    grid-column: 3;
    justify-self: end;
    min-width: 0;
    max-width: 100%;
  }
}


/* MOBILE HEADER REFINEMENT — clear brand mark and a true three-line hamburger.
   Scoped to the public site header on phones/tablets; drawer logic and desktop layout
   are unchanged. */
@media (max-width: 760px) {
  #app > .site-header > .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: nowrap;
    gap: 10px;
    width: calc(100% - 24px) !important;
    min-width: 0;
  }

  #app > .site-header .wordmark {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    gap: 8px;
    font-size: 13px;
    line-height: 1;
    white-space: nowrap;
  }

  #app > .site-header .wordmark-symbol {
    flex: 0 0 30px;
    width: 30px;
    height: 30px;
    font-size: 18px;
  }

  #app > .site-header .header-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    min-width: 42px;
    margin-left: auto;
    gap: 0;
  }

  #app > .site-header .menu-toggle {
    display: grid !important;
    place-items: center;
    flex: 0 0 42px;
    width: 42px;
    min-width: 42px;
    height: 42px;
    padding: 0;
    border: 1px solid rgba(76, 29, 149, .23);
    border-radius: 50%;
    color: #352052;
    background: rgba(255, 255, 255, .88);
    box-shadow: 0 2px 9px rgba(38, 23, 67, .09), inset 0 1px 0 rgba(255,255,255,.96);
    transform: none !important;
  }

  #app > .site-header .menu-toggle-glyph {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    gap: 4px;
    width: 20px;
    height: 18px;
  }

  #app > .site-header .menu-toggle-glyph i {
    display: block;
    flex: 0 0 2px;
    width: 100%;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    opacity: 1;
    transform-origin: center;
    transition: transform .25s ease, opacity .18s ease;
  }

  #app > .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-glyph i:first-child {
    transform: translateY(6px) rotate(45deg);
  }
  #app > .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-glyph i:nth-child(2) {
    opacity: 0;
    transform: scaleX(.25);
  }
  #app > .site-header .menu-toggle[aria-expanded="true"] .menu-toggle-glyph i:last-child {
    transform: translateY(-6px) rotate(-45deg);
  }
}

@media (max-width: 420px) {
  #app > .site-header > .header-inner {
    width: calc(100% - 20px) !important;
    gap: 8px;
  }
  #app > .site-header .wordmark {
    gap: 7px;
    font-size: 12.5px;
  }
  #app > .site-header .wordmark-symbol {
    flex-basis: 29px;
    width: 29px;
    height: 29px;
    font-size: 17px;
  }
}

@media (max-width: 340px) {
  #app > .site-header .menu-toggle {
    flex-basis: 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
  }
  #app > .site-header .wordmark {
    gap: 6px;
    font-size: 11.5px;
  }
  #app > .site-header .wordmark-symbol {
    flex-basis: 27px;
    width: 27px;
    height: 27px;
    font-size: 16px;
  }
}

/* MOBILE TAP / FOCUS POLISH
   Remove the browser's blue tap/focus rectangle after touch interactions while
   keeping :focus-visible indicators available for keyboard navigation. */
@media (hover: none) and (pointer: coarse) {
  html,
  body,
  #app,
  #app a,
  #app button,
  #app [role="button"],
  #app summary,
  #app .service-row,
  #app .project-card,
  #app .portfolio-project-card,
  #app .portfolio-card-action {
    -webkit-tap-highlight-color: transparent !important;
  }

  #app a:focus:not(:focus-visible),
  #app button:focus:not(:focus-visible),
  #app [role="button"]:focus:not(:focus-visible),
  #app summary:focus:not(:focus-visible) {
    outline: none !important;
    box-shadow: none !important;
  }
}


/* SMART CAPSULE PARITY — identical hide/reveal behavior at every viewport size.
   GSAP continues to own motion when available. These transitions are the matching
   fallback for browsers where GSAP cannot initialize, and apply on every public page. */
body:not(.anthromini-gsap-nav-ready) #app > .site-header {
  transition: opacity .22s ease, visibility .22s ease !important;
}
body:not(.anthromini-gsap-nav-ready) #nav-quick-toggle {
  transition: opacity .28s ease, transform .38s cubic-bezier(.2,.75,.2,1), visibility .28s ease !important;
}

/* MOBILE FOOTER SOCIAL ICONS — one horizontal row on phones, without overflowing the footer. */
@media (max-width: 760px) {
  .site-footer .footer-capabilities-col {
    min-width: 0;
  }

  .site-footer .footer-socials {
    display: flex !important;
    flex-flow: row nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    width: max-content;
    max-width: 100%;
    min-width: 0;
    margin-top: 16px;
    padding: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
  }

  .site-footer .footer-socials .footer-social-link {
    box-sizing: border-box;
    flex: 0 0 40px;
    width: 40px;
    min-width: 40px;
    height: 40px;
    margin: 0;
  }

  .site-footer .footer-socials .footer-social-link svg {
    width: 19px;
    height: 19px;
  }
}

/* MOBILE FOOTER BOTTOM ALIGNMENT — center copyright and legal links only on mobile. */
@media (max-width: 760px) {
  .site-footer .footer-bottom {
    align-items: center !important;
    flex-direction: column !important;
    justify-content: center !important;
    text-align: center !important;
    gap: 12px !important;
  }
  .site-footer .footer-bottom > span {
    display: block;
    width: 100%;
    text-align: center !important;
  }
  .site-footer .footer-bottom-links {
    display: flex;
    width: 100%;
    justify-content: center !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px 14px;
    text-align: center;
  }
  .site-footer .footer-bottom-links a {
    text-align: center;
  }
}


/* RESPONSIVE CINEMATIC SCROLL — landscape tablets use the pinned hero choreography;
   compact screens keep natural document flow with scroll-linked parallax, scaled reveal distances,
   and reversible section reveals. Respect the user's reduced-motion preference. */
@media screen and (min-width: 960px) and (max-width: 1099px) and (min-height: 680px) and (prefers-reduced-motion: no-preference) {
  body.has-cuberto-hero .hero-scroll-story {
    height: 165svh;
    min-height: 0;
    padding: 0;
  }
  body.has-cuberto-hero .hero-scroll-sticky {
    position: sticky;
    top: 82px;
    height: calc(100svh - 82px);
    min-height: 560px;
  }
  body.has-cuberto-hero .hero-scroll-story .hero-grid {
    grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr);
    align-items: center;
    gap: clamp(16px, 2.2vw, 24px);
  }
  body.has-cuberto-hero .hero-scroll-story .hero-art.hero-architecture-stage {
    min-height: 0;
    height: min(460px, calc(100svh - 150px));
  }
}

@media screen and (max-width: 1024px) and (prefers-reduced-motion: no-preference) {
  .funky-motion-pending { transform: translate3d(0, 16px, 0); }
  .funky-motion-in-view { animation-duration: .62s; }
}
@media screen and (max-width: 600px) and (prefers-reduced-motion: no-preference) {
  .funky-motion-pending { transform: translate3d(0, 12px, 0); }
  .funky-motion-in-view { animation-duration: .52s; }
  @keyframes am-funky-enter {
    from { opacity: 0; transform: translate3d(0, 12px, 0); }
    to { opacity: 1; transform: translate3d(0, 0, 0); }
  }
}


/* Loader brand asset: replaces the former text-built mark without changing loader motion. */
.intro-logo-image {
  display: block;
  width: clamp(240px, 33vw, 380px);
  max-width: calc(100vw - 64px);
  height: auto;
  object-fit: contain;
  flex: 0 1 auto;
}


/* Header brand mark: gradient symbol only; keep the existing wordmark text and header layout. */


/* Header brand: preserve the supplied full logo artwork; give it enough room to read clearly. */
.wordmark-full-image {
  display: block;
  width: 192px;
  height: auto;
  max-height: 46px;
  flex: 0 0 192px;
  min-width: 0;
  object-fit: contain;
  object-position: left center;
  image-rendering: auto;
}
@media (max-width: 760px) {
  #app > .site-header .wordmark-full-image {
    width: clamp(128px, 39vw, 150px);
    max-height: 36px;
    flex-basis: clamp(128px, 39vw, 150px);
  }
}
@media (max-width: 380px) {
  #app > .site-header .wordmark-full-image {
    width: 122px;
    max-height: 30px;
    flex-basis: 122px;
  }
}

/* Reuse the exact loader lockup in the footer and mobile navigation drawer. */
.site-footer .footer-brand .footer-brand-logo {
  display: inline-flex;
  align-items: center;
  width: max-content;
  max-width: 100%;
  gap: 0;
  line-height: 0;
  flex: 0 1 auto;
}
.footer-brand-logo-image,
.nav-drawer-brand-image {
  display: block;
  width: auto;
  height: 36px;
  max-width: 100%;
  object-fit: contain;
  image-rendering: auto;
}
.nav-drawer-brand {
  width: max-content;
  max-width: calc(100% - 92px);
  min-width: 0;
  gap: 0;
  line-height: 0;
  flex: 0 1 auto;
}
@media (max-width: 600px) {
  .footer-brand-logo-image,
  .nav-drawer-brand-image {
    height: 35px;
  }
}


/* CMS brand refresh: use the same new Anthromini gradient app mark without changing CMS layout. */
#app .cms-brand .cms-brand-logo-image {
  display: block;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  max-width: none;
  object-fit: contain;
  border-radius: 9px;
}
#app .studio-login-top .cms-auth-brand-icon {
  display: block;
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  object-fit: contain;
  border-radius: 11px;
}
#app > .studio-login .studio-login-mark {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  min-width: 54px !important;
  min-height: 54px !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 15px !important;
  background: transparent !important;
  color: transparent !important;
  box-shadow: none;
}
#app > .studio-login .studio-login-mark-image {
  display: block !important;
  width: 54px !important;
  height: 54px !important;
  max-width: none !important;
  object-fit: contain !important;
  border-radius: 15px;
}
#app .cms-preview-banner .tiny-wordmark img {
  display: block;
  width: 22px;
  height: 22px;
  object-fit: contain;
  border-radius: 6px;
}


/* Content Studio: keep the document as the single native scroll container.
   This prevents stale overlay/Lenis state from locking the whole CMS until refresh. */
html.cms-workspace-active,
body.cms-workspace-active {
  height: auto !important;
  min-height: 100% !important;
  overflow-x: hidden !important;
  overflow-y: auto !important;
  overscroll-behavior-y: auto !important;
}
body.cms-workspace-active {
  position: static !important;
  touch-action: pan-y;
}
body.cms-workspace-active #app,
body.cms-workspace-active #app .cms-shell {
  min-height: 100vh;
  overflow: visible !important;
}

/* MOBILE SHOWREEL — fit the 16:9 video frame to the available mobile viewport. */
@media screen and (max-width: 760px) {
  .showreel-player-dialog .showreel-player-frame {
    display: grid;
    place-items: center;
  }

  .showreel-player-dialog .showreel-full-video {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    aspect-ratio: 16 / 9;
    object-fit: contain !important;
    object-position: center center !important;
  }
}
