:root {
  --navy-950: #04121d;
  --navy-900: #071b2b;
  --navy-800: #0c293e;
  --navy-700: #123950;
  --teal-500: #19b9ae;
  --teal-400: #2ed3c6;
  --teal-300: #7fe8df;
  --sky-100: #e8f6f7;
  --ink: #102231;
  --muted: #647683;
  --line: #dce6e9;
  --surface: #f7fafb;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(4, 25, 39, .11);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body.nav-open { overflow: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.skip-link { position: fixed; left: 18px; top: -80px; z-index: 999; padding: 10px 16px; background: var(--teal-400); color: var(--navy-950); border-radius: 8px; font-weight: 800; }
.skip-link:focus { top: 18px; }

.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100;
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
  color: var(--white);
}
.site-header.scrolled { background: rgba(4, 18, 29, .94); backdrop-filter: blur(14px); box-shadow: 0 10px 35px rgba(0,0,0,.16); }
.nav-wrap { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 44px; height: 44px; display: grid; place-items: center; border: 1px solid rgba(46, 211, 198, .48); border-radius: 13px; color: var(--teal-400); font-weight: 900; letter-spacing: -.06em; background: rgba(46,211,198,.06); }
.brand-copy { display: flex; flex-direction: column; line-height: 1.1; }
.brand-copy strong { font-size: 16px; letter-spacing: -.02em; }
.brand-copy small { margin-top: 4px; color: rgba(255,255,255,.62); font-size: 10px; letter-spacing: .13em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 29px; }
.main-nav a { position: relative; color: rgba(255,255,255,.72); font-size: 14px; font-weight: 650; transition: color .2s; }
.main-nav a:hover, .main-nav a.active { color: var(--white); }
.main-nav a:not(.nav-cta)::after { content: ""; position: absolute; left: 0; bottom: -10px; width: 0; height: 2px; background: var(--teal-400); transition: width .2s; }
.main-nav a:hover::after, .main-nav a.active::after { width: 100%; }
.main-nav .nav-cta { padding: 10px 18px; border: 1px solid rgba(127,232,223,.38); border-radius: 999px; color: var(--teal-300); }
.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; }
.nav-toggle span { display: block; height: 2px; margin: 5px 0; background: white; transition: transform .2s, opacity .2s; }

.hero { position: relative; min-height: 890px; padding: 170px 0 60px; color: var(--white); background: radial-gradient(circle at 72% 28%, rgba(25,185,174,.18), transparent 30%), linear-gradient(135deg, #04121d 0%, #071b2b 58%, #0d3146 100%); overflow: hidden; }
.hero::before { content: ""; position: absolute; width: 560px; height: 560px; border-radius: 50%; border: 1px solid rgba(46,211,198,.12); right: -130px; top: -220px; }
.hero-grid-bg { position: absolute; inset: 0; opacity: .22; background-image: linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px); background-size: 44px 44px; mask-image: linear-gradient(to bottom, black 0%, transparent 90%); }
.hero-layout { position: relative; z-index: 2; display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 80px; }
.eyebrow, .section-kicker { display: inline-flex; align-items: center; gap: 10px; color: var(--teal-500); font-size: 12px; font-weight: 850; letter-spacing: .15em; text-transform: uppercase; }
.eyebrow { color: var(--teal-300); }
.eyebrow span { width: 26px; height: 1px; background: var(--teal-400); }
.hero h1 { max-width: 700px; margin: 24px 0; font-size: clamp(48px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.055em; }
.hero-copy > p { max-width: 670px; margin: 0 0 34px; color: rgba(255,255,255,.68); font-size: 18px; line-height: 1.75; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 52px; padding: 13px 22px; border: 1px solid transparent; border-radius: 999px; font-size: 14px; font-weight: 800; transition: transform .2s, box-shadow .2s, background .2s; }
.button:hover { transform: translateY(-2px); }
.button-primary { background: var(--teal-400); color: var(--navy-950); box-shadow: 0 12px 28px rgba(46,211,198,.22); }
.button-primary:hover { background: #56ded3; }
.button-ghost { border-color: rgba(255,255,255,.22); color: white; background: rgba(255,255,255,.03); }
.button-light { background: white; color: var(--navy-900); }
.button.full { width: 100%; border-radius: 12px; }
.trust-strip { display: flex; align-items: center; flex-wrap: wrap; gap: 10px; margin-top: 40px; color: rgba(255,255,255,.5); font-size: 11px; font-weight: 750; letter-spacing: .08em; text-transform: uppercase; }
.trust-strip i { width: 3px; height: 3px; border-radius: 50%; background: var(--teal-400); }

.hero-visual { position: relative; min-height: 510px; display: grid; place-items: center; }
.orbit { position: absolute; border-radius: 50%; border: 1px solid rgba(127,232,223,.18); }
.orbit-one { width: 420px; height: 420px; animation: rotate 28s linear infinite; }
.orbit-two { width: 310px; height: 310px; border-style: dashed; animation: rotateBack 20s linear infinite; }
.core-card { position: relative; z-index: 3; width: 205px; height: 205px; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 1px solid rgba(127,232,223,.28); border-radius: 50%; background: radial-gradient(circle, rgba(46,211,198,.15), rgba(6,28,43,.88) 67%); box-shadow: 0 0 100px rgba(46,211,198,.13), inset 0 0 40px rgba(255,255,255,.03); }
.core-logo { font-size: 42px; font-weight: 950; color: var(--teal-400); letter-spacing: -.08em; }
.core-card strong { margin-top: 5px; font-size: 14px; }
.core-card span { color: rgba(255,255,255,.45); font-size: 10px; letter-spacing: .08em; }
.floating-node { position: absolute; z-index: 4; min-width: 148px; padding: 16px 18px; border: 1px solid rgba(255,255,255,.1); border-radius: 15px; background: rgba(8, 35, 52, .72); backdrop-filter: blur(12px); box-shadow: 0 15px 45px rgba(0,0,0,.2); }
.floating-node strong, .floating-node small { display: block; }
.floating-node strong { margin-top: 7px; font-size: 13px; }
.floating-node small { color: rgba(255,255,255,.48); font-size: 10px; }
.node-icon { color: var(--teal-400); font-weight: 900; }
.node-a { left: 0; top: 76px; }
.node-b { right: -8px; top: 110px; }
.node-c { left: 50%; bottom: 24px; transform: translateX(-50%); }
.signal { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--teal-400); box-shadow: 0 0 18px var(--teal-400); }
.signal-a { left: 30%; top: 19%; animation: pulse 2s ease infinite; }
.signal-b { right: 22%; top: 50%; animation: pulse 2.4s ease infinite .4s; }
.signal-c { left: 28%; bottom: 23%; animation: pulse 1.8s ease infinite .8s; }
@keyframes rotate { to { transform: rotate(360deg); } }
@keyframes rotateBack { to { transform: rotate(-360deg); } }
@keyframes pulse { 50% { transform: scale(1.8); opacity: .35; } }

.capability-bar { position: relative; z-index: 3; display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 82px; border-top: 1px solid rgba(255,255,255,.1); border-bottom: 1px solid rgba(255,255,255,.1); }
.capability-bar div { padding: 24px 22px; border-right: 1px solid rgba(255,255,255,.1); }
.capability-bar div:last-child { border-right: 0; }
.capability-bar strong, .capability-bar span { display: block; }
.capability-bar strong { color: var(--teal-300); font-size: 13px; }
.capability-bar span { margin-top: 5px; color: rgba(255,255,255,.48); font-size: 12px; }

.section { padding: 118px 0; }
.intro-section { background: var(--surface); }
.split-heading, .section-header.row { display: grid; grid-template-columns: 1.1fr .9fr; align-items: end; gap: 90px; }
.split-heading h2, .section-header h2, .about-copy h2, .contact-info h2, .cta-card h2, .partnership-intro h2 { margin: 14px 0 0; font-size: clamp(34px, 4.2vw, 52px); line-height: 1.12; letter-spacing: -.045em; }
.split-heading > p, .section-header.row > p { margin: 0; color: var(--muted); }
.discipline-grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 58px; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; background: white; box-shadow: 0 12px 50px rgba(10,40,58,.05); }
.discipline-grid article { min-height: 258px; padding: 34px 28px; border-right: 1px solid var(--line); transition: background .2s, transform .2s; }
.discipline-grid article:last-child { border-right: 0; }
.discipline-grid article:hover { background: var(--sky-100); transform: translateY(-3px); }
.discipline-grid span { color: var(--teal-500); font-size: 12px; font-weight: 900; }
.discipline-grid h3 { margin: 50px 0 9px; font-size: 24px; letter-spacing: -.03em; }
.discipline-grid p { margin: 0; color: var(--muted); font-size: 14px; }

.section-dark { position: relative; color: white; background: var(--navy-950); overflow: hidden; }
.section-dark::before { content: ""; position: absolute; inset: 0; background: radial-gradient(circle at 85% 10%, rgba(46,211,198,.12), transparent 30%); }
.section-dark .container { position: relative; }
.section-header.centered { max-width: 760px; margin: 0 auto 54px; text-align: center; }
.section-header.centered p { color: rgba(255,255,255,.55); }
.section-kicker.light { color: var(--teal-300); }
.services-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.service-card { grid-column: span 2; min-height: 328px; padding: 30px; border: 1px solid rgba(255,255,255,.1); border-radius: 22px; background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018)); transition: transform .25s, border-color .25s, background .25s; }
.service-card:nth-child(4), .service-card:nth-child(5) { grid-column: span 3; }
.service-card:hover { transform: translateY(-7px); border-color: rgba(46,211,198,.36); background: linear-gradient(145deg, rgba(46,211,198,.09), rgba(255,255,255,.025)); }
.service-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 15px; background: rgba(46,211,198,.1); color: var(--teal-300); font-size: 22px; font-weight: 900; }
.service-card h3 { margin: 34px 0 10px; font-size: 22px; letter-spacing: -.025em; }
.service-card > p { color: rgba(255,255,255,.56); font-size: 14px; }
.card-link { display: inline-flex; gap: 8px; margin-top: 22px; border: 0; padding: 0; color: var(--teal-300); background: transparent; font-size: 13px; font-weight: 800; }
.loading-card { min-height: 310px; grid-column: span 2; border-radius: 20px; background: linear-gradient(90deg, rgba(255,255,255,.03), rgba(255,255,255,.07), rgba(255,255,255,.03)); background-size: 220% 100%; animation: shimmer 1.4s infinite; }
@keyframes shimmer { to { background-position: -220% 0; } }

