:root {
  --navy: #081f50;
  --navy-2: #06183d;
  --yellow: #fdb61f;
  --yellow-2: #f5a900;
  --ink: #272b33;
  --muted: #6d727b;
  --paper: #ffffff;
  --cloud: #f3f4f6;
  --line: #dfe2e7;
  --shadow: 0 18px 60px rgba(5, 22, 57, .15);
  --shell: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; line-height: 1.65; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.shell { width: min(calc(100% - 48px), var(--shell)); margin-inline: auto; }
.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: 999; top: 12px; left: 12px; transform: translateY(-160%); padding: 10px 16px; background: var(--yellow); color: var(--navy); font-weight: 800; }
.skip-link:focus { transform: none; }
.center { display: flex; justify-content: center; margin-top: 46px; }

.site-header { position: sticky; z-index: 50; top: 0; height: 80px; background: rgba(255, 255, 255, .97); border-bottom: 1px solid rgba(0, 0, 0, .06); backdrop-filter: blur(14px); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; }
.brand { align-self: stretch; display: flex; align-items: center; }
.brand img { width: 135px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 32px; font-size: .94rem; }
.site-nav a { position: relative; padding: 28px 0 23px; color: #4e5158; }
.site-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: 19px; height: 3px; background: var(--yellow); transition: right .25s ease; }
.site-nav a:hover, .site-nav a:focus-visible, .site-nav .active { color: var(--navy); }
.site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav .active::after { right: 0; }
.menu-toggle { display: none; width: 44px; height: 44px; padding: 10px; border: 0; background: transparent; }
.menu-toggle span:not(.sr-only) { display: block; height: 2px; margin: 5px 0; background: var(--navy); }

.eyebrow { margin: 0 0 12px; color: var(--yellow); font-size: .75rem; font-weight: 800; letter-spacing: .22em; text-transform: uppercase; }
.eyebrow.dark { color: var(--navy); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 56px; padding: 0 27px; border: 2px solid var(--yellow); background: var(--yellow); color: var(--navy); font-size: .79rem; font-weight: 900; letter-spacing: .16em; line-height: 1.2; text-transform: uppercase; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease; }
.button:hover, .button:focus-visible { transform: translateY(-3px); background: #ffc33c; box-shadow: 0 10px 26px rgba(253, 182, 31, .25); }
.button-dark { background: var(--navy); border-color: var(--navy); color: white; }
.button-dark:hover, .button-dark:focus-visible { background: #0d2d6e; }
.button-blue { background: var(--navy); border-color: var(--navy); color: white; }
.button-blue:hover, .button-blue:focus-visible { background: #0c2c6d; box-shadow: 0 10px 26px rgba(8, 31, 80, .22); }

.hero { min-height: 744px; display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(330px, 1fr); color: white; }
.hero-main { position: relative; display: flex; align-items: center; min-height: 744px; overflow: hidden; background: linear-gradient(110deg, rgba(17, 22, 31, .84), rgba(17, 22, 31, .52)), url("assets/hero.jpg") center/cover no-repeat; }
.hero-main::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0, 0, 0, .25), transparent 55%); }
.hero-copy { position: relative; z-index: 1; width: min(760px, calc(100% - 80px)); margin-left: max(40px, calc((100vw - var(--shell)) / 2)); }
.hero h1 { position: relative; margin: 0 0 22px; padding-left: 24px; color: white; font-size: clamp(3rem, 5.2vw, 5.15rem); line-height: .98; letter-spacing: -.04em; }
.hero h1::before { content: ""; position: absolute; inset: 2px auto 1px 0; width: 9px; background: var(--yellow); }
.hero-lead { max-width: 700px; margin: 0 0 42px; color: rgba(255, 255, 255, .93); font-size: clamp(1.1rem, 2vw, 1.47rem); line-height: 1.45; }
.services-panel { display: flex; flex-direction: column; justify-content: center; padding: 58px clamp(28px, 4vw, 64px); background: var(--navy); }
.services-panel h2 { margin: 0 0 32px; color: white; font-size: clamp(2rem, 3vw, 2.7rem); line-height: 1.1; }
.service-list { display: grid; gap: 25px; }
.service { display: grid; grid-template-columns: 58px 1fr; gap: 20px; align-items: start; }
.service img { width: 58px; height: 58px; object-fit: contain; image-rendering: auto; }
.service h3 { margin: 0 0 6px; color: white; font-size: 1.08rem; }
.service p { margin: 0; color: rgba(255, 255, 255, .83); font-size: .93rem; line-height: 1.55; }

