/* =========================================================================
   弘厚 HONGHOU — Page components  ·  Gallery White
   ========================================================================= */

/* ---------- HERO (light, editorial) ---------- */
.hero { position: relative; overflow: hidden; background: var(--canvas); }
.hero .wrap { position: relative; z-index: 2; padding-block: clamp(48px, 7vw, 96px) clamp(56px, 8vw, 104px); }
.hero-grid { display: grid; grid-template-columns: 1.02fr 0.98fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.hero h1 { font-size: clamp(34px, 5vw, 68px); line-height: 1.12; letter-spacing: -0.01em; font-weight: 700; }
.hero h1 em { font-style: italic; color: var(--accent); }
.hero .lede { margin-top: 28px; max-width: 46ch; color: var(--ink-soft); font-size: clamp(16px, 1.45vw, 20px); line-height: 1.65; }
.hero-actions { margin-top: 40px; display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual .shot, .hero-visual .ph { aspect-ratio: 4/5; border: 1px solid var(--line); }
.hero-tag { position: absolute; left: -22px; bottom: 30px; z-index: 3; background: var(--white); border: 1px solid var(--line); padding: 18px 22px; max-width: 240px; box-shadow: 0 30px 60px -30px rgba(40,40,40,.45); }
.hero-tag .k { font-family: var(--f-sans); font-size: 10.5px; font-weight: 600; letter-spacing: .16em; color: var(--accent); text-transform: uppercase; }
.hero-tag .v { font-family: var(--f-serif); font-weight: 600; font-size: 20px; margin-top: 7px; line-height: 1.25; }
/* credentials strip */
.hero-strip { border-top: 1px solid var(--line); background: var(--canvas); }
.hero-strip .wrap { display: flex; flex-wrap: wrap; gap: 10px 42px; padding-block: 22px; font-family: var(--f-sans); font-size: 13px; letter-spacing: .02em; color: var(--muted); align-items: center; }
.hero-strip b { color: var(--ink); font-weight: 600; }
.hero-strip .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* interior page hero */
.page-hero { background: var(--canvas); border-bottom: 1px solid var(--line); }
.page-hero .wrap { padding-block: clamp(56px, 8vw, 116px) clamp(40px, 5vw, 68px); }
.page-hero h1 { font-family: var(--f-serif); font-weight: 600; font-size: clamp(40px, 6vw, 84px); line-height: 1.0; letter-spacing: -.01em; }
:lang(zh) .page-hero h1 { font-family: var(--f-serif-cjk); }
.page-hero p { margin-top: 22px; max-width: 58ch; color: var(--muted); font-size: clamp(16px, 1.4vw, 19px); }

/* ---------- Capability cards ---------- */
.cap-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.cap-card { padding: 40px 34px 46px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); background: transparent; transition: background .3s; }
.cap-card:hover { background: var(--white); }
.cap-glyph { color: var(--accent); margin-bottom: 26px; }
.cap-glyph svg { width: 46px; height: 46px; }
.cap-no { font-family: var(--f-num); font-size: 13px; color: var(--faint); margin-bottom: 12px; font-weight: 600; letter-spacing: .12em; }
.cap-card h3 { font-family: var(--f-serif-cjk); font-size: 24px; font-weight: 600; }
:lang(en) .cap-card h3 { font-family: var(--f-serif); }
.cap-card p { margin-top: 14px; color: var(--muted); font-size: 14.5px; line-height: 1.65; }

/* ---------- Process (deep editorial moment) ---------- */
.proc-list { border-top: 1px solid var(--deep-line); }
.proc-step { display: grid; grid-template-columns: 96px 1fr auto; gap: 30px; align-items: baseline; padding: 30px 0; border-bottom: 1px solid var(--deep-line); transition: padding-left .3s; }
.proc-step:hover { padding-left: 12px; }
.proc-no { font-family: var(--f-num); font-weight: 700; font-size: 30px; color: oklch(0.74 0.12 248); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.proc-body h3 { font-family: var(--f-serif-cjk); font-size: clamp(22px, 2.2vw, 30px); color: #fff; font-weight: 600; }
:lang(en) .proc-body h3 { font-family: var(--f-serif); }
.proc-body p { margin-top: 9px; color: var(--on-deep-m); font-size: 15.5px; max-width: 62ch; line-height: 1.6; }
.proc-spec { font-family: var(--f-sans); font-size: 12.5px; font-weight: 500; letter-spacing: .02em; color: var(--on-deep); border: 1px solid var(--deep-line); padding: 8px 15px; border-radius: 2px; white-space: nowrap; }
@media (max-width: 720px) { .proc-step { grid-template-columns: 60px 1fr; } .proc-no { font-size: 26px; } .proc-spec { grid-column: 2; justify-self: start; margin-top: 6px; } }

/* ---------- Industries ---------- */
.ind-grid { display: flex; flex-wrap: wrap; gap: 12px; }
.ind-chip { font-family: var(--f-sans); font-weight: 500; font-size: 15.5px; padding: 12px 24px; border: 1px solid var(--line); border-radius: 100px; background: var(--white); transition: .22s; }
.ind-chip:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ---------- Product cards ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: clamp(16px, 2vw, 28px); }
.prod-card .shot, .prod-card .ph { aspect-ratio: 4/3; }
.prod-meta { padding: 26px 26px 30px; }
.prod-ind { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.prod-card h3 { font-family: var(--f-serif-cjk); font-size: 23px; margin-top: 11px; font-weight: 600; }
:lang(en) .prod-card h3 { font-family: var(--f-serif); }
.spec { margin: 20px 0 0; display: grid; gap: 11px; }
.spec > div { display: grid; grid-template-columns: 92px 1fr; gap: 14px; padding-top: 11px; border-top: 1px solid var(--line-soft); }
.spec dt { font-family: var(--f-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .04em; color: var(--faint); margin: 0; text-transform: uppercase; }
.spec dd { margin: 0; font-size: 14.5px; color: var(--ink-soft); }

.filter-bar { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 44px; }
.filter-bar button { font-family: var(--f-sans); font-weight: 500; font-size: 14px; padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line); background: transparent; color: var(--ink-soft); transition: .18s; }
.filter-bar button:hover { border-color: var(--ink); }
.filter-bar button.on { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ---------- Case cards ---------- */
.case-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 2.5vw, 36px); }
.case-card .shot, .case-card .ph { aspect-ratio: 16/10; }
.case-body { padding: 30px 32px 36px; }
.case-ind { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--accent); }
.case-card h3 { font-family: var(--f-serif-cjk); font-size: clamp(22px, 2vw, 28px); margin-top: 11px; font-weight: 600; }
:lang(en) .case-card h3 { font-family: var(--f-serif); }
.case-rows { margin-top: 24px; display: grid; gap: 17px; }
.case-rows > div { display: grid; grid-template-columns: 100px 1fr; gap: 16px; }
.case-rows span { font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.case-rows p { font-size: 14.5px; color: var(--ink-soft); line-height: 1.6; }
@media (max-width: 720px) { .case-grid { grid-template-columns: 1fr; } .case-rows > div { grid-template-columns: 84px 1fr; } }

/* ---------- Timeline ---------- */
.timeline { position: relative; margin-top: 14px; }
.timeline::before { content: ""; position: absolute; left: 122px; top: 10px; bottom: 10px; width: 1px; background: var(--line); }
.tl-item { display: grid; grid-template-columns: 100px 42px 1fr; align-items: start; padding: 24px 0; }
.tl-year { font-family: var(--f-num); font-weight: 700; font-size: 28px; color: var(--ink); letter-spacing: -.01em; font-variant-numeric: tabular-nums; }
.tl-dot { position: relative; }
.tl-dot::before { content: ""; position: absolute; left: 22px; top: 11px; width: 13px; height: 13px; border-radius: 50%; background: var(--canvas); border: 2px solid var(--accent); }
.tl-body h3 { font-family: var(--f-serif-cjk); font-size: 22px; font-weight: 600; }
:lang(en) .tl-body h3 { font-family: var(--f-serif); }
.tl-body p { margin-top: 9px; color: var(--muted); font-size: 15px; max-width: 64ch; line-height: 1.65; }
@media (max-width: 600px) { .timeline::before { left: 80px; } .tl-item { grid-template-columns: 72px 28px 1fr; } .tl-dot::before { left: 14px; } .tl-year { font-size: 24px; } }

/* ---------- Certs ---------- */
.cert-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 22px; }
.cert-card { background: var(--white); border: 1px solid var(--line); padding: 18px; transition: border-color .25s, transform .3s; }
.cert-card:hover { border-color: var(--ink); transform: translateY(-3px); }
.cert-card .shot, .cert-card .ph { aspect-ratio: 3/4; }
.cert-name { font-family: var(--f-sans); font-weight: 600; font-size: 14.5px; margin-top: 16px; line-height: 1.4; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink-deep); color: #fff; }
.cta-band .wrap { display: flex; justify-content: space-between; align-items: center; gap: 44px; flex-wrap: wrap; padding-block: clamp(56px, 7vw, 96px); }
.cta-band h2 { font-family: var(--f-serif-cjk); color: #fff; font-size: clamp(30px, 4vw, 54px); max-width: 16ch; font-weight: 600; line-height: 1.08; }
:lang(en) .cta-band h2 { font-family: var(--f-serif); }
.cta-band p { margin-top: 18px; color: var(--on-deep-m); max-width: 44ch; }

/* ---------- Split / story ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 5vw, 80px); align-items: center; }
.split .shot, .split .ph { aspect-ratio: 4/3; }
.split-body h2 { font-family: var(--f-serif-cjk); font-size: clamp(30px, 3.6vw, 50px); font-weight: 600; line-height: 1.08; }
:lang(en) .split-body h2 { font-family: var(--f-serif); }
.split-body p { margin-top: 22px; color: var(--muted); font-size: 16.5px; line-height: 1.75; }
@media (max-width: 860px) { .split, .hero-grid { grid-template-columns: 1fr; } .hero-visual { order: -1; } .hero-visual .shot, .hero-visual .ph { aspect-ratio: 16/11; } }

/* ---------- Lead split (two-col intro) ---------- */
.lead-split { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(28px, 4vw, 72px); align-items: start; }
@media (max-width: 800px) { .lead-split { grid-template-columns: 1fr; } }

/* ---------- Equipment ---------- */
.equip-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 0; border-top: 1px solid var(--line); }
.equip-cell { padding: 30px 26px; border-bottom: 1px solid var(--line); border-right: 1px solid var(--line); }
.equip-cell .n { font-family: var(--f-num); font-weight: 700; font-size: 46px; color: var(--ink); line-height: 1; letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.equip-cell .n .u { font-size: .36em; color: var(--accent); margin-left: 5px; font-family: var(--f-sans); font-weight: 600; }
.equip-cell .t { margin-top: 12px; font-size: 14.5px; color: var(--muted); }

/* ---------- Image band (cinematic factory strip) ---------- */
.imgband { position: relative; overflow: hidden; background: var(--ink-deep); }
.imgband img { width: 100%; height: clamp(380px, 56vh, 620px); object-fit: cover; object-position: center 32%; display: block; }
.imgband::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(18,20,24,.78) 0%, rgba(18,20,24,.35) 42%, rgba(18,20,24,0) 70%); }
.imgband-cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: clamp(32px, 5vw, 64px) var(--gutter); }
.imgband-cap .inner { max-width: var(--container); margin: 0 auto; }
.imgband-cap .kicker { color: oklch(0.78 0.12 248); }
.imgband-cap h3 { color: #fff; font-size: clamp(26px, 3.4vw, 46px); font-weight: 600; max-width: 18ch; line-height: 1.12; }
.imgband-cap p { color: var(--on-deep); margin-top: 16px; max-width: 48ch; font-size: clamp(15px, 1.3vw, 18px); }

/* ---------- Detail sub-pages ---------- */
.dt-top { padding-top: clamp(28px, 4vw, 52px); }
.dt-back { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); margin-bottom: clamp(28px, 4vw, 48px); transition: .18s; }
.dt-back svg { width: 17px; height: 17px; transition: transform .2s; }
.dt-back:hover { color: var(--accent); }
.dt-back:hover svg { transform: translateX(-4px); }
.dt-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(32px, 5vw, 72px); align-items: start; }
.dt-media .shot, .dt-media .ph { aspect-ratio: 1/1; border: 1px solid var(--line); }
.dt-media.wide .shot, .dt-media.wide .ph { aspect-ratio: 16/9; margin-top: clamp(20px,3vw,36px); }
.dt-info h1 { font-size: clamp(30px, 4vw, 52px); margin-top: 12px; line-height: 1.08; font-weight: 700; }
.dt-info .prod-ind { font-size: 12px; }
.dt-lede { margin-top: 20px; color: var(--ink-soft); font-size: clamp(16px,1.4vw,19px); line-height: 1.7; }
.dt-spec { margin-top: 28px; }
.dt-spec > div { grid-template-columns: 120px 1fr; }
.dt-actions { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; }
.dt-case-head h1 { font-size: clamp(30px, 4.4vw, 56px); margin-top: 12px; line-height: 1.06; font-weight: 700; max-width: 20ch; }
.dt-case-body { max-width: 800px; margin-top: clamp(28px,4vw,44px); display: grid; gap: 22px; }
.dt-row { display: grid; grid-template-columns: 120px 1fr; gap: 20px; padding-top: 20px; border-top: 1px solid var(--line); }
.dt-row span { font-family: var(--f-sans); font-size: 11.5px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); padding-top: 3px; }
.dt-row p { font-size: 16px; color: var(--ink-soft); line-height: 1.7; }
@media (max-width: 820px) { .dt-grid { grid-template-columns: 1fr; } .dt-media .shot, .dt-media .ph { aspect-ratio: 16/11; } .dt-row { grid-template-columns: 92px 1fr; } }

