/* =========================================================
   ACG FACTORY — INDUSTRIAL EDITORIAL DESIGN SYSTEM
   ========================================================= */

.acg-factory-page{
  --acg-blue:#0c53a5;
  --acg-navy:#022041;
  --acg-ink:#14283d;
  --acg-muted:#66798c;
  --acg-line:#dce4eb;
  --acg-soft:#f3f6f9;
  --acg-white:#fff;

  width:100%;
  overflow:hidden;
  background:#fff;
  color:#14283d;
}

.acg-factory-page *,
.acg-factory-page *:before,
.acg-factory-page *:after{
  box-sizing:border-box;
}

.acg-factory-shell{
  width:min(1440px,calc(100% - 64px));
  margin-inline:auto;
}

.acg-factory-kicker{
  display:flex;
  align-items:center;
  gap:14px;
  color:#0c53a5;
  font:900 11px/1 Arial,sans-serif;
  letter-spacing:.16em;
  text-transform:uppercase;
}

.acg-factory-kicker:before{
  content:"";
  width:44px;
  height:2px;
  background:#0c53a5;
}

.acg-factory-display{
  margin:18px 0 0;
  color:#022041;
  font-size:clamp(40px,5vw,76px);
  font-weight:950;
  line-height:1.14;
  letter-spacing:-.045em;
}

.acg-factory-body{
  color:#66798c;
  font-size:15px;
  line-height:2.15;
}

/* =========================================================
   HERO
   ========================================================= */

.acg-factory-hero{
  position:relative;
  min-height:min(860px,92vh);
  display:flex;
  align-items:flex-end;
  overflow:hidden;
  background:#01172d;
  color:#fff;
}

.acg-factory-hero__media{
  position:absolute;
  inset:0;
}

.acg-factory-hero__media picture,
.acg-factory-hero__media img{
  width:100%;
  height:100%;
  display:block;
}

.acg-factory-hero__media img{
  object-fit:cover;
  object-position:center;
  transform:scale(1.015);
  transition:transform 8s cubic-bezier(.2,.7,.2,1);
}

.acg-factory-hero:hover .acg-factory-hero__media img{
  transform:scale(1.055);
}

.acg-factory-hero__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(1,16,32,.98) 0%,
      rgba(2,32,65,.86) 34%,
      rgba(2,32,65,.40) 65%,
      rgba(2,32,65,.12) 100%
    ),
    linear-gradient(
      0deg,
      rgba(1,16,32,.92) 0%,
      rgba(1,16,32,.12) 56%
    );
}

.acg-factory-hero__grid{
  position:relative;
  z-index:2;
  width:min(1440px,calc(100% - 64px));
  margin-inline:auto;
  padding:150px 0 70px;
  display:grid;
  grid-template-columns:minmax(0,1fr) 300px;
  gap:80px;
  align-items:end;
}

.acg-factory-hero__brand{
  display:flex;
  align-items:center;
  gap:16px;
  margin-bottom:34px;
}

.acg-factory-hero__brand img{
  width:72px;
  height:auto;
  filter:drop-shadow(0 10px 30px rgba(0,0,0,.22));
}

.acg-factory-hero__brand span{
  color:#9cd2f5;
  font:900 11px/1.4 Arial,sans-serif;
  letter-spacing:.18em;
}

.acg-factory-hero h1{
  max-width:980px;
  margin:0;
  color:#fff;
  font-size:clamp(56px,7vw,104px);
  font-weight:950;
  line-height:1.03;
  letter-spacing:-.055em;
}

.acg-factory-hero__statement{
  max-width:820px;
  margin:28px 0 0;
  color:#fff;
  font-size:clamp(18px,2vw,26px);
  font-weight:900;
  line-height:1.8;
}

.acg-factory-hero__copy{
  max-width:720px;
  margin:14px 0 0;
  color:#c9d8e5;
  font-size:14px;
  line-height:2.05;
}

.acg-factory-hero__rail{
  border-right:1px solid rgba(255,255,255,.24);
  padding-right:26px;
}

.acg-factory-hero__rail div{
  padding:20px 0;
  border-bottom:1px solid rgba(255,255,255,.15);
}

.acg-factory-hero__rail small{
  display:block;
  color:#7ebfe9;
  font:800 9px Arial,sans-serif;
  letter-spacing:.12em;
}

.acg-factory-hero__rail strong{
  display:block;
  margin-top:7px;
  color:#fff;
  font-size:13px;
}

/* =========================================================
   MANIFESTO
   ========================================================= */

.acg-factory-manifesto{
  padding:140px 0;
  background:#fff;
}

.acg-factory-manifesto__grid{
  display:grid;
  grid-template-columns:minmax(320px,.8fr) minmax(0,1.2fr);
  gap:120px;
  align-items:start;
}

.acg-factory-manifesto__label{
  position:sticky;
  top:110px;
}

.acg-factory-manifesto__quote{
  margin:0;
  color:#022041;
  font-size:clamp(34px,4.2vw,62px);
  font-weight:950;
  line-height:1.5;
  letter-spacing:-.035em;
}

.acg-factory-manifesto__quote em{
  color:#0c53a5;
  font-style:normal;
}

.acg-factory-manifesto__copy{
  max-width:760px;
  margin:34px 0 0;
  color:#66798c;
  font-size:16px;
  line-height:2.2;
}

