:root {
  color-scheme: light;
  --midass-navy: #062b5b;
  --midass-deep: #031d42;
  --midass-blue: #0755a4;
  --midass-sky: #dcebfa;
  --midass-light: #eef5fd;
  --midass-orange: #f36b13;
  --midass-orange-soft: #ff9a45;
  --midass-white: #ffffff;
  --midass-text: #102544;
  --midass-muted: #536781;
  --midass-border: #d3e0ef;
  --midass-font: "DM Sans", "Segoe UI", sans-serif;
  --midass-display: "Sora", "Segoe UI", sans-serif;
  --midass-radius: 7px;
  --midass-shadow: 0 12px 34px rgba(3, 29, 66, 0.1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 86px; }
body.midass-site { margin: 0; overflow-x: hidden; background: var(--midass-white); color: var(--midass-text); font-family: var(--midass-font); font-size: 16px; -webkit-font-smoothing: antialiased; }
.midass-site a { color: inherit; text-decoration: none; }
.midass-site button, .midass-site input, .midass-site select, .midass-site textarea { font: inherit; }
.midass-site img { max-width: 100%; }
.midass-site .container { --bs-gutter-x: 2rem; max-width: 1192px; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: 8px; transform: translateY(-160%); background: var(--midass-white); color: var(--midass-deep); padding: 10px 16px; border-radius: 4px; }
.skip-link:focus { transform: translateY(0); }
.utility-bar { height: 34px; background: var(--midass-deep); color: var(--midass-white); font-size: 11px; }
.utility-inner, .utility-inner > div { height: 100%; display: flex; align-items: center; }
.utility-inner { justify-content: space-between; gap: 14px; }
.utility-inner > div { gap: 15px; }
.utility-inner a:hover { color: var(--midass-orange-soft); }
.utility-divider { color: rgb(255 255 255 / 36%); }
.main-header { position: sticky; z-index: 20; top: 0; background: rgb(255 255 255 / 97%); border-bottom: 1px solid rgb(6 43 91 / 9%); backdrop-filter: blur(12px); }
.header-inner { position: relative; display: flex; min-height: 75px; align-items: center; justify-content: space-between; gap: 25px; }
.brand-link { display: flex; width: 158px; flex: 0 0 auto; align-items: center; }
.brand-logo { display: block; width: 100%; height: 58px; object-fit: contain; }
.site-nav { display: flex; height: 75px; align-items: center; justify-content: center; gap: clamp(14px, 2.5vw, 32px); }
.nav-link { display: inline-flex; height: 100%; align-items: center; gap: 6px; border: 0; background: transparent; color: var(--midass-deep); font-size: 13px; font-weight: 650; transition: color 180ms ease; }
.nav-link:hover, .nav-dropdown-toggle[aria-expanded="true"] { color: var(--midass-orange); }
.nav-dropdown { position: relative; height: 100%; }
.nav-dropdown-toggle > span { font-size: 16px; }
.dropdown-panel { position: absolute; top: calc(100% - 3px); left: -14px; display: grid; width: 246px; gap: 2px; padding: 8px; border: 1px solid var(--midass-border); border-radius: 5px; background: var(--midass-white); box-shadow: var(--midass-shadow); opacity: 0; pointer-events: none; transform: translateY(7px); transition: opacity 160ms ease, transform 160ms ease; }
.nav-dropdown.is-open .dropdown-panel, .nav-dropdown:hover .dropdown-panel, .nav-dropdown:focus-within .dropdown-panel { opacity: 1; pointer-events: auto; transform: translateY(0); }
.dropdown-panel a { padding: 12px; border-radius: 4px; color: var(--midass-text); font-size: 13px; }
.dropdown-panel a:hover { background: var(--midass-light); color: var(--midass-blue); }
.button { display: inline-flex; min-height: 45px; align-items: center; justify-content: center; gap: 14px; padding: 12px 18px; border: 1px solid transparent; border-radius: 4px; font-size: 12px; font-weight: 700; transition: transform 180ms ease, background-color 180ms ease, box-shadow 180ms ease; }
.button:hover { transform: translateY(-2px); }
.button > span { font-size: 16px; line-height: 1; }
.button-orange { color: var(--midass-white) !important; background: var(--midass-orange); box-shadow: 0 6px 18px rgb(243 107 19 / 20%); }
.button-orange:hover { background: #d95708; box-shadow: 0 9px 24px rgb(243 107 19 / 26%); }
.button-outline-light { border-color: rgb(255 255 255 / 63%); color: var(--midass-white) !important; background: rgb(255 255 255 / 6%); }
.button-outline-light:hover { background: rgb(255 255 255 / 15%); }
.menu-toggle { display: none; }

.hero { position: relative; min-height: 474px; overflow: hidden; color: var(--midass-white); background: var(--midass-deep) url("hero-building.jpg") center 48% / cover no-repeat; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(3 29 66 / 96%) 0%, rgb(3 29 66 / 85%) 37%, rgb(3 29 66 / 30%) 71%, rgb(3 29 66 / 15%) 100%); }
.hero::after { position: absolute; right: -110px; bottom: -208px; width: 550px; height: 306px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 50%; content: ""; box-shadow: 0 0 0 18px rgb(255 255 255 / 3%), 0 0 0 48px rgb(255 255 255 / 2%); }
.hero-inner { position: relative; display: flex; min-height: 474px; align-items: center; padding-top: 48px; padding-bottom: 51px; }
.hero-copy { position: relative; z-index: 2; max-width: 620px; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 16px; color: var(--midass-blue); font-size: 10px; font-weight: 800; letter-spacing: 1.4px; text-transform: uppercase; }
.eyebrow-light { color: var(--midass-orange-soft); }
.eyebrow-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--midass-orange); box-shadow: 0 0 0 4px rgb(243 107 19 / 17%); }
.hero h1, .detail-hero h1 { margin: 0; color: var(--midass-white); font-family: var(--midass-display); font-size: clamp(46px, 6vw, 72px); font-weight: 750; line-height: .99; }
.hero h1 span, .detail-hero h1 span { color: var(--midass-orange-soft); }
.hero h2 { margin: 19px 0 7px; color: var(--midass-white); font-size: 18px; font-weight: 650; }
.hero-description { max-width: 440px; margin: 0; color: rgb(255 255 255 / 79%); font-size: 14px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.experience-mark { position: absolute; z-index: 2; right: 28px; bottom: 65px; display: grid; width: 138px; height: 138px; align-content: center; justify-items: center; border: 1px solid rgb(255 255 255 / 46%); border-radius: 50%; color: var(--midass-white); background: rgb(3 29 66 / 68%); box-shadow: 0 0 0 8px rgb(255 255 255 / 9%); text-align: center; }
.experience-number { color: var(--midass-orange-soft); font-family: var(--midass-display); font-size: 30px; font-weight: 750; }
.experience-rule { width: 40px; height: 2px; margin: 4px 0 7px; background: var(--midass-orange); }
.experience-label { font-size: 11px; line-height: 1.4; }
.hero-caption { position: absolute; right: 16px; bottom: 17px; color: rgb(255 255 255 / 70%); font-size: 10px; letter-spacing: .4px; }

.section-pad { padding-top: 84px; padding-bottom: 84px; }
.section-heading { margin-bottom: 30px; text-align: center; }
.section-heading .eyebrow, .brand-heading .eyebrow { justify-content: center; margin-bottom: 9px; }
.section-heading h2, .brand-heading h2, .products-heading h2, .projects-heading h2 { margin: 0; color: var(--midass-deep); font-family: var(--midass-display); font-size: 34px; font-weight: 740; }
.section-heading > p:last-child { margin: 10px 0 0; color: var(--midass-muted); font-size: 13px; }
.service-grid { --bs-gutter-x: 16px; }
.service-card { position: relative; display: flex; min-height: 215px; height: 100%; flex-direction: column; align-items: flex-start; padding: 22px 23px 20px; overflow: hidden; border: 1px solid var(--midass-border); border-top: 3px solid var(--midass-blue); border-radius: var(--midass-radius); background: var(--midass-white); box-shadow: 0 7px 22px rgb(3 29 66 / 6%); transition: transform 190ms ease, box-shadow 190ms ease, border-color 190ms ease; }
.service-card:hover { transform: translateY(-4px); border-color: #a8c8e9; box-shadow: 0 15px 32px rgb(3 29 66 / 11%); }
.service-card-tally { border-top-color: var(--midass-orange); }
.service-card-sign { border-top-color: #4283bf; }
.service-icon { display: grid; width: 47px; height: 47px; place-items: center; margin-bottom: 18px; border-radius: 5px; color: var(--midass-blue); background: var(--midass-light); }
.service-icon svg, .product-icon svg { width: 29px; height: 29px; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.tally-wordmark { color: var(--midass-orange); font-family: Georgia, serif; font-size: 34px; font-style: italic; font-weight: 750; }
.service-number { position: absolute; top: 26px; right: 22px; color: #8a9bb1; font-size: 9px; font-weight: 750; letter-spacing: .9px; }
.service-card h3 { margin: 0 0 7px; color: var(--midass-deep); font-family: var(--midass-display); font-size: 18px; font-weight: 720; }
.service-card > p { max-width: 300px; margin: 0 0 15px; color: var(--midass-muted); font-size: 12px; line-height: 1.65; }
.service-link { display: flex; width: 100%; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 13px; border-top: 1px solid #e6edf5; color: var(--midass-blue); font-size: 11px; font-weight: 730; }
.service-link span { color: var(--midass-orange); font-size: 17px; transition: transform 170ms ease; }
.service-card:hover .service-link span { transform: translate(3px, -2px); }
.service-footnote { display: flex; align-items: center; gap: 10px; margin-top: 19px; color: var(--midass-muted); font-size: 11px; }
.orange-mark { width: 8px; height: 8px; border-radius: 50%; background: var(--midass-orange); }

.why-section { padding-top: 13px; padding-bottom: 83px; }
.why-panel { position: relative; display: grid; min-height: 355px; grid-template-columns: 1.12fr .88fr; overflow: hidden; border-radius: 7px; background: var(--midass-deep); }
.why-copy { z-index: 2; align-self: center; padding: 47px 50px; }
.why-copy h2, .about-copy h2, .contact-copy h2 { margin: 0 0 14px; color: var(--midass-white); font-family: var(--midass-display); font-size: clamp(30px, 3.6vw, 42px); font-weight: 730; line-height: 1.13; }
.why-copy h2 span { color: var(--midass-orange-soft); }
.why-copy > p:not(.eyebrow) { max-width: 440px; margin: 0 0 17px; color: rgb(255 255 255 / 77%); font-size: 13px; line-height: 1.7; }
.check-list { display: grid; gap: 9px; margin: 0 0 23px; padding: 0; list-style: none; }
.check-list li { display: flex; align-items: center; gap: 10px; color: var(--midass-white); font-size: 12px; }
.check-list li::before { display: grid; width: 17px; height: 17px; flex: 0 0 17px; place-items: center; border-radius: 50%; color: var(--midass-deep); background: var(--midass-orange-soft); content: "✓"; font-size: 10px; font-weight: 800; }
.why-photo-wrap { position: relative; min-height: 355px; overflow: hidden; }
.why-photo-wrap::after { position: absolute; inset: 0; background: linear-gradient(90deg, rgb(3 29 66 / 24%), transparent 40%); content: ""; }
.why-photo { width: 100%; height: 100%; min-height: 355px; object-fit: cover; object-position: center 36%; }
.photo-note { position: absolute; z-index: 1; right: 20px; bottom: 22px; display: flex; align-items: center; gap: 10px; padding: 11px 13px; border: 1px solid rgb(255 255 255 / 58%); border-radius: 4px; color: var(--midass-deep); background: var(--midass-white); box-shadow: var(--midass-shadow); }
.photo-note-icon { display: grid; width: 34px; height: 34px; place-items: center; border-radius: 50%; color: var(--midass-white); background: var(--midass-orange); font-family: var(--midass-display); font-weight: 750; }
.photo-note strong, .photo-note small { display: block; }
.photo-note strong { font-size: 11px; }
.photo-note small { margin-top: 3px; color: var(--midass-muted); font-size: 10px; }
.why-index { position: absolute; top: 21px; right: 22px; z-index: 1; color: rgb(255 255 255 / 80%); font-size: 10px; letter-spacing: 1px; }

.brand-section { padding: 4px 0 22px; overflow: hidden; }
.brand-heading { margin-bottom: 23px; text-align: center; }
.brand-heading .eyebrow { margin-bottom: 8px; }
.brand-heading h2 { font-size: 25px; }
.brand-window { width: 100%; overflow: hidden; border-top: 1px solid var(--midass-border); border-bottom: 1px solid var(--midass-border); }
.brand-track { display: flex; width: max-content; min-height: 83px; align-items: center; animation: brand-scroll 32s linear infinite; }
.brand-window:hover .brand-track { animation-play-state: paused; }
.brand-name { display: inline-grid; min-width: 146px; height: 30px; place-items: center; border-right: 1px solid #d4e0ed; font-size: 19px; font-weight: 780; }
.brand-dell { color: var(--midass-blue); font-size: 17px; }
.brand-hp { color: #0796df; font-family: Georgia, serif; font-size: 30px; font-style: italic; }
.brand-lenovo { color: #d71920; }
.brand-samsung { color: #152f67; font-size: 15px; letter-spacing: .7px; }
.brand-canon { color: #c91b31; font-family: Georgia, serif; font-size: 24px; }
.brand-epson { color: #15458c; }
.brand-lg { color: #b20c31; }
.brand-asus { color: #102544; font-style: italic; }
.brand-disclaimer { margin: 9px 0 0; color: #75859a; font-size: 9px; text-align: center; }
@keyframes brand-scroll { to { transform: translateX(-50%); } }

.about-section { padding-top: 44px; padding-bottom: 84px; }
.about-grid { display: grid; grid-template-columns: 1.02fr .98fr; align-items: center; gap: 66px; }
.about-image-block { position: relative; min-height: 355px; overflow: hidden; border-radius: 6px; background: var(--midass-light); }
.about-image-block::after { position: absolute; inset: 45% 0 0; background: linear-gradient(transparent, rgb(3 29 66 / 80%)); content: ""; }
.about-image-block > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 57% center; }
.about-image-caption { position: absolute; z-index: 1; right: 22px; bottom: 19px; left: 22px; display: flex; justify-content: space-between; color: var(--midass-white); font-family: var(--midass-display); font-size: 12px; font-weight: 650; }
.about-copy h2 { margin-bottom: 17px; color: var(--midass-deep); font-size: clamp(29px, 3vw, 38px); }
.about-copy h2 span, .contact-copy h2 span { color: var(--midass-orange); }
.about-lead { margin-bottom: 10px !important; color: var(--midass-deep) !important; font-size: 15px !important; font-weight: 600; }
.about-copy > p:not(.eyebrow) { max-width: 485px; margin: 0 0 14px; color: var(--midass-muted); font-size: 12px; line-height: 1.8; }
.about-facts { display: flex; gap: 28px; margin: 24px 0; padding: 16px 0; border-top: 1px solid var(--midass-border); border-bottom: 1px solid var(--midass-border); }
.about-facts div { display: grid; gap: 4px; }
.about-facts strong { color: var(--midass-deep); font-family: var(--midass-display); font-size: 17px; }
.about-facts span { color: var(--midass-muted); font-size: 10px; }
.text-link { display: inline-flex; gap: 10px; align-items: center; color: var(--midass-blue) !important; font-size: 12px; font-weight: 750; }
.text-link > span { color: var(--midass-orange); font-size: 17px; transition: transform 180ms ease; }
.text-link:hover > span { transform: translateX(4px); }

.products-section { padding-top: 65px; padding-bottom: 71px; background: var(--midass-light); }
.products-heading, .projects-heading { display: flex; align-items: end; justify-content: space-between; gap: 30px; margin-bottom: 25px; }
.products-heading h2, .projects-heading h2 { font-size: 30px; }
.products-heading > p { max-width: 290px; margin: 0 0 2px; color: var(--midass-muted); font-size: 12px; line-height: 1.7; }
.product-grid { --bs-gutter-x: 13px; }
.product-card { position: relative; display: flex; min-height: 241px; height: 100%; flex-direction: column; padding: 20px; border: 1px solid #d2dfed; border-radius: 5px; background: var(--midass-white); transition: transform 180ms ease, box-shadow 180ms ease; }
.product-card:hover { transform: translateY(-4px); box-shadow: 0 11px 26px rgb(3 29 66 / 10%); }
.product-index { position: absolute; top: 19px; right: 18px; color: #99a9bb; font-size: 10px; font-weight: 700; }
.product-icon { display: grid; width: 49px; height: 49px; place-items: center; margin-bottom: 18px; border-radius: 5px; }
.product-icon-blue { color: var(--midass-blue); background: var(--midass-light); }
.product-icon-orange { color: var(--midass-orange); background: #fff2e8; }
.product-icon:not(:has(svg)) { font-family: Georgia, serif; font-size: 32px; font-style: italic; font-weight: 750; }
.product-card h3 { max-width: 220px; margin: 0 0 8px; color: var(--midass-deep); font-family: var(--midass-display); font-size: 16px; font-weight: 720; }
.product-card p { max-width: 245px; margin: 0; color: var(--midass-muted); font-size: 11px; line-height: 1.7; }
.product-arrow { margin-top: auto; align-self: flex-end; color: var(--midass-orange); font-size: 18px; transition: transform 180ms ease; }
.product-card:hover .product-arrow { transform: translate(3px, -3px); }
.product-note { display: flex; justify-content: center; gap: 8px; margin-top: 22px; color: var(--midass-muted); font-size: 11px; }
.product-note a { color: var(--midass-blue); font-weight: 730; }
.product-note a span { color: var(--midass-orange); }

.projects-section { padding-top: 75px; padding-bottom: 78px; }
.projects-heading { margin-bottom: 21px; }
.projects-heading h2 { font-size: 29px; }
.carousel-controls { display: flex; gap: 8px; }
.icon-button { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--midass-border); border-radius: 4px; color: var(--midass-blue); background: var(--midass-white); cursor: pointer; font-size: 17px; transition: color 180ms ease, background 180ms ease, border-color 180ms ease; }
.icon-button:hover { border-color: var(--midass-blue); color: var(--midass-white); background: var(--midass-blue); }
.project-track { display: grid; grid-auto-columns: minmax(0, 1fr); grid-auto-flow: column; gap: 16px; overflow-x: auto; overscroll-behavior-inline: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #a7bbd3 transparent; }
.project-card { position: relative; min-height: 273px; overflow: hidden; border-radius: 5px; background: var(--midass-deep); scroll-snap-align: start; }
.project-card::after { position: absolute; inset: 40% 0 0; background: linear-gradient(transparent, rgb(3 29 66 / 91%)); content: ""; }
.project-card > img { position: absolute; width: 100%; height: 100%; object-fit: cover; transition: transform 350ms ease; }
.project-card:hover > img { transform: scale(1.035); }
.project-copy { position: absolute; z-index: 1; right: 19px; bottom: 19px; left: 19px; color: var(--midass-white); }
.project-copy > span { color: var(--midass-orange-soft); font-size: 9px; font-weight: 780; letter-spacing: 1px; }
.project-copy h3 { margin: 5px 0 0; font-family: var(--midass-display); font-size: 17px; font-weight: 690; }
.project-note { margin: 9px 0 0; color: #7a899a; font-size: 9px; }

.client-section { position: relative; overflow: hidden; color: var(--midass-white); background: var(--midass-navy); }
.client-section::before { position: absolute; top: -180px; right: 33%; width: 590px; height: 590px; border: 1px solid rgb(255 255 255 / 9%); border-radius: 50%; content: ""; box-shadow: 0 0 0 25px rgb(255 255 255 / 2%), 0 0 0 80px rgb(255 255 255 / 2%); }
.client-inner { position: relative; display: grid; min-height: 330px; grid-template-columns: 1fr 1fr; align-items: center; gap: 70px; padding-top: 50px; padding-bottom: 50px; }
.client-copy h2 { max-width: 390px; margin: 0 0 13px; color: var(--midass-white); font-family: var(--midass-display); font-size: 29px; font-weight: 730; line-height: 1.24; }
.client-copy > p:not(.eyebrow) { max-width: 380px; margin: 0 0 19px; color: rgb(255 255 255 / 76%); font-size: 12px; line-height: 1.7; }
.client-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 9px; }
.client-grid > span { display: grid; min-height: 63px; place-items: center; padding: 7px; border: 1px solid rgb(255 255 255 / 20%); border-radius: 4px; color: var(--midass-white); background: rgb(255 255 255 / 8%); font-size: clamp(11px, 1.3vw, 17px); font-weight: 760; text-align: center; }
.client-grid > span:nth-child(2), .client-grid > span:nth-child(5) { font-family: Georgia, serif; font-weight: 500; }
.client-grid > span:nth-child(4) { font-size: 13px; }
.client-disclaimer { position: absolute; right: 0; bottom: 10px; left: 0; color: rgb(255 255 255 / 51%); font-size: 9px; text-align: center; }

.support-section { padding-top: 74px; padding-bottom: 80px; color: var(--midass-white); background: var(--midass-deep); }
.support-heading { margin-bottom: 25px; text-align: center; }
.support-heading .eyebrow { justify-content: center; }
.support-heading h2 { margin: 0; color: var(--midass-white); font-family: var(--midass-display); font-size: 30px; font-weight: 720; }
.support-heading > p:last-child { margin: 9px 0 0; color: rgb(255 255 255 / 74%); font-size: 12px; }
.support-rail { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 13px; }
.support-card { position: relative; display: flex; min-height: 162px; flex-direction: column; padding: 20px 21px; border: 1px solid rgb(255 255 255 / 19%); border-radius: 5px; background: rgb(255 255 255 / 6%); }
.support-quote { color: var(--midass-orange-soft); font-family: var(--midass-display); font-size: 22px; font-weight: 750; }
.support-card p { max-width: 300px; margin: 10px 0 15px; color: var(--midass-white); font-size: 12px; line-height: 1.65; }
.support-card-tag { margin-top: auto; color: rgb(255 255 255 / 60%); font-size: 9px; font-weight: 700; letter-spacing: 1px; }

.contact-band { padding-top: 82px; padding-bottom: 0; background: var(--midass-light); }
.contact-layout { display: grid; grid-template-columns: 1fr .85fr; gap: 100px; padding-bottom: 72px; }
.contact-copy { align-self: center; }
.contact-copy h2 { margin-bottom: 14px; color: var(--midass-deep); font-size: clamp(33px, 3.7vw, 45px); }
.contact-copy > p:not(.eyebrow) { max-width: 410px; margin: 0; color: var(--midass-muted); font-size: 13px; line-height: 1.75; }
.contact-details { display: flex; flex-wrap: wrap; gap: 27px; margin-top: 30px; }
.contact-details > a { display: flex; align-items: center; gap: 12px; }
.contact-details > a > span:first-child { display: grid; width: 38px; height: 38px; place-items: center; border: 1px solid var(--midass-border); border-radius: 4px; color: var(--midass-blue); background: var(--midass-white); font-size: 15px; }
.contact-details small, .contact-details strong { display: block; }
.contact-details small { margin-bottom: 4px; color: var(--midass-muted); font-size: 9px; }
.contact-details strong { color: var(--midass-deep); font-size: 12px; }
.enquiry-form { padding: 25px; border: 1px solid #d5e1ee; border-radius: 5px; background: var(--midass-white); box-shadow: 0 10px 24px rgb(3 29 66 / 6%); }
.form-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 10px; margin-bottom: 18px; }
.form-title > span { padding-top: 4px; color: var(--midass-orange); font-size: 9px; font-weight: 750; letter-spacing: 1px; }
.form-title h3 { margin: 0; color: var(--midass-deep); font-family: var(--midass-display); font-size: 19px; font-weight: 730; }
.enquiry-form label { display: block; margin: 13px 0 6px; color: var(--midass-text); font-size: 10px; font-weight: 700; }
.enquiry-form input, .enquiry-form select, .enquiry-form textarea, .newsletter-field input { width: 100%; min-height: 41px; padding: 10px 11px; border: 1px solid var(--midass-border); border-radius: 3px; outline: 0; color: var(--midass-text); background: var(--midass-white); font-size: 11px; transition: border-color 160ms ease, box-shadow 160ms ease; }
.enquiry-form textarea { min-height: 70px; resize: vertical; }
.enquiry-form input:focus, .enquiry-form select:focus, .enquiry-form textarea:focus, .newsletter-field input:focus { border-color: var(--midass-blue); box-shadow: 0 0 0 3px rgb(7 85 164 / 10%); }
.enquiry-form input::placeholder, .enquiry-form textarea::placeholder, .newsletter-field input::placeholder { color: #8c9bad; }
.form-submit { width: 100%; margin-top: 16px; cursor: pointer; }
.form-status { min-height: 15px; margin: 8px 0 0; color: var(--midass-blue); font-size: 10px; }
.form-disclaimer { margin: 3px 0 0; color: #74849a; font-size: 9px; }
.address-row { padding: 16px 0; border-top: 1px solid #d5e1ee; background: var(--midass-white); }
.address-row > .container { display: flex; align-items: center; gap: 14px; }
.address-row > .container > span { color: var(--midass-orange); font-size: 22px; }
.address-row p { flex: 1; margin: 0; color: var(--midass-muted); font-size: 10px; line-height: 1.6; }
.address-row p strong { color: var(--midass-deep); font-size: 11px; }
.address-row a { flex: 0 0 auto; color: var(--midass-blue); font-size: 10px; font-weight: 750; }
.address-row a span { color: var(--midass-orange); }

.site-footer { color: var(--midass-white); background: var(--midass-deep); }
.footer-top { display: grid; grid-template-columns: 1.3fr .75fr .92fr 1.12fr; gap: 45px; padding-top: 48px; padding-bottom: 38px; }
.footer-brand { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer-brand .brand-logo { width: 158px; height: 77px; }
.footer-brand > span { color: rgb(255 255 255 / 91%); font-size: 12px; font-weight: 700; }
.footer-brand small { display: block; margin-top: 5px; color: rgb(255 255 255 / 62%); font-size: 10px; font-weight: 400; }
.footer-group { display: grid; align-content: start; justify-items: start; gap: 10px; }
.footer-group h2 { margin: 5px 0 5px; color: var(--midass-orange-soft); font-family: var(--midass-display); font-size: 12px; font-weight: 700; }
.footer-group a, .footer-group p { margin: 0; color: rgb(255 255 255 / 77%); font-size: 10px; line-height: 1.55; }
.footer-group a:hover { color: var(--midass-orange-soft); }
.footer-contact p { margin-bottom: 2px; }
.footer-bottom { position: relative; display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 15px; padding-right: 50px; border-top: 1px solid rgb(255 255 255 / 15%); color: rgb(255 255 255 / 64%); font-size: 9px; }
.back-to-top { position: absolute; right: 0; display: grid; width: 30px; height: 30px; place-items: center; border: 1px solid rgb(255 255 255 / 30%); border-radius: 50%; color: var(--midass-white) !important; font-size: 17px; }

.reveal { opacity: 0; transform: translateY(15px); transition: opacity 620ms ease var(--reveal-delay, 0ms), transform 620ms ease var(--reveal-delay, 0ms); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }

.detail-hero { position: relative; min-height: 360px; overflow: hidden; color: var(--midass-white); background: var(--midass-deep); }
.detail-hero::before { position: absolute; inset: 0; background: linear-gradient(100deg, rgb(3 29 66 / 96%) 2%, rgb(6 43 91 / 84%) 49%, rgb(7 85 164 / 76%) 100%); content: ""; }
.detail-hero-lines { position: absolute; top: -185px; right: -180px; width: 590px; height: 590px; border: 1px solid rgb(255 255 255 / 15%); border-radius: 50%; box-shadow: 0 0 0 24px rgb(255 255 255 / 3%), 0 0 0 70px rgb(255 255 255 / 2%); }
.detail-hero-content { position: relative; padding-top: 32px; padding-bottom: 38px; }
.detail-back { display: inline-block; margin-bottom: 39px; color: rgb(255 255 255 / 82%) !important; font-size: 11px; }
.detail-back:hover { color: var(--midass-orange-soft) !important; }
.detail-hero .eyebrow { margin-bottom: 13px; }
.detail-hero h1 { max-width: 750px; margin-bottom: 12px; font-size: clamp(42px, 5.2vw, 62px); }
.detail-summary { max-width: 575px; margin-bottom: 20px; color: rgb(255 255 255 / 81%); font-size: 14px; line-height: 1.75; }
.detail-main { padding-top: 69px; padding-bottom: 75px; }
.detail-main-grid { display: grid; grid-template-columns: .86fr 1.14fr; align-items: start; gap: 75px; }
.detail-intro h2 { margin: 0 0 15px; color: var(--midass-deep); font-family: var(--midass-display); font-size: 30px; font-weight: 730; line-height: 1.21; }
.detail-intro h2 span { color: var(--midass-orange); }
.detail-intro > p:not(.eyebrow, .detail-image-caption) { margin: 0 0 22px; color: var(--midass-muted); font-size: 12px; line-height: 1.8; }
.detail-intro > img { width: 100%; aspect-ratio: 1.45; border-radius: 4px; object-fit: cover; }
.detail-image-caption { margin: 8px 0 0; color: #7e8ea1; font-size: 8px; font-weight: 700; letter-spacing: .8px; }
.detail-options > .eyebrow { margin-bottom: 14px; }
.detail-groups { border-top: 1px solid var(--midass-border); }
.detail-group { position: relative; padding: 19px 8px 17px 51px; border-bottom: 1px solid var(--midass-border); }
.detail-group-number { position: absolute; top: 22px; left: 7px; color: var(--midass-orange); font-family: var(--midass-display); font-size: 12px; font-weight: 750; }
.detail-group h3 { margin: 0 0 11px; color: var(--midass-deep); font-family: var(--midass-display); font-size: 16px; font-weight: 730; }
.detail-group ul { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 16px; margin: 0; padding: 0; list-style: none; }
.detail-group li { display: flex; align-items: flex-start; gap: 8px; color: var(--midass-muted); font-size: 11px; line-height: 1.55; }
.detail-group li::before { flex: 0 0 auto; color: var(--midass-orange); content: "↗"; font-size: 12px; }
.detail-callout { padding: 36px 0; color: var(--midass-white); background: var(--midass-navy); }
.detail-callout-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.detail-callout .eyebrow { margin-bottom: 7px; }
.detail-callout h2 { margin: 0 0 7px; color: var(--midass-white); font-family: var(--midass-display); font-size: 25px; font-weight: 730; }
.detail-callout p:not(.eyebrow) { max-width: 710px; margin: 0; color: rgb(255 255 255 / 77%); font-size: 11px; line-height: 1.7; }

@media (min-width: 1300px) {
  .hero-inner { min-height: 520px; }
  .hero { min-height: 520px; }
}

@media (max-width: 900px) {
  .site-nav { gap: 14px; }
  .brand-link { width: 139px; }
  .header-inner { gap: 15px; }
  .header-cta { padding-inline: 13px; }
  .nav-link { font-size: 11px; }
  .why-copy { padding: 36px 32px; }
  .about-grid { gap: 38px; }
  .contact-layout { gap: 45px; }
  .footer-top { gap: 26px; }
  .detail-main-grid { gap: 45px; }
  .project-track { grid-auto-columns: minmax(0, 1fr); }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .midass-site .container { --bs-gutter-x: 1.35rem; }
  .utility-bar { height: auto; min-height: 34px; }
  .utility-inner { min-height: 34px; }
  .utility-inner > span { display: none; }
  .utility-inner > div { width: 100%; justify-content: center; gap: 11px; font-size: 10px; }
  .header-inner { min-height: 68px; }
  .brand-link { width: 139px; }
  .brand-logo { height: 54px; }
  .menu-toggle { display: flex; width: 39px; height: 39px; flex-direction: column; align-items: center; justify-content: center; gap: 6px; margin-left: auto; border: 1px solid var(--midass-border); border-radius: 4px; background: var(--midass-white); }
  .menu-toggle span { width: 17px; height: 2px; border-radius: 2px; background: var(--midass-deep); transition: transform 170ms ease; }
  .menu-toggle[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu-toggle[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .site-nav { position: absolute; top: calc(100% + 1px); right: -1px; left: -1px; display: none; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 7px 16px 14px; border: 1px solid var(--midass-border); border-top: 0; background: var(--midass-white); box-shadow: 0 12px 20px rgb(3 29 66 / 9%); }
  .site-nav.is-open { display: flex; }
  .site-nav > .nav-link, .nav-dropdown-toggle { width: 100%; min-height: 43px; justify-content: flex-start; padding: 10px 5px; border-bottom: 1px solid #e9eff6; font-size: 13px; }
  .nav-dropdown { height: auto; }
  .nav-dropdown-toggle { display: flex; justify-content: space-between; }
  .dropdown-panel { position: static; display: none; width: 100%; margin: 0; padding: 5px 8px; border: 0; border-radius: 0; background: var(--midass-light); box-shadow: none; opacity: 1; transform: none; }
  .nav-dropdown.is-open .dropdown-panel { display: grid; }
  .dropdown-panel a { padding: 11px; }
  .header-cta { min-height: 39px; padding: 9px 11px; font-size: 10px; }
  .hero, .hero-inner { min-height: 455px; }
  .hero { background-position: 62% center; }
  .hero-shade { background: linear-gradient(90deg, rgb(3 29 66 / 95%) 0%, rgb(3 29 66 / 85%) 65%, rgb(3 29 66 / 49%) 100%); }
  .hero-inner { align-items: flex-start; padding-top: 68px; padding-bottom: 57px; }
  .hero-copy { max-width: 460px; }
  .hero .eyebrow { max-width: 330px; font-size: 9px; }
  .hero h1 { font-size: clamp(44px, 11vw, 61px); }
  .hero h2 { max-width: 330px; font-size: 16px; }
  .hero-description { max-width: 340px; font-size: 12px; }
  .hero-actions { margin-top: 20px; }
  .hero-actions .button { min-height: 42px; padding: 10px 12px; font-size: 10px; }
  .experience-mark { right: 18px; bottom: 45px; width: 92px; height: 92px; box-shadow: 0 0 0 5px rgb(255 255 255 / 9%); }
  .experience-number { font-size: 21px; }
  .experience-rule { width: 29px; margin: 3px 0 4px; }
  .experience-label { font-size: 9px; }
  .hero-caption { right: auto; bottom: 14px; left: 22px; font-size: 8px; }
  .section-pad { padding-top: 60px; padding-bottom: 60px; }
  .section-heading { margin-bottom: 24px; }
  .section-heading h2 { font-size: 29px; }
  .section-heading > p:last-child { font-size: 12px; }
  .service-grid { --bs-gutter-x: 10px; }
  .service-card { min-height: 198px; padding: 18px; }
  .service-icon { width: 42px; height: 42px; margin-bottom: 13px; }
  .service-number { top: 22px; right: 17px; font-size: 8px; }
  .service-card h3 { font-size: 16px; }
  .service-card > p { font-size: 11px; }
  .service-footnote { align-items: flex-start; font-size: 10px; line-height: 1.6; }
  .why-section { padding-top: 5px; padding-bottom: 57px; }
  .why-panel { grid-template-columns: 1fr; }
  .why-copy { order: 2; padding: 31px 24px 30px; }
  .why-copy h2 { font-size: 31px; }
  .why-photo-wrap { order: 1; min-height: 235px; max-height: 285px; }
  .why-photo { min-height: 235px; object-position: center 36%; }
  .photo-note { right: 13px; bottom: 13px; padding: 8px 10px; }
  .photo-note-icon { width: 29px; height: 29px; }
  .why-index { top: 15px; right: 15px; }
  .brand-section { padding-top: 1px; padding-bottom: 13px; }
  .brand-heading { margin-bottom: 16px; }
  .brand-heading h2 { font-size: 22px; }
  .brand-track { min-height: 68px; }
  .brand-name { min-width: 117px; }
  .about-section { padding-top: 40px; }
  .about-grid { grid-template-columns: 1fr; gap: 29px; }
  .about-image-block { min-height: 254px; }
  .about-image-caption { font-size: 10px; }
  .about-copy h2 { font-size: 32px; }
  .about-facts { justify-content: space-between; gap: 10px; }
  .about-facts strong { font-size: 15px; }
  .products-section { padding-top: 54px; padding-bottom: 55px; }
  .products-heading, .projects-heading { align-items: flex-start; flex-direction: column; gap: 9px; }
  .products-heading h2, .projects-heading h2 { font-size: 26px; }
  .products-heading > p { max-width: 100%; }
  .product-grid { --bs-gutter-x: 10px; --bs-gutter-y: 10px; }
  .product-card { min-height: 210px; padding: 15px; }
  .product-icon { width: 43px; height: 43px; margin-bottom: 14px; }
  .product-card h3 { font-size: 14px; }
  .product-card p { font-size: 10px; }
  .product-note { flex-wrap: wrap; font-size: 10px; }
  .projects-section { padding-top: 57px; padding-bottom: 61px; }
  .projects-heading { position: relative; padding-right: 97px; }
  .projects-heading .carousel-controls { position: absolute; right: 0; bottom: 0; }
  .projects-heading h2 { font-size: 24px; }
  .project-track { grid-auto-columns: minmax(82%, 1fr); gap: 11px; }
  .project-card { min-height: 250px; }
  .client-inner { grid-template-columns: 1fr; gap: 27px; padding-top: 43px; padding-bottom: 53px; }
  .client-copy h2 { font-size: 26px; }
  .client-grid { gap: 7px; }
  .client-grid > span { min-height: 53px; font-size: 13px; }
  .support-section { padding-top: 55px; padding-bottom: 58px; }
  .support-heading h2 { font-size: 25px; }
  .support-rail { grid-template-columns: 1fr; gap: 9px; }
  .support-card { min-height: 124px; padding: 15px 17px; }
  .support-card p { max-width: 380px; margin: 6px 0 11px; }
  .contact-band { padding-top: 58px; }
  .contact-layout { grid-template-columns: 1fr; gap: 29px; padding-bottom: 40px; }
  .contact-copy h2 { font-size: 36px; }
  .contact-details { gap: 18px; margin-top: 20px; }
  .enquiry-form { padding: 20px; }
  .address-row > .container { flex-wrap: wrap; align-items: flex-start; gap: 10px; }
  .address-row > .container > span { line-height: 1; }
  .address-row p { flex-basis: calc(100% - 35px); }
  .address-row a { margin-left: 33px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 26px 20px; padding-top: 36px; padding-bottom: 29px; }
  .footer-brand { grid-column: span 2; }
  .footer-brand .brand-logo { width: 139px; height: 66px; }
  .footer-group { gap: 8px; }
  .footer-group h2 { margin-top: 0; }
  .footer-bottom { align-items: flex-start; flex-direction: column; justify-content: center; gap: 6px; padding-top: 12px; padding-bottom: 12px; font-size: 8px; }
  .back-to-top { top: 50%; right: 1px; transform: translateY(-50%); }
  .detail-hero { min-height: 330px; }
  .detail-hero-content { padding-top: 24px; padding-bottom: 31px; }
  .detail-back { margin-bottom: 35px; }
  .detail-hero h1 { max-width: 450px; font-size: clamp(39px, 10vw, 55px); }
  .detail-summary { font-size: 12px; }
  .detail-main { padding-top: 52px; padding-bottom: 54px; }
  .detail-main-grid { grid-template-columns: 1fr; gap: 36px; }
  .detail-intro h2 { font-size: 26px; }
  .detail-intro > img { aspect-ratio: 1.6; }
  .detail-group { padding-left: 41px; }
  .detail-group ul { grid-template-columns: 1fr; }
  .detail-callout-inner { align-items: flex-start; flex-direction: column; gap: 18px; }
  .detail-callout h2 { font-size: 22px; }
}

@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; }
}


/* ============================================================
   MIDASS PREMIUM UI/UX ENHANCEMENT LAYER
   All rules below augment/override the base styles above.
   ============================================================ */

/* ── Custom properties additions ── */
:root {
  --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out-quart: cubic-bezier(0.76, 0, 0.24, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --midass-glow: 0 0 40px rgb(7 85 164 / 18%);
  --midass-glow-orange: 0 0 32px rgb(243 107 19 / 22%);
}

/* ── Scroll progress bar ── */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--midass-orange), #ff9a45, var(--midass-blue));
  transition: width 60ms linear;
  pointer-events: none;
  box-shadow: 0 0 8px rgb(243 107 19 / 55%);
}

/* ── Custom cursor ── */
.cursor-dot,
.cursor-ring {
  display: none;
}
@media (hover: hover) and (pointer: fine) {
  .cursor-dot,
  .cursor-ring {
    display: block;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 9998;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 300ms ease;
  }
  .cursor-dot {
    width: 7px; height: 7px;
    background: var(--midass-orange);
    box-shadow: var(--midass-glow-orange);
    transition: transform 80ms linear, background 180ms ease, opacity 300ms ease;
  }
  .cursor-ring {
    width: 34px; height: 34px;
    border: 1.5px solid rgb(7 85 164 / 55%);
    transition: transform 160ms var(--ease-out-expo), width 220ms var(--ease-spring), height 220ms var(--ease-spring), border-color 220ms ease, opacity 300ms ease;
  }
  body.cursor-hover .cursor-ring {
    width: 52px; height: 52px;
    border-color: var(--midass-orange);
  }
  body.cursor-active .cursor-dot { transform: translate(-50%, -50%) scale(0.6); }
}

/* ── Utility bar premium ── */
.utility-bar {
  background: linear-gradient(90deg, #020e1f 0%, var(--midass-deep) 50%, #061830 100%);
  border-bottom: 1px solid rgb(255 255 255 / 6%);
}

/* ── Header premium ── */
.main-header {
  background: rgb(255 255 255 / 94%);
  backdrop-filter: blur(18px) saturate(180%);
  border-bottom: 1px solid rgb(6 43 91 / 8%);
  transition: box-shadow 300ms ease, background 300ms ease;
}
.main-header.scrolled {
  background: rgb(255 255 255 / 98%);
  box-shadow: 0 4px 28px rgb(3 29 66 / 10%);
}

/* Nav link animated underline */
.nav-link {
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 18px;
  left: 0; right: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--midass-orange);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms var(--ease-out-expo);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* ── Premium button enhancements ── */
.button {
  position: relative;
  overflow: hidden;
  letter-spacing: 0.3px;
}
.button::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(255 255 255 / 0%);
  transition: background 220ms ease;
}
.button:hover::before { background: rgb(255 255 255 / 10%); }
.button:active { transform: translateY(0) scale(0.98); }

.button-orange {
  box-shadow: 0 6px 22px rgb(243 107 19 / 28%), 0 2px 6px rgb(243 107 19 / 15%);
}
.button-orange:hover {
  box-shadow: 0 10px 32px rgb(243 107 19 / 38%), 0 4px 10px rgb(243 107 19 / 20%);
  transform: translateY(-3px);
}

/* Ripple effect on buttons */
.button-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgb(255 255 255 / 30%);
  transform: scale(0);
  animation: ripple-anim 550ms ease-out forwards;
  pointer-events: none;
}
@keyframes ripple-anim {
  to { transform: scale(4); opacity: 0; }
}

/* ── HERO section premium ── */
.hero {
  background-attachment: fixed;
  background-position: center 30%;
  overflow: hidden;
}
.hero-shade {
  background: linear-gradient(
    105deg,
    rgb(2 14 31 / 97%) 0%,
    rgb(3 29 66 / 90%) 30%,
    rgb(3 29 66 / 72%) 55%,
    rgb(6 43 91 / 25%) 80%,
    transparent 100%
  );
}

/* Animated geometric floating shapes in hero */
.hero-bg-shapes {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}
.hero-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0;
  animation: hero-float-in 1.2s var(--ease-out-expo) forwards;
}
.hero-shape-1 {
  width: 480px; height: 480px;
  top: -120px; right: 8%;
  background: radial-gradient(circle, rgb(7 85 164 / 18%) 0%, transparent 70%);
  animation-delay: 0.3s;
  animation-name: hero-pulse-1;
  animation-duration: 7s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  opacity: 0.6;
}
.hero-shape-2 {
  width: 300px; height: 300px;
  bottom: -60px; right: 22%;
  background: radial-gradient(circle, rgb(243 107 19 / 12%) 0%, transparent 70%);
  animation-name: hero-pulse-2;
  animation-duration: 9s;
  animation-iteration-count: infinite;
  animation-timing-function: ease-in-out;
  opacity: 0.5;
  animation-delay: 1.5s;
}
.hero-shape-3 {
  width: 180px; height: 180px;
  top: 30%; left: 48%;
  border: 1px solid rgb(255 255 255 / 8%);
  background: transparent;
  animation-name: hero-rotate;
  animation-duration: 18s;
  animation-iteration-count: infinite;
  animation-timing-function: linear;
  opacity: 0.4;
}
@keyframes hero-pulse-1 {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-15px, 10px); }
}
@keyframes hero-pulse-2 {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.1) translate(10px, -15px); }
}
@keyframes hero-rotate {
  to { transform: rotate(360deg); }
}

/* Hero text — premium staggered entrance */
.hero-copy .eyebrow {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.7s var(--ease-out-expo) 0.3s forwards;
}
.hero-copy h1 {
  opacity: 0;
  transform: translateY(22px);
  animation: fade-up 0.8s var(--ease-out-expo) 0.5s forwards;
}
.hero-copy h2 {
  opacity: 0;
  transform: translateY(18px);
  animation: fade-up 0.7s var(--ease-out-expo) 0.7s forwards;
}
.hero-copy .hero-description {
  opacity: 0;
  transform: translateY(15px);
  animation: fade-up 0.7s var(--ease-out-expo) 0.85s forwards;
}
.hero-copy .hero-actions {
  opacity: 0;
  transform: translateY(12px);
  animation: fade-up 0.7s var(--ease-out-expo) 1s forwards;
}
.experience-mark {
  opacity: 0;
  transform: scale(0.7) rotate(-10deg);
  animation: badge-pop 0.8s var(--ease-spring) 1.1s forwards;
}
@keyframes fade-up {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes badge-pop {
  to { opacity: 1; transform: scale(1) rotate(0deg); }
}

/* Hero wave at bottom */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  z-index: 3;
  line-height: 0;
}
.hero-wave svg { display: block; width: 100%; }

/* ── SERVICES section ── */
.service-intro {
  position: relative;
  background: linear-gradient(170deg, #f4f9ff 0%, #ffffff 55%, #eef5fd 100%);
  overflow: hidden;
}
.service-intro::before {
  content: '';
  position: absolute;
  top: -180px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 7%) 0%, transparent 70%);
  pointer-events: none;
}
.service-intro::after {
  content: '';
  position: absolute;
  bottom: -120px; left: -80px;
  width: 380px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 5%) 0%, transparent 70%);
  pointer-events: none;
}

/* Dot grid background pattern */
.service-intro .container { position: relative; z-index: 1; }

.service-card {
  border: 1px solid var(--midass-border);
  border-top: 3px solid var(--midass-blue);
  background: var(--midass-white);
  transition: transform 300ms var(--ease-out-expo),
              box-shadow 300ms var(--ease-out-expo),
              border-color 300ms ease;
  will-change: transform;
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgb(7 85 164 / 0%) 0%, rgb(7 85 164 / 4%) 100%);
  opacity: 0;
  transition: opacity 300ms ease;
}
.service-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 50px rgb(3 29 66 / 14%), 0 4px 12px rgb(3 29 66 / 8%);
  border-color: var(--midass-blue);
}
.service-card:hover::after { opacity: 1; }
.service-card-tally:hover { border-top-color: var(--midass-orange); }
.service-card:hover .service-icon {
  transform: rotate(-6deg) scale(1.1);
  background: var(--midass-blue);
  color: var(--midass-white);
}
.service-icon {
  transition: transform 300ms var(--ease-spring), background 280ms ease, color 280ms ease;
}

/* Animated gradient border on hover */
.service-card::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: calc(var(--midass-radius) + 2px);
  background: linear-gradient(135deg, var(--midass-blue), var(--midass-orange));
  z-index: -1;
  opacity: 0;
  transition: opacity 300ms ease;
}
.service-card:hover::before { opacity: 0.15; }

/* ── WHY section ── */
.why-section {
  position: relative;
}
.why-panel {
  box-shadow: 0 24px 60px rgb(3 29 66 / 22%);
  transition: box-shadow 300ms ease;
}

/* ── BRAND marquee section ── */
.brand-section {
  position: relative;
  background: linear-gradient(180deg, #f8fbff 0%, #ffffff 100%);
  overflow: hidden;
}
.brand-name {
  transition: opacity 200ms ease, transform 200ms ease;
}
.brand-window:hover .brand-name:not(:hover) { opacity: 0.45; }
.brand-name:hover {
  transform: scale(1.1);
  opacity: 1 !important;
}

/* ── ABOUT section ── */
.about-section {
  position: relative;
  background: linear-gradient(160deg, #ffffff 0%, #f0f6fe 40%, #ffffff 100%);
  overflow: hidden;
}
.about-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(7 85 164 / 7%) 1px, transparent 0);
  background-size: 36px 36px;
  pointer-events: none;
}
.about-image-block {
  transition: box-shadow 350ms ease, transform 350ms var(--ease-out-expo);
}
.about-image-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgb(3 29 66 / 16%);
}
.about-image-block > img {
  transition: transform 600ms var(--ease-out-expo);
}
.about-image-block:hover > img { transform: scale(1.04); }

/* About facts animated counter style */
.about-facts strong {
  display: block;
  transition: color 200ms ease;
}
.about-facts div:hover strong { color: var(--midass-orange); }

/* ── PRODUCTS section ── */
.products-section {
  position: relative;
  background: linear-gradient(145deg, #e8f1fb 0%, #f4f9ff 35%, #edf4fc 70%, #e4eff9 100%);
  overflow: hidden;
}
.products-section::before {
  content: '';
  position: absolute;
  top: -200px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 10%) 0%, transparent 65%);
  pointer-events: none;
}
.products-section::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -100px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 7%) 0%, transparent 65%);
  pointer-events: none;
}

/* Product card 3D tilt effect */
.product-card {
  transition: transform 280ms var(--ease-out-expo),
              box-shadow 280ms var(--ease-out-expo);
  will-change: transform;
  background: var(--midass-white);
  border: 1px solid rgb(210 225 243 / 90%);
}
.product-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 20px 44px rgb(3 29 66 / 13%), 0 6px 16px rgb(3 29 66 / 7%);
  border-color: rgb(7 85 164 / 30%);
}
.product-card:hover .product-icon-blue {
  background: var(--midass-blue);
  color: var(--midass-white);
  transform: rotate(-8deg) scale(1.08);
}
.product-card:hover .product-icon-orange {
  background: var(--midass-orange);
  color: var(--midass-white);
  transform: rotate(8deg) scale(1.08);
}
.product-icon {
  transition: transform 300ms var(--ease-spring), background 280ms ease, color 280ms ease;
}
.product-card:hover .product-arrow {
  transform: translate(4px, -4px) scale(1.15);
  color: var(--midass-orange);
}

/* ── PROJECTS section ── */
.projects-section {
  position: relative;
  background: linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  overflow: hidden;
}
.projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgb(7 85 164 / 4%) 1px, transparent 1px),
                    linear-gradient(90deg, rgb(7 85 164 / 4%) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
}

.project-card {
  transition: transform 320ms var(--ease-out-expo), box-shadow 320ms ease;
}
.project-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 44px rgb(3 29 66 / 28%);
}
.project-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(7 85 164 / 50%) 0%, transparent 50%);
  z-index: 1;
  opacity: 0;
  transition: opacity 320ms ease;
}
.project-card:hover::before { opacity: 1; }
.project-card > img {
  transition: transform 500ms var(--ease-out-expo);
}
.project-card:hover > img { transform: scale(1.06); }

