:root {
  color-scheme: dark;
  --base: #151614;
  --panel: #20211e;
  --raised: #1b1c19;
  --line: #3b3d37;
  --ink: #f6f3ec;
  --muted: #bdbdb2;
  --accent: #ff9a55;
  --accent-hover: #ffb982;
  --max: 1344px;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--base);
}
*, *::before, *::after { box-sizing: border-box; }
body { margin: 0; line-height: 1.55; }
a { color: inherit; }
img, video { display: block; max-width: 100%; height: auto; }
button, summary { cursor: pointer; }
button { font: inherit; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { line-height: 1.05; }
h2 { font-size: clamp(2.2rem, 4.4vw, 4.35rem); letter-spacing: -.06em; }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex="0"]:focus-visible {
  outline: 2px solid var(--accent-hover);
  outline-offset: 5px;
}
[aria-current="page"] { font-weight: 650; }
.shell { width: min(var(--max), calc(100% - 6rem)); margin-inline: auto; }
.skip { position: fixed; z-index: 30; top: .8rem; left: .8rem; padding: .7rem 1rem; background: var(--accent); color: var(--base); transform: translateY(-200%); }
.skip:focus { transform: translateY(0); }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { display: flex; min-height: 81px; align-items: center; justify-content: space-between; gap: 1.5rem; }
.brand { display: inline-flex; flex: 0 0 auto; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { width: 48px; height: 36px; object-fit: contain; }
.brand span { color: var(--ink); font-size: 1.17rem; font-weight: 850; letter-spacing: -.03em; line-height: 1; }
.brand small { display: block; margin-top: .38rem; color: var(--muted); font-size: .59rem; font-weight: 720; letter-spacing: .19em; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: clamp(.7rem, 2.2vw, 2.25rem); }
.desktop-nav a, .footer-grid nav a { color: var(--muted); text-decoration: none; font-size: .875rem; font-weight: 600; }
.desktop-nav a:hover, .footer-grid nav a:hover { color: var(--ink); }
.header-call { display: flex; align-items: center; gap: .55rem; flex: 0 0 auto; color: var(--accent); text-decoration: none; font-size: .94rem; font-weight: 720; }
.header-call:hover { color: var(--accent-hover); }
.mobile-nav, .quick-contact { display: none; }
.hero { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.06fr); gap: clamp(1.75rem, 4.3vw, 5.15rem); align-items: stretch; padding-block: clamp(3rem, 6.5vw, 6rem); }
.hero-copy { align-self: center; min-width: 0; }
.eyebrow { display: inline-flex; align-items: center; gap: .52em; color: var(--muted); font-size: .75rem; font-weight: 730; letter-spacing: .125em; line-height: 1.4; text-transform: uppercase; }
.eyebrow i, .hero-tag i { display: inline-block; flex: 0 0 auto; width: 7px; height: 7px; background: var(--accent); border-radius: 50%; }
.eyebrow b { color: var(--accent); }
.hero h1 {
  margin-block: 1.25rem 1.4rem;
  font-size: clamp(3rem, 5.9vw, 6rem);
  font-weight: 780;
  letter-spacing: -.065em;
  word-spacing: .045em;
  line-height: .99;
}
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-copy > p { max-width: 34ch; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.23rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 2rem; }
.button {
  display: inline-flex; min-height: 48px; align-items: center; justify-content: center; gap: .65rem;
  padding: .75rem 1.15rem; border: 1px solid transparent; border-radius: 4px;
  text-decoration: none; font-size: .9rem; font-weight: 750; line-height: 1.2;
}
.button svg { flex: 0 0 auto; }
.button.primary { color: #20160f; background: var(--accent); }
.button.primary:hover { background: var(--accent-hover); }
.button.outline { border-color: #65665d; color: var(--ink); background: transparent; }
.button.outline:hover { border-color: var(--accent); color: var(--accent); }
.hero-stages { display: flex; gap: .55rem 1.2rem; flex-wrap: wrap; margin-top: 2.3rem; padding-top: 1rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.hero-photo {
  position: relative; display: block; min-height: 438px; overflow: hidden; border: 1px solid var(--line);
  border-radius: 5px; text-decoration: none; isolation: isolate; background: var(--panel);
}
.hero-photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 54% 50%; transition: transform .4s; }
.hero-photo:hover img { transform: scale(1.035); }
.hero-photo::after { content: ""; position: absolute; inset: 35% 0 0; background: linear-gradient(transparent, rgba(18, 18, 15, .9)); pointer-events: none; }
.hero-tag { position: absolute; top: 1.1rem; left: 1.1rem; display: inline-flex; align-items: center; gap: .55rem; background: #171815; padding: .5rem .72rem; border-radius: 3px; color: var(--ink); font-size: .68rem; font-weight: 750; letter-spacing: .1em; }
.hero-caption { position: absolute; z-index: 1; inset: auto 1.25rem 1.25rem; display: flex; align-items: end; justify-content: space-between; gap: 1rem; font-size: 1.13rem; font-weight: 680; line-height: 1.2; }
.hero-caption > span:first-child { max-width: 26ch; }
.circle-arrow { display: grid; flex: 0 0 auto; width: 42px; height: 42px; place-items: center; border: 1px solid #d4d3cb; border-radius: 50%; }

.section { padding-block: clamp(3.2rem, 6.7vw, 6.3rem); border-top: 1px solid var(--line); }
.section-raised { background: var(--raised); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1.2rem 2rem; margin-bottom: clamp(1.4rem, 3vw, 2.8rem); }
.section-head h2, .about-layout h2 { margin-top: .55rem; }
.section-head > p, .about-layout > div:first-child p { color: var(--muted); max-width: 34ch; }
.section-head > .button { flex: 0 0 auto; }
.services-grid, .project-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.2rem; }
.service-card, .project-card, .metal-card {
  display: block; min-width: 0; background: var(--panel); border: 1px solid var(--line); border-radius: 5px;
  overflow: hidden; text-decoration: none;
}
.service-card:hover, .project-card:hover, .metal-card:hover { border-color: var(--accent); }
.service-photo, .project-photo, .metal-photo { overflow: hidden; aspect-ratio: 16 / 10; background: #30312c; }
.service-photo img, .project-photo img, .metal-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .32s; }
.service-card:hover img, .project-card:hover img, .metal-card:hover img { transform: scale(1.04); }
.service-text, .metal-copy { position: relative; padding: 1.15rem 2.9rem 1.2rem 1.15rem; }
.service-text h3, .metal-copy h3 { font-size: clamp(1.25rem, 2vw, 1.65rem); letter-spacing: -.034em; }
.service-text p, .metal-copy p { color: var(--muted); font-size: .86rem; margin-top: .45rem; }
.service-text svg, .metal-copy svg { position: absolute; top: 1.1rem; right: 1rem; color: var(--accent); }
.service-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 1.2rem; margin-top: 1.25rem; }
.service-list a {
  display: flex; align-items: center; justify-content: space-between; gap: .75rem;
  padding: .9rem 0; border-bottom: 1px solid var(--line); font-weight: 650; text-decoration: none;
}
.service-list a:hover, .service-list svg { color: var(--accent); }
.service-list svg { flex: 0 0 auto; }
.metal-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .9rem; }
.metal-photo { aspect-ratio: 4 / 3; }
.metal-copy .eyebrow { margin-bottom: .45rem; color: var(--accent); }
.metal-copy h3 { font-size: clamp(1.18rem, 1.9vw, 1.55rem); }
.project-title { display: flex; align-items: start; justify-content: space-between; gap: .7rem; padding: .95rem 1.05rem 1.15rem; }
.project-title h3 { font-size: 1.08rem; font-weight: 640; line-height: 1.35; }
.project-title svg { flex: 0 0 auto; color: var(--accent); }
.about-layout { display: grid; grid-template-columns: minmax(250px, .8fr) minmax(0, 1.2fr); gap: clamp(1.5rem, 5vw, 5.3rem); }
.about-layout > div:first-child p { margin-top: 1rem; }
.about-layout .prose { max-width: 74ch; }

.page-shell { padding-top: clamp(1.4rem, 3vw, 2.8rem); }
.breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .4rem .65rem; color: var(--muted); font-size: .82rem; margin-bottom: clamp(1.5rem, 4vw, 3.5rem); }
.breadcrumbs a { text-decoration: none; }
.breadcrumbs a:hover { color: var(--accent); }
.breadcrumbs [aria-current] { font-weight: 500; }
.page-hero { margin-bottom: clamp(1.8rem, 5vw, 4rem); }
.page-hero h1, .error-page h1 { max-width: 23ch; margin: .6rem 0 1.25rem; font-size: clamp(2.25rem, 4.8vw, 4.8rem); letter-spacing: -.065em; line-height: 1.03; overflow-wrap: anywhere; }
.page-hero-split { display: grid; grid-template-columns: minmax(0, 1.18fr) minmax(0, .82fr); gap: clamp(1.25rem, 5vw, 4rem); align-items: center; }
.page-cover { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 5px; }
.page-cover img { width: 100%; max-height: 440px; aspect-ratio: 4 / 3; object-fit: cover; }
.page-section { margin-block: clamp(2rem, 5vw, 4.5rem); }
.page-section h2 { margin-bottom: 1.15rem; font-size: clamp(1.7rem, 3vw, 2.8rem); }
.tags, .pagination { display: flex; flex-wrap: wrap; gap: .45rem; margin-block: 1.25rem 2rem; }
.tags a, .pagination a {
  display: inline-flex; min-height: 39px; align-items: center; justify-content: center;
  padding: .45rem .8rem; color: var(--muted); border: 1px solid var(--line); border-radius: 4px;
  font-size: .85rem; text-decoration: none;
}
.tags a:hover, .pagination a:hover { color: var(--ink); border-color: var(--accent); }
.tags a[aria-current], .pagination a[aria-current] { color: var(--base); background: var(--accent); border-color: var(--accent); }
.pagination a { min-width: 42px; }
.archive-note { max-width: 75ch; padding: 1rem; border-left: 3px solid var(--accent); background: var(--panel); color: var(--ink); }
.policy-text { white-space: pre-wrap; }
.error-page { padding-bottom: 4rem; }
.error-page p { margin-bottom: 1.25rem; }

