:root {
  --kh2-navy: #061b3a;
  --kh2-deep: #082b55;
  --kh2-blue: #1257ff;
  --kh2-cyan: #2db6e8;
  --kh2-green: #49b85f;
  --kh2-soft: #f5f9fc;
  --kh2-muted: #6d8297;
  --kh2-line: #dce8f2;
  --kh2-shadow: 0 18px 50px rgba(6, 27, 58, .10);
  --kh2-radius: 22px;
}

html { scroll-behavior: smooth; }
body { overflow-x: hidden; }
body.admin-bar .kh2-header { top: 32px; }
a { text-underline-offset: .16em; }
img { height: auto; }
.kh2-main { margin-block-start: 0; }
.kh2-header {
  position: sticky;
  top: 0;
  z-index: 100;
  margin-block-start: 0;
  border-bottom: 1px solid rgba(6, 27, 58, .08);
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 6px 30px rgba(6, 27, 58, .05);
  backdrop-filter: blur(18px);
}
.kh2-header__inner { min-height: 80px; gap: 1.6rem; padding-inline: 1rem; }
.kh2-brand { gap: .65rem; flex: 0 0 auto; }
.kh2-brand .custom-logo { width: 46px; height: 46px; object-fit: contain; }
.kh2-brand__title a { color: var(--kh2-navy); font-size: 1.22rem; font-weight: 850; letter-spacing: .11em; text-decoration: none; }
.kh2-brand__tag { margin: 0; color: var(--kh2-muted); font-size: .58rem; font-weight: 700; letter-spacing: .28em; }
.kh2-nav { flex: 1; }
.kh2-nav a { color: var(--kh2-navy); text-decoration: none; }
.kh2-nav a:hover, .kh2-nav a:focus-visible { color: var(--kh2-blue); }
.kh2-header__cta { flex: 0 0 auto; }
.kh2-header__cta .wp-block-button__link { font-size: .86rem; box-shadow: 0 10px 24px rgba(18, 87, 255, .2); }

