/* TTC — calm corporate editorial treatment. */
/* Display/UI fonts are registered in theme.json fontFace (static weights). */

/* Compact left identity: brand + nav share one row, actions on the right. */
.site-header--ttc .site-header__brand .wp-block-site-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: 1.15rem;
	font-weight: 650;
	letter-spacing: 0.01em;
}
.site-header--ttc .wp-block-navigation__container {
	gap: clamp(1.1rem, 2.5vw, 1.9rem);
}
.site-header--ttc .wp-block-navigation .wp-block-navigation-item__content {
	font-size: var(--wp--preset--font-size--s);
}

/* TTC article rhythm: measure is slightly narrower and calmer
   (not applied on the front page or lux pages, which compose their own widths). */
.site-main:not(.site-main--front):not(.site-main--lux) .wp-block-post-content > * {
	max-width: 46rem;
}
.site-main:not(.site-main--front):not(.site-main--lux) .wp-block-post-content > .alignwide {
	max-width: var(--wp--style--global--wide-size);
}

/* Lux pages: every direct child (blocks AND the i18n variant/fallback
   wrappers injected around them) sits on the wide measure, centred, with
   a fluid gutter so content never touches the viewport edge. */
.site-main--lux .wp-block-post-content {
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.site-main--lux .wp-block-post-content > * {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

/* Milestone strip used on the TTC home page. */
.ttc-facts {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 4vw, 3rem);
	border-top: 1px solid var(--wp--preset--color--line);
	padding-block-start: 1.5rem;
}
.ttc-facts__item {
	border-top: 2px solid var(--wp--preset--color--accent);
	padding-block-start: 0.75rem;
}
.ttc-facts__kicker {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.ttc-facts__title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--l);
	margin: 0.35rem 0 0.25rem;
}
.ttc-facts__text {
	font-size: var(--wp--preset--font-size--s);
	color: var(--wp--preset--color--muted);
	margin: 0;
}
@media (max-width: 720px) {
	.ttc-facts { grid-template-columns: 1fr; }
}

/* ------------------------------------------------------------------ */
/* TTC image-led composition                                           */
/* ------------------------------------------------------------------ */

/* Front page: hero sits flush under the centred masthead. */
.site-main--front { padding-block-start: 0; }

/* Lux pages: sections carry their own padding — the foundation's
   site-main padding would stack on top of the hero's and leave a dead
   band under the masthead. */
.site-main--lux { padding-block: 0; }

/* Cover hero — restrained overlay title card. */
.ttc-hero .wp-block-cover__inner-container {
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
	padding-block-end: clamp(1.5rem, 4vw, 3rem);
}
.ttc-hero .trw-cover-title {
	border-left: 3px solid var(--wp--preset--color--accent);
}
.ttc-hero .trw-hero__title { font-size: var(--wp--preset--font-size--xxl); }

/* Company split — image column gets a hairline frame. */
.ttc-split .wp-block-media-text__media img {
	border: 1px solid var(--wp--preset--color--line);
}

@media (max-width: 880px) {
	.ttc-hero { min-height: 62vh; }
}
@media (max-width: 540px) {
	.trw-cover-title { max-width: none; }
}

/* ------------------------------------------------------------------ */
/* TTC luxury informational layer (.ttc-lux-*)                         */
/* Scoped to the lux-hero / story / brands / contact / terms blocks.   */
/* ------------------------------------------------------------------ */

.ttc-lux-kicker {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0 0 1rem;
}
.ttc-lux-title {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--hero);
	font-weight: 400;
	line-height: 1.08;
	margin: 0;
}
.ttc-lux-lede {
	font-size: var(--wp--preset--font-size--l);
	line-height: 1.55;
	color: var(--wp--preset--color--muted);
	margin: 1.25rem 0 0;
	max-width: 34rem;
}
.ttc-lux-heading {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl);
	font-weight: 400;
	line-height: 1.2;
	margin: 0 0 1rem;
}
.ttc-lux-body {
	color: var(--wp--preset--color--ink-soft);
	line-height: 1.7;
	max-width: 46rem;
}
.ttc-lux-body > :first-child { margin-top: 0; }
.ttc-lux-body > :last-child { margin-bottom: 0; }