.prose { color: var(--muted); overflow-wrap: anywhere; }
.prose h2, .prose h3, .prose h4, .prose h5, .prose h6 { color: var(--ink); margin: 1.25em 0 .55em; line-height: 1.2; }
.prose h2 { font-size: clamp(1.65rem, 3vw, 2.5rem); letter-spacing: -.04em; }
.prose h3 { font-size: clamp(1.24rem, 2vw, 1.6rem); letter-spacing: -.025em; }
.prose p, .prose ul, .prose ol, .prose blockquote, .prose details { margin-block: .8rem 1rem; }
.prose section { margin-block: 1rem; }
.prose a { color: var(--accent); text-underline-offset: .19em; }
.prose a:hover { color: var(--accent-hover); }
.prose .photo-link { display: block; }
.prose > .photo-link, .prose p > .photo-link { max-width: 660px; margin: .8rem 0; }
.prose img { border-radius: 4px; object-fit: contain; }
.prose > img { max-height: 580px; }
.prose blockquote { padding: 0 1rem; border-left: 2px solid var(--accent); }
.prose details { padding: .8rem 1rem; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.prose summary { color: var(--ink); font-weight: 650; }
.page-body { max-width: 1020px; }
.home-prose > section { padding-bottom: .65rem; border-bottom: 1px solid var(--line); }
.home-prose > section:first-child { margin-top: 0; }
.team-content img { max-width: min(100%, 350px); }
.gallery-grid, .content-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .85rem; }
.gallery-grid > *, .content-gallery > * { min-width: 0; }
.gallery-grid a, .content-gallery a { display: block; overflow: hidden; border: 1px solid var(--line); border-radius: 4px; background: var(--panel); }
.gallery-grid a:hover, .content-gallery a:hover { border-color: var(--accent); }
.gallery-grid img, .content-gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.content-gallery { margin-block: 1.1rem; }
.table-scroll { max-width: 100%; overflow: auto; margin: 1rem 0 1.8rem; border: 1px solid var(--line); border-radius: 4px; }
.prose table { width: 100%; min-width: 420px; border-collapse: collapse; color: var(--ink); }
.prose td, .prose th { padding: .7rem .85rem; text-align: left; border-bottom: 1px solid var(--line); }
.prose tbody tr:nth-child(odd) { background: var(--panel); }
.prose video { max-height: 70vh; }

