/* /about and /press. Tokens from transplant.css, shell from inner.css. */
main.id { max-width: var(--content-max); margin: 0 auto; padding: 64px 24px 0; }
.id h2 { font-weight: 600; font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: -0.02em; line-height: 1.15; color: var(--text); margin: 0 0 20px; }
.id h3 { font-weight: 600; font-size: 1.05rem; color: var(--text); margin: 0 0 8px; }
.id p { line-height: 1.6; }
.id a { color: inherit; }
.id-muted { color: var(--text-muted); }

/* Hero */
.id-hero { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 48px; align-items: center; margin-bottom: 56px; }
.id-hero--press { grid-template-columns: 1fr; }
.id-hero h1 { margin-top: 0; }
.id-lede { font-size: clamp(1.15rem, 1.6vw, 1.35rem); line-height: 1.5; color: var(--text-body); max-width: 40rem; margin: 0 0 12px; }
.id-sub { color: var(--text-muted); margin: 0 0 28px; font-size: 1rem; }
.id-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.id-hero__photo { margin: 0; max-width: 440px; justify-self: end; width: 100%; }
.id-hero__photo img { width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; border-radius: 28px; background: var(--neutral-25); display: block; }
.id-hero__photo figcaption, .id-photo-small figcaption { font-size: 14px; color: var(--text-muted); margin-top: 10px; line-height: 1.45; }

/* Panels and sections */
.id-panel { background: var(--neutral-25); border-radius: 24px; padding: 32px; margin: 0 0 56px; }
.id-panel p { max-width: 52rem; margin: 0 0 10px; }
.id-panel p:last-child { margin-bottom: 0; }
.id-panel--note { border: 1px solid var(--accent-100); background: var(--accent-25); }
.id-panel--note h2 { font-size: 1.25rem; margin-bottom: 10px; }
.id-panel--cta { background: var(--text); color: #fff; padding: 40px 32px; }
.id-panel--cta h2 { color: #fff; }
.id-panel--cta a { color: #fff; }
.id-panel--cta .btn--ghost { background: #fff; }
.id-panel--cta .id-actions { margin-top: 20px; }
.id-section { margin: 0 0 56px; }
.id-two { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.id-two > div { min-width: 0; }

/* Facts */
.id-facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0 32px; margin: 0; }
.id-facts div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.id-facts dt { color: var(--text-muted); font-size: 14px; padding-top: 2px; }
.id-facts dd { margin: 0; color: var(--text); line-height: 1.45; overflow-wrap: anywhere; }
.id-facts dd a { color: var(--accent); text-decoration: none; }

/* Profiles */
.id-profiles { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 12px; }
.id-profiles a { display: flex; flex-direction: column; gap: 2px; text-decoration: none; background: var(--neutral-25); border-radius: 16px; padding: 14px 18px; font-weight: 500; color: var(--text); transition: background .2s; }
.id-profiles a:hover { background: var(--accent-50); }
.id-profiles span { font-weight: 400; font-size: 13px; color: var(--text-muted); overflow-wrap: anywhere; }

/* Item lists (work, products, posts) */
.id-list { list-style: none; margin: 0; padding: 0; }
.id-list li { padding: 14px 0; border-bottom: 1px solid var(--border); }
.id-list li > a { display: flex; justify-content: space-between; gap: 16px; align-items: baseline; text-decoration: none; color: var(--text); }
.id-list li > a:hover strong { color: var(--accent); }
.id-list strong { font-weight: 600; font-size: 1.05rem; }
.id-list small { color: var(--text-muted); font-size: 13px; white-space: nowrap; }
.id-list p { margin: 4px 0 0; color: var(--text-body); font-size: 15px; }
.id-more { display: inline-block; margin-top: 8px; color: var(--accent); text-decoration: none; font-weight: 500; }
.id-more::after { content: " \2192"; }

/* Services */
.id-services { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr)); gap: 12px; }
.id-services li { background: var(--neutral-25); border-radius: 16px; padding: 18px 20px; display: grid; gap: 4px; }
.id-services strong { font-weight: 600; color: var(--text); }
.id-services span { font-size: 15px; color: var(--text-body); line-height: 1.5; }

/* Timeline */
.id-timeline { list-style: none; margin: 0; padding: 0; }
.id-timeline li { display: grid; grid-template-columns: 150px 1fr; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--border); }
.id-timeline__date { color: var(--text-muted); font-size: 14px; padding-top: 3px; white-space: nowrap; }
.id-timeline strong { display: block; font-weight: 600; color: var(--text); }
.id-timeline__org { display: block; font-size: 15px; color: var(--text-body); }
.id-timeline p { margin: 6px 0 0; font-size: 15px; color: var(--text-body); }
.id-photo-small { margin: 32px 0 0; max-width: 260px; }
.id-photo-small img { width: 100%; height: auto; border-radius: 20px; background: var(--neutral-25); display: block; }

/* FAQ */
.id-faq details { border-bottom: 1px solid var(--border); }
.id-faq summary { cursor: pointer; list-style: none; padding: 20px 40px 20px 0; font-weight: 600; font-size: 1.1rem; color: var(--text); position: relative; }
.id-faq summary::-webkit-details-marker { display: none; }
.id-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 24px; font-weight: 400; color: var(--text-muted); transition: transform .25s var(--ease-out-spring); }
.id-faq details[open] summary::after { transform: rotate(45deg); }
.id-faq p { margin: 0 0 20px; max-width: 52rem; color: var(--text-body); }

/* Press: bios, files, code */
.id-bio { padding: 20px 0; border-bottom: 1px solid var(--border); max-width: 52rem; }
.id-bio h3 { color: var(--text-muted); font-weight: 500; font-size: 14px; }
.id-bio p { margin: 0; color: var(--text); font-size: 1.05rem; }
.id-files { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 150px), 1fr)); gap: 16px; }
.id-files a { display: grid; gap: 4px; text-decoration: none; color: var(--text); background: var(--neutral-25); border-radius: 20px; padding: 14px; transition: background .2s; }
.id-files a:hover { background: var(--accent-50); }
.id-files__thumb { display: block; aspect-ratio: 1; border-radius: 12px; background: #fff center / 80% no-repeat; border: 1px solid var(--border); margin-bottom: 8px; }
.id-files__thumb--dark { background-color: var(--text); border-color: var(--text); }
.id-files strong { font-weight: 600; }
.id-files small { color: var(--text-muted); font-size: 13px; line-height: 1.4; }
.id-code { background: var(--neutral-25); border-radius: 12px; padding: 14px 18px; font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; margin: 12px 0 0; }

@media (max-width: 900px) {
  .id-hero, .id-two { grid-template-columns: 1fr; gap: 32px; }
  .id-hero__photo { justify-self: start; max-width: 360px; order: -1; }
  .id-timeline li { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 640px) {
  main.id { padding-top: 40px; }
  .id-panel { padding: 24px 20px; border-radius: 20px; }
  .id-panel--cta { padding: 28px 20px; }
  .id-facts div { grid-template-columns: 110px 1fr; }
  .id-hero, .id-section, .id-panel { margin-bottom: 40px; }
  .id-hero__photo { max-width: 100%; }
  .id-list li > a { flex-direction: column; gap: 2px; }
  .id-list small { white-space: normal; }
}
