/* Army of One Studio — About and Shop compositions (lot 6.5).
   Loaded only by /about/ and /shop/. */


/* ---------- About hero ---------- */
.about-hero { padding-block: var(--space-6) var(--space-8); }
.about-hero__grid { display: grid; gap: var(--space-6); align-items: center; }
.about-hero__portrait { position: relative; width: min(78%, 360px); margin-inline: auto; }
.about-hero__portrait img {
  width: 100%; border-radius: 46% 54% 44% 56% / 52% 46% 54% 48%;
  box-shadow: 0 0 0 6px var(--aos-ink-900), 0 0 0 10px var(--aos-sun), 0 24px 48px rgb(0 0 0 / .45);
}
.about-hero__mascot { position: absolute; right: -8%; bottom: -4%; width: 34%; max-width: 110px; filter: drop-shadow(0 10px 14px rgb(0 0 0 / .5)); }
.about-hero__copy > * + * { margin-top: var(--space-4); }
.about-hero__role { font-family: var(--font-display); font-weight: 600; color: var(--aos-mint); font-size: var(--text-lead); }
@media (min-width: 900px) {
  .about-hero { padding-block: var(--space-8) var(--space-9); }
  .about-hero__grid { grid-template-columns: 5fr 7fr; gap: var(--space-8); }
}

/* ---------- Timeline (drawn path; illustrated in 6.8) ----------
   Each era has its own colour on the path; only approved, real visuals are shown (Nov 2026: the refined duo art). */
.timeline { list-style: none; padding: 0; position: relative; display: grid; gap: var(--space-5); }
.timeline::before {
  content: ""; position: absolute; left: 21px; top: 8px; bottom: 8px; width: 0;
  border-left: 4px dotted var(--aos-sun);
}
.timeline__item { --era: var(--aos-sun); position: relative; padding-left: 64px; }
.timeline__item:nth-child(2) { --era: var(--aos-mint); }
.timeline__item:nth-child(3) { --era: #8FC7FF; }
.timeline__item:nth-child(4) { --era: #9DD372; }
.timeline__dot {
  position: absolute; left: 0; top: 0; width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center; background: var(--aos-ink-700);
  box-shadow: 0 0 0 4px var(--aos-ink-900), inset 0 0 0 2px var(--era); color: var(--era);
}
.timeline__dot svg { width: 22px; height: 22px; }
.timeline__card {
  padding: var(--space-4) var(--space-5) var(--space-5); border-radius: var(--radius-lg);
  background: linear-gradient(160deg, color-mix(in srgb, var(--era) 14%, var(--aos-ink-800)), var(--aos-ink-800) 70%);
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--era) 30%, transparent);
}
.timeline__when { font-family: var(--font-display); font-weight: 700; color: var(--era); font-size: 1.125rem; }
.timeline__title { font-size: var(--text-h3); margin-top: 2px; }
.timeline__text { color: var(--color-text-muted); margin-top: var(--space-2); }
.timeline__media { margin: var(--space-4) 0 0; border-radius: var(--radius-md, 16px); overflow: hidden;
  background: radial-gradient(80% 90% at 50% 100%, rgb(157 211 114 / .55), rgb(157 211 114 / .12) 65%, transparent 80%); }
.timeline__media img { width: 100%; height: auto; display: block; filter: drop-shadow(0 10px 12px rgb(0 0 0 / .35)); }
@media (min-width: 900px) {
  .timeline { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--space-5); align-items: start; }
  .timeline::before { left: 8px; right: 8px; top: 22px; bottom: auto; width: auto; height: 0; border-left: 0; border-top: 4px dotted var(--aos-sun); }
  .timeline__item { padding-left: 0; padding-top: 64px; }
  .timeline__dot { left: var(--space-5); }
}

