/*
 * School of Tango homepage (front-page.php). Mirrors the client-approved
 * preview of 2026-11-19. Every rule is scoped to .sot-home so nothing here
 * can leak into other templates.
 */

.sot-home {
	--sot-r: 22px;
	--sot-r-sm: 14px;
	--sot-ink: var(--color-heading);
	--sot-muted: var(--color-muted);
	--sot-line: var(--color-border);
	--sot-rosa: var(--color-cta);
	--sot-rosa-dk: var(--color-cta-hover);
	--sot-rosa-soft: var(--color-sunset-soft);
	--sot-sun: var(--color-sun);
	--sot-sun-soft: var(--color-gold-soft);
	--sot-espresso: var(--color-navy);
}

.sot-home .site-main {
	overflow-x: clip;
}

.sot-home .sot-wrap {
	max-width: 1320px;
	margin: 0 auto;
	padding-left: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-left, 0px));
	padding-right: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-right, 0px));
}

.sot-home .sot-section {
	/* Tighter rhythm (client 2026-11-29: "the gap between the sections is big"). */
	padding-block: clamp(40px, 5vw, 72px);
}

.sot-home .sot-section--flush {
	padding-top: 0;
}

.sot-home .sot-band {
	background: var(--color-sand);
}

.sot-home .sot-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sot-rosa);
}

.sot-home .sot-eyebrow::before {
	content: "";
	width: 22px;
	height: 1px;
	background: currentColor;
}

.sot-home .sot-h2 {
	margin: 0;
	font-size: clamp(32px, 3.8vw, 52px);
	line-height: 1.08;
}

.sot-home .sot-lede {
	margin: 0;
	max-width: 58ch;
	font-size: 17px;
	color: var(--sot-muted);
}

.sot-home .sot-head {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 24px;
	margin-bottom: clamp(28px, 4vw, 48px);
}

.sot-home .sot-head > div {
	display: grid;
	gap: 14px;
	max-width: 720px;
}

.sot-home .sot-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 14px 26px;
	border: 1.5px solid var(--sot-rosa);
	border-radius: 999px;
	background: var(--sot-rosa);
	color: #fff;
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	white-space: nowrap;
	cursor: pointer;
	transition: background 0.25s, border-color 0.25s, color 0.25s, transform 0.25s;
}

.sot-home .sot-btn:hover,
.sot-home .sot-btn:focus-visible {
	background: var(--sot-rosa-dk);
	border-color: var(--sot-rosa-dk);
	color: #fff;
	opacity: 1;
	transform: translateY(-1px);
}

.sot-home .sot-btn--ghost {
	background: transparent;
	border-color: rgba(42, 36, 32, 0.35);
	color: var(--sot-ink);
}

.sot-home .sot-btn--ghost:hover,
.sot-home .sot-btn--ghost:focus-visible {
	background: var(--sot-ink);
	border-color: var(--sot-ink);
	color: #fff;
}

.sot-home .sot-btn--sun {
	background: var(--sot-sun);
	border-color: var(--sot-sun);
	color: #2a2420;
}

.sot-home .sot-btn--sun:hover,
.sot-home .sot-btn--sun:focus-visible {
	background: #dc9f36;
	border-color: #dc9f36;
	color: #2a2420;
}

.sot-home .sot-more {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 15px;
	font-weight: 600;
	color: var(--sot-rosa);
}

.sot-home .sot-more span {
	transition: transform 0.25s;
}

.sot-home .sot-more:hover span {
	transform: translateX(4px);
}

/* Hero */
.sot-home .sot-hero {
	padding-block: clamp(28px, 4vw, 56px) 0;
}

.sot-home .sot-hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	gap: clamp(28px, 4vw, 64px);
	align-items: center;
}

.sot-home .sot-hero h1 {
	margin: 18px 0 22px;
	font-size: clamp(42px, 5.4vw, 78px);
	font-weight: 400;
	line-height: 1.02;
	letter-spacing: -0.022em;
}

.sot-home .sot-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 30px 0 28px;
}

.sot-home .sot-trustline {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 26px;
	margin: 0;
	font-size: 14px;
	color: var(--sot-muted);
}

