/* =====================================================================
 * Department character (2026-10-06). Design only: no copy. Body classes come from functions.php
 * (im-dept-productions / -digital / -labs on overviews and service pages, im-dept-home on Home) and from
 * assets/im.js (im-pref-<dept>: the department the visitor chose, used on Work and Contact).
 * Shared grammar: Heebo + Tenor Sans, the one red, the C mark. Each department has its own accent
 * treatment, hero composition, rhythm, motion and way of using the C mark.
 * ===================================================================== */

/* ---------- Scroll reveals (opacity/transform only; off under reduced motion) ---------- */
body.im-rebuild.im-reveals .im-reveal { opacity: 0; transform: translateY(14px); transition: opacity 0.55s ease, transform 0.55s ease; }
body.im-rebuild.im-reveals .im-reveal.is-in { opacity: 1; transform: none; }
body.im-rebuild.im-reveals.im-dept-digital .im-reveal { transform: translateX(-18px); }
body.im-rebuild.im-reveals.im-dept-digital .et_pb_column:nth-child(even) .im-reveal,
body.im-rebuild.im-reveals.im-dept-digital .im-reveal:nth-child(even) { transform: translateX(18px); }
body.im-rebuild.im-reveals.im-dept-digital .im-reveal.is-in { transform: none; }
body.im-rebuild.im-reveals.im-dept-labs .im-reveal { transform: none; transition-duration: 0.4s; }
@media (prefers-reduced-motion: reduce) {
	body.im-rebuild .im-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
	body.im-rebuild * { animation: none !important; }
}

