:root {
  --ink: #101729;
  --ink-soft: #1b2440;
  --blue: #1947ee;
  --cyan: #2f63ff;
  --mint: #c8ff31;
  --mist: #f2f5fb;
  --line: rgba(7, 29, 54, .14);
  --white: #fff;
  --shell: min(1200px, calc(100% - 40px));
  --radius: 22px;
  --shadow: 0 24px 80px rgba(5, 31, 55, .12);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, Aptos, "Segoe UI", Arial, sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1rem; }
h1, h2, h3 { margin: 0; line-height: 1.04; letter-spacing: -.045em; }
h1 { font-size: clamp(3.5rem, 8vw, 7.6rem); }
h2 { max-width: 900px; font-size: clamp(2.35rem, 5vw, 5rem); }
h3 { font-size: clamp(1.4rem, 2vw, 2rem); }
.site-shell { width: var(--shell); margin-inline: auto; }
.section { padding: clamp(88px, 11vw, 160px) 0; }
.section-dark { color: var(--white); background: var(--ink); }
.eyebrow { color: var(--cyan); font-size: .76rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; padding: 12px 18px; background: var(--white); transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 24px; border: 1px solid var(--cyan); border-radius: 999px; background: linear-gradient(135deg, var(--cyan), var(--blue)); color: var(--white); font-size: .86rem; font-weight: 800; transition: transform .25s ease, box-shadow .25s ease; }
.button:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(25, 167, 224, .28); }
.button-small { min-height: 44px; padding-inline: 20px; }
.button-ghost { border-color: rgba(255,255,255,.38); background: transparent; }
.button-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }

.site-header { position: fixed; z-index: 100; top: 0; left: 0; width: 100%; color: var(--white); transition: background .25s ease, box-shadow .25s ease; }
.site-header.is-scrolled { background: rgba(7, 29, 54, .9); box-shadow: 0 12px 40px rgba(0,0,0,.12); backdrop-filter: blur(18px); }
.header-inner { display: flex; min-height: 86px; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; font-weight: 800; letter-spacing: -.02em; }
.brand-mark { display: grid; width: 44px; height: 44px; flex: 0 0 44px; place-items: center; border: 1px solid rgba(255,255,255,.34); border-radius: 12px; color: var(--cyan); font-size: .76rem; }
.brand-mark-image { background-color: var(--blue); background-image: url('../images/flexiprime-logo.jpg'); background-position: 50% 25%; background-size: 92px auto; background-repeat: no-repeat; }
.brand-copy { display: flex; line-height: 1; flex-direction: column; }
.brand-copy strong { font-size: 1.03rem; letter-spacing: -.03em; }
.brand-copy small { margin-top: 5px; color: rgba(255,255,255,.55); font-size: .61rem; font-weight: 750; letter-spacing: .24em; text-transform: uppercase; }
.custom-logo { width: auto; max-height: 54px; }
.primary-nav { display: flex; align-items: center; gap: 26px; }
.primary-nav ul { display: flex; margin: 0; padding: 0; gap: 24px; list-style: none; }
.primary-nav li a { color: rgba(255,255,255,.76); font-size: .86rem; font-weight: 650; }
.primary-nav li a:hover { color: var(--white); }
.menu-toggle { display: none; width: 46px; height: 46px; padding: 11px; border: 1px solid rgba(255,255,255,.25); border-radius: 50%; background: transparent; }
.menu-toggle > span:not(.screen-reader-text) { display: block; height: 2px; margin: 4px 0; background: var(--white); }

