/* sections.css — các khối nội dung. Thứ tự: trang chủ → giới thiệu → bất động sản + dự án → việc làm → kinh nghiệm → liên hệ.
   Màu chỉ lấy từ tokens.css. */

/* =============== HERO TRANG CHỦ =============== */
.hero {
  position: relative; isolation: isolate; overflow: hidden; min-height: 100svh;
  display: flex; align-items: center; background: var(--night); color: var(--on-dark);
  padding: calc(var(--head-h) + 28px) 0 clamp(36px, 6vh, 72px);
}
.hero-bg { position: absolute; inset: 0; z-index: -1; overflow: hidden; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, var(--shade) 0%, transparent 62%); }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); align-items: center; gap: clamp(28px, 5vw, 80px); }
.hero-text { container-type: inline-size; }
.hero-org { display: flex; align-items: center; gap: 12px; font-size: clamp(.95rem, .85rem + .3vw, 1.125rem); font-weight: 500; letter-spacing: .01em; }
.hero-org::before { content: ""; flex: none; width: 18px; height: 18px; background: var(--gold-light); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
/* cỡ theo bề ngang cột chữ: dòng dài nhất ("Nền tảng đa ngành") luôn vừa một dòng */
.hero-tag { margin: .32em 0 .5em; font-family: var(--font-display); font-weight: 800; font-size: var(--fs-hero); font-size: clamp(2.5rem, 12.4cqi, 7.5rem); line-height: 1.07; letter-spacing: .004em; }
.hero-tag > span { display: block; }
.hero-note { max-width: 32em; padding-left: 16px; border-left: 2px solid var(--gold); font-size: .98rem; color: var(--on-dark-2); }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: clamp(28px, 4vh, 44px); }

/* biểu tượng logo gốc, vẽ bằng SVG nội tuyến (viewBox của huyhung-mau-icon.svg): thanh vàng → đồng, viền vàng, ngôi sao vàng sáng */
.mark { justify-self: center; width: min(100%, calc(100svh - var(--head-h) - 150px), 640px); min-width: 0; }
.mark-art { position: relative; aspect-ratio: 71.411 / 70.591; }
.mark-logo { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.mark-logo .s1 { stop-color: var(--gold); }
.mark-logo .s2 { stop-color: var(--bronze); }
.mark-logo .s3 { stop-color: var(--gold-light); stop-opacity: .55; }
.mark-logo .s4 { stop-color: var(--gold-light); stop-opacity: 0; }
.mark-logo .rim { fill: var(--gold); }
.lb { transform-box: fill-box; }
/* vệt sáng: trắng + quầng vàng sáng để nổi trên thanh vàng */
.glint path { fill: none; stroke: var(--paper); stroke-width: .34; stroke-linecap: round; stroke-dasharray: 0 1000; filter: drop-shadow(0 0 .5px var(--gold-light)) drop-shadow(0 0 1.2px var(--gold-light)); }
.mark-glow { fill: url(#h-glow); opacity: .55; }
.mark-star { fill: var(--gold-light); transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 1.4px color-mix(in srgb, var(--gold-light) 60%, transparent)); }
.mark-cap { display: grid; grid-template-columns: 1fr 1fr; margin-top: 22px; font-size: .95rem; font-weight: 500; text-align: center; }
.mark-cap a { padding: 10px 6px 4px; text-decoration: none; border-top: 1px solid var(--rule-dark); transition: border-color .3s, color .3s; }
.mark-cap a:first-child { margin-right: 11%; }
.mark-cap a:last-child { margin-left: 11%; }
.mark-cap a:hover { border-top-color: var(--gold); color: var(--gold-light); }
.scroll-cue { position: absolute; left: max(var(--gutter), calc((100% - var(--max)) / 2)); bottom: 24px; width: 1px; height: 56px; background: var(--rule-dark); overflow: hidden; }
.scroll-cue::after { content: ""; position: absolute; left: 0; top: 0; width: 1px; height: 40%; background: var(--gold); }

html.motion .lb { animation: rise 1.15s var(--ease) both; animation-delay: calc(.15s + var(--d) * .14s); }
html.motion .mark-star { animation: star-in .9s cubic-bezier(.2, .8, .25, 1.25) .85s both, pulse 3.2s 1.75s infinite; }
html.motion .mark-glow { animation: fade 1.2s .9s both, glow-pulse 3.2s 1.75s infinite; }
html.motion .glint path { animation: glint 7s linear infinite; animation-delay: calc(2s + var(--g) * 1.1s); }
html.motion .hero-text > * { animation: up .9s var(--ease) both; animation-delay: calc(.1s + var(--k) * .09s); }
html.motion .scroll-cue::after { animation: cue 2.4s var(--ease) 2s infinite; }
@keyframes rise { from { transform: translateY(16%); opacity: 0; } }
/* ngôi sao: hiện ra đúng cỡ logo gốc rồi co giãn tại chỗ quanh cỡ đó (100 % → 108 % → 92 % → 100 %) — không xoay, không dịch.
   Mỗi chặng một kiểu tăng tốc để nhịp mượt như hình sin, đi qua cỡ gốc ở giữa chừng */
@keyframes star-in { from { transform: scale(0); opacity: 0; } }
@keyframes pulse {
  0% { transform: scale(1); animation-timing-function: ease-out; }
  25% { transform: scale(1.08); animation-timing-function: ease-in-out; }
  75% { transform: scale(.92); animation-timing-function: ease-in; }
  100% { transform: scale(1); }
}
@keyframes glow-pulse {
  0% { opacity: .65; animation-timing-function: ease-out; }
  25% { opacity: .85; animation-timing-function: ease-in-out; }
  75% { opacity: .45; animation-timing-function: ease-in; }
  100% { opacity: .65; }
}
@keyframes glint { 0% { stroke-dasharray: 0 1000; stroke-dashoffset: 0; } 12% { stroke-dasharray: 90 1000; } 30% { stroke-dasharray: 0 1000; stroke-dashoffset: -1000; } 100% { stroke-dasharray: 0 1000; stroke-dashoffset: -1000; } }
@keyframes cue { from { transform: translateY(-100%); } to { transform: translateY(260%); } }

/* =============== BĂNG CHỮ CHẠY — lĩnh vực hoạt động =============== */
.marquee { position: relative; overflow: hidden; padding: 26px 0; background: var(--forest); color: var(--on-dark); border-block: 1px solid var(--rule-dark); }
.marquee-track { display: flex; width: max-content; }
.marquee ul { display: flex; align-items: center; flex: none; }
.marquee li { display: flex; align-items: center; white-space: nowrap; font-family: var(--font-display); font-weight: 700; font-size: clamp(1.6rem, 1.1rem + 1.6vw, 2.6rem); line-height: 1.2; }
.marquee li::after { content: ""; flex: none; width: .55em; height: .55em; margin: 0 .9em; background: var(--gold); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; }
html.motion .marquee-track { animation: marquee 60s linear infinite; }
html.motion .marquee:hover .marquee-track { animation-play-state: paused; }
html:not(.motion) .marquee ul[aria-hidden] { display: none; }
html:not(.motion) .marquee-track { width: auto; padding-inline: var(--gutter); }
html:not(.motion) .marquee ul:first-child { flex-wrap: wrap; row-gap: 6px; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* =============== GIỚI THIỆU (trang chủ + trang Giới thiệu) =============== */
.chap { display: flex; align-items: baseline; gap: 16px; padding-bottom: 16px; margin-bottom: clamp(32px, 5vw, 64px); border-bottom: 1px solid var(--line); }
.chap-n { font-family: var(--font-display); font-weight: 800; font-size: 2.25rem; line-height: 1; color: var(--bronze); }
.chap-t { font-size: 1.0625rem; font-weight: 600; color: var(--forest); }
.intro-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(40px, 6vw, 96px); align-items: end; }
.since { display: flex; align-items: flex-end; gap: clamp(18px, 3vw, 36px); margin-top: clamp(36px, 5vw, 64px); }
.since-n { font-size: clamp(6rem, 3rem + 10vw, 11rem); line-height: .8; color: var(--bronze); }
.since-k { font-weight: 600; color: var(--forest); }
.since-g { color: var(--ink-2); }
.intro-main .more { margin-top: 36px; }

/* nền xanh phủ cả khung, mép trên cao hẳn trên đầu (ảnh tách nền cao ≈ 1,52 × rộng) */
.leader { position: relative; aspect-ratio: 4 / 5.4; display: flex; align-items: flex-end; justify-content: center; }
.leader-panel { position: absolute; inset: 0; background: var(--forest) url(../assets/img/nen-xanh-s.webp) 30% 40% / cover; clip-path: polygon(0 0, 100% 7%, 100% 100%, 0 100%); }
.leader-img { position: relative; width: 74%; height: auto; }
.leader figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 24px 20px; background: linear-gradient(180deg, transparent, var(--shade) 55%); color: var(--on-dark); }
.leader figcaption span { display: block; font-size: .9rem; font-weight: 600; color: var(--gold); }
.leader figcaption strong { display: block; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.75rem, 1.3rem + 1.2vw, 2.4rem); line-height: 1.1; }
html.motion .leader.is-in .leader-img { animation: portrait 1.2s var(--ease) .2s both; }
@keyframes portrait { from { transform: translateY(40px); opacity: 0; } }

