/* ============================================================ business.css — shared components for the 4 business sub-pages (auto-export / after-sales / building-materials / global-logistics) Loaded AFTER style.css, BEFORE each page's own *.css. Prefix: .bp-* | hooks: body.is-bp, main.bp ============================================================ */ /* ---------- page base (light theme for these sub-pages) ---------- */ body.is-bp { background: #ffffff; color: var(--text-dark); font-family: var(--font-body); } .is-bp .bp { background: #ffffff; } /* ---------- scroll reveal (driven by each page's JS / main.js) ---------- */ [data-reveal] { opacity: 0; transform: translateY(32px); transition: opacity .8s var(--ease), transform .8s var(--ease); } [data-reveal].in { opacity: 1; transform: none; } .bp-intro__text{ height: 100%; position: relative; } .bp-intro__text [data-reveal]:nth-child(3), .bp-intro__text [data-reveal]:nth-child(4) { transition-delay: .08s; } /* ---------- section typography ---------- */ .bp-h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2rem, 4vw, 3rem); line-height: 1.08; letter-spacing: -0.01em; color: var(--text-dark); margin-bottom: 2rem; } .bp-center { text-align: center; } .bp-body { font-size: clamp(1rem, 1.1vw, 1.08rem); line-height: 1.85; color: var(--text-mid); } /* ============================================================ HERO BANNER Default: copy left-aligned + vertically centered. Add `.bp-hero--center` on the
to center the copy (auto-export). Background is always a child . ============================================================ */ .bp-hero { position: relative; min-height: 70vh; display: flex; align-items: stretch; /* copy fills hero height — enables split layout */ overflow: hidden; margin-top: var(--header-h); /* banner starts BELOW the fixed nav — image not covered */ } .bp-hero__scene { position: absolute; inset: 0; z-index: 0; background: #060a12; overflow: hidden; } .bp-hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.04); animation: bp-hero-zoom 16s var(--ease) forwards; } @keyframes bp-hero-zoom { from { transform: scale(1.14); } to { transform: scale(1.04); } } /* readability veil (default 2-layer; pages may override) */ .bp-hero__veil { position: absolute; inset: 0; z-index: 2; /* background: linear-gradient(180deg, rgba(6,12,22,.62) 0%, rgba(6,12,22,.2) 30%, rgba(6,12,22,.32) 62%, rgba(6,12,22,.7) 100%), radial-gradient(72% 60% at 50% 46%, rgba(6,12,22,.42), transparent 70%); */ } .bp-hero__copy { position: relative; z-index: 3; text-align: left; display: flex; flex-direction: column; align-items: flex-start; padding-top: 16vh; /* title block position — single knob (raise/lower the title) */ padding-bottom: 13vh; /* button's distance from the bottom — single knob */ } .bp-hero--center .bp-hero__copy { text-align: center; align-items: center; } .bp-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.96; letter-spacing: 0.1em; background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; } .bp-hero__titles { font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem); line-height: 0.96; letter-spacing: 0.1em; background: linear-gradient(180deg, #ffffff 0%, #ffffff 100%); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; display: flex; align-items: center; justify-content: center; } .bp-hero__titles img { width: 350px; margin-right: 20px; } .bp-hero__sub { margin-top: 22px; font-family: var(--font-display); font-weight: 500; font-size: clamp(1.05rem, 2.6vw, 2rem); line-height: 1.4; letter-spacing: 0.02em; color: rgba(255,255,255,.94); text-shadow: 0 2px 18px rgba(0,0,0,.55); } .bp-hero__tag { margin-top: 16px; font-family: var(--font-body); font-weight: 400; font-size: clamp(0.98rem, 1.4vw, 1.18rem); letter-spacing: 0.02em; color: rgba(255,255,255,.86); /* text-shadow: 0 2px 14px rgba(0,0,0,.55); */ /* max-width: 620px; */ } .bp-hero .btn-explore { margin-top: auto; } /* ============================================================ BUSINESS INTRODUCTION — 2-col text + image ============================================================ */ .bp-intro { padding: 130px 0 110px; } .bp-intro__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 50px; /* align-items: center; */ } .bp-intro__text .bp-h2 { margin-bottom: 34px; } .bp-intro__text .bp-body + .bp-body { margin-top: 22px; } .bp-intro__media { position: relative; } /* works for both a real and a .ph placeholder div */ .bp-intro__img { height: 100%; width: auto; object-fit: cover; display: block; overflow: hidden; box-shadow: 0 30px 60px rgba(16,24,40,.16); } /* ---------- caps row (auto-export + after-sales): icon + label ---------- */ .bp-caps { /* display: grid; */ /* grid-template-columns: repeat(4, 1fr); */ gap: 14px; /* margin-top: 50px; */ position: absolute; bottom: 0; width: 100%; justify-content: space-between; display: flex; align-items: center; } .bp-cap { display: flex; flex-direction: column; align-items: center; gap: 16px; /* padding: 8px 12px; */ } .bp-cap__label { font-family: var(--font-display); font-weight: 700; font-size: 0.86rem; letter-spacing: 0.02em; text-align: center; color: var(--text-dark); } /* ============================================================ VIEW MORE — centered orange link ============================================================ */ .bp-viewmore { padding: 64px 0 130px; text-align: center; } .bp-viewmore__link { display: inline-flex; align-items: baseline; gap: 6px; font-family: var(--font-display); font-weight: 600; text-transform: lowercase; letter-spacing: 0.08em; font-size: 1.25rem; color: var(--orange-700); padding-bottom: 6px; border-bottom: 2px solid var(--orange-700); transition: color .25s, letter-spacing .25s; } .bp-viewmore__link .plus { font-weight: 800; } .bp-viewmore__link:hover { color: var(--orange-900); letter-spacing: 0.1em; } /* ============================================================ SHARED RESPONSIVE (page-specific rules live in each page's CSS) ============================================================ */ @media (max-width: 1024px) { .bp-intro__grid { grid-template-columns: 1fr; gap: 64px; } .bp-intro__media { max-width: 560px; } } @media (max-width: 760px) { .bp-intro { padding: 90px 0 80px; } .bp-hero { min-height: 84vh; } .bp-caps { grid-template-columns: repeat(2, 1fr); } } @media (max-width: 480px) { .bp-caps { grid-template-columns: 1fr; } } /* ---------- reduced motion ---------- */ @media (prefers-reduced-motion: reduce) { [data-reveal] { opacity: 1 !important; transform: none !important; } .bp-hero__bg { transform: none !important; animation: none !important; } }