@import url('https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,700');
@import url('fontawesome-all.min.css');

:root {
	color-scheme: light;
	--background: #ffffff;
	--surface: #ffffff;
	--header-surface: #e8e7f4;
	--text: #30303d;
	--heading: #242432;
	--muted: #626477;
	--line: #dcdbe9;
	--accent: #554ec0;
	--accent-dark: #443da4;
	--accent-contrast: #ffffff;
	--sidebar-overlay: rgba(31, 24, 21, 0.58);
	--sidebar-text: rgba(255, 255, 255, 0.72);
	--sidebar-strong: #ffffff;
	--sidebar-accent: #c4c0ff;
	--shadow: 0 12px 30px rgba(31, 24, 21, 0.07);
	--quote-bg: rgba(85, 78, 192, 0.1);
}

:root[data-theme="dark"] {
	color-scheme: dark;
	--background: #111225;
	--surface: #191a32;
	--header-surface: #222443;
	--text: #c4c6da;
	--heading: #f3f3fa;
	--muted: #9da0bc;
	--line: #30314d;
	--accent: #8b84ff;
	--accent-dark: #a39eff;
	--accent-contrast: #111225;
	--sidebar-overlay: rgba(31, 24, 21, 0.58);
	--sidebar-text: rgba(243, 243, 250, 0.72);
	--sidebar-strong: #f3f3fa;
	--shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
	--quote-bg: rgba(139, 132, 255, 0.14);
}

@media (prefers-color-scheme: dark) {
	:root:not([data-theme]) {
		color-scheme: dark;
		--background: #111225;
		--surface: #191a32;
		--header-surface: #222443;
		--text: #c4c6da;
		--heading: #f3f3fa;
		--muted: #9da0bc;
		--line: #30314d;
		--accent: #8b84ff;
		--accent-dark: #a39eff;
		--accent-contrast: #111225;
		--sidebar-overlay: rgba(31, 24, 21, 0.58);
		--sidebar-text: rgba(243, 243, 250, 0.72);
		--sidebar-strong: #f3f3fa;
		--shadow: 0 12px 30px rgba(0, 0, 0, 0.22);
		--quote-bg: rgba(139, 132, 255, 0.14);
	}
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--background);
	color: var(--text);
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-size: 16px;
	line-height: 1.55;
}

a {
	color: var(--accent-dark);
	text-decoration: none;
	transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease, transform 180ms ease;
}

a:hover {
	color: var(--accent);
}

a:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.page-shell {
	display: grid;
	grid-template-columns: minmax(270px, 35%) minmax(0, 1fr);
	height: 100svh;
	min-height: 520px;
	overflow: hidden;
}

.site-sidebar {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: clamp(36px, 7vw, 100px) clamp(28px, 6vw, 88px);
	background-image: linear-gradient(var(--sidebar-overlay), var(--sidebar-overlay)), url('../../images/bg.jpg');
	background-position: center;
	background-size: cover;
	color: var(--sidebar-text);
}

.sidebar-inner {
	max-width: 390px;
	margin-right: auto;
}

.sidebar-kicker {
	margin: 0 0 18px;
	color: var(--sidebar-strong);
	font-size: clamp(2rem, 3.2vw, 3.2rem);
	font-weight: 700;
	letter-spacing: -0.04em;
	line-height: 1;
	text-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
}

.sidebar-kicker:after {
	display: block;
	width: 52px;
	height: 4px;
	margin-top: 12px;
	border-radius: 4px;
	background: var(--accent);
	content: '';
}

.sidebar-description {
	max-width: 390px;
	margin: 0;
	color: var(--sidebar-strong);
	font-size: clamp(1rem, 1.4vw, 1.35rem);
	line-height: 1.4;
}

.sidebar-links {
	display: flex;
	justify-content: flex-end;
	gap: 10px;
	margin-bottom: 18px;
}


.icon {
	display: inline-block;
	font-style: normal;
	line-height: 1;
}

.icon:before {
	display: inline-block;
	font-family: 'Font Awesome 5 Free';
	font-weight: 900;
}

.icon.brands:before {
	font-family: 'Font Awesome 5 Brands';
	font-weight: 400;
}

.icon.regular:before {
	font-weight: 400;
}