.sot-home .sot-trustline b {
	margin-right: 4px;
	font-family: var(--font-heading);
	font-size: 22px;
	font-weight: 500;
	color: var(--sot-ink);
}

.sot-home .sot-mosaic {
	position: relative;
	display: grid;
	grid-template-columns: 1.25fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 14px;
	height: clamp(380px, 46vw, 600px);
}

.sot-home .sot-mosaic figure {
	position: relative;
	margin: 0;
	overflow: hidden;
	border-radius: var(--sot-r);
}

.sot-home .sot-mosaic figure:first-child {
	grid-row: 1 / 3;
}

.sot-home .sot-mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sot-home .sot-mosaic figcaption {
	position: absolute;
	left: 12px;
	bottom: 12px;
	padding: 5px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.92);
	color: var(--sot-ink);
	font-size: 12px;
	font-weight: 600;
}

.sot-home .sot-badge {
	position: absolute;
	left: -28px;
	top: 28px;
	display: flex;
	gap: 12px;
	align-items: flex-start;
	max-width: 250px;
	padding: 14px 16px;
	border-radius: var(--sot-r-sm);
	background: var(--color-white);
	box-shadow: 0 20px 40px -20px rgba(42, 36, 32, 0.4);
	font-size: 13px;
	line-height: 1.45;
	color: var(--sot-muted);
}

.sot-home .sot-badge i {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: var(--sot-sun-soft);
	color: var(--sot-rosa);
	font-size: 15px;
}

.sot-home .sot-badge b {
	display: block;
	margin-bottom: 2px;
	font-size: 14px;
	color: var(--sot-ink);
}

.sot-home .sot-search {
	position: relative;
	z-index: 3;
	display: grid;
	grid-template-columns: 1.6fr 1.3fr 0.8fr auto;
	gap: 8px;
	margin-top: -34px;
	padding: 12px;
	border: 1px solid var(--sot-line);
	border-radius: var(--sot-r);
	background: var(--color-white);
	box-shadow: 0 30px 60px -36px rgba(42, 36, 32, 0.45);
}

.sot-home .sot-field {
	display: grid;
	gap: 2px;
	min-width: 0;
	padding: 10px 16px;
	border-radius: var(--sot-r-sm);
	transition: background 0.2s;
}

.sot-home .sot-field:hover,
.sot-home .sot-field:focus-within {
	background: var(--color-cream);
}

.sot-home .sot-field label {
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sot-muted);
}

.sot-home .sot-field select,
.sot-home .sot-field input {
	width: 100%;
	min-width: 0;
	padding: 2px 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--sot-ink);
	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 600;
	box-shadow: none;
}

.sot-home .sot-field select:focus,
.sot-home .sot-field input:focus {
	outline: none;
}

.sot-home .sot-dates {
	display: flex;
	align-items: center;
	gap: 6px;
}

.sot-home .sot-search .sot-btn {
	border-radius: var(--sot-r-sm);
	padding-inline: 30px;
}

/* As seen in */
.sot-home .sot-press {
	padding-block: 44px 36px;
}

.sot-home .sot-press .sot-wrap {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
}

.sot-home .sot-press-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--sot-muted);
}

.sot-home .sot-press ul {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 40px;
	font-family: var(--font-heading);
	font-size: 21px;
	font-weight: 500;
	color: #a99d8e;
}

/* Intro */
.sot-home .sot-intro {
	padding-top: clamp(40px, 5vw, 64px);
}

.sot-home .sot-intro-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: clamp(32px, 5vw, 80px);
	align-items: center;
}

.sot-home .sot-collage {
	position: relative;
	padding-bottom: 60px;
}

.sot-home .sot-collage img {
	width: 100%;
	object-fit: cover;
	border-radius: var(--sot-r);
}

.sot-home .sot-collage-a {
	width: 86% !important;
	aspect-ratio: 4 / 3;
}

.sot-home .sot-collage-b {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 50% !important;
	aspect-ratio: 4 / 3;
	border: 8px solid var(--color-cream);
	border-radius: calc(var(--sot-r) + 6px) !important;
}

