/* ==========================================================================
   Ginilab Prints — Hero responsive rules
   Desktop-first. Breakpoints 1080 / 860 / 620 match the source design;
   1600, 480, 380 and landscape-phone rules extend it to all devices.
   ========================================================================== */

/* Large desktop / 4K */
@media (min-width:1600px){
  :root{--wrap-max:1320px;--hero-pad-top:32px;--hero-pad-bottom:72px;--hero-gap:72px}
  .hero::before{width:900px;height:900px}
}

/* Small laptop / tablet landscape */
@media (max-width:1080px){
  :root{--hero-gap:40px;--fs-sub:17px}
  .hero::before{width:620px;height:620px}
}

/* Tablet portrait — stack copy above stage */
@media (max-width:860px){
  :root{--hero-gap:34px}
  .hero-grid{grid-template-columns:1fr}
  .hero-sub{max-width:60ch}
  .hero-stage-wrap{width:100%;max-width:640px;margin-inline:auto}
  .hero::before{right:-30%;top:-14%;width:560px;height:560px}
}

/* Large phone */
@media (max-width:620px){
  :root{--wrap-gutter:28px;--hero-pad-top:18px;--hero-pad-bottom:32px;--fs-sub:16.5px}
  .hero::before{width:420px;height:420px;right:-45%;top:-8%}
  .hero-cta{margin-top:24px}
}

/* Phone */
@media (max-width:480px){
  :root{--fs-sub:16px;--fs-badge:12px}
  .hero-badge{padding:6px 13px 6px 10px;gap:8px}
  .hero-cta{flex-direction:column;align-items:stretch}
  .hero-cta .btn{width:100%}
  .hero-contact{flex-direction:column;gap:8px;margin-top:18px}
  .stage{border-radius:var(--r-m)}
  :root{--brand-mark:44px;--fs-wordmark:23px;--fs-wordmark-bar:9.5px;--top-pad:16px}
  .lockup{gap:9px}
  .stage-tag{left:10px;top:10px;max-width:calc(100% - 20px);font-size:9.5px;padding:3px 9px}
}

/* Small phone (iPhone SE, Galaxy Fold) */
@media (max-width:380px){
  :root{--wrap-gutter:24px;--fs-h1:34px}
  .hero-badge{font-size:11.5px}
}

/* Ultra narrow */
@media (max-width:320px){
  :root{--fs-h1:30px}
}

/* Phone landscape — short viewport, keep two columns */
@media (max-height:500px) and (orientation:landscape) and (min-width:620px){
  :root{--hero-pad-top:16px;--hero-pad-bottom:28px;--hero-gap:32px;--fs-h1:clamp(30px,4.4vw,44px);--fs-sub:15px}
  .hero-grid{grid-template-columns:1.1fr .9fr}
}