.contact-wrap { padding-block: clamp(2.5rem, 5vw, 4.5rem); }
.contact-band {
  display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 1.5rem;
  background: #22231f; padding: clamp(1.2rem, 5vw, 4.1rem); border: 1px solid var(--line); border-radius: 5px;
}
.contact-band h2 { margin: .5rem 0 .9rem; font-size: clamp(2rem, 4vw, 3.8rem); }
.contact-band p { color: var(--muted); }
.contact-band > div:last-child { justify-self: end; }
.contact-band .button { width: 100%; }
.chats { display: flex; flex-wrap: wrap; gap: .5rem; padding: 0; margin: .75rem 0 0; list-style: none; }
.chats a { display: inline-flex; gap: .4rem; align-items: center; min-height: 39px; padding: .45rem .6rem; border: 1px solid #595a52; border-radius: 4px; font-size: .79rem; font-weight: 620; text-decoration: none; }
.chats a:hover { border-color: var(--accent); color: var(--accent); }
.chats svg { width: 14px; height: 14px; }
.site-footer { background: #10110f; border-top: 1px solid var(--line); padding-top: 2.2rem; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .7fr 1fr; gap: 1.6rem; }
.footer-grid p { max-width: 33ch; margin-top: .75rem; color: var(--muted); font-size: .86rem; }
.footer-grid nav, .footer-grid address { display: grid; gap: .4rem; align-content: start; }
.footer-grid address { color: var(--muted); font-style: normal; font-size: .85rem; }
.footer-grid address a { text-decoration: none; }
.footer-grid address a:hover { color: var(--accent); }
.footer-bottom { display: flex; flex-wrap: wrap; gap: .6rem 1.35rem; margin-top: 2rem; padding-block: 1.25rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .74rem; }
.footer-bottom a { text-underline-offset: .18em; }
.footer-bottom a:hover { color: var(--accent); }

.lightbox { width: min(1120px, 96vw); max-width: none; max-height: 94vh; padding: 0; border: 1px solid var(--line); border-radius: 5px; background: #11120f; color: var(--ink); }
.lightbox::backdrop { background: rgba(0, 0, 0, .83); }
.lightbox-inner { position: relative; display: grid; place-items: center; min-height: 200px; padding: 3.3rem 3.6rem 2.15rem; }
.lightbox img { max-height: 77vh; margin-inline: auto; }
.lightbox button { display: grid; place-items: center; width: 43px; height: 43px; border: 1px solid var(--line); border-radius: 4px; color: var(--ink); background: var(--panel); font-size: 1.6rem; }
.lightbox button[hidden] { display: none; }
.lightbox button:hover { border-color: var(--accent); }
.lightbox-close, .lightbox-prev, .lightbox-next { position: absolute; }
.lightbox-close { top: .45rem; right: .45rem; }
.lightbox-prev { top: 50%; left: .45rem; transform: translateY(-50%); }
.lightbox-next { top: 50%; right: .45rem; transform: translateY(-50%); }
.lightbox-count { position: absolute; bottom: .5rem; color: var(--muted); font-size: .82rem; }
html:has(.lightbox[open]) { overflow: hidden; }

@media (max-width: 1080px) {
  .shell { width: min(var(--max), calc(100% - 3.5rem)); }
  .hero { gap: 2rem; }
  .hero-photo { min-height: 375px; }
  .header-inner { gap: .9rem; }
  .desktop-nav { gap: 1rem; }
}
@media (max-width: 890px) {
  .desktop-nav { display: none; }
  .header-call { margin-left: auto; }
  .mobile-nav { display: block; position: relative; }
  .mobile-nav summary { display: grid; place-items: center; list-style: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 4px; }
  summary::-webkit-details-marker { display: none; }
  .mobile-nav nav { position: absolute; z-index: 5; top: calc(100% + .6rem); right: 0; width: min(275px, 85vw); padding: .45rem; border: 1px solid var(--line); background: #20211e; box-shadow: 0 8px 22px #111; border-radius: 5px; }
  .mobile-nav nav a { display: block; padding: .7rem .65rem; text-decoration: none; }
  .mobile-nav nav a:hover { background: #343630; }
  .metal-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .shell { width: calc(100% - 2rem); }
  .header-inner { min-height: 66px; }
  .hero, .page-hero-split { grid-template-columns: 1fr; }
  .hero { gap: 1.4rem; padding-block: 2.1rem; }
  .hero h1 { font-size: clamp(3rem, 9.75vw, 5.3rem); }
  .hero-photo { min-height: 0; aspect-ratio: 1.29; }
  .hero-stages { margin-top: 1.25rem; }
  .hero-actions { margin-top: 1.25rem; }
  .services-grid, .project-grid, .service-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .75rem; }
  .about-layout { grid-template-columns: 1fr; }
  .gallery-grid, .content-gallery { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .contact-band { grid-template-columns: 1fr; }
  .contact-band > div:last-child { justify-self: start; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 520px) {
  body { padding-bottom: calc(69px + env(safe-area-inset-bottom)); }
  .brand img { width: 37px; height: 30px; }
  .brand span { font-size: 1rem; }
  .header-call { font-size: .78rem; gap: .28rem; }
  .header-call svg { width: 15px; }
  .section-head { align-items: start; flex-direction: column; }
  .section-head > p { font-size: .94rem; }
  .service-text, .metal-copy { padding: .75rem 1.55rem .9rem .72rem; }
  .service-text svg, .metal-copy svg { width: 14px; right: .48rem; top: .82rem; }
  .service-text h3, .metal-copy h3 { font-size: 1.08rem; overflow-wrap: anywhere; }
  .service-text p, .metal-copy p { font-size: .78rem; }
  .service-list { gap: 0 .75rem; }
  .service-list a { font-size: .86rem; }
  .project-grid, .gallery-grid, .content-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .project-title { padding: .65rem .55rem .7rem; gap: .3rem; }
  .project-title h3 { font-size: .9rem; }
  .project-title svg { width: 14px; }
  .quick-contact { position: fixed; z-index: 8; inset: auto 0 0; display: grid; grid-template-columns: 1fr 1fr; gap: .5rem; padding: .45rem 1rem calc(.45rem + env(safe-area-inset-bottom)); border-top: 1px solid var(--line); background: #151614; }
  .quick-contact details { position: relative; }
  .quick-contact summary { width: 100%; list-style: none; }
  .quick-contact .chats { position: absolute; display: grid; width: min(190px, 85vw); right: 0; bottom: calc(100% + .5rem); padding: .45rem; background: var(--panel); border: 1px solid var(--line); border-radius: 5px; }
  .quick-contact .chats a { display: flex; justify-content: space-between; }
  .lightbox-inner { padding: 3.2rem .25rem 3.4rem; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: .35rem; transform: none; }
  .lightbox img { max-height: 72vh; }
}
@media (max-width: 355px) {
  .brand { gap: .25rem; }
  .header-inner { gap: .4rem; }
  .header-call { font-size: .72rem; }
  .hero h1 { font-size: 2.65rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
.documents { margin-top: 2rem; }
.documents h3 { font-size: 1.35rem; }
.documents ul { list-style: none; padding: 0; }
.documents li { min-width: 0; }
.documents a { align-items: baseline; font-size: .87rem; }
.documents a span { color: var(--accent); font-size: .73rem; }
@media (max-width: 520px) {
  .hero-actions .button { padding-inline: .65rem; }
  .documents .service-list { grid-template-columns: 1fr; }
}