/* =========================================================
   MANUFACTURING STORY
   ========================================================= */

.acg-factory-story{
  background:#071b30;
  color:#fff;
}

.acg-factory-story__head{
  padding:120px 0 75px;
}

.acg-factory-story .acg-factory-kicker{
  color:#86c9f4;
}

.acg-factory-story .acg-factory-kicker:before{
  background:#86c9f4;
}

.acg-factory-story .acg-factory-display{
  max-width:920px;
  color:#fff;
}

.acg-factory-story__row{
  display:grid;
  grid-template-columns:minmax(0,1.35fr) minmax(350px,.65fr);
  min-height:690px;
  border-top:1px solid rgba(255,255,255,.12);
}

.acg-factory-story__row:nth-child(even){
  grid-template-columns:minmax(350px,.65fr) minmax(0,1.35fr);
}

.acg-factory-story__row:nth-child(even) .acg-factory-story__media{
  order:2;
}

.acg-factory-story__media{
  position:relative;
  min-height:690px;
  overflow:hidden;
}

.acg-factory-story__media img{
  width:100%;
  height:100%;
  position:absolute;
  inset:0;
  display:block;
  object-fit:cover;
  transition:
    transform .7s cubic-bezier(.2,.8,.2,1),
    filter .7s ease;
}

.acg-factory-story__row:hover .acg-factory-story__media img{
  transform:scale(1.045);
}

.acg-factory-story__content{
  padding:75px 58px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.acg-factory-story__num{
  color:#5caee5;
  font:900 15px Arial,sans-serif;
  letter-spacing:.16em;
}

.acg-factory-story__content h3{
  max-width:460px;
  margin:40px 0 18px;
  color:#fff;
  font-size:clamp(34px,4vw,58px);
  line-height:1.3;
}

.acg-factory-story__content p{
  max-width:500px;
  margin:0;
  color:#b9cad8;
  font-size:14px;
  line-height:2.1;
}

.acg-factory-story__tag{
  margin-top:50px;
  padding-top:20px;
  border-top:1px solid rgba(255,255,255,.16);
  color:#79bce8;
  font:800 10px Arial,sans-serif;
  letter-spacing:.12em;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:1024px){
  .acg-factory-shell,
  .acg-factory-hero__grid{
    width:min(100% - 40px,1440px);
  }

  .acg-factory-hero__grid{
    grid-template-columns:1fr;
    gap:45px;
  }

  .acg-factory-hero__rail{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-right:0;
    border-top:1px solid rgba(255,255,255,.2);
    padding:0;
  }

  .acg-factory-hero__rail div{
    padding:18px;
  }

  .acg-factory-manifesto__grid{
    grid-template-columns:1fr;
    gap:35px;
  }

  .acg-factory-manifesto__label{
    position:static;
  }
}

@media(max-width:780px){
  .acg-factory-story__row,
  .acg-factory-story__row:nth-child(even){
    display:flex;
    flex-direction:column;
    min-height:0;
  }

  .acg-factory-story__row:nth-child(even) .acg-factory-story__media{
    order:0;
  }

  .acg-factory-story__media{
    min-height:480px;
  }

  .acg-factory-story__content{
    padding:50px 28px 60px;
  }
}

@media(max-width:600px){
  .acg-factory-shell,
  .acg-factory-hero__grid{
    width:calc(100% - 28px);
  }

  .acg-factory-hero{
    min-height:760px;
  }

  .acg-factory-hero__grid{
    padding:110px 0 40px;
  }

  .acg-factory-hero h1{
    font-size:clamp(48px,15vw,72px);
  }

  .acg-factory-hero__brand img{
    width:60px;
  }

  .acg-factory-hero__rail{
    grid-template-columns:1fr;
  }

  .acg-factory-manifesto{
    padding:85px 0;
  }

  .acg-factory-story__head{
    padding:85px 0 50px;
  }

  .acg-factory-story__media{
    min-height:390px;
  }
}

@media(prefers-reduced-motion:reduce){
  .acg-factory-page *,
  .acg-factory-page *:before,
  .acg-factory-page *:after{
    animation:none!important;
    transition-duration:.01ms!important;
  }
}

/* =========================================================
   QUALITY / REVIEW
   ========================================================= */

.acg-factory-review{
  padding:140px 0;
  background:#f2f5f8;
}

.acg-factory-review__grid{
  display:grid;
  grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
  gap:90px;
  align-items:center;
}

.acg-factory-review__media{
  position:relative;
  min-height:760px;
  overflow:hidden;
  background:#dce4eb;
}

.acg-factory-review__media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .7s cubic-bezier(.2,.8,.2,1);
}

.acg-factory-review__media:hover img{
  transform:scale(1.045);
}

.acg-factory-review__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg,rgba(2,32,65,.46),transparent 48%);
  pointer-events:none;
}

.acg-factory-review__index{
  position:absolute;
  z-index:2;
  right:24px;
  bottom:22px;
  color:#fff;
  font:900 11px Arial,sans-serif;
  letter-spacing:.14em;
}

.acg-factory-review__content{
  max-width:650px;
}

.acg-factory-review__content h2{
  margin:20px 0 25px;
  color:#022041;
  font-size:clamp(40px,5vw,72px);
  font-weight:950;
  line-height:1.25;
  letter-spacing:-.04em;
}