.hero { position: relative; min-height: min(920px, 100svh); overflow: hidden; padding: 160px 0 100px; }
.hero::after { position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 72px 72px; content: ""; mask-image: linear-gradient(to bottom, black, transparent 82%); pointer-events: none; }
.hero-glow { position: absolute; width: 700px; height: 700px; right: -180px; top: -160px; border-radius: 50%; background: radial-gradient(circle, rgba(25,167,224,.28), transparent 67%); filter: blur(10px); }
.hero-grid { position: relative; z-index: 2; display: grid; min-height: 610px; grid-template-columns: 1.15fr .85fr; align-items: center; gap: clamp(50px, 8vw, 130px); }
.hero h1 span { color: var(--mint); }
.hero-lead { max-width: 670px; margin-top: 28px; color: rgba(255,255,255,.72); font-size: clamp(1.06rem, 1.6vw, 1.35rem); }
.hero-visual { position: relative; display: grid; min-height: 550px; place-items: center; transition: transform .35s ease-out; }
.film-orbit { position: absolute; border: 1px solid rgba(25,167,224,.34); border-radius: 50%; }
.orbit-one { width: 440px; height: 440px; animation: orbit 18s linear infinite; }
.orbit-two { width: 310px; height: 310px; border-style: dashed; animation: orbit 12s linear reverse infinite; }
.film-orbit::before { position: absolute; top: 10%; left: 9%; width: 18px; height: 18px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 28px var(--cyan); content: ""; }
.hero-panel { position: relative; z-index: 2; width: min(310px, 72vw); padding: 34px; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius); background: rgba(255,255,255,.08); box-shadow: 0 32px 100px rgba(0,0,0,.22); backdrop-filter: blur(18px); }
.hero-panel span { color: var(--cyan); font-size: .75rem; font-weight: 800; }
.hero-panel strong, .hero-panel small { display: block; }
.hero-panel strong { margin: 42px 0 12px; font-size: 2rem; }
.hero-panel small { color: rgba(255,255,255,.63); }
.trust-strip { border-bottom: 1px solid var(--line); background: var(--white); }
.trust-inner { display: flex; min-height: 138px; align-items: center; gap: 28px; }
.trust-mark { color: var(--blue); font-size: 3.2rem; font-weight: 800; letter-spacing: -.06em; }
.trust-inner p { margin: 0; }
.split-heading { display: grid; margin-bottom: 62px; grid-template-columns: .34fr 1fr; gap: 40px; }
.card-grid { display: grid; gap: 18px; }
.three-up { grid-template-columns: repeat(3, 1fr); }
.service-card { position: relative; min-height: 380px; padding: 34px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(150deg, var(--white), #f5fbfe); transition: transform .35s ease, box-shadow .35s ease; }
.service-card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.service-card > span { color: var(--blue); font-size: .76rem; font-weight: 800; }
.service-card h3 { margin-top: 92px; }
.service-card p { margin: 18px 0 26px; color: #526678; }
.service-card a { color: var(--blue); font-size: .85rem; font-weight: 800; }
.process-section { background: linear-gradient(145deg, var(--ink), #092b4c); }
.process-track { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(255,255,255,.18); }
.process-step { min-height: 300px; padding: 34px 24px 20px 0; border-right: 1px solid rgba(255,255,255,.13); }
.process-step span { color: var(--cyan); font-size: .76rem; font-weight: 800; }
.process-step h3 { margin-top: 72px; font-size: 1.28rem; }
.process-step p { margin-top: 18px; color: rgba(255,255,255,.6); font-size: .9rem; }
.final-cta { background: var(--mist); }
.cta-panel { padding: clamp(44px, 7vw, 92px); border-radius: 32px; background: var(--white); box-shadow: var(--shadow); }
.cta-panel h2 { margin: 18px 0 38px; font-size: clamp(2.1rem, 4.7vw, 4.7rem); }
.site-footer { padding: 88px 0 26px; color: var(--white); background: #0b1020; }
.footer-brand { display: flex; margin-bottom: 42px; align-items: center; gap: 12px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 60px; }
.footer-grid h2 { margin-top: 18px; font-size: clamp(2rem, 4vw, 4rem); }
.footer-contact { display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end; gap: 10px; color: rgba(255,255,255,.72); }
.footer-bottom { display: flex; margin-top: 80px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.14); justify-content: space-between; color: rgba(255,255,255,.48); font-size: .78rem; }
.footer-bottom ul { display: flex; margin: 0; padding: 0; gap: 20px; list-style: none; }
.page-hero { padding: 190px 0 90px; }
.page-hero h1 { margin-top: 16px; font-size: clamp(3rem, 7vw, 6rem); }
.prose { max-width: 850px; }
.content-layout { display: grid; gap: 24px; }
.entry-card { padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); }
.entry-card h2 { margin: 10px 0 18px; font-size: 2rem; }
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s ease, transform .8s cubic-bezier(.2,.75,.2,1); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
@keyframes orbit { to { transform: rotate(360deg); } }

@media (max-width: 900px) {
  :root { --shell: min(100% - 28px, 720px); }
  .menu-toggle { display: block; }
  .primary-nav { position: fixed; inset: 86px 0 auto; display: none; min-height: calc(100svh - 86px); padding: 40px 24px; align-items: flex-start; flex-direction: column; background: var(--ink); }
  .primary-nav.is-open { display: flex; }
  .primary-nav ul { align-items: flex-start; flex-direction: column; gap: 22px; }
  .primary-nav li a { font-size: 1.35rem; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { min-height: 390px; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 240px; height: 240px; }
  .split-heading, .footer-grid { grid-template-columns: 1fr; }
  .three-up { grid-template-columns: 1fr; }
  .service-card { min-height: 300px; }
  .service-card h3 { margin-top: 52px; }
  .process-track { grid-template-columns: 1fr; border-top: 0; }
  .process-step { min-height: 0; padding: 28px 0; border-top: 1px solid rgba(255,255,255,.16); border-right: 0; }
  .process-step h3 { margin-top: 30px; }
}

@media (max-width: 560px) {
  h1 { font-size: clamp(3rem, 16vw, 4.7rem); }
  .hero { padding-top: 132px; }
  .hero-grid { min-height: 0; }
  .hero-visual { min-height: 330px; }
  .orbit-one { width: 290px; height: 290px; }
  .orbit-two { width: 205px; height: 205px; }
  .trust-inner { align-items: flex-start; padding-block: 28px; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
}

@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; }
}

/* FlexiPrime corporate identity - version 0.2 */
.corporate-hero { background: linear-gradient(135deg, #101729 0%, #101729 46%, #1736b8 100%); }
.corporate-hero::before { position: absolute; inset: 0; background: radial-gradient(circle at 78% 22%, rgba(200,255,49,.14), transparent 22%), radial-gradient(circle at 60% 78%, rgba(47,99,255,.38), transparent 30%); content: ""; }
.corporate-hero .eyebrow { color: var(--mint); }
.corporate-hero .button { border-color: var(--mint); background: var(--mint); color: #101729; }
.corporate-hero .button-ghost { border-color: rgba(255,255,255,.45); background: transparent; color: #fff; }
.hero-architecture { position: absolute; inset: 5% 2%; }
.hero-architecture::before, .hero-architecture::after, .hero-architecture i { position: absolute; border: 1px solid rgba(255,255,255,.15); border-radius: 32px; content: ""; transform: rotate(-12deg); }
.hero-architecture::before { inset: 8% 0 16% 13%; }
.hero-architecture::after { inset: 18% 12% 4% 0; }
.hero-architecture i:nth-child(1) { inset: 28% 23% 24% 19%; background: rgba(255,255,255,.025); }
.hero-logo-card { position: absolute; z-index: 1; top: 4%; right: 2%; width: 148px; overflow: hidden; border: 1px solid rgba(255,255,255,.2); border-radius: 28px; box-shadow: 0 30px 80px rgba(7,15,40,.34); transform: rotate(5deg); }
.hero-logo-card img { width: 100%; }
.hero-panel { position: absolute; width: min(300px, 68vw); border-color: rgba(255,255,255,.24); border-radius: 28px; background: rgba(12,20,49,.48); }
.hero-panel-a { left: 0; bottom: 16%; transform: rotate(-3deg); }
.hero-panel-b { right: 0; bottom: 3%; transform: rotate(4deg); }
.hero-panel-b strong { color: var(--mint); }
.partner-strip { background: #fff; }
.partner-strip .trust-inner { display: grid; min-height: 148px; grid-template-columns: .7fr 1.3fr auto; }
.partner-kicker span, .partner-kicker strong { display: block; }
.partner-kicker span { color: #69758c; font-size: .7rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.partner-kicker strong { margin-top: 4px; color: var(--blue); font-size: 1.6rem; letter-spacing: -.04em; }
.partner-strip > .trust-inner > p { color: #566176; }
.partner-strip a { color: var(--blue); font-size: .82rem; font-weight: 800; }
.technology-section { background: var(--mist); }
.technology-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.technology-card { position: relative; display: flex; min-height: 330px; padding: 34px; overflow: hidden; border-radius: 26px; background: #fff; flex-direction: column; justify-content: space-between; transition: transform .35s ease, box-shadow .35s ease; }
.technology-card::before { position: absolute; width: 280px; height: 280px; right: -120px; bottom: -150px; border: 1px solid rgba(25,71,238,.14); border-radius: 50%; content: ""; }
.technology-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.technology-feature { color: #fff; background: var(--blue); }
.technology-feature::before { border-color: rgba(200,255,49,.45); }
.technology-number { color: var(--blue); font-size: .75rem; font-weight: 900; }
.technology-feature .technology-number { color: var(--mint); }
.technology-card p { margin-bottom: 12px; color: #707b8d; font-size: .74rem; font-weight: 850; letter-spacing: .12em; text-transform: uppercase; }
.technology-feature p { color: rgba(255,255,255,.65); }
.technology-card h3 { max-width: 480px; }
.technology-arrow { position: absolute; right: 28px; top: 26px; font-size: 1.4rem; }
.materials-showcase { color: #fff; background: #101729; }
.materials-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(50px, 9vw, 130px); align-items: center; }
.materials-copy h2 { margin: 18px 0 28px; font-size: clamp(2.6rem, 5vw, 5.3rem); }
.materials-copy > p:not(.eyebrow) { max-width: 600px; color: rgba(255,255,255,.62); }
.text-link { display: inline-flex; margin-top: 28px; gap: 10px; color: var(--mint); font-size: .85rem; font-weight: 850; }
.material-list { display: grid; grid-template-columns: repeat(2, 1fr); }
.material-list span { padding: 30px 0; border-bottom: 1px solid rgba(255,255,255,.16); font-size: clamp(1.1rem, 2vw, 1.55rem); font-weight: 700; }
.material-list span:nth-child(even) { padding-left: 30px; border-left: 1px solid rgba(255,255,255,.16); }
.industries-section { background: #fff; }
.industry-row { display: grid; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); grid-template-columns: repeat(5, 1fr); }
.industry-row span { display: grid; min-height: 145px; padding: 22px; place-items: center; border-right: 1px solid var(--line); text-align: center; font-size: .9rem; font-weight: 800; }
.industry-row span:last-child { border-right: 0; }
.process-section .eyebrow { color: var(--mint); }
.process-step span { color: var(--mint); }
.final-cta { background: #eef1f8; }
.cta-panel { position: relative; overflow: hidden; background: var(--blue); color: #fff; }
.cta-panel::after { position: absolute; width: 360px; height: 360px; right: -120px; bottom: -160px; border: 42px solid var(--mint); border-radius: 50%; content: ""; opacity: .9; }
.cta-panel > * { position: relative; z-index: 1; }
.cta-panel .eyebrow { color: var(--mint); }
.cta-panel .button { border-color: var(--mint); background: var(--mint); color: #101729; }

@media (max-width: 900px) {
  .partner-strip .trust-inner, .materials-layout { grid-template-columns: 1fr; padding-block: 32px; gap: 24px; }
  .technology-grid { grid-template-columns: 1fr; }
  .technology-card { min-height: 280px; }
  .industry-row { grid-template-columns: repeat(2, 1fr); }
  .industry-row span:nth-child(even) { border-right: 0; }
}

@media (max-width: 560px) {
  .brand-copy strong { font-size: .92rem; }
  .hero-logo-card { width: 112px; }
  .hero-panel { width: 230px; padding: 26px; }
  .hero-panel-a { left: 1%; bottom: 20%; }
  .hero-panel-b { right: 1%; bottom: 1%; }
  .material-list { grid-template-columns: 1fr; }
  .material-list span:nth-child(even) { padding-left: 0; border-left: 0; }
  .industry-row { grid-template-columns: 1fr; }
  .industry-row span { min-height: 90px; border-right: 0; }
}

/* Clear brand lockup and non-overlapping product presentation. */
.brand-symbol { width: 46px; height: 46px; object-fit: contain; flex-shrink: 0; }
.brand-mark-image { background: transparent url('../images/flexiprime-symbol.svg') center / contain no-repeat; border: 0; border-radius: 0; }
.brand-copy strong { font-size: 1.08rem; white-space: nowrap; }
.brand-copy em { font-style: normal; font-weight: 450; }
.brand-copy small { color: #c8ff31; letter-spacing: .28em; font-size: .56rem; margin-top: 8px; }
.hero-grid { grid-template-columns: 1fr 1fr; gap: 48px; min-height: 580px; }
.hero h1 { font-size: clamp(3.2rem, 5.6vw, 5.7rem); line-height: 1.04; }
.hero { min-height: auto; padding: 140px 0 90px; }
.hero-detail { max-width: 510px; color: #aab7cc; font-size: .97rem; }
.hero-lead { font-size: 1.25rem; color: #eef3ff; max-width: 490px; }
.reel-scene { min-width: 0; display: flex; flex-direction: column; justify-content: flex-end; min-height: 550px; gap: 22px; }
.reel-art { position: relative; width: 100%; height: 310px; overflow: hidden; }
.packaging-roll { position: absolute; width: 145px; height: 228px; border-radius: 50% / 15%; background: linear-gradient(90deg,#60799d 0%,#dce8f4 20%,#91a4bc 35%,#f0f8ff 48%,#829abe 68%,#385789 100%); box-shadow: 24px 26px 40px #030d2a60; transform: rotate(24deg); }
.packaging-roll::before { content: ''; position: absolute; inset: -1px 0 auto; height: 68px; border-radius: 50%; background: repeating-radial-gradient(ellipse at center,#cbd7e7 0 2px,#8297b5 3px 4px); border: 2px solid #dfe9f6; }
.packaging-roll i { position: absolute; top: 20px; left: 53px; width: 40px; height: 24px; border-radius: 50%; background: #142744; box-shadow: inset 2px 5px 7px #020714; }
.packaging-roll::after { content: ''; position: absolute; inset: 70px 0 24px; background: linear-gradient(100deg,transparent 15%,#ffffff60 45%,transparent 70%); animation: film-shine 6s ease-in-out infinite; }
.roll-back { top: 24px; left: 16%; opacity: .75; transform: rotate(-20deg) scale(.84); }
.roll-front { top: 46px; right: 20%; animation: reel-float 7s ease-in-out infinite; }
.film-web { position: absolute; right: 0; bottom: 25px; width: 76%; height: 112px; border: 1px solid #aecfff55; border-radius: 50% 0 30% 0; background: linear-gradient(150deg,#4c79ff10,#a5d6ef45,#3764e615); transform: rotate(-12deg); }
.visual-caption { margin: 0; color: #b8c8e2; font-size: .72rem; letter-spacing: .12em; text-align: center; text-transform: uppercase; }
.hero-offerings { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; width: 100%; }
.offering-card { display: block; position: relative; padding: 26px 22px; border: 1px solid #809cd64a; border-radius: 18px; background: #102343e8; transition: border-color .25s, background .25s; }
.offering-card:hover { border-color: #c8ff31; background: #183660; }
.offering-card > span { color: #b7cbf2; font-size: .58rem; font-weight: 750; letter-spacing: .11em; }
.offering-card h2 { font-size: clamp(1.25rem,2vw,1.8rem); margin: 21px 0 12px; letter-spacing: -.035em; color: #fff; }
.offering-card h2 b { float: right; font-size: 1rem; font-weight: 400; color: #c8ff31; }
.offering-card p { font-size: .85rem; line-height: 1.6; margin: 0; color: #becbe0; }
.industry-row span { display: flex; flex-direction: column; align-items: flex-start; text-align: left; justify-content: center; gap: 14px; }
.industry-row small { color: #637087; font-size: .8rem; line-height: 1.6; font-weight: 400; }
.why-section { background: #f2f5fb; }
.why-section h2 { font-size: clamp(2.6rem,4.3vw,4.2rem); }
.why-copy { color: #526078; }
.why-copy h3 { color: #101729; font-size: 1.25rem; margin: 26px 0 12px; }
.why-copy .text-link { color: #1947ee; }
.materials-showcase .eyebrow { color: #c8ff31; }
@keyframes reel-float { 0%,100% { transform: translateY(0) rotate(24deg); } 50% { transform: translateY(-12px) rotate(27deg); } }
@keyframes film-shine { 0%,100% { opacity: .3; } 50% { opacity: .9; } }
@media(min-width:901px) and (max-width:1150px) { .primary-nav ul { gap: 13px; } .primary-nav { gap: 15px; } .brand-copy em { display: none; } }
@media(max-width:900px) { .hero-grid { grid-template-columns: 1fr; gap: 30px; } .hero-copy { max-width: 640px; } .reel-scene { min-height: 470px; max-width: 600px; width: 100%; margin: auto; } .hero h1 { font-size: clamp(3rem,8vw,5rem); } }
@media(max-width:560px) { .brand-copy strong { font-size: .94rem; } .brand-symbol { width: 38px; height: 38px; } .hero { padding-top: 128px; padding-bottom: 50px; } .hero-offerings { gap: 10px; } .offering-card { padding: 22px 14px; } .offering-card h2 { font-size: 1.24rem; } .offering-card p { font-size: .78rem; } .offering-card > span { font-size: .5rem; } .reel-art { height: 275px; } .roll-front { right: 15%; } .roll-back { left: 8%; } }
@media(prefers-reduced-motion:reduce) { .packaging-roll,.packaging-roll::after { animation: none; } }
