/*
 * Sipoon Wolf theme styles for the responsibility page (page-templates/responsibility.php).
 *
 * inc/assets.php loads this file only on these pages, after main.css. The tokens are in main.css.
 */

/* The responsibility page. */

/* The title gets the most space. The link goes below the title if the screen is narrow. */
.page-header--jump .container {
	flex-flow: row wrap;
	align-items: flex-end;
	gap: 32px 64px;
}

.page-header__jump {
	display: flex;
	align-items: center;
	flex: 1 1 360px;
	gap: 18px;
	max-width: 560px;
	padding: 22px 26px;
	background: var(--wolf-paper-2);
	color: var(--wolf-ink);
	text-decoration: none;
	transition: background-color 0.15s;
}

.page-header__jump:hover {
	background: var(--wolf-gold);
}

.page-header__jump-mark {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wolf-ink);
	color: var(--wolf-gold);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 26px;
}

.page-header__jump-body {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.page-header__jump-title {
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 22px;
	line-height: 1.1;
	text-transform: uppercase;
}

.page-header__jump-text {
	color: var(--wolf-ink-2);
	font-size: 16px;
	line-height: 1.45;
}

.report-routes {
	padding: clamp(24px, 3vw, 40px) 0 clamp(64px, 8vw, 112px);
	scroll-margin-top: 24px;
}

.report-routes__inner,
.report-process__inner,
.report-examples__inner {
	display: flex;
	flex-direction: column;
	gap: clamp(24px, 3vw, 40px);
}

.report-routes__title,
.report-process__title,
.report-examples__title {
	font-weight: 900;
	font-size: clamp(28px, 3vw, 44px);
	line-height: 1;
	text-transform: uppercase;
}

.report-routes__title,
.report-process__title {
	padding-bottom: 16px;
	border-bottom: 4px solid var(--wolf-ink);
}

.report-routes__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: clamp(16px, 2vw, 28px);
}

.report-card {
	display: flex;
	flex-direction: column;
	border: 2px solid var(--wolf-ink);
}

.report-card__head {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 12px;
	padding: 18px 22px;
	border-bottom: 2px solid var(--wolf-ink);
	background: var(--wolf-paper-2);
	font-family: var(--wolf-font-display);
}

.report-card--gold .report-card__head {
	background: var(--wolf-gold);
}

.report-card--dark .report-card__head {
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.report-card__number {
	font-weight: 900;
	font-size: 30px;
	line-height: 1;
}

.report-card--dark .report-card__number {
	color: var(--wolf-gold);
}

.report-card__label {
	font-weight: 800;
	font-size: 12px;
	letter-spacing: 0.18em;
	text-align: right;
	text-transform: uppercase;
}

.report-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 16px;
	padding: 24px;
}

.report-card__title {
	font-weight: 900;
	font-size: 24px;
	line-height: 1.1;
	text-transform: uppercase;
}

.report-card__text {
	color: var(--wolf-ink-2);
	font-size: 17px;
	line-height: 1.5;
}

.report-card__note,
.report-form__privacy {
	color: var(--wolf-muted);
	font-size: 15px;
	line-height: 1.5;
}

.report-card__emergency {
	margin-top: auto;
	padding: 12px 14px;
	background: var(--wolf-ink);
	color: var(--wolf-paper);
	font-weight: 600;
	font-size: 16px;
}

.report-person {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 16px;
	background: var(--wolf-paper-2);
}

.report-person__initials {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wolf-gold);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 18px;
}