.acg-factory-review__lead{
  margin:0 0 22px;
  color:#163a5c;
  font-size:20px;
  font-weight:900;
  line-height:1.9;
}

.acg-factory-review__copy{
  margin:0;
  color:#66798c;
  font-size:15px;
  line-height:2.15;
}

.acg-factory-review__rail{
  margin-top:42px;
  border-top:1px solid #cad5df;
}

.acg-factory-review__rail div{
  display:grid;
  grid-template-columns:60px 1fr;
  gap:15px;
  align-items:center;
  min-height:70px;
  border-bottom:1px solid #cad5df;
  transition:
    padding .25s ease,
    color .25s ease;
}

.acg-factory-review__rail div:hover{
  padding-right:10px;
}

.acg-factory-review__rail span{
  color:#0c53a5;
  font:900 11px Arial;
}

.acg-factory-review__rail strong{
  color:#022041;
  font-size:13px;
}

@media(max-width:900px){
  .acg-factory-review__grid{
    grid-template-columns:1fr;
  }

  .acg-factory-review__media{
    min-height:600px;
  }
}

@media(max-width:600px){
  .acg-factory-review{
    padding:85px 0;
  }

  .acg-factory-review__media{
    min-height:500px;
  }
}

/* =========================================================
   FACTORY PHOTO WALL
   ========================================================= */

.acg-factory-wall{
  padding:130px 0;
  background:#fff;
}

.acg-factory-wall__head{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:90px;
  align-items:end;
  margin-bottom:65px;
}

.acg-factory-wall__head h2{
  margin:0;
  color:#022041;
  font-size:clamp(40px,5vw,70px);
  line-height:1.2;
}

.acg-factory-wall__head p{
  max-width:650px;
  margin:0;
  color:#66798c;
  line-height:2.1;
}

.acg-factory-wall__grid{
  display:grid;
  grid-template-columns:1.2fr .8fr .8fr;
  grid-template-rows:330px 260px 390px;
  gap:10px;
}

.acg-factory-wall__item{
  position:relative;
  margin:0;
  overflow:hidden;
  background:#dce4eb;
}

.acg-factory-wall__item:nth-child(1){
  grid-row:1 / 3;
}

.acg-factory-wall__item:nth-child(4){
  grid-column:2 / 4;
}

.acg-factory-wall__item:nth-child(5){
  grid-column:1 / 3;
}

.acg-factory-wall__item img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:
    transform .65s cubic-bezier(.2,.8,.2,1),
    filter .4s ease;
}

.acg-factory-wall__item:hover img{
  transform:scale(1.055);
}

.acg-factory-wall__item:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(0deg,rgba(1,20,40,.55),transparent 46%);
  opacity:.75;
  transition:opacity .3s ease;
}

.acg-factory-wall__item:hover:after{
  opacity:1;
}

.acg-factory-wall__item figcaption{
  position:absolute;
  z-index:2;
  right:18px;
  bottom:16px;
  color:#fff;
  font:900 10px Arial,sans-serif;
  letter-spacing:.1em;
}

@media(max-width:900px){
  .acg-factory-wall__head{
    grid-template-columns:1fr;
    gap:20px;
  }

  .acg-factory-wall__grid{
    grid-template-columns:1fr 1fr;
    grid-template-rows:400px 280px 280px 340px;
  }

  .acg-factory-wall__item:nth-child(1){
    grid-column:1 / 3;
    grid-row:auto;
  }

  .acg-factory-wall__item:nth-child(4),
  .acg-factory-wall__item:nth-child(5){
    grid-column:1 / 3;
  }
}

@media(max-width:600px){
  .acg-factory-wall{
    padding:85px 0;
  }

  .acg-factory-wall__grid{
    display:block;
  }

  .acg-factory-wall__item{
    height:300px;
    margin-bottom:8px;
  }
}

/* =========================================================
   FACILITY
   ========================================================= */

.acg-factory-facility{
  background:#f2f5f8;
}

.acg-factory-facility__grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  min-height:720px;
}

.acg-factory-facility__media{
  position:relative;
  min-height:720px;
  overflow:hidden;
}

.acg-factory-facility__media img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .7s ease;
}

.acg-factory-facility__media:hover img{
  transform:scale(1.045);
}

.acg-factory-facility__content{
  padding:90px clamp(40px,6vw,100px);
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.acg-factory-facility__content h2{
  margin:20px 0 25px;
  color:#022041;
  font-size:clamp(38px,5vw,70px);
  line-height:1.25;
}

.acg-factory-facility__address{
  margin-top:42px;
  padding-top:24px;
  border-top:1px solid #cad5df;
}

.acg-factory-facility__address span{
  display:block;
  color:#0c53a5;
  font:900 10px Arial;
  letter-spacing:.14em;
}

.acg-factory-facility__address strong{
  display:block;
  max-width:620px;
  margin-top:12px;
  color:#163a5c;
  line-height:2;
}

/* =========================================================
   FINAL STATEMENT
   ========================================================= */

.acg-factory-final{
  position:relative;
  min-height:620px;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:#01172d;
  color:#fff;
}

.acg-factory-final__media{
  position:absolute;
  inset:0;
}

.acg-factory-final__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.acg-factory-final__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      90deg,
      rgba(1,17,34,.97),
      rgba(2,32,65,.82) 48%,
      rgba(2,32,65,.30)
    );
}

