/* Live AI Dream: shared responsive layout. Loaded after page styles. */
.hero__primary {
  display: inline-flex; align-items: center; justify-content: space-between;
  gap: 28px; min-height: 50px; padding: 12px 22px; border-radius: 6px;
  background: var(--accent); color: #fff; font: 600 14px/1.4 var(--display);
  text-decoration: none;
}
.hero__primary:hover { background: #9e2025; }
.hero__acts { align-items: center; gap: 24px 36px; margin-top: 20px; }
.film-sound {
  position: absolute; top: 14px; right: 14px; z-index: 4;
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  padding: 10px 14px; border: 1px solid #ffffff70; border-radius: 6px;
  background: #111e; color: #fff; font: 600 12px/1.4 var(--display); cursor: pointer;
}
.film-sound svg { width: 18px; height: 18px; flex: none; }
.film-sound[hidden] { display: none; }
.media--film video { object-fit: contain !important; }
.media--film::after { display: none; }
.whatsapp-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40;
  display: inline-flex; align-items: center; min-height: 48px;
  padding: 10px 16px; border-radius: 999px; background: #075e46; color: #fff;
  box-shadow: 0 4px 16px #0002; font: 600 13px/1.4 var(--display); text-decoration: none;
}
.home-page footer { padding: 28px max(20px, calc((100% - 1125px)/2)) 88px; }
.home-page footer p { margin: 0; font: 12px/1.6 var(--display); color: #555; }
.home-page .home-services-grid > a { border-color: #dedede !important; border-radius: 8px !important; }
.home-page .home-services-grid > a:hover { border-color: var(--accent) !important; }
.home-page .home-services-grid .label { color: var(--accent) !important; }
.home-page .home-intelligence { background: #f5f5f5 !important; }
.home-page .home-insight-grid .label, .home-page .home-featured-grid .label { color: #666 !important; }
.home-page section h3 + .lede { margin-top: 18px; }
.navtoggle:focus-visible, .hero__primary:focus-visible, .film-sound:focus-visible,
.pill:focus-visible, .card:focus-visible, .mobmenu a:focus-visible { outline: 3px solid #c1272d; outline-offset: 4px; }
.mobmenu { z-index: 100; overscroll-behavior: contain; }
.menu-open { overflow: hidden; }
.mobmenu__top .mark { display: flex; }
.mobmenu__close { min-height: 44px; padding: 8px; }

@media (min-width: 768px) and (max-width: 1089px) {
  .home-page .home-services-grid, .home-page .home-insight-grid, .home-page .home-featured-grid { gap: 20px !important; }
  .home-page .home-services-grid > a { padding: 20px !important; }
  .home-page .home-services-grid h4, .home-page .home-insight-grid h4, .home-page .home-featured-grid h4 { font-size: 20px; }
}

@media (max-width: 767px) {
  :root { --gutter: 20px; --gutterW: 20px; --indent: 0px; }
  html { scroll-padding-top: 80px; }
  body { font-size: 16px; line-height: 1.65; overflow-wrap: break-word; }
  .nav { position: sticky; top: 0; z-index: 45; background: #fff; border-bottom: 1px solid #ececec; }
  .nav__in { width: auto; margin: 0 16px; height: 68px; gap: 12px; }
  .nav .mark { font-size: 16px; gap: 6px; }
  .nav .mark__logo { width: 30px; height: 30px; object-fit: contain; }
  .nav__cta { order: 2; margin-left: auto !important; width: auto; min-width: 0; min-height: 44px; height: auto; padding: 8px 14px; border-radius: 6px; background: var(--accent); border-color: var(--accent); font-size: 11px; }
  .nav__cta i { display: none; }
  .navtoggle { order: 3; display: flex; flex: 0 0 44px; width: 44px; height: 44px; margin: 0; justify-content: center; gap: 0; font-size: 0; border: 1px solid #dedede; border-radius: 6px; }
  .navtoggle span { width: 18px; gap: 5px; }
  .nav__links { display: none; }
  .wrap, .wrapW, .wrapI, .wrapL { width: calc(100% - 40px); margin: 0 20px; }
  .hero, .hdr { padding: 36px 0 32px !important; min-height: 0 !important; }
  h1, h2 { font-size: clamp(32px, 9.8vw, 44px); line-height: 1.12; letter-spacing: -1.1px; }
  h3 { font-size: 29px; line-height: 1.2; letter-spacing: -.65px; }
  h4, h5 { font-size: 21px; line-height: 1.35; }
  .hero h1 { margin-bottom: 20px; max-width: 100%; }
  .hero .lede { font-size: 16px; line-height: 1.65; margin-bottom: 20px; }
  .hero .label { font-size: 10px; line-height: 1.7; letter-spacing: .55px; max-width: 34ch; }
  .hero__acts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 12px 20px; margin-top: 24px; }
  .hero__acts .hero__primary { grid-column: 1 / -1; margin: 0; min-height: 50px; }
  .hero__acts .alink { margin: 0; min-height: 44px; padding: 6px 0; border-bottom: 1px solid #dedede; font-size: 11px; gap: 10px; justify-content: space-between; }
  .lede { font-size: 16px; line-height: 1.65; }
  .label { font-size: 11px; line-height: 1.6; letter-spacing: .65px; }
  .blk { padding: 44px 0; }
  .blk--tight { padding: 28px 0; }
  .hdr .lede { margin-top: 20px; margin-bottom: 0; }
  .hdr + .blk { padding-top: 16px; }
  .hdr__acts { gap: 20px; margin-top: 24px; }
  .alink { font-size: 12px; line-height: 1.5; gap: 14px; padding-bottom: 12px; min-height: 44px; max-width: 100%; }
  .media { width: 100%; margin-left: 0; margin-right: 0; }
  .media--film { height: auto; min-height: 0; aspect-ratio: 16 / 9; box-shadow: none; }
  #featured-experience .media--film { width: calc(100% + 40px); max-width: none; margin: 24px -20px !important; }
  .film-sound { top: 10px; right: 10px; padding: 8px 10px; font-size: 11px; }
  #featured-experience .lede { margin: 16px 0 0; }
  #featured-experience .experience-actions { display: grid !important; grid-template-columns: minmax(0, 1fr); gap: 14px !important; }
  #featured-experience .experience-actions .pill { width: 100%; min-height: 50px; }
  #featured-experience .experience-actions .alink { justify-content: space-between; }
  .home-services-grid, .home-insight-grid, .home-featured-grid { grid-template-columns: minmax(0,1fr) !important; gap: 16px !important; }
  .home-services-grid { margin-top: 24px !important; }
  .home-services-grid > a { padding: 22px !important; min-height: 0 !important; }
  .home-services-grid h4 { margin: 12px 0 10px !important; max-width: 22ch; }
  .home-insight-grid > a { padding: 20px 0 8px !important; min-width: 0; }
  .home-featured-grid > a { border-top: none !important; padding: 0 0 20px !important; min-width: 0; }
  .home-featured-grid img { height: auto !important; aspect-ratio: 16 / 9; object-fit: cover; border-radius: 6px; }
  .home-intelligence { padding: 36px 0 !important; }
  .home-page section[aria-labelledby="home-contact-title"] .pill { background: var(--accent); color: #fff; border-color: var(--accent); width: 100%; }
  .index { grid-template-columns: minmax(0,1fr); gap: 36px; }
  .card { padding: 0; min-width: 0; }
  .card__img { margin-bottom: 18px; }
  .card__body .label { margin-bottom: 12px; color: #555; }
  .filters { gap: 10px 20px; margin-bottom: 28px; padding-bottom: 16px; }
  .filters button { min-height: 44px; }
  .contact { display: grid; grid-template-columns: minmax(0,1fr); width: calc(100% - 40px); margin: 0 20px; padding: 36px 0 48px; gap: 8px; }
  .contact__form { padding: 0; min-width: 0; }
  .contact .lede { margin-bottom: 24px; }
  .fgrid { grid-template-columns: minmax(0,1fr); gap: 20px; }
  .fgrid .field { width: 100%; min-width: 0; min-height: 52px; padding: 14px 12px; box-sizing: border-box; font-size: 16px; line-height: 1.5; border: 1px solid #b8b8b8; border-radius: 6px; background: #fff; }
  .fgrid textarea.field { min-height: 144px; resize: vertical; }
  .fgrid .field:focus { outline: 2px solid var(--accent); outline-offset: 2px; }
  .fgrid .full { grid-column: 1 / -1; }
  .fgrid .consent { font-size: 13px; line-height: 1.6; align-items: flex-start; }
  .fgrid .consent input { width: 20px; height: 20px; flex: 0 0 20px; margin-top: 2px; accent-color: var(--accent); }
  .fsubmit .pill { width: 100%; height: 52px; background: var(--accent); border-color: var(--accent); padding: 5px 5px 5px 20px; }
  .fsubmit .pill i { width: 38px; height: 38px; }
  .pill { max-width: 100%; white-space: normal; }
  .contactgrid { gap: 28px; }
  .contactgrid p { line-height: 1.7; }
  .wa, .whatsapp-float { right: 12px !important; bottom: max(12px, env(safe-area-inset-bottom)) !important; }
  .whatsapp-float { min-height: 44px; padding: 9px 14px; font-size: 12px; }
  footer, .foot { padding-bottom: 90px; }
  .foot__base { margin-top: 32px; gap: 16px 24px; }
  .frow { gap: 18px 24px; }
  .mobmenu { padding: 8px 20px 88px; }
  .mobmenu a { min-height: 44px; font-size: 16px; line-height: 1.5; }
  .mobmenu__top { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto !important; }
}
