@import "tailwindcss";

:root {
  --navy: #061e3d;
  --navy-deep: #03152c;
  --steel: #4e6f91;
  --ink: #192a3b;
  --muted: #586a7a;
  --paper: #f8f7f3;
  --white: #ffffff;
  --mist: #edf0ef;
  --sand: #e9e3da;
  --burgundy: #4d121f;
  --red: #7b1e2b;
  --rose: #a66068;
  --line: rgba(6, 30, 61, .16);
  --shell: min(1280px, calc(100% - 72px));
  --sans: "Segoe UI", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--sans); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.section-pad { padding-block: 94px; }

.site-header { position: relative; z-index: 20; display: flex; min-height: 122px; align-items: center; justify-content: space-between; gap: 38px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; min-width: 0; align-items: center; gap: 16px; text-decoration: none; }
.brand-mark { display: block; width: 78px; height: 72px; flex: 0 0 auto; }
.brand-mark img { display: block; width: 100%; height: 100%; object-fit: contain; }
.brand-lockup { display: grid; min-width: 0; gap: 7px; }
.brand-name { display: flex; align-items: baseline; color: var(--steel); font-size: clamp(21px, 2.25vw, 33px); font-weight: 350; letter-spacing: -.055em; line-height: .93; white-space: nowrap; }
.brand-name strong { color: var(--navy); font-weight: 620; }
.brand-name > span { color: var(--steel); font-weight: 350; }
.brand-tagline { color: var(--navy); font-size: clamp(7px, .7vw, 10px); font-weight: 820; letter-spacing: .225em; line-height: 1; text-transform: uppercase; white-space: nowrap; }
.site-header nav { display: flex; align-items: center; gap: 25px; }
.site-header nav a { color: var(--navy); font-size: 11px; font-weight: 680; letter-spacing: .035em; text-decoration: none; }
.site-header nav a:not(.nav-cta):hover { color: var(--red); }
.nav-cta { display: inline-flex; min-height: 42px; padding: 0 17px; align-items: center; border: 1px solid var(--burgundy); color: var(--burgundy) !important; }
.nav-cta:hover { background: var(--burgundy); color: white !important; }