.products-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 52px; }
.product-card { display: flex; flex-direction: column; min-height: 455px; border: 1px solid var(--line); border-radius: 23px; overflow: hidden; background: white; box-shadow: 0 16px 55px rgba(5,27,42,.06); transition: transform .25s, box-shadow .25s; }
.product-card:hover { transform: translateY(-7px); box-shadow: var(--shadow); }
.product-visual { position: relative; height: 210px; display: grid; place-items: center; overflow: hidden; background: linear-gradient(145deg, #e8f5f5, #d8e9ed); }
.product-visual::before, .product-visual::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(15,114,117,.16); }
.product-visual::before { width: 165px; height: 165px; }
.product-visual::after { width: 110px; height: 110px; }
.product-visual img { width: 100%; height: 100%; object-fit: cover; }
.product-monogram { position: relative; z-index: 2; color: var(--navy-800); font-size: 34px; font-weight: 950; letter-spacing: -.06em; }
.product-status { position: absolute; z-index: 3; top: 16px; right: 16px; padding: 6px 10px; border-radius: 999px; background: rgba(255,255,255,.88); color: var(--teal-500); font-size: 10px; font-weight: 850; text-transform: uppercase; letter-spacing: .06em; }
.product-body { display: flex; flex: 1; flex-direction: column; padding: 25px; }
.card-category { color: var(--teal-500); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.product-body h3 { margin: 10px 0; font-size: 22px; line-height: 1.25; letter-spacing: -.03em; }
.product-body p { margin: 0; color: var(--muted); font-size: 14px; }
.product-body .card-link { margin-top: auto; padding-top: 20px; color: var(--navy-800); }

.process-section { padding: 100px 0; background: var(--surface); }
.process-section .section-header p { color: var(--muted); }
.process-line { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 55px; }
.process-line article { position: relative; padding: 0 28px 0 0; }
.process-line article:not(:last-child)::after { content: ""; position: absolute; left: 45px; right: 15px; top: 17px; height: 1px; background: var(--line); }
.process-line span { position: relative; z-index: 2; display: grid; width: 35px; height: 35px; place-items: center; border-radius: 50%; color: white; background: var(--navy-800); font-size: 10px; font-weight: 900; }
.process-line h3 { margin: 27px 0 8px; font-size: 18px; }
.process-line p { margin: 0; color: var(--muted); font-size: 13px; }

.partnership-section { color: white; background: linear-gradient(120deg, var(--navy-800), #0f4652); }
.partnership-layout { display: grid; grid-template-columns: .82fr 1.18fr; gap: 90px; align-items: start; }
.partnership-intro p { color: rgba(255,255,255,.6); }
.text-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 22px; color: var(--teal-300); font-size: 14px; font-weight: 800; }
.partnership-list { border-top: 1px solid rgba(255,255,255,.14); }
.partnership-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 20px; align-items: center; padding: 26px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.partnership-number { color: var(--teal-300); font-size: 12px; font-weight: 900; }
.partnership-item h3 { margin: 0 0 5px; font-size: 18px; }
.partnership-item p { margin: 0; color: rgba(255,255,255,.53); font-size: 13px; }
.partnership-item button { width: 40px; height: 40px; border: 1px solid rgba(255,255,255,.16); border-radius: 50%; color: white; background: transparent; }

.about-section { overflow: hidden; }
.about-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 95px; align-items: center; }
.about-visual { position: relative; min-height: 570px; }
.about-panel { position: absolute; border-radius: var(--radius-lg); }
.main-panel { inset: 20px 40px 60px 0; padding: 55px; display: flex; flex-direction: column; justify-content: flex-end; color: white; background: linear-gradient(145deg, var(--navy-900), var(--navy-700)); box-shadow: var(--shadow); overflow: hidden; }
.main-panel::before { content: ""; position: absolute; width: 280px; height: 280px; border: 1px solid rgba(46,211,198,.2); border-radius: 50%; top: -100px; right: -70px; }
.main-panel > span { position: absolute; top: 48px; left: 50px; color: var(--teal-400); font-size: 54px; font-weight: 950; letter-spacing: -.09em; }
.main-panel h3 { max-width: 350px; margin: 0; font-size: 35px; line-height: 1.12; letter-spacing: -.04em; }
.main-panel p { color: rgba(255,255,255,.6); }
.small-panel { right: 0; bottom: 0; z-index: 3; width: 170px; height: 150px; padding: 25px; color: var(--navy-900); background: var(--teal-400); box-shadow: 0 16px 45px rgba(7,40,50,.16); }
.small-panel strong, .small-panel span { display: block; }
.small-panel strong { font-size: 44px; line-height: 1; }
.small-panel span { margin-top: 12px; font-size: 12px; font-weight: 800; }
.about-dot-grid { position: absolute; left: -35px; bottom: 15px; width: 135px; height: 135px; background-image: radial-gradient(var(--teal-500) 1.5px, transparent 1.5px); background-size: 14px 14px; opacity: .36; }
.about-copy > p { color: var(--muted); font-size: 16px; }
.vision-box { margin: 28px 0; padding: 22px 24px; border-left: 3px solid var(--teal-500); background: var(--surface); }
.vision-box span { color: var(--teal-500); font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .12em; }
.vision-box p { margin: 6px 0 0; font-weight: 650; }
.mission-block h3 { font-size: 18px; }
.mission-block ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.mission-block li { display: flex; gap: 12px; color: var(--muted); font-size: 14px; }
.mission-block li::before { content: "✓"; flex: 0 0 23px; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--teal-500); background: var(--sky-100); font-weight: 900; }

.cta-section { padding: 0 0 110px; }
.cta-card { display: flex; justify-content: space-between; align-items: center; gap: 45px; padding: 58px 62px; border-radius: 30px; color: white; background: linear-gradient(125deg, var(--navy-900), #0a4a53); box-shadow: var(--shadow); }
.cta-card > div { max-width: 780px; }
.cta-card h2 { font-size: clamp(30px, 3.6vw, 46px); }
.cta-card p { margin-bottom: 0; color: rgba(255,255,255,.61); }
.cta-card .button { flex: 0 0 auto; }

.contact-section { background: var(--surface); }
.contact-layout { display: grid; grid-template-columns: .78fr 1.22fr; gap: 80px; align-items: start; }
.contact-info > p { color: var(--muted); }
.contact-items { display: grid; gap: 18px; margin-top: 34px; }
.contact-items > div { display: flex; gap: 15px; align-items: center; }
.contact-items > div > span { width: 43px; height: 43px; display: grid; place-items: center; border-radius: 12px; color: var(--teal-500); background: var(--sky-100); font-weight: 900; }
.contact-items p { margin: 0; display: flex; flex-direction: column; }
.contact-items small { color: var(--muted); font-size: 10px; text-transform: uppercase; letter-spacing: .1em; }
.contact-items strong, .contact-items a { font-size: 14px; }
.contact-form { padding: 36px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: white; box-shadow: 0 18px 60px rgba(5,27,42,.06); }
.form-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.contact-form label { display: grid; gap: 8px; margin-bottom: 18px; color: var(--ink); font-size: 12px; font-weight: 800; }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; border: 1px solid var(--line); border-radius: 11px; padding: 13px 14px; outline: none; color: var(--ink); background: #fbfdfd; transition: border-color .2s, box-shadow .2s; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(25,185,174,.1); }
.form-status { min-height: 24px; margin: 12px 0 0; text-align: center; color: var(--muted); font-size: 13px; }
.form-status.success { color: #118164; }
.form-status.error { color: #c23945; }

.site-footer { padding: 70px 0 25px; color: white; background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 2fr repeat(3, 1fr); gap: 55px; }
.footer-brand p { max-width: 380px; color: rgba(255,255,255,.5); font-size: 13px; }
.footer-grid h3 { margin: 0 0 18px; color: rgba(255,255,255,.9); font-size: 13px; }
.footer-grid > div:not(.footer-brand) { display: flex; flex-direction: column; gap: 9px; }
.footer-grid a, .footer-grid > div:not(.footer-brand) span { color: rgba(255,255,255,.48); font-size: 12px; }
.footer-grid a:hover { color: var(--teal-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 55px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.36); font-size: 11px; }

.content-dialog { width: min(680px, calc(100% - 30px)); max-height: 88vh; padding: 0; border: 0; border-radius: 24px; color: var(--ink); box-shadow: 0 30px 100px rgba(0,0,0,.28); overflow: hidden; }
.content-dialog::backdrop { background: rgba(2,12,20,.72); backdrop-filter: blur(5px); }
.dialog-close { position: absolute; z-index: 3; right: 18px; top: 16px; width: 38px; height: 38px; border: 0; border-radius: 50%; color: white; background: rgba(4,18,29,.72); font-size: 24px; }
.dialog-visual { height: 250px; display: grid; place-items: center; color: var(--navy-800); background: linear-gradient(145deg, #dff2f1, #cfe4e8); font-size: 46px; font-weight: 950; }
.dialog-visual img { width: 100%; height: 100%; object-fit: cover; }
.dialog-body { padding: 34px; }
.dialog-body h2 { margin: 8px 0 12px; font-size: 30px; line-height: 1.2; letter-spacing: -.035em; }
.dialog-body p { color: var(--muted); }
.dialog-features { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.dialog-features span { padding: 7px 10px; border-radius: 999px; color: var(--navy-800); background: var(--sky-100); font-size: 11px; font-weight: 750; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 1020px) {
  .hero { min-height: auto; }
  .hero-layout { grid-template-columns: 1fr; gap: 35px; }
  .hero-copy { text-align: center; }
  .hero-copy > p { margin-inline: auto; }
  .hero-actions, .trust-strip { justify-content: center; }
  .hero-visual { min-height: 450px; max-width: 620px; margin-inline: auto; width: 100%; }
  .capability-bar { grid-template-columns: repeat(2, 1fr); }
  .capability-bar div:nth-child(2) { border-right: 0; }
  .capability-bar div:nth-child(-n+2) { border-bottom: 1px solid rgba(255,255,255,.1); }
  .discipline-grid { grid-template-columns: repeat(2, 1fr); }
  .discipline-grid article:nth-child(2) { border-right: 0; }
  .discipline-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card, .service-card:nth-child(4), .service-card:nth-child(5), .loading-card { grid-column: span 1; }
  .products-grid { grid-template-columns: repeat(2, 1fr); }
  .partnership-layout, .about-layout, .contact-layout { gap: 50px; }
  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }
  .footer-grid > div:last-child { grid-column: 2 / 4; }
}

@media (max-width: 820px) {
  .nav-toggle { display: block; position: relative; z-index: 102; }
  .main-nav { position: fixed; inset: 0; z-index: 101; display: flex; flex-direction: column; justify-content: center; gap: 28px; background: rgba(4,18,29,.98); transform: translateX(100%); transition: transform .3s ease; }
  .main-nav.open { transform: translateX(0); }
  .main-nav a { font-size: 21px; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .split-heading, .section-header.row, .partnership-layout, .about-layout, .contact-layout { grid-template-columns: 1fr; gap: 32px; }
  .section-header.row { align-items: start; }
  .process-line { grid-template-columns: repeat(2, 1fr); gap: 35px 20px; }
  .about-visual { min-height: 520px; }
  .cta-card { flex-direction: column; align-items: flex-start; padding: 44px 38px; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--container)); }
  .nav-wrap { min-height: 72px; }
  .brand-copy strong { font-size: 14px; }
  .hero { padding-top: 135px; }
  .hero h1 { font-size: 43px; }
  .hero-copy > p { font-size: 16px; }
  .hero-visual { min-height: 390px; transform: scale(.9); margin: -10px auto; }
  .orbit-one { width: 340px; height: 340px; }
  .orbit-two { width: 250px; height: 250px; }
  .core-card { width: 170px; height: 170px; }
  .floating-node { min-width: 126px; padding: 12px 14px; }
  .node-a { left: -13px; }
  .node-b { right: -13px; }
  .capability-bar { grid-template-columns: 1fr; margin-top: 25px; }
  .capability-bar div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.1); }
  .section { padding: 82px 0; }
  .split-heading h2, .section-header h2, .about-copy h2, .contact-info h2, .partnership-intro h2 { font-size: 36px; }
  .discipline-grid, .services-grid, .products-grid, .process-line { grid-template-columns: 1fr; }
  .discipline-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .products-grid { gap: 18px; }
  .partnership-item { grid-template-columns: 35px 1fr; }
  .partnership-item button { display: none; }
  .about-visual { min-height: 440px; }
  .main-panel { inset: 0 18px 45px 0; padding: 32px; }
  .main-panel > span { top: 35px; left: 32px; }
  .main-panel h3 { font-size: 30px; }
  .small-panel { width: 145px; height: 125px; }
  .cta-section { padding-bottom: 80px; }
  .cta-card { padding: 38px 28px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact-form { padding: 25px 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-grid > div:last-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

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

/* Bilingual update, brand media, and external service links */
.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 4px;
  border: 1px solid rgba(127,232,223,.28);
  border-radius: 999px;
  background: rgba(255,255,255,.04);
}
.language-switch button {
  min-width: 35px;
  padding: 6px 9px;
  border: 0;
  border-radius: 999px;
  color: rgba(255,255,255,.58);
  background: transparent;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .05em;
}
.language-switch button.active { color: var(--navy-950); background: var(--teal-400); }
.brand-mark.has-image, .core-logo.has-image, .about-panel.main-panel > span.has-image {
  padding: 0;
  overflow: hidden;
  background: transparent;
}
.brand-mark.has-image {
  flex: 0 0 44px;
  width: 44px;
  min-width: 44px;
  max-width: 44px;
  height: 44px;
  min-height: 44px;
  max-height: 44px;
}
.brand-mark.has-image img, .core-logo.has-image img, .about-panel.main-panel > span.has-image img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: 100%;
  max-height: 100%;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.hero-visual { position: relative; overflow: hidden; border-radius: 34px; }
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 34px;
  opacity: .76;
  filter: saturate(.88) contrast(1.04);
}
.hero-visual.has-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(4,18,29,.22), rgba(4,18,29,.77));
  pointer-events: none;
}
.hero-tech-visual { position: absolute; inset: 0; z-index: 2; display: grid; place-items: center; }
.hero-tech-visual.with-photo .orbit { opacity: .55; }
.hero-tech-visual.with-photo .floating-node, .hero-tech-visual.with-photo .core-card { backdrop-filter: blur(12px); background-color: rgba(7,27,43,.72); }
.card-link { appearance: none; }
a.card-link { display: inline-flex; align-items: center; gap: 8px; width: fit-content; }
.dialog-link { margin-top: 22px; }
.partnership-action {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 50%;
  color: var(--teal-300);
  background: transparent;
  transition: background .2s, transform .2s;
}
.partnership-action:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.eyebrow b { font: inherit; }
.footer-grid > div:not(.footer-brand-block) span { display: block; margin-bottom: 8px; color: rgba(255,255,255,.56); font-size: 13px; }
.load-error { grid-column: 1 / -1; padding: 25px; color: var(--muted); text-align: center; }

@media (max-width: 820px) {
  .language-switch { margin-top: 10px; }
  .hero-tech-visual { min-height: 450px; }
}
@media (max-width: 620px) {
  .form-grid { grid-template-columns: 1fr; gap: 0; }
  .hero-visual { border-radius: 24px; }
  .hero-photo, .hero-visual.has-photo::after { border-radius: 24px; }
  .partnership-item .partnership-action { display: grid; grid-column: 2; margin-top: 8px; }
}

.core-logo.has-image {
  flex: 0 0 72px;
  width: 72px;
  min-width: 72px;
  max-width: 72px;
  height: 72px;
  min-height: 72px;
  max-height: 72px;
  border-radius: 0;
}
.about-panel.main-panel > span.has-image {
  flex: 0 0 84px;
  width: 84px;
  min-width: 84px;
  max-width: 84px;
  height: 84px;
  min-height: 84px;
  max-height: 84px;
  border-radius: 0;
}

/* Update: full-photo homepage hero and frameless header logo */
#brand-mark {
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: hidden;
}
#brand-mark.has-image {
  flex-basis: 54px;
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}
#brand-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
}

