/* =========================================================
   ProPaving — modern one-page site
   ========================================================= */
:root {
  --bg: #0e0e0e;
  --bg-2: #161616;
  --bg-3: #1e1e1e;
  --stone: #eeebe5;
  --stone-2: #e3dfd7;
  --ink: #141414;
  --ink-soft: #55524d;
  --text: #f2f0ec;
  --muted: #a19d96;
  --line: rgba(255, 255, 255, 0.1);
  --line-dark: rgba(20, 20, 20, 0.12);
  --accent: #ef7f1a;
  --accent-2: #ff9a3f;
  --radius: 18px;
  --display: "Unbounded", system-ui, sans-serif;
  --body: "Manrope", system-ui, -apple-system, Segoe UI, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --gutter: clamp(16px, 4vw, 48px);
}

*,
*::before,
*::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 72px; overflow-x: clip; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, canvas, iframe { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 { margin: 0; font-family: var(--display); font-weight: 700; line-height: 1.1; letter-spacing: -0.01em; }
p { margin: 0; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.section { padding: clamp(80px, 12vw, 150px) 0; position: relative; }
.section--light { background: var(--stone); color: var(--ink); }
.section__head { margin-bottom: clamp(40px, 6vw, 72px); }
.section__head--split { display: flex; justify-content: space-between; align-items: flex-end; gap: 32px; flex-wrap: wrap; }
.section__lede { color: var(--muted); max-width: 440px; font-size: 1.125rem; margin-top: 18px; }
.section__lede--dark { color: var(--ink-soft); }
.h2 { font-size: clamp(2rem, 5vw, 3.75rem); max-width: 16ch; }

.kicker {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--accent); margin-bottom: 20px;
}
.kicker::before { content: ""; width: 28px; height: 2px; background: currentColor; }
.kicker--dark { color: #b85a06; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 700 0.9375rem/1 var(--body); cursor: pointer;
  transition: transform .3s var(--ease), background .3s, color .3s, border-color .3s, box-shadow .3s;
}
.btn span { transition: transform .3s var(--ease); }
.btn:hover span { transform: translateX(4px); }
.btn--accent { background: var(--accent); color: #1a0d02; }
.btn--accent:hover { background: var(--accent-2); box-shadow: 0 10px 30px -10px rgba(239, 127, 26, .6); transform: translateY(-2px); }
.btn--ghost { border-color: rgba(255,255,255,.25); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.06); }
.btn--sm { padding: 11px 18px; font-size: 0.875rem; }
.btn--block { width: 100%; }

/* ---------- Nav ---------- */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .4s, backdrop-filter .4s, border-color .4s; border-bottom: 1px solid transparent; }
.nav.is-scrolled { background: rgba(14,14,14,.72); backdrop-filter: blur(16px) saturate(140%); -webkit-backdrop-filter: blur(16px) saturate(140%); border-color: var(--line); }
.nav__inner { max-width: 1280px; margin: 0 auto; padding: 16px var(--gutter); display: flex; align-items: center; gap: 32px; }
.nav__links { display: flex; gap: 28px; margin-left: auto; font-size: 0.9375rem; font-weight: 600; }
.nav__links a { color: rgba(242,240,236,.75); position: relative; transition: color .2s; }
.nav__links a::after { content: ""; position: absolute; left: 0; right: 100%; bottom: -6px; height: 2px; background: var(--accent); transition: right .35s var(--ease); }
.nav__links a:hover, .nav__links a.is-active { color: var(--text); }
.nav__links a:hover::after, .nav__links a.is-active::after { right: 0; }
.scroll-progress { position: absolute; left: 0; bottom: -1px; height: 2px; width: 0; background: var(--accent); }

.logo { display: inline-flex; align-items: center; gap: 12px; }
.logo__badge { display: grid; place-items: center; width: 58px; height: 40px; }
.logo__badge img { width: 100%; height: auto; }
.logo__text { font: 500 1.125rem/1 var(--display); letter-spacing: .04em; }
.logo__text b { font-weight: 800; }
.logo__text small { font-size: .62em; font-weight: 700; color: var(--accent); margin-left: 1px; }

