/* ICM model page – black, off-white and grey only, so it never clashes with outfits. */

.icm-model {
	--ink: #0E0E0E;
	--paper: #F5F3EF;
	--line: #2A2A2A;
	--muted: #A8A39C;
	--muted-dark: #5F5B56;
	--soft: #D6D2CB;
	background: var(--ink);
	color: var(--paper);
	font-family: 'Jost', system-ui, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	width: 100%;
	overflow: hidden;
	-webkit-font-smoothing: antialiased;
}
.icm-model *, .icm-model *::before, .icm-model *::after { box-sizing: border-box; }
.icm-model h1, .icm-model h2, .icm-model p, .icm-model figure { margin: 0; padding: 0; }
.icm-model h1, .icm-model h2 { color: inherit; font-family: 'Bodoni Moda', Georgia, serif; font-weight: 400; letter-spacing: -0.02em; text-transform: none; }
.icm-model em { font-style: italic; }
.icm-model a { color: inherit; text-decoration: none; }
.icm-model img { display: block; max-width: none; }

.icm-label { font-size: 11px; letter-spacing: 0.3em; color: var(--muted); text-transform: uppercase; }
.icm-label--dark { color: var(--muted-dark); }
.icm-mt { margin-top: 48px !important; }

.icm-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 16px 36px; font-size: 12px; letter-spacing: 0.28em; font-family: 'Jost', sans-serif; transition: opacity .2s; }
.icm-btn:hover { opacity: .85; }
.icm-btn--light { background: var(--paper); color: var(--ink) !important; }
.icm-btn--outline { border: 1px solid var(--paper); color: var(--paper) !important; }

