:root {
  --ink: #111410;
  --ink-soft: #20241e;
  --paper: #f0f0e9;
  --paper-deep: #dedfd4;
  --acid: #dfff45;
  --orange: #ff6b35;
  --line: rgba(17, 20, 16, .18);
  --max: 1440px;
  --pad: clamp(22px, 4vw, 68px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; background: var(--ink); }
body { margin: 0; color: var(--ink); background: var(--paper); font-family: "Arial Narrow", "Segoe UI", Arial, sans-serif; overflow-x: hidden; }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font: inherit; }
::selection { background: var(--acid); color: var(--ink); }

.noise { position: fixed; inset: 0; z-index: 50; pointer-events: none; opacity: .032; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.86' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.65'/%3E%3C/svg%3E"); }
.section-pad { width: 100%; max-width: var(--max); margin: 0 auto; padding: clamp(80px, 10vw, 150px) var(--pad); }
.section-label { display: flex; gap: 14px; align-items: center; margin-bottom: 55px; text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
.section-label span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid currentColor; border-radius: 50%; letter-spacing: 0; }
.section-title { margin: 0; font-size: clamp(43px, 6.2vw, 94px); line-height: .92; letter-spacing: -.055em; font-weight: 800; text-transform: uppercase; }
.section-title span { color: #7d8178; }
.eyebrow { margin: 0; font-size: 12px; letter-spacing: .17em; text-transform: uppercase; font-weight: 800; }

.site-header { position: fixed; z-index: 40; top: 0; left: 0; right: 0; height: 84px; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; padding: 0 var(--pad); color: #fff; transition: background .35s, color .35s, height .35s, border-color .35s; border-bottom: 1px solid rgba(255,255,255,.15); }
.site-header.scrolled { height: 70px; background: rgba(240,240,233,.94); color: var(--ink); border-color: var(--line); backdrop-filter: blur(18px); }
.brand { display: inline-flex; align-items: center; gap: 11px; justify-self: start; }
.brand-mark { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 4px; color: var(--ink); background: var(--acid); font-size: 23px; font-weight: 950; }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 17px; letter-spacing: -.03em; text-transform: uppercase; }
.brand small { margin-top: 2px; font-size: 9px; letter-spacing: .15em; text-transform: uppercase; opacity: .65; }
.main-nav { display: flex; gap: clamp(22px, 3vw, 48px); font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.main-nav a { position: relative; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -7px; height: 2px; background: var(--acid); transition: right .25s; }
.main-nav a:hover::after { right: 0; }
.header-contact { justify-self: end; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; }
.header-contact span { display: inline-grid; place-items: center; margin-left: 8px; width: 29px; height: 29px; border: 1px solid currentColor; border-radius: 50%; }
.menu-button { display: none; }

.hero { position: relative; min-height: 820px; height: 100svh; color: #fff; display: flex; align-items: center; overflow: hidden; }
.hero-media { position: absolute; inset: 0; background: url("assets/hero.webp") center 55% / cover no-repeat; transform: scale(1.06); animation: hero-in 1.8s cubic-bezier(.2,.8,.2,1) forwards; }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(7,10,8,.94) 0%, rgba(7,10,8,.68) 48%, rgba(7,10,8,.19) 100%), linear-gradient(0deg, rgba(7,10,8,.6), transparent 47%); }
.hero-content { position: relative; z-index: 1; width: min(1080px, calc(100% - 2 * var(--pad))); margin: 50px auto 0; }
.hero h1 { max-width: 1000px; margin: 25px 0 30px; font-size: clamp(58px, 8.7vw, 132px); line-height: .82; letter-spacing: -.065em; text-transform: uppercase; }
.hero h1 em { color: var(--acid); font-style: normal; }
.hero-lead { max-width: 680px; margin: 0; font-size: clamp(17px, 1.6vw, 23px); line-height: 1.45; color: rgba(255,255,255,.75); }
.hero-actions { display: flex; align-items: center; gap: 16px; margin-top: 42px; }
.button { min-height: 55px; display: inline-flex; align-items: center; justify-content: center; gap: 36px; padding: 0 25px; border: 1px solid rgba(255,255,255,.34); font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; transition: transform .25s, color .25s, background .25s; }
.button:hover { transform: translateY(-3px); }
.button-primary { color: var(--ink); background: var(--acid); border-color: var(--acid); }
.button-primary:hover { background: #fff; }
.button-ghost:hover { background: #fff; color: var(--ink); }
.hero-foot { position: absolute; z-index: 1; left: var(--pad); right: var(--pad); bottom: 30px; display: flex; align-items: center; gap: 18px; font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.hero-line { height: 1px; flex: 1; background: rgba(255,255,255,.35); }
@keyframes hero-in { to { transform: scale(1); } }

.metrics { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; padding-top: 0; padding-bottom: 0; transform: translateY(-1px); }
.metric { min-height: 260px; padding: 52px 28px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; background: var(--ink-soft); border-right: 1px solid rgba(255,255,255,.08); }
.metric:first-child { background: var(--acid); color: var(--ink); }
.metric strong { font-size: clamp(47px, 5vw, 78px); line-height: 1; letter-spacing: -.06em; }
.metric-date { white-space: nowrap; }
.metric span { font-size: 11px; line-height: 1.5; letter-spacing: .1em; text-transform: uppercase; opacity: .7; }

.about-grid { display: block; }
.about-copy { width: 100%; max-width: 1080px; margin-top: 70px; font-size: 17px; line-height: 1.65; color: #4d5049; }
.about-copy p { margin: 0 0 24px; }
.about-visuals { margin-top: 85px; display: grid; grid-template-columns: 1.5fr .65fr .65fr; gap: 18px; align-items: stretch; }
.about-main, .about-small { margin: 0; min-height: 420px; position: relative; overflow: hidden; }
.about-main img, .about-small img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.about-main:hover img, .about-small:hover img { transform: scale(1.04); }
.about-main figcaption { position: absolute; left: 22px; right: 22px; bottom: 22px; display: flex; justify-content: space-between; padding: 18px; background: rgba(17,20,16,.88); color: #fff; backdrop-filter: blur(10px); }
.about-main figcaption span { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.about-main figcaption b { color: var(--acid); }
.principle { min-height: 420px; padding: 28px; background: var(--orange); display: flex; flex-direction: column; justify-content: space-between; }
.principle span { font-size: clamp(60px, 6vw, 92px); font-weight: 900; letter-spacing: -.08em; }
.principle p { max-width: 220px; margin: 0; font-weight: 700; font-size: 17px; line-height: 1.35; }

.services { max-width: none; color: #fff; background: var(--ink); padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.services-head, .projects-head { display: grid; grid-template-columns: 1fr .32fr; gap: 60px; align-items: end; }
.services-head p, .projects-head p { margin: 0; color: rgba(255,255,255,.55); font-size: 15px; line-height: 1.6; }
.service-list { margin-top: 80px; border-top: 1px solid rgba(255,255,255,.18); }
.service { display: grid; grid-template-columns: 80px 1fr 60px; gap: 28px; align-items: center; min-height: 165px; border-bottom: 1px solid rgba(255,255,255,.18); transition: background .3s, padding .3s, color .3s; }
.service:hover { padding-left: 25px; padding-right: 25px; background: var(--acid); color: var(--ink); }
.service-number { font-size: 12px; opacity: .5; }
.service > div { display: grid; grid-template-columns: minmax(390px, .9fr) minmax(320px, 1.1fr); gap: clamp(32px, 4vw, 68px); align-items: center; min-width: 0; }
.service h3 { width: 100%; min-width: 0; margin: 0; font-size: clamp(26px, 2.35vw, 40px); text-transform: uppercase; letter-spacing: -.04em; overflow-wrap: normal; word-break: normal; hyphens: none; }
.service p { width: 100%; min-width: 0; margin: 0; font-size: 14px; line-height: 1.55; color: rgba(255,255,255,.55); transition: color .3s; }
.service:hover p { color: rgba(17,20,16,.65); }
.service-arrow { justify-self: end; font-size: 26px; }

.projects { max-width: none; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.projects-head p { color: #696c64; }
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 80px; }
.project-card { position: relative; min-height: 550px; overflow: hidden; color: #fff; cursor: pointer; background: #30332c; outline: none; }
.project-card.project-wide { grid-column: span 2; min-height: 640px; }
.project-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.8,.2,1), filter .45s; }
.project-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(5,8,6,.52), transparent 42%, rgba(5,8,6,.88)); transition: background .4s; }
.project-meta { position: absolute; left: 25px; right: 25px; top: 25px; display: flex; justify-content: space-between; align-items: center; font-size: 11px; letter-spacing: .11em; text-transform: uppercase; }
.project-meta b { color: var(--ink); background: var(--acid); padding: 9px 12px; }
.project-title { position: absolute; left: 25px; right: 25px; bottom: 27px; transition: transform .4s; }
.project-title h3 { margin: 0; font-size: clamp(28px, 3vw, 49px); letter-spacing: -.045em; text-transform: uppercase; }
.project-title p { margin: 7px 0 0; color: rgba(255,255,255,.68); }
.project-details { position: absolute; left: 25px; right: 25px; bottom: 25px; max-width: 650px; opacity: 0; transform: translateY(20px); transition: opacity .4s, transform .4s; }
.project-details p { margin: 0; line-height: 1.55; }
.project-card:hover img, .project-card:focus img, .project-card.active img { transform: scale(1.06); filter: brightness(.55); }
.project-card:hover .project-title, .project-card:focus .project-title, .project-card.active .project-title { transform: translateY(-100px); }
.project-card:hover .project-details, .project-card:focus .project-details, .project-card.active .project-details { opacity: 1; transform: translateY(0); }

.team { background: var(--paper-deep); max-width: none; padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.team-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(60px, 9vw, 150px); }
.team-intro { max-width: 550px; margin: 45px 0; color: #656960; line-height: 1.6; }
.team-photo { width: min(100%, 500px); height: 280px; object-fit: cover; filter: grayscale(.25); }
.staff-list { align-self: end; border-top: 1px solid var(--line); }
.staff-list > div { min-height: 82px; padding: 20px 4px; display: flex; justify-content: space-between; align-items: center; gap: 20px; border-bottom: 1px solid var(--line); }
.staff-list span { font-size: 14px; text-transform: uppercase; letter-spacing: .04em; }
.staff-list strong { min-width: 88px; text-align: right; font-size: 42px; letter-spacing: -.06em; }

.safety { max-width: none; background: var(--orange); padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.safety h2 { margin: 28px 0 75px; font-size: clamp(42px, 6.5vw, 100px); line-height: .94; letter-spacing: -.06em; text-transform: uppercase; }
.safety h2 span { color: rgba(17,20,16,.42); }
.safety-row { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid rgba(17,20,16,.35); }
.safety-row > div { min-height: 170px; padding: 25px; border-right: 1px solid rgba(17,20,16,.35); display: flex; flex-direction: column; justify-content: space-between; }
.safety-row b { font-size: 12px; }
.safety-row p { margin: 0; font-size: 15px; line-height: 1.4; font-weight: 700; }

.contacts { max-width: none; color: #fff; background: var(--ink); padding-left: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); padding-right: max(var(--pad), calc((100vw - var(--max)) / 2 + var(--pad))); }
.contact-kicker { color: var(--acid); font-size: 12px; letter-spacing: .15em; text-transform: uppercase; }
.contacts h2 { margin: 20px 0 25px; font-size: clamp(64px, 11vw, 168px); line-height: .8; letter-spacing: -.075em; text-transform: uppercase; }
.contact-mail { display: flex; justify-content: space-between; align-items: center; padding: 28px 0; border-bottom: 1px solid rgba(255,255,255,.25); font-size: clamp(21px, 3.5vw, 54px); color: rgba(255,255,255,.72); transition: color .25s; }
.contact-mail:hover { color: var(--acid); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.5fr .7fr; gap: 70px; padding-top: 70px; }
.contact-grid small { display: block; margin-bottom: 22px; color: rgba(255,255,255,.35); font-size: 10px; letter-spacing: .15em; text-transform: uppercase; }
.contact-grid a, .contact-grid p, .contact-grid address { display: block; margin: 0 0 8px; font-size: 16px; line-height: 1.55; font-style: normal; }
.contact-grid a:hover { color: var(--acid); }
.contact-map { position: relative; min-height: 440px; margin-top: 70px; overflow: hidden; border: 1px solid rgba(255,255,255,.16); background: var(--ink-soft); }
.contact-map iframe { display: block; width: 100%; height: 440px; border: 0; filter: grayscale(.15) contrast(1.02); }
.map-link { position: absolute; left: 22px; bottom: 22px; display: inline-flex; align-items: center; gap: 24px; padding: 15px 18px; color: var(--ink); background: var(--acid); font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; transition: transform .25s, background .25s; }
.map-link:hover { transform: translateY(-3px); background: #fff; }
.map-link span { font-size: 18px; line-height: 1; }
.site-footer { min-height: 120px; padding: 28px var(--pad); color: #fff; background: #0a0c09; display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 20px; border-top: 1px solid rgba(255,255,255,.1); }
.site-footer p, .site-footer > a:last-child { font-size: 10px; color: rgba(255,255,255,.45); text-transform: uppercase; letter-spacing: .1em; }
.site-footer > a:last-child { justify-self: end; }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .75s ease, transform .75s cubic-bezier(.2,.8,.2,1); }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .site-header { grid-template-columns: 1fr auto; }
  .main-nav { position: fixed; inset: 0; z-index: -1; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 24px; background: var(--ink); color: #fff; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
  .main-nav a { font-size: clamp(30px, 8vw, 58px); letter-spacing: -.03em; }
  .menu-open .main-nav { opacity: 1; visibility: visible; }
  .header-contact { display: none; }
  .menu-button { position: relative; z-index: 1; display: block; width: 44px; height: 44px; padding: 0; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 50%; }
  .menu-button span { position: absolute; width: 16px; height: 1px; left: 13px; top: 18px; background: currentColor; transition: transform .25s, top .25s; }
  .menu-button span:last-child { top: 24px; }
  .menu-open .menu-button { color: #fff; }
  .menu-open .menu-button span:first-child { top: 21px; transform: rotate(45deg); }
  .menu-open .menu-button span:last-child { top: 21px; transform: rotate(-45deg); }
  .metrics { grid-template-columns: repeat(2, 1fr); }
  .about { padding: 20px 20px 72px; }
  .about .section-label { margin-bottom: 54px; }
  .about-grid { display: block; }
  .about .section-title { font-size: clamp(43px, 6.7vw, 64px); }
  .about-copy { width: 100%; max-width: none; margin-top: 62px; }
  .services-head, .projects-head, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .about-grid > *, .services-head > *, .projects-head > *, .team-grid > * { min-width: 0; }
  .about-visuals { grid-template-columns: 1.3fr .7fr; }
  .principle { grid-column: span 2; min-height: 250px; }
  .service > div { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  .project-card, .project-card.project-wide { grid-column: auto; min-height: 520px; }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
  .safety-row { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .site-header { height: 68px; }
  .brand strong { font-size: 15px; }
  .brand small { display: none; }
  .hero { min-height: 720px; }
  .hero-content { margin-top: 25px; }
  .hero h1 { font-size: clamp(52px, 16vw, 82px); }
  .hero-lead { max-width: 90%; }
  .hero-actions { align-items: stretch; flex-direction: column; max-width: 320px; }
  .hero-foot { bottom: 20px; }
  .metrics { grid-template-columns: 1fr; }
  .metric { min-height: 190px; }
  .section-label { margin-bottom: 38px; }
  .about-visuals { grid-template-columns: 1fr; }
  .about-main, .about-small { min-height: 340px; }
  .about-small { display: none; }
  .principle { grid-column: auto; min-height: 230px; }
  .section-title { overflow-wrap: anywhere; }
  .about { padding: 20px 20px 64px; }
  .about .section-label { margin-bottom: 48px; }
  .about .section-title { font-size: clamp(35px, 11.5vw, 46px); line-height: .94; }
  .about-copy {
    width: 100%;
    max-width: none;
    min-width: 0;
    margin-top: 54px;
    font-size: 16px;
    line-height: 1.7;
    overflow-wrap: break-word;
    word-break: normal;
  }
  .service { grid-template-columns: 32px minmax(0, 1fr) 18px; gap: 8px; padding: 28px 0; }
  .service-arrow { font-size: 20px; }
  .project-grid { grid-template-columns: 1fr; }
  .project-card, .project-card.project-wide { grid-column: auto; min-height: 470px; }
  .project-meta { left: 18px; right: 18px; }
  .project-title, .project-details { left: 18px; right: 18px; }
  .project-card:hover .project-title, .project-card:focus .project-title, .project-card.active .project-title { transform: translateY(-125px); }
  .staff-list strong { font-size: 34px; }
  .safety-row { grid-template-columns: 1fr; }
  .safety-row > div { min-height: 130px; border-right: none; border-bottom: 1px solid rgba(17,20,16,.35); }
  .contact-grid { grid-template-columns: 1fr; gap: 35px; }
  .contact-mail { font-size: 19px; }
  .contact-map, .contact-map iframe { min-height: 360px; height: 360px; }
  .contact-map { margin-top: 48px; }
  .map-link { left: 14px; right: 14px; bottom: 14px; justify-content: space-between; }
  .site-footer { grid-template-columns: 1fr; text-align: left; }
  .site-footer > a:last-child { justify-self: start; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal { opacity: 1; transform: none; }
}