/* hai lĩnh vực trọng tâm: hai ô ảnh lớn */
.focus { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.focus-tile {
  position: relative; isolation: isolate; overflow: hidden; min-height: clamp(380px, 40vw, 560px);
  display: flex; flex-direction: column; justify-content: flex-end; padding: clamp(22px, 3vw, 44px);
  background: var(--forest); color: var(--on-dark); text-decoration: none;
}
.focus-tile > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); }
.focus-tile::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 20%, var(--shade) 90%); transition: opacity .5s; }
.focus-tile::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold-grad); transition: width .7s var(--ease); }
.focus-tile:hover > img { transform: scale(1.06); }
.focus-tile:hover::after { width: 100%; }
.focus-k { font-size: .9rem; font-weight: 600; color: var(--gold); }
.focus-t { margin: 4px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.5rem, 1.6rem + 3vw, 4.5rem); line-height: 1; }
.focus-d { max-width: 34em; color: var(--on-dark-2); text-align: justify; }
.focus-go { display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; font-weight: 600; }
.focus-go .ico { transition: translate .35s var(--ease); }
.focus-tile:hover .focus-go .ico { translate: 6px 0; }
.focus-tile:focus-visible { outline-offset: -6px; }

/* =============== TRƯỢT NGANG DỰ ÁN (trang chủ) =============== */
.rail-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(28px, 4vw, 48px); }
.rail-ctrl { display: flex; gap: 10px; }
.rail-btn { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); color: var(--forest); cursor: pointer; transition: background-color .25s, color .25s, border-color .25s; }
.rail-btn:hover:not(:disabled) { background: var(--forest); color: var(--on-dark); border-color: var(--forest); }
.rail-btn:disabled { opacity: .35; cursor: default; }
.rail-btn .ico { width: 22px; height: 22px; }
.rail {
  display: flex; gap: clamp(12px, 1.6vw, 22px); overflow-x: auto; overscroll-behavior-x: contain;
  scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
  padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2)); scroll-padding-inline: max(var(--gutter), calc((100% - var(--max)) / 2));
}
.rail::-webkit-scrollbar { display: none; }
.rail.is-drag { scroll-snap-type: none; cursor: grabbing; }
.rail.is-drag a { pointer-events: none; }
.rail > li { flex: 0 0 min(80vw, 430px); scroll-snap-align: start; }
.rail-bar { height: 2px; margin-top: 26px; background: var(--line); }
.rail-bar i { display: block; height: 100%; width: var(--w, 20%); margin-left: var(--l, 0%); background: var(--gold-grad); transition: margin-left .15s linear; }

