/* ELYRAON — structure & layout (colors, glow and motion live in theme.css) */
*{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:96px}
body{margin:0;font-family:ui-sans-serif,system-ui,"Segoe UI",Roboto,Arial,sans-serif;font-size:15px;line-height:1.65;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.wrap{width:min(var(--wrap,1180px),calc(100% - 64px));margin-inline:auto!important}
[hidden]{display:none!important}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* ---------- header ---------- */
.site-header{min-height:84px;padding:14px max(32px,calc((100% - var(--wrap,1180px))/2));display:flex;align-items:center;justify-content:space-between;gap:20px;position:sticky;top:0;z-index:50}
.brand{display:inline-flex;align-items:center;gap:12px;font-weight:500;font-size:15px}
.brand-mark{width:38px;height:38px;display:grid;place-items:center;font-weight:500;font-size:20px;flex:none}
.main-nav{display:flex;align-items:center;gap:34px;font-size:13px}
.main-nav a{transition:color .2s}
.nav-cta{display:inline-flex;align-items:center;padding:12px 18px;font-weight:500}
.nav-cta span{margin-left:8px}
.menu-toggle{display:none;border:0;background:transparent;padding:10px;cursor:pointer}
.menu-toggle span{display:block;width:22px;height:2px;border-radius:2px}
/* ---------- shared type ---------- */
.eyebrow{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:10px;font-weight:500;margin:0 0 20px;display:flex;align-items:center;gap:11px}
h1 em,h2 em{font-style:italic;font-weight:400}
.text-link{font-size:12px;font-weight:500}
.text-link span{margin-left:8px}
/* Secondary link that sits under a primary buy button in a pricing table cell. */
.checkout-secondary-link{display:block;margin-top:8px}
/* ---------- buttons ---------- */
.button{min-height:50px;padding:0 22px;display:inline-flex;align-items:center;justify-content:center;gap:14px;border-radius:999px;font-weight:500;font-size:12px;cursor:pointer;border:0;transition:transform .28s ease-out,box-shadow .28s ease,filter .28s ease}
.button:hover{transform:translateY(-3px) scale(1.03)}
.button:active{transform:translateY(-1px) scale(.99)}
.button span{font-size:15px}
.button-dark span{font-weight:500}
.button-disabled{width:100%;min-height:46px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-weight:500;font-size:12px;cursor:not-allowed}
/* ---------- hero ---------- */
.hero{min-height:min(860px,calc(100svh - 84px));display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:48px;position:relative;padding-top:36px;padding-bottom:76px;isolation:isolate;overflow:hidden}
.hero-copy{position:relative;z-index:3;padding:26px 0 30px}
.hero h1,.product-copy h1{font-size:clamp(50px,6.6vw,88px);line-height:1.02;letter-spacing:-.06em;font-weight:500;margin:0;text-wrap:balance}
.hero-lede{font-size:16px;line-height:1.8;max-width:460px;margin:26px 0 30px}
.hero-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap}
.hero-text-link{font-size:12px;font-weight:500}
.hero-text-link span{padding-left:7px}
.hero-art{position:relative;z-index:2;display:grid;place-items:center;min-height:340px}
.hero-universe{display:block;width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:26px;position:relative;z-index:2}
/* hero decor (stars, orbs) */
/* ---------- intro band ---------- */
/* ---------- catalog ---------- */
.section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:44px}
.section-heading h2{font-size:clamp(40px,5.2vw,62px);line-height:1.06;letter-spacing:-.055em;font-weight:500;margin:0}
.section-aside{max-width:380px;font-size:13px;line-height:1.85;margin:0 0 6px}
.filter-chip{border:1px solid transparent;padding:9px 14px;border-radius:999px;font-size:11px;font-weight:500;cursor:pointer;transition:transform .25s ease-out,box-shadow .25s ease,background .25s ease,color .25s ease}
.filter-chip:hover{transform:translateY(-2px)}
.filter-chip span{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9px;margin-left:6px}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
/* ---------- product cards ---------- */
.product-card{min-height:288px;padding:20px 21px 0;display:flex;flex-direction:column;position:relative;transition:transform .3s ease-out,box-shadow .3s ease,border-color .3s ease}
.product-card:hover{transform:translateY(-7px) rotate(-.4deg)}
.status{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:999px;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:8px;white-space:nowrap}
.status i{width:5px;height:5px;border-radius:50%;flex:none}
.product-card h3{font-size:19px;line-height:1.3;letter-spacing:-.03em;font-weight:500;margin:0 0 8px}
.product-card p{font-size:11.5px;line-height:1.7;margin:0;max-width:320px}
.card-detail-link{font-size:10px;font-weight:500;white-space:nowrap}
.card-detail-link span{margin-left:5px}
.empty-state{grid-column:1/-1;min-height:220px;display:grid;place-content:center;text-align:center;font-size:12px}
.empty-state h3{margin:6px 0 4px}
.empty-state p{margin:0}
.empty-state span{font-size:34px;line-height:1}
/* ---------- storefront band ---------- */
.storefront-empty{display:inline-flex;align-items:center;gap:10px;padding-top:13px;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9px}
.storefront-empty i{width:7px;height:7px;border-radius:50%;flex:none}
.storefront-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-top:40px;position:relative;z-index:2}
/* ---------- approach ---------- */
.approach-actions{display:flex;align-items:center;gap:18px;flex-wrap:wrap;margin-top:24px}
/* ---------- approach & roadmap page ---------- */
.approach-page,.newsletter-page{padding-top:40px;padding-bottom:120px}
.approach-hero{padding:60px 0 80px;border-bottom:1px solid transparent}
.approach-hero-copy{max-width:820px}
.approach-hero-copy h1{font-size:clamp(44px,5.8vw,72px);line-height:1.04;letter-spacing:-.055em;font-weight:500;margin:0 0 24px}
.approach-hero-lede{font-size:clamp(15px,1.6vw,19px);line-height:1.8;margin:0 0 36px}
.approach-content-section{padding:96px 0;position:relative}
.macro-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:20px;margin-top:44px}
.macro-card{padding:28px 26px;border-radius:18px;display:flex;flex-direction:column;gap:12px;position:relative}
.macro-tag{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9.5px;font-weight:500}
.macro-card h3{font-size:18px;font-weight:500;letter-spacing:-.02em;margin:0}
.macro-card p{font-size:12.5px;line-height:1.75;margin:0}
.roadmap-timeline{display:grid;grid-template-columns:1fr;gap:24px;margin-top:48px}
.chapter-card{padding:34px 32px;border-radius:22px;display:flex;flex-direction:column;gap:14px;position:relative}
.chapter-card h3{font-size:24px;font-weight:500;letter-spacing:-.03em;margin:0}
.chapter-belief{font-size:13.5px;line-height:1.75;margin:0;padding-left:14px;border-left:2px solid transparent}
.chapter-desc{font-size:13px;line-height:1.8;margin:0}
.chapter-action{margin-top:12px}
.contrast-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px;margin-top:44px}
.contrast-col{padding:32px 30px;border-radius:20px}
.contrast-col h3{font-size:20px;font-weight:500;letter-spacing:-.02em;margin:0 0 20px;display:flex;align-items:center;gap:10px}
.contrast-col ul{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:16px}
.contrast-col li{font-size:12.5px;line-height:1.75;position:relative;padding-left:18px}
.contrast-col li::before{content:"•";position:absolute;left:0;font-weight:500}
.approach-newsletter-callout{padding:40px 0 20px}
.newsletter-callout-box{padding:48px 44px;border-radius:24px;display:grid;grid-template-columns:1.3fr 1fr;gap:40px;align-items:center}
.newsletter-callout-box h2{font-size:clamp(28px,3vw,38px);line-height:1.15;letter-spacing:-.04em;margin:12px 0 16px}
.newsletter-callout-box p{font-size:13.5px;line-height:1.8;margin:0}
.callout-actions{display:flex;flex-direction:column;gap:14px;align-items:flex-start}
.callout-note{font-size:10px;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace}
/* ---------- newsletter page ---------- */
.newsletter-hero{display:grid;grid-template-columns:1.2fr 1fr;gap:64px;align-items:center;padding:50px 0 80px}
.newsletter-hero-copy h1{font-size:clamp(42px,5.2vw,68px);line-height:1.05;letter-spacing:-.055em;font-weight:500;margin:0 0 22px}
.newsletter-hero-lede{font-size:clamp(14.5px,1.5vw,18px);line-height:1.8;margin:0}
.newsletter-signup-panel{padding:34px 30px;border-radius:22px}
.panel-header h2{font-size:22px;letter-spacing:-.03em;margin:8px 0}
.panel-header p{font-size:11.5px;line-height:1.6;margin:0 0 20px}
.panel-tag{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9px;font-weight:500}
.newsletter-form{display:flex;flex-direction:column;gap:16px}
.form-group{display:flex;flex-direction:column;gap:6px}
.form-group label{font-size:10.5px;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace}
.form-group input,.form-group select{width:100%;padding:11px 14px;border-radius:10px;font-size:13px;font-family:inherit}
.newsletter-submit-btn{width:100%;min-height:46px;justify-content:center}
.form-status{font-size:11.5px;line-height:1.6;padding:12px 14px;border-radius:10px;display:none}
.form-status:not(:empty){display:block}
.newsletter-privacy-pledge{font-size:10px;line-height:1.6;margin:4px 0 0}
.pillars-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;margin-top:44px}
.pillar-card{padding:30px 26px;border-radius:18px;display:flex;flex-direction:column;gap:12px;position:relative}
.pillar-number{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:18px;font-weight:500}
.pillar-card h3{font-size:18px;font-weight:500;margin:0}
.pillar-card p{font-size:12px;line-height:1.75;margin:0;flex-grow:1}
.pillar-tag{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:8.5px;margin-top:8px}
.issue-preview-box{margin-top:44px;border-radius:22px;padding:40px 36px}
.issue-meta{display:flex;align-items:center;gap:12px;margin-bottom:12px}
.issue-pill{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9px;padding:3px 8px;border-radius:6px;font-weight:500}
.issue-date{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9.5px}
.issue-preview-header h3{font-size:clamp(22px,2.6vw,32px);line-height:1.2;letter-spacing:-.04em;margin:0 0 24px}
.issue-preview-body h4{font-size:16px;font-weight:500;margin:24px 0 8px}
.issue-preview-body p{font-size:13px;line-height:1.8;margin:0 0 16px}
.issue-preview-body .issue-lead{font-size:14.5px;line-height:1.85;font-weight:500}
.code-block{padding:16px 20px;border-radius:12px;overflow-x:auto;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:11.5px;line-height:1.7;margin:18px 0}
.issue-preview-footer{margin-top:32px;padding-top:24px;border-top:1px solid transparent;display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.issue-preview-footer p{margin:0;font-size:13px;font-weight:500}
.charter-box{margin-top:30px;padding:44px 40px;border-radius:24px}
.charter-header h2{font-size:clamp(26px,3.2vw,36px);letter-spacing:-.04em;margin:10px 0 32px}
.charter-grid{display:grid;grid-template-columns:1fr 1fr;gap:28px}
.charter-item{display:grid;grid-template-columns:30px 1fr;gap:14px;align-items:flex-start}
.charter-item h4{font-size:15px;font-weight:500;margin:0 0 6px}
.charter-item p{font-size:12px;line-height:1.7;margin:0}
/* ---------- homepage newsletter block ---------- */
.home-newsletter-form{display:flex;flex-direction:column;gap:12px}
.home-newsletter-form input{flex-grow:1;padding:12px 16px;border-radius:10px;font-size:13px;font-family:inherit}
/* ---------- closing ---------- */
/* ---------- footer ---------- */
.site-footer{position:relative;overflow:hidden}
.footer-top{min-height:92px;display:flex;align-items:center;gap:20px}
.footer-line{font-size:10px;margin-left:6px}
.back-top{margin-left:auto;height:34px;width:34px;display:grid;place-items:center;border-radius:50%;flex:none;transition:transform .25s ease-out}
.back-top:hover{transform:translateY(-3px)}
.footer-bottom{min-height:56px;display:flex;align-items:center;justify-content:space-between;gap:14px;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9px;flex-wrap:wrap;padding:8px 0}
.footer-policy-links{display:flex;gap:20px;flex-wrap:wrap}
/* ---------- product detail pages ---------- */
.product-detail{padding-top:34px;padding-bottom:96px}
.product-breadcrumb{display:flex;align-items:center;gap:11px;font-size:11px;margin-bottom:42px}
.product-hero{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:64px;align-items:center;padding-bottom:56px}
.product-copy h1{font-size:clamp(42px,5.4vw,66px);max-width:720px}
.product-summary{font-size:16px;line-height:1.85;max-width:640px;margin:22px 0 16px}
.purchase-panel{padding:26px 25px 20px;border-radius:20px}
.purchase-panel .eyebrow{font-size:9px;margin-bottom:12px}
.reference-price{font-size:31px;font-weight:500;letter-spacing:-.04em}
.reference-price small{display:block;font-family:ui-sans-serif,system-ui,"Segoe UI",Roboto,Arial,sans-serif;font-size:10px;font-weight:500;letter-spacing:0;margin-top:3px}
.checkout-note{font-size:10.5px;line-height:1.65;margin:14px 0}
.checkout-actions{display:grid;gap:10px;margin-top:18px}
.checkout-actions .button{width:100%;min-height:47px}
.delivery-note{font-size:9.5px;line-height:1.65;margin:0 0 10px}
.delivery-note span{margin-right:5px}
.detail-section h2{font-size:clamp(30px,3.4vw,40px);line-height:1.12;letter-spacing:-.05em;font-weight:500;margin:0 0 16px}
.detail-intro{font-size:12.5px;line-height:1.8;max-width:640px}
.feature-list{padding:0;margin:26px 0 54px;list-style:none;max-width:680px}
.feature-list li{display:flex;align-items:flex-start;gap:12px;padding:13px 0;font-size:12.5px}
.feature-list li span{font-size:13px;flex:none}
/* ---------- store page ---------- */
.store-page-hero{position:relative;display:flex;align-items:center;min-height:500px;padding-top:72px;padding-bottom:72px;isolation:isolate;overflow:hidden}
.store-page-copy{position:relative;z-index:2;width:min(580px,54%)}
.store-page-copy h1{margin:0;font-size:clamp(52px,7vw,84px);line-height:1;letter-spacing:-.065em;font-weight:500;text-wrap:balance}
.store-page-copy>p:not(.eyebrow){max-width:440px;margin:26px 0;font-size:15px;line-height:1.85}
.store-page-note{display:inline-flex;align-items:center;font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:9px}
.store-page-note i{width:7px;height:7px;margin-right:9px;border-radius:50%;flex:none}
.store-page-note b{padding-inline:8px}
.store-page-art{position:absolute;z-index:-1;right:-4%;top:0;width:74%;height:100%;object-fit:cover}
.store-page-products{padding-top:84px;padding-bottom:104px}
.store-page-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:36px;margin-bottom:40px}
.store-page-heading h2{margin:0;font-size:clamp(40px,4.8vw,60px);line-height:1.05;letter-spacing:-.06em;font-weight:500}
.store-page-heading>p{max-width:400px;font-size:12.5px;line-height:1.8;margin:0 0 6px}
.store-page-products .storefront-grid{grid-template-columns:repeat(3,minmax(0,1fr));margin-top:0}
.store-page-support{margin:32px 0 0;font-size:11px}
.store-page-support a{text-underline-offset:3px}
/* ---------- policy pages ---------- */
.policy-page{min-height:65vh;padding-top:32px;padding-bottom:100px}
.policy-article{max-width:780px;margin:0 auto}
.policy-article h1{font-size:clamp(42px,5.6vw,64px);line-height:1.08;letter-spacing:-.06em;font-weight:500;margin:0 0 16px}
.policy-updated{font-family:ui-monospace,"SF Mono",Menlo,Consolas,monospace;font-size:10px;margin:0 0 36px}
.policy-content{padding-top:26px}
.policy-content h2{font-size:21px;font-weight:500;letter-spacing:-.03em;margin:32px 0 10px}
.policy-content h2:first-child{margin-top:0}
.policy-content p,.policy-content li{font-size:13.5px;line-height:1.9}
.policy-content a{text-underline-offset:3px}
.policy-content strong{font-weight:500}
/* ---------- skip navigation link ---------- */
.skip-link{position:absolute;top:-999px;left:16px;background:var(--color-accent);color:var(--color-surface);font-weight:500;font-family:ui-monospace,"SF Mono",monospace;font-size:.85rem;padding:10px 18px;border-radius:4px;z-index:99999;text-decoration:none;box-shadow:0 4px 20px rgba(0,0,0,.6);transition:top .15s ease}
.skip-link:focus{top:16px;outline:2px solid var(--color-text);outline-offset:2px}
/* ---------- scroll reveal ---------- */
.reveal{opacity:0;transform:translateY(28px) scale(.985);transition:opacity 0.2s ease,transform 0.2s cubic-bezier(.22,1,.36,1)}
/* ---------- responsive ---------- */
@media(max-width:1080px){
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .storefront-grid,.store-page-products .storefront-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:960px){
  .menu-toggle{display:grid;gap:5px}
  .main-nav{display:none;position:absolute;top:69px;left:12px;right:12px;padding:14px 16px 18px;border-radius:18px;flex-direction:column;align-items:stretch;gap:0;box-shadow:0 24px 60px rgba(0,0,0,.45);background:rgba(9,11,30,.98);border:1px solid rgba(196,200,255,.14);z-index:9999}
  .main-nav.nav-open{display:flex}
  .main-nav>a{padding:13px 6px;font-size:14px}
  .main-nav .nav-cta{justify-content:center;margin-top:10px}
}
@media(max-width:900px){
  .wrap{width:min(var(--wrap,1180px),calc(100% - 44px))}
  .site-header{padding:12px 22px}
  .hero{min-height:0;gap:20px;padding-top:30px}
  .hero h1{font-size:clamp(46px,7vw,68px)}
  .product-hero{gap:32px;grid-template-columns:minmax(0,1fr)}
}
@media(max-width:680px){
  html{scroll-padding-top:76px}
  .wrap{width:calc(100% - 36px)}
  .site-header{min-height:70px;padding:10px 18px}
  .brand{font-size:13px}
  .brand-mark{width:32px;height:32px;font-size:17px}
  .hero{display:flex;flex-direction:column;align-items:stretch;gap:0;padding-top:44px;padding-bottom:64px}
  .hero-copy{padding:0}
  .eyebrow{font-size:9px}
  .hero h1{font-size:clamp(46px,12vw,64px)}
  .hero-lede{font-size:14px;margin:22px 0 24px}
  .hero-art{width:100%;min-height:0;margin-top:26px}
  .section-heading{flex-direction:column;align-items:flex-start;gap:16px}
  .section-heading h2{font-size:42px}
  .section-aside{font-size:12px}
  .filter-chip{flex:none}
  .product-grid,.storefront-grid,.store-page-products .storefront-grid{grid-template-columns:1fr;gap:12px}
  .product-card{min-height:250px;padding:18px 18px 0}
  .product-card p{max-width:100%}
  .storefront-grid{margin-top:30px}
  .footer-top{min-height:78px}
  .footer-line{font-size:9px}
  .product-detail{padding-top:24px;padding-bottom:66px}
  .product-breadcrumb{margin-bottom:28px}
  .product-hero{grid-template-columns:1fr;gap:26px;padding-bottom:36px}
  .product-copy h1{font-size:clamp(38px,9.5vw,54px)}
  .product-summary{font-size:14px}
  .purchase-panel{padding:22px}
  .detail-section h2{font-size:32px}
  .feature-list{margin-bottom:38px}
  .policy-page{padding-top:24px;padding-bottom:70px}
  .policy-article h1{font-size:42px}
  .policy-content p,.policy-content li{font-size:12.5px}
  .footer-bottom{gap:10px;padding:12px 0}
  .footer-policy-links{gap:14px}
  .store-page-hero{min-height:0;flex-direction:column;align-items:flex-start;gap:26px;padding-top:52px;padding-bottom:52px}
  .store-page-copy{width:100%}
  .store-page-copy h1{font-size:clamp(44px,11vw,58px)}
  .store-page-copy>p:not(.eyebrow){max-width:340px;font-size:14px}
  .store-page-art{position:relative;width:100%;height:240px;right:auto;top:auto;border-radius:22px}
  .store-page-products{padding-top:64px;padding-bottom:76px}
  .store-page-heading{display:block;margin-bottom:28px}
  .store-page-heading>p{margin-top:16px}
  .approach-hero{padding:40px 0 50px}
  .macro-grid,.contrast-grid,.charter-grid,.pillars-grid{grid-template-columns:1fr;gap:16px}
  .newsletter-callout-box,.newsletter-hero{grid-template-columns:1fr;gap:28px;padding:28px 20px}
}
.project-request-form{max-width:850px;margin:2rem auto 0;display:grid;gap:1.25rem}
.project-request-form label{display:grid;gap:.5rem;font-weight:500}
.project-request-form input,.project-request-form select,.project-request-form textarea{width:100%;border:1px solid var(--color-text-muted);border-radius:.5rem;padding:.8rem;font:inherit;background:var(--color-text);color:var(--color-surface-2)}
.project-request-form textarea{resize:vertical}
.project-form-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1.25rem}
.service-sequence-six{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-sequence-six li{line-height:1.45}
.service-proof-cards{grid-template-columns:repeat(3,minmax(0,1fr))}
.service-proof-cards a{color:var(--aqua)}
@media(max-width:760px){
  .service-sequence-six{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-proof-cards{grid-template-columns:1fr}
}
@media(max-width:650px){
  .project-form-grid{grid-template-columns:1fr}
}
.service-page{padding-bottom:6rem}
.service-hero{padding:clamp(3.5rem,9vw,7rem) 0 4rem;max-width:900px}
.service-hero h1{font-size:clamp(2.8rem,8vw,5.7rem);line-height:1.02;max-width:850px;margin:1rem 0 1.4rem}
.service-hero h1 em{font-weight:400;color:var(--pink)}
.service-lede{font-size:1.25rem;line-height:1.65;max-width:720px;color:var(--muted)}
.service-caveat,.service-small{color:var(--muted)}
.service-caveat{max-width:740px;font-size:.92rem;margin-top:1.4rem}
.service-section{padding:3.5rem 0}
.service-section>h2,.service-cta h2{font-size:clamp(1.8rem,4vw,2.7rem);line-height:1.15;max-width:800px;margin:.7rem 0 1.2rem}
.service-section>p:not(.eyebrow),.service-cta p{max-width:790px;color:var(--muted)}
.service-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:2rem 0}
.service-cards article,.service-demo,.service-cta{border:1px solid var(--line);border-radius:10px;background:rgba(17,20,43,.78);padding:1.4rem}
.service-cards article>span,.service-demo-label{color:var(--aqua);font-size:.74rem;font-weight:500}
.service-cards h3{margin:.75rem 0}
.service-cards p{color:var(--muted);margin:0}
.service-small{font-size:.9rem;line-height:1.6}
.service-demo{display:grid;grid-template-columns:1fr 1fr;gap:1rem;margin:1.5rem 0}
.service-demo pre{white-space:pre-wrap;overflow-wrap:anywhere;min-height:140px;padding:1rem;background:var(--color-surface);border-radius:6px;color:var(--bg-deep);font:.88rem/1.6 ui-monospace,monospace}
.service-demo button{margin:.3rem .4rem .3rem 0}
.service-demo button:disabled{opacity:.5;cursor:not-allowed}
.service-secondary-button{background:transparent;color:var(--bg-deep);border:1px solid var(--line)}
.service-sequence{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:.7rem;list-style:none;padding:0;margin:1.5rem 0 2rem;counter-reset:sequence}
.service-sequence li{counter-increment:sequence;border:1px solid var(--line);border-radius:6px;padding:.8rem}
.service-sequence li:before{content:"0" counter(sequence) "  ";color:var(--aqua);font-weight:500}
.service-cta{display:flex;justify-content:space-between;gap:2rem;align-items:center;margin-top:2.5rem;background:var(--color-surface-2)}
.service-cta>div{max-width:700px}
.service-contact{white-space:nowrap}
.service-contact a{color:var(--aqua)}
.foundry-demo-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:2rem 0}
.foundry-demo-card{min-width:0;padding:1.25rem;border:1px solid var(--line);border-radius:10px;background:rgba(17,20,43,.78)}
.foundry-demo-card h3{font-size:1.25rem;line-height:1.25}
.foundry-demo-card>p:not(.eyebrow){color:var(--muted);line-height:1.6}
.foundry-demo-card video{display:block;width:100%;aspect-ratio:16/9;object-fit:contain;background:var(--color-surface);border-radius:6px;margin:1rem 0}
.foundry-demo-card .button{display:inline-flex;margin:.5rem 0}
.foundry-support-title{margin-top:3rem}
.foundry-support-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.25rem 0 2rem}
.foundry-support-grid article{padding:1rem;border:1px solid var(--line);border-radius:8px;background:rgba(17,20,43,.5)}
.foundry-support-grid h4{margin:.2rem 0 .6rem}
.foundry-support-grid p{margin:0;color:var(--muted);line-height:1.55}
@media(max-width:760px){
  .service-cards,.service-demo{grid-template-columns:1fr}
  .service-sequence{grid-template-columns:repeat(2,minmax(0,1fr))}
  .service-cta{display:block}
  .service-contact{margin-top:2rem}
}
@media(max-width:650px){
  .foundry-demo-grid,.foundry-support-grid{grid-template-columns:1fr}
  .foundry-demo-card{padding:1rem}
}
/* Terminal & Code Demonstrations */
.terminal-card{margin:1.5rem 0;border:1px solid var(--line);border-radius:8px;background:var(--color-bg);overflow:hidden;max-width:100%;min-width:0}
.terminal-header{display:flex;align-items:center;justify-content:space-between;padding:.6rem 1rem;background:var(--color-surface-2);border-bottom:1px solid var(--line);font-family:ui-monospace,monospace;font-size:.8rem;color:var(--muted)}
.terminal-title{color:var(--aqua);font-weight:500}
.terminal-body{padding:1.2rem;margin:0;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;font-size:.82rem;line-height:1.5;color:var(--color-text);overflow-x:auto;white-space:pre}
.trust-checklist{list-style:none;padding:0;margin:1.5rem 0;display:grid;gap:.6rem}
.trust-checklist li{display:flex;align-items:baseline;gap:.5rem;font-size:.95rem;color:var(--color-accent-violet-soft)}
.trust-checklist li span{color:var(--aqua);font-weight:500}
.usage-section pre{border:1px solid var(--line);border-radius:6px;background:var(--color-surface);max-width:680px;margin:14px 0 26px}
.usage-section>p{max-width:680px}