.hero {
  min-height: 900px;
  padding: 190px 0 56px;
  isolation: isolate;
  background: linear-gradient(135deg, #04121d 0%, #071b2b 58%, #0d3146 100%);
}
.hero::before {
  content: none;
}
.hero-photo {
  position: absolute;
  inset: 0;
  z-index: -4;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 0;
  opacity: 1;
  filter: none;
}
.hero-photo-shade {
  position: absolute;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(3, 13, 22, .96) 0%, rgba(3, 13, 22, .86) 30%, rgba(3, 13, 22, .58) 53%, rgba(3, 13, 22, .20) 76%, rgba(3, 13, 22, .32) 100%),
    linear-gradient(180deg, rgba(3, 13, 22, .48) 0%, rgba(3, 13, 22, .08) 42%, rgba(3, 13, 22, .82) 100%);
}
.hero:not(.has-photo) .hero-photo-shade {
  background:
    radial-gradient(circle at 72% 28%, rgba(25,185,174,.18), transparent 30%),
    linear-gradient(135deg, rgba(4,18,29,.12), rgba(7,27,43,.2));
}
.hero-grid-bg {
  z-index: -2;
  opacity: .10;
  mask-image: linear-gradient(to bottom, black 0%, transparent 82%);
}
.hero-layout {
  position: relative;
  z-index: 2;
  display: block;
}
.hero-copy {
  width: min(760px, 72%);
  text-align: left;
}
.hero-copy > p {
  color: rgba(255,255,255,.82);
}
.hero h1 {
  text-shadow: 0 5px 28px rgba(0,0,0,.38);
}
.button-ghost {
  background: rgba(4,18,29,.28);
  backdrop-filter: blur(7px);
}
.capability-bar {
  z-index: 2;
  margin-top: 120px;
  background: rgba(4,18,29,.24);
  backdrop-filter: blur(9px);
}

