/* ==========================================================================
   Intercomm — main stylesheet
   Warm architectural minimalism: paper, ink, terracotta.
   ========================================================================== */

/* ---------- Fonts (bundled, no Google requests) ---------- */
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin-wght.woff2") format("woff2-variations"), url("../fonts/inter-tight-latin-wght.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Inter Tight";
	font-style: normal;
	font-weight: 100 900;
	font-display: swap;
	src: url("../fonts/inter-tight-latin-ext-wght.woff2") format("woff2-variations"), url("../fonts/inter-tight-latin-ext-wght.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-latin-400-normal.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-latin-400-italic.woff2") format("woff2");
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: "Instrument Serif";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-latin-ext-400-normal.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
	font-family: "Instrument Serif";
	font-style: italic;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/instrument-serif-latin-ext-400-italic.woff2") format("woff2");
	unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
	--ic-accent: #C8875F;
	--ic-deep: #A8511F;
	--ic-ink: #1D1915;
	--ic-paper: #F4EFE9;
	--ic-dark: #15120F;
	--ic-sand: #E9DFD3;
	--ic-blush: #F1DDD1;

	--ic-sans: "Inter Tight", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--ic-serif: "Instrument Serif", "Times New Roman", serif;

	--ic-gutter: clamp(18px, 4vw, 64px);
	--ic-max: 1680px;
	--ic-header-h: 84px;
	--ic-radius: 6px;
	--ic-ease: cubic-bezier(.19, 1, .22, 1);
	--ic-ease-io: cubic-bezier(.77, 0, .18, 1);
}