/* ---------- Process ---------- */
.process { list-style: none; padding: 0; display: grid; gap: var(--space-3); counter-reset: proc; }
.process__step {
  display: grid; grid-template-columns: auto 1fr; gap: var(--space-3); align-items: center;
  padding: var(--space-4); border-radius: var(--radius-md);
  background: var(--aos-paper); color: var(--aos-paper-ink);
}
.process__step::before {
  counter-increment: proc; content: counter(proc);
  display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%;
  background: var(--aos-ink-900); color: var(--aos-sun); font-family: var(--font-display); font-weight: 700;
}
.process__tool { font-weight: var(--weight-strong); }
.process__what { color: #4A3F66; font-size: var(--text-small); }
@media (min-width: 600px) { .process { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1200px) { .process { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Six responsibilities around the mascot ---------- */
.roles { display: grid; gap: var(--space-5); align-items: center; }
.roles__mascot { justify-self: center; width: 140px; filter: drop-shadow(0 16px 20px rgb(0 0 0 / .45)); }
.roles__list { list-style: none; padding: 0; display: grid; gap: var(--space-3); grid-template-columns: repeat(2, minmax(0, 1fr)); }
.roles__list li {
  min-height: 64px; display: grid; place-items: center; text-align: center; padding: var(--space-3);
  border-radius: var(--radius-md); background: var(--aos-ink-700);
  font-family: var(--font-display); font-weight: 600; box-shadow: inset 0 0 0 2px rgb(95 216 165 / .25);
}
@media (min-width: 900px) {
  .roles { grid-template-columns: 1fr auto 1fr; gap: var(--space-6); }
  .roles__list { grid-template-columns: 1fr; }
  .roles__mascot { width: 200px; }
}
.roles__note { text-align: center; color: var(--color-text-muted); margin-top: var(--space-5); }

/* ---------- Facts (teaching & career) ---------- */
.facts { list-style: none; padding: 0; display: grid; gap: var(--gutter); }
.fact { padding: var(--space-5); border-radius: var(--radius-lg); background: var(--aos-ink-800); box-shadow: inset 0 0 0 2px rgb(90 74 138 / .6); }
.fact__big { font-family: var(--font-display); font-weight: 700; font-size: var(--text-h2); color: var(--aos-sun); line-height: 1.1; }
.fact__text { color: var(--color-text-muted); margin-top: var(--space-2); }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

/* ---------- Paper note (transparency, partner band) ---------- */
.note-paper {
  padding: var(--space-6) var(--space-5); border-radius: var(--radius-lg);
  background: var(--aos-paper); color: var(--aos-paper-ink);
  --color-text: var(--aos-paper-ink); --color-text-muted: #4A3F66; --color-link: var(--aos-paper-ink);
  box-shadow: var(--shadow-card);
}
.note-paper > * + * { margin-top: var(--space-3); }
.note-paper h2 { color: var(--aos-paper-ink); }
.note-paper a { color: var(--aos-paper-ink); }
@media (min-width: 900px) { .note-paper { padding: var(--space-7); } }

/* ---------- Contact card ---------- */
.contact-card {
  display: grid; gap: var(--space-4); padding: var(--space-6) var(--space-5); border-radius: var(--radius-window);
  background: radial-gradient(70% 120% at 100% 0%, rgb(242 203 78 / .14), transparent 60%), var(--aos-ink-800);
  box-shadow: inset 0 0 0 2px rgb(90 74 138 / .6);
}
.contact-card__email { font-family: var(--font-display); font-weight: 600; font-size: var(--text-h3); overflow-wrap: anywhere; }
@media (min-width: 900px) { .contact-card { grid-template-columns: 7fr 5fr; align-items: center; padding: var(--space-7); } }

/* ---------- Shop hero: characters step off the screen onto paper ---------- */
.shop-hero { position: relative; overflow: clip; padding-block: var(--space-6) var(--space-8);
  background: radial-gradient(45% 60% at 75% 50%, rgb(255 247 232 / .08), transparent 70%), var(--aos-ink-900); }
.shop-hero__grid { display: grid; gap: var(--space-6); align-items: center; }
.shop-hero__copy > * + * { margin-top: var(--space-4); }
.shop-stage { position: relative; aspect-ratio: 5 / 4; }
.shop-stage__paper {
  position: absolute; inset: 38% 0 0 0; border-radius: var(--radius-window);
  background: linear-gradient(180deg, #FFFBF2, var(--aos-paper)); box-shadow: 0 24px 60px rgb(0 0 0 / .45);
}
.shop-stage__screen {
  position: absolute; left: 6%; top: 4%; width: 60%; aspect-ratio: 16 / 10; border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: 0 0 0 6px var(--aos-ink-950), 0 0 0 8px var(--aos-ink-500), 0 20px 40px rgb(0 0 0 / .45);
  background: #9DD372;
}
.shop-stage__screen img { width: 100%; height: 100%; object-fit: cover; }
.shop-stage__piter { position: absolute; left: 2%; top: 4%; width: 62%; filter: drop-shadow(0 12px 16px rgb(0 0 0 / .35)); }
.shop-stage__egg { position: absolute; right: 10%; bottom: 8%; width: 26%; filter: drop-shadow(0 14px 10px rgb(59 35 28 / .35)); }
.shop-stage__mascot { position: absolute; right: 38%; bottom: 6%; width: 16%; max-width: 96px; filter: drop-shadow(0 10px 8px rgb(59 35 28 / .35)); }
@media (min-width: 900px) {
  .shop-hero { padding-block: var(--space-8) var(--space-9); }
  .shop-hero__grid { grid-template-columns: 6fr 6fr; gap: var(--space-8); }
}

/* ---------- Product grid (ready for validated products) ---------- */
.products { list-style: none; padding: 0; display: grid; gap: var(--gutter); grid-template-columns: 1fr; }
@media (min-width: 400px) { .products { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 900px) { .products { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.product { display: flex; flex-direction: column; border-radius: var(--radius-md); overflow: hidden; background: var(--aos-paper); color: var(--aos-paper-ink); box-shadow: var(--shadow-card); }
.product__img { aspect-ratio: 4 / 5; background: #F3EAD6; }
.product__img img { width: 100%; height: 100%; object-fit: cover; }
.product__body { display: grid; gap: var(--space-2); padding: var(--space-4); }
.product__name { font-size: 1.125rem; color: var(--aos-paper-ink); }
.product__type { color: #4A3F66; font-size: var(--text-small); }
.product__body a { color: var(--aos-paper-ink); font-weight: var(--weight-control); display: inline-flex; align-items: center; min-height: var(--target-min); }
.product[data-status="unavailable"] .product__img { opacity: 1; filter: grayscale(.6); }
.product__status { font-size: var(--text-small); font-weight: var(--weight-control); border: 2px dashed currentColor; border-radius: var(--radius-pill); padding: 2px var(--space-3); justify-self: start; }
.product[hidden] { display: none; }
.contact-card__email a { display: inline-flex; align-items: center; min-height: var(--target-min); }

/* Long words (PT-BR, 200% text) never overflow narrow layouts (lot 6.6) */
.roles__list li, .timeline__item, .fact, .process__step { min-width: 0; overflow-wrap: anywhere; hyphens: auto; }
.roles__list { grid-template-columns: repeat(auto-fit, minmax(min(100%, 8.5rem), 1fr)); }
@media (min-width: 900px) { .roles__list { grid-template-columns: 1fr; } }