.quote-strip { background: var(--yellow); }
.quote-inner { min-height: 156px; display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.quote-inner h2 { max-width: 760px; margin: 0; color: var(--navy); font-size: clamp(1.55rem, 2.8vw, 2.45rem); line-height: 1.15; }
.split-section { min-height: 660px; display: grid; grid-template-columns: 1fr 2fr; }
.split-image { background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .2)), url("assets/about.jpg") center/cover no-repeat; }
.split-copy { display: flex; flex-direction: column; justify-content: center; padding: 78px max(40px, calc((100vw - var(--shell)) / 2)); background: #f6f6f6; }
.split-copy h2, .section-heading h2, .resume-aside h2, .form-intro h2 { margin: 0; color: var(--ink); font-size: clamp(2.2rem, 4vw, 3.3rem); line-height: 1.08; letter-spacing: -.03em; }
.accent-line { width: 52px; height: 5px; margin: 25px 0 40px; background: var(--yellow); }
.about-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 46px; max-width: 780px; }
.about-columns p { margin: 0 0 18px; color: var(--muted); }
.about-columns p:last-child { grid-column: 1 / -1; }
.stats { display: flex; gap: 70px; margin-top: 24px; padding-top: 26px; border-top: 1px solid var(--line); }
.stats div { display: grid; }
.stats strong { color: var(--navy); font-size: 2.5rem; line-height: 1; }
.stats strong::after { content: "+"; color: var(--yellow); font-size: 1.25rem; vertical-align: top; }
.stats span { margin-top: 8px; color: var(--muted); font-size: .77rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }

.section-pad { padding: 105px 0; }
.projects { background: white; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 70px; margin-bottom: 48px; }
.section-heading > p { max-width: 470px; margin: 0 0 38px; color: var(--muted); }
.section-heading.compact { display: block; }
.project-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.project-card { position: relative; min-height: 260px; padding: 0; overflow: hidden; border: 0; background: var(--navy); cursor: zoom-in; }
.project-card img { width: 100%; height: 100%; min-height: 260px; aspect-ratio: 1.35; object-fit: cover; transition: transform .45s ease, opacity .35s ease; }
.project-card span { position: absolute; inset: auto 16px 16px; z-index: 1; padding: 9px 13px; background: var(--yellow); color: var(--navy); font-size: .72rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; transform: translateY(18px); opacity: 0; transition: transform .25s ease, opacity .25s ease; }
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.06); opacity: .72; }
.project-card:hover span, .project-card:focus-visible span { transform: none; opacity: 1; }

.feature { min-height: 620px; display: grid; grid-template-columns: 1.45fr 1fr; grid-template-rows: 1fr auto; background: var(--navy); color: white; }
.feature-image { grid-row: 1 / 3; background: url("assets/feature.jpg") center/cover no-repeat; }
.feature-copy { align-self: center; padding: 76px clamp(36px, 6vw, 95px); }
.feature-copy h2 { max-width: 560px; margin: 0 0 25px; color: white; font-size: clamp(2.25rem, 4vw, 3.55rem); line-height: 1.07; }
.feature-copy p:not(.eyebrow) { max-width: 580px; margin: 0 0 34px; color: rgba(255, 255, 255, .78); }
.feature-caption { display: grid; padding: 27px clamp(36px, 6vw, 95px); background: var(--yellow); color: var(--navy); }
.feature-caption span { font-size: .68rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.feature-caption strong { font-size: 1.06rem; }

.testimonials { background: var(--cloud); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.testimonial-grid blockquote { position: relative; margin: 0; padding: 40px; background: white; border-top: 5px solid var(--yellow); box-shadow: 0 10px 40px rgba(8, 31, 80, .06); }
.testimonial-grid blockquote::after { content: "“"; position: absolute; right: 25px; bottom: 2px; color: #edf0f4; font: 900 7rem Georgia, serif; line-height: 1; }
.testimonial-grid img { width: 112px; height: auto; margin-bottom: 24px; }
.testimonial-grid p { position: relative; z-index: 1; min-height: 130px; margin: 0; color: var(--muted); }
.testimonial-grid cite { position: relative; z-index: 1; display: block; margin-top: 22px; color: var(--navy); font-style: normal; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }

.contact-cta { padding: 76px 0; background: var(--navy); color: white; }
.contact-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 42px; }
.contact-cta h2 { margin: 0 0 9px; color: white; font-size: clamp(2.2rem, 4vw, 3.25rem); line-height: 1.08; }
.contact-cta p:not(.eyebrow) { margin: 0; color: rgba(255, 255, 255, .7); }
.contact-actions { display: grid; gap: 14px; justify-items: center; }
.phone-link { color: white; font-size: 1.13rem; font-weight: 800; letter-spacing: .04em; }
.site-footer { padding: 34px 0; border-top: 1px solid rgba(255, 255, 255, .1); background: var(--navy-2); color: rgba(255, 255, 255, .68); }
.footer-inner { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 40px; }
.footer-inner img { width: 115px; padding: 8px; background: white; }
.footer-inner div { display: grid; font-size: .88rem; }
.footer-inner strong { color: white; }
.footer-inner a:hover { color: var(--yellow); }
.footer-inner p { margin: 0; font-size: .83rem; }

.page-hero { display: flex; align-items: center; min-height: 370px; color: white; background: linear-gradient(105deg, rgba(8, 31, 80, .96), rgba(8, 31, 80, .7)), url("assets/hero.jpg") center 38%/cover no-repeat; }
.page-hero h1, .contact-hero h1 { position: relative; max-width: 720px; margin: 0 0 18px; padding-left: 22px; color: white; font-size: clamp(3rem, 6vw, 5.2rem); line-height: .98; letter-spacing: -.04em; }
.page-hero h1::before, .contact-hero h1::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 8px; background: var(--yellow); }
.page-hero p:not(.eyebrow) { max-width: 710px; margin: 0; color: rgba(255, 255, 255, .82); font-size: 1.1rem; }
.resume-layout { display: grid; grid-template-columns: 320px 1fr; gap: 75px; align-items: start; }
.resume-aside { position: sticky; top: 120px; }
.resume-aside p:not(.eyebrow) { margin-bottom: 28px; color: var(--muted); }
.resume-groups { display: grid; gap: 62px; }
.resume-group > h2 { margin: 0 0 22px; padding-bottom: 16px; border-bottom: 3px solid var(--yellow); color: var(--navy); font-size: 1.7rem; }
.resume-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.resume-grid article { padding: 24px; background: var(--cloud); border-left: 4px solid var(--navy); }
.resume-grid h3 { margin: 0 0 8px; color: var(--navy); font-size: 1.04rem; }
.resume-grid p { margin: 0; color: var(--muted); font-size: .93rem; }
.project-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 30px; margin: 0; padding: 0; list-style: none; }
.project-list li { position: relative; padding: 13px 0 13px 25px; border-bottom: 1px solid var(--line); }
.project-list li::before { content: ""; position: absolute; left: 0; top: 24px; width: 10px; height: 3px; background: var(--yellow); }

