/* English layout is independent of the confirmed Chinese typography. */
html.pc-english {
  --en-body: 16px;
  --en-small: 14px;
}
@media (max-width: 1399px) {
  html.pc-english { --en-body: 15px; }
}
html.pc-english .site-scroll-label { letter-spacing: .04em; }
html.pc-english body.company-page :is(.company, .business, .company-modal) :is(h1, h2, h3, h4) {
  font-family: ENMediumfont, Arial, sans-serif; font-weight: 400;
}
html.pc-english body.company-page :is(.company, .business, .company-modal) p {
  font-family: ENfont, Arial, sans-serif; font-weight: 300;
}
html.pc-english .nav-tab > div { margin-right: clamp(20px, 3.25vw, 64px); }
html.pc-english .project-left-r1 {
  width: auto; height: auto; writing-mode: horizontal-tb;
  font-size: 12px; line-height: 1.35; white-space: normal;
}

/* Keep reading sizes stable while images retain the original stage scale. */
html.pc-english body.company-page .company h2,
html.pc-english body.company-page .business h2 {
  font-size: clamp(28px, 2.3vw, 44px); line-height: 1.2;
  letter-spacing: -.015em; text-wrap: balance;
}
html.pc-english body.company-page :is(.company-about-copy, .company-section-heading, .business-copy) p {
  font-size: var(--en-body); line-height: 1.6; font-weight: 300;
  text-align: left; letter-spacing: normal; word-spacing: normal;
  overflow-wrap: break-word;
}
html.pc-english .company-about-copy {
  position: absolute; top: 18%; bottom: 13%; left: 45%;
  margin-left: 0; padding-top: 0; width: 39%; max-width: 70ch;
  overflow-x: hidden; overflow-y: auto;
}
html.pc-english .company-about-copy h2 { margin-bottom: 20px; }
html.pc-english .company-about-copy p + p { margin-top: 1em; }
html.pc-english .company-strategy .company-section-heading {
  width: 66%; max-width: 1040px; padding-top: calc(5.5 * var(--company-vw));
}
html.pc-english body.company-page .company-section-heading p {
  text-align: center; text-wrap: balance;
}
html.pc-english .company-section-heading h2 { margin-bottom: 16px; }
html.pc-english .company-city {
  --en-city-heading: clamp(15px, 1vw, 20px);
  --en-city-icon: clamp(36px, 3vw, 56px);
  --en-city-gap: 12px;
  white-space: normal;
}
html.pc-english .company-city[data-en-city] {
  width: max-content; height: auto; margin: 0;
  gap: 10px; text-align: left;
  translate: calc(-100% - var(--en-city-gap) + var(--en-city-title-overhang, 0px)) calc(-.625 * var(--en-city-heading));
}
html.pc-english .company-city[data-en-city].right {
  margin: 0; text-align: right;
  translate: calc(var(--en-city-gap) - var(--en-city-title-overhang, 0px)) calc(-.625 * var(--en-city-heading));
}
html.pc-english .company-city[data-en-city] > div {
  width: max-content; max-width: clamp(160px, 14vw, 210px);
  min-height: var(--en-city-icon);
}
html.pc-english .company .company-city[data-en-city="chengdu"] > div { max-width: none; }
html.pc-english .company-city[data-en-city] img {
  display: block; width: var(--en-city-icon); height: var(--en-city-icon);
}
html.pc-english body.company-page .company-city h3 {
  font-size: var(--en-city-heading); line-height: 1.25; text-align: inherit;
}
html.pc-english .company-city[data-en-city] h3 { width: max-content; }
html.pc-english .company-city[data-en-city].right h3 { margin-left: auto; }
html.pc-english body.company-page .company-city p {
  margin-top: 3px; font-size: clamp(12px, .7vw, 13px); line-height: 1.4;
  white-space: pre-line; text-align: inherit;
}
html.pc-english .company-stat-unit {
  display: grid; place-items: center; font-size: 14px; line-height: 1.3;
}
html.pc-english body.company-page .company .company-stat-caption {
  font-size: 16px; line-height: 1.45; max-width: 24ch; margin-inline: auto;
}
html.pc-english .company .company-stat-value {
  font-family: CompanyNumbers, Arial, sans-serif; font-weight: 700;
  font-size: clamp(30px, 2.15vw, 42px); line-height: 1.4;
}
html.pc-english .company-ecology .company-stage { padding-top: calc(5.5 * var(--company-vw)); }
html.pc-english .company-ecology-grid figure::after { height: 45%; }
html.pc-english .company-ecology-grid figure figcaption {
  top: auto; bottom: 6%; left: 8%; right: 8%; width: auto;
}
html.pc-english body.company-page .company-ecology-grid h3 {
  font-size: clamp(16px, 1.05vw, 20px); line-height: 1.25;
  white-space: normal; text-wrap: balance;
}
html.pc-english .company-ecology-grid p {
  font-size: 14px; line-height: 1.45; white-space: normal; margin-top: 8px;
  overflow-wrap: break-word;
}
html.pc-english .company-culture .company-section-heading {
  width: 72%; max-width: 1040px; padding-top: calc(6.2 * var(--company-vw));
}
html.pc-english .company-cards { margin-top: calc(2.8 * var(--company-vw)); }
html.pc-english .company-card-caption {
  min-height: 64px; height: auto; padding-block: 12px; gap: 16px;
}
html.pc-english .company-card-caption h3 {
  min-width: 0; font-size: 16px; line-height: 1.35;
  overflow-wrap: break-word; text-wrap: pretty;
}
html.pc-english .company-card-logo { flex-shrink: 0; }