@media (max-width: 1020px) {
  .hero {
    min-height: 820px;
  }
  .hero-layout {
    display: block;
  }
  .hero-copy {
    width: min(720px, 88%);
    text-align: left;
  }
  .hero-copy > p {
    margin-inline: 0;
  }
  .hero-actions,
  .trust-strip {
    justify-content: flex-start;
  }
  .hero-photo-shade {
    background:
      linear-gradient(90deg, rgba(3,13,22,.94) 0%, rgba(3,13,22,.78) 48%, rgba(3,13,22,.38) 100%),
      linear-gradient(180deg, rgba(3,13,22,.42) 0%, rgba(3,13,22,.15) 44%, rgba(3,13,22,.84) 100%);
  }
}

@media (max-width: 620px) {
  #brand-mark,
  #brand-mark.has-image {
    flex-basis: 46px;
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
  }
  .hero {
    min-height: 780px;
    padding-top: 128px;
  }
  .hero-copy {
    width: 100%;
  }
  .hero-photo {
    object-position: center;
  }
  .hero-photo-shade {
    background:
      linear-gradient(90deg, rgba(3,13,22,.90) 0%, rgba(3,13,22,.70) 100%),
      linear-gradient(180deg, rgba(3,13,22,.48) 0%, rgba(3,13,22,.22) 38%, rgba(3,13,22,.90) 100%);
  }
  .capability-bar {
    margin-top: 76px;
  }
}

/* Update: full hero photo, darker text gradient, and frameless top logo */
.site-header #brand-mark,
.site-header #brand-mark.has-image {
  flex: 0 0 54px;
  width: 54px;
  min-width: 54px;
  max-width: 54px;
  height: 54px;
  min-height: 54px;
  max-height: 54px;
  padding: 0;
  border: 0 !important;
  border-radius: 0 !important;
  outline: 0;
  background: transparent !important;
  box-shadow: none !important;
}
.site-header #brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  background: transparent;
}
.hero.has-photo .hero-photo-shade {
  background:
    linear-gradient(90deg,
      rgba(2, 10, 18, .98) 0%,
      rgba(2, 10, 18, .94) 25%,
      rgba(2, 10, 18, .84) 43%,
      rgba(2, 10, 18, .62) 58%,
      rgba(2, 10, 18, .28) 76%,
      rgba(2, 10, 18, .14) 100%),
    linear-gradient(180deg,
      rgba(2, 10, 18, .52) 0%,
      rgba(2, 10, 18, .10) 43%,
      rgba(2, 10, 18, .86) 100%);
}
.hero-copy {
  position: relative;
}
.hero-copy::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: -70px -130px -75px -80px;
  background: radial-gradient(ellipse at 25% 48%, rgba(2, 10, 18, .58) 0%, rgba(2, 10, 18, .30) 46%, transparent 74%);
  filter: blur(8px);
  pointer-events: none;
}
.hero h1,
.hero-copy > p,
.hero .eyebrow,
.hero .trust-strip {
  text-shadow: 0 4px 24px rgba(0, 0, 0, .56);
}