.sot-home .sot-intro-text {
	display: grid;
	gap: 20px;
}

.sot-home .sot-quote {
	margin: 0;
	padding: 24px 26px;
	border: 0;
	border-radius: var(--sot-r);
	background: var(--sot-rosa-soft);
}

.sot-home .sot-quote p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 21px;
	font-style: italic;
	line-height: 1.4;
	color: var(--sot-ink);
}

.sot-home .sot-quote cite {
	display: block;
	margin-top: 12px;
	font-size: 14px;
	font-style: normal;
	font-weight: 600;
	color: var(--sot-rosa);
}

/* Guest stories */
.sot-home .sot-arrows {
	display: flex;
	gap: 8px;
}

.sot-home .sot-arrows button {
	width: 46px;
	height: 46px;
	border: 1px solid var(--sot-line);
	border-radius: 50%;
	background: var(--color-white);
	color: var(--sot-ink);
	cursor: pointer;
	transition: all 0.2s;
}

.sot-home .sot-arrows button:hover,
.sot-home .sot-arrows button:focus-visible {
	background: var(--sot-espresso);
	border-color: var(--sot-espresso);
	color: #fff;
}

.sot-home .sot-track {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: min(86vw, 400px);
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	padding-bottom: 10px;
	margin-bottom: 22px;
	scrollbar-width: none;
}

.sot-home .sot-track::-webkit-scrollbar {
	display: none;
}

.sot-home .sot-story {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 26px;
	border-radius: var(--sot-r);
	background: var(--color-white);
	scroll-snap-align: start;
}

.sot-home .sot-stars {
	color: var(--sot-sun);
	font-size: 16px;
	letter-spacing: 2px;
}

.sot-home .sot-story p {
	margin: 0;
	font-family: var(--font-heading);
	font-size: 17px;
	line-height: 1.5;
	color: var(--sot-ink);
}

.sot-home .sot-who {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
	font-size: 14px;
}

.sot-home .sot-who i {
	display: grid;
	place-items: center;
	flex: none;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--sot-sun-soft);
	color: var(--sot-rosa);
	font-style: normal;
	font-weight: 700;
}

.sot-home .sot-who b {
	display: block;
	color: var(--sot-ink);
}

.sot-home .sot-who span {
	color: var(--sot-muted);
}

/* Maestros */
.sot-home .sot-teacher-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 18px;
}

.sot-home .sot-teacher {
	overflow: hidden;
	border: 1px solid var(--sot-line);
	border-radius: var(--sot-r);
	background: var(--color-white);
	color: var(--sot-ink);
	transition: transform 0.3s, box-shadow 0.3s;
}

.sot-home .sot-teacher:hover {
	opacity: 1;
	transform: translateY(-3px);
	box-shadow: 0 24px 46px -30px rgba(42, 36, 32, 0.45);
}

.sot-home .sot-teacher img {
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
}

.sot-home .sot-teacher div {
	padding: 16px 18px 18px;
}

.sot-home .sot-teacher h3 {
	margin: 0 0 4px;
	font-size: 21px;
}

.sot-home .sot-teacher span {
	font-size: 13.5px;
	color: var(--sot-muted);
}

.sot-home .sot-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 22px;
}

.sot-home .sot-chips a {
	display: inline-block;
	padding: 6px 14px;
	border: 1px solid var(--sot-line);
	border-radius: 999px;
	background: var(--color-white);
	color: var(--sot-ink);
	font-size: 14px;
	font-weight: 600;
}

.sot-home .sot-chips a:hover {
	border-color: var(--sot-rosa);
	color: var(--sot-rosa);
	opacity: 1;
}

