:root {
	--ctt-black: #000000;
	--ctt-white: #ffffff;
	--ctt-blue: #0097b2;
	--ctt-dark-grey: #393939;
	--ctt-soft-grey: #8e99a2;
	--ctt-light-bg: #f5f8fa;
	--ctt-border: rgba(0, 151, 178, 0.25);
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--ctt-dark-grey);
	background: var(--ctt-white);
}

h1,
h2,
h3,
h4 {
	color: var(--ctt-black);
	font-weight: 800;
	letter-spacing: -0.03em;
}

p {
	color: var(--ctt-dark-grey);
}

.ctt-accent {
	color: var(--ctt-blue);
}

.ctt-nav {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 9999;
	width: 100%;
	background: rgba(255, 255, 255, 0.96);
	border-bottom: 1px solid rgba(142, 153, 162, 0.25);
	backdrop-filter: blur(10px);
}

.ctt-nav-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0.85rem 1.5rem;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}

.ctt-logo-mark {
	width: 58px;
	height: 58px;
	border: 2px dashed var(--ctt-border);
	border-radius: 14px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ctt-blue);
	font-size: 0.7rem;
	font-weight: 700;
	text-align: center;
	line-height: 1.1;
}

.ctt-logo-text {
	line-height: 1.05;
}

.ctt-logo-text strong {
	display: block;
	font-size: 1rem;
	color: var(--ctt-black);
	letter-spacing: 0.02em;
}

.ctt-logo-text span {
	display: block;
	font-size: 1.4rem;
	color: var(--ctt-black);
	font-weight: 800;
}