/* ---------- Image slots: art-directed plates per department (still clearly "to come", never fake work) ---------- */
body.im-rebuild .im-placeholder {
	position: relative;
	overflow: hidden;
	align-items: flex-end;
	justify-content: flex-start;
	text-align: left;
	border: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 13px;
	letter-spacing: 0.02em;
	background: var(--im-ink);
}
body.im-rebuild .im-placeholder::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--im-c-mark) right -10% top -6% / 52% auto no-repeat;
	opacity: 0.12;
	pointer-events: none;
}
body.im-rebuild .im-placeholder::after {
	content: "Image to come";
	position: absolute;
	top: 14px;
	left: 16px;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--im-red);
}
body.im-rebuild .im-placeholder-logo { color: var(--im-muted); background: #F4F4F4; justify-content: center; align-items: center; text-align: center; font-size: 12px; }
body.im-rebuild .im-placeholder-logo::before, body.im-rebuild .im-placeholder-logo::after { display: none; }

/* Productions: cinematic. Black plates with a red light sweep; the C sits large and faint like a lens flare. */
body.im-dept-productions .im-placeholder,
body.im-dept-home .et_pb_column:nth-child(1) .im-feature .im-placeholder {
	background:
		radial-gradient(70% 60% at 85% 20%, rgba(237, 31, 76, 0.28), transparent 60%),
		linear-gradient(160deg, #1a1a1a 0%, #000 70%);
}
body.im-dept-productions .im-placeholder::before { opacity: 0.16; }
/* Digital: bright, kinetic. Blush plates with a red glow and the orbit dot pulsing. */
body.im-dept-digital .im-placeholder,
body.im-dept-home .et_pb_column:nth-child(2) .im-feature .im-placeholder {
	background:
		radial-gradient(60% 70% at 20% 100%, rgba(237, 31, 76, 0.22), transparent 65%),
		linear-gradient(135deg, #FFF 0%, var(--im-blush) 100%);
	color: var(--im-muted);
}
body.im-dept-digital .im-placeholder::before { opacity: 0.22; }
body.im-dept-digital .im-placeholder:not(.im-placeholder-logo) .im-dot,
body.im-dept-digital .im-placeholder:not(.im-placeholder-logo)::after { color: var(--im-red); }
/* Labs: technical. Ink plates ruled with a fine grid; the C as a small registration mark in the corner. */
body.im-dept-labs .im-placeholder,
body.im-dept-home .et_pb_column:nth-child(3) .im-feature .im-placeholder {
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 48px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.05) 0 1px, transparent 1px 48px),
		var(--im-ink);
}
body.im-dept-labs .im-placeholder::before { background-size: 22% auto; background-position: right 16px top 14px; opacity: 0.6; }
body.im-dept-labs .im-placeholder::after { left: auto; right: 16px; top: auto; bottom: 14px; }
body.im-dept-labs .im-placeholder { align-items: flex-start; justify-content: flex-start; padding-top: 44px; font-variant-numeric: tabular-nums; }

/* ---------- Hero composition per department ---------- */
body.im-rebuild #main-content .et_pb_section:first-child { position: relative; isolation: isolate; }
/* Productions: a red light sweep across the black hero and the C large behind the image slot. */
body.im-dept-productions #main-content .et_pb_section:first-child::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(55% 70% at 78% 30%, rgba(237, 31, 76, 0.18), transparent 62%);
}
body.im-dept-productions #main-content .et_pb_section:first-child::after {
	content: ""; position: absolute; right: -6vw; top: -8vh; width: 46vmin; height: 50vmin; z-index: -1; pointer-events: none;
	background: var(--im-c-mark) center / contain no-repeat; opacity: 0.1;
}
body.im-dept-productions #main-content .et_pb_section:first-child .im-lead { color: rgba(255, 255, 255, 0.78); }
body.im-dept-productions #main-content .et_pb_section:first-child .et_pb_bg_layout_dark .im-placeholder { box-shadow: 0 30px 60px -30px rgba(237, 31, 76, 0.45); }
/* Digital: signal line under the H1 that draws in, blush wash on light heroes, dot energy. */
body.im-dept-digital #main-content .et_pb_section:first-child h1 { position: relative; padding-bottom: 0.55em; }
body.im-dept-digital #main-content .et_pb_section:first-child h1::after {
	content: ""; position: absolute; left: 0; bottom: 0.22em; height: 4px; width: 96px;
	background: linear-gradient(90deg, var(--im-red), rgba(237, 31, 76, 0.2));
	animation: im-draw 0.9s cubic-bezier(0.22, 0.7, 0.2, 1) both;
}
@keyframes im-draw { from { width: 0; } to { width: 96px; } }
body.im-dept-digital #main-content .et_pb_section:first-child:not(:has(.et_pb_bg_layout_dark))::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: linear-gradient(120deg, #FFF 45%, var(--im-blush) 100%);
}
body.im-dept-digital #main-content .et_pb_section:first-child:has(.et_pb_bg_layout_dark)::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background: radial-gradient(50% 60% at 15% 90%, rgba(237, 31, 76, 0.24), transparent 60%);
}
/* Labs: a precise grid behind the hero and the C as a small registration mark top-right. */
body.im-dept-labs #main-content .et_pb_section:first-child::before {
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: 0.9;
	background:
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 56px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 56px);
	mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
	-webkit-mask-image: linear-gradient(180deg, #000 20%, transparent 100%);
}
body.im-dept-labs #main-content .et_pb_section:first-child:not(:has(.et_pb_bg_layout_dark))::before {
	background:
		repeating-linear-gradient(0deg, rgba(18, 18, 18, 0.06) 0 1px, transparent 1px 56px),
		repeating-linear-gradient(90deg, rgba(18, 18, 18, 0.06) 0 1px, transparent 1px 56px);
}
body.im-dept-labs #main-content .et_pb_section:first-child::after {
	content: ""; position: absolute; right: 5vw; top: 28px; width: 56px; height: 61px; z-index: -1;
	background: var(--im-c-mark) center / contain no-repeat; opacity: 0.55;
}
body.im-dept-labs #main-content .et_pb_section:first-child .im-lead { font-variant-numeric: tabular-nums; }