/* Hero — three variants. */
.ttc-lux-hero { --ttc-hero-h: 68vh; }
.ttc-lux-hero__media { margin: 0; }
.ttc-lux-hero__media img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ttc-lux-hero--full {
	position: relative;
	min-height: var(--ttc-hero-h);
	display: grid;
	align-items: end;
	overflow: hidden;
}
.ttc-lux-hero--full .ttc-lux-hero__media {
	position: absolute;
	inset: 0;
}
.ttc-lux-hero--full::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(36, 26, 16, 0.78), rgba(36, 26, 16, 0.15) 60%, transparent);
}
.ttc-lux-hero--full .ttc-lux-hero__panel {
	position: relative;
	z-index: 1;
	padding: clamp(1.5rem, 4vw, 3.5rem);
	border-left: 3px solid var(--wp--preset--color--bronze-light);
	margin: clamp(1.25rem, 4vw, 3rem);
	color: var(--wp--preset--color--on-dark);
}
.ttc-lux-hero--full .ttc-lux-kicker,
.ttc-lux-hero--full .ttc-lux-lede { color: var(--wp--preset--color--on-dark); }

.ttc-lux-hero--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
	padding-block: clamp(2rem, 4.5vw, 3.5rem);
}
.ttc-lux-hero--split .ttc-lux-hero__media img {
	border: 1px solid var(--wp--preset--color--line);
	aspect-ratio: 4 / 5;
}

.ttc-lux-hero--text {
	text-align: center;
	padding-block: clamp(2.25rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
}
.ttc-lux-hero--text .ttc-lux-lede { margin-inline: auto; }
.ttc-lux-rule {
	width: 4rem;
	border: 0;
	border-top: 1px solid var(--wp--preset--color--bronze);
	margin: 2rem auto 0;
}

/* Story sections. */
.ttc-lux-story {
	display: grid;
	gap: clamp(2rem, 4.5vw, 3.25rem);
	padding-block: clamp(2rem, 4.5vw, 3.5rem);
}
.ttc-lux-section--text {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}
.ttc-lux-section--text .ttc-lux-body { margin-inline: auto; }
.ttc-lux-section--split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	align-items: center;
	gap: clamp(2rem, 5vw, 4.5rem);
}
.ttc-lux-section--split .ttc-lux-section__media { margin: 0; }
.ttc-lux-section--split .ttc-lux-section__media img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border: 1px solid var(--wp--preset--color--line);
}
.ttc-lux-section--img-left .ttc-lux-section__media { order: -1; }

/* Brand grid. */
.ttc-lux-brands { padding-block: clamp(1rem, 2.5vw, 1.75rem); }
.ttc-lux-brands__intro { margin-bottom: clamp(1rem, 2.5vw, 1.75rem); max-width: none; }
.ttc-lux-brands__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: clamp(1rem, 2.5vw, 1.75rem);
}
.ttc-lux-brand {
	border: 1px solid var(--wp--preset--color--line);
	padding: clamp(1.75rem, 3vw, 2.5rem) 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.6rem;
}
.ttc-lux-brand__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 5.5rem;
}
.ttc-lux-brand__logo { max-height: 4.5rem; width: auto; object-fit: contain; }
.ttc-lux-brand__mono {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 4.25rem;
	height: 4.25rem;
	border: 1px solid var(--wp--preset--color--bronze);
	font-family: var(--wp--preset--font-family--display);
	font-size: 2rem;
	line-height: 1;
	color: var(--wp--preset--color--accent);
}
.ttc-lux-brand__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--l);
}
.ttc-lux-brand__desc {
	font-size: var(--wp--preset--font-size--s);
	color: var(--wp--preset--color--muted);
}
.ttc-lux-brand__flag {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	border: 1px solid var(--wp--preset--color--line);
	padding: 0.25rem 0.65rem;
}
.ttc-lux-brand__link { font-size: var(--wp--preset--font-size--s); }
.ttc-lux-brand__more {
	font-size: var(--wp--preset--font-size--s);
	font-weight: 600;
	color: var(--wp--preset--color--accent);
}