/* Why us */
.sot-home .sot-why {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	overflow: hidden;
	border-radius: calc(var(--sot-r) * 1.6);
	background: linear-gradient(135deg, #3d322c, #4a3d35);
	color: #f4ece2;
}

.sot-home .sot-why-text {
	display: grid;
	align-content: center;
	gap: 24px;
	padding: clamp(28px, 5vw, 64px);
}

.sot-home .sot-why .sot-eyebrow,
.sot-home .sot-why h2 em {
	color: var(--sot-sun);
}

.sot-home .sot-why h2 {
	color: #f4ece2;
}

.sot-home .sot-points {
	display: grid;
	gap: 20px;
}

.sot-home .sot-points li {
	display: grid;
	grid-template-columns: 48px 1fr;
	gap: 16px;
	align-items: start;
}

.sot-home .sot-points i {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	border-radius: 14px;
	background: rgba(233, 174, 69, 0.16);
	color: var(--sot-sun);
	font-size: 19px;
}

.sot-home .sot-points h3 {
	margin: 0 0 4px;
	font-size: 21px;
	color: #f4ece2;
}

.sot-home .sot-points p {
	margin: 0;
	font-size: 15px;
	color: #cdbfb1;
}

.sot-home .sot-why > img {
	width: 100%;
	height: 100%;
	min-height: 360px;
	object-fit: cover;
}

/* City film + stats */
.sot-home .sot-city {
	position: relative;
	overflow: hidden;
	aspect-ratio: 21 / 9;
	border-radius: calc(var(--sot-r) * 1.6);
	background: #2a221d;
}

.sot-home .sot-city video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sot-home .sot-city-text {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	padding: clamp(20px, 4vw, 44px);
	background: linear-gradient(0deg, rgba(42, 34, 29, 0.7), transparent 60%);
	color: #fff;
}

.sot-home .sot-city .sot-eyebrow {
	color: var(--sot-sun);
}

.sot-home .sot-city h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 4vw, 52px);
	font-weight: 400;
}

.sot-home .sot-stats {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
	margin-top: 18px;
}

.sot-home .sot-stats > div {
	display: grid;
	gap: 6px;
	padding: 26px 28px;
	border-radius: var(--sot-r);
	background: var(--sot-sun-soft);
}

.sot-home .sot-stats b {
	font-family: var(--font-heading);
	font-size: clamp(44px, 5vw, 64px);
	font-weight: 500;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--sot-rosa);
}

.sot-home .sot-stats h3 {
	margin: 0;
	font-size: 20px;
}

.sot-home .sot-stats p {
	margin: 0;
	font-size: 15px;
	color: var(--sot-muted);
}

/* Package cards */
.sot-home .sot-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 34px 20px;
}

.sot-home .sot-card {
	display: flex;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--sot-line);
	border-radius: var(--sot-r);
	background: var(--color-white);
	transition: transform 0.3s, box-shadow 0.3s;
}

.sot-home .sot-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 26px 50px -30px rgba(42, 36, 32, 0.45);
}

.sot-home .sot-card-photo {
	position: relative;
	display: block;
	overflow: hidden;
}

.sot-home .sot-card-photo img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	transition: transform 0.8s;
}

.sot-home .sot-card:hover .sot-card-photo img {
	transform: scale(1.04);
}

.sot-home .sot-card-tag {
	position: absolute;
	left: 12px;
	top: 12px;
	padding: 4px 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.94);
	color: var(--sot-ink);
	font-size: 12px;
	font-weight: 700;
}

.sot-home .sot-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 12px;
	padding: 18px 20px 20px;
}

.sot-home .sot-card-title {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 12px;
}

.sot-home .sot-card h3 {
	margin: 0;
	font-size: 23px;
	line-height: 1.08;
}

.sot-home .sot-card h3 a {
	color: var(--sot-ink);
}

.sot-home .sot-from {
	font-size: 12px;
	line-height: 1.2;
	text-align: right;
	white-space: nowrap;
	color: var(--sot-muted);
}

.sot-home .sot-from b {
	display: block;
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 500;
	color: var(--sot-rosa);
}

.sot-home .sot-from b.sot-from-ask {
	font-size: 15px;
}

.sot-home .sot-card-body > p {
	margin: 0;
	font-size: 14.5px;
	color: var(--sot-muted);
}

.sot-home .sot-pick {
	margin-bottom: -4px;
	font-size: 11.5px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--sot-muted);
}

