/* Compact corporate hero — final mobile/order/typewriter pass */
.hero.hero-v2{
  min-height:0;
  position:relative;
  overflow:hidden;
  background:linear-gradient(135deg,#f6f2ea 0%,#eee8dc 100%);
  border-bottom:1px solid rgba(17,18,15,.06);
}
.hero.hero-v2:before{
  content:"";
  position:absolute;
  width:500px;
  height:500px;
  right:auto;
  left:-190px;
  top:-245px;
  opacity:.52;
  pointer-events:none;
  background:radial-gradient(circle,rgba(185,146,80,.12),transparent 67%);
}
.hero-v2 .hero__grid{
  min-height:0;
  display:grid;
  grid-template-columns:minmax(0,1.34fr) minmax(330px,.66fr);
  gap:46px;
  align-items:center;
  padding:34px 0 38px;
}
.hero-v2 .hero__copy{
  max-width:760px;
  position:relative;
  z-index:2;
}
.hero-v2 .hero__label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  width:max-content;
  max-width:100%;
  padding:6px 9px;
  border:1px solid rgba(185,146,80,.28);
  border-radius:8px;
  background:rgba(255,253,249,.58);
  color:#424740;
  font-size:10px;
  font-weight:600;
  line-height:1.5;
  box-shadow:none;
  backdrop-filter:blur(8px);
}
.hero-v2 .hero__label i{
  width:6px;
  height:6px;
  flex:0 0 6px;
  border-radius:50%;
  background:var(--gold);
}
.hero-v2 .hero__title{
  margin:17px 0 14px;
  font-size:clamp(40px,3.45vw,52px);
  line-height:1.2;
  letter-spacing:-.042em;
  font-weight:700;
}
.hero-v2 .hero__title-main,
.hero-v2 .hero__title-accent{
  display:block;
  white-space:nowrap;
}
.hero-v2 .hero__title-main{
  color:var(--ink);
  font-weight:700;
}
.hero-v2 .hero__title-accent{
  margin-top:1px;
  color:var(--gold);
  font-weight:650;
}

/* Keep the full line width reserved while the visible text is typed/erased. */
.hero-v2 .hero__type-line{
  display:grid;
  width:max-content;
  max-width:100%;
  min-height:1.22em;
  direction:rtl;
}
.hero-v2 .hero__type-line::before{
  content:attr(data-copy);
  grid-area:1 / 1;
  visibility:hidden;
  white-space:nowrap;
}
.hero-v2 .hero__type-text{
  grid-area:1 / 1;
  align-self:center;
  justify-self:start;
  display:inline-block;
  width:max-content;
  max-width:100%;
  white-space:nowrap;
  border-left:2px solid currentColor;
  padding-left:4px;
  animation:heroTypeCaret .82s steps(1,end) infinite;
}
.hero-v2 .hero__type-sr{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
}
@keyframes heroTypeCaret{
  0%,46%{border-left-color:currentColor}
  47%,100%{border-left-color:transparent}
}