.ctt-menu {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ctt-menu a {
	border-bottom: none;
	color: var(--ctt-dark-grey);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
}

.ctt-menu a:hover,
.ctt-menu a.active {
	color: var(--ctt-blue);
}

.ctt-book-button {
	background: var(--ctt-blue);
	color: var(--ctt-white) !important;
	padding: 0.7rem 1rem;
	border-radius: 0.5rem;
	box-shadow: 0 0.5rem 1.2rem rgba(0, 151, 178, 0.2);
}

.ctt-book-button:hover {
	background: var(--ctt-dark-grey);
}

.ctt-hero {
	padding-top: 5.5rem;
	background:
		radial-gradient(circle at top right, rgba(0, 151, 178, 0.1), transparent 35%),
		linear-gradient(180deg, #ffffff 0%, #f7fbfc 100%);
}

.button.primary {
	background-color: var(--ctt-blue);
	box-shadow: inset 0 0 0 1px var(--ctt-blue);
	color: var(--ctt-white) !important;
}

.button.primary:hover {
	background-color: var(--ctt-dark-grey);
	box-shadow: inset 0 0 0 1px var(--ctt-dark-grey);
}

.button.secondary {
	background-color: transparent;
	box-shadow: inset 0 0 0 1px var(--ctt-blue);
	color: var(--ctt-blue) !important;
}

.button.secondary:hover {
	background-color: rgba(0, 151, 178, 0.08);
}

.ctt-placeholder {
	width: 100%;
	height: 100%;
	min-height: 22rem;
	background:
		linear-gradient(135deg, rgba(0, 151, 178, 0.08), rgba(142, 153, 162, 0.18)),
		repeating-linear-gradient(
			45deg,
			rgba(255, 255, 255, 0.35),
			rgba(255, 255, 255, 0.35) 10px,
			rgba(255, 255, 255, 0.12) 10px,
			rgba(255, 255, 255, 0.12) 20px
		);
	border: 2px dashed rgba(0, 151, 178, 0.3);
	border-radius: 1.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--ctt-blue);
	font-weight: 800;
	padding: 2rem;
}

.ctt-section {
	padding: 4.5rem 2rem;
}

.ctt-section-light {
	background: var(--ctt-light-bg);
}

.ctt-page-top {
	padding-top: 8.5rem;
}

.ctt-inner {
	max-width: 1100px;
	margin: 0 auto;
}

.ctt-section-title {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 2.5rem auto;
}

.ctt-section-title h2 {
	margin-bottom: 0.75rem;
}

.ctt-card-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.ctt-card-grid.two {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ctt-card {
	background: var(--ctt-white);
	border: 1px solid rgba(142, 153, 162, 0.25);
	border-radius: 1rem;
	padding: 1.75rem;
	box-shadow: 0 1rem 2.5rem rgba(57, 57, 57, 0.06);
	height: 100%;
}

.ctt-card h3 {
	font-size: 1.1rem;
	margin-bottom: 0.7rem;
}

.ctt-card p {
	font-size: 0.95rem;
	margin-bottom: 0;
}

.ctt-icon {
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	border: 1px solid var(--ctt-border);
	background: rgba(0, 151, 178, 0.08);
	color: var(--ctt-blue);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 800;
	margin-bottom: 1rem;
}

.ctt-learning-box {
	background: var(--ctt-white);
	border: 2px solid var(--ctt-border);
	border-radius: 1.25rem;
	padding: 2.25rem;
	box-shadow: 0 1rem 2.5rem rgba(0, 151, 178, 0.08);
}

.ctt-learning-layout {
	display: grid;
	grid-template-columns: 1fr 1.4fr;
	gap: 2rem;
	align-items: start;
}

.ctt-learning-list {
	display: grid;
	gap: 1rem;
}

.ctt-learning-item {
	display: grid;
	grid-template-columns: 3rem 1fr;
	gap: 1rem;
	align-items: start;
}

.ctt-learning-item .ctt-icon {
	margin-bottom: 0;
}

.ctt-learning-item h3 {
	font-size: 1rem;
	margin: 0 0 0.25rem 0;
}

.ctt-learning-item p {
	font-size: 0.92rem;
	margin: 0;
}

.ctt-tutor-card {
	text-align: center;
}

.ctt-avatar {
	width: 6rem;
	height: 6rem;
	margin: 0 auto 1.1rem auto;
	border-radius: 50%;
	border: 2px dashed var(--ctt-border);
	background: rgba(0, 151, 178, 0.08);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ctt-blue);
	font-weight: 800;
	font-size: 0.75rem;
}

.ctt-small-link {
	display: inline-block;
	margin-top: 1rem;
	color: var(--ctt-blue);
	font-weight: 800;
	border-bottom: none;
}

.ctt-subject-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1rem;
}

.ctt-subject {
	background: var(--ctt-white);
	border: 1px solid rgba(142, 153, 162, 0.25);
	border-radius: 0.9rem;
	padding: 1.15rem;
	text-align: center;
	font-weight: 800;
	color: var(--ctt-dark-grey);
	box-shadow: 0 0.8rem 1.8rem rgba(57, 57, 57, 0.05);
}

.ctt-degree-box {
	margin-top: 2rem;
	background: var(--ctt-white);
	border: 2px solid var(--ctt-border);
	border-radius: 1rem;
	padding: 2rem;
}

.ctt-contact-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	justify-content: center;
	margin-top: 1.5rem;
}

.ctt-form {
	background: var(--ctt-white);
	border: 1px solid rgba(142, 153, 162, 0.25);
	border-radius: 1rem;
	padding: 2rem;
	box-shadow: 0 1rem 2.5rem rgba(57, 57, 57, 0.06);
}

.ctt-form label {
	color: var(--ctt-dark-grey);
	font-weight: 800;
}

.ctt-form input,
.ctt-form select,
.ctt-form textarea {
	border-color: rgba(142, 153, 162, 0.45);
}

.ctt-tutor-detail {
	text-align: left;
}

.ctt-tutor-detail .ctt-avatar {
	margin-left: 0;
}

.ctt-badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 1rem 0;
}

