/**
 * Property Landing — shared base (every property).
 *
 * The factory layer: component mechanics and behaviour every property reuses — shared text
 * utilities, the pill CTA, carousel/tab arrows, footer legal band, lightbox, reveal-on-scroll, skip
 * link, focus rings, reduced motion and editor parity. Property look lives in a skin file
 * (assets/css/landing-{property_slug}.css) that loads after this one with it as a dependency.
 *
 * Skins re-skin through CUSTOM PROPERTIES, not selector overrides, wherever a knob exists here
 * (e.g. --tt5c-arrow-bg, --tt5c-eyebrow-tracking, --tt5c-legal-*). Every knob's fallback is the
 * 300 North LaSalle value, so a property that sets nothing renders exactly like 300 NLS did before
 * the split (2026-10-04, screenshot-diffed at 1440/768/375).
 *
 * Everything references the token contract (var(--wp--custom--brand--*)), so per-property token
 * injection (inc/token-injection.php) re-skins colours with zero edits here.
 * Loaded on the front end (functions.php) and in the editor iframe (tt5c_editor_assets).
 */

/* ---------- Shared ---------- */
.tt5c-section { position: relative; }

.property-landing :where(figure) { margin: 0; }

.tt5c-eyebrow {
	font-family: var(--wp--custom--brand-font--eyebrow, 'Spartan', sans-serif);
	font-weight: var(--tt5c-eyebrow-weight, 600);
	font-size: var(--tt5c-eyebrow-size, 0.9375rem);
	line-height: 1.2;
	letter-spacing: var(--tt5c-eyebrow-tracking, 0.34em);
	text-transform: uppercase;
	margin: 0 0 1.375rem;
}
.tt5c-eyebrow--light  { color: #fff; }
.tt5c-eyebrow--muted  { color: var(--wp--custom--brand--muted, #6E93AD); }
.tt5c-eyebrow--accent { color: var(--wp--custom--brand--accent); }
.tt5c-eyebrow--sky    { color: var(--wp--custom--brand--accent-hover, #629FCC); }

.tt5c-lead {
	font-family: var(--wp--custom--brand-font--body);
	font-size: 1rem;
	line-height: 1.7;
	color: var(--wp--custom--brand--text);
	max-width: 640px;
	margin-top: 1.625rem;
}
.tt5c-on-dark { color: #fff !important; }

/* Visually hidden, still announced. Used for the document title on interior pages whose visible
   content is supplied by a plugin and carries no <h1> of its own. */
.tt5c-sr-only {
	position: absolute;
	width: 1px; height: 1px;
	margin: -1px; padding: 0; border: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

/* Pill CTA ("Get in Touch", "Explore Workspaces").
 *
 * `align-items: center` centres the *line box*, not the letters, and for an all-caps label in
 * Spartan those are not the same thing. Spartan's ascent sits far above its cap height while its
 * descent is shallow (hhea 1720 / -520 on a 2000 upm, cap height 1650), so of the 23.8px line box
 * 15.0px falls above the baseline and 8.8px below it. The caps only use 11.55px of that upper
 * 15.0px, which leaves 3.45px of slack above the letters against 8.8px below. Measured in Chrome
 * on the 53.8px-tall pill, the cap box ran 18.45→30.0px: 18.45px of air over the caps, 23.80px
 * under them. The label read 2.7px high, which is what client QA saw.
 *
 * Line-height cannot fix this: half-leading is split evenly, so any change to it moves both edges
 * by the same amount. The correction has to be asymmetric, so it goes on the block padding —
 * +/- the same amount top and bottom, which keeps the pill exactly 53.8px tall and leaves every
 * other measurement on the page untouched. 0.19em is 2.66px at the label's 14px, and in `em` so it
 * tracks the font size rather than silently decaying if the CTA is ever re-scaled.
 *
 * Block padding is a variable so a scoped instance can rescale the pill (the nav bar does) by
 * re-pointing it — a `padding-block` shorthand there would drop the calcs and the correction.
 *
 * The arrow is a separate flex item and was already dead-centre in the pill, so it must NOT ride
 * down with the text — `top` puts it back. (Relative offset rather than a negative margin, which
 * flex centring would halve.) Text and arrow now share one centre line for the first time.
 */
.tt5c-cta .wp-block-button__link {
	--tt5c-cta-optical-shift: 0.19em;
	--tt5c-cta-padding-block: 0.9375rem; /* theme.json's elements.button value, restated so it can be scoped */
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding-top: calc(var(--tt5c-cta-padding-block) + var(--tt5c-cta-optical-shift));
	padding-bottom: calc(var(--tt5c-cta-padding-block) - var(--tt5c-cta-optical-shift));
	box-shadow: 0 14px 34px rgba(11, 24, 38, 0.4);
	transition: background-color 0.35s ease;
}
.tt5c-cta--arrow .wp-block-button__link::after {
	content: "";
	position: relative;
	top: calc(-1 * var(--tt5c-cta-optical-shift));
	width: 16px;
	height: 16px;
	background: currentColor;
	-webkit-mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	mask: no-repeat center / contain url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
}

/* ---------- Hero parallax (landing.js initHeroAndDock moves the image on scroll) ----------
 * Oversize the cover image so the translateY never uncovers an edge. Property skins add the rest. */
.tt5c-hero { position: relative; overflow: hidden; }
.tt5c-hero .wp-block-cover__image-background {
	height: 116%;
	top: -8%;
	will-change: transform;
}

/* ---------- Carousel / tab arrows (mechanics shared by every property) ---------- */
.tt5c-carousel__head { margin-bottom: 3.5rem; }
.tt5c-carousel__controls { display: flex; align-items: center; gap: 1.625rem; }
/* Arrow buttons. Colours are knobs so a property re-skins the exact 300 NLS arrow (size, ring, blur,
 * icon, transition) without touching a selector:
 *   --tt5c-arrow-color   icon colour                       (default #fff)
 *   --tt5c-arrow-bg      overlay fill                      (default navy scrim)
 *   --tt5c-arrow-border  ring (overlay)                    (default white 55%)
 *   --tt5c-arrow-hover   hover/focus fill + ring           (header arrows default: brand accent)
 * Overlay arrows: `.tt5c-carousel__nav .tt5c-carousel__btn` ties `.tt5c-carousel__btn:hover` on
 * specificity and comes later, so on 300 NLS the overlay arrows have never changed on hover. That is
 * preserved as the default (fallback = the resting fill); a property opts in by setting
 * --tt5c-arrow-hover. */
.tt5c-carousel__btn {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	border: 1px solid rgba(165, 160, 150, 0.5);
	background: transparent;
	color: var(--tt5c-arrow-color, #fff);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background-color 0.35s ease, border-color 0.35s ease;
}
.tt5c-carousel__btn:hover,
.tt5c-carousel__btn:focus-visible {
	background: var(--tt5c-arrow-hover, var(--wp--custom--brand--accent));
	border-color: var(--tt5c-arrow-hover, var(--wp--custom--brand--accent));
}
/* Optional "Over photos" arrow layout (editor-selectable; class added by editor-carousel-nav.js).
   The arrows are floated over the slide row, vertically centred on the photo; the counter stays
   in the header. pointer-events pass through the strip so drag/swipe still reaches the photos. */
.tt5c-carousel__viewport { position: relative; }
.tt5c-carousel__nav {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 560px; /* matches .tt5c-slide height so arrows centre on the image */
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 1.5rem;
	/* 1, not 4. The arrows only ever need to clear the slide image (z-index 0) and its scrim
	 * (z-index 1 — equal, so later-in-DOM wins) inside `.tt5c-carousel__viewport`; 4 bought nothing
	 * locally and, because the section is not itself a stacking context, the value competed with the
	 * page. The open mobile nav overlay is `position:fixed` and lost to it, so the arrows painted on
	 * top of the menu panel. */
	z-index: 1;
	pointer-events: none;
}
.tt5c-carousel__nav .tt5c-carousel__btn {
	pointer-events: auto;
	background: var(--tt5c-arrow-bg, rgba(11, 24, 38, 0.45));
	border-color: var(--tt5c-arrow-border, rgba(255, 255, 255, 0.55));
	backdrop-filter: blur(6px);
	-webkit-backdrop-filter: blur(6px);
}
.tt5c-carousel__nav .tt5c-carousel__btn:hover,
.tt5c-carousel__nav .tt5c-carousel__btn:focus-visible {
	background: var(--tt5c-arrow-hover, var(--tt5c-arrow-bg, rgba(11, 24, 38, 0.45)));
	border-color: var(--tt5c-arrow-hover, var(--tt5c-arrow-border, rgba(255, 255, 255, 0.55)));
}
/* No-JS fallback: the viewport is a native horizontal scroller with snap, so every slide is
 * reachable by swipe/scroll. When JS is available (.tt5c-js) it becomes the transform-driven
 * carousel and the native overflow is hidden. */
.tt5c-carousel__viewport {
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
}
.tt5c-carousel__viewport::-webkit-scrollbar { display: none; }
.tt5c-js .tt5c-carousel__viewport { overflow: hidden; }
.tt5c-carousel__track {
	gap: 2%;
	flex-wrap: nowrap;
	touch-action: pan-y;
	user-select: none;
	-webkit-user-select: none;
}
.tt5c-slide { scroll-snap-align: start; }
.tt5c-js .tt5c-carousel__track {
	transform: translateX(var(--tt5c-shift, 0));
	transition: transform 0.82s cubic-bezier(0.16, 0.7, 0.2, 1);
	cursor: grab;
}
.tt5c-js .tt5c-carousel__track.is-grabbing { cursor: grabbing; }
/* The prev/next arrows do nothing without JS — only show them once JS is running. */
.tt5c-carousel__controls { display: none; }
.tt5c-js .tt5c-carousel__controls { display: flex; }
.tt5c-carousel__track img { -webkit-user-drag: none; user-select: none; pointer-events: none; }
.tt5c-carousel__dots { display: flex; gap: 0.625rem; margin-top: 2.25rem; }
.tt5c-carousel__dot {
	height: 6px;
	width: 16px;
	border: 0;
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.24);
	cursor: pointer;
	padding: 0;
	transition: all 0.45s cubic-bezier(0.16, 0.7, 0.2, 1);
}
.tt5c-carousel__dot.is-active { width: 38px; background: var(--wp--custom--brand--accent); }

/* ---------- Tabs (landing.js initTabs) ----------
 * Before the script marks a section `.is-tabs-ready` (no JS, or it failed), every panel renders
 * stacked and visible, so nothing is ever hidden behind a script. Once ready, the panels share one
 * grid cell and crossfade (Figma: Smart Animate, ease-out, 0.3s). Panel height is the tallest panel.
 * `.tt5c-tabs__nojs-title` is a heading a panel shows only when its tab can't label it. */
.tt5c-tabs.is-tabs-ready .tt5c-tabs__tab,
.tt5c-tabs.is-tabs-ready .tt5c-tabs__item { cursor: pointer; }
.tt5c-tabs.is-tabs-ready .tt5c-tabs__panels { display: grid; position: relative; }
.tt5c-tabs.is-tabs-ready .tt5c-tabs__panels > .tt5c-tabs__panel {
	grid-area: 1 / 1;
	margin: 0;
	transition: opacity 0.3s ease-out, visibility 0.3s ease-out;
}
.tt5c-tabs.is-tabs-ready .tt5c-tabs__panels > .tt5c-tabs__panel:not(.is-active) {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}
.tt5c-tabs.is-tabs-ready .tt5c-tabs__nojs-title { display: none; }
/* No JS: a row of bare tab labels does nothing, and each stacked panel shows its own title, so hide
 * the row. Rows of `.tt5c-tabs__item` groups carry content (La Jolla) and stay. */
html:not(.tt5c-js) .tt5c-tabs__list:has(> p.tt5c-tabs__tab) { display: none; }
/* A clicked tab keeps focus; TT25 rings every :focus. Ring keyboard focus only. */
.tt5c-tabs .tt5c-tabs__tab:focus:not(:focus-visible) { outline: none; }
/* Tab arrows reuse the carousel overlay strip; here it spans the whole panel area. */
/* margin: 0 because core's flow layout gives an appended sibling a block-start gap, and margins
 * still move absolutely positioned boxes. */
.tt5c-tabs__nav.tt5c-carousel__nav { height: auto; bottom: 0; margin: 0; z-index: 3; }
@media (prefers-reduced-motion: reduce) {
	.tt5c-tabs.is-tabs-ready .tt5c-tabs__panels > .tt5c-tabs__panel { transition: none; }
}

/* ----------------------------------------------------------------------------
 * Footer — legal / corporate band
 *
 * Built from NATIVE core blocks so contributors can edit it in the editor:
 *   core/group (.tt5c-footer__legal) > core/image (.tt5c-footer__logo-img,
 *   linked) + core/paragraph (a11y / copy / disclaimer / trademark) +
 *   core/list (.tt5c-footer__links, legal + social). No custom HTML.
 * Spacing is set explicitly here and the core flow-layout child margins are
 * neutralized, so the flex column lays out predictably.
 *
 * The column is wider than the 900px text measure so the five-item legal link
 * row fits on a single line; the paragraphs are capped back to 900px below, so
 * their line length is unchanged.
 * -------------------------------------------------------------------------- */
.tt5c-footer__legal {
	display: flex;
	flex-direction: column;
	align-items: center;
	max-width: 1180px;
	margin: 0 auto;
	padding: 3.25rem 1.5rem 3.75rem;
	text-align: center;
	font-family: var(--wp--custom--brand-font--body);
	font-weight: 300;
}
/* Neutralize core's flow-layout blockGap margins; explicit spacing follows. */
.tt5c-footer__legal > * { margin-top: 0; margin-bottom: 0; }

/* Text measure — held at the original 900px independently of the column width. */
.tt5c-footer__a11y,
.tt5c-footer__copy,
.tt5c-footer__disclaimer,
.tt5c-footer__trademark { max-width: 900px; }

.tt5c-footer__a11y,
.tt5c-footer__disclaimer,
.tt5c-footer__trademark {
	font-size: 0.71875rem;
	line-height: 1.75;
	letter-spacing: 0.02em;
	color: var(--tt5c-legal-muted, rgba(255, 255, 255, 0.5));
}
.tt5c-footer__a11y { margin-top: 1.5rem; }
.tt5c-footer__disclaimer { margin-top: 1.125rem; }
.tt5c-footer__legal a { color: var(--tt5c-legal-link, rgba(255, 255, 255, 0.72)); text-decoration: underline; text-underline-offset: 2px; transition: color 0.3s ease; }
.tt5c-footer__legal a:hover { color: var(--tt5c-legal-hover, var(--wp--custom--brand--accent-hover, #629FCC)); }

/* Linked brand mark (core/image; white/inverse for the dark footer) */
.tt5c-footer__legal .tt5c-footer__logo-img { margin: 0; opacity: 0.92; transition: opacity 0.3s ease; }
.tt5c-footer__legal .tt5c-footer__logo-img:hover { opacity: 1; }
.tt5c-footer__legal .tt5c-footer__logo-img img { display: block; }

/* Copyright line */
.tt5c-footer__copy { font-weight: 300; font-size: 0.6875rem; letter-spacing: 0.04em; color: var(--tt5c-legal-muted, rgba(255, 255, 255, 0.5)); }

/* Legal + social link rows (core/list → ul.wp-block-list) */
.tt5c-footer__legal .tt5c-footer__links {
	list-style: none;
	margin: 1.125rem 0 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 0.5rem 1.375rem;
}
.tt5c-footer__links li { position: relative; margin: 0; }
.tt5c-footer__links li + li::before {
	content: "";
	position: absolute;
	left: -0.75rem;
	top: 50%;
	width: 1px;
	height: 11px;
	transform: translateY(-50%);
	background: var(--tt5c-legal-rule, rgba(255, 255, 255, 0.22));
}
.tt5c-footer__links a {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.06em;
	color: var(--tt5c-legal-nav, rgba(255, 255, 255, 0.55));
	text-decoration: none;
	/* A label never breaks mid-phrase — the row wraps between items or not at all. */
	white-space: nowrap;
}
.tt5c-footer__links a:hover { color: var(--tt5c-legal-hover, var(--wp--custom--brand--accent-hover, #629FCC)); text-decoration: none; }

/* Social row — eyebrow-style labels */
.tt5c-footer__social a {
	font-weight: 600;
	font-size: 0.6875rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--tt5c-legal-social, rgba(255, 255, 255, 0.7));
}

/* Light variant (`tt5c-theme-light` on the legal group or any ancestor) for properties whose footer
 * sits on a light ground (Plaza UTC). Defaults above are the dark 300 NLS band. Colours derive from
 * the property's body-text token, so they follow its ink. The light variant's markup carries the
 * full-colour Irvine Company mark (inc/footer-legal.php), so no filter is needed. */
.tt5c-theme-light {
	--tt5c-legal-muted: color-mix(in srgb, var(--wp--custom--brand--text) 78%, transparent);
	--tt5c-legal-link: var(--wp--custom--brand--text);
	--tt5c-legal-nav: color-mix(in srgb, var(--wp--custom--brand--text) 85%, transparent);
	--tt5c-legal-rule: color-mix(in srgb, var(--wp--custom--brand--text) 30%, transparent);
	--tt5c-legal-social: color-mix(in srgb, var(--wp--custom--brand--text) 85%, transparent);
	--tt5c-legal-hover: var(--wp--custom--brand--primary);
}

/* ---------- Lightbox (built by landing.js) ---------- */
.tt5c-lightbox {
	position: fixed;
	inset: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(11, 24, 38, 0.95);
	cursor: zoom-out;
	padding: 3.25rem;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.32s ease-in-out, visibility 0.32s ease-in-out;
}
.tt5c-lightbox.is-open { opacity: 1; visibility: visible; pointer-events: auto; }
.tt5c-lightbox img {
	max-width: 90vw;
	max-height: 88vh;
	object-fit: contain;
	box-shadow: 0 40px 120px rgba(0,0,0,0.6);
	border: 1px solid rgba(255,255,255,0.14);
	opacity: 0;
	transform: scale(0.98);
	transition: opacity 0.32s ease-in-out, transform 0.32s ease-in-out;
}
.tt5c-lightbox.is-open img { opacity: 1; transform: none; }
.tt5c-lightbox__close {
	position: absolute;
	top: 30px;
	right: 36px;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	border: 1px solid rgba(255, 255, 255, 0.32);
	background: transparent;
	color: #fff;
	cursor: pointer;
	font-size: 1.25rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Reveal-on-scroll ----------
 * The hidden start-state is gated behind `.tt5c-js` (added to <html> only when scripting is
 * available — see functions.php/landing.js). Without JS the sections are never hidden, so a
 * missing/blocked script can never blank the page.
 */
.tt5c-js .tt5c-reveal { opacity: 0; transform: translateY(34px); transition: opacity 1.1s cubic-bezier(0.16,0.7,0.2,1), transform 1.1s cubic-bezier(0.16,0.7,0.2,1); }
.tt5c-js .tt5c-reveal.is-in { opacity: 1; transform: none; }

/* ---------- Skip link (template omits the header part that normally carries it) ---------- */
.tt5c-skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 2000;
	padding: 0.875rem 1.375rem;
	background: var(--wp--custom--brand--primary, #0B1826);
	color: #fff;
	font-family: var(--wp--custom--brand-font--body, sans-serif);
	font-size: 0.875rem;
	text-decoration: none;
	border-radius: 0 0 4px 0;
}
.tt5c-skip-link:focus {
	left: 0;
	outline: 2px solid var(--wp--custom--brand--accent);
	outline-offset: 2px;
}

/* ---------- Focus visibility (TT25 defaults are thin) ---------- */
.property-landing :where(a, button, input, [tabindex]):focus-visible {
	outline: 2px solid var(--wp--custom--brand--accent);
	outline-offset: 3px;
	border-radius: 2px;
}

/* ---------- Ambient video (.tt5c-ambient; landing.js initAmbientVideo) ----------
 * core/video figure with muted looping footage. landing.js appends the Pause/Play toggle to the
 * figure; skins place the figure, and move the toggle with --tt5c-ambient-toggle-inset. */
.tt5c-ambient { position: relative; }
.tt5c-ambient video { display: block; width: 100%; height: 100%; object-fit: cover; }
.tt5c-ambient__toggle {
	position: absolute;
	right: var(--tt5c-ambient-toggle-inset, 1rem);
	bottom: var(--tt5c-ambient-toggle-inset, 1rem);
	z-index: 6;
	width: 44px;
	height: 44px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.55);
	color: #fff;
	cursor: pointer;
	transition: background-color 0.3s ease;
}
.tt5c-ambient__toggle:hover { background: rgba(0, 0, 0, 0.8); }
/* `--reveal`: a poster-less video laid over an image (the hero cover). It stays transparent until it
 * has a frame to show (landing.js adds .has-played), so the image underneath, with its srcset, is what
 * paints first, and no second poster file is downloaded. No JS: the image simply stays. */
.tt5c-ambient--reveal video { opacity: 0; transition: opacity 0.8s ease; }
.tt5c-ambient--reveal.has-played video { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .tt5c-ambient--reveal video { transition: none; } }
.property-landing .tt5c-ambient__toggle:focus-visible { outline-color: #fff; }

/* ---------- Letter reveal (.tt5c-anim-letters; landing.js initLetterReveal) ----------
 * Each letter fades down ~0.45em into place, 35ms apart, 0.7s each, ease-out-quart. landing.js splits
 * the letters (.is-split) and starts it (.is-in). Until the split, the heading stays hidden only when
 * JS is on; the 2.5s failsafe reveals it if the script never runs. Reduced motion: shown as-is.
 * Moved from the Plaza UTC skin 2026-10-07. */
.tt5c-js .tt5c-anim-letters:not(.is-split):not(.is-in) {
	opacity: 0;
	animation: tt5c-anim-letters-failsafe 0s linear 2.5s forwards;
}
@keyframes tt5c-anim-letters-failsafe { to { opacity: 1; } }
.tt5c-anim-letters__word { display: inline-block; white-space: nowrap; }
.tt5c-anim-letters__char {
	display: inline-block;
	opacity: 0;
	transform: translateY(-0.45em);
	transition:
		opacity 0.7s cubic-bezier(0.25, 1, 0.5, 1),
		transform 0.7s cubic-bezier(0.25, 1, 0.5, 1);
	transition-delay: calc(var(--i, 0) * 35ms + 150ms);
}
.tt5c-anim-letters.is-in .tt5c-anim-letters__char { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
	.tt5c-js .tt5c-anim-letters:not(.is-split):not(.is-in) { opacity: 1; animation: none; }
	.tt5c-anim-letters__char { opacity: 1; transform: none; transition: none; }
}

/* ---------- Framed media (.tt5c-framed) ----------
 * A media column on an offset colour block, inside a thin outline frame, with copy beside it. The
 * block and frame are pseudo-elements on the section; their vertical edges hang off the same padding
 * that places the media. Columns sit on a 5-track grid in % of the section, so the composition scales
 * with the viewport. Moved from the Plaza UTC skin 2026-10-07: every knob's default is Plaza's Figma
 * R3 intro (1440 x 900, photo 684 x 437 at 664,229), so Plaza sets none of them.
 *   --tt5c-framed-pad-top|bottom          section padding = the media's top/bottom anchor
 *   --tt5c-framed-block-top|bottom|left   block edges relative to that anchor (left: from the section edge)
 *   --tt5c-framed-frame-top|bottom|left|right|width
 *   --tt5c-framed-block / -line           colours
 *   --tt5c-framed-cols                    grid tracks: rail | copy | gap | media | rail
 *   --tt5c-framed-ratio                   media aspect ratio (single image)
 *   --tt5c-framed-gutter                  page rail in the stacked (≤900) tier
 * Copy typography belongs to the skin. */
.tt5c-framed {
	--tt5c-framed-pad-top: 229px;
	--tt5c-framed-pad-bottom: 234px;
	--tt5c-framed-block: var(--wp--custom--brand--accent-alt);
	--tt5c-framed-line: var(--wp--custom--brand--line);
	position: relative;
	overflow: clip;
	padding-top: var(--tt5c-framed-pad-top);
	padding-bottom: var(--tt5c-framed-pad-bottom);
}
.tt5c-framed.has-global-padding { padding-left: 0; padding-right: 0; }
.tt5c-framed::before,
.tt5c-framed::after {
	content: "";
	position: absolute;
	z-index: 0;
	pointer-events: none;
}
.tt5c-framed::before {
	top: calc(var(--tt5c-framed-pad-top) - var(--tt5c-framed-block-top, 91px));
	bottom: calc(var(--tt5c-framed-pad-bottom) - var(--tt5c-framed-block-bottom, 48px));
	left: var(--tt5c-framed-block-left, 50%);
	right: var(--tt5c-framed-block-right, 0);
	background: var(--tt5c-framed-block);
}
.tt5c-framed::after {
	top: calc(var(--tt5c-framed-pad-top) - var(--tt5c-framed-frame-top, 47px));
	bottom: calc(var(--tt5c-framed-pad-bottom) - var(--tt5c-framed-frame-bottom, 95px));
	left: var(--tt5c-framed-frame-left, -0.764%);
	right: var(--tt5c-framed-frame-right, 2.708%);
	border: var(--tt5c-framed-frame-width, 3px) solid var(--tt5c-framed-line);
}
.tt5c-framed > .tt5c-framed__grid.wp-block-columns {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: var(--tt5c-framed-cols, 8.333% 30.556% 7.222% 47.5% 6.389%);
	gap: 0;
	align-items: center;
	max-width: none;
	margin: 0;
}
.tt5c-framed__text.wp-block-column { grid-column: 2; }
.tt5c-framed__media.wp-block-column { grid-column: 4; }
.tt5c-framed__img { margin: 0; }
.tt5c-framed__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: var(--tt5c-framed-ratio, 684 / 437);
	object-fit: cover;
}

/* ---------- Build-in (.tt5c-buildin; landing.js initBuildIn adds .is-in at 25% in view) ----------
 * Framed media's layers animate in together: block from the right, frame from the left, media from
 * the right, copy dissolves. Offsets are in vw (the section clips them). Defaults = Plaza UTC's Figma
 * Frame 5 → Frame 6, easing SLOW (a mass 1 / stiffness 80 / damping 20 spring sampled as linear())
 * over 3.334s. Hidden start states need `.tt5c-js`; reduced motion = end state, no transition. */
.property-landing {
	--tt5c-ease-slow: linear(0.0000 0.00%, 0.0053 0.36%, 0.0197 0.72%, 0.0410 1.08%, 0.0676 1.44%, 0.1312 2.16%, 0.3816 4.68%, 0.4786 5.76%, 0.5640 6.84%, 0.6375 7.92%, 0.6999 9.00%, 0.7441 9.90%, 0.7822 10.80%, 0.8148 11.70%, 0.8427 12.60%, 0.8664 13.50%, 0.8867 14.40%, 0.9185 16.20%, 0.9414 18.00%, 0.9643 20.70%, 0.9888 27.00%, 0.9942 30.60%, 1.0000 100.00%);
	--tt5c-buildin-duration: 3.334s;
}
.tt5c-buildin.tt5c-framed::before,
.tt5c-buildin.tt5c-framed::after,
.tt5c-buildin .tt5c-framed__img,
.tt5c-buildin .tt5c-framed__text,
.tt5c-buildin .tt5c-framed__media {
	transition:
		opacity var(--tt5c-buildin-duration) var(--tt5c-ease-slow),
		transform var(--tt5c-buildin-duration) var(--tt5c-ease-slow);
}
.tt5c-js .tt5c-buildin.tt5c-framed:not(.is-in)::before { opacity: 0; transform: translateX(var(--tt5c-buildin-block-x, 62.43vw)); }
.tt5c-js .tt5c-buildin.tt5c-framed:not(.is-in)::after { opacity: 0; transform: translateX(var(--tt5c-buildin-frame-x, -57.08vw)); }
.tt5c-js .tt5c-buildin:not(.is-in) .tt5c-framed__img { opacity: 0; transform: translateX(var(--tt5c-buildin-media-x, 134.31vw)); }
.tt5c-js .tt5c-buildin:not(.is-in) .tt5c-framed__text { opacity: 0; }

@media (max-width: 900px) {
	/* Framed media stacks media then copy. The offset block and outline frame move onto the media
	 * column so they track it in a single-column flow. */
	.tt5c-framed { padding-top: 4rem; padding-bottom: 4.5rem; }
	.tt5c-framed::before,
	.tt5c-framed::after { display: none; }
	.tt5c-framed > .tt5c-framed__grid.wp-block-columns {
		grid-template-columns: var(--tt5c-framed-gutter, 1.5rem) minmax(0, 1fr) var(--tt5c-framed-gutter, 1.5rem);
		row-gap: 3.25rem;
	}
	.tt5c-framed__media.wp-block-column { grid-column: 2; grid-row: 1; position: relative; z-index: 0; }
	.tt5c-framed__text.wp-block-column { grid-column: 2; grid-row: 2; }
	.tt5c-framed__media::before,
	.tt5c-framed__media::after { content: ""; position: absolute; z-index: -1; pointer-events: none; }
	.tt5c-framed__media::before {
		top: -1.25rem;
		bottom: 1.25rem;
		left: 18%;
		right: calc(-1 * var(--tt5c-framed-gutter, 1.5rem));
		background: var(--tt5c-framed-block);
	}
	.tt5c-framed__media::after {
		top: -0.625rem;
		bottom: -1.75rem;
		left: calc(-1 * var(--tt5c-framed-gutter, 1.5rem) - 3px);
		right: 0.75rem;
		border: 3px solid var(--tt5c-framed-line);
		z-index: 1;
	}
	.tt5c-framed__img { position: relative; z-index: 2; }
	/* The media column, with its block and frame, enters from the right as one piece; the copy
	 * dissolves as on desktop. */
	.tt5c-js .tt5c-buildin:not(.is-in) .tt5c-framed__img { opacity: 1; transform: none; }
	.tt5c-js .tt5c-buildin:not(.is-in) .tt5c-framed__media { opacity: 0; transform: translateX(100vw); }
}
@media (prefers-reduced-motion: reduce) {
	.tt5c-buildin.tt5c-framed::before,
	.tt5c-buildin.tt5c-framed::after,
	.tt5c-buildin .tt5c-framed__img,
	.tt5c-buildin .tt5c-framed__text,
	.tt5c-buildin .tt5c-framed__media { transition: none; opacity: 1 !important; transform: none !important; }
}

/* ---------- Responsive ---------- */
/* Below the 1180px column the legal band is viewport-bound, and the five legal
 * labels stop fitting on one line at a 1028px viewport (measured in Chrome, not
 * derived — a font-metric estimate put it at 925px and was wrong by 100px).
 *
 * Drop the pipes across this whole tier rather than at a breakpoint just above
 * the wrap: an absolutely-positioned separator cannot know it is at the start of
 * a wrapped line, so an orphan "|" leads the second row and reads as a bug. The
 * wider column gap carries the separation once they are gone. */
@media (max-width: 1100px) {
	.tt5c-footer__legal { max-width: 100%; }
	.tt5c-footer__legal .tt5c-footer__links { gap: 0.625rem 1.5rem; }
	.tt5c-footer__links li + li::before { display: none; }
}
@media (max-width: 600px) {
	.tt5c-footer__legal { padding: 2.5rem 1.25rem 3rem; }
	.tt5c-footer__legal .tt5c-footer__links { gap: 0.625rem 1.25rem; }
	/* Phone: the legal labels no longer fit on one line — they stack into three or four wrapped
	 * rows, and at the tier's 0.625rem row gap the rows read as four separate one-line lists
	 * rather than one link block. The gap is only part of what separates them: each item is a
	 * 12px label in a ~25.6px line box, so ~13.6px of leading already sits between rows before
	 * the gap is counted. 0.25rem puts the visual separation at ~17.6px, close to the ~18px the
	 * single-line desktop row reads at, which is what makes the stack cohere.
	 *
	 * Row gap only. The column gap stays at 1.25rem: below 940px the pipe separators are hidden
	 * and that gap is the only thing dividing two labels on the same line, so tightening it would
	 * run "Your Privacy Rights" into "Terms of Use". It also buys no extra items per line —
	 * measured at 390px, "CA Privacy Choices" (136px) and "Update Privacy Settings" (170px) need
	 * 306px of a 302px line before any gap at all, so that break is set by the label widths, not
	 * by the spacing, and the 2 / 1 / 1 / 1 rag at 390px is not a spacing bug. Do not chase it
	 * here — it needs shorter labels, which is a content decision.
	 *
	 * Scoped off the social list with :not(). Social is a single row, so a row gap is inert
	 * there today, but the two lists share a class and should not drift by accident. */
	.tt5c-footer__legal .tt5c-footer__links:not(.tt5c-footer__social) {
		row-gap: 0.25rem;
		/* `.tt5c-footer__legal > *` zeroes the core flow-layout margins for the whole column, so
		 * the trademark line below has nothing holding it off the last link row — it sits at 0px
		 * and collides with the links. Spacing in this block is set explicitly on the element that
		 * owns it rather than by re-enabling blockGap, so the margin goes here. 1.5rem matches the
		 * `.tt5c-footer__a11y` step already in the file. */
		margin-bottom: 1.5rem;
	}
	/* Deliberate, beyond the literal ask: the social row is a different kind of thing from the
	 * legal links and the trademark disclaimer, but at the inherited 1.125rem it was closer to the
	 * trademark line than the trademark line now is to the links above it, so the three read as
	 * one undifferentiated tail. 2rem restores the ranking. Phone tier only. */
	.tt5c-footer__legal .tt5c-footer__social { margin-top: 2rem; }
	/* Phone: "Copyright & Photography Restrictions" is wider than a 320px screen,
	 * so the nowrap set at desktop has to be released here or it overflows. */
	.tt5c-footer__links a { white-space: normal; }
	/* …except the consent control, which must read as one label. */
	.tt5c-footer__links a.tt5c-consent-reopen { white-space: nowrap; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
	.tt5c-reveal { opacity: 1 !important; transform: none !important; transition: none; }
	.tt5c-hero .wp-block-cover__image-background { transform: none !important; }
	.tt5c-carousel__track { transition: none; }
	.tt5c-lightbox, .tt5c-lightbox img { transition: none; }
	.tt5c-lightbox img { transform: none; }
}

/* ---------- Editor parity overrides ----------
 * In the editor the interaction JS doesn't run, so neutralise reveal-hiding and the
 * scroll-docking positions to keep every section visible and non-overlapping.
 */
.editor-styles-wrapper .tt5c-reveal { opacity: 1 !important; transform: none !important; }
.editor-styles-wrapper .tt5c-carousel__track { transform: none; }

/* Every landing page edits the same way (2026-10-08). Shared here so 300 NLS, Plaza and SCD stay consistent; skins
 * only add their own look (crop, rail). All rules are `.editor-styles-wrapper`-scoped: the front end never matches.
 *
 * Cascade note: inside the editor iframe, core appends its global/layout styles AFTER the theme's editor styles (on
 * the front end they come first). So core's `:root :where(.is-layout-flow) > *` block gap (0,1,0) beats theme rules
 * of the same weight in the editor only. The re-statements below carry the wrapper class (0,2,0) to restore the
 * front end's result; they never introduce a value the front end doesn't have. */

/* Sections butt together, as each skin does on the front end (`.wp-block-post-content > *`). */
.editor-styles-wrapper .is-root-container > * { margin-block-start: 0; margin-block-end: 0; }
/* The page ends at the footer, as on the front end. Core adds a 40vh spacer after the canvas
 * (`:root :where(.editor-styles-wrapper)::after`) so writers can scroll a last paragraph up; on these full-page layouts it
 * read as an empty section under the footer. Dropped only when the canvas holds landing sections (`:has`), so ordinary
 * posts and pages keep core's spacer. */
.editor-styles-wrapper:has(> .is-root-container > .tt5c-section)::after { content: none; }

/* Footer legal stack: the explicit spacing above (`.tt5c-footer__legal > *`, a11y, disclaimer, link rows) beats core's
 * block gap on every front end, but loses to it in the editor; restated at wrapper weight. Core's gap sets the top
 * only, so bottoms stay the base's. (Was per skin, Plaza and SCD only, until 2026-10-08: 300 NLS's front end loaded
 * the base before global styles and showed the 26px gap; fixed in inc/video-cta.php.) The band itself too: where it
 * sits in a flow-layout footer (300 NLS) the gap would push it 26px off the CTA rule; the front end has `margin: 0 auto`. */
.editor-styles-wrapper .tt5c-footer__legal { margin-top: 0; }
.editor-styles-wrapper .tt5c-footer__legal > * { margin-top: 0; }
.editor-styles-wrapper .tt5c-footer__a11y { margin-top: 1.5rem; }
.editor-styles-wrapper .tt5c-footer__disclaimer { margin-top: 1.125rem; }
.editor-styles-wrapper .tt5c-footer__legal .tt5c-footer__links { margin-top: 1.125rem; }

/* Repeating sets (carousel slides, tab panels): no JS runs in the editor, so every item is shown in place and in
 * order, each with a small number badge, so editors can see and edit all of them without paging. Carousels lay out
 * as a grid (2 up; 1 up on narrow canvases); tab panels keep their front-end layout, stacked. */
.editor-styles-wrapper .tt5c-carousel__track {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 2.5rem 1.25rem;
	align-items: start;
	counter-reset: tt5c-item;
}
.editor-styles-wrapper .tt5c-carousel__track > .tt5c-slide { min-width: 0; margin-block: 0; counter-increment: tt5c-item; }
.editor-styles-wrapper .tt5c-tabs__panels { counter-reset: tt5c-item; }
.editor-styles-wrapper .tt5c-tabs__panels > .tt5c-tabs__panel { position: relative; margin-block: 0; counter-increment: tt5c-item; } /* stacked flush, like the front end's single visible panel */
/* The badge only ever takes a pseudo-element the component leaves free: Plaza's construction panels (.tt5c-comp) draw
 * their offset block and frame with ::before/::after, so theirs sits on the copy column's free ::after instead (the
 * counter carries into descendants). */
.editor-styles-wrapper .tt5c-carousel__track > .tt5c-slide::before,
.editor-styles-wrapper .tt5c-tabs__panels > .tt5c-tabs__panel:not(.tt5c-comp)::before,
.editor-styles-wrapper .tt5c-tabs__panels > .tt5c-comp > .tt5c-comp__text::after {
	content: counter(tt5c-item);
	position: absolute;
	top: 0.75rem;
	right: 0.75rem;
	z-index: 5;
	min-width: 1.75rem;
	padding: 0.25rem 0.5rem;
	font: 500 0.75rem/1.25 system-ui, sans-serif;
	letter-spacing: 0;
	text-align: center;
	color: #fff;
	background: rgba(17, 17, 17, 0.72);
	pointer-events: none;
}
@media (max-width: 600px) {
	.editor-styles-wrapper .tt5c-carousel__track { grid-template-columns: 1fr; }
}

