:root {
  --ink: #050b08;
  --green: #98ac8e;
  --light: #eef3e9;
  --edge: rgba(212, 232, 201, .18);
  --duration: 7300ms;
  --ease: cubic-bezier(.22, 1, .36, 1);
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ink);
  color: var(--light);
  font-family: 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
button:focus-visible, a:focus-visible { outline: 2px solid #c7e2b7; outline-offset: 5px; }
button, img { user-select: none; }
img { display: block; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; border: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; }
.skip-link { position: fixed; z-index: 1000; top: 10px; left: 12px; padding: 12px 20px; background: #f0f4e9; color: #08100b; transform: translateY(-150%); }
.skip-link:focus { transform: translateY(0); }

.hero {
  position: relative;
  isolation: isolate;
  min-height: 690px;
  height: 100vh;
  height: 100svh;
  background: #070b09;
  overflow: hidden;
}
.hero-slides, .hero-slide, .hero-photo, .hero-tint, .hero-noise { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-slides { z-index: 0; isolation: isolate; }
.hero-slide { opacity: 0; visibility: hidden; transition: opacity 1.45s ease, visibility 1.45s; z-index: 0; }
.hero-slide.is-active { opacity: 1; visibility: visible; z-index: 1; }
.hero-photo { object-fit: cover; will-change: transform; filter: saturate(.76) contrast(1.09) brightness(.84); transform: scale(1.075); }
.hero-slide.is-active .hero-photo { animation: photo-drift 8.8s linear both; }
.hero-photo--convoy { object-position: 57% 51%; }
.hero-photo--snow { object-position: 55% 43%; }
.hero-photo--urban { object-position: 56% 45%; }
.hero-photo--armor { object-position: 54% 46%; }
@keyframes photo-drift { from { transform: scale(1.075); } to { transform: scale(1.145) translate3d(-.8%, .5%, 0); } }
.hero-tint {
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(3, 11, 7, .96) 0%, rgba(4, 14, 10, .83) 21%, rgba(4, 12, 9, .52) 43%, rgba(4, 10, 7, .14) 73%, rgba(4, 9, 7, .28) 100%),
    linear-gradient(0deg, rgba(3, 9, 6, .95) 0%, rgba(4, 10, 8, .13) 34%, rgba(4, 10, 8, .1) 78%, rgba(3, 9, 7, .49) 100%),
    radial-gradient(circle at 36% 50%, rgba(20, 62, 40, .2), transparent 55%);
  pointer-events: none;
}
.hero-noise {
  z-index: 3;
  opacity: .31;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.82' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.15'/%3E%3C/svg%3E");
  mix-blend-mode: screen;
}
.hero-frame { position: absolute; z-index: 4; inset: clamp(12px, 2vw, 29px); border: 1px solid rgba(223, 239, 213, .095); pointer-events: none; }
.frame-corner { position: absolute; width: 25px; height: 25px; opacity: .65; }
.corner-tl { top: -1px; left: -1px; border-top: 1px solid rgba(226, 243, 216, .63); border-left: 1px solid rgba(226, 243, 216, .63); }
.corner-tr { top: -1px; right: -1px; border-top: 1px solid rgba(226, 243, 216, .63); border-right: 1px solid rgba(226, 243, 216, .63); }
.corner-bl { bottom: -1px; left: -1px; border-bottom: 1px solid rgba(226, 243, 216, .63); border-left: 1px solid rgba(226, 243, 216, .63); }
.corner-br { bottom: -1px; right: -1px; border-bottom: 1px solid rgba(226, 243, 216, .63); border-right: 1px solid rgba(226, 243, 216, .63); }
.site-header {
  position: absolute;
  z-index: 9;
  top: clamp(26px, 3.55vw, 55px);
  left: clamp(27px, 4vw, 70px);
  right: clamp(27px, 4vw, 70px);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header-mark { display: inline-flex; align-items: center; gap: 21px; text-decoration: none; }
.header-mark img { width: clamp(47px, 4.5vw, 60px); height: auto; filter: drop-shadow(0 4px 12px rgba(0,0,0,.43)); }
.header-mark-rule { display: block; width: 81px; height: 1px; background: linear-gradient(90deg, rgba(225,240,207,.48), transparent); }
.header-gallery-link { width: 48px; height: 48px; display: grid; place-items: center; border: 1px solid rgba(217,234,211,.22); border-radius: 50%; background: rgba(7, 18, 12, .35); color: rgba(233,244,223,.8); transition: background .3s, border .3s, transform .3s; }
.header-gallery-link:hover { background: rgba(103,130,92,.27); border-color: rgba(217,234,211,.54); transform: translateY(-2px); }
.header-gallery-link svg { width: 19px; height: 19px; }
.brand-stage {
  position: absolute;
  z-index: 5;
  top: 47.5%;
  left: clamp(80px, 12.4vw, 250px);
  width: clamp(280px, 27vw, 425px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  transform: translateY(-50%);
  animation: badge-enter 1.7s var(--ease) both;
}
@keyframes badge-enter { from { opacity: 0; transform: translateY(calc(-50% + 21px)) scale(.94); } to { opacity: 1; transform: translateY(-50%) scale(1); } }
.stage-aura { position: absolute; inset: -17%; border-radius: 50%; background: radial-gradient(circle, rgba(32, 87, 55, .23), rgba(2, 10, 6, 0) 67%); filter: blur(19px); }
.stage-ring { position: absolute; border-radius: 50%; pointer-events: none; }
.stage-ring--outer { inset: -7.4%; border: 1px solid rgba(189, 213, 176, .17); box-shadow: inset 0 0 27px rgba(182,214,164,.025), 0 0 34px rgba(3,18,11,.4); }
.stage-ring--outer::before, .stage-ring--outer::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1px solid rgba(196, 222, 184, .08); }
.stage-ring--outer::after { inset: 17px; border-color: rgba(196, 222, 184, .06); }
.stage-ring--inner { inset: 1.6%; border: 1px solid rgba(203, 221, 194, .21); }
.stage-crest { width: 94%; height: 94%; object-fit: contain; position: relative; filter: drop-shadow(0 17px 30px rgba(0,0,0,.52)); }
.stage-tick { position: absolute; z-index: 1; width: 27px; height: 1px; background: rgba(221, 241, 204, .55); }
.tick--one { top: 50%; left: -13%; } .tick--two { top: 50%; right: -13%; }
.tick--three, .tick--four { width: 1px; height: 27px; left: 50%; }
.tick--three { top: -13%; } .tick--four { bottom: -13%; }
.hero-side-meter { position: absolute; z-index: 3; right: clamp(43px, 5.6vw, 100px); top: 43%; display: flex; flex-direction: column; align-items: center; gap: 11px; opacity: .7; }
.hero-side-meter span { width: 1px; height: 17px; background: rgba(222,234,207,.27); transition: height .35s, background .35s; }
.hero-side-meter span.is-active { height: 36px; background: rgba(229,241,220,.9); }
.hero-controls {
  position: absolute;
  z-index: 7;
  bottom: clamp(53px, 5.1vw, 83px);
  left: clamp(34px, 5.4vw, 94px);
  right: clamp(34px, 5.4vw, 94px);
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.hero-arrows { display: inline-flex; align-items: center; gap: 12px; padding-bottom: 3px; }
.icon-button { width: 54px; height: 54px; display: grid; place-items: center; padding: 0; border: 1px solid rgba(224,239,211,.28); background: rgba(2,12,7,.22); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px); border-radius: 50%; color: #e8f0df; cursor: pointer; transition: background .25s, border .25s, transform .3s; }
.icon-button:hover { background: rgba(138,165,119,.2); border-color: rgba(225,240,210,.7); transform: translateY(-3px); }
.icon-button svg { width: 20px; height: 20px; }
.thumb-strip { display: flex; align-items: center; gap: clamp(8px, 1vw, 14px); }
.slide-thumb {
  position: relative;
  overflow: hidden;
  flex: 0 0 auto;
  width: clamp(95px, 9.7vw, 144px);
  height: clamp(60px, 6vw, 88px);
  background: #14221a;
  border: 1px solid rgba(236, 244, 221, .18);
  border-radius: 2px;
  outline-offset: 4px;
  padding: 0;
  cursor: pointer;
  opacity: .57;
  filter: saturate(.66);
  transition: opacity .4s, filter .4s, border-color .35s, transform .4s;
}
.slide-thumb img { width: 100%; height: 100%; object-fit: cover; }
.slide-thumb:hover { opacity: .9; filter: saturate(1); transform: translateY(-4px); }
.slide-thumb.is-active { opacity: 1; filter: saturate(.95); border-color: rgba(222, 241, 206, .87); }
.thumb-progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 3px; background: rgba(225, 246, 210, .96); transform-origin: left; transform: scaleX(0); }
.slide-thumb.is-active .thumb-progress { animation: fill-progress var(--duration) linear forwards; }
.hero.is-paused .slide-thumb.is-active .thumb-progress { animation-play-state: paused; }
@keyframes fill-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.scroll-cue { position: absolute; z-index: 5; left: calc(50% - 16px); bottom: clamp(38px, 5.6vw, 88px); display: grid; width: 32px; height: 47px; place-items: center; color: rgba(216,239,202,.69); text-decoration: none; animation: scroll-float 2.7s ease-in-out infinite; }
.scroll-cue svg { width: 20px; height: 20px; }
@keyframes scroll-float { 0%, 100% { transform: translateY(0); opacity: .61; } 55% { transform: translateY(8px); opacity: 1; } }

.gallery { padding: clamp(88px, 9vw, 144px) clamp(22px, 5.15vw, 86px) clamp(80px, 8vw, 130px); background: radial-gradient(ellipse at 49% 0%, rgba(35,65,43,.19), transparent 59%), #060b08; }
.gallery-ornament { display: flex; align-items: center; justify-content: center; gap: 27px; margin-bottom: clamp(62px, 7.5vw, 112px); }
.gallery-ornament span { width: clamp(40px, 11vw, 145px); height: 1px; background: linear-gradient(90deg, transparent, rgba(186,221,174,.44)); }
.gallery-ornament span:last-child { transform: rotate(180deg); }
.gallery-ornament img { width: 72px; height: 72px; object-fit: contain; filter: drop-shadow(0 0 13px rgba(47,94,55,.3)); }
.gallery-grid { width: min(100%, 1560px); margin: 0 auto; display: grid; grid-template-columns: 1.2fr .9fr 1fr; grid-template-rows: minmax(290px, 32vw) minmax(270px, 29vw); gap: clamp(10px, 1.3vw, 18px); }
.gallery-card { position: relative; display: block; width: 100%; height: 100%; overflow: hidden; cursor: zoom-in; background: #17231b; border: 1px solid rgba(186,210,177,.17); border-radius: 2px; padding: 0; text-align: left; }
.gallery-card--wide { grid-column: 1 / 3; grid-row: 1; }
.gallery-card--portrait { grid-column: 3; grid-row: 1; }
.gallery-card--portrait2 { grid-column: 1; grid-row: 2; }
.gallery-card--wide2 { grid-column: 2 / 4; grid-row: 2; }
.gallery-card > img { width: 100%; height: 100%; object-fit: cover; object-position: center; filter: saturate(.76) contrast(1.065) brightness(.86); transition: transform 1.2s var(--ease), filter 1.1s; }
.gallery-card--portrait img { object-position: 43% 48%; }
.gallery-card--portrait2 img { object-position: 52% 50%; }
.gallery-card--wide2 img { object-position: 58% 49%; }
.gallery-card:hover > img, .gallery-card:focus-visible > img { transform: scale(1.055); filter: saturate(.97) contrast(1.04) brightness(1); }
.gallery-card-shade { position: absolute; inset: 0; background: linear-gradient(0deg, rgba(2,12,7,.5), transparent 46%); pointer-events: none; }
.gallery-card::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(231,243,223,.13); opacity: 0; transition: opacity .45s ease; pointer-events: none; }
.gallery-card:hover::after, .gallery-card:focus-visible::after { opacity: 1; }
.gallery-zoom { position: absolute; right: 25px; bottom: 25px; display: grid; place-items: center; width: 50px; height: 50px; border: 1px solid rgba(228,242,218,.53); border-radius: 50%; color: #f0f5eb; background: rgba(8,22,12,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); opacity: 0; transform: translateY(8px); transition: opacity .4s, transform .4s; pointer-events: none; }
.gallery-zoom svg { width: 20px; height: 20px; }
.gallery-card:hover .gallery-zoom, .gallery-card:focus-visible .gallery-zoom { opacity: 1; transform: translateY(0); }
.site-footer { background: #050a07; padding: 0 clamp(22px, 5.15vw, 86px); }
.footer-inner { max-width: 1560px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 28px; min-height: 120px; padding: 23px 0; border-top: 1px solid rgba(202,230,190,.16); }
.footer-brand { display: flex; align-items: center; gap: 15px; }
.footer-brand img { width: 43px; height: 43px; object-fit: contain; }
.footer-brand p { margin: 0; font-size: 12px; letter-spacing: .045em; color: rgba(221,231,216,.63); }
.site-footer a { color: rgba(232,242,224,.78); font-size: 13px; letter-spacing: .025em; text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #f2f9ef; }

.lightbox { position: fixed; inset: 0; max-height: none; max-width: none; width: 100%; height: 100%; padding: 0; border: 0; background: rgba(2,7,5,.96); color: var(--light); overflow: hidden; }
.lightbox::backdrop { background: rgba(2,7,5,.96); }
.lightbox[open] { display: grid; place-items: center; }
.lightbox-stage { width: min(87vw, 1530px); height: min(80vh, 900px); display: grid; place-items: center; }
.lightbox-stage > img { display: block; max-height: 100%; max-width: 100%; height: auto; width: auto; object-fit: contain; box-shadow: 0 28px 100px rgba(0,0,0,.45); }
.lightbox-close, .lightbox-nav { position: absolute; z-index: 1; display: grid; place-items: center; padding: 0; color: rgba(231,243,219,.9); cursor: pointer; border: 1px solid rgba(218,236,205,.3); background: rgba(15,29,19,.76); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); border-radius: 50%; transition: background .25s, border .25s; }
.lightbox-close:hover, .lightbox-nav:hover { background: rgba(100,128,87,.26); border-color: rgba(218,236,205,.75); }
.lightbox-close { top: clamp(25px, 4vw, 64px); right: clamp(25px, 4vw, 64px); width: 48px; height: 48px; }
.lightbox-close svg { width: 20px; height: 20px; }
.lightbox-nav { top: calc(50% - 28px); width: 56px; height: 56px; }
.lightbox-nav svg { width: 23px; height: 23px; }
.lightbox-prev { left: clamp(20px, 3vw, 44px); }
.lightbox-next { right: clamp(20px, 3vw, 44px); }
body.lightbox-open { overflow: hidden; }

@media (min-width: 1700px) {
  .brand-stage { left: clamp(200px, 16vw, 370px); }
}
@media (max-width: 1100px) {
  .brand-stage { left: clamp(65px, 8vw, 100px); width: clamp(260px, 33vw, 350px); }
  .hero-controls { left: 38px; right: 38px; }
  .slide-thumb { width: 100px; height: 67px; }
  .gallery-grid { grid-template-rows: 350px 310px; }
}
@media (max-width: 780px) {
  .hero { min-height: 660px; }
  .hero-tint { background: linear-gradient(180deg, rgba(1,8,5,.66) 0%, rgba(3,11,7,.25) 22%, rgba(2,10,6,.41) 47%, rgba(2,9,6,.84) 84%, rgba(2,9,6,.98) 100%), linear-gradient(90deg, rgba(3,10,7,.27), rgba(3,10,7,.06)); }
  .hero-photo--convoy { object-position: 59% center; }
  .hero-photo--snow { object-position: 53% center; }
  .hero-photo--urban { object-position: 52% center; }
  .hero-photo--armor { object-position: 56% center; }
  .site-header { left: 32px; right: 32px; top: 30px; }
  .brand-stage { top: 45%; left: 50%; width: min(49vw, 350px); transform: translate(-50%,-50%); animation: badge-enter-mobile 1.6s var(--ease) both; }
  @keyframes badge-enter-mobile { from { opacity: 0; transform: translate(-50%,calc(-50% + 20px)) scale(.93); } to { opacity: 1; transform: translate(-50%,-50%) scale(1); } }
  .hero-side-meter { display: none; }
  .hero-controls { bottom: 58px; left: 30px; right: 30px; justify-content: center; }
  .hero-arrows { position: absolute; bottom: 110px; left: 0; right: 0; justify-content: space-between; }
  .icon-button { width: 45px; height: 45px; }
  .thumb-strip { width: min(100%, 510px); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; }
  .slide-thumb { width: 100%; height: 76px; }
  .scroll-cue { bottom: 8px; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 230px 270px; }
  .gallery-card--wide { grid-column: 1 / 3; grid-row: 1; }
  .gallery-card--portrait { grid-column: 1; grid-row: 2; }
  .gallery-card--portrait2 { grid-column: 2; grid-row: 2; }
  .gallery-card--wide2 { grid-column: 1 / 3; grid-row: 3; }
}
@media (max-width: 520px) {
  .hero { min-height: 600px; }
  .hero-frame { inset: 11px; }
  .site-header { top: 25px; left: 27px; right: 27px; }
  .header-mark img { width: 49px; }
  .header-mark-rule { width: 53px; }
  .header-gallery-link { width: 43px; height: 43px; }
  .brand-stage { top: 43%; width: min(64vw, 295px); }
  .hero-controls { left: 26px; right: 26px; bottom: 51px; }
  .hero-arrows { bottom: calc(100% + 25px); left: 4px; right: 4px; }
  .icon-button { width: 40px; height: 40px; }
  .icon-button svg { width: 17px; height: 17px; }
  .slide-thumb { height: clamp(57px, 16vw, 78px); }
  .scroll-cue { bottom: 9px; }
  .gallery { padding: 67px 14px 76px; }
  .gallery-ornament { gap: 16px; margin-bottom: 54px; }
  .gallery-ornament img { width: 58px; height: 58px; }
  .gallery-ornament span { width: 57px; }
  .gallery-grid { gap: 8px; grid-template-rows: 200px 178px 205px; }
  .gallery-zoom { opacity: .78; transform: none; right: 12px; bottom: 12px; width: 34px; height: 34px; }
  .gallery-zoom svg { width: 16px; height: 16px; }
  .site-footer { padding: 0 20px; }
  .footer-inner { align-items: flex-start; flex-direction: column; justify-content: center; gap: 13px; min-height: 126px; padding: 24px 0 30px; }
  .footer-brand img { width: 37px; height: 37px; }
  .footer-brand p { font-size: 11px; }
  .site-footer a { padding-left: 52px; font-size: 12px; }
  .lightbox-stage { width: 92vw; height: 72vh; }
  .lightbox-close { top: 22px; right: 20px; width: 42px; height: 42px; }
  .lightbox-nav { width: 43px; height: 43px; top: auto; bottom: 42px; }
  .lightbox-prev { left: calc(50% - 62px); }
  .lightbox-next { right: calc(50% - 62px); }
}
@media (max-height: 720px) and (min-width: 781px) {
  .hero { min-height: 580px; }
  .brand-stage { top: 44%; width: min(28vw, 310px); }
  .hero-controls { bottom: 47px; }
  .slide-thumb { height: 62px; }
  .scroll-cue { bottom: 49px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .hero-slide.is-active .hero-photo { transform: scale(1.08); }
  .slide-thumb.is-active .thumb-progress { transform: scaleX(1); }
}
