:root {
  --navy: #0b1b27;
  --navy-2: #142b3b;
  --ink: #191d21;
  --muted: #67717a;
  --orange: #e87835;
  --orange-dark: #c65c21;
  --paper: #f5f5f1;
  --white: #ffffff;
  --line: rgba(25, 29, 33, 0.15);
  --content: min(1180px, calc(100% - 48px));
  --radius: 3px;
}

* { 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(--paper); line-height: 1.6; }
img { display: block; width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { line-height: .98; letter-spacing: -.045em; }
h2 { font-size: clamp(2.6rem, 5vw, 5.2rem); margin-bottom: 0; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.skip-link { position: fixed; left: 12px; top: -100px; z-index: 999; background: var(--orange); color: white; padding: 12px 18px; }
.skip-link:focus { top: 12px; }

.site-header { height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 max(24px, calc((100vw - 1180px) / 2)); background: rgba(245,245,241,.97); border-bottom: 1px solid var(--line); position: sticky; top: 0; z-index: 50; backdrop-filter: blur(12px); }
.brand { display: inline-flex; align-items: center; gap: 12px; }
.brand-mark { width: 30px; height: 34px; border: 3px solid var(--navy); border-top: 0; position: relative; display: inline-block; }
.brand-mark::before { content: ""; position: absolute; width: 18px; height: 18px; border-left: 3px solid var(--orange); border-top: 3px solid var(--orange); transform: rotate(45deg); top: -8px; left: 3px; }
.brand-mark span { position: absolute; right: 3px; bottom: 0; width: 7px; height: 14px; background: var(--navy); }
.brand-copy { display: grid; line-height: 1; }
.brand-copy strong { font-size: 1rem; letter-spacing: .14em; }
.brand-copy em { font-style: normal; color: var(--orange); }
.brand-copy small { font-size: .56rem; letter-spacing: .17em; margin-top: 6px; }
.site-nav { display: flex; align-items: center; gap: 30px; font-weight: 700; font-size: .86rem; }
.site-nav a:not(.button) { position: relative; }
.site-nav a:not(.button)::after { content: ""; height: 2px; width: 0; position: absolute; left: 0; bottom: -7px; background: var(--orange); transition: width .2s; }
.site-nav a:hover::after, .site-nav a:focus-visible::after { width: 100%; }
.menu-button { display: none; border: 0; background: transparent; padding: 8px; }
.menu-button > span:not(.sr-only) { display: block; width: 26px; height: 2px; background: var(--navy); margin: 5px; }

.button { display: inline-flex; align-items: center; justify-content: center; gap: 22px; min-height: 52px; padding: 0 24px; border: 1px solid var(--orange); border-radius: var(--radius); background: var(--orange); color: white; font-weight: 800; transition: transform .2s, background .2s; cursor: pointer; }
.button:hover, .button:focus-visible { background: var(--orange-dark); transform: translateY(-2px); }
.button-small { min-height: 42px; padding: 0 18px; font-size: .78rem; }
.button-ghost { background: transparent; border-color: rgba(255,255,255,.55); }
.button-ghost:hover { background: white; color: var(--navy); }
.eyebrow { color: var(--orange); text-transform: uppercase; letter-spacing: .22em; font-size: .74rem; font-weight: 900; margin-bottom: 22px; }
.section { width: var(--content); margin-inline: auto; padding: 130px 0; }

.hero { min-height: calc(100vh - 76px); display: grid; grid-template-columns: minmax(460px, .84fr) 1.16fr; background: var(--navy); color: white; }
.hero-copy { padding: clamp(72px, 9vw, 132px) 6vw 52px max(24px, calc((100vw - 1180px) / 2)); display: flex; flex-direction: column; justify-content: center; position: relative; z-index: 2; }
.hero-copy h1 { font-size: clamp(4rem, 7.2vw, 7.6rem); margin: 0 0 30px; max-width: 820px; }
.hero-copy h1 span { color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.68); }
.hero-lead { max-width: 610px; color: #ced5da; font-size: clamp(1.05rem, 1.4vw, 1.3rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 24px; margin-top: 56px; font-size: .82rem; font-weight: 750; color: #dbe1e5; }
.hero-visual { margin: 0; min-height: 650px; position: relative; overflow: hidden; }
.hero-visual::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,27,39,.42), transparent 45%); z-index: 1; }
.hero-visual img { height: 100%; object-fit: cover; }
.hero-visual figcaption { position: absolute; right: 0; bottom: 0; z-index: 2; display: grid; background: rgba(11,27,39,.94); color: white; padding: 24px 30px; min-width: 300px; }
.hero-visual figcaption span { color: var(--orange); font-size: .7rem; letter-spacing: .2em; }
.hero-visual figcaption strong { font-size: 1.05rem; margin: 6px 0 1px; }
.hero-visual figcaption small { color: #b7c0c6; }

.stats { display: grid; grid-template-columns: repeat(4, 1fr); width: var(--content); margin: 0 auto; border-inline: 1px solid var(--line); }
.stats > div { min-height: 170px; padding: 42px 30px; border-right: 1px solid var(--line); display: grid; align-content: center; }
.stats > div:last-of-type { border-right: 0; }
.stats strong { font-size: clamp(2rem, 3vw, 3.5rem); letter-spacing: -.055em; }
.stats span { color: var(--muted); font-size: .86rem; }
.stats > p { grid-column: 1 / -1; text-align: right; font-size: .7rem; color: #8b9298; padding: 12px 0; margin: 0; }

.section-heading { margin-bottom: 56px; }
.split-heading { display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; }
.split-heading > p, .project-heading > p { color: var(--muted); max-width: 520px; margin: 0 0 8px; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.service-grid article { min-height: 285px; padding: 34px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); position: relative; display: flex; flex-direction: column; transition: background .25s, color .25s; }
.service-grid article:hover { background: #fff; }
.service-grid .service-featured { background: var(--navy); color: white; }
.service-icon { color: var(--orange); font-size: 1.6rem; }
.service-grid small { position: absolute; top: 26px; right: 26px; color: #8b9298; }
.service-grid h3 { font-size: 1.45rem; margin: 46px 0 12px; }
.service-grid p { color: var(--muted); margin-bottom: 26px; }
.service-featured p { color: #b5c0c8; }
.service-grid a { margin-top: auto; color: var(--orange); font-weight: 800; font-size: .8rem; }

.about { display: grid; grid-template-columns: 1fr 1fr; min-height: 760px; background: var(--navy); color: white; }
.about-image { margin: 0; overflow: hidden; }
.about-image img { height: 100%; object-fit: cover; }
.about-copy { padding: 105px max(32px, calc((100vw - 1180px) / 2)) 100px 7vw; }
.about-copy h2 { font-size: clamp(2.5rem, 4.4vw, 4.7rem); margin-bottom: 30px; }
.about-copy > p:not(.eyebrow) { color: #bdc6cc; max-width: 620px; }
.quality-list { list-style: none; padding: 0; margin: 44px 0 34px; }
.quality-list li { display: grid; grid-template-columns: 52px 1fr; gap: 20px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.15); }
.quality-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.15); }
.quality-list > li > span { color: var(--orange); font-size: .74rem; letter-spacing: .18em; }
.quality-list strong { font-size: 1.08rem; }
.quality-list p { color: #98a7b0; margin: 3px 0 0; font-size: .9rem; }
.text-link { color: var(--orange); text-transform: uppercase; letter-spacing: .12em; font-size: .78rem; font-weight: 900; }

.project-heading { display: flex; justify-content: space-between; gap: 50px; align-items: end; }
.project-grid { display: grid; grid-template-columns: 1.25fr 1fr; grid-auto-rows: 360px; gap: 16px; }
.project-card { position: relative; overflow: hidden; background: var(--navy); color: white; }
.project-card img { height: 100%; object-fit: cover; transition: transform .6s ease; }
.project-card:hover img { transform: scale(1.025); }
.project-card::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(7,17,24,.9)); }
.project-card > div { position: absolute; left: 30px; right: 30px; bottom: 24px; z-index: 2; }
.project-card span { color: #f2a06d; font-size: .7rem; letter-spacing: .17em; text-transform: uppercase; }
.project-card h3 { font-size: 1.7rem; margin: 10px 0 4px; }
.project-card p { color: #d1d8dc; margin: 0; }
.project-large { grid-row: span 2; }
.project-wide { grid-column: auto; }

.process { padding: 130px max(24px, calc((100vw - 1180px) / 2)); background: #eef0ed; }
.process-heading { max-width: 780px; }
.process-list { display: grid; grid-template-columns: repeat(5, 1fr); list-style: none; padding: 0; margin: 70px 0 0; border-top: 1px solid var(--line); }
.process-list li { padding: 30px 22px 0 0; position: relative; }
.process-list li::before { content: ""; position: absolute; width: 9px; height: 9px; background: var(--orange); border-radius: 50%; top: -5px; left: 0; }
.process-list li > span { color: #8a9298; font-size: .7rem; }
.process-icon { color: var(--orange); font-size: 1.9rem; margin: 48px 0 40px; }
.process-list h3 { font-size: 1.25rem; margin-bottom: 12px; }
.process-list p { color: var(--muted); font-size: .88rem; padding-right: 12px; }

.testimonials { background: var(--navy); color: white; padding: 130px max(24px, calc((100vw - 1180px) / 2)); }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(255,255,255,.16); border-left: 1px solid rgba(255,255,255,.16); }
.testimonial-grid blockquote { margin: 0; padding: 34px; min-height: 330px; border-right: 1px solid rgba(255,255,255,.16); border-bottom: 1px solid rgba(255,255,255,.16); display: flex; flex-direction: column; }
.testimonial-grid blockquote > div { color: var(--orange); letter-spacing: .16em; font-size: .75rem; }
.testimonial-grid blockquote > p { margin: 48px 0 28px; font-size: 1.15rem; line-height: 1.7; color: #e0e5e8; }
.testimonial-grid footer { display: grid; margin-top: auto; }
.testimonial-grid footer span { color: #8797a1; font-size: .78rem; }
.demo-note { color: #7d8d96; font-size: .7rem; text-align: right; margin: 14px 0 0; }

.service-area { width: var(--content); margin: 0 auto; padding: 120px 0; display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: center; }
.service-area > div:last-child > p { color: var(--muted); font-size: 1.05rem; }
.service-area ul { list-style: none; margin: 35px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
.service-area li { border-bottom: 1px solid var(--line); padding: 14px 0; font-weight: 750; }

.quote { display: grid; grid-template-columns: .85fr 1.15fr; background: var(--orange); }
.quote-copy { padding: 100px 7vw 100px max(24px, calc((100vw - 1180px) / 2)); color: white; }
.quote-copy .eyebrow { color: var(--navy); }
.quote-copy h2 { font-size: clamp(2.7rem, 5vw, 5.3rem); }
.quote-copy > p:not(.eyebrow) { max-width: 520px; margin: 30px 0; }
.quote-copy ul { display: flex; flex-wrap: wrap; list-style: none; gap: 22px; padding: 0; font-weight: 800; font-size: .8rem; }
.quote-form { background: var(--navy); color: white; padding: 76px max(24px, calc((100vw - 1180px) / 2)) 76px 6vw; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.field { display: grid; gap: 8px; }
.field-full { grid-column: 1 / -1; }
.field label { font-size: .78rem; font-weight: 800; color: #c6d0d5; }
.field input, .field select, .field textarea { width: 100%; border: 1px solid rgba(255,255,255,.22); border-radius: var(--radius); background: rgba(255,255,255,.05); color: white; min-height: 50px; padding: 12px 14px; outline: none; }
.field textarea { resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--orange); box-shadow: 0 0 0 2px rgba(232,120,53,.2); }
.field select option { color: var(--ink); }
.quote-form .button { width: 100%; border: 0; }
.form-note { margin: -8px 0 0; color: #82939e; font-size: .72rem; }

.faq { display: grid; grid-template-columns: .72fr 1.28fr; gap: 80px; }
.faq-list { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { min-height: 82px; display: flex; align-items: center; justify-content: space-between; gap: 30px; cursor: pointer; font-size: 1.05rem; font-weight: 800; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary span { color: var(--orange); font-size: 1.6rem; transition: transform .2s; }
.faq details[open] summary span { transform: rotate(45deg); }
.faq details p { color: var(--muted); margin: -2px 48px 24px 0; max-width: 620px; }

.final-cta { background: #e9ece8; text-align: center; padding: 125px 24px; }
.final-cta h2 { margin-bottom: 42px; }
.site-footer { background: #07131c; color: white; padding: 80px max(24px, calc((100vw - 1180px) / 2)) 30px; display: grid; grid-template-columns: 1.4fr .6fr .8fr; gap: 60px; }
.brand-inverse .brand-mark { border-color: white; }
.brand-inverse .brand-mark span { background: white; }
.site-footer > div:first-child > p { color: #84949e; max-width: 360px; margin: 28px 0 0; }
.site-footer nav, .footer-contact { display: grid; align-content: start; gap: 12px; }
.site-footer nav a:hover, .footer-contact a:hover { color: var(--orange); }
.footer-contact { color: #b8c2c8; }
.copyright { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.12); color: #65757f; padding-top: 24px; margin: 25px 0 0; font-size: .75rem; }

@media (max-width: 980px) {
  .site-nav { position: fixed; inset: 76px 0 auto; background: var(--paper); display: none; padding: 30px 24px; flex-direction: column; align-items: stretch; box-shadow: 0 18px 35px rgba(0,0,0,.12); }
  .site-nav.is-open { display: flex; }
  .menu-button { display: block; }
  .hero { grid-template-columns: 1fr; }
  .hero-copy { min-height: 650px; padding-left: 24px; padding-right: 24px; }
  .hero-visual { min-height: 520px; }
  .split-heading, .service-area, .faq { grid-template-columns: 1fr; gap: 38px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; }
  .about-image { min-height: 620px; }
  .about-copy { padding: 85px 24px; }
  .process-list { grid-template-columns: repeat(3, 1fr); row-gap: 45px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .quote { grid-template-columns: 1fr; }
  .quote-copy, .quote-form { padding: 78px 24px; }
}

@media (max-width: 680px) {
  :root { --content: calc(100% - 32px); }
  .site-header { height: 70px; padding: 0 16px; }
  .site-nav { top: 70px; }
  .brand-copy small { font-size: .48rem; }
  .section { padding: 88px 0; }
  .hero { min-height: auto; }
  .hero-copy { min-height: 580px; padding-top: 72px; padding-bottom: 50px; }
  .hero-copy h1 { font-size: clamp(3.5rem, 17vw, 5.2rem); }
  .hero-actions .button { width: 100%; }
  .hero-tags { margin-top: 40px; gap: 14px; }
  .hero-visual { min-height: 420px; }
  .hero-visual figcaption { min-width: min(310px, 90%); padding: 20px; }
  .stats { grid-template-columns: 1fr 1fr; border-top: 1px solid var(--line); }
  .stats > div { min-height: 135px; padding: 26px 20px; border-bottom: 1px solid var(--line); }
  .stats > p { text-align: left; padding-inline: 10px; }
  .service-grid { grid-template-columns: 1fr; }
  .about-image { min-height: 460px; }
  .project-heading { display: grid; gap: 30px; }
  .project-grid { grid-template-columns: 1fr; grid-auto-rows: 310px; }
  .project-large, .project-wide { grid-row: auto; grid-column: auto; }
  .process { padding: 88px 16px; }
  .process-list { grid-template-columns: 1fr; margin-top: 52px; border-top: 0; }
  .process-list li { border-top: 1px solid var(--line); padding-top: 24px; }
  .process-list li::before { top: -5px; }
  .process-icon { margin: 30px 0 24px; }
  .testimonials { padding: 88px 16px; }
  .service-area { padding: 88px 0; }
  .service-area ul { grid-template-columns: 1fr; }
  .quote-form { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .site-footer { grid-template-columns: 1fr; gap: 44px; }
  .copyright { grid-column: auto; }
}

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