@media (max-width: 1020px) {
  .hero.has-photo .hero-photo-shade {
    background:
      linear-gradient(90deg, rgba(2,10,18,.97) 0%, rgba(2,10,18,.88) 44%, rgba(2,10,18,.48) 75%, rgba(2,10,18,.24) 100%),
      linear-gradient(180deg, rgba(2,10,18,.50) 0%, rgba(2,10,18,.13) 43%, rgba(2,10,18,.88) 100%);
  }
}

@media (max-width: 620px) {
  .site-header #brand-mark,
  .site-header #brand-mark.has-image {
    flex-basis: 46px;
    width: 46px;
    min-width: 46px;
    max-width: 46px;
    height: 46px;
    min-height: 46px;
    max-height: 46px;
  }
  .hero.has-photo .hero-photo-shade {
    background:
      linear-gradient(90deg, rgba(2,10,18,.94) 0%, rgba(2,10,18,.77) 100%),
      linear-gradient(180deg, rgba(2,10,18,.55) 0%, rgba(2,10,18,.18) 35%, rgba(2,10,18,.92) 100%);
  }
  .hero-copy::before {
    inset: -45px -30px -55px -30px;
  }
}

/* Update: dark gradient under service, product, and partnership pop-ups */
.content-dialog {
  background: #06131f;
  color: #fff;
}
.dialog-visual {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.dialog-visual::after {
  content: "";
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  height: 118px;
  background: linear-gradient(180deg, rgba(6, 19, 31, 0) 0%, rgba(6, 19, 31, .88) 72%, #06131f 100%);
  pointer-events: none;
}
.dialog-visual img {
  position: relative;
  z-index: 1;
}
.dialog-body {
  position: relative;
  z-index: 3;
  margin-top: -72px;
  padding-top: 94px;
  color: #fff;
  background: linear-gradient(180deg, rgba(6, 19, 31, 0) 0%, rgba(6, 19, 31, .97) 58px, #06131f 100%);
}
.dialog-body h2 { color: #fff; }
.dialog-body p {
  color: rgba(255, 255, 255, .74);
  line-height: 1.75;
}
.dialog-body .card-category { color: var(--teal-300); }
.dialog-features span {
  border: 1px solid rgba(127, 232, 223, .18);
  color: rgba(255, 255, 255, .82);
  background: rgba(46, 211, 198, .1);
}
.dialog-link {
  box-shadow: 0 12px 30px rgba(46, 211, 198, .18);
}

@media (max-width: 620px) {
  .content-dialog { border-radius: 18px; }
  .dialog-visual { height: 215px; }
  .dialog-body { margin-top: -60px; padding: 80px 23px 27px; }
  .dialog-body h2 { font-size: 25px; }
}

/* Update: admin-controlled public website themes */
:root {
  --theme-primary: #071b2b;
  --theme-secondary: #123c55;
  --theme-accent: #1ba7a1;
  --theme-background: #f4f7f8;
  --theme-surface: #ffffff;
  --theme-text: #10212d;
}
html[data-site-theme] body { color: var(--theme-text); background: var(--theme-surface); }
html[data-site-theme] .hero {
  background:
    radial-gradient(circle at 72% 28%, color-mix(in srgb, var(--theme-accent) 23%, transparent), transparent 31%),
    linear-gradient(135deg, var(--theme-primary) 0%, color-mix(in srgb, var(--theme-primary) 73%, var(--theme-secondary)) 58%, var(--theme-secondary) 100%);
}
html[data-site-theme] .site-header.scrolled { background: color-mix(in srgb, var(--theme-primary) 94%, transparent); }
html[data-site-theme] .intro-section,
html[data-site-theme] .process-section,
html[data-site-theme] .contact-section { background: var(--theme-background); }
html[data-site-theme] .discipline-grid,
html[data-site-theme] .product-card,
html[data-site-theme] .contact-form { color: var(--theme-text); background: var(--theme-surface); }
html[data-site-theme] .discipline-grid,
html[data-site-theme] .discipline-grid article,
html[data-site-theme] .product-card,
html[data-site-theme] .contact-form,
html[data-site-theme] .contact-form input,
html[data-site-theme] .contact-form select,
html[data-site-theme] .contact-form textarea {
  border-color: color-mix(in srgb, var(--theme-text) 16%, transparent);
}
html[data-site-theme] .contact-form input,
html[data-site-theme] .contact-form select,
html[data-site-theme] .contact-form textarea {
  color: var(--theme-text);
  background: color-mix(in srgb, var(--theme-surface) 90%, var(--theme-background));
}
html[data-site-theme] .split-heading > p,
html[data-site-theme] .section-header.row > p,
html[data-site-theme] .product-body p,
html[data-site-theme] .about-copy > p,
html[data-site-theme] .contact-info > p,
html[data-site-theme] .contact-items small { color: color-mix(in srgb, var(--theme-text) 62%, transparent); }
html[data-site-theme] .section-kicker,
html[data-site-theme] .eyebrow,
html[data-site-theme] .card-link,
html[data-site-theme] .product-monogram,
html[data-site-theme] .contact-items > div > span { color: var(--theme-accent); }
html[data-site-theme] .button-primary { color: var(--theme-primary); background: var(--theme-accent); }
html[data-site-theme] .button-primary:hover { background: color-mix(in srgb, var(--theme-accent) 82%, white); }
html[data-site-theme] .section-dark,
html[data-site-theme] .site-footer { background: var(--theme-primary); }
html[data-site-theme] .partnership-section,
html[data-site-theme] .cta-card,
html[data-site-theme] .main-panel { background: linear-gradient(125deg, var(--theme-primary), var(--theme-secondary)); }
html[data-site-theme] .small-panel { color: var(--theme-primary); background: var(--theme-accent); }
html[data-site-theme] .vision-box { border-color: var(--theme-accent); background: var(--theme-background); }
html[data-site-theme] .process-line span { background: var(--theme-secondary); }
html[data-site-theme] .content-dialog { background: var(--theme-primary); }
html[data-site-theme] .dialog-body {
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-primary) 97%, transparent) 58px, var(--theme-primary) 100%);
}
html[data-site-theme] .dialog-visual::after {
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-primary) 88%, transparent) 72%, var(--theme-primary) 100%);
}
html[data-site-theme] .dialog-body .card-category { color: var(--theme-accent); }
html[data-site-theme] .dialog-features span { border-color: color-mix(in srgb, var(--theme-accent) 28%, transparent); background: color-mix(in srgb, var(--theme-accent) 12%, transparent); }

/* Technology: dark interface with terminal-like precision */
html[data-site-theme="technology"] { color-scheme: dark; --radius-lg: 5px; --radius-md: 4px; --radius-sm: 3px; }
html[data-site-theme="technology"] body { font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace; background: var(--theme-background); }
html[data-site-theme="technology"] .section:not(.section-dark):not(.partnership-section),
html[data-site-theme="technology"] .about-section,
html[data-site-theme="technology"] .cta-section { color: var(--theme-text); background: var(--theme-background); }
html[data-site-theme="technology"] .discipline-grid,
html[data-site-theme="technology"] .product-card,
html[data-site-theme="technology"] .contact-form { box-shadow: 0 0 0 1px color-mix(in srgb, var(--theme-accent) 13%, transparent); }
html[data-site-theme="technology"] .discipline-grid article:hover { background: color-mix(in srgb, var(--theme-accent) 7%, var(--theme-surface)); }
html[data-site-theme="technology"] .product-visual { background: linear-gradient(145deg, var(--theme-secondary), var(--theme-primary)); }
html[data-site-theme="technology"] .product-status { color: var(--theme-accent); background: var(--theme-primary); }
html[data-site-theme="technology"] .mission-block li::before,
html[data-site-theme="technology"] .contact-items > div > span { background: color-mix(in srgb, var(--theme-accent) 12%, var(--theme-surface)); }
html[data-site-theme="technology"] .button,
html[data-site-theme="technology"] .product-card,
html[data-site-theme="technology"] .contact-form,
html[data-site-theme="technology"] .discipline-grid { border-radius: 3px; }
html[data-site-theme="technology"] .section-kicker::before { content: "> "; }