/* The existing central scrollbar remains the dialog's reading control. */
html.pc-english .company-modal-panel {
  width: min(1150px, 88vw); height: min(700px, calc(100dvh - 100px));
  left: 0; top: 0;
}
html.pc-english body.company-page .company-modal h2 {
  font-size: clamp(22px, 1.6vw, 30px); line-height: 1.25;
  max-width: 31%; overflow-wrap: break-word; text-wrap: balance;
}
html.pc-english .company-modal-copy {
  left: 43%; width: 49%; max-height: calc(100% - 190px);
}
html.pc-english .company-modal-divider { left: 39%; }
html.pc-english .company-modal-brand { left: 43%; font-size: 12px; }
html.pc-english body.company-page .company-modal-copy h3 {
  font-size: 20px; line-height: 1.4; margin-bottom: 16px; white-space: normal;
}
html.pc-english .company-modal-body,
html.pc-english .company-modal-body p {
  font-size: var(--en-body); line-height: 1.6; font-weight: 300;
  text-align: left; letter-spacing: normal; word-spacing: normal;
  overflow-wrap: break-word;
}
html.pc-english .company-modal-body p + p { margin-top: 1em; }
html.pc-english .company-modal-signature { font-size: 11px; }

/* Commercial copy gains horizontal space and an explicit vertical reading area. */
html.pc-english body.company-page .business-hero-title h1 {
  max-width: 90vw; font-size: clamp(36px, 2.7vw, 52px);
  margin-inline: auto; text-align: center;
  line-height: 1.2; letter-spacing: .015em; text-wrap: balance;
}
html.pc-english .business-hero-title p {
  max-width: 90vw; margin-inline: auto; text-align: center;
  font-size: clamp(18px, 1.25vw, 24px); line-height: 1.4; text-wrap: balance;
}
html.pc-english .business-copy {
  left: 59%; width: 31%; top: 16%; bottom: 12%; height: auto;
}
html.pc-english .business-copy-header { height: 24px; }
html.pc-english .business-copy-rule { top: 36px; }
html.pc-english .business-copy-body {
  position: relative; min-height: 0;
  max-height: calc(100% - 58px); overflow-x: hidden; overflow-y: hidden;
  padding-right: 12px; scrollbar-gutter: stable;
}
html.pc-english .business-copy-body.is-scrollable {
  overflow-y: scroll;
  scrollbar-color: rgba(255,255,255,.85) rgba(255,255,255,.12);
}
html.pc-english .business-copy-body.has-more-below {
  -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent 100%);
  mask-image: linear-gradient(to bottom, #000 calc(100% - 36px), transparent 100%);
}
@media (max-width: 1399px) {
  html.pc-english body.company-page .business-copy-body p { font-size: 14px; }
}
html.pc-english body.company-page .business-copy h3 {
  font-size: clamp(18px, 1.15vw, 22px); line-height: 1.35;
  margin-bottom: 16px; white-space: normal; overflow-wrap: break-word; text-wrap: pretty;
}
html.pc-english .business-copy p + p { margin-top: 1em; }
html.pc-english .business-project,
html.pc-english .business-chengdu .business-project { width: 40%; max-width: 40%; }
html.pc-english body.company-page .business-project h3 {
  font-size: clamp(18px, 1.25vw, 24px); line-height: 1.3;
  white-space: normal; overflow-wrap: break-word;
}
html.pc-english body.company-page .business-project p {
  font-size: 14px; line-height: 1.5; text-align: left; margin-top: 12px;
}
html.pc-english .business-project-count { font-size: 15px; }
html.pc-english .commercial-map-trigger {
  width: max-content; max-width: 42%; min-height: 40px; padding: 8px 14px;
}
html.pc-english .commercial-map-trigger span { font-size: 14px; white-space: normal; }
html.pc-english .commercial-map-filters { width: max-content; right: 16px; gap: 8px; }
html.pc-english .commercial-map-filters button {
  min-height: 34px; height: auto; font-size: 14px; line-height: 1.3;
  padding: 7px 10px; white-space: nowrap;
}
html.pc-english .commercial-map-filters button span { letter-spacing: normal; text-align: left; }
html.pc-english .commercial-map-label {
  display: block; width: var(--en-map-width, 120px) !important;
  height: var(--en-map-height, 34px) !important; min-height: 0; max-width: none; padding: 0; border-radius: 4px;
}
/* Render above browser minimum font sizes, then scale the complete text block. */
html.pc-english .commercial-map-copy {
  position: absolute; top: 2px; left: 3px; display: flex; flex-direction: column; align-items: center;
  width: max-content; max-width: 342px; font-family: inherit;
  transform: scale(.3333333333); transform-origin: 0 0;
}
html.pc-english .commercial-map-label strong,
html.pc-english .commercial-map-label small {
  font-size: 24px !important; line-height: 30px !important; max-width: 342px;
  margin: 0 !important; transform: none; white-space: normal;
}
html.pc-english .commercial-map-label small { font-size: 20px !important; line-height: 24px !important; }
html.pc-english .commercial-map-label[data-node-id="3362:1839"] .commercial-map-copy,
html.pc-english .commercial-map-label[data-node-id="3362:1839"] strong {
  max-width: none; white-space: nowrap;
}
html.pc-english .business-upcoming-grid { top: 23%; height: 64%; }
html.pc-english body.company-page .business-upcoming-card h3 {
  font-size: 16px; line-height: 1.35; white-space: normal; overflow-wrap: break-word;
}
html.pc-english .business-upcoming-card p { font-size: 13px; line-height: 1.35; }
html.pc-english .business-upcoming-grid .business-upcoming-card.is-expanded {
  height: 96%; inset-block-start: 2%;
}
html.pc-english .business-upcoming-grid .business-upcoming-card.is-expanded .business-upcoming-detail { gap: 20px; }
html.pc-english body.company-page .business-upcoming-summary h4 {
  font-size: clamp(18px, 1.05vw, 20px); line-height: 1.35;
  white-space: pre-wrap; overflow-wrap: break-word;
}
html.pc-english .business-upcoming-detail .business-upcoming-meta {
  font-size: 14px; line-height: 1.5; white-space: pre-wrap;
}
html.pc-english .business-upcoming-grid .business-upcoming-card.is-expanded .business-upcoming-body { width: 79%; padding-right: 12px; scrollbar-gutter: stable; }
html.pc-english .business-upcoming-body p {
  font-size: 14px; line-height: 1.6; text-align: left; font-weight: 300;
  overflow-wrap: break-word; letter-spacing: normal; word-spacing: normal;
}
html.pc-english .business-upcoming-body p + p { margin-top: 1em; }
html.pc-english .business-upcoming-grid .business-upcoming-card.is-expanded figcaption { max-width: 17%; }
html.pc-english .business-upcoming-grid .business-upcoming-card.is-expanded figcaption h3 { font-size: 14px; }
html.pc-english .business-upcoming-grid .business-upcoming-card.is-expanded figcaption p { font-size: 12px; }