/* ── CLIENTS section ── */
.client-section {
  position: relative;
  background: linear-gradient(135deg, #031d42 0%, #062b5b 40%, #0d3a73 70%, #062b5b 100%);
}
.client-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 4%) 1px, transparent 0);
  background-size: 28px 28px;
  pointer-events: none;
}
.client-grid > span {
  background: rgb(255 255 255 / 7%);
  border: 1px solid rgb(255 255 255 / 15%);
  backdrop-filter: blur(8px);
  transition: transform 240ms var(--ease-spring),
              background 240ms ease,
              border-color 240ms ease,
              box-shadow 240ms ease;
}
.client-grid > span:hover {
  transform: translateY(-4px) scale(1.04);
  background: rgb(255 255 255 / 15%);
  border-color: rgb(243 107 19 / 60%);
  box-shadow: 0 8px 24px rgb(0 0 0 / 20%);
}

/* ── SUPPORT section ── */
.support-section {
  position: relative;
  background: linear-gradient(150deg, #031d42 0%, #041828 35%, #031d42 65%, #05243d 100%);
  overflow: hidden;
}
.support-section::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  width: 700px; height: 700px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 15%) 0%, transparent 65%);
  pointer-events: none;
}
.support-card {
  background: rgb(255 255 255 / 5%);
  border: 1px solid rgb(255 255 255 / 14%);
  backdrop-filter: blur(12px);
  transition: transform 280ms var(--ease-out-expo),
              background 280ms ease,
              border-color 280ms ease,
              box-shadow 280ms ease;
  overflow: hidden;
}
.support-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--midass-orange), #ff9a45);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 300ms var(--ease-out-expo);
}
.support-card:hover {
  transform: translateY(-6px);
  background: rgb(255 255 255 / 9%);
  border-color: rgb(255 255 255 / 25%);
  box-shadow: 0 16px 40px rgb(0 0 0 / 24%);
}
.support-card:hover::before { transform: scaleX(1); }