/* thẻ dự án dùng chung (trượt ngang, lưới bất động sản) */
.card {
  position: relative; isolation: isolate; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end;
  height: 100%; min-height: 300px; padding: clamp(20px, 2.4vw, 32px); color: var(--on-dark); text-decoration: none; user-select: none;
}
.rail .card { aspect-ratio: 4 / 5; }
.card > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.4s var(--ease); -webkit-user-drag: none; }
.card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, transparent 30%, var(--shade) 95%); }
.card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 0; background: var(--gold-grad); transition: width .7s var(--ease); }
.card:hover > img { transform: scale(1.07); }
.card:hover::after { width: 100%; }
.card:focus-visible { outline-offset: -6px; }
.card-loc { display: flex; gap: 8px; font-size: .88rem; color: var(--on-dark-2); }
.card-loc .ico { margin-top: .2em; color: var(--gold); }
.card-t { margin: 8px 0 12px; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.4vw, 2.7rem); line-height: 1.04; text-wrap: balance; }
.card-fact { display: flex; align-items: baseline; gap: 10px; padding-top: 12px; border-top: 1px solid var(--rule-dark); font-size: .88rem; color: var(--on-dark-2); }
.card-fact b { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; line-height: 1; color: var(--gold-light); }

/* =============== LỊCH SỬ — bậc thang =============== */
.history { padding: var(--sec) 0 0; overflow: hidden; }
.history .sec-t { max-width: 12em; }
.stairs { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 22px); align-items: end; margin-top: clamp(40px, 6vw, 80px); }
.stairs li { display: flex; flex-direction: column; }
.stairs .y { font-size: clamp(2.5rem, 1.4rem + 2.6vw, 4.25rem); color: var(--gold-light); }
.stairs .t { margin-top: 10px; font-weight: 600; line-height: 1.35; }
.stairs .d { margin-top: 6px; font-size: .92rem; line-height: 1.5; color: var(--on-dark-2); text-align: justify; }
.stairs li::after {
  content: ""; display: block; height: calc(56px + var(--i) * clamp(28px, 3.6vw, 52px)); margin-top: 22px;
  background: var(--gold-grad); clip-path: polygon(0 22px, 100% 0, 100% 100%, 0 100%); transform-origin: bottom;
}
html.motion .stairs li { transition: opacity .8s var(--ease), transform .9s var(--ease); transition-delay: calc(var(--i) * .12s); }
html.motion .stairs li::after { transition: transform 1.1s var(--ease); transition-delay: calc(.1s + var(--i) * .12s); }
html.motion .stairs:not(.is-in) li { opacity: 0; transform: translateY(24px); }
html.motion .stairs:not(.is-in) li::after { transform: scaleY(0); }
.history-foot { display: flex; justify-content: flex-end; padding: 28px 0 40px; }

/* =============== 5D — năm thanh mở rộng =============== */
.core { padding: var(--sec) 0; overflow: hidden; }
.creed { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 9fr); gap: 20px clamp(40px, 6vw, 96px); padding-bottom: clamp(56px, 7vw, 96px); margin-bottom: clamp(56px, 7vw, 96px); border-bottom: 1px solid var(--rule-dark); }
.creed-t { font-size: 1.0625rem; font-weight: 600; color: var(--gold); }
.creed-q { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 1.2rem + 2.6vw, 3.5rem); line-height: 1.12; text-wrap: balance; }
.creed-p { margin-top: 20px; max-width: 46em; font-size: var(--fs-lede); font-weight: 300; color: var(--on-dark-2); text-align: justify; }
.five { display: flex; gap: clamp(8px, 1vw, 14px); height: clamp(460px, 62vh, 580px); margin-top: clamp(32px, 4vw, 56px); }
.five > li {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; cursor: pointer;
  background: color-mix(in srgb, var(--forest) 70%, var(--night)); clip-path: polygon(0 0, 100% 26px, 100% 100%, 0 100%);
  transition: flex-grow .8s var(--ease), background-color .5s;
}
.five > li.is-open { flex-grow: 4.6; background: var(--forest); cursor: default; }
.five > li::before { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--gold-grad); transform: scaleX(0); transform-origin: left; transition: transform .8s var(--ease) .1s; }
.five > li.is-open::before { transform: scaleX(1); }
.five-btn { position: absolute; inset: 0; z-index: 2; width: 100%; padding: 0; border: 0; background: none; cursor: pointer; }
.five > li.is-open .five-btn { pointer-events: none; }
.five-btn:focus-visible { outline: 2px solid var(--gold); outline-offset: -6px; }
.five .d { position: absolute; left: clamp(18px, 2vw, 32px); top: 48px; font-family: var(--font-display); font-weight: 700; font-size: 1.6rem; color: var(--gold); }
.five-v { position: absolute; left: clamp(14px, 1.6vw, 26px); bottom: 28px; writing-mode: vertical-rl; transform: rotate(180deg); white-space: nowrap; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.1rem + 1.2vw, 2.4rem); line-height: 1; transition: opacity .35s; }
.five-v .df, .five h3 .df { color: var(--gold-light); }
.five-body { position: absolute; left: clamp(22px, 2.6vw, 44px); right: clamp(22px, 2.6vw, 44px); bottom: clamp(28px, 3vw, 48px); max-width: 36em; opacity: 0; transform: translateY(16px); transition: opacity .4s, transform .6s var(--ease); pointer-events: none; }
.five > li.is-open .five-v { opacity: 0; }
.five > li.is-open .five-body { opacity: 1; transform: none; transition: opacity .6s .35s, transform .8s var(--ease) .3s; pointer-events: auto; }
.five h3 { margin-bottom: 16px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.4rem, 1.4rem + 3vw, 4.6rem); line-height: 1.02; }
.five p { color: var(--on-dark-2); text-align: justify; }
.five-star { position: absolute; right: -60px; top: 40px; width: 260px; height: 260px; fill: color-mix(in srgb, var(--gold-light) 6%, transparent); transition: transform 1.2s var(--ease); }
.five > li.is-open .five-star { transform: rotate(45deg); }