.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: transparent; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 13px; right: 13px; height: 2px; background: var(--text); transition: transform .3s var(--ease), top .3s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100svh; display: flex; flex-direction: column; justify-content: flex-end; padding: 140px 0 40px; overflow: hidden; isolation: isolate; }
.hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
/* hero background: Optimas H99 clips, crossfading (main.js picks landscape or portrait set) */
.hero__vid { position: absolute; left: 0; top: 0; width: 100%; height: 115%; object-fit: cover; object-position: center 55%; background: #0e0e0e; opacity: 0; transform: translateY(var(--hero-shift, 0px)); transition: opacity 1.2s ease; }
.hero__vid.is-on { opacity: 1; animation: heroDrift 12s linear both; }
@keyframes heroDrift { from { scale: 1.08; } to { scale: 1; } }
.hero__glow {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(60% 60% at 80% 80%, rgba(239,127,26,.1), transparent 70%),
    linear-gradient(90deg, rgba(14,14,14,.66) 0%, rgba(14,14,14,.28) 45%, rgba(14,14,14,0) 75%),
    linear-gradient(180deg, rgba(14,14,14,.5) 0%, rgba(14,14,14,0) 22%, rgba(14,14,14,0) 70%, rgba(14,14,14,.9) 100%);
}
.hero__content { margin-top: auto; }
.hero__title { font-size: clamp(1.875rem, 4.4vw, 3.75rem); font-weight: 800; letter-spacing: -0.03em; line-height: 1; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero__title span { display: block; }
.hero__title em { font-style: normal; color: var(--accent); }
.hero__sub { max-width: 520px; font-size: clamp(0.9375rem, 1.2vw, 1.0625rem); color: rgba(242,240,236,.88); margin: 14px 0 22px; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero__features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 48px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; padding: 0; max-width: calc(1280px - 2 * var(--gutter)); width: calc(100% - 2 * var(--gutter)); }
.feature { display: flex; gap: 18px; align-items: flex-start; padding: 20px 24px; background: rgba(18,18,18,.55); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); }
.feature__n { font: 700 0.8125rem/1.6 var(--display); color: var(--accent); }
.feature h3 { font-size: 1.0625rem; margin-bottom: 6px; }
.feature p { color: var(--muted); font-size: 0.9375rem; }
.scroll-hint { position: absolute; right: var(--gutter); top: 50%; width: 26px; height: 44px; border: 2px solid rgba(255,255,255,.3); border-radius: 20px; }
.scroll-hint span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: var(--accent); animation: scrollHint 1.8s infinite; }
@keyframes scrollHint { 0% { transform: translateY(0); opacity: 1; } 80% { transform: translateY(16px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee { background: var(--accent); color: #1a0d02; overflow: hidden; padding: 18px 0; transform: rotate(-1.2deg) scale(1.03); margin: -14px 0 -10px; position: relative; z-index: 2; }
.marquee__track { display: flex; width: max-content; animation: marquee 38s linear infinite; }
.marquee span { font: 700 clamp(1.125rem, 2.2vw, 1.625rem)/1 var(--display); text-transform: uppercase; white-space: nowrap; padding: 0 28px; display: inline-flex; align-items: center; gap: 56px; }
.marquee span::after { content: "◆"; font-size: .55em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.statement { font-size: clamp(1.875rem, 4vw, 3.25rem); font-weight: 700; line-height: 1.12; }
.statement mark { background: none; color: inherit; box-shadow: inset 0 -0.38em 0 rgba(239,127,26,.55); }
.about__text { display: grid; gap: 20px; color: var(--ink-soft); font-size: 1.125rem; padding-top: 40px; }
.machine__badge { display: inline-block; font: 700 0.875rem/1 var(--display); padding: 9px 14px; border-radius: 999px; background: var(--accent); color: #1a0d02; }

/* ---------- Services ---------- */
.services { padding-top: 0; }
.services__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service {
  position: relative; padding: 0; border-radius: var(--radius); overflow: hidden;
  background: #fff; border: 1px solid var(--line-dark);
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), background .4s, color .4s;
}
.service:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.35); background: var(--ink); color: var(--stone); }
.service:hover p, .service:hover .service__list li { color: rgba(238,235,229,.75); }
.service__img { aspect-ratio: 4 / 3; overflow: hidden; }
.service__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.service:hover .service__img img { transform: scale(1.07); }
.service__body { padding: 28px 28px 30px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.service__n { font: 700 0.875rem/1 var(--display); color: #b85a06; }
.service:hover .service__n { color: var(--accent); }
.service h3 { font-size: 1.375rem; }
.service p { color: var(--ink-soft); }
.service__tag { margin-top: auto; padding-top: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; opacity: .6; }
.service--wide { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.3fr; grid-template-rows: auto auto auto 1fr; column-gap: 40px; row-gap: 14px; padding-right: 36px; }
.service--wide .service__img { grid-row: 1 / -1; aspect-ratio: auto; min-height: 280px; }
.service--wide .service__n { margin-top: 36px; }
.service--wide .service__list { align-self: start; margin-bottom: 36px; }
.service__list { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.service__list li { padding: 9px 16px; border-radius: 999px; border: 1px solid currentColor; font-size: 0.875rem; font-weight: 600; color: var(--ink-soft); }

/* ---------- Process ---------- */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: s; }
.steps::before { content: ""; position: absolute; left: 0; right: 0; top: 27px; height: 2px; background: var(--line-dark); }
.steps::after { content: ""; position: absolute; left: 0; top: 27px; height: 2px; width: var(--progress, 0%); background: var(--accent); transition: width .2s linear; }
.step { position: relative; padding: 0 22px 0 0; }
.step__n { position: relative; z-index: 1; display: grid; place-items: center; width: 56px; height: 56px; border-radius: 50%; background: var(--stone); border: 2px solid var(--ink); font: 700 0.9375rem var(--display); margin-bottom: 26px; transition: background .4s, color .4s, border-color .4s; }
.step.is-on .step__n { background: var(--ink); color: var(--accent); }
.step h3 { font-size: 1.1875rem; margin-bottom: 10px; }
.step p { color: var(--ink-soft); font-size: 0.9688rem; }

/* ---------- Before / After ---------- */
.ba__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(32px, 6vw, 80px); align-items: center; }
.ba__frame { position: relative; aspect-ratio: 850 / 905; max-height: 82vh; justify-self: center; width: 100%; max-width: 640px; border-radius: 24px; overflow: hidden; border: 1px solid var(--line); user-select: none; --pos: 50%; }
.ba__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: opacity .25s; }
.ba__frame.is-switching .ba__img { opacity: 0; }
.ba__thumbs { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 32px; }
.ba__thumb { width: 64px; height: 64px; padding: 0; border-radius: 12px; overflow: hidden; border: 2px solid transparent; cursor: pointer; background: var(--bg-3); opacity: .55; transition: opacity .2s, border-color .2s, transform .2s; }
.ba__thumb img { width: 100%; height: 100%; object-fit: cover; }
.ba__thumb:hover { opacity: .9; transform: translateY(-2px); }
.ba__thumb.is-active { border-color: var(--accent); opacity: 1; }
.ba__before { position: absolute; inset: 0; clip-path: inset(0 calc(100% - var(--pos)) 0 0); }
.ba__handle { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 2px; background: var(--text); transform: translateX(-1px); pointer-events: none; }
.ba__handle span { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 52px; height: 52px; border-radius: 50%; background: var(--accent); color: #1a0d02; display: grid; place-items: center; font-size: 1.25rem; font-weight: 700; box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ba__frame input { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: ew-resize; margin: 0; }
.ba__label { position: absolute; top: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(14,14,14,.75); font-size: 0.8125rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; pointer-events: none; }
.ba__label--l { left: 16px; }
.ba__label--r { right: 16px; }

/* ---------- Projects ---------- */
.projects__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.project { position: relative; display: block; width: 100%; padding: 0; border: 0; font: inherit; text-align: left; border-radius: var(--radius); overflow: hidden; aspect-ratio: 850 / 905; background: var(--ink); color: var(--stone); cursor: zoom-in; }
.project img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover img { transform: scale(1.08); }
.project__zoom { position: absolute; top: 16px; right: 16px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.9); color: var(--ink); font-size: 1.375rem; font-weight: 600; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.project:hover .project__zoom, .project:focus-visible .project__zoom { opacity: 1; transform: none; }
.project__name { display: block; font: 700 clamp(1rem, 1.4vw, 1.1875rem)/1.2 var(--display); }
.project::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.82) 100%); }
.project__body { display: block; position: absolute; left: 22px; right: 22px; bottom: 20px; z-index: 1; }
.project__tag { display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: 6px 11px; border-radius: 999px; background: rgba(239,127,26,.9); color: #1a0d02; margin-bottom: 10px; }

/* ---------- Contact ---------- */
.contact { background: var(--bg); }
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 100px); }
.contact__info { list-style: none; margin: 40px 0 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.contact__info li { display: grid; grid-template-columns: 110px 1fr; gap: 16px; padding: 20px 0; border-bottom: 1px solid var(--line); font-size: 1.125rem; font-weight: 600; }
.contact__info small { color: var(--muted); font-size: 0.8125rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; padding-top: 4px; }
.contact__info a:hover { color: var(--accent); }
.form { background: var(--bg-2); border: 1px solid var(--line); border-radius: 24px; padding: clamp(22px, 3vw, 36px); display: grid; gap: 18px; align-self: start; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form label { display: grid; gap: 8px; font-size: 0.8125rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.form input:not([type="checkbox"]), .form textarea {
  width: 100%; padding: 15px 16px; border-radius: 12px; border: 1px solid var(--line); background: var(--bg-3);
  color: var(--text); font: 500 1rem var(--body); letter-spacing: 0; text-transform: none; transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(239,127,26,.15); }
.form input.is-invalid { border-color: #e2574c; }
.form .check { display: flex; align-items: center; gap: 10px; text-transform: none; letter-spacing: 0; font-weight: 500; font-size: 0.875rem; }
.form .check input { accent-color: var(--accent); width: 18px; height: 18px; }
.form__status { font-size: 0.875rem; color: var(--accent); min-height: 1.4em; }
.map { margin-top: clamp(50px, 8vw, 90px); border-radius: 24px; overflow: hidden; border: 1px solid var(--line); height: 360px; }
.map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(1) invert(.92) contrast(.9); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg); }
.footer__inner { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; justify-content: space-between; }
.footer__logo { display: block; }
.footer__logo img { width: 130px; height: auto; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; font-size: 0.875rem; color: var(--muted); }
.footer__links a:hover { color: var(--text); }
.footer__copy { font-size: 0.875rem; color: var(--muted); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity 1s var(--ease), transform 1s var(--ease); transition-delay: var(--d, 0s); }
.reveal.is-in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .projects__grid { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: 1fr; gap: 30px; }
  .steps::before, .steps::after { left: 27px; right: auto; top: 0; bottom: 0; width: 2px; height: auto; }
  .steps::after { height: var(--progress, 0%); bottom: auto; }
  .step { display: grid; grid-template-columns: 56px 1fr; column-gap: 22px; padding: 0; }
  .step__n { grid-row: span 2; margin: 0; }
}
@media (max-width: 900px) {
  .nav__links { position: fixed; inset: 0; flex-direction: column; justify-content: center; align-items: center; gap: 28px; background: rgba(14,14,14,.97); font: 700 1.625rem var(--display); opacity: 0; pointer-events: none; transition: opacity .35s; }
  .nav__links.is-open { opacity: 1; pointer-events: auto; }
  .nav__cta { display: none; }
  .burger { display: block; z-index: 2; }
  .hero__features { grid-template-columns: 1fr; }
  .scroll-hint { display: none; }
  .about__grid, .ba__grid, .contact__grid { grid-template-columns: 1fr; }
  .about__text { padding-top: 0; }
  .services__grid { grid-template-columns: 1fr; }
  .service { min-height: 0; }
  .service--wide { grid-template-columns: 1fr; grid-template-rows: none; padding: 0 0 28px; row-gap: 12px; }
  .service--wide .service__img { grid-row: auto; min-height: 0; aspect-ratio: 16 / 9; }
  .service--wide > :not(.service__img) { margin-left: 28px; margin-right: 28px; }
  .service--wide .service__n { margin-top: 16px; }
  .service--wide .service__list { margin-bottom: 0; }
}
@media (max-width: 560px) {
  body { font-size: 1rem; }
  .form__row { grid-template-columns: 1fr; }
  .contact__info li { grid-template-columns: 1fr; gap: 4px; }
  .projects__grid { grid-template-columns: 1fr; }
  .feature { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .marquee__track { animation: none; }
}

/* ---------- Video card ---------- */
.video { position: relative; display: block; width: 100%; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; background: var(--ink); cursor: pointer; margin-top: 8px; text-align: left; }
.video img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .4s; filter: brightness(.75); }
.video:hover img { transform: scale(1.05); filter: brightness(.6); }
.video__play { position: absolute; left: 50%; top: 45%; width: 76px; height: 76px; margin: -38px 0 0 -38px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(239,127,26,.6); animation: pulse 2.2s infinite; }
.video__play::after { content: ""; position: absolute; left: 31px; top: 24px; border-left: 22px solid #1a0d02; border-top: 14px solid transparent; border-bottom: 14px solid transparent; }
@keyframes pulse { 0% { box-shadow: 0 0 0 0 rgba(239,127,26,.55); } 70% { box-shadow: 0 0 0 22px rgba(239,127,26,0); } 100% { box-shadow: 0 0 0 0 rgba(239,127,26,0); } }
.video__caption { position: absolute; left: 18px; right: 18px; bottom: 16px; color: #fff; font-weight: 700; font-size: 0.9375rem; display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.video.is-playing { cursor: default; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ---------- Photo strip ---------- */
.strip { margin-top: clamp(60px, 9vw, 110px); overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.strip__track { display: flex; gap: 16px; width: max-content; animation: marquee 60s linear infinite; }
.strip:hover .strip__track { animation-play-state: paused; }
.strip__item { flex: none; width: clamp(240px, 26vw, 360px); aspect-ratio: 800 / 634; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: zoom-in; background: var(--stone-2); }
.strip__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.strip__item:hover img { transform: scale(1.06); }

/* ---------- Lightbox ---------- */
.lb { position: fixed; inset: 0; z-index: 100; display: grid; grid-template-columns: 64px 1fr 64px; align-items: center; padding: 24px; background: rgba(8,8,8,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity .3s; }
.lb.is-open { opacity: 1; pointer-events: auto; }
.lb figure { margin: 0; display: grid; justify-items: center; gap: 14px; grid-column: 2; min-width: 0; }
.lb img { max-width: 100%; max-height: 82vh; border-radius: 12px; object-fit: contain; transform: scale(.96); transition: transform .4s var(--ease); }
.lb.is-open img { transform: none; }
.lb figcaption { color: var(--text); font-weight: 600; text-align: center; }
.lb button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255,255,255,.06); color: var(--text); font-size: 1.875rem; line-height: 1; cursor: pointer; transition: background .2s, border-color .2s; }
.lb button:hover { background: var(--accent); border-color: var(--accent); color: #1a0d02; }
.lb__prev { grid-column: 1; grid-row: 1; }
.lb__next { grid-column: 3; grid-row: 1; }
.lb figure { grid-row: 1; }
.lb__close { position: absolute; top: 18px; right: 18px; }
@media (max-width: 560px) {
  .lb { grid-template-columns: 1fr 1fr; padding: 70px 12px 24px; }
  .lb figure { grid-column: 1 / -1; grid-row: 1; }
  .lb__prev, .lb__next { grid-row: 2; justify-self: center; margin-top: 16px; }
  .lb__prev { grid-column: 1; } .lb__next { grid-column: 2; }
}
@media (prefers-reduced-motion: reduce) {
  .strip__track, .hero__vid { animation: none; }
}

/* ---------- Videos from sites ---------- */
.works { background: var(--bg-2); }
.works__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(220px, 24vw, 320px); gap: 18px; }
.work { position: relative; margin: 0; border-radius: var(--radius); overflow: hidden; background: var(--bg-3); cursor: pointer; }
.work--wide { grid-column: span 2; }
.work--full { grid-column: 1 / -1; }
.work video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.work:hover video { transform: scale(1.05); }
.work__full { position: absolute; top: 14px; right: 14px; z-index: 1; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--accent); color: #1a0d02; font-size: 1.25rem; font-weight: 700; opacity: 0; transform: scale(.7); transition: opacity .3s, transform .3s var(--ease); }
.work:hover .work__full { opacity: 1; transform: none; }
@media (max-width: 900px) {
  .works__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 260px; grid-auto-flow: dense; }
}
@media (max-width: 560px) {
  .works__grid { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .work, .work--wide, .work--full { grid-column: auto; aspect-ratio: 4 / 5; }
  .work--wide, .work--full { aspect-ratio: 16 / 10; }
  .work__full { opacity: 1; transform: none; }
}

/* ---------- Multi-photo project card ---------- */
.project--multi { grid-column: span 3; aspect-ratio: auto; min-height: 100%; }
.project__collage { position: absolute; inset: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; background: var(--ink); }
.project .project__collage img { position: static; width: 100%; height: 100%; object-fit: cover; }
.project__count { display: inline-block; margin-top: 8px; font-size: 0.8125rem; font-weight: 600; opacity: .85; }
@media (max-width: 1100px) { .project--multi { grid-column: 1 / -1; aspect-ratio: 16 / 10; } }
@media (max-width: 560px) { .project--multi { aspect-ratio: 4 / 3; } }

/* ============ machine laying (main accent) ============ */
.machine { background: radial-gradient(120% 80% at 0% 0%, rgba(239,127,26,.14), transparent 55%), var(--bg); }
.machine__in { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.machine__media { position: relative; border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 10; box-shadow: 0 40px 80px -30px rgba(0,0,0,.7); }
.machine__media video { width: 100%; height: 100%; object-fit: cover; display: block; }
.machine__badge { position: absolute; left: 16px; top: 16px; background: var(--accent); color: #1a0d02; font: 700 0.8125rem var(--body); padding: 7px 12px; border-radius: 999px; letter-spacing: .04em; }
.machine__copy { display: flex; flex-direction: column; gap: 18px; align-items: flex-start; }
.machine__lede { color: var(--muted); font-size: 1.125rem; max-width: 52ch; }
.vs { display: grid; grid-template-columns: 1.15fr 1fr; gap: 12px; width: 100%; }
.vs__col { border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; }
.vs__col h3 { font-size: 1.125rem; margin: 0 0 10px; }
.vs__col ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 8px; color: var(--muted); font-size: 0.9375rem; }
.vs__col li { display: flex; gap: 10px; align-items: baseline; }
.vs__col li::before { content: "–"; color: var(--muted); }
.vs__col--on { border-color: rgba(239,127,26,.6); background: rgba(239,127,26,.08); }
.vs__col--on h3 { color: var(--accent); }
.vs__col--on ul { color: var(--text); }
.vs__col--on li::before { content: "✓"; color: var(--accent); font-weight: 700; }

.pmachine { display: grid; grid-template-columns: 1.4fr 1fr; gap: 0; border-radius: var(--radius); overflow: hidden; background: var(--ink); color: var(--text); margin-bottom: clamp(24px, 4vw, 40px); box-shadow: 0 30px 60px -30px rgba(0,0,0,.45); }
.pmachine video { width: 100%; height: 100%; min-height: 280px; object-fit: cover; display: block; }
.pmachine__copy { padding: clamp(24px, 4vw, 44px); display: flex; flex-direction: column; justify-content: center; gap: 14px; }
.pmachine__tag { align-self: flex-start; background: var(--accent); color: #1a0d02; font: 700 0.75rem var(--body); text-transform: uppercase; letter-spacing: .08em; padding: 6px 11px; border-radius: 999px; }
.pmachine h3 { font-size: clamp(1.375rem, 2.6vw, 2rem); margin: 0; }
.pmachine p { color: var(--muted); font-size: 1rem; margin: 0; }
.pmachine__link { color: var(--accent); font-weight: 700; text-decoration: none; }
@media (max-width: 900px) {
  .machine__in, .pmachine { grid-template-columns: 1fr; }
  .vs { grid-template-columns: 1fr; }
}

/* ============ drone band ============ */
.aerial { position: relative; min-height: min(92vh, 820px); display: flex; align-items: flex-end; overflow: hidden; color: var(--text); background: #000; }
.aerial__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.aerial__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.15) 0%, rgba(0,0,0,.1) 40%, rgba(0,0,0,.78) 100%); }
.aerial__in { position: relative; padding-top: 120px; padding-bottom: clamp(32px, 5vw, 64px); display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(24px, 4vw, 56px); align-items: end; }
.aerial__copy { display: flex; flex-direction: column; gap: 14px; }
.aerial__copy p:not(.kicker) { color: rgba(255,255,255,.82); font-size: 1.125rem; max-width: 44ch; margin: 0; }
.aerial__tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.aerial__tile { margin: 0; aspect-ratio: 4 / 5; border-radius: 14px; overflow: hidden; border: 1px solid rgba(255,255,255,.25); box-shadow: 0 20px 40px -20px rgba(0,0,0,.8); }
.aerial__tile video { width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 900px) {
  .aerial { min-height: 0; }
  .aerial__in { grid-template-columns: 1fr; padding-top: 55vw; }
  .aerial__tile { aspect-ratio: 3 / 4; }
}

/* visible captions on the About strip */
.strip__item { position: relative; }
.strip__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 28px 14px 12px; background: linear-gradient(180deg, transparent, rgba(0,0,0,.72)); color: #fff; font: 600 0.8125rem/1.35 var(--body); text-align: left; }

/* video project cards */
.project--video { cursor: pointer; }
.project video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.project:hover video { transform: scale(1.06); }
.project--video .project__play { opacity: 1; transform: none; font-size: 0.875rem; padding-left: 2px; }
.projects__grid:not(.is-all) .is-more { display: none; }
.projects__more { display: flex; justify-content: center; margin-top: clamp(28px, 4vw, 44px); }

/* ============ films (company videos) ============ */
.films { background: var(--bg); }
.films__grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: clamp(130px, 13vw, 168px); gap: 14px; }
.film { position: relative; padding: 0; border: 0; border-radius: var(--radius); overflow: hidden; background: #000; cursor: pointer; text-align: left; font: inherit; color: #fff; }
.film--main { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.film--tall { grid-row: span 2; aspect-ratio: auto; }
.film video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; background: #000; }
.film.is-playing video { object-fit: contain; }
.film::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,.75)); pointer-events: none; transition: opacity .3s; }
.film.is-playing::after, .film.is-playing .film__play, .film.is-playing .film__body { opacity: 0; pointer-events: none; }
.film__play { position: absolute; left: 50%; top: 50%; width: 64px; height: 64px; margin: -32px 0 0 -32px; border-radius: 50%; background: var(--accent); z-index: 1; transition: transform .3s var(--ease), opacity .3s; box-shadow: 0 10px 30px -8px rgba(239,127,26,.7); }
.film__play::before { content: ""; position: absolute; left: 26px; top: 21px; border-style: solid; border-width: 11px 0 11px 17px; border-color: transparent transparent transparent #1a0d02; }
.film:hover .film__play { transform: scale(1.1); }
.film--main .film__play { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
.film--main .film__play::before { left: 34px; top: 27px; border-width: 15px 0 15px 22px; }
.film__body { position: absolute; left: 18px; right: 18px; bottom: 16px; z-index: 1; display: flex; flex-direction: column; gap: 4px; transition: opacity .3s; }
.film__title { font-family: var(--display); font-weight: 700; font-size: 1rem; line-height: 1.2; }
.film--main .film__title { font-size: clamp(1.3rem, 2.4vw, 1.9rem); }
.film__sub { font-size: 0.75rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
@media (max-width: 900px) {
  .films__grid { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; }
  .film { aspect-ratio: 16 / 9; }
  .film--main { grid-column: 1 / -1; grid-row: auto; }
  .film--tall { grid-row: auto; aspect-ratio: 9 / 14; }
}
@media (max-width: 560px) {
  .films__grid { grid-template-columns: 1fr; }
  .film--tall { aspect-ratio: 4 / 5; }
}

/* Fixed per Apple HIG: touch targets at least 44x44pt (invisible padding, layout unchanged).
   Audit by HIG Compliance Auditor (Omraj Kumar) */
.footer__links a { display: inline-block; padding: 11px 0; margin: -11px 0; }
.contact__info a { display: inline-block; padding: 10px 0; margin: -10px 0; }
@media (max-width: 900px) { .nav__links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 16px; } .nav__links { gap: 12px; } }