.hero { display: grid; min-height: 630px; grid-template-columns: 1.08fr .92fr; gap: 72px; padding-block: 67px 65px; align-items: center; }
.micro-label { display: flex; margin: 0 0 27px; align-items: center; gap: 11px; color: #566b7e; font-size: 9px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.micro-label span { display: inline-flex; min-height: 25px; padding: 0 8px; align-items: center; background: var(--burgundy); color: white; font-size: 7px; letter-spacing: .16em; }
.hero h1 { margin: 0; color: var(--navy); font-size: clamp(61px, 6.7vw, 96px); font-weight: 460; line-height: .9; letter-spacing: -.065em; }
.hero h1 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.hero-copy > p:not(.micro-label) { max-width: 710px; margin: 29px 0 0; color: #405266; font-size: 18px; line-height: 1.58; }
.hero-actions { display: flex; margin-top: 31px; align-items: center; gap: 26px; }
.action-solid, .action-link { display: inline-flex; min-height: 47px; align-items: center; gap: 19px; font-size: 9px; font-weight: 780; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.action-solid { padding: 0 19px; background: var(--burgundy); color: white; }
.action-solid:hover { background: var(--red); }
.action-link { border-bottom: 1px solid var(--line); }
.action-link:hover { color: var(--red); border-color: var(--red); }
.hero-canvas { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); background: #f2f4f3; box-shadow: 14px 14px 0 var(--sand); }
.canvas-head { display: flex; min-height: 48px; padding: 0 17px; grid-column: 1 / -1; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); color: #617184; font-size: 7px; font-weight: 750; letter-spacing: .13em; text-transform: uppercase; }
.canvas-card { display: flex; min-height: 145px; padding: 20px; flex-direction: column; justify-content: flex-end; border-right: 1px solid var(--line); background: white; }
.canvas-card:last-child { border-right: 0; }
.canvas-card-main { min-height: 225px; grid-column: 1 / -1; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); background: var(--burgundy); color: white; }
.canvas-card small { margin-bottom: auto; color: #718093; font-size: 7px; font-weight: 750; letter-spacing: .12em; text-transform: uppercase; }
.canvas-card-main small { color: #d9b8c0; }
.canvas-card strong { font-size: 21px; font-weight: 480; letter-spacing: -.035em; }
.canvas-card-main strong { font-size: 39px; }
.canvas-card p { max-width: 400px; margin: 9px 0 0; color: rgba(255,255,255,.64); font-size: 12px; line-height: 1.5; }
.value-ribbon { border-block: 1px solid var(--line); background: var(--mist); }
.value-ribbon .shell { display: flex; min-height: 72px; align-items: center; gap: 15px; color: #526477; font-family: Georgia, serif; font-size: 15px; }
.value-ribbon i { width: 4px; height: 4px; border-radius: 50%; background: var(--red); }
.value-ribbon strong { margin-left: auto; color: var(--navy); font-family: var(--sans); font-size: 8px; letter-spacing: .12em; text-transform: uppercase; }

.section-label { padding-bottom: 14px; border-bottom: 1px solid var(--line); color: #708091; font-size: 8px; font-weight: 780; letter-spacing: .17em; text-transform: uppercase; }
.section-label.light { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.52); }
.overline { margin: 0 0 17px; color: #98636d; font-size: 8px; font-weight: 780; letter-spacing: .16em; text-transform: uppercase; }
.section-intro { display: grid; margin: 48px 0 52px; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; }
.section-intro h2, .forward-layout h2, .systems-intro h2, .contact h2 { margin: 0; color: var(--navy); font-size: clamp(43px, 5vw, 68px); font-weight: 450; line-height: .98; letter-spacing: -.055em; }
.section-intro h2 em { color: var(--red); font-family: Georgia, serif; font-weight: 400; }
.section-intro > p { max-width: 470px; margin: 0 0 4px; color: var(--muted); font-size: 15px; line-height: 1.6; }
.section-intro.compact h2 { max-width: 830px; }

.forward-layout { display: grid; margin: 48px 0 50px; grid-template-columns: 1.14fr .86fr; gap: 90px; align-items: start; }
.forward-copy > p { margin: 0 0 16px; color: var(--muted); font-size: 15px; line-height: 1.62; }
.forward-copy .lead { color: var(--navy); font-family: Georgia, serif; font-size: 24px; line-height: 1.38; }
.forward-attributes { display: grid; margin-top: 28px; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.forward-attributes span { display: flex; min-height: 58px; padding: 0 14px; align-items: center; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); color: #4e6275; font-size: 8px; font-weight: 760; letter-spacing: .08em; text-transform: uppercase; }
.vertical-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.vertical-grid article { display: flex; min-height: 270px; padding: 27px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.vertical-grid article:nth-child(1) { background: var(--mist); }
.vertical-grid article:nth-child(4) { background: var(--burgundy); color: white; }
.vertical-grid h3 { margin: 0 0 14px; color: var(--navy); font-size: 31px; font-weight: 460; letter-spacing: -.04em; }
.vertical-grid article:nth-child(4) h3 { color: white; }
.vertical-grid p { max-width: 520px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.vertical-grid article:nth-child(4) p { color: rgba(255,255,255,.64); }
.vertical-grid ul, .service-card ul { display: flex; margin: auto 0 0; padding: 22px 0 0; flex-wrap: wrap; gap: 6px; list-style: none; }
.vertical-grid li, .service-card li { padding: 6px 8px; border: 1px solid var(--line); color: #65788a; font-size: 7px; font-weight: 740; letter-spacing: .08em; text-transform: uppercase; }
.vertical-grid article:nth-child(4) li { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.65); }

.services { background: var(--mist); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-card { display: flex; min-height: 315px; padding: 26px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; transition: transform .2s, box-shadow .2s; }
.service-card:hover { position: relative; z-index: 2; transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--rose); }
.service-feature { grid-column: span 2; background: #e4e9ed; }
.service-ink { background: var(--navy); color: white; }
.service-burgundy { background: var(--burgundy); color: white; }
.service-wide { grid-column: span 2; background: #f4f3ef; }
.service-body { display: flex; height: 100%; flex-direction: column; }
.service-card h3 { max-width: 500px; margin: 0 0 14px; color: var(--navy); font-size: 32px; font-weight: 460; line-height: 1.03; letter-spacing: -.042em; }
.service-ink h3, .service-burgundy h3 { color: white; }
.service-card p { max-width: 530px; margin: 0; color: var(--muted); font-size: 13px; line-height: 1.57; }
.service-ink p, .service-burgundy p { color: rgba(255,255,255,.64); }
.service-card ul { margin-top: auto; }
.service-ink li, .service-burgundy li { border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.62); }

.systems { position: relative; overflow: hidden; background: var(--navy-deep); color: white; }
.systems::after { content: ""; position: absolute; right: -230px; top: 70px; width: 560px; height: 560px; border: 1px solid rgba(166,96,104,.17); border-radius: 50%; box-shadow: 0 0 0 70px rgba(166,96,104,.022), 0 0 0 140px rgba(166,96,104,.016); }
.systems .shell { position: relative; z-index: 1; }
.systems-intro { display: grid; margin: 48px 0 54px; grid-template-columns: 1.2fr .8fr; gap: 80px; align-items: end; }
.systems-intro h2 { max-width: 820px; color: white; }
.systems-intro > p { max-width: 470px; margin: 0 0 4px; color: rgba(255,255,255,.58); font-size: 15px; line-height: 1.6; }
.systems-grid { display: grid; grid-template-columns: repeat(2, 1fr); border-top: 1px solid rgba(255,255,255,.18); border-left: 1px solid rgba(255,255,255,.18); }
.systems-grid article { display: grid; min-height: 72px; padding: 0 19px; grid-template-columns: 1fr auto; gap: 15px; align-items: center; border-right: 1px solid rgba(255,255,255,.18); border-bottom: 1px solid rgba(255,255,255,.18); }
.systems-grid article:hover { background: rgba(255,255,255,.05); }
.systems-grid strong { color: white; font-size: 14px; font-weight: 450; }
.systems-grid i { color: rgba(255,255,255,.28); font-style: normal; }

.method-list { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.method-list article { min-height: 245px; padding: 24px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: white; }
.method-list h3 { margin: 0 0 18px; color: var(--navy); font-size: 25px; font-weight: 470; letter-spacing: -.035em; }
.method-list p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.58; }

.engagements { background: var(--mist); }
.engagement-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.engagement-grid article { display: flex; min-height: 285px; padding: 27px; flex-direction: column; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: rgba(255,255,255,.7); }
.engagement-grid article:last-child { background: var(--burgundy); color: white; }
.engagement-grid small { color: #718091; font-size: 7px; font-weight: 720; letter-spacing: .1em; text-transform: uppercase; }
.engagement-grid article:last-child small { color: #d9aeb7; }
.engagement-grid h3 { margin: auto 0 14px; color: var(--navy); font-size: 33px; font-weight: 450; letter-spacing: -.043em; }
.engagement-grid article:last-child h3 { color: white; }
.engagement-grid p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.58; }
.engagement-grid article:last-child p { color: rgba(255,255,255,.65); }

.contact { display: grid; min-height: 410px; margin-block: 30px; padding: 56px; grid-template-columns: 1.25fr .75fr; gap: 80px; align-items: end; background: var(--navy); color: white; }
.contact h2 { max-width: 780px; color: white; }
.contact-action p { margin: 0 0 26px; color: rgba(255,255,255,.62); font-size: 14px; line-height: 1.6; }
.contact-action a { display: flex; min-height: 51px; padding: 0 18px; align-items: center; justify-content: space-between; background: var(--red); color: white; font-size: 9px; font-weight: 780; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.contact-action a:hover { background: var(--burgundy); }

.contact-page { min-height: 100vh; background: var(--paper); }
.contact-page-header { display: flex; min-height: 124px; align-items: center; border-bottom: 1px solid var(--line); }
.staffing-contact { display: grid; min-height: calc(100vh - 124px); padding-block: 80px 42px; grid-template-rows: 1fr auto; }
.staffing-contact-card { display: flex; max-width: 920px; padding: 64px; align-self: center; flex-direction: column; gap: 28px; background: var(--navy); box-shadow: 14px 14px 0 var(--sand); }
.staffing-contact-card p { margin: 0; color: white; font-size: clamp(32px, 5vw, 64px); font-weight: 450; line-height: 1.02; letter-spacing: -.05em; }
.staffing-contact-card a { display: flex; width: fit-content; max-width: 100%; padding-bottom: 8px; align-items: center; gap: 18px; border-bottom: 2px solid var(--red); color: white; font-size: clamp(15px, 2.2vw, 24px); text-decoration: none; overflow-wrap: anywhere; }
.staffing-contact-card a:hover { color: #e6b5a5; }
.contact-return { width: fit-content; margin-top: 64px; color: var(--navy); font-size: 9px; font-weight: 760; letter-spacing: .1em; text-decoration: none; text-transform: uppercase; }
.contact-return:hover { color: var(--red); }

.site-footer { display: grid; min-height: 110px; padding-block: 30px; grid-template-columns: 1fr auto; gap: 24px; align-items: center; border-top: 1px solid var(--line); }
.footer-links { display: flex; align-items: center; justify-content: flex-end; gap: 23px; }
.footer-links a { color: var(--navy); font-size: 8px; font-weight: 720; letter-spacing: .08em; text-decoration: none; text-transform: uppercase; }
.footer-links a:hover { color: var(--red); }
.site-footer > small { color: #7d8995; font-size: 7px; letter-spacing: .1em; text-transform: uppercase; }

@media (max-width: 1050px) {
  .site-header nav a:not(.nav-cta) { display: none; }
  .hero { grid-template-columns: 1fr; gap: 52px; }
  .forward-layout, .section-intro, .systems-intro { grid-template-columns: 1fr; gap: 35px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .service-feature, .service-wide { grid-column: span 1; }
  .method-list { grid-template-columns: repeat(3, 1fr); }
  .engagement-grid { grid-template-columns: 1fr; }
  .contact { grid-template-columns: 1fr; gap: 45px; }
}

@media (max-width: 700px) {
  :root { --shell: calc(100% - 34px); }
  .section-pad { padding-block: 70px; }
  .site-header { min-height: 94px; }
  .brand { gap: 10px; }
  .brand-mark { width: 54px; height: 50px; }
  .brand-name { font-size: clamp(13px, 4.3vw, 18px); }
  .brand-tagline { font-size: clamp(4.5px, 1.4vw, 6px); letter-spacing: .16em; }
  .nav-cta { display: none !important; }
  .hero { min-height: auto; padding-block: 55px 51px; }
  .hero h1 { font-size: clamp(52px, 15.4vw, 70px); }
  .hero-copy > p:not(.micro-label) { font-size: 16px; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 13px; }
  .hero-canvas { box-shadow: 8px 8px 0 var(--sand); }
  .canvas-head { align-items: flex-start; flex-direction: column; justify-content: center; gap: 2px; }
  .canvas-card { min-height: 130px; padding: 17px; }
  .canvas-card-main { min-height: 205px; }
  .canvas-card strong { font-size: 18px; }
  .canvas-card-main strong { font-size: 32px; }
  .value-ribbon .shell { padding-block: 20px; flex-wrap: wrap; }
  .value-ribbon strong { width: 100%; margin-left: 0; }
  .forward-layout { margin-block: 39px 42px; }
  .section-intro h2, .forward-layout h2, .systems-intro h2, .contact h2 { font-size: clamp(40px, 12vw, 57px); }
  .forward-attributes, .vertical-grid, .services-grid, .systems-grid, .method-list { grid-template-columns: 1fr; }
  .vertical-grid article { min-height: 245px; padding: 23px; }
  .service-card { min-height: 285px; padding: 23px; }
  .section-intro, .systems-intro { margin-block: 39px 44px; }
  .systems-grid article { min-height: 67px; padding-inline: 16px; }
  .method-list article { min-height: 205px; padding: 22px; }
  .engagement-grid article { min-height: 260px; padding: 23px; }
  .contact { width: calc(100% - 22px); min-height: 480px; padding: 40px 23px; }
  .contact-page-header { min-height: 94px; }
  .staffing-contact { min-height: calc(100vh - 94px); padding-block: 48px 30px; }
  .staffing-contact-card { padding: 38px 24px; gap: 24px; box-shadow: 8px 8px 0 var(--sand); }
  .staffing-contact-card a { line-height: 1.35; }
  .contact-return { margin-top: 48px; }
  .site-footer { grid-template-columns: 1fr; }
  .footer-links { justify-content: flex-start; flex-wrap: wrap; }
}

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