/* Ingenium Research — homepage only. Measurements follow the signed-off boards (desktop 1440, phone 390). */

/* ---------- Night: hero ---------- */
.home-hero { position: relative; overflow: hidden; isolation: isolate; min-height: 780px; background: var(--glow-sunrise), var(--teal-deep); color: var(--on-dark); --accent: var(--link-on-dark); --line-strong: var(--on-dark-muted); --focus-ring: var(--focus-ring-on-dark); }
.home-hero-texture { position: absolute; top: 0; left: calc(50% - 240px); z-index: -1; width: 960px; height: 860px; max-width: none; pointer-events: none; user-select: none; }
.home-hero-inner { max-width: var(--container); margin: 0 auto; padding: 148px 0 160px; }
.home-hero-copy { width: 660px; max-width: 100%; display: flex; flex-direction: column; gap: 24px; }
.home-hero-eyebrow { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--teal-pale); }
.home-hero-title { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 72px; line-height: 76px; letter-spacing: -0.035em; color: #ffffff; }
.home-hero-lead { margin: 0; max-width: 580px; font-size: 20px; line-height: 32px; color: var(--on-dark); }
.home-hero-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; padding-top: 8px; }
.home-hero .ir-btn-outline:hover { background: var(--glass); }

/* Programme tiles: overlap the bottom of the hero by 90px */
.home-tiles-wrap { position: relative; z-index: 2; max-width: var(--container); margin: -90px auto 0; }
.home-tiles .ir-tile { min-height: 196px; }
.home-tiles .ir-tile-title { font-size: 28px; line-height: 34px; }

/* Client strip on white */
.home-clients { background: var(--surface); padding: 80px 0 64px; }

/* ---------- Bands below the hero ---------- */
.home .hs-pad { padding: 32px 0; }
.home .hs-stack-48 { display: flex; flex-direction: column; gap: 48px; }
.home .hs-headrow { display: flex; justify-content: space-between; align-items: flex-end; gap: 48px; }
.home .hs-headings { display: flex; flex-direction: column; gap: 12px; }
.home .hs-headrow .ir-btn { flex: none; white-space: nowrap; }
.home .hs-split { display: grid; grid-template-columns: 7fr 5fr; }

/* Sunrise: who we are */
.home .hs-who { display: flex; flex-direction: column; gap: 24px; max-width: 900px; }
.home .hs-statement { margin: 0; max-width: none; font-family: var(--font-display); font-weight: 700; font-size: 52px; line-height: 58px; letter-spacing: -0.03em; color: #ffffff; }

/* Morning: what we do */
.hs-svcgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.hs-svc { display: grid; grid-template-columns: 44px 1fr; align-items: center; align-content: start; column-gap: 16px; row-gap: 12px; padding: 28px 32px; background: var(--surface-raised); border: 1px solid var(--line); border-radius: var(--radius-md); color: var(--ink); }
.hs-svc h3 { margin: 0; font-size: 20px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-heading); }
.home .hs-svc p { margin: 0; max-width: none; font-size: 15px; line-height: 24px; grid-column: 1 / -1; }
.hs-icon { width: 44px; height: 44px; border-radius: var(--radius-md); background: var(--teal-mist); display: flex; align-items: center; justify-content: center; color: var(--teal); }

/* Day: why it matters */
.home .hs-split-why { gap: 96px; align-items: end; }
.home .hs-lead-why { font-size: 18px; line-height: 30px; }

/* Day (white): featured work */
.hs-featured { background: var(--surface); padding: 96px 24px; }
.hs-featured-inner { max-width: var(--container); margin: 0 auto; display: flex; flex-direction: column; gap: 48px; }
.hs-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; row-gap: 0; grid-template-rows: auto auto auto auto; }
.hs-cards .ir-card { max-width: none; grid-row: span 4; grid-template-rows: subgrid; row-gap: 0; }
.hs-cards .ir-card:hover { transform: none; box-shadow: none; }
.hs-cards .ir-card-body { grid-row: span 3; grid-template-rows: subgrid; row-gap: 16px; }
.hs-cards .ir-card-media { aspect-ratio: 16 / 10; }
.hs-head { display: flex; align-items: center; gap: 12px; margin: 0; font-family: var(--font-sans); font-size: 18px; line-height: 24px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-heading); }
.hs-logo-link { flex: none; width: 56px; height: 48px; display: flex; align-items: center; justify-content: center; border-radius: var(--radius-sm); }
.hs-logo-link:focus-visible, .hs-title-link:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.hs-client-logo { max-height: 48px; max-width: 56px; width: auto; height: auto; object-fit: contain; }
.hs-logo-lg { width: 68px; height: 56px; }
.hs-logo-lg .hs-client-logo { max-height: 56px; max-width: 68px; }
.hs-title-link { color: var(--ink-heading); text-decoration: none; border-radius: var(--radius-sm); }
.hs-title-link:hover { text-decoration: underline; text-underline-offset: 3px; }
.hs-cards .ir-card-meta { justify-self: start; align-self: end; margin-top: 4px; padding: 4px 12px; border-radius: 14px; text-wrap: balance; background: var(--teal-mist); border: 1px solid var(--line); font-size: 13px; line-height: 20px; font-weight: 600; color: var(--ink-heading); }