/* Brand detail page (/brand/{slug}/). */
.ttc-lux-brandd {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	gap: 0.9rem;
	padding-block: clamp(2rem, 4vw, 3.25rem);
}
.ttc-lux-brandd__mark {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 9rem;
	padding: 1.25rem 2rem;
	border: 1px solid var(--wp--preset--color--line);
}
.ttc-lux-brandd__logo { max-height: 8rem; width: auto; object-fit: contain; }
.ttc-lux-brandd__mono { width: 6rem; height: 6rem; font-size: 3rem; }
.ttc-lux-brandd__name {
	font-family: var(--wp--preset--font-family--display);
	font-size: var(--wp--preset--font-size--xl, 2.4rem);
	margin: 0;
}
.ttc-lux-brandd__body {
	max-width: 46rem;
	text-align: start;
}
.ttc-lux-brandd__links { display: flex; gap: 1.25rem; }

/* Contact panel. */
.ttc-lux-contact { padding-block: clamp(1.5rem, 4vw, 3rem); max-width: 46rem; }
.ttc-lux-channels { margin: clamp(1.5rem, 3vw, 2.5rem) 0 0; }
.ttc-lux-channels__row {
	display: grid;
	grid-template-columns: minmax(8rem, 12rem) minmax(0, 1fr);
	gap: 1rem;
	border-top: 1px solid var(--wp--preset--color--line);
	padding-block: 1rem;
}
.ttc-lux-channels__row:last-child { border-bottom: 1px solid var(--wp--preset--color--line); }
.ttc-lux-channels dt {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}
.ttc-lux-channels dd { margin: 0; overflow-wrap: anywhere; }
.ttc-lux-note { font-size: var(--wp--preset--font-size--s); color: var(--wp--preset--color--muted); }

/* Terms list. */
.ttc-lux-terms { max-width: 46rem; padding-block: clamp(1.5rem, 4vw, 3rem); }
.ttc-lux-terms__updated {
	font-size: var(--wp--preset--font-size--xs);
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}
.ttc-lux-banner {
	border-left: 3px solid var(--wp--preset--color--bronze);
	background: var(--wp--preset--color--accent-quiet);
	padding: 0.9rem 1.25rem;
	margin-block: 1.5rem;
}
.ttc-lux-banner p { margin: 0; font-size: var(--wp--preset--font-size--s); }
.ttc-lux-terms__list {
	list-style: none;
	margin: clamp(2rem, 4vw, 3rem) 0 0;
	padding: 0;
	counter-reset: ttc-term;
	display: grid;
	gap: clamp(2rem, 4vw, 3rem);
}
.ttc-lux-terms__item {
	counter-increment: ttc-term;
	position: relative;
	padding-left: 3.5rem;
}
.ttc-lux-terms__item::before {
	content: counter(ttc-term, decimal-leading-zero);
	position: absolute;
	left: 0;
	top: 0.35rem;
	font-family: var(--wp--preset--font-family--display);
	font-style: italic;
	font-size: var(--wp--preset--font-size--l);
	color: var(--wp--preset--color--bronze);
}

/* Luxury pages: keep content off the far edges without a global shell. */
.site-main--lux .ttc-lux-story,
.site-main--lux .ttc-lux-brands,
.site-main--lux .ttc-lux-hero--split,
.site-main--lux .ttc-lux-hero--text {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}
/* Terms + contact keep the reading measure — centred within the wide column. */
.site-main--lux .ttc-lux-contact,
.site-main--lux .ttc-lux-terms {
	max-width: 46rem;
	margin-inline: auto;
}
.site-main--lux .trw-form-wrap,
.site-main--lux .trc-contact-summary {
	max-width: 46rem;
	margin-inline: auto;
}

