/* The same tissue plate runs behind the hand, the learning rooms and the public reading surfaces. */
@media screen {
  body[data-ppw-family] {
    --tissue-scene: url('/assets/capacity/scenes/matrix.webp');
    --tissue-shade: linear-gradient(102deg,rgba(4,28,29,.92),rgba(6,36,36,.79) 53%,rgba(8,49,47,.63));
    background-color: #092c2d;
    background-image: var(--tissue-shade),var(--tissue-scene);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
  }
  body[data-ppw-family] :is(.paper,.hero:not(.cine-hero),.blog-article,.blog-index,.km-library,.three-paths,.booking,.tiers-band,.notes-band,.stats-band,.reviews,.victor,.stack-page,.creds-band,.faq-block,.foundations,.fallback-form,.email-band,.cta-band,.toc-band,.rooms-intro,.ppw-hero-sm) {
    background-color: #092829;
    background-image: var(--tissue-shade),var(--tissue-scene);
    background-size: cover;
    background-position: center;
  }
  body[data-ppw-family] :is(.blog-index,.blog-article,.hero.wrap,.ppw-hero-sm,.rooms-intro) {
    --tissue-shade: linear-gradient(100deg,rgba(4,26,26,.93) 5%,rgba(4,26,26,.82) 58%,rgba(10,49,48,.56));
  }
  body[data-ppw-family] #front :is(.visit-paths,.front-section,.work-studio,.reading-desk,.ppw-software,.ppw-watch) {
    background-color: #0a292a;
    background-image: var(--tissue-shade),var(--tissue-scene);
    background-size: cover;
    background-position: center;
  }
  body[data-ppw-family] #front :is(.front-fold-section,.ppw-software) {
    --tissue-shade: linear-gradient(120deg,rgba(4,27,26,.95),rgba(9,42,43,.84) 62%,rgba(30,59,52,.5));
    background-position: 65% 35%;
  }
  body[data-ppw-family] .km-context {
    background-image: linear-gradient(105deg,rgba(2,24,26,.93),rgba(12,53,52,.78)),var(--tissue-scene);
    background-position: center 58%;
    background-size: cover;
  }
  body[data-ppw-family] #gate.gate {
    background-image: linear-gradient(105deg,rgba(4,27,28,.94),rgba(8,36,36,.82) 62%,rgba(8,48,47,.64)),var(--tissue-scene);
    background-size: cover;
    background-position: 58% center;
  }
  #front .cc-opening {
    isolation: isolate;
    position: relative;
    overflow: hidden;
    color: #f0f6ed;
    background-color: #0b3436;
    background-image: linear-gradient(95deg,rgba(3,28,29,.93) 2%,rgba(6,37,38,.86) 39%,rgba(9,55,54,.55) 76%,rgba(6,45,43,.61)),var(--tissue-scene);
    background-size: cover;
    background-position: 54% 50%;
    border-bottom: 1px solid #9dd4c56b;
  }
  .cc-opening-inner {
    position: relative;
    max-width: 1360px;
    margin: auto;
    padding: clamp(83px,8.3vw,120px) clamp(24px,7vw,110px) 14px;
    display: grid;
    grid-template-columns: minmax(0,1fr) minmax(0,1.12fr);
    align-items: center;
    gap: 2%;
  }
  #front .cc-instruction {
    position:absolute; bottom:2%; left:55%; right:5%;
    color:#d6ece3; text-align:center;
    font:500 .9rem/1.35 var(--atlas-ui);
    pointer-events:none;
    z-index:2;
  }
  #front .cc-credit {
    color: #b5e2d6;
    font: 550 .84rem/1.45 var(--atlas-ui);
    letter-spacing: .07em;
    margin: 0 0 1.4rem;
  }
  #front #capacity-title {
    font: 400 clamp(4.7rem,7.85vw,7.15rem)/.94 var(--atlas-display);
    color: #f5f6e8;
    letter-spacing: -.059em;
    margin: 0 0 1.65rem;
  }
  #front #capacity-title em { font-style: normal; color: #b3efe0; }
  #front .cc-opening blockquote {
    font: 400 clamp(1.3rem,2.05vw,1.95rem)/1.27 var(--atlas-display);
    max-width: 23ch;
    margin: 0 0 1.7rem;
    color: #f2eee0;
    text-wrap: pretty;
  }
  .cc-opening-actions { display:flex; flex-wrap:wrap; align-items:center; gap: 10px 20px; }
  #front .cc-opening-actions a {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font: 600 1rem/1.15 var(--atlas-ui);
    text-decoration: none;
  }
  #front .cc-opening-actions .cc-primary {
    background: #ffbf76;
    color: #152c26;
    padding: .8rem 1.05rem;
    border-radius: 3px;
  }
  #front .cc-opening-actions .cc-atlas-link { color:#e3f2e7; text-decoration:underline; text-underline-offset: .29em; }
  #front .cc-hand {
    position: relative;
    width: min(100%,clamp(310px,51vh,560px));
    aspect-ratio: 3/4;
    margin: 0 auto;
  }
  .cc-whole-hand { display:block; position:absolute; inset:0; }
  .cc-whole-hand picture,.cc-whole-hand img { display:block; width:100%; height:100%; }
  #front .cc-whole-hand img {
    object-fit: contain;
    mask-image: linear-gradient(90deg,transparent,black 22%,black 78%,transparent),linear-gradient(180deg,transparent,black 13%,black 80%,transparent);
    mask-composite: intersect;
  }
  #front .cc-pin {
    position: absolute;
    display:flex;
    align-items:center;
    min-height:44px;
    transform:translate(-7px,-50%);
    text-decoration:none;
    color:#fcf5dc;
    z-index:1;
    white-space:nowrap;
    font:600 clamp(.83rem,1.2vw,1rem)/1.22 var(--atlas-ui);
  }
  .cc-dot {
    display:inline-block;
    flex:none;
    width:13px; height:13px;
    border:2px solid #ffefbd;
    border-radius:50%;
    background:#674728;
    box-shadow:0 0 0 4px #1e3632a1,0 0 15px #ffe7bca1;
  }
  .cc-tag { display:flex; align-items:center; text-shadow:0 1px 4px #071f20,0 0 5px #071f20; }
  .cc-tag::before { content:''; width:clamp(8px,1.2vw,26px); height:1px; margin-right:4px; background:#f1dda6; }
  .cc-tag { background:linear-gradient(90deg,transparent,#082928bd 18%,#082928bb 80%,transparent); padding:4px 9px 4px 0; }
  .cc-pin-sense { top:19%; left:60%; }
  .cc-pin-energy { top:57%; left:65%; }
  #front .cc-pin-matrix { top:70%; right:55%; flex-direction:row-reverse; transform:translate(7px,-50%); }
  .cc-pin-matrix .cc-tag { flex-direction:row-reverse; padding:4px 0 4px 6px; }
  .cc-pin-matrix .cc-tag::before { margin:0 0 0 4px; }
  .cc-pin:is(:hover,:focus-visible) .cc-dot { background:#f9ca72; box-shadow:0 0 0 6px #114a45b0,0 0 17px #ffe7bc; }
  .cc-service-nav {
    position:relative; display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    max-width:1200px; margin:12px auto 0;
    padding:0 clamp(20px,4vw,56px);
  }
  #front .cc-service-nav a {
    display:flex; align-items:center; justify-content:space-between; gap:7px;
    text-decoration:none;
    padding:clamp(15px,2vw,26px) clamp(8px,2vw,26px);
    border-top:1px solid #d4ece272; color:#f2f6ea;
    font:500 clamp(1rem,1.55vw,1.28rem)/1.15 var(--atlas-ui);
    min-height:48px;
  }
  .cc-service-nav a+a { border-left:1px solid #b4dbc659; }
  .cc-service-nav span { color:#ffe1a7; }
  #front .cc-service-nav a:is(:hover,:focus-visible) { background-color:#092a2abf; color:#ffe0a9; }
  .cc-map-entry #capacity-opening { display:none; }
  .cc-map-entry .cc-atlas-disclosure { padding-top:65px; }
  #front .cc-atlas-disclosure>summary { min-height:48px; }
  @media (max-width:720px) {
    body[data-ppw-family] { --tissue-scene:url('/assets/capacity/scenes/matrix-phone.webp'); background-attachment:scroll; background-size:auto 900px; background-repeat:repeat-y; }
    #front .cc-opening {
      background-image:linear-gradient(174deg,rgba(5,36,36,.92) 0%,rgba(5,42,41,.8) 22%,rgba(8,53,51,.47) 55%,rgba(6,41,39,.85) 100%),var(--tissue-scene);
      background-position:52% 50%;
    }
    .cc-opening-inner { display:flex; flex-direction:column; align-items:stretch; padding:80px 19px 0; gap:0; }
    .cc-intro-copy { display:contents; }
    #front .cc-credit { order:0; margin:0 0 7px; font-size:.8rem; }
    #front #capacity-title { order:1; font-size:clamp(2.4rem,10.2vw,4rem); margin:0 0 8px; max-width:none; line-height:1.02; }
    #capacity-title br { display:none; }
    #capacity-title br::after { content:' '; }
    #front .cc-opening blockquote { order:2; font-size:clamp(1.13rem,4.7vw,1.48rem); max-width:32ch; line-height:1.25; margin:0; }
    #front .cc-instruction { position:static; order:3; margin:9px 0 0; text-align:left; font-size:.83rem; }
    #front .cc-hand { order:3; width:min(88vw,clamp(217px,39svh,335px)); margin:0 auto -4px; }
    .cc-opening-actions { order:4; gap:14px; }
    #front .cc-opening-actions a { font-size:.96rem; }
    .cc-service-nav { padding:0 12px; margin-top:16px; }
    #front .cc-service-nav a { align-items:flex-start; font-size:.94rem; padding:12px 7px; }
    .cc-pin-sense { left:57%; }
    .cc-pin-energy { left:63%; }
    #front .cc-pin-matrix { right:54%; }
  }
  @media (max-width:350px) {
    .cc-opening-inner { padding:72px 14px 0; }
    #front #capacity-title { font-size:2.02rem; }
    .cc-service-nav { padding:0 5px; }
    #front .cc-service-nav a { font-size:.88rem; }
    .cc-opening-actions { gap:9px; }
    #front .cc-opening-actions a { font-size:.87rem; }
    #front .cc-opening-actions .cc-primary { padding:.72rem .72rem; }
  }
  @media(prefers-reduced-motion:no-preference) {
    .cc-whole-hand picture { animation:cc-emerge .85s ease-out both; }
    .cc-dot { transition:box-shadow .2s ease-out,background .2s; }
    @keyframes cc-emerge { from{opacity:.6;transform:translateY(5px)} to{opacity:1;transform:translateY(0)} }
  }
}
