/* ==========================================================================
   Ivito Center — cinematic Class-A one-page
   Colors / type / spacing come from :root --ic-* variables (inc/enqueue.php)
   Breakpoints: 781 mobile | 1024 tablet | 1025+ desktop
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
	margin: 0;
	font-family: var(--ic-font-body);
	font-size: var(--ic-font-size-base);
	line-height: var(--ic-line-height-body);
	font-weight: var(--ic-font-weight-body);
	color: var(--ic-text);
	background: var(--ic-background);
	overflow-x: hidden;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ic-link); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--ic-link-hover); }
h1, h2, h3, h4, h5, h6 {
	font-family: var(--ic-font-heading);
	font-weight: var(--ic-font-weight-heading);
	color: var(--ic-heading);
	margin: 0 0 .4em;
	line-height: 1.2;
	letter-spacing: -0.02em;
	overflow-wrap: anywhere;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; font-size: 1rem; }
:focus-visible { outline: 2px solid var(--ic-accent); outline-offset: 3px; }

.screen-reader-text {
	position: absolute; width: 1px; height: 1px; overflow: hidden;
	clip: rect(1px,1px,1px,1px); white-space: nowrap;
}
.ic-skip-link {
	position: fixed; top: -120px; left: 16px; z-index: 10000;
	background: var(--ic-primary); color: var(--ic-secondary); padding: 12px 20px;
	transition: top .2s ease;
}
.ic-skip-link:focus { top: 16px; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
	.ic-hero__image--desktop,
	.ic-hero__image--mobile { animation: none !important; }
	[data-ic-reveal],
	.ic-img-reveal { opacity: 1 !important; transform: none !important; clip-path: none !important; }
	.ic-skeleton { animation: none !important; background: rgba(255, 255, 255, .1) !important; }
	.ic-office-card__media img { opacity: 1 !important; }
}

/* ---------- Layout ---------- */
.ic-container {
	max-width: var(--ic-container-content);
	margin: 0 auto;
	padding: 0 var(--ic-pad-desktop);
}
.ic-container--narrow { max-width: 820px; }
.ic-container--wide { max-width: var(--ic-container); }
.ic-container--full { max-width: none; padding-left: 0; padding-right: 0; }

.ic-section {
	position: relative;
	padding-top: var(--ic-section-pt, var(--ic-section-spacing));
	padding-bottom: var(--ic-section-pb, var(--ic-section-pt, var(--ic-section-spacing)));
	background: var(--ic-section-bg, transparent);
	color: var(--ic-section-text, inherit);
	overflow: hidden;
}
.ic-section--about.ic-bg--default { background: var(--ic-background); }
.ic-section--stats.ic-bg--default { background: var(--ic-background); }
.ic-section--offices.ic-bg--default,
.ic-section--infrastructure.ic-bg--default,
.ic-section--sustainability.ic-bg--default,
.ic-section--location.ic-bg--default {
	background: var(--ic-background-dark);
	color: var(--ic-secondary);
}
.ic-section--offices.ic-bg--default .ic-section__title,
.ic-section--infrastructure.ic-bg--default .ic-section__title,
.ic-section--sustainability.ic-bg--default .ic-section__title,
.ic-section--location.ic-bg--default .ic-section__title,
.ic-section--offices.ic-bg--default .ic-section__desc,
.ic-section--infrastructure.ic-bg--default .ic-section__desc,
.ic-section--sustainability.ic-bg--default .ic-section__desc,
.ic-section--location.ic-bg--default .ic-section__desc { color: var(--ic-secondary); }
.ic-section--sustainability.ic-bg--default .ic-wysiwyg p { color: var(--ic-secondary); }
.ic-section--gallery.ic-bg--default { background: var(--ic-background-alt); }
.ic-section--contact.ic-bg--default {
	background: var(--ic-background);
	color: var(--ic-text);
}
.ic-section--contact.ic-bg--default .ic-section__title,
.ic-section--contact.ic-bg--default .ic-section__desc { color: var(--ic-heading); }

.ic-bg--image {
	background-image: var(--ic-section-bg-image);
	background-size: cover;
	background-position: center;
}
.ic-bg--image::before {
	content: ""; position: absolute; inset: 0;
	background: var(--ic-overlay);
	opacity: var(--ic-section-overlay-opacity, 0);
	pointer-events: none;
}
.ic-bg--image .ic-container { position: relative; z-index: 1; }
.ic-bg--gradient {
	background: linear-gradient(165deg, var(--ic-section-bg, var(--ic-background-dark)) 0%, var(--ic-background-alt) 100%);
}
.ic-bg--color { background: var(--ic-section-bg); }

.ic-section__head { max-width: none; margin: 0 0 64px; }
.ic-eyebrow {
	display: flex; align-items: center; gap: 14px;
	text-transform: uppercase; letter-spacing: .22em; font-size: .72rem;
	color: var(--ic-eyebrow-accent, var(--ic-accent)); font-weight: 600; margin: 0 0 16px;
}
.ic-eyebrow::before { content: ""; width: 36px; height: 1px; background: var(--ic-eyebrow-accent, var(--ic-accent)); }

/* Give each homepage section its own zone-color identity on the eyebrow kicker. */
.ic-section--about          { --ic-eyebrow-accent: var(--ic-zone-1); }
.ic-section--stats          { --ic-eyebrow-accent: var(--ic-zone-2); }
.ic-section--location       { --ic-eyebrow-accent: var(--ic-zone-3); }
.ic-section--offices        { --ic-eyebrow-accent: var(--ic-accent); }
.ic-section--infrastructure { --ic-eyebrow-accent: var(--ic-accent); }
.ic-section--hospitality    { --ic-eyebrow-accent: var(--ic-zone-4); }
.ic-section--gallery        { --ic-eyebrow-accent: var(--ic-zone-7); }
.ic-section--contact        { --ic-eyebrow-accent: var(--ic-zone-1); }
.ic-section__title { font-size: var(--ic-h2-mobile); }
.ic-section__desc { color: var(--ic-text-secondary); font-size: 1.08rem; }

.ic-hide-desktop, .ic-hide-tablet, .ic-hide-mobile { display: block; }

