/* ==========================================================================
   Contact — "Let's get in touch"  (globe + direct lines + coffee)
   页面级样式表：所有规则都挂在 body[data-page="contact.html"] 下，只对本页生效。
   与全站共用 tokens.css 的变量；本文件只新增版式，不覆盖任何通用组件。
   ========================================================================== */

/* --- 1. 顶部口号 ----------------------------------------------------------
   复用全站 .hero 外壳（page.html 渲染 eyebrow / h1 / lede / specs），
   但本页不放背景图：高度交给内容，改用一层极淡的金色辉光避免空荡。 */
body[data-page="contact.html"] .hero{
  position:relative;
  min-height:0;
  padding:calc(var(--nav-h) + 66px) 0 clamp(28px,3.6vw,48px);
  overflow:hidden;
}
body[data-page="contact.html"] .hero::before{
  content:"";
  position:absolute; inset:-40% -10% auto -10%; height:150%;
  background:radial-gradient(58% 62% at 22% 26%, rgba(201,162,74,.16), transparent 68%),
             radial-gradient(44% 54% at 90% 4%, rgba(230,203,134,.075), transparent 70%);
  pointer-events:none;
}
body[data-page="contact.html"] .hero__media,
body[data-page="contact.html"] .hero__scrim{display:none}
body[data-page="contact.html"] .hero__in{position:relative}
body[data-page="contact.html"] .hero h1{
  margin-top:12px;
  font-size:clamp(2.5rem,7vw,5.4rem);
  line-height:.98;
  letter-spacing:-.028em;
  max-width:24ch;
}
body[data-page="contact.html"] .hero h1 em{font-style:inherit;font-weight:inherit;color:var(--gold-lt)}
body[data-page="contact.html"] .hero__lede{max-width:58ch}
body[data-page="contact.html"] .hero__grid{align-items:end}
body[data-page="contact.html"] .hero__spec{border-left-color:rgba(201,162,74,.34)}
body[data-page="contact.html"] .hero__spec dt{color:var(--gold-lt)}

/* --- 2. 两栏：左地球 / 右直连 -------------------------------------------- */
body[data-page="contact.html"] .gx-main{padding:clamp(24px,3vw,40px) 0 clamp(72px,9vw,120px)}
body[data-page="contact.html"] .gx-grid{
  display:grid;
  grid-template-columns:minmax(0,1.42fr) minmax(0,1fr);
  gap:clamp(28px,4vw,64px);
  align-items:start;
}

/* --- 3. 地球 ------------------------------------------------------------- */
body[data-page="contact.html"] .gx-stage{
  position:relative;
  display:grid;place-items:center;
  aspect-ratio:1/1;
  width:100%;max-width:640px;margin-inline:auto;
  cursor:crosshair;
  border:1px solid var(--line);
  border-radius:10px;
  background:radial-gradient(70% 70% at 50% 42%, rgba(244,241,234,.035), transparent 72%);
  touch-action:pan-y;
}
body[data-page="contact.html"] .gx-stage canvas{display:block}
body[data-page="contact.html"] .gx-hint{
  position:absolute;left:18px;bottom:16px;right:18px;
  display:flex;justify-content:space-between;gap:16px;
  font:400 11px/1.5 var(--f-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--muted);
  pointer-events:none;
}
body[data-page="contact.html"] .gx-hint b{color:var(--gold-lt);font-weight:500}
body[data-page="contact.html"] .gx-corner{
  position:absolute;top:16px;left:18px;
  font:400 11px/1.5 var(--f-mono);letter-spacing:.09em;text-transform:uppercase;color:var(--muted-2);
  pointer-events:none;
}

/* 图例＝可点的页签（也是触屏/键盘切换城市的方式） */
body[data-page="contact.html"] .gx-tabs{
  display:flex;flex-wrap:wrap;gap:8px;margin-top:16px;
  justify-content:center;
}
body[data-page="contact.html"] .gx-tabs button{
  appearance:none;background:transparent;color:var(--gold-lt);
  border:1px solid rgba(230,203,134,.42);border-radius:999px;
  padding:11px 21px;cursor:pointer;
  font:500 17.25px/1 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;
  transition:color .28s var(--ease),border-color .28s var(--ease),background-color .28s var(--ease);
}
body[data-page="contact.html"] .gx-tabs button:hover{
  color:var(--gold-lt);background:rgba(201,162,74,.15);border-color:var(--gold-lt);
}
body[data-page="contact.html"] .gx-tabs button[aria-pressed="true"]{
  color:#0B0B0C;background:var(--gold);border-color:var(--gold);
}
body[data-page="contact.html"] .gx-tabs button:focus-visible{outline:2px solid var(--gold-lt);outline-offset:3px}