/* =============== KHỐI KÊU GỌI LIÊN HỆ =============== */
.cta-band { position: relative; isolation: isolate; overflow: hidden; padding: clamp(64px, 8vw, 112px) 0; }
.cta-grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 32px clamp(40px, 6vw, 96px); align-items: end; }
.cta-band .lede { margin-top: 20px; color: var(--on-dark-2); }
.cta-actions { display: grid; gap: 18px; justify-items: start; }
.cta-tel { font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1.8rem + 2.8vw, 4.4rem); line-height: 1; color: var(--on-dark); text-decoration: none; }
.cta-tel:hover { color: var(--gold-light); }
.cta-star { position: absolute; right: -8vw; top: 50%; z-index: -1; width: clamp(360px, 46vw, 760px); height: clamp(360px, 46vw, 760px); transform: translateY(-50%); fill: color-mix(in srgb, var(--gold-light) 7%, transparent); }
html.motion .cta-star { animation: spin 90s linear infinite; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }

/* trang chủ: kinh nghiệm tóm tắt */
.exp-teaser { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(32px, 5vw, 80px); align-items: center; }
.exp-teaser .lede { margin-top: 20px; color: var(--ink-2); }
.big-n { display: flex; align-items: center; gap: 20px; margin: 30px 0 22px; }
.big-n .num { font-size: clamp(6rem, 3rem + 9vw, 10rem); line-height: .8; color: var(--bronze); }
.big-n p { max-width: 26em; font-weight: 600; color: var(--forest); text-align: justify; }
.plants-mini { display: grid; gap: 8px; margin-bottom: 28px; }
.plants-mini li { padding: 12px 16px; background: var(--mist); border-left: 3px solid var(--forest); font-weight: 600; line-height: 1.4; }
.plants-mini span { display: block; font-size: var(--fs-small); font-weight: 400; color: var(--ink-2); }
.collage { position: relative; aspect-ratio: 1 / 1.05; }
.collage figure { position: absolute; overflow: hidden; }
.collage img { width: 100%; height: 100%; object-fit: cover; }
.collage .c-a { left: 0; top: 0; width: 72%; height: 62%; clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 100%); }
.collage .c-b { right: 0; top: 30%; width: 52%; height: 40%; border: 8px solid var(--paper); }
.collage .c-c { left: 10%; bottom: 0; width: 56%; height: 34%; border: 8px solid var(--paper); }

/* =============== TRANG GIỚI THIỆU =============== */

.facts-row { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px clamp(28px, 4vw, 56px); align-items: end; padding-bottom: clamp(36px, 5vw, 56px); margin-bottom: clamp(36px, 5vw, 56px); border-bottom: 1px solid var(--line); }
.fields-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin-top: 20px; }
.fields { margin-top: clamp(56px, 7vw, 96px); padding-top: 28px; border-top: 1px solid var(--line); }
.fields .h3 { margin-bottom: 4px; }
.fields-grid li { display: flex; align-items: flex-start; gap: 12px; padding: 18px 20px; background: var(--mist); font-weight: 600; line-height: 1.4; color: var(--forest); transition: background-color .35s, color .35s; }
.fields-grid li::before { content: ""; flex: none; width: 14px; height: 14px; margin-top: .25em; background: var(--bronze); -webkit-mask: var(--star) center / contain no-repeat; mask: var(--star) center / contain no-repeat; transition: transform .6s var(--ease), background-color .35s; }
.fields-grid li:hover { background: var(--forest); color: var(--on-dark); }
.fields-grid li:hover::before { background: var(--gold-light); transform: rotate(90deg) scale(1.2); }
.focus-pair { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 40px); margin-top: clamp(36px, 5vw, 56px); }
.focus-pair p { text-align: justify; }
.focus-pair .more { margin-top: 14px; }
.focus-pair > div { padding: 24px 0 0; border-top: 3px solid var(--forest); }
.focus-pair h3 { margin: 6px 0 10px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.4vw, 2.8rem); line-height: 1.05; color: var(--forest); }

.dir-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.dir-grid .lede { margin-top: 22px; color: var(--ink-2); }
.dir-img { margin-top: 36px; aspect-ratio: 4 / 3; overflow: hidden; clip-path: polygon(0 0, 100% 24px, 100% 100%, 0 100%); }
.dir-img img { width: 100%; height: 100%; object-fit: cover; object-position: 60% 0; }
.dir { display: grid; }
.dir li { padding: 28px 0; border-top: 1px solid var(--line); }
.dir li:last-child { border-bottom: 1px solid var(--line); }
.dir p { margin-top: 8px; text-align: justify; color: var(--ink-2); }