/* ---------- Buttons ---------- */
.ic-btn {
	display: inline-flex; align-items: center; justify-content: center;
	padding: var(--ic-btn-padding);
	border-radius: var(--ic-btn-radius);
	border: var(--ic-btn-border-width) solid transparent;
	font-size: var(--ic-btn-font-size);
	font-weight: var(--ic-btn-font-weight);
	letter-spacing: .16em;
	text-transform: var(--ic-btn-text-transform);
	transition: background .3s ease, color .3s ease, border-color .3s ease, transform .3s ease;
	cursor: pointer;
	white-space: nowrap;
}
.ic-btn--primary { background: var(--ic-btn-bg); color: var(--ic-btn-text); border-color: var(--ic-btn-bg); }
.ic-btn--primary:hover { background: var(--ic-btn-bg-hover); color: var(--ic-btn-text-hover); border-color: var(--ic-btn-bg); transform: translateY(-2px); }
.ic-btn--secondary { background: var(--ic-secondary); color: var(--ic-primary); border-color: var(--ic-secondary); }
.ic-btn--secondary:hover { background: var(--ic-accent); color: var(--ic-primary); }
.ic-btn--outline { background: transparent; color: inherit; border-color: currentColor; }
.ic-btn--outline:hover { background: var(--ic-accent); color: var(--ic-primary); border-color: var(--ic-accent); }
.ic-btn--dark { background: var(--ic-background-dark); color: #fff; border-color: var(--ic-background-dark); }
.ic-btn--light { background: #fff; color: var(--ic-primary); border-color: #fff; }

/* ---------- Header ---------- */
.ic-header {
	position: absolute; top: 0; left: 0; right: 0; z-index: 800;
	background: var(--ic-header-bg);
	color: var(--ic-header-text);
	transition: background .35s ease, color .35s ease, box-shadow .35s ease, backdrop-filter .35s ease;
	/* No fill-mode: once this finishes, transform must resolve back to the
	   literal "none" keyword. A lingering animated matrix (even the identity
	   matrix "both" leaves behind) makes this element a containing block for
	   position:fixed descendants — which trapped the full-screen mobile menu
	   inside the header's own small box instead of the viewport. */
	animation: ic-header-in .7s ease;
}
.ic-header::before {
	content: "";
	position: absolute; top: 0; left: 0; right: 0; height: 3px;
	background: linear-gradient(90deg,
		var(--ic-zone-1) 0%, var(--ic-zone-2) 16.66%, var(--ic-zone-3) 33.33%,
		var(--ic-zone-4) 50%, var(--ic-zone-5) 66.66%, var(--ic-zone-6) 83.33%, var(--ic-zone-7) 100%);
}
@keyframes ic-header-in {
	from { opacity: 0; transform: translateY(-12px); }
	to { opacity: 1; transform: none; }
}
.ic-header--sticky { position: fixed; }
.ic-header.is-scrolled {
	background: color-mix(in srgb, var(--ic-header-bg-scrolled) 78%, transparent);
	backdrop-filter: blur(16px) saturate(140%);
	-webkit-backdrop-filter: blur(16px) saturate(140%);
	color: var(--ic-header-text-scrolled);
	box-shadow: 0 1px 0 rgba(255,255,255,.06);
}
@supports not (backdrop-filter: blur(1px)) {
	.ic-header.is-scrolled { background: var(--ic-header-bg-scrolled); }
}
.ic-header__inner { display: flex; align-items: center; justify-content: space-between; height: 88px; }

/* Header CTA: sized down from the page-wide button padding to sit
   proportionately next to the nav, matching its font size exactly. */
.ic-header__cta {
	padding: 10px 20px;
	font-size: var(--ic-nav-font-size);
	text-transform: none;
	letter-spacing: .02em;
	background: #fff;
	color: #0A0A0A;
	border-color: #fff;
}
.ic-header__cta:hover,
.ic-header.is-scrolled .ic-header__cta:hover {
	background: #0A0A0A;
	color: #fff;
	border-color: #fff;
}

/* Scrolled header shares the same navy as the primary button — swap the CTA
   to white here so it doesn't disappear into the header background. */
.ic-header.is-scrolled .ic-header__cta {
	background: #fff;
	color: #0A0A0A;
	border-color: #fff;
}
.ic-header__logo { display: flex; align-items: center; color: inherit; }
.ic-logo { width: var(--ic-logo-w-desktop); height: auto; }
.ic-logo--dark { display: none; }
.ic-header.is-scrolled .ic-logo--light { display: none; }
.ic-header.is-scrolled .ic-logo--dark { display: block; }
.ic-logo-text {
	font-family: var(--ic-font-heading);
	font-size: 1.55rem;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: inherit;
}

.ic-nav-list { display: flex; gap: 28px; align-items: center; }
.ic-nav-list a {
	color: inherit;
	font-size: var(--ic-nav-font-size);
	letter-spacing: .02em;
	white-space: nowrap;
	position: relative;
}

/* Armenian nav/CTA labels run noticeably longer than their English
   counterparts; trim spacing so the header row still fits on one line
   instead of wrapping, matching the English header's single-line view. */
html[lang="hy-AM"] { --ic-nav-font-size: 1.15rem; }
html[lang="hy-AM"] .ic-nav-list { gap: 24px; }
html[lang="hy-AM"] .ic-header__cta { letter-spacing: .06em; }
.ic-nav-list a::after {
	content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 1px;
	background: var(--ic-accent); transition: width .3s ease;
}
.ic-nav-list a:hover::after { width: 100%; }
.ic-nav-list li:nth-child(7n+1) a::after { background: var(--ic-zone-1); }
.ic-nav-list li:nth-child(7n+2) a::after { background: var(--ic-zone-2); }
.ic-nav-list li:nth-child(7n+3) a::after { background: var(--ic-zone-3); }
.ic-nav-list li:nth-child(7n+4) a::after { background: var(--ic-zone-4); }
.ic-nav-list li:nth-child(7n+5) a::after { background: var(--ic-zone-5); }
.ic-nav-list li:nth-child(7n+6) a::after { background: var(--ic-zone-6); }
.ic-nav-list li:nth-child(7n+7) a::after { background: var(--ic-zone-7); }
.ic-header__actions { display: flex; align-items: center; gap: 18px; }
.ic-header__burger {
	display: none; position: relative; z-index: 850;
	width: 44px; height: 44px; align-items: center; justify-content: center;
	flex-direction: column; gap: 6px; background: none; border: 0; padding: 0; color: inherit;
}
.ic-header__burger span {
	width: 22px; height: 1.5px; background: currentColor; display: block;
	transition: transform .3s ease, opacity .3s ease;
}
.ic-header__burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.ic-header__burger.is-open span:nth-child(2) { opacity: 0; }
.ic-header__burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.ic-mobile-menu {
	position: fixed; inset: 0; z-index: 700;
	/* inset:0 alone sizes against whichever viewport the browser feels like
	   using for fixed elements — on Chrome/Android that's the "large"
	   viewport (as if the bottom toolbar were hidden), so with the toolbar
	   actually showing, the bottom of the menu renders underneath it and
	   is unreachable. dvh ties the box to the real, currently-visible
	   viewport instead; vh stays as the fallback for older browsers. */
	height: 100vh;
	height: 100dvh;
	background: var(--ic-mobile-menu-bg);
	color: #fff;
	display: flex; flex-direction: column;
	padding: 96px 24px max(24px, env(safe-area-inset-bottom));
	transform: translateX(100%); transition: transform .4s ease;
}
.ic-mobile-menu.is-open { transform: translateX(0); }
/* The nav list is the only part that scrolls — the CTA button below stays
   pinned in view at all times, so a long (or Armenian-translated, longer)
   list never hides it or leaves it looking cut off / missing. */
.ic-mobile-menu__scroll {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	display: flex; flex-direction: column; align-items: center;
	/* Center when the list fits; when it's taller than the available space
	   (long Armenian labels, several sections enabled) "safe" keeps it
	   anchored to the top instead of centering it off-screen. */
	justify-content: flex-start;
	justify-content: safe center;
}
/* Two columns fits the whole section list on one screen on most phones
   instead of needing a scroll to reach the last few items. */
.ic-mobile-nav-list {
	display: grid; grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 6px 12px; width: 100%; padding: 4px 0;
}
.ic-mobile-nav-list li { display: flex; min-width: 0; }
.ic-mobile-nav-list a {
	color: #fff;
	font-family: var(--ic-font-heading);
	font-size: clamp(1rem, 4.6vw, 1.5rem);
	font-weight: 600;
	line-height: 1.2;
	display: flex; align-items: center; justify-content: center; text-align: center;
	width: 100%; min-height: 56px;
	padding: 10px 6px;
}
/* Armenian labels ("Ինժեներական համակարգեր") run noticeably longer than
   their English counterparts — drop a size to keep them on ~2 lines
   instead of overflowing or shrinking to near-illegible via clamp(). */
html[lang="hy-AM"] .ic-mobile-nav-list a { font-size: clamp(.85rem, 3.8vw, 1.15rem); }
.ic-mobile-menu__cta { flex: 0 0 auto; width: 100%; text-align: center; margin-top: 24px; }

/* ---------- Hero ---------- */
.ic-hero {
	position: relative;
	height: var(--ic-hero-h-desktop);
	min-height: 560px;
	display: flex;
	color: #fff;
	overflow: hidden;
	--ic-eyebrow-accent: #fff;
}
.ic-hero--valign-top { align-items: flex-start; }
.ic-hero--valign-center { align-items: center; }
.ic-hero--valign-bottom { align-items: flex-end; }
.ic-hero__media { position: absolute; inset: 0; z-index: 0; }
.ic-hero__image, .ic-hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.ic-hero__image--desktop {
	background: var(--ic-hero-bg-desktop) center/cover no-repeat;
	animation: ic-kenburns 22s ease-out forwards;
	transform-origin: center center;
}
.ic-hero__image--mobile { display: none; background: var(--ic-hero-bg-mobile) center/cover no-repeat; }
.ic-hero--parallax .ic-hero__image--desktop { background-attachment: fixed; animation: none; }
@keyframes ic-kenburns {
	from { transform: scale(1); }
	to { transform: scale(1.08); }
}
.ic-hero__slider { position: absolute; inset: 0; }
.ic-hero__slide { position: absolute; inset: 0; background-size: cover; background-position: center; opacity: 0; transition: opacity 1.2s ease; }
.ic-hero__slide.is-active { opacity: 1; }
.ic-hero__overlay { position: absolute; inset: 0; background: var(--ic-hero-overlay); opacity: var(--ic-hero-overlay-opacity); }
.ic-hero__content { position: relative; z-index: 1; padding-top: 140px; padding-bottom: 96px; width: 100%; }
.ic-hero--align-center .ic-hero__content { text-align: center; }
.ic-hero--align-right .ic-hero__content { text-align: right; margin-left: auto; }
.ic-hero__brand {
	font-family: var(--ic-font-heading);
	font-size: clamp(1.75rem, 6vw, 4.5rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
	font-weight: 700;
	color: #fff;
	margin: 0 0 18px;
	max-width: 16ch;
}
.ic-hero--align-center .ic-hero__brand { margin-left: auto; margin-right: auto; }
.ic-hero__eyebrow { color: #fff; }
.ic-hero__title {
	font-size: var(--ic-h1-mobile);
	color: #fff;
	max-width: 50%;
	font-weight: 600;
}
.ic-hero__title-typed::after {
	content: '';
	display: inline-block;
	width: 3px;
	height: .82em;
	margin-left: 4px;
	background: currentColor;
	vertical-align: -0.12em;
	animation: ic-caret-blink 1s steps(1) infinite;
}
.ic-hero__title--done .ic-hero__title-typed::after {
	animation: none;
	opacity: 0;
	transition: opacity .5s ease .4s;
}
@keyframes ic-caret-blink {
	0%, 49% { opacity: 1; }
	50%, 100% { opacity: 0; }
}
.ic-hero__desc { color: rgba(255,255,255,.78); max-width: 50%; font-size: 1.25rem; }
.ic-hero--align-center .ic-hero__desc,
.ic-hero--align-center .ic-hero__title { margin-left: auto; margin-right: auto; }
.ic-hero__ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 28px; }
.ic-hero--align-center .ic-hero__ctas { justify-content: center; }
.ic-hero .ic-btn--primary {
	background: #fff;
	color: #0A0A0A;
	border-color: #fff;
}
.ic-hero .ic-btn--primary:hover {
	background: #0A0A0A;
	color: #fff;
	border-color: #fff;
}
.ic-hero .ic-btn--outline { color: #fff; border-color: rgba(255,255,255,.55); }
.ic-hero .ic-btn--outline:hover { background: #fff; color: var(--ic-primary); border-color: #fff; }
.ic-hero__scroll {
	position: absolute; bottom: 36px; left: 50%; transform: translateX(-50%);
	width: 22px; height: 38px; border: 1px solid rgba(255,255,255,.45);
	z-index: 1;
}
.ic-hero__scroll span {
	position: absolute; top: 8px; left: 50%; width: 3px; height: 3px; margin-left: -1.5px;
	background: #fff; border-radius: 50%; animation: ic-scroll 1.8s infinite;
}
@keyframes ic-scroll {
	0% { transform: translateY(0); opacity: 1; }
	70% { transform: translateY(16px); opacity: 0; }
	100% { opacity: 0; }
}

/* ---------- Reveal / motion ---------- */
[data-ic-reveal] {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity .75s cubic-bezier(.22,1,.36,1), transform .75s cubic-bezier(.22,1,.36,1);
}
[data-ic-reveal].is-visible { opacity: 1; transform: translateY(0); }
.ic-hero__content [data-ic-reveal]:nth-child(1) { transition-delay: .05s; }
.ic-hero__content [data-ic-reveal]:nth-child(2) { transition-delay: .18s; }
.ic-hero__content [data-ic-reveal]:nth-child(3) { transition-delay: .3s; }
.ic-hero__content [data-ic-reveal]:nth-child(4) { transition-delay: .42s; }
.ic-hero__content [data-ic-reveal]:nth-child(5) { transition-delay: .54s; }

.ic-img-reveal {
	opacity: 0;
	clip-path: inset(12% 12% 12% 12%);
	transform: scale(1.06);
	transition: opacity .9s ease, clip-path .9s cubic-bezier(.22,1,.36,1), transform 1.1s ease;
}
.ic-img-reveal.is-visible {
	opacity: 1;
	clip-path: inset(0 0 0 0);
	transform: none;
}

.ic-office-card,
.ic-infra-item,
.ic-gallery__item,
.ic-stat,
.ic-nearby-item {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity .65s ease, transform .65s ease;
}
.ic-office-card.is-visible,
.ic-infra-item.is-visible,
.ic-gallery__item.is-visible,
.ic-stat.is-visible,
.ic-nearby-item.is-visible { opacity: 1; transform: none; }

.ic-office-card:nth-child(2), .ic-stat:nth-child(2), .ic-infra-item:nth-child(2) { transition-delay: .08s; }
.ic-office-card:nth-child(3), .ic-stat:nth-child(3), .ic-infra-item:nth-child(3) { transition-delay: .16s; }
.ic-office-card:nth-child(4), .ic-stat:nth-child(4), .ic-infra-item:nth-child(4) { transition-delay: .24s; }
.ic-office-card:nth-child(5), .ic-infra-item:nth-child(5) { transition-delay: .32s; }
.ic-office-card:nth-child(6), .ic-infra-item:nth-child(6) { transition-delay: .4s; }

.ic-lightbox {
	position: fixed; inset: 0; z-index: 1000;
	display: flex; align-items: center; justify-content: center;
	background: rgba(8, 9, 10, .92);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s ease, visibility .3s;
}
.ic-lightbox.is-open { opacity: 1; visibility: visible; }
.ic-lightbox img {
	max-width: 92vw; max-height: 88vh; object-fit: contain;
	transform: scale(.94);
	opacity: 1;
	transition: transform .35s cubic-bezier(.22,1,.36,1), opacity .2s ease;
}
.ic-lightbox.is-open img { transform: scale(1); }
.ic-lightbox img.is-switching { opacity: 0; transform: scale(.97); transition: transform .18s ease, opacity .18s ease; }
.ic-lightbox__close {
	position: absolute; top: 20px; right: 24px; width: 44px; height: 44px;
	border: 0; background: rgba(255,255,255,.12); color: #fff; font-size: 1.6rem;
}
.ic-lightbox__arrow {
	position: absolute; top: 50%; transform: translateY(-50%);
	width: 52px; height: 52px;
	display: flex; align-items: center; justify-content: center;
	border: 0; border-radius: 50%;
	background: rgba(255,255,255,.12); color: #fff;
	cursor: pointer;
	transition: background .25s ease, transform .2s ease;
}
.ic-lightbox__arrow svg { width: 22px; height: 22px; }
.ic-lightbox__arrow:hover { background: rgba(255,255,255,.24); }
.ic-lightbox__arrow[hidden] { display: none; }
.ic-lightbox__arrow--prev { left: 16px; }
.ic-lightbox__arrow--next { right: 16px; }
@media (max-width: 781px) {
	.ic-lightbox__arrow { width: 42px; height: 42px; }
	.ic-lightbox__arrow svg { width: 18px; height: 18px; }
	.ic-lightbox__arrow--prev { left: 8px; }
	.ic-lightbox__arrow--next { right: 8px; }
}

/* ---------- About ---------- */
.ic-about__grid { display: grid; grid-template-columns: 1fr; gap: 48px; align-items: center; }
.ic-about__media { position: relative; }
.ic-about__media:has(.ic-about__image--secondary) {
	padding-bottom: var(--ic-section-spacing);
}
.ic-about__image--primary {
	width: 100%;
	aspect-ratio: 4/5;
	object-fit: cover;
	clip-path: inset(8% 0 0 0);
}
.ic-about__image--secondary {
	position: absolute;
	right: -8%;
	bottom: 0;
	width: 48%;
	aspect-ratio: 3/4;
	object-fit: cover;
	border: 10px solid var(--ic-background);
	box-shadow: 0 30px 60px rgba(0,0,0,.18);
}
.ic-about__video { width: 100%; margin-top: 20px; }
.ic-wysiwyg p { color: var(--ic-text); font-size: 1.2rem; }

/* ---------- Stats ---------- */
.ic-stats__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px 32px; }
.ic-stat { border-top: 1px solid var(--ic-border); padding-top: 20px; }
.ic-stat__number {
	display: flex;
	align-items: baseline;
	flex-wrap: nowrap;
	gap: .12em;
	font-family: var(--ic-font-heading);
	font-size: clamp(1.4rem, 2.6vw, 3.6rem);
	font-weight: 500;
	color: var(--ic-heading);
	line-height: 1;
	letter-spacing: -0.03em;
	white-space: nowrap;
}
.ic-stat:nth-child(7n+1) .ic-stat__number { color: var(--ic-zone-1); }
.ic-stat:nth-child(7n+2) .ic-stat__number { color: var(--ic-zone-2); }
.ic-stat:nth-child(7n+3) .ic-stat__number { color: var(--ic-zone-3); }
.ic-stat:nth-child(7n+4) .ic-stat__number { color: var(--ic-zone-4); }
.ic-stat:nth-child(7n+5) .ic-stat__number { color: var(--ic-zone-5); }
.ic-stat:nth-child(7n+6) .ic-stat__number { color: var(--ic-zone-6); }
.ic-stat:nth-child(7n+7) .ic-stat__number { color: var(--ic-zone-7); }
.ic-stat__suffix, .ic-stat__prefix { font-size: .45em; color: var(--ic-accent); }
.ic-stat__label { margin-top: 10px; letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--ic-text-secondary); }
.ic-stat__desc { margin-top: 8px; font-size: .9rem; color: var(--ic-text-secondary); }

/* ---------- Location ---------- */
.ic-location__address-bar {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 20px;
	margin-bottom: 48px;
	padding-bottom: 28px;
	border-bottom: 1px solid color-mix(in srgb, #fff 14%, transparent);
}
.ic-location__address {
	font-family: var(--ic-font-heading);
	font-size: 1.2rem;
	color: var(--ic-secondary);
}
.ic-location__map-link {
	letter-spacing: .16em;
	text-transform: uppercase;
	font-size: .72rem;
	color: var(--ic-accent);
}

.ic-location__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 32px 20px;
}
.ic-nearby-item {
	display: flex;
	flex-direction: column;
}
.ic-nearby-item .ic-icon {
	display: block;
	width: min(190px, 68%);
	height: auto;
	margin: 0 0 24px;
	object-fit: contain;
}
.ic-nearby-item__name {
	position: relative;
	padding-bottom: 16px;
	margin: 0 0 20px;
	font-size: 1.05rem;
	font-weight: 600;
	letter-spacing: .02em;
	color: var(--ic-secondary);
}
.ic-nearby-item__name::before {
	content: "";
	position: absolute; left: 0; bottom: 0;
	width: 6px; height: 6px;
	border: 1px solid var(--ic-accent);
	border-radius: 50%;
}
.ic-nearby-item__name::after {
	content: "";
	position: absolute; left: 14px; right: 0; bottom: 2px;
	border-top: 1px dotted color-mix(in srgb, var(--ic-accent) 55%, transparent);
}
.ic-nearby-item__value {
	display: flex;
	align-items: baseline;
	gap: .2em;
	font-family: var(--ic-font-heading);
	color: var(--ic-accent);
	line-height: 1;
}
.ic-nearby-item__number { font-size: clamp(1.6rem, 2.2vw, 2.2rem); font-weight: 600; letter-spacing: -.02em; }
.ic-nearby-item__unit { font-size: 1rem; opacity: .85; }
.ic-nearby-item__text { font-size: 1.3rem; font-weight: 600; line-height: 1.3; }
.ic-nearby-item__caption {
	margin: 10px 0 0;
	font-size: .78rem;
	letter-spacing: .01em;
	color: color-mix(in srgb, #fff 55%, transparent);
}

/* ---------- Offices ---------- */
.ic-floor-selector { margin-bottom: 56px; }
.ic-floor-selector__tabs { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.ic-floor-selector__tab {
	appearance: none;
	-webkit-appearance: none;
	padding: 12px 22px;
	border: 1px solid #fff;
	border-radius: 6px;
	background-color: transparent;
	letter-spacing: .12em;
	text-transform: uppercase;
	font-size: .72rem;
	font-weight: 600;
	color: #fff;
	transition: background-color .25s ease, color .25s ease, border-color .25s ease;
}
.ic-floor-selector__tab:not(.is-active):hover {
	background-color: transparent;
	color: #fff;
	border-color: #fff;
}
.ic-floor-selector__tab.is-active,
.ic-floor-selector__tab.is-active:hover {
	background-color: #fff;
	color: #0A0A0A;
	border-color: #fff;
}
.ic-floor-selector__tab[disabled] {
	opacity: .35;
	cursor: not-allowed;
}
.ic-floor-selector__panels { display: grid; }
.ic-floor-selector__panel {
	grid-area: 1 / 1;
	opacity: 0;
	visibility: hidden;
	transition: opacity .45s ease, visibility .45s;
	pointer-events: none;
}
.ic-floor-selector__panel.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	pointer-events: auto;
}
.ic-floor-selector__panel.is-leaving {
	opacity: 0;
	visibility: visible;
	z-index: 1;
	transition: opacity .45s ease;
}
.ic-floor-plan-image { width: 100%; }
.ic-floor-plan-svg svg { width: 100%; height: auto; }
.ic-floor-plan-svg [data-office-slug] { cursor: pointer; transition: opacity .2s ease; }
.ic-floor-plan-svg [data-office-slug]:hover { opacity: .75; }
.ic-floor-plan__desc { margin-top: 12px; color: var(--ic-text-secondary); }

.ic-office-filters { display: flex; gap: 18px; flex-wrap: wrap; margin-bottom: 36px; }
.ic-filter { display: flex; flex-direction: column; gap: 8px; font-size: .75rem; letter-spacing: .12em; text-transform: uppercase; color: var(--ic-text-secondary); }
.ic-filter select {
	padding: 12px 14px; border: 1px solid var(--ic-border); border-radius: var(--ic-btn-radius);
	background: var(--ic-background); min-width: 180px; text-transform: none; letter-spacing: 0;
}
.ic-filter select:focus-visible {
	outline: 2px solid var(--ic-accent); outline-offset: -1px;
}
.ic-section--offices .ic-filter > span { color: var(--ic-secondary); opacity: .72; }

.ic-office-grid { display: grid; grid-template-columns: 1fr; gap: 28px; transition: opacity .25s ease; }
.ic-office-grid.is-loading { opacity: .92; }
.ic-office-card { background: transparent; }
.ic-office-card--skeleton {
	opacity: 1 !important;
	transform: none !important;
	pointer-events: none;
}
.ic-office-card__skeleton { display: block; }
.ic-skeleton {
	display: block;
	border-radius: 4px;
	background: linear-gradient(
		90deg,
		rgba(255, 255, 255, .06) 0%,
		rgba(255, 255, 255, .16) 50%,
		rgba(255, 255, 255, .06) 100%
	);
	background-size: 200% 100%;
	animation: ic-skeleton-shimmer 1.15s ease-in-out infinite;
}
.ic-skeleton--media {
	width: 100%;
	aspect-ratio: 1200 / 849;
	margin-bottom: 18px;
	border-radius: 0;
	background-color: #0a0a0a;
}
.ic-skeleton--line { height: 14px; margin-bottom: 10px; }
.ic-skeleton--title { width: 58%; height: 22px; margin-bottom: 12px; }
.ic-skeleton--meta { width: 42%; }
.ic-skeleton--price { width: 34%; height: 16px; margin-top: 8px; margin-bottom: 0; }
.ic-office-card--skeleton:nth-child(2) .ic-skeleton { animation-delay: .08s; }
.ic-office-card--skeleton:nth-child(3) .ic-skeleton { animation-delay: .16s; }
.ic-office-card--skeleton:nth-child(4) .ic-skeleton { animation-delay: .24s; }
.ic-office-card--skeleton:nth-child(5) .ic-skeleton { animation-delay: .32s; }
.ic-office-card--skeleton:nth-child(6) .ic-skeleton { animation-delay: .4s; }
@keyframes ic-skeleton-shimmer {
	0% { background-position: 200% 0; }
	100% { background-position: -200% 0; }
}
.ic-office-card__trigger {
	display: block;
	width: 100%;
	text-align: left;
	background: none;
	border: 0;
	padding: 0;
	color: inherit;
	cursor: pointer;
}
.ic-office-card__trigger:focus-visible {
	outline: 2px solid var(--ic-accent);
	outline-offset: 4px;
}
.ic-office-card__media {
	display: block;
	position: relative;
	aspect-ratio: 1200 / 849;
	overflow: hidden;
	background-color: #0a0a0a;
	border: 1px solid #fff;
}
.ic-office-card__media img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
	object-position: center;
	background-color: #0a0a0a;
	transition: transform .8s ease, opacity .45s ease;
	opacity: 0;
}
.ic-office-card__media img.is-loaded { opacity: 1; }
.ic-office-card:hover .ic-office-card__media img.is-loaded { transform: scale(1.06); }
.ic-office-card__body { display: block; padding: 18px 0 8px; }
.ic-win-zones {
	display: inline-flex !important;
	flex-wrap: wrap;
	align-items: center;
	column-gap: 16px !important;
	row-gap: 10px !important;
	width: 100%;
	margin: 0 0 16px;
}
.ic-win-zone {
	display: inline-block;
	flex: 0 0 auto;
	padding: 5px 12px;
	font-size: .62rem;
	font-weight: 600;
	letter-spacing: .16em;
	line-height: 1.2;
	text-transform: uppercase;
	color: #fff;
	background: var(--ic-accent);
}
.ic-zone-title {
	display: block;
	max-width: 100%;
	width: 100%;
}
.ic-zone-title__text {
	display: inline;
	font-family: var(--ic-font-heading);
	font-size: 1.45rem;
	line-height: 1.25;
	color: var(--ic-heading);
}
.ic-zone-title__line {
	display: block;
	width: 100%;
	height: 3px;
	margin-top: 8px;
	border: 0;
}
.ic-zone-title__line--multi {
	display: grid !important;
	column-gap: 6px;
	width: 100%;
	height: 3px;
	margin-top: 8px;
	background: none !important;
}
.ic-zone-title__segment {
	display: block !important;
	width: 100%;
	height: 3px;
	min-height: 3px;
}
.ic-office-card__top { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 8px; }
.ic-office-card__name {
	font-family: var(--ic-font-heading);
	font-size: 1.45rem;
	color: var(--ic-heading);
}
.ic-office-card__meta { display: flex; gap: 14px; color: var(--ic-text-secondary); font-size: .88rem; }
.ic-office-card__price {
	display: block;
	margin-top: 8px;
	color: var(--ic-zone-color, var(--ic-accent));
	letter-spacing: .06em;
}
.ic-office-grid__more { text-align: center; margin-top: 40px; }
.ic-office-grid__empty { grid-column: 1/-1; text-align: center; color: var(--ic-text-secondary); }
.ic-section--offices .ic-office-card__name { color: var(--ic-secondary); }
.ic-section--offices .ic-office-card__meta { color: var(--ic-secondary); opacity: .72; }
.ic-section--offices .ic-office-grid__empty { color: var(--ic-secondary); opacity: .72; }

/* ---------- Modal ---------- */
.ic-modal {
	position: fixed;
	inset: 0;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	overflow: auto;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .32s ease, visibility .32s ease;
}
.ic-modal.is-open,
.ic-modal.is-closing {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}
.ic-modal.is-closing {
	opacity: 0;
	pointer-events: none;
}
.ic-modal__backdrop {
	position: absolute;
	inset: 0;
	background: rgba(8,9,10,.78);
	opacity: 0;
	transition: opacity .32s ease;
}
.ic-modal.is-open .ic-modal__backdrop { opacity: 1; }
.ic-modal.is-closing .ic-modal__backdrop { opacity: 0; }
.ic-modal__dialog {
	position: relative; z-index: 1;
	width: min(980px, 100%);
	max-height: none;
	margin: auto;
	overflow: hidden;
	background-color: #0a0a0a;
	border: 1px solid #fff;
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
	opacity: 0;
	transform: translateY(18px) scale(.98);
	transition: opacity .35s cubic-bezier(.22,1,.36,1), transform .35s cubic-bezier(.22,1,.36,1);
}
.ic-modal.is-open .ic-modal__dialog {
	opacity: 1;
	transform: none;
}
.ic-modal.is-closing .ic-modal__dialog {
	opacity: 0;
	transform: translateY(12px) scale(.985);
}
.ic-modal__close {
	position: absolute; top: 12px; right: 12px; z-index: 3; width: 44px; height: 44px;
	border: 0; background: rgba(8,9,10,.55); color: #fff; font-size: 1.5rem;
}
/* Transparent white-line PNGs need an opaque dark plate behind them. */
.ic-modal__media {
	position: relative;
	overflow: hidden;
	min-height: 0;
	aspect-ratio: 1200 / 849;
	background-color: #0a0a0a;
	grid-column: 1;
}
.ic-modal__media::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background-color: #0a0a0a;
	pointer-events: none;
}
.ic-modal__track {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	height: 100%;
	overflow-x: auto;
	overflow-y: hidden;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	background-color: #0a0a0a;
}
.ic-modal__track::-webkit-scrollbar { display: none; }
.ic-modal__track img {
	flex: 0 0 100%;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: contain;
	object-position: center;
	display: block;
	scroll-snap-align: center;
	background-color: #0a0a0a;
	user-select: none;
	-webkit-user-drag: none;
}
@media (prefers-reduced-motion: reduce) {
	.ic-modal__track { scroll-behavior: auto; }
}
.ic-modal__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: rgba(255,255,255,.12);
	color: #fff;
	cursor: pointer;
	transition: background .25s ease, transform .2s ease;
}
.ic-modal__nav svg { width: 20px; height: 20px; }
.ic-modal__nav:hover { background: rgba(255,255,255,.24); }
.ic-modal__nav[hidden] { display: none; }
.ic-modal__nav--prev { left: 12px; }
.ic-modal__nav--next { right: 12px; }
.ic-modal__content {
	padding: 32px;
	overflow: visible;
	height: auto;
	background: #fff;
	grid-column: 1;
}
.ic-modal__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 18px;
}
.ic-modal__head .ic-win-zones { margin-bottom: 0; }
.ic-modal__head .ic-zone-title__text {
	font-size: 2rem;
}
.ic-modal__head .ic-zone-title__line {
	margin-top: 8px;
}
.ic-modal__content h3 { font-size: 2rem; }
.ic-modal__specs {
	display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px 24px;
	margin: 20px 0; padding: 20px 0; border-top: 1px solid var(--ic-border); border-bottom: 1px solid var(--ic-border);
}
.ic-modal__specs li { display: flex; flex-direction: column; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--ic-text-secondary); }
.ic-modal__specs strong { color: var(--ic-heading); font-size: 1.05rem; letter-spacing: 0; text-transform: none; margin-top: 4px; }
.ic-modal__features { display: flex; flex-wrap: wrap; gap: 10px 18px; margin: 18px 0; }
.ic-modal__features li { font-size: .88rem; color: var(--ic-text-secondary); }
.ic-modal__actions { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 24px; }
body.ic-modal-open { overflow: hidden; }
html.ic-scroll-locked {
	overflow: hidden;
}
/* Fixed UI must keep the same width when the scrollbar is removed. */
body.ic-modal-open .ic-header--sticky,
body.ic-modal-open .ic-to-top {
	padding-right: var(--ic-scrollbar-comp, 0px);
}
/* The back-to-top button is fixed with its own z-index, same as the
   mobile nav overlay — if the page was scrolled before the burger was
   opened, it floats on top of the full-screen menu. Step aside while any
   modal (mobile nav, office modal, lightbox) is open. */
