/* Home-only refinements; shared theme.css and other site pages stay unchanged. */
#heroImg { aspect-ratio: 928 / 1276; height: auto; }

@media (min-width:769px) and (max-width:1024px) {
  .hero-inner { grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap:2rem; }
  .hero-photo { order:0; min-width:0; }
  .hero-text { min-width:0; }
  .hero-title { font-size:clamp(2.5rem,5.5vw,3.5rem); }
  .hero-badge { font-size:.72rem; padding:.45rem .7rem; }
  .hero-subtitle { font-size:1.15rem; }
  .hero-meta { flex-wrap:wrap; }
}
@media (max-width:768px) {
  .hero { min-height:0; padding:5.25rem 1.25rem 2.5rem; }
  .hero-inner { gap:.75rem; }
  .hero-photo-frame { max-width:clamp(180px,54vw,260px) !important; }
  .hero-text { width:100%; min-width:0; }
  .hero-badge { margin-bottom:1rem; max-width:100%; font-size:.72rem; padding:.45rem .75rem; }
  .hero-badge-dot { flex-shrink:0; }
  .hero-title { margin-bottom:1rem; }
  .hero-subtitle { margin-bottom:1.5rem; font-size:1.125rem; }
  .hero-actions { gap:.65rem; }
  .hero-meta { margin-top:1.5rem; flex-wrap:wrap; }
  .nav-inner { gap:.35rem; }
  .nav-logo { min-width:0; }
  .nav .nav-logo-img { width:clamp(90px,26vw,150px) !important; height:auto !important; }
  .nav .lang-toggle-nav { margin-left:auto; min-height:44px; padding:.35rem .6rem; }
  .nav-theme-mobile, .nav-mobile-toggle { width:44px; height:44px; min-width:44px; padding:10px; justify-content:center; align-items:center; }
  .nav-links { max-height:calc(100dvh - 76px); max-height:calc(100svh - 76px); overflow-y:auto; overscroll-behavior:contain; }
  .nav-links a { min-height:44px; }
  #videos .btn { max-width:100%; white-space:normal; text-align:center; }
  .btn svg { flex-shrink:0; }
}
@media (max-width:480px) {
  .hero-photo-frame { max-width:clamp(180px,54vw,224px) !important; }
}
.nav-mobile-toggle:focus-visible, .nav-links a:focus-visible { outline:2px solid var(--rp-gold); outline-offset:4px; }
@media (max-width:360px) {
  #videos .section-title { font-size:1.5rem; overflow-wrap:break-word; }
}