.hero-v2 .hero__description{
  max-width:650px;
  margin:0 0 20px;
  color:#70756e;
  font-size:13.5px;
  font-weight:400;
  line-height:1.95;
}
.hero-v2 .hero__actions{
  display:flex;
  gap:9px;
  flex-wrap:wrap;
  align-items:center;
}
.hero-v2 .hero__actions .btn{
  min-height:41px;
  padding:0 17px;
  border-radius:9px;
  font-size:11px;
  font-weight:600;
  gap:7px;
  box-shadow:none;
  transform:none!important;
}
.hero-v2 .hero__actions .arrow{
  width:15px;
  height:15px;
  transform:none!important;
}
.hero-v2 .hero__primary{border-color:var(--ink)}
.hero-v2 .hero__primary:hover{background:#24271f;border-color:#24271f;color:#fff}
.hero-v2 .hero__secondary{background:rgba(255,253,249,.58);border-color:rgba(17,18,15,.13)}
.hero-v2 .hero__secondary:hover{background:#fff;border-color:rgba(185,146,80,.7);color:var(--ink)}
.hero-v2 .hero__actions .btn:before{display:none}
.hero-v2 .hero__micro{
  display:flex;
  align-items:center;
  gap:10px;
  margin-top:20px;
  color:#858982;
  font-size:9.5px;
  font-weight:400;
  line-height:1.65;
}
.hero-v2 .hero__micro .line{
  width:32px;
  flex:0 0 32px;
  height:1px;
  background:rgba(185,146,80,.82);
}

.hero-v2 .hero__visual{
  position:relative;
  min-height:388px;
  width:100%;
  max-width:405px;
  justify-self:start;
}
.hero-v2 .hero__frame{
  position:absolute;
  inset:0 10px 0 0;
  overflow:hidden;
  border-radius:62px 62px 16px 16px;
  background:#d9d3c8;
  border:1px solid rgba(17,18,15,.08);
  box-shadow:0 18px 44px rgba(17,18,15,.105);
  transform:none!important;
}
.hero-v2 .hero__frame img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center center;
  filter:saturate(.84) contrast(1.015);
}
.hero-v2 .hero__frame:after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:linear-gradient(0deg,rgba(17,18,15,.10),transparent 34%);
}
.hero-v2 .hero__seal{
  position:absolute;
  right:0;
  top:54px;
  width:80px;
  height:80px;
  padding:15px 9px;
  border-radius:50%;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  background:#151712;
  color:var(--gold-soft);
  border:1px solid rgba(215,189,137,.35);
  box-shadow:0 10px 26px rgba(17,18,15,.12);
  will-change:transform;
  transform:translate3d(var(--hero-seal-x,0),var(--hero-seal-y,0),0) rotate(var(--hero-seal-r,0deg));
  transition:transform .24s cubic-bezier(.2,.75,.25,1), border-color .2s ease, background-color .2s ease;
  font-size:8.5px;
  font-weight:600;
  line-height:1.4;
}
.hero-v2 .hero__seal:before{
  content:"";
  position:absolute;
  inset:6px;
  border:1px dashed rgba(215,189,137,.27);
  border-radius:inherit;
}
.hero-v2 .hero__seal span{display:block;position:relative;z-index:1}
.hero-v2 .hero__card{
  position:absolute;
  left:-6px;
  bottom:16px;
  width:210px;
  min-height:72px;
  padding:13px 15px;
  display:grid;
  grid-template-columns:auto minmax(0,1fr);
  gap:11px;
  align-items:center;
  background:rgba(255,253,249,.94);
  border:1px solid rgba(17,18,15,.08);
  border-radius:13px;
  box-shadow:0 13px 29px rgba(17,18,15,.085);
  backdrop-filter:blur(12px);
}
.hero-v2 .hero__card-number{
  color:var(--gold);
  font-size:28px;
  line-height:1;
  font-weight:700;
  letter-spacing:-.04em;
}
.hero-v2 .hero__card-copy{display:grid;gap:1px;min-width:0}
.hero-v2 .hero__card-copy strong{font-size:11px;font-weight:650;line-height:1.55;color:var(--ink)}
.hero-v2 .hero__card-copy span{font-size:9px;font-weight:400;line-height:1.7;color:var(--muted)}
.hero-v2 .hero__rail{display:none!important}

/* Hero-only entrance motion: soft focus + staged content, with a masked image reveal. */
.hero-v2 .hero__copy .reveal{
  opacity:0;
  transform:translateY(16px);
  filter:blur(4px);
  transition:
    opacity .66s ease,
    transform .72s cubic-bezier(.2,.75,.25,1),
    filter .66s ease;
}
.hero-v2 .hero__copy .reveal.in{
  opacity:1;
  transform:none;
  filter:none;
}
.hero-v2 .hero__visual.reveal-left{
  opacity:0;
  transform:translateY(14px) scale(.988);
  transition:
    opacity .78s ease,
    transform .92s cubic-bezier(.16,.84,.28,1);
}
.hero-v2 .hero__visual.reveal-left .hero__frame{
  clip-path:inset(11% 0 9% 0 round 62px);
  transition:clip-path .95s cubic-bezier(.16,.84,.28,1);
}
.hero-v2 .hero__visual.reveal-left.in{
  opacity:1;
  transform:none;
}
.hero-v2 .hero__visual.reveal-left.in .hero__frame{
  clip-path:inset(0 0 0 0 round 0);
}