.kh2-section { position: relative; padding: clamp(4rem, 8vw, 7rem) 1rem; margin: 0; }
.kh2-section--soft { background: var(--kh2-soft); }
.kh2-section--navy { overflow: hidden; background: radial-gradient(circle at 80% 0, rgba(45,182,232,.22), transparent 32%), var(--kh2-navy); color: white; }
.kh2-section--navy a:not(.wp-block-button__link) { color: var(--kh2-cyan); }
.kh2-eyebrow { margin-bottom: .75rem; color: var(--kh2-blue); font-size: .79rem; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; }
.kh2-section--navy .kh2-eyebrow { color: var(--kh2-cyan); }
.kh2-heading { max-width: 830px; margin-top: 0; }
.kh2-lead { max-width: 720px; color: #49647d; font-size: clamp(1.05rem, 1.8vw, 1.28rem); }
.kh2-section--navy .kh2-lead { color: #c8d8e8; }
.kh2-gradient-text { color: var(--kh2-blue); background: linear-gradient(115deg,var(--kh2-blue),var(--kh2-cyan) 58%,var(--kh2-green)); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }

.kh2-hero { min-height: min(840px, calc(100vh - 80px)); padding: clamp(3rem,7vw,6rem) 1rem 2.5rem; background: radial-gradient(circle at 65% 8%, rgba(45,182,232,.15), transparent 24%), linear-gradient(180deg,#fff 0%,#f9fcff 100%); }
.kh2-hero::after { content: ""; position: absolute; inset: auto -8% -18% 55%; height: 420px; background: radial-gradient(circle,rgba(18,87,255,.10),transparent 68%); pointer-events: none; }
.kh2-hero__grid { position: relative; z-index: 1; align-items: center !important; gap: clamp(2.2rem,5vw,5rem); }
.kh2-hero__copy { flex-basis: 52% !important; }
.kh2-hero h1 { max-width: 760px; margin: .75rem 0 1.35rem; font-size: clamp(3rem,6.2vw,6rem); letter-spacing: -.055em; }
.kh2-hero__visual { position: relative; flex-basis: 48% !important; }
.kh2-hero__visual figure { margin: 0; }
.kh2-hero__visual img { width: 100%; max-height: 650px; object-fit: cover; object-position: center 52%; border-radius: 28px; box-shadow: 0 30px 80px rgba(6,27,58,.20); }
.kh2-hero__visual-mobile { display: none; }
.kh2-kicker { display: inline-flex; align-items: center; gap: .55rem; padding: .5rem .75rem; border: 1px solid #b9d5ef; border-radius: 999px; color: var(--kh2-deep); background: rgba(255,255,255,.75); font-size: .78rem; font-weight: 700; }
.kh2-kicker::before { content: ""; width: .55rem; height: .55rem; border-radius: 50%; background: var(--kh2-green); box-shadow: 0 0 0 5px rgba(73,184,95,.12); }
.kh2-hero__actions { margin-top: 1.8rem; }
.kh2-button-outline .wp-block-button__link { border: 1px solid var(--kh2-blue); color: var(--kh2-blue); background: transparent; }
.kh2-button-outline .wp-block-button__link:hover { color: white; background: var(--kh2-blue); }
.kh2-proof { margin-top: 2rem; color: var(--kh2-muted); font-size: .84rem; }
.kh2-proof strong { color: var(--kh2-navy); }

.kh2-pillars { position: relative; z-index: 2; margin-top: 2.5rem; gap: .75rem; }
.kh2-pillar { min-height: 130px; padding: 1.15rem; border: 1px solid var(--kh2-line); border-radius: 18px; background: rgba(255,255,255,.9); box-shadow: 0 12px 40px rgba(6,27,58,.06); }
.kh2-pillar__number { color: var(--kh2-blue); font-size: .76rem; font-weight: 800; letter-spacing: .12em; }
.kh2-pillar h3 { margin: .5rem 0 .25rem; font-size: 1.1rem; }
.kh2-pillar p { margin: 0; color: var(--kh2-muted); font-size: .88rem; }

.kh2-grid { gap: 1rem; }
.kh2-card { height: 100%; padding: clamp(1.25rem,2.4vw,2rem); border: 1px solid var(--kh2-line); border-radius: var(--kh2-radius); background: white; box-shadow: 0 12px 38px rgba(6,27,58,.06); transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease; }
.kh2-card:hover { transform: translateY(-5px); border-color: #bdd8ef; box-shadow: var(--kh2-shadow); }
.kh2-card h3 { margin: .8rem 0 .55rem; font-size: 1.15rem; }
.kh2-card p { margin-bottom: 0; color: #536b81; font-size: .94rem; }
.kh2-card__mark { display: grid; width: 48px; height: 48px; place-items: center; border-radius: 15px; color: white; background: linear-gradient(135deg,var(--kh2-blue),var(--kh2-cyan)); font-size: .86rem; font-weight: 850; box-shadow: 0 10px 22px rgba(18,87,255,.18); }
.kh2-card__link { display: inline-flex; margin-top: 1.2rem; font-weight: 750; text-decoration: none; }
.kh2-card__link::after { content: "→"; margin-left: .4rem; }

.kh2-split { align-items: stretch !important; gap: clamp(2rem,5vw,5rem); }
.kh2-split__media { min-height: 540px; }
.kh2-split__media figure, .kh2-split__media img { width: 100%; height: 100%; }
.kh2-split__media img { object-fit: cover; object-position: center; border-radius: var(--kh2-radius); box-shadow: var(--kh2-shadow); }
.kh2-checklist { padding: 0; list-style: none; }
.kh2-checklist li { position: relative; padding: .9rem 0 .9rem 2rem; border-bottom: 1px solid var(--kh2-line); }
.kh2-checklist li::before { content: "✓"; position: absolute; left: 0; top: .78rem; display: grid; width: 1.35rem; height: 1.35rem; place-items: center; border-radius: 50%; color: white; background: var(--kh2-green); font-size: .75rem; font-weight: 900; }

.kh2-process { position: relative; gap: 1rem; counter-reset: process; }
.kh2-process::before { content: ""; position: absolute; top: 26px; right: 4%; left: 4%; border-top: 1px dashed #9bc6e7; }
.kh2-step { position: relative; z-index: 1; padding: 0 1rem; text-align: center; }
.kh2-step::before { counter-increment: process; content: counter(process, decimal-leading-zero); display: grid; width: 54px; height: 54px; margin: 0 auto 1rem; place-items: center; border: 5px solid white; border-radius: 50%; color: white; background: var(--kh2-blue); box-shadow: 0 0 0 1px #b9d8ef; font-size: .76rem; font-weight: 800; }
.kh2-step h3 { margin: .4rem 0; font-size: 1rem; }
.kh2-step p { color: var(--kh2-muted); font-size: .86rem; }

.kh2-showcase { overflow: hidden; padding: 0; }
.kh2-showcase figure { margin: 0; aspect-ratio: 4/3; overflow: hidden; }
.kh2-showcase img { width: 100%; height: 100%; object-fit: cover; object-position: center 60%; transition: transform .5s ease; }
.kh2-showcase:hover img { transform: scale(1.025); }
.kh2-showcase__body { padding: 1.4rem; }
.kh2-badge { display: inline-flex; padding: .32rem .58rem; border-radius: 999px; color: var(--kh2-blue); background: #eaf2ff; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.kh2-disclaimer { color: var(--kh2-muted); font-size: .74rem; font-style: italic; }

.kh2-impact-card { min-height: 240px; padding: 1.7rem; border: 1px solid rgba(255,255,255,.14); border-radius: var(--kh2-radius); background: rgba(255,255,255,.07); }
.kh2-impact-card h3 { color: white; }
.kh2-impact-card p { color: #c8d8e8; }
.kh2-impact-card .kh2-card__mark { background: rgba(45,182,232,.16); box-shadow: inset 0 0 0 1px rgba(45,182,232,.35); }

.kh2-lab { overflow: hidden; border: 1px solid var(--kh2-line); border-radius: 30px; background: linear-gradient(135deg,#fff 0%,#edf7ff 100%); box-shadow: var(--kh2-shadow); }
.kh2-lab__copy { padding: clamp(2rem,5vw,4.5rem); }
.kh2-lab__visual { min-height: 480px; }
.kh2-lab__visual figure, .kh2-lab__visual img { width: 100%; height: 100%; margin: 0; }
.kh2-lab__visual img { object-fit: cover; object-position: center 58%; }

.kh2-racing { padding: clamp(2rem,5vw,4rem); border-radius: 30px; background: radial-gradient(circle at 90% 20%,rgba(45,182,232,.3),transparent 30%), linear-gradient(135deg,#061b3a,#082b55); color: white; box-shadow: 0 24px 70px rgba(6,27,58,.22); }
.kh2-racing p { color: #c8d8e8; }
.kh2-racing__label { color: var(--kh2-cyan); font-size: .76rem; font-weight: 850; letter-spacing: .17em; text-transform: uppercase; }

.kh2-final-cta { overflow: hidden; padding: clamp(3rem,7vw,6rem) 1rem; background: linear-gradient(135deg,#eff8ff,#f8fff7); }
.kh2-final-cta::before { content: "H₂"; position: absolute; right: 3%; bottom: -15%; color: rgba(18,87,255,.06); font-size: min(32vw,24rem); font-weight: 900; line-height: 1; }
.kh2-final-cta > * { position: relative; z-index: 1; }

.kh2-page-shell { min-height: 60vh; padding-bottom: 6rem; }
.kh2-page-hero { margin-bottom: 3rem; padding: clamp(4rem,9vw,8rem) 1rem 3rem; border-bottom: 1px solid var(--kh2-line); background: linear-gradient(180deg,#f5faff,#fff); }
.kh2-page-hero h1 { max-width: 900px; font-size: clamp(2.5rem,6vw,5rem); }
.kh2-empty { min-height: 60vh; padding: 9rem 1rem; }

.kh2-footer { margin-block-start: 0; padding: 4.5rem 1rem 1.5rem; color: #ccdaea; background: var(--kh2-navy); }
.kh2-footer h3, .kh2-footer__brand a { color: white; }
.kh2-footer__brand a { text-decoration: none; }
.kh2-footer a { color: #dceaf8; }
.kh2-footer__links { padding: 0; list-style: none; }
.kh2-footer__links li { margin: .5rem 0; }
.kh2-footer__bottom { margin-top: 2.5rem; padding-top: 1.3rem; border-top: 1px solid rgba(255,255,255,.12); }
.kh2-footer__bottom p { margin: 0; }

.kh2-reveal { opacity: 1; transform: none; }
.kh2-js .kh2-reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.kh2-js .kh2-reveal.is-visible { opacity: 1; transform: none; }

@media (max-width: 1080px) {
  .kh2-header__cta { display: none; }
  .kh2-nav { justify-content: flex-end; }
  .kh2-hero h1 { font-size: clamp(2.8rem,6vw,4.6rem); }
}

@media (max-width: 782px) {
  body.admin-bar .kh2-header { top: 46px; }
  .kh2-header__inner { min-height: 70px; }
  .kh2-brand__title a { font-size: 1rem; }
  .kh2-brand__tag { display: none; }
  .kh2-nav .wp-block-navigation__responsive-container.is-menu-open { padding: 2rem; background: white; }
  .kh2-hero { min-height: auto; padding-top: 2.2rem; }
  .kh2-hero__grid { flex-direction: column; }
  .kh2-hero__copy, .kh2-hero__visual { flex-basis: 100% !important; }
  .kh2-hero h1 { font-size: clamp(2.75rem,13vw,4.5rem); }
  .kh2-hero__visual-desktop { display: none; }
  .kh2-hero__visual-mobile { display: block; }
  .kh2-hero__visual img { max-height: 650px; object-position: center 60%; }
  .kh2-pillars { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kh2-grid { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kh2-process { display: grid !important; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .kh2-process::before { display: none; }
  .kh2-split__media, .kh2-lab__visual { min-height: 380px; }
  .kh2-footer__grid { gap: 2rem; }
}

@media (max-width: 560px) {
  .kh2-section { padding-block: 4rem; }
  .kh2-header__inner { padding-inline: .75rem; }
  .kh2-brand .custom-logo { width: 40px; height: 40px; }
  .kh2-hero__actions, .kh2-final-cta .wp-block-buttons { align-items: stretch; flex-direction: column; }
  .kh2-hero__actions .wp-block-button, .kh2-hero__actions .wp-block-button__link, .kh2-final-cta .wp-block-button, .kh2-final-cta .wp-block-button__link { width: 100%; text-align: center; }
  .kh2-pillars, .kh2-grid, .kh2-process { grid-template-columns: 1fr; }
  .kh2-pillar { min-height: auto; }
  .kh2-card { padding: 1.25rem; }
  .kh2-step { text-align: left; }
  .kh2-step::before { margin-inline: 0; }
  .kh2-split__media, .kh2-lab__visual { min-height: 320px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
}

@media print {
  .kh2-header, .kh2-footer, .wp-block-buttons { display: none !important; }
}