/* Minimal: low decoration and open whitespace */
html[data-site-theme="minimal"] { --radius-lg: 10px; --radius-md: 8px; --radius-sm: 6px; --shadow: none; }
html[data-site-theme="minimal"] .hero { background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); }
html[data-site-theme="minimal"] .hero-grid-bg,
html[data-site-theme="minimal"] .hero::before { display: none; }
html[data-site-theme="minimal"] .discipline-grid,
html[data-site-theme="minimal"] .product-card,
html[data-site-theme="minimal"] .contact-form,
html[data-site-theme="minimal"] .cta-card { box-shadow: none; }
html[data-site-theme="minimal"] .button,
html[data-site-theme="minimal"] .nav-cta { border-radius: 7px; }

/* Eco: warm, organic, and environmental */
html[data-site-theme="eco"] { --radius-lg: 34px; --radius-md: 22px; --radius-sm: 15px; }
html[data-site-theme="eco"] .hero { background: radial-gradient(circle at 80% 20%, color-mix(in srgb, var(--theme-accent) 18%, transparent), transparent 30%), linear-gradient(145deg, var(--theme-primary), var(--theme-secondary)); }
html[data-site-theme="eco"] .discipline-grid,
html[data-site-theme="eco"] .product-card,
html[data-site-theme="eco"] .contact-form { box-shadow: 0 20px 60px color-mix(in srgb, var(--theme-primary) 10%, transparent); }
html[data-site-theme="eco"] .button { border-radius: 999px; }
html[data-site-theme="eco"] .product-visual { background: linear-gradient(145deg, color-mix(in srgb, var(--theme-accent) 12%, var(--theme-background)), color-mix(in srgb, var(--theme-secondary) 12%, var(--theme-surface))); }

/* Brutalism: square borders, strong contrast, hard shadows */
html[data-site-theme="brutalism"] { --radius-lg: 0px; --radius-md: 0px; --radius-sm: 0px; --shadow: 8px 8px 0 var(--theme-text); }
html[data-site-theme="brutalism"] body { font-family: Arial, Helvetica, sans-serif; }
html[data-site-theme="brutalism"] .hero { background: var(--theme-primary); }
html[data-site-theme="brutalism"] .hero-grid-bg { opacity: .35; }
html[data-site-theme="brutalism"] .discipline-grid,
html[data-site-theme="brutalism"] .product-card,
html[data-site-theme="brutalism"] .contact-form,
html[data-site-theme="brutalism"] .cta-card,
html[data-site-theme="brutalism"] .service-card { border: 3px solid var(--theme-text); border-radius: 0; box-shadow: 8px 8px 0 var(--theme-text); }
html[data-site-theme="brutalism"] .section-dark .service-card { border-color: var(--theme-accent); box-shadow: 8px 8px 0 var(--theme-accent); }
html[data-site-theme="brutalism"] .button,
html[data-site-theme="brutalism"] .nav-cta,
html[data-site-theme="brutalism"] .product-status,
html[data-site-theme="brutalism"] .contact-form input,
html[data-site-theme="brutalism"] .contact-form select,
html[data-site-theme="brutalism"] .contact-form textarea { border: 2px solid var(--theme-text); border-radius: 0; }
html[data-site-theme="brutalism"] .button-primary { box-shadow: 4px 4px 0 var(--theme-text); }
html[data-site-theme="brutalism"] .section-kicker { padding: 4px 8px; color: var(--theme-primary); background: var(--theme-accent); }

/* =====================================================
   MENU VISIBILITY, NEWS, AND RESEARCH
   ===================================================== */
[data-menu-link][hidden],
[data-menu-section][hidden] { display: none !important; }

.news-section { background: var(--surface); }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.news-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--white);
  box-shadow: 0 16px 48px rgba(5, 27, 42, .07);
  transition: transform .25s ease, box-shadow .25s ease;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.news-visual {
  display: grid;
  place-items: center;
  height: 210px;
  overflow: hidden;
  color: var(--teal-300);
  background: linear-gradient(145deg, var(--navy-800), var(--navy-950));
}
.news-visual img { width: 100%; height: 100%; object-fit: cover; }
.news-monogram { font-size: 3rem; font-weight: 800; letter-spacing: -.05em; }
.news-body { display: flex; flex-direction: column; min-height: 265px; padding: 25px; }
.news-body h3 { margin: 12px 0 10px; font-size: 1.25rem; line-height: 1.35; }
.news-body > p { margin: 0 0 22px; color: var(--muted); line-height: 1.75; }
.news-body .card-link { margin-top: auto; }
.content-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 12px; color: var(--muted); font-size: .78rem; }
.content-meta > span { color: var(--teal-500); font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.content-meta time, .content-meta b { font-weight: 600; color: inherit; }

.research-section { color: #fff; background: linear-gradient(135deg, var(--navy-950), var(--navy-800)); }
.research-section .section-header.row > p { color: rgba(255,255,255,.68); }
.research-list { display: grid; gap: 15px; margin-top: 48px; }
.research-card {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  padding: 24px 26px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  background: rgba(255,255,255,.055);
  transition: border-color .22s ease, transform .22s ease, background .22s ease;
}
.research-card:hover { transform: translateX(5px); border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.085); }
.research-index { color: var(--teal-300); font-size: 1.1rem; font-weight: 800; font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; }
.research-copy { min-width: 0; }
.research-copy h3 { margin: 8px 0 6px; font-size: 1.2rem; line-height: 1.4; }
.research-copy > p { margin: 10px 0 0; color: rgba(255,255,255,.68); line-height: 1.7; }
.research-copy small { display: block; margin-top: 5px; color: rgba(255,255,255,.55); line-height: 1.55; }
.research-authors { margin: 0 !important; color: rgba(255,255,255,.86) !important; font-weight: 650; }
.research-action { min-width: 155px; text-align: right; }
.research-action .card-link { justify-content: flex-end; color: var(--teal-300); }
.dialog-publication-meta { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 18px; }
.dialog-publication-meta span { padding: 7px 10px; border: 1px solid rgba(255,255,255,.14); border-radius: 999px; color: rgba(255,255,255,.75); background: rgba(255,255,255,.06); font-size: .78rem; }

html[data-site-theme] .news-section { background: var(--theme-background); }
html[data-site-theme] .news-card { color: var(--theme-text); border-color: color-mix(in srgb, var(--theme-text) 16%, transparent); background: var(--theme-surface); }
html[data-site-theme] .news-body > p,
html[data-site-theme] .content-meta { color: color-mix(in srgb, var(--theme-text) 62%, transparent); }
html[data-site-theme] .content-meta > span,
html[data-site-theme] .news-monogram { color: var(--theme-accent); }
html[data-site-theme] .news-visual { background: linear-gradient(145deg, var(--theme-secondary), var(--theme-primary)); }
html[data-site-theme] .research-section { background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); }
html[data-site-theme] .research-index,
html[data-site-theme] .research-action .card-link { color: var(--theme-accent); }
html[data-site-theme="technology"] .news-card,
html[data-site-theme="technology"] .research-card { border-radius: 3px; }
html[data-site-theme="minimal"] .news-card { box-shadow: none; }
html[data-site-theme="eco"] .news-card,
html[data-site-theme="eco"] .research-card { border-radius: 28px; }
html[data-site-theme="brutalism"] .news-card,
html[data-site-theme="brutalism"] .research-card { border: 3px solid var(--theme-text); border-radius: 0; box-shadow: 8px 8px 0 var(--theme-text); }
html[data-site-theme="brutalism"] .research-card { border-color: var(--theme-accent); box-shadow: 8px 8px 0 var(--theme-accent); }