.acg-factory-final__content{
  position:relative;
  z-index:2;
  width:min(1440px,calc(100% - 64px));
  margin:auto;
  padding:100px 0;
}

.acg-factory-final__label{
  color:#85c9f5;
  font:900 11px Arial;
  letter-spacing:.16em;
}

.acg-factory-final h2{
  max-width:850px;
  margin:22px 0;
  color:#fff;
  font-size:clamp(44px,6vw,86px);
  line-height:1.12;
}

.acg-factory-final p{
  max-width:720px;
  color:#c8d8e5;
  line-height:2;
}

.acg-factory-final__actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:34px;
}

.acg-factory-final__actions a{
  min-height:54px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:0 25px;
  text-decoration:none;
  font-weight:900;
  border:1px solid rgba(255,255,255,.28);
  transition:.25s ease;
}

.acg-factory-final__primary{
  background:#fff;
  color:#022041;
}

.acg-factory-final__secondary{
  color:#fff;
  background:rgba(255,255,255,.05);
}

.acg-factory-final__actions a:hover{
  transform:translateY(-4px);
}

@media(max-width:850px){
  .acg-factory-facility__grid{
    grid-template-columns:1fr;
  }

  .acg-factory-facility__media{
    min-height:520px;
  }
}

@media(max-width:600px){
  .acg-factory-facility__media{
    min-height:390px;
  }

  .acg-factory-facility__content{
    padding:70px 20px;
  }

  .acg-factory-final{
    min-height:600px;
  }

  .acg-factory-final__content{
    width:calc(100% - 28px);
  }
}


/* =========================================================
   ACG FACTORY VISUAL POLISH V3
   ========================================================= */

/* ---------- GLOBAL ---------- */

.acg-factory-page{
  background:#fff;
}

.acg-factory-shell{
  width:min(1360px,calc(100% - 56px));
}

.acg-factory-kicker{
  font-size:10px;
  letter-spacing:.18em;
}

.acg-factory-display{
  max-width:980px;
  letter-spacing:-.035em;
}

/* ---------- HERO ---------- */

.acg-factory-hero{
  min-height:min(880px,94vh);
}

.acg-factory-hero__media:after{
  background:
    linear-gradient(
      90deg,
      rgba(1,16,31,.98) 0%,
      rgba(2,32,65,.88) 31%,
      rgba(2,32,65,.56) 53%,
      rgba(2,32,65,.12) 82%
    ),
    linear-gradient(
      0deg,
      rgba(1,15,30,.92) 0%,
      transparent 56%
    );
}

.acg-factory-hero__grid{
  width:min(1360px,calc(100% - 56px));
  padding-bottom:82px;
  grid-template-columns:minmax(0,1fr) 265px;
}

.acg-factory-hero h1{
  font-size:clamp(58px,7vw,108px);
  max-width:850px;
}

.acg-factory-hero__statement{
  max-width:760px;
  margin-top:30px;
  line-height:1.75;
}

.acg-factory-hero__copy{
  max-width:670px;
}

.acg-factory-hero__rail{
  border-right:0;
  padding-right:0;
}

.acg-factory-hero__rail div{
  position:relative;
  padding:20px 22px 20px 0;
  border-bottom:1px solid rgba(255,255,255,.17);
}

.acg-factory-hero__rail div:before{
  content:"";
  position:absolute;
  right:0;
  top:50%;
  width:6px;
  height:6px;
  background:#66b8ed;
  transform:translateY(-50%);
}

.acg-factory-hero__rail strong{
  font-size:12px;
  letter-spacing:.04em;
}

/* ---------- MANIFESTO ---------- */

.acg-factory-manifesto{
  padding:155px 0;
}

.acg-factory-manifesto__grid{
  grid-template-columns:.58fr 1.42fr;
  gap:100px;
}

.acg-factory-manifesto__quote{
  max-width:930px;
  font-size:clamp(38px,4.7vw,70px);
  line-height:1.42;
}

.acg-factory-manifesto__copy{
  max-width:820px;
  font-size:15px;
}

/* ---------- STORY ---------- */

.acg-factory-story{
  background:#06192c;
}

.acg-factory-story__head{
  padding:130px 0 82px;
}

.acg-factory-story__row{
  min-height:720px;
  grid-template-columns:minmax(0,1.42fr) minmax(360px,.58fr);
}

.acg-factory-story__row:nth-child(even){
  grid-template-columns:minmax(360px,.58fr) minmax(0,1.42fr);
}

.acg-factory-story__media{
  min-height:720px;
}

.acg-factory-story__media:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      0deg,
      rgba(2,21,39,.28),
      transparent 50%
    );
  pointer-events:none;
}

.acg-factory-story__content{
  position:relative;
  padding:80px 62px;
}

.acg-factory-story__content:before{
  content:"";
  position:absolute;
  top:0;
  right:0;
  width:1px;
  height:100%;
  background:rgba(255,255,255,.08);
}

.acg-factory-story__content h3{
  max-width:430px;
  font-size:clamp(36px,3.8vw,56px);
  line-height:1.35;
}

