:root {
    --ink: #0b1422;
    --ink-2: #162235;
    --muted: #5c6878;
    --line: #dce3eb;
    --soft: #f3f6f9;
    --white: #ffffff;
    --blue: #1d68d5;
    --blue-dark: #124a9e;
    --blue-light: #dcebff;
    --navy: #0c1726;
    --navy-2: #111f31;
    --max: 1180px;
    --radius: 20px;
    --shadow: 0 22px 55px rgba(13, 31, 53, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }

/* Existing inner-page helpers */
.headshot-scroll { display: flex; overflow-x: auto; gap: 1.5rem; padding-bottom: 1rem; scroll-snap-type: x mandatory; }
.headshot-scroll > * { scroll-snap-align: start; flex-shrink: 0; }
.headshot-scroll::-webkit-scrollbar { height: 10px; }
.headshot-scroll::-webkit-scrollbar-thumb { background: #3b82f6; border-radius: 3px; }
.menu-icon { width: 24px; height: 24px; position: relative; cursor: pointer; }
.menu-icon span { display: block; width: 100%; height: 3px; background: white; border-radius: 2px; position: absolute; left: 0; transition: all .3s ease; }
.menu-icon span:nth-child(1) { top: 4px; }
.menu-icon span:nth-child(2) { top: 10px; }
.menu-icon span:nth-child(3) { top: 16px; }
.menu-icon.open span:nth-child(1) { top: 10px; transform: rotate(45deg); }
.menu-icon.open span:nth-child(2) { opacity: 0; }
.menu-icon.open span:nth-child(3) { top: 10px; transform: rotate(-45deg); }
.mobile-menu { overflow: hidden; transition: max-height .3s ease; max-height: 0; }
.mobile-menu.open { max-height: 500px; }
@media (min-width: 768px) { .mobile-menu { max-height: none !important; overflow: visible; } }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.accordion-content.open { max-height: 700px; }
.accordion-header .arrow { transition: transform .3s ease; display: inline-block; }
.accordion-header.open .arrow { transform: rotate(90deg); }
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.6); z-index: 100; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: white; border-radius: 1rem; max-width: 500px; width: 90%; padding: 2rem; position: relative; animation: fadeIn .3s ease; }
@keyframes fadeIn { from { opacity: 0; transform: scale(.96); } to { opacity: 1; transform: scale(1); } }

/* Revised homepage */
.site-home {
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    color: var(--ink);
    background: var(--white);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}
