/* ═══════════════════════════════════════════════════════════════════
   QIDIAN_HERO_V3  ·  2026-08-23
   首页重做第三版。前两版被老叶判「垃圾」，读完 design-master 才知道
   踩的全是那张卡里他本人骂过的条目：

     ✗ canvas 金色节点网络 + 发光脉冲
       = 卡里明令的「无意义发光粒子球」（老叶骂过两次：客户看不懂在干啥）
     ✗ 四张分流卡排成 2×2
       = 「卡片排成整齐网格 = 千篇一律模板感」（老叶原话：全是卡片这叫啥玩意）
     ✗ 满屏金色连线 + 金色小标签 + 金色 CTA
       = 「墨黑 + 金箔描边 = 廉价」。卡里写死：默认黑金 = 偷懒，90% 做出来是土的
     ✗ 首屏左右对半分，两边都塞满
       = 留白率远不到 50%

   这一版逐条按「真高级 7 条」重来：
     1 真实质感打底 → 一张真实现场照（方案评审会，投影上是当场拆的五个场景）
                      不是 canvas，不是粒子，不是渐变球
     2 氛围靠一盏光 → 照片里那台投影就是光源，CSS 顺着它的方向补一盏暖光
     3 留白当主角   → 上半屏整片空着，字压在下半部
     4 字即设计     → 巨字 clamp 到 11vw，两行，字本身就是主视觉
     5 色彩极致克制 → 墨黑 + 暖白，金只落在两个字上（占比 <2%）
     6 构图有势     → 溢版巨字 + 左对齐纵向节奏，零卡片零网格
     7 考究细节     → 坐标 / 拍摄日期 / 编号小字
   ═══════════════════════════════════════════════════════════════════ */

/* ── 首屏 ────────────────────────────────────────────────────────── */

.qh3{
  position:relative;
  min-height:100svh;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  /* 留白当主角：上面这一大片是空的，内容压到下半部 */
  padding:min(54vh,500px) clamp(22px,5vw,76px) clamp(36px,7vh,78px);
  background:#0A0A0F;
  overflow:hidden;
  isolation:isolate;
}

/* 1 · 真实质感打底：真照片，不是任何程序化图形 */
.qh3__photo{
  position:absolute;
  inset:0;
  z-index:0;
  background-image:var(--qh3-img);
  background-size:cover;
  background-position:50% 38%;
  /* 沉进暗部八成，只留投影那一块亮着 */
  filter:grayscale(.28) brightness(.74) contrast(1.05);
  transform:scale(1.03);
  animation:qh3In 1.8s cubic-bezier(.16,1,.3,1) both;
}
@keyframes qh3In{
  from{opacity:0;transform:scale(1.07)}
  to{opacity:1;transform:scale(1.03)}
}

