:root {
  --steel-900: #11161c;
  --steel-800: #1a2129;
  --steel-700: #26303a;
  --steel-500: #5b6773;
  --steel-200: #d9dee3;
  --steel-100: #eef1f4;
  --white: #ffffff;
  --accent: #f28c1b;       /* orange from the logo */
  --accent-dark: #d47306;
  --text: #1c232b;
  --muted: #56616c;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(17, 22, 28, .12);
  --head: "Barlow Condensed", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; font-family: var(--body); color: var(--text); background: var(--white); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--head); line-height: 1.05; margin: 0 0 .5em; letter-spacing: .01em; }
h1 { font-size: clamp(2.6rem, 6vw, 4.8rem); font-weight: 800; text-transform: uppercase; }
h2 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; text-transform: uppercase; }
h3 { font-size: 1.45rem; font-weight: 700; }
p { margin: 0 0 1em; }

.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.accent { color: var(--accent); }
.eyebrow { font-family: var(--head); font-weight: 700; text-transform: uppercase; letter-spacing: .18em; font-size: .95rem; color: var(--accent); margin-bottom: .75rem; }
.eyebrow.dark { color: var(--accent-dark); }

/* Buttons */
.btn { display: inline-block; background: var(--accent); color: var(--steel-900); font-family: var(--head); font-weight: 700; font-size: 1.15rem; text-transform: uppercase; letter-spacing: .06em; text-decoration: none; padding: .8em 1.6em; border: 2px solid var(--accent); border-radius: 6px; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.btn:hover { background: var(--accent-dark); border-color: var(--accent-dark); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.6); }
.btn-ghost:hover { background: var(--white); color: var(--steel-900); border-color: var(--white); }
.btn-sm { font-size: 1rem; padding: .5em 1.1em; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: rgba(17, 22, 28, .94); backdrop-filter: blur(8px); border-bottom: 1px solid rgba(255,255,255,.08); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--white); font-family: var(--head); font-size: 1.6rem; text-transform: uppercase; letter-spacing: .04em; }
.brand strong { color: var(--accent); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 1.75rem; }
.nav a:not(.btn) { color: var(--steel-200); text-decoration: none; font-weight: 500; font-size: .95rem; transition: color .2s; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav-toggle { display: none; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 2px; background: var(--white); margin: 6px 0; transition: transform .25s, opacity .25s; }

/* Hero */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: var(--white); overflow: hidden; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 60%; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(17,22,28,.95) 0%, rgba(17,22,28,.82) 45%, rgba(17,22,28,.35) 100%); }
.hero-content { position: relative; padding-block: 96px; }
.hero-content h1 { max-width: 14ch; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.25rem); max-width: 56ch; color: var(--steel-200); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin: 2rem 0 2.5rem; }
.hero-tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; }
.hero-tags li { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3em .9em; font-size: .85rem; color: var(--steel-200); background: rgba(255,255,255,.05); }

/* Sections */
.section { padding-block: clamp(64px, 9vw, 112px); }
.section-dark { background: var(--steel-900); color: var(--white); }
.section-dark p { color: var(--steel-200); }
.section-alt { background: var(--steel-100); }
.section-head { max-width: 720px; margin-bottom: 3rem; }
.section-head p:last-child { color: var(--muted); font-size: 1.08rem; }
.section-dark .section-head p:last-child { color: var(--steel-200); }

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.25rem; }
.service { background: var(--white); border: 1px solid var(--steel-200); border-radius: var(--radius); padding: 1.75rem; transition: transform .25s, box-shadow .25s, border-color .25s; }
.service:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--accent); }
.service p { color: var(--muted); margin: 0; font-size: .97rem; }
.icon { width: 52px; height: 52px; border-radius: 10px; background: var(--steel-900); display: grid; place-items: center; margin-bottom: 1.1rem; }
.icon svg { width: 28px; height: 28px; fill: var(--accent); }
.service-feature { background: var(--accent); border-color: var(--accent); display: flex; flex-direction: column; justify-content: center; }
.service-feature h3 { font-size: 1.8rem; text-transform: uppercase; }
.service-feature p { color: var(--steel-900); margin-bottom: 1.25rem; }
.service-feature .btn { background: var(--steel-900); border-color: var(--steel-900); color: var(--white); align-self: flex-start; }
.service-feature .btn:hover { background: var(--steel-700); border-color: var(--steel-700); }

/* Process */
.process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; counter-reset: none; }
.process li { position: relative; padding: 1.75rem; border-radius: var(--radius); background: var(--steel-800); border-top: 4px solid var(--accent); }
.step { font-family: var(--head); font-size: 3rem; font-weight: 800; color: var(--accent); line-height: 1; display: block; margin-bottom: .75rem; }
.process p { margin: 0; font-size: .97rem; }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 240px; gap: 12px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border-radius: var(--radius); cursor: zoom-in; background: var(--steel-200); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery figure:hover img { transform: scale(1.05); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1rem .8rem; background: linear-gradient(transparent, rgba(17,22,28,.85)); color: var(--white); font-family: var(--head); font-weight: 600; font-size: 1.1rem; text-transform: uppercase; letter-spacing: .04em; }
.g-wide { grid-column: span 2; grid-row: span 2; }
.g-tall { grid-row: span 2; }