.icon-button {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 42px;
	height: 42px;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
	color: var(--sidebar-strong);
	font-size: 1rem;
}

.icon-button:hover {
	border-color: var(--accent);
	background: rgba(255, 255, 255, 0.1);
	color: var(--sidebar-strong);
	transform: translateY(-3px);
}

.sidebar-bottom {
	max-width: 390px;
	margin-left: auto;
	text-align: right;
}

.sidebar-interview {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 16px;
	padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	color: var(--sidebar-strong);
	font-size: 0.95rem;
	font-weight: 600;
}

.sidebar-interview:hover {
	color: var(--sidebar-accent);
}

.sidebar-interview span {
	display: inline-block;
	margin-left: 8px;
	transition: transform 180ms ease;
}

.sidebar-interview:hover span {
	transform: translateX(3px);
}

.site-content {
	display: flex;
	min-width: 0;
	min-height: 0;
	flex-direction: column;
	background: var(--background);
}

.site-header {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	min-height: 72px;
	padding: 0 clamp(24px, 5vw, 72px);
	border-bottom: 1px solid var(--line);
	background: var(--header-surface);
}

.theme-toggle-floating {
	position: fixed;
	top: 24px;
	right: clamp(24px, 5vw, 72px);
	z-index: 10;
	box-shadow: var(--shadow);
}

.header-actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 36px;
}

nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
	gap: 8px 22px;
	font-size: 0.88rem;
}

nav a {
	border-bottom: 1px dotted var(--accent);
	color: var(--text);
}

nav a:hover {
	border-color: transparent;
	color: var(--accent);
}

.theme-toggle {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--line);
	border-radius: 50%;
	padding: 0;
	background: var(--surface);
	color: var(--text);
	cursor: pointer;
	font: inherit;
	font-size: 0.82rem;
	line-height: 1;
	transition: color 180ms ease, border-color 180ms ease, background-color 180ms ease;
}

.theme-toggle:hover {
	border-color: var(--accent);
	color: var(--accent);
}

.theme-toggle:focus-visible {
	outline: 3px solid var(--accent);
	outline-offset: 3px;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

main {
	width: min(940px, 100%);
	min-height: 0;
	margin: 0 auto;
	padding: clamp(18px, 3vh, 32px) clamp(24px, 5vw, 72px) 0;
}

.content-intro {
	text-align: center;
	padding-top: clamp(8px, 2.5vw, 24px);
	margin-bottom: clamp(28px, 4vw, 52px);
}

.content-intro img {
	display: block;
	width: min(600px, 90%);
	height: clamp(150px, 15vw, 190px);
	margin: 0 auto;
	object-fit: contain;
}

.feature-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: clamp(16px, 1.5vw, 24px);
}

.feature-card {
	min-width: 0;
	padding: 16px 22px;
	border: 1px solid var(--line);
	border-left: 5px solid var(--accent);
	border-radius: 16px;
	background: var(--surface);
	box-shadow: var(--shadow);
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.feature-card:hover {
	box-shadow: 0 16px 34px rgba(31, 24, 21, 0.12);
	transform: translateY(-3px);
}

.feature-card-wide {
	display: block;
}

h2 {
	margin: 0;
	color: var(--heading);
	font-size: 1.4rem;
	font-weight: 400;
	line-height: 1.2;
}

.feature-card p {
	margin: 7px 0 0;
	font-size: 0.9rem;
	line-height: 1.42;
}

.feature-card strong {
	color: var(--heading);
	font-weight: 600;
}

.card-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: 10px;
	font-size: 0.82rem;
	font-weight: 600;
}

.closing-note {
	margin: clamp(28px, 3vw, 42px) 0 0;
	padding: 17px 22px;
	border: 1px solid var(--accent);
	border-left: 6px solid var(--accent);
	border-radius: 14px;
	background: var(--quote-bg);
	color: var(--heading);
	font-size: 0.98rem;
	font-style: italic;
	line-height: 1.5;
	box-shadow: var(--shadow);
}

.site-footer {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 18px;
	margin-top: auto;
	padding: 14px clamp(24px, 5vw, 72px) 18px;
	border-top: 1px solid var(--line);
	color: var(--muted);
	font-size: 0.76rem;
}

.site-footer p {
	margin: 0;
}

