html:has(.ninth-graders) {
	scroll-behavior: smooth;
	scroll-padding-top: 100px;
}

.ninth-graders {
	--ninth-dark: #0e4044;
	--ninth-yellow: #ffc425;
	--ninth-aqua: #169ea5;
	--ninth-ink: #17575b;
	overflow: hidden;
	background: var(--ninth-dark);
	color: #fff;
	font-family: Figtree, sans-serif;
}

.ninth-graders *, .ninth-graders *::before, .ninth-graders *::after {
	box-sizing: border-box;
}

.ninth-graders::after {
	content: '';
	display: block;
	height: 200px;
	background: var(--ninth-dark);
}

.ninth-graders a {
	text-decoration: none;
}

.ninth-container {
	width: min(100% - 48px, 1180px);
	margin-inline: auto;
}

.ninth-graders h1, .ninth-graders h2, .ninth-graders h3,
.ninth-polaroid figcaption {
	font-family: Bangers, Impact, sans-serif;
	font-weight: 400;
	letter-spacing: 0;
}

.ninth-hero {
	padding-top: 143px;
	text-align: center;
}

.ninth-hero-inner {
	position: relative;
}

.ninth-hero h1 {
	position: relative;
	z-index: 2;
	margin: 0 auto 72px;
	max-width: 1100px;
	font-size: 120px;
	line-height: 1.21;
	text-wrap: balance;
}

.ninth-hero-intro {
	white-space: nowrap;
}

.ninth-hero-emphasis {
	color: var(--ninth-yellow);
	white-space: nowrap;
}

/* Keep the PNG proportions; translate their transparent top margins above the stroke. */
.ninth-heading-line {
	position: absolute;
	display: block;
	max-width: none;
	height: auto;
	pointer-events: none;
	user-select: none;
}

.ninth-hero .ninth-heading-line {
	top: calc(100% + 3px);
	left: 50%;
	width: 108%;
	transform: translate(-50%, -40.85%) rotate(2deg);
}

.ninth-hero-photo>img {
	display: block;
	width: 100%;
	height: auto;
}

.ninth-feature {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(40px, 7vw, 110px);
}

.ninth-features>.ninth-feature:last-child {
	padding-bottom: 100px;
}

.ninth-feature-image-first .ninth-feature-art {
	order: -1;
}

.ninth-feature-copy {
	max-width: 540px;
}

.ninth-kicker {
	margin: 0 0 20px;
	color: #fff;
	font-family: Figtree, sans-serif;
	font-size: 16px;
	font-weight: 800;
	letter-spacing: .1em;
	line-height: 1.21;
	text-transform: uppercase;
}

.ninth-feature h2 {
	position: relative;
	width: fit-content;
	margin: 0 0 40px;
	color: var(--ninth-yellow);
	font-size: 56px;
	line-height: 1.21;
	text-wrap: balance;
}

.ninth-feature .ninth-heading-line {
	top: calc(100% + 3px);
	left: -.9em;
	width: var(--ninth-line-width);
	transform: translateY(-40.85%);
}

#commute-title {
	--ninth-line-width: 6.707em;
}

#teachers-title {
	--ninth-line-width: 8.01em;
}

#homework-title {
	--ninth-line-width: 7.647em;
}

#choice-title {
	--ninth-line-width: 9.729em;
}

.ninth-feature-copy>p:not(.ninth-kicker), .ninth-more p {
	margin: 0 0 18px;
	font-size: 20px;
	line-height: 1.45;
}

.ninth-feature-copy strong {
	font-weight: 700;
}

.ninth-more-toggle {
	display: inline-flex;
	align-items: center;
	gap: .6875em;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ninth-yellow);
	font-family: Figtree, sans-serif;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: .04em;
	cursor: pointer;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ninth-more-arrow {
	display: block;
	flex-shrink: 0;
	transform: rotate(180deg);
	transition: transform .2s;
}

.ninth-more-toggle[aria-expanded="true"] .ninth-more-arrow {
	transform: rotate(0deg);
}

.ninth-more-toggle:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 4px;
}

.ninth-more-content {
	display: none;
}

.ninth-more p {
	margin-top: 16px;
}

.ninth-feature-art {
	position: relative;
	width: min(100%, 510px);
	margin: 0 auto;
}

.ninth-art-main {
	display: block;
	width: 100%;
	height: auto;
}

.ninth-vibes {
	position: relative;
	padding: 95px 0 150px;
	background: var(--ninth-yellow);
	color: var(--ninth-ink);
}

