/* Desktop homepage: one focal point, progressive disclosure */
.desktop-home-hero,
.desktop-home-route-grid,
.desktop-home-topic-head,
.desktop-home-topic-toggle{display:none}

@media (min-width:781px){
  body[data-view="atlas"] .layout{
    display:block;
    max-width:1600px;
    padding:28px 32px 48px;
  }

  body[data-view="atlas"] .filters{
    display:none;
  }

  body[data-view="atlas"] .main-panel{
    padding:0;
    min-height:auto;
  }

  body[data-view="atlas"] #view-atlas > .view-head,
  body[data-view="atlas"] #view-atlas > .issue-lead,
  body[data-view="atlas"] #view-atlas > .section-kicker:first-of-type,
  body[data-view="atlas"] #view-atlas > .curated-routes{
    display:none;
  }

  .desktop-home-hero{
    position:relative;
    min-height:520px;
    display:grid;
    grid-template-columns:minmax(0,1.05fr) minmax(520px,.95fr);
    gap:56px;
    align-items:center;
    overflow:hidden;
    padding:42px 44px;
    border:1px solid rgba(20,35,52,.10);
    border-radius:28px;
    background:
      radial-gradient(circle at 78% 20%,rgba(108,146,186,.12),transparent 26%),
      radial-gradient(circle at 94% 72%,rgba(102,142,130,.10),transparent 28%),
      linear-gradient(135deg,#fbfaf6 0%,#f3f0e8 100%);
    box-shadow:0 24px 70px rgba(34,45,56,.08);
  }

  .desktop-home-copy{
    position:relative;
    z-index:2;
    max-width:720px;
  }

  .desktop-home-copy .eyebrow{
    margin-bottom:14px;
  }

  .desktop-home-copy h2{
    margin:0;
    max-width:700px;
    font-family:Georgia,"Songti SC","SimSun",serif;
    font-size:clamp(46px,4.4vw,74px);
    line-height:.98;
    letter-spacing:-.045em;
    font-weight:500;
  }

  .desktop-home-copy h2 em{
    font-style:normal;
    color:#607e99;
  }

  .desktop-home-deck{
    max-width:610px;
    margin:24px 0 0;
    font-size:15px;
    line-height:1.8;
    color:#65717b;
  }

  .desktop-home-actions{
    margin-top:30px;
    display:flex;
    gap:10px;
    flex-wrap:wrap;
  }

  .desktop-home-actions button{
    min-height:44px;
    padding:0 18px;
    border:1px solid #17283a;
    border-radius:999px;
    background:#17283a;
    color:#fff;
    font-size:12px;
    cursor:pointer;
  }

  .desktop-home-actions button.secondary{
    background:rgba(255,255,255,.58);
    color:#24374a;
    border-color:rgba(36,55,74,.16);
  }

  .desktop-home-actions button:hover{
    transform:translateY(-1px);
  }

  .desktop-home-metrics{
    margin-top:36px;
    display:flex;
    gap:30px;
  }

  .desktop-home-metric{
    min-width:110px;
    padding-top:10px;
    border-top:1px solid rgba(24,39,55,.18);
  }

  .desktop-home-metric b{
    display:block;
    font-family:Georgia,serif;
    font-size:30px;
    line-height:1;
    font-weight:500;
  }

  .desktop-home-metric span{
    display:block;
    margin-top:7px;
    font-size:9px;
    letter-spacing:.08em;
    color:#7b858e;
    text-transform:uppercase;
  }

  .desktop-home-visual{
    position:relative;
    min-height:430px;
    border-radius:24px;
    background:
      radial-gradient(circle at 48% 48%,rgba(112,145,177,.10),transparent 38%),
      rgba(255,255,255,.30);
  }

  .desktop-home-orbit{
    position:absolute;
    inset:0;
  }

  .desktop-home-orbit:before,
  .desktop-home-orbit:after{
    content:"";
    position:absolute;
    left:50%;
    top:50%;
    border:1px solid rgba(63,83,101,.11);
    border-radius:50%;
    transform:translate(-50%,-50%);
  }

  .desktop-home-orbit:before{width:360px;height:360px}
  .desktop-home-orbit:after{width:250px;height:250px}

  .home-person{
    position:absolute;
    display:flex;
    align-items:center;
    gap:10px;
    transform:translate(-50%,-50%);
  }

  .home-person .home-avatar{
    width:54px;
    height:54px;
    border-radius:50%;
    border:3px solid rgba(255,255,255,.92);
    box-shadow:0 8px 24px rgba(28,43,58,.15);
  }

  .home-person.primary .home-avatar{
    width:76px;
    height:76px;
  }

  .home-person-label{
    max-width:130px;
    padding:7px 9px;
    border-radius:11px;
    background:rgba(255,255,255,.82);
    box-shadow:0 6px 18px rgba(31,45,58,.08);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }

  .home-person-label b{
    display:block;
    font-size:11px;
    white-space:nowrap;
  }

  .home-person-label span{
    display:block;
    margin-top:2px;
    font-size:8px;
    color:#7a858e;
    white-space:nowrap;
  }

  .home-flow-line{
    position:absolute;
    height:1px;
    transform-origin:left center;
    background:linear-gradient(90deg,rgba(96,126,153,.05),rgba(96,126,153,.42),rgba(96,126,153,.05));
    overflow:visible;
  }

  .home-flow-line:after{
    content:"";
    position:absolute;
    top:-2px;
    left:0;
    width:5px;
    height:5px;
    border-radius:50%;
    background:#6f97bd;
    box-shadow:0 0 12px rgba(111,151,189,.7);
    animation:homeSignal 4.8s linear infinite;
  }

  @keyframes homeSignal{
    from{left:0}
    to{left:100%}
  }

  .desktop-home-section{
    margin-top:54px;
  }

  .desktop-home-section-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:30px;
    margin-bottom:18px;
  }

  .desktop-home-section-head h3{
    margin:4px 0 0;
    font-family:Georgia,"Songti SC",serif;
    font-size:30px;
    font-weight:500;
  }

  .desktop-home-section-head p{
    margin:0;
    max-width:480px;
    font-size:11px;
    line-height:1.6;
    color:#7a848c;
    text-align:right;
  }

  .desktop-home-route-grid{
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    gap:12px;
  }

  .desktop-home-route{
    position:relative;
    min-height:230px;
    padding:20px 18px;
    border:1px solid rgba(24,39,55,.10);
    border-radius:20px;
    background:rgba(255,255,255,.45);
    text-align:left;
    cursor:pointer;
    overflow:hidden;
  }

  .desktop-home-route:hover{
    background:#fff;
    box-shadow:0 15px 34px rgba(32,45,58,.07);
    transform:translateY(-2px);
  }

  .desktop-home-route-no{
    font-family:Georgia,serif;
    font-size:36px;
    color:#c6c1b7;
  }

  .desktop-home-route small{
    display:block;
    margin-top:22px;
    font-size:8px;
    letter-spacing:.13em;
    color:#7d878f;
  }

  .desktop-home-route h4{
    margin:7px 0 0;
    font-family:Georgia,"Songti SC",serif;
    font-size:22px;
    font-weight:500;
    line-height:1.2;
  }

  .home-route-avatars{
    position:absolute;
    left:18px;
    bottom:20px;
    display:flex;
  }

  .home-route-avatars .mini-avatar{
    width:34px;
    height:34px;
    margin-left:-7px;
    border:3px solid #f8f6f0;
    box-shadow:0 4px 10px rgba(24,39,55,.07);
  }

  .home-route-avatars .mini-avatar:first-child{margin-left:0}

  .desktop-home-topic-head{
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    margin:54px 0 16px;
  }

  .desktop-home-topic-head h3{
    margin:4px 0 0;
    font-family:Georgia,"Songti SC",serif;
    font-size:30px;
    font-weight:500;
  }

  .desktop-home-topic-toggle{
    display:inline-flex;
    align-items:center;
    gap:7px;
    border:0;
    background:transparent;
    color:#5f6f7c;
    font-size:11px;
    cursor:pointer;
  }

  body[data-view="atlas"] .territory-kicker{display:none}

  body[data-view="atlas"] .territory-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
    border:0;
    gap:12px;
  }

  body[data-view="atlas"] .territory{
    min-height:190px;
    border:1px solid rgba(24,39,55,.10);
    border-radius:18px;
    padding:20px 18px 42px;
    background:rgba(255,255,255,.40);
  }

  body[data-view="atlas"] .territory:hover{
    background:#fff;
    box-shadow:0 14px 32px rgba(24,39,55,.06);
  }

  body[data-view="atlas"] .territory h3{font-size:21px}

  body[data-view="atlas"] .territory:nth-child(n+7){
    display:none;
  }

  body[data-view="atlas"].show-all-topics .territory:nth-child(n+7){
    display:block;
  }

  body[data-view="atlas"] .territory .t-names{
    margin-top:16px;
  }

  body[data-view="atlas"] .territory .mini-person{
    padding:4px 7px;
    margin:0 4px 4px 0;
    border:0;
    border-radius:999px;
    background:#efede7;
    font-size:9px;
  }

  body[data-view="atlas"] .territory .t-foot{
    font-size:9px;
  }

  body[data-view="atlas"] .method{
    margin-top:50px;
  }
}

@media(min-width:1500px){
  .desktop-home-hero{min-height:560px}
}
