/* ==========================================================================
   Lined Australia — site styles
   Structure: tokens · base · components · sections · responsive
   ========================================================================== */

:root {
  --ink: #0c0c0e;
  --ink-2: #131316;
  --ink-3: #1c1c20;
  --ink-4: #2a2a30;
  --paper: #fff;
  --mist: #f3f3f0;
  --rule: #e3e3de;
  --red: #f41000;
  --red-d: #c70e00;
  --yellow: #ffc61a;
  --text: #4a4a50;
  --head: #0c0c0e;
  --on-dark: #b9b9c0;

  --f-display: "Barlow Condensed", "Arial Narrow", Impact, sans-serif;
  --f-body: "Poppins", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;

  --gut: clamp(20px, 4vw, 48px);
  --max: 1240px;
  --r: 16px;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --hdr-h: 84px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--f-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul, ol { list-style: none; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

.wrap { width: min(100% - 2 * var(--gut), var(--max)); margin-inline: auto; }
.section { padding-block: clamp(72px, 10vw, 128px); position: relative; }
.skip {
  position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--yellow); color: #000;
  padding: 10px 16px; border-radius: 8px; font-weight: 600; transition: top .2s;
}
.skip:focus { top: 12px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
svg.i { width: 1em; height: 1em; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }

/* ---------- type ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font: 600 12.5px/1 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: var(--red);
}
.eyebrow::before {
  content: ""; width: 34px; height: 3px;
  background: repeating-linear-gradient(90deg, currentColor 0 9px, transparent 9px 14px);
  animation: dashmove 1.1s linear infinite;
}
@keyframes dashmove { to { background-position: 14px 0; } }
.display {
  font-family: var(--f-display); font-weight: 700; text-transform: uppercase;
  line-height: .95; letter-spacing: .005em; color: var(--head);
}
h2.display { font-size: clamp(2.5rem, 5.4vw, 4.4rem); margin-top: 18px; }
/* a road line that paints itself under each section heading */
h2.display::after {
  content: ""; display: block; height: 6px; width: 132px; margin-top: 22px; border-radius: 3px;
  background: repeating-linear-gradient(90deg, var(--red) 0 38px, transparent 38px 50px);
}
.on-dark h2.display::after, .careers h2.display::after { background: repeating-linear-gradient(90deg, var(--yellow) 0 38px, transparent 38px 50px); }
.js .reveal h2.display::after { width: 0; transition: width 1.2s .35s var(--ease); }
.js .reveal.in h2.display::after { width: 132px; }
.on-dark .display, .on-dark h2 { color: #fff; }
.lead { font-size: clamp(1.02rem, 1.4vw, 1.15rem); max-width: 60ch; }
.on-dark { color: var(--on-dark); background: var(--ink-2); }
.section-head { max-width: 760px; margin-bottom: clamp(36px, 5vw, 64px); }
.section-head p { margin-top: 20px; }

/* ---------- buttons ---------- */
.btn {
  --bg: var(--red); --fg: #fff;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 30px; border-radius: 999px; border: 2px solid var(--bg);
  background: var(--bg); color: var(--fg);
  font: 600 15px/1 var(--f-body); letter-spacing: .01em;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn .i { transition: transform .25s var(--ease); }
.btn:hover { transform: translateY(-2px); box-shadow: 0 12px 28px -10px rgba(244, 16, 0, .65); }
.btn:hover .i { transform: translateX(4px); }
.btn--ghost { --bg: transparent; --fg: #fff; border-color: rgba(255, 255, 255, .45); }
.btn--ghost:hover { --bg: #fff; --fg: #000; border-color: #fff; box-shadow: none; }
.btn--dark { --bg: var(--ink); --fg: #fff; }
.btn--dark:hover { --bg: var(--red); box-shadow: none; }
.btn--sm { padding: 12px 22px; font-size: 14px; }
.btn--block { width: 100%; }

/* ---------- header ---------- */
.progress { position: fixed; inset: 0 0 auto 0; height: 5px; z-index: 120; background: transparent; pointer-events: none; }
.progress i { position: relative; display: block; height: 100%; width: 0; background: repeating-linear-gradient(90deg, var(--yellow) 0 16px, transparent 16px 26px); }
.progress i::after { content: ""; position: absolute; right: -5px; top: 50%; width: 11px; height: 11px; margin-top: -5.5px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 3px rgba(244, 16, 0, .25), 0 0 14px 4px rgba(244, 16, 0, .6); }

.hdr {
  position: fixed; inset: 0 0 auto 0; z-index: 100; color: #fff;
  transition: background .35s, box-shadow .35s, backdrop-filter .35s;
}
.hdr__in { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: var(--hdr-h); transition: height .35s var(--ease); }
.hdr.is-stuck { background: rgba(12, 12, 14, .86); backdrop-filter: blur(16px) saturate(1.4); -webkit-backdrop-filter: blur(16px) saturate(1.4); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.hdr.is-stuck .hdr__in { height: 68px; }
.brand img { height: 46px; width: auto; transition: height .35s var(--ease); }
.hdr.is-stuck .brand img { height: 40px; }
.nav { display: flex; align-items: center; gap: clamp(18px, 2.4vw, 34px); }
.nav a:not(.btn) { position: relative; font-weight: 500; font-size: 14px; letter-spacing: .03em; padding: 6px 0; color: rgba(255, 255, 255, .86); transition: color .2s; }
.nav a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.nav a:not(.btn):hover, .nav a.is-active { color: #fff; }
.nav a:not(.btn):hover::after, .nav a.is-active::after { transform: scaleX(1); }
.hdr__top { background: rgba(0, 0, 0, .38); border-bottom: 1px solid rgba(255, 255, 255, .09); font-size: 13px; }
.hdr__top .wrap { display: flex; align-items: center; justify-content: flex-end; gap: 28px; height: 38px; }
.hdr__top a { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .86); transition: color .2s; }
.hdr__top a:hover { color: var(--yellow); }
.hdr__top b { font-weight: 600; color: #fff; }
.hdr__top .i { color: var(--yellow); font-size: 15px; }
.hdr__mail { margin-left: auto; padding-left: 28px; border-left: 1px solid rgba(255, 255, 255, .18); }
.nav__phones { display: none; }
.burger { display: none; width: 46px; height: 46px; border-radius: 12px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .06); align-items: center; justify-content: center; font-size: 22px; }

/* ---------- hero ---------- */
.hero { position: relative; min-height: max(100svh, 700px); display: grid; align-items: center; color: #fff; background: var(--ink); overflow: hidden; isolation: isolate; }
.hero__bg { position: absolute; inset: -4% 0 -4% 0; z-index: -2; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 62% 55%; animation: kb 28s ease-out both; }
@keyframes kb { from { transform: scale(1.12); } to { transform: scale(1); } }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(90deg, rgba(8, 8, 10, .92) 0%, rgba(8, 8, 10, .62) 46%, rgba(8, 8, 10, .12) 100%),
  linear-gradient(0deg, rgba(8, 8, 10, .95) 0%, rgba(8, 8, 10, 0) 38%),
  linear-gradient(180deg, rgba(8, 8, 10, .6) 0%, rgba(8, 8, 10, 0) 24%); }
.hero__in { padding-block: 150px 170px; }
.hero .eyebrow { color: var(--yellow); }
.hero h1 { font-size: clamp(3.3rem, 9.4vw, 8.2rem); margin-top: 26px; max-width: 12ch; color: #fff; line-height: .9; }
.mark { background: linear-gradient(var(--red), var(--red)) 0 90% / 0 .13em no-repeat; animation: paint 1.1s .9s var(--ease) forwards; -webkit-box-decoration-break: clone; box-decoration-break: clone; padding-bottom: .03em; }
@keyframes paint { to { background-size: 100% .13em; } }
.hero p.lead { margin-top: 30px; color: #d4d4d9; font-size: clamp(1.05rem, 1.7vw, 1.28rem); max-width: 46ch; }
.hero__cta { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { margin-top: 46px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: 14px; color: #c8c8ce; }
.hero__chips li { display: inline-flex; align-items: center; gap: 9px; }
.hero__chips .i { color: var(--yellow); font-size: 18px; }
.hero__road { position: absolute; left: 0; right: 0; bottom: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 60px, transparent 60px 120px); animation: march 3s linear infinite; opacity: .95; }
@keyframes march { to { background-position: 120px 0; } }
.hero > .fade-in { animation: rise .9s var(--ease) both; }
.hero .stagger > * { animation: rise .9s var(--ease) both; }
.hero .stagger > *:nth-child(1) { animation-delay: .1s; } .hero .stagger > *:nth-child(2) { animation-delay: .22s; }
.hero .stagger > *:nth-child(3) { animation-delay: .36s; } .hero .stagger > *:nth-child(4) { animation-delay: .48s; }
.hero .stagger > *:nth-child(5) { animation-delay: .6s; }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }

/* ---------- stats ---------- */
.stats { position: relative; z-index: 3; margin-top: -78px; margin-bottom: 84px; }
.stats__card { display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-radius: 20px; box-shadow: 0 30px 70px -24px rgba(0, 0, 0, .35); overflow: hidden; }
.stat { padding: 34px 30px; border-right: 1px solid var(--rule); }
.stat:last-child { border-right: 0; }
.stat b { display: block; font: 700 clamp(2.6rem, 4.4vw, 3.8rem)/1 var(--f-display); color: var(--head); letter-spacing: .01em; text-transform: uppercase; }
.stat b em { font-style: normal; color: var(--red); }
.stat span { display: block; margin-top: 8px; font-size: 13.5px; line-height: 1.45; color: var(--text); }

/* ---------- clients ---------- */
.clients { background: var(--mist); display: flow-root; padding-block: 0 88px; }
.clients__t { text-align: center; font: 600 12.5px/1.4 var(--f-body); letter-spacing: .2em; text-transform: uppercase; color: #77777d; margin-bottom: 34px; }
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); mask-image: linear-gradient(90deg, transparent, #000 9%, #000 91%, transparent); }
.track { display: flex; gap: 22px; width: max-content; animation: scroll 55s linear infinite; }
.marquee:hover .track { animation-play-state: paused; }
.logo { flex: none; width: 210px; height: 104px; display: grid; place-items: center; background: #fff; border-radius: 14px; padding: 16px 22px; border: 1px solid var(--rule); }
.logo img { max-height: 100%; width: auto; max-width: 100%; object-fit: contain; filter: grayscale(1) contrast(1.05); opacity: .72; transition: filter .3s, opacity .3s; }
.logo:hover img { filter: none; opacity: 1; }
@keyframes scroll { to { transform: translateX(calc(-50% - 11px)); } }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(40px, 7vw, 110px); align-items: center; }
.collage { position: relative; padding: 0 0 70px 0; }
.collage__main { border-radius: 24px; overflow: hidden; aspect-ratio: 4 / 4.4; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .5); }
.collage__main img { width: 100%; height: 100%; object-fit: cover; object-position: 38% 50%; }
.collage__sub { position: absolute; right: -4%; bottom: 0; width: 46%; border-radius: 20px; overflow: hidden; border: 8px solid #fff; box-shadow: 0 30px 60px -26px rgba(0, 0, 0, .55); aspect-ratio: 3 / 4; }
.collage__sub img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; left: -18px; top: 26px; width: 132px; height: 132px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; box-shadow: 0 16px 36px -12px rgba(244, 16, 0, .7); }
.badge svg { position: absolute; inset: 0; animation: spin 24s linear infinite; }
.badge text { font: 600 10.4px var(--f-body); letter-spacing: .24em; fill: #fff; text-transform: uppercase; }
.badge b { font: 700 2.3rem/1 var(--f-display); }
@keyframes spin { to { transform: rotate(360deg); } }
.about h2 { max-width: 16ch; }
.about p + p { margin-top: 16px; }
.about .lead { margin-top: 24px; }
.feats { margin-top: 36px; display: grid; gap: 4px; }
.feat { display: grid; grid-template-columns: 54px 1fr; gap: 18px; padding: 18px 0; border-top: 1px solid var(--rule); align-items: start; }
.feat .ico { width: 54px; height: 54px; border-radius: 14px; background: #fff1ef; color: var(--red); display: grid; place-items: center; font-size: 26px; }
.feat h3 { font: 600 1.05rem/1.3 var(--f-body); color: var(--head); }
.feat p { font-size: .94rem; margin-top: 4px; }

/* ---------- services ---------- */
.services { background: var(--ink-2); }
.services::before { content: ""; position: absolute; inset: 0; background: radial-gradient(900px 500px at 85% -10%, rgba(244, 16, 0, .16), transparent 60%); pointer-events: none; }
.cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; position: relative; }
.card {
  --mx: 50%; --my: 0%;
  position: relative; display: flex; flex-direction: column; padding: 30px 26px 26px; min-height: 330px;
  background: var(--ink-3); border: 1px solid rgba(255, 255, 255, .08); border-radius: var(--r); overflow: hidden;
  transition: transform .35s var(--ease), border-color .3s;
}
.card::before { content: ""; position: absolute; inset: 0; background: radial-gradient(320px circle at var(--mx) var(--my), rgba(244, 16, 0, .2), transparent 70%); opacity: 0; transition: opacity .3s; pointer-events: none; }
.card::after { content: ""; position: absolute; left: 0; top: 0; height: 3px; width: 100%; background: var(--red); transform: scaleX(0); transform-origin: left; transition: transform .45s var(--ease); }
.card:hover { transform: translateY(-6px); border-color: rgba(244, 16, 0, .5); }
.card:hover::before { opacity: 1; } .card:hover::after { transform: scaleX(1); }
.card__n { position: absolute; right: 22px; top: 18px; font: 700 2.4rem/1 var(--f-display); color: rgba(255, 255, 255, .07); }
.card .ico { width: 58px; height: 58px; border-radius: 16px; background: rgba(244, 16, 0, .14); color: #ff5a4d; display: grid; place-items: center; font-size: 28px; margin-bottom: 24px; transition: background .3s, color .3s; }
.card:hover .ico { background: var(--red); color: #fff; }
.card h3 { font: 700 1.7rem/1.05 var(--f-display); text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.card p { margin-top: 12px; font-size: .93rem; line-height: 1.6; color: var(--on-dark); }
.card a { margin-top: auto; padding-top: 22px; display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: #fff; }
.card a .i { transition: transform .25s var(--ease); color: var(--yellow); }
.card a:hover .i { transform: translateX(5px); }

/* ---------- projects ---------- */
.filters { display: grid; gap: 14px; margin-bottom: 34px; }
.filters__row { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.filters__label { flex: none; width: 92px; font: 600 11.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: #77777d; }
.chip.is-empty { border-style: dashed; color: #77777d; }
.gallery__empty { text-align: center; padding: 48px 24px; border: 2px dashed var(--rule); border-radius: 20px; background: var(--mist); }
.gallery__empty[hidden] { display: none; }
.gallery__empty strong { display: block; font: 700 1.9rem/1 var(--f-display); text-transform: uppercase; color: var(--head); }
.gallery__empty p { margin-top: 10px; }
.gallery__empty a, .linkbtn { color: var(--red); font-weight: 600; text-decoration: underline; }
.linkbtn { background: none; border: 0; padding: 0; font-size: inherit; }
.chip { padding: 11px 20px; border-radius: 999px; border: 1.5px solid var(--rule); background: #fff; font-size: 14px; font-weight: 500; color: var(--head); transition: all .2s; }
.chip:hover { border-color: var(--head); }
.chip[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }
.chip small { opacity: .55; margin-left: 6px; font-size: 12px; }
.gallery { columns: 3; column-gap: 18px; }
.tile { break-inside: avoid; margin: 0 0 18px; border-radius: 14px; overflow: hidden; background: var(--ink-3); position: relative; }
.tile[hidden] { display: none; }
.tile.pop { animation: pop .55s var(--ease) both; }
@keyframes pop { from { opacity: 0; transform: scale(.96) translateY(14px); } to { opacity: 1; transform: none; } }
.tile button { display: block; width: 100%; padding: 0; border: 0; background: none; text-align: left; position: relative; }
.tile img { width: 100%; transition: transform .7s var(--ease); }
.tile:hover img { transform: scale(1.05); }
.tile__cap { position: absolute; inset: auto 0 0 0; padding: 60px 20px 18px; color: #fff; background: linear-gradient(0deg, rgba(8, 8, 10, .88), transparent); display: grid; gap: 3px; transition: opacity .3s, transform .4s var(--ease); }
.tile__cap small { font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
.tile__cap strong { font: 700 1.35rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
.tile__zoom { position: absolute; right: 14px; top: 14px; width: 40px; height: 40px; border-radius: 50%; background: rgba(12, 12, 14, .6); backdrop-filter: blur(6px); color: #fff; display: grid; place-items: center; font-size: 18px; opacity: 0; transform: scale(.8); transition: all .3s var(--ease); }
.tile::after { content: ""; position: absolute; inset: 10px; border: 2px dashed var(--yellow); border-radius: 8px; opacity: 0; transform: scale(.95); transition: opacity .3s, transform .5s var(--ease); pointer-events: none; z-index: 1; }
@media (hover: hover) {
  .tile:hover::after { opacity: .9; transform: none; }
  .tile__cap { opacity: 0; transform: translateY(12px); }
  .tile:hover .tile__cap, .tile button:focus-visible .tile__cap { opacity: 1; transform: none; }
  .tile:hover .tile__zoom, .tile button:focus-visible .tile__zoom { opacity: 1; transform: none; }
}
.gallery__more { display: flex; justify-content: center; margin: 14px 0 6px; }
.gallery__more[hidden] { display: none; }
.more { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; background: var(--mist); border-radius: 20px; padding: 26px 30px; }
.more__txt h3 { font: 700 1.9rem/1 var(--f-display); text-transform: uppercase; color: var(--head); }
.more__txt p { font-size: .95rem; margin-top: 6px; }
.more__thumbs { display: flex; }
.more__thumbs img { width: 64px; height: 64px; object-fit: cover; border-radius: 50%; border: 3px solid var(--mist); margin-left: -14px; }
.more__thumbs img:first-child { margin-left: 0; }
.more__r { display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }

/* lightbox */
.lb { position: fixed; inset: 0; z-index: 300; background: rgba(5, 5, 7, .95); display: grid; grid-template-rows: 1fr auto; padding: 24px var(--gut) 20px; opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.lb.open { opacity: 1; visibility: visible; }
.lb__stage { display: grid; place-items: center; min-height: 0; position: relative; }
.lb__stage { overflow: hidden; }
.lb__stage img { max-width: none; border-radius: 10px; box-shadow: 0 30px 90px rgba(0, 0, 0, .6); transition: filter .35s var(--ease); }
.lb__stage img.loading { filter: blur(7px) brightness(.92); }
.lb__cap { text-align: center; color: #fff; padding-top: 16px; }
.lb__cap small { font: 600 11.5px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: var(--yellow); }
.lb__cap h3 { font: 700 1.9rem/1.1 var(--f-display); text-transform: uppercase; margin-top: 6px; color: #fff; }
.lb__cap p { max-width: 62ch; margin: 6px auto 0; color: #b9b9c0; font-size: .95rem; line-height: 1.55; }
.lb__btn { position: absolute; top: 50%; translate: 0 -50%; width: 54px; height: 54px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; display: grid; place-items: center; font-size: 24px; transition: background .2s; }
.lb__btn:hover { background: var(--red); border-color: var(--red); }
.lb__prev { left: 0; } .lb__next { right: 0; }
.lb__x { position: absolute; right: var(--gut); top: 20px; z-index: 2; width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .25); background: rgba(255, 255, 255, .08); color: #fff; font-size: 22px; display: grid; place-items: center; }
.lb__x:hover { background: var(--red); border-color: var(--red); }
.lb__count { position: absolute; left: var(--gut); top: 32px; color: #9a9aa2; font-size: 13px; letter-spacing: .1em; }

/* ---------- spotlight / before-after ---------- */
.spot { background: var(--mist); }
.spot__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 90px); align-items: center; }
.spot__steps { margin-top: 30px; display: grid; gap: 14px; counter-reset: s; }
.spot__steps li { counter-increment: s; display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; font-size: .96rem; }
.spot__steps li::before { content: counter(s); width: 40px; height: 40px; border-radius: 50%; background: var(--ink); color: #fff; display: grid; place-items: center; font: 700 1.15rem var(--f-display); }
.spot__steps b { color: var(--head); display: block; font-weight: 600; }
.ba { --pos: 50%; position: relative; aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; user-select: none; -webkit-user-select: none; box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .55); background: var(--ink-3); }
.ba img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; pointer-events: none; }
.ba__after { clip-path: inset(0 0 0 var(--pos)); }
.ba__line { position: absolute; top: 0; bottom: 0; left: var(--pos); width: 3px; margin-left: -1.5px; background: #fff; box-shadow: 0 0 20px rgba(0, 0, 0, .5); pointer-events: none; }
.ba__knob { position: absolute; top: 50%; left: var(--pos); width: 56px; height: 56px; margin: -28px 0 0 -28px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: 0 10px 30px rgba(0, 0, 0, .5), 0 0 0 6px rgba(255, 255, 255, .25); pointer-events: none; }
.ba__knob .i { margin: 0 -3px; }
.ba__tag { position: absolute; top: 18px; padding: 7px 14px; border-radius: 999px; background: rgba(12, 12, 14, .72); backdrop-filter: blur(6px); color: #fff; font: 600 11.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; pointer-events: none; }
.ba__tag--b { left: 18px; } .ba__tag--a { right: 18px; background: var(--red); }
.ba input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; touch-action: pan-y; }
.ba:focus-within { outline: 3px solid var(--yellow); outline-offset: 4px; }
.ba__hint { margin-top: 14px; font-size: 13.5px; color: #77777d; text-align: center; }

/* ---------- in action (videos) ---------- */
.action { background: var(--mist); }
.action__head { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 5vw, 80px); align-items: end; margin-bottom: clamp(32px, 4vw, 56px); }
.action__head .lead { max-width: 52ch; }
.action__media { display: grid; grid-template-columns: 1.75fr 1fr; gap: 20px; align-items: end; }
.vid { position: relative; margin: 0; border-radius: 24px; overflow: hidden; background: var(--ink); box-shadow: 0 40px 80px -36px rgba(0, 0, 0, .55); isolation: isolate; }
.vid--wide { aspect-ratio: 888 / 494; } .vid--tall { aspect-ratio: 540 / 960; }
.vid video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vid__btn { position: absolute; inset: 0; z-index: 2; border: 0; padding: 0; background: linear-gradient(0deg, rgba(8, 8, 10, .72), transparent 42%); display: grid; place-items: center; }
.vid__ico { width: 68px; height: 68px; border-radius: 50%; background: var(--red); color: #fff; display: grid; place-items: center; font-size: 28px; box-shadow: 0 12px 32px rgba(0, 0, 0, .45), 0 0 0 8px rgba(255, 255, 255, .18); transition: transform .3s var(--ease), opacity .3s; }
.vid__ico .i { transform: translateX(1px); }
.vid__btn:hover .vid__ico { transform: scale(1.08); }
.vid.is-playing .vid__ico { opacity: 0; transform: scale(.8); }
.vid.is-playing .vid__btn:hover .vid__ico, .vid.is-playing .vid__btn:focus-visible .vid__ico { opacity: 1; transform: none; }
.vid__cap { position: absolute; left: 22px; right: 22px; bottom: 18px; z-index: 3; color: #fff; font-size: .92rem; line-height: 1.4; pointer-events: none; text-shadow: 0 1px 12px rgba(0, 0, 0, .6); }
.vid__cap small { display: block; font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 6px; }

/* ---------- aerial spotlight ---------- */
.aerial { background: var(--ink-2); }
.aerial__stage { position: relative; }
.aerial__stage > img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .7); }
.hot { position: absolute; left: var(--x); top: var(--y); width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; background: none; z-index: 2; }
.hot__dot { position: absolute; inset: 11px; border-radius: 50%; background: var(--red); border: 3px solid #fff; box-shadow: 0 4px 16px rgba(0, 0, 0, .55); transition: transform .25s var(--ease); }
.hot__dot::after { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .75); animation: hotping 2.2s ease-out infinite; }
@keyframes hotping { 0% { transform: scale(.6); opacity: 1; } 100% { transform: scale(1.5); opacity: 0; } }
.hot:hover .hot__dot, .hot[aria-expanded="true"] .hot__dot { transform: scale(1.18); }
.hot__tip { position: absolute; left: 50%; bottom: calc(100% + 4px); width: min(250px, 66vw); transform: translate(-50%, 8px); opacity: 0; visibility: hidden; background: rgba(12, 12, 14, .95); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); color: #cfcfd4; font-size: .85rem; line-height: 1.5; padding: 14px 16px; border-radius: 14px; border: 1px solid rgba(255, 255, 255, .14); text-align: left; pointer-events: none; transition: opacity .25s, transform .35s var(--ease), visibility .25s; box-shadow: 0 20px 40px rgba(0, 0, 0, .5); }
.hot__tip b { display: block; color: #fff; font: 700 1.25rem/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .01em; margin-bottom: 4px; }
.hot:hover, .hot:focus-visible, .hot[aria-expanded="true"] { z-index: 5; }
.hot:hover .hot__tip, .hot:focus-visible .hot__tip, .hot[aria-expanded="true"] .hot__tip { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

/* ---------- areas ---------- */
.areas { background: var(--ink); overflow: hidden; }
.areas::before { content: ""; position: absolute; inset: 0; background: radial-gradient(700px 500px at 12% 100%, rgba(255, 198, 26, .08), transparent 60%); pointer-events: none; }
.areas__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; position: relative; }
.areas h2 { max-width: 12ch; }
.areas .lead { margin-top: 22px; }
.areas .btn { margin-top: 34px; }
.route { --p: 0; position: relative; padding: 10px 0 10px 64px; }
.route__line { position: absolute; left: 20px; top: 24px; bottom: 24px; width: 6px; border-radius: 3px; background: repeating-linear-gradient(180deg, rgba(255, 255, 255, .16) 0 16px, transparent 16px 30px); }
.route__paint { position: absolute; left: 0; top: 0; width: 100%; height: calc(var(--p) * 100%); background: repeating-linear-gradient(180deg, var(--yellow) 0 16px, transparent 16px 30px); border-radius: 3px; }
.route li { position: relative; padding: 18px 0; display: flex; align-items: baseline; justify-content: space-between; gap: 16px; border-bottom: 1px solid rgba(255, 255, 255, .08); opacity: .4; transition: opacity .5s, transform .5s var(--ease); transform: translateX(-8px); }
.route li.on { opacity: 1; transform: none; }
.route li::before { content: ""; position: absolute; left: -53px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--ink); border: 4px solid rgba(255, 255, 255, .3); transition: all .4s; }
.route li.on::before { border-color: var(--yellow); background: var(--yellow); box-shadow: 0 0 0 6px rgba(255, 198, 26, .18); }
.route strong { font: 700 clamp(1.7rem, 3vw, 2.4rem)/1 var(--f-display); text-transform: uppercase; color: #fff; letter-spacing: .01em; }
.route span { font-size: 13px; color: #8d8d95; text-align: right; }
.route .hq strong { color: var(--yellow); }
.route .hq span { color: #fff; background: var(--red); padding: 5px 12px; border-radius: 999px; font-weight: 600; font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; }
.route .hq::before, .route li.hq.on::before { background: var(--red); border-color: #fff; animation: ping 2.4s infinite; }
@keyframes ping { 0% { box-shadow: 0 0 0 0 rgba(244, 16, 0, .7); } 80%, 100% { box-shadow: 0 0 0 18px rgba(244, 16, 0, 0); } }

/* ---------- careers ---------- */
.careers { background: var(--paper); }
.careers__card { display: grid; grid-template-columns: 1.15fr .85fr; background: var(--ink); border-radius: 32px; overflow: hidden; color: var(--on-dark); position: relative; }
.careers__card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 44px, transparent 44px 88px); }
.careers__body { padding: clamp(36px, 5vw, 72px); }
.careers h2 { color: #fff; font-size: clamp(2.4rem, 4.8vw, 4rem); }
.careers .lead { margin-top: 20px; color: #cbcbd1; }
.careers__lists { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 34px; }
.careers h4 { font: 600 12.5px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); margin-bottom: 14px; }
.careers li { display: flex; gap: 10px; align-items: flex-start; font-size: .94rem; line-height: 1.5; padding: 5px 0; color: #dcdce0; }
.careers li .i { color: var(--red); font-size: 18px; margin-top: 2px; stroke-width: 2.4; }
.pay { margin-top: 30px; padding: 16px 20px; border-radius: 14px; background: rgba(244, 16, 0, .14); border: 1px solid rgba(244, 16, 0, .4); color: #fff; font-weight: 500; font-size: .96rem; }
.careers .btn { margin-top: 28px; }
.careers__img { position: relative; min-height: 380px; }
.careers__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.careers__img::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--ink) 0%, transparent 35%); }
.sticker { position: absolute; z-index: 2; right: 28px; bottom: 28px; background: var(--yellow); color: #000; font: 700 1.5rem/1 var(--f-display); text-transform: uppercase; padding: 14px 20px; border-radius: 12px; transform: rotate(-4deg); box-shadow: 0 14px 30px rgba(0, 0, 0, .4); }

/* ---------- faq ---------- */
.faq { background: var(--mist); }
.faq__grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: clamp(36px, 6vw, 100px); align-items: start; }
.faq__list { display: grid; gap: 12px; }
.faq details { background: #fff; border-radius: 16px; border: 1px solid var(--rule); transition: border-color .2s, box-shadow .3s; }
.faq details[open] { border-color: var(--ink); box-shadow: 0 20px 40px -26px rgba(0, 0, 0, .3); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 26px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font-weight: 600; color: var(--head); font-size: 1.02rem; line-height: 1.4; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--mist); display: grid; place-items: center; font: 400 1.5rem/1 var(--f-body); transition: transform .3s var(--ease), background .2s, color .2s; }
.faq details[open] summary::after { transform: rotate(45deg); background: var(--red); color: #fff; }
.faq details p { padding: 0 26px 14px; font-size: .96rem; max-width: 62ch; }
.faq details p:last-child { padding-bottom: 24px; }

/* ---------- quote ---------- */
.quote { background: var(--ink-2); overflow: hidden; }
.quote::before { content: ""; position: absolute; right: -10%; top: -30%; width: 60%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle, rgba(244, 16, 0, .22), transparent 65%); pointer-events: none; }
.quote__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 100px); align-items: center; position: relative; }
.quote h2 { font-size: clamp(3rem, 7vw, 6rem); }
.quote h3 { font: 500 clamp(1.1rem, 1.8vw, 1.4rem)/1.4 var(--f-body); color: #d5d5da; margin-top: 18px; }
.contact-list { margin-top: 40px; display: grid; gap: 14px; }
.contact-list a { display: flex; align-items: center; gap: 16px; color: #fff; font-weight: 500; transition: color .2s; }
.contact-list a:hover { color: var(--yellow); }
.contact-list a > span:last-child { min-width: 0; overflow-wrap: anywhere; }
.contact-list .ico { width: 50px; height: 50px; border-radius: 14px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; font-size: 22px; color: var(--yellow); flex: none; }
.contact-list small { display: block; font-size: 12px; color: #8d8d95; font-weight: 400; letter-spacing: .04em; }
.contact-list .big { font: 700 clamp(1.8rem, 3vw, 2.5rem)/1 var(--f-display); letter-spacing: .02em; }
.form { background: #fff; border-radius: 24px; padding: clamp(26px, 3.5vw, 44px); box-shadow: 0 40px 90px -30px rgba(0, 0, 0, .6); color: var(--text); }
.form h3 { font: 700 2rem/1 var(--f-display); text-transform: uppercase; color: var(--head); margin: 0 0 22px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: grid; gap: 6px; margin-bottom: 14px; }
.field label { font-size: 12.5px; font-weight: 600; letter-spacing: .04em; color: var(--head); }
.field input, .field select, .field textarea { width: 100%; font: inherit; font-size: 15px; color: var(--head); padding: 14px 16px; border-radius: 12px; border: 1.5px solid var(--rule); background: #fafaf8; transition: border-color .2s, box-shadow .2s, background .2s; }
.field textarea { min-height: 112px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: #fff; box-shadow: 0 0 0 4px rgba(244, 16, 0, .12); }
.field .err { display: none; font-size: 12px; color: var(--red-d); }
.field.bad input, .field.bad textarea { border-color: var(--red); } .field.bad .err { display: block; }
.form__note { margin-top: 14px; font-size: 12.5px; color: #77777d; text-align: center; }
.form__ok { display: none; margin-top: 16px; padding: 14px 16px; border-radius: 12px; background: #ecfaf0; color: #14622f; font-size: .92rem; }
.form__ok.show { display: block; }
.form__ok.is-err { background: #fff3e0; color: #7a3f00; }
.form__ok a { text-decoration: underline; font-weight: 600; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.btn[disabled] { opacity: .7; pointer-events: none; }

/* ---------- footer ---------- */
.ftr { background: var(--ink); color: #9a9aa2; font-size: .94rem; padding-top: clamp(60px, 8vw, 96px); }
.ftr__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; }
.ftr img { height: 56px; width: auto; }
.ftr p { margin-top: 18px; max-width: 34ch; line-height: 1.6; }
.ftr h4 { font: 600 12px/1 var(--f-body); letter-spacing: .18em; text-transform: uppercase; color: #fff; margin-bottom: 20px; }
.ftr li { margin-bottom: 10px; }
.ftr a { transition: color .2s; } .ftr a:hover { color: var(--yellow); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .07); display: grid; place-items: center; color: #fff; font-size: 20px; }
.social a:hover { background: var(--red); color: #fff; }
.ftr__bar { border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 24px; display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: 13px; }
.ftr__bar .credit a { color: #fff; font-weight: 600; border-bottom: 1px solid rgba(255, 198, 26, .6); transition: color .2s, border-color .2s; }
.ftr__bar .credit a:hover { color: var(--yellow); border-color: var(--yellow); }
.ftr__road { height: 8px; background: repeating-linear-gradient(90deg, var(--yellow) 0 60px, transparent 60px 120px); opacity: .9; }

/* mobile call bar */
.mbar { display: none; position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 90; gap: 10px; transform: translateY(140%); transition: transform .4s var(--ease); }
.mbar.show { transform: none; }
.mbar .btn { flex: 1; box-shadow: 0 14px 34px rgba(0, 0, 0, .35); padding: 15px 18px; }
.mbar .btn--call { --bg: var(--ink); --fg: #fff; border-color: rgba(255, 255, 255, .2); }

/* ---------- reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(34px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.js .reveal.in { opacity: 1; transform: none; }
.js .reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.js .reveal-l.in { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 1100px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .ftr__grid { grid-template-columns: 1fr 1fr; }
}
@media (min-width: 981px) { html { scroll-padding-top: 124px; } }
@media (max-width: 980px) {
  :root { --hdr-h: 72px; }
  .hdr__top { display: none; }
  .burger { display: inline-flex; }
  .nav {
    position: fixed; inset: 0; z-index: 99; flex-direction: column; justify-content: center; align-items: flex-start; gap: 6px;
    padding: 90px var(--gut) 40px; background: rgba(8, 8, 10, .97); backdrop-filter: blur(18px);
    opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
  }
  .nav.open { opacity: 1; visibility: visible; }
  .nav a:not(.btn) { font: 700 clamp(2.4rem, 9vw, 3.6rem)/1.15 var(--f-display); text-transform: uppercase; letter-spacing: .01em; }
  .nav .btn { margin-top: 24px; }
  .nav .nav__phones { display: grid; gap: 16px; margin-top: 26px; padding-top: 22px; border-top: 1px solid rgba(255, 255, 255, .14); width: min(100%, 320px); }
  .nav .nav__phones a:not(.btn) { display: flex; flex-direction: column; gap: 5px; padding: 0; font: 700 1.9rem/1 var(--f-display); letter-spacing: .02em; text-transform: none; color: #fff; }
  .nav .nav__phones a:not(.btn)::after { display: none; }
  .nav__phones small { font: 600 11px/1 var(--f-body); letter-spacing: .16em; text-transform: uppercase; color: var(--yellow); }
  .burger { position: relative; z-index: 101; }
  .stats__card { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; } .stat:nth-child(-n+2) { border-bottom: 1px solid var(--rule); }
  .about__grid, .spot__grid, .areas__grid, .faq__grid, .quote__grid, .careers__card, .action__head { grid-template-columns: 1fr; }
  .collage { max-width: 560px; margin-inline: auto; width: 100%; }
  .gallery { columns: 2; }
  .careers__img { min-height: 320px; order: -1; }
  .careers__img::after { background: linear-gradient(0deg, var(--ink) 0%, transparent 40%); }
  .mbar { display: flex; }
  .ftr { padding-bottom: 80px; }
}
@media (max-width: 640px) {
  .hero::before { background: linear-gradient(90deg, rgba(8, 8, 10, .9) 0%, rgba(8, 8, 10, .6) 70%, rgba(8, 8, 10, .45) 100%), linear-gradient(0deg, rgba(8, 8, 10, .95) 0%, rgba(8, 8, 10, 0) 38%), linear-gradient(180deg, rgba(8, 8, 10, .6) 0%, rgba(8, 8, 10, 0) 24%); }
  .hero__in { padding-block: 120px 150px; }
  .cards { grid-template-columns: 1fr; }
  .card { min-height: 0; }
  .card a { padding-top: 18px; }
  .stat { padding: 24px 20px; }
  .careers__lists { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; gap: 0; }
  .gallery { column-gap: 12px; } .tile { margin-bottom: 12px; }
  .tile__cap { padding: 40px 12px 12px; } .tile__cap strong { font-size: 1.05rem; }
  .tile__cap small { font-size: 9.5px; }
  .ftr__grid { grid-template-columns: 1fr; gap: 32px; }
  .more { padding: 22px; } .badge { width: 104px; height: 104px; left: -6px; } .badge b { font-size: 1.8rem; }
  .lb__btn { width: 44px; height: 44px; top: auto; bottom: 0; translate: none; } .lb__prev { left: 0; } .lb__next { right: 0; }
  .lb__cap { padding-bottom: 8px; }
}
@media (max-width: 640px) {
  .filters__row { gap: 8px; } .filters__label { width: 100%; }
  .chip { padding: 10px 16px; font-size: 13.5px; }
  .action__media { grid-template-columns: 1fr; }
  .vid--tall { max-width: 320px; width: 100%; margin-inline: auto; }
  .vid__ico { width: 54px; height: 54px; font-size: 24px; }
  .vid__cap { left: 14px; right: 14px; bottom: 11px; font-size: .78rem; line-height: 1.3; }
  .vid__cap small { font-size: 9.5px; margin-bottom: 4px; }
  .vid--wide .vid__btn { background: linear-gradient(0deg, rgba(8, 8, 10, .6), transparent 32%); }
  .hot { width: 40px; height: 40px; margin: -20px 0 0 -20px; } .hot__dot { inset: 10px; border-width: 2px; }
  .hot__tip { font-size: .8rem; padding: 12px 14px; } .hot__tip b { font-size: 1.1rem; }
}
@media (max-width: 420px) { .gallery { columns: 1; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .track { animation: none; flex-wrap: wrap; justify-content: center; width: auto; }
  .track .dup { display: none; }
  .js .reveal, .js .reveal-l { opacity: 1; transform: none; }
  .mark { background-size: 100% .13em; }
}