/* ── CONTACT section ── */
.contact-band {
  position: relative;
  background: linear-gradient(170deg, #f0f7ff 0%, #eaf3fc 40%, #f5f9ff 100%);
  overflow: hidden;
}
.contact-band::before {
  content: '';
  position: absolute;
  top: -200px; right: -150px;
  width: 550px; height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 8%) 0%, transparent 70%);
  pointer-events: none;
}
.enquiry-form {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgb(7 85 164 / 12%);
  box-shadow: 0 16px 48px rgb(3 29 66 / 10%), 0 4px 12px rgb(3 29 66 / 6%);
  transition: box-shadow 300ms ease, transform 300ms var(--ease-out-expo);
}
.enquiry-form:hover {
  box-shadow: 0 22px 60px rgb(3 29 66 / 14%);
  transform: translateY(-2px);
}
.enquiry-form input:focus,
.enquiry-form select:focus,
.enquiry-form textarea:focus {
  border-color: var(--midass-blue);
  box-shadow: 0 0 0 4px rgb(7 85 164 / 10%);
  transform: none;
}
.contact-details > a {
  transition: transform 220ms var(--ease-spring);
}
.contact-details > a:hover {
  transform: translateY(-3px);
}
.contact-details > a > span:first-child {
  transition: background 220ms ease, color 220ms ease, border-color 220ms ease, transform 220ms var(--ease-spring);
}
.contact-details > a:hover > span:first-child {
  background: var(--midass-blue);
  color: var(--midass-white);
  border-color: var(--midass-blue);
  transform: scale(1.1);
}