/* Long-form interview layout */
.interview-page .page-shell {
	grid-template-columns: minmax(0, 1fr);
	height: auto;
	min-height: 100svh;
	overflow: visible;
}

.interview-page .site-content {
	overflow: visible;
}

.interview-page main {
	width: min(1080px, 100%);
	padding-top: clamp(20px, 3.5vw, 48px);
}

.interview-page .site-header {
	justify-content: space-between;
}

.interview-back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: var(--heading);
	font-size: 0.88rem;
	font-weight: 600;
}

.interview-back span {
	font-size: 1.05rem;
	line-height: 1;
}

.interview-back:hover {
	color: var(--accent);
}

.interview-hero {
	position: relative;
	padding: clamp(20px, 3vw, 34px);
	padding-bottom: 0;
	border: 1px solid var(--line);
	border-left: 6px solid var(--accent);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: var(--shadow);
	overflow: hidden;
}

.interview-hero:after {
	position: absolute;
	right: -90px;
	top: -120px;
	width: 300px;
	height: 300px;
	border: 1px solid var(--line);
	border-radius: 50%;
	content: '';
	opacity: 0.8;
}

.eyebrow {
	margin: 0 0 7px;
	color: var(--accent-dark);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.interview-hero h1 {
	position: relative;
	z-index: 1;
	max-width: 720px;
	margin: 0;
	color: var(--heading);
	font-size: clamp(2.2rem, 4.5vw, 3.8rem);
	font-weight: 700;
	letter-spacing: -0.055em;
	line-height: 0.98;
}

.interview-lede {
	position: relative;
	z-index: 1;
	max-width: 700px;
	margin: 16px 0 0;
	font-size: clamp(0.96rem, 1.35vw, 1.08rem);
	line-height: 1.48;
}

.interview-lede strong {
	color: var(--heading);
	font-weight: 600;
}

.interview-actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 24px;
	margin-top: 20px;
}

.button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 9px 14px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 0.88rem;
	font-weight: 700;
}

.button-primary {
	background: var(--accent);
	color: var(--accent-contrast);
}

.button-primary:hover {
	background: var(--accent-dark);
	color: var(--accent-contrast);
	transform: translateY(-2px);
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 0.88rem;
	font-weight: 600;
}

.interview-hero-extension {
	display: grid;
	grid-template-columns: minmax(190px, 0.75fr) minmax(0, 1fr);
	gap: 18px;
	align-items: center;
	margin: 20px calc(-1 * clamp(20px, 3vw, 34px)) 0;
	padding: 14px clamp(20px, 3vw, 34px) 17px;
	border-top: 1px solid var(--line);
	background: var(--quote-bg);
}

.interview-hero-extension .eyebrow {
	margin-bottom: 5px;
}

.interview-hero-extension h2 {
	margin: 0;
	color: var(--heading);
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 600;
	letter-spacing: -0.03em;
	line-height: 1.08;
}

.interview-hero-extension > p {
	margin: 0;
	font-size: 0.84rem;
	line-height: 1.5;
}

.interview-reading {
	margin-top: clamp(26px, 4vw, 52px);
}

.interview-document {
	position: relative;
	min-width: 0;
	padding: clamp(24px, 5vw, 58px);
	border: 1px solid var(--line);
	border-top: 4px solid var(--accent);
	border-radius: 18px;
	background: var(--surface);
	box-shadow: var(--shadow);
}

.interview-document:before {
	display: block;
	margin-bottom: 30px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--line);
	color: var(--accent-dark);
	content: 'Interview transcript';
	font-size: 0.7rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.interview-document .WordSection1 {
	max-width: 680px;
	margin: 0 auto;
	counter-reset: interview-question;
}

.interview-document p.MsoNormal {
	margin: 0 0 1.35rem;
	color: var(--text);
	font-family: 'Source Sans Pro', Helvetica, sans-serif;
	font-size: 1rem;
	line-height: 1.75;
	text-align: left !important;
	text-wrap: pretty;
}

.interview-document .interview-question {
	position: relative;
	counter-increment: interview-question;
	margin-top: 3.1rem;
	margin-bottom: 1.6rem;
	padding: 17px 20px 18px 22px;
	border: 1px solid var(--line);
	border-left: 4px solid var(--accent);
	border-radius: 12px;
	background: linear-gradient(135deg, var(--quote-bg), var(--surface));
	color: var(--heading);
	font-size: 1.04rem;
	font-weight: 600;
	line-height: 1.55;
	box-shadow: 0 8px 20px rgba(31, 24, 21, 0.05);
}

