/* ROCK APE production home — scoped to #home.rock-ape-home.
   Standalone preview styles live in rock-ape-landing-page/rock-ape.css. */
.hero.rock-ape-home{
  --ra-bg:#06090d;
  --ra-text:#f4f7fb;
  --ra-muted:#9eb2c7;
  --ra-blue:#27a8ff;
  --ra-green:#3df17a;
  --ra-gold:#ffc845;
  --ra-line:rgba(255,255,255,.12);
  padding:12px 0 28px;
  overflow:visible;
  text-align:center;
  color:var(--ra-text);
}
.hero.rock-ape-home::before{display:none}
.rock-ape-home .ra-hero{
  padding:22px 16px 24px;
  text-align:center;
  position:relative;
  border-radius:22px;
  overflow:hidden;
  background:
    linear-gradient(180deg,rgba(6,9,13,.78) 0%,rgba(6,9,13,.52) 42%,rgba(6,9,13,.84) 100%),
    url("/assets/img/rock-ape/garage-bg.jpg") center/cover no-repeat;
  /* WebP where image-set(type()) is understood; older engines keep the JPEG declaration above.
     The head script preloads garage-bg.webp at high priority on the home route only. */
  background-image:
    linear-gradient(180deg,rgba(6,9,13,.78) 0%,rgba(6,9,13,.52) 42%,rgba(6,9,13,.84) 100%),
    image-set(url("/assets/img/rock-ape/garage-bg.webp") type("image/webp"),url("/assets/img/rock-ape/garage-bg.jpg") type("image/jpeg"));
}
.rock-ape-home .ra-hero h1{
  margin:0;
  font-size:clamp(36px,5.6vw,74px);
  line-height:.98;
  letter-spacing:-.045em;
  text-shadow:0 7px 28px #000;
  font-weight:950;
  max-width:none;
}
.rock-ape-home .ra-hero h1 em{font-style:normal;color:#28b7ff}
.rock-ape-home .ra-subhead{
  margin:15px auto 0;
  max-width:1040px;
  color:#b9d5ee;
  font-size:clamp(18px,2.2vw,31px);
  line-height:1.25;
}
.rock-ape-home p.ra-subhead,
.rock-ape-home p.ra-choice-lead{
  color:inherit;
  max-width:none;
  font-size:inherit;
}
.rock-ape-home .ra-audience{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:15px;
  margin:12px auto 0;
  color:#53bfff;
  font-size:clamp(15px,1.5vw,21px);
  font-weight:700;
}
.rock-ape-home .ra-audience:before,
.rock-ape-home .ra-audience:after{
  content:"";
  height:1px;
  width:75px;
  background:linear-gradient(90deg,transparent,#39aeea);
}
.rock-ape-home .ra-audience:after{transform:scaleX(-1)}

.rock-ape-home .ra-choice-grid{
  display:grid;
  grid-template-columns:1fr 220px 1fr;
  gap:20px;
  align-items:stretch;
  margin-top:25px;
}
.rock-ape-home .ra-choice{
  position:relative;
  min-height:420px;
  border:3px solid;
  border-radius:24px;
  padding:28px 24px 58px;
  overflow:hidden;
  text-align:center;
  display:flex;
  flex-direction:column;
  box-shadow:inset 0 0 36px rgba(0,0,0,.52),0 0 34px rgba(0,0,0,.25);
}
.rock-ape-home .ra-choice-photo{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center 58%;
  z-index:0;
}
.rock-ape-home .ra-choice-shade{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
}
.rock-ape-home .ra-choice-body{
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:column;
  flex:1;
  min-height:0;
}
.rock-ape-home .ra-choice-body .ra-button{margin-top:auto}
.rock-ape-home .ra-choice--vin{
  border-color:var(--ra-blue);
  background:#031225;
  box-shadow:inset 0 0 36px rgba(0,0,0,.52),0 0 28px rgba(39,168,255,.27);
}
.rock-ape-home .ra-choice--vin .ra-choice-shade{
  background:linear-gradient(180deg,rgba(3,18,37,.70) 0%,rgba(3,18,37,.12) 48%,rgba(3,18,37,.42) 100%);
}
.rock-ape-home .ra-choice--browse{
  border-color:var(--ra-green);
  background:#02190e;
  box-shadow:inset 0 0 36px rgba(0,0,0,.52),0 0 28px rgba(61,241,122,.22);
}
.rock-ape-home .ra-choice--browse .ra-choice-shade{
  background:linear-gradient(180deg,rgba(2,25,14,.70) 0%,rgba(2,25,14,.12) 48%,rgba(2,25,14,.42) 100%);
}
.rock-ape-home .ra-choice h2{
  margin:0;
  font-size:clamp(26px,3vw,47px);
  letter-spacing:-.035em;
  line-height:1;
  color:#fff;
  text-shadow:0 4px 16px #000;
}
.rock-ape-home .ra-choice-lead{
  min-height:62px;
  margin:10px auto 22px;
  color:#9ed4ff;
  font-size:clamp(16px,1.45vw,23px);
  font-weight:700;
  line-height:1.22;
  max-width:520px;
  text-shadow:0 2px 10px #000;
}
.rock-ape-home .ra-choice--browse .ra-choice-lead{color:#b5ffd0}
.rock-ape-home .ra-button{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:20px;
  width:100%;
  min-height:66px;
  border-radius:13px;
  border:1px solid rgba(255,255,255,.65);
  text-decoration:none;
  color:#fff;
  font-size:clamp(20px,2.1vw,34px);
  font-weight:950;
  letter-spacing:-.025em;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.35),0 7px 22px rgba(0,0,0,.35);
}
.rock-ape-home .ra-choice--vin .ra-button{
  background:linear-gradient(180deg,#24b2ff,#0875ef);
  box-shadow:0 0 22px rgba(39,168,255,.44);
}
.rock-ape-home .ra-choice--browse .ra-button{
  background:linear-gradient(180deg,#36df79,#079f47);
  box-shadow:0 0 22px rgba(61,241,122,.35);
}
.rock-ape-home .ra-button:hover{filter:brightness(1.12);transform:translateY(-1px);color:#fff}
.rock-ape-home .ra-button:focus-visible{outline:3px solid #fff;outline-offset:3px}
.rock-ape-home .ra-choice-foot{margin-top:8px;margin-bottom:6px;color:#b8c8d8;font-weight:800;font-size:14px;text-shadow:0 2px 8px #000}

.rock-ape-home .ra-center-mark{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:8px;
  min-height:420px;
}
.rock-ape-home .ra-center-logo{
  width:min(210px,100%);
  height:auto;
  background:transparent;
  filter:drop-shadow(0 10px 16px rgba(0,0,0,.55)) drop-shadow(0 0 18px rgba(35,136,255,.22));
}
.rock-ape-home .ra-center-copy{
  font-size:clamp(22px,2.2vw,30px);
  font-weight:950;
  font-style:italic;
  line-height:.9;
  transform:rotate(-7deg);
  text-shadow:3px 5px 0 #000;
}
.rock-ape-home .ra-center-copy span{display:block;color:#fff}
.rock-ape-home .ra-center-copy:after{
  content:"";
  display:block;
  height:8px;
  margin-top:9px;
  border-radius:10px;
  background:linear-gradient(90deg,#ffd22e,#1baaff);
  transform:skewX(-22deg);
}

.rock-ape-home .ra-benefits{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:0;
  margin:18px 0;
  border-top:1px solid var(--ra-line);
  border-bottom:1px solid var(--ra-line);
}
.rock-ape-home .ra-benefit{
  display:flex;
  align-items:center;
  gap:12px;
  padding:15px 14px;
  border-right:1px solid var(--ra-line);
  text-align:left;
  min-height:83px;
}
.rock-ape-home .ra-benefit:last-child{border-right:0}
.rock-ape-home .ra-benefit-icon{
  flex:0 0 46px;
  width:46px;
  height:46px;
  border:3px solid #3daefb;
  border-radius:50%;
  display:grid;
  place-items:center;
  color:#5fc1ff;
  font-size:23px;
  box-shadow:0 0 13px rgba(40,170,255,.3);
}
.rock-ape-home .ra-benefit strong{
  display:block;
  font-size:13px;
  text-transform:uppercase;
  letter-spacing:.02em;
  color:#fff;
}
.rock-ape-home .ra-benefit span{
  display:block;
  margin-top:3px;
  color:#a9bfd2;
  font-size:12.5px;
  line-height:1.25;
}

.rock-ape-home .ra-feedback{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:22px;
  margin:18px 0;
  border:3px solid #eebc32;
  border-radius:19px;
  padding:14px 22px;
  background:linear-gradient(90deg,#1c1204,#0b0905 55%,#1d1204);
  box-shadow:0 0 24px rgba(255,200,69,.18);
}
.rock-ape-home .ra-feedback-icon{font-size:42px;color:var(--ra-gold)}
.rock-ape-home .ra-feedback-copy{text-align:left}
.rock-ape-home .ra-feedback-copy strong{
  font-size:clamp(22px,2.2vw,36px);
  letter-spacing:-.03em;
  color:#fff;
}
.rock-ape-home .ra-feedback-copy span{display:block;color:#ffd856;font-size:15px;font-weight:800}
.rock-ape-home .ra-feedback-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  min-width:245px;
  min-height:54px;
  padding:0 26px;
  border-radius:11px;
  border:1px solid #ffe09a;
  background:linear-gradient(180deg,#ffe67f,#ffc137);
  color:#15100a;
  font-size:19px;
  font-weight:950;
  font-family:inherit;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 0 18px rgba(255,200,69,.28);
}
.rock-ape-home .ra-feedback-btn:hover{filter:brightness(1.06)}
.rock-ape-home .ra-feedback-btn:focus-visible{outline:3px solid #ffe09a;outline-offset:3px}

.rock-ape-home .ra-local{
  margin-top:12px;
  background:rgba(5,18,32,.88);
  border:1px solid #163953;
  border-radius:16px;
  padding:13px 18px 16px;
}
.rock-ape-home .ra-local-inner{
  display:grid;
  grid-template-columns:auto 1fr auto auto;
  align-items:center;
  gap:18px;
}
.rock-ape-home .ra-pin{
  width:50px;
  height:50px;
  border:1px solid #2a6ca0;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-size:25px;
  color:#42b7ff;
}
.rock-ape-home .ra-help{text-align:left}
.rock-ape-home .ra-help strong{display:block;font-size:16px;color:#fff}
.rock-ape-home .ra-help span{color:#9ab5cc;font-size:14px}
.rock-ape-home .ra-footer-link{
  padding:13px 22px;
  border:1px solid #2b77b5;
  border-radius:10px;
  background:#0c2a43;
  text-decoration:none;
  color:#68c6ff;
  font-weight:850;
}
.rock-ape-home .ra-footer-link:hover{color:#b3ddff;border-color:#4ea0de}
.rock-ape-home .ra-tour{
  padding:12px 18px;
  border:1px solid #347dac;
  border-radius:99px;
  background:transparent;
  color:#66c6ff;
  font-weight:850;
  font-family:inherit;
  cursor:pointer;
}
.rock-ape-home .ra-tour:hover{background:rgba(79,176,255,.12);color:#b3ddff}

[dir=rtl] .rock-ape-home .ra-feedback-copy,
[dir=rtl] .rock-ape-home .ra-help,
[dir=rtl] .rock-ape-home .ra-benefit{text-align:right}

@media(max-width:1100px){
  .rock-ape-home .ra-choice-grid{grid-template-columns:1fr 1fr}
  .rock-ape-home .ra-center-mark{display:none}
  .rock-ape-home .ra-benefits{grid-template-columns:repeat(2,1fr)}
  .rock-ape-home .ra-benefit{border-bottom:1px solid var(--ra-line)}
  .rock-ape-home .ra-benefit:last-child{grid-column:1/-1;justify-content:center}
}
@media(max-width:760px){
  .rock-ape-home .ra-hero{padding-top:10px}
  .rock-ape-home .ra-hero h1{font-size:36px}
  .rock-ape-home .ra-subhead{font-size:18px}
  .rock-ape-home .ra-audience{font-size:15px}
  .rock-ape-home .ra-audience:before,
  .rock-ape-home .ra-audience:after{width:30px}
  .rock-ape-home .ra-choice-grid{grid-template-columns:1fr;gap:15px}
  .rock-ape-home .ra-choice{min-height:320px;padding:24px 17px 52px}
  .rock-ape-home .ra-choice h2{font-size:30px}
  .rock-ape-home .ra-choice-lead{font-size:17px;min-height:auto}
  .rock-ape-home .ra-benefits{grid-template-columns:1fr;margin-top:12px}
  .rock-ape-home .ra-benefit,
  .rock-ape-home .ra-benefit:last-child{grid-column:auto;border-right:0;justify-content:flex-start}
  .rock-ape-home .ra-feedback{grid-template-columns:auto 1fr;gap:14px;padding:14px}
  .rock-ape-home .ra-feedback-btn{grid-column:1/-1;min-width:0;width:100%}
  .rock-ape-home .ra-local-inner{grid-template-columns:auto 1fr}
  .rock-ape-home .ra-footer-link,
  .rock-ape-home .ra-tour{grid-column:1/-1;text-align:center}
}