.ctt-badge {
	background: rgba(0, 151, 178, 0.08);
	color: var(--ctt-blue);
	border: 1px solid var(--ctt-border);
	border-radius: 999px;
	padding: 0.35rem 0.7rem;
	font-size: 0.8rem;
	font-weight: 800;
}

.ctt-footer {
	background: var(--ctt-black);
	color: var(--ctt-white);
	padding: 3.5rem 2rem 2rem 2rem;
}

.ctt-footer-grid {
	max-width: 1100px;
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1.4fr 1fr;
	gap: 2rem;
}

.ctt-footer h3,
.ctt-footer h4,
.ctt-footer p,
.ctt-footer a,
.ctt-footer li {
	color: var(--ctt-white);
}

.ctt-footer a {
	border-bottom: none;
}

.ctt-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ctt-footer li {
	margin-bottom: 0.5rem;
}

.ctt-footer-brand {
	display: inline-block;
	width: 14rem;
	margin-bottom: 1rem;
	border: 0;
	text-decoration: none;
}

.ctt-footer-logo-image {
	display: block;
	width: 100%;
	height: auto;
	object-fit: contain;
	background: #ffffff;
	border-radius: 0.75rem;
	padding: 0.45rem;
}

.ctt-socials {
	display: flex;
	gap: 0.75rem;
	margin-top: 1rem;
}

.ctt-socials a {
	width: 2.5rem;
	height: 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ctt-white);
	font-size: 0.8rem;
	font-weight: 800;
}

.ctt-copyright {
	max-width: 1100px;
	margin: 2rem auto 0 auto;
	padding-top: 1.5rem;
	border-top: 1px solid rgba(255, 255, 255, 0.15);
	text-align: center;
	font-size: 0.85rem;
	color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 980px) {
	.ctt-nav-inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.ctt-menu {
		width: 100%;
		overflow-x: auto;
		justify-content: flex-start;
		padding-bottom: 0.25rem;
	}

	.ctt-hero {
		padding-top: 8rem;
	}

	.ctt-card-grid,
	.ctt-card-grid.two,
	.ctt-subject-list,
	.ctt-footer-grid,
	.ctt-learning-layout {
		grid-template-columns: 1fr;
	}
}

@media screen and (max-width: 736px) {
	.ctt-nav-inner {
		padding: 0.8rem 1rem;
	}

	.ctt-logo-mark {
		width: 48px;
		height: 48px;
	}

	.ctt-logo-text strong {
		font-size: 0.8rem;
	}

	.ctt-logo-text span {
		font-size: 1.1rem;
	}

	.ctt-menu {
		gap: 0.9rem;
	}

	.ctt-menu a {
		font-size: 0.82rem;
		white-space: nowrap;
	}

	.ctt-book-button {
		padding: 0.55rem 0.85rem;
	}

	.ctt-section {
		padding: 3rem 1.25rem;
	}

	.ctt-learning-box {
		padding: 1.5rem;
	}
}

.ctt-nav a:before,
.ctt-nav a:after {
	display: none !important;
	content: none !important;
}

/* =========================================================
   Shared site header
   ========================================================= */

.ctt-site-header {
	position: relative;
	z-index: 1000;
	width: 100%;
	background: #ffffff;
	border-bottom: 1px solid rgba(57, 57, 57, 0.12);
	box-shadow: 0 0.35rem 1.5rem rgba(57, 57, 57, 0.06);
}

.ctt-header-inner {
	width: min(90rem, calc(100% - 3rem));
	min-height: 7rem;
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 2rem;
}

.ctt-brand {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	width: 16rem;
	height: 5.5rem;
	border-bottom: 0;
	text-decoration: none;
}

.ctt-logo {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 100%;
	object-fit: contain;
	object-position: left center;
}

.ctt-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.5rem;
}

.ctt-navigation a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 2.8rem;
	padding: 0.65rem 1rem;
	border: 0;
	border-radius: 999px;
	color: #393939;
	font-size: 0.95rem;
	font-weight: 700;
	text-decoration: none;
	transition:
		background-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease;
}

