/* Stonebriar Smile Design — Technology page */

:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) figure,
:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) p {
	margin-top: 0;
}

:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) .button,
:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) .eyebrow {
	font-size: 0.8rem;
}

.technology-hero {
	display: grid;
	min-height: min(960px, calc(100dvh));
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
	color: var(--white);
	background: var(--navy-deep);
}

.technology-hero__content {
	display: flex;
	min-width: 0;
	align-items: flex-start;
	justify-content: center;
	flex-direction: column;
	padding: clamp(80px, 9vw, 138px) clamp(48px, 4vw, 100px) clamp(40px, 2vw, 138px);
}

.technology-hero .eyebrow,
.technology-hero .heading em {
	color: var(--gold-light);
}

.technology-hero .heading {
	width: 100%;
	max-width: 720px;
	margin: 0 0 30px;
	color: var(--white);
	font-size: clamp(3rem, 4.5vw, 5.1rem);
	letter-spacing: -0.052em;
	line-height: 0.98;
	text-wrap: balance;
}

.technology-hero .heading > span {
	display: block;
	white-space: nowrap;
}

.technology-hero .heading em {
	display: block;
	margin-top: 0.08em;
	font-family: var(--script);
	font-size: 0.68em;
	font-weight: 400;
	letter-spacing: 0;
	line-height: 1.08;
}

.technology-hero__lead {
	width: 100%;
	max-width: 640px;
	margin-bottom: 34px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 18px;
	line-height: 1.55;
}

.technology-hero__actions {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 18px 28px;
}

.technology-text-link {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	gap: 16px;
	color: var(--navy);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-decoration: none;
	text-transform: uppercase;
}

.technology-hero .technology-text-link {
	color: var(--white);
}

.technology-text-link span {
	color: var(--white);
	font-size: 1.05rem;
	transition: transform 0.3s ease;
}

.technology-text-link:hover span,
.technology-text-link:focus-visible span {
	transform: translate(-3px, 3px);
}

.technology-hero__media {
	position: relative;
	min-height: 680px;
	margin: 0;
	overflow: hidden;
}

.technology-hero__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(17, 24, 49, 0.38), transparent 45%), linear-gradient(0deg, rgba(17, 24, 49, 0.36), transparent 42%);
	content: "";
	pointer-events: none;
}

.technology-hero__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.technology-hero__media figcaption,
.technology-feature__media figcaption {
	position: absolute;
	z-index: 2;
	right: clamp(22px, 4vw, 54px);
	bottom: clamp(22px, 4vw, 48px);
	max-width: 280px;
	padding: 16px 20px;
	border-left: 2px solid var(--gold-light);
	color: var(--white);
	background: rgba(17, 24, 49, 0.84);
	box-shadow: 0 14px 34px rgba(5, 10, 27, 0.24);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	font-family: var(--display);
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	line-height: 1.6;
	text-transform: uppercase;
}

.technology-intro {
	background: var(--ivory);
}

.technology-intro__grid,
.technology-partnership__grid {
	display: grid;
	align-items: start;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(48px, 9vw, 130px);
}

.technology-intro__copy {
	padding-top: 34px;
}

.technology-intro__copy p:last-child,
.technology-partnership__copy p:last-of-type {
	margin-bottom: 0;
}

.technology-benefits {
	padding: clamp(90px, 11vw, 100px) 0;
	background: var(--white);
}

.technology-benefits__heading {
	display: grid;
	align-items: end;
	grid-template-columns: 0.65fr 1.35fr;
	gap: 20px 80px;
	margin-bottom: 55px;
}

.technology-benefits__heading .eyebrow {
	grid-column: 1 / -1;
	margin-bottom: -8px;
}

.technology-benefits__heading .heading {
	grid-column: 2;
	margin: 0;
}

.technology-benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.technology-benefit {
	min-height: 340px;
	padding: clamp(32px, 4vw, 52px);
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--blue-soft);
	transition: background-color 0.4s ease, transform 0.4s ease;
}

.technology-benefit:hover {
	transform: translateY(-3px);
}

.technology-benefit > span,
.technology-card__content > span {
	display: block;
	margin-bottom: 24px;
	color: var(--gold-text);
	font-family: var(--display);
	font-size: 0.8rem;
	letter-spacing: 0.12em;
}

.technology-card--text .technology-card__content > span {
		color: var(--white);
}