/* --- 4. 办公室详情卡（三张叠在同一格，靠透明度切换 → 不跳版） ---------- */
body[data-page="contact.html"] .gx-office{
  display:grid;grid-template-columns:1fr;
  margin-top:clamp(26px,3.4vw,44px);
  border:1px solid var(--line);border-radius:10px;
  background:linear-gradient(180deg,rgba(244,241,234,.035),rgba(244,241,234,.012));
  overflow:hidden;
}
body[data-page="contact.html"] .gx-oc{grid-area:1/1}
body[data-page="contact.html"] .gx-oc{
  padding:clamp(22px,2.6vw,32px);
  opacity:0;visibility:hidden;pointer-events:none;
  transform:translateY(6px);
  transition:opacity .42s var(--ease),transform .42s var(--ease),visibility .42s;
}
body[data-page="contact.html"] .gx-oc[data-on="1"]{
  opacity:1;visibility:visible;pointer-events:auto;transform:none;
}
body[data-page="contact.html"] .gx-oc__top{
  display:flex;justify-content:space-between;align-items:flex-start;gap:20px;
  padding-bottom:16px;margin-bottom:6px;border-bottom:1px solid var(--line);
}
body[data-page="contact.html"] .gx-oc__top h3{
  margin:0;font-size:clamp(21px,2.5vw,27px);line-height:1.1;letter-spacing:-.01em;
}
body[data-page="contact.html"] .gx-oc__cc{
  margin:7px 0 0;font:400 11.5px/1.5 var(--f-mono);letter-spacing:.09em;
  text-transform:uppercase;color:var(--muted);
}
body[data-page="contact.html"] .gx-clock{text-align:right;flex:0 0 auto;position:relative}
body[data-page="contact.html"] .gx-clock b{
  display:block;font:500 17px/1 var(--f-mono);color:var(--gold-lt);letter-spacing:.02em;
  font-variant-numeric:tabular-nums;
}
body[data-page="contact.html"] .gx-clock i{
  display:block;margin-top:6px;font:400 9.5px/1 var(--f-mono);letter-spacing:.16em;
  text-transform:uppercase;color:var(--muted-2);font-style:normal;
}
body[data-page="contact.html"] .gx-rows{margin:0;padding:0;position:relative}
body[data-page="contact.html"] .gx-rows .gx-row{
  display:grid;grid-template-columns:132px minmax(0,1fr);gap:18px;
  padding:13px 0;border-bottom:1px solid var(--line);
}
body[data-page="contact.html"] .gx-rows .gx-row:last-child{border-bottom:0;padding-bottom:2px}
body[data-page="contact.html"] .gx-rows dt{
  margin:0;font:500 10.5px/1.6 var(--f-mono);letter-spacing:.13em;
  text-transform:uppercase;color:var(--muted-2);
}
body[data-page="contact.html"] .gx-rows dd{
  margin:0;font:400 14.5px/1.62 var(--f-display);color:var(--bone-2);
}
body[data-page="contact.html"] .gx-rows dd a{
  color:var(--bone);text-decoration:none;
  border-bottom:1px solid rgba(201,162,74,.5);
  transition:color .26s var(--ease),border-color .26s var(--ease);
}
body[data-page="contact.html"] .gx-rows dd a:hover{color:var(--gold-lt);border-color:var(--gold-lt)}
body[data-page="contact.html"] .gx-rows dd.gx-tel{
  font-family:var(--f-mono);font-size:14px;letter-spacing:.01em;color:var(--bone);
}
body[data-page="contact.html"] .gx-rows dd .gx-todo{
  font:400 12px/1.5 var(--f-mono);letter-spacing:.08em;text-transform:uppercase;color:var(--muted-2);
}
body[data-page="contact.html"] .gx-tag{
  display:inline-block;padding:4px 10px;border-radius:999px;
  border:1px solid rgba(226,69,47,.55);color:#F0806F;
  font:500 10.5px/1 var(--f-mono);letter-spacing:.14em;text-transform:uppercase;
}
body[data-page="contact.html"] .gx-oc__foot{
  display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 20px;
  margin-top:18px;padding-top:14px;border-top:1px solid var(--line);
  font:400 11px/1.5 var(--f-mono);letter-spacing:.06em;color:var(--muted-2);
}

