/* Mobile layouts keep the editorial art direction and add room for touch. */
.nav-label-mobile { display: none; }

@media (max-width: 900px) {
  :root { --mobile-gutter: clamp(20px, 5.5vw, 40px); }
  html { scroll-padding-top: 110px; }
  body { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
  main, section, .vision-body, .method-copy, .contact-layout > div { min-width: 0; }

  .header {
    position: sticky;
    top: 0;
    z-index: 30;
    height: auto;
    min-height: 84px;
    padding: max(16px, env(safe-area-inset-top)) var(--mobile-gutter) 16px;
    padding-left: max(var(--mobile-gutter), env(safe-area-inset-left));
    padding-right: max(var(--mobile-gutter), env(safe-area-inset-right));
    gap: 12px;
  }
  .header .logo { flex-shrink: 0; font-size: 48px; }
  .header .logo small { font-size: 7px; letter-spacing: 1px; }
  .nav-contact { margin-left: auto; max-width: none; min-height: 48px; font-size: 14px; gap: 10px; flex-shrink: 0; }
  .nav-label-desktop { display: none; }
  .nav-label-mobile { display: inline; }
  .nav-contact .nav-arrow { width: 28px; height: 28px; }
  .menu {
    width: 44px;
    height: 48px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 7px;
    padding: 10px;
    border: 1px solid #ffffff38;
    border-radius: 3px;
    background: transparent;
  }
  .menu span { width: 22px; height: 1px; background: var(--paper); transition: transform .2s; }
  .menu[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .menu[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
  .header nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 31;
    padding: 12px var(--mobile-gutter) 20px;
    background: #111113;
    border-bottom: 1px solid #ffffff38;
    box-shadow: 0 14px 20px #0004;
    font-size: 16px;
    flex-direction: column;
    gap: 4px;
    max-height: calc(100dvh - 100px);
    overflow-y: auto;
  }
  .header nav.open { display: flex; }
  .header nav a { min-height: 48px; display: flex; align-items: center; padding: 12px 0; }

  .button { min-height: 48px; font-size: 14px; padding: 15px 18px; gap: 16px; }
  .hero-vintage {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 16px;
    min-height: 0;
    padding: 36px var(--mobile-gutter) 78px;
  }
  .hero-vintage .hero-content { width: 100%; max-width: none; min-width: 0; padding: 0; }
  .hero-vintage .eyebrow { margin: 0; font-size: 10px; line-height: 1.7; letter-spacing: 1px; gap: 8px; }
  .live-dot { flex-shrink: 0; }
  .hero-vintage h1 { font-size: clamp(88px, 12.5vw, 120px); line-height: .94; margin: 38px 0 34px; letter-spacing: -2px; transform: rotate(-5deg); }
  .hero-vintage h1 .rules { padding-left: 12px; font-size: .92em; }
  .hero-vintage .hero-bottom { display: flex; flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero-vintage .hero-bottom p { font-size: 15px; line-height: 1.65; max-width: none; margin: 0; }
  .hero-vintage .hero-bottom .button { max-width: none; font-size: 14px; min-height: 48px; padding: 15px 18px; }
  .hero-visual { position: relative; right: auto; bottom: auto; width: 100%; max-width: 500px; margin: 0; }
  .hero-caption { font-size: 21px; left: -2%; bottom: 11%; padding: 12px 15px; }
  .hero-vintage .hero-side { display: none; }
  .hero-vintage .hero-edition { left: var(--mobile-gutter); right: 90px; bottom: 29px; max-width: none; font-size: 8px; letter-spacing: 1px; }
  .hero-motion { right: var(--mobile-gutter); bottom: 16px; width: 48px; height: 48px; padding: 14px; }

  .wrap { padding: 52px var(--mobile-gutter); }
  .section-kicker { font-size: 10px; line-height: 1.7; letter-spacing: 1px; margin-bottom: 28px; gap: 16px; }
  .section-kicker > span:last-child:not(.tiny-mark) { max-width: 42%; text-align: right; }
  .vision { grid-template-columns: 1fr; gap: 24px; }
  .vision > .section-kicker { margin-bottom: 0; justify-content: space-between; }
  .vision-body { display: block; }
  .vision h2 { white-space: normal; font-size: clamp(30px, 5.3vw, 46px); line-height: 1.2; letter-spacing: -.8px; }
  .vision-note { max-width: 540px; margin: 26px 0 0; display: block; }
  .vision-note p { font-size: 15px; line-height: 1.8; margin: 0 0 20px; }
  .vision-note .micro { display: block; font-size: 10px; line-height: 1.7; letter-spacing: 1px; }

  .services { padding-top: 44px; padding-bottom: 54px; }
  .services > .section-kicker { font-size: 9px; margin-bottom: 30px; }
  .services .section-heading { align-items: center; gap: 18px; }
  .services .section-heading h2 { max-width: 100%; }
  .services .section-heading h2 > span { font-size: clamp(32px, 5.5vw, 50px); letter-spacing: -1.5px; }
  .services .section-heading h2 > em { white-space: normal; font-size: clamp(48px, 8.8vw, 78px); line-height: 1.1; padding-left: 0; margin-top: 8px; transform: rotate(-3deg); }
  .service-heading-aside p { font-size: 12px; }
  .services .goals { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .services .goal { min-width: 0; min-height: 48px; font-size: 13px; line-height: 1.45; padding: 12px; text-align: left; }
  .services .goal span { padding-left: 12px; }
  .services .goal-note { font-size: 13px; line-height: 1.7; min-height: 0; margin: 18px 0 26px; }
  .services .service-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px 14px; padding: 6px 3px; }
  .services .service { padding: 16px 13px 0; }
  .services .service-top .catalog-code { font-size: 8px; letter-spacing: .8px; }
  .services .service-art { margin: 18px 0 20px; }
  .services .service h3 { font-size: 16px; line-height: 1.45; min-height: 70px; letter-spacing: -.25px; margin-bottom: 12px; overflow-wrap: break-word; }
  .services .service > p { font-size: 13px; line-height: 1.6; min-height: 64px; margin-bottom: 20px; }
  .services .service-bottom { margin-left: -13px; margin-right: -13px; min-height: 44px; padding: 10px 13px; font-size: 8px; letter-spacing: .8px; }

  .method { grid-template-columns: 1fr; }
  .method-copy { grid-row: 1; padding: 48px var(--mobile-gutter) 24px; }
  .method h2 { font-size: clamp(36px, 6.4vw, 52px); line-height: 1.15; letter-spacing: -1px; max-width: none; }
  .steps details { padding: 18px 0; }
  .steps summary { min-height: 44px; font-size: 15px; line-height: 1.5; gap: 12px; }
  .steps summary > span { font-size: 11px; }
  .steps summary i { flex-shrink: 0; }
  .steps p { font-size: 14px; line-height: 1.8; margin-left: 28px; max-width: 560px; }
  .method-visual { padding: 24px var(--mobile-gutter) 38px; }
  .method-visual > .micro { font-size: 10px; }
  .tv-frame { width: 100%; max-width: 560px; margin: 52px auto 28px; }
  .tv-sticker { right: 6%; top: -24px; font-size: 28px; padding: 18px; }
  .tv-sticker em { font-size: 36px; }
  .visual-foot { font-size: 9px; line-height: 1.8; letter-spacing: .8px; opacity: .8; }

  .contact-layout { grid-template-columns: 1fr; gap: 0; }
  .contact h2 { font-size: clamp(40px, 8.2vw, 62px); line-height: 1.15; letter-spacing: -1.5px; }
  .contact p { font-size: 15px; line-height: 1.8; }
  .contact-art { width: 100%; max-width: 560px; margin: 64px auto 0; padding-top: 8px; }
  .handwritten { top: -24px; right: 4%; font-size: 44px; }

  footer { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px 18px; padding: 36px var(--mobile-gutter) max(30px, env(safe-area-inset-bottom)); }
  footer > .logo { grid-column: 1; grid-row: 1; font-size: 48px; }
  footer > .back-top { grid-column: 2; grid-row: 1; display: flex; align-items: center; min-height: 48px; font-size: 10px; }
  footer > span { grid-column: 1 / -1; font-size: 11px; line-height: 1.8; }
  footer > small { grid-column: 1 / -1; font-size: 11px; }

  dialog { width: calc(100% - 24px); max-width: 580px; max-height: calc(100dvh - 32px - env(safe-area-inset-top) - env(safe-area-inset-bottom)); padding: 54px 22px 28px; overscroll-behavior: contain; }
  dialog .close { top: 8px; right: 8px; width: 44px; height: 44px; display: grid; place-items: center; padding: 0; font-size: 32px; }
  dialog h2 { font-size: clamp(32px, 7vw, 42px); line-height: 1.15; letter-spacing: -.8px; margin-top: 20px; overflow-wrap: break-word; }
  dialog .eyebrow { display: block; font-size: 10px; line-height: 1.7; letter-spacing: 1px; }
  dialog p, #detail-items { font-size: 15px; line-height: 1.7; }
  #detail-items li { padding: 14px 0; }
  dialog .button { width: 100%; text-align: left; }
  .form-row { grid-template-columns: 1fr; }
  label { font-size: 14px; gap: 10px; }
  input, textarea, select { min-height: 48px; font-size: 16px; line-height: 1.5; padding: 12px; min-width: 0; max-width: 100%; }
  textarea { resize: vertical; min-height: 130px; }
  form .note { font-size: 13px; line-height: 1.7; }
  body:has(dialog[open]) { overflow: hidden; }
}

@media (max-width: 700px) {
  .hero-vintage { display: flex; flex-direction: column; align-items: stretch; padding: 28px var(--mobile-gutter) 76px; }
  .hero-vintage h1 { font-size: clamp(64px, 20.5vw, 140px); margin: 34px 0 32px; letter-spacing: -1px; }
  .hero-vintage h1 .rules { padding-left: min(3vw, 18px); }
  .hero-vintage .hero-bottom { gap: 18px; }
  .hero-vintage .hero-bottom p { font-size: 15px; }
  .hero-vintage .hero-bottom .button { width: 100%; font-size: 14px; }
  .hero-visual { width: min(100%, 440px); margin: 28px auto 0; }
  .hero-caption { left: 0; bottom: 11%; font-size: 20px; padding: 11px 14px; }
  .hero-spark-large { top: 4%; right: 0; width: 42px; }
  .hero-spark-small { left: 0; width: 22px; }
  .hero-vintage .hero-edition { font-size: 8px; max-width: calc(100% - 100px); }
  .ribbon { justify-content: center; padding: 18px var(--mobile-gutter); gap: 12px; font-size: clamp(15px, 3.7vw, 18px); }
  .ribbon .asterisk { font-size: 20px; }
  .ribbon > span:nth-child(n + 4) { display: none; }
  .services .section-heading { display: block; margin-bottom: 28px; }
  .services .section-heading h2 > span { font-size: clamp(30px, 8.2vw, 48px); }
  .services .section-heading h2 > em { font-size: clamp(44px, 12vw, 74px); }
  .service-heading-aside { display: block; padding: 0; margin-top: 18px; }
  .service-heading-aside p { font-size: 14px; text-align: left; line-height: 1.7; }
  .service-heading-aside p br { display: none; }
  .ego-seal { display: none; }
  .services .service-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
  .services .service, .services .service:nth-child(3), .services .service:nth-child(5) { transform: rotate(-.4deg); }
  .services .service:nth-child(even) { transform: rotate(.4deg); }
  .services .service h3 { min-height: 74px; }
  .contact .button { width: 100%; }
}

@media (max-width: 359px) {
  .header { gap: 8px; }
  .header .logo { font-size: 44px; }
  .nav-contact { gap: 7px; font-size: 13px; }
  .services .service-grid { grid-template-columns: 1fr; gap: 20px; }
  .services .service { padding: 20px 20px 0; }
  .services .service-art { max-width: 210px; align-self: center; margin: 18px auto; }
  .services .service h3 { font-size: 19px; min-height: 0; }
  .services .service > p { font-size: 14px; min-height: 0; }
  .services .service-bottom { margin-left: -20px; margin-right: -20px; padding-left: 20px; padding-right: 20px; }
  .hero-caption { font-size: 18px; }
}

@media (max-width: 900px) and (hover: none) {
  .button:hover { transform: none; }
  .services .service:hover, .services .service:focus-visible, .services .service:hover .service-art { transform: none; }
}

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