/* Shared refinements from the supplied UI. Content and module order remain configurable. */
.site-header.hero-header{position:absolute;inset:0 0 auto;background:linear-gradient(180deg,#141c2955,transparent);color:#fff;border:0;z-index:20}
.site-header.hero-header .brand,.site-header.hero-header .menu-button,.site-header.hero-header .main-nav a{color:inherit;text-shadow:0 1px 8px #0003}
.site-header.hero-header .main-nav a[aria-current]{color:inherit}
.site-header.hero-header .main-nav{scrollbar-width:none}
.site-header.hero-header .main-nav::-webkit-scrollbar{display:none}
.page-home .home-hero .hero-copy{padding-top:180px;padding-bottom:60px}
.page-home .home-hero .hero-copy h1{max-width:15em}
.main-nav a[aria-current="page"]{color:var(--red)}
.main-nav a[aria-current="page"]:after{content:'';position:absolute;bottom:0;left:0;right:0;height:2px;background:currentColor}
.main-nav a{position:relative}
.home-section img,.home-section a{min-width:0}
.home-entry-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.home-entry-card{display:grid;grid-template-columns:minmax(0,1fr) 52%;border:1px solid var(--line);background:var(--surface);border-radius:5px;overflow:hidden}
.home-entry-card figure{margin:0;min-width:0;overflow:hidden}.home-entry-copy{padding:22px;align-self:center;min-width:0}
.home-entry-copy h3{font-size:27px;line-height:1.4}
.home-entry-copy p{font-size:15px;color:var(--muted);line-height:1.6;margin-top:8px}
.home-entry-card img{width:100%;height:100%;min-height:180px;aspect-ratio:auto;object-fit:cover;object-position:50% 50%}
.home-entry-card.without-image{grid-template-columns:1fr}
.home-entry-copy .text-link{font-size:14px;margin-top:14px}
.building-intro,.building-directory{max-width:960px;padding-top:32px}
.building-intro .eyebrow{margin-top:18px;margin-bottom:10px}
.building-intro figure{margin-top:24px}
.building-intro .page-photo{aspect-ratio:1.65;max-height:560px}
.page-building .page-content{margin-top:32px;padding-top:0}
.building-directory .home-workspace-copy h2{font-size:27px}
.building-intro .breadcrumb{display:flex;gap:10px;font-size:13px;color:var(--muted)}
@media(max-width:760px){
  .site-header.hero-header{position:fixed}
  .site-header.hero-header.is-past-hero{background:var(--paper);color:var(--ink);border-bottom:1px solid var(--line);box-shadow:0 3px 12px #2727240a}
  .site-header.hero-header.is-past-hero .brand,.site-header.hero-header.is-past-hero .main-nav a{color:var(--ink);text-shadow:none}
  .site-header.hero-header.is-past-hero .menu-button,.site-header.hero-header.is-past-hero .main-nav a[aria-current]{color:var(--red)}
  .page-home .home-hero .hero-copy{padding-top:160px;padding-bottom:40px}
  .page-home .home-hero .hero-copy h1{font-size:clamp(36px,10.4vw,46px);line-height:1.32;max-width:10em}
  .page-home .home-hero .hero-copy>p:not(.hero-location){font-size:16px}
  .home-entry-grid{grid-template-columns:1fr;gap:14px}
  .home-entry-copy{padding:17px 14px}
  .home-entry-copy h3{font-size:24px}
  .home-entry-copy p{font-size:14px}
  .home-entry-card img{min-height:165px}
  .building-intro,.building-directory{width:calc(100% - 40px);padding-top:22px}
  .building-intro h1{font-size:34px;line-height:1.4}
  .building-intro .lead{font-size:16px;line-height:1.8}
  .building-intro figure{margin-top:18px}
  .building-intro .page-photo{aspect-ratio:1.35}
  .building-directory .home-workspace-copy h2{font-size:23px}
}

/* Original homepage feature strip and workspace cards. */
.cf-home-highlights{display:flex;justify-content:center;background:#f0ece5;padding:24px 4%;gap:0}.cf-home-highlights>div{display:flex;flex-direction:column;align-items:center;gap:10px;flex:1;max-width:360px;border-right:1px solid var(--line);font-size:18px}.cf-home-highlights>div:last-child{border-right:0}.cf-home-highlights .icon{width:30px;height:30px;color:var(--red)}
#workspaces .home-workspace-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-buildings .home-workspace-copy p{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
@media(max-width:760px){#workspaces .home-workspace-grid{grid-template-columns:1fr}.cf-home-highlights{padding:24px 0}.cf-home-highlights>div{font-size:15px}.cf-home-highlights .icon{width:28px;height:28px}}
.cf-project-choice{margin:0 0 24px}.cf-project-choice>div{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px}.cf-project-choice a[aria-current=true]{background:var(--red);color:white}

.home-buildings .without-image .home-workspace-copy{grid-column:1/-1}

/* Mobile keeps a single navigation entry: the hamburger opens the "探索创富" dialog.
   The horizontal nav row stays in the DOM for desktop and for no-CSS/print fallbacks,
   but is removed from the mobile layout so the two entry points never compete.
   The .hero-header variant must be matched explicitly: style.css declares
   .site-header.hero-header .main-nav{display:flex} inside the same breakpoint. */
@media(max-width:760px){
  .site-header .main-nav,
  .site-header.hero-header .main-nav{display:none}
  .site-header .menu-button{margin-left:auto}
}

/* Appointment captcha: a small inline arithmetic check before submitting. */
.field-captcha label{display:flex;align-items:baseline;gap:6px;flex-wrap:wrap}
.captcha-question{display:inline-block;padding:2px 10px;border-radius:4px;background:#f2ece4;font-family:ui-monospace,Menlo,Consolas,monospace;font-size:17px;letter-spacing:.06em;color:#3a3a35}
.field-captcha input{max-width:180px}
.captcha-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-top:6px}
.captcha-row input{margin:0}
.captcha-refresh{
  flex:0 0 auto;padding:9px 16px;border-radius:5px;
  border:1px solid var(--line);background:#fff;color:var(--ink);
  font-family:var(--sans);font-size:13px;line-height:1.4;
  cursor:pointer;white-space:nowrap;
  transition:border-color .15s,color .15s,background .15s;
}
.captcha-refresh:hover:not(:disabled){border-color:var(--red);color:var(--red)}
.captcha-refresh:focus-visible{outline:2px solid var(--red);outline-offset:2px}
.captcha-refresh:disabled{cursor:default;opacity:.72}
@media(max-width:420px){
  .captcha-row{gap:8px}
  .captcha-refresh{padding:8px 13px;font-size:12.5px}
}
.captcha-hint{display:block;margin-top:6px;font-size:12px;color:#9a938a}