/* 「All three」模式：三张卡并排，紧凑呈现（此时"三地"确实同时看得见） */
body[data-page="contact.html"] .gx-office[data-mode="all"]{
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;border:0;background:none;overflow:visible;
}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-oc{
  grid-area:auto;
  opacity:1;visibility:visible;pointer-events:auto;transform:none;
  padding:17px 16px 15px;
  border:1px solid var(--line);border-radius:10px;
  background:linear-gradient(180deg,rgba(244,241,234,.038),rgba(244,241,234,.012));
}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-oc__top{
  flex-direction:column;gap:9px;padding-bottom:12px;margin-bottom:2px;
}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-oc__top h3{font-size:20px}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-clock{text-align:left}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-clock b{font-size:15px;display:inline-block}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-clock i{display:inline-block;margin:0 0 0 7px}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-rows .gx-row{
  grid-template-columns:minmax(0,1fr);gap:3px;padding:9px 0;
}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-rows dt{
  font-size:9.5px;letter-spacing:.1em;
}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-rows dd{
  font-size:13px;line-height:1.52;
}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-rows dd.gx-tel{font-size:12.5px}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-rows dd .gx-todo{font-size:10.5px}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-tag{font-size:9.5px;padding:3px 8px}
body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-oc__foot{
  flex-direction:column;gap:5px;margin-top:14px;padding-top:12px;font-size:10px;
}

/* --- 5. 右栏：直连通道 --------------------------------------------------- */
body[data-page="contact.html"] .gx-rail{
  border:1px solid var(--line);border-radius:10px;
  background:linear-gradient(180deg,rgba(244,241,234,.04),rgba(244,241,234,.012));
  padding:clamp(22px,2.6vw,32px);
}
body[data-page="contact.html"] .gx-rail h2{
  margin:6px 0 0;font-size:clamp(20px,2.3vw,25px);line-height:1.15;letter-spacing:-.008em;
}
body[data-page="contact.html"] .gx-ch{list-style:none;margin:20px 0 0;padding:0}
body[data-page="contact.html"] .gx-ch li + li{margin-top:10px}
body[data-page="contact.html"] .gx-ch a{
  display:grid;grid-template-columns:38px minmax(0,1fr) 16px;align-items:center;gap:14px;
  padding:13px 14px;border:1px solid var(--line);border-radius:8px;
  background:rgba(11,11,12,.34);
  text-decoration:none;color:var(--bone);
  transition:border-color .3s var(--ease),background-color .3s var(--ease),transform .3s var(--ease);
}
body[data-page="contact.html"] .gx-ch a:hover{
  border-color:rgba(201,162,74,.55);background:rgba(201,162,74,.07);transform:translateY(-1px);
}
body[data-page="contact.html"] .gx-ch .gx-ico{
  width:38px;height:38px;border-radius:7px;display:grid;place-items:center;
  background:var(--gold-dim);border:1px solid rgba(201,162,74,.3);flex:0 0 auto;
}
body[data-page="contact.html"] .gx-ch .gx-ico svg{width:19px;height:19px;display:block;color:var(--gold-lt)}
body[data-page="contact.html"] .gx-ch b{
  display:block;font:500 14.5px/1.3 var(--f-display);letter-spacing:.002em;
}
body[data-page="contact.html"] .gx-ch span{
  display:block;margin-top:3px;font:400 11.5px/1.45 var(--f-mono);letter-spacing:.04em;color:var(--muted);
}
body[data-page="contact.html"] .gx-ch .gx-arrow{color:var(--muted-2);transition:transform .3s var(--ease),color .3s var(--ease)}
body[data-page="contact.html"] .gx-ch a:hover .gx-arrow{color:var(--gold-lt);transform:translateX(2px)}

/* --- 6. 语言分流：与上面的直连通道同一套造型 --------------------------- */
/* 这里**故意不定义按钮样式**——两种行都走同一个 .gx-ch 列表与 .gx-ico / .gx-arrow，
   所以图标尺寸、图标底色、两段式文字、卡片描边与圆角全部自动一致。 */
body[data-page="contact.html"] .gx-split{
  margin-top:26px;padding-top:22px;border-top:1px solid var(--line);
}
body[data-page="contact.html"] .gx-split > .eyebrow{margin:0}
body[data-page="contact.html"] .gx-split .gx-ch{margin-top:14px}
body[data-page="contact.html"] .gx-split__n{
  margin:16px 0 0;font:400 12px/1.6 var(--f-mono);letter-spacing:.03em;color:var(--muted-2);
}