.sot-home .sot-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.sot-home .sot-pills a {
	display: inline-block;
	padding: 4px 11px;
	border: 1px solid var(--sot-line);
	border-radius: 999px;
	color: var(--sot-ink);
	font-size: 12.5px;
	font-weight: 600;
	transition: all 0.2s;
}

.sot-home .sot-pills a:hover,
.sot-home .sot-pills a:focus-visible {
	border-color: var(--sot-rosa);
	background: var(--sot-rosa-soft);
	color: var(--sot-rosa);
	opacity: 1;
}

.sot-home .sot-card .sot-more {
	margin-top: auto;
	padding-top: 4px;
}

@media (min-width: 601px) {
	.sot-home .sot-card-title {
		min-height: calc(23px * 1.08 * 2);
	}

	.sot-home .sot-card-body > p {
		min-height: calc(1.65em * 3);
	}
}

.sot-home .sot-card--bespoke {
	justify-content: center;
	gap: 16px;
	padding: 30px;
	border-color: var(--sot-rosa);
	background: linear-gradient(150deg, var(--sot-rosa), #a54c38);
	color: #fff;
}

.sot-home .sot-card--bespoke h3 {
	color: #fff;
	font-size: 30px;
	font-weight: 400;
}

.sot-home .sot-card--bespoke p {
	margin: 0;
	color: #fbe6dd;
	font-size: 15px;
}

/* Comparison table (template part, styled by style.css + tokens) */
.sot-home .sot-compare .package-comparison {
	padding-top: 0;
	background: transparent;
}

.sot-home .sot-compare .section-eyebrow,
.sot-home .sot-compare .section-heading,
.sot-home .sot-compare .section-subtitle {
	text-align: left;
}

.sot-home .sot-compare .container {
	max-width: 1320px;
	padding-left: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-left, 0px));
	padding-right: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-right, 0px));
}

.sot-home .sot-compare .section-subtitle {
	margin: -18px 0 32px;
}

.sot-home .sot-compare .table-wrapper {
	overflow: hidden;
	border: 1px solid var(--sot-line);
	border-radius: var(--sot-r);
	background: var(--color-white);
}

/* How it works */
.sot-home .sot-steps {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sot-home .sot-steps li {
	padding: 24px 20px;
	border: 1px solid var(--sot-line);
	border-radius: var(--sot-r);
	background: var(--color-white);
}

.sot-home .sot-step-n {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-bottom: 14px;
	border-radius: 50%;
	background: var(--sot-rosa);
	color: #fff;
	font-family: var(--font-heading);
	font-size: 19px;
	font-weight: 500;
}

.sot-home .sot-steps h3 {
	margin: 0 0 8px;
	font-size: 20px;
}

.sot-home .sot-steps p {
	margin: 0;
	font-size: 14px;
	color: var(--sot-muted);
}

/* Service pillars */
.sot-home .sot-pillars {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
}

.sot-home .sot-pillar {
	display: grid;
	grid-template-columns: 120px 1fr;
	gap: 18px;
	align-items: start;
	padding: 16px;
	border-radius: var(--sot-r);
	background: var(--color-white);
}

.sot-home .sot-pillar img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	border-radius: var(--sot-r-sm);
}

.sot-home .sot-pillar h3 {
	margin: 2px 0 6px;
	font-size: 21px;
}

.sot-home .sot-pillar p {
	margin: 0 0 10px;
	font-size: 14.5px;
	line-height: 1.5;
	color: var(--sot-muted);
}

.sot-home .sot-pillar ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 14px;
	font-size: 13px;
	font-weight: 600;
}

.sot-home .sot-pillar ul a {
	color: var(--sot-rosa);
}

.sot-home .sot-also {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 20px;
	margin: 22px 0 0;
	font-size: 14px;
	color: var(--sot-muted);
}

.sot-home .sot-also a {
	border-bottom: 1px solid var(--sot-line);
	color: var(--sot-ink);
	font-weight: 600;
}

.sot-home .sot-also a:hover {
	border-color: var(--sot-rosa);
	color: var(--sot-rosa);
	opacity: 1;
}

/* Films (template part) */
.sot-home .sot-screen .screen-section {
	background: transparent;
}

