/* Hero Layout: Arch Window (3.4.0, CUSTOM-TEMPLATE.md D10). One tall arched photo in the middle, the title split half on
   each side at mid-height, a thin accent arch line around the window. Sites restyle with Branding (Hero → Accent Color,
   fonts, colors) and their css/screen.css; --ct7-accent is the one accent. */
.ct2-hero-arch.is-full:not(.cc-fit) { min-height: 100svh; display: flex; flex-direction: column; justify-content: center; box-sizing: border-box; }
.ct2-hero-arch .ct7-ar-wrap { padding-bottom: clamp(60px, 7vw, 120px); }

.ct7-ar { --ct7-ar-w: clamp(300px, 28vw, 430px); display: grid; grid-template-columns: minmax(0, 1fr) var(--ct7-ar-w) minmax(0, 1fr); grid-template-rows: auto 1fr auto 1fr; column-gap: clamp(28px, 3.6vw, 64px); }
.ct7-ar > .ct2-hero-eyebrow { grid-column: 2; grid-row: 1; margin: 0 0 34px; text-align: center; }
.ct7-ar-window { grid-column: 2; grid-row: 2 / 5; position: relative; aspect-ratio: 3 / 4.2; margin-top: 14px; }
.ct7-ar-window::before { content: ""; position: absolute; inset: -14px -14px 0; border: 1px solid var(--ct7-accent); border-bottom: 0; border-radius: 9999px 9999px 0 0; pointer-events: none; }
.ct7-ar-frame { position: relative; height: 100%; overflow: hidden; border-radius: 9999px 9999px var(--img-radius, 0) var(--img-radius, 0); }
.ct7-ar-window.is-empty .ct7-ar-frame { background: color-mix(in srgb, var(--ct7-accent) 16%, transparent); }
.ct7-ar-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; display: block; }

:where(body:not(.cc-look-hold-3-6-9)) .ct2-hero.ct2-hero-arch .ct2-hero-title.ct7-ar-title { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: subgrid; align-items: center; font-size: clamp(calc(var(--fs-hero) * 0.5), 5.5vw, var(--fs-hero)); line-height: 1.02; }

:where(body.cc-look-hold-3-6-9) .ct2-hero.ct2-hero-arch .ct2-hero-title.ct7-ar-title { grid-column: 1 / -1; grid-row: 3; display: grid; grid-template-columns: subgrid; align-items: center; font-size: clamp(36px, 4.1vw, 80px); line-height: 1.02; }
.ct2-hero .ct2-hero-title .ct7-ar-half { color: inherit !important; opacity: 1; min-width: 0; }
.ct7-ar-l { grid-column: 1; text-align: right; }
.ct7-ar-r { grid-column: 3; text-align: left; }
.ct7-ar-below { grid-column: 1; grid-row: 4; align-self: start; padding-top: clamp(24px, 2.4vw, 40px); text-align: right; min-width: 0; }
.ct7-ar-below .ct2-hero-sentence { margin: 0 0 0 auto; max-width: 26em; }
.ct7-ar-below .ct2-hero-buttons { justify-content: flex-end; margin-top: 30px; }

@media (prefers-reduced-motion: no-preference) {
	/* The one photo motion: a slow settle zoom inside the window. */
	.ct7-ar-img { animation: ct7-ar-settle 2.6s cubic-bezier(.2, .7, 0, 1) both; }
}
@keyframes ct7-ar-settle { from { transform: scale(1.12); } }

/* Tablets and phones: the arch on top, then the label and the whole title, centered. */
@media (max-width: 900px) {
	.ct7-ar { grid-template-columns: minmax(0, 1fr); grid-template-rows: none; justify-items: center; text-align: center; }
	.ct7-ar-window { grid-column: 1; grid-row: 1; width: min(100% - 28px, 360px); aspect-ratio: 3 / 3.7; margin: 14px 0 40px; }
	.ct7-ar > .ct2-hero-eyebrow { grid-column: 1; grid-row: 2; margin-bottom: 18px; }
	:where(body:not(.cc-look-hold-3-6-9)) .ct2-hero.ct2-hero-arch .ct2-hero-title.ct7-ar-title { grid-column: 1; grid-row: 3; display: block; }
:where(body.cc-look-hold-3-6-9) .ct2-hero.ct2-hero-arch .ct2-hero-title.ct7-ar-title { grid-column: 1; grid-row: 3; display: block; font-size: clamp(36px, 9vw, 64px); }
	.ct7-ar-half { display: inline; }
	.ct7-ar-l, .ct7-ar-r { text-align: center; }
	.ct7-ar-below { grid-column: 1; grid-row: 4; text-align: center; }
	.ct7-ar-below .ct2-hero-sentence { margin: 0 auto; }
	.ct7-ar-below .ct2-hero-buttons { justify-content: center; }
	.ct2-hero-arch .ct7-ar-wrap { padding-bottom: 48px; }
}

/* Late look hold (3.6.18, inc/look-baseline.php): rules above marked cc-look-hold-* keep the 3.6.7 look for sites updating from below that release. */
