/* =====================================================================
   WefieHome — The Infinitum (The Luxe & The Colony) owner page · v2
   Showcase level (Motion Design System §4.19, "A clear answer").
   Look: clear-sky city — deep ink, warm stone, aqua highlighter,
   Bricolage Grotesque display type, IBM Plex Mono labels, three verdict
   colours. Distinct from Skyline (night teal) and Maxim Risen (daylight
   serif). Animated states live under html.ifx-anim; without them (no
   GSAP, reduced motion) every block shows its finished state.
   ===================================================================== */
.ifx-page {
  --ifx-ink: #0f2a2c;
  --ifx-ink-2: #173a3c;
  --ifx-stone: #f3f0ea;
  --ifx-stone-2: #e9e4da;
  --ifx-rule: #e2ddd1;
  --ifx-on-dark: #eaf6f5;
  --ifx-on-dark-2: rgba(234, 246, 245, .74);
  --ifx-display: "Bricolage Grotesque", "Plus Jakarta Sans", "Noto Sans SC", system-ui, sans-serif;
  --ifx-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
  --ifx-keep: #2b7655;   --ifx-keep-bg: #e2f3e9;
  --ifx-imp: #8f5d0c;    --ifx-imp-bg: #fbeed3;
  --ifx-hand: #1d6763;   --ifx-hand-bg: #dcf7f8;
  --ifx-top: 68px;
}
.ifx-page h1, .ifx-page h2, .ifx-page h3, .ifx-stamp, .ifx-v-w, .ifx-page .stat .num { font-family: var(--ifx-display); }
html[data-lang="zh"] .ifx-page :is(h1, h2, h3, .ifx-v-w) { font-family: "Noto Sans SC", var(--ifx-display); }
.ifx-page .eyebrow { font-family: var(--ifx-mono); font-weight: 600; letter-spacing: .14em; font-size: .74rem; color: var(--deep-2); }
.ifx-page .section { background: #fff; }
.ifx-page .section.alt { background: var(--ifx-stone); }
.ifx-head { max-width: 820px; margin: 0 0 34px; }
.ifx-head h2 { font-size: clamp(1.9rem, 3.8vw, 3rem); line-height: 1.08; letter-spacing: -.025em; color: var(--ifx-ink); font-weight: 800; }
.ifx-head .lead { margin-bottom: 0; }
.ifx-page .section > .container > h2, .ifx-page .narrow > h2, .ifx-switch h2, .ifx-ivan h2 { font-size: clamp(1.8rem, 3.4vw, 2.7rem); line-height: 1.1; letter-spacing: -.02em; color: var(--ifx-ink); font-weight: 800; }

/* smooth-scroll mode (desktop) */
html.ifx-smooth .site-header { position: fixed; top: 0; left: 0; right: 0; }
#smooth-content { will-change: transform; }

/* ---------- Hero ---------- */
.ifx-hero { position: relative; min-height: min(94svh, 880px); display: flex; align-items: center; color: #fff; background: var(--ifx-ink); overflow: hidden; isolation: isolate; padding: 96px 0 88px; }
.ifx-hero-bg { position: absolute; inset: 0; z-index: -1; }
.ifx-hero-bg picture, .ifx-hero-bg img { display: block; width: 100%; height: 100%; }
.ifx-hero-bg img { object-fit: cover; object-position: 50% 40%; transform-origin: 60% 40%; }
.ifx-hero-bg::after { content: ""; position: absolute; inset: 0; background:
  linear-gradient(90deg, rgba(15, 42, 44, .92) 0%, rgba(15, 42, 44, .78) 38%, rgba(15, 42, 44, .25) 70%, rgba(15, 42, 44, .15) 100%),
  linear-gradient(180deg, rgba(15, 42, 44, .25) 0%, rgba(15, 42, 44, 0) 30%, rgba(15, 42, 44, .55) 100%); }
.ifx-hero-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); gap: 56px; align-items: center; }
.ifx-hero .breadcrumb, .ifx-hero .breadcrumb a { color: rgba(255, 255, 255, .78); }
.ifx-eyebrow { font-family: var(--ifx-mono); font-size: .74rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--brand); margin: 0 0 16px; }
.ifx-h1 { margin: 0 0 18px; color: #fff; text-shadow: 0 2px 30px rgba(0, 0, 0, .3); }
.ifx-h1-a { display: block; font-size: clamp(1.15rem, 2.1vw, 1.55rem); font-weight: 700; letter-spacing: -.01em; color: var(--brand); margin-bottom: 8px; }
.ifx-h1-b { display: block; font-size: clamp(2.3rem, 5.4vw, 4.4rem); line-height: 1.02; font-weight: 800; letter-spacing: -.035em; }
html[data-lang="zh"] .ifx-h1-b { letter-spacing: 0; line-height: 1.15; }
.ifx-lead { font-size: clamp(1.1rem, 1.9vw, 1.35rem); font-weight: 700; color: #fff; margin: 0 0 .5em; }
.ifx-body { color: rgba(255, 255, 255, .84); max-width: 600px; }
.ifx-hero .btn-row { margin-top: 1.2em; }
.ifx-hero .btn-ghost { border-color: rgba(255, 255, 255, .7); }
.ifx-sign { display: flex; align-items: center; gap: 10px; margin: 20px 0 0; font-weight: 600; font-size: .9rem; color: rgba(255, 255, 255, .86); }
.ifx-sign img { width: 44px; height: 44px; border-radius: 50%; object-fit: cover; border: 2px solid #fff; }
.ifx-trust { list-style: none; padding: 0; margin: 18px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.ifx-trust li { font-family: var(--ifx-mono); font-size: .74rem; font-weight: 500; color: #fff; border: 1px solid rgba(255, 255, 255, .28); background: rgba(255, 255, 255, .08); backdrop-filter: blur(6px); border-radius: 999px; padding: 6px 12px; }
.ifx-hero-cap { position: absolute; right: 18px; bottom: 12px; margin: 0; font-size: .72rem; color: rgba(255, 255, 255, .7); }
.ifx-scroll-cue { position: absolute; left: 50%; bottom: 22px; width: 22px; height: 36px; margin-left: -11px; border: 2px solid rgba(255, 255, 255, .55); border-radius: 12px; }
.ifx-scroll-cue::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 7px; margin-left: -2px; border-radius: 2px; background: #fff; animation: ifx-cue 1.8s var(--m-ease-io) infinite; }
@keyframes ifx-cue { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(10px); opacity: 0; } 100% { opacity: 0; } }

/* Verdict card */
.ifx-paper { background: rgba(255, 255, 255, .97); color: var(--ifx-ink); border-radius: 20px; padding: 24px 24px 18px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); transform: rotate(-1.5deg); position: relative; }
.ifx-paper-head { display: flex; justify-content: space-between; gap: 12px; font-family: var(--ifx-mono); font-size: .72rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; padding-bottom: 14px; border-bottom: 1px solid var(--ifx-rule); }
.ifx-v-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.ifx-v { position: relative; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 14px; align-items: center; padding: 10px 8px; border-radius: 12px; isolation: isolate; }
.ifx-v-w { grid-column: 2; font-size: clamp(1.6rem, 2.8vw, 2.1rem); font-weight: 800; line-height: 1.1; letter-spacing: -.02em; }
.ifx-v-s { grid-column: 2; font-size: .86rem; color: var(--muted); }
.ifx-box { grid-row: 1 / span 2; width: 30px; height: 30px; border-radius: 8px; border: 2px solid var(--ifx-ink); display: grid; place-items: center; background: #fff; }
.ifx-box .ifx-tick { width: 20px; height: 20px; color: var(--ifx-ink); opacity: 0; }
.ifx-hl { position: absolute; z-index: -1; left: 54px; right: 6px; top: 50%; height: 44%; transform: translateY(-62%) scaleX(0); transform-origin: left center; border-radius: 4px; background: rgba(164, 244, 247, .9); }
.ifx-v.k .ifx-hl { background: rgba(170, 226, 194, .85); }
.ifx-v.i .ifx-hl { background: rgba(250, 217, 150, .85); }
html:not(.ifx-anim) .ifx-hl { transform: translateY(-62%) scaleX(1); opacity: .5; }
.ifx-paper-foot { margin: 12px 0 0; padding-top: 12px; border-top: 1px dashed var(--ifx-rule); font-size: .9rem; font-weight: 700; }

/* In short + jump */
.ifx-inshort-wrap { background: #fff; padding: 40px 0 4px; }
.ifx-inshort { margin: 0; border-left: 4px solid var(--brand); background: var(--ifx-stone); border-radius: 0 12px 12px 0; padding: 18px 22px; font-size: .96rem; color: var(--ink); }
.ifx-jump-wrap { background: rgba(255, 255, 255, .96); position: relative; z-index: 20; padding: 18px 0 6px; }
.ifx-jump { margin: 0; }
.ifx-jump a { background: var(--ifx-stone); color: var(--ifx-ink); }
.ifx-jump a:hover { background: var(--brand); }

/* ---------- Which owner ---------- */
.ifx-owners { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.ifx-owner { position: relative; display: flex; flex-direction: column; gap: 10px; background: var(--ifx-stone); border-radius: 20px; padding: 24px 22px 22px; transition: transform var(--m-fast) var(--m-ease-io), box-shadow var(--m-fast) var(--m-ease-io), background var(--m-fast) var(--m-ease-io); }
.ifx-owner:hover { transform: translateY(var(--m-lift)); box-shadow: var(--m-shadow-hover); background: #fff; }
.ifx-owner-n { position: absolute; top: 18px; right: 20px; font-family: var(--ifx-display); font-size: 2.6rem; font-weight: 800; line-height: 1; color: rgba(15, 42, 44, .09); }
.ifx-owner .ifx-ic { width: 46px; height: 46px; padding: 9px; border-radius: 14px; background: var(--ifx-ink); color: var(--brand); }
.ifx-owner h3 { margin: 6px 0 0; font-size: 1.22rem; color: var(--ifx-ink); letter-spacing: -.01em; }
.ifx-owner p { margin: 0; color: var(--muted); font-size: .95rem; flex: 1; }
.ifx-owner-btn { margin-top: 10px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 10px 16px; border-radius: 999px; background: var(--ifx-ink); color: #fff; font-weight: 700; font-size: .92rem; text-decoration: none; transition: background var(--m-fast) var(--m-ease-io); }
.ifx-owner-btn::after { content: "→"; transition: transform var(--m-fast) var(--m-ease-io); }
.ifx-owner-btn:hover { background: var(--deep-2); }
.ifx-owner-btn:hover::after { transform: translateX(4px); }

/* ---------- Signature: the second opinion ---------- */
.ifx-sig { position: relative; background: var(--ifx-ink); color: var(--ifx-on-dark); overflow: hidden; isolation: isolate; }
.ifx-sig-bg { position: absolute; inset: 0; z-index: -1; }
.ifx-sig-bg img { width: 100%; height: 100%; object-fit: cover; filter: blur(2px) saturate(1.1); transform: scale(1.06); opacity: .42; }
.ifx-sig-bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, var(--ifx-ink) 0%, rgba(15, 42, 44, .7) 30%, rgba(15, 42, 44, .78) 70%, var(--ifx-ink) 100%); }
.ifx-sig-pin { padding: 96px 0 84px; }
.ifx-head-dark h2 { color: #fff; }
.ifx-head-dark .eyebrow { color: var(--brand); }
.ifx-head-dark .lead { color: var(--ifx-on-dark-2); }
.ifx-sig-grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 28px; align-items: start; }
.ifx-report { position: relative; color: var(--ifx-ink); background: repeating-linear-gradient(180deg, transparent 0 35px, rgba(15, 42, 44, .06) 35px 36px), #fffefa; border-radius: 18px; padding: 22px 24px 16px 54px; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); }
.ifx-report::before { content: ""; position: absolute; top: 0; bottom: 0; left: 36px; width: 2px; background: rgba(232, 120, 120, .35); }
.ifx-report-head { display: flex; flex-direction: column; gap: 4px; padding-bottom: 12px; border-bottom: 2px solid var(--ifx-ink); margin-bottom: 4px; }
.ifx-report-t { font-size: 1.12rem; margin: 0; color: var(--ifx-ink); }
.ifx-report-m { font-family: var(--ifx-mono); font-size: .76rem; color: var(--muted); }
.ifx-r-list { list-style: none; margin: 0; padding: 0; }
.ifx-r { display: grid; grid-template-columns: 30px minmax(0, 1fr) 28px; gap: 10px; align-items: start; padding: 12px 0; border-bottom: 1px dashed var(--ifx-rule); }
.ifx-r-n { font-family: var(--ifx-mono); font-size: .78rem; font-weight: 600; color: var(--muted); padding-top: 3px; }
.ifx-r b { display: block; color: var(--ifx-ink); font-size: 1rem; }
.ifx-r div > span { display: block; color: var(--muted); font-size: .9rem; }
.ifx-r-tick { width: 26px; height: 26px; border-radius: 50%; background: var(--ifx-keep-bg); color: var(--ifx-keep); display: grid; place-items: center; }
.ifx-r-tick .ifx-tick { width: 16px; height: 16px; }
.ifx-r-final { grid-template-columns: 30px minmax(0, 1fr); border-bottom: 0; }
.ifx-r-opts { position: relative; display: flex !important; flex-wrap: wrap; gap: 8px; margin-top: 8px; padding-bottom: 10px; }
.ifx-r-opts em { font-style: normal; font-weight: 700; font-size: .88rem; padding: 5px 12px; border-radius: 999px; }
.ifx-r-opts em:nth-child(1) { background: var(--ifx-keep-bg); color: var(--ifx-keep); }
.ifx-r-opts em:nth-child(2) { background: var(--ifx-imp-bg); color: var(--ifx-imp); }
.ifx-r-opts em:nth-child(3) { background: var(--ifx-hand-bg); color: var(--ifx-hand); }
.ifx-pen { position: absolute; left: 0; bottom: -4px; width: min(100%, 300px); height: 14px; color: var(--deep-2); }
.ifx-report-sign { display: flex; align-items: center; gap: 10px; justify-content: flex-end; margin: 8px 0 0; font-family: var(--ifx-mono); font-size: .78rem; color: var(--muted); }
.ifx-report-sign img { width: 30px; height: 30px; border-radius: 50%; }
.ifx-answers { display: grid; gap: 14px; }
.ifx-answer { position: relative; background: rgba(255, 255, 255, .06); border: 1px solid rgba(234, 246, 245, .16); border-left: 5px solid var(--c); border-radius: 16px; padding: 20px 22px 18px; backdrop-filter: blur(6px); }
.ifx-answer.k { --c: #7fd3a6; --cb: rgba(127, 211, 166, .16); }
.ifx-answer.i { --c: #f2c36b; --cb: rgba(242, 195, 107, .16); }
.ifx-answer.h { --c: var(--brand); --cb: rgba(164, 244, 247, .16); }
.ifx-answer h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; color: #fff; margin: 0 0 6px; padding-right: 110px; }
.ifx-answer-n { display: inline-grid; place-items: center; flex: none; width: 30px; height: 30px; border-radius: 50%; background: var(--cb); color: var(--c); font-family: var(--ifx-mono); font-size: .9rem; font-weight: 600; }
.ifx-answer p { margin: 0; color: var(--ifx-on-dark-2); }
.ifx-stamp { position: absolute; top: 18px; right: 16px; font-size: .78rem; font-weight: 800; letter-spacing: .1em; color: var(--c); border: 2px solid var(--c); border-radius: 6px; padding: 4px 9px; transform: rotate(-8deg); background: var(--cb); white-space: nowrap; }
.ifx-sig-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 28px; margin-top: 34px; padding-top: 26px; border-top: 1px solid rgba(234, 246, 245, .14); }
.ifx-quote { margin: 0; max-width: 680px; font-family: var(--ifx-display); font-size: clamp(1.25rem, 2.3vw, 1.7rem); font-weight: 700; color: #fff; line-height: 1.3; letter-spacing: -.01em; }
.ifx-quote .ifx-by { display: block; margin-top: 6px; font-family: var(--ifx-mono); font-size: .8rem; font-weight: 500; color: var(--ifx-on-dark-2); }
.ifx-cap-ai { position: absolute; right: 18px; bottom: 10px; margin: 0; font-size: .7rem; color: rgba(255, 255, 255, .55); }
/* pinned mode (desktop): the whole scene fits one screen */
html.ifx-pinning .ifx-sig-pin { min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: calc(var(--ifx-top) + 24px) 0 36px; box-sizing: border-box; }
html.ifx-pinning .ifx-sig .ifx-head { margin-bottom: 22px; }
html.ifx-pinning .ifx-sig .ifx-head h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); }
html.ifx-pinning .ifx-sig-foot { margin-top: 22px; padding-top: 18px; }
html.ifx-pinning .ifx-r { padding: 9px 0; }

/* ---------- Building ---------- */
.ifx-bld { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: 48px; align-items: center; }
.ifx-bld-fig { margin: 0; position: relative; }
.ifx-bld-fig img { width: 100%; height: auto; border-radius: 22px; box-shadow: 0 28px 60px rgba(15, 42, 44, .22); }
.ifx-bld-fig figcaption { position: absolute; right: 12px; top: 12px; font-size: .72rem; color: #fff; background: rgba(15, 42, 44, .6); padding: 3px 10px; border-radius: 999px; }
.ifx-names { position: relative; display: flex; flex-wrap: wrap; gap: 8px; margin: -26px 14px 0; z-index: 1; }
.ifx-name { font-family: var(--ifx-mono); font-size: .76rem; font-weight: 500; color: var(--ifx-ink); background: #fff; border: 1px solid var(--ifx-rule); box-shadow: 0 8px 18px rgba(15, 42, 44, .1); border-radius: 999px; padding: 6px 12px; }
.ifx-bld-copy p { color: var(--muted); }
.ifx-towers2 { display: grid; gap: 10px; margin: 6px 0 20px; }
.ifx-tw { display: grid; grid-template-columns: 46px minmax(0, 1fr); column-gap: 14px; align-items: center; background: var(--ifx-stone); border-radius: 16px; padding: 14px 16px; }
.ifx-tw-blk { grid-row: 1 / span 2; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: var(--ifx-ink); color: var(--brand); font-family: var(--ifx-display); font-size: 1.4rem; font-weight: 800; }
.ifx-tw b { color: var(--ifx-ink); font-family: var(--ifx-display); font-size: 1.08rem; }
.ifx-tw-f { display: flex; align-items: center; gap: 10px; font-family: var(--ifx-mono); font-size: .8rem; color: var(--muted); }
.ifx-tw-bar { flex: none; display: inline-block; height: 6px; width: calc(var(--h) * 90px); border-radius: 3px; background: linear-gradient(90deg, var(--deep-2), var(--brand-mid)); transform-origin: left; }

/* ---------- Facilities ---------- */
.ifx-fac-sec { background: var(--ifx-stone) !important; }
.ifx-fac { display: grid; grid-template-columns: 1.25fr 1fr; grid-template-rows: auto auto; gap: 16px; }
.ifx-fac figure { margin: 0; position: relative; border-radius: 20px; overflow: hidden; }
.ifx-fac img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ifx-fac-a { grid-row: 1 / span 2; min-height: 100%; }
.ifx-fac-b, .ifx-fac-c { aspect-ratio: 16 / 10; }
.ifx-fac figcaption { position: absolute; left: 12px; bottom: 12px; font-size: .74rem; font-weight: 600; background: rgba(255, 255, 255, .94); color: var(--ifx-ink); padding: 4px 10px; border-radius: 999px; }
.ifx-fac-pts { grid-column: 1 / -1; list-style: none; margin: 6px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.ifx-fac-pts li { background: #fff; border-radius: 16px; padding: 18px 20px; border-top: 4px solid var(--brand); }
.ifx-fac-pts b { display: block; font-family: var(--ifx-display); color: var(--ifx-ink); font-size: 1.08rem; }
.ifx-fac-pts li > span { display: block; color: var(--muted); font-size: .93rem; }

/* ---------- Switch ---------- */
.ifx-switch { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: 56px; align-items: start; }
.ifx-sw { list-style: none; margin: 0; padding: 0 0 0 4px; position: relative; }
.ifx-sw::before { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--ifx-rule); }
.ifx-sw::after { content: ""; position: absolute; left: 11px; top: 10px; bottom: 10px; width: 2px; background: var(--deep-2); transform-origin: top; transform: scaleY(var(--ifx-sw, 1)); }
.ifx-sw li { position: relative; display: grid; grid-template-columns: 16px minmax(0, 1fr); gap: 18px; padding: 0 0 22px; }
.ifx-sw li:last-child { padding-bottom: 0; }
.ifx-sw-dot { position: relative; z-index: 1; width: 16px; height: 16px; border-radius: 50%; background: #fff; border: 3px solid var(--deep-2); margin-top: 5px; }
.ifx-sw p { margin: 0; color: var(--muted); }
.ifx-sw strong { color: var(--ifx-ink); }

/* ---------- Ivan ---------- */
.ifx-ivan { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
.ifx-ivan-fig { margin: 0; position: relative; }
.ifx-ivan-fig img { width: 100%; height: auto; border-radius: 24px; box-shadow: 0 24px 54px rgba(15, 42, 44, .2); }
.ifx-ivan-fig figcaption { position: absolute; left: 14px; bottom: 14px; font-family: var(--ifx-mono); font-size: .72rem; background: rgba(255, 255, 255, .95); color: var(--ifx-ink); padding: 6px 12px; border-radius: 999px; }
.ifx-big { font-size: 1.2rem; color: var(--ink); font-weight: 600; }

/* ---------- Proof ---------- */
.ifx-photos { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin: 0 0 22px; }
.ifx-photos figure { margin: 0; position: relative; border-radius: 18px; overflow: hidden; aspect-ratio: 3 / 2; }
.ifx-photos img { width: 100%; height: 100%; object-fit: cover; }
.ifx-photos figcaption { position: absolute; left: 10px; bottom: 10px; font-size: .74rem; font-weight: 600; background: rgba(255, 255, 255, .94); color: var(--ifx-ink); padding: 4px 10px; border-radius: 999px; }
.ifx-stats { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.ifx-stats .stat { border-top-color: var(--ifx-ink); }
.ifx-perf { margin-top: 22px; background: var(--ifx-stone); border-radius: 18px; padding: 20px 22px; }
.ifx-perf-line { margin: 0 0 8px; font-size: 1.08rem; font-weight: 600; color: var(--ifx-ink); }
.ifx-perf-line strong { color: var(--deep-2); font-size: 1.2em; }
.ifx-src { margin: 0; font-size: .82rem; color: var(--muted); }

/* ---------- How it works ---------- */
.ifx-steps { list-style: none; margin: 30px 0 34px; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; position: relative; }
.ifx-steps::before { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--ifx-rule); }
.ifx-steps::after { content: ""; position: absolute; left: 22px; right: 22px; top: 21px; height: 2px; background: var(--deep-2); transform-origin: left; transform: scaleX(var(--ifx-st, 1)); }
.ifx-steps li { position: relative; z-index: 1; }
.ifx-st-n { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 50%; background: var(--ifx-ink); color: var(--brand); font-family: var(--ifx-display); font-weight: 800; margin-bottom: 12px; }
.ifx-steps h3 { font-size: 1.04rem; margin-bottom: 4px; color: var(--ifx-ink); }
.ifx-steps p { margin: 0; color: var(--muted); font-size: .93rem; }
.ifx-how-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 20px; align-items: stretch; }
.ifx-fee { background: var(--ifx-ink); color: #fff; border-radius: 20px; padding: 28px 26px; }
.ifx-fee-t { font-family: var(--ifx-display); font-size: 1.3rem; font-weight: 800; line-height: 1.3; color: var(--brand); }
.ifx-fee p { color: rgba(255, 255, 255, .86); }
.ifx-cert { background: #fff; border-radius: 20px; padding: 24px 26px; }
.ifx-cert h3 { color: var(--ifx-ink); }
.ifx-cert ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.ifx-cert li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; }
.ifx-cert .ifx-tick { width: 20px; height: 20px; color: var(--ifx-keep); margin-top: 3px; }
.ifx-cert p { margin: 0; color: var(--muted); font-size: .95rem; }
.ifx-cert strong { color: var(--ifx-ink); }

/* ---------- Final CTA ---------- */
.ifx-cta { position: relative; isolation: isolate; overflow: hidden; color: #fff; text-align: center; padding: 110px 0; background: var(--ifx-ink); }
.ifx-cta-bg { position: absolute; inset: 0; z-index: -1; }
.ifx-cta-bg img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; }
.ifx-cta-bg::after { content: ""; position: absolute; inset: 0; background: rgba(15, 42, 44, .78); }
.ifx-cta h2 { color: #fff; font-size: clamp(2rem, 4.4vw, 3.4rem); line-height: 1.05; letter-spacing: -.03em; max-width: 820px; margin: 0 auto .4em; }
.ifx-cta p { color: rgba(255, 255, 255, .86); max-width: 640px; margin: 0 auto; }

/* narrow cards read better ragged-right than justified */
html[data-lang="en"] .ifx-page main :is(.ifx-owner, .ifx-answer, .ifx-steps, .ifx-cert, .ifx-sw, .ifx-r, .ifx-paper, .ifx-perf, .ifx-fee, .ifx-fac-pts, .ifx-hero, .ifx-cta, .ifx-sig) p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
html[data-lang="en"] .ifx-page main .ifx-cta p { text-align: center; }

/* ---------- Responsive ---------- */
@media (max-width: 1040px) {
  .ifx-owners { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ifx-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .ifx-steps { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .ifx-steps::before, .ifx-steps::after { left: 21px; right: auto; top: 22px; bottom: 22px; width: 2px; height: auto; transform-origin: top; transform: scaleY(var(--ifx-st, 1)); }
  .ifx-steps li { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 16px; padding-bottom: 18px; }
  .ifx-st-n { margin: 0; }
  .ifx-sig-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 900px) {
  .ifx-hero-grid, .ifx-bld, .ifx-switch, .ifx-ivan, .ifx-how-grid { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .ifx-ivan-fig { max-width: 420px; }
  .ifx-paper { transform: rotate(-.8deg); max-width: 460px; }
  .ifx-hero-bg::after { background: linear-gradient(180deg, rgba(15, 42, 44, .55) 0%, rgba(15, 42, 44, .82) 45%, rgba(15, 42, 44, .95) 100%); }
  .ifx-fac { grid-template-columns: 1fr 1fr; }
  .ifx-fac-a { grid-column: 1 / -1; grid-row: auto; aspect-ratio: 4 / 3; }
}
@media (max-width: 760px) {
  .ifx-hero { min-height: 0; padding: 40px 0 70px; }
  .ifx-owners { grid-template-columns: minmax(0, 1fr); }
  .ifx-photos { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
  .ifx-photos figure:first-child { grid-column: 1 / -1; }
  .ifx-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .ifx-report { padding: 18px 14px 12px 42px; }
  .ifx-report::before { left: 26px; }
  .ifx-r { grid-template-columns: 26px minmax(0, 1fr) 26px; gap: 8px; }
  .ifx-r-final { grid-template-columns: 26px minmax(0, 1fr); }
  .ifx-paper { padding: 20px 16px 14px; }
  .ifx-v-w { font-size: 1.5rem; }
  .ifx-answer h3 { padding-right: 0; padding-top: 30px; }
  .ifx-stamp { top: 14px; right: auto; left: 22px; }
  .ifx-sig-pin { padding: 64px 0 60px; }
  .ifx-fac { grid-template-columns: minmax(0, 1fr); }
  .ifx-fac-pts { grid-template-columns: minmax(0, 1fr); }
  .ifx-names { margin: 12px 0 0; }
  .ifx-cta { padding: 80px 0; }
  html[data-lang="en"] .ifx-page main p { text-align: left; -webkit-hyphens: manual; hyphens: manual; }
  .ifx-hero-cap { bottom: 8px; }
  .ifx-scroll-cue { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .ifx-owner, .ifx-owner-btn, .ifx-owner-btn::after { transition: none; }
  .ifx-owner:hover { transform: none; }
  .ifx-scroll-cue::after { animation: none; }
}
@media print {
  .ifx-paper { transform: none; box-shadow: none; }
  .ifx-hero, .ifx-sig, .ifx-cta { background: #fff; color: var(--ink); }
}

/* language wrappers always take their parent's text style */
.ifx-page main span.en, .ifx-page main span.zh { font: inherit; color: inherit; letter-spacing: inherit; }

/* hero: photo sits on the right so the KLCC towers show above the verdict card */
@media (min-width: 901px) {
  .ifx-hero-bg { left: 32%; }
  .ifx-hero-bg img { object-position: 26% 35%; }
  .ifx-hero-bg::after { background: linear-gradient(90deg, var(--ifx-ink) 0%, rgba(15, 42, 44, .55) 22%, rgba(15, 42, 44, .08) 55%, rgba(15, 42, 44, .2) 100%), linear-gradient(180deg, rgba(15, 42, 44, .2) 0%, rgba(15, 42, 44, 0) 35%, rgba(15, 42, 44, .6) 100%); }
  .ifx-hero-grid { align-items: end; }
  .ifx-verdict { align-self: end; max-width: 400px; justify-self: end; width: 100%; }
}
.ifx-nw { white-space: nowrap; }