/* ---------- Section colour themes ---------- */
[class*="ic-theme-"] {
	background-color: var(--bg);
	color: var(--fg);
	--muted: color-mix(in srgb, var(--fg) 64%, transparent);
	--line: color-mix(in srgb, var(--fg) 15%, transparent);
}
.ic-theme-light { --bg: var(--ic-paper); --fg: var(--ic-ink); --ac: var(--ic-deep); --card: #ECE2D7; }
.ic-theme-white { --bg: #fff; --fg: var(--ic-ink); --ac: var(--ic-deep); --card: #F4EFE9; }
.ic-theme-sand { --bg: var(--ic-sand); --fg: var(--ic-ink); --ac: var(--ic-deep); --card: #F4EFE9; }
.ic-theme-dark { --bg: var(--ic-dark); --fg: #EFE8E0; --ac: var(--ic-accent); --card: #231E19; }
.ic-theme-terracotta { --bg: var(--ic-accent); --fg: #FFF8F2; --ac: #3B1D0E; --card: var(--ic-paper); }

/* ---------- Lenis (smooth scroll) ---------- */
html.lenis,
html.lenis body {
  height: auto;
}

.lenis:not(.lenis-autoToggle).lenis-stopped {
  overflow: clip;
}

.lenis [data-lenis-prevent],
.lenis [data-lenis-prevent-wheel],
.lenis [data-lenis-prevent-touch],
.lenis [data-lenis-prevent-vertical],
.lenis [data-lenis-prevent-horizontal] {
  overscroll-behavior: contain;
}

.lenis.lenis-smooth iframe {
  pointer-events: none;
}

.lenis.lenis-autoToggle {
  transition-property: overflow;
  transition-duration: 1ms;
  transition-behavior: allow-discrete;
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; }
/* Native, non-smooth scrolling (overrides Elementor's html { scroll-behavior: smooth }). */
:root { scroll-behavior: auto; }
body.intercomm {
	margin: 0;
	background: var(--ic-paper);
	color: var(--ic-ink);
	font-family: var(--ic-sans);
	font-size: 17px;
	line-height: 1.6;
	font-weight: 400;
	overflow-x: clip;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body.intercomm *, body.intercomm *::before, body.intercomm *::after { box-sizing: border-box; }
:where(body.intercomm) img { max-width: 100%; height: auto; }
body.intercomm a { color: inherit; text-decoration: none; }
body.intercomm h1, body.intercomm h2, body.intercomm h3, body.intercomm h4 { font-weight: 500; letter-spacing: -.025em; line-height: 1.1; }
::selection { background: var(--ic-accent); color: #fff; }
:focus-visible { outline: 2px solid var(--ic-accent); outline-offset: 3px; }

.ic-skip { position: fixed; left: 12px; top: -60px; z-index: 2000; padding: 10px 16px; background: var(--ic-ink); color: #fff !important; border-radius: 6px; transition: top .3s; }
.ic-skip:focus { top: 12px; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(1px, 1px, 1px, 1px); white-space: nowrap; }

.ic-wrap { width: 100%; max-width: var(--ic-max); margin-inline: auto; padding-inline: var(--ic-gutter); }
.ic-section { position: relative; padding-block: clamp(88px, 11vw, 190px); }

/* ---------- Type ---------- */
.ic-eyebrow {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 clamp(20px, 2.4vw, 34px);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: .16em;
	text-transform: uppercase;
	color: var(--muted, currentColor);
}
.ic-eyebrow::before { content: ""; order: -1; width: 32px; height: 1px; background: currentColor; opacity: .55; flex-shrink: 0; }
.ic-eyebrow__num { order: -2; color: var(--ac, var(--ic-deep)); font-variant-numeric: tabular-nums; }

.ic-h1, .ic-h2, .ic-h3, .ic-display { margin: 0; font-weight: 500; text-wrap: balance; }
.ic-h1 { font-size: clamp(2.8rem, 7vw, 7.6rem); line-height: .95; letter-spacing: -.05em; }
.ic-h2 { font-size: clamp(2.5rem, 5.6vw, 6.4rem); line-height: .98; letter-spacing: -.045em; }
.ic-h3 { font-size: clamp(1.6rem, 2.6vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; }
.ic-display { font-size: clamp(3.4rem, 10vw, 11rem); line-height: .9; letter-spacing: -.055em; }

.ic-h1 em, .ic-h2 em, .ic-h3 em, .ic-display em, .ic-hero__title em, .ic-xr__title em,
.ic-reveal__text em, .ic-footer__title em, .ic-drawer__title em, .ic-pillar__title em {
	font-family: var(--ic-serif);
	font-style: italic;
	font-weight: 400;
	font-size: 1.04em;
	letter-spacing: -.015em;
	color: var(--ac, var(--ic-accent));
}
.ic-lead { font-size: clamp(1.08rem, 1.3vw, 1.32rem); line-height: 1.5; color: var(--muted); margin: 0; }

.ic-head { display: grid; gap: 24px 6vw; margin-bottom: clamp(44px, 6vw, 96px); }
.ic-head .ic-eyebrow { margin-bottom: clamp(18px, 2vw, 30px); }
.ic-head--split { grid-template-columns: 1.45fr 1fr; align-items: end; }
.ic-head__intro { max-width: 46ch; margin: 0; font-size: clamp(1.02rem, 1.2vw, 1.2rem); line-height: 1.55; color: var(--muted); }
@media (max-width: 900px) { .ic-head--split { grid-template-columns: 1fr; align-items: start; } }

.ic-list { list-style: none; margin: 32px 0 0; padding: 0; border-top: 1px solid var(--line); }
.ic-list li { display: flex; gap: 20px; padding: 15px 0; border-bottom: 1px solid var(--line); font-size: 16.5px; line-height: 1.4; }
.ic-list__num { min-width: 22px; padding-top: .3em; font-size: 11.5px; letter-spacing: .08em; color: var(--ac); font-variant-numeric: tabular-nums; }

.ic-prose { font-size: 1.05rem; line-height: 1.7; }
.ic-prose > *:first-child { margin-top: 0; }
.ic-prose a { text-decoration: underline; text-underline-offset: .2em; text-decoration-thickness: 1px; }
.ic-prose img { border-radius: var(--ic-radius); }

/* SplitText line masks: room for descenders & italic serif overhang */
.ic-line-mask { padding: .1em .08em .14em 0; margin: -.1em -.08em -.14em 0; }

/* Links */
.ic-link { position: relative; width: fit-content; }
.ic-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ic-ease); }
.ic-link:hover::after { transform: scaleX(1); transform-origin: left; }
.ic-arrow-link { display: inline-flex; align-items: center; gap: 12px; font-weight: 500; padding-bottom: 6px; border-bottom: 1px solid currentColor; white-space: nowrap; }
.ic-arrow-link svg { width: 14px; height: 14px; transition: transform .5s var(--ic-ease); }
.ic-arrow-link:hover svg { transform: translateX(6px); }

/* ---------- Buttons ---------- */
.ic-btn {
	--btn-bg: var(--fg, var(--ic-ink));
	--btn-fg: var(--bg, var(--ic-paper));
	position: relative;
	display: inline-flex;
	align-items: center;
	gap: 14px;
	height: 54px;
	padding: 0 8px 0 24px;
	border: 1px solid var(--btn-bg);
	border-radius: 999px;
	background: var(--btn-bg);
	color: var(--btn-fg) !important;
	font: 500 15px/1 var(--ic-sans);
	letter-spacing: .005em;
	white-space: nowrap;
	cursor: pointer;
	overflow: hidden;
	isolation: isolate;
	transition: color .5s var(--ic-ease), border-color .5s var(--ic-ease);
}
.ic-btn::before { content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; background: var(--ic-accent); transform: translateY(101%); transition: transform .65s var(--ic-ease); }
.ic-btn:hover::before { transform: translateY(0); }
.ic-btn:hover { color: #fff !important; border-color: var(--ic-accent); }
.ic-btn__label { position: relative; }
.ic-btn__icon { display: grid; place-items: center; width: 38px; height: 38px; border-radius: 50%; background: var(--btn-fg); color: var(--btn-bg); transition: transform .65s var(--ic-ease), background .5s, color .5s; }
.ic-btn__icon svg { width: 14px; height: 14px; }
.ic-btn:hover .ic-btn__icon { transform: rotate(-45deg); background: #fff; color: var(--ic-ink); }
.ic-btn--sm { height: 44px; padding-left: 18px; font-size: 14px; gap: 10px; }
.ic-btn--sm .ic-btn__icon { width: 30px; height: 30px; }
.ic-btn--light { --btn-bg: #fff; --btn-fg: var(--ic-ink); }
.ic-btn--dark { --btn-bg: var(--ic-ink); --btn-fg: var(--ic-paper); }
.ic-btn--glass { --btn-bg: rgba(255, 255, 255, .1); --btn-fg: #fff; border-color: rgba(255, 255, 255, .35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.ic-btn--glass .ic-btn__icon { background: #fff; color: var(--ic-ink); }

/* ---------- Header ---------- */
.ic-header {
	position: fixed;
	inset: 0 0 auto;
	z-index: 90;
	color: var(--ic-ink);
	border-bottom: 1px solid transparent;
	transition: transform .8s var(--ic-ease), background-color .5s, color .5s, border-color .5s;
}
.admin-bar .ic-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .ic-header { top: 46px; } }
.ic-header__bar { position: relative; display: flex; align-items: center; gap: 24px; height: var(--ic-header-h); transition: height .6s var(--ic-ease); }
.ic-header__logo { display: inline-flex; margin-right: auto; color: inherit; }
.ic-header__logo .ic-logo { display: block; height: 17px; width: auto; }
.ic-header__logo .ic-logo--img { height: 40px; }
.ic-nav { position: absolute; left: 50%; transform: translateX(-50%); }
.ic-nav__list { display: flex; gap: clamp(18px, 2.1vw, 34px); margin: 0; padding: 0; list-style: none; }
.ic-nav__list a { position: relative; display: block; padding: 6px 0; font-size: 14px; font-weight: 500; letter-spacing: .01em; }
.ic-nav__list a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: currentColor; transform: scaleX(0); transform-origin: right; transition: transform .6s var(--ic-ease); }
.ic-nav__list a:hover::after, .ic-nav__list .is-current > a::after { transform: scaleX(1); transform-origin: left; }
.ic-header__actions { display: flex; align-items: center; gap: 10px; }
.ic-header.is-over { color: #fff; }
.ic-header.is-over .ic-header__cta { --btn-bg: #fff; --btn-fg: var(--ic-ink); }
.ic-header.is-scrolled { --ic-header-h: 68px; background: color-mix(in srgb, var(--ic-paper) 80%, transparent); -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4); border-bottom-color: rgba(29, 25, 21, .08); }
.ic-header.is-over.is-scrolled { background: rgba(18, 14, 11, .28); border-bottom-color: rgba(255, 255, 255, .12); }
.ic-header.is-hidden { transform: translateY(-105%); }
html.ic-menu-open .ic-header { color: var(--ic-paper); background: transparent; border-color: transparent; -webkit-backdrop-filter: none; backdrop-filter: none; transform: none; }
html.ic-menu-open .ic-header__cta { --btn-bg: var(--ic-paper); --btn-fg: var(--ic-ink); }

.ic-burger { display: inline-flex; align-items: center; gap: 12px; height: 44px; padding: 0 16px 0 18px; border: 1px solid color-mix(in srgb, currentColor 32%, transparent); border-radius: 999px; background: transparent; color: inherit; font: 500 14px/1 var(--ic-sans); cursor: pointer; transition: border-color .4s, background .4s; }
.ic-burger:hover { border-color: currentColor; }
.ic-burger__icon { position: relative; width: 18px; height: 8px; }
.ic-burger__icon i { position: absolute; left: 0; right: 0; height: 1.5px; background: currentColor; transition: transform .6s var(--ic-ease), top .6s var(--ic-ease); }
.ic-burger__icon i:first-child { top: 0; }
.ic-burger__icon i:last-child { top: 6.5px; }
html.ic-menu-open .ic-burger__icon i { top: 3.25px; }
html.ic-menu-open .ic-burger__icon i:first-child { transform: rotate(45deg); }
html.ic-menu-open .ic-burger__icon i:last-child { transform: rotate(-45deg); }

@media (max-width: 1180px) { .ic-nav { display: none; } }
@media (max-width: 600px) {
	.ic-header__cta { display: none; }
	.ic-header__logo .ic-logo { height: 14px; }
	.ic-burger__label { display: none; }
	.ic-burger { padding: 0 13px; }
}

/* Fullscreen menu */
.ic-menu { position: fixed; inset: 0; z-index: 85; overflow-y: auto; background: var(--ic-dark); color: var(--ic-paper); visibility: hidden; clip-path: inset(0 0 100% 0); transition: clip-path 1s var(--ic-ease-io), visibility 0s 1s; }
html.ic-menu-open .ic-menu { visibility: visible; clip-path: inset(0 0 0 0); transition: clip-path 1s var(--ic-ease-io); }
.ic-menu__inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 6vw; align-items: end; min-height: 100%; padding-top: calc(var(--ic-header-h) + 6vh); padding-bottom: 6vh; }
.ic-menu__list { margin: 0; padding: 0; list-style: none; counter-reset: icm; }
.ic-menu__list li { overflow: hidden; counter-increment: icm; border-top: 1px solid rgba(255, 255, 255, .1); }
.ic-menu__list a { display: flex; align-items: flex-start; gap: 18px; padding: .06em 0 .1em; font-size: clamp(2.3rem, 5.4vw, 5.4rem); font-weight: 500; line-height: 1.08; letter-spacing: -.045em; transform: translateY(105%); transition: transform 1.1s var(--ic-ease), color .4s; }
.ic-menu__list a::before { content: counter(icm, decimal-leading-zero); margin-top: 1.3em; font-size: 12px; letter-spacing: .1em; color: var(--ic-accent); }
.ic-menu__list a:hover { color: var(--ic-accent); }
html.ic-menu-open .ic-menu__list a { transform: none; }
.ic-menu__list li:nth-child(1) a { transition-delay: .3s; }
.ic-menu__list li:nth-child(2) a { transition-delay: .36s; }
.ic-menu__list li:nth-child(3) a { transition-delay: .42s; }
.ic-menu__list li:nth-child(4) a { transition-delay: .48s; }
.ic-menu__list li:nth-child(5) a { transition-delay: .54s; }
.ic-menu__list li:nth-child(6) a { transition-delay: .6s; }
.ic-menu__list li:nth-child(n+7) a { transition-delay: .66s; }
.ic-menu__side { display: grid; gap: 28px; }
.ic-menu__media { overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--ic-radius); }
.ic-menu .ic-menu__media img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.25); transition: transform 1.8s var(--ic-ease); }
html.ic-menu-open .ic-menu__media img { transform: scale(1); }
.ic-menu__contact { display: grid; gap: 6px; font-size: 16px; }
.ic-menu__contact .ic-eyebrow { color: rgba(244, 239, 233, .55); margin-bottom: 8px; }
.ic-menu__contact a:hover { color: var(--ic-accent); }
@media (max-width: 900px) {
	.ic-menu__inner { grid-template-columns: 1fr; align-items: start; }
	.ic-menu__media { display: none; }
}

/* Preloader */
.ic-loader { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center; padding: var(--ic-gutter); background: var(--ic-dark); color: var(--ic-paper); animation: icLoaderFailsafe .6s 6s forwards; }
html:not(.ic-js) .ic-loader { display: none; }
.ic-loader__logo { width: min(440px, 72vw); clip-path: inset(0 100% 0 0); }
.ic-loader__logo .ic-logo { display: block; width: 100%; height: auto; }
.ic-loader__meta { position: absolute; left: var(--ic-gutter); right: var(--ic-gutter); bottom: var(--ic-gutter); display: flex; justify-content: space-between; align-items: flex-end; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: rgba(244, 239, 233, .6); }
.ic-loader__count { font-size: clamp(3rem, 9vw, 8rem); font-weight: 300; line-height: .8; letter-spacing: -.05em; color: var(--ic-paper); font-variant-numeric: tabular-nums; }
@keyframes icLoaderFailsafe { to { opacity: 0; visibility: hidden; } }

/* Scroll progress, grain, cursor */
.ic-progress { position: fixed; inset: 0 0 auto; z-index: 95; height: 2px; pointer-events: none; }
.ic-progress span { display: block; height: 100%; background: var(--ic-accent); transform: scaleX(0); transform-origin: 0 50%; }
body.ic-grain::after { content: ""; position: fixed; inset: 0; z-index: 998; pointer-events: none; opacity: .045; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); }
.ic-cursor { position: fixed; top: 0; left: 0; z-index: 1001; display: grid; place-items: center; width: 10px; height: 10px; margin: -5px 0 0 -5px; border-radius: 50%; background: var(--ic-accent); pointer-events: none; opacity: 0; transition: width .45s var(--ic-ease), height .45s var(--ic-ease), margin .45s var(--ic-ease), background-color .4s, opacity .3s; }
.ic-cursor.is-on { opacity: 1; }
.ic-cursor.is-link { width: 44px; height: 44px; margin: -22px 0 0 -22px; background: rgba(200, 135, 95, .22); }
.ic-cursor.is-label { width: 92px; height: 92px; margin: -46px 0 0 -46px; background: rgba(29, 25, 21, .82); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.ic-cursor span { color: #fff; font-size: 12px; font-weight: 500; letter-spacing: .06em; opacity: 0; transition: opacity .3s; white-space: nowrap; }
.ic-cursor.is-label span { opacity: 1; }
@media (pointer: coarse) { .ic-cursor { display: none; } }

/* ==========================================================================
   Widgets
   ========================================================================== */

/* ---------- Hero ---------- */
.ic-hero { --ac: #F6D6C2; position: relative; isolation: isolate; height: var(--ic-hero-h, 100vh); height: var(--ic-hero-h, 100svh); min-height: 620px; overflow: hidden; background: #1a1612; color: #fff; }
.ic-hero__media { position: absolute; inset: 0; z-index: -2; overflow: hidden; transform-origin: 50% 70%; }
.ic-hero .ic-hero__img, .ic-hero .ic-hero__video { position: absolute; left: 0; top: -6%; width: 100%; height: 112%; max-width: none !important; object-fit: cover; object-position: var(--ic-hero-pos, 62% 60%); }
.ic-hero__shade { position: absolute; inset: 0; z-index: -1; opacity: var(--ic-hero-shade, .85); background: linear-gradient(180deg, rgba(12, 9, 7, .55) 0%, rgba(12, 9, 7, 0) 26%, rgba(12, 9, 7, 0) 40%, rgba(12, 9, 7, .72) 100%), linear-gradient(90deg, rgba(12, 9, 7, .5) 0%, rgba(12, 9, 7, .15) 45%, rgba(12, 9, 7, 0) 65%); }
.ic-hero__inner { display: flex; flex-direction: column; justify-content: flex-end; height: 100%; padding-top: calc(var(--ic-header-h) + 24px); padding-bottom: calc(var(--ic-hero-stats, 100px) + clamp(28px, 4vw, 60px)); }
.ic-hero__eyebrow { color: rgba(255, 255, 255, .85); }
.ic-hero__title { margin: 0 0 clamp(24px, 3vw, 44px) -.05em; font-size: clamp(3.6rem, 12.4vw, 15.5rem); font-weight: 500; line-height: .84; letter-spacing: -.058em; }
.ic-hero__title em { display: inline-block; padding-right: .05em; }
.ic-hero__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 28px 48px; }
.ic-hero__sub { max-width: 38ch; margin: 0; font-size: clamp(1.02rem, 1.25vw, 1.28rem); line-height: 1.45; color: rgba(255, 255, 255, .86); }
.ic-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.ic-hero__stats { position: absolute; left: 0; right: 0; bottom: 0; border-top: 1px solid rgba(255, 255, 255, .2); background: rgba(16, 12, 9, .24); -webkit-backdrop-filter: blur(14px) saturate(1.3); backdrop-filter: blur(14px) saturate(1.3); }
.ic-hero__stats-in { display: flex; align-items: stretch; min-height: var(--ic-hero-stats, 100px); }
.ic-hero__stat { flex: 1 1 0; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 18px 24px; border-left: 1px solid rgba(255, 255, 255, .16); }
.ic-hero__stat:first-child { padding-left: 0; border-left: 0; }
.ic-hero__stat strong { font-size: clamp(1.1rem, 1.55vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.ic-hero__stat span { font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: rgba(255, 255, 255, .68); }
.ic-hero__scroll { flex: 0 0 auto; display: flex; align-items: center; gap: 14px; padding: 0 0 0 28px; border: 0; background: none; color: inherit; font: 500 11.5px/1 var(--ic-sans); letter-spacing: .16em; text-transform: uppercase; cursor: pointer; }
.ic-hero__scroll i { position: relative; width: 1px; height: 46px; overflow: hidden; background: rgba(255, 255, 255, .3); }
.ic-hero__scroll i::after { content: ""; position: absolute; left: 0; top: -50%; width: 100%; height: 50%; background: #fff; animation: icScrollLine 2.2s var(--ic-ease-io) infinite; }
@keyframes icScrollLine { to { top: 100%; } }
@media (max-width: 900px) {
	.ic-hero { --ic-hero-stats: 150px; }
	.ic-hero__stats-in { flex-wrap: wrap; }
	.ic-hero__stat { flex: 1 1 50%; padding: 14px 16px; border-left: 0; }
	.ic-hero__stat:nth-child(odd) { padding-left: 0; }
	.ic-hero__stat:nth-child(even) { border-left: 1px solid rgba(255, 255, 255, .16); }
	.ic-hero__stat:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .12); }
	.ic-hero__scroll { display: none; }
	.ic-hero__actions .ic-btn { height: 50px; }
}

/* ---------- Section heading widget ---------- */
.ic-heading-w__grid { display: grid; gap: 28px; }
.ic-align-center { text-align: center; }
.ic-align-center .ic-eyebrow { justify-content: center; }
.ic-align-center .ic-heading-w__side { display: grid; justify-items: center; gap: 28px; max-width: 60ch; margin-inline: auto; }
.ic-align-split .ic-heading-w__grid { grid-template-columns: 1.4fr 1fr; align-items: end; column-gap: 6vw; }
.ic-heading-w__side { display: grid; gap: 28px; justify-items: start; }
@media (max-width: 900px) { .ic-align-split .ic-heading-w__grid { grid-template-columns: 1fr; } }

/* ---------- Text reveal ---------- */
.ic-reveal__grid { display: grid; grid-template-columns: minmax(150px, 1fr) 3.2fr; gap: 24px 5vw; align-items: start; }
.ic-reveal__label { padding-top: .9em; }
.ic-reveal__text { margin: 0; font-size: clamp(1.85rem, 3.7vw, 4.2rem); font-weight: 450; line-height: 1.1; letter-spacing: -.035em; text-wrap: pretty; }
.ic-reveal__foot { display: grid; grid-template-columns: 1fr auto; gap: 28px 40px; align-items: end; margin-top: clamp(40px, 5vw, 80px); padding-top: 28px; border-top: 1px solid var(--line); }
.ic-reveal__aside { max-width: 56ch; margin: 0; font-size: 1.05rem; color: var(--muted); }
@media (max-width: 900px) {
	.ic-reveal__grid, .ic-reveal__foot { grid-template-columns: 1fr; }
	.ic-reveal__label { padding-top: 0; }
}

/* ---------- Counters ---------- */
.ic-stats { padding-bottom: clamp(88px, 10vw, 170px); }
/* Each item draws its left/top divider; the grid overhangs 28px left and clips it, so outer edges stay clean. */
.ic-stats__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); margin-left: -28px; padding-top: 1px; clip-path: inset(0 0 0 28px); }
.ic-stat { padding: 36px 28px 14px; box-shadow: -1px 0 0 var(--line), 0 -1px 0 var(--line); }
.ic-stat__num { margin: 0 0 22px; font-size: clamp(3rem, 5.6vw, 6.2rem); font-weight: 400; line-height: .9; letter-spacing: -.06em; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ic-stat__num sup { position: relative; top: .3em; margin-left: .12em; font-size: .3em; font-weight: 500; letter-spacing: 0; vertical-align: top; color: var(--ac); }
.ic-stat__label { margin: 0 0 6px; font-size: 1.05rem; font-weight: 500; }
.ic-stat__text { max-width: 30ch; margin: 0; font-size: .95rem; color: var(--muted); }

/* ---------- Expanding image ---------- */
.ic-xr { position: relative; height: var(--ic-xr-len, 240vh); background: var(--bg); }
.ic-xr__sticky { position: sticky; top: 0; display: flex; align-items: center; justify-content: center; height: 100vh; height: 100svh; overflow: hidden; }
.ic-xr__frame { position: absolute; inset: 0; overflow: hidden; background: #2a221c; will-change: clip-path; }
.ic-xr .ic-xr__img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover; }
.ic-xr__shade { position: absolute; inset: 0; background: radial-gradient(ellipse at center, rgba(10, 8, 6, .6), rgba(10, 8, 6, .3) 70%); }
.ic-xr__content { --ac: #F6D6C2; position: relative; z-index: 2; display: flex; flex-direction: column; align-items: center; text-align: center; color: #fff; }
.ic-xr__content .ic-eyebrow { color: rgba(255, 255, 255, .8); }
.ic-xr__title { margin: 0 0 24px; font-size: clamp(2.8rem, 8vw, 9rem); font-weight: 500; line-height: .92; letter-spacing: -.05em; }
.ic-xr__text { max-width: 46ch; margin: 0 auto; font-size: clamp(1rem, 1.2vw, 1.2rem); color: rgba(255, 255, 255, .88); }
.ic-static .ic-xr { height: auto; }
.ic-static .ic-xr__sticky { position: relative; height: min(92vh, 900px); }

/* ---------- Concept panels ---------- */
.ic-pillars__list { display: flex; gap: 10px; height: clamp(520px, 76vh, 820px); }
.ic-pillar { position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; border-radius: var(--ic-radius); background: #2a221c; color: #fff; cursor: pointer; transition: flex-grow 1.1s var(--ic-ease); }
.ic-pillar.is-active { flex-grow: 3.4; cursor: default; }
.ic-pillars .ic-pillar img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover; object-position: 50% 68%; filter: saturate(.75) brightness(.8); transform: scale(1.12); transition: transform 1.6s var(--ic-ease), filter 1s; }
.ic-pillars .ic-pillar.is-active img { filter: none; transform: scale(1); }
.ic-pillar__shade { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, .28), rgba(0, 0, 0, 0) 30%, rgba(0, 0, 0, .7)); }
.ic-pillar__num { position: absolute; top: 22px; left: 24px; font-size: 12px; font-weight: 500; letter-spacing: .14em; }
.ic-pillar__label { position: absolute; left: 22px; bottom: 26px; font-size: clamp(1.1rem, 1.5vw, 1.5rem); font-weight: 500; letter-spacing: -.01em; white-space: nowrap; writing-mode: vertical-rl; transform: rotate(180deg); transition: opacity .4s; }
.ic-pillar.is-active .ic-pillar__label { opacity: 0; }
.ic-pillar__body { position: absolute; left: 30px; right: 30px; bottom: 30px; min-width: 300px; opacity: 0; transform: translateY(24px); transition: opacity .4s, transform .9s var(--ic-ease); }
.ic-pillar.is-active .ic-pillar__body { opacity: 1; transform: none; transition-delay: .3s; }
.ic-pillar__title { margin: 0 0 14px; font-size: clamp(1.8rem, 3vw, 3rem); font-weight: 500; line-height: 1; letter-spacing: -.04em; }
.ic-pillar__text { max-width: 44ch; margin: 0; font-size: 1rem; line-height: 1.5; color: rgba(255, 255, 255, .88); }
@media (max-width: 1024px) {
	.ic-pillars__list { flex-direction: column; height: auto; }
	.ic-pillar { flex: none; height: 104px; transition: height 1s var(--ic-ease); }
	.ic-pillar.is-active { height: min(480px, 78vh); }
	.ic-pillar__num { top: 52px; transform: translateY(-50%); }
	.ic-pillar__label { top: 52px; bottom: auto; left: 64px; writing-mode: horizontal-tb; transform: translateY(-50%); }
	.ic-pillar__body { left: 22px; right: 22px; bottom: 24px; min-width: 0; }
}

/* ---------- Image + text ---------- */
.ic-split__grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(48px, 7vw, 140px); align-items: center; }
.ic-split--flip .ic-split__media { order: 2; }
.ic-split__media { position: relative; }
.ic-split__media.has-second { padding-bottom: 9%; }
.ic-split__frame { position: relative; margin: 0; overflow: hidden; aspect-ratio: var(--ic-ratio, 4 / 5); border-radius: var(--ic-radius); background: var(--card); }
.ic-split .ic-split__frame img { position: absolute; left: 0; top: -8%; width: 100%; height: 116%; max-width: none !important; object-fit: cover; }
.ic-split__second { position: absolute; right: -6%; bottom: 0; width: 42%; margin: 0; overflow: hidden; aspect-ratio: 4 / 5; border: 10px solid var(--bg); border-radius: calc(var(--ic-radius) + 4px); box-shadow: 0 30px 60px -24px rgba(0, 0, 0, .4); }
.ic-split--flip .ic-split__second { right: auto; left: -6%; }
.ic-split .ic-split__second img { width: 100%; height: 100%; object-fit: cover; }
.ic-split__caption { margin: 16px 0 0; font-size: 11.5px; letter-spacing: .13em; text-transform: uppercase; color: var(--muted); }
.ic-split__media.has-second .ic-split__caption { max-width: 52%; }
.ic-split--flip .ic-split__media.has-second .ic-split__caption { margin-left: auto; text-align: right; }
.ic-split__body .ic-h2 { margin-bottom: 28px; }
.ic-split__text { max-width: 52ch; font-size: clamp(1rem, 1.15vw, 1.15rem); color: var(--muted); }
.ic-split__text p { margin: 0 0 1em; }
.ic-split__cta { margin-top: 36px; }
@media (max-width: 900px) {
	.ic-split__grid { grid-template-columns: 1fr; }
	.ic-split--flip .ic-split__media { order: 0; }
	.ic-split__second { right: 12px; width: 40%; border-width: 6px; }
	.ic-split--flip .ic-split__second { left: 12px; }
}

/* ---------- Marquee ---------- */
.ic-marquee { overflow: hidden; padding-block: clamp(26px, 4.5vw, 72px); }
.ic-marquee__track { display: flex; width: max-content; will-change: transform; }
.ic-marquee__group { display: flex; flex-shrink: 0; align-items: center; }
.ic-marquee__item { padding: 0 .26em; font-size: clamp(3.2rem, 9.5vw, 10.5rem); font-weight: 500; line-height: 1.05; letter-spacing: -.05em; white-space: nowrap; }
.ic-marquee--mixed .ic-marquee__item:nth-child(4n+3) { font-family: var(--ic-serif); font-style: italic; font-weight: 400; letter-spacing: -.02em; }
.ic-marquee--outline .ic-marquee__item { color: transparent; -webkit-text-stroke: 1.5px var(--fg); }
.ic-marquee__sep { flex-shrink: 0; width: clamp(20px, 2.6vw, 40px); height: auto; margin: 0 .15em; color: var(--ac); }
.ic-static .ic-marquee__track { animation: icMarquee 45s linear infinite; }
@keyframes icMarquee { to { transform: translateX(-50%); } }

/* ---------- Apartments ---------- */
.ic-types__filters { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.ic-chip { height: 42px; padding: 0 18px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: inherit; font: 500 14px/1 var(--ic-sans); cursor: pointer; transition: background .35s, color .35s, border-color .35s; }
.ic-chip sup { margin-left: 2px; font-size: 10px; opacity: .6; }
.ic-chip:hover { border-color: var(--fg); }
.ic-chip.is-active { border-color: var(--fg); background: var(--fg); color: var(--bg); }
.ic-types__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, var(--ic-card-min, 340px)), 1fr)); gap: 16px; }
.ic-type { position: relative; display: flex; flex-direction: column; gap: 12px; padding: 20px 20px 22px; border-radius: 8px; background: var(--card); cursor: pointer; transition: background-color .5s; }
.ic-type[hidden] { display: none; }
.ic-type:hover { background: var(--ic-blush); }
.ic-type__top { display: flex; justify-content: space-between; gap: 12px; min-height: 22px; font-size: 11.5px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ic-type__beds { transition: opacity .3s; }
.ic-type:hover .ic-type__beds, .ic-type:focus-visible .ic-type__beds { opacity: 0; }
.ic-type__badge { padding: 4px 10px; border-radius: 99px; background: var(--ic-ink); color: var(--ic-paper); letter-spacing: .08em; }
.ic-type__plan { position: relative; aspect-ratio: 1 / 1; min-height: 0; overflow: hidden; }
.ic-types .ic-type__plan img { position: absolute; left: 5%; top: 5%; width: 90%; height: 90%; max-width: none; object-fit: contain; mix-blend-mode: multiply; transition: transform 1s var(--ic-ease); }
.ic-types .ic-type:hover .ic-type__plan img { transform: scale(1.04); }
.ic-type__foot { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; padding-top: 16px; border-top: 1px solid var(--line); }
.ic-type__title { margin: 0 0 4px; font-size: 1.4rem; font-weight: 500; line-height: 1.1; letter-spacing: -.03em; }
.ic-type__sub { margin: 0; font-size: 14px; color: var(--muted); }
.ic-type__area { display: flex; align-items: baseline; gap: 4px; margin: 0; white-space: nowrap; }
.ic-type__area strong { font-size: 1.9rem; font-weight: 400; letter-spacing: -.04em; line-height: 1; }
.ic-type__area span { font-size: 13px; color: var(--muted); }
.ic-type__open { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--fg); color: var(--bg); transform: scale(0); transition: transform .6s var(--ic-ease); }
.ic-type__open svg { width: 14px; height: 14px; }
.ic-type:hover .ic-type__open, .ic-type:focus-visible .ic-type__open { transform: scale(1); }

/* Drawer */
.ic-drawer { position: fixed; inset: 0; z-index: 200; visibility: hidden; pointer-events: none; transition: visibility 0s .9s; }
.ic-drawer.is-open { visibility: visible; pointer-events: auto; transition: none; }
.ic-drawer__overlay { position: absolute; inset: 0; background: rgba(15, 12, 9, .55); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); opacity: 0; transition: opacity .6s; }
.ic-drawer.is-open .ic-drawer__overlay { opacity: 1; }
.ic-drawer__panel {
	--fg: var(--ic-ink); --bg: var(--ic-paper); --ac: var(--ic-deep);
	--muted: rgba(29, 25, 21, .6); --line: rgba(29, 25, 21, .13);
	position: absolute; top: 0; right: 0; bottom: 0; width: min(1180px, 94vw);
	overflow-y: auto; overscroll-behavior: contain;
	background: var(--ic-paper); color: var(--ic-ink);
	transform: translateX(100%); transition: transform .9s var(--ic-ease);
}
.ic-drawer.is-open .ic-drawer__panel { transform: none; }
.ic-drawer__close { position: sticky; top: 16px; z-index: 2; float: right; display: grid; place-items: center; width: 52px; height: 52px; margin: 16px 16px 0 0; border: 1px solid var(--line); border-radius: 50%; background: var(--ic-paper); color: inherit; cursor: pointer; transition: transform .6s var(--ic-ease); }
.ic-drawer__close:hover { transform: rotate(90deg); }
.ic-drawer__close svg { width: 16px; height: 16px; }
.ic-drawer__grid { display: grid; grid-template-columns: 1.25fr 1fr; min-height: 100%; }
.ic-drawer__plan { display: flex; align-items: center; justify-content: center; min-height: 100vh; padding: clamp(24px, 4vw, 64px); background: #F8EFE8; }
.ic-drawer .ic-drawer__plan img { width: auto; max-height: 82vh; mix-blend-mode: multiply; }
.ic-drawer__info { display: flex; flex-direction: column; justify-content: center; padding: clamp(28px, 4vw, 64px) clamp(24px, 3.5vw, 56px); }
.ic-drawer__title { margin: 0 0 28px; font-size: clamp(2rem, 3.6vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.ic-specs { display: flex; flex-wrap: wrap; gap: 20px 36px; margin: 0 0 30px; padding: 20px 0; border-block: 1px solid var(--line); }
.ic-specs dt { margin-bottom: 6px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ic-specs dd { margin: 0; font-size: 1.5rem; letter-spacing: -.03em; }
.ic-drawer__label { margin: 0 0 6px; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.ic-rooms { width: 100%; margin: 0 0 32px; border-collapse: collapse; font-size: 15px; }
.ic-rooms td { padding: 8px 0; border: 0; border-bottom: 1px solid var(--line); }
.ic-rooms td:first-child { width: 36px; font-size: 11px; color: var(--ac); }
.ic-rooms td:last-child { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ic-drawer .ic-btn { align-self: flex-start; }
html.ic-lock, html.ic-lock body { overflow: hidden; }
@media (max-width: 900px) {
	.ic-drawer__panel { width: 100vw; }
	.ic-drawer__grid { grid-template-columns: 1fr; }
	.ic-drawer__plan { min-height: auto; padding-top: 84px; }
	.ic-drawer .ic-drawer__plan img { max-height: 60vh; }
}

/* ---------- Horizontal gallery ---------- */
.ic-hg { position: relative; }
.ic-hg__outer { position: relative; }
.ic-hg__sticky { position: sticky; top: 0; display: flex; flex-direction: column; justify-content: center; gap: clamp(22px, 3.5vh, 44px); height: 100vh; height: 100svh; padding-top: calc(var(--ic-header-h) - 10px); overflow: hidden; }
.ic-hg__head .ic-head { margin-bottom: 0; }
.ic-hg__head .ic-h2 { font-size: clamp(2.2rem, 4.6vw, 5.2rem); }
.ic-hg__track { display: flex; gap: clamp(12px, 1.6vw, 26px); width: max-content; padding-inline: var(--ic-gutter); will-change: transform; }
.ic-hg__item { position: relative; display: block; flex: 0 0 auto; height: clamp(300px, 50vh, 620px); overflow: hidden; border-radius: var(--ic-radius); background: #2a221c; color: #fff; }
.ic-hg__item--portrait { aspect-ratio: 3 / 4; }
.ic-hg__item--square { aspect-ratio: 1 / 1; }
.ic-hg__item--landscape { aspect-ratio: 4 / 3; }
.ic-hg__item--wide { aspect-ratio: 21 / 9; }
.ic-hg__img { position: absolute; inset: 0 -8%; display: block; }
.ic-hg .ic-hg__img img { width: 100%; height: 100%; max-width: none !important; object-fit: cover; transition: transform 1.4s var(--ic-ease); }
.ic-hg .ic-hg__item:hover .ic-hg__img img { transform: scale(1.05); }
.ic-hg__cap { position: absolute; left: 16px; right: 16px; bottom: 14px; display: flex; align-items: baseline; gap: 10px; font-size: 13px; letter-spacing: .01em; text-shadow: 0 1px 14px rgba(0, 0, 0, .55); }
.ic-hg__cap b { font-size: 11px; font-weight: 500; opacity: .75; }
.ic-hg__foot { display: flex; align-items: center; gap: 24px; font-size: 13px; font-variant-numeric: tabular-nums; }
.ic-hg__count { color: var(--muted); }
.ic-hg__count b { color: var(--fg); font-weight: 500; }
.ic-hg__bar { position: relative; flex: 1; height: 1px; background: var(--line); }
.ic-hg__bar i { position: absolute; inset: 0; background: var(--fg); transform: scaleX(0); transform-origin: 0 50%; }
@media (max-width: 767px) {
	.ic-hg__sticky { position: relative; height: auto; padding-block: 96px 72px; }
	.ic-hg__track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 6px; }
	.ic-hg__track::-webkit-scrollbar { display: none; }
	.ic-hg__item { height: 58vh; max-height: 520px; scroll-snap-align: center; }
	.ic-hg__img { inset: 0; }
	.ic-hg__foot { display: none; }
}
.ic-static .ic-hg__outer { height: auto !important; }
.ic-static .ic-hg__sticky { position: relative; height: auto; padding-block: 120px 90px; }
.ic-static .ic-hg__track { width: auto; overflow-x: auto; }
.ic-static .ic-hg__img { inset: 0; }

/* Lightbox */
.ic-lightbox { position: fixed; inset: 0; z-index: 300; display: flex; align-items: center; justify-content: center; background: rgba(12, 10, 8, .95); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s .5s; }
.ic-lightbox.is-open { opacity: 1; visibility: visible; transition: opacity .5s; }
.ic-lightbox__img { max-width: 92vw; max-height: 82vh; border-radius: 4px; object-fit: contain; }
.ic-lightbox__cap { position: absolute; left: var(--ic-gutter); right: var(--ic-gutter); bottom: 24px; display: flex; justify-content: space-between; color: rgba(255, 255, 255, .85); font-size: 14px; }
.ic-lightbox button { position: absolute; display: grid; place-items: center; width: 56px; height: 56px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; background: transparent; color: #fff; cursor: pointer; transition: background .3s, border-color .3s; }
.ic-lightbox button:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.ic-lightbox button svg { width: 18px; height: 18px; }
.ic-lightbox__close { top: 20px; right: 20px; }
.ic-lightbox__prev { left: 20px; top: 50%; margin-top: -28px; }
.ic-lightbox__next { right: 20px; top: 50%; margin-top: -28px; }
@media (max-width: 600px) { .ic-lightbox__prev, .ic-lightbox__next { top: auto; bottom: 64px; } }

/* ---------- Bento ---------- */
.ic-bento__grid { display: grid; grid-template-columns: repeat(12, 1fr); grid-auto-rows: var(--ic-bento-row, clamp(130px, 13vw, 240px)); grid-auto-flow: dense; gap: var(--ic-bento-gap, 14px); }
.ic-bento__item { position: relative; grid-column: span var(--c, 4); grid-row: span var(--r, 2); margin: 0; overflow: hidden; border-radius: var(--ic-radius); background: var(--card); color: #fff; }
.ic-bento__img { position: absolute; inset: -6% 0; display: block; }
.ic-bento .ic-bento__img img { width: 100%; height: 100%; max-width: none !important; object-fit: cover; transition: transform 1.6s var(--ic-ease); }
.ic-bento .ic-bento__item:hover .ic-bento__img img { transform: scale(1.05); }
.ic-bento__cap { position: absolute; inset: auto 0 0 0; display: flex; flex-direction: column; gap: 6px; padding: 70px 22px 20px; background: linear-gradient(180deg, transparent, rgba(12, 9, 7, .66)); }
.ic-bento__cap strong { font-size: clamp(1.15rem, 1.6vw, 1.6rem); font-weight: 500; letter-spacing: -.02em; line-height: 1.1; }
.ic-bento__cap span { max-width: 44ch; max-height: 0; overflow: hidden; font-size: 14px; line-height: 1.45; opacity: 0; transition: max-height .9s var(--ic-ease), opacity .5s; }
.ic-bento__item:hover .ic-bento__cap span { max-height: 6em; opacity: .88; }
@media (hover: none) { .ic-bento__cap span { max-height: none; opacity: .88; } }
@media (max-width: 767px) {
	.ic-bento__grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 44vw; }
	.ic-bento__item { grid-column: span 2; grid-row: span 2; }
	.ic-bento__item:nth-child(n+3) { grid-column: span 1; }
	.ic-bento__item:nth-child(n+3):last-child:nth-child(odd) { grid-column: span 2; }
}

/* ---------- Stacking cards ---------- */
.ic-stack__cards { position: relative; display: flex; flex-direction: column; gap: 4vh; }
.ic-stack__card { position: sticky; top: calc(var(--ic-header-h) + 18px + var(--i, 0) * 16px); display: grid; grid-template-columns: 1fr 1fr; min-height: min(72vh, 680px); overflow: hidden; border: 1px solid var(--line); border-radius: 12px; background: var(--stack-card, #fff); transform-origin: 50% 0; box-shadow: 0 -24px 60px -36px rgba(29, 25, 21, .35); }
.ic-theme-dark .ic-stack__card { --stack-card: #1E1915; }
.ic-stack__body { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding: clamp(28px, 4vw, 64px); }
.ic-stack__top { display: flex; justify-content: space-between; align-items: flex-start; gap: 20px; }
.ic-stack__top .ic-eyebrow { margin: 0; }
.ic-stack__num { font-size: clamp(3.5rem, 7vw, 7.5rem); font-weight: 300; line-height: .8; letter-spacing: -.06em; color: var(--ac); }
.ic-stack__title { margin: 0 0 18px; font-size: clamp(1.9rem, 3.4vw, 3.4rem); font-weight: 500; line-height: 1; letter-spacing: -.045em; }
.ic-stack__text { max-width: 48ch; margin: 0 0 24px; font-size: clamp(1rem, 1.1vw, 1.1rem); color: var(--muted); }
.ic-stack__facts { display: flex; flex-wrap: wrap; gap: 8px; margin: 0; padding: 0; list-style: none; }
.ic-stack__facts li { padding: 8px 14px; border: 1px solid var(--line); border-radius: 999px; font-size: 13.5px; line-height: 1.2; }
.ic-stack__media { position: relative; overflow: hidden; background: #fff; }
.ic-stack .ic-stack__media img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none !important; object-fit: cover; }
.ic-stack .ic-fit-contain img { padding: 8%; object-fit: contain; }
.ic-stack__shade { position: absolute; inset: 0; background: #0d0a08; opacity: 0; pointer-events: none; }
@media (max-width: 900px) {
	.ic-stack__card { position: relative; top: auto; grid-template-columns: 1fr; min-height: 0; }
	.ic-stack__media { order: -1; aspect-ratio: 16 / 10; }
}

/* ---------- Feature list ---------- */
.ic-amen__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 7vw, 140px); align-items: start; }
.ic-amen__aside { position: sticky; top: calc(var(--ic-header-h) + 32px); }
.ic-amen__aside .ic-head { margin-bottom: 40px; }
.ic-amen__img { margin: 0; overflow: hidden; aspect-ratio: 4 / 3; border-radius: var(--ic-radius); }
.ic-amen .ic-amen__img img { width: 100%; height: 118%; max-width: none !important; object-fit: cover; }
.ic-amen__list { margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.ic-amen__item { display: grid; grid-template-columns: 64px 1fr; align-items: baseline; padding: clamp(16px, 1.7vw, 24px) 0; border-bottom: 1px solid var(--line); font-size: clamp(1.1rem, 1.55vw, 1.55rem); line-height: 1.25; letter-spacing: -.02em; transition: color .4s; }
.ic-amen__num { font-size: 12px; letter-spacing: .1em; color: var(--ac); font-variant-numeric: tabular-nums; }
.ic-amen__text { transition: transform .7s var(--ic-ease); }
.ic-amen__item:hover .ic-amen__text { transform: translateX(10px); }
@media (max-width: 900px) {
	.ic-amen__grid { grid-template-columns: 1fr; }
	.ic-amen__aside { position: relative; top: auto; }
	.ic-amen__item { grid-template-columns: 44px 1fr; }
}

/* ---------- Location ---------- */
.ic-loc__grid { display: grid; grid-template-columns: 1fr 1.5fr; gap: clamp(40px, 6vw, 110px); align-items: center; }
.ic-loc .ic-head { margin-bottom: 0; }
.ic-loc__legend { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; margin: 28px 0 0; padding: 0; list-style: none; font-size: 14px; color: var(--muted); }
.ic-loc__legend li { display: flex; align-items: center; gap: 10px; }
.ic-loc__legend b { display: grid; flex-shrink: 0; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--fg); color: var(--bg); font-size: 11px; font-weight: 600; }
.ic-loc__cta { margin-top: 36px; }
.ic-loc__map { position: relative; isolation: isolate; overflow: hidden; aspect-ratio: 1110 / 910; border-radius: 10px; background: #B98463; }
.ic-loc__img { position: absolute; inset: 0; }
.ic-loc .ic-loc__img img { width: 100%; height: 100%; max-width: none !important; object-fit: cover; }
.ic-loc__map.is-tinted .ic-loc__img img { filter: grayscale(1) contrast(1.08) brightness(1.1); mix-blend-mode: multiply; }
.ic-loc__map.is-tinted::after { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(135deg, rgba(255, 235, 220, .08), rgba(80, 38, 16, .28)); pointer-events: none; }
.ic-loc__ring { position: absolute; left: var(--x); top: var(--y); z-index: 1; width: var(--d); aspect-ratio: 1; transform: translate(-50%, -50%); pointer-events: none; }
.ic-loc__ring i { position: absolute; inset: 0; border: 1px dashed rgba(255, 255, 255, .6); border-radius: 50%; background: rgba(255, 255, 255, .08); }
.ic-loc__ring em { position: absolute; left: 50%; top: 100%; padding: 3px 9px; border-radius: 99px; background: rgba(20, 14, 10, .6); color: #fff; font-size: 10.5px; font-style: normal; letter-spacing: .12em; white-space: nowrap; transform: translate(-50%, -50%); }
.ic-loc__poi { position: absolute; left: var(--x); top: var(--y); z-index: 2; transform: translate(-11px, -50%); }
.ic-loc__poi-in { display: flex; align-items: center; gap: 8px; }
.ic-loc__poi b { display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: #fff; color: var(--ic-ink); font-size: 11px; font-weight: 600; box-shadow: 0 0 0 5px rgba(255, 255, 255, .22); }
.ic-loc__poi em { color: #fff; font-size: 10.5px; font-style: normal; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; text-shadow: 0 1px 8px rgba(0, 0, 0, .5); }
.ic-loc__pin { position: absolute; left: var(--x); top: var(--y); z-index: 3; transform: translate(-50%, -100%); }
.ic-loc__pin-in { position: relative; display: flex; flex-direction: column; align-items: center; color: #fff; }
.ic-loc__pin svg { width: 34px; height: auto; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, .35)); }
.ic-loc__pin em { position: absolute; bottom: calc(100% + 10px); padding: 7px 12px; border-radius: 99px; background: #fff; color: var(--ic-ink); font-size: 11.5px; font-style: normal; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; white-space: nowrap; box-shadow: 0 10px 30px -10px rgba(0, 0, 0, .4); }
.ic-loc__pulse { position: absolute; left: 50%; bottom: -8px; width: 16px; height: 16px; margin-left: -8px; border-radius: 50%; background: rgba(255, 255, 255, .75); animation: icPulse 2.2s ease-out infinite; }
@keyframes icPulse { from { transform: scale(.4); opacity: .9; } to { transform: scale(3.4); opacity: 0; } }
@media (max-width: 900px) { .ic-loc__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.ic-loc__poi em { display: none; }
	.ic-loc__pin em { font-size: 10px; padding: 5px 9px; }
	.ic-loc__legend { grid-template-columns: 1fr; }
}

/* ---------- Contact ---------- */
.ic-contact__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 120px); align-items: start; }
.ic-contact .ic-head { margin-bottom: 0; }
.ic-contact .ic-h2 { font-size: clamp(2.8rem, 6.2vw, 7rem); }
.ic-contact .ic-eyebrow, .ic-contact .ic-head__intro { color: color-mix(in srgb, var(--fg) 80%, transparent); }
.ic-contact__details { margin: 44px 0 0; }
.ic-contact__item { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 20px 0; border-top: 1px solid var(--line); }
.ic-contact__item dt { padding-top: .45em; font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; opacity: .8; }
.ic-contact__item dd { margin: 0; font-size: clamp(1.15rem, 1.6vw, 1.5rem); line-height: 1.35; letter-spacing: -.02em; }
.ic-contact__item a { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .7s var(--ic-ease); }
.ic-contact__item a:hover { background-size: 100% 1px; }
.ic-form, .ic-form-host { --fg: var(--ic-ink); --line: rgba(29, 25, 21, .18); --muted: rgba(29, 25, 21, .6); position: relative; border-radius: 12px; background: var(--ic-paper); color: var(--ic-ink); box-shadow: 0 40px 90px -40px rgba(40, 20, 10, .5); }
.ic-form { display: grid; grid-template-columns: 1fr 1fr; gap: 22px 28px; padding: clamp(24px, 3.4vw, 52px); }
.ic-form-host { padding: clamp(24px, 3vw, 40px); }
.ic-form__title { grid-column: 1 / -1; margin: 0 0 4px; font-size: clamp(1.4rem, 2vw, 2rem); font-weight: 500; letter-spacing: -.03em; }
.ic-field { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ic-field > span { font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.ic-field input, .ic-field select, .ic-field textarea { width: 100%; padding: 10px 0 12px; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; color: inherit; font: 400 17px/1.4 var(--ic-sans); outline: none; -webkit-appearance: none; appearance: none; transition: border-color .3s; }
.ic-field select { padding-right: 24px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231D1915' stroke-width='1.4'/%3E%3C/svg%3E") no-repeat right 2px center / 12px 8px; cursor: pointer; }
.ic-field textarea { min-height: 110px; resize: vertical; }
.ic-field input:focus, .ic-field select:focus, .ic-field textarea:focus { border-bottom-color: var(--ic-accent); }
.ic-field--full { grid-column: 1 / -1; }
.ic-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 20px; margin-top: 6px; }
.ic-form__foot small { max-width: 32ch; font-size: 12.5px; color: var(--muted); }
.ic-form__status { grid-column: 1 / -1; min-height: 1.4em; margin: 0; font-size: 15px; }
.ic-form.is-sent .ic-form__status { color: #2F6B3F; }
.ic-form.is-error .ic-form__status { color: #A12E1B; }
.ic-form.is-sending button[type="submit"] { opacity: .6; pointer-events: none; }
.ic-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
@media (max-width: 900px) { .ic-contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 600px) {
	.ic-form { grid-template-columns: 1fr; }
	.ic-contact__item { grid-template-columns: 1fr; gap: 4px; }
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ic-footer { --fg: #EAE2D9; --bg: var(--ic-dark); --muted: rgba(234, 226, 217, .58); --line: rgba(234, 226, 217, .14); --ac: var(--ic-accent); overflow: hidden; padding-top: clamp(90px, 11vw, 180px); background: var(--ic-dark); color: var(--fg); }
.ic-footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 48px 5vw; }
.ic-footer__title { margin: 0 0 24px; font-size: clamp(2.4rem, 4.6vw, 5rem); font-weight: 500; line-height: .98; letter-spacing: -.045em; }
.ic-footer__tagline { max-width: 42ch; margin: 0 0 32px; color: var(--muted); }
.ic-footer__col { display: flex; flex-direction: column; gap: 10px; padding-top: 14px; font-size: 16px; }
.ic-footer__col p { margin: 0; }
.ic-footer__col .ic-eyebrow { margin-bottom: 12px; }
.ic-footer__menu { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; }
.ic-footer__menu a { position: relative; }
.ic-footer__menu a:hover { color: var(--ic-accent); }
.ic-footer__brand { margin-top: clamp(64px, 9vw, 150px); color: var(--fg); }
.ic-footer__logo { display: block; width: 100%; height: auto; }
.ic-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px 32px; margin-top: clamp(24px, 3vw, 40px); padding: 26px 0 30px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--muted); }
.ic-footer__social { display: flex; gap: 22px; }
@media (max-width: 1024px) {
	.ic-footer__top { grid-template-columns: 1fr 1fr; }
	.ic-footer__intro { grid-column: 1 / -1; }
}
@media (max-width: 600px) { .ic-footer__top { grid-template-columns: 1fr; } }

/* ==========================================================================
   Classic pages / posts
   ========================================================================== */
.ic-page-head { padding-top: calc(var(--ic-header-h) + clamp(60px, 8vw, 140px)); padding-bottom: clamp(48px, 6vw, 96px); }
.ic-page-head + .ic-section, .ic-page-head + article.ic-section { padding-top: clamp(48px, 6vw, 96px); }
.ic-prose { max-width: 760px; }
.ic-single-media img { width: 100%; border-radius: var(--ic-radius); }
.ic-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 48px 24px; }
.ic-post-card__media { overflow: hidden; aspect-ratio: 4 / 3; margin-bottom: 20px; border-radius: var(--ic-radius); }
.ic-post-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ic-ease); }
.ic-post-card:hover .ic-post-card__media img { transform: scale(1.04); }
.ic-post-card .ic-eyebrow { margin-bottom: 10px; }
.ic-post-card__title { margin: 0 0 10px; font-size: 1.6rem; letter-spacing: -.03em; }
.ic-post-card__excerpt { color: rgba(29, 25, 21, .65); }
.ic-pagination { margin-top: 64px; }
.ic-pagination .nav-links { display: flex; gap: 8px; }
.ic-pagination .page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid rgba(29, 25, 21, .15); border-radius: 99px; }
.ic-pagination .current { background: var(--ic-ink); color: var(--ic-paper); }
.ic-404 { display: flex; align-items: center; min-height: 100vh; padding-block: 160px 100px; }
.ic-404 .ic-display { margin-bottom: 48px; }
.alignwide { margin-inline: calc(-1 * min(8vw, 120px)); max-width: none; }
.alignfull { margin-inline: calc(50% - 50vw); max-width: 100vw; width: 100vw; }
.wp-caption, .wp-block-image figcaption { font-size: 14px; color: rgba(29, 25, 21, .6); }

/* ==========================================================================
   Elementor tweaks
   ========================================================================== */
.elementor-widget[class*="elementor-widget-ic-"] > .elementor-widget-container { margin: 0; padding: 0; }
.elementor-editor-active .ic-loader { display: none; }

/* ==========================================================================
   Reduced motion
   ========================================================================== */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.ic-static .ic-marquee__track { animation: none; }
}
