
  .page-view{display:none}
  .page-view.active{display:block;animation:pageFadeIn .36s ease both}
  @keyframes pageFadeIn{
    from{opacity:0;transform:translateY(8px)}
    to{opacity:1;transform:none}
  }

  .archive-hero{
    padding:62px 10px 34px;
    display:flex;
    align-items:flex-end;
    justify-content:space-between;
    gap:28px;
  }
  .archive-hero h1{
    margin:0;
    font-size:clamp(52px,8vw,110px);
    line-height:.88;
    letter-spacing:-.065em;
  }
  .archive-hero p{
    max-width:480px;
    margin:0 0 6px;
    color:var(--muted);
    line-height:1.8;
  }

  .archive-layout{
    display:grid;
    grid-template-columns:minmax(0,1fr) 290px;
    gap:20px;
    align-items:start;
  }
  .archive-main{min-width:0}
  .archive-toolbar{
    min-height:58px;
    border-radius:20px;
    padding:0 18px;
    margin-bottom:16px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    font-size:12px;
    color:rgba(20,22,26,.58);
  }
  body.night .archive-toolbar{color:rgba(255,255,255,.52)}

  .archive-list-page{display:grid;gap:14px}
  .archive-entry{
    display:grid;
    grid-template-columns:72px minmax(0,1fr) auto;
    gap:20px;
    align-items:center;
    min-height:128px;
    padding:18px 20px;
    border-radius:24px;
    transition:transform .22s ease, background .22s ease;
  }
  .archive-entry:hover{transform:translateY(-2px)}
  .archive-entry-no{
    font-size:12px;
    color:rgba(20,22,26,.42);
  }
  .archive-entry h2{
    margin:0 0 9px;
    font-size:22px;
    letter-spacing:-.03em;
  }
  .archive-entry p{
    margin:0;
    color:rgba(20,22,26,.68);
    line-height:1.65;
    font-size:14px;
  }
  .archive-entry-meta{
    min-width:92px;
    text-align:right;
    font-size:11px;
    color:rgba(20,22,26,.44);
  }
  body.night .archive-entry-no,
  body.night .archive-entry-meta{color:rgba(255,255,255,.42)}
  body.night .archive-entry p{color:rgba(255,255,255,.68)}

  .article-sidebar{
    position:sticky;
    top:108px;
    display:grid;
    gap:16px;
    min-width:0;
  }

  .archive-aside{
    position:static;
    padding:22px;
    border-radius:24px;
  }
  .archive-aside h3{margin:0;font-size:16px}

  
  .article-category-card{
    height:286px;
    overflow:hidden;
    display:grid;
    grid-template-rows:auto minmax(0,1fr);
    gap:12px;
  }
  .article-category-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .article-category-head span{
    font-size:10px;
    color:rgba(20,22,26,.44);
    white-space:nowrap;
  }
  #articleCategoryFilters{
    min-height:0;
    display:grid;
    grid-template-rows:36px minmax(0,1fr) 34px;
    gap:7px;
  }
  .article-category-all,
  .article-category-item{
    min-width:0;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    padding:0 10px;
    border:1px solid rgba(20,22,26,.08);
    border-radius:12px;
    background:rgba(255,255,255,.14);
    color:rgba(20,22,26,.70);
    font-size:12px;
    transition:transform .16s ease, background .16s ease, border-color .16s ease;
  }
  .article-category-all:hover,
  .article-category-item:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.26);
    border-color:rgba(20,22,26,.12);
  }
  .article-category-all.active,
  .article-category-item.active{
    background:rgba(20,22,26,.78);
    border-color:transparent;
    color:#fff;
  }
  .article-category-all span,
  .article-category-item span{
    opacity:.56;
    flex:0 0 auto;
  }
  .article-category-list{
    min-height:0;
    display:grid;
    grid-template-rows:repeat(4,minmax(0,1fr));
    gap:5px;
  }
  .article-category-empty-slot{
    min-height:0;
    border-radius:10px;
  }
  .article-category-nav{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 34px;
    align-items:center;
    gap:7px;
  }
  .article-category-arrow{
    width:34px;
    height:34px;
    border:1px solid rgba(20,22,26,.10);
    border-radius:12px;
    background:rgba(255,255,255,.22);
    color:var(--text);
    cursor:pointer;
    display:grid;
    place-items:center;
    font-size:18px;
    line-height:1;
    transition:transform .16s ease, background .16s ease, opacity .16s ease;
  }
  .article-category-arrow:hover:not(:disabled){
    transform:translateY(-1px);
    background:rgba(255,255,255,.34);
  }
  .article-category-arrow:disabled{
    opacity:.26;
    cursor:default;
  }
  .article-category-page{
    height:34px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.26);
    font-size:10px;
    letter-spacing:.06em;
    color:rgba(20,22,26,.52);
  }
  body.night .article-category-head span{color:rgba(255,255,255,.42)}
  body.night .article-category-all,
  body.night .article-category-item{
    background:rgba(255,255,255,.06);
    border-color:rgba(255,255,255,.10);
    color:rgba(255,255,255,.74);
  }
  body.night .article-category-all:hover,
  body.night .article-category-item:hover{background:rgba(255,255,255,.11)}
  body.night .article-category-all.active,
  body.night .article-category-item.active{
    background:#f4f5f6;
    color:#17191d;
  }
  body.night .article-category-arrow{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.10);
    color:#fff;
  }
  body.night .article-category-arrow:hover:not(:disabled){background:rgba(255,255,255,.12)}
  body.night .article-category-page{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.10);
    color:rgba(255,255,255,.48);
  }


  
  .year-archive-card{
    height:286px;
    padding:19px;
    border-radius:24px;
    overflow:hidden;
    display:grid;
    grid-template-rows:auto auto minmax(0,1fr);
    gap:13px;
  }
  .year-archive-head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
  }
  .year-archive-head h3{
    margin:0;
    font-size:15px;
    letter-spacing:.01em;
  }
  .year-archive-head span{
    font-size:10px;
    color:rgba(20,22,26,.44);
    white-space:nowrap;
  }
  .year-archive-nav{
    display:grid;
    grid-template-columns:34px minmax(0,1fr) 34px;
    align-items:center;
    gap:7px;
  }
  .year-archive-year{
    height:34px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.18);
    border:1px solid rgba(255,255,255,.26);
    font-size:13px;
    font-weight:720;
    letter-spacing:.08em;
  }
  .year-archive-arrow{
    width:34px;
    height:34px;
    border:1px solid rgba(20,22,26,.10);
    border-radius:12px;
    background:rgba(255,255,255,.22);
    color:var(--text);
    cursor:pointer;
    display:grid;
    place-items:center;
    font-size:18px;
    line-height:1;
    transition:transform .16s ease, background .16s ease, opacity .16s ease;
  }
  .year-archive-arrow:hover:not(:disabled){
    transform:translateY(-1px);
    background:rgba(255,255,255,.34);
  }
  .year-archive-arrow:disabled{
    opacity:.26;
    cursor:default;
  }
  .year-archive-months{
    min-height:0;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    grid-template-rows:repeat(3,minmax(0,1fr));
    gap:7px;
  }
  .year-archive-month{
    min-width:0;
    min-height:0;
    border-radius:12px;
    border:1px solid rgba(20,22,26,.08);
    background:rgba(255,255,255,.17);
    color:rgba(20,22,26,.74);
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:2px;
    text-decoration:none;
    transition:transform .16s ease, background .16s ease, border-color .16s ease;
  }
  a.year-archive-month:hover{
    transform:translateY(-1px);
    background:rgba(255,255,255,.30);
    border-color:rgba(20,22,26,.12);
  }
  .year-archive-month b{
    font-size:11px;
    line-height:1;
    font-weight:720;
  }
  .year-archive-month span{
    font-size:8px;
    line-height:1;
    color:rgba(20,22,26,.42);
  }
  .year-archive-month.empty{
    opacity:.38;
    background:rgba(255,255,255,.08);
    border-style:dashed;
  }
  .year-archive-month.active{
    color:#fff;
    background:rgba(20,22,26,.78);
    border-color:transparent;
  }
  .year-archive-month.active span{
    color:rgba(255,255,255,.68);
  }
  body.night .year-archive-head span{color:rgba(255,255,255,.42)}
  body.night .year-archive-year,
  body.night .year-archive-month{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.10);
    color:rgba(255,255,255,.76);
  }
  body.night .year-archive-arrow{
    background:rgba(255,255,255,.07);
    border-color:rgba(255,255,255,.10);
    color:#fff;
  }
  body.night .year-archive-arrow:hover:not(:disabled),
  body.night a.year-archive-month:hover{background:rgba(255,255,255,.12)}
  body.night .year-archive-month span{color:rgba(255,255,255,.42)}
  body.night .year-archive-month.empty{background:rgba(255,255,255,.035)}
  body.night .year-archive-month.active{
    background:#f4f5f6;
    color:#17191d;
  }
  body.night .year-archive-month.active span{color:rgba(20,22,26,.55)}

  .pagination{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:8px;
    padding:24px 0 8px;
  }
  .pagination button{
    min-width:42px;
    height:42px;
    padding:0 13px;
    border:1px solid rgba(255,255,255,.40);
    border-radius:14px;
    background:rgba(255,255,255,.24);
    color:var(--text);
    cursor:pointer;
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    transition:transform .18s ease, background .18s ease, opacity .18s ease;
  }
  .pagination button:hover:not(:disabled){transform:translateY(-2px);background:rgba(255,255,255,.36)}
  .pagination button.active{background:rgba(20,22,26,.78);color:#fff}
  .pagination button:disabled{opacity:.34;cursor:default}
  .pagination-ellipsis{
    min-width:24px;
    height:42px;
    display:grid;
    place-items:center;
    color:rgba(20,22,26,.46);
    font-size:14px;
    line-height:1;
    user-select:none;
  }
  body.night .pagination-ellipsis{color:rgba(255,255,255,.46)}
  #articlePagination{
    flex-wrap:nowrap;
    white-space:nowrap;
  }

  
  .article-toolbar{
    min-height:58px;
  }
  .article-toolbar-right{
    margin-left:auto;
    display:flex;
    align-items:center;
    justify-content:flex-end;
    min-width:0;
  }
  #articlePaginationTop{
    padding:0;
    gap:5px;
    flex-wrap:nowrap;
    white-space:nowrap;
    justify-content:flex-end;
  }
  #articlePaginationTop button{
    min-width:32px;
    width:32px;
    height:32px;
    padding:0;
    border-radius:10px;
    font-size:10px;
  }
  #articlePaginationTop .pagination-ellipsis{
    min-width:16px;
    width:16px;
    height:32px;
    font-size:11px;
  }
  #articlePaginationTop[hidden]{display:none !important}
  #articlePageInfo[hidden]{display:none !important}
  body.night .pagination button{
    background:rgba(255,255,255,.08);
    border-color:rgba(255,255,255,.12);
  }
  body.night .pagination button.active{background:#f4f5f6;color:#17191d}

  .photo-archive-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:18px;
  }
  .photo-archive-item{
    position:relative;
    min-height:300px;
    overflow:hidden;
    border-radius:28px;
    cursor:pointer;
  }
  .photo-archive-image{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transition:transform .55s ease;
  }
  .photo-archive-item:hover .photo-archive-image{transform:scale(1.035)}
  .photo-archive-shade{
    position:absolute;
    inset:0;
    background:linear-gradient(180deg,transparent 40%,rgba(8,12,18,.62));
  }
  .photo-archive-caption{
    position:absolute;
    z-index:2;
    left:20px;
    right:20px;
    bottom:18px;
    color:#fff;
  }
  .photo-archive-caption b{display:block;font-size:18px;margin-bottom:5px}
  .photo-archive-caption span{font-size:11px;color:rgba(255,255,255,.70)}

  .project-archive-grid{
    display:grid;
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:18px;
  }
  .project-entry{
    min-height:250px;
    padding:26px;
    border-radius:28px;
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:transform .22s ease;
  }
  .project-entry:hover{transform:translateY(-3px)}
  .project-entry h2{margin:0 0 12px;font-size:28px;letter-spacing:-.04em}
  .project-entry p{margin:0;color:rgba(20,22,26,.68);line-height:1.7}
  .project-entry .project-meta{
    margin-top:28px;
    display:flex;
    justify-content:space-between;
    font-size:11px;
    color:rgba(20,22,26,.45);
  }
  body.night .project-entry p{color:rgba(255,255,255,.70)}
  body.night .project-entry .project-meta{color:rgba(255,255,255,.44)}

  .about-grid{
    display:grid;
    grid-template-columns:1.35fr .65fr;
    gap:20px;
  }
  .about-card{
    min-height:340px;
    border-radius:30px;
    padding:30px;
    display:flex;
    gap:26px;
    align-items:flex-start;
  }
  .about-avatar{
    width:128px;
    height:128px;
    flex:0 0 auto;
    border-radius:34px;
    background:radial-gradient(circle at 28% 24%, #e7ddd3 0 14%, transparent 15%), linear-gradient(145deg,#8fa0a9,#39444d 70%);
    border:1px solid rgba(255,255,255,.32);
  }
  .about-card h2{font-size:38px;margin:0 0 14px;letter-spacing:-.05em}
  .about-card p{margin:0;line-height:1.8;color:rgba(20,22,26,.70)}
  body.night .about-card p{color:rgba(255,255,255,.72)}
  .about-links{display:grid;gap:10px;margin-top:18px}
  .about-links a{
    padding:14px 16px;
    border-radius:17px;
    background:rgba(255,255,255,.20);
    border:1px solid rgba(255,255,255,.28);
  }

  .archive-lightbox{
    position:fixed;
    inset:0;
    z-index:150;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(8,10,14,.78);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    opacity:0;
    visibility:hidden;
    transition:.24s ease;
  }
  .archive-lightbox.open{opacity:1;visibility:visible}
  .archive-lightbox-card{
    width:min(92vw,980px);
    background:#fff;
    padding:16px 16px 22px;
    border-radius:20px;
    box-shadow:0 30px 90px rgba(0,0,0,.32);
  }
  .archive-lightbox-image{
    width:100%;
    aspect-ratio:16/10;
    border-radius:14px;
    background-size:cover;
    background-position:center;
  }
  .archive-lightbox-copy{padding:16px 4px 0;color:#17191d}
  .archive-lightbox-copy b{display:block;margin-bottom:6px}
  .archive-lightbox-copy span{font-size:13px;color:rgba(20,22,26,.62)}
  .archive-lightbox-close{
    position:absolute;
    top:22px;
    right:22px;
    width:44px;
    height:44px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.14);
    color:#fff;
    font-size:26px;
    cursor:pointer;
  }

  @media (max-width:900px){
    .archive-layout{grid-template-columns:1fr}
    .article-sidebar{position:static}
    .photo-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
    .about-grid{grid-template-columns:1fr}
  }
  @media (max-width:680px){
    .archive-hero{display:block;padding-top:38px}
    .archive-hero p{margin-top:22px}
    .archive-entry{grid-template-columns:42px minmax(0,1fr)}
    .archive-entry-meta{grid-column:2;text-align:left}
    .photo-archive-grid,
    .project-archive-grid{grid-template-columns:1fr}
    .about-card{display:block}
    .about-avatar{margin-bottom:24px}
  }


  

  
  .archive-hero h1{
    font-size:clamp(38px, 5vw, 66px);
    line-height:1;
    letter-spacing:.18em;
    font-weight:720;
    margin-right:-.18em;
  }

  
  .archive-hero{
    padding:38px 10px 28px;
  }

  
  @media (min-width:821px){
    body[data-route="photos"] .shell,
    body[data-route="projects"] .shell{
      height:100vh;
      padding-bottom:0;
      overflow:hidden;
    }

    body[data-route="photos"] footer,
    body[data-route="projects"] footer{
      display:none;
    }

    body[data-route="photos"],
    body[data-route="projects"]{
      overflow-y:hidden;
    }

    #page-photos.active,
    #page-projects.active{
      display:flex;
      flex-direction:column;
      height:calc(100vh - 118px);
      min-height:0;
      overflow:hidden;
    }

    #page-photos .archive-hero,
    #page-projects .archive-hero{
      flex:0 0 auto;
      padding:18px 10px 16px;
    }

    #page-photos .archive-hero h1,
    #page-projects .archive-hero h1{
      font-size:clamp(38px, 4vw, 58px);
    }

    #page-photos .archive-hero p,
    #page-projects .archive-hero p{
      max-width:430px;
      line-height:1.55;
      font-size:13px;
    }

    #page-photos .archive-toolbar,
    #page-projects .archive-toolbar{
      flex:0 0 48px;
      min-height:48px;
      margin-bottom:12px;
    }

    #page-photos .photo-archive-grid{
      flex:1 1 auto;
      min-height:0;
      grid-template-columns:repeat(3,minmax(0,1fr));
      grid-template-rows:repeat(2,minmax(0,1fr));
      gap:14px;
    }

    #page-photos .photo-archive-item{
      min-height:0;
      height:100%;
      border-radius:24px;
    }

    #page-projects .project-archive-grid{
      flex:1 1 auto;
      min-height:0;
      grid-template-columns:repeat(2,minmax(0,1fr));
      grid-template-rows:repeat(2,minmax(0,1fr));
      gap:14px;
    }

    #page-projects .project-entry{
      min-height:0;
      height:100%;
      padding:20px 22px;
      border-radius:24px;
    }

    #page-projects .project-entry h2{
      font-size:24px;
      margin-bottom:8px;
    }

    #page-projects .project-entry p{
      font-size:13px;
      line-height:1.55;
    }

    #page-projects .project-entry .project-meta{
      margin-top:14px;
    }

    #page-photos .pagination,
    #page-projects .pagination{
      flex:0 0 58px;
      padding:10px 0 6px;
      align-items:center;
    }

    #page-photos .pagination button,
    #page-projects .pagination button{
      height:38px;
      min-width:38px;
      border-radius:13px;
    }
  }

  
  @media (max-width:820px){
    body[data-route="photos"] .shell,
    body[data-route="projects"] .shell{
      height:auto;
      overflow:visible;
      padding-bottom:70px;
    }

    body[data-route="photos"] footer,
    body[data-route="projects"] footer{
      display:flex;
    }

    #page-photos.active,
    #page-projects.active{
      display:block;
      height:auto;
      overflow:visible;
    }

    .archive-hero h1{
      font-size:clamp(36px, 12vw, 54px);
      letter-spacing:.15em;
      margin-right:-.15em;
    }
  }


  

  .photo-category-grid{
    display:grid;
    grid-template-columns:repeat(3,minmax(0,1fr));
    gap:16px;
  }

  .photo-category-card{
    position:relative;
    min-height:250px;
    overflow:hidden;
    border-radius:28px;
    cursor:pointer;
    border:0;
    padding:0;
    text-align:left;
    color:#fff;
    background:transparent;
  }

  .photo-category-cover{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
    transition:transform .55s ease;
  }

  .photo-category-card:hover .photo-category-cover{
    transform:scale(1.035);
  }

  .photo-category-overlay{
    position:absolute;
    inset:0;
    background:
      linear-gradient(180deg, rgba(8,12,18,.02) 28%, rgba(8,12,18,.66) 100%);
  }

  .photo-category-copy{
    position:absolute;
    z-index:2;
    left:22px;
    right:22px;
    bottom:20px;
  }

  .photo-category-kicker{
    display:block;
    margin-bottom:8px;
    font-size:10px;
    letter-spacing:.16em;
    text-transform:uppercase;
    color:rgba(255,255,255,.68);
  }

  .photo-category-copy h2{
    margin:0 0 8px;
    font-size:26px;
    letter-spacing:.04em;
    line-height:1.1;
  }

  .photo-category-meta{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:14px;
    font-size:11px;
    color:rgba(255,255,255,.72);
  }

  .photo-category-arrow{
    display:grid;
    place-items:center;
    width:34px;
    height:34px;
    border-radius:50%;
    border:1px solid rgba(255,255,255,.32);
    background:rgba(255,255,255,.14);
    backdrop-filter:blur(10px);
    -webkit-backdrop-filter:blur(10px);
    flex:0 0 auto;
  }

  
  @media (min-width:821px){
    #page-photos .photo-category-grid{
      flex:1 1 auto;
      min-height:0;
      grid-template-columns:repeat(3,minmax(0,1fr));
      grid-template-rows:repeat(2,minmax(0,1fr));
      gap:14px;
    }

    #page-photos .photo-category-card{
      min-height:0;
      height:100%;
      border-radius:24px;
    }

    #page-photos .photo-category-copy h2{
      font-size:23px;
    }
  }

  @media (max-width:900px){
    .photo-category-grid{
      grid-template-columns:repeat(2,minmax(0,1fr));
    }
  }

  @media (max-width:680px){
    .photo-category-grid{
      grid-template-columns:1fr;
    }

    .photo-category-card{
      min-height:280px;
    }
  }

  
  .category-viewer{
    position:fixed;
    inset:0;
    z-index:155;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(8,10,14,.76);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    opacity:0;
    visibility:hidden;
    transition:.24s ease;
  }

  .category-viewer.open{
    opacity:1;
    visibility:visible;
  }

  .category-viewer-card{
    position:relative;
    width:min(92vw,900px);
    min-height:520px;
    border-radius:30px;
    overflow:hidden;
    background:#f4f3f1;
    color:#17191d;
    box-shadow:0 30px 90px rgba(0,0,0,.30);
  }

  .category-viewer-cover{
    position:absolute;
    inset:0;
    background-size:cover;
    background-position:center;
  }

  .category-viewer-cover::after{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(90deg, rgba(245,244,241,.96) 0%, rgba(245,244,241,.88) 42%, rgba(245,244,241,.16) 72%, rgba(245,244,241,.06) 100%);
  }

  .category-viewer-copy{
    position:relative;
    z-index:2;
    width:min(55%,460px);
    padding:54px 46px;
  }

  .category-viewer-copy h2{
    margin:0 0 16px;
    font-size:42px;
    letter-spacing:.05em;
  }

  .category-viewer-copy p{
    margin:0 0 20px;
    line-height:1.8;
    color:rgba(20,22,26,.68);
  }

  .category-viewer-copy span{
    font-size:12px;
    color:rgba(20,22,26,.46);
  }

  .category-viewer-close{
    position:absolute;
    z-index:3;
    top:18px;
    right:18px;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:rgba(20,22,26,.10);
    color:#17191d;
    font-size:24px;
    cursor:pointer;
  }

  @media (max-width:720px){
    .category-viewer-card{
      min-height:520px;
    }

    .category-viewer-cover::after{
      background:linear-gradient(180deg, rgba(245,244,241,.92) 0%, rgba(245,244,241,.78) 55%, rgba(245,244,241,.28) 100%);
    }

    .category-viewer-copy{
      width:100%;
      padding:46px 28px;
    }
  }


  

  
  .collection-card > .arrow,
  .collection-card .arrow[aria-label="打开收藏"]{
    display:none !important;
  }

  
  .article-preview[data-home-article]{
    cursor:pointer;
  }

  
  .article-reader{
    position:fixed;
    inset:0;
    z-index:170;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(10,12,16,.72);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    opacity:0;
    visibility:hidden;
    transition:opacity .24s ease, visibility .24s ease;
  }

  .article-reader.open{
    opacity:1;
    visibility:visible;
  }

  .article-reader-panel{
    position:relative;
    width:min(92vw,920px);
    max-height:90vh;
    overflow:auto;
    border-radius:30px;
    background:rgba(250,249,247,.97);
    color:#17191d;
    box-shadow:0 34px 100px rgba(0,0,0,.30);
  }

  .article-reader-content{
    width:min(100%,760px);
    margin:0 auto;
    padding:64px 54px 72px;
  }

  .article-reader-content .eyebrow{
    color:rgba(20,22,26,.44);
    margin-bottom:18px;
  }

  .article-reader-content h1{
    margin:0 0 34px;
    font-size:clamp(34px,5vw,58px);
    line-height:1.12;
    letter-spacing:-.045em;
  }

  .article-reader-body{
    font-size:16px;
    line-height:2;
    color:rgba(20,22,26,.78);
  }

  .article-reader-body p{
    margin:0 0 1.5em;
  }

  .article-reader-close{
    position:sticky;
    float:right;
    top:18px;
    right:18px;
    z-index:3;
    width:42px;
    height:42px;
    margin:18px 18px 0 0;
    border:0;
    border-radius:50%;
    background:rgba(20,22,26,.08);
    color:#17191d;
    font-size:25px;
    cursor:pointer;
  }

  
  @media (min-width:821px){
    #page-photos .photo-category-grid{
      grid-template-columns:repeat(4,minmax(0,1fr));
      grid-template-rows:repeat(3,minmax(0,1fr));
      gap:10px;
    }

    #page-photos .photo-category-card{
      border-radius:18px;
      min-height:0;
    }

    #page-photos .photo-category-copy{
      left:15px;
      right:15px;
      bottom:13px;
    }

    #page-photos .photo-category-kicker{
      margin-bottom:5px;
      font-size:8px;
      letter-spacing:.12em;
    }

    #page-photos .photo-category-copy h2{
      margin-bottom:5px;
      font-size:17px;
      letter-spacing:.03em;
    }

    #page-photos .photo-category-meta{
      font-size:9px;
    }

    #page-photos .photo-category-arrow{
      width:27px;
      height:27px;
      font-size:12px;
    }

    
    #page-photos .pagination{
      flex-basis:44px;
      padding:5px 0 2px;
    }

    
    #page-projects .project-archive-grid{
      grid-template-columns:repeat(4,minmax(0,1fr));
      grid-template-rows:repeat(3,minmax(0,1fr));
      gap:10px;
    }

    #page-projects .project-entry{
      padding:15px 16px;
      border-radius:18px;
    }

    #page-projects .project-entry .eyebrow{
      font-size:8px;
      margin-bottom:8px;
    }

    #page-projects .project-entry h2{
      font-size:17px;
      margin-bottom:6px;
      letter-spacing:-.025em;
    }

    #page-projects .project-entry p{
      font-size:11px;
      line-height:1.45;
      display:-webkit-box;
      -webkit-line-clamp:3;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }

    #page-projects .project-entry .project-meta{
      margin-top:8px;
      font-size:9px;
    }

    #page-projects .pagination{
      flex-basis:44px;
      padding:5px 0 2px;
    }

    #page-photos .pagination button,
    #page-projects .pagination button{
      height:32px;
      min-width:32px;
      padding:0 10px;
      border-radius:11px;
      font-size:11px;
    }
  }

  @media (max-width:1100px) and (min-width:821px){
    #page-photos .photo-category-copy h2,
    #page-projects .project-entry h2{
      font-size:15px;
    }

    #page-projects .project-entry p{
      font-size:10px;
    }
  }

  @media (max-width:820px){
    .article-reader{
      padding:12px;
    }

    .article-reader-content{
      padding:52px 24px 60px;
    }
  }


  
  .home-project-link{
    appearance:none;
    width:100%;
    color:inherit;
    font:inherit;
    text-align:left;
    cursor:pointer;
  }
  .home-project-link:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.38);
  }
  body.night .home-project-link:hover{
    background:rgba(255,255,255,.13);
  }

  .project-reader{
    position:fixed;
    inset:0;
    z-index:172;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:28px;
    background:rgba(10,12,16,.74);
    backdrop-filter:blur(12px);
    -webkit-backdrop-filter:blur(12px);
    opacity:0;
    visibility:hidden;
    transition:opacity .24s ease, visibility .24s ease;
  }
  .project-reader.open{opacity:1;visibility:visible}
  .project-reader-panel{
    position:relative;
    width:min(92vw,980px);
    max-height:90vh;
    overflow:auto;
    display:grid;
    grid-template-columns:minmax(280px,.82fr) minmax(0,1.18fr);
    border-radius:30px;
    background:rgba(250,249,247,.98);
    color:#17191d;
    box-shadow:0 34px 100px rgba(0,0,0,.30);
  }
  .project-reader-visual{
    min-height:520px;
    background:
      linear-gradient(180deg, rgba(255,255,255,.04), rgba(10,14,18,.12)),
      var(--settings-bg-1);
    background-size:cover;
    background-position:center;
  }
  .project-reader-content{
    padding:64px 54px 54px;
    display:flex;
    flex-direction:column;
    justify-content:center;
  }
  .project-reader-content .eyebrow{
    color:rgba(20,22,26,.44);
    margin-bottom:18px;
  }
  .project-reader-content h1{
    margin:0 0 24px;
    font-size:clamp(34px,5vw,56px);
    line-height:1.06;
    letter-spacing:-.045em;
  }
  .project-reader-content p{
    margin:0;
    font-size:15px;
    line-height:1.9;
    color:rgba(20,22,26,.72);
  }
  .project-reader-status{
    margin-top:34px;
    padding-top:18px;
    border-top:1px solid rgba(20,22,26,.10);
    display:flex;
    justify-content:space-between;
    gap:18px;
    font-size:10px;
    letter-spacing:.12em;
    color:rgba(20,22,26,.44);
  }
  .project-reader-close{
    position:absolute;
    top:18px;
    right:18px;
    z-index:4;
    width:42px;
    height:42px;
    border:0;
    border-radius:50%;
    background:rgba(255,255,255,.72);
    color:#17191d;
    font-size:25px;
    cursor:pointer;
    box-shadow:0 8px 24px rgba(0,0,0,.08);
  }
  .strip-item[data-open-article],
  .strip-item[data-open-photo-category],
  .collection-item[data-direct-link]{cursor:pointer}

  @media (max-width:760px){
    .project-reader{padding:12px}
    .project-reader-panel{display:block}
    .project-reader-visual{min-height:240px}
    .project-reader-content{padding:36px 26px 46px}
  }


  
  #homeCustomSlots{
    display:grid;
    grid-template-rows:1.06fr .94fr 1fr;
    gap:12px;
  }

  .home-custom-slot{
    display:block;
    min-height:0;
    height:100%;
    border:0;
    color:inherit;
    text-align:left;
    cursor:pointer;
    overflow:hidden;
    border-radius:22px;
    transition:transform .2s ease;
  }

  .home-custom-slot:hover{
    transform:translateY(-2px);
  }

  .home-custom-slot .strip-inner{
    height:100%;
  }

  .home-custom-slot.has-thumb .strip-inner{
    grid-template-columns:minmax(0,1fr) 120px;
  }

  .home-custom-slot.no-thumb .strip-inner{
    grid-template-columns:1fr;
  }

  
  @media (min-width:821px){
    #page-photos .photo-category-grid{
      display:grid;
      grid-template-columns:repeat(12,minmax(0,1fr));
      grid-template-rows:repeat(6,minmax(0,1fr));
      gap:8px;
      flex:1 1 auto;
      min-height:0;
    }

    #page-photos .photo-category-card{
      min-width:0;
      min-height:0;
      height:auto;
      border-radius:18px;
    }

    #page-photos .photo-category-card:nth-child(1){
      grid-column:1 / 5;
      grid-row:1 / 3;
      margin-right:4px;
    }
    #page-photos .photo-category-card:nth-child(2){
      grid-column:5 / 8;
      grid-row:1 / 2;
      margin-left:5px;
      margin-bottom:3px;
    }
    #page-photos .photo-category-card:nth-child(3){
      grid-column:8 / 13;
      grid-row:1 / 3;
      margin-left:2px;
    }
    #page-photos .photo-category-card:nth-child(4){
      grid-column:5 / 9;
      grid-row:2 / 4;
      margin-top:5px;
      margin-right:6px;
    }
    #page-photos .photo-category-card:nth-child(5){
      grid-column:1 / 4;
      grid-row:3 / 5;
      margin-top:3px;
      margin-right:7px;
    }
    #page-photos .photo-category-card:nth-child(6){
      grid-column:9 / 13;
      grid-row:3 / 4;
      margin-left:4px;
      margin-bottom:4px;
    }
    #page-photos .photo-category-card:nth-child(7){
      grid-column:4 / 7;
      grid-row:4 / 6;
      margin-left:3px;
      margin-right:5px;
    }
    #page-photos .photo-category-card:nth-child(8){
      grid-column:7 / 10;
      grid-row:4 / 5;
      margin-left:4px;
      margin-bottom:5px;
    }
    #page-photos .photo-category-card:nth-child(9){
      grid-column:10 / 13;
      grid-row:4 / 6;
      margin-left:6px;
    }
    #page-photos .photo-category-card:nth-child(10){
      grid-column:1 / 4;
      grid-row:5 / 7;
      margin-right:4px;
      margin-top:4px;
    }
    #page-photos .photo-category-card:nth-child(11){
      grid-column:4 / 9;
      grid-row:6 / 7;
      margin-left:5px;
      margin-right:8px;
      margin-top:2px;
    }
    #page-photos .photo-category-card:nth-child(12){
      grid-column:9 / 13;
      grid-row:6 / 7;
      margin-left:3px;
      margin-top:5px;
    }

    #page-photos .photo-category-copy{
      left:14px;
      right:14px;
      bottom:12px;
    }

    #page-photos .photo-category-copy h2{
      font-size:15px;
      margin-bottom:4px;
    }

    #page-photos .photo-category-kicker{
      font-size:7px;
      margin-bottom:4px;
    }

    #page-photos .photo-category-meta{
      font-size:8px;
    }

    #page-photos .photo-category-arrow{
      width:24px;
      height:24px;
      font-size:11px;
    }

    
    #page-projects .project-archive-grid{
      display:grid;
      grid-template-columns:repeat(12,minmax(0,1fr));
      grid-template-rows:repeat(6,minmax(0,1fr));
      gap:8px;
      flex:1 1 auto;
      min-height:0;
    }

    #page-projects .project-entry{
      min-width:0;
      min-height:0;
      height:auto;
      padding:13px 14px;
      border-radius:18px;
      overflow:hidden;
    }

    #page-projects .project-entry:nth-child(1){
      grid-column:1 / 4;
      grid-row:1 / 3;
      margin-right:5px;
    }
    #page-projects .project-entry:nth-child(2){
      grid-column:4 / 9;
      grid-row:1 / 2;
      margin-left:3px;
      margin-right:6px;
    }
    #page-projects .project-entry:nth-child(3){
      grid-column:9 / 13;
      grid-row:1 / 3;
      margin-left:4px;
    }
    #page-projects .project-entry:nth-child(4){
      grid-column:4 / 6;
      grid-row:2 / 4;
      margin-left:6px;
      margin-top:4px;
    }
    #page-projects .project-entry:nth-child(5){
      grid-column:6 / 9;
      grid-row:2 / 3;
      margin-left:3px;
      margin-bottom:5px;
    }
    #page-projects .project-entry:nth-child(6){
      grid-column:1 / 4;
      grid-row:3 / 5;
      margin-right:6px;
      margin-top:3px;
    }
    #page-projects .project-entry:nth-child(7){
      grid-column:6 / 10;
      grid-row:3 / 5;
      margin-left:4px;
      margin-right:5px;
    }
    #page-projects .project-entry:nth-child(8){
      grid-column:10 / 13;
      grid-row:3 / 4;
      margin-left:3px;
      margin-bottom:4px;
    }
    #page-projects .project-entry:nth-child(9){
      grid-column:4 / 6;
      grid-row:4 / 6;
      margin-left:6px;
      margin-top:3px;
    }
    #page-projects .project-entry:nth-child(10){
      grid-column:10 / 13;
      grid-row:4 / 5;
      margin-left:6px;
      margin-top:4px;
    }
    #page-projects .project-entry:nth-child(11){
      grid-column:1 / 4;
      grid-row:5 / 7;
      margin-right:3px;
      margin-top:4px;
    }
    #page-projects .project-entry:nth-child(12){
      grid-column:6 / 13;
      grid-row:5 / 7;
      margin-left:6px;
      margin-top:2px;
    }

    #page-projects .project-entry .eyebrow{
      font-size:7px;
      margin-bottom:6px;
    }

    #page-projects .project-entry h2{
      font-size:15px;
      margin-bottom:5px;
      line-height:1.15;
    }

    #page-projects .project-entry p{
      font-size:9px;
      line-height:1.35;
      -webkit-line-clamp:2;
    }

    #page-projects .project-entry .project-meta{
      margin-top:6px;
      font-size:8px;
    }
  }

  @media (max-width:820px){
    #homeCustomSlots{
      grid-template-rows:none;
    }

    .home-custom-slot{
      min-height:112px;
    }

    .home-custom-slot.has-thumb .strip-inner{
      grid-template-columns:1fr;
    }

    
    #page-photos .photo-category-grid,
    #page-projects .project-archive-grid{
      display:grid;
      grid-template-columns:1fr;
      grid-template-rows:none;
      gap:14px;
    }

    #page-photos .photo-category-card,
    #page-projects .project-entry{
      grid-column:auto !important;
      grid-row:auto !important;
      margin:0 !important;
    }
  }


  

  @media (min-width:821px){

    
    #page-photos .photo-category-grid{
      display:grid !important;
      grid-template-columns:repeat(5,minmax(0,1fr)) !important;
      grid-template-rows:repeat(4,minmax(0,1fr)) !important;
      gap:9px !important;
      flex:1 1 auto;
      min-height:0;
    }

    #page-photos .photo-category-card{
      grid-column:auto !important;
      grid-row:auto !important;
      margin:0 !important;
      min-width:0;
      min-height:0;
      height:100%;
      border-radius:16px;
    }

    #page-photos .photo-category-copy{
      left:12px;
      right:12px;
      bottom:10px;
    }

    #page-photos .photo-category-kicker{
      margin-bottom:3px;
      font-size:6.5px;
      letter-spacing:.10em;
    }

    #page-photos .photo-category-copy h2{
      margin-bottom:3px;
      font-size:13px;
      line-height:1.08;
      letter-spacing:.02em;
    }

    #page-photos .photo-category-meta{
      font-size:7.5px;
    }

    #page-photos .photo-category-arrow{
      width:22px;
      height:22px;
      font-size:10px;
    }

    
    #page-projects .project-archive-grid{
      display:grid !important;
      grid-template-columns:repeat(5,minmax(0,1fr)) !important;
      grid-template-rows:repeat(3,minmax(0,1fr)) !important;
      gap:9px !important;
      flex:1 1 auto;
      min-height:0;
    }

    #page-projects .project-entry{
      grid-column:auto !important;
      grid-row:auto !important;
      margin:0 !important;
      min-width:0;
      min-height:0;
      height:100%;
      padding:12px 13px;
      border-radius:16px;
      overflow:hidden;
    }

    #page-projects .project-entry .eyebrow{
      margin-bottom:5px;
      font-size:6.5px;
    }

    #page-projects .project-entry h2{
      margin-bottom:4px;
      font-size:13px;
      line-height:1.1;
      letter-spacing:-.015em;
    }

    #page-projects .project-entry p{
      font-size:8.5px;
      line-height:1.35;
      -webkit-line-clamp:2;
    }

    #page-projects .project-entry .project-meta{
      margin-top:5px;
      font-size:7px;
    }

    
    #page-photos .pagination,
    #page-projects .pagination{
      flex-basis:38px;
      padding:4px 0 2px;
    }

    #page-photos .pagination button,
    #page-projects .pagination button{
      height:30px;
      min-width:30px;
      padding:0 9px;
      border-radius:10px;
      font-size:10px;
    }
  }

  @media (max-width:1100px) and (min-width:821px){
    #page-photos .photo-category-copy h2,
    #page-projects .project-entry h2{
      font-size:12px;
    }

    #page-projects .project-entry p{
      font-size:8px;
    }
  }


  

  @media (min-width:821px){

    
    #page-photos .photo-category-grid{
      gap:14px !important;
      place-items:center;
    }

    #page-photos .photo-category-card{
      width:94%;
      height:88%;
      align-self:center;
      justify-self:center;
      border-radius:15px;
    }

    #page-photos .photo-category-copy{
      left:11px;
      right:11px;
      bottom:9px;
    }

    #page-photos .photo-category-copy h2{
      font-size:12.5px;
    }

    #page-photos .photo-category-meta{
      font-size:7px;
    }

    #page-photos .photo-category-arrow{
      width:20px;
      height:20px;
      font-size:9px;
    }

    
    #page-projects .project-archive-grid{
      gap:15px !important;
      place-items:center;
    }

    #page-projects .project-entry{
      width:94%;
      height:86%;
      align-self:center;
      justify-self:center;
      padding:11px 12px;
      border-radius:15px;
    }

    #page-projects .project-entry h2{
      font-size:12.5px;
    }

    #page-projects .project-entry p{
      font-size:8px;
      line-height:1.3;
    }

    #page-projects .project-entry .project-meta{
      font-size:6.5px;
    }
  }

  @media (max-width:1100px) and (min-width:821px){
    #page-photos .photo-category-card,
    #page-projects .project-entry{
      width:92%;
    }

    #page-photos .photo-category-grid,
    #page-projects .project-archive-grid{
      gap:13px !important;
    }
  }


  
  #page-photos .photo-category-arrow{
    display:none !important;
  }


  
  .category-gallery{
    position:relative;
    width:min(94vw,1120px);
    max-height:92vh;
    display:grid;
    grid-template-rows:minmax(0,1fr) auto auto;
    overflow:hidden;
    border-radius:26px;
    background:rgba(246,245,243,.98);
    color:#17191d;
    box-shadow:0 32px 100px rgba(0,0,0,.32);
  }

  .category-gallery-stage{
    position:relative;
    min-height:0;
    height:min(68vh,680px);
    background:#111318;
    display:flex;
    align-items:center;
    justify-content:center;
    overflow:hidden;
  }

  .category-gallery-image{
    position:absolute;
    inset:0;
    background-position:center;
    background-size:contain;
    background-repeat:no-repeat;
    transition:opacity .18s ease;
  }

  .category-gallery-nav{
    position:absolute;
    top:50%;
    z-index:5;
    transform:translateY(-50%);
    width:44px;
    height:44px;
    border:1px solid rgba(255,255,255,.25);
    border-radius:50%;
    display:grid;
    place-items:center;
    background:rgba(10,12,16,.28);
    color:#fff;
    font-size:28px;
    line-height:1;
    cursor:pointer;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
    transition:background .18s ease, transform .18s ease;
  }

  .category-gallery-nav:hover{
    background:rgba(10,12,16,.48);
    transform:translateY(-50%) scale(1.04);
  }

  .category-gallery-nav.prev{left:16px}
  .category-gallery-nav.next{right:16px}

  .category-gallery-counter{
    position:absolute;
    z-index:5;
    right:16px;
    bottom:14px;
    padding:6px 10px;
    border-radius:999px;
    background:rgba(10,12,16,.44);
    color:#fff;
    font-size:11px;
    letter-spacing:.08em;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }

  .category-gallery-info{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    gap:24px;
    align-items:end;
    padding:20px 24px 16px;
  }

  .category-gallery-info .eyebrow{
    margin-bottom:7px;
    color:rgba(20,22,26,.43);
  }

  .category-gallery-info h2{
    margin:0 0 6px;
    font-size:24px;
    letter-spacing:.08em;
  }

  .category-gallery-info p{
    margin:0;
    max-width:680px;
    font-size:12px;
    line-height:1.6;
    color:rgba(20,22,26,.58);
  }

  .category-gallery-photo-meta{
    text-align:right;
    white-space:nowrap;
  }

  .category-gallery-photo-meta strong{
    display:block;
    font-size:12px;
    margin-bottom:4px;
  }

  .category-gallery-photo-meta span{
    display:block;
    font-size:10px;
    color:rgba(20,22,26,.44);
  }

  .category-gallery-thumbs{
    display:flex;
    gap:8px;
    overflow-x:auto;
    padding:0 24px 20px;
    scrollbar-width:thin;
  }

  .category-gallery-thumb{
    appearance:none;
    position:relative;
    flex:0 0 78px;
    height:54px;
    border:2px solid transparent;
    border-radius:10px;
    padding:0;
    overflow:hidden;
    cursor:pointer;
    background-position:center;
    background-size:cover;
    background-repeat:no-repeat;
    opacity:.58;
    transition:opacity .18s ease, border-color .18s ease, transform .18s ease;
  }

  .category-gallery-thumb:hover{
    opacity:.85;
    transform:translateY(-1px);
  }

  .category-gallery-thumb.active{
    opacity:1;
    border-color:#17191d;
  }

  .category-viewer-close{
    position:absolute;
    z-index:10;
    top:14px;
    right:14px;
    width:40px;
    height:40px;
    border:0;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:rgba(10,12,16,.42);
    color:#fff;
    font-size:24px;
    cursor:pointer;
    backdrop-filter:blur(8px);
    -webkit-backdrop-filter:blur(8px);
  }

  @media (max-width:720px){
    .category-viewer{
      padding:10px;
    }

    .category-gallery{
      width:100%;
      max-height:96vh;
      border-radius:20px;
    }

    .category-gallery-stage{
      height:56vh;
    }

    .category-gallery-info{
      grid-template-columns:1fr;
      gap:10px;
      padding:16px 18px 12px;
    }

    .category-gallery-photo-meta{
      text-align:left;
    }

    .category-gallery-thumbs{
      padding:0 18px 16px;
    }

    .category-gallery-nav{
      width:38px;
      height:38px;
    }

    .category-gallery-nav.prev{left:10px}
    .category-gallery-nav.next{right:10px}
  }


  

  .archive-hero{
    align-items:flex-end;
  }

  .section-profile-strip{
    width:min(520px, 46vw);
    min-height:86px;
    padding:14px 16px;
    border-radius:24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:18px;
    flex:0 0 auto;
  }

  .section-profile-main{
    display:flex;
    align-items:center;
    gap:13px;
    min-width:0;
  }

  .section-profile-avatar{
    width:54px;
    height:54px;
    flex:0 0 auto;
    border-radius:18px;
    background:
      radial-gradient(circle at 28% 24%, #e7ddd3 0 14%, transparent 15%),
      linear-gradient(145deg,#8fa0a9,#39444d 70%);
    border:1px solid rgba(255,255,255,.34);
    box-shadow:inset 0 0 0 1px rgba(255,255,255,.08);
  }

  .section-profile-copy{
    min-width:0;
    display:flex;
    flex-direction:column;
    gap:4px;
  }

  .section-profile-copy span{
    font-size:9px;
    letter-spacing:.14em;
    text-transform:uppercase;
    color:rgba(20,22,26,.44);
    white-space:nowrap;
  }

  .section-profile-copy strong{
    font-size:22px;
    line-height:1;
    letter-spacing:-.03em;
  }

  .section-profile-socials{
    display:flex;
    align-items:center;
    gap:8px;
    flex:0 0 auto;
  }

  .section-profile-social{
    width:38px;
    height:38px;
    border-radius:50%;
    display:grid;
    place-items:center;
    background:rgba(255,255,255,.28);
    border:1px solid rgba(255,255,255,.36);
    color:rgba(20,22,26,.76);
    font-size:13px;
    transition:transform .18s ease, background .18s ease;
  }

  .section-profile-social:hover{
    transform:translateY(-2px);
    background:rgba(255,255,255,.40);
  }

  body.night .section-profile-copy span{
    color:rgba(255,255,255,.44);
  }

  body.night .section-profile-social{
    color:rgba(255,255,255,.78);
    background:rgba(255,255,255,.09);
    border-color:rgba(255,255,255,.13);
  }

  body.night .section-profile-social:hover{
    background:rgba(255,255,255,.14);
  }

  
  #page-articles .archive-hero > p,
  #page-photos .archive-hero > p,
  #page-projects .archive-hero > p,
  #page-about .archive-hero > p{
    display:none !important;
  }

  @media (max-width:900px){
    .archive-hero{
      align-items:flex-start;
    }

    .section-profile-strip{
      width:min(100%, 520px);
    }
  }

  @media (max-width:680px){
    .section-profile-strip{
      margin-top:22px;
      min-height:78px;
      padding:12px 13px;
      border-radius:20px;
    }

    .section-profile-avatar{
      width:48px;
      height:48px;
      border-radius:16px;
    }

    .section-profile-copy strong{
      font-size:20px;
    }

    .section-profile-social{
      width:34px;
      height:34px;
      font-size:12px;
    }
  }


  
  #page-home .hero{
    padding:34px 10px 28px;
    gap:24px;
  }

  #page-home .hero h1{
    font-size:clamp(36px, 4.6vw, 62px);
    line-height:.98;
    letter-spacing:-.045em;
    max-width:720px;
  }

  #page-home .hero .eyebrow{
    margin-bottom:12px;
  }

  @media (max-width:820px){
    #page-home .hero{
      padding:28px 6px 24px;
    }

    #page-home .hero h1{
      font-size:clamp(34px, 9vw, 52px);
      line-height:1;
    }
  }



  

  .settings-panel{
    background:rgba(248,248,248,.94) !important;
    border-color:rgba(255,255,255,.72) !important;
    backdrop-filter:blur(16px) saturate(1.02) !important;
    -webkit-backdrop-filter:blur(16px) saturate(1.02) !important;
    box-shadow:
      0 22px 70px rgba(20,22,26,.16),
      inset 0 1px 0 rgba(255,255,255,.72) !important;
  }

  body.night .settings-panel{
    background:rgba(25,29,36,.96) !important;
    border-color:rgba(255,255,255,.16) !important;
    backdrop-filter:blur(16px) saturate(.96) !important;
    -webkit-backdrop-filter:blur(16px) saturate(.96) !important;
  }

  .setting-copy{
    display:flex;
    align-items:center;
  }

  .setting-copy b{
    margin-bottom:0 !important;
  }

  
  .setting-copy span{
    display:none !important;
  }

  
  .setting-row{
    padding:12px 0;
  }


  
  [hidden]{display:none !important}
  button,a{-webkit-tap-highlight-color:transparent}
  html{scroll-padding-top:118px}
  body{overflow-wrap:anywhere}

  .search-result-item{
    width:100%;
    border:0;
    text-align:left;
    cursor:pointer;
  }

  
  @supports (height:100dvh){
    @media (min-width:821px){
      body[data-route="photos"] .shell,
      body[data-route="projects"] .shell{height:100dvh}
      #page-photos.active,
      #page-projects.active{height:calc(100dvh - 118px)}
    }
  }

  @media (hover:none), (pointer:coarse){
    .brand-logo-wrap:hover .brand-logo{animation:none !important;transform:none !important}
    .brand-logo-wrap:hover .brand-logo-shadow{animation:none !important;opacity:0 !important}
    .card:hover .arrow,
    .collection-item:hover,
    .strip-item:hover,
    .photo-category-card:hover .photo-category-cover,
    .project-entry:hover{transform:none}
  }

  @media (max-width:820px){
    html{scroll-padding-top:126px}
    body{overflow-x:hidden}
    .shell{width:calc(100% - 20px);padding:10px 0 44px}

    
    .nav{
      top:max(8px, env(safe-area-inset-top));
      height:62px;
      padding:0 12px;
      border-radius:20px;
      margin-bottom:68px;
    }
    .brand-logo-wrap{width:42px;height:42px}
    .brand-logo{width:42px;height:42px}
    .brand-title{font-size:14px}
    .menu-btn{padding:8px;font-size:22px}
    .nav-search{left:6px;right:6px;top:70px}
    .search-box{height:40px;padding:0 12px}
    .search-results{
      top:46px;
      max-height:min(48dvh,320px);
      border-radius:18px;
    }
    .nav-links{
      top:116px;
      max-height:calc(100dvh - 142px);
      overflow:auto;
      gap:2px;
      padding:10px;
      background:rgba(248,248,248,.96);
      border-color:rgba(255,255,255,.72);
      box-shadow:0 18px 48px rgba(20,22,26,.15);
    }
    .nav-links a{
      color:rgba(20,22,26,.78);
      padding:11px 12px;
    }
    body.night .nav-links{
      background:rgba(23,27,34,.96);
      border-color:rgba(255,255,255,.14);
    }
    body.night .nav-links a{color:rgba(255,255,255,.78)}
    .settings-wrap{
      margin-left:0;
      padding:5px 2px 1px;
      display:flex;
      justify-content:flex-end;
    }
    .settings-panel{
      top:max(82px, calc(env(safe-area-inset-top) + 74px));
      left:10px;
      right:10px;
      max-height:calc(100dvh - 96px);
      border-radius:22px;
      padding:16px;
      overscroll-behavior:contain;
    }

    
    .archive-hero{
      padding:28px 6px 20px;
      gap:18px;
    }
    .archive-hero h1{
      font-size:clamp(34px,10vw,46px);
      line-height:1;
      letter-spacing:.14em;
      margin-right:-.14em;
    }
    .archive-toolbar{
      min-height:50px;
      padding:0 14px;
      border-radius:18px;
      margin-bottom:12px;
    }
    .section-profile-strip{
      width:100%;
      min-height:72px;
      margin-top:18px;
      padding:11px 12px;
      border-radius:20px;
    }
    .section-profile-avatar{width:46px;height:46px;border-radius:15px}
    .section-profile-copy span{display:none}
    .section-profile-copy strong{font-size:19px}
    .section-profile-socials{gap:7px}
    .section-profile-social{width:38px;height:38px;font-size:12px}

    
    #page-home .hero{padding:26px 4px 22px}
    #page-home .hero h1{font-size:clamp(32px,9vw,46px);line-height:1.02}
    #page-home .article-card h2{font-size:30px;margin-bottom:20px}
    .article-card .card-inner{padding:22px 18px}
    .article-preview,
    .article-preview.has-image,
    .article-preview.no-image{border-radius:18px}
    .article-copy strong{font-size:17px}
    .article-copy p{font-size:13px}
    .photo-card{min-height:300px}
    .collection-card .card-inner{padding:16px}
    .collection-grid{gap:9px}
    .sidebar{gap:14px}
    .profile,.side-card{border-radius:22px}

    
    .archive-layout{gap:14px}
    .archive-list-page{gap:10px}
    .archive-entry{
      grid-template-columns:36px minmax(0,1fr);
      gap:10px;
      min-height:0;
      padding:16px;
      border-radius:20px;
    }
    .archive-entry h2{font-size:18px;margin-bottom:7px}
    .archive-entry p{font-size:12px;line-height:1.55}
    .archive-entry-meta{grid-column:2;text-align:left;min-width:0;font-size:10px}
    .archive-aside{padding:18px;border-radius:20px}
    .article-category-card{height:276px}
    .year-archive-card{height:276px;padding:17px;border-radius:20px}

    
    #page-photos .photo-category-grid{
      display:grid !important;
      grid-template-columns:repeat(2,minmax(0,1fr)) !important;
      grid-template-rows:none !important;
      gap:12px !important;
      place-items:stretch !important;
    }
    #page-photos .photo-category-card{
      width:100% !important;
      height:auto !important;
      min-height:158px !important;
      margin:0 !important;
      border-radius:17px;
    }
    #page-photos .photo-category-copy{left:11px;right:11px;bottom:10px}
    #page-photos .photo-category-kicker{font-size:7px;margin-bottom:4px}
    #page-photos .photo-category-copy h2{font-size:14px;line-height:1.12;margin-bottom:4px}
    #page-photos .photo-category-meta{font-size:9px}

    
    #page-projects .project-archive-grid{
      display:grid !important;
      grid-template-columns:repeat(2,minmax(0,1fr)) !important;
      grid-template-rows:none !important;
      gap:12px !important;
      place-items:stretch !important;
    }
    #page-projects .project-entry{
      width:100% !important;
      height:auto !important;
      min-height:150px !important;
      margin:0 !important;
      padding:14px;
      border-radius:17px;
    }
    #page-projects .project-entry .eyebrow{font-size:7px;margin-bottom:7px}
    #page-projects .project-entry h2{font-size:15px;line-height:1.15;margin-bottom:7px}
    #page-projects .project-entry p{
      font-size:10px;
      line-height:1.45;
      display:-webkit-box;
      -webkit-line-clamp:3;
      -webkit-box-orient:vertical;
      overflow:hidden;
    }
    #page-projects .project-entry .project-meta{font-size:8px;margin-top:8px}

    
    .about-grid{gap:14px}
    .about-card{
      min-height:0;
      padding:22px;
      border-radius:22px;
    }
    .about-avatar{width:94px;height:94px;border-radius:26px;margin-bottom:20px}
    .about-card h2{font-size:30px}
    .about-card p{font-size:13px;line-height:1.7}
    .about-links a{padding:13px 14px}

    
    .article-reader,
    .project-reader,
    .category-viewer,
    .lightbox{
      padding:max(10px,env(safe-area-inset-top)) 10px max(10px,env(safe-area-inset-bottom));
    }
    .article-reader-panel,
    .project-reader-panel{
      width:100%;
      max-height:calc(100dvh - 20px);
      border-radius:22px;
    }
    .article-reader-content{padding:52px 22px 44px}
    .article-reader-content h1{font-size:clamp(30px,9vw,42px);margin-bottom:24px}
    .article-reader-body{font-size:15px;line-height:1.85}
    .project-reader-visual{min-height:210px}
    .project-reader-content{padding:32px 22px 38px}
    .project-reader-content h1{font-size:clamp(30px,9vw,42px)}

    .category-gallery{
      width:100%;
      max-height:calc(100dvh - 20px);
      overflow:auto;
      border-radius:20px;
      overscroll-behavior:contain;
    }
    .category-gallery-stage{
      height:min(48dvh,420px);
      min-height:280px;
      touch-action:pan-y;
    }
    .category-gallery-info{padding:15px 16px 11px}
    .category-gallery-info h2{font-size:21px}
    .category-gallery-thumbs{padding:0 16px 15px;gap:7px}
    .category-gallery-thumb{flex-basis:68px;height:48px}
    .category-gallery-nav{width:40px;height:40px}

    .lightbox-stage{width:100%}
    .lightbox-figure{padding:12px 12px 18px;border-radius:16px}
    .lightbox-caption{padding-top:14px}

    .pagination{padding:18px 0 4px}
    .pagination button{min-width:42px;height:42px}
    #articlePagination{gap:5px}
    #articlePagination button{
      min-width:34px;
      width:34px;
      height:36px;
      padding:0;
      border-radius:11px;
      font-size:11px;
    }
    #articlePagination .pagination-ellipsis{
      min-width:18px;
      width:18px;
      height:36px;
      font-size:12px;
    }

    .article-toolbar{
      min-height:0;
      height:auto;
      padding:10px 14px;
      flex-wrap:wrap;
      row-gap:8px;
    }
    .article-toolbar-right{
      width:100%;
      margin-left:0;
      justify-content:center;
    }
    .article-toolbar #articleCount{
      width:100%;
    }
    #articlePaginationTop{
      width:100%;
      justify-content:center;
      gap:4px;
    }
    #articlePaginationTop button{
      min-width:30px;
      width:30px;
      height:34px;
      border-radius:10px;
      font-size:10px;
    }
    #articlePaginationTop .pagination-ellipsis{
      min-width:14px;
      width:14px;
      height:34px;
      font-size:11px;
    }
    .article-toolbar #articlePageInfo{
      width:100%;
      text-align:right;
    }
    footer{flex-wrap:wrap;padding-top:22px;row-gap:6px}
  }

  @media (max-width:360px){
    #articlePagination{gap:3px}
    #articlePagination button{
      min-width:31px;
      width:31px;
      height:34px;
      border-radius:10px;
    }
    #articlePagination .pagination-ellipsis{
      min-width:15px;
      width:15px;
      height:34px;
    }
    #articlePaginationTop{gap:3px}
    #articlePaginationTop button{
      min-width:28px;
      width:28px;
      height:32px;
    }
    #articlePaginationTop .pagination-ellipsis{
      min-width:12px;
      width:12px;
      height:32px;
    }
    .brand-title{font-size:13px}
    #page-photos .photo-category-grid,
    #page-projects .project-archive-grid{grid-template-columns:1fr !important}
    #page-photos .photo-category-card{min-height:190px !important}
    #page-projects .project-entry{min-height:130px !important}
    .section-profile-strip{gap:10px}
    .section-profile-social{width:36px;height:36px}
  }
