
/* XB SCIENCE — balanced three-project showcase and Xiaobing Notes essay */
.project-grid--three.project-grid--balanced{
  grid-template-columns:minmax(0,1.06fr) minmax(0,1fr) minmax(0,.94fr);
  align-items:stretch;
  gap:18px;
  margin-top:25px;
}
.project-grid--balanced .project-card{
  display:flex;
  flex-direction:column;
  min-height:100%;
  border-radius:7px;
  background:linear-gradient(155deg,#111d29,#0d1722 78%);
}
.project-grid--balanced .project-card:hover{
  transform:translateY(-6px);
}
.project-grid--balanced .project-card--notes{
  border-color:rgba(211,181,139,.55);
  background:linear-gradient(155deg,#182532,#101a26 78%);
  box-shadow:0 18px 55px rgba(0,0,0,.16);
}
.project-grid--balanced .project-card--notes:hover{
  border-color:rgba(230,199,158,.85);
  box-shadow:0 25px 72px rgba(0,0,0,.28);
}
.project-grid--balanced .project-card--studio{
  border-color:rgba(126,177,194,.46);
}
.project-grid--balanced .project-card--studio:hover{
  border-color:rgba(157,207,219,.78);
}
.project-grid--balanced .card-visual{
  height:clamp(205px,19vw,255px);
  flex:0 0 auto;
}
.project-grid--balanced .project-card--notes .card-visual{height:clamp(218px,20vw,266px)}
.project-grid--balanced .project-card--aircraft .card-visual{height:clamp(195px,18.2vw,244px)}
.project-grid--balanced .card-content{
  display:flex;
  flex:1;
  flex-direction:column;
  padding:25px 24px 23px;
}
.project-grid--balanced .project-card--notes .card-content{padding:28px 26px 25px}
.project-grid--balanced .project-card--studio .card-content{padding:26px 24px 23px}
.project-grid--balanced .project-meta{align-items:flex-start}
.project-grid--balanced .project-meta>span:first-child{line-height:1.6}
.project-grid--balanced .state-tag{white-space:normal;text-align:center;line-height:1.35}
.project-role{
  margin:24px 0 -12px!important;
  min-height:0!important;
  color:#c9ad88!important;
  font-size:8px!important;
  font-weight:650;
  letter-spacing:.15em;
  line-height:1.6!important;
}
.project-card--studio .project-role{color:#a9c9d4!important}
.project-card--aircraft .project-role{color:#9eb2bd!important}
.project-grid--balanced .card-content h3{
  margin:24px 0 12px;
  font-size:clamp(23px,2.1vw,31px);
  line-height:1.13;
  letter-spacing:-.05em;
}
.project-grid--balanced .project-card--notes .card-content h3{font-size:clamp(27px,2.35vw,34px);color:#f0e6d8}
.project-grid--balanced .project-card--studio .card-content h3{font-size:clamp(25px,2.2vw,32px)}
.project-grid--balanced .project-card--aircraft .card-content h3{font-size:clamp(22px,1.95vw,29px)}
.project-grid--balanced .project-description{
  min-height:0;
  margin:0;
  color:#a8b8c1;
  font-size:12px;
  line-height:1.82;
}
.project-card-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-top:auto;
  padding-top:19px;
  border-top:1px solid rgba(132,163,177,.22);
  color:#9fb6c1;
  font-size:8px;
  letter-spacing:.12em;
  line-height:1.6;
}
.project-card-bottom span:last-child{font-size:19px;color:#d5bc9b}
.project-card--studio .project-card-bottom span:last-child{color:#b7d5df}
.project-card--aircraft .project-card-bottom span:last-child{color:#9fb4be}
.state-tag--notes{border-color:rgba(207,176,134,.5);color:#d6bd9d}
.state-tag--studio{border-color:rgba(130,183,198,.5);color:#b8d4dc}
.notes-card-visual{
  position:relative;
  display:flex!important;
  flex-direction:column;
  align-items:stretch!important;
  justify-content:space-between!important;
  padding:18px 20px 17px;
  background:radial-gradient(ellipse at 50% 48%,rgba(89,131,150,.28),transparent 55%),linear-gradient(145deg,#172a38,#0d1824);
}
.notes-card-grid{
  position:absolute;inset:0;opacity:.3;pointer-events:none;
  background-image:linear-gradient(rgba(160,196,207,.08) 1px,transparent 1px),linear-gradient(90deg,rgba(160,196,207,.08) 1px,transparent 1px);
  background-size:35px 35px;
  mask-image:radial-gradient(ellipse at center,#000,transparent 77%);
}
.notes-card-orbit{
  position:absolute;left:50%;top:48%;border:1px solid rgba(190,214,220,.35);border-radius:50%;
  transform:translate(-50%,-50%);aspect-ratio:1;
}
.notes-card-orbit--outer{width:min(67%,230px);border-style:solid}
.notes-card-orbit--outer:after{content:"";position:absolute;right:13%;top:17%;width:6px;height:6px;border-radius:50%;background:#dfc19a;box-shadow:0 0 18px #dfc19a}
.notes-card-orbit--inner{width:min(45%,155px);border-style:dashed;border-color:rgba(171,205,215,.3)}
.notes-card-core{
  position:absolute;left:50%;top:48%;transform:translate(-50%,-50%);
  width:112px;height:112px;border:1px solid rgba(196,219,224,.42);border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;
  background:rgba(13,31,43,.72);box-shadow:0 0 50px rgba(112,164,180,.12);
}
.notes-card-core span{font-family:Georgia,serif;font-size:43px;font-style:italic;color:#e4d5c0}
.notes-card-core small{font-size:7px;letter-spacing:.15em;color:#a7c0c9}
.notes-card-terms{
  position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;
  color:#9eb9c4;font-size:7px;letter-spacing:.12em;white-space:nowrap;
}
.notes-card-terms i{height:3px;width:3px;border-radius:50%;background:#d0b18b}
.studio-card-visual{
  position:relative;display:flex!important;align-items:stretch!important;justify-content:stretch!important;overflow:hidden;
  background:radial-gradient(ellipse at 50% 48%,rgba(77,119,137,.19),transparent 57%),linear-gradient(145deg,#152633,#0c1722 78%);
}
.studio-card-grid{
  position:absolute;inset:0;pointer-events:none;opacity:.25;
  background-image:linear-gradient(rgba(158,192,202,.075) 1px,transparent 1px),linear-gradient(90deg,rgba(158,192,202,.075) 1px,transparent 1px);
  background-size:34px 34px;mask-image:radial-gradient(ellipse at center,#000,transparent 79%);
}
.studio-card-illustration{position:absolute;left:3%;top:12%;width:94%;height:77%;overflow:visible;filter:drop-shadow(0 8px 24px rgba(0,0,0,.18))}
.studio-card-top,.studio-card-bottom{
  position:absolute;left:17px;right:17px;z-index:2;display:flex;justify-content:space-between;gap:10px;
  color:#a9c6d0;font-size:7px;letter-spacing:.12em;line-height:1.5
}
.studio-card-top{top:15px}
.studio-card-bottom{bottom:13px;color:#c8b18f;font-size:6.5px;letter-spacing:.105em}
.studio-card-bottom span:first-child{color:#93aeb9}
.project-card--studio .project-role{color:#b6c9ce!important}
.project-grid--balanced .project-card--studio{border-color:rgba(126,163,177,.34)}
.project-grid--balanced .project-card--studio:hover{border-color:rgba(157,190,200,.66)}
.aircraft-card-visual{position:relative}
.aircraft-card-visual svg{position:absolute;left:8%;top:12%;width:84%;height:77%}
.project-grid--balanced .project-card-full:focus-visible{
  outline:2px solid #e4c49e;outline-offset:5px;
}

/* Homepage Notes essay: editorial chapters continue below the three projects. */
.home-notes-intro,.home-notes-origin,.home-notes-turning,.home-notes-privacy,.home-notes-agency{
  position:relative;padding:clamp(78px,9vw,122px) 0;overflow:hidden;
}
.home-notes-intro{
  background:radial-gradient(ellipse at 78% 28%,rgba(52,92,112,.17),transparent 48%),#0a111b;
  border-top:1px solid rgba(130,168,185,.18);
}
.home-notes-intro-grid{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,7vw,105px);align-items:end}
.home-notes-intro .small-caps,.home-notes-origin .small-caps{
  color:#d0b38c;font-size:9px;letter-spacing:.17em;margin:0 0 22px;
}
.home-notes-intro h2,.home-notes-origin h2,.home-notes-turning h2,.home-notes-privacy h2,.home-notes-agency h2{
  margin:0;color:#e8eff1;font-size:clamp(42px,5.1vw,68px);font-weight:450;line-height:1.08;letter-spacing:-.065em;
}
.home-notes-intro h2 em,.home-notes-origin h2 em,.home-notes-turning h2 em,.home-notes-privacy h2 em,.home-notes-agency h2 em{
  color:#bad7df;font-family:Georgia,"Times New Roman",serif;font-weight:400;
}
.home-notes-intro-copy p,.home-notes-origin-copy>p:not(.small-caps),.home-notes-turning-heading>p,.home-notes-privacy-heading>p,.home-notes-agency-heading>p{
  color:#a5b5bf;font-size:14px;line-height:1.95;margin:0 0 18px;max-width:680px;
}
.home-notes-text-link{
  display:inline-flex;align-items:center;gap:22px;margin-top:13px;padding-bottom:8px;
  color:#e2c8a6;text-decoration:none;font-size:11px;border-bottom:1px solid rgba(206,175,135,.55);
  transition:color .2s,border-color .2s;
}
.home-notes-text-link:hover{color:#fff;border-color:#fff}
.home-notes-text-link span{font-size:17px}
.home-notes-origin{
  background:linear-gradient(120deg,#0d1722,#101d29 60%,#0a111b);
  border-top:1px solid rgba(129,171,190,.13);border-bottom:1px solid rgba(129,171,190,.13);
}
.home-notes-origin-layout{display:grid;grid-template-columns:minmax(260px,.72fr) minmax(0,1.28fr);gap:clamp(45px,8vw,115px);align-items:center}
.archive-image-frame{max-width:330px;margin:0 auto;padding:12px;background:#101923;border:1px solid rgba(194,173,144,.3);box-shadow:0 25px 70px rgba(0,0,0,.25)}
.archive-image-frame img{display:block;width:100%;height:340px;object-fit:cover;object-position:center 13%;filter:saturate(.72) contrast(.97)}
.archive-image-frame>span{display:block;padding:12px 4px 2px;color:#c4a980;font-size:8px;letter-spacing:.16em}
.home-notes-origin-copy .section-header{margin-bottom:28px}
.home-notes-origin-copy h2{font-size:clamp(37px,4.5vw,59px);margin-bottom:22px}
.home-notes-origin-copy>p:not(.small-caps){max-width:680px}
.home-notes-turning{
  background:radial-gradient(ellipse at 12% 40%,rgba(39,75,95,.16),transparent 45%),#0b121c;
}
.home-notes-turning-heading{display:grid;grid-template-columns:1fr 1fr;gap:clamp(35px,7vw,100px);align-items:end}
.story-timeline{margin-top:54px;border:1px solid rgba(147,184,199,.23);background:linear-gradient(125deg,#132331,#101a27)}
.story-timeline-steps{display:grid;grid-template-columns:repeat(4,1fr);border-bottom:1px solid rgba(147,184,199,.22)}
.story-step{
  appearance:none;border:0;border-right:1px solid rgba(147,184,199,.17);background:transparent;color:#9eb0ba;
  min-height:112px;padding:19px 18px;text-align:left;cursor:pointer;display:flex;flex-direction:column;gap:7px;
  transition:background .2s,color .2s;
}
.story-step:last-child{border-right:0}
.story-step>span{color:#c6a982;font-size:8px;letter-spacing:.15em}
.story-step strong{font-size:14px;font-weight:520;color:#d8e2e5}
.story-step small{font-size:10px;color:#8499a5}
.story-step.is-active{background:rgba(206,177,139,.09);box-shadow:inset 0 -2px #d1b38d}
.story-step.is-active strong{color:#f0e2cf}
.story-step:focus-visible,.architecture-tab:focus-visible{outline:2px solid #e3c49e;outline-offset:-4px}
.story-timeline-panel{padding:30px clamp(22px,4vw,48px) 34px;min-height:175px}
.story-panel-kicker{color:#c7a980;font-size:8px;letter-spacing:.16em}
.story-timeline-panel h3{margin:15px 0 9px;color:#eaf0f1;font-size:clamp(23px,2.7vw,33px);font-weight:460;letter-spacing:-.04em}
.story-timeline-panel p{max-width:790px;margin:0;color:#a2b3bd;font-size:13px;line-height:1.9}
.home-notes-footnote{margin:18px 0 0;color:#758b99;font-size:10px;line-height:1.75}
.home-notes-privacy{
  background:radial-gradient(ellipse at 80% 12%,rgba(52,95,116,.2),transparent 48%),#08121d;
  border-top:1px solid rgba(149,187,202,.17);border-bottom:1px solid rgba(149,187,202,.17);
}
.home-notes-privacy-heading{display:grid;grid-template-columns:1.08fr .92fr;gap:clamp(35px,7vw,95px);align-items:end}
.home-notes-privacy-heading .small-caps{color:#d0b38c;font-size:9px;letter-spacing:.16em;margin:0 0 20px}
.home-notes-privacy h2{font-size:clamp(38px,4.7vw,62px)}
.architecture-explorer{
  margin-top:45px;border:1px solid rgba(161,195,207,.27);background:linear-gradient(135deg,#142635,#0d1824 68%,#121e2a);
  box-shadow:0 24px 70px rgba(0,0,0,.16);
}
.architecture-explorer-top{display:flex;justify-content:space-between;gap:15px;padding:18px 22px;border-bottom:1px solid rgba(145,184,198,.2);color:#c8ac87;font-size:8px;letter-spacing:.15em}
.architecture-explorer-top span:last-child{color:#829ba7}
.architecture-tabs{display:flex;gap:0;border-bottom:1px solid rgba(145,184,198,.2)}
.architecture-tab{
  appearance:none;border:0;border-right:1px solid rgba(145,184,198,.17);background:transparent;color:#98adb8;
  padding:17px 22px;min-height:52px;font-size:11px;cursor:pointer;transition:background .2s,color .2s;
}
.architecture-tab:last-child{border-right:0}
.architecture-tab:hover{color:#eef4f5;background:rgba(170,204,216,.05)}
.architecture-tab.is-active{color:#f0ddc3;background:rgba(207,178,139,.1);box-shadow:inset 0 -2px #d2b58d}
.architecture-panel{padding:clamp(22px,3.2vw,36px)}
.architecture-panel[hidden]{display:none}
.architecture-flow{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;padding:17px 18px;background:rgba(5,13,21,.33);border:1px solid rgba(147,185,199,.17)}
.architecture-flow span{flex:1 1 auto;text-align:center;color:#d2e0e4;font-size:10px;letter-spacing:.04em}
.architecture-flow i{font-style:normal;color:#d1b18a;font-size:16px}
.architecture-detail{display:grid;grid-template-columns:1fr 1fr;gap:clamp(25px,5vw,68px);margin-top:28px}
.architecture-detail>div>span{color:#c5a982;font-size:8px;letter-spacing:.15em}
.architecture-detail h3{margin:11px 0 9px;color:#e5edef;font-size:20px;font-weight:480;letter-spacing:-.025em}
.architecture-detail p{margin:0;color:#9fb2bd;font-size:12px;line-height:1.85}
.architecture-caution{display:flex;align-items:flex-start;gap:14px;padding:19px 23px;background:rgba(179,128,75,.07);border-top:1px solid rgba(204,176,136,.25)}
.architecture-caution>span{flex:0 0 24px;height:24px;display:grid;place-items:center;border:1px solid rgba(208,177,135,.55);border-radius:50%;color:#e2c59d;font-family:Georgia,serif}
.architecture-caution p{margin:0;color:#a9b4b4;font-size:11px;line-height:1.8}
.architecture-caution strong{color:#e5d2b6}
.home-notes-privacy-link{display:flex;justify-content:space-between;align-items:center;gap:25px;margin-top:24px}
.home-notes-privacy-link p{max-width:620px;margin:0;color:#8298a5;font-size:11px;line-height:1.8}
.home-notes-agency{background:#0a1019}
.home-notes-agency-heading{display:grid;grid-template-columns:1fr .8fr;gap:40px;align-items:end}
.home-notes-agency h2{font-size:clamp(42px,5vw,65px)}
.agency-principles{display:grid;grid-template-columns:repeat(3,1fr);gap:13px;margin-top:44px}
.agency-principle{min-height:225px;padding:25px 24px;border:1px solid rgba(141,177,192,.2);background:linear-gradient(145deg,#13212e,#0e1823)}
.agency-principle>span{color:#c6a982;font-size:8px;letter-spacing:.15em}
.agency-principle h3{margin:37px 0 13px;color:#e6eef0;font-size:22px;font-weight:470;letter-spacing:-.035em}
.agency-principle p{margin:0;color:#9aadb8;font-size:12px;line-height:1.85}
.home-notes-future{background:#0e1a26}
.home-notes-future .future-inner{max-width:920px}
.home-notes-future .future-inner>p:not(.micro){max-width:740px}
.home-notes-future .future-manifesto{max-width:760px}
@media(max-width:1050px){
  .project-grid--three.project-grid--balanced{grid-template-columns:repeat(2,minmax(0,1fr))}
  .project-grid--balanced .project-card--notes{grid-row:span 1}
  .project-grid--balanced .project-card--aircraft{grid-column:1/-1;display:grid;grid-template-columns:.8fr 1.2fr}
  .project-grid--balanced .project-card--aircraft .card-visual{height:auto;min-height:260px}
  .home-notes-origin-layout{gap:50px}
}
@media(max-width:760px){
  .project-grid--three.project-grid--balanced{grid-template-columns:1fr;gap:15px}
  .project-grid--balanced .project-card--notes,.project-grid--balanced .project-card--studio{transform:none}
  .project-grid--balanced .project-card--aircraft{display:flex;grid-column:auto}
  .project-grid--balanced .project-card--aircraft .card-visual{height:220px;min-height:0}
  .project-grid--balanced .card-visual,.project-grid--balanced .project-card--notes .card-visual,.project-grid--balanced .project-card--aircraft .card-visual{height:235px}
  .project-grid--balanced .card-content,.project-grid--balanced .project-card--notes .card-content,.project-grid--balanced .project-card--studio .card-content{padding:24px 22px}
  .home-notes-intro-grid,.home-notes-origin-layout,.home-notes-turning-heading,.home-notes-privacy-heading,.home-notes-agency-heading{grid-template-columns:1fr;gap:25px}
  .home-notes-origin-visual{order:2}
  .home-notes-origin-copy{order:1}
  .archive-image-frame{max-width:270px}
  .archive-image-frame img{height:300px}
  .story-timeline-steps{grid-template-columns:repeat(2,1fr)}
  .story-step:nth-child(2){border-right:0}
  .story-step:nth-child(-n+2){border-bottom:1px solid rgba(147,184,199,.17)}
  .architecture-explorer-top{flex-direction:column;gap:6px}
  .architecture-tabs{display:grid;grid-template-columns:1fr}
  .architecture-tab{text-align:left;border-right:0;border-bottom:1px solid rgba(145,184,198,.12)}
  .architecture-detail{grid-template-columns:1fr;gap:22px}
  .architecture-flow{justify-content:center}
  .architecture-flow span{flex:0 1 auto}
  .home-notes-privacy-link{align-items:flex-start;flex-direction:column}
  .agency-principles{grid-template-columns:1fr}
  .agency-principle{min-height:0}
  .agency-principle h3{margin-top:20px}
}
@media(max-width:520px){
  .project-grid--balanced .project-meta{display:block}
  .project-grid--balanced .project-meta .state-tag{display:inline-block;margin-top:8px}
  .project-card-bottom{font-size:7px}
  .home-notes-intro h2,.home-notes-origin h2,.home-notes-turning h2,.home-notes-privacy h2,.home-notes-agency h2{font-size:clamp(38px,10vw,52px)}
  .architecture-flow{gap:7px}
  .architecture-flow i{font-size:13px}
  .architecture-flow span{font-size:9px}
}
@media(prefers-reduced-motion:reduce){
  .project-grid--balanced .project-card,.architecture-tab,.story-step{transition:none}
}