.ninth-section-title {
	margin: 0 0 50px;
	font-size: 100px;
	line-height: 1.21;
	text-align: center;
}

#vibes-title {
	position: relative;
}

#vibes-title .ninth-heading-line {
	top: calc(100% + 3px);
	left: 50%;
	width: 6.934em;
	transform: translate(-50%, -29.89%) rotate(-1.89deg);
}

.ninth-polaroids {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
}

.ninth-polaroid {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	margin: 0;
	text-align: center;
}

.ninth-polaroid img {
	display: block;
	width: 100%;
	height: auto;
}

.ninth-polaroid figcaption {
	padding-top: 17px;
	font-size: 24px;
	line-height: 1.21;
	text-align: center;
}

.ninth-tour {
	max-width: 870px;
	margin: 150px auto 0;
	text-align: center;
}

.ninth-tour h2 {
	margin: 0 auto 24px;
	max-width: 380px;
	font-size: 36px;
	line-height: 1.21;
	transform: rotate(-9deg);
}

.ninth-tour-arrow {
	display: block;
	width: 70px;
	height: auto;
	margin: 0 auto 35px;
}

.ninth-tour-video {
	position: relative;
	display: block;
}

.ninth-tour-video:focus-visible {
	outline: 3px solid var(--ninth-dark);
	outline-offset: 6px;
}

.ninth-tour-video-mobile {
	display: none;
}

.ninth-tour-video picture, .ninth-tour-video picture img {
	display: block;
	width: 100%;
}

.ninth-tour-video picture img {
	height: auto;
}

.ninth-play {
	position: absolute;
	display: block;
}

.ninth-voice-portrait .ninth-play {
	aspect-ratio: 1;
}

.ninth-voice-portrait .ninth-play img {
	width: 100%;
	height: 100%;
	padding: 33.33% 30%;
}

.ninth-play:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 5px;
}

.ninth-tour-video .ninth-play {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.ninth-tour-video:hover .ninth-play {
	transform: translate(calc(-50% + 4px), calc(-50% + 4px));
	box-shadow: none;
}

.ninth-voices {
	padding: 105px 0 95px;
}

.ninth-voices .ninth-section-title {
	margin-bottom: 65px;
	color: #fff;
	font-size: 50px;
}

.ninth-voice-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: end;
	gap: 55px;
}

.ninth-voice-card {
	text-align: center;
}

.ninth-voice-portrait {
	position: relative;
	width: min(100%, 270px);
	margin: 0 auto;
}

.ninth-voice-portrait>img {
	display: block;
	width: 100%;
	height: auto;
}

.ninth-voice-portrait .ninth-play {
	width: max(44px, 20.8%);
	bottom: 60px;
	left: 58%;
	transform: translateX(-50%);
}

.ninth-voice-card:nth-child(2) .ninth-play {
	left: 55%;
}

.ninth-voice-card:nth-child(3) .ninth-play {
	left: 57%;
}

.ninth-voice-portrait .ninth-play:hover {
	transform: translate(calc(-50% + 4px), 4px);
}

.ninth-crossroads {
	padding: 123px 0 150px;
	background: var(--ninth-aqua);
	color: var(--ninth-dark);
}

.ninth-crossroads .ninth-section-title {
	color: #fff;
	font-size: 50px;
}

.ninth-crossroads-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 60px;
	max-width: 900px;
	margin: 0 auto;
}

.ninth-crossroads-card {
	position: relative;
	display: block;
	min-width: 0;
	color: var(--ninth-ink);
	text-align: center;
}

.ninth-crossroads-card img {
	display: block;
	width: 100%;
	height: auto;
}

.ninth-crossroads-caption {
	position: absolute;
	top: 61%;
	left: 20%;
	width: 65%;
	transform: rotate(-9.65deg);
}

.ninth-crossroads-card:nth-child(even) .ninth-crossroads-caption {
	top: 59%;
	left: 13%;
	transform: rotate(15.2deg);
}

.ninth-crossroads-card h3 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.21;
}

.ninth-final-actions {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 22px;
	margin-top: 95px;
}

.ninth-share-status {
	min-height: 1.5em;
	margin: 14px 0 0;
	text-align: center;
	font-weight: 700;
}