.sot-home .sot-screen .section-eyebrow,
.sot-home .sot-screen .section-heading,
.sot-home .sot-screen .section-caption {
	text-align: center;
}

.sot-home .sot-screen .section-caption {
	margin-left: auto;
	margin-right: auto;
}

.sot-home .sot-screen .container {
	max-width: 1320px;
	padding-left: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-left, 0px));
	padding-right: max(clamp(16px, 3.4vw, 44px), env(safe-area-inset-right, 0px));
}

/* Closing invitation */
.sot-home .sot-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(56px, 9vw, 120px) clamp(20px, 5vw, 64px);
	border-radius: calc(var(--sot-r) * 1.6);
	color: #fff;
	text-align: center;
}

.sot-home .sot-cta > img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sot-home .sot-cta::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(38, 30, 26, 0.66), rgba(38, 30, 26, 0.86));
}

.sot-home .sot-cta > div {
	position: relative;
	z-index: 1;
	display: grid;
	justify-items: center;
	gap: 20px;
	max-width: 780px;
	margin: 0 auto;
}

.sot-home .sot-cta .sot-eyebrow,
.sot-home .sot-cta h2 em {
	color: var(--sot-sun);
}

.sot-home .sot-cta h2 {
	margin: 0;
	color: #fff;
	font-size: clamp(34px, 5vw, 62px);
	font-weight: 400;
}

.sot-home .sot-cta p {
	margin: 0;
	font-size: 18px;
	color: #f4ece2;
}

.sot-home .site-footer {
	margin-top: clamp(64px, 8vw, 112px);
}