.ctt-navigation a:hover,
.ctt-navigation a.is-active {
	background: rgba(0, 151, 178, 0.1);
	color: #0097b2;
}

.ctt-navigation a:hover {
	transform: translateY(-1px);
}

.ctt-navigation .ctt-nav-button {
	background: #0097b2;
	color: #ffffff;
	padding-left: 1.35rem;
	padding-right: 1.35rem;
}

.ctt-navigation .ctt-nav-button:hover,
.ctt-navigation .ctt-nav-button.is-active {
	background: #007f96;
	color: #ffffff;
}

.ctt-menu-toggle {
	display: none;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border: 0;
	border-radius: 0.6rem;
	background: transparent;
	box-shadow: none;
	cursor: pointer;
}

.ctt-menu-toggle span {
	display: block;
	width: 1.5rem;
	height: 2px;
	margin: 0.3rem auto;
	background: #393939;
	transition:
		transform 0.2s ease,
		opacity 0.2s ease;
}

.ctt-menu-toggle.is-open span:nth-child(1) {
	transform: translateY(0.5rem) rotate(45deg);
}

.ctt-menu-toggle.is-open span:nth-child(2) {
	opacity: 0;
}

.ctt-menu-toggle.is-open span:nth-child(3) {
	transform: translateY(-0.5rem) rotate(-45deg);
}

/* =========================================================
   Homepage opening image
   ========================================================= */

.ctt-hero .image img {
	width: 100%;
	height: 100%;
	display: block;
	object-fit: cover;
	object-position: center 35%;
}

/* =========================================================
   Tablet and mobile
   ========================================================= */

@media screen and (max-width: 980px) {
	.ctt-header-inner {
		width: min(100% - 2rem, 90rem);
		min-height: 5.5rem;
		flex-wrap: wrap;
		gap: 0;
	}

	.ctt-brand {
	width: 12rem;
	height: 4.5rem;
}

	.ctt-menu-toggle {
		display: block;
	}

	.ctt-navigation {
		display: none;
		width: 100%;
		padding: 0.75rem 0 1.25rem;
		flex-direction: column;
		align-items: stretch;
		gap: 0.35rem;
	}

	.ctt-navigation.is-open {
		display: flex;
	}

	.ctt-navigation a {
		width: 100%;
	}

	.ctt-navigation .ctt-nav-button {
		margin-top: 0.35rem;
	}

}

/* =========================================================
   Small phones
   ========================================================= */

@media screen and (max-width: 480px) {
	.ctt-header-inner {
		width: calc(100% - 1.5rem);
	}

	.ctt-brand {
	width: 10rem;
	height: 4rem;
}
}

/* =========================================================
   Dynamic tutor cards and directory
   Add this entire block to the END of assets/css/ctt-custom.css
   ========================================================= */

.ctt-tutor-photo-wrap {
	width: 8rem;
	height: 8rem;
	margin: 0 auto 1.25rem;
	flex: 0 0 auto;
}

.ctt-tutor-photo {
	display: block;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	border: 0.3rem solid #ffffff;
	object-fit: cover;
	object-position: center;
	box-shadow: 0 0.8rem 1.8rem rgba(57, 57, 57, 0.12);
}

.ctt-tutor-fallback {
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 151, 178, 0.1);
	color: var(--ctt-blue);
	font-size: 1.6rem;
	font-weight: 800;
}

.ctt-featured-actions,
.ctt-directory-actions {
	margin-top: 2rem;
}

