:root {
  --global-ink: #102326;
  --global-muted: #6c7a79;
  --global-teal: #0f8f8d;
  --global-line: #dfe9e6;
  --global-soft: #eef6f3;
}

.global-page {
  min-height: 100vh;
  color: var(--global-ink);
  background: #fbfcfa;
}
body.global-page { margin: 0; }

.global-page a { color: inherit; text-decoration: none; }
.global-shell { width: min(1240px, calc(100% - 56px)); margin: 0 auto; }
.global-nav { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 22px 0; }
.global-brand { display: inline-flex; align-items: center; gap: 10px; font-size: 17px; font-weight: 900; letter-spacing: .02em; }
.global-brand-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 7px; color: #fff; background: var(--global-teal); font-size: 13px; }
.global-nav-links { display: flex; flex-wrap: wrap; gap: 22px; color: var(--global-muted); font-size: 12px; font-weight: 800; }
.global-nav-links a:hover { color: var(--global-teal); }
.global-nav-actions { display: flex; align-items: center; gap: 9px; }
.global-lang { color: var(--global-muted); font-size: 12px; font-weight: 800; }
.global-button { display: inline-flex; box-sizing: border-box; min-height: 42px; align-items: center; justify-content: center; padding: 0 17px; border: 1px solid var(--global-ink); border-radius: 6px; color: #fff !important; background: var(--global-ink); font-size: 12px; font-weight: 900; }
.global-button.secondary { color: var(--global-ink) !important; background: transparent; }
.global-eyebrow { margin: 0 0 10px; color: var(--global-teal); font-size: 11px; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; }

.global-web-hero { display: grid; grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr); gap: 46px; align-items: center; min-height: 620px; padding: 36px 0 56px; }
.global-web-hero h1 { max-width: 650px; margin: 0; font-size: clamp(46px, 5vw, 68px); line-height: .98; letter-spacing: -.04em; }
.global-web-hero-copy > p:not(.global-eyebrow) { max-width: 520px; margin: 22px 0 0; color: var(--global-muted); font-size: 16px; line-height: 1.7; }
.global-web-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.global-proof-row { display: flex; flex-wrap: wrap; gap: 22px; margin-top: 34px; }
.global-proof-row strong { display: block; font-size: 18px; }
.global-proof-row span { display: block; margin-top: 3px; color: var(--global-muted); font-size: 11px; }
.global-web-visual { position: relative; min-height: 540px; padding: 16px; background: var(--global-soft); }
.global-web-visual img { display: block; width: 100%; height: 508px; object-fit: contain; background: #fff; }
.global-visual-label { position: absolute; right: 30px; bottom: 30px; max-width: 230px; padding: 15px; color: #fff; background: rgba(16, 35, 38, .94); }
.global-visual-label span { display: block; color: #76ddd3; font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.global-visual-label strong { display: block; margin-top: 7px; font-size: 15px; line-height: 1.35; }

.global-band { border-top: 1px solid var(--global-line); border-bottom: 1px solid var(--global-line); }
.global-band-inner { display: grid; grid-template-columns: repeat(4, 1fr); }
.global-band-item { padding: 18px 20px; border-right: 1px solid var(--global-line); }
.global-band-item:last-child { border-right: 0; }
.global-band-item strong { display: block; font-size: 13px; }
.global-band-item span { display: block; margin-top: 5px; color: var(--global-muted); font-size: 11px; }
.global-section { padding: 88px 0; }
.global-section-head { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 28px; }
.global-section-head h2 { max-width: 600px; margin: 0; font-size: 38px; line-height: 1.08; letter-spacing: -.03em; }
.global-section-head p { max-width: 390px; margin: 0; color: var(--global-muted); font-size: 13px; line-height: 1.7; }
.global-entry-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.global-entry { display: grid; grid-template-columns: 1.05fr .95fr; min-height: 310px; overflow: hidden; border: 1px solid var(--global-line); background: #fff; }
.global-entry-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 26px; }
.global-entry-copy h3 { margin: 0; font-size: 25px; }
.global-entry-copy p { margin: 12px 0 0; color: var(--global-muted); font-size: 13px; line-height: 1.6; }
.global-entry-copy small { color: var(--global-teal); font-size: 10px; font-weight: 900; letter-spacing: .12em; text-transform: uppercase; }
.global-entry img { width: 100%; height: 100%; min-height: 310px; object-fit: cover; }
.global-asset-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.global-asset { overflow: hidden; border: 1px solid var(--global-line); background: #fff; }
.global-asset img { display: block; width: 100%; aspect-ratio: 1 / 1.08; object-fit: contain; background: #f4f7f5; }
.global-asset div { padding: 12px; }
.global-asset strong { display: block; font-size: 13px; }
.global-asset span { display: block; margin-top: 5px; color: var(--global-muted); font-size: 11px; }
.global-process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.global-process-item { padding: 22px; border-top: 2px solid var(--global-teal); background: #fff; }
.global-process-item b { color: var(--global-teal); font-size: 11px; }
.global-process-item h3 { margin: 30px 0 8px; font-size: 17px; }
.global-process-item p { margin: 0; color: var(--global-muted); font-size: 12px; line-height: 1.6; }
.global-cta { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: 38px; color: #fff; background: var(--global-ink); }
.global-cta h2 { margin: 0; font-size: 34px; letter-spacing: -.03em; }
.global-cta p { max-width: 540px; margin: 9px 0 0; color: rgba(255,255,255,.7); font-size: 13px; line-height: 1.6; }
.global-cta .global-button { color: var(--global-ink) !important; border-color: #fff; background: #fff; white-space: nowrap; }
.global-footer { display: flex; justify-content: space-between; gap: 20px; padding: 26px 0 36px; color: var(--global-muted); font-size: 11px; }

.global-h5-page { padding-bottom: 92px; background: #f7faf8; }
.global-h5-page .global-shell { width: min(100% - 28px, 560px); }
.global-h5-nav { position: sticky; top: 0; z-index: 5; padding: 13px 0; background: rgba(247,250,248,.94); backdrop-filter: blur(12px); }
.global-h5-nav .global-nav { padding: 0; }
.global-h5-nav .global-nav-links { display: none; }
.global-h5-nav .global-button { min-height: 34px; padding: 0 12px; font-size: 11px; }
.global-h5-hero { padding: 20px 0 24px; }
.global-h5-hero h1 { margin: 0; font-size: 43px; line-height: .98; letter-spacing: -.05em; }
.global-h5-hero p:not(.global-eyebrow) { margin: 16px 0 0; color: var(--global-muted); font-size: 13px; line-height: 1.6; }
.global-h5-hero img { display: block; width: 100%; height: 285px; margin-top: 20px; object-fit: contain; background: #fff; }
.global-h5-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 12px; }
.global-h5-actions .global-button { width: 100%; padding: 0 8px; }
.global-h5-section { padding: 28px 0; }
.global-h5-section h2 { margin: 0 0 14px; font-size: 25px; letter-spacing: -.03em; }
.global-h5-entry { display: grid; grid-template-columns: 104px 1fr; gap: 13px; align-items: center; padding: 10px; border: 1px solid var(--global-line); background: #fff; }
.global-h5-entry + .global-h5-entry { margin-top: 8px; }
.global-h5-entry img { width: 104px; height: 112px; object-fit: cover; }
.global-h5-entry small { color: var(--global-teal); font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
.global-h5-entry h3 { margin: 5px 0; font-size: 17px; }
.global-h5-entry p { margin: 0; color: var(--global-muted); font-size: 11px; line-height: 1.5; }
.global-h5-assets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.global-h5-assets img { display: block; width: 100%; aspect-ratio: 1 / 1.15; object-fit: contain; background: #fff; }
.global-h5-assets span { display: block; padding-top: 6px; color: var(--global-muted); font-size: 10px; }
.global-h5-process { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.global-h5-process article { min-height: 126px; padding: 14px; border-top: 2px solid var(--global-teal); background: #fff; }
.global-h5-process b { color: var(--global-teal); font-size: 10px; }
.global-h5-process h3 { margin: 24px 0 5px; font-size: 14px; }
.global-h5-process p { margin: 0; color: var(--global-muted); font-size: 10px; line-height: 1.5; }
.global-h5-bottom { position: fixed; right: 0; bottom: 0; left: 0; z-index: 4; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom)); background: rgba(247,250,248,.94); backdrop-filter: blur(12px); }
.global-h5-bottom { box-sizing: border-box; }
.global-h5-bottom .global-button { min-height: 40px; padding: 0 7px; font-size: 11px; }

@media (max-width: 900px) {
  .global-shell { width: min(100% - 34px, 680px); }
  .global-nav-links { display: none; }
  .global-web-hero { grid-template-columns: 1fr; min-height: auto; padding-top: 20px; }
  .global-web-hero h1 { font-size: 58px; }
  .global-web-visual { min-height: 420px; }
  .global-web-visual img { height: 388px; }
  .global-asset-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .global-process { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .global-page { padding-bottom: 92px; }
  .global-shell { width: min(100% - 28px, 560px); }
  .global-nav { padding: 14px 0; }
  .global-nav-actions .global-button { min-height: 34px; padding: 0 11px; }
  .global-lang { display: inline; }
  .global-h5-nav .global-button { min-height: 44px; }
  .global-h5-hero h1 { font-size: 36px; }
  .global-h5-bottom { width: auto; margin: 0; }
  .global-web-hero { padding: 22px 0 34px; gap: 24px; }
  .global-web-hero h1 { font-size: 38px; }
  .global-web-hero-copy > p:not(.global-eyebrow) { font-size: 15px; margin-top: 16px; }
  .global-web-actions { margin-top: 20px; }
  .global-proof-row { gap: 16px; margin-top: 24px; }
  .global-web-visual { min-height: auto; padding: 10px; }
  .global-web-visual img { height: 300px; }
  .global-visual-label { right: 16px; bottom: 16px; max-width: 200px; padding: 11px; }
  .global-band-inner { grid-template-columns: repeat(2, 1fr); }
  .global-band-item:nth-child(2) { border-right: 0; }
  .global-band-item:nth-child(-n + 2) { border-bottom: 1px solid var(--global-line); }
  .global-section { padding: 50px 0; }
  .global-section-head { display: block; }
  .global-section-head h2 { font-size: 30px; }
  .global-section-head p { margin-top: 12px; }
  .global-entry-grid { grid-template-columns: 1fr; }
  .global-entry { grid-template-columns: 1fr 1fr; min-height: 220px; }
  .global-entry img { min-height: 220px; }
  .global-entry-copy { padding: 16px; }
  .global-entry-copy h3 { font-size: 20px; }
  .global-entry-copy p { font-size: 11px; }
  .global-process { gap: 8px; }
  .global-process-item { padding: 14px; }
  .global-cta { grid-template-columns: 1fr; padding: 24px; }
  .global-cta h2 { font-size: 28px; }
  .global-footer { display: block; line-height: 1.7; }
}

/* ===== Version A: full-bleed editorial hero ===== */
.global-hero-full { position: relative; display: flex; align-items: center; min-height: 640px; overflow: hidden; background: var(--global-soft); }
.global-hero-bg { position: absolute; inset: 0; z-index: 0; }
.global-hero-bg img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center center; }
.global-hero-full::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(100deg, rgba(251,252,250,.97) 0%, rgba(251,252,250,.9) 40%, rgba(251,252,250,.45) 68%, rgba(251,252,250,.08) 100%); }
.global-hero-full .global-shell { position: relative; z-index: 2; }
.global-hero-copy { max-width: 620px; padding: 90px 0; }
.global-hero-copy h1 { margin: 0; font-size: clamp(44px, 5vw, 66px); line-height: .98; letter-spacing: -.04em; }
.global-hero-copy > p:not(.global-eyebrow) { max-width: 500px; margin: 22px 0 0; color: var(--global-muted); font-size: 16px; line-height: 1.7; }
@media (max-width: 640px) {
  .global-hero-full { min-height: 560px; }
  .global-hero-bg img { object-position: center center; }
  .global-hero-full::before { background: linear-gradient(180deg, rgba(251,252,250,.96) 0%, rgba(251,252,250,.88) 55%, rgba(251,252,250,.4) 100%); }
  .global-hero-copy { max-width: 100%; padding: 64px 0; }
  .global-hero-copy h1 { font-size: 38px; }
  .global-hero-copy > p:not(.global-eyebrow) { font-size: 15px; margin-top: 16px; }
  .global-hero-copy .global-web-actions { margin-top: 20px; }
  .global-hero-copy .global-proof-row { gap: 16px; margin-top: 24px; }
}