/* Responsive */
@media (max-width: 1180px) {
	.sot-home .sot-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sot-home .sot-pillars,
	.sot-home .sot-steps {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.sot-home .sot-hero-grid,
	.sot-home .sot-intro-grid,
	.sot-home .sot-why {
		grid-template-columns: 1fr;
	}

	.sot-home .sot-badge {
		left: 12px;
		top: 12px;
	}

	.sot-home .sot-search {
		grid-template-columns: 1fr 1fr;
		margin-top: 20px;
	}

	.sot-home .sot-field--package,
	.sot-home .sot-search .sot-btn {
		grid-column: 1 / -1;
	}

	.sot-home .sot-search .sot-btn {
		padding-block: 16px;
	}

	.sot-home .sot-teacher-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.sot-home .sot-stats {
		grid-template-columns: 1fr;
	}

	.sot-home .sot-city {
		aspect-ratio: 4 / 3;
	}

	.sot-home .sot-why > img {
		min-height: 260px;
		max-height: 340px;
	}
}

@media (max-width: 600px) {
	.sot-home .sot-mosaic {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 240px 150px;
		height: auto;
	}

	.sot-home .sot-mosaic figure:first-child {
		grid-row: auto;
		grid-column: 1 / -1;
	}

	.sot-home .sot-badge {
		position: static;
		grid-column: 1 / -1;
		max-width: none;
	}

	.sot-home .sot-search,
	.sot-home .sot-cards,
	.sot-home .sot-steps,
	.sot-home .sot-pillars {
		grid-template-columns: 1fr;
	}

	.sot-home .sot-pillar {
		grid-template-columns: 96px 1fr;
	}

	.sot-home .sot-pillar img {
		width: 96px;
		height: 96px;
	}

	.sot-home .sot-press ul {
		gap: 10px 24px;
		font-size: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sot-home .sot-card,
	.sot-home .sot-card-photo img,
	.sot-home .sot-teacher,
	.sot-home .sot-btn {
		transition: none;
	}
}

/* Dark mode: light cards become warm dark surfaces. */
[data-theme="dark"] .sot-home .sot-search,
[data-theme="dark"] .sot-home .sot-story,
[data-theme="dark"] .sot-home .sot-teacher,
[data-theme="dark"] .sot-home .sot-card:not(.sot-card--bespoke),
[data-theme="dark"] .sot-home .sot-steps li,
[data-theme="dark"] .sot-home .sot-pillar,
[data-theme="dark"] .sot-home .sot-badge,
[data-theme="dark"] .sot-home .sot-chips a,
[data-theme="dark"] .sot-home .sot-arrows button,
[data-theme="dark"] .sot-home .sot-compare .table-wrapper {
	background: var(--dm-surface);
	border-color: var(--color-border);
}

[data-theme="dark"] .sot-home .sot-field:hover,
[data-theme="dark"] .sot-home .sot-field:focus-within {
	background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .sot-home .sot-btn--ghost {
	border-color: rgba(244, 236, 226, 0.35);
	color: var(--dm-heading);
}

[data-theme="dark"] .sot-home .sot-collage-b {
	border-color: var(--dm-bg);
}

/* Section gaps (client note on the approved preview, 2026-11-18: "look at
   the gaps background from one section to the other"). One even rhythm
   between every section, and the sand bands fade in and out of the cream
   instead of starting and stopping as hard stripes. */
.sot-home {
	--sot-gap: clamp(56px, 6.5vw, 92px);
	--sot-fade: clamp(48px, 6vw, 96px);
}

.sot-home .sot-section {
	padding-block: var(--sot-gap);
}

.sot-home .sot-section--flush {
	padding-top: 0;
}

.sot-home .sot-band {
	background: linear-gradient(
		180deg,
		var(--color-cream) 0,
		var(--color-sand) var(--sot-fade),
		var(--color-sand) calc(100% - var(--sot-fade)),
		var(--color-cream) 100%
	);
}

.sot-home .site-footer {
	margin-top: var(--sot-gap);
}

:root[data-theme="dark"] .sot-home .sot-band {
	background: linear-gradient(
		180deg,
		var(--dm-bg) 0,
		var(--color-sand) var(--sot-fade),
		var(--color-sand) calc(100% - var(--sot-fade)),
		var(--dm-bg) 100%
	);
}

/* Films: two compact side-by-side cards as in the approved preview (poster
   left, title and note right), heading left-aligned like every other
   section, instead of tall staggered reels. */
.sot-home .sot-screen .screen-section {
	padding: 0 0 var(--sot-gap);
	border: 0;
	background: transparent;
}

.sot-home .sot-screen .section-eyebrow,
.sot-home .sot-screen .section-heading,
.sot-home .sot-screen .section-caption {
	text-align: left;
	margin-left: 0;
}

.sot-home .sot-screen .screen-story {
	background: var(--color-white);
	border: 1px solid var(--color-border);
	border-radius: 22px;
	padding: 16px;
}

.sot-home .sot-screen .screen-reel-frame {
	border-radius: 14px;
	overflow: hidden;
	box-shadow: none;
}

.sot-home .sot-screen .screen-story-text h3 {
	padding-top: 0;
	border-top: 0;
	font-size: clamp(23px, 2vw, 27px);
	font-weight: 500;
}

.sot-home .sot-screen .screen-story-text .section-eyebrow {
	margin-bottom: 8px;
}

.sot-home .sot-screen .screen-story-lede {
	margin-top: 8px;
	font-family: var(--font-body);
	font-size: 15px;
	font-style: normal;
	color: var(--color-muted);
}

.sot-home .sot-screen .screen-story-credit {
	margin-top: 10px;
	font-size: 13px;
	font-style: italic;
}

@media (min-width: 861px) {
	.sot-home .sot-screen .screen-stories {
		--reel-embed-w: 330px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px;
	}

	.sot-home .sot-screen .screen-story,
	.sot-home .sot-screen .screen-story--reverse {
		grid-template-columns: var(--reel-w) minmax(0, 1fr);
		justify-content: stretch;
		gap: 24px;
	}

	.sot-home .sot-screen .screen-story--reverse .screen-reel {
		order: 0;
	}
}

@media (min-width: 861px) and (max-width: 1180px) {
	.sot-home .sot-screen .screen-stories {
		grid-template-columns: minmax(0, 1fr);
	}
}

:root[data-theme="dark"] .sot-home .sot-screen .screen-story {
	background: var(--dm-surface);
}

.sot-home .sot-screen .instagram-section .container {
	border-top: 0;
	padding-top: 0;
}
