/* Hadof Content System 2.4.0 — homepage-only visual reset. */
.hadof-x3-home {
	--hh-shell: 1240px;
	--hh-ink: #111c28;
	--hh-muted: #58697a;
	background: #f5f7f8;
}

.hadof-x3-home .hx-shell { max-width: var(--hh-shell); }

/* A decisive, shorter first screen with one clear action hierarchy. */
.hadof-x3-home .hx-hero__grid { min-height: clamp(520px, 67vh, 620px) !important; }
.hadof-x3-home .hx-hero__copy { max-width: 680px; padding-block: clamp(3.5rem, 7vw, 5.5rem); }
.hadof-x3-home .hx-hero h1 { font-size: clamp(2.9rem, 4.5vw, 4.25rem); line-height: 1.02; max-width: 13ch; }
.hadof-x3-home .hx-hero .hx-lead { font-size: clamp(1rem, 1.35vw, 1.18rem); max-width: 58ch; }
.hadof-x3-home .hx-hero__basis { gap: 1.5rem; margin-top: 2rem; }
.hadof-x3-home .hx-hero__basis > div { background: transparent; border-left: 2px solid rgba(255,159,28,.75); padding: 0 0 0 .85rem; }
.hadof-x3-home .hx-hero__media figcaption { border-radius: 8px 0 0 0; }

/* Quiet orientation rail, visually subordinate to the hero. */
.hadof-x3-home > .hx-decision-rail { background: #fff; border: 0; box-shadow: 0 10px 28px rgba(13,23,34,.06); }
.hadof-x3-home > .hx-decision-rail .hx-shell { gap: 0; }
.hadof-x3-home > .hx-decision-rail a { border-right: 1px solid #e4e9ed; padding: 1rem 1.25rem; }
.hadof-x3-home > .hx-decision-rail a:last-child { border-right: 0; }
.hadof-x3-home > .hx-decision-rail small { color: #6a7785; font-size: .78rem; }

/* The event becomes one compact editorial feature, not another full hero. */
.hadof-x3-home .hx-home-event {
	align-items: stretch;
	background: #fff;
	display: grid;
	grid-template-columns: minmax(300px, .72fr) minmax(0, 1.28fr);
	margin: clamp(3rem, 6vw, 5rem) auto 0;
	max-width: var(--hh-shell);
	overflow: hidden;
}

.hadof-x3-home .hx-home-event__visual { min-height: 360px; }
.hadof-x3-home .hx-home-event__visual img { height: 100%; object-fit: cover; width: 100%; }
.hadof-x3-home .hx-home-event__copy { align-content: center; background: var(--hh-ink); display: grid; padding: clamp(2.4rem, 5vw, 4.5rem); }
.hadof-x3-home .hx-home-event__copy h2 { font-size: clamp(2rem, 3vw, 3.15rem); line-height: 1.08; max-width: 16ch; }
.hadof-x3-home .hx-home-event__facts { display: flex; flex-wrap: wrap; gap: .5rem; }
.hadof-x3-home .hx-home-event__facts span { background: rgba(255,255,255,.09); border: 0; padding: .6rem .8rem; }

/* One consistent reading rhythm throughout the rest of the homepage. */
.hadof-x3-home .hx-section { padding-block: clamp(4rem, 7vw, 6.5rem); }
.hadof-x3-home .hx-section-head { margin-bottom: clamp(2rem, 4vw, 3.25rem); }
.hadof-x3-home .hx-section-head h2 { font-size: clamp(2.15rem, 3.4vw, 3.45rem); line-height: 1.08; }
.hadof-x3-home :is(.hx-route-console,.hx-feature__grid,.hx-project__grid) { box-shadow: 0 18px 46px rgba(13,23,34,.07); }
.hadof-x3-home .hx-route-console__panels article { grid-template-columns: minmax(0, 1.35fr) minmax(330px, .65fr); }
.hadof-x3-home .hx-route-console__panels article > div { min-width: 0; padding: clamp(2rem, 4vw, 3.5rem); }
.hadof-x3-home .hx-route-console__panels article h3 { font-size: clamp(1.8rem, 2.8vw, 2.85rem); line-height: 1.1; }
.hadof-x3-home .hx-mini-flow { display: flex; flex-wrap: wrap; gap: .45rem; }
.hadof-x3-home .hx-mini-flow li { white-space: nowrap; }

@media (max-width: 900px) {
	.hadof-x3-home .hx-home-event { grid-template-columns: 1fr; margin-inline: 18px; }
	.hadof-x3-home .hx-home-event__visual { min-height: 260px; }
	.hadof-x3-home .hx-route-console__panels article { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.hadof-x3-home .hx-hero__grid { min-height: 0 !important; }
	.hadof-x3-home .hx-hero__copy { padding-block: 3rem; }
	.hadof-x3-home .hx-hero h1 { font-size: clamp(2.45rem, 12vw, 3.15rem); }
	.hadof-x3-home .hx-hero__basis { grid-template-columns: 1fr; }
	.hadof-x3-home > .hx-decision-rail .hx-shell { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); overflow: visible; }
	.hadof-x3-home > .hx-decision-rail a { border-bottom: 1px solid #e4e9ed; min-width: 0; }
	.hadof-x3-home .hx-home-event { margin-top: 2rem; }
	.hadof-x3-home .hx-home-event__copy { padding: 2rem 1.4rem; }
	.hadof-x3-home .hx-section { padding-block: 3.5rem; }
}