/* card "view detail" affordance */
.card-go { display: inline-flex; align-items: center; gap: 7px; margin-top: 20px; font-family: var(--f-sans); font-weight: 600; font-size: 13px; color: var(--accent); letter-spacing: .01em; }
.card-go svg { width: 14px; height: 14px; transition: transform .22s; }
.card:hover .card-go svg { transform: translateX(4px); }
.case-card .card-go { margin-top: 24px; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(10px, 1.2vw, 16px); }
.gallery .shot { aspect-ratio: 4/3; border: 1px solid var(--line); }
.gallery .shot.wide { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.gallery .shot img { transition: transform .8s cubic-bezier(.2,.7,.2,1); }
.gallery .shot:hover img { transform: scale(1.05); }
@media (max-width: 700px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery .shot.wide { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(36px, 5vw, 72px); }
.field { margin-bottom: 20px; }
.field label { display: block; font-family: var(--f-sans); font-size: 11px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field textarea, .field select { width: 100%; font-family: var(--f-sans); font-size: 16px; color: var(--ink); padding: 14px 16px; border: 1px solid var(--line); border-radius: 2px; background: var(--white); transition: border-color .18s; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent); }
.contact-info-card { background: var(--white); border: 1px solid var(--line); padding: clamp(28px, 3vw, 44px); }
.info-row { display: flex; gap: 18px; padding: 19px 0; border-bottom: 1px solid var(--line-soft); }
.info-row:last-child { border-bottom: 0; }
.info-row .ic { width: 40px; height: 40px; flex-shrink: 0; border-radius: 2px; background: var(--panel); display: grid; place-items: center; color: var(--accent); }
.info-row .ic svg { width: 18px; height: 18px; }
.info-row .lbl { font-family: var(--f-sans); font-size: 10.5px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--faint); }
.info-row .val { font-size: 15.5px; color: var(--ink); margin-top: 4px; word-break: break-word; }
.form-note { font-size: 14px; color: var(--accent); margin-top: 12px; min-height: 20px; }
@media (max-width: 820px) { .contact-grid { grid-template-columns: 1fr; } }