.technology-benefit .heading {
	margin: 0 0 16px;
	font-size: clamp(1.45rem, 2.2vw, 2rem);
}

.technology-benefit p {
	margin-bottom: 0;
	color: var(--muted);
}

.technology-feature {
	padding: clamp(90px, 11vw, 100px) 0;
}

.technology-feature--light {
	background: var(--blue-soft);
}

.technology-feature--ivory {
	background: var(--ivory);
}

.technology-feature--blue {
	background: #e9f3f7;
}

.technology-feature--navy {
	color: var(--white);
	background: var(--navy-deep);
}

.technology-feature__grid {
	display: grid;
	align-items: center;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(52px, 9vw, 130px);
}

.technology-feature__grid--reverse {
	grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}

.technology-feature__grid--reverse .technology-feature__media {
	order: 2;
}

.technology-feature__grid--reverse .technology-feature__content {
	order: 1;
}

.technology-feature__media {
	position: relative;
	margin: 0;
	overflow: hidden;
	box-shadow: 0 28px 70px rgba(17, 24, 49, 0.13);
	border-radius: 20px;
}

.technology-feature__media::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(17, 24, 49, 0.48), transparent 45%);
	content: "";
	pointer-events: none;
}

.technology-feature__media img {
	padding: 0 30px;
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: contain;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.technology-feature--light .technology-feature__media img {
	padding: 0;
	display: block;
	width: 100%;
	aspect-ratio: 5 / 4;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
	border-radius: 20px;
}

.technology-feature__media:hover img {
	transform: scale(1.025);
}

.technology-feature__content .eyebrow,
.technology-feature__content .heading em {
	color: var(--gold-text);
}

.technology-feature__content .heading {
	font-size: clamp(2.5rem, 4.5vw, 4.6rem);
}

.technology-feature__content p:not(.eyebrow, .lead) {
	color: var(--muted);
}

.technology-feature--navy .technology-feature__content .heading,
.technology-feature--navy .technology-feature__content .lead {
	color: var(--white);
}

.technology-feature--navy .technology-feature__content .eyebrow,
.technology-feature--navy .technology-feature__content .heading em {
	color: var(--gold-light);
}

.technology-feature--navy .technology-feature__content p:not(.eyebrow, .lead) {
	color: rgba(255, 255, 255, 0.78);
}

.technology-feature__content .button {
	margin-top: 18px;
}

.technology-feature__list {
	display: grid;
	gap: 12px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.technology-feature__list li {
	position: relative;
	padding: 14px 0 14px 36px;
	border-bottom: 1px solid var(--line);
	color: var(--navy);
	font-weight: 600;
}

.technology-feature__list li::before {
	position: absolute;
	top: 50%;
	left: 0;
	display: grid;
	width: 22px;
	height: 22px;
	place-items: center;
	border: 1px solid rgba(203, 156, 77, 0.4);
	border-radius: 50%;
	color: var(--gold-text);
	background: rgba(203, 156, 77, 0.1);
	content: "✦";
	font-size: 0.72rem;
	line-height: 1;
	transform: translateY(-50%);
}

.technology-library {
	background: var(--white);
}

.technology-library .section-heading > p:last-child {
	max-width: 720px;
	margin-inline: auto;
	color: var(--muted);
}

.technology-library__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--line);
	border-left: 1px solid var(--line);
}

.technology-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	border-right: 1px solid var(--line);
	border-bottom: 1px solid var(--line);
	background: var(--white);
	transition: background-color 0.4s ease, box-shadow 0.4s ease, transform 0.4s ease;
}

.technology-card:hover {
	z-index: 1;
	background: var(--blue-soft);
	box-shadow: 0 18px 45px rgba(17, 24, 49, 0.09);
	transform: translateY(-3px);
}

.technology-card > img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
}

.technology-card__content {
	display: flex;
	min-height: 350px;
	flex: 1;
	flex-direction: column;
	padding: clamp(28px, 3.5vw, 44px);
}

.technology-card__content > span {
	margin-bottom: 34px;
}

.technology-card .heading {
	margin: 0 0 16px;
	font-size: clamp(1.4rem, 2vw, 1.85rem);
}

.technology-card p {
	margin-bottom: 0;
	color: var(--muted);
}

.technology-card--text {
	color: var(--white);
	background: var(--navy);
}

.technology-card--text:hover {
	background: var(--navy-deep);
}

