/* Alice Zhao Portfolio V7 — lighter glass, reference-led inner layouts */
:root{
  --v7-ink:#10245d;
  --v7-muted:#6479ad;
  --v7-glass:rgba(255,255,255,.60);
  --v7-glass-2:rgba(239,245,255,.48);
  --v7-line:rgba(255,255,255,.88);
}
body{background:linear-gradient(135deg,#e2ebff 0%,#f8faff 48%,#e1eaff 100%)!important;color:var(--v7-ink)}
.main{background:transparent}
.page-content{padding:20px 2px 6px}
.section{margin-top:26px}
.section-title{color:#10245d}
.section-title small{color:#687eaf}

/* Inner hero art is intentionally brighter and more visible through the text-safe area.
   No opaque text slab: the artwork remains visible beneath the copy. */
.hero-inner{border-color:rgba(255,255,255,.76)!important;background:#2854a0!important;box-shadow:0 14px 34px rgba(55,91,166,.16),inset 0 1px 0 rgba(255,255,255,.55)!important}
.hero-inner .hero-art{filter:brightness(1.32) saturate(1.13) contrast(.97)!important;opacity:.98!important}
.hero-inner:after{background:linear-gradient(90deg,rgba(139,190,255,.27) 0%,rgba(105,164,245,.16) 42%,rgba(75,132,220,.055) 70%,transparent 100%)!important;mix-blend-mode:screen}
.hero-inner .hero-copy{background:linear-gradient(105deg,rgba(255,255,255,.085),rgba(255,255,255,.025) 72%,transparent);border:1px solid rgba(255,255,255,.12);border-radius:18px;text-shadow:0 2px 16px rgba(5,22,66,.34);backdrop-filter:blur(2px);-webkit-backdrop-filter:blur(2px)}
.hero-inner .hero-copy:before{display:none!important}
.hero-inner .hero-copy h1,.hero-inner .hero-copy h2,.hero-inner .hero-copy p,.hero-inner .hero-copy .eyebrow{color:#f8fbff!important}
.hero-inner .hero-signature{filter:drop-shadow(0 2px 10px rgba(7,27,83,.3));opacity:1!important}

/* All cards share a lighter, genuinely translucent glass material. */
.glass-panel{
  background:linear-gradient(135deg,rgba(255,255,255,.73),rgba(239,245,255,.52))!important;
  border:1px solid rgba(255,255,255,.91)!important;
  box-shadow:0 10px 28px rgba(54,88,164,.10),inset 0 1px 0 rgba(255,255,255,.92)!important;
  backdrop-filter:blur(19px) saturate(1.22)!important;
  -webkit-backdrop-filter:blur(19px) saturate(1.22)!important;
}
.project-card{background:rgba(255,255,255,.74)!important}
.category-tile{background:rgba(255,255,255,.53)!important}
.category-tile:hover{background:rgba(255,255,255,.82)!important}
.filter-chip{background:rgba(255,255,255,.58)!important;border-color:rgba(255,255,255,.9)!important;color:#405b9c!important}
.filter-chip.active,.filter-chip:hover{background:linear-gradient(100deg,#7965ff,#347fff 68%,#23c9ef)!important;color:#fff!important}

/* Home insight row: the approach orb uses the exact same PNG and animation as the assistant. */
.home-insights{align-items:stretch;gap:18px!important}
.home-insights>div{min-width:0}
.approach-preview{min-height:184px;padding:20px 22px!important;grid-template-columns:142px minmax(0,1fr)!important;gap:20px!important;background:linear-gradient(130deg,rgba(255,255,255,.78),rgba(230,239,255,.48))!important}
.approach-preview .layer-illustration{
  display:block;width:132px;height:132px;max-width:100%;object-fit:contain;
  filter:drop-shadow(0 0 18px rgba(52,150,255,.3))!important;
  animation:assistant-orb-spin 34s linear infinite,assistant-orb-glow 4.2s ease-in-out infinite alternate!important;
  transform-origin:50% 50%;will-change:transform,filter
}
.approach-preview:hover .layer-illustration{animation-duration:16s,1.5s!important}
.approach-row strong{font-size:12px!important;color:#142c70!important}
.approach-row small{font-size:10px!important;color:#687eaf!important}
.lab-feature{
  min-height:184px!important;padding:20px 22px!important;position:relative;isolation:isolate;
  color:#14275f!important;
  background:linear-gradient(120deg,rgba(255,255,255,.79),rgba(229,239,255,.58) 68%,rgba(220,231,255,.46))!important;
  border:1px solid rgba(255,255,255,.94)!important;border-radius:19px!important;
  box-shadow:0 10px 28px rgba(54,88,164,.10),inset 0 1px 0 rgba(255,255,255,.92)!important;
  backdrop-filter:blur(18px) saturate(1.2);-webkit-backdrop-filter:blur(18px) saturate(1.2);
}
.lab-feature:before{
  background-image:url('../assets/backgrounds/heroes/lab-hero-bg.png')!important;
  background-size:auto 100%!important;background-position:right center!important;background-repeat:no-repeat!important;
  opacity:.22!important;mask-image:linear-gradient(90deg,transparent 8%,rgba(0,0,0,.25) 35%,#000 100%);
}
.lab-feature:after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(90deg,rgba(255,255,255,.35),transparent 80%);pointer-events:none}
.lab-feature>*{position:relative;z-index:1}
.lab-feature .tag{background:rgba(102,126,220,.12)!important;color:#4d62a3!important;border:1px solid rgba(114,137,223,.16)}
.lab-feature h3{margin:36px 0 6px!important;color:#14275f!important;font-size:19px!important}
.lab-feature p{color:#6479ad!important;font-size:12px!important}
.lab-feature-link{display:inline-flex;gap:10px;align-items:center;margin-top:15px;color:#5669b4;font-size:11px;font-weight:750}
.lab-feature-link b{font-size:17px}

/* Works page: eight category tiles, then a clear filter row and airy three-column case grid. */
.works-category-head,.works-list-head{display:flex;align-items:center;justify-content:space-between;gap:16px}
.works-category-head{margin:2px 2px 12px}
.works-category-grid{grid-template-columns:repeat(8,minmax(0,1fr))!important;gap:10px!important;margin-bottom:25px}
.works-category-grid .category-tile{min-height:96px;border-radius:18px!important;padding:12px 6px!important}
.works-category-grid .category-tile img{width:29px;height:29px}
.works-category-grid .category-tile strong{font-size:11px}
.works-category-grid .category-tile small{font-size:10px}
.works-list-head{align-items:center;margin:0 2px 10px}
.works-list-head .filter-row{margin:0;justify-content:flex-end}
.works-list-head .filter-chip{padding:8px 13px}
.project-grid.large{grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:16px!important}
.project-grid.large .project-card{border-radius:19px!important}
.project-grid.large .project-card>img{aspect-ratio:2.2/1!important}
.works-footer{margin-top:18px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}
.works-footer strong{font-size:13px;color:#152c6c}
.works-footer p{margin:4px 0 0;font-size:10px;color:#6a7eae}

/* Lab page: two-column editorial cards with imagery, not opaque navy blocks. */
.lab-filterbar{display:flex;align-items:center;justify-content:space-between;gap:18px;margin:0 2px 15px}
.lab-filters{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.lab-filters .filter-chip{display:inline-flex;align-items:center;gap:6px}
.lab-filters small{font-size:9px;opacity:.78}
.lab-project-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.lab-project-card{overflow:hidden;border-radius:20px!important;transition:transform .28s ease,box-shadow .28s ease}
.lab-project-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(59,91,166,.17),0 0 18px rgba(120,128,255,.12)!important}
.lab-project-card[hidden]{display:none!important}
.lab-project-visual{height:180px;position:relative;overflow:hidden;background:linear-gradient(130deg,#102a69,#5576d9)}
.lab-project-visual:after{content:"";position:absolute;inset:0;background:linear-gradient(0deg,rgba(14,35,93,.28),transparent 60%)}
.lab-project-visual>img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .65s ease}
.lab-project-card:hover .lab-project-visual>img{transform:scale(1.045)}
.lab-project-tag{position:absolute;z-index:2;left:18px;top:16px;padding:6px 12px;border:1px solid rgba(255,255,255,.45);border-radius:99px;background:rgba(255,255,255,.16);color:#fff;font-size:10px;backdrop-filter:blur(8px)}
.lab-project-number{position:absolute;z-index:2;right:17px;bottom:12px;color:rgba(255,255,255,.85);font-size:28px;font-weight:800;letter-spacing:-.04em}
.lab-project-copy{padding:17px 19px 15px}
.lab-project-copy h3{margin:0 0 6px;color:#142b6a;font-size:16px}
.lab-project-copy p{margin:0;color:#667baa;font-size:11px;line-height:1.7}
.lab-project-meta{display:flex;align-items:center;gap:8px;margin-top:13px}
.lab-project-meta span{padding:5px 10px;border:1px solid rgba(128,151,218,.2);border-radius:99px;background:rgba(255,255,255,.46);color:#5d70a6;font-size:9px}
.lab-project-meta a{margin-left:auto;width:30px;height:30px;display:grid;place-items:center;border-radius:50%;text-decoration:none;color:#314eaa;background:rgba(255,255,255,.65);border:1px solid white;font-size:17px}

/* About page: profile + project timeline, capability and skill panels, then approach. */
.about-page{display:grid;gap:15px}
.about-top-grid{display:grid;grid-template-columns:.95fr 1.05fr;gap:15px}
.about-profile{min-height:285px;display:grid;grid-template-columns:40% 1fr;align-items:center;gap:14px;padding:16px 18px;overflow:hidden}
.about-profile-photo{height:100%;min-height:245px;display:flex;align-items:flex-end;justify-content:center;position:relative}
.about-profile-photo:before{content:"";position:absolute;inset:10% 0 4%;border-radius:50%;background:radial-gradient(circle,rgba(83,174,255,.2),rgba(154,124,255,.12) 55%,transparent 72%)}
.about-profile-photo img{position:relative;z-index:1;max-width:100%;height:100%;max-height:270px;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 8px 15px rgba(58,80,144,.15))}
.about-profile-copy{min-width:0}
.about-profile-copy .eyebrow{font-size:9px;color:#7386b6;letter-spacing:.24em}
.about-profile-copy h2{margin:6px 0 3px;color:#122963;font-size:26px}
.about-profile-copy>strong{color:#435b9c;font-size:12px}
.about-profile-copy p{margin:13px 0;color:#5d72a8;font-size:11px;line-height:1.8}
.about-profile-copy .modal-tags span{background:rgba(255,255,255,.56);border-color:rgba(255,255,255,.9);color:#4b62a4}
.experience-panel{padding:17px 19px}
.experience-panel>.section-title{margin-bottom:12px}
.experience-list{display:grid;gap:0}
.experience-item{position:relative;display:grid;grid-template-columns:10px 42px 1fr;gap:10px;align-items:start;padding:11px 0;border-bottom:1px solid rgba(108,132,194,.18)}
.experience-item:last-child{border-bottom:0}
.experience-dot{width:9px;height:9px;border-radius:50%;margin-top:8px;background:#7c70ff;box-shadow:0 0 0 4px rgba(124,112,255,.12)}
.experience-icon{width:40px;height:40px;border-radius:13px;display:grid;place-items:center;background:linear-gradient(135deg,rgba(255,255,255,.94),rgba(219,230,255,.7));border:1px solid white;box-shadow:0 5px 14px rgba(67,92,163,.10)}
.experience-icon img{width:22px;height:22px}
.experience-item strong{display:block;color:#172f70;font-size:12px}
.experience-item strong small{margin-left:8px;color:#7284b4;font-size:9px;font-weight:500}
.experience-item p{margin:5px 0 0;color:#6478aa;font-size:10px;line-height:1.65}
.about-middle-grid,.about-bottom-grid{display:grid;grid-template-columns:1fr 1fr;gap:15px}
.capability-panel,.skills-panel,.approach-panel,.more-about-panel{padding:17px 18px}
.capability-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:9px;margin-top:12px}
.capability-tile{min-height:105px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;border:1px solid rgba(255,255,255,.86);border-radius:15px;background:rgba(255,255,255,.43);text-align:center;padding:9px 5px}
.capability-tile img{width:27px;height:27px}
.capability-tile strong{font-size:10px;color:#1a3271}
.capability-tile small{font-size:9px;color:#7385b2}
.skills-cloud{display:flex;flex-wrap:wrap;gap:9px;margin-top:15px}
.skills-cloud span{padding:9px 14px;border:1px solid rgba(255,255,255,.92);border-radius:99px;background:rgba(255,255,255,.48);color:#425a9a;font-size:10px}
.skills-cloud span.featured{background:linear-gradient(100deg,#7b68ff,#347fff 70%,#25c9ef);color:#fff;border-color:rgba(255,255,255,.7);box-shadow:0 5px 13px rgba(83,111,228,.18)}
.approach-steps{display:grid;gap:9px;margin-top:11px}
.approach-steps>div{display:flex;align-items:center;gap:11px;padding:8px 10px;border-radius:13px;background:rgba(255,255,255,.34)}
.approach-steps img{width:30px;height:30px;flex:0 0 auto}
.approach-steps strong{display:block;color:#1a3271;font-size:11px}
.approach-steps small{display:block;margin-top:3px;color:#6a7eae;font-size:9px;line-height:1.5}
.more-about-panel{position:relative;overflow:hidden;min-height:200px}
.about-facts{position:relative;z-index:2;display:grid;gap:10px;margin-top:13px}
.about-facts p{display:flex;align-items:center;gap:6px;margin:0;padding:8px 9px;border-radius:11px;background:rgba(255,255,255,.42);color:#435b96;font-size:10px}
.about-facts img{width:18px;height:18px}
.about-facts strong{color:#1b3270}
.about-city-thumb{position:absolute;right:0;bottom:0;width:34%;height:58%;object-fit:cover;opacity:.24;mask-image:linear-gradient(90deg,transparent,#000 35%);pointer-events:none}

/* Contact page: balanced form and contact details, all on translucent light glass. */
.contact-layout-v7{display:grid;grid-template-columns:1.08fr .92fr;gap:17px;align-items:start}
.contact-form{padding:22px 24px!important;border-radius:20px!important}
.contact-form-title{display:flex;align-items:center;gap:12px;margin-bottom:5px}
.contact-form-title>img{width:35px;height:35px;padding:5px;border-radius:12px;background:rgba(255,255,255,.65)}
.contact-form-title h3{margin:0;color:#142b69;font-size:19px}
.contact-form-title h3 small{margin-left:8px;color:#6479ac;font-size:13px;font-weight:600}
.contact-form>p{font-size:11px!important;color:#6379ad!important;margin:0 0 18px!important}
.contact-form .field{gap:6px}
.contact-form .field label{font-size:10px;color:#526aa2}
.contact-form .field label b{color:#f06b87}
.contact-form .field input,.contact-form .field select,.contact-form .field textarea{padding:13px 14px;border-radius:13px;background:rgba(255,255,255,.66);border-color:rgba(159,180,228,.45);font-size:12px}
.contact-form .field textarea{min-height:135px}
.field-hint{justify-self:end;color:#7184b1;font-size:9px;margin-top:-3px}
.contact-form .btn-primary{width:100%;justify-content:center;min-height:48px;margin-top:17px}
.contact-right-column{display:grid;gap:15px}
.contact-details,.collaboration-panel{padding:19px 21px;border-radius:20px!important}
.contact-details h3,.collaboration-panel h3{display:flex;align-items:center;gap:9px;margin:0 0 13px;color:#172f70;font-size:17px}
.contact-details h3 small,.collaboration-panel h3 small{font-size:12px;color:#6a7eae;font-weight:550}
.contact-detail-row{display:grid;grid-template-columns:38px 1fr 1.2fr;align-items:center;gap:10px;padding:11px 0;border-bottom:1px solid rgba(111,134,194,.2);font-size:11px}
.contact-detail-row:last-child{border-bottom:0}
.contact-detail-row strong{color:#1b3474}
.contact-detail-row>span:last-child{color:#6478a8;text-align:right}
.contact-detail-icon{width:36px;height:36px;display:grid;place-items:center;border-radius:12px;background:linear-gradient(135deg,rgba(255,255,255,.92),rgba(217,229,255,.74));border:1px solid white}
.contact-detail-icon img{width:20px;height:20px}
.collaboration-panel h3>img{width:27px;height:27px}
.collaboration-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:9px}
.collaboration-tile{min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;text-align:center;padding:10px 5px;border:1px solid rgba(255,255,255,.88);border-radius:15px;background:rgba(255,255,255,.44);transition:transform .22s ease,background .22s ease}
.collaboration-tile:hover{transform:translateY(-3px);background:rgba(255,255,255,.75)}
.collaboration-tile img{width:28px;height:28px}
.collaboration-tile strong{color:#172f70;font-size:10px}
.collaboration-tile small{color:#667baa;font-size:9px}

/* Keep the orb treatment consistent at every size. */
@media(max-width:1150px){
 .works-category-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 .about-top-grid{grid-template-columns:1fr 1fr}
 .about-profile{grid-template-columns:35% 1fr}
 .contact-layout-v7{grid-template-columns:1fr 1fr}
}
@media(max-width:900px){
 .works-list-head{align-items:flex-start;flex-direction:column}
 .works-list-head .filter-row{justify-content:flex-start}
 .lab-filterbar{align-items:flex-start;flex-direction:column}
 .about-top-grid,.about-middle-grid,.about-bottom-grid{grid-template-columns:1fr}
 .about-profile{min-height:245px}
 .about-profile-photo{min-height:220px}
}
@media(max-width:650px){
 .hero-inner .hero-art{filter:brightness(1.24) saturate(1.08)!important}
 .hero-inner .hero-copy{background:linear-gradient(105deg,rgba(255,255,255,.09),rgba(255,255,255,.025));padding:17px 16px!important;width:88%!important}
 .works-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
 .works-category-grid .category-tile{min-height:84px}
 .works-list-head .filter-row{gap:6px}
 .works-list-head .filter-chip{padding:7px 10px;font-size:9px}
 .project-grid.large{grid-template-columns:1fr!important}
 .works-footer{align-items:flex-start;flex-direction:column}
 .home-insights{grid-template-columns:1fr!important}
 .approach-preview{grid-template-columns:105px minmax(0,1fr)!important;padding:14px!important;gap:12px!important}
 .approach-preview .layer-illustration{width:100px;height:100px}
 .lab-project-grid{grid-template-columns:1fr}
 .lab-project-visual{height:155px}
 .about-profile{grid-template-columns:34% 1fr;padding:12px;min-height:220px}
 .about-profile-photo{min-height:190px}
 .about-profile-photo img{max-height:205px}
 .about-profile-copy h2{font-size:20px}
 .about-profile-copy p{font-size:10px;line-height:1.6}
 .experience-panel,.capability-panel,.skills-panel,.approach-panel,.more-about-panel{padding:14px}
 .capability-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
 .contact-layout-v7{grid-template-columns:1fr}
 .contact-form{padding:17px!important}
 .contact-form-title h3{font-size:16px}
 .contact-form-title h3 small{font-size:11px}
 .contact-detail-row{grid-template-columns:36px 1fr}
 .contact-detail-row>span:last-child{grid-column:2;text-align:left;margin-top:-5px}
 .collaboration-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(prefers-reduced-motion:reduce){
 .approach-preview .layer-illustration{animation:none!important}
 .lab-project-card,.lab-project-visual>img,.collaboration-tile{transition:none!important}
}


/* =========================================================
   V7.2 visual correction — Alice's latest review
   - Shorter inner-page hero banners
   - Softer, less saturated page canvas and hero artwork
   - Preserve full-width project-cover labels
   - Lift the About portrait slightly
   ========================================================= */
:root{
  --v7-ink:#14275f;
  --v7-muted:#6d7fa9;
  --v7-glass:rgba(255,255,255,.66);
  --v7-glass-2:rgba(246,249,255,.58);
  --v7-line:rgba(255,255,255,.9);
}
body{
  background:linear-gradient(135deg,#edf2ff 0%,#fbfcff 50%,#eaf0ff 100%)!important;
  color:var(--v7-ink);
}
.section-title{color:#14275f}
.section-title small{color:#7082ae}
.glass-panel{
  background:linear-gradient(135deg,rgba(255,255,255,.76),rgba(246,249,255,.58))!important;
  border-color:rgba(255,255,255,.92)!important;
  box-shadow:0 9px 26px rgba(54,82,145,.075),inset 0 1px 0 rgba(255,255,255,.94)!important;
}
.hero-inner{
  height:clamp(198px,13.8vw,224px)!important;
  min-height:198px!important;
  background:#17356f!important;
  border-color:rgba(255,255,255,.78)!important;
  box-shadow:0 10px 26px rgba(43,70,132,.12),inset 0 1px 0 rgba(255,255,255,.48)!important;
}
.hero-inner .hero-art{
  filter:brightness(.93) saturate(.91) contrast(1.015)!important;
  opacity:.96!important;
}
.hero-inner:after{
  background:linear-gradient(90deg,rgba(12,29,72,.22) 0%,rgba(17,42,94,.13) 42%,rgba(26,55,111,.035) 72%,transparent 100%)!important;
  mix-blend-mode:normal!important;
}
.hero-inner .hero-copy{
  background:linear-gradient(105deg,rgba(255,255,255,.075),rgba(255,255,255,.018) 72%,transparent)!important;
  border-color:rgba(255,255,255,.1)!important;
  backdrop-filter:blur(3px)!important;
  -webkit-backdrop-filter:blur(3px)!important;
}
.hero-inner .hero-signature{opacity:.94!important}
.project-grid.large .project-card>img{
  aspect-ratio:2.85 / 1!important;
  object-fit:cover!important;
  object-position:center center!important;
}
.about-profile-photo img{transform:translateY(-18px)!important}
@media(max-width:1150px) and (min-width:761px){
  .hero-inner{height:210px!important;min-height:198px!important}
}
@media(max-width:760px){
  .hero-inner{height:224px!important;min-height:224px!important}
  .hero-inner .hero-art{filter:brightness(.91) saturate(.9) contrast(1.015)!important}
  .about-profile-photo img{transform:translateY(-12px)!important}
}
@media(prefers-reduced-motion:reduce){
  .about-profile-photo img{transform:translateY(-18px)!important}
}
