/*
 * MCW Theme 3.0 rescue layout (emergency hacked-site page). Loaded with base.css only:
 * no components stylesheet, no motion. Hero with the request form beside the H1 (directly
 * after it on phones), example cleanup log, phone-only sticky link to the form.
 */

.mcw-hero--rescue { border-top: 4px solid var(--orange); padding-bottom: var(--sec-pad); }
.mcw-hero--rescue .mcw-crumbs { margin-bottom: var(--s-5); }
.mcw-hero--rescue .mcw-hero__title { max-width: 18ch; margin-bottom: var(--s-4); }
.mcw-hero--rescue .mcw-hero__lead { margin-bottom: 0; color: var(--text-light); }

.mcw-rescue { display: grid; gap: var(--s-6); grid-template-areas: "head" "form" "signs"; }
.mcw-rescue__head { grid-area: head; }
.mcw-rescue__form { grid-area: form; }
.mcw-rescue__signs { grid-area: signs; }
@media (min-width: 64em) {
	.mcw-rescue { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); grid-template-areas: "head form" "signs form"; column-gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
	.mcw-rescue__signs { align-self: start; }
}
.mcw-rescue__signs-title { margin: 0 0 var(--s-3); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted-light); }
.mcw-rescue__list { list-style: none; margin: 0; padding: 0; border-top: var(--hair-dark); }
.mcw-rescue__list li { display: flex; gap: 0.75rem; align-items: flex-start; padding: var(--s-3) 0; border-bottom: var(--hair-dark); font-size: 1.0625rem; }
.mcw-rescue__list .mcw-icon { margin-top: 0.2em; color: var(--orange-on-dark); }

/* Form card on the dark hero */
.mcw-formcard--dark { border-top: 3px solid var(--orange); scroll-margin-top: calc(var(--header-h) + 1rem); }
.mcw-formcard--dark:focus { outline: none; }
.mcw-formcard--dark:focus-visible { outline: 2px solid var(--orange-on-dark); outline-offset: 4px; }
.mcw-formcard__title { font-size: 1.375rem; margin: 0 0 var(--s-2); }
.mcw-formcard__note { display: flex; gap: 0.5rem; align-items: flex-start; margin: 0 0 var(--s-5); font-size: var(--fs-sm); color: var(--muted-dark); }
.mcw-formcard__note .mcw-icon { margin-top: 0.15em; color: var(--orange-text); }
.mcw-formcard .mcw-form { gap: var(--s-4); }

/* Inclusions on the rescue page read as icon rows */
.mcw-service--rescue .mcw-cards--cards { grid-template-columns: minmax(0, 1fr); }

/* Example cleanup log */
.mcw-log { margin: 0; background: var(--ink-900); color: var(--text-light); border: var(--hair-dark); border-radius: var(--r-card); overflow: hidden; padding-bottom: var(--s-7); position: relative; }
.mcw-log__head { display: flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1rem; border-bottom: var(--hair-dark); background: #12151b; }
.mcw-log__head::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--orange); box-shadow: 15px 0 0 #3b4250, 30px 0 0 #3b4250; margin-right: 34px; }
.mcw-log__title { margin: 0; font-family: var(--font-mono); font-size: 0.8125rem; color: var(--muted-light); }
.mcw-log__lines { list-style: none; margin: 0; padding: var(--s-4) 1rem 0; font-family: var(--font-mono); font-size: 0.8125rem; line-height: 1.5; }
.mcw-log__lines li { display: grid; grid-template-columns: 3rem minmax(0, 9.5rem) minmax(0, 1fr); gap: 0.75rem; padding: 0.4rem 0; border-bottom: 1px dashed var(--line-dark); }
.mcw-log__t { color: var(--orange-on-dark); }
.mcw-log__step { color: var(--text-light); font-weight: 600; }
.mcw-log__note { color: var(--muted-light); }
@media (max-width: 35em) { .mcw-log__lines li { grid-template-columns: 2.5rem minmax(0, 1fr); } .mcw-log__note { grid-column: 2; } }
.mcw-art__label { position: absolute; right: 10px; bottom: 10px; padding: 0.2rem 0.55rem; font-family: var(--font-mono); font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-dark); background: #fde68a; border-radius: 999px; }

/* Phone-only sticky link to the form; hidden while the form is on screen. */
.mcw-stickybar { display: none; }
@media (max-width: 47.99em) {
	html.mcw-js .mcw-stickybar:not([hidden]) {
		position: fixed; left: var(--s-3); right: var(--s-3); bottom: var(--s-3); z-index: 90;
		display: flex; align-items: center; justify-content: center; gap: 0.5rem; min-height: 52px;
		background: var(--orange); color: var(--ink-900); border-radius: var(--r-btn);
		font-family: var(--font-head); font-weight: 600; text-decoration: none;
		box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3); transition: transform var(--dur) ease, opacity var(--dur) ease;
	}
	html.mcw-js .mcw-stickybar.is-away { transform: translateY(150%); opacity: 0; pointer-events: none; visibility: hidden; }
	html.mcw-js .mcw-service--rescue { padding-bottom: 76px; }
}