/* cơ cấu tổ chức — hệ tọa độ của bản in (269 × 113 mm) → %; điện thoại cuộn ngang */
.org-wrap { margin-top: clamp(36px, 5vw, 56px); overflow-x: auto; padding-bottom: 8px; }
/* chữ trong ô theo bề ngang sơ đồ (cqi), không theo màn hình: ô luôn vừa chữ */
.org { position: relative; min-width: 720px; aspect-ratio: 269 / 113; container-type: inline-size; }
.org svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.org .solid { fill: none; stroke: var(--forest); stroke-width: .5; }
.org .dash { fill: none; stroke: var(--bronze); stroke-width: .45; stroke-dasharray: 1.6 1.2; }
.org .ah { fill: var(--forest); } .org .ah2 { fill: var(--bronze); }
.org .box { position: absolute; display: grid; place-content: center; padding: 6px 10px; text-align: center; font-weight: 600; font-size: clamp(.8rem, 1.6cqi, 1.4rem); line-height: 1.2; color: var(--forest); background: var(--paper); box-shadow: inset 0 0 0 1.5px var(--forest); }
.org .box small { display: block; margin-bottom: 2px; font-size: .72em; font-weight: 500; color: var(--ink-2); }
.org .top { background: var(--forest); color: var(--on-dark); box-shadow: none; font-family: var(--font-display); font-weight: 800; font-size: clamp(1.3rem, 2.9cqi, 2.4rem); }
.org .br { background: var(--mist); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--forest) 35%, transparent); }
.legend { display: flex; flex-wrap: wrap; gap: 8px 28px; margin-top: 18px; font-size: .9rem; color: var(--ink-2); }
.legend div { display: flex; align-items: center; gap: 10px; }
.legend svg { width: 48px; height: 12px; overflow: visible; }
.legend .solid { fill: none; stroke: var(--forest); stroke-width: .5; }
.legend .dash { fill: none; stroke: var(--bronze); stroke-width: .45; stroke-dasharray: 1.6 1.2; }
html.motion .org svg path { stroke-dashoffset: 0; }
html.motion .org:not(.is-in) .box { opacity: 0; transform: translateY(12px); }
html.motion .org .box { transition: opacity .7s var(--ease), transform .8s var(--ease); transition-delay: var(--delay, 0s); }
html.motion .org svg { transition: opacity 1s .5s; }
html.motion .org:not(.is-in) svg { opacity: 0; }

.vmg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 4vw, 64px); margin-top: clamp(40px, 5vw, 72px); }
.vmg article { padding-top: 22px; border-top: 2px solid var(--forest); }
.vmg h3 { margin-bottom: 14px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2rem, 1.5rem + 1.2vw, 2.75rem); line-height: 1.05; color: var(--forest); }
.vmg p { text-align: justify; }
.vmg b { color: var(--forest); }

/* =============== BẤT ĐỘNG SẢN =============== */
.overview { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(40px, 5vw, 72px) clamp(40px, 6vw, 96px); }
.overview > .lede-xl, .overview > .ledes, .overview > .strip, .overview > .groups { grid-column: 1 / -1; }
.overview .h3 { margin-bottom: 18px; }
.ledes { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 24px clamp(40px, 6vw, 96px); align-items: end; }
.ledes .lede { color: var(--ink-2); }
.climb { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; align-items: end; }
.climb li { display: flex; flex-direction: column; font-weight: 600; font-size: .98rem; line-height: 1.35; color: var(--forest); }
.climb li::after { content: ""; display: block; height: calc(40px + var(--i) * 34px); margin-top: 14px; background: var(--forest); clip-path: polygon(0 16px, 100% 0, 100% 100%, 0 100%); transform-origin: bottom; }
.climb li:last-child::after { background: var(--gold-grad); }
html.motion .climb li::after { transition: transform 1s var(--ease); transition-delay: calc(var(--i) * .15s); }
html.motion .climb:not(.is-in) li::after { transform: scaleY(0); }
html.motion .climb li { transition: opacity .8s; transition-delay: calc(var(--i) * .15s); }
html.motion .climb:not(.is-in) li { opacity: 0; }

.proj-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(220px, 21vw, 310px); gap: clamp(10px, 1.4vw, 18px); margin-top: clamp(36px, 5vw, 56px); }
.proj-grid > li:nth-child(1) { grid-column: 1 / 8; grid-row: span 2; }
.proj-grid > li:nth-child(2) { grid-column: 8 / -1; grid-row: span 2; }
.proj-grid > li:nth-child(3) { grid-column: 1 / 6; grid-row: span 2; }
.proj-grid > li:nth-child(4) { grid-column: 6 / -1; grid-row: span 2; }
.proj-grid > li:nth-child(5) { grid-column: 1 / -1; grid-row: span 2; }

