/* Renai Hair V13 — responsive/mobile correction layer.
   Loaded after final-match.css + premium-v12.css. Desktop is intentionally untouched. */

/* hidden must win over author display:grid on the mobile menu */
.mobile-nav[hidden]{display:none!important}

@media (max-width:1180px){
  .mobile-nav{
    position:absolute;
    top:100%;
    left:0;
    right:0;
    z-index:70;
    padding:22px max(27px,calc((100vw - 1064px)/2)) 30px;
    background:rgba(252,248,243,.985);
    border-top:1px solid rgba(128,91,51,.10);
    border-bottom:1px solid rgba(128,91,51,.13);
    box-shadow:0 24px 46px rgba(62,39,25,.10);
    backdrop-filter:blur(22px);
    -webkit-backdrop-filter:blur(22px);
  }
  .mobile-nav:not([hidden]){display:grid!important;gap:4px}
  .mobile-nav a{
    display:flex;
    align-items:center;
    min-height:54px;
    padding:0 6px;
    border-bottom:1px solid rgba(128,91,51,.08);
    font-size:16px;
    font-weight:500;
    color:#50392e;
  }
  .mobile-nav a:last-child{border-bottom:0;color:#986527}
  .site-header{position:sticky}
}

@media (max-width:760px){
  html,body{max-width:100%;overflow-x:hidden}
  html{scroll-padding-top:76px}
  body{font-size:15px}

  .content-shell,.nav-shell,.section-shell{width:calc(100% - 32px);max-width:none}
  .section-pad{padding:72px 0}
  .section-pad-soft{padding:54px 0}

  /* header */
  .nav-shell,.site-header.is-scrolled .nav-shell{height:72px}
  .nav-shell{grid-template-columns:minmax(0,1fr) 44px;gap:10px}
  .brand{min-width:0}
  .brand strong{font-size:29px;line-height:.96;white-space:nowrap}
  .brand span{font-size:7px;letter-spacing:.16em;margin-top:7px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:270px}
  .menu-toggle{justify-self:end;align-items:center;padding:0;border-radius:999px}
  .menu-toggle span{transition:transform .3s var(--ease-lux),opacity .25s ease}
  .menu-toggle[aria-expanded="true"] span:first-child{transform:translateY(4px) rotate(45deg)}
  .menu-toggle[aria-expanded="true"] span:last-child{transform:translateY(-4px) rotate(-45deg)}
  .mobile-nav{padding:12px 20px 20px}
  .mobile-nav a{min-height:52px;font-size:16px;padding-inline:4px}

  /* hero becomes a true vertical mobile composition */
  .hero{
    display:flex;
    flex-direction:column;
    align-items:stretch;
    min-height:0;
    padding:44px 0 58px;
    gap:34px;
  }
  .hero-copy{width:100%;padding-right:0;order:1}
  .hero .eyebrow{font-size:10px;line-height:1.6;letter-spacing:.19em;margin-bottom:14px;max-width:290px}
  .hero h1{
    max-width:560px;
    font-size:clamp(44px,12.2vw,58px);
    line-height:.94;
    letter-spacing:-.042em;
    text-wrap:balance;
  }
  .hero-sub{font-size:15px;line-height:1.72;margin:24px 0 24px;max-width:560px}
  .hero-actions{gap:22px;margin-bottom:30px;align-items:center}
  .hero .btn{min-height:52px;padding-inline:24px;font-size:12px}
  .hero .text-link{font-size:12px}
  .hero-proof-grid{grid-template-columns:1fr 1fr;gap:18px 14px;max-width:560px}
  .hero-proof-grid>div{grid-template-columns:36px 1fr;column-gap:9px}
  .proof-icon{width:34px;height:34px}
  .hero-proof-grid b{font-size:10px}
  .hero-proof-grid small{font-size:8px}

  .hero-visual{
    order:2;
    width:100%;
    min-height:0;
    height:auto;
    aspect-ratio:4/5;
    margin-top:4px;
  }
  .hero-model-frame{
    inset:0;
    border-radius:180px 180px 26px 26px;
  }
  .hero-model-frame img{object-position:center 18%;transform:none}
  .hero-visual:hover .hero-model-frame img{transform:none}
  .hero-swatch-rack{right:16px;top:54px;gap:5px}
  .hero-swatch-rack i{width:13px;height:118px;border-radius:10px}
  .hero-package-card{
    width:min(58%,270px);
    right:14px;
    bottom:18px;
    padding:11px;
    border-radius:11px;
  }
  .package-title{font-size:18px;margin-bottom:8px}
  .package-title span{font-size:6px;margin-top:4px}
  .hero-package-card img{height:105px;border-radius:6px}

  /* products */
  .section-kicker{gap:12px;margin-bottom:28px}
  .section-kicker p{font-size:10px;letter-spacing:.15em;text-align:center}
  .product-grid{grid-template-columns:1fr;gap:20px}
  .product-image{height:auto;aspect-ratio:4/3}
  .product-copy{padding:23px 22px 26px}
  .product-copy h3{font-size:34px}
  .product-copy p{min-height:0;font-size:13px}

  /* section headings */
  .section-heading.center{margin-bottom:32px;padding-inline:2px}
  .section-heading h2,.split-copy h2,.faq-section h2{font-size:clamp(39px,10.5vw,48px);line-height:1.01}
  .section-heading p:last-child{font-size:14px;line-height:1.7;margin-top:15px}
  .eyebrow{font-size:10px;letter-spacing:.19em;margin-bottom:15px}

  /* before / after: keep both CTAs usable on small screens */
  .ba-slider{height:auto;aspect-ratio:4/5;min-height:500px;border-radius:20px}
  .ba-before,.ba-after{object-position:center center}
  .ba-divider span{width:44px;height:44px;font-size:18px}
  .ba-label{bottom:22px;max-width:42%;z-index:12}
  .ba-left{left:18px}.ba-right{right:18px}
  .ba-label strong{font-size:22px;line-height:1.05}
  .ba-label span{font-size:10px;line-height:1.35;margin-top:5px}
  .ba-inquiry{font-size:11px;margin-top:12px;gap:7px}

  /* compact bridge section */
  .process.section-pad-soft{padding-top:48px;padding-bottom:50px}
  .process-title{margin-bottom:26px}
  .process-grid{grid-template-columns:1fr 1fr;gap:28px 16px}
  .process-grid article{padding:0 4px 4px}
  .process-grid>i{display:none}
  .process-grid h3{font-size:26px}
  .process-grid p{font-size:11px;line-height:1.55}
  .process-icon{font-size:34px}

  /* color + private label */
  .split-panel,.packaging-panel{display:flex;flex-direction:column;min-height:0;border-radius:20px}
  .split-copy,.packaging-panel .split-copy{order:1;padding:46px 26px 42px}
  .split-visual,.packaging-panel .split-visual{order:2;min-height:0;height:auto;aspect-ratio:1/1}
  .split-copy h2{max-width:none}
  .check-list{margin:23px 0 24px;gap:11px;font-size:14px}

  /* manufacturing */
  .factory-gallery{grid-template-columns:1fr 1fr;gap:13px}
  .factory-gallery figure{border-radius:14px}
  .factory-gallery img{height:auto;aspect-ratio:4/3}
  .factory-gallery figcaption{font-size:11px;padding:10px 6px}
  .factory-gallery .feedback-card{grid-column:1/-1}
  .factory-gallery .feedback-card img{height:auto!important;aspect-ratio:4/3;object-fit:contain!important;padding:5px;background:#fffaf5}
  .stat-grid{grid-template-columns:1fr 1fr;margin-top:20px}
  .stat-grid>div{padding:24px 12px}
  .stat-grid strong{font-size:23px}
  .stat-grid p{font-size:10px;line-height:1.45}

  /* FAQ */
  .faq-grid{grid-template-columns:1fr;gap:11px}
  .faq-grid details{padding:0 18px}
  .faq-grid summary{min-height:66px;font-size:14px;line-height:1.4}
  .faq-grid details p{font-size:13px;padding-bottom:20px}

  /* inquiry */
  .inquiry{padding:62px 0 72px}
  .inquiry-card{display:block;min-height:0;padding:44px 22px 26px;border-radius:24px}
  .inquiry-copy{margin-bottom:38px}
  .inquiry-copy h2{font-size:clamp(42px,11vw,50px);line-height:.96;margin-bottom:20px}
  .inquiry-copy h2 br{display:none}
  .inquiry-copy>p:not(.eyebrow){font-size:14px;line-height:1.7}
  .inquiry-points{font-size:12px;gap:8px;margin:22px 0}
  .field-grid.two{grid-template-columns:1fr;gap:14px}
  .lead-form{gap:14px}
  .lead-form input,.lead-form select{height:54px}
  .lead-form textarea{min-height:116px}
  .turnstile-row{align-items:flex-start;flex-direction:column;overflow:visible}
  .submit-btn{height:58px;font-size:14px}
  .form-foot{gap:10px;flex-wrap:wrap;font-size:10px}

  /* footer */
  .site-footer{padding-top:52px}
  .footer-grid{grid-template-columns:1fr 1fr;gap:32px 22px}
  .footer-brand{grid-column:1/-1}
  .footer-brand strong{font-size:33px}
  .footer-brand p{font-size:12px}
  .footer-grid h4{font-size:9px}
  .footer-grid a,.footer-grid div>span{font-size:12px}
  .footer-bottom{margin-top:30px;flex-direction:column;gap:6px;font-size:10px}
  .floating-wa{right:12px;bottom:12px;padding:11px 15px;font-size:11px}
}

@media (max-width:480px){
  .content-shell,.nav-shell,.section-shell{width:calc(100% - 28px)}
  .brand strong{font-size:27px}
  .brand span{max-width:220px;font-size:6.5px}
  .hero{padding-top:38px}
  .hero h1{font-size:clamp(42px,13vw,50px)}
  .hero-actions{align-items:flex-start;flex-direction:column;gap:15px}
  .hero-proof-grid{grid-template-columns:1fr;gap:13px}
  .hero-proof-grid>div{grid-template-columns:34px 1fr}
  .hero-visual{aspect-ratio:3/4}
  .hero-model-frame{border-radius:150px 150px 24px 24px}
  .hero-swatch-rack{right:11px;top:44px;gap:4px}
  .hero-swatch-rack i{width:10px;height:92px}
  .hero-package-card{width:56%;right:10px;bottom:12px}
  .hero-package-card img{height:82px}
  .product-image{aspect-ratio:1/1}
  .ba-slider{aspect-ratio:3/4;min-height:450px}
  .ba-label{max-width:44%;bottom:18px}
  .ba-left{left:14px}.ba-right{right:14px}
  .ba-label strong{font-size:19px}
  .ba-label span{font-size:9px}
  .ba-inquiry{font-size:10px}
  .factory-gallery{grid-template-columns:1fr}
  .factory-gallery .feedback-card{grid-column:auto}
  .factory-gallery .feedback-card img{aspect-ratio:4/3}
  .stat-grid strong{font-size:21px}
  .footer-grid{grid-template-columns:1fr}
  .footer-brand{grid-column:auto}
}

@media (prefers-reduced-motion:reduce){
  .menu-toggle span{transition:none}
}