/* Homepage studio */
body.studio-home {
  --wrap: 1280px;
  --studio-max-width: 1640px;
  --studio-gutter: clamp(32px, 5.555vw, 112px);
  --color-bg: #05060b;
  --color-surface: #0a0d16;
  --color-text: #f4efe7;
  --color-text-muted: #b0aeb8;
  --color-border-soft: #282830;
  --studio-gold: #e7ba74;
  --studio-red: #ff767c;
  --studio-frame: #34313b;
  --studio-bg: #19110c;
  --studio-gold-bright: #f4d49c;
  --studio-mono: ui-monospace, "SFMono-Regular", Consolas, monospace;
}
.studio-home .site-header {
  position: relative;
  min-height: 76px;
  padding-block: 9px;
  padding-inline: max(var(--studio-gutter), calc((100% - var(--studio-max-width)) / 2));
}
.studio-home .site-header .main-nav { gap: clamp(9px, 1.6vw, 24px); }
.studio-home .site-header .brand { gap: 12px; color: var(--color-text); letter-spacing: .16em; }
.studio-board-logo {
  display: block;
  width: 48px;
  height: 48px;
  filter: drop-shadow(0 0 9px rgba(105, 205, 224, .22));
}
.studio-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.studio-stage {
  isolation: isolate;
  --portrait-size: clamp(420px, calc(27.708333vw + 228px), 760px);
  width: min(var(--studio-max-width), calc(100% - 2 * var(--studio-gutter)));
  min-height: max(calc(100svh - 120px), calc(var(--portrait-size) + 52px));
  margin-inline: auto;
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--portrait-size);
  align-items: center;
}
.studio-portrait {
  grid-area: 1 / 2;
  align-self: end;
  position: relative;
  width: var(--portrait-size);
  aspect-ratio: 1;
  overflow: hidden;
}
/* Bottom edge dissolve without a gradient: an inset vignette in the page ink (#05060b) sits over
   the frame and dims the portrait's last ~14% to the background, replacing the old mask fade. */