/* Owner bar */
.icm-ownerbar { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; padding: 16px 5%; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.icm-ownerbar .icm-btn { min-height: 44px; padding: 12px 24px; }

/* Hero */
.icm-hero { display: flex; flex-wrap: wrap; min-height: 860px; }
.icm-hero-img { flex: 1 1 520px; min-width: 0; height: 860px; width: 100%; object-fit: cover; object-position: center 20%; }
.icm-hero-empty { display: flex; align-items: center; justify-content: center; background: #1A1A1A; font-size: 12px; letter-spacing: .3em; color: var(--muted); }
.icm-hero-text { flex: 1 1 520px; min-width: 0; padding: 72px 6%; display: flex; flex-direction: column; justify-content: space-between; gap: 48px; }
.icm-hero-top { display: flex; justify-content: space-between; gap: 16px; font-size: 11px; letter-spacing: .32em; color: var(--muted); }
.icm-name { font-size: clamp(88px, 11vw, 168px); line-height: .86; }
.icm-name em { padding-left: .5em; }
.icm-title { margin-top: 40px !important; font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 24px; color: var(--soft); }
.icm-hero-bottom { display: flex; flex-direction: column; gap: 32px; }
.icm-cats { font-size: 13px; letter-spacing: .28em; line-height: 2; }
.icm-cats i { font-style: normal; color: #5A5752; margin: 0 14px; }
.icm-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* Measurements */
.icm-stats { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 0 5%; }
.icm-stat { padding: 36px 0 36px 24px; border-right: 1px solid var(--line); }
.icm-stat:first-child { padding-left: 0; }
.icm-stat:last-child { border-right: 0; }
.icm-stat-val { margin-top: 10px; font-family: 'Bodoni Moda', serif; font-size: 28px; }

/* Section heads */
.icm-sec-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 24px; margin-bottom: 56px; }
.icm-h2-xl { font-size: clamp(64px, 7vw, 120px); line-height: .9; }
.icm-h2 { font-size: clamp(44px, 4.5vw, 64px); line-height: .95; margin: 20px 0 48px !important; }

/* Portfolio */
.icm-portfolio { padding: 120px 5% 140px; }
.icm-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 16px; }
.icm-grid figure { grid-column: span 4; position: relative; }
.icm-grid img { width: 100%; height: 460px; object-fit: cover; object-position: center 25%; }
.icm-grid figcaption { margin-top: 12px; font-size: 11px; letter-spacing: .3em; color: var(--muted); }
.icm-grid--6 .icm-pf-1 { grid-column: span 5; }
.icm-grid--6 .icm-pf-2 { grid-column: span 7; }
.icm-grid--6 .icm-pf-1 img, .icm-grid--6 .icm-pf-2 img { height: 680px; }
.icm-grid--6 .icm-pf-6 { grid-column: span 12; }
.icm-grid--6 .icm-pf-6 img { height: 640px; }
.icm-grid--1 figure, .icm-grid--2 figure { grid-column: span 6; }
.icm-grid--1 img, .icm-grid--2 img { height: 680px; }
.icm-grid--4 figure { grid-column: span 6; }
.icm-grid--4 img { height: 560px; }
.icm-grid--5 .icm-pf-4, .icm-grid--5 .icm-pf-5 { grid-column: span 6; }
.icm-empty { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 28px; color: var(--muted); }
.icm-center { display: flex; justify-content: center; margin-top: 72px; }

/* Pageant résumé + about (light) */
.icm-light { background: var(--paper); color: var(--ink); padding: 120px 5%; }
.icm-two { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 72px; }
.icm-table--light { border-top: 1px solid var(--ink); }
.icm-table--light .icm-row { border-bottom: 1px solid #CFCAC2; }
.icm-row { display: flex; flex-wrap: wrap; gap: 8px 24px; padding: 22px 0; font-size: 16px; align-items: baseline; }
.icm-year { width: 80px; flex: none; font-family: 'Bodoni Moda', serif; font-size: 20px; }
.icm-main { flex: 2 1 220px; }
.icm-side { font-size: 12px; letter-spacing: .24em; color: var(--muted-dark); }
.icm-col { flex: 1 1 160px; color: var(--soft); }
.icm-platform { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 26px; line-height: 1.3; margin-top: 8px !important; }
.icm-bio { font-size: 18px; line-height: 1.7; font-weight: 300; margin-bottom: 48px !important; white-space: pre-line; }
.icm-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px 32px; border-top: 1px solid var(--ink); padding-top: 32px; }
.icm-span2 { grid-column: span 2; }
.icm-detail-val { margin-top: 8px; font-size: 17px; }

/* Modeling experience (dark) */
.icm-work { padding: 120px 5%; border-bottom: 1px solid var(--line); }
.icm-work .icm-sec-head { margin-bottom: 48px; }
.icm-work .icm-h2 { margin-bottom: 0 !important; }
.icm-work-sub { max-width: 420px; font-size: 15px; line-height: 1.6; color: var(--muted); }
.icm-table--dark .icm-row { border-bottom: 1px solid var(--line); }
.icm-table--dark .icm-row--head { font-size: 11px; letter-spacing: .3em; color: var(--muted); padding: 0 0 14px; border-bottom-color: var(--paper); }
.icm-table--dark .icm-row--head .icm-year { font-family: 'Jost', sans-serif; font-size: 11px; }
.icm-table--dark .icm-row--head .icm-col { color: var(--muted); }

/* Contact */
.icm-contact { padding: 140px 5%; text-align: center; border-bottom: 1px solid var(--line); }
.icm-contact .icm-label { margin-bottom: 24px; }
.icm-contact .icm-btn { margin-top: 56px; }
.icm-note { margin: 28px auto 0 !important; max-width: 520px; font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Full gallery */
.icm-gal-head { padding: 72px 5% 56px; display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 32px; }
.icm-back { font-size: 12px; letter-spacing: .28em; color: var(--muted) !important; }
.icm-gal-name { margin-top: 32px !important; font-size: clamp(64px, 8vw, 120px); line-height: .88; }
.icm-gal-meta { text-align: right; }
.icm-gal-sub { font-family: 'Bodoni Moda', serif; font-style: italic; font-size: 28px; margin-bottom: 10px !important; }
.icm-gal { padding: 0 5% 120px; }
.icm-masonry { columns: 3 300px; column-gap: 16px; }
.icm-masonry figure { break-inside: avoid; margin: 0 0 16px; }
.icm-masonry img { width: 100%; height: auto; }

/* Let the page run full width inside the Extra theme. */
body.icm-model-view #main-content, body.icm-model-view #page-container { background: #0E0E0E; }

/* Phones and small tablets */
@media (max-width: 820px) {
	.icm-hero { min-height: 0; }
	.icm-hero-img { height: 620px; flex-basis: 100%; }
	.icm-hero-text { padding: 48px 6% 56px; gap: 36px; }
	.icm-stats { grid-template-columns: repeat(4, minmax(0, 1fr)); }
	.icm-stat { padding: 24px 0 24px 16px; border-bottom: 1px solid var(--line); }
	.icm-stat:nth-child(4n+1) { padding-left: 0; }
	.icm-stat:nth-child(4n) { border-right: 0; }
	.icm-stat-val { font-size: 22px; }
	.icm-grid figure, .icm-grid--6 .icm-pf-1, .icm-grid--6 .icm-pf-2, .icm-grid--6 .icm-pf-6 { grid-column: span 12; }
	.icm-grid img, .icm-grid--6 .icm-pf-1 img, .icm-grid--6 .icm-pf-2 img, .icm-grid--6 .icm-pf-6 img { height: 520px; }
	.icm-portfolio, .icm-light, .icm-work { padding-top: 80px; padding-bottom: 80px; }
	.icm-contact { padding: 96px 5%; }
	.icm-two { grid-template-columns: minmax(0, 1fr); gap: 64px; }
	.icm-gal-meta { text-align: left; }
}

/* Unpaid page notice (owner only) */
.icm-ownerbar--alert { background: var(--paper); color: var(--ink); border-bottom: 0; }
.icm-ownerbar--alert .icm-btn--light { background: var(--ink); color: var(--paper) !important; }
