/* Small social windows, in the same graphite/silver vocabulary as the site. */
.portal-shell .social-showcase { margin: 48px 0 64px; }
.portal-shell .social-section-heading { display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 14px; padding: 20px 0; border-top: 1px solid #36383c; }
.portal-shell .social-section-heading h2 { margin: 0; font: 10px/1.6 var(--mono); letter-spacing: .12em; color: #e8eaee; }
.portal-shell .social-section-heading > span { font: 8px/1.6 var(--mono); letter-spacing: .1em; color: #8e949e; }
.portal-shell .social-showcase-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: stretch; }
.portal-shell .social-card { display: flex; flex-direction: column; min-width: 0; border: 1px solid #41464f; background: linear-gradient(145deg,#171a1f,#0e1013 60%); box-shadow: 0 16px 35px #0003; }
.portal-shell .social-card-header { display: flex; justify-content: space-between; align-items: center; gap: 18px; padding: 16px 22px; border-bottom: 1px solid #323740; }
.portal-shell .social-card-header > div { display: flex; flex-direction: column; gap: 5px; }
.portal-shell .social-platform { font: 9px/1.4 var(--mono); letter-spacing: .1em; color: #ecedf1; }
.portal-shell .social-context { font: 8px/1.5 var(--mono); letter-spacing: .04em; color: #9199a5; }
.portal-shell .social-gold { color: #ffe052; }
.portal-shell .social-app-icon { width: 42px; height: 42px; flex: 0 0 42px; display: grid; place-items: center; border-radius: 11px; border: 1px solid #ffffff35; color: #fff; box-shadow: inset 0 1px #ffffff25,0 4px 10px #0005; }
.portal-shell .social-app-icon svg { width: 29px; height: 29px; display: block; }
.portal-shell .social-app-instagram { background: radial-gradient(circle at 20% 110%,#ffd677 0 12%,#f36b41 35%,#cb2d94 64%,#6c43be 100%); }
.portal-shell .social-app-youtube { background: #dc2429; }
.portal-shell .social-app-icon:hover { transform: translateY(-2px); border-color: #ffffff9c; }
.portal-shell .instagram-profile { display: grid; grid-template-columns: 115px minmax(0,1fr); gap: 24px; align-items: center; padding: 30px 26px 24px; flex: 1; }
.portal-shell .instagram-avatar { display: block; width: 115px; height: 115px; border: 1px solid #8a919c; padding: 5px; border-radius: 50%; background: #252a31; box-shadow: inset 0 0 0 2px #0b0d11; }
.portal-shell .instagram-avatar img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 28%; border-radius: 50%; background: #fff; }
.portal-shell .instagram-identity h3 { margin: 0 0 8px; font: 600 23px/1.15 var(--body); letter-spacing: -.035em; color: #f4f4f6; }
.portal-shell .instagram-identity h3 span { font: 13px var(--mono); color: #b4bdca; }
.portal-shell .instagram-display-name { margin: 0 0 18px; font: 10px/1.5 var(--mono); color: #dce1e9; }
.portal-shell .instagram-display-name > span { color: #ffe052; }
.portal-shell .instagram-category { margin: 0 0 3px; font-size: 11px; color: #999faa; }
.portal-shell .instagram-brand { margin: 0; color: #f0f1f4; font: italic 700 14px/1.4 Georgia,'Times New Roman',serif; }
.portal-shell .instagram-brand > span { color: #ffe052; }
.portal-shell .instagram-brand sup { font-size: 8px; margin-left: 2px; }
.portal-shell .instagram-stats { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 12px; padding: 18px 24px; margin: 0 24px 20px; border-top: 1px solid #303640; border-bottom: 1px solid #303640; }
.portal-shell .instagram-stats > div { display: flex; flex-direction: column-reverse; align-items: center; gap: 5px; }
.portal-shell .instagram-stats dt { font: 9px/1.5 var(--body); color: #9fa7b4; }
.portal-shell .instagram-stats dd { margin: 0; font: 600 18px/1 var(--body); color: #edf0f4; }
.portal-shell .social-card-footer { display: flex; flex-direction: column; gap: 9px; padding: 18px 22px; border-top: 1px solid #303640; margin-top: auto; }
.portal-shell .social-outbound { display: inline-flex; align-items: center; justify-content: space-between; gap: 12px; width: fit-content; max-width: 100%; color: #e6e9ef; font: 9px/1.6 var(--mono); letter-spacing: .045em; }
.portal-shell .social-outbound span { font-size: 14px; }
.portal-shell .social-outbound:hover { color: #fff; text-decoration: underline; text-underline-offset: 4px; }
.portal-shell .social-card-footer small { color: #939ba8; font: 8px/1.6 var(--mono); }
.portal-shell .youtube-preview { position: relative; aspect-ratio: 16/9; background: #050607; overflow: hidden; margin: 18px 18px 0; border: 1px solid #434a55; }
.portal-shell .youtube-preview iframe { display: block; width: 100%; height: 100%; border: 0; }
.portal-shell .youtube-load { position: relative; display: block; width: 100%; height: 100%; padding: 0; border: 0; background: #050607; color: #fff; cursor: pointer; }
.portal-shell .youtube-load > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.portal-shell .youtube-thumbnail-fallback { display: flex; flex-direction: column; align-items: center; justify-content: flex-start; gap: 8px; width: 100%; height: 100%; padding: 28px 15px; background: radial-gradient(ellipse at 50% 100%,#363e4b,#11151b); }
.portal-shell .youtube-thumbnail-fallback > span { color: #f5f5f5; font: 700 clamp(24px,3vw,40px)/1 var(--display); }
.portal-shell .youtube-thumbnail-fallback > span > span { color: #ffe052; }
.portal-shell .youtube-thumbnail-fallback > small { color: #a4afbf; font: 7px/1.5 var(--mono); letter-spacing: .04em; }
.portal-shell .youtube-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); display: grid; place-items: center; width: 62px; height: 42px; border-radius: 11px; background: #e62127ed; box-shadow: 0 5px 18px #0008; font-size: 21px; padding-left: 3px; }
.portal-shell .youtube-load:hover .youtube-play { background: #ff3036; }
.portal-shell .youtube-preview-label { position: absolute; left: 0; right: 0; bottom: 0; display: flex; justify-content: space-between; gap: 8px; padding: 20px 12px 10px; background: linear-gradient(transparent,#000d); font: 8px/1.5 var(--mono); letter-spacing: .04em; }
.portal-shell .youtube-preview-label > span { color: #c0c6d0; }
.portal-shell .youtube-caption { padding: 18px 22px; }
.portal-shell .youtube-caption h3 { margin: 0 0 9px; color: #f0f2f6; font: 700 27px/1.05 var(--display); }
.portal-shell .youtube-caption p { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin: 0; font: 9px/1.6 var(--mono); color: #a7afbd; }
.portal-shell .youtube-caption a { color: #e2e5eb; }
.portal-shell .youtube-caption a:hover { color: #fff; text-decoration: underline; }
.portal-shell .social-card-compact .social-card-header { padding: 14px 18px; }
.portal-shell .social-card-compact .instagram-profile { grid-template-columns: 82px minmax(0,1fr); gap: 16px; padding: 23px 18px 20px; }
.portal-shell .social-card-compact .instagram-avatar { width: 82px; height: 82px; padding: 4px; }
.portal-shell .social-card-compact .instagram-identity h3 { font-size: 21px; }
.portal-shell .social-card-compact .instagram-display-name { font-size: 9px; margin-bottom: 10px; }
.portal-shell .social-card-compact .instagram-brand { font-size: 12px; }
.portal-shell .social-card-compact .instagram-stats { padding: 16px 8px; margin: 0 18px 18px; }
.portal-shell .social-card-compact .social-card-footer { padding: 16px 18px; }
.portal-shell .inquiry-aside > .social-card { grid-column: 1 / -1; }
@media (max-width: 1050px) {
  .portal-shell .instagram-profile { grid-template-columns: 90px minmax(0,1fr); gap: 18px; padding: 25px 20px; }
  .portal-shell .instagram-avatar { width: 90px; height: 90px; }
  .portal-shell .instagram-identity h3 { font-size: 21px; }
}
@media (max-width: 750px) {
  .portal-shell .social-showcase { margin: 34px 0 44px; }
  .portal-shell .social-showcase-grid { grid-template-columns: 1fr; gap: 22px; }
  .portal-shell .instagram-profile { grid-template-columns: 110px minmax(0,1fr); padding: 28px 24px; gap: 24px; }
  .portal-shell .instagram-avatar { width: 110px; height: 110px; }
  .portal-shell .social-card-compact { max-width: 520px; width: 100%; }
  .portal-shell .youtube-thumbnail-fallback { padding: 14px 12px; gap: 4px; }
  .portal-shell .youtube-thumbnail-fallback > span { font-size: 24px; }
}
@media (max-width: 380px) {
  .portal-shell .instagram-profile { grid-template-columns: 80px minmax(0,1fr); padding: 22px 16px; gap: 16px; }
  .portal-shell .instagram-avatar { width: 80px; height: 80px; }
  .portal-shell .instagram-identity h3 { font-size: 20px; }
  .portal-shell .instagram-display-name { font-size: 9px; margin-bottom: 12px; }
  .portal-shell .instagram-brand { font-size: 12px; }
  .portal-shell .instagram-stats { margin: 0 16px 18px; padding: 16px 8px; }
  .portal-shell .social-card-header, .portal-shell .social-card-footer, .portal-shell .youtube-caption { padding-left: 16px; padding-right: 16px; }
  .portal-shell .youtube-caption h3 { font-size: 25px; }
  .portal-shell .youtube-preview { margin: 14px 12px 0; }
  .portal-shell .youtube-thumbnail-fallback { padding-top: 10px; gap: 2px; }
  .portal-shell .youtube-play { width: 56px; height: 38px; font-size: 19px; }
}
@media (prefers-reduced-motion: reduce) {
  .portal-shell .social-app-icon:hover { transform: none; }
}