/* Scrollbars appear only where the text exceeds the available space. */
html.pc-english :is(.company-about-copy, .business-copy-body, .business-upcoming-body) {
  scrollbar-width: thin; scrollbar-color: rgba(255,255,255,.55) transparent;
  overscroll-behavior: contain;
}
html.pc-english .company-about-copy { scrollbar-color: rgba(0,0,0,.45) transparent; padding-right: 12px; }
html.pc-english :is(.company-about-copy, .business-copy-body, .business-upcoming-body)::-webkit-scrollbar { display: block; width: 5px; }
html.pc-english :is(.company-about-copy, .business-copy-body, .business-upcoming-body)::-webkit-scrollbar-thumb { background: rgba(190,190,190,.7); border-radius: 4px; }
/* Use a precise, finer track where custom scrollbar sizing is supported. */
@supports selector(::-webkit-scrollbar) {
  html.pc-english .business-copy-body,
  html.pc-english .business-copy-body.is-scrollable { scrollbar-width: auto; scrollbar-color: auto; }
  html.pc-english .business-copy-body::-webkit-scrollbar { width: 3px; }
  html.pc-english .business-copy-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,.85); border-radius: 3px; }
  html.pc-english .business-copy-body::-webkit-scrollbar-track { background: rgba(255,255,255,.12); }
}
html.pc-english [data-en-scroll]:focus-visible { outline: 1px solid currentColor; outline-offset: 5px; }

