/**
 * Property Landing — 300 North LaSalle skin.
 *
 * 300 NLS look and the sections only 300 NLS uses (hero + docking nav bar, subpage header, stat
 * strip, pillars, transformation-carousel slides, quote, gallery, news, footer CTA band, styleguide).
 * Shared mechanics live in landing-base.css, which always loads first (enqueued as a dependency).
 *
 * Everything references the token contract (var(--wp--custom--brand--*) and preset colors that
 * resolve to those tokens), so per-property injection re-skins this file with zero edits.
 * Loaded on the front end (functions.php) and in the editor iframe (tt5c_editor_assets).
 */

/* ---------- Hero ----------
 * One gutter for the whole hero, declared once as `--tt5c-hero-gutter`. The top logo bar is
 * `position:absolute` inside the cover, so its containing block is the inner container's *padding*
 * box — it sits outside that container's side padding and has to re-declare the gutter itself.
 * Both used to hardcode `spacing--50`, and only the container was retuned at ≤600px, so on a phone
 * the eyebrow started at 24px and the 300NLS logo at 56px. Move the variable at a breakpoint and
 * the bar and the copy stay on the same vertical line.
 */
.tt5c-hero { position: relative; overflow: hidden; --tt5c-hero-gutter: var(--wp--preset--spacing--50); }
.tt5c-hero .wp-block-cover__image-background {
	height: 116%;
	top: -8%;
	object-position: 50% 46%;
	will-change: transform;
}
.tt5c-hero::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background:
		linear-gradient(90deg, rgba(11,24,38,0.55) 0%, rgba(11,24,38,0) 46%),
		radial-gradient(120% 90% at 8% 92%, rgba(11,24,38,0.5) 0%, rgba(11,24,38,0.22) 34%, rgba(11,24,38,0) 58%),
		linear-gradient(180deg, rgba(11,24,38,0.62) 0%, rgba(11,24,38,0.14) 30%, rgba(11,24,38,0.30) 62%, rgba(11,24,38,0.62) 100%);
}
.tt5c-hero .wp-block-cover__inner-container {
	position: relative;
	z-index: 2;
	width: 100%;
	margin: 0 auto;
	padding: 1.625rem var(--tt5c-hero-gutter) 9.375rem;
	min-height: inherit;
	height: 74vh;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
}
/* No 1440px cap on the logo bar. The cover's inner container is `is-layout-flow`, so the eyebrow
 * and the H1 are not capped either — they run the whole width between the gutters. Capping the bar
 * and centring it with `margin:auto` therefore put the logos on a track the copy never uses: at a
 * 1600px viewport the 300NLS logo sat at x=136 against an eyebrow at x=56, and the Irvine mark
 * ended at 1464 against a right gutter at 1544. Left/right 0 plus the shared gutter reproduces the
 * container's content box exactly, at any width. */
.tt5c-hero__topbar {
	position: absolute;
	top: 26px;
	right: 0; left: 0;
	width: 100%;
	padding: 0 var(--tt5c-hero-gutter);
	z-index: 5;
}
/* The content block is the last flex child of a bottom-aligned column, so its bottom padding is
 * clearance between the H1 and the nav bar rather than space below the hero. The container's own
 * bottom padding only reserves room for the absolutely-positioned bar itself (150px desktop /
 * 90px at ≤600px against a 79px bar), which left the headline 11px off the bar on a phone. 26px
 * here is added at every breakpoint, matching the container's 1.625rem top padding. */
.tt5c-hero__content { margin-top: auto; padding-bottom: 1.625rem; }
/* Content Position (2026-10-22, Schuler: "the positioning should edit the text or any group location except things like
 * nested nav bars"). The cover's 3x3 matrix moves the hero's in-flow content (eyebrow, H1, any group added beside it),
 * on the front end and in the editor; the logo bar, the nav bar and the ::after gradient stay put. Before this, the
 * bottom-aligned column ignored it vertically, and for left/right cells core's `width: auto` (0,5,0) shrank the whole
 * container, so the absolutely placed logo bar and nav bar slid sideways and the nav wrapped to two rows.
 * Vertical: top / centre (also no class: core saves none for centre centre) / bottom, 1:1. Horizontal: left and right
 * cells pack the content to that gutter; the centre column keeps the content full width with the copy on the left gutter,
 * which is how this page has always rendered its saved "bottom center". */
.tt5c-hero.wp-block-cover.has-custom-content-position.has-custom-content-position.has-custom-content-position .wp-block-cover__inner-container { width: 100%; }
.tt5c-hero:is(.is-position-top-left, .is-position-top-center, .is-position-top-right) .wp-block-cover__inner-container { justify-content: flex-start; }
.tt5c-hero:not(.is-position-top-left, .is-position-top-center, .is-position-top-right, .is-position-bottom-left, .is-position-bottom-center, .is-position-bottom-right) .wp-block-cover__inner-container { justify-content: center; }
.tt5c-hero:not(.is-position-bottom-left, .is-position-bottom-center, .is-position-bottom-right) .tt5c-hero__content { margin-top: 0; }
/* Top row: clear of the logo bar (its 62px row + 26px, under the container's own 26px). A margin, not container
 * padding: the container's height is fixed and the nav bar sits on its bottom edge. */
.tt5c-hero:is(.is-position-top-left, .is-position-top-center, .is-position-top-right) .tt5c-hero__content { margin-top: calc(62px + 1.625rem); }
.tt5c-hero:is(.is-position-top-left, .is-position-center-left, .is-position-bottom-left) .wp-block-cover__inner-container { align-items: flex-start; }
.tt5c-hero:is(.is-position-top-right, .is-position-center-right, .is-position-bottom-right) .wp-block-cover__inner-container { align-items: flex-end; }
/* Height-only safety valve, not a width tier. The copy grows *upward* from the nav bar, and the
 * logo bar is absolutely positioned at top:26px, so below ~480px of viewport height the eyebrow
 * runs into the logo — a pre-existing condition of the fixed 74vh hero (already overlapping by
 * 18px at 1440x420 without this padding). The extra 26px moves that tipping point up by ~35px of
 * viewport height, which pulls iPhone landscape (844x390) into it, so give the clearance back
 * where there is none to give. */
@media (max-height: 500px) {
	.tt5c-hero__content { padding-bottom: 0; }
}
/* Uppercase belongs to this headline, not to every h1 (theme.json's global h1 uppercase was removed 2026-10-22:
 * editors on other properties couldn't type a mixed-case H1). The editor's Letter case control still overrides it. */
.tt5c-hero__title {
	color: #fff;
	margin: 0;
	text-transform: uppercase;
	text-shadow: 0 2px 40px rgba(11, 24, 38, 0.35);
}

/* Nav + CTA bar (docks on scroll) */
.tt5c-navbar {
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	z-index: 6;
	/* Side gutter for both bars (hero + subpage header). Was `0px` at desktop, which ran the bar
	   edge to edge at ≤1440 — lockup at x=0, pill on the last pixel. `spacing--50` is the same token
	   the sections and the hero use, so the bar is now on the one page rail. */
	--tt5c-navbar-gutter: var(--wp--preset--spacing--50);
	background: rgba(11, 24, 38, 0.25);
	backdrop-filter: blur(4px) saturate(1);
	-webkit-backdrop-filter: blur(4px) saturate(1);
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	transition: background 0.45s ease, box-shadow 0.45s ease;
}
.tt5c-navbar.is-docked {
	position: fixed;
	top: 0; bottom: auto;
	margin-top: 0;
	background: rgba(11, 24, 38, 0.95);
	backdrop-filter: blur(18px) saturate(1.2);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	border-top: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 34px rgba(11, 24, 38, 0.45);
}
/* Cap the *content* box, not the border box: +2 gutters leaves exactly theme.json's 1440px
   contentSize of track, so the bar rides the same rail as the sections underneath it at every
   width. box-sizing declared, not assumed — nothing here sets it globally. */
.tt5c-navbar__inner {
	box-sizing: border-box;
	max-width: calc(1440px + var(--tt5c-navbar-gutter) * 2);
	margin: 0 auto;
	padding: 0 var(--tt5c-navbar-gutter);
	min-height: 78px;
	transition: min-height 0.4s ease;
	gap: 2.75rem;
}
.tt5c-navbar.is-docked .tt5c-navbar__inner { min-height: 64px; }
.tt5c-navbar__brand { display: none !important; margin-right: 3rem; align-items: center; }
.tt5c-navbar.is-docked .tt5c-navbar__brand { display: flex !important; }
/* Horizontal SVG brand lockup used in the docked bar (new pattern markup). */
.tt5c-navbar__logo { margin: 0; line-height: 0; }
.tt5c-navbar__logo a { display: block; line-height: 0; }
.tt5c-navbar__logo img { display: block; height: 26px; width: auto; }
/* Legacy fallback: pages saved before the SVG lockup carry the brand as two text nodes
   (.tt5c-navbar__mark-num / __mark-name). Render the horizontal SVG in their place without a
   content re-save; the text stays in the DOM but is visually hidden so it still names the mark
   for assistive tech. (Brand is hidden in the editor, so :has only ever matters on the front end.) */
