:root {
  --black: #111111;
  --graphite: #353535;
  --cobalt: #1848ff;
  --cobalt-dark: #1031b8;
  --lime: #c8ff32;
  --violet: #eae7ff;
  --sky: #dff3ff;
  --paper: #ffffff;
  --soft: #f4f4f1;
  --line: #c8c8c2;
  --shell: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--black); background: var(--paper); font-family: Arial, Helvetica, sans-serif; line-height: 1.55; letter-spacing: 0; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 1000; padding: 10px 14px; color: #fff; background: var(--cobalt); }
.skip-link:focus { top: 20px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,.97); border-bottom: 2px solid var(--black); }
.nav { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 28px; min-height: 82px; }
.brand { display: inline-flex; min-width: 0; text-decoration: none; }
.brand-logo { width: 292px; max-width: 48vw; height: auto; }
.nav-links { display: flex; justify-content: flex-end; align-items: center; gap: 3px; }
.nav-links a { padding: 12px 11px; font-size: .9rem; font-weight: 800; text-decoration: none; text-transform: uppercase; }
.nav-links a:hover, .nav-links a.is-active { color: var(--cobalt); background: var(--lime); }
.nav-toggle { display: none; width: 46px; height: 46px; padding: 10px; background: var(--lime); border: 2px solid var(--black); }
.nav-toggle span:not(.sr-only) { display: block; width: 100%; height: 2px; margin: 5px 0; background: var(--black); }
.nav-cta, .button { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 13px 19px; border: 2px solid var(--black); border-radius: 0; font-weight: 900; line-height: 1.1; text-align: center; text-decoration: none; cursor: pointer; transition: transform .14s ease, box-shadow .14s ease, background-color .14s ease; }
.nav-cta { color: var(--lime); background: var(--black); }
.button-primary { color: #fff; background: var(--cobalt); border-color: var(--cobalt); box-shadow: 7px 7px 0 var(--black); }
.button-secondary { color: var(--black); background: var(--lime); }
.button-dark { color: var(--black); background: var(--lime); border-color: var(--black); }
.button:hover, .nav-cta:hover { transform: translate(-2px,-2px); box-shadow: 6px 6px 0 var(--black); }

.hero { position: relative; display: grid; align-items: center; min-height: min(700px, calc(100vh - 100px)); overflow: hidden; color: #fff; background: var(--cobalt); }
.hero-media, .hero-overlay { position: absolute; inset: 0; }
.hero-media { background: url("../img/deeconcept-hero-v2.png") center/cover no-repeat; }
.hero-overlay { background: linear-gradient(90deg, rgba(24,72,255,0) 0%, rgba(24,72,255,.1) 42%, rgba(24,72,255,.88) 61%, rgba(24,72,255,.98) 100%); }
.hero-content { position: relative; z-index: 1; display: flex; justify-content: flex-end; padding: 88px 0; }
.hero-copy { width: min(51%, 650px); padding-left: 44px; border-left: 8px solid var(--lime); }
.eyebrow { margin: 0 0 14px; color: var(--cobalt); font-size: .78rem; font-weight: 900; text-transform: uppercase; }
.hero .eyebrow { color: var(--lime); }
.hero h1, .page-hero h1 { margin: 0; font-size: 4.8rem; font-weight: 900; line-height: .92; }
.hero h1 { color: #fff; }
.hero-lede { margin: 26px 0 0; color: rgba(255,255,255,.9); font-size: 1.16rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-tags { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin-top: 34px; padding-top: 22px; border-top: 2px solid rgba(255,255,255,.45); color: #fff; font-size: .84rem; font-weight: 900; text-transform: uppercase; }
.hero-tags span::before { margin-right: 8px; color: var(--lime); content: "↗"; }

.trust-band { color: var(--black); background: var(--lime); border-top: 2px solid var(--black); border-bottom: 2px solid var(--black); }
.trust-grid { display: grid; grid-template-columns: .8fr repeat(3,1fr); }
.trust-grid > * { min-height: 132px; padding: 26px; border-right: 2px solid var(--black); }
.trust-grid > *:last-child { border-right: 0; }
.trust-intro { display: flex; align-items: center; font-size: .76rem; font-weight: 900; text-transform: uppercase; }
.trust-grid strong, .trust-grid span { display: block; }
.trust-grid strong { font-size: 1.06rem; }
.trust-grid span { margin-top: 7px; color: var(--graphite); font-size: .89rem; }

.section { padding: 104px 0; }
.section-soft { background: var(--soft); }
.section-dark { color: var(--black); background: var(--sky); border-block: 2px solid var(--black); }
.section-accent { background: var(--lime); border-block: 2px solid var(--black); }
.section-heading { max-width: 760px; margin-bottom: 48px; }
.section-heading.wide { max-width: 900px; }
.section-heading h2, .split-copy h2, .cta-copy h2, .form-intro h2, .contact-card h2 { margin: 0; color: var(--black); font-size: 3rem; font-weight: 900; line-height: 1; }
.section-heading p, .split-copy p, .cta-copy p, .form-intro p, .contact-card p { color: var(--graphite); font-size: 1.04rem; }
.section-dark .section-heading h2, .section-dark .split-copy h2, .section-dark .eyebrow { color: var(--black); }
.section-dark .section-heading p, .section-dark .split-copy p { color: var(--graphite); }
.split { display: grid; grid-template-columns: .85fr 1.15fr; gap: 80px; align-items: start; }

.capability-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0 48px; border-top: 4px solid var(--black); }
.capability-card, .product-card, .role-card, .contact-card, .quote-option, .lead-form { border-radius: 0; background: #fff; }
.capability-card { position: relative; min-height: 230px; padding: 30px 0 34px 84px; border-bottom: 1px solid var(--line); }
.capability-card::before { position: absolute; top: 30px; left: 0; width: 58px; height: 58px; background: var(--lime); border: 2px solid var(--black); content: ""; }
.capability-card:nth-child(2n)::before { background: var(--violet); }
.capability-card:nth-child(3n)::before { background: var(--sky); }
.card-number { position: relative; z-index: 1; display: block; color: var(--cobalt); font-size: .76rem; font-weight: 900; }
.capability-card h3, .product-card h3, .role-card h3, .quote-option h3 { margin: 28px 0 10px; font-size: 1.4rem; line-height: 1.12; }
.capability-card p, .product-card p, .role-card p, .quote-option p { margin: 0; color: var(--graphite); }

.dual-grid { display: grid; grid-template-columns: 1fr 1fr; border: 2px solid var(--black); }
.engine { min-height: 470px; padding: 48px; background: #fff; }
.engine + .engine { background: var(--violet); border-left: 2px solid var(--black); }
.engine-label { display: inline-flex; padding: 7px 10px; color: #fff; background: var(--cobalt); font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.engine:nth-child(2) .engine-label { color: var(--black); background: var(--lime); border: 1px solid var(--black); }
.engine h3 { margin: 34px 0 16px; font-size: 2.35rem; line-height: 1; }
.engine p { color: var(--graphite); }
.plain-list { margin: 34px 0 0; padding: 0; list-style: none; }
.plain-list li { padding: 13px 0; border-top: 1px solid var(--black); font-weight: 800; }
.plain-list li::before { margin-right: 12px; color: var(--cobalt); content: "→"; }

.product-grid, .role-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.product-card { min-height: 320px; padding: 32px; color: #fff; background: var(--cobalt); border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--black); }
.product-card:nth-child(2) { color: var(--black); background: var(--lime); }
.product-card:nth-child(3) { color: var(--black); background: var(--violet); }
.product-card .tag { font-size: .72rem; font-weight: 900; text-transform: uppercase; }
.product-card h3 { margin-top: 64px; font-size: 1.8rem; }
.product-card p { color: inherit; opacity: .86; }
.product-card a { display: inline-block; margin-top: 24px; font-weight: 900; text-underline-offset: 5px; }

.process { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; counter-reset: step; }
.process article { position: relative; min-height: 220px; padding: 32px 32px 32px 108px; counter-increment: step; background: var(--soft); border: 2px solid var(--black); }
.process article::before { position: absolute; top: 28px; left: 28px; color: var(--cobalt); content: "0" counter(step); font-size: 2rem; font-weight: 900; }
.process h3 { margin: 0 0 10px; font-size: 1.35rem; }
.process p { margin: 0; color: var(--graphite); }

.cta-section { padding: 78px 0; color: #fff; background: var(--cobalt); border-block: 2px solid var(--black); }
.cta-layout { display: grid; grid-template-columns: 1fr auto; gap: 56px; align-items: center; }
.cta-copy h2 { color: #fff; }
.cta-copy p { max-width: 720px; color: rgba(255,255,255,.86); }
.section-accent .cta-copy h2, .section-accent .cta-copy p { color: var(--black); }

.page-hero { padding: 102px 0 90px; color: var(--black); background: #fff; border-bottom: 16px solid var(--cobalt); }
.page-hero-grid { display: grid; grid-template-columns: minmax(0,1.25fr) minmax(300px,.75fr); gap: 78px; align-items: end; padding-left: 36px; border-left: 10px solid var(--lime); }
.page-hero h1 { max-width: 860px; color: var(--black); font-size: 4.35rem; }
.page-hero p:last-child { margin: 0; color: var(--graphite); font-size: 1.1rem; }
.page-hero .eyebrow { color: var(--cobalt); }

.service-stack { border-top: 4px solid var(--black); }
.service-row { display: grid; grid-template-columns: 110px minmax(0,.8fr) minmax(0,1.2fr); gap: 36px; padding: 46px 0; border-bottom: 1px solid var(--black); }
.service-index { color: var(--cobalt); font-size: 1.25rem; font-weight: 900; }
.service-row h2 { margin: 0; font-size: 1.75rem; line-height: 1.1; }
.service-row p { margin: 0; color: var(--graphite); }
.service-row ul { margin: 16px 0 0; padding-left: 20px; color: var(--graphite); }

.product-detail-list { border-top: 4px solid var(--black); }
.product-detail { display: grid; grid-template-columns: .7fr 1.3fr; gap: 66px; padding: 58px 0; border-bottom: 1px solid var(--black); }
.product-detail h2 { margin: 8px 0 14px; font-size: 2.2rem; line-height: 1; }
.product-detail p { color: var(--graphite); }
.deliverables { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deliverables span { padding: 16px; background: var(--soft); border: 1px solid var(--black); font-weight: 800; }
.deliverables span:nth-child(2n) { background: var(--sky); }

.form-layout { display: grid; grid-template-columns: .72fr 1.28fr; gap: 64px; align-items: start; }
.quote-options { display: grid; gap: 0; margin-top: 32px; border-top: 2px solid var(--black); }
.quote-option { padding: 22px 0; border-bottom: 1px solid var(--black); }
.quote-option h3 { margin: 7px 0 5px; font-size: 1.08rem; }
.lead-form { padding: 38px; border: 3px solid var(--black); border-top: 14px solid var(--cobalt); box-shadow: 10px 10px 0 var(--lime); }
.lead-form h2 { margin: 0; font-size: 2rem; }
.lead-form > p { color: var(--graphite); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.lead-form label { display: grid; gap: 7px; margin-top: 18px; font-size: .88rem; font-weight: 900; text-transform: uppercase; }
.lead-form input, .lead-form select, .lead-form textarea { width: 100%; padding: 14px; color: var(--black); background: #fff; border: 2px solid var(--black); border-radius: 0; outline: none; text-transform: none; }
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus { border-color: var(--cobalt); box-shadow: 4px 4px 0 var(--lime); }
.lead-form textarea { resize: vertical; }
.lead-form .button { margin-top: 24px; }
.form-status { min-height: 24px; margin-bottom: 0; }

.contact-card { padding: 34px; background: var(--sky); border: 2px solid var(--black); }
.contact-card h2 { overflow-wrap: anywhere; font-size: 1.85rem; }
.contact-card .button { margin-top: 18px; }
.role-card { min-height: 230px; padding: 28px; background: #fff; border: 2px solid var(--black); box-shadow: 7px 7px 0 var(--cobalt); }
.role-card:nth-child(2n) { box-shadow: 7px 7px 0 var(--lime); }
.role-card h3 { margin-top: 28px; }
.role-card .tag { color: var(--cobalt); font-size: .72rem; font-weight: 900; text-transform: uppercase; }

.site-footer { position: relative; padding: 68px 0 0; color: var(--black); background: #fff; border-top: 4px solid var(--black); }
.footer-grid { display: grid; grid-template-columns: 1.6fr .9fr .8fr; gap: 60px; }
.brand-footer .brand-logo { width: 300px; max-width: 100%; }
.footer-grid p { max-width: 520px; color: var(--graphite); }
.footer-grid h2 { margin: 4px 0 16px; font-size: .78rem; text-transform: uppercase; }
.footer-grid a:not(.brand) { display: block; margin: 9px 0; text-decoration: none; overflow-wrap: anywhere; }
.footer-grid a:hover { color: var(--cobalt); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 52px; padding: 22px 0; color: var(--black); border-top: 1px solid var(--black); font-size: .84rem; }
.site-footer::after { display: block; width: 100%; height: 18px; background: var(--lime); border-top: 2px solid var(--black); content: ""; }

@media (max-width: 1080px) {
  .nav { grid-template-columns: 1fr auto auto; }
  .nav-links { position: absolute; top: 82px; right: 24px; left: 24px; display: none; padding: 14px; background: #fff; border: 2px solid var(--black); box-shadow: 8px 8px 0 var(--lime); }
  .nav-links.is-open { display: grid; }
  .nav-links a { padding: 13px; }
  .nav-toggle { display: block; }
  .hero h1 { font-size: 4rem; }
  .product-grid, .role-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(3,1fr); }
  .trust-intro { grid-column: 1/-1; min-height: auto; padding-block: 17px; border-bottom: 2px solid var(--black); }
}

@media (max-width: 820px) {
  .shell { width: min(calc(100% - 30px), var(--shell)); }
  .nav { min-height: 74px; gap: 12px; }
  .brand-logo { width: 220px; max-width: 58vw; }
  .nav-links { top: 74px; right: 15px; left: 15px; }
  .nav-cta { display: none; }
  .hero { min-height: 760px; align-items: end; background: var(--cobalt); }
  .hero-media { bottom: auto; height: 360px; background-position: 34% center; }
  .hero-overlay { bottom: auto; height: 360px; background: linear-gradient(0deg, rgba(24,72,255,.38), rgba(24,72,255,0)); }
  .hero-content { display: block; padding: 390px 0 48px; }
  .hero-copy { width: 100%; max-width: none; padding-left: 22px; }
  .hero h1, .page-hero h1 { font-size: 3rem; }
  .hero-lede { font-size: 1.03rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-grid > * { min-height: auto; border-right: 0; border-bottom: 1px solid var(--black); }
  .section { padding: 74px 0; }
  .section-heading h2, .split-copy h2, .cta-copy h2, .form-intro h2 { font-size: 2.35rem; }
  .split, .dual-grid, .page-hero-grid, .product-detail, .form-layout, .cta-layout { grid-template-columns: 1fr; gap: 36px; }
  .engine + .engine { border-left: 0; border-top: 2px solid var(--black); }
  .engine { min-height: auto; padding: 36px 26px; }
  .capability-grid, .process { grid-template-columns: 1fr; }
  .page-hero { padding: 72px 0 64px; }
  .page-hero-grid { padding-left: 22px; }
  .service-row { grid-template-columns: 62px 1fr; gap: 20px; }
  .service-row > div:last-child { grid-column: 2; }
  .deliverables { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 38px; }
  .footer-grid > div:first-child { grid-column: 1/-1; }
}

@media (max-width: 560px) {
  .brand-logo { width: 190px; }
  .hero h1, .page-hero h1 { font-size: 2.55rem; }
  .hero-actions, .hero-actions .button { width: 100%; }
  .hero-tags { grid-template-columns: 1fr 1fr; }
  .capability-card { padding-left: 72px; }
  .product-grid, .role-grid, .form-grid { grid-template-columns: 1fr; }
  .product-card { min-height: auto; }
  .service-row { grid-template-columns: 1fr; }
  .service-row > div:last-child { grid-column: auto; }
  .lead-form { padding: 26px 18px; box-shadow: 6px 6px 0 var(--lime); }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
  .footer-bottom { display: grid; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