.acg-factory-story__content p{
  color:#aebfcd;
}

/* ---------- QUALITY ---------- */

.acg-factory-review{
  padding:155px 0;
  background:
    linear-gradient(90deg,rgba(12,83,165,.035) 1px,transparent 1px),
    linear-gradient(0deg,rgba(12,83,165,.035) 1px,transparent 1px),
    #f3f6f9;
  background-size:72px 72px;
}

.acg-factory-review__grid{
  grid-template-columns:minmax(0,.95fr) minmax(0,1.05fr);
  gap:105px;
}

.acg-factory-review__media{
  min-height:800px;
  box-shadow:0 35px 90px rgba(2,32,65,.14);
}

.acg-factory-review__content h2{
  max-width:690px;
  font-size:clamp(42px,5vw,72px);
}

.acg-factory-review__rail div{
  min-height:76px;
}

.acg-factory-review__rail div:hover strong{
  color:#0c53a5;
}

/* ---------- PHOTO WALL ---------- */

.acg-factory-wall{
  padding:145px 0;
}

.acg-factory-wall__head{
  grid-template-columns:.72fr 1.28fr;
  margin-bottom:58px;
}

.acg-factory-wall__grid{
  grid-template-columns:1.15fr .85fr .85fr;
  grid-template-rows:360px 300px 410px;
  gap:8px;
}

.acg-factory-wall__item{
  background:#d7e0e8;
}

.acg-factory-wall__item:before{
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  border:1px solid rgba(255,255,255,.16);
  pointer-events:none;
}

.acg-factory-wall__item figcaption{
  z-index:3;
  right:20px;
  bottom:18px;
  opacity:.86;
  transition:
    transform .3s ease,
    opacity .3s ease;
}

.acg-factory-wall__item:hover figcaption{
  transform:translateY(-4px);
  opacity:1;
}

/* ---------- FACILITY ---------- */

.acg-factory-facility{
  position:relative;
  background:#edf2f6;
}

.acg-factory-facility__grid{
  grid-template-columns:1.08fr .92fr;
  min-height:760px;
}

.acg-factory-facility__media{
  min-height:760px;
}

.acg-factory-facility__content{
  position:relative;
  padding:100px clamp(52px,7vw,120px);
}

.acg-factory-facility__content:before{
  content:"ACG";
  position:absolute;
  left:25px;
  bottom:-55px;
  color:rgba(2,32,65,.035);
  font:900 220px Arial,sans-serif;
  pointer-events:none;
}

.acg-factory-facility__content h2{
  max-width:650px;
  font-size:clamp(42px,5vw,72px);
}

.acg-factory-facility__address{
  position:relative;
  z-index:2;
}

/* ---------- FINAL CTA ---------- */

.acg-factory-final{
  min-height:690px;
}

.acg-factory-final__media img{
  filter:saturate(.88) contrast(1.03);
}

.acg-factory-final__media:after{
  background:
    linear-gradient(
      90deg,
      rgba(1,15,29,.98) 0%,
      rgba(2,32,65,.90) 42%,
      rgba(2,32,65,.38) 72%,
      rgba(2,32,65,.12)
    );
}

.acg-factory-final__content{
  width:min(1360px,calc(100% - 56px));
}

.acg-factory-final h2{
  max-width:900px;
  font-size:clamp(48px,6vw,92px);
  letter-spacing:-.04em;
}

.acg-factory-final__actions a{
  min-width:180px;
  border-radius:0;
}

.acg-factory-final__primary:hover{
  background:#eaf3fa;
}

.acg-factory-final__secondary:hover{
  background:rgba(255,255,255,.12);
  border-color:rgba(255,255,255,.55);
}

/* ---------- TABLET ---------- */

@media(max-width:1024px){

  .acg-factory-shell,
  .acg-factory-hero__grid,
  .acg-factory-final__content{
    width:min(100% - 40px,1360px);
  }

  .acg-factory-hero__grid{
    grid-template-columns:1fr;
  }

  .acg-factory-hero__rail{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    border-top:1px solid rgba(255,255,255,.16);
  }

  .acg-factory-hero__rail div{
    padding:20px 20px 20px 0;
  }

  .acg-factory-manifesto{
    padding:110px 0;
  }

  .acg-factory-manifesto__grid{
    grid-template-columns:1fr;
    gap:30px;
  }

  .acg-factory-review__grid{
    grid-template-columns:1fr;
    gap:55px;
  }

  .acg-factory-review__media{
    min-height:650px;
  }

  .acg-factory-facility__grid{
    grid-template-columns:1fr;
  }

  .acg-factory-facility__media{
    min-height:600px;
  }

}

/* ---------- MOBILE ---------- */