.ctt-tutor-directory {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.ctt-tutor-detail {
	scroll-margin-top: 2rem;
}

.ctt-tutor-detail-heading {
	display: flex;
	align-items: center;
	gap: 1.5rem;
	margin-bottom: 1rem;
}

.ctt-tutor-detail-heading .ctt-tutor-photo-wrap {
	width: 7rem;
	height: 7rem;
	margin: 0;
}

.ctt-tutor-detail-heading h2 {
	margin-bottom: 0.35rem;
}

.ctt-tutor-qualification {
	margin: 0;
	color: var(--ctt-soft-grey);
	font-size: 0.9rem;
	line-height: 1.5;
}

.ctt-tutor-bio {
	margin-top: 1rem;
	line-height: 1.7;
}

.ctt-tutor-enquire {
	margin-top: 1.25rem;
}

/* =========================================================
   Optional learning preferences assessment
   ========================================================= */

.ctt-assessment {
	margin: 2rem 0;
	padding: 1.75rem;
	border: 2px solid var(--ctt-border);
	border-radius: 1rem;
	background:
		radial-gradient(circle at top right, rgba(0, 151, 178, 0.08), transparent 35%),
		#ffffff;
}

.ctt-assessment-heading {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.5rem;
}

.ctt-assessment-heading h2 {
	margin-bottom: 0.5rem;
}

.ctt-assessment-heading p {
	margin-bottom: 0;
}

.ctt-assessment-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.65rem;
	flex: 0 0 auto;
	padding: 0.75rem 1rem;
	border-radius: 999px;
	background: rgba(0, 151, 178, 0.1);
	color: var(--ctt-blue);
	font-weight: 800;
	cursor: pointer;
}

.ctt-assessment-toggle input {
	width: auto;
	margin: 0;
}

.ctt-assessment-questions {
	display: grid;
	gap: 1rem;
	margin-top: 1.75rem;
}

.ctt-assessment-question {
	margin: 0;
	padding: 1.25rem;
	border: 1px solid rgba(142, 153, 162, 0.3);
	border-radius: 0.9rem;
	background: var(--ctt-light-bg);
}

.ctt-assessment-question legend {
	width: 100%;
	margin-bottom: 1rem;
	padding: 0;
	color: var(--ctt-dark-grey);
	font-size: 1rem;
	font-weight: 800;
	line-height: 1.55;
}

.ctt-score-options {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.65rem;
}

.ctt-score-option {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	min-height: 3.5rem;
	margin: 0;
	padding: 0.65rem;
	border: 1px solid rgba(142, 153, 162, 0.35);
	border-radius: 0.7rem;
	background: #ffffff;
	color: var(--ctt-dark-grey);
	font-size: 0.85rem;
	font-weight: 700;
	cursor: pointer;
}

.ctt-score-option:has(input:checked) {
	border-color: var(--ctt-blue);
	background: rgba(0, 151, 178, 0.1);
	color: var(--ctt-blue);
}

.ctt-score-option input {
	width: auto;
	margin: 0;
	flex: 0 0 auto;
}

.ctt-assessment-result {
	margin-top: 1.5rem;
	padding: 1.25rem;
	border-left: 0.35rem solid var(--ctt-blue);
	border-radius: 0.6rem;
	background: rgba(0, 151, 178, 0.08);
}

.ctt-assessment-result h3 {
	margin-bottom: 0.65rem;
}

.ctt-assessment-result p:last-child {
	margin-bottom: 0;
}

.ctt-assessment-note {
	font-size: 0.9rem;
}

@media screen and (max-width: 980px) {
	.ctt-tutor-directory {
		grid-template-columns: 1fr;
	}

	.ctt-score-options {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (max-width: 736px) {
	.ctt-assessment-heading,
	.ctt-tutor-detail-heading {
		flex-direction: column;
	}

	.ctt-assessment-toggle {
		width: 100%;
		justify-content: center;
	}

	.ctt-score-options {
		grid-template-columns: 1fr;
	}

	.ctt-tutor-detail-heading .ctt-tutor-photo-wrap {
		width: 6.5rem;
		height: 6.5rem;
	}
}

/* =========================================================
   Round 1 improvements: hero reassurance strip and tutor filters
   Styled with the existing CTT palette variables only.
   ========================================================= */

.ctt-filter-box {
	background: var(--ctt-white);
	border: 1px solid rgba(142, 153, 162, 0.25);
	border-radius: 1rem;
	padding: 1.75rem;
	margin-bottom: 2.5rem;
	box-shadow: 0 1rem 2.5rem rgba(57, 57, 57, 0.06);
}

.ctt-filter-box h2 {
	margin-bottom: 0.5rem;
}

.ctt-filter-box p {
	margin-bottom: 0;
}

.ctt-filter-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.25rem;
	align-items: end;
	margin-top: 1.5rem;
}

.ctt-filter-grid label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--ctt-dark-grey);
	font-weight: 800;
}