body.ic-modal-open .ic-to-top { display: none; }

/* ---------- Infrastructure ---------- */
.ic-infra__grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
.ic-infra__grid--2col { grid-template-columns: 1fr; }
.ic-infra-item {
	position: relative;
	padding: 36px 32px 32px;
	background: color-mix(in srgb, #fff 4%, transparent);
	border: 1px solid color-mix(in srgb, #fff 12%, transparent);
	overflow: hidden;
	text-align: center;
	transition: transform .35s ease, box-shadow .35s ease, background .35s ease, border-color .35s ease;
}
.ic-infra-item::before {
	content: "";
	position: absolute;
	top: 0; left: 0; right: 0;
	height: 2px;
	background: var(--ic-infra-accent, var(--ic-accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .5s ease;
}
.ic-infra-item.is-visible::before,
.ic-infra-item:hover::before { transform: scaleX(1); }
.ic-infra-item:hover {
	transform: translateY(-4px);
	background: color-mix(in srgb, #fff 7%, transparent);
	border-color: color-mix(in srgb, #fff 22%, transparent);
	box-shadow: 0 22px 44px -28px rgba(0,0,0,.65);
}
.ic-infra-item:nth-child(7n+1) { --ic-infra-accent: var(--ic-zone-1); }
.ic-infra-item:nth-child(7n+2) { --ic-infra-accent: var(--ic-zone-2); }
.ic-infra-item:nth-child(7n+3) { --ic-infra-accent: var(--ic-zone-3); }
.ic-infra-item:nth-child(7n+4) { --ic-infra-accent: var(--ic-zone-4); }
.ic-infra-item:nth-child(7n+5) { --ic-infra-accent: var(--ic-zone-5); }
.ic-infra-item:nth-child(7n+6) { --ic-infra-accent: var(--ic-zone-6); }
.ic-infra-item:nth-child(7n+7) { --ic-infra-accent: var(--ic-zone-7); }
.ic-infra-item__image { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin: -36px -32px 24px; width: calc(100% + 64px); }
.ic-infra-item .ic-icon { display: block; width: 40px; height: 40px; margin: 0 auto 20px; }
.ic-infra-item__index {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 22px;
	font-family: var(--ic-font-heading);
	font-size: .95rem;
	font-weight: 700;
	color: color-mix(in srgb, var(--ic-infra-accent, var(--ic-accent)) 65%, #fff 35%);
	background: color-mix(in srgb, var(--ic-infra-accent, var(--ic-accent)) 18%, transparent);
	border: 1px solid color-mix(in srgb, var(--ic-infra-accent, var(--ic-accent)) 70%, transparent);
	border-radius: 10px;
}
.ic-infra-item__index svg { width: 22px; height: 22px; stroke-width: 2; }
.ic-infra-item__title { font-size: var(--ic-h3-size); color: inherit; margin: 0 0 12px; }
.ic-section--infrastructure .ic-infra-item__title { color: #fff; }

.ic-section--location .ic-section__head { max-width: none; }
.ic-section--location .ic-section__desc { max-width: none; }

/* ---------- Hospitality Management ---------- */
.ic-hosp__grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ic-hosp__intro p { margin-bottom: 1em; }
.ic-hosp__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px 32px;
	margin: 32px 0;
	padding: 0;
	list-style: none;
}
.ic-hosp__list li {
	position: relative;
	padding: 12px 0 12px 28px;
	border-bottom: 1px solid var(--ic-border);
	color: var(--ic-text);
	font-size: 1.02rem;
}
.ic-hosp__list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 8px;
	height: 8px;
	background: var(--ic-accent);
}
.ic-hosp__closing {
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--ic-heading);
	margin-top: 8px;
}

/* ---------- Sustainability ---------- */
.ic-sus__grid { display: grid; grid-template-columns: 1fr; gap: 8px; }
.ic-sus__body p { margin-bottom: 1em; }
.ic-sus__badge { margin-top: 32px; }
.ic-sus__badge-image { display: block; max-width: 220px; height: auto; }

@media (min-width: 900px) {
	.ic-hosp__grid {
		grid-template-columns: 1.1fr .9fr;
		column-gap: 64px;
		align-items: start;
	}
	.ic-hosp__intro { grid-column: 1; grid-row: 1; }
	.ic-hosp__list {
		grid-column: 2;
		grid-row: 1 / 3;
		grid-template-columns: 1fr 1fr;
		align-self: stretch;
		margin: 0;
	}
	.ic-hosp__closing { grid-column: 1; grid-row: 2; }

	.ic-sus__grid { grid-template-columns: 1.2fr .8fr; column-gap: 64px; align-items: start; }
	.ic-sus__badge { margin-top: 0; align-self: start; }
}

/* ---------- Gallery ---------- */
.ic-gallery__filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.ic-gallery__filters button {
	padding: 10px 16px; border: 0; border-bottom: 1px solid transparent; background: transparent;
	letter-spacing: .14em; text-transform: uppercase; font-size: .72rem; color: var(--ic-text-secondary);
	transition: color .25s ease, border-color .25s ease;
}
.ic-gallery__filters button.is-active { color: var(--ic-heading); border-color: var(--ic-accent); }
.ic-gallery--balanced {
	display: grid;
	grid-template-columns: repeat(var(--ic-gallery-cols, 6), minmax(0, 1fr));
	gap: 12px;
	align-items: stretch;
}
.ic-gallery__col {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	min-height: 0;
}
.ic-gallery__slider-wrap { position: relative; }
.ic-gallery--slider {
	display: flex;
	gap: 12px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.ic-gallery--slider::-webkit-scrollbar { display: none; }
.ic-gallery--slider .ic-gallery__item {
	flex: 0 0 clamp(180px, 26vw, 280px);
	aspect-ratio: 4 / 3;
	scroll-snap-align: start;
}
.ic-gallery--slider .ic-gallery__item img { height: 100%; }
.ic-gallery__arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 2;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	border: 1px solid var(--ic-border);
	background: var(--ic-background);
	color: var(--ic-heading);
	cursor: pointer;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .14);
	transition: background .25s ease, color .25s ease, opacity .25s ease, transform .2s ease;
}
.ic-gallery__arrow svg { width: 18px; height: 18px; }
.ic-gallery__arrow:hover { background: var(--ic-accent); color: var(--ic-primary); transform: translateY(-50%) scale(1.06); }
.ic-gallery__arrow[hidden] { display: none; }
.ic-gallery__arrow:disabled { opacity: 0; pointer-events: none; }
.ic-gallery__arrow--prev { left: -22px; }
.ic-gallery__arrow--next { right: -22px; }
.ic-gallery__item {
	position: relative;
	overflow: hidden;
	margin: 0;
}
.ic-gallery__item a { display: block; }
.ic-gallery__item img {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	transition: transform .7s ease;
}
.ic-gallery__col .ic-gallery__item:last-child:not([hidden]),
.ic-gallery__item.is-fill {
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	min-height: 140px;
}
.ic-gallery__col .ic-gallery__item:last-child:not([hidden]) a,
.ic-gallery__item.is-fill a {
	flex: 1 1 auto;
	display: block;
	height: 100%;
	min-height: 140px;
}
.ic-gallery__col .ic-gallery__item:last-child:not([hidden]) img,
.ic-gallery__item.is-fill img {
	height: 100%;
	min-height: 100%;
	object-fit: cover;
}
.ic-gallery__item:hover img { transform: scale(1.05); }
.ic-gallery__item[hidden] { display: none !important; }
.ic-gallery__item--out { opacity: 0 !important; transform: scale(.96) !important; transition: opacity .2s ease, transform .2s ease !important; }
.ic-gallery__item--in { opacity: 0 !important; transform: translateY(10px) !important; transition: none !important; }
.ic-gallery__col[hidden] { display: none !important; }
.ic-gallery__item figcaption {
	position: absolute; left: 0; right: 0; bottom: 0;
	padding: 16px 18px; color: #fff; font-size: .8rem; letter-spacing: .08em;
	background: linear-gradient(transparent, rgba(8,9,10,.7));
}

/* ---------- Contact ---------- */
.ic-contact__eyebrow { margin-bottom: 32px; }
.ic-contact__grid { display: grid; grid-template-columns: 1fr; gap: 48px; }
.ic-contact__head { max-width: none; margin: 0 0 32px; }
.ic-contact-form[data-ic-reveal] { transition-delay: .12s; }
.ic-contact__photo img { width: 100%; aspect-ratio: 16/10; object-fit: cover; margin-bottom: 24px; }
.ic-section--contact .ic-contact__details li {
	display: flex; flex-direction: column; gap: 4px; padding: 14px 0;
	border-bottom: 1px solid var(--ic-border);
}
.ic-section--contact .ic-contact__details strong {
	font-size: .72rem; letter-spacing: .16em; text-transform: uppercase;
	color: var(--ic-text-secondary); opacity: 1;
}
.ic-section--contact .ic-contact__details a { color: var(--ic-link); }
.ic-section--contact .ic-contact__details a:hover { color: var(--ic-link-hover); }

.ic-contact__map { margin-top: 36px; }
.ic-contact__map-frame {
	position: relative;
	overflow: hidden;
	border: 1px solid var(--ic-border);
	background: var(--ic-background-alt);
	aspect-ratio: 16 / 10;
}
.ic-contact__map-embed {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
.ic-contact__map-directions {
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 16px;
	background: rgba(10, 10, 10, .82);
	color: #fff;
	text-decoration: none;
	border: 1px solid rgba(255, 255, 255, .14);
	backdrop-filter: blur(8px);
	transition: background .25s ease, border-color .25s ease, transform .25s ease;
}
.ic-contact__map-directions:hover,
.ic-contact__map-directions:focus-visible {
	background: rgba(10, 10, 10, .92);
	border-color: var(--ic-accent);
	transform: translateY(-2px);
}
.ic-contact__map-directions-label {
	font-size: .68rem;
	letter-spacing: .22em;
	text-transform: uppercase;
	color: var(--ic-accent);
	font-weight: 600;
}
.ic-contact__map-directions-text {
	font-family: var(--ic-font-heading);
	font-size: .95rem;
	line-height: 1.35;
}
.ic-contact__map-directions:focus-visible {
	outline: 2px solid var(--ic-accent);
	outline-offset: 2px;
}

.ic-form-row { margin-bottom: 18px; display: flex; flex-direction: column; gap: 8px; }
.ic-form-row--half { display: grid; grid-template-columns: 1fr; gap: 16px; }
.ic-form-row--half > div { display: flex; flex-direction: column; gap: 8px; }
.ic-section--contact .ic-form-row label {
	font-size: .75rem; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ic-text-secondary); opacity: 1;
}
.ic-section--contact .ic-form-row input,
.ic-section--contact .ic-form-row textarea {
	width: 100%; padding: 14px 16px; border: 1px solid var(--ic-border);
	border-radius: var(--ic-btn-radius); background: var(--ic-background);
	color: var(--ic-text);
	transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease;
}
.ic-section--contact .ic-form-row input::placeholder,
.ic-section--contact .ic-form-row textarea::placeholder { color: rgba(10, 10, 10, .38); }
.ic-section--contact .ic-form-row input:hover,
.ic-section--contact .ic-form-row textarea:hover { border-color: color-mix(in srgb, var(--ic-border) 70%, var(--ic-text)); }
.ic-section--contact .ic-form-row input:focus,
.ic-section--contact .ic-form-row textarea:focus {
	border-color: var(--ic-accent);
	background: var(--ic-background);
	box-shadow: 0 0 0 3px color-mix(in srgb, var(--ic-accent) 18%, transparent);
	outline: none;
}
.ic-form-row textarea { resize: vertical; min-height: 110px; }
.ic-form-row--checkbox { margin-bottom: 20px; }
.ic-section--contact .ic-form-row--checkbox label {
	display: flex; align-items: center; gap: 10px; font-size: .85rem;
	letter-spacing: 0; text-transform: none; color: var(--ic-text-secondary); opacity: 1;
}
.ic-form-row--checkbox input[type="checkbox"] {
	width: 18px; height: 18px; flex: none; accent-color: var(--ic-accent);
}
.ic-form-honeypot { position: absolute; left: -9999px; top: -9999px; }
.ic-form-message { min-height: 1.2em; font-size: .9rem; margin-top: 4px; }
.ic-section--contact .ic-form-message[data-state="success"] { color: #2f7a52; }
.ic-section--contact .ic-form-message[data-state="error"] { color: #b42318; }
.ic-contact-form .ic-btn { margin-top: 4px; }
.ic-contact-form button[disabled] { opacity: .6; cursor: progress; }

/* ---------- Footer ---------- */
.ic-footer { background: var(--ic-footer-bg); color: var(--ic-footer-text); padding: 28px 0 0; }
.ic-footer a { color: var(--ic-footer-text); }
.ic-footer a:hover { color: var(--ic-accent); }
.ic-footer__inner { display: grid; grid-template-columns: 1fr; gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.08); }
.ic-footer__logo { width: 150px; margin-bottom: 16px; }
.ic-footer__desc { color: rgba(255,255,255,.55); max-width: 38ch; }
.ic-footer__socials { display: flex; gap: 18px; margin-top: 18px; font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; }
.ic-footer h3 { color: #fff; font-size: .78rem; letter-spacing: .18em; text-transform: uppercase; font-family: var(--ic-font-body); margin-bottom: 18px; }
.ic-footer-nav-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0 24px; }
.ic-footer-nav-list li { margin-bottom: 10px; }
.ic-footer__bottom { display: flex; justify-content: center; text-align: center; flex-wrap: wrap; gap: 12px; padding: 24px 0; font-size: .78rem; color: rgba(255,255,255,.42); }
.ic-footer__legal { display: flex; gap: 20px; }

.ic-generic-content { padding: 160px 0 100px; max-width: 860px; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 782px) {
	.ic-hero__title { font-size: var(--ic-h1-desktop); }
	.ic-section__title { font-size: var(--ic-h2-desktop); }
	.ic-about__grid { grid-template-columns: 1.05fr .95fr; gap: 72px; }
	.ic-about__grid--img-left { direction: rtl; }
	.ic-about__grid--img-left > * { direction: ltr; }
	.ic-stats__grid { grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); }
	.ic-location__grid { grid-template-columns: repeat(2, 1fr); }
	.ic-office-grid { grid-template-columns: repeat(2, 1fr); }
	.ic-modal__dialog { grid-template-columns: 1fr 1fr; overflow: hidden; }
	.ic-modal__media {
		grid-column: 1;
		grid-row: 1;
		height: 100%;
		min-height: 0;
		aspect-ratio: auto;
		background-color: #0a0a0a;
	}
	.ic-modal__content {
		grid-column: 2;
		grid-row: 1;
		background: #fff;
	}
	.ic-infra__grid--2col { grid-template-columns: repeat(2, 1fr); }
	.ic-infra__grid--3col { grid-template-columns: repeat(3, 1fr); }
	.ic-infra__grid--4col { grid-template-columns: repeat(4, 1fr); }
	.ic-infra__grid--grid { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
	.ic-contact__grid { grid-template-columns: .9fr 1.1fr; }
	.ic-form-row--half { grid-template-columns: 1fr 1fr; }
	.ic-footer__inner { grid-template-columns: 1.2fr 1fr; }
}

@media (min-width: 1100px) {
	.ic-office-grid { grid-template-columns: repeat(3, 1fr); }
	.ic-location__grid { grid-template-columns: repeat(4, 1fr); }
}

@media (max-width: 1024px) {
	.ic-container { padding-left: var(--ic-pad-tablet); padding-right: var(--ic-pad-tablet); }
	.ic-hide-tablet { display: none !important; }
}

/* Below this width the header logo shrinks and the desktop nav no longer
   has room to breathe next to the logo and CTA — switch to the burger
   before it starts crowding or clipping instead of waiting for the
   mobile breakpoint. */
@media (max-width: 1455px) {
	.ic-logo { width: var(--ic-logo-w-tablet); }
	.ic-header__nav, .ic-header__cta { display: none; }
	.ic-header__burger { display: flex; }
}

@media (max-width: 781px) {
	:root { --ic-section-spacing: 48px; }
	.ic-container {
		padding-left: max(var(--ic-pad-mobile), env(safe-area-inset-left));
		padding-right: max(var(--ic-pad-mobile), env(safe-area-inset-right));
	}
	.ic-hide-mobile { display: none !important; }
	.ic-header__inner { height: 68px; }
	.ic-logo { width: var(--ic-logo-w-mobile); }
	.ic-logo-text { font-size: 1.05rem; letter-spacing: .04em; max-width: 52vw; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

	.ic-hero {
		height: var(--ic-hero-h-mobile);
		min-height: 100svh;
	}
	.ic-hero__image--mobile { display: block; animation: ic-kenburns 22s ease-out forwards; }
	.ic-hero__image--desktop { display: none; }
	.ic-hero__content { padding-top: 96px; padding-bottom: 88px; }
	.ic-hero__title, .ic-hero__desc { max-width: 100%; }
	.ic-hero__ctas { flex-direction: column; align-items: stretch; width: 100%; max-width: 360px; }
	.ic-hero--align-center .ic-hero__ctas { margin-left: auto; margin-right: auto; }
	.ic-hero__ctas .ic-btn { width: 100%; }
	.ic-hero__scroll { bottom: max(20px, env(safe-area-inset-bottom)); }
	.ic-hero__desc { font-size: 1.1rem; }

	.ic-section__head { margin-bottom: 36px; }
	.ic-btn { min-height: 48px; padding: 14px 20px; white-space: normal; text-align: center; }

	.ic-about__media { overflow: hidden; }
	.ic-about__image--primary { aspect-ratio: 4/5; clip-path: none; }
	.ic-about__image--secondary {
		position: relative; right: auto; bottom: auto;
		width: 70%; margin: -40px 0 0 auto; border-width: 6px;
	}

	.ic-stats__grid { gap: 20px 16px; }
	.ic-stat__number { font-size: clamp(1.75rem, 8vw, 2.4rem); }

	.ic-location__address-bar { margin-bottom: 36px; padding-bottom: 20px; }
	.ic-location__grid { gap: 32px; }

	.ic-floor-selector__tabs {
		flex-wrap: nowrap; overflow-x: auto; -webkit-overflow-scrolling: touch;
		padding-bottom: 8px; gap: 8px;
	}
	.ic-floor-selector__tab { flex: 0 0 auto; min-height: 44px; }

	.ic-office-filters { flex-direction: column; }
	.ic-filter select { width: 100%; min-width: 0; min-height: 48px; font-size: 16px; }
	.ic-office-card__media { aspect-ratio: 1200 / 849; }
	.ic-skeleton--media { aspect-ratio: 1200 / 849; }
	.ic-office-card__name { font-size: 1.2rem; }

	.ic-modal { padding: 16px; }
	.ic-modal__dialog { margin: auto; max-height: none; min-height: 0; width: 100%; overflow: hidden; }
	.ic-modal__media {
		grid-column: 1;
		aspect-ratio: 1200 / 849;
		max-height: 32vh;
		background-color: #0a0a0a;
	}
	.ic-modal__nav { width: 38px; height: 38px; }
	.ic-modal__nav svg { width: 16px; height: 16px; }
	.ic-modal__nav--prev { left: 8px; }
	.ic-modal__nav--next { right: 8px; }
	.ic-modal__content { grid-column: 1; padding: 20px 18px 32px; background: #fff; }
	.ic-modal__content h3 { font-size: 1.4rem; }
	.ic-modal__head .ic-zone-title__text { font-size: 1.4rem; }
	.ic-modal__actions { flex-direction: column; }
	.ic-modal__actions .ic-btn { width: 100%; }

	.ic-infra__grid--slider { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 16px; }
	.ic-infra__grid--slider .ic-infra-item { flex: 0 0 78vw; scroll-snap-align: start; }

	.ic-gallery--balanced { gap: 8px; }
	.ic-gallery__col { gap: 8px; }
	.ic-gallery__filters { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; padding-bottom: 6px; }
	.ic-gallery__filters button { flex: 0 0 auto; min-height: 44px; }
	.ic-gallery--slider .ic-gallery__item { flex-basis: 62vw; }
	.ic-gallery__arrow { width: 38px; height: 38px; }
	.ic-gallery__arrow svg { width: 16px; height: 16px; }
	.ic-gallery__arrow--prev { left: 6px; }
	.ic-gallery__arrow--next { right: 6px; }

	.ic-form-row input, .ic-form-row textarea, .ic-form-row select { font-size: 16px; min-height: 48px; }
	.ic-contact-form .ic-btn { width: 100%; }

	.ic-footer { padding-top: 28px; }
	.ic-footer-nav-list { grid-template-columns: 1fr; }
	.ic-footer__bottom { flex-direction: column; }
	.ic-footer__legal { flex-wrap: wrap; }
}

@media (max-width: 599px) {
	.ic-gallery--balanced {
		display: flex;
		flex-direction: column;
		gap: 10px;
	}
	.ic-gallery__col {
		display: contents;
	}
	.ic-gallery__col .ic-gallery__item:last-child:not([hidden]),
	.ic-gallery__item.is-fill {
		flex: none;
		display: block;
		min-height: 0;
	}
	.ic-gallery__col .ic-gallery__item:last-child:not([hidden]) a,
	.ic-gallery__item.is-fill a {
		min-height: 0;
		height: auto;
	}
	.ic-gallery__col .ic-gallery__item:last-child:not([hidden]) img,
	.ic-gallery__item.is-fill img {
		height: auto;
		min-height: 0;
	}
}

@media (min-width: 782px) and (max-width: 1024px) {
	.ic-hide-desktop { display: block; }
}
@media (min-width: 1025px) {
	.ic-hide-desktop { display: none !important; }
}

/* ---------- Back to top ---------- */
.ic-to-top {
	position: fixed;
	right: 24px;
	bottom: 24px;
	z-index: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 50%;
	background: var(--ic-btn-bg);
	color: var(--ic-btn-text);
	cursor: pointer;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity .3s ease, transform .3s ease, background .3s ease, color .3s ease, border-color .3s ease, visibility .3s ease;
}
.ic-to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.ic-to-top:hover { background: var(--ic-btn-bg-hover); color: var(--ic-btn-text-hover); border-color: rgba(255,255,255,.4); }
@media (max-width: 620px) {
	.ic-to-top { right: 16px; bottom: 16px; width: 42px; height: 42px; }
}