.report-person__details {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.report-person__name {
	font-weight: 700;
	font-size: 17px;
}

.report-person__role {
	color: var(--wolf-muted);
	font-size: 15px;
}

.report-person__link,
.report-service__phone,
.report-service__link {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 32px;
	color: var(--wolf-ink);
	font-size: 15px;
	text-decoration: none;
}

.report-person__link--email {
	font-weight: 600;
	overflow-wrap: anywhere;
}

.report-person__link:hover,
.report-service__phone:hover,
.report-service__link:hover,
.report-sent__again:hover {
	text-decoration: underline;
	text-decoration-color: var(--wolf-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.report-service {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.report-service + .report-service {
	padding-top: 16px;
	border-top: 1px solid var(--wolf-line);
}

.report-service__name {
	font-family: var(--wolf-font-body);
	font-weight: 700;
	font-size: 18px;
}

.report-service__text {
	color: var(--wolf-ink-2);
	font-size: 16px;
	line-height: 1.5;
}

.report-service__phone {
	min-height: 40px;
	font-weight: 700;
	font-size: 17px;
}

.report-service__hours {
	margin-left: 8px;
	color: var(--wolf-muted);
	font-weight: 400;
}

.report-service__note {
	color: var(--wolf-muted);
	font-size: 15px;
}

.report-service__link {
	min-height: 40px;
	font-weight: 600;
	font-size: 16px;
}

/* The report form. CSS shows the contact field only if the user selects "Yes". */

.report-form__field,
.report-form__choice {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.report-form__field label,
.report-form__choice legend {
	font-weight: 600;
	font-size: 16px;
}

.report-form__required {
	font-weight: 400;
}

.report-form__input {
	width: 100%;
	padding: 12px 14px;
	border: 2px solid var(--wolf-ink);
	border-radius: var(--wolf-radius);
	background: var(--wolf-paper);
	color: var(--wolf-ink);
	font: inherit;
	font-size: 17px;
}

textarea.report-form__input {
	min-height: 120px;
	resize: vertical;
}

.report-form__input::placeholder {
	color: var(--wolf-muted);
	opacity: 1;
}

.report-form__input:focus-visible {
	outline: 3px solid var(--wolf-gold);
	outline-offset: 2px;
}

.report-form__input[aria-invalid="true"] {
	border-color: var(--wolf-error);
	box-shadow: inset 4px 0 0 var(--wolf-error);
}

.report-form__error {
	color: var(--wolf-error);
	font-weight: 600;
	font-size: 15px;
}

.report-form__errors {
	padding: 14px 16px;
	border-left: 4px solid var(--wolf-error);
	background: var(--wolf-error-tint);
	font-size: 15px;
	line-height: 1.5;
}

.report-form__errors ul {
	margin: 6px 0 0;
	padding-left: 20px;
}

.report-form__errors a {
	color: var(--wolf-ink);
	font-weight: 600;
}

.report-form__choice {
	gap: 4px;
	margin: 0;
	padding: 0;
	border: 0;
}

.report-form__choice legend {
	margin-bottom: 6px;
	padding: 0;
}

.report-form__radio {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 44px;
	font-size: 16px;
	cursor: pointer;
}

.report-form__radio input {
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	margin: 0;
	accent-color: var(--wolf-ink);
}

.report-form:has(input[name="sipoonwolf_report_contact"][value="no"]:checked) .report-form__reply {
	display: none;
}

.report-form__trap {
	position: absolute;
	left: -10000px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.report-form__submit {
	margin-top: auto;
	font-size: 16px;
	letter-spacing: 0.04em;
}

.report-sent {
	gap: 14px;
}

.report-sent__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: var(--wolf-gold);
	font-weight: 900;
	font-size: 28px;
}

.report-sent__again {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 44px;
	color: var(--wolf-ink);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.report-process {
	padding-block: var(--wolf-section);
	background: var(--wolf-paper-2);
}

.report-process__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: clamp(20px, 2.4vw, 36px);
	margin: 0;
	padding: 0;
	list-style: none;
}

.report-step {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.report-step__number {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: var(--wolf-ink);
	color: var(--wolf-gold);
	font-family: var(--wolf-font-display);
	font-weight: 900;
	font-size: 22px;
	line-height: 1;
}

.report-step:first-child .report-step__number {
	background: var(--wolf-gold);
	color: var(--wolf-ink);
}

.report-step__title {
	font-weight: 900;
	font-size: 22px;
	line-height: 1.15;
	text-transform: uppercase;
}

.report-step__text {
	color: var(--wolf-ink-2);
	font-size: 17px;
	line-height: 1.5;
}

.report-examples {
	padding-block: var(--wolf-section);
	background: var(--wolf-ink);
	color: var(--wolf-paper);
}

.report-examples__list {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
	gap: 0 40px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.report-examples__list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 0;
	border-top: 1px solid var(--wolf-ink-3);
	font-size: 18px;
	line-height: 1.45;
}

.report-examples__list li::before {
	content: "";
	flex: 0 0 auto;
	width: 10px;
	height: 10px;
	margin-top: 9px;
	background: var(--wolf-gold);
}

.report-examples__note {
	max-width: 70ch;
	color: var(--wolf-on-dark-2);
	font-size: 17px;
	line-height: 1.55;
}

.report-principles {
	padding-block: var(--wolf-section);
}

.report-principles__inner {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(460px, 100%), 1fr));
	gap: clamp(32px, 4vw, 72px);
}

.report-principles__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
}

.report-principles__title {
	font-weight: 900;
	font-stretch: 108%;
	font-size: clamp(36px, 4.4vw, 68px);
	line-height: 0.9;
	text-transform: uppercase;
	overflow-wrap: anywhere;
}

.report-principles__text {
	max-width: 46ch;
	color: var(--wolf-ink-2);
	font-size: 18px;
	line-height: 1.55;
}

.report-principles__links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
}

.report-principles__grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.principle-card {
	display: flex;
	flex-direction: column;
	gap: 8px;
	min-height: 150px;
	padding: 22px 24px;
	background: var(--wolf-paper-2);
}

.principle-card:last-child {
	background: var(--wolf-gold);
}

.principle-card__title {
	font-weight: 900;
	font-size: 22px;
	line-height: 1.1;
	text-transform: uppercase;
}

.principle-card__text {
	font-size: 16px;
	line-height: 1.5;
}