/* ── FOOTER premium ── */
.site-footer {
  background: linear-gradient(170deg, #020c1b 0%, #031222 30%, #031d42 60%, #041628 100%);
  position: relative;
  overflow: hidden;
}
.site-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 3%) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.site-footer::after {
  content: '';
  position: absolute;
  top: -300px; right: -200px;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 10%) 0%, transparent 65%);
  pointer-events: none;
}
.footer-top { position: relative; z-index: 1; }
.footer-bottom { position: relative; z-index: 1; }
.footer-group a {
  transition: color 180ms ease, transform 180ms ease;
  display: inline-block;
}
.footer-group a:hover {
  color: var(--midass-orange-soft) !important;
  transform: translateX(4px);
}
.back-to-top {
  transition: background 220ms ease, transform 220ms var(--ease-spring), box-shadow 220ms ease;
}
.back-to-top:hover {
  background: var(--midass-orange) !important;
  border-color: var(--midass-orange) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgb(243 107 19 / 35%);
}

/* ── ENHANCED reveal animations (replaces base .reveal) ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 700ms var(--ease-out-expo) var(--reveal-delay, 0ms);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 700ms var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 700ms var(--ease-out-expo) var(--reveal-delay, 0ms);
}
.reveal-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition:
    opacity 700ms var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 700ms var(--ease-out-expo) var(--reveal-delay, 0ms);
}
.reveal-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-scale {
  opacity: 0;
  transform: scale(0.93);
  transition:
    opacity 650ms var(--ease-out-expo) var(--reveal-delay, 0ms),
    transform 650ms var(--ease-out-expo) var(--reveal-delay, 0ms);
}
.reveal-scale.is-visible {
  opacity: 1;
  transform: scale(1);
}

/* ── Animated counter numbers ── */
.count-up {
  display: inline-block;
}

/* ── Section wave dividers ── */
.section-wave {
  display: block;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  margin-bottom: -1px;
}
.section-wave svg { display: block; width: 100%; }

/* ── Animated eyebrow pill ── */
.eyebrow {
  transition: none;
}
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px 5px 8px;
  border-radius: 100px;
  background: rgb(7 85 164 / 8%);
  border: 1px solid rgb(7 85 164 / 15%);
  color: var(--midass-blue) !important;
  font-size: 10px !important;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 14px !important;
}
.eyebrow-pill .eyebrow-dot {
  flex: 0 0 auto;
  animation: dot-pulse 2s ease-in-out infinite;
}
@keyframes dot-pulse {
  0%, 100% { box-shadow: 0 0 0 0px rgb(243 107 19 / 60%); }
  50% { box-shadow: 0 0 0 5px rgb(243 107 19 / 0%); }
}

/* ── Section heading accent line ── */
.heading-accent {
  display: block;
  width: 48px; height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--midass-orange), #ff9a45);
  margin: 12px auto 0;
}
.heading-accent-left {
  margin-left: 0;
}

/* ── Glassmorphism card variant ── */
.glass-card {
  background: rgba(255, 255, 255, 0.07);
  backdrop-filter: blur(16px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--midass-radius);
}

/* ── Icon button (carousel) premium ── */
.icon-button {
  transition: color 200ms ease, background 200ms ease,
              border-color 200ms ease, transform 200ms var(--ease-spring),
              box-shadow 200ms ease;
}
.icon-button:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 14px rgb(7 85 164 / 22%);
}

/* ── Text link arrow animation ── */
.text-link > span { transition: transform 220ms var(--ease-spring); }
.text-link:hover > span { transform: translateX(5px) scale(1.15); }

/* ── Service link arrow ── */
.service-link span { transition: transform 220ms var(--ease-spring); }
.service-card:hover .service-link span { transform: translate(4px, -3px) scale(1.1); }

/* ── About section copy improvements ── */
.about-copy { position: relative; z-index: 1; }

/* ── Parallax wrapper ── */
.parallax-wrap { position: relative; overflow: hidden; }

/* ── Floating decoration dots ── */
.deco-dots {
  position: absolute;
  pointer-events: none;
  opacity: 0.6;
}

/* ── SVG wave at top of footer ── */
.footer-wave {
  display: block;
  line-height: 0;
  background: var(--midass-light);
}
.footer-wave svg { display: block; width: 100%; }

