@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=IBM+Plex+Mono&display=swap');
/* Avalon Pharma bespoke brand page — scoped under .av; portal chrome kept. */

.av @import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600&family=IBM+Plex+Mono&display=swap');
:root{--ink:#222441;--blue:#302b82;--lavender:#c9c4f3;--paper:#f5f5f9;--line:#d8d8e3;--muted:#8b8a9e;--ease:cubic-bezier(.2,.8,.2,1)}.av *{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:80px}.av{margin:0;background:var(--paper);color:var(--ink);font-family:'DM Sans',Arial,sans-serif;-webkit-font-smoothing:antialiased}.av a{color:inherit;text-decoration:none}.av button{font:inherit;color:inherit;cursor:pointer}.av img{display:block;width:100%}.av video{display:block;width:100%;height:100%;object-fit:cover}.av a:focus-visible, .av button:focus-visible{outline:2px solid #9d8fea;outline-offset:5px}.av ::selection{background:#bdb4ed;color:#202045}.av .mono{font:10px/1.6 'IBM Plex Mono',monospace;letter-spacing:.075em;text-transform:uppercase}.av .header{position:absolute;inset:0 0 auto;height:100px;padding:0 5%;display:flex;align-items:center;justify-content:space-between;color:white;z-index:10;border-bottom:1px solid #ffffff25}.av .logo{display:flex;align-items:center;gap:11px}.av .logo img{width:40px;height:40px;object-fit:contain}.av .logo strong{font-weight:500;font-size:19px;letter-spacing:.08em;line-height:1.2}.av .logo small{display:block;font-size:8px;letter-spacing:.3em;font-weight:400}.av .header nav{display:flex;gap:33px;font-size:12px}.av .nav-link{font-size:11px;border-bottom:1px solid #fff8;padding-bottom:8px}.av .nav-link span{margin-left:30px}.av .hero{height:100svh;min-height:780px;max-height:1200px;background:#27236a;color:white;position:relative;overflow:hidden}.av .hero-media{position:absolute;inset:0;will-change:transform}.av .hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#151342a8,#15134215),linear-gradient(0deg,#17144090,transparent 60%);pointer-events:none}.av .hero-top{position:absolute;left:5%;right:5%;top:135px;z-index:2;display:flex;justify-content:space-between;color:#cbc9e5}.av .hero-copy{position:relative;padding:27vh 7% 100px;z-index:3;pointer-events:none}.av .hero-copy a{pointer-events:auto}.av .eyebrow{display:flex;gap:10px;align-items:center;margin:0 0 30px}.av .dot{width:6px;height:6px;background:#c7bef3;border-radius:50%;box-shadow:0 0 0 6px #c7bef318;animation:pulse 2s infinite}.av h1{font-size:clamp(70px,9.1vw,145px);line-height:.98;letter-spacing:-.07em;font-weight:300;margin:0}.av h1>span{display:block;overflow:hidden}.av h1 b{display:block;font-weight:300}.av h1>span:nth-child(2){color:#bcb6ef}.av .hero-copy p:not(.eyebrow){font-size:14px;line-height:1.8;max-width:310px;margin:30px 0}.av .circle-link{display:inline-flex;align-items:center;gap:25px;font-size:12px}.av .circle-link b{display:grid;place-items:center;width:53px;height:53px;border:1px solid #aca6cc;border-radius:50%;font-size:22px;font-weight:300;transition:background .3s}.av .circle-link:hover b{background:#ffffff20}.av .hero-bottom{position:absolute;left:5%;right:5%;bottom:30px;display:flex;justify-content:space-between;z-index:3;color:#d3cfe8}.av .down{display:inline-block;animation:bounce 2s infinite;margin-left:15px}.av .hero-seal{position:absolute;right:7%;bottom:18%;width:130px;height:130px;z-index:3;border:1px solid #ffffff40;border-radius:50%;display:grid;place-items:center;animation:spin 25s linear infinite}.av .hero-seal span{font-size:9px;text-align:center;line-height:1.9}.av .section{padding:65px 7% 85px}.av .section-label{display:flex;justify-content:space-between;gap:20px;border-top:1px solid var(--line);padding-top:18px;color:#8a899e}.av h2{font-size:clamp(45px,5.5vw,82px);font-weight:300;line-height:1.05;letter-spacing:-.065em;margin:0}.av .muted{color:var(--muted)}.av .story{background:#f5f5f9;overflow:hidden}.av .story-head{display:grid;grid-template-columns:1.5fr 1fr;gap:13%;align-items:end;margin:70px 0 55px}.av .story-head p{font-size:14px;line-height:1.9;max-width:325px;color:#777689}.av .history-film{height:440px;position:relative;overflow:hidden;border-radius:4px;background:#d5d4e4}.av .history-film video{object-position:center}.av .history-film:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#13152f85,transparent 80%)}.av .year{position:absolute;left:35px;bottom:25px;color:#fff;z-index:2;font-size:130px;font-weight:300;letter-spacing:-.075em;line-height:1}.av .year span{display:block;font:9px 'IBM Plex Mono',monospace;letter-spacing:.1em;margin-bottom:15px}.av .timeline{display:grid;grid-template-columns:repeat(3,1fr);gap:35px;margin-top:30px}.av .milestone{border-top:1px solid #cfcfdf;padding-top:20px}.av .milestone strong{font-size:24px;font-weight:400;letter-spacing:-.04em}.av .milestone p{color:#858296;font-size:12px;line-height:1.7;margin:10px 0 0;max-width:250px}.av .portfolio{background:#eae9f2}.av .portfolio-head{display:flex;justify-content:space-between;align-items:end;gap:35px;margin:65px 0 45px}.av .portfolio-head p{font-size:13px;color:#7b788e;line-height:1.8;max-width:260px}.av .brand-grid{display:grid;grid-template-columns:1fr 1fr;gap:25px}.av .brand-card{height:330px;background:#f7f7fa;padding:30px;position:relative;overflow:hidden;transform-style:preserve-3d;border-radius:4px}.av .brand-card:nth-child(2){background:#e0e9e8}.av .brand-art{height:170px;display:grid;place-items:center;position:relative}.av .brand-art:before{content:'';position:absolute;width:210px;height:210px;border:1px solid #9f9ab622;border-radius:50%;animation:spin 18s linear infinite}.av .brand-art:after{content:'';position:absolute;width:160px;height:160px;border:1px dashed #9f9ab633;border-radius:50%;animation:spin 25s linear infinite reverse}.av .brand-art img{max-width:260px;max-height:85px;object-fit:contain;position:relative;z-index:2;mix-blend-mode:multiply}.av .brand-card h3{font-size:29px;font-weight:400;letter-spacing:-.05em;margin:13px 0 8px}.av .brand-card p{font-size:12px;line-height:1.7;color:#79778a;margin:0;max-width:300px}.av .brand-card .arrow{position:absolute;bottom:30px;right:30px;width:36px;height:36px;border:1px solid #a3a1b5;border-radius:50%;display:grid;place-items:center}.av .portfolio-bottom{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:30px;color:#7c788d;font-size:10px}.av .text-link{border-bottom:1px solid;padding-bottom:7px;font-size:11px;display:inline-block}.av .manufacture{background:#242244;color:#f1effa;overflow:hidden}.av .manufacture .section-label{border-color:#ffffff25;color:#a5a0c4}.av .manufacture-grid{display:grid;grid-template-columns:1fr 1fr;gap:10%;margin-top:65px;align-items:center}.av .factory-frame{height:560px;overflow:hidden;border-radius:230px 230px 5px 5px;background:#444161;position:relative}.av .factory-frame img{height:100%;object-fit:cover;object-position:center}.av .factory-frame:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#25234565,transparent 50%)}.av .factory-label{position:absolute;bottom:30px;left:30px;z-index:2;color:#e1dbef;font-size:9px}.av .manufacture h2{font-size:clamp(40px,4.8vw,70px)}.av .manufacture .muted{color:#9d96c1}.av .accordions{margin-top:35px}.av .feature{border-top:1px solid #ffffff25;padding:20px 0}.av .feature button{background:transparent;color:#ede9f7;border:0;display:flex;align-items:center;justify-content:space-between;width:100%;text-align:left;padding:0;font-size:14px}.av .feature button b{font-size:22px;font-weight:300;transition:transform .3s}.av .feature button[aria-expanded=true] b{transform:rotate(45deg)}.av .feature p{font-size:12px;line-height:1.9;color:#aaa3c2;max-width:340px;margin:15px 0 0}.av .outro{background:#2e2980;color:white;position:relative;overflow:hidden}.av .outro-video{position:absolute;inset:0;opacity:.28;pointer-events:none}.av .outro:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#252161aa,transparent);pointer-events:none}.av .outro>.section-label, .av .outro-content, .av .footer, .av .big-word{position:relative;z-index:2}.av .outro .section-label{color:#c4bfe6;border-color:#ffffff30}.av .outro-content{padding:75px 0 65px;display:grid;grid-template-columns:1.4fr 1fr;gap:12%;align-items:center}.av .outro h2{font-size:clamp(55px,7vw,105px)}.av .outro .muted{color:#b0a7e1}.av .outro-content p{color:#c3bde0;font-size:14px;line-height:1.9;margin:0 0 28px;max-width:325px}.av .big-word{font-size:clamp(100px,21vw,330px);line-height:1;font-weight:300;letter-spacing:-.08em;white-space:nowrap;color:#ffffff16;text-align:center;margin:0 0 20px}.av .footer{display:flex;justify-content:space-between;gap:25px;padding-top:23px;border-top:1px solid #ffffff30;font-size:9px;color:#bcb5d7}.av .outro{padding-bottom:35px}.av .cursor{position:fixed;left:0;top:0;pointer-events:none;z-index:30;border:1px solid #bcb3e280;width:28px;height:28px;border-radius:50%;transform:translate(-50%,-50%);opacity:0}.av .progress{position:fixed;top:0;left:0;height:2px;background:#b6a9ee;z-index:30;width:0}.av .motion{position:fixed;right:18px;bottom:18px;z-index:20;border:1px solid #ffffff40;background:#29244bdc;color:#efebfb;padding:10px 15px;font:9px 'IBM Plex Mono',monospace;border-radius:30px;backdrop-filter:blur(12px)}.av body.paused *, .av body.paused *:before, .av body.paused *:after{animation-play-state:paused!important}@keyframes pulse{50%{box-shadow:0 0 0 10px #c7bef300}}@keyframes bounce{50%{transform:translateY(6px)}}@keyframes spin{to{transform:rotate(360deg)}}@media(max-width:1000px){.av .hero-copy{padding-top:250px}.av .hero h1{font-size:95px}.av .story-head{gap:7%}.av .factory-frame{height:490px}.av .manufacture-grid{gap:6%}.av .brand-art img{max-width:210px}}@media(max-width:650px){.av .header{height:82px;padding:0 6%}.av .logo img{width:31px;height:31px}.av .logo strong{font-size:15px}.av .logo small{font-size:6px}.av .header nav{gap:20px;font-size:10px}.av .nav-link{display:none}.av .hero{min-height:850px}.av .hero-top{top:110px;left:7%}.av .hero-top span:last-child{display:none}.av .hero-copy{padding:205px 7% 90px}.av .hero h1{font-size:66px}.av .hero-copy p:not(.eyebrow){font-size:13px;max-width:280px}.av .eyebrow{font-size:9px}.av .hero-seal{width:95px;height:95px;right:8%;bottom:11%}.av .hero-seal span{font-size:7px}.av .hero-bottom{font-size:8px;left:7%;right:7%}.av .hero-bottom span:nth-child(2){display:none}.av .section{padding:45px 7% 55px}.av .section-label{font-size:8px}.av .story-head{grid-template-columns:1fr;gap:20px;margin:40px 0 30px}.av .story-head p{max-width:100%;font-size:13px}.av .history-film{height:340px}.av .year{font-size:90px;left:23px}.av .timeline{gap:15px}.av .milestone strong{font-size:21px}.av .milestone p{font-size:10px}.av .portfolio-head{display:block;margin:40px 0 30px}.av .portfolio-head p{margin-top:20px}.av .brand-grid{grid-template-columns:1fr;gap:18px}.av .brand-card{height:300px;padding:25px}.av .brand-art{height:155px}.av .brand-card h3{font-size:26px}.av .brand-card p{max-width:230px;font-size:11px}.av .portfolio-bottom{align-items:start;font-size:9px}.av .portfolio-bottom span{max-width:160px}.av .manufacture-grid{grid-template-columns:1fr;gap:40px;margin-top:40px}.av .factory-frame{height:410px}.av .manufacture h2{font-size:47px}.av .outro-content{grid-template-columns:1fr;gap:25px;padding:40px 0}.av .outro h2{font-size:63px}.av .outro-content p{font-size:13px}.av .big-word{font-size:20vw}.av .footer{font-size:8px;padding-bottom:25px;line-height:1.8}.av .footer span{max-width:175px}.av .footer>a:first-child{display:none}.av .cursor{display:none}}

/* motion forced on; hide the toggle */
.av .motion{display:none!important}
/* story video: square source (960x960) shown cleanly, centred, no bars/crop */
.av .history-film{height:auto!important;aspect-ratio:1/1;max-width:600px;margin-left:auto;margin-right:auto;background:#0e0c1e}
.av .history-film video{width:100%;height:100%;object-fit:cover}
/* manufacture frame: cleaner organised look for the new image */
.av .factory-frame{border-radius:10px!important;background:#1a1836}
.av .factory-frame img{object-fit:cover}