.contact-hero { display: grid; grid-template-columns: minmax(0, 2.35fr) minmax(350px, 1fr); min-height: 575px; color: white; }
.contact-hero-image { display: flex; align-items: center; padding-left: max(40px, calc((100vw - var(--shell)) / 2)); background: linear-gradient(105deg, rgba(25, 29, 35, .75), rgba(25, 29, 35, .46)), url("assets/contact.jpg") center/cover no-repeat; }
.contact-info { display: flex; flex-direction: column; justify-content: center; padding: 55px clamp(28px, 4vw, 58px); background: var(--yellow); color: var(--navy); }
.contact-info h2 { margin: 0 0 35px; font-size: 2.35rem; }
.info-item { display: grid; grid-template-columns: 55px minmax(0, 1fr); gap: 18px; margin-bottom: 28px; }
.info-item > div { min-width: 0; }
.line-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 3px solid white; border-radius: 50%; color: white; font-size: 1.9rem; line-height: 1; }
.info-item strong { font-size: 1.03rem; }
.info-item p { margin: 5px 0 0; font-weight: 700; line-height: 1.6; }
.info-item a { overflow-wrap: anywhere; }
.info-item a:hover { color: white; }
.form-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 80px; align-items: start; }
.form-intro > p:not(.eyebrow) { color: var(--muted); }
.direct-links { display: grid; gap: 12px; margin-top: 35px; }
.direct-links a { display: grid; padding: 17px 20px; background: var(--cloud); border-left: 4px solid var(--yellow); }
.direct-links span { color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.direct-links strong { color: var(--navy); }
.quote-form { display: grid; gap: 20px; padding: clamp(28px, 5vw, 50px); background: var(--cloud); box-shadow: var(--shadow); }
.quote-form h2 { margin: 0 0 4px; color: var(--navy); font-size: 2rem; }
.quote-form label { display: grid; gap: 7px; color: var(--navy); font-size: .82rem; font-weight: 800; }
.field-row { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.quote-form input, .quote-form textarea, .quote-form select { width: 100%; border: 1px solid #d6d9df; border-radius: 0; outline: 0; background: white; color: var(--ink); }
.quote-form input, .quote-form select { height: 52px; padding: 0 14px; }
.quote-form textarea { resize: vertical; min-height: 140px; padding: 13px 14px; }
.quote-form input:focus, .quote-form textarea:focus, .quote-form select:focus { border-color: var(--yellow); box-shadow: 0 0 0 3px rgba(253, 182, 31, .2); }
.quote-form .button { justify-self: start; border: 0; cursor: pointer; }
.quote-form .button:disabled { cursor: wait; opacity: .62; transform: none; box-shadow: none; }
.form-status { min-height: 25px; margin: -5px 0 0; color: var(--navy); font-size: .9rem; font-weight: 700; }
.form-status.success { color: #13713b; }
.form-status.error { color: #a12828; }
.security-check { max-width: 230px; }
.honeypot { position: absolute !important; left: -10000px !important; }

.lightbox { width: min(92vw, 1100px); max-width: none; height: min(88vh, 800px); max-height: none; padding: 0; overflow: visible; border: 0; background: transparent; color: white; }
.lightbox::backdrop { background: rgba(2, 10, 27, .94); backdrop-filter: blur(5px); }
.lightbox figure { height: 100%; margin: 0; display: grid; grid-template-rows: 1fr auto; place-items: center; }
.lightbox figure img { max-width: 100%; max-height: calc(88vh - 55px); object-fit: contain; box-shadow: 0 24px 80px rgba(0, 0, 0, .45); }
.lightbox figcaption { margin-top: 15px; color: rgba(255, 255, 255, .75); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.lightbox button { position: absolute; z-index: 2; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: white; cursor: pointer; }
.lightbox-close { top: -12px; right: -12px; width: 44px; height: 44px; font-size: 2rem; }
.lightbox-prev, .lightbox-next { top: 50%; width: 52px; height: 52px; font-size: 2.5rem; transform: translateY(-50%); }
.lightbox-prev { left: -70px; }
.lightbox-next { right: -70px; }

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

@media (max-width: 980px) {
  .hero, .contact-hero { grid-template-columns: 1fr; }
  .hero-main { min-height: 650px; }
  .services-panel { padding-block: 60px; }
  .service-list { grid-template-columns: repeat(2, 1fr); }
  .split-section { grid-template-columns: .75fr 1.25fr; }
  .project-grid { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; }
  .feature-image { grid-row: auto; min-height: 480px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-grid p { min-height: 0; }
  .resume-layout, .form-layout { grid-template-columns: 1fr; }
  .resume-aside { position: static; }
  .contact-hero-image { min-height: 500px; }
}

@media (max-width: 720px) {
  .shell { width: min(calc(100% - 32px), var(--shell)); }
  .site-header { height: 70px; }
  .brand img { width: 105px; }
  .menu-toggle { display: block; }
  .site-nav { position: absolute; top: 70px; left: 0; right: 0; display: none; padding: 10px 16px 18px; background: white; border-bottom: 1px solid var(--line); box-shadow: 0 14px 30px rgba(8, 31, 80, .13); }
  .site-nav.open { display: grid; }
  .site-nav a { padding: 13px 5px; }
  .site-nav a::after { bottom: 7px; right: auto; width: 28px; transform: scaleX(0); transform-origin: left; }
  .site-nav a:hover::after, .site-nav a:focus-visible::after, .site-nav .active::after { transform: scaleX(1); }
  .hero { min-height: auto; }
  .hero-main { min-height: 570px; }
  .hero-copy { width: calc(100% - 40px); margin-left: 20px; }
  .hero h1 { font-size: clamp(2.7rem, 13vw, 4.1rem); }
  .services-panel { padding: 45px 24px; }
  .service-list { grid-template-columns: 1fr; }
  .quote-inner, .section-heading, .contact-cta-inner { align-items: flex-start; flex-direction: column; padding-block: 34px; }
  .split-section { min-height: auto; grid-template-columns: 1fr; }
  .split-image { min-height: 400px; }
  .split-copy { padding: 65px 24px; }
  .about-columns { grid-template-columns: 1fr; }
  .about-columns p:last-child { grid-column: auto; }
  .stats { gap: 30px; }
  .stats strong { font-size: 2rem; }
  .section-pad { padding: 72px 0; }
  .project-grid, .resume-grid, .project-list, .field-row { grid-template-columns: 1fr; }
  .feature-image { min-height: 360px; }
  .feature-copy, .feature-caption { padding-inline: 24px; }
  .footer-inner { grid-template-columns: 1fr; justify-items: center; gap: 20px; text-align: center; }
  .page-hero { min-height: 340px; }
  .contact-hero { grid-template-columns: 1fr; }
  .contact-hero-image { min-height: 420px; padding-left: 24px; }
  .contact-info { padding: 50px 24px; }
  .form-layout { gap: 50px; }
  .quote-form { padding: 25px; }
  .lightbox { width: 88vw; }
  .lightbox-prev { left: -14px; }
  .lightbox-next { right: -14px; }
  .lightbox-close { right: 0; }
}

@media (max-width: 420px) {
  .hero h1 { padding-left: 16px; }
  .hero h1::before { width: 6px; }
  .stats { display: grid; }
  .project-card, .project-card img { min-height: 225px; }
  .contact-info h2 { font-size: 2rem; }
}
