:root {
  --ink: #10242a;
  --navy: #082f3b;
  --navy-deep: #061f29;
  --teal: #0b687a;
  --blue: #3bb3d0;
  --mist: #eaf2f3;
  --paper: #f7f9f8;
  --line: rgba(16, 36, 42, .16);
  --white: #fff;
  --shell: min(1180px, calc(100% - 48px));
  --radius: 3px;
  --shadow: 0 24px 70px rgba(3, 24, 31, .16);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; font-size: 16px; line-height: 1.65; -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.035em; }
h1 { font-size: clamp(3.5rem, 7.2vw, 7rem); font-weight: 620; }
h2 { font-size: clamp(2.5rem, 5vw, 5rem); font-weight: 590; }
h3 { font-size: clamp(1.35rem, 2vw, 1.75rem); font-weight: 620; }
.shell { width: var(--shell); margin-inline: auto; }
.section { padding: 130px 0; }
.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; }
.skip-link { position: fixed; z-index: 1000; left: 16px; top: -60px; padding: 10px 16px; background: #fff; color: #000; }
.skip-link:focus { top: 16px; }

.site-header { position: sticky; z-index: 100; top: 0; height: 84px; background: rgba(255,255,255,.94); border-bottom: 1px solid rgba(8,47,59,.1); backdrop-filter: blur(14px); }
.nav-wrap { height: 100%; display: flex; align-items: center; gap: 34px; }
.brand { flex: 0 0 auto; }
.brand img { width: 230px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 29px; margin-left: auto; }
.site-nav a, .site-footer nav a { font-size: .84rem; font-weight: 650; text-decoration: none; letter-spacing: .02em; }
.site-nav a { position: relative; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--teal); transition: right .25s ease; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { right: 0; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 10px; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.button { display: inline-flex; align-items: center; justify-content: space-between; gap: 28px; min-height: 54px; padding: 0 22px; border: 1px solid var(--teal); border-radius: var(--radius); background: var(--teal); color: #fff; font-size: .9rem; font-weight: 700; text-decoration: none; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.button:hover { transform: translateY(-2px); background: #095869; border-color: #095869; }
.button-small { min-height: 44px; padding-inline: 17px; gap: 14px; }
.button-light { color: var(--navy); background: #fff; border-color: #fff; }
.button-light:hover { color: #fff; background: var(--blue); border-color: var(--blue); }
.button-outline { color: #fff; background: transparent; border-color: rgba(255,255,255,.5); }
.button-outline:hover { color: var(--navy); background: #fff; border-color: #fff; }
.text-link { display: inline-flex; align-items: center; gap: 13px; color: #fff; font-weight: 700; text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.38); padding-bottom: 5px; }
.text-link span { transition: transform .2s ease; }
.text-link:hover span { transform: translate(3px, -2px); }
.dark-link { color: var(--ink); border-color: var(--line); }

.eyebrow { display: flex; align-items: center; gap: 11px; margin-bottom: 24px; color: rgba(255,255,255,.76); font-size: .78rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow span { width: 30px; height: 2px; background: var(--blue); }
.eyebrow.dark { color: var(--teal); }

.hero { position: relative; min-height: 760px; overflow: hidden; color: #fff; background: var(--navy-deep); }
.hero-image { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,27,36,.98) 0%, rgba(3,27,36,.91) 43%, rgba(3,27,36,.25) 82%), url("current-hero.jpg") center/cover no-repeat; transform: scale(1.01); }
.hero-grid, .contact-grid { position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.2) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.2) 1px, transparent 1px); background-size: 72px 72px; mask-image: linear-gradient(90deg, black, transparent 72%); }
.hero-content { position: relative; z-index: 1; min-height: 760px; display: grid; grid-template-columns: minmax(0, 1fr) 270px; align-items: end; gap: 80px; padding-top: 100px; padding-bottom: 80px; }
.hero-copy { max-width: 850px; }
.hero-copy h1 { max-width: 830px; margin-bottom: 30px; }
.hero-lede { max-width: 690px; margin-bottom: 36px; color: rgba(255,255,255,.78); font-size: 1.17rem; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 34px; }
.hero-proof { align-self: end; margin-bottom: 4px; padding: 25px 0 0 25px; border-left: 1px solid rgba(255,255,255,.35); }
.proof-card { display: flex; flex-direction: column; }
.proof-card strong { font-size: 4rem; line-height: 1; font-weight: 560; letter-spacing: -.06em; }
.proof-card span, .proof-note { color: rgba(255,255,255,.65); font-size: .84rem; line-height: 1.5; }
.proof-line { width: 100%; height: 1px; margin: 22px 0; background: rgba(255,255,255,.25); }

.trust-band { padding: 34px 0 30px; border-bottom: 1px solid var(--line); background: var(--paper); }
.trust-band .shell { display: grid; grid-template-columns: 1fr; align-items: center; gap: 30px; }
.trust-band p { margin: 0; color: #587078; font-size: .75rem; font-weight: 750; line-height: 1.4; letter-spacing: .11em; text-transform: uppercase; }
.logo-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); align-items: stretch; gap: 18px; }
.client-logo { min-height: 180px; padding: 24px 20px; border: 1px solid #dfe8e8; background: #fff; display: flex; align-items: center; justify-content: center; text-align: center; }
.client-logo img { width: auto; max-width: 94%; height: auto; max-height: 112px; object-fit: contain; filter: none; opacity: 1; }
.client-logo-wide img { max-width: 100%; }
.client-logo-dark { background: #111; border-color: #242424; }
.client-logo-blue { background: #1d4f98; border-color: #1d4f98; }
.client-logo-art { padding: 0; overflow: hidden; }
.client-logo-art img { width: 100%; max-width: none; max-height: none; }
.client-wordmark { border-top: 5px solid var(--accent); gap: 7px; }
.client-wordmark strong { font-family: Arial, Helvetica, sans-serif; color: #173e49; font-size: clamp(1.35rem, 2.1vw, 2rem); line-height: .95; letter-spacing: -.035em; }
.client-wordmark.tachi { border-top-color: #bb8b2e; background: #fffaf0; }
.client-wordmark.tachi strong { color: #7c1719; }
.client-wordmark.chusd { border-top-color: #d6a322; background: #fffdf4; }
.client-wordmark.chusd strong { color: #192d5c; font-size: 1.35rem; }
.client-wordmark.va { border-top-color: #c22033; background: #f7f9fc; }
.client-wordmark.va strong { color: #153f6f; font-size: 3rem; letter-spacing: -.08em; }
.client-wordmark.madera { border-top-color: #d18b22; background: #fffaf2; }
.client-wordmark.madera strong { color: #792f26; font-size: 1.45rem; }
.client-wordmark.jll { border-top-color: #e32636; }
.client-wordmark.jll strong { color: #d71920; font-size: 3.2rem; letter-spacing: -.1em; }
.client-wordmark.ucd { border-top-color: #ffbf00; background: #f8fbff; }
.client-wordmark.ucd strong { color: #022851; font-family: Georgia, serif; font-size: 2rem; }
.client-wordmark.fresno { border-top-color: #2a6aa0; background: #f5faff; }
.client-wordmark.fresno strong { color: #174a75; font-size: 1.45rem; }
.client-wordmark.four-seasons { border-top-color: #171717; }
.client-wordmark.four-seasons strong { color: #171717; font-family: Georgia, serif; font-size: 1.35rem; letter-spacing: .08em; }

.section-heading { display: grid; grid-template-columns: 1.5fr .7fr; align-items: end; gap: 80px; margin-bottom: 70px; }
.section-heading h2, .systems-heading h2 { margin-bottom: 0; }
.section-heading > p { max-width: 420px; margin-bottom: 4px; color: #587078; font-size: 1.03rem; }
.service-grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: 16px; }
.service-card-feature { grid-row: span 2; }
.service-card { position: relative; overflow: hidden; min-height: 340px; padding: 38px; border: 1px solid var(--line); background: var(--paper); }
.service-card h3 { max-width: 460px; margin: 62px 0 18px; }
.service-card p { max-width: 500px; color: #587078; }
.service-card-feature { display: grid; grid-template-columns: 90px 1fr; gap: 25px; background: var(--mist); }
.service-card-feature h3 { margin-top: 60px; }
.card-number { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.clean-list { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 28px 0 0; list-style: none; }
.clean-list li { padding: 6px 11px; border: 1px solid rgba(8,47,59,.18); border-radius: 999px; font-size: .78rem; font-weight: 650; }
.photo-card { padding: 0; border: 0; }
.photo-card img { width: 100%; height: 100%; object-fit: cover; }
.photo-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(transparent 60%, rgba(3,27,36,.78)); }
.photo-label { position: absolute; z-index: 1; left: 28px; bottom: 24px; color: #fff; font-size: .78rem; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.dark-card { color: #fff; background: var(--navy); }
.dark-card .card-number { color: var(--blue); }
.dark-card p { color: rgba(255,255,255,.67); }
.dark-card a { position: absolute; left: 38px; bottom: 34px; color: #fff; font-weight: 700; text-decoration: none; }

.industries { position: relative; color: #fff; background: var(--navy-deep); }
.industries::after { content: ""; position: absolute; inset: 0; background: url("current-industries.jpg") center/cover; opacity: .09; mix-blend-mode: screen; }
.industries-layout { position: relative; z-index: 1; display: grid; grid-template-columns: .85fr 1.15fr; gap: 100px; }
.industries-copy { position: sticky; top: 140px; align-self: start; }
.industries-copy h2 { margin-bottom: 30px; }
.industries-copy > p:not(.eyebrow) { max-width: 480px; margin-bottom: 35px; color: rgba(255,255,255,.66); }
.industry-list { border-top: 1px solid rgba(255,255,255,.25); }
.industry-list > div { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; gap: 18px; min-height: 100px; border-bottom: 1px solid rgba(255,255,255,.2); }
.industry-list span { color: var(--blue); font-size: .75rem; font-weight: 800; }
.industry-list h3 { margin: 0; font-size: 1.45rem; letter-spacing: -.02em; }
.industry-list em { color: rgba(255,255,255,.45); font-size: .75rem; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }

.systems { padding: 120px 0; background: var(--paper); }
.systems-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; margin-bottom: 60px; }
.system-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.metasys-feature { grid-column: 1 / -1; display: grid; grid-template-columns: .7fr 1.3fr; align-items: center; gap: 60px; padding: 60px; background: var(--mist); }
.metasys-feature .system-logo { height: auto; margin: 0; }
.metasys-feature .system-logo img { width: 100%; max-width: 560px; max-height: none; }
.metasys-copy h3 { margin: 20px 0; font-size: clamp(2rem, 3.5vw, 3.4rem); }
.platform-label { color: var(--teal); font-size: .875rem; font-weight: 750; }
.office-location { border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; margin-bottom: 24px; }
.office-location h3 { font-size: 1.15rem; margin-bottom: 10px; }
.office-location p { color: rgba(255,255,255,.7); margin-bottom: 0; }
.contact-card .office-location address { margin-bottom: 0; }
.system-card { min-height: 390px; padding: 35px; background: #fff; border-top: 3px solid var(--navy); box-shadow: 0 1px 0 var(--line); }
.system-logo { height: 100px; display: flex; align-items: center; margin-bottom: 55px; }
.system-logo img { max-width: 205px; max-height: 92px; object-fit: contain; }
.secondary-platform .system-logo { height: 260px; margin-bottom: 20px; justify-content: center; }
.secondary-platform .system-logo img { width: 100%; max-width: 560px; max-height: 260px; }
.metasys-feature { grid-template-columns: 1fr 1.15fr; gap: 40px; }
.system-card > span { color: var(--teal); font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.system-card p { margin-top: 15px; color: #587078; }

.process { background: #fff; }
.process-track { position: relative; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; padding: 0; margin: 0; list-style: none; border-top: 1px solid var(--line); }
.process-track::before { content: ""; position: absolute; left: 0; top: -2px; width: 20%; height: 3px; background: var(--teal); }
.process-track li { min-height: 275px; padding: 30px 25px; border-right: 1px solid var(--line); }
.process-track li:first-child { border-left: 1px solid var(--line); }
.process-track span { display: block; margin-bottom: 55px; color: var(--teal); font-size: .75rem; font-weight: 800; }
.process-track h3 { margin-bottom: 14px; }
.process-track p { color: #687b81; font-size: .88rem; line-height: 1.6; }

.about { display: grid; grid-template-columns: 1.08fr .92fr; grid-template-rows: 1fr 310px; min-height: 920px; color: #fff; background: var(--navy); }
.about-photo { overflow: hidden; }
.about-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.about-photo:hover img { transform: scale(1.025); }
.about-photo-main { grid-row: 1 / 3; }
.about-photo-main img { object-position: left center; }
.about-copy { padding: 90px 8vw 70px 75px; }
.about-copy h2 { font-size: clamp(2.7rem, 4.3vw, 4.7rem); margin-bottom: 30px; }
.about-copy > p:not(.eyebrow) { color: rgba(255,255,255,.68); }
.about-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; padding-top: 28px; border-top: 1px solid rgba(255,255,255,.25); }
.about-facts strong, .about-facts span { display: block; }
.about-facts strong { margin-bottom: 5px; font-size: 1.2rem; }
.about-facts span { color: rgba(255,255,255,.56); font-size: .77rem; line-height: 1.5; }

.careers { padding: 75px 0; background: var(--mist); }
.careers-inner { display: grid; grid-template-columns: 1.2fr .65fr auto; align-items: end; gap: 60px; }
.careers h2 { max-width: 650px; margin-bottom: 0; font-size: clamp(2.4rem, 4vw, 4.2rem); }
.careers-inner > p { margin-bottom: 6px; color: #587078; }

.contact { position: relative; overflow: hidden; color: #fff; background: var(--navy-deep); }
.contact-inner { position: relative; z-index: 1; min-height: 650px; display: grid; grid-template-columns: 1.25fr .75fr; align-items: center; gap: 110px; padding-block: 100px; }
.contact-copy h2 { max-width: 750px; margin-bottom: 30px; }
.contact-copy > p:not(.eyebrow) { max-width: 580px; color: rgba(255,255,255,.65); font-size: 1.05rem; }
.contact-card { padding: 38px; background: #0d3e4b; border: 1px solid rgba(255,255,255,.18); box-shadow: var(--shadow); }
.contact-card > p { color: var(--blue); font-size: .76rem; font-weight: 800; letter-spacing: .11em; text-transform: uppercase; }
.contact-card .phone { display: block; margin: 30px 0 18px; font-size: clamp(1.7rem, 3vw, 2.35rem); font-weight: 620; letter-spacing: -.04em; text-decoration: none; }
.contact-card address { margin-bottom: 34px; color: rgba(255,255,255,.63); font-style: normal; }

.site-footer { padding: 60px 0 24px; background: #fff; }
.footer-top { display: flex; align-items: center; justify-content: space-between; gap: 40px; padding-bottom: 55px; }
.footer-brand img { width: 210px; }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 30px; padding-top: 22px; border-top: 1px solid var(--line); color: #6b7d82; font-size: .75rem; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal-delay { transition-delay: .12s; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .reveal { opacity: 1; transform: none; transition: none; } * { animation-duration: .01ms !important; } }

@media (max-width: 1000px) {
  :root { --shell: min(100% - 36px, 860px); }
  .site-nav { gap: 18px; }
  .site-nav a { font-size: .78rem; }
  .nav-cta { display: none; }
  .hero-content { grid-template-columns: 1fr 220px; gap: 40px; }
  .trust-band .shell { grid-template-columns: 1fr; gap: 22px; }
  .logo-row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .industries-layout { gap: 55px; }
  .about { min-height: 780px; }
  .about-copy { padding: 70px 45px; }
  .about-photo-detail { display: none; }
  .about { grid-template-rows: 1fr; }
  .about-photo-main { grid-row: auto; }
  .careers-inner { grid-template-columns: 1fr 1fr; }
  .careers-inner .dark-link { grid-column: 2; }
}

@media (max-width: 760px) {
  :root { --shell: calc(100% - 32px); }
  h1 { font-size: clamp(3.25rem, 15vw, 5.3rem); }
  .section { padding: 88px 0; }
  .site-header { height: 72px; }
  .brand img { width: 190px; }
  .menu-toggle { display: block; margin-left: auto; }
  .site-nav { position: fixed; top: 72px; left: 0; right: 0; display: grid; gap: 0; margin: 0; padding: 18px 16px 25px; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 20px 40px rgba(8,47,59,.12); opacity: 0; visibility: hidden; transform: translateY(-12px); transition: .2s ease; }
  .site-nav.is-open { opacity: 1; visibility: visible; transform: none; }
  .site-nav a { padding: 13px 7px; font-size: 1rem; }
  .site-nav a::after { display: none; }
  .hero { min-height: 760px; }
  .hero-image { background: linear-gradient(180deg, rgba(3,27,36,.84), rgba(3,27,36,.97) 76%), url("current-hero.jpg") center/cover no-repeat; }
  .hero-content { min-height: 760px; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-end; gap: 48px; padding: 90px 0 42px; }
  .hero-copy h1 { margin-bottom: 24px; }
  .hero-lede { font-size: 1rem; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 20px; }
  .hero-proof { display: grid; grid-template-columns: 130px 1fr; align-items: center; gap: 20px; padding: 0 0 0 20px; }
  .proof-card strong { font-size: 3.2rem; }
  .proof-line { display: none; }
  .trust-band { overflow: hidden; }
  .logo-row { width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; animation: none; }
  .client-logo { min-height: 150px; padding: 20px 12px 16px; }
  .client-logo img { max-height: 82px; }
  .secondary-platform .system-logo { height: 220px; }
  .secondary-platform .system-logo img { max-height: 220px; }
  @keyframes drift { to { transform: translateX(calc(-100% + 86vw)); } }
  .section-heading { grid-template-columns: 1fr; gap: 25px; margin-bottom: 45px; }
  .service-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
  .service-card { min-height: 320px; padding: 28px; }
  .service-card-feature { grid-template-columns: 1fr; gap: 0; }
  .service-card-feature { grid-row: auto; }
  .metasys-feature { grid-template-columns: 1fr; gap: 35px; padding: 28px; }
  .service-card h3, .service-card-feature h3 { margin-top: 40px; }
  .dark-card a { left: 28px; }
  .industries-layout { grid-template-columns: 1fr; gap: 60px; }
  .industries-copy { position: static; }
  .industry-list > div { grid-template-columns: 38px 1fr; padding: 18px 0; }
  .industry-list em { grid-column: 2; margin-top: -10px; }
  .systems { padding: 88px 0; }
  .system-grid { grid-template-columns: 1fr; }
  .system-card { min-height: 325px; }
  .system-logo { margin-bottom: 35px; }
  .process-track { grid-template-columns: 1fr; }
  .process-track::before { width: 3px; height: 20%; left: -1px; top: 0; }
  .process-track li { min-height: 0; padding: 28px; border-left: 1px solid var(--line); border-bottom: 1px solid var(--line); }
  .process-track span { margin-bottom: 20px; }
  .about { grid-template-columns: 1fr; min-height: 0; }
  .about-photo-main { height: 390px; }
  .about-copy { padding: 75px 24px; }
  .about-facts { grid-template-columns: 1fr; }
  .careers-inner { grid-template-columns: 1fr; align-items: start; gap: 30px; }
  .careers-inner .dark-link { grid-column: auto; }
  .contact-inner { min-height: 0; grid-template-columns: 1fr; gap: 45px; padding: 90px 0; }
  .contact-card { padding: 28px; }
  .footer-top, .footer-bottom { align-items: flex-start; flex-direction: column; }
  .site-footer nav { display: grid; grid-template-columns: repeat(3, 1fr); width: 100%; }
}