/* ---------- Section rhythm and accents per department ---------- */
/* Productions: the proof grid sits on a dark plate; step numerals white-on-C inside a dark band. */
body.im-dept-productions .im-proof { background: var(--im-black); padding: 16px; gap: 12px; }
body.im-dept-productions .im-proof .im-placeholder { background: linear-gradient(160deg, #1f1f1f 0%, #0a0a0a 70%); }
body.im-dept-productions .im-proof-more { margin-top: 24px; }
body.im-dept-productions .im-sidetabs a[aria-current="page"] { background: linear-gradient(90deg, rgba(237, 31, 76, 0.1), transparent 70%); }
body.im-dept-productions .im-callout { background: var(--im-black); color: #fff; border-left-color: var(--im-red); }
body.im-dept-productions .im-callout p { color: rgba(255, 255, 255, 0.86); }
body.im-dept-productions .im-callout strong { color: #fff; }
body.im-dept-productions .et_pb_toggle.im-faq .et_pb_toggle_title:before { color: var(--im-red); }
/* Digital: blush rhythm, cards that lift, numerals that pulse once as they arrive. */
body.im-dept-digital .im-callout { background: var(--im-blush); }
body.im-dept-digital ul.im-cards li.im-card { transition: transform 0.25s ease, border-color 0.2s ease, box-shadow 0.25s ease; }
body.im-dept-digital ul.im-cards li.im-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px -24px rgba(237, 31, 76, 0.5); }
body.im-dept-digital .im-proof { gap: 20px; }
body.im-dept-digital .im-proof .im-placeholder { border-top: 4px solid var(--im-red); }
body.im-dept-digital .im-num::after, body.im-dept-digital .im-card-num::after {
	content: ""; position: absolute; inset: 6px; border-radius: 50%; border: 1px solid var(--im-red); opacity: 0; pointer-events: none;
}
body.im-dept-digital .im-num, body.im-dept-digital .im-card-num { position: relative; }
body.im-dept-digital .im-reveal.is-in .im-num::after,
body.im-dept-digital .im-reveal.is-in .im-card-num::after { animation: im-pulse 1.1s ease-out 1; }
@keyframes im-pulse { 0% { opacity: 0.8; transform: scale(0.6); } 100% { opacity: 0; transform: scale(1.6); } }
body.im-dept-digital .im-sidetabs a[aria-current="page"] { background: var(--im-blush); }
body.im-dept-digital .et_pb_toggle.im-faq .et_pb_toggle_title:before { color: var(--im-red); }
/* Labs: hairline system. Square, ruled, tabular; steps numbered like a spec sheet. */
body.im-dept-labs ul.im-list li { border-bottom: 1px solid var(--im-line); padding-bottom: 12px; }
body.im-dept-labs ul.im-list li::before { width: 10px; }
body.im-dept-labs .im-step { border-top-color: var(--im-ink); }
body.im-dept-labs .im-step:last-child { border-bottom-color: var(--im-ink); }
body.im-dept-labs .im-step h3 { font-variant-numeric: tabular-nums; }
body.im-dept-labs ul.im-cards li.im-card { border-color: var(--im-ink); border-top-width: 1px; }
body.im-dept-labs ul.im-cards li.im-card::before { content: ""; position: absolute; top: -1px; left: -1px; width: 24px; height: 24px; border-top: 3px solid var(--im-red); border-left: 3px solid var(--im-red); }
body.im-dept-labs .im-proof { gap: 1px; background: var(--im-line); padding: 1px; }
body.im-dept-labs .im-callout { background: #F4F4F4; border-left-color: var(--im-ink); }
body.im-dept-labs .im-callout-dark { border-left-color: var(--im-red); }
body.im-dept-labs .im-sidetabs a[aria-current="page"] { border-left-width: 1px; border-left-color: var(--im-ink); box-shadow: inset 3px 0 0 var(--im-red); }
body.im-dept-labs .im-also, body.im-dept-labs .im-form-note { font-variant-numeric: tabular-nums; }

/* ---------- Home: the three doors carry each department's look (the selector) ---------- */
body.im-dept-home .et_pb_column:nth-child(1) .im-door {
	background: radial-gradient(60% 50% at 90% 0%, rgba(237, 31, 76, 0.28), transparent 60%), var(--im-black);
	border-color: var(--im-black); color: rgba(255, 255, 255, 0.86);
}
body.im-dept-home .et_pb_column:nth-child(1) .im-door h2,
body.im-dept-home .et_pb_column:nth-child(1) .im-door a { color: #fff !important; }
body.im-dept-home .et_pb_column:nth-child(1) .im-door .im-door-services { color: rgba(255, 255, 255, 0.6); }
body.im-dept-home .et_pb_column:nth-child(2) .im-door { background: linear-gradient(135deg, #FFF 40%, var(--im-blush) 100%); }
body.im-dept-home .et_pb_column:nth-child(3) .im-door {
	background: repeating-linear-gradient(0deg, rgba(18, 18, 18, 0.05) 0 1px, transparent 1px 32px), repeating-linear-gradient(90deg, rgba(18, 18, 18, 0.05) 0 1px, transparent 1px 32px), #fff;
	border-color: var(--im-ink); border-top-width: 1px; box-shadow: inset 0 3px 0 var(--im-red);
}
body.im-dept-home .im-door { position: relative; transition: transform 0.25s ease; }
body.im-dept-home .im-door::after { content: ""; position: absolute; right: 14px; top: 10px; width: 44px; height: 48px; background: var(--im-c-mark) center / contain no-repeat; opacity: 0.35; }
body.im-dept-home .im-door:hover { transform: translateY(-3px); }
/* The visitor's chosen department is marked in the header and on Work/Contact */
/* Menu items by ID, not position: a Home item now comes first (2535); 2232 Productions, 2233 Digital, 2234 Labs */
body.im-rebuild.im-pref-productions .im-header .et-menu > li.menu-item-2232 > a,
body.im-rebuild.im-pref-digital .im-header .et-menu > li.menu-item-2233 > a,
body.im-rebuild.im-pref-labs .im-header .et-menu > li.menu-item-2234 > a { text-decoration: underline; text-decoration-color: var(--im-red); text-underline-offset: 6px; text-decoration-thickness: 2px; }
body.im-pref-productions .im-filter-btn[data-filter="productions"][aria-pressed="true"] { background: var(--im-black); }
body.im-pref-digital .im-filter-btn[data-filter="digital"][aria-pressed="true"] { background: var(--im-red); border-color: var(--im-red); }
body.im-pref-labs .im-filter-btn[data-filter="labs"][aria-pressed="true"] { box-shadow: inset 0 -3px 0 var(--im-red); }

/* ---------- Guided brief (the enquiry experience) ---------- */
body.im-rebuild .im-brief-host .im-brief-src { position: absolute !important; left: -9999px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
body.im-rebuild .im-brief-host { position: relative; }
body.im-rebuild .im-brief {
	--im-brief-a: var(--im-red);
	--im-brief-bg: #fff;
	--im-brief-ink: var(--im-ink);
	--im-brief-soft: var(--im-blush);
	--im-brief-line: var(--im-line);
	position: relative;
	max-width: 760px;
	margin: 8px 0 24px;
	background: var(--im-brief-bg);
	color: var(--im-brief-ink);
	border: 1px solid var(--im-brief-line);
	box-shadow: 0 24px 60px -36px rgba(18, 18, 18, 0.45);
	font-family: var(--im-font-body);
}
body.im-rebuild .im-brief[data-dept="productions"] { --im-brief-bg: #0d0d0d; --im-brief-ink: #fff; --im-brief-soft: rgba(237, 31, 76, 0.14); --im-brief-line: #2a2a2a; }
body.im-rebuild .im-brief[data-dept="labs"] { --im-brief-soft: #F4F4F4; --im-brief-line: var(--im-ink); box-shadow: none; }
body.im-rebuild .im-brief[data-dept="labs"]::before { content: ""; position: absolute; top: -1px; left: -1px; width: 28px; height: 28px; border-top: 3px solid var(--im-red); border-left: 3px solid var(--im-red); pointer-events: none; }
body.im-rebuild .im-brief-rail { display: flex; align-items: center; gap: 14px; padding: 14px 20px; border-bottom: 1px solid var(--im-brief-line); }
body.im-rebuild .im-brief-brand { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
body.im-rebuild .im-brief-brand b { font-family: var(--im-font-head); font-weight: 400; font-size: 17px; color: var(--im-brief-ink); }
body.im-rebuild .im-brief-c { width: 26px; height: 28px; background: var(--im-c-mark) center / contain no-repeat; }
body.im-rebuild .im-brief-bar { flex: 1; height: 4px; min-width: 50px; background: var(--im-brief-line); overflow: hidden; }
body.im-rebuild .im-brief-bar i { display: block; height: 100%; width: 0; background: var(--im-brief-a); transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); }
body.im-rebuild .im-brief-count { font-size: 12px; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--im-muted); white-space: nowrap; font-variant-numeric: tabular-nums; }
body.im-rebuild .im-brief[data-dept="productions"] .im-brief-count { color: rgba(255, 255, 255, 0.6); }
body.im-rebuild .im-brief-service { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 12px; margin: 0; padding: 12px 20px 0; max-width: none; }
body.im-rebuild .im-brief-service b { font-family: var(--im-font-head); font-weight: 400; font-size: 18px; color: var(--im-brief-ink); }
body.im-rebuild .im-brief-eyebrow { display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--im-red); }
body.im-rebuild .im-brief-stage { padding: clamp(20px, 3.5vw, 32px) 20px 8px; min-height: 220px; }
body.im-rebuild .im-brief-step { animation: im-step-in 0.42s cubic-bezier(0.22, 0.7, 0.2, 1) both; }
body.im-rebuild .im-brief-step.is-back { animation-name: im-step-back; }
@keyframes im-step-in { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes im-step-back { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }
body.im-rebuild .im-brief h3 { font-size: clamp(21px, 2.6vw, 26px); color: var(--im-brief-ink) !important; padding-bottom: 6px; outline: none; }
body.im-rebuild .im-brief-sub { color: var(--im-muted); font-size: 15px; margin: 0 0 18px; padding: 0; }
body.im-rebuild .im-brief[data-dept="productions"] .im-brief-sub { color: rgba(255, 255, 255, 0.62); }
body.im-rebuild .im-brief-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { body.im-rebuild .im-brief-grid { grid-template-columns: 1fr; } }
body.im-rebuild .im-brief-opt {
	display: flex; align-items: center; gap: 12px; width: 100%; text-align: left;
	padding: 14px 16px; min-height: 56px;
	background: transparent; color: var(--im-brief-ink);
	border: 1px solid var(--im-brief-line); border-radius: 0; cursor: pointer;
	font-family: var(--im-font-body); font-size: 16px; font-weight: 500; line-height: 1.3;
	transition: border-color 0.15s, background-color 0.15s, transform 0.15s;
}
body.im-rebuild .im-brief-opt:hover { border-color: var(--im-brief-a); }
body.im-rebuild .im-brief-opt.is-sel { border-color: var(--im-brief-a); background: var(--im-brief-soft); }
body.im-rebuild .im-brief-opt--inline { width: auto; display: inline-flex; margin-top: 12px; }
body.im-rebuild .im-brief-tx { flex: 1; }
body.im-rebuild .im-brief-tick { flex: 0 0 auto; width: 22px; height: 22px; border-radius: 50%; border: 1px solid var(--im-brief-line); display: grid; place-items: center; color: #fff; }
body.im-rebuild .im-brief-tick svg { width: 12px; height: 12px; opacity: 0; transform: scale(0.5); transition: 0.18s; }
body.im-rebuild .im-brief-opt.is-sel .im-brief-tick { background: var(--im-brief-a); border-color: var(--im-brief-a); }
body.im-rebuild .im-brief-opt.is-sel .im-brief-tick svg { opacity: 1; transform: none; }
body.im-rebuild .im-brief[data-dept="digital"] .im-brief-opt.is-sel { transform: translateY(-2px); box-shadow: 0 14px 30px -22px rgba(237, 31, 76, 0.6); }
body.im-rebuild .im-brief[data-dept="labs"] .im-brief-tick { border-radius: 0; }
body.im-rebuild .im-brief-fields { display: grid; gap: 14px; }
body.im-rebuild .im-brief-fields--2 { grid-template-columns: 1fr 1fr; }
@media (max-width: 560px) { body.im-rebuild .im-brief-fields--2 { grid-template-columns: 1fr; } }
body.im-rebuild .im-brief-field label { display: block; font-size: 14px; font-weight: 500; margin-bottom: 6px; color: var(--im-brief-ink); }
body.im-rebuild .im-brief-field input,
body.im-rebuild .im-brief-field textarea {
	width: 100%; min-height: 48px; padding: 10px 14px; box-sizing: border-box;
	font-family: var(--im-font-body); font-size: 17px; line-height: 1.4; color: var(--im-brief-ink);
	background: transparent; border: 1px solid var(--im-brief-line); border-radius: 0;
}
body.im-rebuild .im-brief[data-dept="productions"] .im-brief-field input,
body.im-rebuild .im-brief[data-dept="productions"] .im-brief-field textarea { background: #161616; color: #fff; }
body.im-rebuild .im-brief-field textarea { min-height: 140px; resize: vertical; }
body.im-rebuild .im-brief-field input:focus, body.im-rebuild .im-brief-field textarea:focus { outline: 2px solid var(--im-red); outline-offset: 1px; border-color: var(--im-brief-ink); }
body.im-rebuild .im-brief-field.is-bad input { border-color: var(--im-red); box-shadow: inset 0 0 0 1px var(--im-red); }
body.im-rebuild .im-brief-req { font-size: 13px; color: var(--im-muted); margin: 8px 0 0; padding: 0; }
body.im-rebuild .im-brief-summary { margin: 0 0 20px; padding: 14px 16px; background: var(--im-brief-soft); }
body.im-rebuild .im-brief-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
body.im-rebuild .im-brief-chip { display: inline-block; padding: 5px 10px; font-size: 13px; font-weight: 500; background: var(--im-brief-bg); border: 1px solid var(--im-brief-line); color: var(--im-brief-ink); }
body.im-rebuild .im-brief-chip.is-service { border-color: var(--im-red); color: var(--im-red); }
body.im-rebuild .im-brief-link { background: none; border: 0; padding: 0; margin-top: 10px; font-family: var(--im-font-body); font-size: 14px; font-weight: 500; color: var(--im-brief-ink); text-decoration: underline; text-decoration-color: var(--im-red); text-underline-offset: 3px; cursor: pointer; }
body.im-rebuild .im-brief-note { font-size: 14px; color: var(--im-muted); margin: 16px 0 0; padding: 0; }
body.im-rebuild .im-brief[data-dept="productions"] .im-brief-note { color: rgba(255, 255, 255, 0.6); }
body.im-rebuild .im-brief-nav { display: flex; align-items: center; gap: 12px; padding: 16px 20px 20px; }
body.im-rebuild .im-brief-spacer { flex: 1; }
body.im-rebuild .im-brief-btn { min-height: 48px; padding: 12px 26px; font-family: var(--im-font-body); font-size: 16px; font-weight: 500; border-radius: 0; cursor: pointer; transition: background-color 0.2s, color 0.2s; }
body.im-rebuild .im-brief-primary { background: var(--im-red); color: #fff; border: 1px solid var(--im-red); }
body.im-rebuild .im-brief-primary:hover { background: var(--im-brief-ink); border-color: var(--im-brief-ink); color: var(--im-brief-bg); }
body.im-rebuild .im-brief-primary[disabled] { opacity: 0.7; cursor: progress; }
body.im-rebuild .im-brief-ghost { background: transparent; color: var(--im-brief-ink); border: 1px solid var(--im-brief-line); }
body.im-rebuild .im-brief-ghost:hover { border-color: var(--im-brief-ink); }
body.im-rebuild .im-brief-error { margin: 0; padding: 0 20px 18px; font-size: 14px; color: var(--im-red); }
@media (max-width: 767px) {
	body.im-rebuild .im-brief { margin-left: -5vw; margin-right: -5vw; border-left: 0; border-right: 0; }
	body.im-rebuild .im-brief-rail { padding: 12px 16px; }
	body.im-rebuild .im-brief-stage, body.im-rebuild .im-brief-nav { padding-left: 16px; padding-right: 16px; }
	body.im-rebuild .im-brief-brand b { display: none; }
	body.im-rebuild .im-brief-btn { flex: 1 1 auto; text-align: center; }
	body.im-rebuild .im-brief-spacer { display: none; }
}