.ctt-filter-toggle {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	padding: 0.75rem 1rem;
	border: 1px solid var(--ctt-border);
	border-radius: 0.7rem;
	background: rgba(0, 151, 178, 0.08);
}

.ctt-filter-toggle label {
	margin: 0;
	color: var(--ctt-blue);
	cursor: pointer;
}

.ctt-filter-toggle input {
	width: auto;
	margin: 0;
	flex: 0 0 auto;
}

.ctt-filter-summary {
	margin-top: 1.25rem;
	color: var(--ctt-soft-grey);
	font-weight: 700;
}

.ctt-directory-empty {
	grid-column: 1 / -1;
	padding: 2.5rem 1.75rem;
	border: 2px dashed var(--ctt-border);
	border-radius: 1rem;
	background: var(--ctt-light-bg);
	text-align: center;
}

.ctt-directory-empty h3 {
	margin-bottom: 0.65rem;
}

.ctt-directory-empty p {
	margin: 0;
	color: var(--ctt-dark-grey);
}

/* Visible keyboard focus on the filter controls, following existing conventions. */
.ctt-filter-box select:focus-visible,
.ctt-filter-box button:focus-visible,
.ctt-filter-toggle input:focus-visible {
	outline: 3px solid var(--ctt-blue);
	outline-offset: 2px;
}

@media screen and (max-width: 980px) {
	.ctt-filter-grid {
		grid-template-columns: 1fr;
	}
}

/* =========================================================
   Homepage opening quote (Round 2)
   The hero leads with the quote instead of a headline, and the
   portrait panel is cropped to the two people.
   ========================================================= */

/* The Round 2 hero has no visible headline, so the page would otherwise ship
   with no <h1>. This keeps one in the document for assistive tech without
   changing the visual design. */
.ctt-visually-hidden {
        position: absolute;
        width: 1px;
        height: 1px;
        margin: -1px;
        padding: 0;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
}

.ctt-hero-quote {
	border-left: 0.35rem solid var(--ctt-blue);
	margin: 0 0 1rem 0;
	padding: 0 0 0 1.5rem;
	max-width: 34rem;
	font-size: clamp(1.5rem, 2.4vw, 2.25rem);
	line-height: 1.3;
	color: var(--ctt-dark-grey);
	font-weight: 500;
}

.ctt-hero-quote strong {
	color: var(--ctt-blue);
	font-weight: 800;
}

.ctt-hero-cite {
	display: block;
	margin: 0 0 2rem 0;
	color: var(--ctt-soft-grey);
	font-style: normal;
	font-weight: 700;
}

/* =========================================================
   Sticky header that shrinks on scroll
   ========================================================= */

/* The header is injected into an empty #site-header div at runtime. Making the
   DIV sticky pins it for the whole page: its containing block is <body>, which
   is as tall as the document, so it stays at the top while scrolling. Making
   .ctt-site-header itself sticky would NOT work, because its containing block
   (#site-header) is only as tall as the header and would scroll away with it.
   Sticky rather than fixed, so no page padding is needed and nothing shifts
   when the fragment loads. */
#site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
}

/* Anchor jumps (e.g. "Meet the Tutors" from the hero) must clear the sticky bar. */
html {
        scroll-padding-top: 6rem;
}