@media(max-width:600px){

  .acg-factory-shell,
  .acg-factory-hero__grid,
  .acg-factory-final__content{
    width:calc(100% - 28px);
  }

  .acg-factory-hero{
    min-height:780px;
  }

  .acg-factory-hero__grid{
    padding:105px 0 38px;
  }

  .acg-factory-hero h1{
    font-size:clamp(50px,15vw,68px);
  }

  .acg-factory-hero__statement{
    font-size:17px;
  }

  .acg-factory-hero__rail{
    grid-template-columns:1fr;
  }

  .acg-factory-hero__rail div{
    min-height:55px;
    padding-block:14px;
  }

  .acg-factory-manifesto{
    padding:80px 0;
  }

  .acg-factory-manifesto__quote{
    font-size:34px;
  }

  .acg-factory-story__head{
    padding:80px 0 45px;
  }

  .acg-factory-story__media{
    min-height:420px;
  }

  .acg-factory-story__content{
    padding:46px 22px 54px;
  }

  .acg-factory-story__content h3{
    font-size:34px;
  }

  .acg-factory-review{
    padding:80px 0;
  }

  .acg-factory-review__media{
    min-height:520px;
  }

  .acg-factory-review__content h2{
    font-size:38px;
  }

  .acg-factory-wall{
    padding:80px 0;
  }

  .acg-factory-wall__head{
    display:block;
  }

  .acg-factory-wall__head p{
    margin-top:22px;
  }

  .acg-factory-wall__item{
    height:290px;
  }

  .acg-factory-facility__media{
    min-height:430px;
  }

  .acg-factory-facility__content{
    padding:70px 20px;
  }

  .acg-factory-facility__content h2{
    font-size:40px;
  }

  .acg-factory-final{
    min-height:650px;
  }

  .acg-factory-final h2{
    font-size:48px;
  }

  .acg-factory-final__actions{
    display:grid;
  }

  .acg-factory-final__actions a{
    width:100%;
  }
}



/* =========================================================
   ACG FACTORY CAROUSEL + LIGHTBOX V1
   ========================================================= */

.acg-factory-carousel{
  padding:145px 0 155px;
  overflow:hidden;
  background:#fff;
}

.acg-factory-carousel__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:50px;
  margin-bottom:58px;
}

.acg-factory-carousel__head h2{
  margin:15px 0 0;
  color:#022041;
  font-size:clamp(42px,5vw,72px);
  font-weight:950;
  line-height:1.18;
  letter-spacing:-.04em;
}

.acg-factory-carousel__nav{
  display:flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
}

.acg-factory-carousel__counter{
  display:flex;
  align-items:center;
  gap:6px;
  min-width:82px;
  margin-left:16px;
  direction:ltr;
  color:#8797a7;
  font:800 11px/1 Arial,sans-serif;
}

.acg-factory-carousel__counter strong{
  color:#0c53a5;
  font-size:18px;
}

.acg-factory-carousel__arrow{
  width:54px;
  height:54px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid #d7e0e8;
  background:#fff;
  color:#022041;
  cursor:pointer;
  transition:
    background .22s ease,
    color .22s ease,
    border-color .22s ease,
    transform .22s ease;
}

.acg-factory-carousel__arrow:hover{
  color:#fff;
  background:#0c53a5;
  border-color:#0c53a5;
  transform:translateY(-3px);
}


/* viewport deliberately LTR for reliable carousel math */

.acg-factory-carousel__viewport{
  width:calc(100vw - max(28px,((100vw - 1360px) / 2)));
  overflow-x:auto;
  overflow-y:hidden;
  direction:ltr;
  scroll-snap-type:x mandatory;
  scrollbar-width:none;
  overscroll-behavior-x:contain;
}

.acg-factory-carousel__viewport::-webkit-scrollbar{
  display:none;
}

.acg-factory-carousel__track{
  display:flex;
  gap:14px;
  width:max-content;
  padding-left:0;
}

.acg-factory-carousel__slide{
  width:min(72vw,920px);
  height:600px;
  flex:0 0 auto;
  margin:0;
  scroll-snap-align:start;
  background:#dce4eb;
  overflow:hidden;
}

.acg-factory-carousel__open{
  position:relative;
  width:100%;
  height:100%;
  display:block;
  padding:0;
  border:0;
  overflow:hidden;
  background:#dce4eb;
  cursor:zoom-in;
}

.acg-factory-carousel__open:after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      0deg,
      rgba(1,18,35,.58) 0%,
      rgba(1,18,35,.05) 42%,
      transparent 65%
    );
  transition:background .35s ease;
}

.acg-factory-carousel__open img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transform:scale(1.001);
  transition:
    transform .65s cubic-bezier(.2,.8,.2,1),
    filter .4s ease;
}

.acg-factory-carousel__open:hover img{
  transform:scale(1.045);
}

.acg-factory-carousel__open:hover:after{
  background:
    linear-gradient(
      0deg,
      rgba(1,18,35,.67) 0%,
      rgba(1,18,35,.12) 48%,
      transparent 72%
    );
}

.acg-factory-carousel__number{
  position:absolute;
  z-index:3;
  right:22px;
  bottom:20px;
  color:#fff;
  font:900 12px Arial,sans-serif;
  letter-spacing:.12em;
}

.acg-factory-carousel__expand{
  position:absolute;
  z-index:4;
  left:20px;
  top:20px;
  width:48px;
  height:48px;
  display:grid;
  place-items:center;
  color:#fff;
  background:rgba(2,32,65,.55);
  border:1px solid rgba(255,255,255,.35);
  backdrop-filter:blur(10px);
  transform:scale(.92);
  opacity:0;
  transition:
    opacity .25s ease,
    transform .25s ease,
    background .25s ease;
}

.acg-factory-carousel__open:hover .acg-factory-carousel__expand{
  opacity:1;
  transform:scale(1);
}