/* Existing Luxelakes English copy follows the same desktop reading sizes. */
html.pc-english .introduction-item-content,
html.pc-english .city-mode p:nth-child(2) {
  font-family: ENfont, Arial, sans-serif; font-weight: 300;
  font-size: var(--en-body) !important; line-height: 1.6 !important;
  max-width: 1000px; margin-inline: auto;
}
html.pc-english .introduction-scoll-item-content {
  display: block; overflow-y: auto; overscroll-behavior: contain;
  padding: clamp(24px, 2.5vw, 48px); scrollbar-width: thin;
}
html.pc-english .introduction-scoll-item-content p:nth-child(2) {
  font-family: ENfont, Arial, sans-serif; font-weight: 300;
  font-size: var(--en-body) !important; line-height: 1.6 !important; margin-top: 0;
}
html.pc-english .introduction-scoll-item-content:focus-within { opacity: 1; }
html.pc-english .introduction-tips { font-size: 14px; line-height: 1.5; }

html.pc-english .wh-page .wh-gallery-copy p {
  font-size: clamp(13px, .7291666667vw, 14px); line-height: 1.65;
}
html.pc-english .wh-page .wh-signature-en {
  display: grid; justify-items: end; gap: calc(28 * var(--wh-u));
  font-family: ENMediumfont, Arial, sans-serif; font-size: calc(16 * var(--wh-text-u));
  line-height: 1; letter-spacing: calc(6 * var(--wh-text-u)); color: #fff; text-align: right;
}
html.pc-english .wh-page .wh-signature-en span { margin-right: calc(-6 * var(--wh-text-u)); text-align: right; }
html.pc-english .wh-page .wh-signature-en span:last-child {
  letter-spacing: calc(10 * var(--wh-text-u)); margin-right: calc(-10 * var(--wh-text-u));
}
html.pc-english .wh-page .wh-signature-en::after {
  content: ""; display: block; width: calc(14 * var(--wh-u)); height: 1px; background: currentColor;
}

/* Shared project profiles retain centered introductory copy in English. */
html.pc-english .new-top-title-view .new-title-content,
html.pc-english .new-top-title-view .new-title-content :is(p, span) {
  text-align: center; text-wrap: balance;
}
html.pc-english .cq-desktop .new-top-title-view { width: min(1080px, 72vw); }

/* Project overview copy keeps its English layout with the shared entry motion. */
html.pc-english .remote-project-content-en {
  width: min(900px, calc(100% - 80px)); text-align: center; text-wrap: balance;
}

/* Keep complete phrases together in the two-column design awards. */
html.pc-english .design-detail-page .project-awards-item > div:first-child { text-wrap: balance; }
html.pc-english .design-detail-page .project-awards-item > div:last-child { text-wrap: pretty; }

@media (max-height: 800px) {
  html.pc-english .company-culture .company-section-heading { padding-top: calc(4.8 * var(--company-vw)); }
  html.pc-english .company-cards { margin-top: 24px; }
  html.pc-english .company-modal-panel { height: calc(100dvh - 80px); }
}