/* Evening: book, expertise, media strip */
.home .hs-eyebrow-evening { color: var(--on-dark); }
.home .hs-split-expertise { gap: 64px; align-items: stretch; }
.hs-flag { position: relative; overflow: hidden; border-radius: var(--radius-lg); background: var(--teal-deep); border: 1px solid var(--glass-edge); isolation: isolate; }
.hs-book { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; padding: 48px; }
.hx-dots { position: absolute; inset: 0; z-index: -2; background-image: radial-gradient(circle, #8cc3d055 1.2px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(75% 85% at 70% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(75% 85% at 70% 45%, #000 30%, transparent 80%); }
.hx-glow { position: absolute; z-index: -1; width: 420px; height: 420px; left: -120px; bottom: -160px; opacity: .45; border-radius: 999px; background: radial-gradient(circle, #f0b44dcc 0%, #d4880a55 30%, #d4880a00 70%); }
.hs-cover { width: 240px; aspect-ratio: 2 / 3; height: auto; object-fit: cover; display: block; border-radius: 4px; box-shadow: 0 2px 6px #0000004d, 0 24px 48px -12px #00000080; }
.hs-book-text { display: flex; flex-direction: column; gap: 18px; }
.home .hs-eyebrow-amber { color: var(--amber-light); }
.home .hs-booktitle { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 44px; line-height: 48px; letter-spacing: -0.03em; color: #ffffff; }
.home .hs-book-pitch { margin: 0; font-size: 18px; line-height: 30px; color: var(--on-dark); }
.home .hs-book-note { margin: 0; font-size: 15px; line-height: 22px; color: var(--on-dark-muted); }
.hs-book-cta { padding-top: 6px; }
.hs-beyond { display: flex; flex-direction: column; gap: 8px; }
.home .hs-h3x { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 36px; line-height: 42px; letter-spacing: -0.02em; color: #ffffff; }
.home .hs-beyond-lead { margin: 8px 0 16px; font-size: 15px; line-height: 24px; color: var(--on-dark); }
.hs-exp { display: grid; grid-template-columns: 24px 1fr; gap: 16px; align-items: center; padding: 14px 0; border-top: 1px solid #ffffff33; color: var(--amber-light); }
.hs-exp-last { border-bottom: 1px solid #ffffff33; }
.home .hs-media-title { margin: 0 0 2px; font-size: 16px; line-height: 24px; font-weight: 600; color: var(--on-dark); }
.home .hs-media-meta { margin: 0; font-size: 14px; line-height: 22px; color: var(--on-dark-muted); }
.hs-beyond-links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-top: 20px; }
.hs-media-logos { padding-top: 40px; border-top: 1px solid #ffffff33; }
.hs-media-logos .ir-logos-label { color: var(--on-dark-muted); }
.hs-media-logos .ir-logos-set img { height: 64px; width: 64px; max-width: none; filter: none; opacity: 1; }
.hs-media-logos .ir-logos-set { gap: 48px; padding-right: 48px; }
.hs-media-logos .ir-logos-window { max-width: 880px; margin: 0 auto; }

/* Dusk: contact */
.home .hs-split-contact { padding: 48px 0 32px; gap: 96px; align-items: start; }
.hs-contact-main { display: flex; flex-direction: column; gap: 24px; }
.home .hs-contact-h2 { margin: 0; font-family: var(--font-display); font-weight: 700; font-size: 64px; line-height: 68px; letter-spacing: -0.035em; color: #ffffff; }
.home .hs-contact-lead { margin: 0; max-width: 560px; font-size: 20px; line-height: 32px; color: var(--on-dark); }
.hs-contact-actions { display: flex; gap: 16px; padding-top: 8px; flex-wrap: wrap; }
.hx-glass { background: var(--glass-night); -webkit-backdrop-filter: var(--blur-glass); backdrop-filter: var(--blur-glass); border: 1px solid var(--glass-edge); border-radius: var(--radius-lg); }
.hs-contact { margin-top: 40px; padding: 20px 28px; display: flex; flex-direction: column; gap: 14px; color: var(--on-dark); }
.hs-person-head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; }
.home .hs-person-name { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; color: #ffffff; }
.home .hs-person-role { margin: 0; font-size: 15px; line-height: 22px; color: var(--on-dark-muted); }
.hs-contact a { color: var(--link-on-dark); font-size: 15px; line-height: 24px; text-decoration: underline; text-decoration-color: #8cc3d066; text-underline-offset: 3px; border-radius: var(--radius-sm); }
.hs-contact a:hover { color: #ffffff; text-decoration-color: #ffffff; }
.hs-contact a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-dark); }
.hs-contact .hs-li { display: inline-flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: var(--radius-sm); color: #ffffff; opacity: .9; text-decoration: none; }
.hs-contact .hs-li:hover { opacity: 1; background: #ffffff1a; }
.hs-contact .hs-li:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring-on-dark); }
.home .hs-contact-base { margin: 0; padding-top: 14px; border-top: 1px solid #ffffff33; font-size: 15px; line-height: 24px; color: var(--on-dark-muted); }

/* ---------- Between desktop and phone ---------- */
@media (max-width: 1240px) {
	.hs-featured { padding-left: 48px; padding-right: 48px; }
	.home-hero-inner, .home-tiles-wrap { margin-left: 48px; margin-right: 48px; }
	.home-hero-inner { max-width: none; }
	.home-tiles-wrap { max-width: none; margin-top: -90px; }
}
@media (max-width: 1080px) {
	.home-hero-texture { left: auto; right: -200px; }
	.hs-svcgrid { grid-template-columns: repeat(2, 1fr); }
	.hs-cards { grid-template-columns: repeat(2, 1fr); row-gap: 24px; grid-template-rows: none; }
	.hs-cards .ir-card { grid-row: auto; grid-template-rows: auto 1fr; }
	.hs-cards .ir-card-body { grid-row: auto; grid-template-rows: none; }
	.home .hs-split { grid-template-columns: 1fr; }
	.home .hs-split-why, .home .hs-split-expertise, .home .hs-split-contact { gap: 40px; }
	.hs-contact { margin-top: 0; }
}

/* ---------- Phone (board: 390px) ---------- */
@media (max-width: 760px) {
	.home-hero { min-height: 0; }
	.home-hero-texture { display: none; }
	.home-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: radial-gradient(circle, #8cc3d055 1.2px, transparent 1.6px); background-size: 18px 18px; -webkit-mask-image: radial-gradient(75% 85% at 70% 45%, #000 30%, transparent 80%); mask-image: radial-gradient(75% 85% at 70% 45%, #000 30%, transparent 80%); }
	.home-hero-inner { margin: 0; padding: 120px 24px 120px; }
	.home-hero-copy { gap: 20px; }
	.home-hero-title { font-size: 42px; line-height: 46px; }
	.home-hero-lead { font-size: 17px; line-height: 28px; }
	.home-hero-actions { flex-direction: column; align-items: stretch; gap: 12px; }
	.home-hero-actions .ir-btn { justify-content: center; }
	.home-tiles-wrap { margin: -88px 24px 0; }
	.home-tiles { gap: 16px; }
	.home-clients { padding: 40px 0 48px; }

	.home .hs-pad { padding: 0; }
	.home .hs-statement { font-size: 30px; line-height: 36px; }
	.home .hs-headrow { flex-direction: column; align-items: flex-start; gap: 20px; }
	.hs-svcgrid { grid-template-columns: 1fr; gap: 12px; }
	.hs-svc { padding: 20px; }
	.home .hs-split { gap: 32px; }
	.hs-featured { padding: 64px 24px; }
	.hs-cards { display: flex; flex-direction: column; gap: 20px; }
	.hs-book { grid-template-columns: 1fr; padding: 28px; gap: 24px; justify-items: start; }
	.hs-cover { width: 150px; }
	.home .hs-booktitle { font-size: 32px; line-height: 36px; }
	.home .hs-h3x { font-size: 28px; line-height: 34px; }
	.home .hs-contact-h2 { font-size: 38px; line-height: 42px; }
	.home .hs-contact-lead { font-size: 18px; line-height: 28px; }
	.home .hs-split-contact { padding: 0; }
	.hs-media-logos .ir-logos-set img { height: 48px; width: 48px; }
	.hs-media-logos .ir-logos-set { gap: 28px; padding-right: 28px; }
	.hs-btn-wrap { height: auto; min-height: 48px; padding-top: 12px; padding-bottom: 12px; text-align: left; }
}