.studio-portrait::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  box-shadow: inset 0 -132px 96px -76px rgba(5, 6, 11, .95);
}
.studio-elyrea {
  display: block;
  width: 100%;
  height: auto;
  position: relative;
  transform: translate3d(var(--portrait-x, 0px), var(--portrait-y, 0px), 0);
}
.studio-atmosphere {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
  background: #04060c;
}
.studio-motion[hidden] { display: none; }
.studio-home main .home-panel,
.studio-section-head,
.studio-row,
.studio-directory,
.studio-copy {
  background: rgba(5, 7, 13, 0.86);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: clamp(16px, 2vw, 28px);
}
.studio-copy {
  box-sizing: border-box;
  grid-area: 1 / 1;
  position: relative;
  z-index: 1;
  min-width: 0;
  padding-block: clamp(20px, 3vw, 44px);
}
.studio-copy h1 {
  margin: 0;
  color: var(--color-text);
  font-size: clamp(56px, 6.55vw, 120px);
  line-height: .94;
  letter-spacing: -.035em;
}
.studio-lede { max-width: 385px; font-size: 17px; line-height: 1.58; margin: 25px 0 29px; }
.studio-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.studio-home a.studio-primary {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  padding: 12px 16px;
  border: 1px solid var(--studio-gold-bright);
  background: var(--studio-gold);
  color: var(--studio-bg);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
}
.studio-home a.studio-primary:hover { background: var(--studio-gold-bright); }
.studio-home a.studio-link { color: var(--studio-gold); font-size: 14px; text-underline-offset: 5px; }
.studio-link span { margin-inline-start: 4px; }
.studio-motion {
  position: absolute;
  z-index: 2;
  right: 0;
  bottom: 16px;
  background: var(--color-bg);
  color: var(--color-text-muted);
  border: 1px solid var(--studio-frame);
  border-radius: 999px;
  padding: 6px 12px;
  font: 11px/1.5 var(--studio-mono);
  cursor: pointer;
}
.studio-motion:hover { color: var(--color-text); }
.studio-stage[data-entering] .studio-copy > * {
  animation: studio-enter 280ms cubic-bezier(.2,.75,.2,1) both;
}
.studio-stage[data-entering] .studio-copy > .studio-lede { animation-delay: 100ms; }
.studio-stage[data-entering] .studio-copy > .studio-actions { animation-delay: 160ms; }
@keyframes studio-enter {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}
.studio-home .home-section { margin-block: clamp(24px, 4vw, 56px); }
.studio-home .studio-showcase, .studio-home #services { padding: 0; }
.studio-showcase { display: grid; gap: 12px; }
.studio-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 12px 16px; }
.studio-home .home-section h2 {
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.04;
  letter-spacing: -.045em;
  margin: 0;
}
.studio-row {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  align-items: start;
  gap: 20px 28px;
}
#catalog > article.studio-row:first-of-type {
  box-shadow: inset 2px 0 #E87A24, inset 0 0 26px rgba(232, 122, 36, .10);
}
#catalog > article.studio-lite {
  box-shadow: inset 2px 0 #1269BE, inset 0 0 26px rgba(92, 200, 255, .10);
}
.studio-row h3 {
  margin: 0;
  font-size: clamp(26px, 3vw, 42px);
  line-height: 1.04;
  letter-spacing: -.035em;
  color: var(--color-text);
}
.studio-row div > p { margin: 10px 0 12px; max-width: 42ch; }
.studio-log { min-width: 0; margin: 0; border: 1px solid var(--color-border-soft); }
.studio-log figcaption {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 13px;
  color: var(--color-text-muted);
  font: 11px/1.5 var(--studio-mono);
}
.studio-log pre {
  margin: 0;
  padding: 12px 13px;
  overflow: auto;
  color: var(--color-text-muted);
  font: clamp(11px, 1vw, 13px)/1.8 var(--studio-mono);
}
.studio-log code { font: inherit; word-break: normal; overflow-wrap: normal; }
.studio-failure { color: var(--studio-red); }
.studio-lite img { width: 96px; height: 96px; justify-self: center; }
.studio-demo-list { margin: 0; padding: 0; list-style: none; }
.studio-home .studio-demo-list a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) auto;
  align-items: baseline;
  gap: 6px 16px;
  padding: 10px 0;
  color: var(--color-text);
  text-decoration: none;
  font-size: 17px;
}
.studio-home .studio-demo-list a:hover { color: var(--studio-gold); }
.studio-demo-list span { color: var(--color-text-muted); font-size: 13px; }
.studio-demo-list b { color: var(--studio-gold); font-weight: 400; }
.studio-directory { display: flex; flex-wrap: wrap; gap: 10px 24px; }
.studio-home .studio-directory a { color: var(--studio-gold); }
.studio-home .faq-list { margin-top: 24px; }
.studio-home .faq-list summary { padding: 14px 0; cursor: pointer; }
.studio-home .faq-list details p { max-width: 78ch; margin: 0 0 16px; }
@media (max-width: 1050px) and (min-width: 761px) {
  body.studio-home { --studio-gutter: 32px; }
  .studio-copy h1 { font-size: clamp(46px, 6.6vw, 74px); }
}
@media (max-width: 760px) {
  body.studio-home { --studio-gutter: 16px; }
  .studio-home .site-header { min-height: 64px; }
  .studio-board-logo { width: 42px; height: 42px; }
  .studio-stage { min-height: auto; display: flex; flex-direction: column; align-items: stretch; }
  .studio-home .site-header .main-nav { top: 100%; gap: 0; border-radius: 0; }
  .studio-portrait { width: min(100%, 520px); align-self: center; margin-top: 20px; }
  .studio-copy h1 { font-size: clamp(28px, 11vw, 70px); }
  .studio-lede { font-size: 15px; margin: 17px 0 19px; }
  .studio-home a.studio-primary { padding: 9px 12px; }
  .studio-motion { position: static; align-self: flex-end; margin-bottom: 16px; }
  .studio-row { grid-template-columns: minmax(0, 1fr); gap: 11px; padding-block: 22px; }
  .studio-lite { grid-template-columns: minmax(0, 1fr) auto; }
  .studio-lite img { width: 76px; height: 76px; }
  .studio-home .studio-demo-list a { grid-template-columns: 1fr auto; }
  .studio-demo-list span { grid-area: 2 / 1; }
  .studio-demo-list b { grid-area: 1 / 2; }
}
@media (prefers-reduced-motion: reduce) {
  .studio-stage[data-entering] .studio-copy > * { animation: none; }
}
