/* Home-only edition: six films and a progressively enhanced social card deck. */
.social-section { padding: clamp(64px, 7vw, 104px) var(--page-pad) 68px; overflow: clip; }
.social-section .section-head { padding-top: 0; border-top: 0; margin-bottom: 28px; }
.social-section .section-head h2 { font-size: var(--title-section); line-height: 1.5; }
.social-intro { display: flex; justify-content: space-between; align-items: end; gap: 32px; }
.social-intro p { margin: 0; max-width: 39rem; color: #aaa; font-size: 15px; line-height: 1.8; }
.social-intro .technical { white-space: nowrap; font-size: 11px; }
.social-stage { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; margin: 40px 0; outline-offset: 8px; }
.social-card { min-width: 0; margin: 0; color: var(--ink); }
.social-card-plane { position: relative; width: 100%; }
.social-face { background: var(--paper); }
.social-face-front { padding: 0; }
.social-open { display: block; padding: 0; width: 100%; height: 100%; border: 0; background: none; color: inherit; text-align: left; font: inherit; cursor: pointer; }
.social-card-art { display: block; position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #30322f; transform: translateZ(1px); }
.social-card-art img { position: absolute; height: auto; max-width: none; object-fit: initial; }
.social-card-type { display: block; padding: 22px 24px; }
.social-card-kicker { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 19px; font: 11px/1.5 var(--mono); letter-spacing: .09em; }
.social-platform { display: block; margin: 0 0 5px; font-size: 18px; font-weight: 700; line-height: 1.5; letter-spacing: 0; }
.social-account-name { display: block; margin: 0; color: var(--muted-light); font-size: 12px; line-height: 1.7; }
.social-card-bottom { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 24px; margin-top: 28px; border-top: 1px solid #b5b5af; font-size: 11px; line-height: 1.5; }
.social-card-bottom .latin { font: 11px/1.5 var(--mono); letter-spacing: .08em; }
.social-face-back { padding: 24px; border-top: 1px solid #b5b5af; text-align: center; }
.social-back-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; text-align: left; }
.social-back-top p { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.5; }
.social-close { display: none; }
.social-profile-link { display: inline-block; margin-top: 15px; padding: 9px 0; border-bottom: 1px solid #53554f; font-size: 12px; line-height: 1.5; }
.social-controls { display: none; }
.social-fallback-note { color: #aaa; font-size: 12px; }
.social-deck.is-enhanced .social-fallback-note { display: none; }
.social-deck.is-enhanced { --social-width: 290px; --social-height: calc(var(--social-width) * 4 / 3 + 190px); --social-step: clamp(145px, 15.3vw, 220px); }
.social-deck.is-enhanced .social-stage { display: block; position: relative; height: calc(var(--social-height) + 104px); margin: 0; perspective: 1500px; transform-style: preserve-3d; touch-action: pan-y pinch-zoom; }
/* Keep grouping effects off the 3D containers: a filter flattens the faces while switching. */
.social-deck.is-enhanced .social-card { position: absolute; top: 44px; left: 50%; width: var(--social-width); height: var(--social-height); margin-left: calc(var(--social-width) / -2); z-index: var(--z-order, 1); transform-style: preserve-3d; transform: translateX(calc(var(--offset) * var(--social-step))) translateY(calc(var(--abs-offset) * 13px)) translateZ(calc(var(--abs-offset) * -140px)) rotateY(calc(var(--offset) * -12deg)) rotateZ(calc(var(--offset) * 2deg)); transition: transform 620ms cubic-bezier(.2,.7,.2,1); }
.social-deck.is-enhanced .social-card-plane { height: 100%; transform-style: preserve-3d; transition: transform 700ms cubic-bezier(.2,.7,.2,1); box-shadow: 0 18px 45px #0005; }
.social-deck.is-enhanced .social-card.is-flipped .social-card-plane { transform: rotateY(180deg); }
.social-deck.is-enhanced .social-face { position: absolute; inset: 0; backface-visibility: hidden; -webkit-backface-visibility: hidden; border: 0; }
.social-deck.is-enhanced .social-face::after { content: ''; position: absolute; inset: 0; pointer-events: none; background: #000; opacity: calc(var(--abs-offset) * .1); transition: opacity 620ms; }
.social-deck.is-enhanced .social-face-front { transform: translateZ(1px); }
.social-deck.is-enhanced .social-face-back { transform: rotateY(180deg) translateZ(1px); }
.social-deck.is-enhanced .social-open { display: flex; flex-direction: column; }
.social-deck.is-enhanced .social-card-art { width: 100%; flex: 0 0 auto; }
.social-deck.is-enhanced .social-card-type { width: 100%; flex: 1; display: flex; flex-direction: column; padding-top: 22px; }
.social-deck.is-enhanced .social-card-kicker { margin-bottom: 15px; }
.social-deck.is-enhanced .social-platform { font-size: 18px; }
.social-deck.is-enhanced .social-card-bottom { margin-top: auto; padding-top: 14px; }
.social-deck.is-enhanced .social-close { display: block; min-height: 44px; padding: 10px 0 10px 12px; border: 0; color: inherit; background: none; font-family: inherit; font-size: 12px; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; cursor: pointer; }
.social-deck.is-enhanced .social-controls { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; padding-top: 18px; border-top: 1px solid var(--line-dark); }
.social-tabs { display: flex; flex-wrap: wrap; align-items: center; gap: 7px 24px; }
.social-tab { min-height: 44px; padding: 10px 0; border: 0; border-bottom: 1px solid transparent; background: none; color: var(--muted-dark); font-family: inherit; font-size: 13px; line-height: 1.5; cursor: pointer; }
.social-tab:hover { color: var(--white); }
.social-tab[aria-current="true"] { color: #f0f0eb; border-bottom-color: currentColor; }
.social-status { min-width: 13ch; margin: 0; text-align: center; color: #a6a8a1; font: 11px/1.5 var(--mono); }
.social-pagination { display: flex; justify-self: end; gap: 12px; }
.social-pagination button { min-width: 52px; height: 44px; padding: 0 14px; border: 1px solid #44473f; background: none; color: #e6e7df; cursor: pointer; font-size: 20px; transition: background 150ms, color 150ms; }
.social-pagination button:hover { background: #e6e7df; color: #070707; }
.social-section + .page-shell .triple-index { margin-top: 28px; }
.social-back-detail { margin-top: 44px; text-align: left; }
.social-back-top { padding-bottom: 16px; border-bottom: 1px solid var(--line-light); }
.social-back-kicker { margin: 0 0 22px; font: 11px/1.5 var(--mono); letter-spacing: .06em; color: #62635d; }
.social-back-handle { margin: 0 0 20px; font-size: 20px; font-weight: 700; line-height: 1.45; overflow-wrap: anywhere; }
.social-back-description { margin: 0 0 9px; font-size: 14px; line-height: 1.7; }
.social-back-services { margin: 0; font-size: 12px; line-height: 1.8; color: #62635d; }
.social-face-back .social-profile-link { display: flex; align-items: center; justify-content: space-between; gap: 10px; width: 100%; margin-top: 28px; text-align: left; }
.social-flip-label { visibility: hidden; }
.is-enhanced .social-flip-label { visibility: visible; }
.social-section .sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.social-section button:focus-visible, .social-section a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
@media (max-width: 900px) {
  .social-stage { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .social-deck.is-enhanced .social-controls { grid-template-columns: 1fr auto; }
  .social-tabs { grid-column: 1 / -1; justify-content: center; }
  .social-status { justify-self: start; }
  .social-pagination { grid-column: 2; }
  .social-intro .technical { display: none; }
}
@media (max-width: 600px) {
  .social-section { padding: 56px var(--page-pad) 44px; }
  .social-section .section-head { margin-bottom: 18px; }
  .social-section .section-head h2 { font-size: var(--title-section); }
  .social-section .section-head > .technical { display: none; }
  .social-intro p { font-size: 14px; line-height: 1.8; max-width: 29rem; }
  .social-stage { grid-template-columns: 1fr; gap: 28px; }
  .social-deck.is-enhanced { --social-width: min(264px, calc(100vw - 88px)); --social-height: calc(var(--social-width) * 4 / 3 + 190px); }
  .social-deck.is-enhanced .social-stage { height: calc(var(--social-height) + 92px); perspective: 1100px; }
  .social-deck.is-enhanced .social-card { top: 36px; transform: translateX(calc(var(--offset) * 144px)) translateY(calc(var(--abs-offset) * 10px)) translateZ(calc(var(--abs-offset) * -230px)) rotateY(calc(var(--offset) * -16deg)) rotateZ(calc(var(--offset) * 2deg)); }
  .social-deck.is-enhanced .social-card-art { flex-basis: auto; }
  .social-card-type { padding: 20px; }
  .social-face-back { padding: 20px; }
  .social-tabs { gap: 4px 18px; }
  .social-tab { font-size: 12px; }
  .social-deck.is-enhanced .social-controls { gap: 14px; }
}
@media (prefers-reduced-motion: reduce) {
  .social-section *, .social-section *::before, .social-section *::after { transition: none !important; transition-duration: 0s !important; animation: none !important; }
  .social-deck.is-enhanced .social-card, .social-deck.is-enhanced .social-card-plane { transition: none; }
  /* Keep the original fan visible; reduce motion without removing side cards. */
  .social-deck.is-enhanced .social-card.is-flipped .social-card-plane, .social-deck.is-enhanced .social-face-front, .social-deck.is-enhanced .social-face-back { transform: none; }
  .social-deck.is-enhanced .social-card.is-flipped .social-face-front { visibility: hidden; }
  .social-deck.is-enhanced .social-card:not(.is-flipped) .social-face-back { visibility: hidden; }
}


.social-deck.is-enhanced .social-face-back { display: flex; flex-direction: column; }
.social-deck.is-enhanced .social-face-back .social-profile-link { margin-top: auto; }
.social-deck.is-enhanced .social-back-detail { margin-top: 66px; }
.index-directory-link { display: flex; align-items: center; justify-content: space-between; min-height: 48px; margin-top: 18px; font-size: 13px; color: var(--muted-dark); }
.index-directory-link:hover { color: var(--paper); }