.interview-document .interview-question:before {
	display: block;
	margin-bottom: 7px;
	color: var(--accent-dark);
	content: 'Question ' counter(interview-question, decimal-leading-zero);
	font-size: 0.65rem;
	font-weight: 700;
	letter-spacing: 0.13em;
	line-height: 1.3;
	text-transform: uppercase;
}

.interview-document .interview-question:first-child {
	margin-top: 0;
}

.interview-document .interview-question b {
	font-weight: inherit;
}

.interview-document a {
	border-bottom: 1px dotted var(--accent);
	overflow-wrap: anywhere;
}

.interview-document img {
	display: block;
	max-width: 100%;
	height: auto;
	margin: 26px auto;
	padding: 6px;
	border: 1px solid var(--line);
	border-radius: 10px;
	background: var(--background);
	box-shadow: var(--shadow);
}

.interview-document table {
	width: auto;
	max-width: 100%;
	margin: 26px auto;
	border-collapse: collapse;
}

.interview-document table.interview-staff-table {
	margin: 20px 0;
	min-width: 60%;
}

.interview-document table.interview-staff-table th,
.interview-document table.interview-staff-table td {
	padding: 4px 32px 4px 0;
	text-align: left;
	font-weight: normal;
}

.interview-document table.interview-staff-table th {
	font-weight: 600;
	border-bottom: 1px solid var(--line);
}

.interview-document table.interview-staff-table tr:last-child td {
	padding-bottom: 0;
}

.interview-document table img {
	width: auto;
	margin: 0;
}

.interview-document td {
	vertical-align: top;
}

.interview-document span[style*='page-break-before'] {
	display: none;
}

.interview-document br[style*='page-break-before'] {
	display: none;
}

.interview-page .site-footer {
	margin-top: 56px;
}

@media (max-height: 800px) and (min-width: 761px) {
	main {
		padding-top: 14px;
	}

	.content-intro img {
		height: 105px;
	}

	.content-intro {
		margin-bottom: 24px;
	}

	.feature-grid {
		gap: 16px;
	}

	.feature-card {
		padding: 13px 20px;
	}

	h2 {
		font-size: 1.35rem;
	}

	.feature-card p {
		margin-top: 6px;
		font-size: 0.84rem;
		line-height: 1.4;
	}

	.card-link {
		margin-top: 7px;
		font-size: 0.76rem;
	}

	.closing-note {
		margin-top: 8px;
		padding-top: 6px;
		font-size: 0.76rem;
	}

	.site-footer {
		padding-top: 8px;
		padding-bottom: 10px;
	}
}

