:root {
  --ink: #111614;
  --ink-soft: #252d29;
  --paper: #f4f6f3;
  --white: #ffffff;
  --line: #cfd5d0;
  --muted: #5f6b65;
  --signal: #0aa8b5;
  --signal-deep: #006b73;
  --signal-soft: rgba(10,168,181,.22);
  --success: #08781a;
  --yellow: #f0b90b;
  --steel: #53768a;
  --shell: 1200px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { min-width: 320px; margin: 0; background: var(--paper); color: var(--ink); line-height: 1.55; }
body.nav-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; }
.section { width: min(calc(100% - 40px), var(--shell)); margin-inline: auto; padding-block: 106px; }
.skip-link { position: fixed; z-index: 100; top: 10px; left: 10px; padding: 10px 14px; transform: translateY(-150%); background: var(--signal); color: var(--ink); }
.skip-link:focus { transform: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; }

.utility-bar { min-height: 32px; background: var(--ink); color: #c9d1cc; font-size: 12px; }
.utility-inner { min-height: 32px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.utility-inner p { margin: 0; text-transform: uppercase; }
.utility-inner a { color: var(--white); text-decoration: none; border-bottom: 1px solid #6f7973; }

.site-header { position: relative; z-index: 20; background: var(--white); border-bottom: 1px solid var(--line); }
.header-inner { min-height: 84px; display: grid; grid-template-columns: 230px 1fr auto; align-items: center; gap: 30px; }
.brand { width: 218px; height: 62px; display: flex; align-items: center; overflow: hidden; }
.brand img { width: 218px; height: auto; }
.primary-nav { display: flex; align-items: center; justify-content: flex-end; gap: 28px; }
.primary-nav a { padding: 10px 0; color: #303733; font-size: 14px; font-weight: 750; text-decoration: none; border-bottom: 2px solid transparent; }
.primary-nav a:hover { color: var(--signal-deep); border-color: var(--signal); }
.header-call { min-height: 46px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; background: var(--yellow); font-size: 14px; font-weight: 850; text-decoration: none; }
.nav-toggle { display: none; min-height: 44px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 3px; background: var(--white); font-weight: 800; cursor: pointer; }

.hero { position: relative; height: min(720px, calc(100svh - 116px)); min-height: 560px; overflow: hidden; color: var(--white); background: var(--ink); }
.hero picture, .hero-image, .hero-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-image { object-fit: cover; object-position: center 48%; }
.hero-shade { background: rgba(7, 11, 9, .63); }
.hero-inner { position: relative; z-index: 1; height: 100%; display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding-block: 110px 48px; }
.hero-copy { max-width: 800px; }
.eyebrow { margin: 0 0 16px; color: var(--signal-deep); font-size: 12px; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.eyebrow.light { color: var(--yellow); }
h1, h2, h3, p { letter-spacing: 0; }
h1, h2, h3 { margin-top: 0; line-height: 1.03; }
h1 { margin-bottom: 22px; font-size: 68px; font-weight: 900; }
h2 { margin-bottom: 24px; font-size: 52px; font-weight: 880; }
h3 { font-size: 24px; }
.hero-lead { max-width: 680px; margin: 0; color: #eef2ef; font-size: 21px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; padding: 11px 20px; border: 1px solid transparent; border-radius: 3px; font-size: 14px; font-weight: 850; text-decoration: none; }
.button.signal { background: var(--signal); color: var(--ink); }
.button.signal:hover { background: var(--white); }
.button.message { background: var(--yellow); color: var(--ink); }
.button.message:hover { background: var(--white); }
.button.outline { border-color: rgba(255,255,255,.72); background: rgba(17,22,20,.28); color: var(--white); }
.button.outline:hover { background: var(--white); color: var(--ink); }
.hero-location { flex: 0 0 230px; margin: 0 0 6px; padding-left: 18px; border-left: 3px solid var(--signal); color: #dce3de; font-size: 13px; font-weight: 750; text-transform: uppercase; }

.proof-band { background: var(--yellow); }
.proof-grid { min-height: 88px; display: grid; grid-template-columns: repeat(3, 1fr); align-items: center; }
.proof-grid p { min-width: 0; margin: 0; padding: 0 28px; display: grid; border-left: 1px solid rgba(17,22,20,.32); }
.proof-grid p:first-child { padding-left: 0; border-left: 0; }
.proof-grid strong { font-size: 16px; }
.proof-grid span { font-size: 12px; font-weight: 700; text-transform: uppercase; }

.intro { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .78fr); gap: 84px; align-items: end; }
.section-title h2 { max-width: 720px; margin-bottom: 0; }
.intro-copy { color: #3f4943; font-size: 18px; }
.intro-copy p:last-child { margin-bottom: 0; }

.automation-band { background: var(--ink-soft); color: var(--white); }
.automation-grid { display: grid; grid-template-columns: 1.08fr .92fr; min-height: 720px; }
.automation-image { min-width: 0; margin: 0; }
.automation-image img { width: 100%; height: 100%; object-fit: cover; }
.automation-copy { display: flex; flex-direction: column; justify-content: center; padding: 80px 0 80px 70px; }
.automation-copy > p:not(.eyebrow) { max-width: 520px; color: #c5cec8; font-size: 17px; }
.control-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 30px 0 0; padding: 0; list-style: none; border-top: 1px solid #56605a; }
.control-list li { min-height: 72px; display: flex; align-items: center; padding: 14px 14px 14px 24px; border-bottom: 1px solid #56605a; font-size: 14px; font-weight: 750; position: relative; }
.control-list li:nth-child(odd) { border-right: 1px solid #56605a; }
.control-list li::before { content: ""; position: absolute; left: 2px; width: 8px; height: 8px; background: var(--signal); }
.automation-copy .button { align-self: flex-start; margin-top: 30px; }

.service-lines { display: grid; grid-template-columns: .82fr 1.18fr; gap: 80px; align-items: start; }
.service-heading { position: sticky; top: 36px; }
.service-list { border-top: 3px solid var(--ink); }
.service-list article { display: grid; grid-template-columns: 44px 190px 1fr; gap: 22px; align-items: start; padding: 30px 0; border-bottom: 1px solid var(--line); }
.service-list article > span { color: var(--steel); font-size: 13px; font-weight: 900; }
.service-list h3 { margin-bottom: 0; }
.service-list p { margin: 0; color: var(--muted); }
.service-link { display: inline-block; margin-top: 10px; color: var(--signal-deep); font-size: 13px; font-weight: 850; }

.work-section { padding-block: 106px; background: var(--white); }
.work-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 44px; }
.work-heading h2 { max-width: 720px; margin-bottom: 0; }
.work-heading > p { max-width: 390px; margin: 0; color: var(--muted); }
.work-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 260px; gap: 10px; }
.project { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; border-radius: 0; background: var(--ink); cursor: zoom-in; }
.project-wide { grid-column: span 2; }
.project-tall { grid-row: span 2; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .28s ease; }
.project:hover img, .project:focus-visible img { transform: scale(1.025); }
.project span { position: absolute; right: 0; bottom: 0; left: 0; padding: 32px 16px 14px; background: rgba(12,16,14,.78); color: var(--white); font-size: 13px; font-weight: 800; text-align: left; }

.equipment-feature { display: grid; grid-template-columns: .78fr 1.22fr; gap: 90px; align-items: center; }
.equipment-feature figure { height: 620px; margin: 0; overflow: hidden; }
.equipment-feature figure img { width: 100%; height: 100%; object-fit: cover; }
.equipment-copy > p:not(.eyebrow) { max-width: 650px; color: var(--muted); font-size: 18px; }
.equipment-copy dl { margin: 34px 0 0; border-top: 3px solid var(--ink); }
.equipment-copy dl > div { display: grid; grid-template-columns: 140px 1fr; gap: 30px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.equipment-copy dt { color: var(--muted); font-size: 13px; font-weight: 800; text-transform: uppercase; }
.equipment-copy dd { margin: 0; font-weight: 800; }

.contact-band { padding-block: 92px; background: var(--steel); color: var(--white); }
.contact-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 72px; align-items: start; }
.contact-grid h2 { max-width: 650px; margin-bottom: 36px; }
.contact-grid address { display: grid; font-style: normal; border-top: 1px solid rgba(255,255,255,.48); }
.contact-grid address a { display: grid; grid-template-columns: 90px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.48); text-decoration: none; }
.contact-grid address a:hover strong { color: var(--yellow); }
.contact-grid address span { font-size: 12px; font-weight: 800; text-transform: uppercase; }
.contact-grid address strong { font-size: 17px; }
.contact-form { padding: 34px; border-radius: 4px; background: var(--white); color: var(--ink); }
.contact-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.contact-fields label { min-width: 0; display: grid; gap: 7px; }
.contact-fields label > span { font-size: 12px; font-weight: 850; text-transform: uppercase; }
.contact-fields input, .contact-fields textarea { width: 100%; min-width: 0; padding: 11px 12px; border: 1px solid #9eaaa3; border-radius: 3px; background: var(--paper); color: var(--ink); }
.contact-fields input { min-height: 46px; }
.contact-fields textarea { min-height: 154px; resize: vertical; }
.contact-fields input:focus, .contact-fields textarea:focus { border-color: var(--signal-deep); outline: 3px solid var(--signal-soft); outline-offset: 0; }
.contact-fields .field-wide { grid-column: 1 / -1; }
.field-note { margin: 11px 0 0; color: var(--muted); font-size: 12px; }
.cf-turnstile { min-height: 65px; margin-top: 18px; }
.contact-actions { display: flex; align-items: center; gap: 18px; margin-top: 18px; }
.contact-submit { flex: 0 0 auto; border: 0; background: var(--yellow); color: var(--ink); cursor: pointer; }
.contact-submit:hover { background: var(--signal); }
.contact-submit:disabled { cursor: wait; opacity: .62; }
.form-status { margin: 0; color: var(--muted); font-size: 14px; }
.form-status[data-state="success"] { color: var(--success); font-weight: 750; }
.form-status[data-state="error"] { color: #a52a2a; font-weight: 750; }

footer { padding-block: 40px; background: var(--ink); color: var(--white); }
.footer-inner { display: flex; align-items: end; justify-content: space-between; gap: 40px; }
.footer-inner p { margin: 0; }
.footer-inner strong, .footer-inner span { display: block; }
.footer-inner span, .footer-inner > p:last-child { color: #aeb8b1; font-size: 12px; text-transform: uppercase; }
.footer-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 20px; }
.footer-links a { color: #d5ddd8; font-size: 12px; font-weight: 750; text-decoration: none; }
.footer-links a:hover { color: var(--signal); }

.service-page-hero { position: relative; min-height: 560px; overflow: hidden; background: var(--ink); color: var(--white); }
.service-page-hero > img, .service-page-shade { position: absolute; inset: 0; width: 100%; height: 100%; }
.service-page-hero > img { object-fit: cover; }
.service-page-shade { background: rgba(7,11,9,.68); }
.service-page-hero-inner { position: relative; z-index: 1; min-height: 560px; display: flex; flex-direction: column; justify-content: flex-end; padding-block: 90px 54px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 36px; color: #d4ddd7; font-size: 12px; font-weight: 750; }
.breadcrumb a { color: var(--white); }
.service-page-hero h1 { max-width: 900px; margin-bottom: 20px; font-size: 64px; }
.service-page-hero .hero-lead { max-width: 780px; }
.service-page-hero .hero-actions { margin-top: 28px; }
.service-overview-grid { display: grid; grid-template-columns: 1.08fr .92fr; gap: 84px; align-items: start; }
.service-copy > p:not(.eyebrow) { color: #3f4943; font-size: 18px; }
.service-copy > p:last-child { margin-bottom: 0; }
.service-facts { margin: 0; border-top: 3px solid var(--ink); }
.service-facts > div { display: grid; grid-template-columns: 145px 1fr; gap: 24px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-facts dt { color: var(--muted); font-size: 12px; font-weight: 850; text-transform: uppercase; }
.service-facts dd { margin: 0; font-weight: 800; }
.service-capabilities { padding-block: 100px; background: var(--white); }
.service-capabilities-heading { display: flex; align-items: end; justify-content: space-between; gap: 60px; margin-bottom: 38px; }
.service-capabilities-heading h2 { max-width: 720px; margin-bottom: 0; }
.service-capabilities-heading > p { max-width: 420px; margin: 0; color: var(--muted); }
.capability-rows { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border-top: 3px solid var(--ink); }
.capability-rows article { min-height: 210px; padding: 30px 34px 30px 0; border-bottom: 1px solid var(--line); }
.capability-rows article:nth-child(even) { padding-right: 0; padding-left: 34px; border-left: 1px solid var(--line); }
.capability-rows h3 { margin-bottom: 12px; }
.capability-rows p { margin: 0; color: var(--muted); }
.brand-context { padding-block: 94px; background: var(--ink-soft); color: var(--white); }
.brand-context-grid { display: grid; grid-template-columns: .88fr 1.12fr; gap: 78px; align-items: start; }
.brand-context h2 { max-width: 580px; }
.brand-context-copy > p { color: #c7d0ca; font-size: 17px; }
.brand-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin: 0; padding: 0; list-style: none; border-top: 1px solid #56605a; }
.brand-list li { min-height: 58px; display: flex; align-items: center; padding: 12px 0; border-bottom: 1px solid #56605a; font-weight: 800; }
.brand-list li:nth-child(even) { padding-left: 24px; border-left: 1px solid #56605a; }
.brand-note { margin: 22px 0 0; color: #aeb9b2; font-size: 12px; }
.question-section { padding-block: 100px; }
.question-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 84px; }
.question-grid h2 { margin-bottom: 0; }
.question-list { border-top: 3px solid var(--ink); }
.question-list article { padding: 26px 0; border-bottom: 1px solid var(--line); }
.question-list h3 { margin-bottom: 10px; font-size: 21px; }
.question-list p { margin: 0; color: var(--muted); }
.page-cta { padding-block: 76px; background: var(--steel); color: var(--white); }
.page-cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 54px; }
.page-cta h2 { max-width: 760px; margin-bottom: 0; }
.page-cta .hero-actions { flex: 0 0 auto; margin-top: 0; }

.lightbox { width: min(1100px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 32px); margin: auto; padding: 0; overflow: auto; border: 1px solid #454d48; border-radius: 4px; background: var(--ink); color: var(--white); box-shadow: 0 24px 80px rgba(0,0,0,.42); }
.lightbox::backdrop { background: rgba(5,8,7,.84); }
.lightbox figure { margin: 0; }
.lightbox img { width: 100%; max-height: calc(100dvh - 110px); object-fit: contain; background: #080b09; }
.lightbox figcaption { min-height: 56px; padding: 16px 20px; font-weight: 750; }
.lightbox-close { position: sticky; z-index: 2; top: 10px; float: right; min-height: 42px; margin: 10px 10px -52px 0; padding: 8px 14px; border: 1px solid #69736d; border-radius: 3px; background: var(--white); color: var(--ink); font-weight: 850; cursor: pointer; }

@media (max-width: 980px) {
  .header-inner { grid-template-columns: 210px 1fr auto; }
  .primary-nav { gap: 18px; }
  .primary-nav a:nth-child(3) { display: none; }
  h1 { font-size: 58px; }
  .intro, .service-lines, .equipment-feature { gap: 54px; }
  .automation-copy { padding-left: 44px; }
  .service-list article { grid-template-columns: 40px 150px 1fr; }
  .work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-overview-grid, .brand-context-grid, .question-grid { gap: 48px; }
}

@media (max-width: 760px) {
  .shell, .section { width: min(calc(100% - 28px), var(--shell)); }
  .section, .work-section { padding-block: 74px; }
  .utility-inner { justify-content: flex-end; }
  .utility-inner p { display: none; }
  .header-inner { min-height: 72px; grid-template-columns: 1fr auto auto; gap: 10px; }
  .brand { width: 154px; height: 54px; }
  .brand img { width: 154px; }
  .nav-toggle { display: inline-flex; align-items: center; }
  .primary-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; align-items: stretch; flex-direction: column; gap: 0; padding: 12px 14px 20px; background: var(--white); border-bottom: 1px solid var(--line); box-shadow: 0 18px 35px rgba(0,0,0,.12); }
  .primary-nav.open { display: flex; }
  .primary-nav a, .primary-nav a:nth-child(3) { display: block; padding: 13px 4px; border-bottom: 1px solid var(--line); }
  .header-call { min-width: 66px; padding-inline: 10px; font-size: 0; }
  .header-call::after { content: "Call"; font-size: 13px; }
  .hero { height: calc(100svh - 132px); min-height: 580px; }
  .hero-image { object-position: 59% center; }
  .hero-inner { align-items: flex-end; padding-block: 90px 34px; }
  h1 { font-size: 44px; }
  h2 { font-size: 38px; }
  .hero-lead { font-size: 18px; }
  .hero-location { display: none; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .button { width: 100%; }
  .proof-grid { grid-template-columns: 1fr; padding-block: 14px; }
  .proof-grid p, .proof-grid p:first-child { padding: 11px 0; border-left: 0; border-top: 1px solid rgba(17,22,20,.28); }
  .proof-grid p:first-child { border-top: 0; }
  .intro, .automation-grid, .service-lines, .equipment-feature, .contact-grid { grid-template-columns: 1fr; }
  .intro, .equipment-feature, .contact-grid { gap: 42px; }
  .automation-grid { min-height: 0; }
  .automation-image { height: 390px; }
  .automation-copy { padding: 64px 0; }
  .control-list { grid-template-columns: 1fr; }
  .control-list li:nth-child(odd) { border-right: 0; }
  .service-heading { position: static; }
  .service-list article { grid-template-columns: 36px 1fr; gap: 12px; }
  .service-list article p { grid-column: 2; }
  .work-heading { align-items: flex-start; flex-direction: column; gap: 20px; }
  .work-grid { grid-template-columns: 1fr; grid-auto-rows: 270px; }
  .project-wide { grid-column: auto; }
  .project-tall { grid-row: auto; }
  .equipment-feature figure { height: 500px; }
  .equipment-copy dl > div { grid-template-columns: 110px 1fr; }
  .contact-form { padding: 22px; }
  .contact-fields { grid-template-columns: 1fr; }
  .contact-fields .field-wide { grid-column: auto; }
  .contact-actions { align-items: stretch; flex-direction: column; }
  .contact-submit { width: 100%; }
  .footer-inner { align-items: flex-start; flex-direction: column; }
  .footer-links { justify-content: flex-start; }
  .service-page-hero, .service-page-hero-inner { min-height: 520px; }
  .service-page-hero-inner { padding-block: 72px 38px; }
  .breadcrumb { margin-bottom: 28px; }
  .service-page-hero h1 { font-size: 44px; }
  .service-overview-grid, .brand-context-grid, .question-grid { grid-template-columns: 1fr; gap: 42px; }
  .service-capabilities, .brand-context, .question-section { padding-block: 72px; }
  .service-capabilities-heading, .page-cta-inner { align-items: flex-start; flex-direction: column; gap: 28px; }
  .capability-rows { grid-template-columns: 1fr; }
  .capability-rows article, .capability-rows article:nth-child(even) { min-height: auto; padding: 26px 0; border-left: 0; }
  .brand-list { grid-template-columns: 1fr; }
  .brand-list li:nth-child(even) { padding-left: 0; border-left: 0; }
  .service-facts > div { grid-template-columns: 112px 1fr; }
  .page-cta .hero-actions { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .project img { transition: none; }
}
