/* ARK Student First premium hero enhancement (v1.5.3).
   Hero refined to match the approved premium screenshot more closely.
   Frontend remains text-based/editable from the admin panel. */
body.home .hero-v2 {
  background:
    radial-gradient(circle at 18% 20%, rgba(17, 119, 97, .16), transparent 34%),
    radial-gradient(circle at 85% 50%, rgba(11, 108, 83, .34), transparent 42%),
    linear-gradient(118deg, #0b4039 0%, #0d4038 34%, #0d3d36 58%, #0f463d 100%);
  position: relative;
}
body.home .hero-v2::before{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 83% 22%, rgba(243, 198, 104, .11), transparent 18%),
    radial-gradient(circle at 10% 84%, rgba(101, 194, 149, .10), transparent 14%);
  pointer-events:none;
}
body.home .hero-v2 .hero-texture{opacity:.85}
body.home .hero-v2 .hero-copy{position:relative;z-index:2}
body.home .hero-v2 .hero-copy::after{
  content:"";
  position:absolute;
  left:-56px;
  bottom:88px;
  width:66px;
  height:66px;
  opacity:.34;
  background-image:radial-gradient(circle,currentColor 1.2px,transparent 1.2px);
  background-size:14px 14px;
  color:#8bc4a3;
  pointer-events:none;
}
body.home .hero-v2 .hero-visual{position:relative;z-index:1}
body.home .hero-v2 .hero-visual::before{
  content:"";
  position:absolute;
  inset:-26px -32px -28px -42px;
  border-radius:42% 30% 44px 44px / 36% 22% 44px 44px;
  border:1px solid rgba(219, 227, 209, .16);
  box-shadow:0 0 0 1px rgba(240,205,124,.14) inset;
  pointer-events:none;
  transform:rotate(2.6deg);
}
body.home .hero-v2 .hero-visual::after {
  content:"";
  position:absolute;
  z-index:0;
  bottom:18px;
  left:11%;
  width:78%;
  height:44px;
  pointer-events:none;
  background:radial-gradient(ellipse,rgba(170,237,194,.24),transparent 70%);
  filter:blur(15px);
}
body.home .hero-v2 .hero-eyebrow{
  background:rgba(10,58,49,.38);
  box-shadow:0 0 0 1px rgba(184,219,185,.09) inset;
  backdrop-filter:blur(4px);
}
body.home .hero-v2 h1 {
  font-weight:800;
  letter-spacing:-.058em;
  line-height:1.01;
  color:#fffdf7;
  filter:drop-shadow(0 1px 0 rgba(255,255,255,.02));
  -webkit-font-smoothing:antialiased;
  text-rendering:optimizeLegibility;
}
body.home .hero-v2 h1 .headline-accent {
  position:relative;
  display:inline-block;
  color:#f3c763;
  text-shadow:0 0 18px rgba(245, 200, 97, .10);
}
body.home .hero-v2 h1 .headline-accent::after{
  content:"";
  position:absolute;
  left:11%;
  width:37%;
  bottom:-8px;
  height:6px;
  border-radius:999px;
  background:linear-gradient(90deg, rgba(244,195,92,.14), #f1c764 35%, #e6b554 100%);
  box-shadow:0 3px 10px rgba(244, 195, 92, .18);
  transform:rotate(-4deg);
}
body.home .hero-v2 .hero-lead{
  font-size:17px;
  line-height:1.9;
  color:#d5e6db;
  max-width:570px;
}
body.home .hero-v2 .hero-actions .btn{
  min-width:210px;
  justify-content:center;
}
body.home .hero-v2 .btn-primary{
  background:#eeaa7f;
  color:#16372f;
  box-shadow:0 10px 25px rgba(20, 16, 8, .14),0 0 0 1px rgba(255,255,255,.08) inset;
}
body.home .hero-v2 .btn-primary:hover{background:#f3b58d}
body.home .hero-v2 .btn-hero-outline{
  background:rgba(9,48,41,.12);
  border:1px solid rgba(214,233,220,.28);
  box-shadow:0 0 0 1px rgba(255,255,255,.05) inset;
}
body.home .hero-v2 .hero-trust{padding-top:28px}
body.home .hero-v2 .hero-trust > span{
  border:1px solid rgba(196,225,204,.13);
  background:rgba(12,58,48,.22);
  padding:10px 15px;
  border-radius:999px;
}
body.home .hero-v2 .trust-check{display:inline-grid;place-items:center;width:24px;height:24px;border-radius:50%;background:rgba(182, 221, 187, .10);font-size:13px}
body.home .hero-v2 .hero-photo {
  width:100%;
  overflow:hidden;
  position:relative;
  background:#8ead98;
}
body.home .hero-v2 .hero-photo img {
  width:100%;height:100%;display:block;object-fit:cover;transform:none;
}
body.home .hero-v2 .hero-photo:before {
  content:"";
  position:absolute;
  inset:0;
  z-index:2;
  background:linear-gradient(130deg, rgba(255,255,255,.23) 0%, rgba(255,255,255,.055) 20%, transparent 41%);
  pointer-events:none;
}
body.home .hero-v2 .hero-photo::after {
  content:"";
  position:absolute;
  z-index:3;
  top:0;left:0;right:0;bottom:0;
  background:linear-gradient(112deg,transparent 64%,rgba(255,255,255,.095) 76%,transparent 87%);
  pointer-events:none;
  border-radius:inherit;
}
body.home .hero-v2 .hero-photo-reflection {
  position:absolute;
  z-index:0;
  pointer-events:none;
  left:10px;
  right:8px;
  overflow:hidden;
  filter:blur(1.9px);
  transform:perspective(320px) rotateX(8deg);
  -webkit-mask-image:linear-gradient(to bottom, rgba(0,0,0,.65), transparent 96%);
  mask-image:linear-gradient(to bottom, rgba(0,0,0,.65), transparent 96%);
}
body.home .hero-v2 .hero-photo-reflection img {
  width:100%;height:100%;display:block;transform:scaleY(-1);object-fit:cover;
}
body.home .hero-v2 .hero-photo-frame {
  position:absolute;
  pointer-events:none;
  border:1px solid rgba(247, 208, 123, .52);
  box-shadow:0 0 26px rgba(241, 206, 140, .14);
}
body.home .hero-v2 .bubble-top,
body.home .hero-v2 .bubble-bottom{
  backdrop-filter:blur(2px);
}
body.home .hero-v2 .bubble-top {
  background:#f8f3e8;
  color:#163a33;
  z-index:3;
  box-shadow:0 18px 40px rgba(5, 24, 21, .2);
}
body.home .hero-v2 .bubble-top strong{font-size:15px;line-height:1.28}
body.home .hero-v2 .bubble-top small{font-size:11px;color:#6a776f}
body.home .hero-v2 .bubble-bottom {
  background:#cce9b7;
  color:#10352b;
  z-index:3;
  box-shadow:0 15px 42px rgba(0, 13, 12, .25);
}
body.home .hero-v2 .bubble-icon{background:#163f36;color:#d0eabb;border-radius:50%;font-size:23px}
body.home .hero-v2 .hero-side-note{right:-34px;bottom:38%;font-size:9px;letter-spacing:.31em;color:#d6e6d8;z-index:3}

@media (min-width: 901px) {
  body.home .hero-v2 .hero-grid {
    width:min(calc(100% - 64px), 1680px);
    grid-template-columns:minmax(0,.82fr) minmax(0,1.18fr);
    gap:clamp(18px, 2.4vw, 36px);
    min-height:730px;
    padding-top:54px;
    padding-bottom:68px;
    align-items:center;
  }
  body.home .hero-v2 .hero-copy{max-width: 660px}
  body.home .hero-v2 h1 {
    max-width:100%;
    font-size:clamp(4.25rem, 5.5vw, 6.65rem);
  }
  body.home .hero-v2 .hero-visual {
    width:min(100%, 970px);
    max-width:none;
    margin-right:10px;
    padding:14px 8px 92px 18px;
    align-self:center;
    justify-self:stretch;
  }
  body.home .hero-v2 .hero-photo {
    aspect-ratio:1.29/1;
    border-radius:42% 29% 34px 34px / 34% 18% 34px 34px;
    box-shadow:0 32px 80px rgba(0, 13, 14, .43), 0 0 0 1px rgba(255, 222, 131, .34), 0 0 44px rgba(161, 232, 170, .12);
  }
  body.home .hero-v2 .hero-photo img {object-position:center 48%}
  body.home .hero-v2 .hero-photo-frame {
    inset:-14px -5px 78px -12px;
    border-radius:44% 31% 36px 38px / 36% 20% 38px 42px;
    transform:rotate(3deg);
  }
  body.home .hero-v2 .hero-photo-reflection {
    height:94px;
    bottom:4px;
    opacity:.16;
    border-radius:0 0 80px 80px;
  }
  body.home .hero-v2 .bubble-top {top:5%;right:-7%;transform:rotate(4deg);max-width:214px;padding:22px 22px 18px}
  body.home .hero-v2 .bubble-bottom {bottom:13%;left:-9%;max-width:350px;padding:16px 20px}
}
@media (min-width: 901px) and (max-width:1240px) {
  body.home .hero-v2 .hero-grid{width:min(calc(100% - 54px),1530px);grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);gap:22px}
  body.home .hero-v2 h1{font-size:clamp(3.2rem,5vw,5rem)}
  body.home .hero-v2 .hero-visual{width:min(100%,760px);padding-bottom:76px}
  body.home .hero-v2 .hero-photo{aspect-ratio:1.18/1}
  body.home .hero-v2 .bubble-bottom{left:-5%;bottom:14%}
}
@media (max-width:900px) {
  body.home .hero-v2 .hero-grid{grid-template-columns:1fr;gap:28px}
  body.home .hero-v2 .hero-copy::after{display:none}
  body.home .hero-v2 .hero-visual{
    width:min(95%,650px);
    max-width:650px;
    padding:8px 6px 68px;
    margin:10px auto 0;
    justify-self:center;
  }
  body.home .hero-v2 .hero-photo{
    width:100%;aspect-ratio:1.22/1;
    border-radius:38% 32% 26px 26px / 37% 26% 26px 26px;
    box-shadow:0 25px 60px rgba(0,20,17,.33),0 0 0 1px rgba(251,208,127,.28);
  }
  body.home .hero-v2 .hero-photo img{object-position:54% center}
  body.home .hero-v2 .hero-photo-frame{inset:-8px -3px 62px -3px;transform:rotate(2deg);border-radius:40% 34% 30px 30px / 37% 29% 32px 32px}
  body.home .hero-v2 .hero-photo-reflection{height:56px;bottom:3px;opacity:.14}
  body.home .hero-v2 h1{font-weight:800;letter-spacing:-.045em;text-shadow:none;line-height:1.04}
  body.home .hero-v2 .bubble-top{right:-5%;top:-4px;max-width:154px;padding:10px 12px}
  body.home .hero-v2 .bubble-bottom{left:-5%;bottom:44px;max-width:245px;padding:10px 12px}
}
@media (max-width:600px) {
  body.home .hero-v2 .hero-grid{padding-bottom:22px;gap:18px}
  body.home .hero-v2 .hero-visual{width:95%;max-width:480px;padding:6px 4px 43px;margin:9px auto 0}
  body.home .hero-v2 .hero-photo{aspect-ratio:1.12/1;border-radius:38% 32% 22px 22px / 33% 26% 22px 22px}
  body.home .hero-v2 .hero-photo-frame{inset:-6px -3px 37px -3px}
  body.home .hero-v2 .hero-photo-reflection{height:36px;bottom:0;opacity:.11}
  body.home .hero-v2 .hero-bubble{display:block}
  body.home .hero-v2 .bubble-top{right:-6%;top:-4px;max-width:126px;padding:9px 10px}
  body.home .hero-v2 .bubble-bottom{left:-4%;bottom:38px;max-width:204px;padding:9px 10px}
  body.home .hero-v2 .hero-side-note{display:none}
  body.home .hero-v2 h1 .headline-accent::after{height:4px;bottom:-5px}
  body.home .hero-v2 .hero-trust{flex-wrap:wrap;gap:10px}
  body.home .hero-v2 .hero-trust > span{font-size:10px;padding:8px 12px}
}
@media (prefers-reduced-motion: reduce) {
  body.home .hero-v2 .hero-visual::after {filter:none}
}
