/* Tinker Shed home page only. Loaded after site.css (see site.css for load order). */

/* ---------- Hero ---------- */
.hero .eyebrow { margin-bottom: 0; }
.hero-photo { aspect-ratio: 4 / 3; }
.hero-photo img { object-position: 50% 45%; }

/* ---------- Why: lead paragraphs + 2×2 features ---------- */
#why .lead + .lead { margin-top: 12px; }
.why-actions { margin-top: 26px; }
.feature-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin: 0; padding: 0; list-style: none; }
.feature { gap: 14px; }
.feature:hover { transform: none; box-shadow: var(--shadow-card); }
.feature h3 { font-size: var(--type-h4-size); line-height: var(--leading-heading); }

/* ---------- Instagram tiles ---------- */
.insta-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.insta-tile { position: relative; display: block; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--radius-card); box-shadow: var(--shadow-card); background: #eee; }
.insta-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.insta-tile:hover img { transform: scale(1.04); }
.insta-badge { position: absolute; right: 12px; bottom: 12px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: rgba(255, 255, 255, .94); color: var(--color-heading); box-shadow: var(--shadow-card); }
.insta-badge svg { width: 22px; height: 22px; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 0 auto; display: grid; gap: 12px; }
.faq { background: var(--white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 14px 22px; cursor: pointer; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary h3 { font-size: var(--type-h4-size); line-height: var(--leading-heading); }
.faq summary::after {
  content: ""; flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--tint-orange)
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b84f0c' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M12 6v12M6 12h12'/%3E%3C/svg%3E") center / 16px no-repeat;
  transition: transform .2s ease;
}
.faq[open] summary::after { transform: rotate(45deg); }
.faq summary:hover h3 { color: var(--orange-ink); }
.faq-a { padding: 0 22px 20px; }
.faq-a p { margin: 0 0 10px; }
.faq-a p:last-child { margin-bottom: 0; }
.faq-a ul { margin: 0 0 10px; padding-left: 20px; }
.faq-a li { margin-bottom: 4px; }

/* ---------- Phones ---------- */
@media (max-width: 720px) {
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature { padding: 18px; }
  .insta-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .insta-badge { width: 34px; height: 34px; right: 8px; bottom: 8px; }
  .faq summary { padding: 12px 16px; }
  .faq-a { padding: 0 16px 18px; }
}
@media (max-width: 340px) {
  .feature-grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .insta-tile img { transition: none; }
}
