/* AGNI client-approved reference layout, 2026. Scoped to Gutenberg reference blocks. */
:root{--ref-charcoal:#252627;--ref-orange:#ed4d21;--ref-gold:#ffd019;--ref-green:#2d7835;--ref-heading:"Posterama","Arial Black",Arial,sans-serif;--ref-body:"Open Sans",Arial,sans-serif}
body{font-family:var(--ref-body)}.agni-ref-main{background:#fff;color:#282828;overflow:clip}.agni-ref-container{width:min(1180px,calc(100% - 66px));margin:0 auto}
.agni-ref{font-family:var(--ref-body);position:relative;isolation:isolate}.agni-ref *{box-sizing:border-box}.agni-ref h1,.agni-ref h2,.agni-ref h3,.agni-ref p{margin:0}.agni-ref h1,.agni-ref h2,.agni-ref h3{font-family:var(--ref-heading);font-weight:700;letter-spacing:-.038em}.agni-ref p{line-height:1.66}.agni-ref a{text-decoration:none}
.agni-ref-prose p+p{margin-top:16px}.agni-ref-prose{font-size:15px;line-height:1.75}.agni-ref-prose strong{font-weight:700}.agni-ref-prose em{font-style:italic}
/* Reference-style header: light, flat, sticky and evenly spaced */
.agni-ref-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.94);box-shadow:0 3px 18px #00000018;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px);color:#171717}
.admin-bar .agni-ref-header{top:32px}.agni-ref-header--static{position:relative;top:auto!important}
.agni-ref-header-row{max-width:1250px;width:calc(100% - 72px);margin:auto;height:79px;display:flex;align-items:center;justify-content:space-between;gap:38px}
.agni-ref-brand{display:flex;align-items:center;gap:8px;text-decoration:none!important;color:#080808;min-width:170px}
.agni-ref-brand-mark{width:46px;height:46px;flex:none}.agni-ref-brand-text{font-family:var(--ref-heading);font-size:29px;font-weight:800;letter-spacing:.075em;line-height:.86}
.agni-ref-brand-sub{display:block;font:700 7px/1.5 var(--ref-body);letter-spacing:.2em;margin-top:6px;text-transform:uppercase}
.agni-ref-brand img{width:auto;max-width:200px;max-height:54px;object-fit:contain}
.agni-ref-nav{display:flex;align-items:center;justify-content:flex-end;gap:26px;min-width:0;flex:1}
.agni-ref-nav ul{list-style:none!important;margin:0!important;padding:0!important;display:flex;align-items:center;justify-content:flex-end;gap:26px}
.agni-ref-nav li{padding:0!important;margin:0!important;list-style:none!important;position:relative}.agni-ref-nav li:before{display:none!important}
.agni-ref-nav a{font-size:11px;font-weight:700;color:#252525;text-decoration:none;white-space:nowrap;letter-spacing:.015em;text-transform:uppercase}
.agni-ref-nav a:hover{color:var(--ref-orange)}.agni-ref-nav .sub-menu{display:none;position:absolute;left:0;top:100%;padding:14px!important;background:#fff;box-shadow:0 14px 25px #0002;border-radius:8px;min-width:170px;flex-direction:column;align-items:flex-start;gap:15px}
.agni-ref-nav li:hover>.sub-menu,.agni-ref-nav li:focus-within>.sub-menu{display:flex}
.agni-ref-header-cta{font-size:11px;padding:12px 17px;border-radius:28px;background:linear-gradient(115deg,#e92d2a,#ffd018);color:white!important;text-transform:uppercase;text-decoration:none;font-weight:700;white-space:nowrap}
.agni-ref-mobile-toggle{display:none;border:1px solid #eee;border-radius:11px;padding:9px 12px;background:#fff;color:#333}.agni-ref-mobile-menu{display:none}
/* Reference hero: bright particles / warm orbit and shallow organic wave */
.agni-ref-hero{min-height:335px;display:flex;align-items:center;justify-content:center;text-align:center;padding:74px 20px 100px;overflow:hidden;background:
 radial-gradient(ellipse at 58% 44%,rgba(255,237,184,.64),transparent 44%),
 radial-gradient(circle at 86% 48%,rgba(255,188,83,.64),transparent 34%),
 radial-gradient(circle at 10% 74%,rgba(179,168,172,.4),transparent 44%),
 #dfd4ce}
.agni-ref-hero:before{content:"";position:absolute;inset:-15%;opacity:.44;z-index:-2;background:transparent;filter:blur(11px) saturate(1.1);transform:scale(1.12)}
.agni-ref-hero:after{content:"";z-index:-1;position:absolute;inset:0;background:radial-gradient(circle at 26% 30%,#fff9 0 3px,transparent 7px),radial-gradient(circle at 38% 56%,#fff9 0 5px,transparent 12px),radial-gradient(circle at 72% 21%,#fff8 0 4px,transparent 11px),linear-gradient(90deg,#f2e9e345,transparent,#ffdbae22)}
.agni-ref-hero-orb{position:absolute;right:-90px;top:-210px;width:780px;height:780px;border-radius:50%;border:2px solid #fff8;transform:rotate(-26deg) scaleY(.58);box-shadow:0 0 26px #fff6;pointer-events:none;opacity:.75}
.agni-ref-hero-orb span{position:absolute;inset:90px;border:2px solid #fff8;border-radius:50%}.agni-ref-hero-orb i{position:absolute;width:15px;height:15px;border-radius:50%;background:#fffbd9;box-shadow:0 0 28px 10px #fffab8;top:51%;left:5%;animation:agni-ref-light 5s ease-in-out infinite alternate}
@keyframes agni-ref-light{from{opacity:.4;transform:scale(.7)}to{opacity:1;transform:scale(1.1)}}
.agni-ref-hero-inner{position:relative;z-index:2;max-width:1350px;margin:auto}.agni-ref-hero-eyebrow{font-size:26px;line-height:1.15;color:#3d3938;font-weight:400;margin-bottom:5px!important}
.agni-ref-hero h1{color:var(--ref-orange);font-size:clamp(23px,2.47vw,37px);font-weight:800;letter-spacing:-.04em;line-height:1.2;text-transform:uppercase;max-width:1390px;margin:0 auto 28px}
.agni-ref-pill{display:inline-flex;align-items:center;justify-content:center;color:#fff;background:linear-gradient(115deg,#f04721 0%,#ffbb17 100%);border-radius:100px;padding:7px 17px;font:700 11px/1 var(--ref-body);white-space:nowrap}
.agni-ref-pill-hot{padding:14px 29px;font-size:12px;background:linear-gradient(105deg,#e92b26,#f04c19,#ffd31e)}
.agni-ref-pill-small{padding:6px 14px;font-size:11px}.agni-ref-pill-green{background:linear-gradient(90deg,#1e6632,#4c9d2b)}
.agni-ref-hero--left .agni-ref-hero-inner{text-align:left;margin-left:max(22px,calc((100vw - 1180px)/2))}
.agni-ref-wave{width:100%;position:absolute;height:70px;bottom:-1px;left:0;z-index:3}
/* About: white split layout and organic clipped image */
.agni-ref-about{background:#fff;padding:43px 0 80px}
.agni-ref-split{display:grid;grid-template-columns:1fr 1fr;gap:8%;align-items:center}
.agni-ref-image-left .agni-ref-copy{order:2}.agni-ref-image-left .agni-ref-art{order:1}
.agni-ref-about h2,.agni-ref-founder h2,.agni-ref-operating h2{font-size:clamp(37px,4.2vw,57px);line-height:1.05;color:#ed4b21;text-transform:uppercase;margin:12px 0 17px}
.agni-ref-about .agni-ref-art{min-height:350px}.agni-ref-art-about{position:relative;display:grid;place-items:center}.agni-ref-art-about img{width:100%;max-width:500px;height:345px;object-fit:cover;border-radius:48% 38% 43% 55%/46% 52% 43% 50%;transform:rotate(-7deg);box-shadow:0 25px 40px #f9671d1c}
/* Charcoal two-section region */
.agni-ref-dark{background:var(--ref-charcoal);color:#fff}.agni-ref-dark .agni-ref-prose{color:#e3e3e3}
.agni-ref-philadelphia{padding:90px 0 65px}.agni-ref-philadelphia h2,.agni-ref-advantage h2{font-size:clamp(31px,3.9vw,52px);text-transform:uppercase;margin-bottom:20px;line-height:1.12}
.agni-ref-gradient-heading{background:linear-gradient(96deg,#ed3d29 0%,#fd7330 55%,#fff11e 100%);color:transparent;background-clip:text;-webkit-background-clip:text}
.agni-ref-art-city{position:relative;min-height:350px;display:flex;align-items:flex-end;overflow:hidden}.agni-ref-art-city:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,var(--ref-charcoal) 0%,transparent 15%),linear-gradient(0deg,var(--ref-charcoal),transparent 34%);pointer-events:none}
.agni-ref-art-city img{width:100%;height:300px;object-fit:cover;object-position:center;mix-blend-mode:screen;opacity:.95;mask-image:linear-gradient(90deg,transparent,#000 14%)}
.agni-ref-33{position:absolute;top:13px;left:10%;z-index:2;color:#ff711a;font-weight:800;line-height:.9}.agni-ref-33 strong{font:800 48px/1 var(--ref-heading)}.agni-ref-33 small{display:block;font-size:15px;max-width:115px;margin-top:4px;line-height:1.15}
.agni-ref-drive{position:absolute;right:5px;top:26px;z-index:2;color:#ffd324;font-size:12px;font-weight:800;line-height:1.1;text-align:right;max-width:85px}
.agni-ref-advantage{padding:80px 0 100px;border-top:0}.agni-ref-advantage:before{content:"";position:absolute;z-index:2;top:-24px;left:5%;width:90%;height:27px;border-bottom:2px solid transparent;border-image:linear-gradient(90deg,#e44924,#f46d24,#ffe233) 1;pointer-events:none}.agni-ref-art-cycle{min-height:300px;display:grid;place-items:center}.agni-ref-art-cycle img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;object-position:center;border-radius:0;transform:none;clip-path:none;mask:none;-webkit-mask:none}
/* Three staggered cards, still light glass and easy to scan */
.agni-ref-pillars{padding:96px 0 15px;background:#fff}
.agni-ref-pillars-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:25px;align-items:start}
.agni-ref-pillar{min-height:265px;padding:24px 27px 28px;border:1px solid #eee;border-radius:16px;background:rgba(255,255,255,.85);box-shadow:0 6px 20px #0000000f,0 20px 30px #00000006;backdrop-filter:blur(22px)}
.agni-ref-pillar:nth-child(2){margin-top:36px}.agni-ref-pillar:nth-child(3){margin-top:72px}
.agni-ref-green-line{height:5px;width:45px;border-radius:5px;background:linear-gradient(90deg,#156334,#84ad21);margin-bottom:15px}
.agni-ref-pillar h3{font-size:23px;color:#e54823;text-transform:uppercase;letter-spacing:-.035em;margin-bottom:9px}.agni-ref-pillar p{font-size:13.2px;line-height:1.65;color:#303030}
/* 4 gradient cards. Fifth bullet is visible within the fourth, matching the supplied mockup */
.agni-ref-operating{background:#fff;padding:0 0 112px}
.agni-ref-center-heading{text-align:center;margin:30px 0 25px}.agni-ref-center-heading h2{margin:12px 0 0;font-size:clamp(32px,4.4vw,55px)}
.agni-ref-model-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}
.agni-ref-model-card{color:white;border-radius:11px;background:linear-gradient(125deg,#de1c2d,#f25722);padding:27px 22px 30px;min-height:325px;box-shadow:0 6px 14px #0001;display:flex;flex-direction:column}
.agni-ref-model-card:nth-child(2){background:linear-gradient(135deg,#e9262b,#ed6a25)}
.agni-ref-model-card:nth-child(3){background:linear-gradient(135deg,#ef4b25,#f78a20)}
.agni-ref-model-card:nth-child(4){background:linear-gradient(135deg,#f05819,#ffd310)}
.agni-ref-model-icon{font:700 36px/1 Arial,sans-serif;width:65px;height:65px;border:2px solid #fff;border-radius:50%;display:grid;place-items:center;margin:0 auto 17px}
.agni-ref-model-card h3{font:700 15px/1.2 var(--ref-body);letter-spacing:-.018em;text-transform:uppercase;text-align:center;margin:0 0 13px;color:white}
.agni-ref-model-card p{font-size:13px;line-height:1.55;color:white}.agni-ref-model-card:nth-child(4) h3{font-size:13px;text-align:left;margin-bottom:6px}.agni-ref-model-card:nth-child(4) p{font-size:11.5px;line-height:1.42}
.agni-ref-model-sep{height:1px;background:#fff9;margin:13px 0}
/* Founder pale molecular backdrop and large glass profile panel */
.agni-ref-founder{padding:90px 0 125px;background:radial-gradient(circle at 0% 66%,#e8c8ae3b,transparent 25%),radial-gradient(circle at 98% 25%,#efbd9b5c,transparent 21%),linear-gradient(#fff9f7,#faf7f5)}
.agni-ref-founder:before{content:"";position:absolute;right:6%;top:60px;width:210px;height:210px;border:17px solid #e9bda048;border-radius:50%;box-shadow:-150px 220px 0 -75px #e8b09d33;filter:blur(2px);pointer-events:none;z-index:-1}
.agni-ref-founder h2{font-size:clamp(42px,5.1vw,72px);margin-top:9px}
.agni-ref-founder-panel{background:#ffffffd9;border:1px solid #e8e7e5;border-radius:17px;padding:32px;box-shadow:0 6px 20px #34271e1e;backdrop-filter:blur(17px)}
.agni-ref-founder-main{display:grid;grid-template-columns:250px minmax(0,1fr);gap:32px}
.agni-ref-founder-portrait{text-align:center;padding-right:25px;border-right:1px solid #ffc1ac}
.agni-ref-founder-portrait img{width:213px;height:213px;object-fit:cover;border-radius:50%;box-shadow:0 0 0 3px #efbfaa;display:block;margin:8px auto 24px}
.agni-ref-founder-portrait h3{text-transform:uppercase;font-size:21px;color:#e84021}
.agni-ref-founder-portrait p{font-size:13px;line-height:1.4;margin-top:5px}
.agni-ref-founder-copy h3{font-family:var(--ref-body);font-size:21px;font-weight:400;margin-bottom:9px}.agni-ref-founder-copy h3 em{color:#e64329;font-style:normal;font-weight:800}
.agni-ref-founder-copy .agni-ref-prose{font-size:13.6px;line-height:1.58}.agni-ref-founder-copy .agni-ref-prose p+p{margin-top:11px}
.agni-ref-founder-panel blockquote{display:flex;gap:20px;margin:24px 0 0;padding:22px 24px;background:#faf6f2;border-radius:12px;color:#4d4b4b;border:0}
.agni-ref-quote-mark{color:#ee4c21;font:bold 66px/1 Georgia,serif;border-left:2px solid #f25430;padding-left:15px}
.agni-ref-founder-panel blockquote p{font-size:14px;font-style:italic;line-height:1.6}.agni-ref-founder-panel cite{font-size:12px;color:#5b5a58;font-style:normal;margin-top:5px;display:block}
/* Footer from the existing theme, adapted to the light-to-dark reference brand */
.agni-ref-footer{background:#242526;color:#eee;padding:45px 0 24px}.agni-ref-footer .agni-ref-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:45px}.agni-ref-footer p{color:#bbb;font-size:13px;line-height:1.7}.agni-ref-footer h4{color:#ffa655;font-size:14px;margin:0 0 16px}.agni-ref-footer a{color:#eee;text-decoration:none}.agni-ref-footer a:hover{color:#ffd12b}.agni-ref-footer-links a{display:block;font-size:13px;margin:0 0 11px}.agni-ref-footer-bottom{border-top:1px solid #ffffff21;margin-top:30px;padding-top:16px;font-size:11px;color:#aaa;display:flex;justify-content:space-between}
/* Page templates styling without heavy JS */
.agni-reference-inner{background:#fff;color:#2b2b2b}.agni-reference-inner .agni-hub-hero{background:linear-gradient(115deg,#fcf6f1,#ffffff);color:#222}.agni-reference-inner .agni-hub-hero h1{color:#df4524}.agni-reference-inner .agni-hub-hero .agni-lead{color:#505050}.agni-reference-inner .agni-rich-page{background:#fff;color:#333}
@media(max-width:1080px){.agni-ref-header-row{width:calc(100% - 38px);gap:16px}.agni-ref-nav,.agni-ref-nav ul{gap:15px}.agni-ref-nav a{font-size:10px}.agni-ref-split{gap:5%}.agni-ref-pillar{padding:20px}.agni-ref-model-card{padding:20px 13px}.agni-ref-founder-main{grid-template-columns:220px minmax(0,1fr)}}
@media(max-width:800px){.agni-ref-container{width:min(680px,calc(100% - 34px))}.agni-ref-header-row{height:73px}.agni-ref-nav{display:none}.agni-ref-header-cta{margin-left:auto}.agni-ref-mobile-toggle{display:block}.agni-ref-mobile-menu.is-open{display:block;position:absolute;left:14px;right:14px;top:calc(100% + 8px);z-index:200;padding:18px;background:#fffffff5;border-radius:14px;box-shadow:0 16px 34px #0003;backdrop-filter:blur(14px)}.agni-ref-mobile-menu a{display:block;padding:11px;font-weight:700;font-size:13px;color:#303030;text-decoration:none}.agni-ref-mobile-menu ul{list-style:none;margin:0;padding:0}.agni-ref-mobile-menu .sub-menu{padding-left:17px}
.agni-ref-split{grid-template-columns:1fr;gap:28px}.agni-ref-image-left .agni-ref-copy,.agni-ref-image-left .agni-ref-art{order:initial}.agni-ref-about{padding:35px 0 65px}.agni-ref-about .agni-ref-art{min-height:260px}.agni-ref-art-about img{height:270px}.agni-ref-philadelphia,.agni-ref-advantage{padding:65px 0}.agni-ref-art-city{min-height:260px}.agni-ref-art-city img{height:260px}.agni-ref-pillars-grid{gap:12px}.agni-ref-pillar:nth-child(2),.agni-ref-pillar:nth-child(3){margin-top:0}.agni-ref-pillars-grid{grid-template-columns:1fr}.agni-ref-pillar{min-height:auto}.agni-ref-operating{padding:45px 0 85px}.agni-ref-model-grid{grid-template-columns:repeat(2,1fr);gap:10px}.agni-ref-founder-main{grid-template-columns:1fr}.agni-ref-founder-portrait{border-right:0;border-bottom:1px solid #ffd5c4;padding:0 0 22px}.agni-ref-founder{padding:65px 0 90px}}
@media(max-width:500px){.agni-ref-header-row{width:calc(100% - 26px)}.agni-ref-brand{min-width:0}.agni-ref-brand-text{font-size:23px}.agni-ref-brand-mark{width:36px;height:36px}.agni-ref-header-cta{display:none}.agni-ref-hero{min-height:360px;padding:70px 18px 100px}.agni-ref-hero-eyebrow{font-size:20px}.agni-ref-hero h1{font-size:clamp(25px,7.4vw,36px)}.agni-ref-about h2,.agni-ref-dark h2{font-size:35px}.agni-ref-prose{font-size:14px}.agni-ref-model-grid{grid-template-columns:1fr}.agni-ref-model-card{min-height:auto}.agni-ref-founder-panel{padding:16px}.agni-ref-founder-panel blockquote{padding:15px;gap:10px}.agni-ref-quote-mark{font-size:43px}.agni-ref-footer .agni-ref-footer-grid{grid-template-columns:1fr 1fr}.agni-ref-footer .agni-ref-footer-grid>div:first-child{grid-column:1/-1}.agni-ref-footer-bottom{flex-direction:column;gap:6px}}
@media(max-width:782px){.admin-bar .agni-ref-header{top:46px}}
@media(prefers-reduced-motion:reduce){.agni-ref *{animation:none!important;scroll-behavior:auto!important}}

.agni-ref-hero-bg{position:absolute;inset:-15% -4%;z-index:-3;overflow:hidden;opacity:.56;pointer-events:none}.agni-ref-hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center;filter:blur(24px) saturate(1.15)}

.agni-ref-advantage h2{font-size:clamp(31px,3.1vw,44px)}
.agni-ref-founder-panel.agni-ref-image-right .agni-ref-founder-main{grid-template-columns:minmax(0,1fr) 250px}.agni-ref-founder-panel.agni-ref-image-right .agni-ref-founder-portrait{order:2;border-right:0;border-left:1px solid #ffc1ac;padding-right:0;padding-left:25px}.agni-ref-founder-panel.agni-ref-image-right .agni-ref-founder-copy{order:1}@media(max-width:800px){.agni-ref-founder-panel.agni-ref-image-right .agni-ref-founder-main{grid-template-columns:1fr}.agni-ref-founder-panel.agni-ref-image-right .agni-ref-founder-portrait{order:1;border-left:0;padding:0 0 22px;border-bottom:1px solid #ffc1ac}.agni-ref-founder-panel.agni-ref-image-right .agni-ref-founder-copy{order:2}}

/* AGNI 2.2 — single page anchors, official branding and contact block */
html{scroll-behavior:smooth}
#home,#about,#philadelphia,#advantage,#pillars,#operating,#founder,#contact{scroll-margin-top:102px}
.agni-ref-brand-placeholder{display:flex;flex-direction:column;justify-content:center;line-height:1.08;letter-spacing:.11em;color:#1c1d1e}
.agni-ref-brand-placeholder strong{font-family:var(--ref-heading);font-size:29px;font-weight:800}
.agni-ref-brand-placeholder small{font-family:var(--ref-body);font-size:8px;letter-spacing:.19em;font-weight:700}
.agni-ref-brand img.agni-ref-uploaded-logo{width:auto;max-width:225px;max-height:65px;object-fit:contain}
.agni-ref-footer .agni-ref-brand-placeholder{color:white}
.agni-v21-page-form#contact{scroll-margin-top:102px}
.agni-v21-page-form .agni-form{max-width:950px;margin:0 auto;background:rgba(255,255,255,.88);border:1px solid #e7ded8;box-shadow:0 16px 44px #261d1512;backdrop-filter:blur(18px);border-radius:18px;color:#252627}
.agni-v21-page-form .agni-form h2{font-size:clamp(21px,3vw,35px);color:#e54928;margin-bottom:20px}
.agni-v21-page-form .agni-form .field label{color:#343434}
.agni-v21-page-form .agni-form .field input,.agni-v21-page-form .agni-form .field textarea{background:#fff;color:#242424;border:1px solid #d8d2cf}
.agni-v21-page-form .agni-form .button-primary{background:linear-gradient(115deg,#e93e3a,#f3903f,#ffd21a);color:#fff;border-radius:50px;cursor:pointer}
.agni-v21-page-form .agni-form .agni-honey{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