.acg-factory-carousel__expand:hover{
  background:#0c53a5;
}


/* =========================================================
   LIGHTBOX
   ========================================================= */

.acg-factory-lightbox{
  position:fixed;
  z-index:99999;
  inset:0;
  color:#fff;
}

.acg-factory-lightbox[hidden]{
  display:none;
}

.acg-factory-lightbox__backdrop{
  position:absolute;
  inset:0;
  background:rgba(1,13,26,.97);
  backdrop-filter:blur(14px);
}

.acg-factory-lightbox__stage{
  position:relative;
  z-index:2;
  width:100%;
  height:100%;
  display:grid;
  grid-template-rows:82px 1fr;
}

.acg-factory-lightbox__top{
  width:calc(100% - 64px);
  margin:auto;
  display:grid;
  grid-template-columns:1fr auto 1fr;
  align-items:center;
  border-bottom:1px solid rgba(255,255,255,.12);
}

.acg-factory-lightbox__brand{
  display:flex;
  align-items:center;
  gap:12px;
}

.acg-factory-lightbox__brand span{
  color:#fff;
  font:950 22px Arial,sans-serif;
}

.acg-factory-lightbox__brand small{
  color:#78bbe8;
  font:800 9px Arial,sans-serif;
  letter-spacing:.16em;
}

.acg-factory-lightbox__count{
  display:flex;
  gap:7px;
  align-items:center;
  direction:ltr;
  color:#7d91a5;
  font:800 11px Arial,sans-serif;
}

.acg-factory-lightbox__count strong{
  color:#fff;
  font-size:17px;
}

.acg-factory-lightbox__close{
  justify-self:end;
  width:46px;
  height:46px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.2);
  background:transparent;
  color:#fff;
  font-size:20px;
  cursor:pointer;
  transition:.2s ease;
}

.acg-factory-lightbox__close:hover{
  background:#fff;
  color:#022041;
}

.acg-factory-lightbox__canvas{
  min-height:0;
  padding:30px 34px 38px;
  display:grid;
  grid-template-columns:64px minmax(0,1fr) 64px;
  align-items:center;
  gap:20px;
}

.acg-factory-lightbox__figure{
  min-width:0;
  height:100%;
  margin:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
}

.acg-factory-lightbox__figure img{
  display:block;
  max-width:100%;
  max-height:calc(100vh - 180px);
  width:auto;
  height:auto;
  object-fit:contain;
  box-shadow:0 30px 100px rgba(0,0,0,.35);
  user-select:none;
}

.acg-factory-lightbox__figure figcaption{
  min-height:22px;
  margin-top:14px;
  color:#aabac8;
  font-size:12px;
  line-height:1.7;
}

.acg-factory-lightbox__arrow{
  width:58px;
  height:72px;
  display:grid;
  place-items:center;
  padding:0;
  border:1px solid rgba(255,255,255,.18);
  background:rgba(255,255,255,.04);
  color:#fff;
  font-size:18px;
  cursor:pointer;
  transition:
    background .22s ease,
    border-color .22s ease,
    transform .22s ease;
}

.acg-factory-lightbox__arrow:hover{
  background:#0c53a5;
  border-color:#0c53a5;
}

.acg-factory-lightbox__arrow--prev:hover{
  transform:translateX(4px);
}

