/* MAGICUM 2027 · Compact homepage after AI Studio.
   Only #about is affected; all SEO copy/links remain in source HTML. */
#snap-root > #about.home-info.home-compact {
  padding-top:32px;
}
#about.home-compact .home-info-wrap {max-width:900px}
#about.home-compact h2 {margin:25px 0 10px}
#about.home-compact h2:first-child {margin-top:0}
#about.home-compact .home-motto {margin:7px 0 12px;padding:10px 14px}
#about.home-compact p {margin-bottom:10px}

/* Native HTML details: text remains in HTML even when visually collapsed. */
#about.home-compact .home-more {
  margin:12px 0 19px;
  border:1.5px solid #e5b853;
  border-radius:14px;
  background:linear-gradient(155deg,#fffefa,#fff5df);
  overflow:hidden;
}
#about.home-compact .home-more > summary,
#about.home-compact .home-faq-item > summary {
  display:flex;align-items:center;justify-content:space-between;gap:12px;
  cursor:pointer;list-style:none;
  -webkit-tap-highlight-color:transparent;
  min-height:48px;
}
#about.home-compact summary::-webkit-details-marker {display:none}
#about.home-compact .home-more > summary {
  padding:11px 16px;
  font:700 14px/1.45 Montserrat,system-ui,sans-serif;
  color:#0a3267;
}
#about.home-compact .home-more > summary::after,
#about.home-compact .home-faq-item > summary::after {
  content:"+";
  flex:0 0 28px;width:28px;height:28px;
  display:grid;place-items:center;
  border-radius:50%;border:1px solid #c8962b;
  color:#0a3267;background:#fff9e9;
  font:700 19px/1 Montserrat,system-ui,sans-serif;
}
#about.home-compact .home-more[open] > summary::after,
#about.home-compact .home-faq-item[open] > summary::after {content:"−"}
#about.home-compact summary:focus-visible {outline:3px solid #073f94;outline-offset:-4px}
#about.home-compact .home-more-content {
  border-top:1px solid rgba(200,150,43,.4);
  padding:14px 16px 16px;
}
#about.home-compact .home-more-content h2 {margin:17px 0 8px}
#about.home-compact .home-more-content h2:first-child {margin-top:4px}
#about.home-compact .home-more-content p:last-child {margin-bottom:0}
#about.home-compact .home-steps {margin-bottom:12px}

/* Keep all six internal links visible, two compact columns on phones. */
#about.home-compact .home-services {
  grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;
}
#about.home-compact .home-services a {
  min-height:58px;padding:8px 10px;
  border-radius:12px;
  font-size:13px;line-height:1.33;overflow-wrap:anywhere;
}
#about.home-compact .home-services li.home-srv-note {
  grid-column:1/-1;min-height:auto;
  padding:9px 12px;font-size:12.5px;line-height:1.45;
  border-radius:12px;
}

/* 8 independent accessible FAQ questions, answers only on expansion. */
#about.home-compact .home-faq {display:grid;gap:8px}
#about.home-compact .home-faq-item {
  margin:0;border:1px solid rgba(200,150,43,.52);
  border-radius:12px;background:rgba(255,255,255,.8);
  overflow:hidden;
}
#about.home-compact .home-faq-item > summary {padding:9px 12px}
#about.home-compact .home-faq-item > summary h3 {
  margin:0;padding:0;border:0;color:#073f94;
  font:700 13.5px/1.42 Montserrat,system-ui,sans-serif;
}
#about.home-compact .home-faq-answer {
  padding:10px 13px 13px;
  border-top:1px solid rgba(200,150,43,.28);
}
#about.home-compact .home-faq-answer p {margin:0;font-size:13px;line-height:1.55}

/* Final single conversion block and readable but compact SEO footer. */
#about.home-compact .home-contacts {
  margin:21px 0 6px;padding:17px 14px 18px;
}
#about.home-compact .home-contacts h2 {margin-top:0}
#about.home-compact .home-contacts-area {margin-bottom:11px}
#about.home-compact .home-footer {margin-top:20px;padding-top:19px}
#about.home-compact .home-footer .home-links {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:0;
}
#about.home-compact .home-footer .home-links a {
  display:flex;align-items:center;justify-content:center;
  min-height:44px;padding:9px 11px;
  border-radius:10px;font-size:12px;line-height:1.3;
  text-align:center;overflow-wrap:anywhere;
}
#about.home-compact .home-footer .home-footer-more {
  margin:14px auto 0;max-width:460px;text-align:center;
}
#about.home-compact .home-footer .home-footer-more > summary {
  display:flex;align-items:center;justify-content:center;gap:9px;
  min-height:44px;margin:0 auto;padding:9px 13px;
  list-style:none;cursor:pointer;border:1px solid rgba(226,184,90,.52);
  border-radius:10px;color:#f4d890;font:500 12px/1.4 Montserrat,system-ui,sans-serif;
}
#about.home-compact .home-footer .home-footer-more > summary::-webkit-details-marker {display:none}
#about.home-compact .home-footer .home-footer-more > summary::after {content:"＋";font-size:16px}
#about.home-compact .home-footer .home-footer-more[open] > summary::after {content:"−"}
#about.home-compact .home-footer .home-footer-extra {
  display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:10px;
}
#about.home-compact .home-footer .home-footer-extra a {
  display:flex;align-items:center;justify-content:center;
  /* Deep Audit 2027: touch targets ≥ 44 px (release spec 28; was 42) */
  min-height:44px;padding:8px;border:1px solid rgba(226,184,90,.32);
  border-radius:9px;color:#f2e6c9;font:500 11px/1.35 Montserrat,system-ui,sans-serif;
  text-decoration:none;overflow-wrap:anywhere;
}
#about.home-compact .home-footer :is(a,summary):focus-visible {outline:3px solid #f4d890;outline-offset:3px}
#about.home-compact .home-footer .home-copy {
  margin:16px 0 0;font-size:11px;line-height:1.55;
  letter-spacing:.02em;text-transform:none;overflow-wrap:normal;
}
#about.home-compact .home-footer .home-footer-legal {
  display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
  gap:5px 14px;margin:5px auto 0;
}
#about.home-compact .home-footer .home-footer-legal a {
  /* Deep Audit 2027: touch targets ≥ 44 × 44 px (release spec 28; was 40 px high, Email 36 px wide) */
  display:inline-flex;align-items:center;justify-content:center;min-height:44px;min-width:44px;
  padding:6px 2px;color:#f0dfb6;
  font:500 11px/1.35 Montserrat,system-ui,sans-serif;
  text-decoration:none;letter-spacing:0;text-transform:none;
}
@media(min-width:660px) {
  #about.home-compact .home-services {grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  #about.home-compact .home-services a {font-size:14px}
}
@media(max-width:359px) {
  #about.home-compact .home-services a {font-size:12px;padding:8px}
  #about.home-compact .home-footer .home-links a {font-size:11px}
  #about.home-compact .home-footer .home-footer-extra a {font-size:10px}
}