/* ── Contact address row ── */
.address-row {
  background: linear-gradient(90deg, #f7faff 0%, var(--midass-white) 100%);
  border-top: 1px solid #d5e1ee;
  transition: background 300ms ease;
}

/* ── Why panel inner glow ── */
.why-copy {
  background: linear-gradient(130deg, rgba(3,29,66,0.98) 0%, rgba(6,43,91,0.95) 100%);
}

/* ── Experience badge pulse ── */
.experience-mark {
  animation: badge-pop 0.8s var(--ease-spring) 1.1s forwards, badge-glow 3s ease-in-out 2s infinite;
}
@keyframes badge-glow {
  0%, 100% { box-shadow: 0 0 0 8px rgb(255 255 255 / 9%); }
  50% { box-shadow: 0 0 0 14px rgb(255 255 255 / 4%), 0 0 30px rgb(243 107 19 / 15%); }
}

/* ── Brand name hover-pop ── */
.brand-track { gap: 0; }

/* ── Product section wave separator ── */
.products-wave-top,
.products-wave-bottom {
  position: relative;
  display: block;
  line-height: 0;
  overflow: hidden;
}

/* ── Smooth focus rings ── */
:focus-visible {
  outline: 2px solid var(--midass-orange);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── Loading shimmer on images (before load) ── */
img[loading="lazy"] {
  transition: opacity 400ms ease;
}

/* ── Scroll-triggered counter style ── */
.stat-number {
  font-variant-numeric: tabular-nums;
  font-feature-settings: "tnum";
}

/* ── Animated section separator ── */
.sep-orange {
  display: block;
  width: 60px; height: 3px;
  margin: 14px auto;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--midass-orange), #ffb067);
  position: relative;
  overflow: hidden;
}
.sep-orange::after {
  content: '';
  position: absolute;
  top: 0; left: -100%; right: 100%;
  height: 100%;
  background: rgb(255 255 255 / 60%);
  animation: sep-shine 2.5s ease-in-out 1s infinite;
}
@keyframes sep-shine {
  to { left: 100%; right: -100%; }
}

/* ── Additional mobile tweaks for new features ── */
@media (max-width: 680px) {
  .hero { background-attachment: scroll; }
  .cursor-dot, .cursor-ring { display: none !important; }
  .hero-shape-1 { width: 280px; height: 280px; }
  .hero-shape-2 { width: 180px; height: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-copy .eyebrow,
  .hero-copy h1,
  .hero-copy h2,
  .hero-copy .hero-description,
  .hero-copy .hero-actions,
  .experience-mark {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
  }
  .hero-shape { animation: none !important; opacity: 0.3 !important; }
  .brand-track { animation: none !important; }
  .scroll-progress { transition: none; }
  .sep-orange::after { animation: none; }
  .eyebrow-dot { animation: none; }
  .badge-glow { animation: none; }
}


/* ============================================================
   HERO — FULL-HEIGHT BANNER + LIGHTER OVERLAY FIX
   ============================================================ */

/* Full viewport height hero */
.hero {
  min-height: 100vh !important;
  background-position: center 40% !important;
  background-size: cover !important;
}

/* Lighten the overlay significantly — left side readable, right side shows building */
.hero-shade {
  background: linear-gradient(
    105deg,
    rgb(2 14 31 / 82%) 0%,
    rgb(3 29 66 / 68%) 28%,
    rgb(3 29 66 / 38%) 52%,
    rgb(6 43 91 / 12%) 72%,
    transparent 100%
  ) !important;
}

/* Mobile overlay — also reduce */
@media (max-width: 680px) {
  .hero-shade {
    background: linear-gradient(
      105deg,
      rgb(2 14 31 / 88%) 0%,
      rgb(3 29 66 / 78%) 55%,
      rgb(3 29 66 / 40%) 100%
    ) !important;
  }
  .hero,
  .hero-inner {
    min-height: 100svh !important;
  }
}

/* Hero inner — vertically center content in the full height */
.hero-inner {
  min-height: 100vh !important;
  align-items: center !important;
  padding-top: 80px !important;
  padding-bottom: 80px !important;
}

/* Large screens — keep full viewport */
@media (min-width: 1300px) {
  .hero,
  .hero-inner {
    min-height: 100vh !important;
  }
}

/* Bigger hero headline on large screens */
@media (min-width: 992px) {
  .hero h1 {
    font-size: clamp(56px, 7vw, 86px) !important;
  }
  .hero h2 {
    font-size: 22px !important;
    margin-top: 20px !important;
  }
  .hero-description {
    font-size: 15px !important;
    max-width: 480px !important;
  }
  .hero-actions {
    margin-top: 32px !important;
    gap: 14px !important;
  }
  .hero-actions .button {
    min-height: 52px !important;
    padding: 14px 24px !important;
    font-size: 13px !important;
  }
  .experience-mark {
    width: 160px !important;
    height: 160px !important;
    right: 32px !important;
    bottom: 100px !important;
  }
  .experience-number {
    font-size: 36px !important;
  }
  .experience-label {
    font-size: 12px !important;
  }
}


/* ============================================================
   MIDASS — PREMIUM TYPOGRAPHY SYSTEM
   Plus Jakarta Sans (headings, nav, buttons, cards)
   Inter (body, descriptions, paragraphs, contact)
   ============================================================ */

/* ── 1. Font variable overrides ── */
:root {
  --midass-font:    'Inter', 'Segoe UI', system-ui, sans-serif;
  --midass-display: 'Plus Jakarta Sans', 'Segoe UI', system-ui, sans-serif;

  /* Type scale */
  --text-hero:    clamp(48px, 6.5vw, 72px);
  --text-h1:      clamp(40px, 5vw,   64px);
  --text-h2:      clamp(30px, 3.6vw, 42px);
  --text-h3:      clamp(19px, 2vw,   22px);
  --text-h4:      18px;
  --text-nav:     14.5px;
  --text-btn:     14px;
  --text-body:    16px;
  --text-sm:      14px;
  --text-xs:      12px;

  /* Weights */
  --w-black:      800;
  --w-bold:       700;
  --w-semibold:   600;
  --w-medium:     500;
  --w-regular:    400;
  --w-light:      300;

  /* Leading */
  --lh-tight:     1.1;
  --lh-heading:   1.2;
  --lh-snug:      1.4;
  --lh-normal:    1.65;
  --lh-relaxed:   1.8;

  /* Letter spacing */
  --ls-tight:    -0.03em;
  --ls-normal:   -0.01em;
  --ls-wide:      0.04em;
  --ls-wider:     0.08em;
  --ls-caps:      0.12em;
}

/* ── 2. Base reset ── */
.midass-site {
  font-family: var(--midass-font);
  font-size: var(--text-body);
  font-weight: var(--w-regular);
  line-height: var(--lh-normal);
  letter-spacing: var(--ls-normal);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ── 3. Heading hierarchy ── */
.midass-site h1,
.midass-site h2,
.midass-site h3,
.midass-site h4,
.midass-site h5,
.midass-site h6 {
  font-family: var(--midass-display) !important;
  letter-spacing: var(--ls-tight);
  line-height: var(--lh-heading);
  font-weight: var(--w-bold);
}

.midass-site h1 { font-size: var(--text-h1); font-weight: var(--w-black); }
.midass-site h2 { font-size: var(--text-h2); }
.midass-site h3 { font-size: var(--text-h3); font-weight: var(--w-bold); }
.midass-site h4 { font-size: var(--text-h4); font-weight: var(--w-semibold); }

/* ── 4. Paragraphs & body text ── */
.midass-site p,
.midass-site li,
.midass-site td,
.midass-site label,
.midass-site small {
  font-family: var(--midass-font);
  line-height: var(--lh-relaxed);
}

/* ── 5. Navigation ── */
.nav-link,
.dropdown-panel a,
.utility-inner a,
.utility-inner span {
  font-family: var(--midass-display) !important;
  font-size: var(--text-nav) !important;
  font-weight: var(--w-semibold) !important;
  letter-spacing: 0.01em !important;
}
.dropdown-panel a {
  font-size: 13.5px !important;
  font-weight: var(--w-medium) !important;
}

/* ── 6. Buttons ── */
.button {
  font-family: var(--midass-display) !important;
  font-size: var(--text-btn) !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: 0.02em !important;
}

/* ── 7. Hero section typography ── */
.hero h1,
.detail-hero h1 {
  font-family: var(--midass-display) !important;
  font-size: var(--text-hero) !important;
  font-weight: var(--w-black) !important;
  line-height: var(--lh-tight) !important;
  letter-spacing: -0.04em !important;
}
.hero h1 span,
.detail-hero h1 span {
  /* Orange accent word */
  color: var(--midass-orange-soft);
  display: inline-block;
  position: relative;
}
.hero h2 {
  font-family: var(--midass-display) !important;
  font-size: clamp(17px, 2vw, 22px) !important;
  font-weight: var(--w-semibold) !important;
  letter-spacing: 0em !important;
  line-height: var(--lh-snug) !important;
}
.hero-description {
  font-family: var(--midass-font) !important;
  font-size: clamp(14px, 1.4vw, 17px) !important;
  font-weight: var(--w-regular) !important;
  line-height: var(--lh-relaxed) !important;
  letter-spacing: 0em !important;
}
.eyebrow {
  font-family: var(--midass-display) !important;
  font-size: 11px !important;
  font-weight: var(--w-black) !important;
  letter-spacing: var(--ls-caps) !important;
}

/* ── 8. Section headings ── */
.section-heading h2,
.why-copy h2,
.about-copy h2,
.contact-copy h2,
.client-copy h2,
.support-heading h2,
.products-heading h2,
.projects-heading h2,
.detail-intro h2,
.detail-callout h2 {
  font-family: var(--midass-display) !important;
  font-size: var(--text-h2) !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.18 !important;
}
/* Orange span accent inside headings */
.section-heading h2 span,
.why-copy h2 span,
.about-copy h2 span,
.contact-copy h2 span,
.detail-intro h2 span {
  color: var(--midass-orange);
  font-style: normal;
}

/* ── 9. Card headings ── */
.service-card h3,
.product-card h3,
.detail-group h3,
.footer-group h2 {
  font-family: var(--midass-display) !important;
  font-size: var(--text-h3) !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: -0.02em !important;
  line-height: 1.25 !important;
}

/* ── 10. Card body text ── */
.service-card > p,
.product-card p,
.support-card p,
.why-copy > p,
.about-copy > p,
.contact-copy > p,
.hero-description,
.detail-summary,
.detail-intro > p {
  font-family: var(--midass-font) !important;
  font-weight: var(--w-regular) !important;
  line-height: var(--lh-relaxed) !important;
}
.service-card > p,
.product-card p {
  font-size: 13.5px !important;
}
.why-copy > p,
.about-copy > p,
.contact-copy > p {
  font-size: clamp(14px, 1.3vw, 16px) !important;
}

/* ── 11. Service / product link text ── */
.service-link,
.text-link,
.product-note a {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-bold) !important;
  font-size: 12.5px !important;
  letter-spacing: 0.01em !important;
}

/* ── 12. Contact form labels & inputs ── */
.enquiry-form label {
  font-family: var(--midass-display) !important;
  font-size: 11.5px !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}
.enquiry-form input,
.enquiry-form select,
.enquiry-form textarea {
  font-family: var(--midass-font) !important;
  font-size: 14px !important;
  font-weight: var(--w-regular) !important;
  letter-spacing: 0em !important;
}
.enquiry-form input::placeholder,
.enquiry-form textarea::placeholder {
  font-weight: var(--w-light) !important;
  color: #9aaabb !important;
}
.form-title h3 {
  font-family: var(--midass-display) !important;
  font-size: 20px !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: -0.02em !important;
}

/* ── 13. Contact details ── */
.contact-details strong {
  font-family: var(--midass-display) !important;
  font-size: 14px !important;
  font-weight: var(--w-semibold) !important;
}
.contact-details small {
  font-family: var(--midass-font) !important;
  font-size: 10px !important;
  font-weight: var(--w-regular) !important;
  letter-spacing: var(--ls-wide) !important;
  text-transform: uppercase !important;
}

/* ── 14. Address row ── */
.address-row p {
  font-family: var(--midass-font) !important;
  font-size: 13px !important;
  line-height: 1.7 !important;
}
.address-row p strong {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-semibold) !important;
}

/* ── 15. Footer ── */
.footer-brand > span {
  font-family: var(--midass-display) !important;
  font-size: 13px !important;
  font-weight: var(--w-semibold) !important;
}
.footer-brand small {
  font-family: var(--midass-font) !important;
  font-weight: var(--w-regular) !important;
}
.footer-group a,
.footer-group p {
  font-family: var(--midass-font) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}
.footer-bottom span {
  font-family: var(--midass-font) !important;
  font-size: 11px !important;
}

/* ── 16. Brand marquee ── */
.brand-name {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-black) !important;
}
.brand-hp { font-family: var(--midass-font) !important; font-style: italic !important; font-weight: var(--w-bold) !important; }
.brand-canon { font-family: var(--midass-font) !important; font-style: italic !important; }

/* ── 17. About facts ── */
.about-facts strong {
  font-family: var(--midass-display) !important;
  font-size: 20px !important;
  font-weight: var(--w-black) !important;
  letter-spacing: -0.02em !important;
}
.about-facts span {
  font-family: var(--midass-font) !important;
  font-size: 11px !important;
  font-weight: var(--w-regular) !important;
  letter-spacing: 0.04em !important;
  text-transform: uppercase !important;
}

/* ── 18. Client grid names ── */
.client-grid > span {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-black) !important;
  letter-spacing: -0.01em !important;
}

/* ── 19. Experience badge ── */
.experience-number {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-black) !important;
  letter-spacing: -0.04em !important;
}
.experience-label {
  font-family: var(--midass-font) !important;
  font-weight: var(--w-medium) !important;
  font-size: 11px !important;
  letter-spacing: 0.02em !important;
}

/* ── 20. Project copy ── */
.project-copy h3 {
  font-family: var(--midass-display) !important;
  font-size: 18px !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: -0.02em !important;
}
.project-copy > span {
  font-family: var(--midass-display) !important;
  font-size: 9.5px !important;
  font-weight: var(--w-black) !important;
  letter-spacing: var(--ls-caps) !important;
}

/* ── 21. Support card ── */
.support-quote {
  font-family: var(--midass-display) !important;
  font-size: 26px !important;
  font-weight: var(--w-black) !important;
  letter-spacing: -0.04em !important;
}
.support-card-tag {
  font-family: var(--midass-display) !important;
  font-size: 9px !important;
  font-weight: var(--w-black) !important;
  letter-spacing: var(--ls-caps) !important;
}
.support-card p {
  font-family: var(--midass-font) !important;
  font-size: 13.5px !important;
  line-height: 1.7 !important;
}

/* ── 22. Photo note & detail callout ── */
.photo-note strong {
  font-family: var(--midass-display) !important;
  font-size: 12px !important;
  font-weight: var(--w-bold) !important;
}
.photo-note small {
  font-family: var(--midass-font) !important;
  font-size: 10.5px !important;
}

/* ── 23. Detail page typography ── */
.detail-summary {
  font-family: var(--midass-font) !important;
  font-size: clamp(14px, 1.5vw, 17px) !important;
  font-weight: var(--w-regular) !important;
  line-height: var(--lh-relaxed) !important;
}
.detail-back {
  font-family: var(--midass-display) !important;
  font-size: 12px !important;
  font-weight: var(--w-semibold) !important;
  letter-spacing: 0.01em !important;
}
.detail-group h3 {
  font-family: var(--midass-display) !important;
  font-size: 16px !important;
  font-weight: var(--w-bold) !important;
  letter-spacing: -0.02em !important;
}
.detail-group li {
  font-family: var(--midass-font) !important;
  font-size: 13px !important;
  line-height: 1.6 !important;
}

/* ── 24. Utility bar ── */
.utility-bar {
  font-family: var(--midass-display) !important;
  font-size: 11px !important;
  font-weight: var(--w-medium) !important;
  letter-spacing: 0.02em !important;
}

/* ── 25. Service number tags ── */
.service-number,
.product-index {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-black) !important;
  letter-spacing: var(--ls-wider) !important;
}

/* ── 26. Why index label ── */
.why-index {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-semibold) !important;
  letter-spacing: var(--ls-wider) !important;
}