/* =============== TRANG DỰ ÁN =============== */
.p-info { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.role { padding: 16px 20px; background: var(--mist); border-left: 3px solid var(--bronze); text-align: justify; }
.role span { display: block; margin-bottom: 2px; font-size: .85rem; font-weight: 600; color: var(--bronze); }
.role + .role { margin-top: 12px; }
.facts { display: flex; flex-wrap: wrap; gap: 30px clamp(28px, 4vw, 64px); }
.facts > div { display: flex; flex-direction: column; min-width: 0; }
.facts .wide { flex-basis: 100%; }
.facts dd { order: -1; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.6rem, 1.6rem + 3.4vw, 5rem); line-height: 1; color: var(--forest); font-variant-numeric: lining-nums tabular-nums; overflow-wrap: anywhere; }
.facts dd small { margin-left: .18em; font-size: .42em; font-weight: 700; color: var(--bronze); }
.facts dd.txt { font-size: clamp(1.9rem, 1.4rem + 1.6vw, 3rem); line-height: 1.1; }
.facts dt { margin-top: 10px; font-size: var(--fs-small); color: var(--ink-2); }
.sectors { margin-top: 32px; }
.sectors p { margin-bottom: 12px; font-weight: 600; color: var(--forest); }

.gallery { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: clamp(160px, 18vw, 260px); gap: clamp(8px, 1vw, 14px); margin-top: clamp(32px, 4vw, 48px); }
.gallery a { position: relative; display: block; overflow: hidden; grid-column: span 2; cursor: zoom-in; background: var(--forest); }
.gallery a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery a img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.gallery a::after { content: ""; position: absolute; inset: 0; background: color-mix(in srgb, var(--night) 30%, transparent); opacity: 0; transition: opacity .35s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery a:hover::after { opacity: 1; }
.gallery .zoom { position: absolute; right: 14px; bottom: 14px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--paper); color: var(--forest); opacity: 0; transform: scale(.7); transition: opacity .3s, transform .4s var(--ease); }
.gallery a:hover .zoom, .gallery a:focus-visible .zoom { opacity: 1; transform: none; }
.gallery a:focus-visible { outline-offset: -4px; }
.gallery--2 a { grid-column: span 3; grid-row: span 2; }
.gallery--2 a:nth-child(1) { grid-column: span 3; }
.gallery--4 a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery--4 a:nth-child(2), .gallery--4 a:nth-child(3) { grid-column: span 2; }
.gallery--4 a:nth-child(4), .gallery--7 a:nth-child(7) { grid-column: span 6; grid-row: span 1; }
/* 6 ảnh, ảnh đầu đứng (mặt tiền 131 Thái Hà): lưới 12 cột — ảnh đứng 4 cột × 2 hàng, ảnh lớn 8 × 2, bốn ảnh nhỏ 3 cột */
.gallery--6t { grid-template-columns: repeat(12, minmax(0, 1fr)); }
.gallery--6t a, .gallery--6t a:nth-child(n) { grid-column: span 3; grid-row: span 1; }
.gallery--6t a:nth-child(1) { grid-column: span 4; grid-row: span 2; }
.gallery--6t a:nth-child(2) { grid-column: span 8; grid-row: span 2; }
.single { margin-top: clamp(32px, 4vw, 48px); overflow: hidden; cursor: zoom-in; display: block; }
.single img { width: 100%; max-height: 80vh; object-fit: cover; transition: transform 1.2s var(--ease); }
.single:hover img { transform: scale(1.03); }

.p-nav { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(10px, 1.4vw, 18px); }
.p-nav a { position: relative; isolation: isolate; overflow: hidden; display: grid; align-content: end; gap: 6px; min-height: 220px; padding: clamp(20px, 2.6vw, 36px); color: var(--on-dark); text-decoration: none; }
.p-nav a > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.p-nav a::before { content: ""; position: absolute; inset: 0; z-index: -1; background: color-mix(in srgb, var(--night) 68%, transparent); transition: background-color .4s; }
.p-nav a:hover::before { background: color-mix(in srgb, var(--night) 50%, transparent); }
.p-nav a:hover > img { transform: scale(1.06); }
.p-nav .k { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--gold); }
.p-nav .t { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.6rem, 1.2rem + 1.2vw, 2.4rem); line-height: 1.05; }
.p-nav .next { text-align: right; justify-items: end; }
.p-all { display: flex; justify-content: center; margin-top: 28px; }

/* =============== DỊCH VỤ VIỆC LÀM =============== */
.groups { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(24px, 4vw, 64px); }
.groups > div { padding-left: 22px; border-left: 3px solid var(--bronze); }
.groups p { text-align: justify; }
.strip { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(12px, 1.6vw, 24px); }
.strip figure { aspect-ratio: 16 / 9; overflow: hidden; }
.strip img { width: 100%; height: 100%; object-fit: cover; }

.market-head { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 20px clamp(40px, 6vw, 96px); align-items: end; }
.market-head .lede { color: var(--ink-2); }
.tri-k { margin: clamp(40px, 5vw, 64px) 0 24px; font-weight: 600; color: var(--bronze); }
.tri { position: relative; display: grid; gap: 26px; }
.tri::before { content: ""; position: absolute; left: 23px; top: 30px; bottom: 30px; width: 2px; background: var(--gold-grad); transform-origin: top; }
html.motion .tri::before { transition: transform 1.4s var(--ease) .2s; }
html.motion .tri:not(.is-in)::before { transform: scaleY(0); }
.tri li { position: relative; display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 18px; align-items: start; }
.tri .ic { display: grid; place-items: center; width: 48px; height: 48px; background: var(--forest); color: var(--gold-light); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); }
.tri .ic .ico { width: 22px; height: 22px; }
.tri h3 { font-size: 1.125rem; font-weight: 700; color: var(--forest); }
.tri p { color: var(--ink-2); text-align: justify; }
/* ba bên xếp ngang, nối bằng vạch vàng qua các biểu tượng (điện thoại: xếp dọc như .tri) */
.tri--row { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(20px, 3vw, 48px); }
.tri--row::before { left: 24px; right: 24px; top: 23px; bottom: auto; width: auto; height: 2px; background: linear-gradient(90deg, var(--gold), var(--bronze)); transform-origin: left; }
html.motion .tri--row:not(.is-in)::before { transform: scaleX(0); }
.tri--row li { grid-template-columns: 1fr; gap: 18px; align-content: start; }
.tri--row h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.7rem, 1.3rem + 1vw, 2.3rem); line-height: 1.05; }
.tri--row p { margin-top: 6px; }