.acg-factory-lightbox__arrow--next:hover{
  transform:translateX(-4px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media(max-width:900px){

  .acg-factory-carousel{
    padding:105px 0;
  }

  .acg-factory-carousel__slide{
    width:82vw;
    height:520px;
  }

  .acg-factory-lightbox__canvas{
    grid-template-columns:50px minmax(0,1fr) 50px;
    gap:10px;
    padding-inline:18px;
  }

  .acg-factory-lightbox__arrow{
    width:48px;
    height:60px;
  }

}

@media(max-width:600px){

  .acg-factory-carousel{
    padding:80px 0 90px;
  }

  .acg-factory-carousel__head{
    display:block;
    margin-bottom:34px;
  }

  .acg-factory-carousel__head h2{
    font-size:40px;
  }

  .acg-factory-carousel__nav{
    margin-top:25px;
  }

  .acg-factory-carousel__viewport{
    width:calc(100vw - 14px);
  }

  .acg-factory-carousel__track{
    gap:8px;
  }

  .acg-factory-carousel__slide{
    width:88vw;
    height:430px;
  }

  .acg-factory-carousel__expand{
    width:42px;
    height:42px;
    opacity:1;
    transform:none;
  }

  .acg-factory-lightbox__stage{
    grid-template-rows:68px 1fr;
  }

  .acg-factory-lightbox__top{
    width:calc(100% - 28px);
    grid-template-columns:1fr auto auto;
    gap:15px;
  }

  .acg-factory-lightbox__brand small{
    display:none;
  }

  .acg-factory-lightbox__canvas{
    position:relative;
    display:block;
    padding:20px 14px 80px;
  }

  .acg-factory-lightbox__figure{
    height:100%;
  }

  .acg-factory-lightbox__figure img{
    max-height:calc(100vh - 190px);
  }

  .acg-factory-lightbox__arrow{
    position:absolute;
    z-index:4;
    bottom:20px;
    width:54px;
    height:48px;
  }

  .acg-factory-lightbox__arrow--prev{
    right:calc(50% + 5px);
  }

  .acg-factory-lightbox__arrow--next{
    left:calc(50% + 5px);
  }

}

/* =========================================================
   ACG FACTORY CAROUSEL — SINGLE ROW V2
   ========================================================= */

.acg-factory-carousel{
  padding:120px 0 130px;
  background:#f7f9fc;
}

.acg-factory-carousel__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:40px;
  margin-bottom:42px;
}

.acg-factory-carousel__head h2{
  margin:14px 0 0;
  color:#022041;
  font-size:clamp(38px,4.5vw,64px);
  font-weight:950;
  line-height:1.15;
  letter-spacing:-.035em;
}

.acg-factory-carousel__nav{
  display:flex;
  align-items:center;
  gap:8px;
}

.acg-factory-carousel__counter{
  margin-left:14px;
}

.acg-factory-carousel__arrow{
  width:50px;
  height:50px;
  border:1px solid #cfdbe6;
  background:#fff;
  color:#022041;
}

.acg-factory-carousel__arrow:hover{
  background:#0c53a5;
  border-color:#0c53a5;
  color:#fff;
}


/* ---------- ONE ROW ---------- */

.acg-factory-carousel__viewport{
  width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  direction:ltr;

  scroll-snap-type:x mandatory;
  scroll-behavior:smooth;

  scrollbar-width:none;
  -ms-overflow-style:none;

  overscroll-behavior-x:contain;
}

.acg-factory-carousel__viewport::-webkit-scrollbar{
  display:none;
}

.acg-factory-carousel__track{
  display:flex;
  flex-flow:row nowrap;

  gap:14px;

  width:max-content;
  min-width:100%;

  padding:0 0 8px;

  align-items:stretch;
}

.acg-factory-carousel__slide{
  flex:0 0 clamp(310px,27vw,410px);

  width:clamp(310px,27vw,410px);
  height:310px;

  margin:0;

  overflow:hidden;

  background:#dbe4ec;

  scroll-snap-align:start;
  scroll-snap-stop:always;
}


/* ---------- IMAGE CARD ---------- */

.acg-factory-carousel__open{
  position:relative;

  display:block;

  width:100%;
  height:100%;

  padding:0;

  border:0;

  background:#dbe4ec;

  overflow:hidden;

  cursor:zoom-in;
}

.acg-factory-carousel__open img{
  position:absolute;
  inset:0;

  width:100%;
  height:100%;

  display:block;

  object-fit:cover;
  object-position:center;

  transform:scale(1.001);

  transition:
    transform .55s cubic-bezier(.2,.8,.2,1),
    filter .35s ease;
}

.acg-factory-carousel__open:after{
  content:"";

  position:absolute;
  inset:0;

  background:
    linear-gradient(
      180deg,
      rgba(2,32,65,0) 48%,
      rgba(2,32,65,.10) 64%,
      rgba(2,24,47,.70) 100%
    );

  pointer-events:none;
}

.acg-factory-carousel__open:hover img{
  transform:scale(1.055);
}

.acg-factory-carousel__number{
  position:absolute;

  z-index:4;

  right:18px;
  bottom:16px;

  color:#fff;

  font:900 11px/1 Arial,sans-serif;
  letter-spacing:.15em;
}

.acg-factory-carousel__expand{
  position:absolute;

  z-index:4;

  top:14px;
  left:14px;

  width:42px;
  height:42px;

  display:grid;
  place-items:center;

  border:1px solid rgba(255,255,255,.34);

  background:rgba(2,32,65,.42);

  color:#fff;

  backdrop-filter:blur(8px);

  opacity:0;
  transform:translateY(-5px);

  transition:
    opacity .25s ease,
    transform .25s ease,
    background .25s ease;
}

.acg-factory-carousel__open:hover .acg-factory-carousel__expand{
  opacity:1;
  transform:translateY(0);
}

.acg-factory-carousel__expand:hover{
  background:#0c53a5;
}


/* ---------- ACTIVE / HOVER ---------- */

.acg-factory-carousel__slide{
  transition:
    transform .3s ease,
    box-shadow .3s ease;
}

.acg-factory-carousel__slide:hover{
  transform:translateY(-5px);

  box-shadow:
    0 22px 48px rgba(2,32,65,.13);
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1024px){

  .acg-factory-carousel{
    padding:100px 0 110px;
  }

  .acg-factory-carousel__slide{
    flex-basis:360px;
    width:360px;
    height:290px;
  }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:600px){

  .acg-factory-carousel{
    padding:76px 0 84px;
  }

  .acg-factory-carousel__head{
    display:block;
    margin-bottom:28px;
  }

  .acg-factory-carousel__head h2{
    font-size:38px;
  }

  .acg-factory-carousel__nav{
    margin-top:22px;
  }

  .acg-factory-carousel__track{
    gap:10px;
  }

  .acg-factory-carousel__slide{
    flex:0 0 84vw;

    width:84vw;
    height:300px;
  }

  .acg-factory-carousel__expand{
    opacity:1;
    transform:none;
  }

}


/* =========================================================
   VERY SMALL MOBILE
   ========================================================= */

@media(max-width:390px){

  .acg-factory-carousel__slide{
    flex-basis:86vw;
    width:86vw;
    height:270px;
  }

}