/* ── 27. Section footnotes ── */
.service-footnote,
.product-note,
.project-note,
.brand-disclaimer,
.client-disclaimer,
.form-disclaimer,
.hero-caption {
  font-family: var(--midass-font) !important;
  font-size: 11px !important;
  letter-spacing: 0.01em !important;
}

/* ── 28. Tally wordmark ── */
.tally-wordmark {
  font-family: 'Plus Jakarta Sans', serif !important;
  font-weight: var(--w-black) !important;
  font-style: italic !important;
}

/* ── 29. Photo note icon ── */
.photo-note-icon {
  font-family: var(--midass-display) !important;
  font-weight: var(--w-black) !important;
}

/* ============================================================
   TYPOGRAPHY EFFECTS
   ============================================================ */

/* ── Gradient text accent (orange → amber) ── */
.text-gradient {
  background: linear-gradient(120deg, var(--midass-orange) 0%, #ffb347 60%, var(--midass-orange-soft) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Animated orange underline on key heading spans ── */
.hero h1 span,
.about-copy h2 span,
.contact-copy h2 span,
.detail-intro h2 span {
  position: relative;
  display: inline-block;
}
.hero h1 span::after,
.about-copy h2 span::after,
.contact-copy h2 span::after,
.detail-intro h2 span::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px; right: 0;
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--midass-orange), #ffb347);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.6s var(--ease-out-expo, cubic-bezier(0.16, 1, 0.3, 1));
}
.hero h1 span::after { transition-delay: 1s; }
.about-copy h2 span::after,
.contact-copy h2 span::after,
.detail-intro h2 span::after {
  transform: scaleX(0);
}
.is-visible ~ * .about-copy h2 span::after,
.about-copy .reveal.is-visible h2 span::after,
[class*="reveal"].is-visible h2 span::after {
  transform: scaleX(1);
}
/* Trigger on is-visible class applied to parent */
.is-visible h2 span::after,
.is-visible .contact-copy h2 span::after {
  transform: scaleX(1);
}

/* ── Word-by-word reveal ── */
.word-reveal-wrap {
  overflow: hidden;
  display: block;
}
.word-reveal-wrap .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  transition:
    opacity 550ms cubic-bezier(0.16, 1, 0.3, 1) var(--word-delay, 0ms),
    transform 550ms cubic-bezier(0.16, 1, 0.3, 1) var(--word-delay, 0ms);
}
.word-reveal-wrap.words-visible .word {
  opacity: 1;
  transform: translateY(0);
}

/* ── Char-by-char reveal for hero h1 ── */
.char-reveal .char {
  display: inline-block;
  opacity: 0;
  transform: translateY(60%) skewY(5deg);
  transition:
    opacity 500ms cubic-bezier(0.16, 1, 0.3, 1) var(--char-delay, 0ms),
    transform 500ms cubic-bezier(0.16, 1, 0.3, 1) var(--char-delay, 0ms);
}
.char-reveal.chars-visible .char {
  opacity: 1;
  transform: translateY(0) skewY(0deg);
}

/* ── Smooth paragraph fade-slide ── */
.para-reveal {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms),
    transform 700ms cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 0ms);
}
.para-reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ── Animated gradient heading (orange sweep) ── */
@keyframes gradient-shift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
.heading-gradient-anim {
  background: linear-gradient(270deg, var(--midass-orange), #ffb347, var(--midass-blue), var(--midass-orange));
  background-size: 300% 300%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradient-shift 5s ease infinite;
  animation-play-state: paused;
}
.heading-gradient-anim.is-visible { animation-play-state: running; }

/* ── Orange highlight chip (inline accent) ── */
.text-highlight {
  position: relative;
  display: inline;
  white-space: nowrap;
}
.text-highlight::before {
  content: '';
  position: absolute;
  left: -4px; right: -4px;
  bottom: 0; top: 65%;
  background: rgb(243 107 19 / 18%);
  border-radius: 3px;
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}
.is-visible .text-highlight::before { transform: scaleX(1); }

/* ── Line reveal animation (heading underline draws in) ── */
.heading-line-reveal::after {
  content: '';
  display: block;
  height: 3px;
  width: 48px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--midass-orange), #ffb347);
  margin-top: 10px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1) var(--reveal-delay, 200ms);
}
.is-visible .heading-line-reveal::after,
.heading-line-reveal.is-visible::after { transform: scaleX(1); }

/* ── Responsive font scaling corrections ── */
@media (max-width: 900px) {
  :root {
    --text-hero: clamp(42px, 9vw, 60px);
    --text-h2:   clamp(27px, 4.5vw, 36px);
    --text-h3:   clamp(17px, 2.5vw, 20px);
    --text-body: 15px;
  }
}
@media (max-width: 680px) {
  :root {
    --text-hero: clamp(38px, 11vw, 52px);
    --text-h2:   clamp(25px, 7vw,  33px);
    --text-h3:   18px;
    --text-nav:  13.5px;
    --text-btn:  13px;
    --text-body: 15px;
  }
  .hero h1 { letter-spacing: -0.03em !important; }
}

/* ── Reduced motion: disable type animations ── */
@media (prefers-reduced-motion: reduce) {
  .word-reveal-wrap .word,
  .char-reveal .char,
  .para-reveal,
  .heading-gradient-anim {
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
    transition: none !important;
  }
  .hero h1 span::after,
  .about-copy h2 span::after,
  .contact-copy h2 span::after,
  .detail-intro h2 span::after,
  .heading-line-reveal::after,
  .text-highlight::before {
    transform: scaleX(1) !important;
    transition: none !important;
  }
}


/* ============================================================
   MIDASS LOGO — NAV & FOOTER DISPLAY
   ============================================================ */

/* Nav logo */
.brand-logo {
  display: block;
  width: 54px !important;
  height: 54px !important;
  border-radius: 50%;
  object-fit: cover;
  object-position: center center;
  /* crop out the black corners */
  background: var(--midass-white);
  box-shadow: 0 0 0 2px rgb(6 43 91 / 10%);
  transition: transform 280ms var(--ease-spring, cubic-bezier(0.34,1.56,0.64,1)),
              box-shadow 280ms ease;
  flex-shrink: 0;
}
.brand-link:hover .brand-logo {
  transform: scale(1.07);
  box-shadow: 0 0 0 3px var(--midass-orange), 0 4px 14px rgb(243 107 19 / 22%);
}

/* Nav brand link — give it room for the round logo */
.brand-link {
  width: auto !important;
  gap: 10px;
  align-items: center;
}

/* Footer logo — slightly larger */
.footer-brand .brand-logo {
  width: 64px !important;
  height: 64px !important;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 15%);
}
.footer-brand:hover .brand-logo {
  box-shadow: 0 0 0 3px var(--midass-orange), 0 4px 16px rgb(243 107 19 / 28%);
}

/* Mobile adjustments */
@media (max-width: 680px) {
  .brand-logo {
    width: 46px !important;
    height: 46px !important;
  }
  .footer-brand .brand-logo {
    width: 54px !important;
    height: 54px !important;
  }
}


/* ── Remove animated underline from heading spans ── */
.hero h1 span::after,
.about-copy h2 span::after,
.contact-copy h2 span::after,
.detail-intro h2 span::after,
.why-copy h2 span::after {
  display: none !important;
}

/* ── Remove heading-line-reveal underline bar ── */
.heading-line-reveal::after {
  display: none !important;
}

/* ── Remove heading accent spans injected by JS ── */
.heading-accent {
  display: none !important;
}


/* ── Logo size increase ── */
.brand-logo {
  width: 72px !important;
  height: 72px !important;
}
.footer-brand .brand-logo {
  width: 82px !important;
  height: 82px !important;
}
@media (max-width: 680px) {
  .brand-logo {
    width: 58px !important;
    height: 58px !important;
  }
  .footer-brand .brand-logo {
    width: 66px !important;
    height: 66px !important;
  }
}

/* ── Nav dropdown arrow fix (smaller, cleaner) ── */
.nav-dropdown-toggle span {
  font-size: 11px !important;
  line-height: 1;
  display: inline-block;
  transform: translateY(1px);
  transition: transform 200ms ease;
}
.nav-dropdown.is-open .nav-dropdown-toggle span {
  transform: translateY(1px) rotate(180deg);
}


/* ============================================================
   SERVICES SECTION — PREMIUM HIGHLIGHT
   ============================================================ */

.service-intro {
  position: relative;
  background: linear-gradient(135deg, #031d42 0%, #062b5b 40%, #0a3870 70%, #062b5b 100%) !important;
  overflow: hidden;
}

/* Animated radial glow blobs */
.service-intro::before {
  content: '';
  position: absolute;
  top: -120px; left: -80px;
  width: 480px; height: 480px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 18%) 0%, transparent 65%);
  pointer-events: none;
  animation: svc-blob-1 8s ease-in-out infinite;
}
.service-intro::after {
  content: '';
  position: absolute;
  bottom: -100px; right: -60px;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 22%) 0%, transparent 65%);
  pointer-events: none;
  animation: svc-blob-2 10s ease-in-out infinite;
}
@keyframes svc-blob-1 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(30px, 20px) scale(1.1); }
}
@keyframes svc-blob-2 {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50%       { transform: translate(-20px, -30px) scale(1.08); }
}

/* Dot grid overlay */
.service-intro .container {
  position: relative;
  z-index: 2;
}
.service-intro .container::before {
  content: '';
  position: absolute;
  inset: -40px -100vw;
  background-image: radial-gradient(circle at 1px 1px, rgb(255 255 255 / 7%) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
  z-index: -1;
}

/* Section heading on dark bg */
.service-intro .section-heading .eyebrow,
.service-intro .section-heading .eyebrow-pill {
  background: rgb(255 255 255 / 10%) !important;
  border-color: rgb(255 255 255 / 20%) !important;
  color: var(--midass-orange-soft) !important;
}
.service-intro .section-heading h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.service-intro .section-heading > p {
  color: rgb(255 255 255 / 72%) !important;
}

/* Cards on dark background — glassmorphism */
.service-intro .service-card {
  background: rgba(255, 255, 255, 0.07) !important;
  backdrop-filter: blur(16px) saturate(160%) !important;
  border: 1px solid rgba(255, 255, 255, 0.14) !important;
  border-top: 3px solid var(--midass-orange) !important;
  box-shadow: 0 8px 32px rgb(0 0 0 / 20%) !important;
}
.service-intro .service-card-tally  { border-top-color: var(--midass-orange) !important; }
.service-intro .service-card-hardware { border-top-color: #4a9edd !important; }
.service-intro .service-card-sign   { border-top-color: #6ab4f5 !important; }

.service-intro .service-card:hover {
  background: rgba(255, 255, 255, 0.13) !important;
  border-color: rgba(255, 255, 255, 0.28) !important;
  box-shadow: 0 20px 50px rgb(0 0 0 / 30%) !important;
  transform: translateY(-10px) scale(1.015) !important;
}

/* Card text on dark */
.service-intro .service-card h3 {
  color: #ffffff !important;
}
.service-intro .service-card > p {
  color: rgb(255 255 255 / 72%) !important;
}
.service-intro .service-number {
  color: rgb(255 255 255 / 40%) !important;
}
.service-intro .service-link {
  color: var(--midass-orange-soft) !important;
  border-top-color: rgb(255 255 255 / 15%) !important;
}
.service-intro .service-icon {
  background: rgb(255 255 255 / 10%) !important;
  color: var(--midass-orange-soft) !important;
}
.service-intro .service-card:hover .service-icon {
  background: var(--midass-orange) !important;
  color: #ffffff !important;
}

/* Footnote on dark */
.service-intro .service-footnote {
  color: rgb(255 255 255 / 60%) !important;
}
.service-intro .orange-mark {
  background: var(--midass-orange) !important;
  box-shadow: 0 0 0 4px rgb(243 107 19 / 25%) !important;
}

/* Wave at bottom of hero — match dark bg */
.hero-wave svg path { fill: #031d42 !important; }

/* Wave from services into next section */
.service-intro-wave {
  display: block;
  line-height: 0;
  background: #031d42;
}
.service-intro-wave svg { display: block; width: 100%; }

@media (prefers-reduced-motion: reduce) {
  .service-intro::before,
  .service-intro::after { animation: none !important; }
}


/* ============================================================
   SECTION REORDER — NEW BACKGROUNDS & COMPONENTS
   ============================================================ */

/* ── 03. About — light gradient background ── */
.about-section {
  position: relative;
  background: linear-gradient(160deg, #f8faff 0%, #eef5fd 50%, #f4f9ff 100%) !important;
  overflow: visible !important;
}
.about-section::before {
  background-size: 36px 36px !important;
}
.section-wave-bottom {
  display: block; line-height: 0; margin-top: -1px;
}
.section-wave-bottom svg { display: block; width: 100%; }

/* ── 05. Why Choose Us — stats row ── */
.why-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 40px;
  padding: 32px 0 0;
  border-top: 1px solid rgb(255 255 255 / 15%);
}
.why-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 4px;
}
.why-stat-num {
  font-family: var(--midass-display) !important;
  font-size: 42px;
  font-weight: 800;
  line-height: 1;
  color: var(--midass-orange-soft);
  letter-spacing: -0.04em;
}
.why-stat-unit {
  font-family: var(--midass-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--midass-orange);
  margin-left: 2px;
}
.why-stat-label {
  font-family: var(--midass-font);
  font-size: 11px;
  color: rgb(255 255 255 / 70%);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 4px;
}
@media (max-width: 680px) {
  .why-stats-row { grid-template-columns: repeat(2, 1fr); }
  .why-stat-num { font-size: 32px; }
}

/* ── 07. Brands — full-width strip, no container constraint ── */
.brand-section {
  background: #ffffff !important;
  padding: 50px 0 30px !important;
}
.brand-section .container { margin-bottom: 20px; }
.brand-window { width: 100%; }
.brand-sony { color: #000000; letter-spacing: 0.05em; }
.brand-tvse  { color: #c0392b; letter-spacing: 0.04em; }

/* ── 10. Testimonials section ── */
.testimonials-section {
  position: relative;
  background: linear-gradient(150deg, #031d42 0%, #062b5b 50%, #041828 100%);
  overflow: hidden;
}
.testimonials-section::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 12%) 0%, transparent 65%);
  pointer-events: none;
}
.testimonials-section .section-heading h2 { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.testimonials-section .section-heading > p { color: rgb(255 255 255 / 70%) !important; }
.testimonials-section .eyebrow { color: var(--midass-orange-soft) !important; }
.testimonials-section .eyebrow-pill {
  background: rgb(255 255 255 / 8%) !important;
  border-color: rgb(255 255 255 / 18%) !important;
  color: var(--midass-orange-soft) !important;
}

.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 10px;
}
.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 28px 26px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.13);
  backdrop-filter: blur(14px);
  transition: transform 280ms ease, background 280ms ease, box-shadow 280ms ease;
}
.testimonial-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 16px 40px rgb(0 0 0 / 24%);
}
.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; right: 22px;
  font-family: var(--midass-display);
  font-size: 60px;
  font-weight: 800;
  line-height: 1;
  color: var(--midass-orange);
  opacity: 0.3;
}
.testimonial-stars {
  color: var(--midass-orange);
  font-size: 15px;
  letter-spacing: 2px;
}
.testimonial-text {
  font-family: var(--midass-font) !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
  color: rgb(255 255 255 / 85%) !important;
  margin: 0 !important;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgb(255 255 255 / 12%);
}
.testimonial-avatar {
  display: grid;
  width: 38px; height: 38px;
  flex: 0 0 38px;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--midass-orange), #ffb347);
  color: #ffffff;
  font-family: var(--midass-display);
  font-size: 16px;
  font-weight: 800;
}
.testimonial-author strong {
  display: block;
  font-family: var(--midass-display) !important;
  font-size: 13px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
}
.testimonial-author small {
  display: block;
  font-family: var(--midass-font) !important;
  font-size: 11px !important;
  color: rgb(255 255 255 / 55%) !important;
  margin-top: 2px;
}
.testimonial-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 32px;
}
.testimonial-dots {
  display: flex;
  gap: 8px;
  align-items: center;
}
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgb(255 255 255 / 30%);
  cursor: pointer;
  transition: background 220ms ease, transform 220ms ease;
}
.testi-dot.active {
  background: var(--midass-orange);
  transform: scale(1.3);
}
.testimonials-section .icon-button {
  border-color: rgb(255 255 255 / 25%);
  color: #ffffff;
  background: rgb(255 255 255 / 8%);
}
.testimonials-section .icon-button:hover {
  background: var(--midass-orange);
  border-color: var(--midass-orange);
}
@media (max-width: 900px) {
  .testimonial-track { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 680px) {
  .testimonial-track { grid-template-columns: 1fr; }
}

/* ── Contact — extra contact detail items ── */
.contact-details {
  flex-direction: column !important;
  gap: 14px !important;
}
.contact-details > a {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  width: 100% !important;
}

/* ── WhatsApp floating button ── */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  display: grid;
  width: 54px; height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff !important;
  box-shadow: 0 6px 24px rgb(37 211 102 / 40%);
  transition: transform 240ms var(--ease-spring, cubic-bezier(0.34,1.56,0.64,1)),
              box-shadow 240ms ease;
}
.whatsapp-float:hover {
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 10px 32px rgb(37 211 102 / 55%);
}
@media (max-width: 680px) {
  .whatsapp-float { bottom: 20px; right: 18px; width: 48px; height: 48px; }
}