/* --- 7. 咖啡（创业调性） ------------------------------------------------- */
body[data-page="contact.html"] .gx-coffee{
  margin-top:clamp(34px,4vw,56px);
  border:1px solid rgba(201,162,74,.34);border-radius:10px;
  background:linear-gradient(115deg,rgba(201,162,74,.11),rgba(201,162,74,.03) 52%,transparent);
  overflow:hidden;
}
body[data-page="contact.html"] .gx-coffee__in{
  display:grid;grid-template-columns:auto minmax(0,1fr) auto;
  align-items:center;gap:clamp(20px,3vw,42px);
  padding:clamp(26px,3.2vw,40px);
}
body[data-page="contact.html"] .gx-coffee__cup{
  width:clamp(62px,7vw,86px);height:clamp(62px,7vw,86px);
  border-radius:14px;display:grid;place-items:center;
  background:var(--gold-dim);border:1px solid rgba(201,162,74,.34);
}
body[data-page="contact.html"] .gx-coffee__cup svg{width:56%;height:56%;display:block;color:var(--gold-lt)}
body[data-page="contact.html"] .gx-coffee h3{
  margin:8px 0 0;font-size:clamp(19px,2.3vw,26px);line-height:1.2;letter-spacing:-.006em;
}
body[data-page="contact.html"] .gx-coffee p{
  margin:10px 0 0;max-width:58ch;font:400 15px/1.62 var(--f-display);color:var(--bone-2);
}
body[data-page="contact.html"] .gx-coffee p b{color:var(--gold-lt);font-weight:500}
body[data-page="contact.html"] .gx-coffee__act{display:flex;flex-direction:column;gap:10px;flex:0 0 auto}

/* --- 7b. 图标（模板宏里不写行内 style，尺寸与颜色一律在这里定） ---------- */
body[data-page="contact.html"] [data-gx-href]{cursor:pointer}
body[data-page="contact.html"] .gx-arrow svg{width:16px;height:16px;display:block}
body[data-page="contact.html"] .gx-ico svg{color:var(--gold-lt)}
body[data-page="contact.html"] .gx-coffee__cup svg{color:var(--gold-lt)}

/* --- 8. 响应式 ---------------------------------------------------------- */
@media (max-width:900px){
  /* 三并排在这个宽度以下会挤成一团，落回单列 */
  body[data-page="contact.html"] .gx-office[data-mode="all"]{grid-template-columns:minmax(0,1fr)}
  body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-oc__top{
    flex-direction:row;gap:20px;align-items:flex-start;
  }
  body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-clock{text-align:right}
  body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-clock b{font-size:17px;display:block}
  body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-clock i{display:block;margin:6px 0 0}
  body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-rows .gx-row{
    grid-template-columns:132px minmax(0,1fr);gap:18px;padding:13px 0;
  }
  body[data-page="contact.html"] .gx-office[data-mode="all"] .gx-oc{padding:22px}
}
@media (max-width:1080px){
  body[data-page="contact.html"] .gx-grid{grid-template-columns:minmax(0,1fr)}
  body[data-page="contact.html"] .gx-stage{max-width:560px}
  body[data-page="contact.html"] .gx-coffee__in{grid-template-columns:auto minmax(0,1fr)}
  body[data-page="contact.html"] .gx-coffee__act{grid-column:1/-1;flex-direction:row;flex-wrap:wrap}
}
@media (max-width:760px){
  body[data-page="contact.html"] .gx-rows .gx-row{grid-template-columns:minmax(0,1fr);gap:5px;padding:11px 0}
  body[data-page="contact.html"] .gx-oc__top{flex-direction:column;gap:12px}
  body[data-page="contact.html"] .gx-clock{text-align:left}
  body[data-page="contact.html"] .gx-ch a{grid-template-columns:34px minmax(0,1fr);gap:12px}
  body[data-page="contact.html"] .gx-ch .gx-arrow{display:none}
}
@media (max-width:430px){
  body[data-page="contact.html"] .hero{padding-top:calc(var(--nav-h) + 42px)}
  body[data-page="contact.html"] .hero h1{font-size:clamp(2.05rem,10.2vw,2.6rem)}
  body[data-page="contact.html"] .gx-tabs{gap:6px}
  body[data-page="contact.html"] .gx-tabs button{padding:9px 16px;font-size:15.75px}
  body[data-page="contact.html"] .gx-coffee__in{grid-template-columns:minmax(0,1fr);gap:18px}
  body[data-page="contact.html"] .gx-hint{flex-direction:column;gap:4px;font-size:10px}
}
@media (prefers-reduced-motion:reduce){
  body[data-page="contact.html"] .gx-oc,
  body[data-page="contact.html"] .gx-ch a{transition:none}
}