@media (max-width: 880px) {
	.ttc-lux-hero--full { min-height: 60vh; }
	.ttc-lux-hero--split,
	.ttc-lux-section--split { grid-template-columns: 1fr; }
	.ttc-lux-section--img-left .ttc-lux-section__media { order: 0; }
	.ttc-lux-hero--split .ttc-lux-hero__media img { aspect-ratio: 16 / 10; }
}
@media (max-width: 540px) {
	.ttc-lux-hero--full .ttc-lux-hero__panel { margin: 0.75rem; }
	.ttc-lux-terms__item { padding-left: 2.75rem; }
}
@media (prefers-reduced-motion: reduce) {
	.ttc-lux-hero--full .ttc-lux-hero__media img { scroll-behavior: auto; }
}

/* Editor canvas parity. The iframed post editor caps every top-level
   block at contentSize (720px), but the site's templates render
   post-content with the default flow layout — each section self-measures
   via its .trw-*/.ttc-* class. lux-editor.js tags the canvas body with
   .ttc-canvas-front / .ttc-canvas-lux / .ttc-canvas-page so the editor
   mirrors whichever template the page uses. */

/* front-page.html — children run edge-to-edge like .site-main--front:
   cover and image bands are full-bleed; .trw-flow/.ttc-split carry their
   own measures. The global root padding is switched off via its CSS
   variables (the editor-styles transform drops bare zero padding rules). */
.editor-styles-wrapper.ttc-canvas-front {
	--wp--style--root--padding-left: 0px;
	--wp--style--root--padding-right: 0px;
}
.editor-styles-wrapper.ttc-canvas-front .is-root-container > * {
	max-width: none;
	margin-inline: 0;
}

/* luxury.html — mirrors .site-main--lux .wp-block-post-content: wide
   centred column with a fluid gutter. */
.editor-styles-wrapper.ttc-canvas-lux .is-root-container {
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}
.editor-styles-wrapper.ttc-canvas-lux .is-root-container > * {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

/* Default template — mirrors the .site-main prose measure. */
.editor-styles-wrapper.ttc-canvas-page .is-root-container > * {
	max-width: 46rem;
	margin-inline: auto;
}
.editor-styles-wrapper.ttc-canvas-page .is-root-container > .alignwide {
	max-width: var(--wp--style--global--wide-size);
}

/* The canvas post-title field keeps the wide measure in every mode —
   the front end never renders it inside post-content. */
.editor-styles-wrapper .is-root-container > .editor-post-title,
.editor-styles-wrapper .is-root-container > .ttc-i18n-title-wrap {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}

/* Inner section measures — identical in every canvas. */
.editor-styles-wrapper .ttc-lux-story,
.editor-styles-wrapper .ttc-lux-brands,
.editor-styles-wrapper .ttc-lux-hero--split,
.editor-styles-wrapper .ttc-lux-hero--text {
	max-width: var(--wp--style--global--wide-size);
	margin-inline: auto;
}
.editor-styles-wrapper .ttc-lux-contact,
.editor-styles-wrapper .ttc-lux-terms,
.editor-styles-wrapper .trw-form-wrap,
.editor-styles-wrapper .trc-contact-summary {
	max-width: 46rem;
	margin-inline: auto;
}

/* Language edition: while a non-English edition is selected the canvas
   title field is swapped for a localized title input that writes the
   ttc_i18n_title meta. */
.editor-styles-wrapper .ttc-i18n-title--hidden {
	display: none;
}
.editor-styles-wrapper .ttc-i18n-title-wrap {
	position: relative;
}
.editor-styles-wrapper .ttc-i18n-title-chip {
	font: 600 11px/1.4 system-ui, -apple-system, sans-serif;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #7d6233;
	margin: 0 0 2px;
}
.editor-styles-wrapper .ttc-i18n-title:focus {
	outline: 1px dashed #b0925f;
	outline-offset: 2px;
}