/* ── Section transitions (wave fills) ── */
.service-intro-wave { background: #031d42; }

/* ── Support section moved inside why (no longer standalone) ── */
/* Keep support-section styles if page loads it */

@media (prefers-reduced-motion: reduce) {
  .testimonials-section::before { display: none; }
}


/* ── About → Services wave: zero gap ── */
.about-section {
  padding-bottom: 0 !important;
  margin-bottom: 0 !important;
  overflow: visible !important;
}
.about-to-services-wave {
  display: block;
  line-height: 0;
  font-size: 0;
  background: #f8faff;   /* matches about-section bg */
  margin: 0;
  padding: 0;
}
.about-to-services-wave svg {
  display: block;
  width: 100%;
  vertical-align: bottom;
}
.service-intro {
  margin-top: 0 !important;
  padding-top: 70px !important;
}


/* ── Why stats — fix label visibility on light background ── */
.why-stats-row {
  background: linear-gradient(135deg, #031d42 0%, #062b5b 100%);
  border-radius: 12px;
  padding: 32px 24px !important;
  border-top: none !important;
  margin-top: 36px;
  box-shadow: 0 12px 40px rgb(3 29 66 / 20%);
}
.why-stat-label {
  color: rgb(255 255 255 / 75%) !important;
}
.why-stat-num {
  color: var(--midass-orange-soft) !important;
}
.why-stat-unit {
  color: var(--midass-orange) !important;
  display: inline;
}
/* Stack num + unit on the same line */
.why-stat {
  flex-direction: column;
  align-items: center;
}
.why-stat-top {
  display: flex;
  align-items: baseline;
  gap: 2px;
}


/* ============================================================
   ABOUT SECTION — PREMIUM GRID BACKGROUND DESIGN
   ============================================================ */

.about-section {
  position: relative;
  background: #f0f6ff !important;
  isolation: isolate;
}

/* ── Layer 1: Fine dot grid ── */
.about-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #0755a4 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.09;
  pointer-events: none;
  z-index: 0;
}

/* ── Layer 2: Large grid lines ── */
.about-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(7 85 164 / 6%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 85 164 / 6%) 1px, transparent 1px);
  background-size: 84px 84px;
  pointer-events: none;
  z-index: 0;
}

/* Keep content above backgrounds */
.about-section .container { position: relative; z-index: 1; }

/* ── Decorative geometric shapes ── */
.about-section .about-grid {
  position: relative;
}

/* Top-right large circle ring */
.about-section .about-grid::before {
  content: '';
  position: absolute;
  top: -80px; right: -120px;
  width: 380px; height: 380px;
  border-radius: 50%;
  border: 1.5px solid rgb(7 85 164 / 12%);
  box-shadow: inset 0 0 0 40px rgb(7 85 164 / 3%),
              0 0 0 60px rgb(7 85 164 / 2%);
  pointer-events: none;
  z-index: 0;
  animation: about-ring-spin 25s linear infinite;
}

/* Bottom-left orange accent shape */
.about-section .about-grid::after {
  content: '';
  position: absolute;
  bottom: -60px; left: -80px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 10%) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

@keyframes about-ring-spin {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ── Diagonal accent stripe ── */
.about-bg-stripe {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 46%;
  background: linear-gradient(135deg,
    transparent 0%,
    rgb(7 85 164 / 3%) 40%,
    rgb(7 85 164 / 5%) 60%,
    transparent 100%);
  pointer-events: none;
  z-index: 0;
  clip-path: polygon(8% 0%, 100% 0%, 100% 100%, 0% 100%);
}

/* ── Corner bracket accents ── */
.about-corner {
  position: absolute;
  width: 48px; height: 48px;
  pointer-events: none;
  z-index: 1;
}
.about-corner::before,
.about-corner::after {
  content: '';
  position: absolute;
  background: var(--midass-orange);
  border-radius: 2px;
}
.about-corner::before { width: 3px; height: 100%; top: 0; }
.about-corner::after  { width: 100%; height: 3px; top: 0; }
.about-corner-tl { top: 24px; left: 24px; }
.about-corner-br { bottom: 24px; right: 24px; transform: rotate(180deg); }
.about-corner-tl::before,
.about-corner-tl::after,
.about-corner-br::before,
.about-corner-br::after { opacity: 0.55; }

/* ── Floating mini squares ── */
.about-float-sq {
  position: absolute;
  pointer-events: none;
  z-index: 0;
  border-radius: 4px;
  opacity: 0.18;
}
.about-float-sq-1 {
  width: 18px; height: 18px;
  top: 15%; left: 8%;
  background: var(--midass-orange);
  transform: rotate(20deg);
  animation: sq-float 6s ease-in-out infinite;
}
.about-float-sq-2 {
  width: 12px; height: 12px;
  top: 60%; left: 4%;
  background: var(--midass-blue);
  transform: rotate(-15deg);
  animation: sq-float 8s ease-in-out 1s infinite;
}
.about-float-sq-3 {
  width: 22px; height: 22px;
  top: 20%; right: 6%;
  background: var(--midass-blue);
  transform: rotate(35deg);
  animation: sq-float 7s ease-in-out 0.5s infinite;
}
.about-float-sq-4 {
  width: 10px; height: 10px;
  bottom: 20%; right: 10%;
  background: var(--midass-orange);
  transform: rotate(-30deg);
  animation: sq-float 9s ease-in-out 2s infinite;
}
@keyframes sq-float {
  0%, 100% { transform: rotate(var(--r, 20deg)) translateY(0); }
  50%       { transform: rotate(var(--r, 20deg)) translateY(-10px); }
}

/* ── Orange accent line left of about-copy ── */
.about-copy {
  position: relative;
}
.about-copy::before {
  content: '';
  position: absolute;
  left: -20px; top: 0; bottom: 0;
  width: 3px;
  border-radius: 3px;
  background: linear-gradient(180deg, var(--midass-orange) 0%, transparent 100%);
  opacity: 0.5;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .about-section .about-grid::before { animation: none; }
  .about-float-sq { animation: none !important; }
}


/* ============================================================
   WHY CHOOSE US — PREMIUM BACKGROUND DESIGN
   ============================================================ */

.why-section {
  position: relative;
  background: linear-gradient(145deg, #f0f6ff 0%, #e8f2fd 40%, #f4f9ff 70%, #eaf3fc 100%) !important;
  overflow: hidden;
  isolation: isolate;
}

/* Layer 1: dot grid */
.why-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #0755a4 1px, transparent 1px);
  background-size: 32px 32px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}

/* Layer 2: large diagonal grid */
.why-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgb(7 85 164 / 5%) 1px, transparent 1px),
    linear-gradient(45deg,  rgb(7 85 164 / 5%) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
}

/* Keep content above */
.why-section .container { position: relative; z-index: 2; }
.why-section .section-heading { position: relative; z-index: 2; }

/* Top-left large radial glow — blue */
.why-section .container::before {
  content: '';
  position: absolute;
  top: -180px; left: -160px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 10%) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Bottom-right orange glow */
.why-section .container::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -120px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 9%) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Floating animated rings */
.why-ring-1,
.why-ring-2,
.why-ring-3 {
  position: absolute;
  border-radius: 50%;
  border: 1.5px solid rgb(7 85 164 / 10%);
  pointer-events: none;
  z-index: 0;
}
.why-ring-1 {
  width: 320px; height: 320px;
  top: -60px; right: 10%;
  animation: why-ring-pulse 8s ease-in-out infinite;
}
.why-ring-2 {
  width: 180px; height: 180px;
  top: 20px; right: calc(10% + 70px);
  border-color: rgb(243 107 19 / 12%);
  animation: why-ring-pulse 10s ease-in-out 1.5s infinite;
}
.why-ring-3 {
  width: 500px; height: 500px;
  bottom: -180px; left: -100px;
  border-color: rgb(7 85 164 / 7%);
  animation: why-ring-pulse 12s ease-in-out 0.8s infinite;
}
@keyframes why-ring-pulse {
  0%, 100% { transform: scale(1);    opacity: 0.7; }
  50%       { transform: scale(1.06); opacity: 1;   }
}

/* Floating squares */
.why-sq {
  position: absolute;
  border-radius: 4px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}
.why-sq-1 {
  width: 20px; height: 20px;
  top: 12%; left: 5%;
  background: var(--midass-orange);
  transform: rotate(25deg);
  animation: why-float 7s ease-in-out infinite;
}
.why-sq-2 {
  width: 14px; height: 14px;
  top: 55%; left: 2%;
  background: var(--midass-blue);
  transform: rotate(-15deg);
  animation: why-float 9s ease-in-out 1s infinite;
}
.why-sq-3 {
  width: 24px; height: 24px;
  bottom: 15%; right: 5%;
  background: var(--midass-blue);
  transform: rotate(40deg);
  animation: why-float 8s ease-in-out 0.5s infinite;
}
.why-sq-4 {
  width: 10px; height: 10px;
  top: 30%; right: 8%;
  background: var(--midass-orange);
  transform: rotate(-20deg);
  animation: why-float 6s ease-in-out 2s infinite;
}
@keyframes why-float {
  0%, 100% { transform: translateY(0) rotate(var(--rot, 25deg)); }
  50%       { transform: translateY(-12px) rotate(var(--rot, 25deg)); }
}

/* Diagonal accent band */
.why-diagonal {
  position: absolute;
  top: 0; right: 0; bottom: 0;
  width: 35%;
  background: linear-gradient(135deg,
    transparent 0%,
    rgb(7 85 164 / 4%) 50%,
    rgb(7 85 164 / 7%) 100%);
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 0% 100%);
  pointer-events: none;
  z-index: 0;
}

/* Orange top accent bar */
.why-top-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg,
    transparent 0%,
    var(--midass-orange) 20%,
    var(--midass-blue) 60%,
    transparent 100%);
  opacity: 0.5;
  z-index: 3;
}

/* Section heading on light bg */
.why-section .section-heading h2 {
  color: var(--midass-deep) !important;
  -webkit-text-fill-color: var(--midass-deep) !important;
}

@media (prefers-reduced-motion: reduce) {
  .why-ring-1, .why-ring-2, .why-ring-3,
  .why-sq { animation: none !important; }
}


/* About copy — tighter paragraph spacing for multi-para layout */
.about-copy > p:not(.eyebrow):not(.about-lead) {
  font-size: 13.5px !important;
  line-height: 1.75 !important;
  margin-bottom: 10px !important;
  color: var(--midass-muted) !important;
}
.about-copy > p.about-lead {
  font-size: 15px !important;
  font-weight: 500 !important;
  color: var(--midass-deep) !important;
  margin-bottom: 12px !important;
}
.about-facts {
  margin-top: 20px !important;
}


/* ============================================================
   ALTERNATING DARK / LIGHT SECTION SYSTEM
   Hero=dark, About=light, Services=dark, Why=light,
   Products=dark, Brands=light, Projects=dark,
   Clients=light, Testimonials=dark, Contact=light
   ============================================================ */

/* ── SHARED TOKENS ── */
:root {
  --dark-bg-1:   #020e1f;
  --dark-bg-2:   #031d42;
  --dark-bg-3:   #062b5b;
  --light-bg-1:  #f4f8ff;
  --light-bg-2:  #eef5fd;
  --light-bg-3:  #ffffff;
}

/* ════════════════════════════════════════════════
   05. WHY CHOOSE US — LIGHT
   ════════════════════════════════════════════════ */