@media(min-width:981px){
  .hero-v2 .hero__seal:hover{
    border-color:rgba(215,189,137,.72);
    background:#1b1e17;
  }
}
@media(max-width:980px){
  .hero-v2 .hero__grid{
    grid-template-columns:1fr;
    gap:27px;
    padding:38px 0 46px;
  }
  .hero-v2 .hero__copy{max-width:700px}
  .hero-v2 .hero__title{font-size:clamp(39px,5.6vw,51px)}
  .hero-v2 .hero__visual{
    min-height:390px;
    max-width:560px;
    justify-self:center;
  }
  .hero-v2 .hero__frame{inset:0 18px 0}
  .hero-v2 .hero__seal{right:2px}
  .hero-v2 .hero__card{left:2px}
}

@media(max-width:720px){
  .hero.hero-v2:before{
    width:330px;
    height:330px;
    left:-170px;
    top:-150px;
  }
  .hero-v2 .hero__grid{
    gap:18px;
    padding:20px 0 32px;
  }
  /* Mobile starts with the photo, then the copy. */
  .hero-v2 .hero__visual{
    order:-1;
    min-height:258px;
    max-width:100%;
    justify-self:stretch;
  }
  .hero-v2 .hero__copy{order:1}
  .hero-v2 .hero__frame{
    inset:0;
    border-radius:34px 34px 13px 13px;
    box-shadow:0 13px 32px rgba(17,18,15,.09);
  }
  .hero-v2 .hero__seal,
  .hero-v2 .hero__card{
    display:none;
  }
  .hero-v2 .hero__label{
    font-size:9.5px;
    padding:5px 8px;
  }
  .hero-v2 .hero__title{
    margin:13px 0 10px;
    font-size:31px;
    line-height:1.24;
    letter-spacing:-.033em;
  }
  .hero-v2 .hero__description{
    font-size:12.4px;
    line-height:1.85;
    margin-bottom:16px;
    max-width:100%;
  }
  .hero-v2 .hero__actions{gap:7px}
  .hero-v2 .hero__actions .btn{
    min-height:39px;
    padding-inline:13px;
    font-size:10.5px;
    border-radius:8px;
  }
  .hero-v2 .hero__micro{
    margin-top:15px;
    font-size:9px;
    gap:9px;
  }
  .hero-v2 .hero__micro .line{
    width:24px;
    flex-basis:24px;
  }
  .hero-v2 .hero__visual.reveal-left{
    transform:translateY(12px) scale(.99);
  }
  .hero-v2 .hero__visual.reveal-left .hero__frame{
    clip-path:inset(10% 3% 6% 3% round 34px);
  }
}

@media(max-width:420px){
  .hero-v2 .hero__grid{
    gap:16px;
    padding:16px 0 27px;
  }
  .hero-v2 .hero__visual{min-height:225px}
  .hero-v2 .hero__frame{border-radius:28px 28px 12px 12px}
  .hero-v2 .hero__title{font-size:29px}
  .hero-v2 .hero__actions{
    display:grid;
    grid-template-columns:1fr 1fr;
  }
  .hero-v2 .hero__actions .btn{
    width:100%;
    padding-inline:8px;
    white-space:nowrap;
  }
  .hero-v2 .hero__description{font-size:12px}
}

@media(prefers-reduced-motion:reduce){
  .hero-v2 .hero__frame,
  .hero-v2 .hero__visual.reveal-left .hero__frame,
  .hero-v2 .hero__copy .reveal,
  .hero-v2 .hero__visual.reveal-left{
    opacity:1!important;
    transform:none!important;
    filter:none!important;
    clip-path:none!important;
    transition:none!important;
  }
  .hero-v2 .hero__type-text{
    animation:none!important;
    border-left-color:transparent!important;
  }
}

/* Final desktop hero title sizing: keep both title lines compact and single-line. */
@media (min-width:981px){
  .hero-v2 .hero__title{
    font-size:clamp(36px,3vw,44px);
    line-height:1.18;
    letter-spacing:-.035em;
  }
  .hero-v2 .hero__title-main,
  .hero-v2 .hero__title-accent,
  .hero-v2 .hero__type-line,
  .hero-v2 .hero__type-text{
    white-space:nowrap;
  }
}

@media (min-width:981px) and (max-width:1180px){
  .hero-v2 .hero__title{
    font-size:38px;
  }
}