@media (max-height: 700px) and (min-width: 761px) {
	.site-sidebar {
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.sidebar-description {
		font-size: 0.9rem;
	}

	.sidebar-links {
		gap: 5px;
		margin-top: 16px;
	}

	main {
		padding-top: 12px;
	}

	.content-intro img {
		max-height: 110px;
	}

	.content-intro {
		margin-bottom: 20px;
	}

	.feature-grid {
		gap: 14px;
	}

	.feature-card {
		padding-top: 15px;
		padding-bottom: 15px;
	}

	.feature-card p {
		font-size: 0.86rem;
	}

	.closing-note {
		margin-top: 8px;
		padding-top: 7px;
	}

	.site-footer {
		padding-top: 9px;
		padding-bottom: 11px;
	}
}

@media (max-width: 760px) {
	html {
		scroll-behavior: smooth;
	}

	body {
		overflow-x: hidden;
	}

	.page-shell {
		display: block;
		height: auto;
		min-height: 100svh;
		overflow: visible;
	}

	.site-sidebar {
		min-height: 390px;
		padding: 40px 24px 28px;
	}

	.sidebar-inner,
	.sidebar-bottom {
		width: min(100%, 520px);
		margin-right: auto;
		margin-left: auto;
	}

	.site-content {
		display: block;
	}

	.site-header {
		justify-content: flex-start;
		min-height: 64px;
		padding: 13px 24px;
	}

	.theme-toggle-floating {
		top: 18px;
		right: 18px;
	}

	.header-actions {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
	}

	nav {
		justify-content: flex-start;
		gap: 6px 16px;
	}

	main {
		padding: 30px 24px 0;
	}

	.interview-page .site-header {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
		justify-content: flex-start;
	}

	.interview-page .header-actions {
		width: 100%;
	}

	.interview-hero-extension {
		grid-template-columns: 1fr;
		gap: 8px;
		margin-top: 16px;
		padding: 14px clamp(20px, 3vw, 34px) 17px;
	}

	.interview-document {
		padding: 24px 18px;
	}

	.interview-document table {
		display: block;
		width: 100% !important;
		table-layout: fixed;
		float: none !important;
	}

	.interview-document table tbody,
	.interview-document table tr {
		display: block;
		width: 100%;
	}

	.interview-document table td {
		display: block;
		width: auto !important;
		height: auto !important;
	}

	.interview-document table td:empty {
		display: none;
	}

	.interview-document table img {
		max-width: 100%;
		margin: 0 auto;
	}

	.interview-document table.interview-staff-table tr {
		display: flex;
	}

	.interview-document table.interview-staff-table th,
	.interview-document table.interview-staff-table td {
		display: inline-block;
		width: auto !important;
		padding: 4px 0;
	}

	.interview-document table.interview-staff-table th:first-child,
	.interview-document table.interview-staff-table td:first-child {
		min-width: 46%;
	}

	.interview-document table.interview-image-pair tr:nth-child(2) {
		display: flex;
		align-items: flex-start;
		gap: 12px;
	}

	.interview-document table.interview-image-pair tr:nth-child(2) td {
		flex: 1 1 0;
		min-width: 0;
	}

	.interview-document:before {
		margin-bottom: 24px;
	}

	.interview-document p.MsoNormal {
		font-size: 0.97rem;
		line-height: 1.7;
	}

	.content-intro img {
		width: min(500px, 92%);
		height: 145px;
	}

	.content-intro {
		margin-bottom: 20px;
	}

	.site-footer {
		align-items: flex-end;
		flex-direction: column;
		margin-top: 36px;
		padding: 16px 24px 24px;
		text-align: right;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*, *::before, *::after {
		transition-duration: 0.01ms !important;
	}
}

@media print {
	@page {
		margin: 16mm;
	}

	:root {
		color-scheme: light;
		--background: #ffffff;
		--surface: #ffffff;
		--text: #222222;
		--heading: #111111;
		--muted: #555555;
		--line: #cccccc;
		--accent: #333333;
		--accent-dark: #333333;
		--quote-bg: #f5f5f5;
	}

	body {
		background: #ffffff;
		color: #222222;
		font-family: Georgia, 'Times New Roman', serif;
		font-size: 11pt;
		line-height: 1.5;
	}

	.interview-page .site-header,
	.interview-page .interview-actions,
	.interview-page .site-footer {
		display: none;
	}

	.interview-page main {
		width: auto;
		padding: 0;
	}

	.interview-hero {
		padding: 0 0 18pt;
		border: 0;
		border-bottom: 1pt solid #999999;
		border-radius: 0;
		background: #ffffff;
		box-shadow: none;
		overflow: visible;
	}

	.interview-hero:after {
		display: none;
	}

	.interview-hero h1 {
		color: #000000;
		font-size: 28pt;
	}

	.interview-hero-extension {
		margin: 18pt 0 0;
		padding: 12pt 0 0;
		border-top: 1pt solid #999999;
		background: #ffffff;
	}

	.interview-reading {
		margin-top: 20pt;
	}

	.interview-document {
		padding: 0;
		border: 0;
		border-radius: 0;
		background: #ffffff;
		box-shadow: none;
	}

	.interview-document p.MsoNormal {
		color: #222222;
		font-family: Georgia, 'Times New Roman', serif;
		font-size: 10.5pt;
		line-height: 1.5;
	}

	.interview-document .interview-question {
		break-inside: avoid;
		page-break-inside: avoid;
		border-color: #555555;
		background: #f5f5f5;
		color: #111111;
		box-shadow: none;
	}

	.interview-document img {
		break-inside: avoid;
		page-break-inside: avoid;
		box-shadow: none;
	}

	.interview-document a {
		border-bottom: 0;
		color: inherit;
		text-decoration: underline;
	}
}