.why-section {
  background: linear-gradient(150deg, #f4f8ff 0%, #eaf3fc 50%, #f0f7ff 100%) !important;
}
/* text already dark by default — no overrides needed */
.why-section .section-heading h2 {
  color: var(--midass-deep) !important;
  -webkit-text-fill-color: var(--midass-deep) !important;
}
.why-section .section-heading > p { color: var(--midass-muted) !important; }
.why-section .eyebrow-pill {
  background: rgb(7 85 164 / 8%) !important;
  border-color: rgb(7 85 164 / 15%) !important;
  color: var(--midass-blue) !important;
}

/* Wave: Why (light) → Products (dark) */
.why-to-products-wave { display:block; line-height:0; background:#f0f7ff; }
.why-to-products-wave svg { display:block; width:100%; }

/* ════════════════════════════════════════════════
   06. PRODUCTS & SOLUTIONS — DARK
   ════════════════════════════════════════════════ */
.products-section {
  background: linear-gradient(145deg, #020e1f 0%, #031d42 45%, #062b5b 100%) !important;
  position: relative;
  overflow: hidden;
}
/* dot grid on dark */
.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgb(255 255 255 / 5%) 1px, transparent 1px);
  background-size: 30px 30px;
  pointer-events: none;
  z-index: 0;
}
.products-section::after {
  content: '';
  position: absolute;
  top: -180px; right: -180px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 12%) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.products-section .container { position: relative; z-index: 1; }

/* headings & text on dark */
.products-section .products-heading h2,
.products-section .products-heading > div h2 {
  color: #ffffff !important;
  -webkit-text-fill-color: #ffffff !important;
}
.products-section .products-heading > p { color: rgb(255 255 255 / 70%) !important; }
.products-section .eyebrow,
.products-section .eyebrow-pill {
  background: rgb(255 255 255 / 8%) !important;
  border-color: rgb(255 255 255 / 18%) !important;
  color: var(--midass-orange-soft) !important;
}
/* product cards on dark — glassmorphism */
.products-section .product-card {
  background: rgba(255,255,255,0.07) !important;
  border: 1px solid rgba(255,255,255,0.13) !important;
  backdrop-filter: blur(14px) !important;
}
.products-section .product-card:hover {
  background: rgba(255,255,255,0.13) !important;
  border-color: rgba(255,255,255,0.25) !important;
  box-shadow: 0 20px 44px rgb(0 0 0 / 30%) !important;
}
.products-section .product-card h3 { color: #ffffff !important; }
.products-section .product-card p  { color: rgb(255 255 255 / 70%) !important; }
.products-section .product-index   { color: rgb(255 255 255 / 35%) !important; }
.products-section .product-icon-blue   { background: rgb(255 255 255 / 10%) !important; color: #60a5fa !important; }
.products-section .product-icon-orange { background: rgb(243 107 19 / 15%) !important; color: var(--midass-orange-soft) !important; }
.products-section .product-note        { color: rgb(255 255 255 / 60%) !important; }
.products-section .product-note a      { color: var(--midass-orange-soft) !important; }

/* Wave: Products (dark) → Brands (light) */
.products-to-brands-wave { display:block; line-height:0; background:#031d42; }
.products-to-brands-wave svg { display:block; width:100%; }

/* ════════════════════════════════════════════════
   07. TRUSTED BRANDS — LIGHT
   ════════════════════════════════════════════════ */
.brand-section {
  background: linear-gradient(180deg, #f4f8ff 0%, #ffffff 60%, #f0f6ff 100%) !important;
  padding: 56px 0 36px !important;
}
.brand-section .brand-heading h2 {
  color: var(--midass-deep) !important;
  -webkit-text-fill-color: var(--midass-deep) !important;
}
.brand-section .eyebrow,
.brand-section .eyebrow-pill {
  background: rgb(7 85 164 / 8%) !important;
  border-color: rgb(7 85 164 / 15%) !important;
  color: var(--midass-blue) !important;
}
.brand-section .brand-disclaimer { color: var(--midass-muted) !important; }

/* Wave: Brands (light) → Projects (dark) */
.brands-to-projects-wave { display:block; line-height:0; background:#f0f6ff; }
.brands-to-projects-wave svg { display:block; width:100%; }

/* ════════════════════════════════════════════════
   08. PROJECTS — DARK
   ════════════════════════════════════════════════ */
.projects-section {
  background: linear-gradient(145deg, #031d42 0%, #041828 50%, #062b5b 100%) !important;
  position: relative;
  overflow: hidden;
}
.projects-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse at center, black 20%, transparent 80%);
  z-index: 0;
}
.projects-section .container { position: relative; z-index: 1; }
.projects-section .projects-heading h2 { color: #ffffff !important; -webkit-text-fill-color: #ffffff !important; }
.projects-section .eyebrow,
.projects-section .eyebrow-pill {
  background: rgb(255 255 255 / 8%) !important;
  border-color: rgb(255 255 255 / 18%) !important;
  color: var(--midass-orange-soft) !important;
}
.projects-section .project-note { color: rgb(255 255 255 / 45%) !important; }
.projects-section .icon-button {
  border-color: rgb(255 255 255 / 25%) !important;
  color: #ffffff !important;
  background: rgb(255 255 255 / 8%) !important;
}
.projects-section .icon-button:hover {
  background: var(--midass-orange) !important;
  border-color: var(--midass-orange) !important;
}

/* Wave: Projects (dark) → Clients (light) */
.projects-to-clients-wave { display:block; line-height:0; background:#041828; }
.projects-to-clients-wave svg { display:block; width:100%; }

/* ════════════════════════════════════════════════
   09. CLIENTS — LIGHT
   ════════════════════════════════════════════════ */
.client-section {
  background: linear-gradient(135deg, #f4f8ff 0%, #eef5fd 40%, #f0f7ff 100%) !important;
  position: relative;
  overflow: hidden;
}
.client-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #0755a4 1px, transparent 1px);
  background-size: 28px 28px;
  opacity: 0.06;
  pointer-events: none;
  z-index: 0;
}
.client-section::after { display: none !important; }
.client-section .container { position: relative; z-index: 1; }
/* Force all client text dark */
.client-section .client-copy h2 {
  color: var(--midass-deep) !important;
  -webkit-text-fill-color: var(--midass-deep) !important;
}
.client-section .client-copy > p { color: var(--midass-muted) !important; }
.client-section .eyebrow { color: var(--midass-blue) !important; }
.client-section .eyebrow-pill,
.client-section .client-copy .eyebrow {
  background: rgb(7 85 164 / 8%) !important;
  border-color: rgb(7 85 164 / 15%) !important;
  color: var(--midass-blue) !important;
}
/* Client grid tiles — light style */
.client-section .client-grid > span {
  background: rgba(255,255,255,0.85) !important;
  border: 1px solid rgb(7 85 164 / 15%) !important;
  color: var(--midass-deep) !important;
  box-shadow: 0 2px 10px rgb(3 29 66 / 6%) !important;
  backdrop-filter: none !important;
}
.client-section .client-grid > span:hover {
  background: var(--midass-blue) !important;
  border-color: var(--midass-blue) !important;
  color: #ffffff !important;
  box-shadow: 0 8px 24px rgb(7 85 164 / 22%) !important;
}
/* CTA button on light — use standard orange */
.client-section .button-outline-light {
  border-color: var(--midass-blue) !important;
  color: var(--midass-blue) !important;
  background: transparent !important;
}
.client-section .button-outline-light:hover {
  background: var(--midass-blue) !important;
  color: #ffffff !important;
}
.client-section .client-disclaimer { color: var(--midass-muted) !important; }
/* client-inner layout */
.client-section .client-inner { min-height: auto !important; padding: 70px 0 50px !important; }

/* Wave: Clients (light) → Testimonials (dark) */
.clients-to-testi-wave { display:block; line-height:0; background:#f0f7ff; }
.clients-to-testi-wave svg { display:block; width:100%; }

/* ════════════════════════════════════════════════
   10. TESTIMONIALS — DARK (already dark, clean up)
   ════════════════════════════════════════════════ */
.testimonials-section {
  background: linear-gradient(150deg, #020e1f 0%, #031d42 50%, #062b5b 100%) !important;
}

/* Wave: Testimonials (dark) → Contact (light) */
.testi-to-contact-wave { display:block; line-height:0; background:#031d42; }
.testi-to-contact-wave svg { display:block; width:100%; }

/* ════════════════════════════════════════════════
   11. CONTACT — LIGHT
   ════════════════════════════════════════════════ */
.contact-band {
  background: linear-gradient(160deg, #f4f8ff 0%, #eaf3fc 40%, #f8fbff 100%) !important;
}
.contact-band .contact-copy h2 {
  color: var(--midass-deep) !important;
  -webkit-text-fill-color: var(--midass-deep) !important;
}
.contact-band .contact-copy h2 span { color: var(--midass-orange) !important; }
.contact-band .contact-copy > p { color: var(--midass-muted) !important; }
.contact-band .eyebrow,
.contact-band .eyebrow-pill {
  background: rgb(7 85 164 / 8%) !important;
  border-color: rgb(7 85 164 / 15%) !important;
  color: var(--midass-blue) !important;
}
.contact-band .contact-details strong { color: var(--midass-deep) !important; }
.contact-band .contact-details small  { color: var(--midass-muted) !important; }
.contact-band .contact-details > a > span:first-child {
  background: var(--midass-white) !important;
  border-color: var(--midass-border) !important;
  color: var(--midass-blue) !important;
}

/* ════════════════════════════════════════════════
   WAVE SHAPE — shared style
   ════════════════════════════════════════════════ */
[class*="-wave"] { margin: 0; padding: 0; font-size: 0; }


/* ── About — left image block: full height of grid row ── */
.about-image-block {
  min-height: 520px !important;
  height: 100% !important;
  align-self: stretch !important;
}
.about-image-block > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}
.about-grid {
  align-items: stretch !important;
}


/* ── Projects — reduce darkness ── */
.projects-section {
  background: linear-gradient(145deg, #0a2d5a 0%, #0e3870 50%, #0a2d5a 100%) !important;
}


/* ============================================================
   ALL DARK SECTIONS — REDUCE DARKNESS
   Replace near-black with medium navy blues
   ============================================================ */

/* 04. Services */
.service-intro {
  background: linear-gradient(135deg, #0d3464 0%, #0f3d75 40%, #133f7a 70%, #0d3464 100%) !important;
}

/* 06. Products */
.products-section {
  background: linear-gradient(145deg, #0c3060 0%, #0f3870 45%, #123d7a 100%) !important;
}

/* 08. Projects */
.projects-section {
  background: linear-gradient(145deg, #0c3060 0%, #0e3870 50%, #123d7a 100%) !important;
}

/* 10. Testimonials */
.testimonials-section {
  background: linear-gradient(150deg, #0c3060 0%, #0f3870 50%, #133f7a 100%) !important;
}

/* Why panel inner (dark card inside light section) */
.why-panel {
  background: linear-gradient(130deg, #0d3464 0%, #0f3d75 100%) !important;
}
.why-copy {
  background: transparent !important;
}

/* Support section (dark) */
.support-section {
  background: linear-gradient(150deg, #0c3060 0%, #0e3870 50%, #0c3060 100%) !important;
}

/* Client section — already light, keep it */

/* Wave fill colours — update to match new lighter navies */
.why-to-products-wave svg path  { fill: #0c3060 !important; }
.brands-to-projects-wave svg path { fill: #0c3060 !important; }
.clients-to-testi-wave svg path  { fill: #0c3060 !important; }
.about-to-services-wave svg path { fill: #0d3464 !important; }

/* Hero shade — also slightly lighter */
.hero-shade {
  background: linear-gradient(
    105deg,
    rgb(2 14 31 / 78%) 0%,
    rgb(3 29 66 / 65%) 28%,
    rgb(3 29 66 / 35%) 52%,
    rgb(6 43 91 / 10%) 72%,
    transparent 100%
  ) !important;
}


/* ── Products section — bright light cards on dark bg ── */
.products-section .product-card {
  background: #ffffff !important;
  border: 1px solid rgb(7 85 164 / 12%) !important;
  backdrop-filter: none !important;
  box-shadow: 0 4px 24px rgb(0 0 0 / 18%), 0 1px 4px rgb(0 0 0 / 10%) !important;
}
.products-section .product-card:hover {
  background: #ffffff !important;
  border-color: var(--midass-orange) !important;
  box-shadow: 0 16px 48px rgb(0 0 0 / 28%), 0 4px 12px rgb(243 107 19 / 18%) !important;
  transform: translateY(-8px) scale(1.02) !important;
}
.products-section .product-card h3 {
  color: var(--midass-deep) !important;
}
.products-section .product-card p {
  color: var(--midass-muted) !important;
}
.products-section .product-index {
  color: #c0cfe0 !important;
}
.products-section .product-icon-blue {
  background: var(--midass-light) !important;
  color: var(--midass-blue) !important;
}
.products-section .product-icon-orange {
  background: #fff2e8 !important;
  color: var(--midass-orange) !important;
}
.products-section .product-card:hover .product-icon-blue {
  background: var(--midass-blue) !important;
  color: #ffffff !important;
}
.products-section .product-card:hover .product-icon-orange {
  background: var(--midass-orange) !important;
  color: #ffffff !important;
}
.products-section .product-arrow {
  color: var(--midass-orange) !important;
}


/* ── About — reduce left image block height by 50px ── */
.about-image-block {
  min-height: 470px !important;
}


/* ── About — tighten image block, remove bottom empty space ── */
.about-image-block {
  min-height: 420px !important;
  max-height: 420px !important;
  overflow: hidden !important;
}
.about-image-block > img {
  object-position: center 20% !important;
}


/* ============================================================
   ALL LIGHT SECTIONS — GRID / PATTERN BACKGROUNDS
   ============================================================ */

/* ── Shared light-section dot-grid mixin ──
   Applied individually so each section can tune opacity/size */

/* 03. ABOUT — already has dot grid + diagonal, keep & enhance */
.about-section {
  background: linear-gradient(155deg, #f0f7ff 0%, #e8f2fd 50%, #f4f9ff 100%) !important;
}

/* 05. WHY CHOOSE US — crosshatch grid */
.why-section::before {
  background-image:
    linear-gradient(rgb(7 85 164 / 8%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 85 164 / 8%) 1px, transparent 1px) !important;
  background-size: 40px 40px !important;
  opacity: 1 !important;
}
.why-section::after {
  background-image:
    linear-gradient(135deg, rgb(7 85 164 / 4%) 1px, transparent 1px),
    linear-gradient(45deg,  rgb(7 85 164 / 4%) 1px, transparent 1px) !important;
  background-size: 80px 80px !important;
  opacity: 1 !important;
}

/* 07. BRANDS — dot grid */
.brand-section {
  position: relative;
  overflow: hidden;
}
.brand-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #0755a4 1.2px, transparent 1.2px);
  background-size: 26px 26px;
  opacity: 0.07;
  pointer-events: none;
  z-index: 0;
}
.brand-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(7 85 164 / 5%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 85 164 / 5%) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
  z-index: 0;
}
.brand-section .container,
.brand-section .brand-window,
.brand-section .brand-disclaimer { position: relative; z-index: 1; }

/* 09. CLIENTS — diagonal lines + dots */
.client-section::before {
  background-image:
    radial-gradient(circle, #0755a4 1px, transparent 1px),
    linear-gradient(130deg, rgb(7 85 164 / 5%) 1px, transparent 1px) !important;
  background-size: 28px 28px, 70px 70px !important;
  opacity: 1 !important;
}

/* 11. CONTACT — grid lines */
.contact-band {
  position: relative;
  overflow: hidden;
}
.contact-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgb(7 85 164 / 7%) 1px, transparent 1px),
    linear-gradient(90deg, rgb(7 85 164 / 7%) 1px, transparent 1px);
  background-size: 44px 44px;
  pointer-events: none;
  z-index: 0;
}
.contact-band::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, #0755a4 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.contact-band .container,
.contact-band .address-row { position: relative; z-index: 1; }

/* Orange accent glow — bottom-left of contact */
.contact-band .contact-layout::before {
  content: '';
  position: absolute;
  bottom: -100px; left: -80px;
  width: 350px; height: 350px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(243 107 19 / 8%) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}
.contact-layout { position: relative; }

/* Blue accent glow — top-right of contact */
.contact-band .contact-layout::after {
  content: '';
  position: absolute;
  top: -80px; right: -60px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgb(7 85 164 / 8%) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

/* Subtle top accent stripe on every light section */
.about-section,
.why-section,
.brand-section,
.client-section,
.contact-band {
  border-top: 3px solid transparent;
  background-clip: padding-box;
}

@media (prefers-reduced-motion: reduce) {
  .brand-section::before,
  .contact-band::before { opacity: 0.04 !important; }
}


/* ── Nav logo — increase size ── */
.brand-logo {
  width: 90px !important;
  height: 90px !important;
}
.header-inner {
  min-height: 88px !important;
}
