:root {
  --ink: #101116;
  --paper: #ffffff;
  --soft: #f3f4f5;
  --line: #dcdfe3;
  --muted: #71757d;
  --magenta: #e6007e;
  --cyan: #00a8dc;
  --yellow: #ffe000;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: Arial, Helvetica, sans-serif; }
body, a, button { -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { max-width: 100%; }

.site-header {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  right: 0;
  height: 82px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 clamp(24px, 5vw, 82px);
  color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.25);
  transition: background .35s ease, color .35s ease, height .35s ease, box-shadow .35s ease;
}
.site-header.scrolled { height: 70px; background: rgba(255,255,255,.96); color: var(--ink); box-shadow: 0 10px 30px rgba(12,15,20,.08); backdrop-filter: blur(12px); }
.brand { justify-self: start; width: 158px; height: 51px; display: grid; place-items: center; padding: 6px 10px; background: #fff; }
.brand img { width: 100%; height: 100%; object-fit: contain; }
.site-header nav { display: flex; align-items: center; gap: 26px; font-size: 13px; font-weight: 800; }
.site-header nav a { position: relative; padding: 10px 0; }
.site-header nav a::after { content: ""; position: absolute; left: 0; bottom: 2px; width: 0; height: 2px; background: var(--magenta); transition: width .25s ease; }
.site-header nav a:hover::after { width: 100%; }
.nav-cta { justify-self: end; padding: 13px 18px; border: 1px solid rgba(255,255,255,.65); font-size: 12px; font-weight: 900; }
.site-header.scrolled .nav-cta { background: var(--magenta); color: #fff; border-color: var(--magenta); }
.menu-button { display: none; }

.hero { height: 100svh; min-height: 690px; position: relative; overflow: hidden; background: #15171b; color: #fff; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transform: scale(1.045); background-repeat: no-repeat; background-size: cover; transition: opacity .9s ease, transform 7s ease; }
.hero-slide.active { opacity: 1; transform: scale(1); }
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(5,7,10,.93) 0%, rgba(5,7,10,.76) 39%, rgba(5,7,10,.16) 78%), linear-gradient(0deg, rgba(4,5,7,.48), transparent 45%); }
.hero-copy { position: absolute; z-index: 2; left: clamp(26px, 8vw, 128px); top: 51%; transform: translateY(-46%); width: min(800px, 75vw); }
.eyebrow { margin: 0 0 20px; text-transform: uppercase; font-size: 11px; font-weight: 900; letter-spacing: .24em; }
.eyebrow.light { color: #fff; }
.eyebrow.pink { color: var(--magenta); }
.eyebrow.cyan { color: var(--cyan); }
h1 { margin: 0; font-size: clamp(58px, 7vw, 106px); line-height: .91; letter-spacing: -.065em; font-weight: 300; }
h1 strong { font-weight: 900; }
.hero-text { max-width: 610px; margin: 28px 0 34px; color: #e5e7ea; font-size: 18px; line-height: 1.65; }
.hero-actions { display: flex; align-items: center; gap: 32px; flex-wrap: wrap; }
.primary-button { padding: 17px 22px; background: var(--magenta); color: #fff; font-size: 13px; font-weight: 900; transition: transform .25s ease, background .25s ease; }
.primary-button:hover { transform: translateY(-2px); background: #bf0068; }
.text-link { display: inline-block; padding: 10px 0 8px; border-bottom: 1px solid currentColor; font-size: 13px; font-weight: 900; }
.light-link { color: #fff; }
.slide-nav { position: absolute; z-index: 4; right: clamp(20px, 4vw, 65px); top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; gap: 22px; }
.slide-nav button { width: 46px; height: 42px; border: 0; padding: 0; background: transparent; color: rgba(255,255,255,.55); cursor: pointer; position: relative; }
.slide-nav button::after { content: ""; position: absolute; right: 0; top: 50%; width: 18px; height: 1px; background: rgba(255,255,255,.55); transition: width .25s ease, background .25s ease; }
.slide-nav button span { position: absolute; top: 14px; right: 54px; font-size: 11px; }
.slide-nav button.active { color: #fff; }
.slide-nav button.active::after { width: 42px; background: var(--yellow); }
.scroll-cue { position: absolute; z-index: 4; left: clamp(26px, 5vw, 82px); bottom: 28px; display: flex; align-items: center; gap: 13px; font-size: 9px; letter-spacing: .19em; }
.scroll-cue i { width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.55); border-radius: 50%; color: var(--yellow); font-style: normal; }

.intro { min-height: 680px; padding: 120px clamp(26px, 8vw, 128px); display: grid; grid-template-columns: .85fr 1.15fr; align-items: center; gap: 7vw; overflow: hidden; }
.intro-mark { display: flex; align-items: baseline; gap: 0; transform: translateX(-5%); font-size: clamp(150px, 21vw, 330px); font-weight: 900; line-height: .75; letter-spacing: -.16em; color: transparent; -webkit-text-stroke: 2px #d9dce0; }
.intro-mark span:nth-child(1) { -webkit-text-stroke-color: rgba(0,168,220,.45); }
.intro-mark span:nth-child(2) { -webkit-text-stroke-color: rgba(230,0,126,.45); }
.intro-mark span:nth-child(3) { -webkit-text-stroke-color: rgba(255,224,0,.7); }
h2 { margin: 0; font-size: clamp(42px, 5vw, 72px); line-height: .98; letter-spacing: -.055em; }
.intro-copy > p:not(.eyebrow) { max-width: 680px; margin: 30px 0 32px; color: var(--muted); font-size: 17px; line-height: 1.78; }
.intro-points { display: flex; flex-wrap: wrap; gap: 10px; }
.intro-points span { padding: 10px 13px; border: 1px solid var(--line); font-size: 12px; font-weight: 800; }

.services { padding: 115px clamp(26px, 7vw, 110px); background: var(--ink); color: #fff; }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 60px; margin-bottom: 56px; }
.section-heading > p { max-width: 440px; margin: 0; color: var(--muted); font-size: 16px; line-height: 1.72; }
.dark-heading > p { color: #a7abb1; }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); max-width: 1320px; margin: 0 auto; border-top: 1px solid rgba(255,255,255,.18); }
.service-grid article { min-height: 315px; padding: 42px 38px 30px; border-right: 1px solid rgba(255,255,255,.18); }
.service-grid article:last-child { border-right: 0; }
.service-grid article > span { color: rgba(255,255,255,.45); font-size: 12px; }
.service-line { width: 50px; height: 4px; margin: 60px 0 32px; background: var(--cyan); }
.service-grid article:nth-child(2) .service-line { background: var(--magenta); }
.service-grid article:nth-child(3) .service-line { background: var(--yellow); }
.service-grid h3 { margin: 0 0 16px; font-size: 24px; }
.service-grid p { margin: 0; color: #aeb2b9; line-height: 1.75; }

.machinery { padding: 88px clamp(20px, 5vw, 80px); display: grid; grid-template-columns: minmax(245px, .9fr) repeat(3, minmax(0, 1fr)); gap: 16px; align-items: stretch; background: #e9edf1; }
.machinery-intro { min-height: 640px; padding: 44px 34px; grid-row: span 2; display: flex; flex-direction: column; background: #0d5fa8; color: #fff; }
.machinery-intro h2 { font-size: clamp(42px, 3.5vw, 56px); }
.machinery-intro > p:not(.eyebrow) { margin: 28px 0 36px; color: rgba(255,255,255,.8); font-size: 16px; line-height: 1.7; }
.machinery-key { margin-top: auto; padding-top: 30px; display: flex; align-items: flex-end; gap: 16px; border-top: 1px solid rgba(255,255,255,.32); }
.machinery-key strong { font-size: 54px; line-height: .8; letter-spacing: -.06em; }
.machinery-key span { font-size: 12px; line-height: 1.45; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.machine-featured, .machine-card { min-height: 312px; display: grid; grid-template-rows: minmax(170px, 1fr) auto; background: #fff; overflow: hidden; }
.machine-image { background: #fff; overflow: hidden; }
.machine-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.machine-featured:hover .machine-image img, .machine-card:hover .machine-image img { transform: scale(1.025); }
.machine-copy { min-height: 132px; padding: 20px 21px 22px; border-top: 1px solid #e4e7ea; }
.machine-copy small { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .17em; }
.machine-copy h3 { margin: 8px 0 10px; font-size: 21px; line-height: 1.1; }
.machine-copy p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.55; }
.machine-featured .machine-copy { padding: 20px 21px 22px; }
.machine-featured .machine-copy h3 { font-size: 23px; }
.machine-grid { display: contents; }

.billboards { padding: 116px clamp(20px, 5vw, 80px); background: #11151b; color: #fff; overflow: hidden; }
.billboard-heading { padding: 0 clamp(6px, 2vw, 32px); }
.billboard-heading > p { color: #aeb4bd; }
.panel-toolbar { max-width: 1440px; margin: 0 auto 30px; display: flex; flex-wrap: wrap; gap: 10px; }
.panel-filter { padding: 12px 17px; border: 1px solid rgba(255,255,255,.22); background: transparent; color: #fff; font: inherit; font-size: 12px; font-weight: 850; cursor: pointer; transition: background .25s ease, color .25s ease, border-color .25s ease; }
.panel-filter span { margin-left: 8px; color: #8cdcf4; font-size: 10px; }
.panel-filter:hover { border-color: rgba(255,255,255,.6); }
.panel-filter.active { border-color: #fff; background: #fff; color: var(--ink); }
.panel-filter.active span { color: #0875b9; }
.panel-catalog { max-width: 1440px; margin: 0 auto; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: stretch; }
.panel-card { min-width: 0; display: flex; flex-direction: column; background: #fff; color: var(--ink); transition: transform .32s ease, box-shadow .32s ease; }
.panel-card:hover { transform: translateY(-4px); box-shadow: 0 18px 42px rgba(0,0,0,.28); }
.panel-card.is-hidden { display: none; }
.panel-media { position: relative; aspect-ratio: 1 / 1; overflow: hidden; background: #080b10; }
.panel-expand { width: 100%; height: 100%; display: block; padding: 0; border: 0; background: #080b10; cursor: zoom-in; }
.panel-expand img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .55s cubic-bezier(.2,.7,.2,1), opacity .18s ease; }
.panel-card:hover .panel-expand img { transform: scale(1.025); }
.panel-zone { position: absolute; z-index: 2; top: 14px; left: 14px; padding: 9px 11px; background: rgba(7,13,20,.8); color: #fff; font-size: 9px; font-weight: 900; letter-spacing: .14em; pointer-events: none; backdrop-filter: blur(8px); }
.panel-face-switch { position: absolute; z-index: 3; right: 14px; bottom: 14px; display: flex; gap: 3px; padding: 4px; background: rgba(7,13,20,.83); backdrop-filter: blur(8px); }
.panel-face-switch button { width: 35px; height: 35px; padding: 0; border: 0; background: transparent; color: #fff; font: inherit; font-size: 12px; font-weight: 900; cursor: pointer; }
.panel-face-switch button.active { background: var(--yellow); color: var(--ink); }
.panel-card-copy { flex: 1; padding: 22px 22px 24px; display: flex; flex-direction: column; }
.panel-card-copy > small { color: var(--cyan); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.panel-card-copy h3 { margin: 8px 0 12px; font-size: 26px; line-height: 1; letter-spacing: -.035em; }
.panel-card-copy p { margin: 0; color: #3f4750; font-size: 14px; font-weight: 750; line-height: 1.45; }
.panel-reference { min-height: 44px; margin: 6px 0 20px; color: var(--muted); font-size: 12px; line-height: 1.45; }
.panel-card-copy a { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 15px; border-top: 1px solid var(--line); color: #075eaa; font-size: 12px; font-weight: 900; }
.panel-card-copy a span { font-size: 18px; transition: transform .25s ease; }
.panel-card-copy a:hover span { transform: translate(3px, -3px); }
.panel-lightbox { position: fixed; z-index: 100; inset: 0; display: none; place-items: center; padding: 30px; background: rgba(2,5,9,.94); }
.panel-lightbox.open { display: grid; }
.panel-lightbox img { max-width: min(900px, 92vw); max-height: 88vh; width: auto; height: auto; display: block; box-shadow: 0 20px 80px rgba(0,0,0,.55); }
.panel-lightbox-close { position: fixed; z-index: 2; top: 20px; right: 24px; width: 46px; height: 46px; border: 1px solid rgba(255,255,255,.4); border-radius: 50%; background: rgba(0,0,0,.28); color: #fff; font: inherit; font-size: 29px; line-height: 1; cursor: pointer; }
body.lightbox-open { overflow: hidden; }

.portfolio { padding: 120px clamp(20px, 5vw, 80px); background: #fff; }
.portfolio .section-heading { padding: 0 clamp(6px, 2vw, 32px); }
.portfolio-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px 20px; align-items: stretch; }
.work, .work.wide { grid-column: auto; margin: 0; display: flex; flex-direction: column; overflow: hidden; }
.work-image, .work.tall .work-image { width: 100%; height: auto; aspect-ratio: 4 / 3; overflow: hidden; background: var(--soft); }
.work-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .65s cubic-bezier(.2,.7,.2,1); }
.work:hover .work-image img { transform: scale(1.035); }
.work-copy { min-height: 86px; padding: 18px 3px 10px; }
.work-copy small { color: var(--magenta); font-size: 10px; font-weight: 900; letter-spacing: .18em; }
.work-copy h3 { margin: 7px 0 0; font-size: 21px; }

.coverage { min-height: 360px; padding: 80px clamp(26px, 8vw, 128px); display: flex; flex-direction: column; justify-content: center; color: #fff; background: linear-gradient(110deg, rgba(3,6,10,.91), rgba(3,6,10,.55)), url('work/hero-panel-365-v2.webp') center center / cover; }
.coverage div { display: flex; align-items: end; justify-content: space-between; gap: 50px; }
.coverage strong { max-width: 700px; font-size: clamp(52px, 7vw, 96px); line-height: .9; letter-spacing: -.06em; }
.coverage span { max-width: 420px; color: #d3d6da; font-size: 17px; line-height: 1.65; }

.contact { padding: 100px clamp(26px, 8vw, 128px); display: grid; grid-template-columns: 1.2fr .8fr; align-items: end; gap: 80px; background: var(--magenta); color: #fff; }
.contact > div:last-child p { max-width: 480px; margin: 0 0 24px; font-size: 17px; line-height: 1.7; }
.contact > div:last-child a { display: inline-block; padding: 17px 22px; background: #fff; color: var(--ink); font-size: 13px; font-weight: 900; }

footer { min-height: 112px; padding: 25px clamp(26px, 5vw, 82px); display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; gap: 22px; color: var(--muted); font-size: 12px; }
footer img { width: 165px; height: 58px; object-fit: contain; }
footer div { display: flex; justify-content: center; gap: 24px; }
footer p { text-align: right; }

@media (max-width: 1100px) {
  .site-header { height: 70px; grid-template-columns: 1fr auto; padding: 0 20px; }
  .brand { width: 132px; height: 43px; }
  .nav-cta { display: none; }
  .menu-button { justify-self: end; width: 42px; height: 42px; display: grid; place-content: center; gap: 7px; border: 0; background: transparent; cursor: pointer; }
  .menu-button span { display: block; width: 24px; height: 2px; background: currentColor; }
  .site-header nav { position: fixed; inset: 70px 0 auto 0; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 18px 24px 26px; background: #fff; color: var(--ink); box-shadow: 0 16px 30px rgba(0,0,0,.12); }
  .site-header nav.open { display: flex; }
  .site-header nav a { padding: 15px 0; border-bottom: 1px solid var(--line); }
  .hero-copy { left: 25px; width: calc(100% - 72px); }
  .intro { grid-template-columns: 1fr; gap: 70px; }
  .intro-mark { justify-content: center; font-size: min(44vw, 310px); }
  .section-heading { align-items: start; flex-direction: column; gap: 26px; }
  .machinery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .machinery-intro { min-height: 380px; grid-column: 1 / -1; grid-row: auto; }
  .machine-featured, .machine-card { min-height: 350px; }
  .panel-catalog { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 680px) {
  h1 { font-size: clamp(49px, 14vw, 68px); }
  h2 { font-size: 44px; }
  .hero { min-height: 720px; }
  .hero-copy { top: 49%; width: calc(100% - 58px); }
  .hero-text { margin: 24px 0 28px; font-size: 16px; }
  .hero-actions { gap: 20px; align-items: flex-start; flex-direction: column; }
  .slide-nav { right: 9px; }
  .slide-nav button span { display: none; }
  .scroll-cue { left: 24px; }
  .intro, .services, .portfolio, .machinery, .billboards { padding-top: 82px; padding-bottom: 82px; }
  .intro { padding-left: 24px; padding-right: 24px; min-height: 0; gap: 55px; }
  .intro-mark { transform: none; }
  .service-grid { grid-template-columns: 1fr; }
  .service-grid article { min-height: 260px; border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); padding: 34px 12px; }
  .service-line { margin: 43px 0 26px; }
  .machinery { padding-left: 18px; padding-right: 18px; grid-template-columns: 1fr; gap: 12px; }
  .machinery-intro { min-height: 430px; padding: 40px 28px; grid-column: auto; }
  .machine-featured, .machine-card { min-height: 0; grid-template-rows: 230px auto; }
  .billboards { padding-left: 18px; padding-right: 18px; }
  .billboard-heading { padding-left: 6px; padding-right: 6px; }
  .panel-toolbar { margin-bottom: 20px; }
  .panel-filter { flex: 1; padding-left: 10px; padding-right: 10px; }
  .panel-catalog { grid-template-columns: 1fr; gap: 14px; }
  .panel-card-copy { padding: 20px; }
  .panel-reference { min-height: 0; }
  .panel-lightbox { padding: 16px; }
  .panel-lightbox-close { top: 12px; right: 12px; }
  .portfolio { padding-left: 18px; padding-right: 18px; }
  .portfolio-grid { grid-template-columns: 1fr; gap: 8px; }
  .work, .work.wide { grid-column: 1; }
  .work-image, .work.tall .work-image { height: 370px; }
  .coverage { min-height: 430px; padding: 68px 24px; }
  .coverage div { align-items: start; flex-direction: column; gap: 30px; }
  .coverage strong { font-size: 58px; }
  .contact { padding: 78px 24px; grid-template-columns: 1fr; gap: 40px; }
  footer { padding: 30px 24px; grid-template-columns: 1fr; text-align: center; }
  footer img { margin: 0 auto; }
  footer div { flex-direction: column; gap: 8px; }
  footer p { text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .hero-slide { transform: none !important; }
}