.eco-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(14px, 2vw, 28px); margin-top: clamp(40px, 5vw, 72px); align-items: start; }
.eco-col { display: flex; flex-direction: column; gap: 14px; }
.eco-col figure { aspect-ratio: 4 / 3; overflow: hidden; margin-bottom: 8px; }
.eco-col img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.eco-col:hover img { transform: scale(1.05); }
.eco-col h3 { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 1.4rem + 1.2vw, 2.6rem); line-height: 1.06; color: var(--forest); }
.eco-col p, .eco-col li { text-align: justify; }
.eco-col .hl { padding: 16px 18px; background: var(--forest); color: var(--on-dark); font-size: 1.05rem; line-height: 1.5; }
.eco-col .hl b { color: var(--gold-light); font-weight: 700; }
.eco-col--dark { padding: clamp(24px, 3vw, 40px); padding-top: calc(clamp(24px, 3vw, 40px) + 20px); background: var(--forest); color: var(--on-dark); clip-path: polygon(0 0, 100% 28px, 100% 100%, 0 100%); }
.eco-col--dark h3 { color: var(--on-dark); }
.eco-col--dark .lead { margin-top: 8px; font-weight: 600; }
.steps { display: grid; counter-reset: s; }
.steps li { counter-increment: s; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-top: 1px solid var(--rule-dark); text-align: justify; }
.steps li::before { content: counter(s, decimal-leading-zero); font-family: var(--font-display); font-weight: 800; font-size: 2rem; line-height: 1; color: var(--gold-light); }

.next-band { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: center; }

/* =============== KINH NGHIỆM =============== */
.tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.tiles li { padding: 16px 18px; background: var(--mist); border-left: 3px solid var(--forest); font-weight: 600; line-height: 1.4; transition: background-color .3s, border-color .3s; }
.tiles li:hover { background: color-mix(in oklab, var(--forest) 10%, var(--paper)); border-left-color: var(--bronze); }
.tiles li.full { grid-column: 1 / -1; }
.tiles span { display: block; margin-top: 4px; font-size: var(--fs-small); font-weight: 400; color: var(--ink-2); }
.grp-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 32px clamp(40px, 6vw, 96px); align-items: start; }
.grp-grid + .grp-grid { margin-top: clamp(56px, 7vw, 96px); padding-top: clamp(40px, 5vw, 64px); border-top: 1px solid var(--line); }
.grp-k { font-weight: 600; color: var(--forest); text-align: justify; }
.plant { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(28px, 4vw, 72px); align-items: center; }
.plant + .plant { margin-top: clamp(72px, 9vw, 128px); }
.plant--flip .gallery { order: 2; }
.plant .gallery { margin-top: 0; }
.plant h3 { margin-bottom: 18px; font-family: var(--font-display); font-weight: 800; font-size: clamp(2.2rem, 1.4rem + 2.4vw, 3.6rem); line-height: 1.04; color: var(--forest); text-wrap: balance; }
.plant-text p, .plant-text li { text-align: justify; }
.plant-text .stars { margin-top: 14px; gap: 14px; }
.plant-k { margin-bottom: 10px; font-size: .9rem; font-weight: 600; color: var(--bronze); }

/* =============== LIÊN HỆ =============== */
.reach-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(10px, 1.4vw, 18px); }
.reach-card { position: relative; display: grid; align-content: space-between; gap: 28px; min-height: 230px; padding: clamp(22px, 2.6vw, 36px); background: var(--mist); text-decoration: none; overflow: hidden; transition: background-color .4s, color .4s; }
a.reach-card:hover { background: var(--forest); color: var(--on-dark); }
.reach-card .ic { display: grid; place-items: center; width: 52px; height: 52px; background: var(--forest); color: var(--gold-light); clip-path: polygon(0 0, calc(100% - 10px) 0, 100% 10px, 100% 100%, 0 100%); transition: background-color .4s; }
a.reach-card:hover .ic { background: var(--gold); color: var(--night); }
.reach-card .ic .ico { width: 24px; height: 24px; }
.reach-card .k { display: block; font-size: .9rem; font-weight: 600; color: var(--bronze); transition: color .4s; }
a.reach-card:hover .k { color: var(--gold); }
.reach-card .v { display: block; margin-top: 4px; font-size: 1.15rem; font-weight: 600; line-height: 1.4; overflow-wrap: anywhere; }
.reach-card .v.num { font-size: clamp(2.2rem, 1.6rem + 1.6vw, 3rem); font-weight: 800; }
.reach-card .more { margin-top: 14px; }
.contact-grid { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(40px, 6vw, 96px); align-items: start; }
.mail-form { display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-weight: 600; font-size: .95rem; color: var(--forest); }
.field input, .field textarea {
  width: 100%; padding: 14px 16px; border: 1px solid color-mix(in srgb, var(--ink) 22%, var(--paper)); border-radius: 0;
  background: var(--paper); font: inherit; color: var(--ink); transition: border-color .25s, box-shadow .25s;
}
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--forest); box-shadow: 0 0 0 3px color-mix(in srgb, var(--forest) 18%, transparent); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-note { font-size: .9rem; color: var(--ink-2); }
.form-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; }

/* 404 */
.nf { min-height: 100svh; }
.nf .page-t { font-size: clamp(3rem, 1.8rem + 5vw, 6.5rem); }
.nf-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }

/* =============== MÀN HÌNH VỪA (≤ 1100) =============== */
@media (max-width: 1100px) {
  .stairs { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 48px; }
  .stairs li::after { height: calc(40px + var(--i) * 18px); }
  .plant { grid-template-columns: 1fr; }
  .plant--flip .gallery { order: 0; }
}

/* =============== LAPTOP NHỎ / TABLET NGANG (≤ 1024): chỉ chân trang gọn lại (menu gọn ở base.css) =============== */
@media (max-width: 1024px) {
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .foot-nav { grid-column: 1 / -1; order: 3; }
}

/* =============== TABLET DỌC (≤ 860): khối hai cột dồn một cột =============== */
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero { min-height: auto; padding-bottom: 56px; }
  .mark { width: min(100%, 560px); }
  .scroll-cue { display: none; }
  .intro-grid, .dir-grid, .market-head, .exp-teaser, .cta-grid, .contact-grid, .p-info, .grp-grid, .ledes { grid-template-columns: 1fr; }
  .leader { max-width: 460px; }
  .creed { grid-template-columns: 1fr; }
  .overview { grid-template-columns: 1fr; }
  .vmg { grid-template-columns: 1fr 1fr; }
  .vmg article:last-child { grid-column: 1 / -1; }
  .fields-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .eco-grid { grid-template-columns: 1fr 1fr; }
  .eco-col--dark { grid-column: 1 / -1; order: 3; }
  .proj-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: clamp(260px, 40vw, 380px); }
  .proj-grid > li:nth-child(n) { grid-column: auto; grid-row: auto; }
  .proj-grid > li:nth-child(1), .proj-grid > li:nth-child(5) { grid-column: 1 / -1; }
  .collage { max-width: 620px; }
  /* 5D: mỗi giá trị một hàng, luôn mở */
  .five { flex-direction: column; height: auto; }
  .five > li, .five > li.is-open { flex: none; cursor: default; background: var(--forest); clip-path: none; }
  .five > li::before { transform: scaleX(1); }
  .five-btn, .five-v, .five-star { display: none; }
  .five .d { position: static; display: block; padding: 24px 24px 0; }
  .five-body, .five > li.is-open .five-body { position: static; max-width: none; padding: 6px 24px 28px; opacity: 1; transform: none; pointer-events: auto; }
  .five h3 { font-size: clamp(2.2rem, 1.6rem + 2.4vw, 3.4rem); margin-bottom: 10px; }
}

/* =============== ĐIỆN THOẠI (≤ 640) =============== */
@media (max-width: 640px) {
  :root { --head-h: 66px; }
  .brand img { height: 46px; }
  .hero-note { font-size: .92rem; }
  .btn { padding: 0 20px; }
  .mark-cap { font-size: .85rem; }
  .since { flex-direction: column; align-items: flex-start; gap: 12px; }
  .facts-row { grid-template-columns: 1fr; }
  .focus, .focus-pair, .groups, .strip, .vmg, .eco-grid, .reach-grid, .field-row, .p-nav, .tiles, .foot-grid, .foot-nav { grid-template-columns: 1fr; }
  .vmg article:last-child { grid-column: auto; }
  .stairs { grid-template-columns: 1fr; row-gap: 26px; }
  .stairs li::after { order: -1; width: calc(22% + var(--i) * 15.6%); height: 10px; margin: 0 0 14px; clip-path: polygon(0 0, 100% 0, calc(100% - 10px) 100%, 0 100%); transform-origin: left; }
  html.motion .stairs:not(.is-in) li::after { transform: scaleX(0); }
  .history { padding-bottom: var(--sec); }
  .history-foot { justify-content: flex-start; padding: 28px 0 0; }
  .climb { grid-template-columns: 1fr; row-gap: 16px; }
  .climb li::after { order: -1; width: calc(25% + var(--i) * 25%); height: 8px; margin: 0 0 8px; clip-path: polygon(0 0, 100% 0, calc(100% - 8px) 100%, 0 100%); transform-origin: left; }
  html.motion .climb:not(.is-in) li::after { transform: scaleX(0); }
  .fields-grid { grid-template-columns: 1fr 1fr; }
  .fields-grid li { padding: 14px; font-size: .92rem; }
  .reach-card { min-height: 0; gap: 18px; }
  .tri--row { grid-template-columns: 1fr; gap: 26px; }
  .tri--row::before { left: 23px; right: auto; top: 30px; bottom: 30px; width: 2px; height: auto; background: var(--gold-grad); transform-origin: top; }
  html.motion .tri--row:not(.is-in)::before { transform: scaleY(0); }
  .tri--row li { grid-template-columns: 48px minmax(0, 1fr); }
  .tri--row h3 { font-family: var(--font-text); font-weight: 700; font-size: 1.125rem; }
  .proj-grid { grid-template-columns: 1fr; grid-auto-rows: 360px; }
  .proj-grid > li:nth-child(n) { grid-column: auto; }
  .gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 150px; }
  .gallery a, .gallery a:nth-child(n), .gallery--4 a:nth-child(n), .gallery--7 a:nth-child(n), .gallery--2 a:nth-child(n) { grid-column: span 1; grid-row: span 1; }
  .gallery a:nth-child(1) { grid-column: 1 / -1; grid-row: span 2; }
  .gallery--6t a:nth-child(1), .gallery--6t a:nth-child(2) { grid-column: span 1; grid-row: span 2; }
  .p-nav .next { text-align: left; justify-items: start; }
  .collage { aspect-ratio: 1 / 1.15; }
}