.technology-card--text .technology-card__content {
	min-height: 100%;
	justify-content: center;
}

.technology-card--text .heading,
.technology-card--text p,
.technology-card--text .technology-text-link {
	color: var(--white);
}

.technology-card--text .technology-text-link {
	margin-top: 32px;
}

.technology-partnership {
	padding: clamp(90px, 11vw, 100px) 0;
	background: #f5eddf;
}

.technology-partnership__copy {
	padding-top: 30px;
}

.technology-partnership__copy .technology-text-link {
	margin-top: 25px;
	color: var(--navy);
}

.technology-partnership__copy .technology-text-link span {
	color: var(--navy);
}

.technology-cta {
	position: relative;
	overflow: hidden;
	padding: clamp(100px, 12vw, 170px) 0;
	color: var(--white);
	background: var(--navy-deep);
	text-align: center;
}

.technology-cta__mark {
	position: absolute;
	top: 43%;
	left: 50%;
	width: clamp(420px, 40vw, 760px);
	aspect-ratio: 1;
	opacity: 0.05;
	pointer-events: none;
	transform: translate(-50%, -50%);
}

.technology-cta__mark img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.technology-cta .container {
	position: relative;
}

.technology-cta .eyebrow,
.technology-cta .heading em {
	color: var(--gold-light);
}

.technology-cta .heading {
	max-width: 980px;
	margin: 0 auto 24px;
	color: var(--white);
	font-size: clamp(2.8rem, 6vw, 4.4rem);
}

.technology-cta p:not(.eyebrow) {
	max-width: 700px;
	margin: 0 auto 36px;
	color: rgba(255, 255, 255, 0.72);
}

/* .technology-cta .button {
	border-radius: 999px;
} */

@media (max-width: 1280px) and (min-width: 901px) {
	.technology-hero {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	}

	.technology-hero__content {
		padding-left: clamp(34px, 4vw, 52px);
		padding-right: clamp(34px, 4vw, 52px);
	}

	.technology-hero .heading {
		font-size: clamp(3rem, 4.8vw, 4.4rem);
		letter-spacing: -0.045em;
	}

	.technology-hero__lead {
		font-size: clamp(1.08rem, 1.5vw, 1.3rem);
	}
}

@media (max-width: 1050px) {
	.technology-hero {
		grid-template-columns: 1fr 1fr;
	}

	.technology-hero__content {
		padding-left: 40px;
		padding-right: 40px;
	}

	.technology-library__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.technology-hero,
	.technology-feature__grid,
	.technology-feature__grid--reverse {
		grid-template-columns: 1fr;
	}

	.technology-hero {
		min-height: 0;
	}

	.technology-hero__content {
		padding: 90px max(32px, calc((100vw - 720px) / 2));
	}

	.technology-hero__media {
		min-height: 600px;
	}

	.technology-intro__grid,
	.technology-partnership__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.technology-intro__copy,
	.technology-partnership__copy {
		max-width: 720px;
		padding-top: 0;
	}

	.technology-benefits__heading {
		grid-template-columns: 1fr;
	}

	.technology-benefits__heading .eyebrow,
	.technology-benefits__heading .heading {
		grid-column: auto;
	}

	.technology-benefits__grid {
		grid-template-columns: 1fr;
	}

	.technology-benefit {
		min-height: 0;
	}

	.technology-feature__grid--reverse .technology-feature__media,
	.technology-feature__grid--reverse .technology-feature__content {
		order: initial;
	}

	.technology-feature__content {
		max-width: 720px;
	}
}

@media (max-width: 650px) {
	.technology-hero__content {
		padding: 72px 24px;
	}

	.technology-hero .heading {
		font-size: clamp(2.75rem, 13vw, 4.2rem);
	}

	.technology-hero__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.technology-hero__actions .button {
		width: 100%;
	}

	.technology-hero__media {
		min-height: 430px;
	}

	.technology-benefit {
		padding: 36px 28px;
	}

	.technology-benefit > span {
		margin-bottom: 36px;
	}

	.technology-feature__content .heading {
		font-size: clamp(2.3rem, 11vw, 3.4rem);
	}

	.technology-library__grid {
		grid-template-columns: 1fr;
	}

	.technology-card__content {
		min-height: 0;
		padding: 34px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) *,
	:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) *::before,
	:where(.technology-hero, .technology-intro, .technology-benefits, .technology-feature, .technology-library, .technology-partnership, .technology-cta) *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
