/* Mobile polish layer for The Regent Collection */

@media (max-width: 900px) {
  html { scroll-padding-top: 74px; }
  body.menu-open { overflow: hidden; }

  .nav-wrap { min-height: 72px; gap: 14px; }
  .brand { min-width: 0; gap: 11px; }
  .brand-mark { width: 36px; height: 36px; border-radius: 10px; flex: 0 0 auto; }
  .brand-copy { min-width: 0; }
  .brand-copy strong { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

  .menu-toggle {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 14px;
    background: rgba(255,255,255,.04);
    font-size: 0;
    flex: 0 0 auto;
    -webkit-tap-highlight-color: transparent;
  }
  .menu-toggle::before {
    content: "";
    width: 20px;
    height: 14px;
    background:
      linear-gradient(currentColor,currentColor) 0 0/100% 2px no-repeat,
      linear-gradient(currentColor,currentColor) 0 6px/100% 2px no-repeat,
      linear-gradient(currentColor,currentColor) 0 12px/100% 2px no-repeat;
    transition: transform .2s ease, opacity .2s ease;
  }
  .menu-toggle[aria-expanded="true"]::before {
    height: 20px;
    background:
      linear-gradient(currentColor,currentColor) center/100% 2px no-repeat,
      linear-gradient(currentColor,currentColor) center/100% 2px no-repeat;
    transform: rotate(45deg);
  }
  .menu-toggle[aria-expanded="true"]::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 2px;
    background: currentColor;
    transform: rotate(-45deg);
  }

  .nav-links {
    top: 72px;
    max-height: calc(100dvh - 72px);
    overflow-y: auto;
    gap: 4px;
    padding: 14px 14px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 24px 45px rgba(0,0,0,.28);
  }
  .nav-links a {
    width: 100%;
    min-height: 52px;
    display: flex;
    align-items: center;
    padding: 0 14px;
    border-radius: 13px;
    font-size: 15px;
    color: rgba(255,255,255,.82);
  }
  .nav-links a:hover,
  .nav-links a[aria-current="page"] { background: rgba(255,255,255,.055); }
  .nav-links .nav-cta {
    margin-top: 8px;
    justify-content: center;
    border-radius: 14px;
  }

  .hero-grid { gap: 28px; }
  .hero-panel { padding: 24px; border-radius: 22px; }
  .hero-panel .stat { padding: 16px 0; }
  .stat strong { font-size: 25px; }

  section { padding: 64px 0; }
  .page-hero { padding: 76px 0 56px; }
  .section-heading { margin-bottom: 34px; }
  .lead { font-size: 18px; }

  .cards { gap: 14px; }
  .card { min-height: 0; padding: 24px; border-radius: 20px; }
  .card-number { margin-bottom: 34px; }
  .card h3 { font-size: 26px; }

  .venture-copy { padding: 34px; border-radius: 22px; }
  .venture-copy .venture-name { font-size: 40px; }
  .venture-visual { min-height: 420px; border-radius: 22px; }

  .contact-card { padding: 26px; border-radius: 20px; }
  .site-footer { padding-top: 56px; }
  .footer-grid { gap: 34px; }
}

@media (max-width: 560px) {
  .container { width: min(calc(100% - 24px), var(--max)); }
  .site-header { backdrop-filter: blur(14px); }
  .nav-wrap { min-height: 68px; }
  .nav-links { top: 68px; max-height: calc(100dvh - 68px); }

  .brand-copy strong { font-size: 14px; letter-spacing: .035em; }
  .brand-mark { width: 34px; height: 34px; font-size: 16px; }

  .hero { min-height: calc(100svh - 68px); align-items: center; }
  .hero-grid { padding: 44px 0 46px; gap: 24px; }
  .eyebrow { font-size: 10px; letter-spacing: .16em; }
  .eyebrow::before { width: 24px; }
  h1 { font-size: clamp(42px, 13vw, 56px); line-height: 1.01; letter-spacing: -.04em; margin-top: 18px; }
  .hero p { margin: 22px 0 26px; font-size: 16px; line-height: 1.58; }

  .button-row { display: grid; grid-template-columns: 1fr; gap: 10px; }
  .btn { width: 100%; min-height: 52px; padding: 0 18px; border-radius: 14px; font-size: 14px; }

  .hero-panel { padding: 20px; border-radius: 20px; }
  .hero-panel .stat { padding: 14px 0; }
  .stat strong { font-size: 23px; }

  section { padding: 54px 0; }
  .page-hero { padding: 66px 0 46px; }
  .page-hero h1 { font-size: clamp(40px, 12vw, 54px); }
  .page-hero p { font-size: 16px; line-height: 1.6; }
  .section-heading { gap: 12px; margin-bottom: 28px; }
  h2 { font-size: clamp(34px, 10vw, 44px); }
  .lead { font-size: 17px; line-height: 1.6; }

  .card { padding: 22px; border-radius: 18px; }
  .card-number { margin-bottom: 24px; }
  .card h3 { font-size: 24px; }
  .card p { font-size: 14px; line-height: 1.6; }

  .venture-copy { padding: 24px; border-radius: 20px; }
  .venture-copy .venture-name { font-size: 36px; line-height: 1.05; }
  .venture-copy p { font-size: 15px; line-height: 1.65; }
  .venture-tags { gap: 7px; margin-top: 22px; }
  .venture-tags span { padding: 7px 10px; }
  .venture-visual { min-height: 330px; border-radius: 20px; }
  .route-label { left: 16px; right: 16px; bottom: 16px; padding: 16px; border-radius: 15px; }
  .route-label strong { font-size: 22px; }

  .quote { font-size: clamp(34px, 10vw, 44px); }
  .bullet { grid-template-columns: 26px 1fr; padding: 15px 0; }

  .contact-card { padding: 22px; border-radius: 18px; }
  .contact-card h3 { font-size: 27px; }
  .notice { padding: 11px 13px; }

  .legal-table { border-radius: 18px; }
  .legal-table th,
  .legal-table td { padding-left: 14px; padding-right: 14px; overflow-wrap: anywhere; }

  .site-footer { padding: 48px 0 calc(24px + env(safe-area-inset-bottom)); }
  .footer-grid { gap: 28px; }
  .footer-bottom { margin-top: 34px; padding-top: 20px; gap: 8px; }
}

@media (hover: none) and (pointer: coarse) {
  .btn,
  .nav-links a,
  .menu-toggle { touch-action: manipulation; }
  .btn:hover { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
