/* Final responsive layout rules. Keep after style.css. */
img, svg, iframe { max-width: 100%; }
header, main, footer, .hero-editorial, .price-panel, .specific-example { min-width: 0; }
input, textarea { max-width: 100%; }

@media (min-width: 768px) and (max-width: 1023px) {
  header nav { display: none; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .data-points { grid-template-columns: 1fr; }
}

@media (max-width: 767px) {
  html { scroll-padding-top: 88px; }
  body { font-size: 16px; }
  header { height: 76px; padding: 0 20px; gap: 16px; }
  header nav { display: none; }
  header .brand { gap: 8px; font-size: 26px; flex-shrink: 0; }
  header .brand-mark { width: 28px; height: 34px; }
  header .button.small { min-height: 44px; padding: 10px 12px; font-size: 14px; line-height: 1.5; }
  .hero { display: block; width: 100%; height: auto; min-height: 0; padding: 28px 20px 0; }
  .hero-editorial { display: block; width: 100%; min-height: 0; padding: 8px 0 28px; }
  .hero h1 { font-size: clamp(30px, 8.5vw, 44px); line-height: 1.5; white-space: normal; letter-spacing: 0; margin: 0; }
  .hero .eyebrow { font-size: 14px; line-height: 1.7; letter-spacing: .08em; margin-bottom: 20px; }
  .hero .future-background { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: .4; }
  .hero .projection-scene { inset: 0; width: 100%; height: 100%; }
  .hero .hero-expertise { font-size: 18px; line-height: 1.9; margin: 24px 0 12px; letter-spacing: .02em; }
  .hero-description { font-size: 16px; line-height: 1.9; }
  .desktop-break { display: none; }
  .hero .hero-contact { width: 100%; max-width: none; min-height: 52px; padding: 14px 18px; margin-top: 24px; font-size: 16px; }
  .hero-contact > span:first-child { flex-wrap: wrap; justify-content: center; width: 100%; gap: 8px 16px; }
  .hero-bottom { display: flex; flex-wrap: wrap; align-items: center; width: 100%; gap: 8px 16px; padding: 12px 0; margin: 0; }
  .hero-bottom > span { max-width: 100%; font-size: 12px; letter-spacing: 0; }
  .hero-bottom > a { display: none; }
  .hero-bottom .handoff-toggle { margin-left: auto; min-height: 44px; font-size: 12px; }
  .section { width: 100%; padding: 48px 20px; }
  .section-label { font-size: 14px; margin-bottom: 24px; }
  .grid-2, .grid-3, .grid-4, .roles-intro, .roles-list,
  .specific-examples, .exploration-examples ul, .consultation-pricing,
  .demo-intro, .demo-flow, .data-intro, .data-points { grid-template-columns: minmax(0, 1fr); }
  .body, .demo-intro .body, .demo-flow p, .process-steps p { font-size: 16px; }
  .h2, .voices .h2 { font-size: 26px; line-height: 1.65; }
  .specific-examples { gap: 16px; }
  .specific-example { padding: 24px 20px; }
  .specific-example h4 { font-size: 20px; }
  .training-service, .practice-row { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .demo-flow li, .demo-flow li + li { padding: 24px 0; border-left: 0; }
  .price-panel { padding: 24px 20px; }
  .price-panel .button { width: 100%; justify-content: center; font-size: 16px; }
  .statement { padding: 28px 20px; }
  .statement > div { font-size: 22px; }
  .about > .about-copy { display: block; width: 100%; }
  .about-title-row { gap: 16px; }
  .about-title-row .profile-image { width: 72px; max-width: 72px; }
  .self-practice-labels { display: grid; gap: 8px; }
  .consult .grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .consult .button { width: 100%; justify-content: center; font-size: 16px; }
  footer { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; padding: 36px 20px 100px; }
  .footer-links { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
  .footer-links a { min-height: 44px; }
  .consultation-page { width: 100%; padding: 36px 20px 64px; }
  .consultation-summary { display: grid; gap: 8px; }
  .consultation-frame { width: 100%; min-height: 1080px; }
  .mobile-cta.visible { left: 16px; right: 16px; bottom: calc(12px + env(safe-area-inset-bottom, 0px)); width: auto; min-height: 52px; justify-content: center; font-size: 16px; }
}
