/* Approach hero + "why value is lost" panel — Figma 606:2462 / 606:2461. */
/* The main group has a background, so WordPress gives it 20px/38px padding; the hero is full-bleed. */
.scico-approach-page { margin-block-start: 0; padding: 0; background: #fff; }
.scico-approach-page > .wp-block-post-content > :first-child { margin-block-start: 0; }

.scico-approach-hero { --approach-overlap: 346px; position: relative; isolation: isolate; box-sizing: border-box; margin-block-start: 0; padding-bottom: 32px; background: #fff; color: var(--approach-textColor, #fff); }
.scico-approach-hero__top { position: relative; }

/* Photo, black wash, progressive blur, then the white fade on top so the bottom edge is pure white (backdrop blur greys its own edge).
   The visual runs 346px past the intro so the panel sits on the fade. */
.scico-approach-hero__visual { position: absolute; top: 0; right: 0; bottom: calc(-1 * var(--approach-overlap)); left: 0; z-index: -1; overflow: hidden; background: #4c504a; pointer-events: none; }
.scico-approach-hero__visual img { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; object-position: 50% 50%; }
.scico-approach-hero__visual img.is-mirrored-x { transform: scaleX(-1); }
.scico-approach-hero__visual span { position: absolute; right: 0; bottom: 0; left: 0; }
.scico-approach-hero__shade { top: 0; background: linear-gradient(to bottom, rgb(0 0 0 / var(--approach-overlay, .7)), rgb(0 0 0 / 0)); }
.scico-approach-hero__fade { height: calc(var(--approach-overlap) * 285 / 346); background: linear-gradient(to top, #fff, rgb(255 255 255 / 0)); }
.scico-approach-hero__blur { height: var(--approach-overlap); background: linear-gradient(to top, rgb(255 255 255 / .2), rgb(255 255 255 / 0)); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); -webkit-mask-image: linear-gradient(to bottom, transparent, #000); mask-image: linear-gradient(to bottom, transparent, #000); }

/* Shared header, transparent over the photo; menu keeps the site-wide 16px, Medium like the inner pages. */
.scico-approach-hero .scico-site-header--overlay { background: transparent; }
.scico-approach-hero .scico-site-header--overlay .scico-header__nav .wp-block-navigation { font-weight: 500; }

/* Type follows the site's compact scale (hero 40/18, section heading 32, card 16) rather than Figma's 48/24/48/20. */
.scico-approach-hero__intro { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding: 100px 96px 0; text-align: right; }
.scico-approach-hero__intro h1 { width: 560px; max-width: 100%; margin: 0; color: inherit; font-size: var(--approach-titleSize, 40px); font-weight: var(--approach-titleWeight, 500); line-height: 1.4; overflow-wrap: break-word; }
.scico-approach-hero__intro h1 strong,
.scico-approach-hero__intro h1 b { font-weight: var(--approach-titleStrongWeight, 700); }
.scico-approach-hero__intro p { width: 480px; max-width: 100%; margin: 0; color: inherit; font-size: var(--approach-descriptionSize, 18px); font-weight: var(--approach-descriptionWeight, 400); line-height: 1.8; opacity: .9; }

.scico-approach-hero__panel { display: flex; flex-direction: column; gap: 48px; margin: 56px 96px 0; padding: 48px; border-radius: 8px; background: #fff; color: var(--approach-cardColor, #000); }
.scico-approach-hero__heading { display: flex; flex-direction: column; align-items: flex-start; gap: 20px; width: 622px; max-width: 100%; }
.scico-approach-hero__heading-icon { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 8px; background: rgb(0 0 0 / 5%); }
.scico-approach-hero__heading h2 { width: 100%; margin: 0; color: var(--approach-headingColor, #000); font-size: var(--approach-headingSize, 32px); font-weight: var(--approach-headingWeight, 500); line-height: 1.45; text-align: right; overflow-wrap: break-word; }
.scico-approach-hero__heading h2 strong,
.scico-approach-hero__heading h2 b { font-weight: var(--approach-headingStrongWeight, 700); }

/* Icons keep their SVG root size, centred in a 32px slot; bundled building icons are mirrored vertically as in Figma. */
.scico-approach-hero__heading-icon img,
.scico-approach-hero__card-icon img { display: block; max-width: 32px; max-height: 32px; }
.scico-approach-hero img.is-mirrored-y { transform: scaleY(-1); }

.scico-approach-hero__cards { display: grid; grid-template-columns: repeat(var(--approach-columns, 3), minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.scico-approach-hero__card { transition: transform 300ms ease, box-shadow 300ms ease; display: flex; flex-direction: column; gap: 28px; min-width: 0; margin: 0; padding: 28px; border-radius: 8px; background: var(--approach-cardBackground, #f3efe5); }
.scico-approach-hero__card-head { display: flex; align-items: center; gap: 16px; }
.scico-approach-hero__card-icon { display: flex; flex: 0 0 48px; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 4px; background: var(--approach-iconBackground, #4c504a); }
.scico-approach-hero__card-head p { flex: 1 1 auto; min-width: 0; margin: 0; color: var(--approach-cardColor, #000); font-size: var(--approach-cardSize, 16px); font-weight: var(--approach-cardWeight, 600); line-height: 1.7; text-align: right; overflow-wrap: break-word; }
.scico-approach-hero__card-media { display: block; height: 260px; margin-top: auto; overflow: hidden; border-radius: 8px; }
.scico-approach-hero__card-image { display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; filter: grayscale(1); transition: transform 700ms cubic-bezier(.2, .7, .2, 1); }

/* Editor-only helpers. */
.scico-approach-hero__header-preview { pointer-events: none; }
.scico-approach-hero__card-image--empty { background: rgb(0 0 0 / 6%); }

@media (max-width: 1100px) {
	.scico-approach-hero { --approach-overlap: 300px; padding-bottom: 24px; }
	.scico-approach-hero__intro { padding: 80px 32px 0; }
	.scico-approach-hero__intro h1 { font-size: min(var(--approach-titleSize, 40px), 36px); }
	.scico-approach-hero__intro p { font-size: min(var(--approach-descriptionSize, 18px), 17px); }
	.scico-approach-hero__panel { gap: 40px; margin: 48px 32px 0; padding: 32px; }
	.scico-approach-hero__heading h2 { font-size: min(var(--approach-headingSize, 32px), 28px); }
	/* Three narrow columns: icon above the text so the copy keeps the full card width. */
	.scico-approach-hero__cards { gap: 16px; }
	.scico-approach-hero__card { gap: 20px; padding: 24px; }
	.scico-approach-hero__card-head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.scico-approach-hero__card-head p { width: 100%; }
	.scico-approach-hero__card-media { height: 220px; }
}

@media (max-width: 760px) {
	.scico-approach-hero__cards { grid-template-columns: minmax(0, 1fr); }
	.scico-approach-hero__card-head { flex-direction: row; align-items: center; }
	.scico-approach-hero__card-media { height: 260px; }
}

@media (max-width: 600px) {
	.scico-approach-hero { --approach-overlap: 240px; padding-bottom: 16px; }
	.scico-approach-hero__intro { gap: 12px; padding: 40px 16px 0; }
	.scico-approach-hero__intro h1 { font-size: min(var(--approach-titleSize, 40px), 28px); }
	.scico-approach-hero__intro p { font-size: min(var(--approach-descriptionSize, 18px), 16px); }
	/* Phones: no blur/white fade over the photo; the panel is a full-width sheet with rounded top corners rising
	   over the crisp photo, its cards on the site's 16px gutter (same as the homepage services card). */
	.scico-approach-hero__blur,
	.scico-approach-hero__fade { display: none; }
	.scico-approach-hero__panel { gap: 28px; margin: 32px 0 0; padding: 28px 16px 0; border-radius: 20px 20px 0 0; }
	.scico-approach-hero__heading { gap: 14px; }
	.scico-approach-hero__heading-icon { width: 44px; height: 44px; }
	.scico-approach-hero__heading h2 { font-size: min(var(--approach-headingSize, 32px), 24px); }
	.scico-approach-hero__cards { gap: 12px; }
	.scico-approach-hero__card { gap: 20px; padding: 20px; }
	.scico-approach-hero__card-head p { font-size: min(var(--approach-cardSize, 16px), 15px); }
	.scico-approach-hero__card-media { height: 220px; }
}

/* Hover: the card lifts a little, its photo eases in and the icon frame deepens (pointer devices only). */
.scico-approach-hero__card-icon { transition: background-color 250ms ease; }
@media (hover: hover) {
	.scico-approach-hero__card:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgb(19 22 17 / 8%); }
	.scico-approach-hero__card:hover .scico-approach-hero__card-image { transform: scale(1.05); }
	.scico-approach-hero__card:hover .scico-approach-hero__card-icon { background: color-mix(in srgb, var(--approach-iconBackground, #4c504a) 82%, #000); }
}
@media (prefers-reduced-motion: reduce) {
	.scico-approach-hero__card,
	.scico-approach-hero__card-image { transition: none; }
	.scico-approach-hero__card:hover,
	.scico-approach-hero__card:hover .scico-approach-hero__card-image { transform: none; }
}
