/**
 * Irvine Company skin (property_slug `ic`), design system 2026-11-05.
 *
 * An Irvine Company page takes its look from theme.json's defaults, which read the pinned ico-shared tokens
 * (assets/css/brand/), plus the IC pattern styles (assets/css/ic/). Put rules here only to bring a shared component
 * that ships with another property's colors into the Irvine palette. A property with its own look gets its own
 * landing-{slug}.css.
 */

/* Video modal (tt5c/video-cta; the IC Play Video and Video Hero patterns), 2026-11-05.
 * blocks/video-cta/style.css ships 300 NLS colors: backdrop navy rgba(11, 24, 38, 0.92) and a blue rgba(64, 129, 163, 0.9)
 * close hover. Neither is an Irvine color. Here: Ocean 1 (ico dark-bg) at the shared 92% opacity (the opacity and the 6px
 * blur are the shared modal's, not Figma), and a close button in ico 06 Stroke White language. `body` outranks the block
 * rule, which prints after this skin (same approach as landing-plaza-utc.css). Literal fallbacks equal the tokens, for
 * engines that don't inherit custom properties into ::backdrop. Only loads when property_slug = ic. */
body .tt5c-video-modal::backdrop {
	background: color-mix(in srgb, var(--ico-color-dark-bg, #031E45) 92%, transparent);
}
body .tt5c-video-modal .tt5c-video-modal__close {
	border: 0;
	box-shadow: inset 0 0 0 var(--ico-btn-border-width, 1px) var(--ico-btn-stroke-white-default-border, #F7F7F5);
	background: transparent;
	color: var(--ico-btn-stroke-white-default-fg, #F7F7F5);
}
body .tt5c-video-modal .tt5c-video-modal__close:is(:hover, :focus-visible) {
	background: var(--ico-btn-stroke-white-hover-bg, #F7F7F5);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width, 1px) var(--ico-btn-stroke-white-hover-border, #F7F7F5);
	color: var(--ico-btn-stroke-white-hover-fg, #1E1E1E);
}
body .tt5c-video-modal .tt5c-video-modal__close:active {
	background: var(--ico-btn-stroke-white-press-bg, #1E1E1E);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width, 1px) var(--ico-btn-stroke-white-press-border, #1E1E1E);
	color: var(--ico-btn-stroke-white-press-fg, #F7F7F5);
}
body .tt5c-video-modal .tt5c-video-modal__close:focus-visible {
	outline: var(--ico-btn-focus-ring-width, 2px) solid var(--ico-color-on-dark, #F7F7F5);
	outline-offset: var(--ico-btn-focus-ring-offset, 2px);
}
@media (max-width: 782px) {
	/* Inside the video here, so the resting button needs its own ground: Ocean 1 at 75% (the shared modal's narrow-screen opacity). */
	body .tt5c-video-modal .tt5c-video-modal__close:not(:hover, :focus-visible, :active) {
		background: color-mix(in srgb, var(--ico-color-dark-bg, #031E45) 75%, transparent);
	}
	/* White fill on a bright frame: an Ocean 1 ring at the edge keeps the hovered/focused button visible. */
	body .tt5c-video-modal .tt5c-video-modal__close:is(:hover, :focus-visible) {
		box-shadow: inset 0 0 0 var(--ico-btn-border-width, 1px) var(--ico-btn-stroke-white-hover-border, #F7F7F5), 0 0 0 2px var(--ico-color-dark-bg, #031E45);
	}
}

/* Image lightbox (.tt5c-lightbox, built by landing.js from .tt5c-gallery__item images), MTP-866 2026-11-06.
 * landing-base.css ships the 300 NLS navy rgba(11, 24, 38, 0.95). Now that the IC Workspace Availability pattern opens it,
 * the IC pages get the same treatment as the video modal above: Ocean 1 at 95% (opacity kept from base) and an ico 06
 * Stroke White close button. This file loads only when property_slug = ic, so 135/148/208 keep their own lightbox. */
body .tt5c-lightbox {
	background: color-mix(in srgb, var(--ico-color-dark-bg, #031E45) 95%, transparent);
}
body .tt5c-lightbox .tt5c-lightbox__close {
	border: 0;
	box-shadow: inset 0 0 0 var(--ico-btn-border-width, 1px) var(--ico-btn-stroke-white-default-border, #F7F7F5);
	background: transparent;
	color: var(--ico-btn-stroke-white-default-fg, #F7F7F5);
}
body .tt5c-lightbox .tt5c-lightbox__close:is(:hover, :focus-visible) {
	background: var(--ico-btn-stroke-white-hover-bg, #F7F7F5);
	color: var(--ico-btn-stroke-white-hover-fg, #1E1E1E);
}
body .tt5c-lightbox .tt5c-lightbox__close:active {
	background: var(--ico-btn-stroke-white-press-bg, #1E1E1E);
	box-shadow: inset 0 0 0 var(--ico-btn-border-width, 1px) var(--ico-btn-stroke-white-press-border, #1E1E1E);
	color: var(--ico-btn-stroke-white-press-fg, #F7F7F5);
}
body .tt5c-lightbox .tt5c-lightbox__close:focus-visible {
	outline: var(--ico-btn-focus-ring-width, 2px) solid var(--ico-color-on-dark, #F7F7F5);
	outline-offset: 2px;
}