.site-home h1, .site-home h2, .site-home h3, .site-home p { margin-top: 0; }
.site-home h1, .site-home h2, .site-home h3 { line-height: 1.12; letter-spacing: -.025em; }
.site-home h1 { font-size: clamp(3rem, 6.3vw, 5.8rem); margin-bottom: 1.45rem; }
.site-home h2 { font-size: clamp(2rem, 4vw, 3.45rem); margin-bottom: 1.25rem; }
.site-home h3 { font-size: 1.35rem; }
.site-home a { text-decoration: none; }
.shell { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.skip-link { position: fixed; top: 10px; left: 10px; padding: 10px 14px; background: white; color: black; z-index: 1000; transform: translateY(-150%); box-shadow: var(--shadow); }
.skip-link:focus { transform: translateY(0); }

.site-header { position: sticky; top: 0; z-index: 80; background: rgba(9, 18, 31, .96); color: white; border-bottom: 1px solid rgba(255,255,255,.09); backdrop-filter: blur(16px); }
.header-inner { min-height: 82px; display: flex; align-items: center; gap: 32px; justify-content: space-between; }
.brand { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.brand img { width: 74px; height: 40px; object-fit: cover; border-radius: 4px; }
.brand-copy { display: grid; line-height: 1.15; }
.brand-copy strong { font-size: 1rem; letter-spacing: .01em; }
.brand-copy small { color: #91b9ef; font-size: .76rem; margin-top: 5px; }
.site-nav { display: flex; align-items: center; gap: 27px; font-size: .93rem; font-weight: 650; }
.site-nav a { color: #d8e0eb; transition: color .2s ease, background .2s ease; }
.site-nav a:hover { color: white; }
.nav-cta { padding: 10px 16px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; }
.nav-cta:hover { background: rgba(255,255,255,.08); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 1px solid rgba(255,255,255,.2); border-radius: 10px; background: transparent; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: white; margin: 5px 0; transition: .25s ease; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.hero { position: relative; overflow: hidden; padding: 82px 0 62px; background: linear-gradient(135deg, #f7f9fc 0%, #edf3fb 58%, #e7f0fc 100%); }
.hero-backdrop { position: absolute; width: 650px; height: 650px; border-radius: 50%; background: radial-gradient(circle, rgba(29,104,213,.18), rgba(29,104,213,0) 68%); top: -250px; right: -120px; pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr); align-items: center; gap: 62px; }
.eyebrow { margin: 0 0 13px; color: var(--blue); text-transform: uppercase; letter-spacing: .16em; font-weight: 800; font-size: .76rem; }
.eyebrow-light { color: #7eb1f5; }
.hero-lead { max-width: 690px; color: #49586a; font-size: clamp(1.07rem, 1.6vw, 1.23rem); margin-bottom: 30px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 45px; }
.button { display: inline-flex; min-height: 48px; align-items: center; justify-content: center; border-radius: 10px; padding: 12px 19px; font-weight: 750; transition: transform .2s ease, box-shadow .2s ease, background .2s ease; }
.button:hover { transform: translateY(-2px); }
.button-primary { color: white; background: var(--blue); box-shadow: 0 10px 25px rgba(29,104,213,.22); }
.button-primary:hover { background: var(--blue-dark); }
.button-secondary { color: var(--ink); border: 1px solid #c6d0dd; background: rgba(255,255,255,.56); }
.button-dark { background: var(--ink); color: white; }
.button-white { background: white; color: var(--navy); }
.button-outline-light { border: 1px solid rgba(255,255,255,.36); color: white; }
.hero-proof { display: grid; grid-template-columns: repeat(3, 1fr); gap: 19px; max-width: 690px; }
.hero-proof div { border-top: 1px solid #cbd5e1; padding-top: 13px; }
.hero-proof strong, .hero-proof span { display: block; }
.hero-proof strong { font-size: 1.23rem; }
.hero-proof span { color: var(--muted); font-size: .78rem; margin-top: 4px; }
.hero-media { margin: 0; position: relative; min-height: 500px; border-radius: 26px; overflow: hidden; box-shadow: 0 30px 70px rgba(19,47,82,.2); }
.hero-media::after { content: ""; position: absolute; inset: 0; box-shadow: inset 0 0 0 1px rgba(255,255,255,.2); border-radius: inherit; pointer-events: none; }
.hero-media img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.hero-media figcaption { position: absolute; right: 16px; bottom: 16px; z-index: 2; background: rgba(5,14,25,.82); color: white; padding: 8px 11px; border-radius: 8px; font-size: .76rem; backdrop-filter: blur(7px); }

.trust-band { background: var(--navy); color: #cdd7e5; border-top: 1px solid rgba(255,255,255,.06); border-bottom: 1px solid rgba(255,255,255,.06); }
.trust-grid { min-height: 76px; display: grid; grid-template-columns: repeat(5, 1fr); align-items: center; text-align: center; gap: 20px; font-size: .78rem; font-weight: 750; letter-spacing: .04em; text-transform: uppercase; }
.trust-grid span + span { border-left: 1px solid rgba(255,255,255,.13); }
.section { padding: 96px 0; }
.section-heading { display: grid; grid-template-columns: 1.15fr .85fr; gap: 85px; align-items: end; margin-bottom: 50px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading > p { margin-bottom: 7px; color: var(--muted); font-size: 1.02rem; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; background: white; transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #c7d5e6; }
.service-image { aspect-ratio: 16 / 9; overflow: hidden; background: #e9eef4; }
.service-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.service-card:hover .service-image img { transform: scale(1.035); }
.service-body { position: relative; padding: 25px 25px 27px; display: flex; flex-direction: column; flex: 1; }
.service-body h3 { margin: 9px 0 10px; }
.service-body p { color: var(--muted); font-size: .93rem; margin-bottom: 23px; }
.service-number { color: #91a0b2; font-size: .72rem; font-weight: 800; letter-spacing: .12em; }
.text-link { color: var(--blue); font-size: .88rem; font-weight: 800; margin-top: auto; }

.section-dark { color: white; background: linear-gradient(145deg, #0a1422, #12243a); }
.why-grid { display: grid; grid-template-columns: .75fr 1.25fr; gap: 90px; }
.why-grid h2 { max-width: 480px; }
.why-list { border-top: 1px solid rgba(255,255,255,.14); }
.why-list article { display: grid; grid-template-columns: 52px 1fr; gap: 22px; padding: 27px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.why-list article > span { color: #76aaf2; font-size: .75rem; font-weight: 800; }
.why-list h3 { margin: 0 0 7px; color: white; }
.why-list p { margin: 0; color: #aebbd0; }

.about-section { background: var(--soft); }
.about-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: end; margin-bottom: 50px; }
.about-intro h2 { margin-bottom: 0; }
.about-intro > p { color: var(--muted); margin-bottom: 6px; }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.team-card { border: 1px solid #d9e1ea; border-radius: 16px; background: white; padding: 15px; display: grid; grid-template-columns: 74px 1fr; align-items: center; gap: 15px; text-align: left; cursor: pointer; color: var(--ink); transition: box-shadow .2s ease, transform .2s ease, border-color .2s ease; }
.team-card:hover { transform: translateY(-3px); box-shadow: 0 16px 35px rgba(18,35,56,.1); border-color: #bccbdd; }
.team-card img { width: 74px; height: 74px; object-fit: cover; object-position: center 25%; border-radius: 13px; background: #eef2f6; }
.team-card span { display: grid; min-width: 0; }
.team-card strong { font-size: .96rem; }
.team-card small { color: var(--muted); font-size: .76rem; line-height: 1.35; margin-top: 4px; }

.quality-callout { background: white; }
.quality-grid { display: grid; grid-template-columns: .86fr 1.14fr; gap: 70px; align-items: center; }
.quality-copy p:not(.eyebrow) { color: var(--muted); max-width: 550px; margin-bottom: 25px; }
.quality-art { min-height: 410px; position: relative; overflow: hidden; border-radius: 24px; background: var(--navy); box-shadow: var(--shadow); }
.quality-art > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .58; mix-blend-mode: screen; }
.quality-art::after { content: ""; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(8,22,39,.3), rgba(7,19,35,.86)); }
.quality-badge { position: absolute; z-index: 2; inset: auto 34px 34px 34px; color: white; display: flex; align-items: center; gap: 18px; }
.quality-badge span { width: 60px; height: 60px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.35); border-radius: 50%; font-weight: 850; letter-spacing: .07em; }
.quality-badge strong { font-size: 1.1rem; }

.contact-section { background: var(--blue); color: white; }
.contact-grid { display: grid; grid-template-columns: 1.4fr .6fr; gap: 80px; align-items: end; }
.contact-grid h2 { max-width: 800px; }
.contact-grid > div > p:not(.eyebrow) { color: #d9e9ff; max-width: 700px; }
.contact-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 27px; }
.contact-grid address { font-style: normal; border-left: 1px solid rgba(255,255,255,.28); padding-left: 34px; display: grid; gap: 4px; color: #e4efff; }
.contact-grid address strong { color: white; margin-bottom: 7px; }

.site-footer { background: #07111e; color: white; padding: 45px 0 35px; }
.footer-grid { display: grid; grid-template-columns: 1fr auto; gap: 28px; align-items: center; }
.footer-brand { display: flex; gap: 15px; align-items: center; }
.footer-brand img { width: 74px; height: 36px; object-fit: cover; border-radius: 4px; }
.footer-brand p { margin: 0; color: #9cacc0; font-size: .85rem; }
.footer-links { display: flex; gap: 22px; color: #c1ccda; font-size: .84rem; }
.footer-links a:hover { color: white; }
.copyright { grid-column: 1 / -1; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); margin: 0; color: #7e8da0; font-size: .76rem; }

.back-to-top { position: fixed; right: 20px; bottom: 20px; width: 46px; height: 46px; border: 0; border-radius: 50%; background: #0c1b2f; color: white; box-shadow: 0 10px 25px rgba(0,0,0,.2); z-index: 60; opacity: 0; pointer-events: none; transform: translateY(8px); transition: .2s ease; cursor: pointer; }
.back-to-top.visible { opacity: 1; pointer-events: auto; transform: translateY(0); }
.team-modal[hidden] { display: none; }
.team-modal { position: fixed; inset: 0; z-index: 100; display: grid; place-items: center; padding: 24px; background: rgba(3,11,20,.72); backdrop-filter: blur(6px); }
.team-modal-panel { width: min(100%, 520px); max-height: calc(100vh - 48px); overflow: auto; background: white; border-radius: 22px; padding: 34px; position: relative; box-shadow: 0 30px 90px rgba(0,0,0,.28); }
.team-modal-panel > img { width: 150px; height: 150px; border-radius: 18px; object-fit: cover; object-position: center 25%; margin-bottom: 24px; background: #eef2f6; }
.team-modal-panel h2 { font-size: 2rem; margin-bottom: 5px; }
.team-modal-panel > p:last-child { color: var(--muted); margin-bottom: 0; }
.modal-title { color: var(--blue) !important; font-weight: 750; }
.modal-close { position: absolute; top: 15px; right: 15px; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: white; cursor: pointer; font-size: 1.5rem; line-height: 1; }
.modal-open { overflow: hidden; }

.reveal { opacity: 1; transform: none; }
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .65s ease, transform .65s ease; }
.js .reveal.revealed { opacity: 1; transform: translateY(0); }

.site-home :focus-visible { outline: 3px solid #76aef7; outline-offset: 3px; }

@media (max-width: 960px) {
    .nav-toggle { display: block; }
    .site-nav { position: absolute; left: 20px; right: 20px; top: calc(100% + 8px); display: none; flex-direction: column; align-items: stretch; gap: 4px; padding: 12px; background: #0c1726; border: 1px solid rgba(255,255,255,.12); border-radius: 15px; box-shadow: 0 20px 45px rgba(0,0,0,.24); }
    .site-nav.open { display: flex; }
    .site-nav a { padding: 10px 12px; }
    .nav-cta { border-radius: 8px; }
    .hero { padding-top: 62px; }
    .hero-grid { grid-template-columns: 1fr; gap: 44px; }
    .hero-media { min-height: 430px; }
    .trust-grid { grid-template-columns: repeat(3, 1fr); padding: 17px 0; row-gap: 14px; }
    .trust-grid span + span { border-left: 0; }
    .service-grid { grid-template-columns: repeat(2, 1fr); }
    .section-heading, .about-intro, .why-grid, .quality-grid, .contact-grid { grid-template-columns: 1fr; gap: 30px; }
    .section-heading { align-items: start; }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-grid address { border-left: 0; border-top: 1px solid rgba(255,255,255,.28); padding: 24px 0 0; }
}

@media (max-width: 640px) {
    .shell { width: min(calc(100% - 30px), var(--max)); }
    .header-inner { min-height: 72px; }
    .brand-copy strong { font-size: .88rem; }
    .brand-copy small { display: none; }
    .brand img { width: 64px; height: 34px; }
    .hero { padding: 54px 0 45px; }
    .site-home h1 { font-size: clamp(2.65rem, 14vw, 4rem); }
    .hero-proof { grid-template-columns: 1fr; gap: 12px; }
    .hero-proof div { display: grid; grid-template-columns: 90px 1fr; align-items: baseline; gap: 10px; }
    .hero-proof span { margin: 0; }
    .hero-media { min-height: 330px; border-radius: 19px; }
    .trust-grid { grid-template-columns: 1fr 1fr; font-size: .68rem; }
    .section { padding: 72px 0; }
    .section-heading { margin-bottom: 34px; }
    .service-grid, .team-grid { grid-template-columns: 1fr; }
    .service-card { border-radius: 16px; }
    .team-card { grid-template-columns: 64px 1fr; }
    .team-card img { width: 64px; height: 64px; }
    .quality-art { min-height: 320px; }
    .quality-badge { left: 23px; right: 23px; bottom: 23px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-links { flex-wrap: wrap; }
    .contact-actions, .hero-actions { align-items: stretch; flex-direction: column; }
    .button { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
    .reveal { opacity: 1; transform: none; }
}
/* Interior page redesign */
.interior-page h1, .interior-page h2, .interior-page h3, .interior-page p { margin-top: 0; }
.interior-page h1, .interior-page h2, .interior-page h3 { line-height: 1.12; letter-spacing: -.025em; }
.interior-page h1 { font-size: clamp(2.9rem, 5.7vw, 5.35rem); margin-bottom: 1.35rem; }
.interior-page h2 { font-size: clamp(2rem, 3.7vw, 3.25rem); margin-bottom: 1.15rem; }
.interior-page h3 { font-size: clamp(1.3rem, 2vw, 1.7rem); }
.interior-page a { text-decoration: none; }

.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: #657387; font-size: .78rem; margin-bottom: 35px; }
.breadcrumb a { color: #4e5f75; font-weight: 700; }
.breadcrumb a:hover { color: var(--blue); }
.breadcrumb-light, .breadcrumb-light a { color: #b9c9de; }

.service-hero { position: relative; overflow: hidden; padding: 72px 0 68px; background: linear-gradient(135deg, #f7f9fc 0%, #eef4fb 57%, #e8f1fd 100%); }
.service-hero-glow { position: absolute; width: 700px; height: 700px; border-radius: 50%; right: -280px; top: -290px; background: radial-gradient(circle, rgba(29,104,213,.22), rgba(29,104,213,0) 67%); pointer-events: none; }
.service-hero-grid { position: relative; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(360px, .94fr); gap: 65px; align-items: center; }
.service-hero-lead { max-width: 710px; font-size: clamp(1.08rem, 1.6vw, 1.27rem); color: #47586b; margin-bottom: 28px; }
.service-actions { margin-bottom: 0; }
.service-hero-media { position: relative; margin: 0; min-height: 390px; border-radius: 25px; overflow: hidden; background: #101e31; box-shadow: 0 28px 65px rgba(18,43,73,.18); display: grid; place-items: center; isolation: isolate; }
.service-media-pattern { position: absolute; inset: 0; z-index: -2; background-image: linear-gradient(135deg, rgba(14,30,49,.88), rgba(13,38,68,.72)), url('images/background-circuits-background-image-1200x799.jpg'); background-size: cover; background-position: center; }
.service-hero-media::after { content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; box-shadow: inset 0 0 0 1px rgba(255,255,255,.16); border-radius: inherit; }
.service-hero-media > img { width: min(82%, 560px); max-height: 305px; object-fit: contain; position: relative; z-index: 0; border-radius: 13px; box-shadow: 0 18px 45px rgba(0,0,0,.32); background: #fff; }
.service-hero-media figcaption { position: absolute; z-index: 2; right: 16px; bottom: 16px; color: #fff; background: rgba(3,12,22,.78); padding: 8px 11px; border-radius: 8px; font-size: .75rem; backdrop-filter: blur(7px); }

.capability-strip { background: var(--navy); color: #d4dfed; }
.capability-strip-grid { min-height: 78px; display: grid; grid-template-columns: repeat(4, 1fr); align-items: stretch; }
.capability-strip-grid span { display: flex; align-items: center; justify-content: center; text-align: center; padding: 17px 22px; text-transform: uppercase; font-weight: 800; letter-spacing: .07em; font-size: .72rem; border-right: 1px solid rgba(255,255,255,.12); }
.capability-strip-grid span:first-child { border-left: 1px solid rgba(255,255,255,.12); }

.service-detail { background: #fff; }
.detail-layout { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(290px, .65fr); gap: 85px; align-items: start; }
.detail-main { max-width: 760px; }
.detail-main h2 { max-width: 730px; }
.detail-main p:not(.eyebrow) { color: #536174; font-size: 1.02rem; line-height: 1.78; }
.detail-main p + p { margin-top: 20px; }
.capability-snapshot { position: sticky; top: 110px; border: 1px solid var(--line); border-radius: 20px; padding: 30px; background: #f8fafc; box-shadow: 0 18px 40px rgba(16,35,58,.07); }
.snapshot-label { color: var(--blue); font-size: .72rem; font-weight: 850; text-transform: uppercase; letter-spacing: .15em; margin-bottom: 8px; }
.capability-snapshot h2 { font-size: 1.65rem; margin-bottom: 20px; }
.capability-snapshot ul { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 11px; }
.capability-snapshot li { position: relative; padding: 11px 0 11px 27px; border-bottom: 1px solid #e1e7ee; color: #46566a; font-size: .92rem; }
.capability-snapshot li::before { content: '✓'; position: absolute; left: 0; color: var(--blue); font-weight: 900; }

.feature-section { background: var(--soft); }
.compact-heading { margin-bottom: 38px; }
.feature-stack { display: grid; gap: 18px; }
.feature-card { display: grid; grid-template-columns: 1fr; border: 1px solid #dbe3ec; border-radius: 20px; overflow: hidden; background: #fff; box-shadow: 0 12px 35px rgba(20,43,70,.055); }
.feature-card-has-image { grid-template-columns: minmax(0, 1.15fr) minmax(280px, .85fr); align-items: stretch; }
.feature-card-copy { padding: 34px 36px; }
.feature-index { display: block; margin-bottom: 10px; color: var(--blue); text-transform: uppercase; letter-spacing: .14em; font-size: .7rem; font-weight: 850; }
.feature-card-copy h3 { margin-bottom: 13px; }
.feature-card-copy p { color: #59687a; line-height: 1.72; margin-bottom: 12px; }
.feature-card-copy p:last-child { margin-bottom: 0; }
.feature-card-media { min-height: 300px; background: #0e1b2c; overflow: hidden; }
.feature-card-media img { width: 100%; height: 100%; object-fit: cover; }
.feature-media-contain { display: grid; place-items: center; background: linear-gradient(145deg,#0c1726,#162b44); padding: 45px; }
.feature-media-contain img { object-fit: contain; height: auto; max-height: 220px; border-radius: 10px; }
.check-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 10px; }
.check-list li { position: relative; padding-left: 28px; color: #536174; line-height: 1.55; }
.check-list li::before { content: '✓'; position: absolute; left: 0; top: 0; color: var(--blue); font-weight: 900; }

.translation-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 13px; margin-bottom: 20px; }
.translation-grid > div { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 15px; min-height: 86px; padding: 18px 21px; background: #fff; border: 1px solid #dbe3ec; border-radius: 15px; }
.translation-grid span { font-weight: 750; color: #27384d; }
.translation-grid span:last-child { text-align: right; }
.translation-grid strong { color: var(--blue); font-size: 1.25rem; }
.rehost-tool-card { margin-top: 20px; }
.protocol-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 20px; }
.protocol-grid span { min-height: 112px; display: grid; place-items: center; text-align: center; padding: 18px; border: 1px solid #d7e1eb; border-radius: 16px; background: #fff; font-size: 1.05rem; font-weight: 850; color: #1d314a; box-shadow: 0 10px 25px rgba(20,43,70,.05); }

.scan-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.scan-card { padding: 30px; border: 1px solid #d9e2eb; border-radius: 18px; background: #fff; }
.scan-card > span { display: inline-grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--blue-light); color: var(--blue-dark); font-size: .74rem; font-weight: 850; margin-bottom: 24px; }
.scan-card h3 { margin-bottom: 10px; }
.scan-card p { color: #59687a; margin-bottom: 0; }

.hs300-section { background: linear-gradient(145deg,#091522,#112840); color: #fff; }
.hs300-intro { display: grid; grid-template-columns: minmax(0,1.05fr) minmax(320px,.95fr); gap: 70px; align-items: center; }
.hs300-intro h2 { max-width: 720px; }
.hs300-intro p:not(.eyebrow) { color: #b8c8da; line-height: 1.72; }
.hs300-intro figure { margin: 0; min-height: 485px; display: grid; place-items: center; position: relative; border: 1px solid rgba(255,255,255,.12); border-radius: 23px; background: #101a26; overflow: hidden; }
.hs300-intro figure img { max-height: 450px; width: auto; object-fit: contain; }
.hs300-intro figcaption { position: absolute; right: 16px; bottom: 16px; background: rgba(0,0,0,.55); color: #d6e4f5; padding: 7px 10px; border-radius: 7px; font-size: .72rem; }
.goal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 60px; }
.goal-card { border: 1px solid rgba(255,255,255,.13); border-radius: 18px; padding: 32px; background: rgba(255,255,255,.035); }
.goal-card > span { display: block; color: #7db2f7; text-transform: uppercase; letter-spacing: .13em; font-size: .7rem; font-weight: 850; margin-bottom: 10px; }
.goal-card .check-list li { color: #c0cede; border-bottom: 1px solid rgba(255,255,255,.09); padding-bottom: 10px; }
.goal-note { color: #91a4ba; font-size: .86rem; margin-top: 18px; }

.related-section { background: #fff; }
.related-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.related-card { min-height: 240px; display: flex; flex-direction: column; padding: 28px; border: 1px solid var(--line); border-radius: 18px; background: #fff; transition: .23s ease; }
.related-card:hover { transform: translateY(-4px); border-color: #bfd0e3; box-shadow: 0 18px 40px rgba(14,35,61,.09); }
.related-card > span { color: #8a98a9; text-transform: uppercase; font-size: .67rem; font-weight: 850; letter-spacing: .13em; }
.related-card h3 { margin: 14px 0 10px; }
.related-card p { color: #607085; font-size: .9rem; }
.related-card strong { margin-top: auto; color: var(--blue); font-size: .84rem; }
.service-cta { padding: 68px 0; background: var(--blue); color: #fff; }
.service-cta-grid { display: grid; grid-template-columns: 1.35fr .65fr; gap: 60px; align-items: end; }
.service-cta h2 { max-width: 760px; margin-bottom: 12px; }
.service-cta p:not(.eyebrow) { color: #dceaff; max-width: 700px; margin-bottom: 0; }
.service-cta-actions { display: grid; gap: 11px; }

.quality-hero { background: linear-gradient(145deg,#071321,#102a47); color: #fff; padding: 78px 0; overflow: hidden; }
.quality-hero-grid { display: grid; grid-template-columns: minmax(0,1.08fr) minmax(360px,.92fr); gap: 75px; align-items: center; }
.quality-hero h1 { max-width: 760px; }
.quality-hero p:not(.eyebrow) { max-width: 700px; color: #c2d1e2; font-size: 1.12rem; line-height: 1.7; margin-bottom: 28px; }
.quality-hero-art { margin: 0; position: relative; min-height: 410px; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 30px 75px rgba(0,0,0,.28); }
.quality-hero-art img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.quality-hero-art figcaption { position: absolute; right: 16px; bottom: 16px; background: rgba(7,17,30,.84); padding: 8px 11px; border-radius: 8px; font-size: .75rem; }
.quality-principles { background: #fff; border-bottom: 1px solid var(--line); }
.principle-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.principle-grid > div { min-height: 155px; padding: 28px 27px; border-right: 1px solid var(--line); display: flex; flex-direction: column; justify-content: center; }
.principle-grid > div:first-child { border-left: 1px solid var(--line); }
.principle-grid strong { font-size: .96rem; margin-bottom: 8px; }
.principle-grid span { color: #6a7889; font-size: .82rem; line-height: 1.5; }
.policy-list { border-top: 1px solid #ccd7e3; }
.policy-item { border-bottom: 1px solid #ccd7e3; background: #fff; }
.policy-item summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr 44px; gap: 20px; align-items: center; padding: 27px 10px; }
.policy-item summary::-webkit-details-marker { display: none; }
.policy-number { color: var(--blue); font-size: .72rem; font-weight: 850; letter-spacing: .1em; }
.policy-item summary > span:nth-child(2) { display: grid; gap: 4px; }
.policy-item summary strong { font-size: 1.16rem; }
.policy-item summary small { color: #7b8897; font-size: .78rem; }
.policy-plus { width: 38px; height: 38px; display: grid; place-items: center; border: 1px solid #cfdae5; border-radius: 50%; font-size: 1.4rem; transition: transform .25s ease, background .25s ease; }
.policy-item[open] .policy-plus { transform: rotate(45deg); background: var(--blue); border-color: var(--blue); color: #fff; }
.policy-body { padding: 0 66px 30px 86px; color: #58687b; line-height: 1.7; }
.policy-body p { max-width: 890px; }
.document-link { display: inline-flex; align-items: center; gap: 8px; color: var(--blue); font-weight: 800; font-size: .88rem; }
.policy-quality-body { display: grid; grid-template-columns: 1fr minmax(250px, 380px); gap: 40px; align-items: start; }
.policy-quality-body img { width: 100%; border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 30px rgba(18,39,65,.08); }

@media (max-width: 960px) {
  .service-hero-grid, .quality-hero-grid, .hs300-intro, .service-cta-grid { grid-template-columns: 1fr; gap: 40px; }
  .service-hero-media { min-height: 350px; }
  .capability-strip-grid { grid-template-columns: repeat(2,1fr); }
  .capability-strip-grid span:nth-child(odd) { border-left: 1px solid rgba(255,255,255,.12); }
  .detail-layout { grid-template-columns: 1fr; gap: 40px; }
  .capability-snapshot { position: static; }
  .feature-card-has-image { grid-template-columns: 1fr; }
  .feature-card-media { min-height: 320px; }
  .protocol-grid { grid-template-columns: repeat(3,1fr); }
  .goal-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr 1fr; }
  .principle-grid { grid-template-columns: 1fr 1fr; }
  .principle-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .policy-quality-body { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .service-hero, .quality-hero { padding: 50px 0; }
  .breadcrumb { margin-bottom: 28px; }
  .service-hero-media { min-height: 300px; border-radius: 19px; }
  .service-hero-media > img { width: min(86%, 440px); max-height: 230px; }
  .capability-strip-grid { grid-template-columns: 1fr; padding: 8px 0; }
  .capability-strip-grid span, .capability-strip-grid span:first-child, .capability-strip-grid span:nth-child(odd) { border-left: 0; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.11); min-height: 56px; }
  .capability-strip-grid span:last-child { border-bottom: 0; }
  .feature-card-copy, .goal-card { padding: 25px; }
  .feature-card-media { min-height: 240px; }
  .translation-grid, .scan-grid, .related-grid { grid-template-columns: 1fr; }
  .translation-grid > div { grid-template-columns: 1fr auto 1fr; font-size: .88rem; }
  .protocol-grid { grid-template-columns: 1fr 1fr; }
  .protocol-grid span { min-height: 90px; font-size: .93rem; }
  .hs300-intro figure { min-height: 350px; }
  .hs300-intro figure img { max-height: 325px; }
  .principle-grid { grid-template-columns: 1fr; }
  .principle-grid > div, .principle-grid > div:first-child, .principle-grid > div:nth-child(3) { border-left: 1px solid var(--line); }
  .policy-item summary { grid-template-columns: 38px 1fr 38px; gap: 10px; padding: 22px 4px; }
  .policy-body { padding: 0 10px 26px 48px; }
  .quality-hero-art { min-height: 310px; }
}