.ctt-header-inner {
        transition:
                min-height 0.25s ease,
                padding 0.25s ease;
}

.ctt-brand {
        transition:
                width 0.25s ease,
                height 0.25s ease;
}

.ctt-site-header {
        transition: box-shadow 0.25s ease;
}

.ctt-site-header.is-scrolled {
        box-shadow: 0 0.25rem 1rem rgba(57, 57, 57, 0.1);
}

.ctt-site-header.is-scrolled .ctt-header-inner {
        min-height: 4.25rem;
}

.ctt-site-header.is-scrolled .ctt-brand {
        width: 11rem;
        height: 3.5rem;
}

.ctt-site-header.is-scrolled .ctt-navigation a {
        min-height: 2.4rem;
        padding: 0.45rem 0.85rem;
        font-size: 0.9rem;
}

.ctt-site-header.is-scrolled .ctt-navigation .ctt-nav-button {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
}

@media screen and (max-width: 980px) {
        /* Phones and tablets: the tall mobile bar is what eats the screen, so
           it shrinks the most here - roughly half its resting height. */
        html {
                scroll-padding-top: 4.5rem;
        }

        .ctt-site-header.is-scrolled .ctt-header-inner {
                min-height: 3.25rem;
        }

        .ctt-site-header.is-scrolled .ctt-brand {
                width: 8rem;
                height: 2.5rem;
        }

        .ctt-site-header.is-scrolled .ctt-menu-toggle {
                width: 2.5rem;
                height: 2.5rem;
        }

        /* While the menu is open the bar keeps its full height, so open links
           are never clipped by a bar that shrank under them. */
        .ctt-site-header.is-menu-open .ctt-header-inner {
                min-height: 5.5rem;
        }

        .ctt-site-header.is-menu-open .ctt-brand {
                width: 12rem;
                height: 4.5rem;
        }
}

@media screen and (max-width: 480px) {
        .ctt-site-header.is-scrolled .ctt-header-inner {
                min-height: 3rem;
        }

        .ctt-site-header.is-scrolled .ctt-brand {
                width: 7rem;
                height: 2.25rem;
        }
}

@media (prefers-reduced-motion: reduce) {
        .ctt-header-inner,
        .ctt-brand,
        .ctt-site-header {
                transition: none;
        }
}

/* =========================================================
   Tutor reviews
   ========================================================= */

.ctt-review {
	margin-top: 1.25rem;
}

.ctt-review > summary {
	list-style: none;
}

.ctt-review > summary::-webkit-details-marker {
	display: none;
}

.ctt-review[open] > summary {
	margin-bottom: 1rem;
}

.ctt-review-form input,
.ctt-review-form select,
.ctt-review-form textarea {
	border-color: rgba(142, 153, 162, 0.45);
}

.ctt-review-note {
	margin: 1rem 0 0;
	font-weight: 800;
	color: var(--ctt-blue);
}

/* =========================================================
   Become a tutor
   ========================================================= */

.ctt-form input[type="file"] {
	border: 1px dashed rgba(142, 153, 162, 0.45);
	border-radius: 4px;
	padding: 0.55rem 0.825rem;
	width: 100%;
}

.ctt-application-note {
	margin: 1rem 0 0;
	font-weight: 800;
	color: var(--ctt-blue);
}

.ctt-application-help {
	font-size: 0.9rem;
	color: var(--ctt-soft-grey);
	line-height: 1.5;
	margin: 0;
}


/* =========================================================
   Tutoring rates (Round 7)
   Reuses .ctt-card; only alignment and the amount accent are added.
   ========================================================= */

.ctt-rate-card {
	text-align: center;
}

.ctt-rate-card p {
	margin-bottom: 0;
	font-size: 1.15rem;
	font-weight: 800;
	color: var(--ctt-blue);
}

.ctt-rate-card h3 {
	margin-bottom: 0.35rem;
}