@media (max-width: 1020px) {
  .news-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .research-card { grid-template-columns: 48px minmax(0, 1fr); }
  .research-action { grid-column: 2; text-align: left; }
  .research-action .card-link { justify-content: flex-start; }
}
@media (max-width: 620px) {
  .news-grid { grid-template-columns: 1fr; gap: 18px; }
  .research-card { grid-template-columns: 1fr; gap: 10px; padding: 22px; }
  .research-action { grid-column: auto; min-width: 0; }
  .research-index { font-size: .9rem; }
}

/* =====================================================
   UPDATE: expanded collision-safe public theme system
   ===================================================== */
:root {
  --theme-primary: #0B1F33;
  --theme-secondary: #17486B;
  --theme-accent: #14B8A6;
  --theme-background: #F3F7FA;
  --theme-surface: #FFFFFF;
  --theme-text: #14202B;
  --theme-background-text: #14202B;
  --theme-on-primary: #FFFFFF;
  --theme-on-secondary: #FFFFFF;
  --theme-on-accent: #111827;
  --theme-accent-ink: #0F766E;
  --theme-muted: #64748B;
  --theme-border: #D8E1E8;
  --theme-surface-alt: #F7FAFC;
}

html[data-site-theme] { color-scheme: light; }
html[data-site-mode="dark"] { color-scheme: dark; }
html[data-site-theme] body {
  color: var(--theme-background-text);
  background: var(--theme-background);
}
html[data-site-theme] .section:not(.section-dark):not(.partnership-section):not(.research-section),
html[data-site-theme] .about-section,
html[data-site-theme] .cta-section,
html[data-site-theme] .news-section {
  color: var(--theme-background-text);
  background-color: var(--theme-background);
}
html[data-site-theme] .intro-section,
html[data-site-theme] .process-section,
html[data-site-theme] .contact-section { background: var(--theme-background); }

html[data-site-theme] .discipline-grid,
html[data-site-theme] .product-card,
html[data-site-theme] .news-card,
html[data-site-theme] .contact-form {
  color: var(--theme-text);
  border-color: var(--theme-border);
  background: var(--theme-surface);
}
html[data-site-theme] .discipline-grid article,
html[data-site-theme] .contact-form input,
html[data-site-theme] .contact-form select,
html[data-site-theme] .contact-form textarea { border-color: var(--theme-border); }
html[data-site-theme] .discipline-grid article:hover,
html[data-site-theme] .contact-form input,
html[data-site-theme] .contact-form select,
html[data-site-theme] .contact-form textarea,
html[data-site-theme] .vision-box { background: var(--theme-surface-alt); }
html[data-site-theme] .contact-form input,
html[data-site-theme] .contact-form select,
html[data-site-theme] .contact-form textarea { color: var(--theme-text); }

html[data-site-theme] .split-heading > p,
html[data-site-theme] .section-header.row > p,
html[data-site-theme] .discipline-grid p,
html[data-site-theme] .product-body p,
html[data-site-theme] .news-body > p,
html[data-site-theme] .content-meta,
html[data-site-theme] .about-copy > p,
html[data-site-theme] .contact-info > p,
html[data-site-theme] .contact-items small { color: var(--theme-muted); }

html[data-site-theme] .section-kicker,
html[data-site-theme] .card-link,
html[data-site-theme] .product-monogram,
html[data-site-theme] .content-meta > span,
html[data-site-theme] .news-monogram,
html[data-site-theme] .contact-items > div > span { color: var(--theme-accent-ink); }
html[data-site-theme] .contact-items > div > span,
html[data-site-theme] .mission-block li::before {
  color: var(--theme-accent-ink);
  background: color-mix(in srgb, var(--theme-accent) 12%, var(--theme-surface));
}

html[data-site-theme] .button-primary {
  color: var(--theme-on-accent);
  background: var(--theme-accent);
}
html[data-site-theme] .button-primary:hover {
  color: var(--theme-on-accent);
  background: color-mix(in srgb, var(--theme-accent) 86%, var(--theme-on-accent));
}
html[data-site-theme] .button-light {
  color: var(--theme-text);
  background: var(--theme-surface);
}
html[data-site-theme] .product-status {
  color: var(--theme-accent-ink);
  background: color-mix(in srgb, var(--theme-surface) 92%, transparent);
}
html[data-site-theme] .small-panel {
  color: var(--theme-on-accent);
  background: var(--theme-accent);
}

html[data-site-theme] .section-dark,
html[data-site-theme] .partnership-section,
html[data-site-theme] .research-section,
html[data-site-theme] .site-footer,
html[data-site-theme] .main-panel,
html[data-site-theme] .cta-card,
html[data-site-theme] .content-dialog {
  color: var(--theme-on-primary);
}
html[data-site-theme] .section-dark,
html[data-site-theme] .site-footer { background: var(--theme-primary); }
html[data-site-theme] .partnership-section,
html[data-site-theme] .research-section,
html[data-site-theme] .main-panel,
html[data-site-theme] .cta-card {
  background: linear-gradient(125deg, var(--theme-primary), var(--theme-secondary));
}
html[data-site-theme] .section-dark h2,
html[data-site-theme] .section-dark h3,
html[data-site-theme] .partnership-section h2,
html[data-site-theme] .partnership-section h3,
html[data-site-theme] .research-section h2,
html[data-site-theme] .research-section h3,
html[data-site-theme] .site-footer h3,
html[data-site-theme] .main-panel h3,
html[data-site-theme] .cta-card h2 { color: var(--theme-on-primary); }
html[data-site-theme] .section-dark .section-kicker,
html[data-site-theme] .section-dark .card-link,
html[data-site-theme] .partnership-section .card-link,
html[data-site-theme] .research-index,
html[data-site-theme] .research-action .card-link { color: var(--theme-accent); }
html[data-site-theme] .section-dark p,
html[data-site-theme] .partnership-section p,
html[data-site-theme] .research-section .section-header.row > p,
html[data-site-theme] .research-copy > p,
html[data-site-theme] .research-copy small,
html[data-site-theme] .site-footer p,
html[data-site-theme] .site-footer span,
html[data-site-theme] .site-footer a {
  color: color-mix(in srgb, var(--theme-on-primary) 72%, transparent);
}
html[data-site-theme] .research-authors { color: color-mix(in srgb, var(--theme-on-primary) 90%, transparent) !important; }
html[data-site-theme] .research-card,
html[data-site-theme] .service-card {
  border-color: color-mix(in srgb, var(--theme-on-primary) 16%, transparent);
  background: color-mix(in srgb, var(--theme-on-primary) 6%, transparent);
}