/* Industries */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.split > div > p { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.75rem; }
.section-dark .split > div > p { color: var(--steel-200); }
.industries { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.industries li { background: var(--white); border-left: 4px solid var(--accent); border-radius: 6px; padding: 1rem 1.25rem; display: flex; flex-direction: column; box-shadow: 0 2px 8px rgba(17,22,28,.05); }
.industries strong { font-family: var(--head); font-size: 1.35rem; text-transform: uppercase; letter-spacing: .03em; }
.industries span { color: var(--muted); font-size: .95rem; }

/* Contact */
.contact-list { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; flex-direction: column; }
.contact-list li > span:first-child { font-family: var(--head); text-transform: uppercase; letter-spacing: .15em; font-size: .85rem; color: var(--accent); }
.contact-list a, .contact-list li > span:last-child { font-size: 1.2rem; color: var(--white); text-decoration: none; }
.contact-form { background: var(--steel-800); padding: clamp(1.25rem, 3vw, 2.25rem); border-radius: var(--radius); display: grid; gap: 1rem; }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label { display: flex; flex-direction: column; gap: .35rem; font-size: .88rem; font-weight: 500; color: var(--steel-200); }
.contact-form input, .contact-form select, .contact-form textarea { font: inherit; font-size: 1rem; color: var(--white); background: var(--steel-900); border: 1px solid var(--steel-700); border-radius: 6px; padding: .75rem .85rem; width: 100%; }
.contact-form textarea { resize: vertical; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(242,140,27,.25); }
.contact-form .btn { justify-self: start; }
.form-note { margin: 0; font-size: .9rem; min-height: 1.2em; }
.form-note.ok { color: #6fd08c; }
.form-note.err { color: #ff8a7a; }
.contact-card { margin: 0; background: var(--steel-800); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2.25rem); gap: 1.5rem; border-top: 4px solid var(--accent); }
.contact-card li > span:last-child, .contact-card a { overflow-wrap: anywhere; }

/* Quote dialog */
.quote-dialog { width: min(680px, calc(100% - 24px)); max-height: calc(100dvh - 24px); padding: 0; border: 0; border-radius: var(--radius); background: var(--steel-800); color: var(--white); box-shadow: 0 30px 80px rgba(0,0,0,.5); }
.quote-dialog::backdrop { background: rgba(5,7,9,.75); backdrop-filter: blur(3px); }
.quote-dialog .contact-form { border-radius: 0; }
.quote-dialog h2 { font-size: clamp(1.6rem, 4vw, 2.2rem); margin: 0; }
.quote-dialog .eyebrow { margin-bottom: .25rem; }
.dialog-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; margin-bottom: .25rem; }
.dialog-close { background: none; border: 0; color: var(--steel-200); font-size: 2.2rem; line-height: 1; cursor: pointer; padding: 0 .25rem; }
.dialog-close:hover { color: var(--accent); }
.dialog-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; }
.contact-form input[type="date"] { color-scheme: dark; }
.contact-form input.invalid, .contact-form select.invalid, .contact-form textarea.invalid { border-color: #ff8a7a; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
body.dialog-open { overflow: hidden; }

/* Footer */
.site-footer { background: #0b0f13; color: var(--steel-500); padding-block: 2.5rem; font-size: .9rem; }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-inner p { margin: 0; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 100; background: rgba(5,7,9,.92); display: grid; place-items: center; padding: 16px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-height: 90vh; max-width: 100%; border-radius: 8px; }
.lb-close { position: absolute; top: 12px; right: 16px; background: none; border: 0; color: var(--white); font-size: 2.5rem; cursor: pointer; line-height: 1; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .process { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 200px; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav { position: absolute; top: 68px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--steel-900); padding: .5rem 16px 1.25rem; border-bottom: 1px solid rgba(255,255,255,.08); display: none; }
  .nav.open { display: flex; }
  .nav a:not(.btn) { padding: .9rem 0; border-bottom: 1px solid rgba(255,255,255,.06); font-size: 1.05rem; }
  .nav .btn { margin-top: 1rem; text-align: center; }
  .nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
  .nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .process { grid-template-columns: 1fr; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: 240px; }
  .g-wide, .g-tall { grid-column: auto; grid-row: auto; }
  .contact-form .row { grid-template-columns: 1fr; }
  .hero-content { padding-block: 64px; }
  .hero-overlay { background: rgba(17,22,28,.8); }
  .footer-inner { flex-direction: column; align-items: flex-start; }
}