.tt5c-navbar__brand:has(.tt5c-navbar__mark-num) {
	width: 223px;
	height: 26px;
	background: url("../brand/logo-300nls-horizontal.svg") left center / contain no-repeat;
}
.tt5c-navbar__mark-num,
.tt5c-navbar__mark-name {
	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;
}
.tt5c-navbar .tt5c-nav { flex: 1; }
/* Left-aligned, not centred. Beats the block's saved `justifyContent:"center"` (core's
 * `.items-justified-center` is also 0-2-0) on source order, so no content re-save. The custom
 * property is what core reads for the open mobile overlay's alignment — set both or they diverge. */
.tt5c-navbar .wp-block-navigation {
	justify-content: flex-start;
	--navigation-layout-justification-setting: flex-start;
}
.tt5c-navbar .wp-block-navigation a,
.tt5c-navbar .wp-block-navigation .wp-block-navigation-item__content {
	font-family: var(--wp--custom--brand-font--body);
	font-weight: 400;
	font-size: 12.5px;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	color: #fff;
	opacity: 0.86;
	transition: opacity 0.3s ease;
}
.tt5c-navbar .wp-block-navigation a:hover { opacity: 1; }
.tt5c-navbar .wp-block-navigation__responsive-container-open,
.tt5c-navbar .wp-block-navigation__responsive-container-close { color: #fff; }
.tt5c-navbar__cta { margin-left: auto; }
/* Nav-scale pill. It was identical to the page CTAs (53.8px / 14px / 34px) and read as "large"
 * because that fills the 64px docked bar wall to wall. Page pill stays the reference; this one
 * drops to the styleguide's 13px and ~44px, leaving ~10px of clearance docked.
 * Re-point the *variable* — a `padding-block` shorthand would drop the optical-centring calcs. */
.tt5c-navbar__cta .wp-block-button__link {
	--tt5c-cta-padding-block: 0.6875rem;
	font-size: 13px;
	padding-inline: 1.75rem;
}

/* ---------- Subpage header (interior pages with no hero) ----------
 * Interior pages on a property — the interactive floorplan, for one — carry the same brand bar
 * as the landing page, but standalone: `.tt5c-navbar` lifted out of the hero cover and wrapped
 * in `.tt5c-subheader` (see patterns/subpage-header.php).
 *
 * Two things have to change for it to stand on its own. The bar is `position:absolute; bottom:0`
 * so it can hang off the hero's bottom edge — with no hero to hang from that collapses the
 * header to zero height, so reset it to static and let the wrapper do the positioning. And the
 * opaque "docked" treatment (plus the brand lockup, hidden until docked) is applied by
 * landing.js adding `.is-docked` once you scroll past the hero — `initHeroAndDock()` requires a
 * `.tt5c-hero` to measure, so it never fires here. The docked look is therefore the resting
 * state, and stickiness comes from CSS rather than the scroll handler.
 *
 * Values below intentionally mirror `.tt5c-navbar.is-docked` so the bar is pixel-identical to
 * the landing page's docked bar. `.tt5c-navbar__inner` is left untouched for the same reason
 * (1440px of track, centred, on the shared `--tt5c-navbar-gutter`) — narrow viewports are handled
 * for both variants together in the block that follows.
 */
.tt5c-subheader {
	position: sticky;
	top: 0;
	z-index: 20;
	background: rgba(11, 24, 38, 0.95);
	backdrop-filter: blur(18px) saturate(1.2);
	-webkit-backdrop-filter: blur(18px) saturate(1.2);
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 0 8px 34px rgba(11, 24, 38, 0.45);
}
.tt5c-subheader .tt5c-navbar {
	position: static;
	background: transparent;
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	border-top: 0;
	box-shadow: none;
}
.tt5c-subheader .tt5c-navbar__inner { min-height: 64px; }
.tt5c-subheader .tt5c-navbar__brand { display: flex !important; }
/* Editor parity: sticky offsets fight the canvas, and there is nothing to stick to. */
.editor-styles-wrapper .tt5c-subheader { position: relative; }

/* ---------- Narrow viewports — nav bar (both variants) ----------
 * These rules were scoped to `.tt5c-subheader` when the subpage header shipped, on the grounds
 * that only the standalone bar needed them: inside the hero the cover's padding was assumed to
 * hold the bar's contents off the edges. It doesn't — `.tt5c-navbar` is `position:absolute` on
 * the cover, so it sits outside the inner container's padding box, exactly like the logo topbar.
 * Client QA on 2026-07-31 caught the result on a phone: the burger dead-centre in the bar and the
 * "Get in Touch" pill flush against the right edge of the screen. Unscoping the block fixes the
 * landing page and keeps the two bars identical on a small screen, which is what they are meant
 * to be.
 *
 * Gutter: 1.625rem at ≤900 is the value the subpage header has shipped since 2026-07-29, kept as
 * is so that variant doesn't move. 1.5rem at ≤600 lines the bar's contents up with the hero
 * eyebrow and headline, which drop to a 1.5rem gutter at the same breakpoint. Both are set on
 * `--tt5c-navbar-gutter`, so a later retune of the page's gutters is a two-line change here.
 */
@media (max-width: 900px) {
	.tt5c-navbar { --tt5c-navbar-gutter: var(--wp--preset--spacing--30); }
	.tt5c-navbar__inner { gap: 1.25rem; }
	/* The brand lockup and the CTA are fixed-size chrome; the nav between them is the only thing
	   that may give. Left to itself the flex row shrank all three: at 390px docked the 300NLS
	   lockup was squeezed from 223px to 148px (clipping the "300") and the pill's label broke onto
	   three lines. */
	.tt5c-navbar__brand,
	.tt5c-navbar__cta { flex: 0 0 auto; }
	.tt5c-navbar__cta .wp-block-button__link { white-space: nowrap; }
	/* Give the gutter back to the link row. The four labels measure 377px, so at the 44px block gap
	   they need 509px of track and an iPad portrait leaves 500px once the gutters and the pill are
	   paid for — the row would have started wrapping at 768px, where it doesn't today. 2rem brings
	   it to 473px and moves the wrap point down to ~741px, just below the pre-change ~760px. */
	.tt5c-navbar .wp-block-navigation,
	.tt5c-navbar .wp-block-navigation__container { gap: 2rem; }
	/* Small lockup from here rather than ≤600. The subheader keeps its lockup at every width, and
	   with the CTA already gone the 223px mark plus four links still overran a 768px track by 24px
	   and wrapped the bar. 172px is the size the ≤600 tier already used — but only for the legacy
	   background-image variant: core writes `height:26px` inline on the <img>, so the rule that has
	   been shipping since 2026-07-29 was inert and `!important` is the only way past it. */
	.tt5c-subheader .tt5c-navbar__logo img { height: 20px !important; }
	.tt5c-subheader .tt5c-navbar__brand:has(.tt5c-navbar__mark-num) { width: 172px; height: 20px; }
}
/* `.tt5c-subheader` can't give up its lockup — it is the page's only brand mark — so it gives up
   the CTA, the same trade it already made at ≤600 (the footer's "Get in Touch" is one scroll away).
   It never takes `.is-docked`, so the rule below never covered it and it had been wrapping below
   ~1064px unnoticed. Measured wrap: 1104px. */
@media (max-width: 1120px) {
	.tt5c-subheader .tt5c-navbar__cta { display: none; }
	.tt5c-subheader .tt5c-navbar__brand { margin-right: 1.5rem; }
}
/* Docked landing bar gives up the lockup instead — the hero's stacked logo still carries the brand
   above the fold and the pill is the QA ask. Measured wrap 1012px (1064 before the gutters; this
   rule used to sit in the ≤900 block, so 901–1012 wrapped the bar to 86.5px). Lower than the
   subheader's threshold only because this page's saved nav has three links to its four — re-measure
   if a link is added. */
@media (max-width: 1024px) {
	.tt5c-navbar.is-docked .tt5c-navbar__brand { display: none !important; }
}
/* Overlay-menu tier — WP collapses `overlayMenu:"mobile"` to a hamburger below 600px. (The burger
 * and its panel are left-aligned by the base `.wp-block-navigation` rule above, which used to live
 * here when centring was the desktop default.)
 *
 * The subpage header's CTA is already gone by this tier (dropped at ≤1120 above). The landing page
 * keeps its pill — that is the QA ask, and with the lockup gone the burger and the pill need 199px
 * of a 342px track at 390px.
 */
@media (max-width: 600px) {
	.tt5c-navbar { --tt5c-navbar-gutter: 1.5rem; }
	/* The panel that burger opens was never actually reaching the screen. Core lays it out
	   `position:fixed; inset:0`, but a fixed box is positioned against the nearest ancestor carrying
	   a transform/filter/backdrop-filter rather than against the viewport — and `.tt5c-navbar` carries
	   one in both states (blur 4px resting, 18px docked). The menu was therefore being laid out inside
	   the 78px bar and scrolled out of sight: tapping the burger produced a white sliver, not a menu.
	   Release the blur for as long as the menu is open; a full-screen panel is covering the bar at
	   that point, so there is no backdrop left to blur. */
	.tt5c-navbar:has(.wp-block-navigation__responsive-container.is-menu-open) {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	/* Two things follow from the panel finally being visible. It has no padding — core sets
	   `clamp(1rem, var(--wp--style--root--padding-*), 20rem)` and this theme's root padding-top token
	   is a unitless `0`, which is not a length, so the clamp and the declaration with it are dropped —
	   so pad it on the bar's own gutter and the open menu lines up under the burger that opened it.
	   And its default colours are core's black-on-white for a nav block with no palette of its own,
	   which against this bar's white links renders white on white. Give it the docked bar's navy.
	   Class repeated for specificity: core's default is itself a five-class selector. */
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open {
		padding: 1.5rem var(--tt5c-navbar-gutter);
	}
	.tt5c-navbar .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
		background-color: rgba(11, 24, 38, 0.98);
		color: #fff;
	}
	.tt5c-subheader .tt5c-navbar__inner { min-height: 56px; }
}

/* ---------- Stat strip ---------- */
.tt5c-stats {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 0.5rem;
	padding: 0.5rem;
	background: var(--wp--custom--brand--surface);
}
/* Doubled class on purpose. The cover cells inherit core's `.wp-block-cover { min-height: 430px }`,
 * and core's block stylesheet prints AFTER this one, so at equal specificity it wins: every cell was
 * forced to 430px tall, aspect-ratio made it 430px wide, and the 5 x 1fr grid could not shrink — the
 * strip overflowed and the image cells collapsed to 0 width. */
.tt5c-stats .tt5c-stats__cell {
	position: relative;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	margin: 0;
	min-height: 0;
	min-width: 0;
}
.tt5c-stats__cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt5c-stats__cell .wp-block-cover__inner-container {
	position: static;
	width: 100%;
	height: 100%;
	padding: 0;
}
.tt5c-stat-card {
	position: absolute;
	inset: 1.375rem;
	transform: scale(0.82);
	transform-origin: center;
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 0;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	overflow: hidden;
}
.tt5c-stat-card__num {
	font-family: var(--wp--custom--brand-font--heading);
	font-size: 4rem; /* was 44px → 3rem → 3.25rem */
	line-height: 0.9;
	color: #fff;
	text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
	padding: 1.375rem 1.5rem;
	margin: 0;
}
.tt5c-stat-card__unit { font-size: 0.52em; }
.tt5c-stat-card__label {
	margin: 0;
	margin-top: auto;
	padding: 0.9375rem 1.5rem 1.0625rem;
	border-top: 1px solid rgba(255, 255, 255, 0.85);
	background: linear-gradient(0deg, rgba(11,24,38,0.45) 0%, rgba(11,24,38,0.12) 100%);
	font-family: var(--wp--custom--brand-font--body);
	font-weight: 600;
	font-size: 0.889rem; /* was 12px → 13px */
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: #fff;
	line-height: 1.5;
}

/* ---------- Pillars ---------- */
.tt5c-pillars__grid.wp-block-columns {
	border-top: 1px solid color-mix(in srgb, var(--wp--custom--brand--primary) 60%, transparent);
	gap: 0;
	margin: 0;
}
.tt5c-pillar {
	padding: 2.75rem 3.25rem 1.875rem;
	border-right: 1px solid color-mix(in srgb, var(--wp--custom--brand--primary) 14%, transparent);
}
.tt5c-pillars__grid .tt5c-pillar:first-child { padding-left: 0; }
.tt5c-pillars__grid .tt5c-pillar:last-child { padding-right: 0; border-right: 0; }
.tt5c-pillar__num { font-family: var(--wp--custom--brand-font--heading); font-size: 32px; color: var(--wp--custom--brand--muted, #6E93AD); margin: 0 0 1.625rem; }
.tt5c-pillar__kicker { font-size: 12.5px !important; letter-spacing: 0.24em; margin-bottom: 1.125rem; }
.tt5c-pillar__title { font-family: "corporate-a", 'Corporate A Condensed', serif; font-weight: 400; font-size: 34px; line-height: 1.05; color: var(--wp--custom--brand--primary); margin: 0 0 1.375rem; }
.tt5c-pillar__body { font-size: 14.5px; line-height: 1.86; color: var(--wp--custom--brand--text); margin: 0; }

/* ---------- Carousel (300 NLS transformation slides; mechanics + arrows are in base) ---------- */
.tt5c-carousel__counter {
	font-family: 'Corporate A Condensed', sans-serif;
	font-weight: 300;
	font-size: 19px;
	letter-spacing: 0.14em;
	color: var(--wp--custom--brand--taupe, #A5A096);
	min-width: 74px;
}
.tt5c-slide {
	flex: 0 0 70%;
	min-width: 70%;
	height: 560px;
	border-radius: 2px;
	overflow: hidden;
	position: relative;
	margin: 0;
}
/* Slide image (core/image) fills the slide behind the caption + gradient. */
.tt5c-slide__img { position: absolute; inset: 0; margin: 0; height: 100%; z-index: 0; }
.tt5c-slide__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt5c-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(11,24,38,0) 38%, rgba(11,24,38,0.86) 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}
.tt5c-slide__caption { position: absolute; left: 44px; right: 44px; bottom: 40px; z-index: 2; }
.tt5c-slide__title { font-family: "corporate-a", 'Corporate A Condensed', serif; font-weight: 400; font-size: 46px; line-height: 1; color: #fff; margin: 0 0 1rem; }
.tt5c-slide__body { font-family: var(--wp--custom--brand-font--body); font-weight: 300; font-size: 14.5px; line-height: 1.7; color: rgba(255, 255, 255, 0.82); max-width: 520px; margin: 0; }

/* ---------- Quote ---------- */
.tt5c-quote { overflow: hidden; text-align: center; }
.tt5c-quote::before {
	content: "";
	position: absolute;
	inset: 0;
	opacity: 0.28;
	pointer-events: none;
	background: radial-gradient(circle at 1px 1px, rgba(11,24,38,0.11) 1.4px, transparent 1.6px);
	background-size: 26px 26px;
}
.tt5c-quote__inner { position: relative; }
.tt5c-quote__mark { font-family: var(--wp--custom--brand-font--heading); font-size: 120px; line-height: 0; height: 56px; color: var(--wp--custom--brand--primary); opacity: 0.24; margin: 0; }
.tt5c-quote__q.wp-block-quote {
	border: 0 !important;
	margin: 0;
	padding: 0;
	text-align: center;
	font-family: "corporate-a", 'Corporate A Condensed', serif;
	font-weight: 400;
	font-size: 2.5rem;
	line-height: 1.28;
	color: var(--wp--custom--brand--primary);
	letter-spacing: -0.005em;
}
.tt5c-quote__cite {
	margin-top: 2.75rem;
	font-family: var(--wp--custom--brand-font--body);
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--custom--brand--primary);
}

/* ---------- Availability / gallery ---------- */
.tt5c-avail__head { margin-bottom: 4rem; }
.tt5c-avail__intro { max-width: 640px; }
.tt5c-avail__intro .tt5c-lead { max-width: 460px; }
.tt5c-gallery {
	display: grid;
	grid-template-columns: repeat(12, 1fr);
	grid-template-rows: 232px 232px 268px;
	gap: 1rem;
}
.tt5c-gallery__item {
	position: relative;
	overflow: hidden;
	border-radius: 2px;
	cursor: zoom-in;
	margin: 0;
	transition: filter 0.4s ease;
	box-shadow: inset 0 0 0 1px rgba(11, 24, 38, 0.12);
}
/* Reset the flow layout's block margin on every tile. WordPress adds `margin-block-start: 26px` to every
 * child after the first of a flow-layout group, and it prints after this file at equal specificity, so
 * the `margin: 0` above lost: tiles b-f sat 26px lower than the first tile and 26px shorter (their grid
 * row is fixed). Two classes beat it regardless of print order. */
.tt5c-gallery > .tt5c-gallery__item { margin: 0; }
.tt5c-gallery__item:hover { filter: brightness(1.05); }
.tt5c-gallery__item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt5c-gallery__item--a { grid-column: span 7; grid-row: span 2; }
.tt5c-gallery__item--b { grid-column: span 5; }
.tt5c-gallery__item--c { grid-column: span 5; }
.tt5c-gallery__item--d { grid-column: span 4; }
.tt5c-gallery__item--e { grid-column: span 4; }
.tt5c-gallery__item--f { grid-column: span 4; }

/* ---------- News ---------- */
.tt5c-news__head { margin-bottom: 4rem; }
.tt5c-news__grid.wp-block-columns { gap: 2.75rem; }
.tt5c-news__img { margin-bottom: 1.75rem; overflow: hidden; }
.tt5c-news__img img { transition: transform 0.9s ease; }
.tt5c-news__card:hover .tt5c-news__img img { transform: scale(1.05); }
.tt5c-news__date { font-family: var(--wp--custom--brand-font--body); font-weight: 600; font-size: 12px; letter-spacing: 0.24em; text-transform: uppercase; color: #9C968A; margin: 0 0 1rem; }
.tt5c-news__title { font-family: 'Corporate A Condensed', sans-serif; font-weight: 400; font-size: 30px; line-height: 1.12; color: var(--wp--custom--brand--primary); margin: 0; }
.tt5c-news__title a { color: inherit; text-decoration: none; }

/* ---------- Footer ---------- */
.tt5c-footer__cta { padding: 7.375rem 0 8rem; gap: 3rem; }
.tt5c-footer__title { font-size: clamp(2.75rem, 6vw, 5.125rem); line-height: 1; color: #fff; margin: 0; }
.tt5c-footer__rule.wp-block-separator { opacity: 0.12; margin: 0; border: 0; height: 1px; }
.tt5c-theme-dark .tt5c-lead { color: rgba(255, 255, 255, 0.82); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.tt5c-hero__title { font-size: clamp(3.25rem, 12vw, 8rem); }
}
@media (max-width: 900px) {
	/* Tablet gutter: the hero steps down here too, not only at ≤600. Without this the hero copy
	 * stayed on the 3.5rem desktop inset while the nav bar directly beneath it — inside the same
	 * cover, visible at the same time — had already moved to 1.625rem, so "Get in Touch" sat 30px
	 * inboard of the H1 above it. Signed off 2026-07-31: one rail from the logo bar to the footer
	 * at every tier below desktop. */
	.tt5c-hero { --tt5c-hero-gutter: var(--wp--preset--spacing--30); }
	/* Section gutter. Below the desktop tier the sections were the last thing on the page still
	 * sitting on the 3.5rem desktop gutter — the hero drops to 1.5rem at ≤600 and the nav bar to
	 * 1.625rem here — so on an iPad the docked bar's links ran 30px inside the section text
	 * scrolling underneath them. Client QA on 2026-07-31 asked for the side padding back as
	 * content width. 1.625rem is the nav bar's own value at this tier, so the two now share one
	 * rail for the whole scroll, and it returns 60px of measure to the 2-up gallery, the stacked
	 * pillars, the news cards and the carousel slides.
	 *
	 * The padding is core's, not this file's: theme.json's root padding feeds
	 * `.has-global-padding`, which every alignfull constrained group on the page carries. That is
	 * one class, so the override only needs two — no `!important`. It is deliberately *not* done
	 * by re-pointing `--wp--style--root--padding-*` on the section, tempting as that looks: the
	 * same variable drives the negative margin that pulls these sections out to the viewport
	 * edge, so moving it would inset every background band by the difference. Nothing inside a
	 * section is itself `alignfull` (checked in the rendered DOM — the full-bleed stat strip is a
	 * sibling of the sections, not a child), so no descendant depends on the old value.
	 */
	.tt5c-section.has-global-padding {
		padding-left: var(--wp--preset--spacing--30);
		padding-right: var(--wp--preset--spacing--30);
	}
	.tt5c-navbar .wp-block-navigation__responsive-container:not(.is-menu-open) { background: transparent; }
	.tt5c-stats { grid-template-columns: repeat(2, 1fr); }
	.tt5c-gallery { grid-template-columns: repeat(2, 1fr); grid-template-rows: none; grid-auto-rows: 220px; }
	.tt5c-gallery__item--a { grid-column: span 2; grid-row: span 1; }
	.tt5c-gallery__item { grid-column: span 1 !important; }
	.tt5c-slide { flex-basis: 86%; min-width: 86%; height: 440px; }
	.tt5c-pillar { padding: 2rem 0; border-right: 0; border-top: 1px solid color-mix(in srgb, var(--wp--custom--brand--primary) 14%, transparent); }
}
@media (max-width: 600px) {
	/* Phone gutter: set the variable, not the padding, so the absolutely-positioned logo bar
	 * narrows with the copy instead of staying on the 3.5rem desktop inset. */
	.tt5c-hero { --tt5c-hero-gutter: 1.5rem; }
	.tt5c-hero .wp-block-cover__inner-container { padding: 1.625rem var(--tt5c-hero-gutter) 5.625rem; }
	/* Phone: the literal 1.5rem the hero and the nav bar both drop to at this breakpoint, so the
	 * H1, the burger and the first section heading below the fold all start on one line. Written
	 * as a length rather than a preset because that is what the other two use — there is no
	 * spacing token at 24px, and inventing one for three rules would be worse. */
	.tt5c-section.has-global-padding { padding-left: 1.5rem; padding-right: 1.5rem; }
	/* Phone: the quote is the one piece of display type on the page that never stepped down. It is a
	 * flat 2.5rem at every width, which was sized against the 1080px desktop measure where it sets
	 * four lines — but the same 40px in the 342px the section now leaves at 390px broke the sentence
	 * into 15 lines of ~18 characters, three or four words apiece, 768px of column for 248 characters
	 * of quote. 2rem is where the measurements stop improving: it holds the same 12 lines at 390px
	 * that 2.125rem does while giving back another 31px, and at 430px it is the only step that buys a
	 * whole extra line over 2.125rem (10 vs 11) with the tightest rag of the sweep (87% average line
	 * fill). Below it the rag comes apart again — 1.875rem leaves a 137px orphan at 390px.
	 * Set on the blockquote, not the `p`: the paragraph has no size of its own and inherits, so this
	 * keeps one source of truth and the base rule's line-height rides along. At 2× the 1rem `.tt5c-lead`
	 * it is still unmistakably a pull quote, which is the point of it. Phone tier only — the desktop
	 * and tablet settings measure fine and are untouched. */
	.tt5c-quote__q.wp-block-quote { font-size: 2rem; }
	.tt5c-stat-card { transform: scale(0.9); inset: 0.75rem; }
	.tt5c-stat-card__num { font-size: 2.5rem; /* was 30px → 2rem */ padding: 0.875rem 1rem; }
	.tt5c-footer__cta { padding: 4.625rem 0; }
}

/* ---------- Editor parity overrides (300 NLS sections; shared ones are in base) ---------- */
/* Hero parity: keep the nav bar in its front-end resting state (position:absolute; bottom:0)
 * so it stays docked to the hero's bottom edge, with the 300NLS + Irvine Company logo bar
 * pinned to the top (.tt5c-hero__topbar is already position:absolute; top). The only editor
 * delta is a visible background — the scroll JS that would add `.is-docked` (position:fixed)
 * never runs here, so absolute-bottom is safe. Previously forced to `position:static`, which
 * let the container's 150px bottom padding float the bar well above the edge, breaking parity. */
.editor-styles-wrapper .tt5c-navbar { background: rgba(11, 24, 38, 0.85); }
/* Core's editor UI sets `.block-editor-block-list__layout .block-editor-block-list__block { position: relative }` (0,2,0),
 * which beat these blocks' front-end `position: absolute`: the top bar and nav bar fell into the hero's flow (eyebrow up
 * under the logo, nav inset) and the stat cards / logo parts lost their placement. Restated at wrapper weight; offsets
 * still come from the front-end rules. (2026-10-08) */
.editor-styles-wrapper .block-editor-block-list__block:is(.tt5c-hero__topbar, .tt5c-navbar, .tt5c-navbar__mark-num, .tt5c-navbar__mark-name, .tt5c-stat-card) { position: absolute; }
/* Let the hero grow with content in the editor while preserving the 74vh floor, so the
 * absolutely-positioned nav bar and top logo bar have a full-height box to anchor to. */
.editor-styles-wrapper .tt5c-hero .wp-block-cover__inner-container { height: auto; min-height: 74vh; }
.editor-styles-wrapper .tt5c-slide { height: auto; } /* every slide, 2 up, numbered: landing-base.css */
/* Editor: stack image → caption (static) so the headline + body are always visible and
 * directly editable — absolute overlay positioning is unreliable inside the editor iframe. */
.editor-styles-wrapper .tt5c-slide__img { position: static; height: auto; }
.editor-styles-wrapper .tt5c-slide__img img { height: auto; aspect-ratio: 16 / 10; }
.editor-styles-wrapper .tt5c-slide::after { display: none; }
.editor-styles-wrapper .tt5c-slide__caption {
	position: static;
	left: auto;
	right: auto;
	bottom: auto;
	padding: 1.5rem 1.75rem 1.75rem;
	background: var(--wp--custom--brand--primary, #0B1826);
}

/* ============================================================
 * STYLEGUIDE (patterns/styleguide.php)
 * Living brand design-system reference. Everything is scoped under
 * `.tt5c-styleguide`, so it never affects other pages/patterns, and every
 * colour/font references the token contract (var(--wp--custom--brand--*)),
 * so the page re-skins per property exactly like the landing sections.
 * Icons render via CSS masks (no inline SVG) to stay KSES-safe in wp:html.
 * ============================================================ */
.tt5c-styleguide {
	--sg-navy: var(--wp--custom--brand--primary, #0B1826);
	--sg-accent: var(--wp--custom--brand--accent, #4081A3);
	--sg-sky: var(--wp--custom--brand--accent-hover, #629FCC);
	--sg-taupe: var(--wp--custom--brand--taupe, #A5A096);
	--sg-text: var(--wp--custom--brand--text, #3A4652);
	--sg-line: rgba(11, 24, 38, 0.10);
	--sg-corp: 'Corporate A Condensed', 'CorpCond', system-ui, sans-serif;
	--sg-corpal: "corporate-a", 'Corporate A Condensed', serif;
	--sg-head: var(--wp--custom--brand-font--heading, 'Paradizo', Georgia, serif);
	--sg-body: var(--wp--custom--brand-font--body, 'Spartan', system-ui, sans-serif);
	--sg-eyebrow: var(--wp--custom--brand-font--eyebrow, 'Spartan', system-ui, sans-serif);
	--sg-ico-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.5'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--sg-ico-prev: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M15 5l-7 7 7 7'/%3E%3C/svg%3E");
	--sg-ico-next: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M9 5l7 7-7 7'/%3E%3C/svg%3E");
	--sg-ico-li: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='3 3 18 18' fill='%23000'%3E%3Cpath d='M6.94 5a1.94 1.94 0 11-3.88 0 1.94 1.94 0 013.88 0zM3.4 8.4h3.1V21H3.4V8.4zm5.06 0h2.97v1.72h.04c.41-.78 1.42-1.6 2.93-1.6 3.13 0 3.71 2.06 3.71 4.74V21h-3.09v-5.6c0-1.33-.02-3.05-1.86-3.05-1.86 0-2.15 1.45-2.15 2.95V21H8.46V8.4z'/%3E%3C/svg%3E");
	background: var(--wp--custom--brand--surface, #F6F5F2);
	color: var(--sg-navy);
	font-family: var(--sg-body);
	-webkit-font-smoothing: antialiased;
}
.tt5c-styleguide *,
.tt5c-styleguide *::before,
.tt5c-styleguide *::after { box-sizing: border-box; }
.tt5c-styleguide p,
.tt5c-styleguide h1,
.tt5c-styleguide h2,
.tt5c-styleguide h3,
.tt5c-styleguide blockquote { margin: 0; }
.tt5c-sg__inner { max-width: 1200px; margin: 0 auto; padding: 0 var(--wp--preset--spacing--50); }

/* Token-driven swatch fills (re-skin per property) */
.tt5c-sg-c-primary { background: var(--sg-navy); }
.tt5c-sg-c-accent { background: var(--sg-accent); }
.tt5c-sg-c-surface { background: var(--wp--custom--brand--surface, #F6F5F2); }
.tt5c-sg-c-secondary { background: var(--wp--custom--brand--secondary, #E4E1D8); }
.tt5c-sg-c-sky { background: var(--sg-sky); }
.tt5c-sg-c-taupe { background: var(--sg-taupe); }
.tt5c-sg-c-text { background: var(--sg-text); }
.tt5c-sg-c-line { background: var(--wp--custom--brand--line, #D8D5CE); }
.tt5c-sg-c-white { background: #fff; }

/* Masthead */
.tt5c-sg-masthead { background: var(--sg-navy); padding: 6rem 0 5.5rem; }
.tt5c-sg-masthead__row { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 2.5rem; }
.tt5c-sg-masthead__eyebrow { font-family: var(--sg-eyebrow); font-weight: 600; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; color: var(--sg-sky); margin-bottom: 1.625rem; }
.tt5c-sg-masthead__title { font-family: var(--sg-head); font-weight: 400; font-size: 96px; line-height: .9; color: #fff; letter-spacing: -.01em; }
.tt5c-sg-masthead__rule { height: 1px; background: linear-gradient(90deg, rgba(255,255,255,.24), rgba(255,255,255,.06)); margin: 3.5rem 0 1.875rem; }
.tt5c-sg-masthead__intro { font-family: var(--sg-body); font-weight: 300; font-size: 15px; line-height: 1.85; color: rgba(255,255,255,.78); max-width: 620px; }

/* Wordmark lockup */
.tt5c-sg-lockup { text-align: right; line-height: .85; color: #fff; }
.tt5c-sg-lockup__num { font-family: var(--sg-head); font-size: 52px; letter-spacing: .01em; }
.tt5c-sg-lockup__name { font-family: var(--sg-corp); font-weight: 300; font-size: 15px; letter-spacing: .4em; padding-left: .4em; margin-top: 0.375rem; opacity: .9; text-transform: uppercase; }
.tt5c-sg-lockup--sm .tt5c-sg-lockup__num { font-size: 34px; }
.tt5c-sg-lockup--sm .tt5c-sg-lockup__name { font-size: 11px; margin-top: 0.3125rem; }

/* Section shell + header */
.tt5c-sg-section { max-width: 1200px; margin: 0 auto; padding: 7.5rem var(--wp--preset--spacing--50) 1.875rem; }
.tt5c-sg-section--components { padding-bottom: 8.125rem; }
.tt5c-sg-head { display: flex; align-items: baseline; gap: 1.5rem; margin-bottom: 3.5rem; }
.tt5c-sg-head__num { font-family: var(--sg-head); font-size: 26px; color: var(--sg-taupe); }
.tt5c-sg-head__eyebrow { font-family: var(--sg-eyebrow); font-weight: 600; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; color: var(--sg-accent); margin-bottom: 0.875rem; }
.tt5c-sg-head__title { font-family: var(--sg-head); font-weight: 400; font-size: 58px; line-height: 1; letter-spacing: -.005em; color: var(--sg-navy); }
.tt5c-sg-sublabel { font-family: var(--sg-body); font-weight: 600; font-size: 12px; letter-spacing: .16em; text-transform: uppercase; color: var(--sg-text); margin-bottom: 1.375rem; }

/* Color grids */
.tt5c-sg-core { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.125rem; margin-bottom: 4rem; }
.tt5c-sg-swatch { background: #fff; border: 1px solid var(--sg-line); border-radius: 2px; overflow: hidden; }
.tt5c-sg-swatch__chip { height: 150px; border-bottom: 1px solid rgba(11,24,38,.06); }
.tt5c-sg-swatch__body { padding: 1.25rem 1.375rem 1.5rem; }
.tt5c-sg-swatch__name { font-weight: 600; font-size: 14px; letter-spacing: .01em; color: var(--sg-navy); margin-bottom: 0.375rem; }
.tt5c-sg-swatch__hex { font-weight: 400; font-size: 12px; letter-spacing: .08em; color: var(--sg-accent); text-transform: uppercase; margin-bottom: 0.875rem; }
.tt5c-sg-swatch__use { font-weight: 300; font-size: 12px; line-height: 1.65; color: var(--sg-text); }
.tt5c-sg-neutral { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.125rem; margin-bottom: 1.25rem; }
.tt5c-sg-neutral__chip { height: 110px; border-radius: 2px; border: 1px solid var(--sg-line); margin-bottom: 1rem; }
.tt5c-sg-neutral__name { font-weight: 500; font-size: 13px; color: var(--sg-navy); margin-bottom: 0.3125rem; }
.tt5c-sg-neutral__hex { font-weight: 400; font-size: 11.5px; letter-spacing: .06em; color: var(--sg-accent); text-transform: uppercase; }

/* Typeface specimens */
.tt5c-sg-specimens { display: flex; flex-direction: column; border-top: 1px solid rgba(11,24,38,.14); margin-bottom: 5rem; }
.tt5c-sg-specimen { display: grid; grid-template-columns: 260px 1fr; gap: 2.5rem; padding: 2.75rem 0; border-bottom: 1px solid rgba(11,24,38,.14); }
.tt5c-sg-specimen__cat { font-weight: 600; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--sg-taupe); margin-bottom: 0.875rem; }
.tt5c-sg-specimen__name { font-size: 34px; line-height: 1; margin-bottom: 1rem; color: var(--sg-navy); }
.tt5c-sg-specimen__name--para { font-family: var(--sg-head); }
.tt5c-sg-specimen__name--corp { font-family: var(--sg-corp); font-weight: 400; }
.tt5c-sg-specimen__name--spartan { font-family: var(--sg-body); font-weight: 500; }
.tt5c-sg-specimen__name--corpal { font-family: var(--sg-corpal); font-weight: 400; }
.tt5c-sg-specimen__desc { font-weight: 300; font-size: 12.5px; line-height: 1.7; color: var(--sg-text); }
.tt5c-sg-specimen__display { align-self: center; }
.tt5c-sg-spec-para-1 { font-family: var(--sg-head); font-size: 88px; line-height: .9; letter-spacing: -.01em; color: var(--sg-navy); }
.tt5c-sg-spec-para-2 { font-family: var(--sg-head); font-size: 30px; color: var(--sg-accent); margin-top: 0.875rem; }
.tt5c-sg-spec-corp-1 { font-family: var(--sg-corp); font-weight: 300; font-size: 34px; letter-spacing: .34em; text-transform: uppercase; color: var(--sg-navy); margin-bottom: 1.125rem; }
.tt5c-sg-spec-corp-2 { font-family: var(--sg-corp); font-weight: 300; font-size: 16px; letter-spacing: .28em; text-transform: uppercase; color: var(--sg-taupe); }
.tt5c-sg-spec-corpal-1 { font-family: var(--sg-corpal); font-weight: 400; font-size: 46px; line-height: 1; color: var(--sg-navy); margin-bottom: 0.625rem; }
.tt5c-sg-spec-corpal-2 { font-family: var(--sg-corpal); font-weight: 400; font-size: 24px; line-height: 1.2; color: var(--sg-taupe); }
.tt5c-sg-spec-spartan-p { font-family: var(--sg-body); font-weight: 300; font-size: 15.5px; line-height: 1.85; color: var(--sg-text); max-width: 640px; margin-bottom: 1.25rem; }
.tt5c-sg-weights { display: flex; gap: 1.75rem; flex-wrap: wrap; }
.tt5c-sg-weight { font-family: var(--sg-body); font-size: 14px; color: var(--sg-navy); }
.tt5c-sg-weight--300 { font-weight: 300; }
.tt5c-sg-weight--400 { font-weight: 400; }
.tt5c-sg-weight--500 { font-weight: 500; }
.tt5c-sg-weight--600 { font-weight: 600; }

/* Type scale */
.tt5c-sg-scale { display: flex; flex-direction: column; }
.tt5c-sg-scale__row { display: grid; grid-template-columns: 160px 1fr; gap: 2.25rem; align-items: baseline; padding: 1.375rem 0; border-top: 1px solid var(--sg-line); }
.tt5c-sg-scale__label { font-weight: 500; font-size: 13px; color: var(--sg-navy); }
.tt5c-sg-scale__meta { font-weight: 300; font-size: 11px; letter-spacing: .06em; color: var(--sg-taupe); text-transform: uppercase; margin-top: 0.25rem; }
.tt5c-sg-scale__sample--h1 { font-family: var(--sg-head); font-size: 64px; line-height: .9; letter-spacing: -.01em; color: var(--sg-navy); }
.tt5c-sg-scale__sample--h2 { font-family: var(--sg-head); font-size: 44px; line-height: 1; letter-spacing: -.005em; color: var(--sg-navy); }
.tt5c-sg-scale__sample--h3 { font-family: var(--sg-head); font-size: 30px; line-height: 1.04; color: var(--sg-navy); }
.tt5c-sg-scale__sample--corpal { font-family: var(--sg-corpal); font-weight: 400; font-size: 34px; line-height: 1.04; color: var(--sg-navy); }
.tt5c-sg-scale__sample--eyebrow { font-family: var(--sg-eyebrow); font-weight: 600; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; color: var(--sg-accent); }
.tt5c-sg-scale__sample--body { font-family: var(--sg-body); font-weight: 300; font-size: 15px; line-height: 1.85; color: var(--sg-text); max-width: 640px; }
.tt5c-sg-scale__sample--label { font-family: var(--sg-body); font-weight: 500; font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-navy); }

/* Components grid + cards */
.tt5c-sg-components { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.tt5c-sg-card { background: #fff; border: 1px solid var(--sg-line); border-radius: 2px; padding: 2.375rem 2.5rem 2.625rem; }
.tt5c-sg-card--dark { background: var(--sg-navy); }
.tt5c-sg-card--stone { background: var(--wp--custom--brand--secondary, #E4E1D8); }
.tt5c-sg-card--wide { grid-column: span 2; }
.tt5c-sg-card__label { font-family: var(--sg-body); font-weight: 600; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--sg-taupe); margin-bottom: 1.75rem; }
.tt5c-sg-card--dark .tt5c-sg-card__label { color: rgba(255,255,255,.5); }
.tt5c-sg-divider { height: 1px; background: rgba(11,24,38,.08); margin: 1.875rem 0; }

/* Buttons */
.tt5c-sg-btns { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; }
.tt5c-sg-pill { display: inline-flex; align-items: center; gap: 0.75rem; white-space: nowrap; font-family: var(--sg-body); font-weight: 500; font-size: 13px; letter-spacing: .09em; text-transform: uppercase; color: #fff; background: var(--sg-accent); padding: 0.9375rem 2rem; border-radius: 40px; transition: background .35s; cursor: pointer; }
.tt5c-sg-pill:hover { background: var(--sg-sky); }
.tt5c-sg-pill--arrow::after { content: ""; width: 15px; height: 15px; background: currentColor; -webkit-mask: var(--sg-ico-arrow) no-repeat center / contain; mask: var(--sg-ico-arrow) no-repeat center / contain; }
.tt5c-sg-textlink { display: inline-flex; align-items: center; gap: 0.625rem; font-family: var(--sg-body); font-weight: 500; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--sg-accent); transition: color .3s; cursor: pointer; }
.tt5c-sg-textlink:hover { color: var(--sg-sky); }
.tt5c-sg-iconbtns { display: flex; gap: 1rem; }
.tt5c-sg-iconbtn { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(11,24,38,.28); background: transparent; color: var(--sg-navy); display: flex; align-items: center; justify-content: center; transition: all .35s; cursor: pointer; }
.tt5c-sg-iconbtn:hover { background: var(--sg-accent); border-color: var(--sg-accent); color: #fff; }
.tt5c-sg-iconbtn::before { content: ""; width: 17px; height: 17px; background: currentColor; }
.tt5c-sg-iconbtn--prev::before { -webkit-mask: var(--sg-ico-prev) no-repeat center / contain; mask: var(--sg-ico-prev) no-repeat center / contain; }
.tt5c-sg-iconbtn--next::before { -webkit-mask: var(--sg-ico-next) no-repeat center / contain; mask: var(--sg-ico-next) no-repeat center / contain; }
.tt5c-sg-iconbtn--li::before { width: 16px; height: 16px; -webkit-mask: var(--sg-ico-li) no-repeat center / contain; mask: var(--sg-ico-li) no-repeat center / contain; }

/* Eyebrows & labels */
.tt5c-sg-eyebrows { display: flex; flex-direction: column; gap: 1.375rem; }
.tt5c-sg-eyebrow--accent { font-family: var(--sg-eyebrow); font-weight: 600; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; color: var(--sg-accent); }
.tt5c-sg-eyebrow--sky { font-family: var(--sg-eyebrow); font-weight: 600; font-size: 15px; letter-spacing: .34em; text-transform: uppercase; color: var(--sg-sky); }
.tt5c-sg-eyebrow--muted { font-family: var(--sg-body); font-weight: 500; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--sg-taupe); }
.tt5c-sg-attr { display: flex; align-items: center; gap: 1rem; }
.tt5c-sg-attr__rule { width: 40px; height: 1px; background: rgba(11,24,38,.4); flex: none; }
.tt5c-sg-attr__text { font-family: var(--sg-body); font-weight: 600; font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--sg-navy); }

/* Statistic band */
.tt5c-sg-stats { display: grid; grid-template-columns: 1fr 1px 1fr 1px 1fr; align-items: center; }
.tt5c-sg-stat { text-align: center; }
.tt5c-sg-stat__num { font-family: var(--sg-head); font-size: 82px; line-height: 1; color: #fff; }
.tt5c-sg-stat__unit { font-size: .5em; }
.tt5c-sg-stat__cap { font-family: var(--sg-corp); font-weight: 300; font-size: 13px; letter-spacing: .28em; text-transform: uppercase; color: var(--sg-taupe); margin-top: 0.875rem; }
.tt5c-sg-stat__div { width: 1px; height: 88px; background: linear-gradient(180deg, transparent, rgba(64,129,163,.7), transparent); }

/* Pillar card */
.tt5c-sg-pillar__num { font-family: var(--sg-head); font-size: 26px; color: var(--sg-taupe); margin-bottom: 1.5rem; }
.tt5c-sg-pillar__title { font-family: var(--sg-corpal); font-weight: 400; font-size: 32px; line-height: 1.04; color: var(--sg-navy); margin-bottom: 1.25rem; }
.tt5c-sg-pillar__body { font-family: var(--sg-body); font-weight: 300; font-size: 14px; line-height: 1.86; color: var(--sg-text); }

/* News card */
.tt5c-sg-news__img { position: relative; height: 180px; overflow: hidden; border-radius: 2px; margin-bottom: 1.375rem; }
.tt5c-sg-news__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt5c-sg-news__img::after { content: ""; position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.10); }
.tt5c-sg-news__cat { font-family: var(--sg-corp); font-weight: 300; font-size: 12px; letter-spacing: .24em; text-transform: uppercase; color: var(--sg-taupe); margin-bottom: 0.75rem; }
.tt5c-sg-news__title { font-family: var(--sg-body); font-weight: 500; font-size: 17px; line-height: 1.35; color: #fff; margin-bottom: 1rem; }

/* Pagination + image treatment */
.tt5c-sg-dots { display: flex; gap: 0.625rem; margin-bottom: 2.125rem; }
.tt5c-sg-dot { height: 6px; width: 16px; border-radius: 20px; background: rgba(255,255,255,.24); }
.tt5c-sg-dot--active { width: 38px; background: var(--sg-accent); }
.tt5c-sg-treat { position: relative; height: 150px; border-radius: 2px; overflow: hidden; }
.tt5c-sg-treat img { width: 100%; height: 100%; object-fit: cover; display: block; }
.tt5c-sg-treat__grad { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(11,24,38,0) 40%, rgba(11,24,38,.86)); }
.tt5c-sg-treat__border { position: absolute; inset: 0; border: 1px solid rgba(255,255,255,.12); }
.tt5c-sg-treat__cap { position: absolute; left: 22px; bottom: 20px; }
.tt5c-sg-treat__eyebrow { font-family: var(--sg-corp); font-weight: 300; font-size: 11px; letter-spacing: .3em; text-transform: uppercase; color: #fff; margin-bottom: 0.5rem; }
.tt5c-sg-treat__title { font-family: var(--sg-head); font-size: 26px; color: #fff; }

/* Pull quote */
.tt5c-sg-quote { text-align: center; padding: 3.5rem 2.75rem; }
.tt5c-sg-quote .tt5c-sg-card__label { color: #7a756a; }
.tt5c-sg-quote__mark { font-family: var(--sg-head); font-size: 96px; line-height: 0; color: var(--sg-navy); opacity: .24; height: 44px; }
.tt5c-sg-quote__q { font-family: var(--sg-corpal); font-weight: 400; font-size: 32px; line-height: 1.3; color: var(--sg-navy); letter-spacing: -.005em; max-width: 820px; margin: 0 auto; }
.tt5c-sg-quote__attr { margin-top: 2.125rem; display: flex; align-items: center; justify-content: center; gap: 1rem; }

/* Footer */
.tt5c-sg-footer { background: var(--sg-navy); }
.tt5c-sg-footer__inner { max-width: 1200px; margin: 0 auto; padding: 3.5rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.5rem; }
.tt5c-sg-footer__credit { font-family: var(--sg-body); font-weight: 300; font-size: 11.5px; letter-spacing: .03em; color: rgba(255,255,255,.5); }

/* Styleguide responsive */
@media (max-width: 900px) {
	.tt5c-sg__inner,
	.tt5c-sg-section,
	.tt5c-sg-footer__inner { padding-left: 1.5rem; padding-right: 1.5rem; }
	.tt5c-sg-masthead__title { font-size: 60px; }
	.tt5c-sg-head__title { font-size: 40px; }
	.tt5c-sg-core { grid-template-columns: repeat(2, 1fr); }
	.tt5c-sg-neutral { grid-template-columns: repeat(2, 1fr); }
	.tt5c-sg-components { grid-template-columns: 1fr; }
	.tt5c-sg-card--wide { grid-column: auto; }
	.tt5c-sg-specimen { grid-template-columns: 1fr; gap: 1rem; }
	.tt5c-sg-spec-para-1 { font-size: 56px; }
	.tt5c-sg-scale__row { grid-template-columns: 1fr; gap: 0.5rem; }
	.tt5c-sg-stats { grid-template-columns: 1fr; gap: 1.875rem; }
	.tt5c-sg-stat__div { display: none; }
}

/* ==================================================================================================
 * Phone-tier refinements (appended last on purpose: these rules win ties on specificity against the
 * earlier responsive blocks, so keep this section at the END of the file.)
 *
 *   1. Hero title line-height, nav pills and stat cards sized for phones (<=600px, steps at 380px
 *      and 340px).
 *   2. The open mobile-menu overlay: close button, links centred in the viewport, Irvine Company
 *      mark at the foot.
 * ================================================================================================== */

/* Carousel arrows (the "over photos" layout): centre them on the slide at tablet/phone widths.
 * The arrow strip is a fixed 560px tall (the desktop slide height) and sits 26px down from the top of
 * the viewport (the flow layout's block margin), so under 900px, where slides are 440px tall, the
 * arrows landed ~86px below the photo's centre and over the caption text. Match the strip to the
 * slide and drop the margin. */
@media (max-width: 900px) {
	.tt5c-carousel__viewport > .tt5c-carousel__nav {
		margin-top: 0;
		height: 440px; /* = .tt5c-slide height in this range */
	}
	/* The next slide peeks in at 86%, and its caption was clipped mid-word at the edge (client QA
	 * 2026-10-08). Keep the photo peek as the swipe hint; fade the caption of every slide but the
	 * current one. `.is-active` is set by landing.js, so without JS every caption stays visible. */
	.tt5c-js .tt5c-slide__caption { transition: opacity 0.45s ease; }
	.tt5c-js .tt5c-slide:not(.is-active) .tt5c-slide__caption { opacity: 0; }
}
@media (max-width: 900px) and (prefers-reduced-motion: reduce) {
	.tt5c-js .tt5c-slide__caption { transition: none; }
}

/* Phones and tablets: the arrows stay vertically centred on the photo but move out into the side gutters,
 * so they sit on the photo's edge instead of over the caption (which starts 44px in). The viewport has
 * to clip the slide track, and it would clip arrows hanging into the gutter too, so it stops being
 * their containing block: the section (position: relative, full-bleed) takes over, `top: auto` keeps
 * the strip at its static position just under the 440px track, and the negative margin lifts it back
 * over the slide. 48px rings (44px+ tap target) clear the caption by 13px+ at the left; at the right
 * they sit over the peek and the gutter. Whole <=900 tier: at 640-700px the in-place arrows still hit
 * the caption. */
@media (max-width: 900px) {
	.tt5c-carousel .tt5c-carousel__viewport { position: static; }
	.tt5c-carousel__viewport > .tt5c-carousel__nav {
		top: auto;
		left: 0;
		right: 0;
		margin-top: -440px; /* = the strip's height above */
		padding: 0 0.25rem;
	}
	.tt5c-carousel__nav .tt5c-carousel__btn { width: 48px; height: 48px; }
}

@media (max-width: 600px) {
	/* Hero title: the display face sets at 0.86 line-height, which at the phone's 52px size lets the
	 * strokes of "FOREVER" and "ICONIC" touch. A touch more air. */
	.tt5c-hero__title { line-height: 0.96; }

	/* Nav row: burger + "Get in Touch" + "Brochure" ran 19px past the screen edge at 393px and clipped
	 * BROCHURE. Smaller pills and tighter gaps so the row fits at 393 and still at 360. */
	.tt5c-navbar__inner { gap: 0.875rem; }
	.tt5c-navbar__cta { gap: 0.5rem; }
	.tt5c-navbar__cta .wp-block-button__link {
		--tt5c-cta-padding-block: 0.5625rem;
		font-size: 12px;
		letter-spacing: 0.1em;
		padding-inline: 1.125rem;
	}

	/* Stat labels: at 14px with 24px side padding "Story Trophy Tower" wrapped to four lines in a
	 * ~155px card and the last line was clipped by the frame. */
	.tt5c-stat-card__label {
		font-size: 0.6875rem;
		letter-spacing: 0.12em;
		line-height: 1.4;
		padding: 0.625rem 0.75rem 0.75rem;
	}

	/* ---------- Open menu overlay ----------
	 * The overlay is `position: fixed; inset: 0` (core), padded 1.5rem by landing-300nls.css. Layout
	 * does not rely on percentage heights from core's wrappers (those collapse on some browsers):
	 * the dialog is given an explicit viewport-based minimum height, and the list and logo are
	 * placed with auto margins inside it.
	 * !important on the background: it must never fall back to core's white — white links on white
	 * (or an invisible white close icon) is a dead end for anyone who opens the menu. */
	.tt5c-navbar .wp-block-navigation .wp-block-navigation__responsive-container.is-menu-open.is-menu-open {
		background-color: rgba(11, 24, 38, 0.98) !important;
		color: #fff !important;
		overflow-y: auto;
	}
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-close,
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog {
		display: flex;
		flex-direction: column;
		width: 100%;
		max-width: none;
		min-height: calc(100vh - 3rem);
		min-height: calc(100dvh - 3rem);
	}
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content {
		flex: 1 1 auto;
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		padding: 0;
		width: 100%;
	}
	/* margin-block:auto centres the list in the free space even if `justify-content` is overridden. */
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
		flex: 0 0 auto;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		margin-block: auto;
		gap: 2rem;
		text-align: center;
	}
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
		color: #fff;
		font-size: 1.125rem;
		padding: 0.5rem 0.75rem; /* 44px+ tap target */
	}

	/* Close (X): a 44px ring in the same language as the video dialog's close button, tucked into the corner
	 * (0.75rem; 2026-10-07, same as 200/400 SCD). */
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-close {
		position: absolute;
		top: 0.75rem;
		right: 0.75rem;
		z-index: 2;
		display: flex;
		align-items: center;
		justify-content: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid rgba(255, 255, 255, 0.62);
		border-radius: 50%;
		background: rgba(11, 24, 38, 0.6);
		color: #fff;
		cursor: pointer;
		transition: background-color 0.3s ease, border-color 0.3s ease;
	}
	.tt5c-navbar .wp-block-navigation__responsive-container-close svg { width: 22px; height: 22px; fill: currentColor; }
	.tt5c-navbar .wp-block-navigation__responsive-container-close:hover,
	.tt5c-navbar .wp-block-navigation__responsive-container-close:focus-visible {
		background: rgba(64, 129, 163, 0.9);
		border-color: #fff;
	}
	.tt5c-navbar .wp-block-navigation__responsive-container-close:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }

	/* Footer mark. A real flex item at the end of the dialog (decorative background image, so nothing
	   is added to the accessibility tree; the dialog's own label names the region). */
	.tt5c-navbar .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-dialog::after {
		content: "";
		flex: 0 0 auto;
		display: block;
		width: 168px;
		height: 30px;
		/* Bottom space clears the home indicator / browser toolbar on phones (safe-area inset) so the mark
		   doesn't sit against the screen edge. */
		margin: 2rem auto calc(2.5rem + env(safe-area-inset-bottom, 0px));
		background: url("../brand/irvine-company-white.svg") center / contain no-repeat;
	}
}

/* Very small phones (<= 380px): one more step down so the nav row and stat cards still fit. */
@media (max-width: 380px) {
	.tt5c-stat-card { inset: 0.5rem; }
	.tt5c-stat-card__num { font-size: 2rem; padding: 0.625rem 0.75rem; }
	.tt5c-stat-card__label { font-size: 0.625rem; letter-spacing: 0.1em; padding: 0.5rem 0.625rem 0.625rem; }
	.tt5c-navbar__inner { gap: 0.625rem; }
	.tt5c-navbar__cta { gap: 0.375rem; }
	.tt5c-navbar__cta .wp-block-button__link {
		font-size: 11px;
		letter-spacing: 0.08em;
		padding-inline: 0.875rem;
	}
}

/* 340px and under (iPhone SE class): trim once more so BROCHURE clears the gutter. */
@media (max-width: 340px) {
	.tt5c-navbar__cta .wp-block-button__link { padding-inline: 0.75rem; }
	.tt5c-stat-card__num { font-size: 1.75rem; padding: 0.5rem 0.625rem; }
	.tt5c-stat-card__label { letter-spacing: 0.06em; }
}

/* ==========================================================================
   D5 parity (design system step 2, 2026-11-05): this property's look, pinned.
   theme.json's defaults move to the Irvine Company spec in step 3. These restate today's role/layout
   values so this page does not move when they do. `html:root` (0,1,1) outranks theme.json's `:root`;
   `.editor-styles-wrapper` carries it into the editor. Do not delete without a visual-regression run.
   ========================================================================== */
html:root,
.editor-styles-wrapper {
	/* D18: 300 NLS brand slots that are not in its ACF (restated here, not in page 135's fields). */
	--wp--custom--brand--muted: #6E93AD;
	--wp--custom--brand--taupe: #A5A096;
	--wp--custom--brand--line: #D8D5CE;
	--wp--custom--brand--accent-alt: #4081A3;
	--wp--custom--role--body--family: var(--wp--custom--brand-font--body);
	--wp--custom--role--body--size: var(--wp--preset--font-size--medium);
	--wp--custom--role--body--weight: 400;
	--wp--custom--role--body--line-height: 1.7;
	--wp--custom--role--body--letter-spacing: normal;
	--wp--custom--role--heading--family: var(--wp--custom--brand-font--heading);
	--wp--custom--role--heading--weight: 400;
	--wp--custom--role--heading--line-height: 1.0;
	--wp--custom--role--heading--letter-spacing: -0.005em;
	--wp--custom--role--hero--size: var(--wp--preset--font-size--huge);
	--wp--custom--role--hero--line-height: 0.86;
	--wp--custom--role--hero--letter-spacing: -0.01em;
	--wp--custom--role--section--size: var(--wp--preset--font-size--xx-large);
	--wp--custom--role--section--line-height: 1.0;
	--wp--custom--role--section--letter-spacing: -0.005em;
	--wp--custom--role--section--case: uppercase;
	--wp--custom--role--subhead--size: var(--wp--preset--font-size--large);
	--wp--custom--role--subhead--line-height: 1.1;
	--wp--custom--role--link--color: var(--wp--preset--color--accent);
	--wp--custom--role--link--hover: var(--wp--custom--brand--accent-hover);
	--wp--custom--role--link--decoration: none;
	--wp--custom--role--button--bg: var(--wp--preset--color--accent);
	--wp--custom--role--button--text: #FFFFFF;
	--wp--custom--role--button--shadow: none;
	--wp--custom--role--button--hover-bg: var(--wp--custom--brand--accent-hover);
	--wp--custom--role--button--hover-text: #FFFFFF;
	--wp--custom--role--button--hover-shadow: none;
	--wp--custom--role--button--active-bg: var(--wp--custom--brand--accent-hover);
	--wp--custom--role--button--active-text: #FFFFFF;
	--wp--custom--role--button--active-shadow: none;
	--wp--custom--role--button--radius: 40px;
	--wp--custom--role--button--family: var(--wp--custom--brand-font--body);
	--wp--custom--role--button--size: var(--wp--preset--font-size--small);
	--wp--custom--role--button--weight: 500;
	--wp--custom--role--button--letter-spacing: 0.09em;
	--wp--custom--role--button--case: uppercase;
	--wp--custom--role--button--padding: 0.9375rem 2.125rem;
	--wp--custom--role--quote--family: var(--wp--custom--brand-font--heading);
	--wp--custom--role--quote--size: 2.5rem;
	--wp--custom--role--quote--weight: 400;
	--wp--custom--role--quote--line-height: 1.28;
	--wp--custom--layout--gutter: var(--wp--preset--spacing--50);
	--wp--custom--layout--block-gap: var(--wp--preset--spacing--30);
}