/* Hero selalu memakai teks putih karena foto memiliki overlay gelap. */
html[data-site-theme] .hero,
html[data-site-theme] .hero h1,
html[data-site-theme] .hero .eyebrow,
html[data-site-theme] .hero-copy > p,
html[data-site-theme] .hero .trust-strip,
html[data-site-theme] .site-header,
html[data-site-theme] .main-nav a { color: #FFFFFF; }
html[data-site-theme] .hero .eyebrow,
html[data-site-theme] .hero .trust-strip strong { color: color-mix(in srgb, var(--theme-accent) 78%, #FFFFFF); }
html[data-site-theme] .site-header.scrolled { background: color-mix(in srgb, var(--theme-primary) 94%, transparent); }
html[data-site-theme] .main-nav a:not(.nav-cta)::after { background: var(--theme-accent); }
html[data-site-theme] .main-nav .nav-cta { color: #FFFFFF; border-color: color-mix(in srgb, var(--theme-accent) 55%, transparent); }
html[data-site-theme] .language-switch button.active { color: var(--theme-on-accent); background: var(--theme-accent); }

html[data-site-theme] .content-dialog { background: var(--theme-primary); }
html[data-site-theme] .dialog-body,
html[data-site-theme] .dialog-body h2 { color: var(--theme-on-primary); }
html[data-site-theme] .dialog-body p { color: color-mix(in srgb, var(--theme-on-primary) 74%, transparent); }
html[data-site-theme] .dialog-body .card-category { color: var(--theme-accent); }
html[data-site-theme] .dialog-features span {
  color: color-mix(in srgb, var(--theme-on-primary) 88%, transparent);
  border-color: color-mix(in srgb, var(--theme-accent) 34%, transparent);
  background: color-mix(in srgb, var(--theme-accent) 13%, transparent);
}
html[data-site-theme] .dialog-body {
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-primary) 97%, transparent) 58px, var(--theme-primary) 100%);
}
html[data-site-theme] .dialog-visual::after {
  background: linear-gradient(180deg, transparent 0%, color-mix(in srgb, var(--theme-primary) 88%, transparent) 72%, var(--theme-primary) 100%);
}

/* Theme personalities */
html[data-site-theme="ocean"] { --radius-lg: 30px; --radius-md: 19px; --radius-sm: 12px; }
html[data-site-theme="ocean"] .hero { background: linear-gradient(135deg, var(--theme-primary), var(--theme-secondary)); }
html[data-site-theme="ocean"] .product-card,
html[data-site-theme="ocean"] .news-card { box-shadow: 0 20px 58px color-mix(in srgb, var(--theme-primary) 10%, transparent); }

html[data-site-theme="technology"] { --radius-lg: 5px; --radius-md: 4px; --radius-sm: 3px; }
html[data-site-theme="technology"] body { font-family: "Cascadia Code", "JetBrains Mono", Consolas, monospace; }
html[data-site-theme="technology"] .section-kicker::before { content: "> "; }
html[data-site-theme="technology"] .discipline-grid,
html[data-site-theme="technology"] .product-card,
html[data-site-theme="technology"] .news-card,
html[data-site-theme="technology"] .contact-form { box-shadow: 0 0 0 1px color-mix(in srgb, var(--theme-accent) 20%, transparent); }

html[data-site-theme="midnight"] { --radius-lg: 24px; --radius-md: 16px; --radius-sm: 10px; }
html[data-site-theme="midnight"] .product-card,
html[data-site-theme="midnight"] .news-card,
html[data-site-theme="midnight"] .contact-form { box-shadow: 0 24px 70px rgba(0,0,0,.28); }
html[data-site-theme="midnight"] .discipline-grid,
html[data-site-theme="midnight"] .research-card { backdrop-filter: blur(12px); }

html[data-site-theme="minimal"] { --radius-lg: 10px; --radius-md: 8px; --radius-sm: 6px; --shadow: none; }
html[data-site-theme="minimal"] .hero-grid-bg,
html[data-site-theme="minimal"] .hero::before { display: none; }
html[data-site-theme="minimal"] .discipline-grid,
html[data-site-theme="minimal"] .product-card,
html[data-site-theme="minimal"] .news-card,
html[data-site-theme="minimal"] .contact-form,
html[data-site-theme="minimal"] .cta-card { box-shadow: none; }

html[data-site-theme="editorial"] h1,
html[data-site-theme="editorial"] h2,
html[data-site-theme="editorial"] h3,
html[data-site-theme="luxury"] h1,
html[data-site-theme="luxury"] h2,
html[data-site-theme="luxury"] h3 { font-family: Georgia, "Times New Roman", serif; letter-spacing: -.025em; }
html[data-site-theme="editorial"] .section-kicker { letter-spacing: .2em; }

html[data-site-theme="eco"] { --radius-lg: 34px; --radius-md: 22px; --radius-sm: 15px; }
html[data-site-theme="eco"] .button,
html[data-site-theme="eco"] .nav-cta { border-radius: 999px; }
html[data-site-theme="eco"] .product-card,
html[data-site-theme="eco"] .news-card,
html[data-site-theme="eco"] .research-card { border-radius: 28px; }

html[data-site-theme="earth"] { --radius-lg: 26px; --radius-md: 17px; --radius-sm: 11px; }
html[data-site-theme="earth"] .discipline-grid article:hover { background: color-mix(in srgb, var(--theme-accent) 8%, var(--theme-surface)); }
html[data-site-theme="earth"] .button { border-radius: 10px 22px 10px 22px; }

html[data-site-theme="industrial"] { --radius-lg: 8px; --radius-md: 6px; --radius-sm: 4px; }
html[data-site-theme="industrial"] .discipline-grid,
html[data-site-theme="industrial"] .product-card,
html[data-site-theme="industrial"] .news-card,
html[data-site-theme="industrial"] .contact-form { border-width: 2px; box-shadow: 0 10px 0 color-mix(in srgb, var(--theme-primary) 10%, transparent); }
html[data-site-theme="industrial"] .button { border-radius: 5px; }

html[data-site-theme="arctic"] { --radius-lg: 28px; --radius-md: 18px; --radius-sm: 12px; }
html[data-site-theme="arctic"] .product-card,
html[data-site-theme="arctic"] .news-card,
html[data-site-theme="arctic"] .contact-form {
  border-color: color-mix(in srgb, var(--theme-accent) 22%, var(--theme-border));
  box-shadow: 0 18px 55px color-mix(in srgb, var(--theme-secondary) 10%, transparent);
}

html[data-site-theme="luxury"] { --radius-lg: 18px; --radius-md: 12px; --radius-sm: 8px; }
html[data-site-theme="luxury"] .section-kicker,
html[data-site-theme="luxury"] .card-link { letter-spacing: .14em; text-transform: uppercase; }
html[data-site-theme="luxury"] .product-card,
html[data-site-theme="luxury"] .news-card { box-shadow: 0 24px 80px rgba(0,0,0,.34); }

html[data-site-theme="brutalism"] { --radius-lg: 0px; --radius-md: 0px; --radius-sm: 0px; --shadow: 8px 8px 0 var(--theme-text); }
html[data-site-theme="brutalism"] body { font-family: Arial, Helvetica, sans-serif; }
html[data-site-theme="brutalism"] .discipline-grid,
html[data-site-theme="brutalism"] .product-card,
html[data-site-theme="brutalism"] .news-card,
html[data-site-theme="brutalism"] .contact-form,
html[data-site-theme="brutalism"] .cta-card,
html[data-site-theme="brutalism"] .service-card,
html[data-site-theme="brutalism"] .research-card {
  border: 3px solid currentColor;
  border-radius: 0;
  box-shadow: 8px 8px 0 currentColor;
}
html[data-site-theme="brutalism"] .button,
html[data-site-theme="brutalism"] .nav-cta,
html[data-site-theme="brutalism"] input,
html[data-site-theme="brutalism"] select,
html[data-site-theme="brutalism"] textarea { border-width: 2px; border-radius: 0; }
html[data-site-theme="brutalism"] .section-kicker { padding: 4px 8px; color: var(--theme-on-accent); background: var(--theme-accent); }

/* Final contrast guards for mixed surfaces */
:root { --theme-on-gradient: #FFFFFF; }
html[data-site-theme] .product-visual {
  color: var(--theme-accent-ink);
  background: linear-gradient(145deg, var(--theme-surface-alt), var(--theme-background));
}
html[data-site-theme] .news-visual {
  color: var(--theme-accent);
  background: linear-gradient(145deg, var(--theme-secondary), var(--theme-primary));
}
html[data-site-theme] .partnership-section,
html[data-site-theme] .research-section,
html[data-site-theme] .main-panel,
html[data-site-theme] .cta-card { color: var(--theme-on-gradient); }
html[data-site-theme] .partnership-section h2,
html[data-site-theme] .partnership-section h3,
html[data-site-theme] .research-section h2,
html[data-site-theme] .research-section h3,
html[data-site-theme] .main-panel h3,
html[data-site-theme] .cta-card h2 { color: var(--theme-on-gradient); }
html[data-site-theme] .site-header.scrolled,
html[data-site-theme] .site-header.scrolled .main-nav a,
html[data-site-theme] .site-header.scrolled .brand-copy strong,
html[data-site-theme] .site-header.scrolled .brand-copy small { color: var(--theme-on-primary); }
html[data-site-theme] .site-header.scrolled .nav-toggle span { background: var(--theme-on-primary); }