@media (max-width: 900px) {
	html:has(.ninth-graders) {
		scroll-padding-top: 190px;
	}

	.ninth-graders::after {
		height: 200px;
	}

	.ninth-container {
		width: min(100% - 36px, 560px);
	}

	.ninth-hero {
		padding-top: 101px;
	}

	.ninth-hero h1 {
		font-size: clamp(46px, 14.43vw, 58px);
		line-height: 1.21;
		margin-bottom: 25px;
	}

	.ninth-hero-emphasis {
		display: block;
	}

	.ninth-hero .ninth-heading-line {
		width: 3.58em;
	}

	.ninth-hero-photo {
		width: 140vw;
		margin-left: calc(50% - 70vw);
		margin-top: 38px;
	}

	.ninth-features {
		padding: 24px 0 159px;
	}

	.ninth-feature {
		display: flex;
		flex-direction: column;
		gap: 22px;
		min-height: 0;
		padding: 54px 0 12px;
		margin-bottom: 0;
		text-align: center;
	}

	.ninth-feature-image-first .ninth-feature-art {
		order: 0;
	}

	.ninth-feature-copy {
		width: 100%;
		max-width: 480px;
	}

	.ninth-kicker {
		font-size: 14px;
		margin-bottom: 20px;
	}

	.ninth-feature h2 {
		margin: 0 auto 25px;
		font-size: clamp(32px, 9.95vw, 40px);
		line-height: 1.21;
	}

	.ninth-feature .ninth-heading-line {
		left: 50%;
		width: 6.729em;
		transform: translate(-50%, -40.85%) rotate(-1.91deg);
	}

	.ninth-feature-copy>p:not(.ninth-kicker), .ninth-more p {
		font-size: 16px;
		line-height: 1.4;
		letter-spacing: .01em;
	}

	.ninth-feature-copy>p:not(.ninth-kicker) {
		max-width: 300px;
		margin-inline: auto;
	}

	#commute-title+p {
		max-width: 282px;
	}

	.ninth-more-toggle {
		font-size: 14px;
	}

	.ninth-feature-art {
		width: min(100% - 22px, 420px);
	}

	.ninth-vibes {
		padding: 70px 0 182px;
	}

	.ninth-section-title {
		font-size: 55px;
		margin-bottom: 45px;
	}

	#vibes-title .ninth-heading-line {
		width: 6.831em;
	}

	.ninth-polaroids {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 25px 20px;
		max-width: 330px;
		margin-inline: auto;
	}

	.ninth-polaroid figcaption {
		font-size: 18px;
		padding-top: 18px;
	}

	.ninth-tour {
		margin-top: 82px;
	}

	.ninth-tour h2 {
		font-size: 30px;
		line-height: 1.2;
	}

	.ninth-tour-video {
		max-width: 280px;
		margin: 0 auto;
	}

	.ninth-tour-video-desktop {
		display: none;
	}

	.ninth-tour-video-mobile {
		display: block;
	}

	.ninth-voices {
		padding: 70px 0 92px;
	}

	.ninth-voices .ninth-section-title {
		font-size: 30px;
		max-width: 285px;
		margin: 0 auto 35px;
	}

	.ninth-voice-grid {
		grid-template-columns: 1fr;
		gap: 60px;
	}

	.ninth-voice-portrait {
		width: 205px;
	}

	.ninth-voice-portrait .ninth-play {
		bottom: 44px;
	}

	.ninth-crossroads {
		padding: 75px 0 53px;
	}

	.ninth-crossroads .ninth-section-title {
		font-size: 30px;
		margin-bottom: 29px;
	}

	.ninth-crossroads-grid {
		grid-template-columns: 1fr;
		max-width: 290px;
		gap: 17px;
	}

	.ninth-crossroads-card {
		width: 270px;
		justify-self: center;
	}

	.ninth-crossroads-card:nth-child(even) {
		width: 290px;
	}

	.ninth-crossroads-card h3 {
		font-size: 16px;
		margin-bottom: 4px;
	}

	.ninth-final-actions {
		flex-direction: column;
		align-items: center;
		gap: 42px;
		margin-top: 34px;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.ninth-graders .ninth-reveal {
		transition: opacity 480ms ease, translate 480ms cubic-bezier(.2, .65, .3, 1);
		transition-delay: var(--ninth-reveal-delay, 0ms);
	}

	.ninth-graders .ninth-reveal-pending {
		opacity: 0;
		translate: 0 16px;
	}

	.ninth-graders .ninth-reveal:focus-within {
		opacity: 1;
		translate: none;
		transition: none;
	}
}

@media (max-width: 900px) {
	.ninth-graders .ninth-reveal {
		transition-delay: 0ms;
	}
}

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

	.ninth-graders *, .ninth-graders *::before, .ninth-graders *::after {
		scroll-behavior: auto !important;
		transition-duration: .01ms !important;
	}
}