/* 2 · 一盏光：顺着照片里那台投影的方向补一盏暖光，其余压死 */
.qh3__light{
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  background:
    radial-gradient(ellipse 78% 46% at 26% 16%,
      rgba(236,214,168,.22) 0%, transparent 62%),
    linear-gradient(178deg, rgba(10,10,15,.66) 0%, rgba(10,10,15,.52) 16%, rgba(10,10,15,.06) 32%, rgba(10,10,15,.72) 62%, #0A0A0F 100%),
    linear-gradient(100deg, rgba(10,10,15,.60) 0%, rgba(10,10,15,.30) 34%, rgba(10,10,15,.04) 58%, transparent 100%);
}
/* 噪点防 banding，4–7%（design-master §三反例第 1 条） */
.qh3__grain{
  position:absolute;inset:0;z-index:2;pointer-events:none;
  opacity:.05;mix-blend-mode:overlay;
  background-image:url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' width='160' height='160'>\
<filter id='n'><feTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/>\
</filter><rect width='160' height='160' filter='url(%23n)'/></svg>");
}

/* 7 · 考究细节：坐标、拍摄地、编号——没人逼你做的小字 */
.qh3__meta{
  position:absolute;
  top:clamp(84px,11vh,120px);
  left:clamp(22px,5vw,76px);
  right:clamp(22px,5vw,76px);
  z-index:4;
  display:flex;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
  font-family:var(--q-mono,ui-monospace,"SF Mono",Menlo,monospace);
  font-size:10.5px;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:rgba(237,237,242,.88);
}

.qh3__in{position:relative;z-index:4;max-width:1240px;width:100%}

/* 4+6 · 字即设计 + 溢版：巨字左缘故意压出容器一点点 */
.qh3 h1{
  margin:0 0 clamp(20px,3vh,34px) -.055em;
  font-size:clamp(40px,10.6vw,158px);
  font-weight:500;
  line-height:.94;
  letter-spacing:-.05em;
  color:#EDEDF2;
}
/* 5 · 金只落在两个字上 */
.qh3 h1 em{
  font-style:normal;
  color:#D9BE84;
}
.qh3__lede{
  margin:0 0 clamp(28px,4vh,44px);
  max-width:46ch;
  font-size:clamp(14.5px,1.35vw,17px);
  line-height:1.82;
  color:rgba(237,237,242,.62);
}

/* 一个主按钮，就一个（Saarinen：三个并列按钮=没想清楚卖给谁） */
.qh3__act{display:flex;flex-wrap:wrap;align-items:center;gap:16px 26px}
.qh3__btn{
  padding:15px 30px;
  border:0;
  background:#EDEDF2;
  color:#0A0A0F;
  font:inherit;font-size:15px;font-weight:500;
  cursor:pointer;
  transition:background .16s cubic-bezier(.25,.46,.45,.94);
}
.qh3__btn:hover{background:#FAF9F6}
.qh3__alt{
  font-size:14.5px;
  color:rgba(237,237,242,.66);
  text-decoration:none;
  border-bottom:1px solid rgba(237,237,242,.22);
  padding-bottom:2px;
  transition:color .16s,border-color .16s;
}
.qh3__alt:hover{color:#EDEDF2;border-bottom-color:rgba(237,237,242,.6)}

/* 照片出处：真实、可核验，不是装饰文案 */
.qh3__cred{
  margin-top:clamp(26px,4vh,42px);
  padding-top:14px;
  border-top:1px solid rgba(237,237,242,.1);
  font-size:11.5px;
  line-height:1.7;
  color:rgba(237,237,242,.34);
}

@media(max-width:720px){
  .qh3{padding-top:min(44vh,340px)}
  .qh3__photo{background-position:56% 40%}
  .qh3__meta{font-size:9.5px;letter-spacing:.1em}
}

/* ── 第二屏：四条去处，纵向编号节奏，不是卡片墙 ──────────────────── */

.qroute{
  padding:clamp(64px,9vw,132px) 0 clamp(56px,8vw,112px);
  background:#0A0A0F;
}
.qroute__head{
  max-width:52ch;
  margin-bottom:clamp(34px,5vw,64px);
}
.qroute__head h2{
  margin:0 0 12px;
  font-size:clamp(23px,3.2vw,40px);
  font-weight:500;
  line-height:1.3;
  letter-spacing:-.028em;
  color:#EDEDF2;
}
.qroute__head p{
  margin:0;
  font-size:14.5px;line-height:1.8;
  color:rgba(237,237,242,.55);
}

.qroute__list{border-top:1px solid rgba(237,237,242,.1)}
.qroute__row{
  position:relative;
  display:grid;
  grid-template-columns:auto minmax(0,1fr) auto;
  align-items:baseline;
  gap:clamp(16px,3vw,48px);
  padding:clamp(26px,3.6vw,46px) 0;
  border-bottom:1px solid rgba(237,237,242,.1);
  text-decoration:none;
  color:#EDEDF2;
  background:transparent;
  border-left:0;border-right:0;border-top:0;
  width:100%;
  font:inherit;
  text-align:left;
  cursor:pointer;
}
/* hover 时一条暖光从左缘扫过去——不是给卡片加底色 */
.qroute__row::before{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(96deg,
    rgba(217,190,132,.09) 0%, transparent 68%);
  /* scaleX 而不是 width：动 width 每一帧都触发 layout 重排，
     design-master §五 动效铁律——只动 transform/opacity 才保 60fps。
     视觉完全一样，代价差一个数量级。 */
  transform:scaleX(0);
  transform-origin:left center;
  transition:transform .42s cubic-bezier(.16,1,.3,1);
  pointer-events:none;
}
.qroute__row:hover::before,
.qroute__row:focus-visible::before{transform:scaleX(1)}
.qroute__no{
  font-family:var(--q-mono,ui-monospace,"SF Mono",Menlo,monospace);
  font-size:clamp(26px,3.1vw,46px); font-weight:400; line-height:1; letter-spacing:-.02em; min-width:1.9em; color:rgba(237,237,242,.17); transition:color .3s cubic-bezier(.16,1,.3,1);
}
.qroute__txt b{
  display:block;
  font-size:clamp(19px,2.5vw,32px);
  font-weight:500;
  line-height:1.34;
  letter-spacing:-.022em;
}
.qroute__txt span{
  display:block;
  margin-top:8px;
  max-width:62ch; font-size:14.5px;
  line-height:1.76;
  color:rgba(237,237,242,.5);
}
.qroute__go{
  font-size:13px;
  white-space:nowrap;
  color:rgba(237,237,242,.44);
  transition:color .18s,transform .18s cubic-bezier(.25,.46,.45,.94);
}
.qroute__row:hover .qroute__go,
.qroute__row:focus-visible .qroute__go{
  color:#D9BE84;
  transform:translateX(5px);
}
@media(max-width:720px){
  .qroute__row{grid-template-columns:auto minmax(0,1fr);gap:12px 16px}
  .qroute__go{grid-column:2;margin-top:10px}
}

@media(prefers-reduced-motion:reduce){
  .qh3__photo{animation:none;transform:scale(1.03)}
  .qroute__row::before{transition:none;transform:scaleX(0)}
  .qroute__go{transition:none}
}
/* ═══════════════ /QIDIAN_HERO_V3 ═══════════════ */

/* ── 第三屏：自己问它一句 ─────────────────────────────────────────
   Demo 面板原本是首屏的右半栏，被压成一个表格式的小方块。
   现在它自己占一屏——它是这个站上唯一真正能点的东西，
   按 Saarinen「真实产品截图是最大信任杠杆」，它该当主角。
   ─────────────────────────────────────────────────────────────── */

.qtry{
  padding:clamp(58px,8vw,120px) 0 clamp(52px,7vw,100px);
  border-top:1px solid rgba(237,237,242,.1);
  background:#0A0A0F;
}
.qtry__head{
  max-width:56ch;
  margin-bottom:clamp(30px,4vw,52px);
}
.qtry__head .eyebrow{
  margin-bottom:13px;
  font-size:11px;font-weight:500;
  letter-spacing:.2em;text-transform:uppercase;
  color:rgba(237,237,242,.42);
}
.qtry__head h2{
  margin:0 0 13px;
  font-size:clamp(23px,3.2vw,40px);
  font-weight:500;line-height:1.3;letter-spacing:-.028em;
  color:#EDEDF2;
}
.qtry__head p{
  margin:0;
  font-size:14.5px;line-height:1.8;
  color:rgba(237,237,242,.55);
}
.qtry .qdemo{
  width:100%;max-width:none;
  /* 辉光层 1510px 宽，面板变全宽后它挂到视口外，整页多出 23px 横向滚动。
     裁在面板边界上——辉光本来就该在面板里面发光。 */
  overflow:hidden;
}
